@hearsay-tools/squawk 0.18.0-pr3685.6701 → 0.18.0-pr3686.6719

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/core/claude-cli-runner.d.ts +5 -0
  2. package/dist/core/codex-app-server-runner.d.ts +5 -0
  3. package/dist/core/cursor-print-runner.d.ts +5 -0
  4. package/dist/core/cursor-runner.d.ts +5 -0
  5. package/dist/core/omp-runner.d.ts +5 -0
  6. package/dist/core/opencode-server-runner.d.ts +5 -0
  7. package/dist/core/pi-runner.d.ts +5 -0
  8. package/dist/core/runner-facts.d.ts +57 -0
  9. package/dist/core/runner-facts.js +53 -0
  10. package/dist/core/runner-facts.js.map +1 -1
  11. package/dist/server/server.d.ts +94 -85
  12. package/dist/server/server.js +22 -35
  13. package/dist/server/server.js.map +1 -1
  14. package/dist/ui-state.d.ts +7 -6
  15. package/dist/ui-state.js +31 -6
  16. package/dist/ui-state.js.map +1 -1
  17. package/dist/workspace/projects.d.ts +2 -0
  18. package/dist/workspace/projects.js +3 -4
  19. package/dist/workspace/projects.js.map +1 -1
  20. package/package.json +4 -4
  21. package/scripts/mock-pi-rpc.mjs +9 -4
  22. package/web/dist/assets/{activity-motion-Do_-Mdok.js → activity-motion-DhLXb8Pt.js} +1 -1
  23. package/web/dist/assets/{activity-route-bxjScx_a.js → activity-route-CpwAMYLn.js} +1 -1
  24. package/web/dist/assets/agent-accounts-Bc0LJ4SB.js +18 -0
  25. package/web/dist/assets/{commit-diff-panel-8ECLFhE_.js → commit-diff-panel-B1KZl0GP.js} +1 -1
  26. package/web/dist/assets/{diff-BGy3x2Ql.js → diff-Ci-qd1lU.js} +2 -2
  27. package/web/dist/assets/{diff-view-CIxHVx_D.js → diff-view-CWZElKoD.js} +1 -1
  28. package/web/dist/assets/{file-preview-BGAJphag.js → file-preview-CoWRr13R.js} +1 -1
  29. package/web/dist/assets/{git-toolbar-z8K71uY7.js → git-toolbar-BYIni94R.js} +1 -1
  30. package/web/dist/assets/github-CAPNq5vY.js +1 -0
  31. package/web/dist/assets/{global-activity-route-Dru667tt.js → global-activity-route-DLEwsMA7.js} +1 -1
  32. package/web/dist/assets/index-CpwAOct4.js +17 -0
  33. package/web/dist/assets/{preview-pane-connected-K9bTKX6y.js → preview-pane-connected-CGw_9VuF.js} +1 -1
  34. package/web/dist/assets/{prompt-template-menu-Dr1mTAwf.js → prompt-template-menu-BZTz2mIG.js} +1 -1
  35. package/web/dist/assets/{reference-chip-BliLpdSz.js → reference-chip-Ht4xX9-k.js} +1 -1
  36. package/web/dist/assets/{repo-git-CURxuoFu.js → repo-git-CzVLCWig.js} +1 -1
  37. package/web/dist/assets/{report-reader-Dt-4w1Hu.js → report-reader-iTBkUgg-.js} +1 -1
  38. package/web/dist/assets/{reports-BHuVysdB.js → reports-BJF1Cl3C.js} +1 -1
  39. package/web/dist/assets/{run-header-NTGqesnl.js → run-header-BxB6gyt1.js} +1 -1
  40. package/web/dist/assets/{skills-D2OT0WM-.js → skills-DvgHKWgK.js} +1 -1
  41. package/web/dist/assets/{task-changes-Dwr44jtm.js → task-changes-CStxhLFG.js} +1 -1
  42. package/web/dist/assets/{task-commits-DVoDas-5.js → task-commits-DhpOAdOf.js} +1 -1
  43. package/web/dist/assets/{task-files-DGGM_Gwr.js → task-files-COmKUUfN.js} +1 -1
  44. package/web/dist/assets/{task-github-item-DjtclCJ6.js → task-github-item-BNLeAz58.js} +1 -1
  45. package/web/dist/assets/task-thread-DjSFvEQe.js +9 -0
  46. package/web/dist/assets/{thread-state-4VeKFceq.js → thread-state-B5tTsVNm.js} +1 -1
  47. package/web/dist/assets/use-desktop-BPWIJ0Kw.js +1 -0
  48. package/web/dist/assets/use-hand-to-agent-state-Ce6QW2j_.js +1 -0
  49. package/web/dist/assets/{workflows-Blm0eY77.js → workflows-CN8uKYnY.js} +1 -1
  50. package/web/dist/index.html +5 -5
  51. package/web/dist/assets/agent-accounts-BaHIZEqk.js +0 -18
  52. package/web/dist/assets/github-B7CbHfsc.js +0 -1
  53. package/web/dist/assets/index-CpvjxWtG.js +0 -17
  54. package/web/dist/assets/task-thread-BtWIjwYe.js +0 -9
  55. package/web/dist/assets/use-desktop-jIeTPw3K.js +0 -1
  56. package/web/dist/assets/use-hand-to-agent-state-D_aBtCQ1.js +0 -1
@@ -30,6 +30,11 @@ export declare class ClaudeCliRunner implements AgentRunner {
30
30
  readonly specSupport: Readonly<Record<keyof AgentRunSpec, import("./agent-runner.ts").SpecFieldSupport>>;
31
31
  readonly systemPromptOnResume: "resent";
32
32
  readonly facts: {
33
+ readonly childWork: 'nested';
34
+ readonly hookEvents: 'reported';
35
+ readonly nativePermission: 'none';
36
+ readonly transport: 'stdio';
37
+ readonly humanPromptHold: 'none';
33
38
  readonly inputDelivery: {
34
39
  readonly mode: 'steer';
35
40
  readonly consumption: 'observable';
@@ -33,6 +33,11 @@ export declare class CodexAppServerRunner implements AgentRunner {
33
33
  readonly specSupport: Readonly<Record<keyof AgentRunSpec, import("./agent-runner.ts").SpecFieldSupport>>;
34
34
  readonly systemPromptOnResume: "in-thread";
35
35
  readonly facts: {
36
+ readonly childWork: 'nested';
37
+ readonly hookEvents: 'reported';
38
+ readonly nativePermission: 'in-turn';
39
+ readonly transport: 'stdio';
40
+ readonly humanPromptHold: 'consumption';
36
41
  readonly inputDelivery: {
37
42
  readonly mode: 'steer';
38
43
  readonly consumption: 'observable';
@@ -20,6 +20,11 @@ export declare class CursorPrintRunner implements AgentRunner {
20
20
  readonly specSupport: Readonly<Record<keyof AgentRunSpec, import("./agent-runner.ts").SpecFieldSupport>>;
21
21
  readonly systemPromptOnResume: "in-thread";
22
22
  readonly facts: {
23
+ readonly childWork: 'none';
24
+ readonly hookEvents: 'none';
25
+ readonly nativePermission: 'none';
26
+ readonly transport: 'stdio';
27
+ readonly humanPromptHold: 'turn-end';
23
28
  readonly inputDelivery: {
24
29
  readonly mode: 'boundary';
25
30
  readonly consumption: 'unobservable';
@@ -22,6 +22,11 @@ export declare class CursorRunner implements AgentRunner {
22
22
  readonly backend: 'cursor';
23
23
  readonly specSupport: Readonly<Record<keyof AgentRunSpec, import("./agent-runner.ts").SpecFieldSupport>>;
24
24
  readonly facts: {
25
+ readonly childWork: 'none';
26
+ readonly hookEvents: 'none';
27
+ readonly nativePermission: 'none';
28
+ readonly transport: 'stdio';
29
+ readonly humanPromptHold: 'turn-end';
25
30
  readonly inputDelivery: {
26
31
  readonly mode: 'boundary';
27
32
  readonly consumption: 'unobservable';
@@ -60,6 +60,11 @@ export declare class OmpRunner implements AgentRunner {
60
60
  readonly specSupport: Readonly<Record<keyof AgentRunSpec, import("./agent-runner.js").SpecFieldSupport>>;
61
61
  readonly systemPromptOnResume: "resent";
62
62
  readonly facts: {
63
+ readonly childWork: 'nested';
64
+ readonly hookEvents: 'none';
65
+ readonly nativePermission: 'none';
66
+ readonly transport: 'stdio';
67
+ readonly humanPromptHold: 'acknowledgement';
63
68
  readonly inputDelivery: {
64
69
  readonly mode: 'steer';
65
70
  readonly consumption: 'observable';
@@ -49,6 +49,11 @@ export declare class OpencodeServerRunner implements AgentRunner {
49
49
  readonly specSupport: Readonly<Record<keyof AgentRunSpec, import("./agent-runner.ts").SpecFieldSupport>>;
50
50
  readonly systemPromptOnResume: "in-thread";
51
51
  readonly facts: {
52
+ readonly childWork: 'nested';
53
+ readonly hookEvents: 'none';
54
+ readonly nativePermission: 'after-turn';
55
+ readonly transport: 'http';
56
+ readonly humanPromptHold: 'acknowledgement';
52
57
  readonly inputDelivery: {
53
58
  readonly mode: 'steer';
54
59
  readonly consumption: 'observable';
@@ -32,6 +32,11 @@ export declare class PiRunner implements AgentRunner {
32
32
  readonly specSupport: Readonly<Record<keyof AgentRunSpec, import("./agent-runner.js").SpecFieldSupport>>;
33
33
  readonly systemPromptOnResume: "resent";
34
34
  readonly facts: {
35
+ readonly childWork: 'none';
36
+ readonly hookEvents: 'none';
37
+ readonly nativePermission: 'none';
38
+ readonly transport: 'stdio';
39
+ readonly humanPromptHold: 'acknowledgement';
35
40
  readonly inputDelivery: {
36
41
  readonly mode: 'steer';
37
42
  readonly consumption: 'observable';
@@ -25,6 +25,33 @@ export interface RunnerFacts {
25
25
  * stays open until every child returns, so no turn end parks on running children.
26
26
  */
27
27
  readonly nativeSubagents: 'reported' | 'unreported' | 'turn-held';
28
+ /**
29
+ * A native subagent's own work. `nested`: the wire reports a child's items together with the
30
+ * parent tool call that started the child, so the child's work nests under that call. `none`:
31
+ * the wire carries no child session and no child transcript.
32
+ */
33
+ readonly childWork: 'nested' | 'none';
34
+ /** Hook runs. `reported`: the wire streams each hook run, which Squawk maps to a hook item.
35
+ * `none`: hooks run inside the harness and the wire carries no hook frame. */
36
+ readonly hookEvents: 'reported' | 'none';
37
+ /**
38
+ * How long a human prompt on its way to the wire holds agent input back. `none`: agent input is
39
+ * never refused for a human prompt. `consumption`: the hold ends when the wire reports the prompt
40
+ * read; a prompt that starts a turn is also released by that start's acknowledgement, and a prompt
41
+ * steered into a running turn by the turn's end. `acknowledgement`: the hold ends only at the
42
+ * prompt's acknowledgement. `turn-end`: the hold ends when the turn the prompt opened ends.
43
+ */
44
+ readonly humanPromptHold: 'none' | 'consumption' | 'acknowledgement' | 'turn-end';
45
+ /**
46
+ * The harness's native permission request, which Squawk answers through the cockpit permission
47
+ * card. `none`: the wire carries no permission request. `in-turn`: a request arrives only inside
48
+ * the running turn, so none arrives after the turn ends. `after-turn`: a request can also arrive
49
+ * after the turn ended, and it reopens the turn.
50
+ */
51
+ readonly nativePermission: 'none' | 'in-turn' | 'after-turn';
52
+ /** How Squawk reaches the native wire. `stdio`: the stdin and stdout of the spawned process
53
+ * carry it. `http`: Squawk spawns a server, waits for it to listen, and talks to it over HTTP. */
54
+ readonly transport: 'stdio' | 'http';
28
55
  /** The native tool that schedules the session's own wake-up, the equivalent of a `cezar_wait`
29
56
  * timer; null when the wire has none. A tool of the same name on another wire means nothing. */
30
57
  readonly nativeTimerTool: string | null;
@@ -41,6 +68,11 @@ export interface RunnerFacts {
41
68
  }
42
69
  export declare const RUNNER_FACTS: {
43
70
  readonly claude: {
71
+ readonly childWork: 'nested';
72
+ readonly hookEvents: 'reported';
73
+ readonly nativePermission: 'none';
74
+ readonly transport: 'stdio';
75
+ readonly humanPromptHold: 'none';
44
76
  readonly inputDelivery: {
45
77
  readonly mode: 'steer';
46
78
  readonly consumption: 'observable';
@@ -56,6 +88,11 @@ export declare const RUNNER_FACTS: {
56
88
  readonly sessionIdSource: 'launch';
57
89
  };
58
90
  readonly codex: {
91
+ readonly childWork: 'nested';
92
+ readonly hookEvents: 'reported';
93
+ readonly nativePermission: 'in-turn';
94
+ readonly transport: 'stdio';
95
+ readonly humanPromptHold: 'consumption';
59
96
  readonly inputDelivery: {
60
97
  readonly mode: 'steer';
61
98
  readonly consumption: 'observable';
@@ -71,6 +108,11 @@ export declare const RUNNER_FACTS: {
71
108
  readonly sessionIdSource: 'native';
72
109
  };
73
110
  readonly opencode: {
111
+ readonly childWork: 'nested';
112
+ readonly hookEvents: 'none';
113
+ readonly nativePermission: 'after-turn';
114
+ readonly transport: 'http';
115
+ readonly humanPromptHold: 'acknowledgement';
74
116
  readonly inputDelivery: {
75
117
  readonly mode: 'steer';
76
118
  readonly consumption: 'observable';
@@ -86,6 +128,11 @@ export declare const RUNNER_FACTS: {
86
128
  readonly sessionIdSource: 'native';
87
129
  };
88
130
  readonly pi: {
131
+ readonly childWork: 'none';
132
+ readonly hookEvents: 'none';
133
+ readonly nativePermission: 'none';
134
+ readonly transport: 'stdio';
135
+ readonly humanPromptHold: 'acknowledgement';
89
136
  readonly inputDelivery: {
90
137
  readonly mode: 'steer';
91
138
  readonly consumption: 'observable';
@@ -101,6 +148,11 @@ export declare const RUNNER_FACTS: {
101
148
  readonly sessionIdSource: 'launch';
102
149
  };
103
150
  readonly cursor: {
151
+ readonly childWork: 'none';
152
+ readonly hookEvents: 'none';
153
+ readonly nativePermission: 'none';
154
+ readonly transport: 'stdio';
155
+ readonly humanPromptHold: 'turn-end';
104
156
  readonly inputDelivery: {
105
157
  readonly mode: 'boundary';
106
158
  readonly consumption: 'unobservable';
@@ -116,6 +168,11 @@ export declare const RUNNER_FACTS: {
116
168
  readonly sessionIdSource: 'native';
117
169
  };
118
170
  readonly omp: {
171
+ readonly childWork: 'nested';
172
+ readonly hookEvents: 'none';
173
+ readonly nativePermission: 'none';
174
+ readonly transport: 'stdio';
175
+ readonly humanPromptHold: 'acknowledgement';
119
176
  readonly inputDelivery: {
120
177
  readonly mode: 'steer';
121
178
  readonly consumption: 'observable';
@@ -1,6 +1,15 @@
1
1
  import { RUNNER_IDS } from './agent-runner.js';
2
2
  export const RUNNER_FACTS = {
3
3
  claude: {
4
+ // childWork: a subagent's stream-json messages carry parent_tool_use_id (claude-ui-mapper.ts).
5
+ // hookEvents: --include-hook-events streams each hook run (claude-cli-runner.ts).
6
+ // nativePermission: print mode settles every permission inside Claude under its headless
7
+ // --permission-mode (dontAsk denies an unapproved tool without a request); Squawk's own tools are
8
+ // pre-authorized through --allowedTools.
9
+ // transport: claude -p --input-format stream-json --output-format stream-json over stdio.
10
+ // humanPromptHold: sendAgentMessage refuses only for closed stdin, a refusal retry or a pending
11
+ // agent write; a human prompt is a stdin line, and the pipe keeps the order (claude-cli-runner.ts).
12
+ childWork: 'nested', hookEvents: 'reported', nativePermission: 'none', transport: 'stdio', humanPromptHold: 'none',
4
13
  inputDelivery: {
5
14
  mode: 'steer', consumption: 'observable', acknowledgement: 'write', humanInputAtTurnEnd: 'held-when-late',
6
15
  via: 'stream-json stdin line with uuid; --replay-user-messages echo at consumption',
@@ -9,6 +18,16 @@ export const RUNNER_FACTS = {
9
18
  nativeAsk: 'none', nativeSubagents: 'reported', nativeTimerTool: 'ScheduleWakeup', costReport: 'cumulative', sessionIdSource: 'launch',
10
19
  },
11
20
  codex: {
21
+ // childWork: a child thread's items nest under its spawnAgent item through collabParentItemId
22
+ // (codex-hook-mapper.ts).
23
+ // hookEvents: app-server sends hook/started and hook/completed (codex-hook-mapper.ts).
24
+ // nativePermission: app-server sends an approval request only inside the turn its turnId names;
25
+ // noteTurnEnded expires every pending approval (codex-app-server-runner.ts).
26
+ // transport: codex app-server JSON-RPC lines over stdio.
27
+ // humanPromptHold: sendAgentMessage refuses while humanPromptsPending > 0; the userMessage
28
+ // item of the prompt (noteHumanEcho) releases it before the turn/start or turn/steer response
29
+ // (codex-app-server-runner.ts).
30
+ childWork: 'nested', hookEvents: 'reported', nativePermission: 'in-turn', transport: 'stdio', humanPromptHold: 'consumption',
12
31
  inputDelivery: {
13
32
  mode: 'steer', consumption: 'observable', acknowledgement: 'response', humanInputAtTurnEnd: 'held-when-late',
14
33
  // The userMessage item marks the input entering the thread's history (probe 2026-09-24:
@@ -19,6 +38,14 @@ export const RUNNER_FACTS = {
19
38
  nativeAsk: 'answerable', nativeSubagents: 'reported', nativeTimerTool: null, costReport: 'per-turn', sessionIdSource: 'native',
20
39
  },
21
40
  opencode: {
41
+ // childWork: a subtask's child-session parts nest under the subtask part (opencode-ui-mapper.ts).
42
+ // hookEvents: OpenCode 1.18.35 runs plugin hooks in-process; its SSE wire carries no hook event.
43
+ // nativePermission: a main-session permission.asked after session.idle means the server started
44
+ // a run, and the runner reopens the turn for it (opencode-server-runner.ts).
45
+ // transport: opencode serve --hostname 127.0.0.1 --port N; HTTP requests and an SSE event stream.
46
+ // humanPromptHold: sendAgentMessage refuses while pendingPromptRequests > 0, which drops only
47
+ // when the prompt's HTTP request resolves (deliverPrompt, opencode-server-runner.ts).
48
+ childWork: 'nested', hookEvents: 'none', nativePermission: 'after-turn', transport: 'http', humanPromptHold: 'acknowledgement',
22
49
  inputDelivery: {
23
50
  mode: 'steer', consumption: 'observable', acknowledgement: 'response', humanInputAtTurnEnd: 'always-held',
24
51
  via: 'prompt_async while busy; assistant message.updated parentID at consumption',
@@ -27,6 +54,14 @@ export const RUNNER_FACTS = {
27
54
  nativeAsk: 'answerable', nativeSubagents: 'turn-held', nativeTimerTool: null, costReport: 'per-turn', sessionIdSource: 'native',
28
55
  },
29
56
  pi: {
57
+ // childWork: Pi RPC has no child session; a task tool is a plain tool call on the parent
58
+ // session (__fixtures__/pi/rpc-lifecycle.expected.json).
59
+ // hookEvents: Pi 1.0.4 runs extensions in-process; its RPC wire reports only extension_error.
60
+ // nativePermission: Pi RPC carries no tool approval request; tool admission is --tools.
61
+ // transport: pi --mode rpc over stdio.
62
+ // humanPromptHold: a human prompt carries no id; sendAgentMessage refuses while
63
+ // humanPromptAcks > 0, and only its prompt response, in write order, settles it (pi-runner.ts).
64
+ childWork: 'none', hookEvents: 'none', nativePermission: 'none', transport: 'stdio', humanPromptHold: 'acknowledgement',
30
65
  inputDelivery: {
31
66
  mode: 'steer', consumption: 'observable', acknowledgement: 'response', humanInputAtTurnEnd: 'held-when-late',
32
67
  via: 'prompt with streamingBehavior steer; set_steering_mode all at session start; user message_start with the submitted text',
@@ -36,6 +71,14 @@ export const RUNNER_FACTS = {
36
71
  },
37
72
  // Every Cursor session runs on print (hearsay-tools/cezarion#1267).
38
73
  cursor: {
74
+ // childWork: print stream-json reports the parent Task call but no child-session transcript and
75
+ // no child terminal frame (__fixtures__/cursor/README.md).
76
+ // hookEvents: Cursor 2026.10.01-e373342 print stream-json carries no hook lifecycle frame.
77
+ // nativePermission: print runs with --force; its stream-json wire carries no permission request.
78
+ // transport: agent -p --output-format stream-json; the prompt on stdin, frames on stdout.
79
+ // humanPromptHold: sendAgentMessage refuses while busy; a human prompt keeps its print process
80
+ // busy until the process exits (cursor-print-runner.ts).
81
+ childWork: 'none', hookEvents: 'none', nativePermission: 'none', transport: 'stdio', humanPromptHold: 'turn-end',
39
82
  inputDelivery: {
40
83
  mode: 'boundary', consumption: 'unobservable', acknowledgement: 'model-work', humanInputAtTurnEnd: 'always-held',
41
84
  via: 'next exact-resume print process',
@@ -44,6 +87,16 @@ export const RUNNER_FACTS = {
44
87
  nativeAsk: 'auto-skipped', nativeSubagents: 'unreported', nativeTimerTool: null, costReport: 'per-turn', sessionIdSource: 'native',
45
88
  },
46
89
  omp: {
90
+ // childWork: subagent_event frames carry subagent_lifecycle.parentToolCallId of their task call
91
+ // (omp-subagent-rows.ts).
92
+ // hookEvents: OMP 18.8.0 shares Pi's RPC wire: extensions run in-process and report only
93
+ // extension_error.
94
+ // nativePermission: OMP RPC carries no tool approval request; tool admission is its --tools list
95
+ // and --config overlay.
96
+ // transport: omp --mode rpc over stdio.
97
+ // humanPromptHold: sendAgentMessage refuses while humanAcks holds the prompt's id; only its
98
+ // prompt response deletes it (omp-runner.ts).
99
+ childWork: 'nested', hookEvents: 'none', nativePermission: 'none', transport: 'stdio', humanPromptHold: 'acknowledgement',
47
100
  inputDelivery: {
48
101
  mode: 'steer', consumption: 'observable', acknowledgement: 'response', humanInputAtTurnEnd: 'never-held',
49
102
  via: 'prompt with streamingBehavior steer; set_steering_mode all at session start; user message_start with the submitted text',
@@ -1 +1 @@
1
- {"version":3,"file":"runner-facts.js","sourceRoot":"","sources":["../../src/core/runner-facts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAgE,MAAM,mBAAmB,CAAC;AA2C7G,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE;QACN,aAAa,EAAE;YACb,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB;YACzG,GAAG,EAAE,8EAA8E;SACpF;QACD,oBAAoB,EAAE,QAAQ;QAC9B,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ;KACvI;IACD,KAAK,EAAE;QACL,aAAa,EAAE;YACb,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,mBAAmB,EAAE,gBAAgB;YAC5G,wFAAwF;YACxF,+FAA+F;YAC/F,GAAG,E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,EAAE,iBAAiB;QACzH,aAAa,EAAE;YACb,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,mBAAmB,EAAE,YAAY;YACxG,GAAG,EAAE,yHAAyH;SAC/H;QACD,oBAAoB,EAAE,QAAQ;QAC9B,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,QAAQ;KAC1H;CACyD,CAAC;AAE7D,qEAAqE;AACrE,MAAM,UAAU,YAAY,CAAC,OAAwC;IACnE,OAAO,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC5D,CAAC"}
@@ -2215,6 +2215,17 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2215
2215
  } & {
2216
2216
  "/projects": {
2217
2217
  $post: {
2218
+ output: {
2219
+ error: string;
2220
+ };
2221
+ outputFormat: "json";
2222
+ status: 400 | 500;
2223
+ input: {
2224
+ json: {
2225
+ root: string;
2226
+ };
2227
+ };
2228
+ } | {
2218
2229
  output: {
2219
2230
  project: {
2220
2231
  id: string;
@@ -2245,10 +2256,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2245
2256
  agent: boolean;
2246
2257
  }[] | undefined;
2247
2258
  };
2248
- error?: string | undefined;
2259
+ error: string;
2249
2260
  };
2250
2261
  outputFormat: "json";
2251
- status: 200;
2262
+ status: 409;
2252
2263
  input: {
2253
2264
  json: {
2254
2265
  root: string;
@@ -2286,11 +2297,9 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2286
2297
  }[] | undefined;
2287
2298
  };
2288
2299
  error?: string | undefined;
2289
- } | {
2290
- error: string;
2291
2300
  };
2292
2301
  outputFormat: "json";
2293
- status: 400 | 409 | 500;
2302
+ status: 200;
2294
2303
  input: {
2295
2304
  json: {
2296
2305
  root: string;
@@ -3288,10 +3297,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3288
3297
  "/ui-state": {
3289
3298
  $put: {
3290
3299
  output: {
3291
- error: string;
3300
+ [x: string]: import("hono/utils/types").JSONValue;
3301
+ sidebarLimits?: {
3302
+ overall?: number | null | undefined;
3303
+ needsYou?: number | null | undefined;
3304
+ finished?: number | null | undefined;
3305
+ working?: number | null | undefined;
3306
+ } | undefined;
3307
+ lastTask?: {
3308
+ source: "skill" | "workflow";
3309
+ ref: string;
3310
+ } | null | undefined;
3311
+ recentSources?: {
3312
+ source: "skill" | "workflow";
3313
+ ref: string;
3314
+ }[] | undefined;
3315
+ lastWorktree?: boolean | undefined;
3316
+ lastAutonomous?: boolean | undefined;
3317
+ disabledTeamSkills?: {
3318
+ repo: string;
3319
+ name: string;
3320
+ }[] | undefined;
3321
+ skillUsage?: {
3322
+ [x: string]: number;
3323
+ } | undefined;
3324
+ runsView?: "list" | "table" | undefined;
3325
+ githubView?: "issues" | "prs" | undefined;
3326
+ appearance?: {
3327
+ accent?: "cezarion" | "lime" | "violet" | undefined;
3328
+ density?: "comfortable" | "compact" | "ultra" | undefined;
3329
+ width?: "narrow" | "wide" | undefined;
3330
+ } | undefined;
3331
+ promptTemplates?: {
3332
+ id: string;
3333
+ label: string;
3334
+ text: string;
3335
+ skills?: string[] | undefined;
3336
+ }[] | undefined;
3292
3337
  };
3293
3338
  outputFormat: "json";
3294
- status: 500;
3339
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3295
3340
  input: {
3296
3341
  json: {
3297
3342
  [x: string]: unknown;
@@ -3333,46 +3378,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3333
3378
  };
3334
3379
  } | {
3335
3380
  output: {
3336
- [x: string]: import("hono/utils/types").JSONValue;
3337
- sidebarLimits?: {
3338
- overall?: number | null | undefined;
3339
- needsYou?: number | null | undefined;
3340
- finished?: number | null | undefined;
3341
- working?: number | null | undefined;
3342
- } | undefined;
3343
- lastTask?: {
3344
- source: "skill" | "workflow";
3345
- ref: string;
3346
- } | null | undefined;
3347
- recentSources?: {
3348
- source: "skill" | "workflow";
3349
- ref: string;
3350
- }[] | undefined;
3351
- lastWorktree?: boolean | undefined;
3352
- lastAutonomous?: boolean | undefined;
3353
- disabledTeamSkills?: {
3354
- repo: string;
3355
- name: string;
3356
- }[] | undefined;
3357
- skillUsage?: {
3358
- [x: string]: number;
3359
- } | undefined;
3360
- runsView?: "list" | "table" | undefined;
3361
- githubView?: "issues" | "prs" | undefined;
3362
- appearance?: {
3363
- accent?: "cezarion" | "lime" | "violet" | undefined;
3364
- density?: "comfortable" | "compact" | "ultra" | undefined;
3365
- width?: "narrow" | "wide" | undefined;
3366
- } | undefined;
3367
- promptTemplates?: {
3368
- id: string;
3369
- label: string;
3370
- text: string;
3371
- skills?: string[] | undefined;
3372
- }[] | undefined;
3381
+ error: string;
3373
3382
  };
3374
3383
  outputFormat: "json";
3375
- status: import("hono/utils/http-status").ContentfulStatusCode;
3384
+ status: 500;
3376
3385
  input: {
3377
3386
  json: {
3378
3387
  [x: string]: unknown;
@@ -19057,10 +19066,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19057
19066
  "/ui-state": {
19058
19067
  $put: {
19059
19068
  output: {
19060
- error: string;
19069
+ [x: string]: import("hono/utils/types").JSONValue;
19070
+ sidebarLimits?: {
19071
+ overall?: number | null | undefined;
19072
+ needsYou?: number | null | undefined;
19073
+ finished?: number | null | undefined;
19074
+ working?: number | null | undefined;
19075
+ } | undefined;
19076
+ lastTask?: {
19077
+ source: "skill" | "workflow";
19078
+ ref: string;
19079
+ } | null | undefined;
19080
+ recentSources?: {
19081
+ source: "skill" | "workflow";
19082
+ ref: string;
19083
+ }[] | undefined;
19084
+ lastWorktree?: boolean | undefined;
19085
+ lastAutonomous?: boolean | undefined;
19086
+ disabledTeamSkills?: {
19087
+ repo: string;
19088
+ name: string;
19089
+ }[] | undefined;
19090
+ skillUsage?: {
19091
+ [x: string]: number;
19092
+ } | undefined;
19093
+ runsView?: "list" | "table" | undefined;
19094
+ githubView?: "issues" | "prs" | undefined;
19095
+ appearance?: {
19096
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19097
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19098
+ width?: "narrow" | "wide" | undefined;
19099
+ } | undefined;
19100
+ promptTemplates?: {
19101
+ id: string;
19102
+ label: string;
19103
+ text: string;
19104
+ skills?: string[] | undefined;
19105
+ }[] | undefined;
19061
19106
  };
19062
19107
  outputFormat: "json";
19063
- status: 500;
19108
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19064
19109
  input: {
19065
19110
  json: {
19066
19111
  [x: string]: unknown;
@@ -19102,46 +19147,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19102
19147
  };
19103
19148
  } | {
19104
19149
  output: {
19105
- [x: string]: import("hono/utils/types").JSONValue;
19106
- sidebarLimits?: {
19107
- overall?: number | null | undefined;
19108
- needsYou?: number | null | undefined;
19109
- finished?: number | null | undefined;
19110
- working?: number | null | undefined;
19111
- } | undefined;
19112
- lastTask?: {
19113
- source: "skill" | "workflow";
19114
- ref: string;
19115
- } | null | undefined;
19116
- recentSources?: {
19117
- source: "skill" | "workflow";
19118
- ref: string;
19119
- }[] | undefined;
19120
- lastWorktree?: boolean | undefined;
19121
- lastAutonomous?: boolean | undefined;
19122
- disabledTeamSkills?: {
19123
- repo: string;
19124
- name: string;
19125
- }[] | undefined;
19126
- skillUsage?: {
19127
- [x: string]: number;
19128
- } | undefined;
19129
- runsView?: "list" | "table" | undefined;
19130
- githubView?: "issues" | "prs" | undefined;
19131
- appearance?: {
19132
- accent?: "cezarion" | "lime" | "violet" | undefined;
19133
- density?: "comfortable" | "compact" | "ultra" | undefined;
19134
- width?: "narrow" | "wide" | undefined;
19135
- } | undefined;
19136
- promptTemplates?: {
19137
- id: string;
19138
- label: string;
19139
- text: string;
19140
- skills?: string[] | undefined;
19141
- }[] | undefined;
19150
+ error: string;
19142
19151
  };
19143
19152
  outputFormat: "json";
19144
- status: import("hono/utils/http-status").ContentfulStatusCode;
19153
+ status: 500;
19145
19154
  input: {
19146
19155
  json: {
19147
19156
  [x: string]: unknown;