对话:顶栏和设置分清这次怎么接与本会话一直允许 - #363
Merged
Merged
Conversation
Agents 详情只读展示新对话走 ACP / 持续对话 / 原来的发送方式;Chat 顶栏和会话设置写这次实际怎么接。点了卡片上的一直允许后,设置里可以关掉记住,不能假装打开。回传失败用中文提示。 Co-authored-by: NiceChen <nicechencs@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做什么
在已合入 #362 的
dev上,把「本机这份 Agent 新对话怎么接」和「这次对话实际怎么接 / 本会话一直允许」做成能摸到的界面,不造假权限按钮,也不另开一份可改的 ACP 总表。chat_runtime_clear_session_allow_always(只清当前对话内存标记,不写库)。通道仍按 Agent 写死(新空 Grok/Kiro ACP、Codex app-server、Claude stream-json),没有 Settings 里的 ACP 总开关。
怎么试
验证
pnpm typecheck通过。pnpm check:docs。跨层新增了 ChatPort / Tauri command;本 PR 没有独立审查(单 Agent 实现)。
明确没做
本机命令护栏、Orca Hook/YOLO/编排、Skills 预设包、凭据加密、国产 OAuth、Agent 互调、公网网关;也没有给每个 Agent 造可关的假 ACP 开关。