Skip to content

fix(launcher): 显示 Windows Agent 交互终端(A04) - #9

Closed
ChenM0M wants to merge 1 commit into
mainfrom
codex/agent-config-a04-visible-terminal
Closed

ChenM0M wants to merge 1 commit into
mainfrom
codex/agent-config-a04-visible-terminal

Conversation

@ChenM0M

@ChenM0M ChenM0M commented Sep 22, 2026

Copy link
Copy Markdown
Owner

对应 A04,独立基于 main。

交互式 Agent 被强制 Hidden 启动,WSL 也使用 CREATE_NO_WINDOW,用户无法看到或操作终端。Host 改为 Normal,WSL 使用 CREATE_NEW_CONSOLE;后台检测的 silent_command 行为保持不变。同时纠正原先把隐藏交互终端视为正确行为的测试。

验证:独立 Rust 测试入口的 launcher 5 tests 通过,rustfmt 与 diff check 通过。Windows 可见窗口、键盘输入和关闭行为需在原生 Windows 上手测;本 PR 保留草稿,不将 Linux 上的静态断言当作原生验收。

参考:https://learn.microsoft.com/en-us/windows/win32/procthread/process-creation-flags

@ChenM0M

ChenM0M commented Sep 23, 2026

Copy link
Copy Markdown
Owner Author

内容已随整合 PR #33 合入 main (e3cb573)。此 PR 为被取代的分支/栈式 PR,按用户指示关闭;分支保留,未删除。

@ChenM0M ChenM0M closed this Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant