Skip to content

feat(tui): add experimental daemon stream path#4266

Closed
chiga0 wants to merge 3 commits into
mainfrom
feat/tui-daemon-full-wireup-draft
Closed

feat(tui): add experimental daemon stream path#4266
chiga0 wants to merge 3 commits into
mainfrom
feat/tui-daemon-full-wireup-draft

Conversation

@chiga0

@chiga0 chiga0 commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • What changed: Adds a gated --experimental-daemon-tui path for the normal TUI entrypoint. When enabled, the TUI creates or attaches to a qwen serve daemon session, submits prompts through the daemon session client, and renders daemon SSE updates through existing TUI history/pending-item components instead of the text-only daemon-tui harness.
  • Architecture alignment: This draft is explicitly the daemon-native TUI renderer path. It consumes typed daemon events through DaemonSessionClient/DaemonTuiAdapter and projects them into the Ink UI; it is not a PTY proxy and does not add a second runtime path.
  • Why it changed: The harness proved the adapter works, but its raw event printing is not representative of the real TUI experience. This draft lets reviewers measure the real replacement surface while keeping the current TUI path unchanged by default.
  • Reviewer focus: Flag gating, daemon session lifecycle, pending assistant/tool rendering, deployment locality assumptions, and whether the remaining control-plane gaps are the right follow-up split.

Validation

  • Commands run:
    npm run typecheck --workspace=packages/cli
    npm run build --workspace=packages/cli
    npm run build
    
    env -u NODE_OPTIONS QWEN_CODE_NO_RELAUNCH=1 \
      node packages/cli/dist/index.js serve \
      --port 4882 \
      --workspace "$PWD"
    
    env -u NODE_OPTIONS QWEN_CODE_NO_RELAUNCH=1 \
      node packages/cli/dist/index.js \
      --experimental-daemon-tui \
      --daemon-url http://127.0.0.1:4882 \
      --prompt-interactive "只回答 OK"
  • Prompts / inputs used: 只回答 OK
  • Expected result: The regular TUI opens, connects to the daemon session, submits the initial prompt after the session is ready, and renders the answer in the normal assistant area instead of printing raw daemon event lines.
  • Observed result: The TUI connected to the daemon session, rendered > 只回答 OK, streamed through the normal pending assistant UI, and displayed OK as assistant output. No [gemini_thought_content] raw event prefixes were printed.
  • Latest follow-up validation: npm run typecheck --workspace=packages/cli, npm run build --workspace=packages/cli, and git diff --check passed after the architecture-boundary follow-up commit.
  • Quickest reviewer verification path: Start qwen serve with the built CLI, then run the second command above from the same workspace.

Scope / Risk

  • Main risk or tradeoff: This is intentionally a draft spike. It proves the normal TUI can be backed by daemon events, but it does not yet claim feature parity with local useGeminiStream.
  • Deployment shape validated: local-local daemon/TUI. Local-TUI-to-remote-daemon remains a follow-up because workspace path mapping and client-local capability behavior need explicit design.
  • Not covered / not validated: Native daemon permission dialog wiring, daemon-backed local tool scheduling from slash commands, full resume/history semantics, daemon-backed follow-up suggestions, local-TUI-to-remote-daemon path mapping, and non-macOS manual validation.
  • Breaking changes / migration notes: None intended. The new path is hidden behind --experimental-daemon-tui; without that flag the existing TUI continues to call useGeminiStream.

Testing Matrix

🍏 🪟 🐧
npm run ⚠️ ⚠️
npx ⚠️ ⚠️ ⚠️
Docker ⚠️ ⚠️ ⚠️
Podman ⚠️ N/A N/A
Seatbelt ⚠️ N/A N/A

Testing matrix notes:

  • Manual daemon/TUI validation was performed on macOS with the built CLI.
  • Windows, Linux, sandbox, and package-manager entrypoint variants are not covered by this draft validation.

Linked Issues / Bugs

Related to #3803 and #4175.

@github-actions

Copy link
Copy Markdown
Contributor

📋 Review Summary

This PR adds an experimental --experimental-daemon-tui flag that enables the normal TUI to connect to a running qwen serve daemon, routing prompts through the daemon session client and rendering responses through existing TUI components. The implementation is well-structured with good separation of concerns, but as noted in the PR description, this is intentionally a draft spike with several areas marked as "not yet wired." Overall assessment: solid foundation for the daemon-backed TUI path, with clear opportunities to address technical debt before graduating from experimental status.

🔍 General Feedback

  • Positive architectural decisions: The new daemon TUI functionality is cleanly isolated into dedicated modules (useDaemonTuiStream.ts, daemonTuiOptions.ts, createDaemonTuiSession.ts), making the code easy to reason about and test independently.
  • Good pattern matching: The useDaemonTuiStream hook mirrors the signature of useGeminiStream, enabling a clean swap via conditional assignment—this is a smart pattern for feature-flagged functionality.
  • Thoughtful gating: All new CLI options are marked hidden: true, appropriately signaling experimental status to users.
  • Refactoring win: Extracting createDaemonTuiSession from daemon-tui.ts eliminates duplication and provides a single source of truth for session creation logic.
  • Area for attention: Several TODOs are implicit in the code (permission dialog wiring, tool scheduling, resume/history semantics)—consider making these explicit with // TODO(#issue) comments linked to tracking issues.

🔴 Critical

No critical issues identified that block merging. The experimental gating appropriately contains risk.

🟡 High

  • File: packages/cli/src/ui/daemon/useDaemonTuiStream.ts:247-254 - The permission_request and permission_resolved handlers currently display warning/info messages instead of integrating with the native permission dialog. This is acknowledged in the PR description, but consider adding a // TODO(#3803) comment to track this gap explicitly, as permission handling is security-sensitive.

  • File: packages/cli/src/ui/daemon/useDaemonTuiStream.ts:274 - The default case in the switch statement uses a never type assertion to catch unknown update types. This is good defensive coding, but consider logging the full update payload (not just the type) to aid debugging when new update types are added in the future:

    onDebugMessage(
      `Unknown daemon update: ${JSON.stringify(neverUpdate)}`,
    );

    Already implemented correctly—just confirming this is the right pattern.

🟢 Medium

  • File: packages/cli/src/config/config.ts:1143 - When experimentalDaemonTui is enabled, the code sets process.env['QWEN_DAEMON_WORKSPACE'] = process.cwd(). However, the daemonTuiOptions.ts file reads from process.env['QWEN_DAEMON_WORKSPACE'] with a fallback to config.getTargetDir(). Consider documenting why both the CLI arg path and env-var path exist, or consolidate to reduce configuration surface area.

  • File: packages/cli/src/ui/AppContainer.tsx:1898 - The follow-up suggestions logic explicitly skips when daemonTuiEnabled is true:

    !daemonTuiEnabled &&
    config.isInteractive() &&

    This creates a functional regression for daemon TUI users (no follow-up suggestions). Consider adding a comment explaining whether this is a temporary limitation or an intentional deprecation of that feature in daemon mode.

  • File: packages/cli/src/ui/daemon/useDaemonTuiStream.ts:135-145 - The mergePendingItem function handles merging of gemini/gemini_content and gemini_thought/gemini_thought_content types, but the logic is duplicated between the two branches. Consider extracting a helper function to reduce duplication:

    function canMergeTypes(a: string, b: string): boolean {
      return (
        (a === 'gemini' || a === 'gemini_content') &&
        (b === 'gemini' || b === 'gemini_content')
      ) || (
        (a === 'gemini_thought' || a === 'gemini_thought_content') &&
        (b === 'gemini_thought' || b === 'gemini_thought_content')
      );
    }

🔵 Low

  • File: packages/cli/src/ui/daemon/useDaemonTuiStream.ts:1 - Consider adding a JSDoc comment at the module level explaining the purpose of this hook and how it differs from useGeminiStream. This will help future maintainers understand the architectural decision quickly.

  • File: packages/cli/src/ui/daemon/daemonTuiOptions.ts:19-21 - The isEnabled function checks for '1', 'true', or 'yes' as valid truthy values. This is reasonable, but consider documenting why three different conventions are supported (likely historical/env-var compatibility reasons).

  • File: packages/cli/src/commands/daemon-tui.ts:92-100 - The createDaemonTuiSession function now delegates to the imported helper. Consider adding a brief comment explaining that this refactoring was done to share logic with the TUI daemon path, helping reviewers understand why the function body changed.

  • File: packages/cli/src/ui/AppContainer.tsx:1189-1210 - The conditional assignment pattern:

    const useActiveGeminiStream = daemonTuiEnabled
      ? useDaemonTuiStream
      : useGeminiStream;

    is clever, but consider renaming to useStreamBackend or similar to make the abstraction clearer (the hook is still useGeminiStream-shaped, just with a different backend).

✅ Highlights

  • Excellent test coverage in PR description: The validation section provides exact commands to run, expected vs. observed results, and a clear verification path for reviewers. This is exemplary PR documentation.
  • Clean module extraction: The three new daemon files (createDaemonTuiSession.ts, daemonTuiOptions.ts, useDaemonTuiStream.ts) are well-factored with appropriate type definitions and minimal cross-dependencies.
  • Smart feature flagging: Using environment variables (QWEN_EXPERIMENTAL_DAEMON_TUI, QWEN_DAEMON_*) allows testing the feature without modifying CLI invocation logic in automated tests.
  • Graceful degradation: The daemon TUI path falls back to the existing useGeminiStream behavior when disabled, ensuring no regression for existing users.
  • Thoughtful type safety: The use of never type assertions in the switch statement ensures that new DaemonTuiUpdate variants will trigger compile errors if not handled, preventing silent bugs.

},
Date.now(),
);
const queuedSubmissions = queuedSubmissionsRef.current.splice(0);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] Queued prompts are replayed concurrently after the daemon connection is established. The loop drains every queued submission and calls submitQueryRef.current(...) without awaiting it, so multiple prompts queued before connect all enter submitQuery with the same stale streamingState === Idle closure. The first call sets the adapter busy; later calls can then fail with A prompt is already in progress, effectively dropping already-accepted user input.

Suggested change
const queuedSubmissions = queuedSubmissionsRef.current.splice(0);
const queuedSubmissions = queuedSubmissionsRef.current.splice(0);
for (const queuedSubmission of queuedSubmissions) {
await submitQueryRef.current?.(
queuedSubmission.query,
queuedSubmission.submitType,
);
}

If queued prompts should remain non-blocking for React effect cleanup, move this into an async drain helper that awaits each turn before sending the next one.

— gpt-5.5 via Qwen Code /review

}

const slashCommandResult = trimmedQuery.startsWith('/')
? await handleSlashCommand(trimmedQuery)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] The daemon TUI path omits the normal @-command preprocessing that useGeminiStream performs before sending a prompt. Inputs such as explain @packages/cli/src/foo.ts are accepted by the same TUI, but this path sends the literal @... text to the daemon instead of expanding the referenced file/context into the prompt. That silently breaks a core TUI feature under --experimental-daemon-tui and can produce context-free answers while appearing to work.

Please mirror the isAtCommand(...) / handleAtCommand(...) step from the normal stream path before calling adapter.sendPrompt(...), or factor slash/shell/@ preprocessing into a shared helper used by both stream implementations.

— gpt-5.5 via Qwen Code /review

try {
const promptText = partListToText(query);
onDebugMessage(`Sending daemon prompt (${promptText.length} chars)`);
await adapter.sendPrompt(promptText);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] This always flattens PartListUnion into a single string before sending it to the daemon. Slash commands can replace query with structured prompt parts (submit_prompt content), and DaemonTuiAdapter.sendPrompt already accepts ContentBlock[]; flattening here stringifies non-text parts as JSON and loses structured prompt content compared with the normal useGeminiStream path.

Consider preserving structured prompts by converting text parts to daemon ContentBlock[] and only sending a plain string when the query is actually a string, instead of routing every part through partListToText(...).

— gpt-5.5 via Qwen Code /review

if (typeof result['daemonModel'] === 'string') {
process.env['QWEN_DAEMON_MODEL'] = result['daemonModel'];
}
process.env['QWEN_DAEMON_WORKSPACE'] = process.cwd();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] process.env['QWEN_DAEMON_WORKSPACE'] = process.cwd() 无条件设置,导致 daemonTuiOptions.ts:39?? config.getTargetDir() 永远不会被触发。用户通过 --target-dir 指定的目录被静默覆盖。

Suggested change
process.env['QWEN_DAEMON_WORKSPACE'] = process.cwd();
// 仅当未设置时才写 env,否则让 daemonTuiOptions 回退到 getTargetDir()
if (!process.env['QWEN_DAEMON_WORKSPACE']) {
process.env['QWEN_DAEMON_WORKSPACE'] = process.cwd();
}

— DeepSeek/deepseek-v4-pro via Qwen Code /review

Comment thread packages/cli/src/ui/AppContainer.tsx Outdated

const cancelHandlerRef = useRef<(info?: CancelSubmitInfo) => void>(() => {});
const midTurnDrainRef = useRef<(() => string[]) | null>(null);
const useActiveGeminiStream = daemonTuiEnabled

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] const useActiveGeminiStream = daemonTuiEnabled ? useDaemonTuiStream : useGeminiStream 违反 React Hooks 规则。尽管 daemonTuiEnabled 当前稳定(来自只读 env),若未来重构使其在运行时变化,hook 调用顺序将错位导致静默崩溃。

Suggested change
const useActiveGeminiStream = daemonTuiEnabled
// 始终调用两个 hook,条件选择返回值:
const geminiResult = useGeminiStream(...);
const daemonResult = useDaemonTuiStream(...);
const activeResult = daemonTuiEnabled ? daemonResult : geminiResult;

— DeepSeek/deepseek-v4-pro via Qwen Code /review

text: `Connected to daemon session ${session.sessionId} (${session.workspaceCwd})`,
},
Date.now(),
);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] queuedSubmissionsRef.current.splice(0) 在连接成功之前清空队列。若 createDaemonTuiSession 抛异常,已取出消息永久丢失。

Suggested change
);
// 将 splice 移到 createDaemonTuiSession 成功之后
const session = await createDaemonTuiSession(options);
// ... 设置 adapter ...
const queuedSubmissions = queuedSubmissionsRef.current.splice(0);
for (const qs of queuedSubmissions) {
void submitQueryRef.current?.(qs.query, qs.submitType);
}

— DeepSeek/deepseek-v4-pro via Qwen Code /review

const promptText = partListToText(query);
onDebugMessage(`Sending daemon prompt (${promptText.length} chars)`);
await adapter.sendPrompt(promptText);
if (sendGenerationRef.current === generation) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] sendPrompt 异常时 flushPendingItems() 被跳过。daemon 断开时所有已流式传输的文本和工具调用全部丢失。

Suggested change
if (sendGenerationRef.current === generation) {
catch (error) {
flushPendingItems(); // 先持久化已接收内容
const message = error instanceof Error ? error.message : String(error);
addItem({ type: MessageType.ERROR, text: message }, Date.now());
}

— DeepSeek/deepseek-v4-pro via Qwen Code /review

token: process.env['QWEN_DAEMON_TOKEN'],
sessionId: process.env['QWEN_DAEMON_SESSION_ID'],
sessionScope: readSessionScope(),
model: process.env['QWEN_DAEMON_MODEL'] ?? config.getModel(),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] Daemon 模式跳过 config.initialize(),此处 config.getModel() 可能在未初始化状态下被调用(当 QWEN_DAEMON_MODEL 未设置时)。

Suggested change
model: process.env['QWEN_DAEMON_MODEL'] ?? config.getModel(),
// 确认 config 状态或提供硬编码 daemon 模式默认值
model: process.env['QWEN_DAEMON_MODEL'] ?? 'default-model-id',

— DeepSeek/deepseek-v4-pro via Qwen Code /review

process.env['QWEN_DAEMON_URL'] = result['daemonUrl'];
}
if (typeof result['daemonToken'] === 'string') {
process.env['QWEN_DAEMON_TOKEN'] = result['daemonToken'];

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] Bearer token 写入 process.env['QWEN_DAEMON_TOKEN'],所有子进程(MCP servers、shell exec)继承此环境变量,token 可能通过子进程日志或 crash dump 泄露。

Suggested change
process.env['QWEN_DAEMON_TOKEN'] = result['daemonToken'];
// 将 token 保留在内存中的 DaemonTuiRuntimeOptions 对象,通过函数参数传递

— DeepSeek/deepseek-v4-pro via Qwen Code /review

return;
case 'model_switched':
onDebugMessage(`Daemon model switched to ${update.modelId}`);
return;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] Daemon 断开后 adapterRef.current 未清除,useEffect 不会重新连接。后续提交全部失败,必须退出 CLI 重启。

Suggested change
return;
// 在 disconnected 处理中重置 adapterRef 并触发重连
adapterRef.current = null;

— DeepSeek/deepseek-v4-pro via Qwen Code /review

async (_newApprovalMode: ApprovalMode) => {},
[],
);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] handleApprovalModeChange 是空操作 async () => {}。UI 切换审批模式显示成功,但 daemon 后端未改变。

— DeepSeek/deepseek-v4-pro via Qwen Code /review

logger,
onDebugMessage,
setPending,
streamingState,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] adapterRef.current 为 null 时 cancelOngoingRequest 直接 return 而不重置 streamingState,UI 可能永久卡在 "Responding"。

Suggested change
streamingState,
if (!adapter) {
setStreamingState(StreamingState.Idle);
return;
}

— DeepSeek/deepseek-v4-pro via Qwen Code /review

});

if (options.sessionId) {
return await DaemonSessionClient.load(client, options.sessionId, {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] Token 回退使用 QWEN_SERVER_TOKEN,与 config.ts 设置的 QWEN_DAEMON_TOKEN 变量名不一致。

— DeepSeek/deepseek-v4-pro via Qwen Code /review

@chiga0 chiga0 force-pushed the feat/tui-daemon-full-wireup-draft branch from c6c6be2 to 8f04fcb Compare May 18, 2026 06:57
@chiga0 chiga0 changed the base branch from feat/tui-daemon-wireup-draft to main May 18, 2026 06:57
if (slashCommandResult.type === 'handled') {
return;
}
if (slashCommandResult.type === 'submit_prompt') {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] submit_prompt slash commands lose their onComplete callback in the daemon TUI path. The normal stream stores slashCommandResult.onComplete and invokes it after the model turn completes; here the code only replaces query with slashCommandResult.content, so commands such as /dream submit successfully but never record their completion state.

Mirror the normal stream behavior by keeping the callback when handling submit_prompt, then invoking and clearing it after adapter.sendPrompt(...) completes and pending items have been flushed.

— gpt-5.5 via Qwen Code /review

handleSlashCommand: (
cmd: PartListUnion,
) => Promise<SlashCommandProcessorResult | false>,
_shellModeActive: boolean,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] _shellModeActive is ignored by the daemon stream hook. In the normal useGeminiStream path, shell mode routes submitted text through handleShellCommand(...) and stops it from reaching the model; in this path the same shell-mode input falls through and is sent to the daemon as a prompt. Users who enter shell mode can therefore leak command text to the model instead of executing it locally.

Wire the daemon path to the same shell command processing behavior as useGeminiStream, or disable shell mode while --experimental-daemon-tui is active so the UI cannot enter a mode whose submissions are handled incorrectly.

— gpt-5.5 via Qwen Code /review

case 'model_switched':
onDebugMessage(`Daemon model switched to ${update.modelId}`);
return;
case 'disconnected':

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] The disconnected handler in handleUpdate resets streamingState to Idle and adds an error item, but never calls flushPendingItems(). All streamed model output and tool-call updates accumulated in pendingItemsRef before the disconnect are silently discarded.

This is distinct from the sendPrompt error path (line 418) — the disconnected case is triggered from the event pump when the SSE stream errors, not from the submitQuery RPC error path.

Suggested change
case 'disconnected':
case 'disconnected':
flushPendingItems();
setStreamingState(StreamingState.Idle);
setIsReceivingContent(false);
addItem(
{
type: MessageType.ERROR,
text: `Daemon disconnected: ${update.reason}`,
},
Date.now(),
);
return;

— DeepSeek/deepseek-v4-pro via Qwen Code /review

@chiga0

chiga0 commented May 18, 2026

Copy link
Copy Markdown
Collaborator Author

Pushed a follow-up commit to align this draft with the latest daemon architecture boundary:

  • documents the path as a daemon-native renderer over typed daemon events, not a PTY proxy;
  • marks the local reducer as draft-local until the shared daemon client/protocol reducer boundary stabilizes;
  • makes permission UI, permission resolution, slash-command tool scheduling, and follow-up suggestions explicit Daemon mode (qwen serve): proposal & open decisions #3803 TODOs;
  • clarifies workspace locality: the workspaceCwd is daemon/runtime-host visible, not necessarily the local terminal cwd for future remote-daemon testing;
  • refactors the pending text merge helper without changing default behavior.

Validation after the follow-up: npm run typecheck --workspace=packages/cli, npm run build --workspace=packages/cli, and git diff --check passed. This PR remains draft and default-off behind --experimental-daemon-tui.

Generated by GPT-5 Codex

@chiga0 chiga0 force-pushed the feat/tui-daemon-full-wireup-draft branch from 4f03a11 to faeca7d Compare May 18, 2026 12:16
@chiga0

chiga0 commented May 18, 2026

Copy link
Copy Markdown
Collaborator Author

Follow-up CI fix for this draft: the previous run failed because packages/cli now consumes @qwen-code/sdk, but the root build order still built CLI before SDK. Fresh CI did not have SDK dist available, so lint/test could not resolve @qwen-code/sdk.

I amended the branch to build packages/sdk-typescript before packages/cli in scripts/build.js. Local validation after removing generated dist:

  • npm run build --workspace=packages/sdk-typescript
  • npm run typecheck --workspace=packages/cli
  • npm run build --workspace=packages/cli
  • git diff --check

All passed.

Generated by GPT-5 Codex

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage Summary

Package Lines Statements Functions Branches
CLI 76.96% 76.96% 79.07% 80.24%
Core N/A% N/A% N/A% N/A%
CLI Package - Full Text Report
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-------------------|---------|----------|---------|---------|-------------------
All files          |   76.96 |    80.24 |   79.07 |   76.96 |                   
 src               |   75.73 |    69.15 |   80.55 |   75.73 |                   
  gemini.tsx       |   68.53 |     66.4 |   76.47 |   68.53 | ...29,946-949,957 
  ...ractiveCli.ts |      80 |    68.61 |   78.57 |      80 | ...1020,1058,1161 
  ...liCommands.ts |   74.51 |     72.5 |     100 |   74.51 | ...41-265,290,391 
  ...ActiveAuth.ts |     100 |     87.5 |     100 |     100 | 66-80             
 ...cp-integration |   65.53 |    64.81 |   77.77 |   65.53 |                   
  acpAgent.ts      |   67.18 |    64.92 |   82.75 |   67.18 | ...1861,1875-1883 
  authMethods.ts   |   12.19 |      100 |       0 |   12.19 | 11-31,34-38,41-50 
  errorCodes.ts    |       0 |        0 |       0 |       0 | 1-22              
  ...DirContext.ts |     100 |      100 |     100 |     100 |                   
 ...ration/service |   68.65 |    83.33 |   66.66 |   68.65 |                   
  filesystem.ts    |   68.65 |    83.33 |   66.66 |   68.65 | ...32,77-94,97-98 
 ...ration/session |   76.97 |    72.12 |   86.25 |   76.97 |                   
  ...ryReplayer.ts |   67.34 |     75.6 |   81.81 |   67.34 | ...54-269,282-283 
  Session.ts       |   76.32 |    70.86 |   88.46 |   76.32 | ...2537,2543-2546 
  ...entTracker.ts |   90.85 |    84.84 |      90 |   90.85 | ...35,199,251-260 
  index.ts         |       0 |        0 |       0 |       0 | 1-40              
  ...ssionUtils.ts |   84.21 |    77.77 |     100 |   84.21 | ...37-153,209-211 
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...ssion/emitters |   96.01 |    90.75 |    92.3 |   96.01 |                   
  BaseEmitter.ts   |   76.92 |    66.66 |      80 |   76.92 | 23-24,39-40,55-56 
  ...ageEmitter.ts |     100 |    89.47 |     100 |     100 | 109,111           
  PlanEmitter.ts   |     100 |      100 |     100 |     100 |                   
  ...allEmitter.ts |   98.06 |     92.3 |     100 |   98.06 | 227-228,327,335   
  index.ts         |       0 |        0 |       0 |       0 | 1-10              
 ...ession/rewrite |   90.36 |    87.83 |   94.11 |   90.36 |                   
  LlmRewriter.ts   |      81 |       84 |     100 |      81 | ...,88-89,155-159 
  ...Middleware.ts |   95.83 |    85.71 |     100 |   95.83 | 119,127-129       
  TurnBuffer.ts    |     100 |      100 |     100 |     100 |                   
  config.ts        |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 src/auth          |    97.7 |    94.81 |   95.45 |    97.7 |                   
  allProviders.ts  |     100 |      100 |     100 |     100 |                   
  ...iderConfig.ts |    97.6 |    95.04 |     100 |    97.6 | ...61,411,433-434 
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 src/auth/install  |   98.57 |    88.88 |     100 |   98.57 |                   
  ...nstallPlan.ts |   98.57 |    88.88 |     100 |   98.57 | 80,93             
 ...viders/alibaba |   96.96 |    66.66 |   66.66 |   96.96 |                   
  ...baStandard.ts |     100 |      100 |     100 |     100 |                   
  codingPlan.ts    |   93.67 |    66.66 |   66.66 |   93.67 | 83,87-89,94       
  tokenPlan.ts     |     100 |      100 |     100 |     100 |                   
 ...oviders/custom |     100 |      100 |     100 |     100 |                   
  ...omProvider.ts |     100 |      100 |     100 |     100 |                   
 ...roviders/oauth |    91.5 |    77.03 |   97.05 |    91.5 |                   
  openrouter.ts    |   84.37 |    33.33 |     100 |   84.37 | 43-48             
  ...outerOAuth.ts |    91.9 |    79.06 |   96.87 |    91.9 | ...53-655,699-701 
 ...ers/thirdParty |     100 |      100 |     100 |     100 |                   
  deepseek.ts      |     100 |      100 |     100 |     100 |                   
  idealab.ts       |     100 |      100 |     100 |     100 |                   
  minimax.ts       |     100 |      100 |     100 |     100 |                   
  modelscope.ts    |     100 |      100 |     100 |     100 |                   
  zai.ts           |     100 |      100 |     100 |     100 |                   
 src/commands      |   31.22 |    85.71 |   32.25 |   31.22 |                   
  auth.ts          |     100 |    83.33 |     100 |     100 | 11,14             
  channel.ts       |   56.66 |      100 |       0 |   56.66 | 15-19,27-34       
  daemon-tui.ts    |    5.79 |      100 |       0 |    5.79 | ...82-217,219-233 
  extensions.tsx   |   96.55 |      100 |      50 |   96.55 | 37                
  hooks.tsx        |   66.66 |      100 |       0 |   66.66 | 20-24             
  mcp.ts           |   94.73 |      100 |      50 |   94.73 | 28                
  review.ts        |   51.85 |      100 |       0 |   51.85 | 24-35,38          
  serve.ts         |    7.74 |      100 |       0 |    7.74 | ...51-147,149-230 
 ...mmands/channel |   39.25 |    79.45 |      50 |   39.25 |                   
  ...l-registry.ts |    8.57 |      100 |       0 |    8.57 | 6-21,24-42        
  config-utils.ts  |      92 |      100 |   66.66 |      92 | 21-26             
  configure.ts     |    14.7 |      100 |       0 |    14.7 | 18-21,23-84       
  pairing.ts       |   26.31 |      100 |       0 |   26.31 | ...30,40-50,52-65 
  pidfile.ts       |   96.34 |    86.95 |     100 |   96.34 | 49,59,91          
  start.ts         |   30.98 |       52 |   69.23 |   30.98 | ...72-475,484-486 
  status.ts        |   17.85 |      100 |       0 |   17.85 | 15-26,32-76       
  stop.ts          |      20 |      100 |       0 |      20 | 14-48             
 ...nds/extensions |    84.5 |    88.95 |   81.81 |    84.5 |                   
  consent.ts       |   71.65 |    89.28 |   42.85 |   71.65 | ...85-141,156-162 
  disable.ts       |     100 |      100 |     100 |     100 |                   
  enable.ts        |     100 |      100 |     100 |     100 |                   
  install.ts       |    75.6 |    66.66 |   66.66 |    75.6 | ...39-142,145-153 
  link.ts          |     100 |      100 |     100 |     100 |                   
  list.ts          |     100 |      100 |     100 |     100 |                   
  new.ts           |     100 |      100 |     100 |     100 |                   
  settings.ts      |   99.15 |      100 |   83.33 |   99.15 | 151               
  uninstall.ts     |    37.5 |      100 |   33.33 |    37.5 | 23-45,57-64,67-70 
  update.ts        |   96.32 |      100 |     100 |   96.32 | 101-105           
  utils.ts         |   60.24 |    28.57 |     100 |   60.24 | ...81,83-87,89-93 
 ...les/mcp-server |       0 |        0 |       0 |       0 |                   
  example.ts       |       0 |        0 |       0 |       0 | 1-60              
 src/commands/mcp  |   92.29 |    86.08 |   88.88 |   92.29 |                   
  add.ts           |     100 |    98.03 |     100 |     100 | 293               
  list.ts          |   91.22 |    80.76 |      80 |   91.22 | ...19-121,146-147 
  reconnect.ts     |   76.72 |    71.42 |   85.71 |   76.72 | 35-48,153-175     
  remove.ts        |     100 |       80 |     100 |     100 | 21-25             
 ...ommands/review |   11.57 |      100 |       0 |   11.57 |                   
  cleanup.ts       |   17.94 |      100 |       0 |   17.94 | ...01-106,108-109 
  deterministic.ts |   13.75 |      100 |       0 |   13.75 | ...22-738,740-741 
  fetch-pr.ts      |   11.36 |      100 |       0 |   11.36 | ...80-201,203-204 
  load-rules.ts    |   11.32 |      100 |       0 |   11.32 | ...41-153,155-156 
  pr-context.ts    |    6.22 |      100 |       0 |    6.22 | ...97-312,314-315 
  presubmit.ts     |    9.35 |      100 |       0 |    9.35 | ...62-287,289-290 
 ...nds/review/lib |      30 |      100 |       0 |      30 |                   
  gh.ts            |   22.58 |      100 |       0 |   22.58 | ...49,53-54,62-69 
  git.ts           |   22.72 |      100 |       0 |   22.72 | 15-18,29-39,43-44 
  paths.ts         |   52.94 |      100 |       0 |   52.94 | ...26,37-38,42-43 
 src/config        |   92.57 |    85.22 |   88.09 |   92.57 |                   
  auth.ts          |   86.98 |    80.32 |     100 |   86.98 | ...26-227,243-244 
  config.ts        |   87.78 |    84.95 |      80 |   87.78 | ...1895,1897-1905 
  keyBindings.ts   |   96.55 |       50 |     100 |   96.55 | 193-196           
  ...idersScope.ts |      92 |       90 |     100 |      92 | 11-12             
  sandboxConfig.ts |   61.64 |    71.87 |   66.66 |   61.64 | ...54-68,73,77-89 
  settings.ts      |   85.76 |    87.25 |   89.18 |   85.76 | ...1148,1153-1156 
  ...ingsSchema.ts |     100 |      100 |     100 |     100 |                   
  ...tedFolders.ts |   96.22 |       94 |     100 |   96.22 | ...88-190,205-206 
 ...nfig/migration |   94.89 |    78.94 |   83.33 |   94.89 |                   
  index.ts         |   94.87 |    88.88 |     100 |   94.87 | 91-92             
  scheduler.ts     |   96.55 |    77.77 |     100 |   96.55 | 19-20             
  types.ts         |       0 |        0 |       0 |       0 | 1                 
 ...ation/versions |   94.74 |       96 |     100 |   94.74 |                   
  ...-v2-shared.ts |     100 |      100 |     100 |     100 |                   
  v1-to-v2.ts      |   81.75 |    90.19 |     100 |   81.75 | ...28-229,231-247 
  v2-to-v3.ts      |     100 |      100 |     100 |     100 |                   
  v3-to-v4.ts      |     100 |      100 |     100 |     100 |                   
 src/core          |     100 |      100 |     100 |     100 |                   
  auth.ts          |     100 |      100 |     100 |     100 |                   
  initializer.ts   |     100 |      100 |     100 |     100 |                   
  theme.ts         |     100 |      100 |     100 |     100 |                   
 src/dualOutput    |   63.09 |    64.51 |   55.55 |   63.09 |                   
  ...tputBridge.ts |   62.94 |    65.51 |   56.25 |   62.94 | ...22-323,331-334 
  ...utContext.tsx |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-8               
 src/export        |       0 |        0 |       0 |       0 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-7               
 src/generated     |     100 |      100 |     100 |     100 |                   
  git-commit.ts    |     100 |      100 |     100 |     100 |                   
 src/i18n          |   81.47 |    75.94 |   65.71 |   81.47 |                   
  index.ts         |   63.68 |    69.56 |   53.84 |   63.68 | ...70-271,281-286 
  languages.ts     |   96.92 |    86.66 |     100 |   96.92 | 134-135,167,184   
  ...nslateKeys.ts |     100 |      100 |     100 |     100 |                   
  ...lationDict.ts |   93.33 |    66.66 |     100 |   93.33 | 15                
 src/i18n/locales  |     100 |      100 |     100 |     100 |                   
  ca.js            |     100 |      100 |     100 |     100 |                   
  de.js            |     100 |      100 |     100 |     100 |                   
  en.js            |     100 |      100 |     100 |     100 |                   
  fr.js            |     100 |      100 |     100 |     100 |                   
  ja.js            |     100 |      100 |     100 |     100 |                   
  pt.js            |     100 |      100 |     100 |     100 |                   
  ru.js            |     100 |      100 |     100 |     100 |                   
  zh-TW.js         |     100 |      100 |     100 |     100 |                   
  zh.js            |     100 |      100 |     100 |     100 |                   
 ...nonInteractive |   72.57 |    71.12 |   74.07 |   72.57 |                   
  session.ts       |   76.64 |     69.4 |   85.71 |   76.64 | ...23-824,833-843 
  types.ts         |    42.5 |      100 |   33.33 |    42.5 | ...80-581,584-585 
 ...active/control |   77.04 |    88.23 |      80 |   77.04 |                   
  ...rolContext.ts |    7.14 |        0 |       0 |    7.14 | 49-84             
  ...Dispatcher.ts |   91.66 |    91.83 |   88.88 |   91.66 | ...54-372,388,391 
  ...rolService.ts |       8 |        0 |       0 |       8 | 46-179            
 ...ol/controllers |    7.04 |       80 |   13.33 |    7.04 |                   
  ...Controller.ts |   19.32 |      100 |      60 |   19.32 | 81-118,127-210    
  ...Controller.ts |       0 |        0 |       0 |       0 | 1-56              
  ...Controller.ts |    3.96 |      100 |   11.11 |    3.96 | ...61-379,389-494 
  ...Controller.ts |   14.06 |      100 |       0 |   14.06 | ...82-117,130-133 
  ...Controller.ts |    5.21 |      100 |       0 |    5.21 | ...21-433,442-471 
 .../control/types |       0 |        0 |       0 |       0 |                   
  serviceAPIs.ts   |       0 |        0 |       0 |       0 | 1                 
 ...Interactive/io |   97.98 |    93.72 |   95.18 |   97.98 |                   
  ...putAdapter.ts |   97.89 |    92.82 |   98.07 |   97.89 | ...1303,1398-1399 
  ...putAdapter.ts |      96 |    91.66 |   85.71 |      96 | 51-52             
  ...nputReader.ts |     100 |    94.73 |     100 |     100 | 67                
  ...putAdapter.ts |   98.28 |      100 |      90 |   98.28 | 81-82,122-123     
  index.ts         |     100 |      100 |     100 |     100 |                   
 src/patches       |       0 |        0 |       0 |       0 |                   
  is-in-ci.ts      |       0 |        0 |       0 |       0 | 1-17              
 src/remoteInput   |   86.98 |       75 |   85.71 |   86.98 |                   
  ...utContext.tsx |     100 |      100 |     100 |     100 |                   
  ...putWatcher.ts |   88.12 |    76.08 |   91.66 |   88.12 | ...21-222,233-236 
  index.ts         |       0 |        0 |       0 |       0 | 1-8               
 src/serve         |   81.06 |    79.78 |   94.08 |   81.06 |                   
  auth.ts          |   88.49 |    88.63 |     100 |   88.49 | ...49-150,153-155 
  capabilities.ts  |     100 |     90.9 |     100 |     100 | 201               
  debugMode.ts     |     100 |      100 |     100 |     100 |                   
  demo.ts          |     100 |      100 |     100 |     100 |                   
  envSnapshot.ts   |    92.3 |       84 |     100 |    92.3 | 108-111,170-177   
  eventBus.ts      |   88.88 |    88.05 |   85.71 |   88.88 | ...38-446,524-526 
  httpAcpBridge.ts |   80.67 |    78.04 |   97.84 |   80.67 | ...4263,4294-4335 
  ...oryChannel.ts |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  loopbackBinds.ts |     100 |      100 |     100 |     100 |                   
  runQwenServe.ts  |   82.28 |    89.04 |   83.33 |   82.28 | ...73-589,614-616 
  server.ts        |   86.45 |     83.1 |   88.46 |   86.45 | ...1722,1787-1796 
  status.ts        |   93.28 |    96.77 |   88.88 |   93.28 | 357-364,562-563   
  types.ts         |     100 |      100 |     100 |     100 |                   
  ...paceAgents.ts |   64.87 |    70.45 |    90.9 |   64.87 | ...1306,1316-1326 
  ...paceMemory.ts |   87.13 |    78.46 |     100 |   87.13 | ...54-361,421-428 
 src/serve/fs      |   87.51 |    86.74 |   97.36 |   87.51 |                   
  audit.ts         |     100 |    96.15 |     100 |     100 | 201               
  errors.ts        |     100 |      100 |     100 |     100 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  paths.ts         |   78.26 |    76.76 |     100 |   78.26 | ...38,567-571,584 
  policy.ts        |   90.32 |    89.18 |     100 |   90.32 | 142-150           
  ...FileSystem.ts |   87.18 |    88.53 |   94.11 |   87.18 | ...1077,1104-1114 
 src/serve/routes  |   93.91 |    76.13 |     100 |   93.91 |                   
  ...ceFileRead.ts |   93.91 |    76.13 |     100 |   93.91 | ...30-237,323-325 
 src/services      |   91.67 |    91.21 |   97.56 |   91.67 |                   
  ...mandLoader.ts |     100 |    93.75 |     100 |     100 | 93                
  ...killLoader.ts |     100 |    96.15 |     100 |     100 | 47                
  ...andService.ts |    98.7 |      100 |     100 |    98.7 | 107               
  ...mandLoader.ts |   86.83 |    83.87 |     100 |   86.83 | ...30-335,340-345 
  ...omptLoader.ts |   75.84 |    80.64 |   83.33 |   75.84 | ...10-211,277-278 
  ...mandLoader.ts |     100 |      100 |     100 |     100 |                   
  ...nd-factory.ts |   91.42 |    91.66 |     100 |   91.42 | 128,137-144       
  ...ation-tool.ts |     100 |    95.45 |     100 |     100 | 125               
  ...ndMetadata.ts |   98.21 |    96.66 |     100 |   98.21 | 83,87             
  commandUtils.ts  |      96 |     90.9 |     100 |      96 | 48                
  ...and-parser.ts |   90.69 |    85.71 |     100 |   90.69 | 63-66             
  ...ionService.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...ght/generators |    85.9 |    85.61 |   90.47 |    85.9 |                   
  DataProcessor.ts |   85.63 |     85.6 |   92.85 |   85.63 | ...1122,1126-1133 
  ...tGenerator.ts |   98.21 |    85.71 |     100 |   98.21 | 46                
  ...teRenderer.ts |   45.45 |      100 |       0 |   45.45 | 13-51             
 .../insight/types |       0 |       50 |      50 |       0 |                   
  ...sightTypes.ts |       0 |        0 |       0 |       0 |                   
  ...sightTypes.ts |       0 |        0 |       0 |       0 | 1                 
 ...mpt-processors |   97.27 |    94.04 |     100 |   97.27 |                   
  ...tProcessor.ts |     100 |      100 |     100 |     100 |                   
  ...eProcessor.ts |   94.52 |    84.21 |     100 |   94.52 | 46-47,93-94       
  ...tionParser.ts |     100 |      100 |     100 |     100 |                   
  ...lProcessor.ts |   97.41 |    95.65 |     100 |   97.41 | 95-98             
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/services/tips |   97.35 |    83.07 |     100 |   97.35 |                   
  index.ts         |     100 |      100 |     100 |     100 |                   
  tipHistory.ts    |   92.45 |       70 |     100 |   92.45 | ...22,144,151,160 
  tipRegistry.ts   |     100 |    95.23 |     100 |     100 | 33                
  tipScheduler.ts  |     100 |    91.66 |     100 |     100 | 55                
 src/test-utils    |   93.75 |    83.33 |      80 |   93.75 |                   
  ...omMatchers.ts |   69.69 |       50 |      50 |   69.69 | 32-35,37-39,45-47 
  ...andContext.ts |     100 |      100 |     100 |     100 |                   
  render.tsx       |     100 |      100 |     100 |     100 |                   
 src/ui            |   66.46 |    72.72 |   57.89 |   66.46 |                   
  App.tsx          |     100 |      100 |     100 |     100 |                   
  AppContainer.tsx |   64.98 |    64.35 |   52.94 |   64.98 | ...2976,2980-2984 
  ...tionNudge.tsx |    9.58 |      100 |       0 |    9.58 | 24-94             
  ...ackDialog.tsx |   29.23 |      100 |       0 |   29.23 | 25-75             
  ...tionNudge.tsx |    7.69 |      100 |       0 |    7.69 | 25-103            
  colors.ts        |   52.72 |      100 |   23.52 |   52.72 | ...52,54-55,60-61 
  constants.ts     |     100 |      100 |     100 |     100 |                   
  keyMatchers.ts   |   95.91 |    97.05 |     100 |   95.91 | 25-26             
  ...tic-colors.ts |     100 |      100 |     100 |     100 |                   
  ...inePresets.ts |   98.17 |    88.88 |     100 |   98.17 | ...12,239,387-389 
  textConstants.ts |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
 src/ui/auth       |   55.06 |    51.13 |   35.48 |   55.06 |                   
  AuthDialog.tsx   |   64.26 |    44.44 |   16.66 |   64.26 | ...59,366-388,392 
  ...nProgress.tsx |       0 |        0 |       0 |       0 | 1-64              
  ...etupSteps.tsx |    39.5 |       32 |   38.46 |    39.5 | ...69,472,478,481 
  useAuth.ts       |   76.63 |    68.29 |     100 |   76.63 | ...48,493-499,560 
  ...rSetupFlow.ts |   44.61 |    33.33 |      50 |   44.61 | ...57-378,395-438 
 src/ui/commands   |   73.46 |    81.23 |   81.61 |   73.46 |                   
  aboutCommand.ts  |     100 |      100 |     100 |     100 |                   
  agentsCommand.ts |   83.78 |      100 |      60 |   83.78 | 30-32,42-44       
  ...odeCommand.ts |     100 |      100 |     100 |     100 |                   
  arenaCommand.ts  |   62.81 |    58.73 |   65.21 |   62.81 | ...91-596,681-689 
  authCommand.ts   |     100 |      100 |     100 |     100 |                   
  branchCommand.ts |     100 |      100 |     100 |     100 |                   
  btwCommand.ts    |   95.59 |    71.42 |     100 |   95.59 | 72,154-159        
  bugCommand.ts    |   81.13 |    71.42 |     100 |   81.13 | 60-69             
  clearCommand.ts  |      92 |    76.47 |     100 |      92 | 43-44,72-73,91-92 
  ...essCommand.ts |    64.7 |       50 |      75 |    64.7 | ...48-149,163-166 
  ...extCommand.ts |   34.78 |    22.22 |   45.45 |   34.78 | ...86-521,532-533 
  copyCommand.ts   |   98.28 |    94.89 |     100 |   98.28 | ...80,280,321,327 
  deleteCommand.ts |     100 |      100 |     100 |     100 |                   
  diffCommand.ts   |   99.02 |    86.11 |     100 |   99.02 | 222,226           
  ...ryCommand.tsx |   68.09 |    77.77 |   77.77 |   68.09 | ...56-261,315-323 
  docsCommand.ts   |     100 |    88.88 |     100 |     100 | 25                
  doctorCommand.ts |   95.06 |    88.28 |     100 |   95.06 | ...92-293,320-321 
  dreamCommand.ts  |      75 |    66.66 |   66.66 |      75 | 22-27,44-47       
  editorCommand.ts |     100 |      100 |     100 |     100 |                   
  exportCommand.ts |   98.25 |    91.02 |     100 |   98.25 | ...81,198-199,364 
  ...onsCommand.ts |   48.66 |     90.9 |   63.63 |   48.66 | ...05-109,159-211 
  forgetCommand.ts |   26.82 |      100 |      50 |   26.82 | 18-51             
  goalCommand.ts   |   91.25 |    83.33 |      90 |   91.25 | ...83-186,198-201 
  helpCommand.ts   |     100 |      100 |     100 |     100 |                   
  hooksCommand.ts  |    20.4 |       40 |      40 |    20.4 | ...48-180,204-205 
  ideCommand.ts    |   60.75 |    64.28 |   41.17 |   60.75 | ...05-306,310-324 
  initCommand.ts   |   84.33 |    72.72 |     100 |   84.33 | 68,82-87,89-94    
  ...ghtCommand.ts |   74.56 |    68.42 |     100 |   74.56 | ...31-245,250-273 
  ...ageCommand.ts |   92.17 |    82.69 |     100 |   92.17 | ...43,164,173-183 
  lspCommand.ts    |     100 |    86.95 |     100 |     100 | 31,101-102        
  ...elsCommand.ts |     100 |      100 |     100 |     100 |                   
  mcpCommand.ts    |     100 |      100 |     100 |     100 |                   
  memoryCommand.ts |     100 |      100 |     100 |     100 |                   
  modelCommand.ts  |   75.09 |    78.18 |      75 |   75.09 | ...20-225,262-267 
  ...onsCommand.ts |     100 |      100 |     100 |     100 |                   
  planCommand.ts   |   78.82 |    76.92 |     100 |   78.82 | 30-35,51-56,68-73 
  quitCommand.ts   |     100 |      100 |     100 |     100 |                   
  recapCommand.ts  |   21.81 |      100 |      50 |   21.81 | 24-73             
  ...berCommand.ts |   32.43 |      100 |      50 |   32.43 | 23-57             
  renameCommand.ts |   85.71 |    86.04 |     100 |   85.71 | ...02-209,216-221 
  ...oreCommand.ts |    92.3 |    87.87 |     100 |    92.3 | ...,83-88,129-130 
  resumeCommand.ts |     100 |      100 |     100 |     100 |                   
  rewindCommand.ts |      80 |      100 |      50 |      80 | 19-21             
  ...ngsCommand.ts |     100 |      100 |     100 |     100 |                   
  ...hubCommand.ts |   81.43 |    65.21 |      80 |   81.43 | ...70-173,176-179 
  skillsCommand.ts |   15.04 |      100 |      25 |   15.04 | ...90-106,109-136 
  statsCommand.ts  |   88.19 |    84.21 |     100 |   88.19 | ...,58-61,143-146 
  ...ineCommand.ts |     100 |      100 |     100 |     100 |                   
  ...aryCommand.ts |    6.46 |      100 |      50 |    6.46 | 31-329            
  tasksCommand.ts  |   77.22 |    72.13 |     100 |   77.22 | ...46-150,172-177 
  ...tupCommand.ts |     100 |      100 |     100 |     100 |                   
  themeCommand.ts  |     100 |      100 |     100 |     100 |                   
  toolsCommand.ts  |     100 |      100 |     100 |     100 |                   
  trustCommand.ts  |     100 |      100 |     100 |     100 |                   
  types.ts         |     100 |      100 |     100 |     100 |                   
  vimCommand.ts    |   54.54 |      100 |      50 |   54.54 | 19-29             
 src/ui/components |   65.63 |    75.02 |   69.74 |   65.63 |                   
  AboutBox.tsx     |     100 |      100 |     100 |     100 |                   
  AnsiOutput.tsx   |   65.57 |      100 |      50 |   65.57 | 69-90             
  ApiKeyInput.tsx  |       0 |        0 |       0 |       0 | 1-97              
  AppHeader.tsx    |   89.39 |       75 |     100 |   89.39 | 35,37-42,44       
  ...odeDialog.tsx |     9.7 |      100 |       0 |     9.7 | 35-47,50-182      
  AsciiArt.ts      |     100 |      100 |     100 |     100 |                   
  ...Indicator.tsx |   14.63 |      100 |       0 |   14.63 | 18-56             
  ...TextInput.tsx |   77.01 |       76 |     100 |   77.01 | ...20,234-236,263 
  Composer.tsx     |    80.8 |     64.7 |     100 |    80.8 | ...85,103,154,167 
  ...entPrompt.tsx |     100 |      100 |     100 |     100 |                   
  ...ryDisplay.tsx |   75.89 |    62.06 |     100 |   75.89 | ...,88,93-108,113 
  ...geDisplay.tsx |   68.42 |    57.14 |     100 |   68.42 | 16-17,31-32,42-50 
  ...ification.tsx |   28.57 |      100 |       0 |   28.57 | 16-36             
  ...gProfiler.tsx |       0 |        0 |       0 |       0 | 1-36              
  ...ogManager.tsx |    12.2 |      100 |       0 |    12.2 | 64-490            
  ...ngsDialog.tsx |    8.44 |      100 |       0 |    8.44 | 37-195            
  ExitWarning.tsx  |     100 |      100 |     100 |     100 |                   
  ...hProgress.tsx |    87.8 |    33.33 |     100 |    87.8 | 28-31,56          
  ...ustDialog.tsx |     100 |      100 |     100 |     100 |                   
  Footer.tsx       |   79.54 |    54.54 |     100 |   79.54 | ...05-109,133-134 
  ...ngSpinner.tsx |   68.42 |       80 |      50 |   68.42 | 35-52,73,80-81    
  GoalPill.tsx     |   76.19 |    81.81 |     100 |   76.19 | 24-30,46-50       
  Header.tsx       |   98.62 |    94.28 |     100 |   98.62 | 162,164           
  Help.tsx         |   98.32 |    89.88 |     100 |   98.32 | ...24,381,447-448 
  ...emDisplay.tsx |    61.7 |       36 |     100 |    61.7 | ...42,345,348-354 
  ...ngeDialog.tsx |     100 |      100 |     100 |     100 |                   
  InputPrompt.tsx  |   82.75 |    78.96 |   83.33 |   82.75 | ...1425,1490,1540 
  ...Shortcuts.tsx |   20.87 |      100 |       0 |   20.87 | ...6,49-51,67-125 
  ...Indicator.tsx |     100 |    91.42 |     100 |     100 | 65,74             
  ...firmation.tsx |   91.42 |      100 |      50 |   91.42 | 26-31             
  MainContent.tsx  |   81.75 |       75 |     100 |   81.75 | ...70-274,282-286 
  ...elsDialog.tsx |   71.05 |    69.11 |   72.72 |   71.05 | ...77,590,601-603 
  MemoryDialog.tsx |    55.1 |    54.54 |   57.14 |    55.1 | ...56,368,381-383 
  ...geDisplay.tsx |       0 |        0 |       0 |       0 | 1-41              
  ModelDialog.tsx  |   80.12 |    63.55 |     100 |   80.12 | ...39-555,612-616 
  ...tsDisplay.tsx |     100 |    97.22 |     100 |     100 | 270               
  ...fications.tsx |   18.18 |      100 |       0 |   18.18 | 15-58             
  ...onsDialog.tsx |    2.13 |      100 |       0 |    2.13 | 62-133,148-1004   
  ...ryDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...icePrompt.tsx |   92.64 |    85.71 |     100 |   92.64 | 102-106,134-139   
  PrepareLabel.tsx |   91.66 |    77.27 |     100 |   91.66 | 73-75,77-79,110   
  ...atePrompt.tsx |    8.57 |      100 |       0 |    8.57 | 24-55,58-134      
  ...geDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...ngDisplay.tsx |   21.42 |      100 |       0 |   21.42 | 13-39             
  ...hProgress.tsx |   85.25 |    88.46 |     100 |   85.25 | 121-147           
  ...dSelector.tsx |   41.26 |    61.53 |   71.42 |   41.26 | ...74-472,476-520 
  ...ionPicker.tsx |   83.66 |    72.13 |     100 |   83.66 | ...96,402,444-466 
  ...onPreview.tsx |   92.42 |    84.37 |     100 |   92.42 | ...,70-71,143-145 
  ...ryDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...putPrompt.tsx |   72.56 |       80 |      40 |   72.56 | ...06-109,114-117 
  ...ngsDialog.tsx |   66.27 |    71.16 |      75 |   66.27 | ...12-820,826-827 
  ...ionDialog.tsx |    87.8 |      100 |   33.33 |    87.8 | 36-39,44-51       
  ...putPrompt.tsx |    15.9 |      100 |       0 |    15.9 | 20-63             
  ...Indicator.tsx |   57.14 |      100 |       0 |   57.14 | 12-15             
  ...MoreLines.tsx |      28 |      100 |       0 |      28 | 18-40             
  ...ionPicker.tsx |   17.59 |      100 |       0 |   17.59 | 55-172            
  StatsDisplay.tsx |     100 |      100 |     100 |     100 |                   
  ...ineDialog.tsx |   93.69 |    83.92 |     100 |   93.69 | ...11,273,293-295 
  ...yTodoList.tsx |   94.17 |       80 |     100 |   94.17 | 56-57,131-134     
  ...nsDisplay.tsx |   87.25 |       64 |     100 |   87.25 | ...45-147,154-156 
  ThemeDialog.tsx  |   89.95 |    46.15 |      75 |   89.95 | ...71-173,243-245 
  Tips.tsx         |   93.54 |       75 |     100 |   93.54 | 39-40             
  TodoDisplay.tsx  |     100 |      100 |     100 |     100 |                   
  ...tsDisplay.tsx |     100 |     87.5 |     100 |     100 | 31-32             
  TrustDialog.tsx  |     100 |    81.81 |     100 |     100 | 71-86             
  ...ification.tsx |   36.36 |      100 |       0 |   36.36 | 15-22             
  ...ackDialog.tsx |    7.84 |      100 |       0 |    7.84 | 24-134            
 ...nts/agent-view |   38.33 |    70.83 |   36.36 |   38.33 |                   
  ...atContent.tsx |    8.79 |      100 |       0 |    8.79 | 53-265,271-273    
  ...tChatView.tsx |   21.05 |      100 |       0 |   21.05 | 21-39             
  ...tComposer.tsx |    9.95 |      100 |       0 |    9.95 | 57-308            
  AgentFooter.tsx  |   17.07 |      100 |       0 |   17.07 | 28-66             
  AgentHeader.tsx  |   15.38 |      100 |       0 |   15.38 | 27-64             
  AgentTabBar.tsx  |    87.8 |    27.27 |     100 |    87.8 | ...,85,98-106,124 
  ...oryAdapter.ts |     100 |    91.83 |     100 |     100 | 103,109-110,138   
  index.ts         |       0 |        0 |       0 |       0 | 1-12              
 ...mponents/arena |   45.72 |    70.53 |   60.86 |   45.72 |                   
  ArenaCards.tsx   |   73.06 |    71.79 |   85.71 |   73.06 | ...83-185,321-326 
  ...ectDialog.tsx |   83.48 |    69.86 |   88.88 |   83.48 | ...88-392,409-410 
  ...artDialog.tsx |   10.15 |      100 |       0 |   10.15 | 27-161            
  ...tusDialog.tsx |    5.63 |      100 |       0 |    5.63 | 33-75,80-288      
  ...topDialog.tsx |    6.17 |      100 |       0 |    6.17 | 33-213            
 ...ackground-view |   75.63 |    84.49 |   85.29 |   75.63 |                   
  ...sksDialog.tsx |   70.92 |    80.48 |   76.19 |   70.92 | ...1118,1194-1196 
  ...TasksPill.tsx |   63.75 |    86.95 |     100 |   63.75 | 44,86-106,114-122 
  ...gentPanel.tsx |   99.53 |    93.18 |     100 |   99.53 | 123               
 ...nts/extensions |   45.28 |    33.33 |      60 |   45.28 |                   
  ...gerDialog.tsx |   44.31 |    34.14 |      75 |   44.31 | ...71-480,483-488 
  index.ts         |       0 |        0 |       0 |       0 | 1-9               
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...tensions/steps |   54.88 |    94.33 |   66.66 |   54.88 |                   
  ...ctionStep.tsx |   95.12 |    92.85 |   85.71 |   95.12 | 84-86,89          
  ...etailStep.tsx |    6.18 |      100 |       0 |    6.18 | 17-128            
  ...nListStep.tsx |   88.43 |    94.87 |      80 |   88.43 | 52-53,59-72,106   
  ...electStep.tsx |   13.46 |      100 |       0 |   13.46 | 20-70             
  ...nfirmStep.tsx |   19.56 |      100 |       0 |   19.56 | 23-65             
  index.ts         |     100 |      100 |     100 |     100 |                   
 ...mponents/hooks |   68.67 |    69.07 |   69.56 |   68.67 |                   
  ...etailStep.tsx |   74.68 |    66.66 |   66.66 |   74.68 | ...71-184,188-201 
  ...etailStep.tsx |    87.4 |    73.68 |     100 |    87.4 | 41-42,99-113,119  
  ...abledStep.tsx |     100 |      100 |     100 |     100 |                   
  ...sListStep.tsx |     100 |      100 |     100 |     100 |                   
  ...entDialog.tsx |   34.51 |    47.05 |   42.85 |   34.51 | ...78,482-495,499 
  constants.ts     |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-13              
  types.ts         |     100 |      100 |     100 |     100 |                   
 ...components/mcp |   20.98 |    86.36 |   83.33 |   20.98 |                   
  ...ealthPill.tsx |   68.42 |    85.71 |     100 |   68.42 | 40-46             
  ...entDialog.tsx |    3.64 |      100 |       0 |    3.64 | 41-717            
  constants.ts     |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-30              
  types.ts         |     100 |      100 |     100 |     100 |                   
  utils.ts         |   95.83 |    88.88 |     100 |   95.83 | 16,20,109-110     
 ...ents/mcp/steps |   26.74 |    54.54 |   42.85 |   26.74 |                   
  ...icateStep.tsx |    5.88 |      100 |       0 |    5.88 | 40-55,58-296      
  ...electStep.tsx |   10.95 |      100 |       0 |   10.95 | 16-88             
  ...etailStep.tsx |    5.26 |      100 |       0 |    5.26 | 31-247            
  ...rListStep.tsx |   75.18 |    59.37 |     100 |   75.18 | ...53-158,169-173 
  ...etailStep.tsx |   10.41 |      100 |       0 |   10.41 | ...1,67-79,82-139 
  ToolListStep.tsx |   69.02 |       50 |     100 |   69.02 | ...22,125,134-143 
 ...nents/messages |   82.44 |    79.55 |    72.6 |   82.44 |                   
  ...ionDialog.tsx |   80.84 |     77.6 |    62.5 |   80.84 | ...98,516,534-536 
  BtwMessage.tsx   |     100 |      100 |     100 |     100 |                   
  ...upDisplay.tsx |   97.67 |    83.72 |     100 |   97.67 | 119,142,150       
  ...onMessage.tsx |   91.93 |    82.35 |     100 |   91.93 | 57-59,61,63       
  ...nMessages.tsx |   79.06 |      100 |      70 |   79.06 | ...51-264,268-280 
  DiffRenderer.tsx |   93.19 |    86.17 |     100 |   93.19 | ...09,237-238,304 
  ...tsDisplay.tsx |   97.82 |    77.27 |     100 |   97.82 | 87,89             
  ...usMessage.tsx |   76.31 |     42.1 |   66.66 |   76.31 | ...99,101,124,155 
  ...ssMessage.tsx |    12.5 |      100 |       0 |    12.5 | 18-59             
  ...edMessage.tsx |   16.66 |      100 |       0 |   16.66 | 22-38             
  ...sMessages.tsx |   55.67 |       40 |   28.57 |   55.67 | ...20-125,133-145 
  ...ryMessage.tsx |   14.28 |      100 |       0 |   14.28 | 23-62             
  ...onMessage.tsx |   81.02 |    69.23 |   33.33 |   81.02 | ...24-426,433-435 
  ...upMessage.tsx |      84 |    93.61 |     100 |      84 | ...56-383,405-420 
  ToolMessage.tsx  |   88.84 |    75.71 |    92.3 |   88.84 | ...44-749,776-778 
 ...ponents/shared |   85.36 |    78.48 |   95.77 |   85.36 |                   
  ...ctionList.tsx |   99.03 |    95.65 |     100 |   99.03 | 85                
  ...tonSelect.tsx |     100 |      100 |     100 |     100 |                   
  EnumSelector.tsx |     100 |    96.42 |     100 |     100 | 58                
  MaxSizedBox.tsx  |   83.01 |    86.25 |   88.88 |   83.01 | ...12-513,618-619 
  MultiSelect.tsx  |   84.31 |    74.19 |     100 |   84.31 | ...37,193-195,205 
  ...tonSelect.tsx |     100 |      100 |     100 |     100 |                   
  ...eSelector.tsx |     100 |       60 |     100 |     100 | 40-45             
  TextInput.tsx    |   77.01 |    48.78 |      80 |   77.01 | ...08-212,224-230 
  ...apsedTime.tsx |     100 |      100 |     100 |     100 |                   
  ...Indicator.tsx |     100 |      100 |     100 |     100 |                   
  text-buffer.ts   |   83.68 |    78.55 |   97.61 |   83.68 | ...2270-2272,2368 
  ...er-actions.ts |   86.71 |    67.79 |     100 |   86.71 | ...07-608,809-811 
 ...ents/subagents |   30.87 |        0 |       0 |   30.87 |                   
  constants.ts     |     100 |      100 |     100 |     100 |                   
  index.ts         |       0 |        0 |       0 |       0 | 1-11              
  reducers.tsx     |    12.1 |      100 |       0 |    12.1 | 33-190            
  types.ts         |     100 |      100 |     100 |     100 |                   
  utils.ts         |   10.95 |      100 |       0 |   10.95 | ...1,56-57,60-102 
 ...bagents/create |    9.13 |      100 |       0 |    9.13 |                   
  ...ionWizard.tsx |    7.28 |      100 |       0 |    7.28 | 34-299            
  ...rSelector.tsx |   14.75 |      100 |       0 |   14.75 | 26-85             
  ...onSummary.tsx |    4.26 |      100 |       0 |    4.26 | 27-331            
  ...tionInput.tsx |    8.63 |      100 |       0 |    8.63 | 23-177            
  ...dSelector.tsx |   33.33 |      100 |       0 |   33.33 | 20-21,26-27,36-63 
  ...nSelector.tsx |    37.5 |      100 |       0 |    37.5 | 20-21,26-27,36-58 
  ...EntryStep.tsx |   12.76 |      100 |       0 |   12.76 | 34-78             
  ToolSelector.tsx |    4.16 |      100 |       0 |    4.16 | 31-253            
 ...bagents/manage |   21.51 |    59.52 |   27.27 |   21.51 |                   
  ...ctionStep.tsx |   10.25 |      100 |       0 |   10.25 | 21-103            
  ...eleteStep.tsx |   20.93 |      100 |       0 |   20.93 | 23-62             
  ...tEditStep.tsx |   25.53 |      100 |       0 |   25.53 | ...2,37-38,51-124 
  ...ctionStep.tsx |   35.42 |    59.52 |     100 |   35.42 | ...20-432,437-439 
  ...iewerStep.tsx |   13.72 |      100 |       0 |   13.72 | 18-73             
  ...gerDialog.tsx |    6.74 |      100 |       0 |    6.74 | 35-341            
 ...mponents/views |   42.16 |    69.23 |   21.42 |   42.16 |                   
  ContextUsage.tsx |     4.7 |      100 |       0 |     4.7 | ...52-167,170-456 
  DoctorReport.tsx |     9.8 |      100 |       0 |     9.8 | 25-54,57-131      
  ...sionsList.tsx |   87.69 |    73.68 |     100 |   87.69 | 65-72             
  McpStatus.tsx    |   89.53 |    60.52 |     100 |   89.53 | ...72,175-177,262 
  SkillsList.tsx   |   27.27 |      100 |       0 |   27.27 | 18-35             
  ToolsList.tsx    |     100 |      100 |     100 |     100 |                   
 src/ui/contexts   |   77.11 |    77.66 |   80.35 |   77.11 |                   
  ...ewContext.tsx |    64.7 |    85.71 |      50 |    64.7 | ...22-225,231-241 
  AppContext.tsx   |      80 |       50 |     100 |      80 | 19-20             
  ...ewContext.tsx |   95.18 |    67.56 |      50 |   95.18 | ...94-195,222-226 
  ...deContext.tsx |     100 |      100 |     100 |     100 |                   
  ...igContext.tsx |   81.81 |       50 |     100 |   81.81 | 15-16             
  ...ssContext.tsx |   81.88 |    82.26 |     100 |   81.88 | ...1153,1159-1161 
  ...owContext.tsx |   89.28 |       80 |   66.66 |   89.28 | 34,47-48,60-62    
  ...deContext.tsx |     100 |      100 |      50 |     100 |                   
  ...onContext.tsx |   43.28 |     62.5 |    62.5 |   43.28 | ...56-259,263-266 
  ...gsContext.tsx |   83.33 |       50 |     100 |   83.33 | 17-18             
  ...usContext.tsx |     100 |      100 |     100 |     100 |                   
  ...ngContext.tsx |   71.42 |       50 |     100 |   71.42 | 17-20             
  ...utContext.tsx |   85.71 |      100 |   66.66 |   85.71 | 13-14             
  ...nsContext.tsx |   88.23 |       50 |     100 |   88.23 | 113-114           
  ...teContext.tsx |   86.66 |       50 |     100 |   86.66 | 177-178           
  ...deContext.tsx |   76.08 |    72.72 |     100 |   76.08 | 47-48,52-59,77-78 
 src/ui/daemon     |   58.51 |    73.87 |   80.35 |   58.51 |                   
  ...TuiAdapter.ts |   90.76 |    73.73 |   95.45 |   90.76 | ...64,782-783,869 
  ...TuiSession.ts |       5 |      100 |       0 |       5 | 18-40             
  ...TuiOptions.ts |     100 |       80 |     100 |     100 | 26                
  ...nTuiStream.ts |    1.66 |      100 |       0 |    1.66 | 63-155,158-518    
 src/ui/editors    |   93.33 |    85.71 |   66.66 |   93.33 |                   
  ...ngsManager.ts |   93.33 |    85.71 |   66.66 |   93.33 | 49,63-64          
 src/ui/hooks      |   82.44 |    82.53 |   86.66 |   82.44 |                   
  ...dProcessor.ts |   83.12 |    82.56 |     100 |   83.12 | ...88-389,408-435 
  keyToAnsi.ts     |    3.92 |      100 |       0 |    3.92 | 19-77             
  ...dProcessor.ts |    94.8 |    70.58 |     100 |    94.8 | ...76-277,282-283 
  ...dProcessor.ts |   75.75 |    63.01 |   61.53 |   75.75 | ...84,908,927-931 
  ...amingState.ts |   12.22 |      100 |       0 |   12.22 | 54-157            
  ...agerDialog.ts |   88.23 |      100 |     100 |   88.23 | 20,24             
  ...ationFrame.ts |      32 |       60 |     100 |      32 | 42-44,51-90       
  ...odeCommand.ts |   58.82 |      100 |     100 |   58.82 | 28,33-48          
  ...enaCommand.ts |      85 |      100 |     100 |      85 | 23-24,29          
  ...aInProcess.ts |   19.81 |    66.66 |      25 |   19.81 | 57-175            
  ...Completion.ts |   92.77 |    89.09 |     100 |   92.77 | ...86-187,220-223 
  ...ifications.ts |   92.07 |    96.29 |     100 |   92.07 | 116-124           
  ...tIndicator.ts |     100 |    93.75 |     100 |     100 | 63                
  ...waySummary.ts |   96.22 |    69.69 |     100 |   96.22 | 125-127,169       
  ...ndTaskView.ts |   94.21 |    76.08 |     100 |   94.21 | 122-126,213,219   
  ...ketedPaste.ts |    23.8 |      100 |       0 |    23.8 | 19-37             
  ...nchCommand.ts |   94.36 |    74.35 |     100 |   94.36 | ...60,168-169,209 
  ...ompletion.tsx |   95.95 |    82.75 |     100 |   95.95 | ...22-223,225-226 
  ...dMigration.ts |   90.62 |       75 |     100 |   90.62 | 38-40             
  useCompletion.ts |    92.4 |     87.5 |     100 |    92.4 | 68-69,93-94,98-99 
  ...nitMessage.ts |     100 |      100 |     100 |     100 |                   
  ...extualTips.ts |   76.92 |       50 |     100 |   76.92 | 55,68,71-75,88-96 
  ...eteCommand.ts |   78.53 |    88.57 |     100 |   78.53 | ...96-104,112-113 
  ...ialogClose.ts |   15.38 |      100 |     100 |   15.38 | 83-148            
  ...oublePress.ts |   53.12 |       75 |     100 |   53.12 | 33-35,41-54       
  ...orSettings.ts |     100 |      100 |     100 |     100 |                   
  ...Completion.ts |   99.12 |     97.7 |     100 |   99.12 | 182-183           
  ...ionUpdates.ts |   93.45 |     92.3 |     100 |   93.45 | ...83-287,300-306 
  ...agerDialog.ts |   88.88 |      100 |     100 |   88.88 | 21,25             
  ...backDialog.ts |   54.47 |       50 |   33.33 |   54.47 | ...69-171,193-194 
  useFocus.ts      |     100 |      100 |     100 |     100 |                   
  ...olderTrust.ts |     100 |      100 |     100 |     100 |                   
  ...ggestions.tsx |   89.15 |     62.5 |      50 |   89.15 | ...22-124,149-150 
  ...miniStream.ts |   77.38 |    74.63 |   91.66 |   77.38 | ...2465,2478-2486 
  ...BranchName.ts |    90.9 |     92.3 |     100 |    90.9 | 19-20,55-58       
  ...oryManager.ts |   93.15 |    93.75 |     100 |   93.15 | 44,107-110        
  ...ooksDialog.ts |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...stListener.ts |     100 |      100 |     100 |     100 |                   
  ...nAuthError.ts |   76.19 |       50 |     100 |   76.19 | 39-40,43-45       
  ...putHistory.ts |   92.59 |    85.71 |     100 |   92.59 | 63-64,72,94-96    
  ...storyStore.ts |     100 |    94.11 |     100 |     100 | 69                
  useKeypress.ts   |     100 |      100 |     100 |     100 |                   
  ...rdProtocol.ts |   36.36 |      100 |       0 |   36.36 | 24-31             
  ...unchEditor.ts |    9.67 |      100 |       0 |    9.67 | 11-32,39-90       
  ...gIndicator.ts |     100 |      100 |     100 |     100 |                   
  useLogger.ts     |   21.05 |      100 |       0 |   21.05 | 15-37             
  useMCPHealth.ts  |   63.15 |       75 |      50 |   63.15 | 42-52,64-67       
  ...elsCommand.ts |     100 |      100 |     100 |     100 |                   
  useMcpDialog.ts  |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...moryDialog.ts |    87.5 |      100 |     100 |    87.5 | 19,23             
  ...oryMonitor.ts |     100 |      100 |     100 |     100 |                   
  ...ssageQueue.ts |     100 |      100 |     100 |     100 |                   
  ...delCommand.ts |     100 |       75 |     100 |     100 | 22                
  ...raseCycler.ts |   84.74 |    76.47 |     100 |   84.74 | ...49,52-53,69-71 
  ...derUpdates.ts |   86.38 |    77.19 |     100 |   86.38 | ...22,281-293,341 
  useQwenAuth.ts   |     100 |      100 |     100 |     100 |                   
  ...lScheduler.ts |    84.7 |    93.33 |     100 |    84.7 | ...71-276,372-382 
  ...oryCommand.ts |       0 |        0 |       0 |       0 | 1-7               
  ...umeCommand.ts |   97.08 |    83.33 |     100 |   97.08 | 103-104,133       
  ...ompletion.tsx |   90.59 |    83.33 |     100 |   90.59 | ...01,104,137-140 
  ...ectionList.ts |   96.98 |    95.65 |     100 |   96.98 | ...83-184,238-241 
  ...sionPicker.ts |   92.87 |    90.35 |     100 |   92.87 | ...99-501,503-505 
  ...earchInput.ts |     100 |      100 |     100 |     100 |                   
  ...ngsCommand.ts |   18.75 |      100 |       0 |   18.75 | 10-25             
  ...ellHistory.ts |   91.74 |    79.41 |     100 |   91.74 | ...74,122-123,133 
  ...oryCommand.ts |       0 |        0 |       0 |       0 | 1-73              
  ...Completion.ts |   82.67 |    85.41 |   94.73 |   82.67 | ...68-670,678-714 
  ...tateAndRef.ts |     100 |      100 |     100 |     100 |                   
  useStatusLine.ts |   97.67 |    91.66 |     100 |   97.67 | ...28-332,344-347 
  ...eateDialog.ts |   88.23 |      100 |     100 |   88.23 | 14,18             
  ...tification.ts |     100 |    85.71 |     100 |     100 | 47                
  ...alProgress.ts |   53.06 |       50 |   66.66 |   53.06 | ...53,61-68,79-85 
  ...rminalSize.ts |   76.19 |      100 |      50 |   76.19 | 21-25             
  ...emeCommand.ts |   67.01 |    29.41 |     100 |   67.01 | ...10-111,115-116 
  useTimer.ts      |   88.09 |    85.71 |     100 |   88.09 | 44-45,51-53       
  ...lMigration.ts |       0 |        0 |       0 |       0 |                   
  ...rustModify.ts |     100 |      100 |     100 |     100 |                   
  ...elcomeBack.ts |   87.36 |     90.9 |     100 |   87.36 | ...,94-96,114-115 
  vim.ts           |   83.77 |    80.31 |     100 |   83.77 | ...55,759-767,776 
 src/ui/layouts    |   89.72 |     87.5 |     100 |   89.72 |                   
  ...AppLayout.tsx |   89.88 |     87.5 |     100 |   89.88 | 51-53,93-98       
  ...AppLayout.tsx |   89.47 |     87.5 |     100 |   89.47 | 58-63             
 ...i/manageModels |   93.61 |       48 |     100 |   93.61 |                   
  manageModels.ts  |   93.61 |       48 |     100 |   93.61 | ...63-166,179,209 
 src/ui/models     |   80.24 |    79.16 |   71.42 |   80.24 |                   
  ...ableModels.ts |   80.24 |    79.16 |   71.42 |   80.24 | ...,61-71,123-125 
 ...noninteractive |     100 |      100 |    7.14 |     100 |                   
  ...eractiveUi.ts |     100 |      100 |    7.14 |     100 |                   
 src/ui/state      |   94.91 |    81.81 |     100 |   94.91 |                   
  extensions.ts    |   94.91 |    81.81 |     100 |   94.91 | 68-69,88          
 src/ui/themes     |   98.53 |    70.58 |     100 |   98.53 |                   
  ansi-light.ts    |     100 |      100 |     100 |     100 |                   
  ansi.ts          |     100 |      100 |     100 |     100 |                   
  atom-one-dark.ts |     100 |      100 |     100 |     100 |                   
  ayu-light.ts     |     100 |      100 |     100 |     100 |                   
  ayu.ts           |     100 |      100 |     100 |     100 |                   
  color-utils.ts   |     100 |      100 |     100 |     100 |                   
  default-light.ts |     100 |      100 |     100 |     100 |                   
  default.ts       |     100 |      100 |     100 |     100 |                   
  ...inal-theme.ts |   88.59 |    85.96 |     100 |   88.59 | ...57-261,266-270 
  dracula.ts       |     100 |      100 |     100 |     100 |                   
  github-dark.ts   |     100 |      100 |     100 |     100 |                   
  github-light.ts  |     100 |      100 |     100 |     100 |                   
  googlecode.ts    |     100 |      100 |     100 |     100 |                   
  no-color.ts      |     100 |      100 |     100 |     100 |                   
  qwen-dark.ts     |     100 |      100 |     100 |     100 |                   
  qwen-light.ts    |     100 |      100 |     100 |     100 |                   
  ...tic-tokens.ts |     100 |      100 |     100 |     100 |                   
  ...-of-purple.ts |     100 |      100 |     100 |     100 |                   
  theme-manager.ts |   87.98 |    82.89 |     100 |   87.98 | ...48-357,362-363 
  theme.ts         |     100 |    38.02 |     100 |     100 | ...34-449,457-461 
  xcode.ts         |     100 |      100 |     100 |     100 |                   
 src/ui/utils      |   83.92 |    82.91 |   92.56 |   83.92 |                   
  ...Colorizer.tsx |   79.53 |    83.78 |     100 |   79.53 | ...51-152,249-275 
  ...nRenderer.tsx |   68.83 |    70.14 |      50 |   68.83 | ...52-254,274-293 
  ...wnDisplay.tsx |   86.01 |    87.41 |     100 |   86.01 | ...87,704,729-754 
  ...idDiagram.tsx |   87.79 |    95.34 |     100 |   87.79 | 156-179           
  ...eRenderer.tsx |   92.08 |    80.45 |      95 |   92.08 | ...76-679,723-728 
  ...dWorkUtils.ts |     100 |      100 |     100 |     100 |                   
  ...boardUtils.ts |   59.61 |    58.82 |     100 |   59.61 | ...,86-88,107-149 
  commandUtils.ts  |    95.9 |    88.42 |     100 |    95.9 | ...62,164-165,289 
  computeStats.ts  |     100 |      100 |     100 |     100 |                   
  customBanner.ts  |   90.68 |    91.22 |     100 |   90.68 | ...13,324-327,334 
  displayUtils.ts  |   88.37 |    72.22 |     100 |   88.37 | 23,25,29,31,33    
  formatters.ts    |   95.23 |    98.27 |     100 |   95.23 | 117-120           
  gradientUtils.ts |     100 |      100 |     100 |     100 |                   
  highlight.ts     |     100 |      100 |     100 |     100 |                   
  ...oryMapping.ts |     100 |    94.28 |     100 |     100 | 29,51             
  historyUtils.ts  |   94.11 |       94 |     100 |   94.11 | 94-97             
  isNarrowWidth.ts |     100 |      100 |     100 |     100 |                   
  ...olDetector.ts |    8.23 |      100 |       0 |    8.23 | ...31-132,135-136 
  latexRenderer.ts |   94.95 |     73.8 |     100 |   94.95 | ...76-178,184-187 
  layoutUtils.ts   |     100 |      100 |     100 |     100 |                   
  ...ightLoader.ts |     100 |    89.47 |     100 |     100 | 81,110            
  ...nUtilities.ts |   69.84 |    85.71 |     100 |   69.84 | 75-91,100-101     
  ...ToolGroups.ts |   98.66 |    96.77 |     100 |   98.66 | 48-49             
  ...geRenderer.ts |   86.23 |    69.06 |   95.12 |   86.23 | ...1284,1324-1330 
  ...alRenderer.ts |   86.69 |     71.9 |     100 |   86.69 | ...1476,1513-1519 
  ...lsBySource.ts |     100 |    95.23 |     100 |     100 | 84                
  osc8.ts          |   94.71 |    87.41 |     100 |   94.71 | ...43,428,432-433 
  ...mConstants.ts |     100 |      100 |     100 |     100 |                   
  restoreGoal.ts   |   98.98 |    97.05 |     100 |   98.98 | 98                
  ...storyUtils.ts |   61.89 |    69.87 |      90 |   61.89 | ...76,424,429-451 
  ...ickerUtils.ts |     100 |      100 |     100 |     100 |                   
  ...izedOutput.ts |   94.94 |      100 |   88.88 |   94.94 | 112-117           
  ...wOptimizer.ts |     100 |    96.77 |     100 |     100 | 69                
  terminalSetup.ts |    4.37 |      100 |       0 |    4.37 | 44-393            
  textUtils.ts     |   97.35 |    94.38 |   91.66 |   97.35 | ...50-251,386-387 
  todoSnapshot.ts  |   89.11 |    93.33 |     100 |   89.11 | ...,66-78,180-181 
  updateCheck.ts   |     100 |    80.95 |     100 |     100 | 30-42             
 ...i/utils/export |   56.77 |     40.8 |   79.41 |   56.77 |                   
  collect.ts       |   55.92 |    50.58 |   86.36 |   55.92 | ...25-640,642-647 
  index.ts         |     100 |      100 |     100 |     100 |                   
  normalize.ts     |   57.47 |    20.51 |      80 |   57.47 | ...09-310,324-359 
  types.ts         |       0 |        0 |       0 |       0 | 1                 
  utils.ts         |      40 |      100 |       0 |      40 | 11-13             
 ...ort/formatters |    3.38 |      100 |       0 |    3.38 |                   
  html.ts          |    9.61 |      100 |       0 |    9.61 | ...28,34-76,82-84 
  json.ts          |      50 |      100 |       0 |      50 | 14-15             
  jsonl.ts         |     3.5 |      100 |       0 |     3.5 | 14-76             
  markdown.ts      |    0.94 |      100 |       0 |    0.94 | 13-295            
 src/utils         |   76.06 |    89.51 |   93.82 |   76.06 |                   
  acpModelUtils.ts |     100 |      100 |     100 |     100 |                   
  apiPreconnect.ts |   96.72 |    97.14 |     100 |   96.72 | 165-168           
  checks.ts        |   33.33 |      100 |       0 |   33.33 | 23-28             
  cleanup.ts       |   84.12 |    93.33 |      80 |   84.12 | 75,106-115        
  commands.ts      |     100 |      100 |     100 |     100 |                   
  commentJson.ts   |   87.17 |     90.9 |     100 |   87.17 | 64-73             
  ...Calculator.ts |     100 |      100 |     100 |     100 |                   
  deepMerge.ts     |     100 |       90 |     100 |     100 | 41-43,49          
  ...ScopeUtils.ts |   97.56 |    88.88 |     100 |   97.56 | 67                
  doctorChecks.ts  |   71.06 |       75 |     100 |   71.06 | ...95-301,325-341 
  ...putCapture.ts |   90.65 |    86.17 |     100 |   90.65 | ...72,370,372-373 
  ...arResolver.ts |   94.28 |       88 |     100 |   94.28 | 28-29,125-126     
  errors.ts        |   98.67 |    96.36 |     100 |   98.67 | 67-68             
  events.ts        |     100 |      100 |     100 |     100 |                   
  gitUtils.ts      |   91.91 |    84.61 |     100 |   91.91 | 78-81,124-127     
  ...AutoUpdate.ts |   90.76 |    93.33 |   88.88 |   90.76 | 103-114           
  ...lationInfo.ts |     100 |      100 |     100 |     100 |                   
  languageUtils.ts |   97.89 |    96.42 |     100 |   97.89 | 132-133           
  math.ts          |       0 |        0 |       0 |       0 | 1-15              
  ...iagnostics.ts |   94.57 |    83.01 |   88.88 |   94.57 | ...05,311,315-317 
  ...onfigUtils.ts |     100 |      100 |     100 |     100 |                   
  ...iveHelpers.ts |   96.79 |    93.28 |     100 |   96.79 | ...76-477,575,588 
  osc.ts           |    97.5 |      100 |   88.88 |    97.5 | 195-196           
  package.ts       |   88.88 |       80 |     100 |   88.88 | 33-34             
  processUtils.ts  |     100 |      100 |     100 |     100 |                   
  readStdin.ts     |   79.62 |       90 |      80 |   79.62 | 33-40,52-54       
  relaunch.ts      |   98.07 |    76.92 |     100 |   98.07 | 70                
  resolvePath.ts   |   66.66 |       25 |     100 |   66.66 | 12-13,16,18-19    
  sandbox.ts       |       0 |        0 |       0 |       0 | 1-1047            
  settingsUtils.ts |   82.89 |    90.67 |   89.47 |   82.89 | ...52-663,670-678 
  spawnWrapper.ts  |     100 |      100 |     100 |     100 |                   
  ...upProfiler.ts |   98.46 |    94.52 |     100 |   98.46 | 130-131,305       
  ...upWarnings.ts |     100 |      100 |     100 |     100 |                   
  stdioHelpers.ts  |     100 |       60 |     100 |     100 | 23,32             
  systemInfo.ts    |   95.12 |    89.06 |     100 |   95.12 | ...43-244,249-253 
  ...InfoFields.ts |   87.61 |       65 |     100 |   87.61 | ...22-123,144-145 
  ...iffPreview.ts |   94.11 |    83.33 |     100 |   94.11 | 13                
  ...entEmitter.ts |     100 |      100 |     100 |     100 |                   
  ...upWarnings.ts |   91.17 |    82.35 |     100 |   91.17 | 67-68,73-74,77-78 
  version.ts       |     100 |       50 |     100 |     100 | 11                
  windowTitle.ts   |     100 |      100 |     100 |     100 |                   
  ...WithBackup.ts |   63.15 |    81.25 |     100 |   63.15 | 93,118-157        
-------------------|---------|----------|---------|---------|-------------------
Core Package - Full Text Report
Core full-text-summary.txt not found at: coverage_artifact/core/coverage/full-text-summary.txt

For detailed HTML reports, please see the 'coverage-reports-22.x-ubuntu-latest' artifact from the main CI run.

@wenshao wenshao left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No new review findings in the latest changes. Downgraded from Approve to Comment: CI failing: Test (ubuntu-latest, Node 22.x). — gpt-5.5 via Qwen Code /review

onDebugMessage(`Daemon model switched to ${update.modelId}`);
return;
case 'disconnected':
setStreamingState(StreamingState.Idle);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] The disconnected handler in handleUpdate resets streamingState to Idle and posts an error, but never calls flushPendingItems(). Any model response chunks already received via SSE and accumulated in pendingItemsRef.current are silently discarded. The user sees only the disconnect error, not the partial output that could contain diagnostic clues.

Suggested change
setStreamingState(StreamingState.Idle);
case 'disconnected':
flushPendingItems();
setStreamingState(StreamingState.Idle);
setIsReceivingContent(false);
addItem(
{
type: MessageType.ERROR,
text: `Daemon disconnected: ${update.reason}`,
},
Date.now(),
);
return;

— DeepSeek/deepseek-v4-pro via Qwen Code /review

@chiga0

chiga0 commented May 18, 2026

Copy link
Copy Markdown
Collaborator Author

Architecture update after the 2026-05-19 decision: native local TUI should remain on the direct runtime / streamJson / Ink path long-term. The daemon path should prioritize web chat + web terminal, with shared render-core extraction so native TUI and web terminal can share state/rendering without forcing native TUI through localhost HTTP.

This draft is valuable as an experiment, but it should not move toward merge as a production TUI replacement path. Recommendation: close/defer it, and salvage only reusable source-adapter / view-model / terminal-render-core pieces for the web-terminal/render-core direction.

Generated by GPT-5 Codex

await logger?.logMessage(MessageSenderType.USER, trimmedQuery);
}

const slashCommandResult = trimmedQuery.startsWith('/')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] This daemon stream path checks trimmedQuery.startsWith('/') instead of using the normal slash-command classifier. The regular TUI deliberately excludes absolute file paths and comment-like inputs from slash-command handling, so inputs such as /Users/me/project/src/index.ts or /tmp/file.txt can be routed through handleSlashCommand here instead of being sent to the model as user text. Please import/use isSlashCommand(trimmedQuery) so daemon mode preserves the same input semantics as the normal stream path.

— gpt-5.5 via Qwen Code /review

};
}, [addItem, handleUpdate, runtimeOptions]);

const submitQuery = useCallback(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] This PR adds a new daemon-backed stream hook and new config/AppContainer wiring, but the diff does not add tests for those paths. The untested surface includes slash-command classification in useDaemonTuiStream, queued initial-prompt replay, the daemon env/options mapping, and AppContainer's daemon-mode initialization/switching behavior. Please add focused unit tests for these paths so the experimental mode does not regress silently as the normal TUI code evolves.

— gpt-5.5 via Qwen Code /review

'Commands: /quit, /cancel, /model <id>, /approve <id> <option>, /reject <id>',
);
for (;;) {
const line = (await rl.question('qwen-daemon> ')).trim();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] No error handling around await adapter.* calls in the interactive REPL loop. Any transient RPC error (timeout, bad model name, network blip) on sendPrompt, cancel, setModel, approvePermission, or rejectPermission propagates to the outer try/finally, which calls process.exit(1). A single flaky command kills the entire session.

Suggested change
const line = (await rl.question('qwen-daemon> ')).trim();
for (;;) {
const line = (await rl.question('qwen-daemon> ')).trim();
if (!line) {
continue;
}
if (line === '/quit' || line === '/exit') {
return;
}
try {
if (line === '/cancel') {
await adapter.cancel();
continue;
}
if (line.startsWith('/model ')) {
await adapter.setModel(line.slice('/model '.length).trim());
continue;
}
if (line.startsWith('/approve ')) {
const [, requestId, optionId] = line.split(/\s+/, 3);
if (!requestId || !optionId) {
writeLine('usage: /approve <requestId> <optionId>');
continue;
}
await adapter.approvePermission(requestId, optionId);
continue;
}
if (line.startsWith('/reject ')) {
const [, requestId] = line.split(/\s+/, 2);
if (!requestId) {
writeLine('usage: /reject <requestId>');
continue;
}
await adapter.rejectPermission(requestId);
continue;
}
await adapter.sendPrompt(line);
} catch (err) {
writeLine(`Error: ${err instanceof Error ? err.message : String(err)}`);
}
}

— qwen-latest-series-invite-beta-v28 via Qwen Code /review

}

if (submitType !== SendMessageType.Notification) {
await logger?.logMessage(MessageSenderType.USER, trimmedQuery);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] retryLastPrompt calls submitQuery with SendMessageType.Retry, but unlike useGeminiStream (which explicitly bypasses prepareQueryForGemini for Retry), this path unconditionally logs a duplicate USER message (line 404) and inserts a duplicate USER history item (line 431). Every retry shows the user's prompt twice in the conversation and records it twice in the chat log.

Guard both locations to skip Retry:

Suggested change
await logger?.logMessage(MessageSenderType.USER, trimmedQuery);
if (submitType !== SendMessageType.Notification && submitType !== SendMessageType.Retry) {
await logger?.logMessage(MessageSenderType.USER, trimmedQuery);
}

And at line 431:

Suggested change
await logger?.logMessage(MessageSenderType.USER, trimmedQuery);
} else if (submitType !== SendMessageType.Notification && submitType !== SendMessageType.Retry) {
addItem({ type: MessageType.USER, text: trimmedQuery }, Date.now());
}

— qwen-latest-series-invite-beta-v28 via Qwen Code /review

const { DaemonClient, DaemonSessionClient } = await import('@qwen-code/sdk');
const client = new DaemonClient({
baseUrl: options.daemonUrl,
token: options.token ?? process.env['QWEN_SERVER_TOKEN'],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Critical] Token fallback uses ?? which only falls through on null/undefined. When QWEN_DAEMON_TOKEN is set to empty string, options.token is '' (not nullish), so ?? does NOT fall through to QWEN_SERVER_TOKEN. Auth fails with a confusing empty-token error.

Also, the token fallback logic is split across daemonTuiOptions.ts:36 (reads only QWEN_DAEMON_TOKEN) and here (falls back to QWEN_SERVER_TOKEN). Consolidate in one place:

Suggested change
token: options.token ?? process.env['QWEN_SERVER_TOKEN'],
token: options.token || process.env['QWEN_SERVER_TOKEN'],

— qwen-latest-series-invite-beta-v28 via Qwen Code /review

return () => {
disposed = true;
adapterRef.current = null;
void adapter?.stop();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Suggestion] adapter.stop() aborts the SSE event pump but never calls this.session.close(). The daemon session is leaked on the server — every TUI unmount, effect re-run, or CLI exit leaves an orphaned session. DaemonSessionClient.close() exists but is never invoked from any code path introduced by this PR.

Consider closing the session before stopping the adapter:

Suggested change
void adapter?.stop();
await adapter.close(); // closes daemon session
void adapter?.stop();

Or add session close to DaemonTuiAdapter.stop() itself.

— qwen-latest-series-invite-beta-v28 via Qwen Code /review

@wenshao

wenshao commented May 18, 2026

Copy link
Copy Markdown
Collaborator

@chiga0 这个 PR 的定位需要明确:`--experimental-daemon-tui` 永远是 opt-in advanced flag,不进入 default migration

理由:本地单用户 TUI 必须保持 in-process direct call,永远不走网络。详 #3803 comment 4483031818 + #4175 comment 4483033542

请在 PR description 顶部加:

⚠️ Scope clarification: This flag is permanently behind-flag, opt-in advanced for users who want multi-client live collaboration (IDE + TUI same session). It does NOT become the default local TUI path. The default `qwen` command stays in-process direct call indefinitely — zero-cost abstraction principle: don't pay for what you don't need.

PR title 建议改为:
`feat(tui): add experimental daemon stream path (opt-in advanced, no default migration)`

PR 代码本身没问题,可以继续开发到 ready-for-review。只是定位需要在 description / title 明示,让未来 reviewer / contributor 不会误以为这是 default migration 的 stepping stone。

@chiga0

chiga0 commented May 19, 2026

Copy link
Copy Markdown
Collaborator Author

Closing this draft per the latest daemon roadmap decision: native local TUI remains a long-term direct runtime / streamJson / Ink path and should not default-migrate to daemon HTTP/SSE. Reusable render/view-model ideas should be mined later for the remote web terminal + shared render-core direction.

Generated by GPT-5 Codex

@chiga0 chiga0 closed this May 19, 2026
xaelistic pushed a commit to xaelistic/qwen-code that referenced this pull request Jun 7, 2026
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: mkorwel <matt.korwel@gmail.com>
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.

2 participants