feat(channels): 非消息事件接入(notice 归一化 + 传入前审查,fail-safe 静默)与入站脱敏帧日志/日志轮转
- notice:adapter 归一化 seam + 结构化分类 + 净化(ANSI/控制/零宽/双向字符、200 runes 截断) + fail-safe 写死为「静默」(未装配审查/超时/失败 ⇒ 仅登记、不驱动 loop) - 身份面零改动:notice 发送者恒 RoleSystem + SenderID=system - 复用策略四的同一个审查模型(Options.Review),未另造第二套 - 入站帧脱敏 DEBUG(post_type/message_type/sub_type/self_id/user_id/sender_id/group_id/段类型/at 目标) - ctrl.bat 启动前归档轮转(保留 20 份)+ bash 侧改追加(不再重启即截断)
This commit is contained in:
1 parent
85abb90067
commit
5139945bfe
15 files changed
+1604
-21
No files matched your search
+1
-1
@@ -65,7 +65,7 @@ if [ ! -f "$APP_BIN" ]; then
|
||||
go build -ldflags="-s -w" -trimpath -o "$APP_BIN" ./cmd/cyrene
|
||||
fi
|
||||
if ! curl -s --max-time 2 "http://127.0.0.1:$GW_PORT/api/v1/health" >/dev/null 2>&1; then
|
||||
(cd "$REPO" && nohup "$APP_BIN" > "$HOME/cy.log" 2>&1 &)
|
||||
(cd "$REPO" && nohup "$APP_BIN" >> "$HOME/cy.log" 2>&1 &)
|
||||
echo " cyrene 已启动: http://localhost:$GW_PORT (日志 $HOME/cy.log)"
|
||||
else
|
||||
echo " cyrene 已在运行 (: $GW_PORT),跳过"
|
||||
|
||||
Reference in new issue
Block a user