mirror of
https://github.com/stablyai/orca.git
synced 2026-11-14 09:57:48 +00:00
* fix(cli): chat wait checks the chat's work state instead of reading its history every second `orca chat wait` and `orca chat send --wait` polled `agentSession.history` once a second only to learn whether the chat was still working. Each poll made the host build a transcript page, scan every retained item twice for the running turn, and send the newest reply's full text, all ignored by the waiter. The host now answers `agentSession.workState` with just the facts a wait decides from (working, a waiting question or approval, queued ids, the next queued send, the fence), and the journal's running turn comes from its existing per-row turn index instead of a scan. The CLI polls that read and falls back to history pages on hosts without it. The final transcript read is unchanged. * test(cli): type the chat wait host test without assertions * docs(cli): say what a work-state check skips, not that it does no history work * test(cli): pin the chat wait's exact final reply and its single history read * docs(cli): name the scan a work-state check skips * ci: typecheck the chat wait host test with the cross-process test project
26 lines
1007 B
JSON
26 lines
1007 B
JSON
{
|
|
"extends": "./tsconfig.web.json",
|
|
"include": [
|
|
"../src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-coordinator-mail.test.ts",
|
|
"../src/main/runtime/agent-session/structured-agent-session-chat-wait-work-state.test.ts",
|
|
"../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx",
|
|
"../src/renderer/src/runtime/observed-provider-accounts.test.tsx",
|
|
"../src/renderer/src/components/status-bar/ClaudeSwitcherMenu.observation.test.tsx",
|
|
"../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts",
|
|
"../src/renderer/src/env.d.ts",
|
|
"../src/types/build-constants.d.ts",
|
|
"../src/shared/**/*"
|
|
],
|
|
"exclude": [
|
|
"../src/shared/**/*.test.ts",
|
|
"../src/shared/**/*.test.tsx",
|
|
"../src/shared/**/*.spec.ts",
|
|
"../src/shared/**/*.spec.tsx"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": false,
|
|
"noEmit": true,
|
|
"types": ["electron-vite/node"]
|
|
}
|
|
}
|