@getpaseo/server 0.1.78 → 0.1.80

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 (192) hide show
  1. package/dist/scripts/dev-runner.js +1 -13
  2. package/dist/scripts/dev-runner.js.map +1 -1
  3. package/dist/scripts/supervisor-entrypoint.js +17 -3
  4. package/dist/scripts/supervisor-entrypoint.js.map +1 -1
  5. package/dist/server/client/daemon-client.d.ts +34 -2
  6. package/dist/server/client/daemon-client.d.ts.map +1 -1
  7. package/dist/server/client/daemon-client.js +138 -1
  8. package/dist/server/client/daemon-client.js.map +1 -1
  9. package/dist/server/server/agent/agent-manager.d.ts +6 -0
  10. package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
  11. package/dist/server/server/agent/agent-manager.js +40 -5
  12. package/dist/server/server/agent/agent-manager.js.map +1 -1
  13. package/dist/server/server/agent/agent-metadata-generator.js +1 -1
  14. package/dist/server/server/agent/agent-metadata-generator.js.map +1 -1
  15. package/dist/server/server/agent/agent-sdk-types.d.ts +5 -0
  16. package/dist/server/server/agent/agent-sdk-types.d.ts.map +1 -1
  17. package/dist/server/server/agent/agent-storage.d.ts +3 -0
  18. package/dist/server/server/agent/agent-storage.d.ts.map +1 -1
  19. package/dist/server/server/agent/agent-storage.js +58 -22
  20. package/dist/server/server/agent/agent-storage.js.map +1 -1
  21. package/dist/server/server/agent/create-agent-lifecycle-dispatch.d.ts +51 -0
  22. package/dist/server/server/agent/create-agent-lifecycle-dispatch.d.ts.map +1 -0
  23. package/dist/server/server/agent/create-agent-lifecycle-dispatch.js +140 -0
  24. package/dist/server/server/agent/create-agent-lifecycle-dispatch.js.map +1 -0
  25. package/dist/server/server/agent/import-sessions.js +2 -2
  26. package/dist/server/server/agent/import-sessions.js.map +1 -1
  27. package/dist/server/server/agent/mcp-server.d.ts.map +1 -1
  28. package/dist/server/server/agent/mcp-server.js +202 -99
  29. package/dist/server/server/agent/mcp-server.js.map +1 -1
  30. package/dist/server/server/agent/provider-registry.js +2 -2
  31. package/dist/server/server/agent/provider-registry.js.map +1 -1
  32. package/dist/server/server/agent/providers/acp-agent.d.ts +3 -0
  33. package/dist/server/server/agent/providers/acp-agent.d.ts.map +1 -1
  34. package/dist/server/server/agent/providers/acp-agent.js +44 -4
  35. package/dist/server/server/agent/providers/acp-agent.js.map +1 -1
  36. package/dist/server/server/agent/providers/claude/agent.d.ts.map +1 -1
  37. package/dist/server/server/agent/providers/claude/agent.js +17 -9
  38. package/dist/server/server/agent/providers/claude/agent.js.map +1 -1
  39. package/dist/server/server/agent/providers/claude/project-dir.d.ts +5 -0
  40. package/dist/server/server/agent/providers/claude/project-dir.d.ts.map +1 -0
  41. package/dist/server/server/agent/providers/claude/project-dir.js +40 -0
  42. package/dist/server/server/agent/providers/claude/project-dir.js.map +1 -0
  43. package/dist/server/server/agent/providers/codex/tool-call-mapper.d.ts.map +1 -1
  44. package/dist/server/server/agent/providers/codex/tool-call-mapper.js +13 -2
  45. package/dist/server/server/agent/providers/codex/tool-call-mapper.js.map +1 -1
  46. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts +4 -0
  47. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
  48. package/dist/server/server/agent/providers/codex-app-server-agent.js +57 -19
  49. package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
  50. package/dist/server/server/agent/providers/cursor-acp-agent.d.ts.map +1 -1
  51. package/dist/server/server/agent/providers/cursor-acp-agent.js +11 -1
  52. package/dist/server/server/agent/providers/cursor-acp-agent.js.map +1 -1
  53. package/dist/server/server/agent/providers/generic-acp-agent.d.ts +2 -0
  54. package/dist/server/server/agent/providers/generic-acp-agent.d.ts.map +1 -1
  55. package/dist/server/server/agent/providers/generic-acp-agent.js +2 -0
  56. package/dist/server/server/agent/providers/generic-acp-agent.js.map +1 -1
  57. package/dist/server/server/agent/providers/opencode/runtime.d.ts +1 -0
  58. package/dist/server/server/agent/providers/opencode/runtime.d.ts.map +1 -1
  59. package/dist/server/server/agent/providers/opencode/runtime.js.map +1 -1
  60. package/dist/server/server/agent/providers/opencode/server-manager.d.ts +4 -0
  61. package/dist/server/server/agent/providers/opencode/server-manager.d.ts.map +1 -1
  62. package/dist/server/server/agent/providers/opencode/server-manager.js +18 -2
  63. package/dist/server/server/agent/providers/opencode/server-manager.js.map +1 -1
  64. package/dist/server/server/agent/providers/opencode/test-server-manager.d.ts +2 -0
  65. package/dist/server/server/agent/providers/opencode/test-server-manager.d.ts.map +1 -1
  66. package/dist/server/server/agent/providers/opencode/test-server-manager.js +1 -0
  67. package/dist/server/server/agent/providers/opencode/test-server-manager.js.map +1 -1
  68. package/dist/server/server/agent/providers/opencode/test-utils/test-opencode-runtime.d.ts +2 -0
  69. package/dist/server/server/agent/providers/opencode/test-utils/test-opencode-runtime.d.ts.map +1 -1
  70. package/dist/server/server/agent/providers/opencode/test-utils/test-opencode-runtime.js +1 -1
  71. package/dist/server/server/agent/providers/opencode/test-utils/test-opencode-runtime.js.map +1 -1
  72. package/dist/server/server/agent/providers/opencode-agent.d.ts.map +1 -1
  73. package/dist/server/server/agent/providers/opencode-agent.js +7 -2
  74. package/dist/server/server/agent/providers/opencode-agent.js.map +1 -1
  75. package/dist/server/server/agent/providers/{pi-direct-agent.d.ts → pi/agent.d.ts} +38 -29
  76. package/dist/server/server/agent/providers/pi/agent.d.ts.map +1 -0
  77. package/dist/server/server/agent/providers/pi/agent.js +829 -0
  78. package/dist/server/server/agent/providers/pi/agent.js.map +1 -0
  79. package/dist/server/server/agent/providers/pi/cli-runtime.d.ts +18 -0
  80. package/dist/server/server/agent/providers/pi/cli-runtime.d.ts.map +1 -0
  81. package/dist/server/server/agent/providers/pi/cli-runtime.js +218 -0
  82. package/dist/server/server/agent/providers/pi/cli-runtime.js.map +1 -0
  83. package/dist/server/server/agent/providers/pi/history-mapper.d.ts +5 -0
  84. package/dist/server/server/agent/providers/pi/history-mapper.d.ts.map +1 -0
  85. package/dist/server/server/agent/providers/pi/history-mapper.js +139 -0
  86. package/dist/server/server/agent/providers/pi/history-mapper.js.map +1 -0
  87. package/dist/server/server/agent/providers/pi/rpc-types.d.ts +185 -0
  88. package/dist/server/server/agent/providers/pi/rpc-types.d.ts.map +1 -0
  89. package/dist/server/server/agent/providers/pi/rpc-types.js +2 -0
  90. package/dist/server/server/agent/providers/pi/rpc-types.js.map +1 -0
  91. package/dist/server/server/agent/providers/pi/runtime.d.ts +48 -0
  92. package/dist/server/server/agent/providers/pi/runtime.d.ts.map +1 -0
  93. package/dist/server/server/agent/providers/pi/runtime.js +52 -0
  94. package/dist/server/server/agent/providers/pi/runtime.js.map +1 -0
  95. package/dist/server/server/agent/providers/pi/session-descriptor.d.ts +10 -0
  96. package/dist/server/server/agent/providers/pi/session-descriptor.d.ts.map +1 -0
  97. package/dist/server/server/agent/providers/pi/session-descriptor.js +300 -0
  98. package/dist/server/server/agent/providers/pi/session-descriptor.js.map +1 -0
  99. package/dist/server/server/agent/providers/pi/test-utils/fake-pi.d.ts +52 -0
  100. package/dist/server/server/agent/providers/pi/test-utils/fake-pi.d.ts.map +1 -0
  101. package/dist/server/server/agent/providers/pi/test-utils/fake-pi.js +109 -0
  102. package/dist/server/server/agent/providers/pi/test-utils/fake-pi.js.map +1 -0
  103. package/dist/server/server/agent/providers/pi/tool-call-mapper.d.ts +112 -0
  104. package/dist/server/server/agent/providers/pi/tool-call-mapper.d.ts.map +1 -0
  105. package/dist/server/server/agent/providers/pi/tool-call-mapper.js +284 -0
  106. package/dist/server/server/agent/providers/pi/tool-call-mapper.js.map +1 -0
  107. package/dist/server/server/agent/system-prompt.d.ts +2 -0
  108. package/dist/server/server/agent/system-prompt.d.ts.map +1 -0
  109. package/dist/server/server/agent/system-prompt.js +8 -0
  110. package/dist/server/server/agent/system-prompt.js.map +1 -0
  111. package/dist/server/server/bootstrap.d.ts +1 -0
  112. package/dist/server/server/bootstrap.d.ts.map +1 -1
  113. package/dist/server/server/bootstrap.js +15 -1
  114. package/dist/server/server/bootstrap.js.map +1 -1
  115. package/dist/server/server/config.d.ts.map +1 -1
  116. package/dist/server/server/config.js +6 -1
  117. package/dist/server/server/config.js.map +1 -1
  118. package/dist/server/server/daemon-config-store.js +1 -0
  119. package/dist/server/server/daemon-config-store.js.map +1 -1
  120. package/dist/server/server/persisted-config.d.ts +51 -44
  121. package/dist/server/server/persisted-config.d.ts.map +1 -1
  122. package/dist/server/server/persisted-config.js +1 -0
  123. package/dist/server/server/persisted-config.js.map +1 -1
  124. package/dist/server/server/pid-lock.d.ts +2 -2
  125. package/dist/server/server/session.d.ts +21 -0
  126. package/dist/server/server/session.d.ts.map +1 -1
  127. package/dist/server/server/session.js +232 -10
  128. package/dist/server/server/session.js.map +1 -1
  129. package/dist/server/server/websocket-server.d.ts +11 -1
  130. package/dist/server/server/websocket-server.d.ts.map +1 -1
  131. package/dist/server/server/websocket-server.js +10 -2
  132. package/dist/server/server/websocket-server.js.map +1 -1
  133. package/dist/server/server/workspace-git-service.d.ts +5 -1
  134. package/dist/server/server/workspace-git-service.d.ts.map +1 -1
  135. package/dist/server/server/workspace-git-service.js +122 -62
  136. package/dist/server/server/workspace-git-service.js.map +1 -1
  137. package/dist/server/shared/importable-providers.d.ts +1 -1
  138. package/dist/server/shared/importable-providers.d.ts.map +1 -1
  139. package/dist/server/shared/importable-providers.js +1 -1
  140. package/dist/server/shared/importable-providers.js.map +1 -1
  141. package/dist/server/shared/messages.d.ts +2187 -24
  142. package/dist/server/shared/messages.d.ts.map +1 -1
  143. package/dist/server/shared/messages.js +108 -0
  144. package/dist/server/shared/messages.js.map +1 -1
  145. package/dist/server/terminal/terminal-manager.d.ts +1 -0
  146. package/dist/server/terminal/terminal-manager.d.ts.map +1 -1
  147. package/dist/server/terminal/terminal-manager.js +8 -0
  148. package/dist/server/terminal/terminal-manager.js.map +1 -1
  149. package/dist/server/terminal/terminal-session-controller.d.ts +1 -0
  150. package/dist/server/terminal/terminal-session-controller.d.ts.map +1 -1
  151. package/dist/server/terminal/terminal-session-controller.js +26 -0
  152. package/dist/server/terminal/terminal-session-controller.js.map +1 -1
  153. package/dist/server/terminal/terminal.d.ts +1 -0
  154. package/dist/server/terminal/terminal.d.ts.map +1 -1
  155. package/dist/server/terminal/terminal.js +32 -10
  156. package/dist/server/terminal/terminal.js.map +1 -1
  157. package/dist/server/terminal/worker-terminal-manager.d.ts.map +1 -1
  158. package/dist/server/terminal/worker-terminal-manager.js +18 -0
  159. package/dist/server/terminal/worker-terminal-manager.js.map +1 -1
  160. package/dist/server/utils/branch-slug.d.ts +14 -0
  161. package/dist/server/utils/branch-slug.d.ts.map +1 -0
  162. package/dist/server/utils/branch-slug.js +49 -0
  163. package/dist/server/utils/branch-slug.js.map +1 -0
  164. package/dist/server/utils/directory-suggestions.js +2 -2
  165. package/dist/server/utils/directory-suggestions.js.map +1 -1
  166. package/dist/server/utils/path.d.ts +1 -0
  167. package/dist/server/utils/path.d.ts.map +1 -1
  168. package/dist/server/utils/path.js +31 -0
  169. package/dist/server/utils/path.js.map +1 -1
  170. package/dist/server/utils/run-git-command.d.ts.map +1 -1
  171. package/dist/server/utils/run-git-command.js +3 -1
  172. package/dist/server/utils/run-git-command.js.map +1 -1
  173. package/dist/server/utils/worktree.d.ts +1 -12
  174. package/dist/server/utils/worktree.d.ts.map +1 -1
  175. package/dist/server/utils/worktree.js +2 -52
  176. package/dist/server/utils/worktree.js.map +1 -1
  177. package/dist/src/server/persisted-config.js +1 -0
  178. package/dist/src/server/persisted-config.js.map +1 -1
  179. package/dist/src/shared/messages.js +108 -0
  180. package/dist/src/shared/messages.js.map +1 -1
  181. package/package.json +13 -11
  182. package/dist/server/server/agent/orchestrator-instructions.d.ts +0 -7
  183. package/dist/server/server/agent/orchestrator-instructions.d.ts.map +0 -1
  184. package/dist/server/server/agent/orchestrator-instructions.js +0 -51
  185. package/dist/server/server/agent/orchestrator-instructions.js.map +0 -1
  186. package/dist/server/server/agent/providers/pi-direct-agent.d.ts.map +0 -1
  187. package/dist/server/server/agent/providers/pi-direct-agent.js +0 -1151
  188. package/dist/server/server/agent/providers/pi-direct-agent.js.map +0 -1
  189. package/dist/server/server/agent/providers/pi-session-recovery-policy.d.ts +0 -22
  190. package/dist/server/server/agent/providers/pi-session-recovery-policy.d.ts.map +0 -1
  191. package/dist/server/server/agent/providers/pi-session-recovery-policy.js +0 -51
  192. package/dist/server/server/agent/providers/pi-session-recovery-policy.js.map +0 -1
@@ -68,6 +68,7 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
68
68
  }, z.ZodTypeAny, "passthrough">>, "many">>;
69
69
  }, z.ZodTypeAny, "passthrough">>>>;
70
70
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
71
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
71
72
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
72
73
  mcp: z.ZodObject<{
73
74
  injectIntoAgents: z.ZodBoolean;
@@ -132,6 +133,7 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
132
133
  }, z.ZodTypeAny, "passthrough">>, "many">>;
133
134
  }, z.ZodTypeAny, "passthrough">>>>;
134
135
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
136
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
135
137
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
136
138
  mcp: z.ZodObject<{
137
139
  injectIntoAgents: z.ZodBoolean;
@@ -196,6 +198,7 @@ export declare const MutableDaemonConfigSchema: z.ZodObject<{
196
198
  }, z.ZodTypeAny, "passthrough">>, "many">>;
197
199
  }, z.ZodTypeAny, "passthrough">>>>;
198
200
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
201
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
199
202
  }, z.ZodTypeAny, "passthrough">>;
200
203
  export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
201
204
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -261,6 +264,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
261
264
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
262
265
  }, z.ZodTypeAny, "passthrough">>>>>;
263
266
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
267
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
264
268
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
265
269
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
266
270
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -325,6 +329,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
325
329
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
326
330
  }, z.ZodTypeAny, "passthrough">>>>>;
327
331
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
332
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
328
333
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
329
334
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
330
335
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -389,6 +394,7 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
389
394
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
390
395
  }, z.ZodTypeAny, "passthrough">>>>>;
391
396
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
397
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
392
398
  }, z.ZodTypeAny, "passthrough">>;
393
399
  export type MutableDaemonConfig = z.infer<typeof MutableDaemonConfigSchema>;
394
400
  export type MutableDaemonConfigPatch = z.infer<typeof MutableDaemonConfigPatchSchema>;
@@ -2378,6 +2384,26 @@ export declare const WaitForFinishRequestSchema: z.ZodObject<{
2378
2384
  requestId: string;
2379
2385
  timeoutMs?: number | undefined;
2380
2386
  }>;
2387
+ export declare const DaemonGetStatusRequestSchema: z.ZodObject<{
2388
+ type: z.ZodLiteral<"daemon.get_status.request">;
2389
+ requestId: z.ZodString;
2390
+ }, "strip", z.ZodTypeAny, {
2391
+ type: "daemon.get_status.request";
2392
+ requestId: string;
2393
+ }, {
2394
+ type: "daemon.get_status.request";
2395
+ requestId: string;
2396
+ }>;
2397
+ export declare const DaemonGetPairingOfferRequestSchema: z.ZodObject<{
2398
+ type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
2399
+ requestId: z.ZodString;
2400
+ }, "strip", z.ZodTypeAny, {
2401
+ type: "daemon.get_pairing_offer.request";
2402
+ requestId: string;
2403
+ }, {
2404
+ type: "daemon.get_pairing_offer.request";
2405
+ requestId: string;
2406
+ }>;
2381
2407
  export declare const GetDaemonConfigRequestMessageSchema: z.ZodObject<{
2382
2408
  type: z.ZodLiteral<"get_daemon_config_request">;
2383
2409
  requestId: z.ZodString;
@@ -2455,6 +2481,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
2455
2481
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
2456
2482
  }, z.ZodTypeAny, "passthrough">>>>>;
2457
2483
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2484
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2458
2485
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2459
2486
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2460
2487
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -2519,6 +2546,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
2519
2546
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
2520
2547
  }, z.ZodTypeAny, "passthrough">>>>>;
2521
2548
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2549
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2522
2550
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2523
2551
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2524
2552
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -2583,6 +2611,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
2583
2611
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
2584
2612
  }, z.ZodTypeAny, "passthrough">>>>>;
2585
2613
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2614
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2586
2615
  }, z.ZodTypeAny, "passthrough">>;
2587
2616
  }, "strip", z.ZodTypeAny, {
2588
2617
  type: "set_daemon_config_request";
@@ -2610,6 +2639,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
2610
2639
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
2611
2640
  }, z.ZodTypeAny, "passthrough">> | undefined;
2612
2641
  autoArchiveAfterMerge?: boolean | undefined;
2642
+ appendSystemPrompt?: string | undefined;
2613
2643
  } & {
2614
2644
  [k: string]: unknown;
2615
2645
  };
@@ -2640,6 +2670,7 @@ export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{
2640
2670
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
2641
2671
  }, z.ZodTypeAny, "passthrough">> | undefined;
2642
2672
  autoArchiveAfterMerge?: boolean | undefined;
2673
+ appendSystemPrompt?: string | undefined;
2643
2674
  } & {
2644
2675
  [k: string]: unknown;
2645
2676
  };
@@ -3178,6 +3209,38 @@ declare const GitSetupOptionsSchema: z.ZodObject<{
3178
3209
  githubPrNumber?: number | undefined;
3179
3210
  }>;
3180
3211
  export type GitSetupOptions = z.infer<typeof GitSetupOptionsSchema>;
3212
+ export declare const CreateAgentWorktreeTargetSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
3213
+ mode: z.ZodLiteral<"branch-off">;
3214
+ newBranch: z.ZodString;
3215
+ base: z.ZodOptional<z.ZodString>;
3216
+ }, "strip", z.ZodTypeAny, {
3217
+ mode: "branch-off";
3218
+ newBranch: string;
3219
+ base?: string | undefined;
3220
+ }, {
3221
+ mode: "branch-off";
3222
+ newBranch: string;
3223
+ base?: string | undefined;
3224
+ }>, z.ZodObject<{
3225
+ mode: z.ZodLiteral<"checkout-branch">;
3226
+ branch: z.ZodString;
3227
+ }, "strip", z.ZodTypeAny, {
3228
+ mode: "checkout-branch";
3229
+ branch: string;
3230
+ }, {
3231
+ mode: "checkout-branch";
3232
+ branch: string;
3233
+ }>, z.ZodObject<{
3234
+ mode: z.ZodLiteral<"checkout-pr">;
3235
+ prNumber: z.ZodNumber;
3236
+ }, "strip", z.ZodTypeAny, {
3237
+ mode: "checkout-pr";
3238
+ prNumber: number;
3239
+ }, {
3240
+ mode: "checkout-pr";
3241
+ prNumber: number;
3242
+ }>]>;
3243
+ export type CreateAgentWorktreeTarget = z.infer<typeof CreateAgentWorktreeTargetSchema>;
3181
3244
  export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
3182
3245
  type: z.ZodLiteral<"create_agent_request">;
3183
3246
  config: z.ZodObject<{
@@ -3306,6 +3369,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
3306
3369
  }> | undefined;
3307
3370
  featureValues?: Record<string, unknown> | undefined;
3308
3371
  }>;
3372
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3309
3373
  workspaceId: z.ZodOptional<z.ZodString>;
3310
3374
  worktreeName: z.ZodOptional<z.ZodString>;
3311
3375
  initialPrompt: z.ZodOptional<z.ZodString>;
@@ -3398,6 +3462,38 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
3398
3462
  action?: "branch-off" | "checkout" | undefined;
3399
3463
  githubPrNumber?: number | undefined;
3400
3464
  }>>;
3465
+ worktree: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
3466
+ mode: z.ZodLiteral<"branch-off">;
3467
+ newBranch: z.ZodString;
3468
+ base: z.ZodOptional<z.ZodString>;
3469
+ }, "strip", z.ZodTypeAny, {
3470
+ mode: "branch-off";
3471
+ newBranch: string;
3472
+ base?: string | undefined;
3473
+ }, {
3474
+ mode: "branch-off";
3475
+ newBranch: string;
3476
+ base?: string | undefined;
3477
+ }>, z.ZodObject<{
3478
+ mode: z.ZodLiteral<"checkout-branch">;
3479
+ branch: z.ZodString;
3480
+ }, "strip", z.ZodTypeAny, {
3481
+ mode: "checkout-branch";
3482
+ branch: string;
3483
+ }, {
3484
+ mode: "checkout-branch";
3485
+ branch: string;
3486
+ }>, z.ZodObject<{
3487
+ mode: z.ZodLiteral<"checkout-pr">;
3488
+ prNumber: z.ZodNumber;
3489
+ }, "strip", z.ZodTypeAny, {
3490
+ mode: "checkout-pr";
3491
+ prNumber: number;
3492
+ }, {
3493
+ mode: "checkout-pr";
3494
+ prNumber: number;
3495
+ }>]>>;
3496
+ autoArchive: z.ZodOptional<z.ZodBoolean>;
3401
3497
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3402
3498
  requestId: z.ZodString;
3403
3499
  }, "strip", z.ZodTypeAny, {
@@ -3436,6 +3532,18 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
3436
3532
  };
3437
3533
  requestId: string;
3438
3534
  labels: Record<string, string>;
3535
+ worktree?: {
3536
+ mode: "branch-off";
3537
+ newBranch: string;
3538
+ base?: string | undefined;
3539
+ } | {
3540
+ mode: "checkout-branch";
3541
+ branch: string;
3542
+ } | {
3543
+ mode: "checkout-pr";
3544
+ prNumber: number;
3545
+ } | undefined;
3546
+ env?: Record<string, string> | undefined;
3439
3547
  git?: {
3440
3548
  worktreeSlug?: string | undefined;
3441
3549
  baseBranch?: string | undefined;
@@ -3504,6 +3612,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
3504
3612
  initialPrompt?: string | undefined;
3505
3613
  clientMessageId?: string | undefined;
3506
3614
  outputSchema?: Record<string, unknown> | undefined;
3615
+ autoArchive?: boolean | undefined;
3507
3616
  }, {
3508
3617
  type: "create_agent_request";
3509
3618
  config: {
@@ -3539,6 +3648,18 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
3539
3648
  featureValues?: Record<string, unknown> | undefined;
3540
3649
  };
3541
3650
  requestId: string;
3651
+ worktree?: {
3652
+ mode: "branch-off";
3653
+ newBranch: string;
3654
+ base?: string | undefined;
3655
+ } | {
3656
+ mode: "checkout-branch";
3657
+ branch: string;
3658
+ } | {
3659
+ mode: "checkout-pr";
3660
+ prNumber: number;
3661
+ } | undefined;
3662
+ env?: Record<string, string> | undefined;
3542
3663
  git?: {
3543
3664
  worktreeSlug?: string | undefined;
3544
3665
  baseBranch?: string | undefined;
@@ -3560,6 +3681,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
3560
3681
  initialPrompt?: string | undefined;
3561
3682
  clientMessageId?: string | undefined;
3562
3683
  outputSchema?: Record<string, unknown> | undefined;
3684
+ autoArchive?: boolean | undefined;
3563
3685
  }>;
3564
3686
  export declare const ListProviderModelsRequestMessageSchema: z.ZodObject<{
3565
3687
  type: z.ZodLiteral<"list_provider_models_request">;
@@ -4619,6 +4741,22 @@ export declare const CheckoutSwitchBranchRequestSchema: z.ZodObject<{
4619
4741
  branch: string;
4620
4742
  requestId: string;
4621
4743
  }>;
4744
+ export declare const CheckoutRenameBranchRequestSchema: z.ZodObject<{
4745
+ type: z.ZodLiteral<"checkout.rename_branch.request">;
4746
+ cwd: z.ZodString;
4747
+ branch: z.ZodString;
4748
+ requestId: z.ZodString;
4749
+ }, "strip", z.ZodTypeAny, {
4750
+ type: "checkout.rename_branch.request";
4751
+ cwd: string;
4752
+ branch: string;
4753
+ requestId: string;
4754
+ }, {
4755
+ type: "checkout.rename_branch.request";
4756
+ cwd: string;
4757
+ branch: string;
4758
+ requestId: string;
4759
+ }>;
4622
4760
  export declare const StashSaveRequestSchema: z.ZodObject<{
4623
4761
  type: z.ZodLiteral<"stash_save_request">;
4624
4762
  cwd: z.ZodString;
@@ -5555,6 +5693,22 @@ export declare const CreateTerminalRequestSchema: z.ZodObject<{
5555
5693
  command?: string | undefined;
5556
5694
  args?: string[] | undefined;
5557
5695
  }>;
5696
+ export declare const RenameTerminalRequestSchema: z.ZodObject<{
5697
+ type: z.ZodLiteral<"terminal.rename.request">;
5698
+ terminalId: z.ZodString;
5699
+ title: z.ZodString;
5700
+ requestId: z.ZodString;
5701
+ }, "strip", z.ZodTypeAny, {
5702
+ title: string;
5703
+ type: "terminal.rename.request";
5704
+ requestId: string;
5705
+ terminalId: string;
5706
+ }, {
5707
+ title: string;
5708
+ type: "terminal.rename.request";
5709
+ requestId: string;
5710
+ terminalId: string;
5711
+ }>;
5558
5712
  export declare const StartWorkspaceScriptRequestSchema: z.ZodObject<{
5559
5713
  type: z.ZodLiteral<"start_workspace_script_request">;
5560
5714
  workspaceId: z.ZodString;
@@ -6273,6 +6427,24 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6273
6427
  type: "wait_for_finish_request";
6274
6428
  requestId: string;
6275
6429
  timeoutMs?: number | undefined;
6430
+ }>, z.ZodObject<{
6431
+ type: z.ZodLiteral<"daemon.get_status.request">;
6432
+ requestId: z.ZodString;
6433
+ }, "strip", z.ZodTypeAny, {
6434
+ type: "daemon.get_status.request";
6435
+ requestId: string;
6436
+ }, {
6437
+ type: "daemon.get_status.request";
6438
+ requestId: string;
6439
+ }>, z.ZodObject<{
6440
+ type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
6441
+ requestId: z.ZodString;
6442
+ }, "strip", z.ZodTypeAny, {
6443
+ type: "daemon.get_pairing_offer.request";
6444
+ requestId: string;
6445
+ }, {
6446
+ type: "daemon.get_pairing_offer.request";
6447
+ requestId: string;
6276
6448
  }>, z.ZodObject<{
6277
6449
  type: z.ZodLiteral<"get_daemon_config_request">;
6278
6450
  requestId: z.ZodString;
@@ -6349,6 +6521,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6349
6521
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
6350
6522
  }, z.ZodTypeAny, "passthrough">>>>>;
6351
6523
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
6524
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6352
6525
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6353
6526
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6354
6527
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -6413,6 +6586,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6413
6586
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
6414
6587
  }, z.ZodTypeAny, "passthrough">>>>>;
6415
6588
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
6589
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6416
6590
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6417
6591
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6418
6592
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -6477,6 +6651,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6477
6651
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
6478
6652
  }, z.ZodTypeAny, "passthrough">>>>>;
6479
6653
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
6654
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6480
6655
  }, z.ZodTypeAny, "passthrough">>;
6481
6656
  }, "strip", z.ZodTypeAny, {
6482
6657
  type: "set_daemon_config_request";
@@ -6504,6 +6679,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6504
6679
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
6505
6680
  }, z.ZodTypeAny, "passthrough">> | undefined;
6506
6681
  autoArchiveAfterMerge?: boolean | undefined;
6682
+ appendSystemPrompt?: string | undefined;
6507
6683
  } & {
6508
6684
  [k: string]: unknown;
6509
6685
  };
@@ -6534,6 +6710,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6534
6710
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
6535
6711
  }, z.ZodTypeAny, "passthrough">> | undefined;
6536
6712
  autoArchiveAfterMerge?: boolean | undefined;
6713
+ appendSystemPrompt?: string | undefined;
6537
6714
  } & {
6538
6715
  [k: string]: unknown;
6539
6716
  };
@@ -7164,6 +7341,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
7164
7341
  }> | undefined;
7165
7342
  featureValues?: Record<string, unknown> | undefined;
7166
7343
  }>;
7344
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7167
7345
  workspaceId: z.ZodOptional<z.ZodString>;
7168
7346
  worktreeName: z.ZodOptional<z.ZodString>;
7169
7347
  initialPrompt: z.ZodOptional<z.ZodString>;
@@ -7256,6 +7434,38 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
7256
7434
  action?: "branch-off" | "checkout" | undefined;
7257
7435
  githubPrNumber?: number | undefined;
7258
7436
  }>>;
7437
+ worktree: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
7438
+ mode: z.ZodLiteral<"branch-off">;
7439
+ newBranch: z.ZodString;
7440
+ base: z.ZodOptional<z.ZodString>;
7441
+ }, "strip", z.ZodTypeAny, {
7442
+ mode: "branch-off";
7443
+ newBranch: string;
7444
+ base?: string | undefined;
7445
+ }, {
7446
+ mode: "branch-off";
7447
+ newBranch: string;
7448
+ base?: string | undefined;
7449
+ }>, z.ZodObject<{
7450
+ mode: z.ZodLiteral<"checkout-branch">;
7451
+ branch: z.ZodString;
7452
+ }, "strip", z.ZodTypeAny, {
7453
+ mode: "checkout-branch";
7454
+ branch: string;
7455
+ }, {
7456
+ mode: "checkout-branch";
7457
+ branch: string;
7458
+ }>, z.ZodObject<{
7459
+ mode: z.ZodLiteral<"checkout-pr">;
7460
+ prNumber: z.ZodNumber;
7461
+ }, "strip", z.ZodTypeAny, {
7462
+ mode: "checkout-pr";
7463
+ prNumber: number;
7464
+ }, {
7465
+ mode: "checkout-pr";
7466
+ prNumber: number;
7467
+ }>]>>;
7468
+ autoArchive: z.ZodOptional<z.ZodBoolean>;
7259
7469
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
7260
7470
  requestId: z.ZodString;
7261
7471
  }, "strip", z.ZodTypeAny, {
@@ -7294,6 +7504,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
7294
7504
  };
7295
7505
  requestId: string;
7296
7506
  labels: Record<string, string>;
7507
+ worktree?: {
7508
+ mode: "branch-off";
7509
+ newBranch: string;
7510
+ base?: string | undefined;
7511
+ } | {
7512
+ mode: "checkout-branch";
7513
+ branch: string;
7514
+ } | {
7515
+ mode: "checkout-pr";
7516
+ prNumber: number;
7517
+ } | undefined;
7518
+ env?: Record<string, string> | undefined;
7297
7519
  git?: {
7298
7520
  worktreeSlug?: string | undefined;
7299
7521
  baseBranch?: string | undefined;
@@ -7362,6 +7584,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
7362
7584
  initialPrompt?: string | undefined;
7363
7585
  clientMessageId?: string | undefined;
7364
7586
  outputSchema?: Record<string, unknown> | undefined;
7587
+ autoArchive?: boolean | undefined;
7365
7588
  }, {
7366
7589
  type: "create_agent_request";
7367
7590
  config: {
@@ -7397,6 +7620,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
7397
7620
  featureValues?: Record<string, unknown> | undefined;
7398
7621
  };
7399
7622
  requestId: string;
7623
+ worktree?: {
7624
+ mode: "branch-off";
7625
+ newBranch: string;
7626
+ base?: string | undefined;
7627
+ } | {
7628
+ mode: "checkout-branch";
7629
+ branch: string;
7630
+ } | {
7631
+ mode: "checkout-pr";
7632
+ prNumber: number;
7633
+ } | undefined;
7634
+ env?: Record<string, string> | undefined;
7400
7635
  git?: {
7401
7636
  worktreeSlug?: string | undefined;
7402
7637
  baseBranch?: string | undefined;
@@ -7418,6 +7653,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
7418
7653
  initialPrompt?: string | undefined;
7419
7654
  clientMessageId?: string | undefined;
7420
7655
  outputSchema?: Record<string, unknown> | undefined;
7656
+ autoArchive?: boolean | undefined;
7421
7657
  }>, z.ZodObject<{
7422
7658
  type: z.ZodLiteral<"list_provider_models_request">;
7423
7659
  provider: z.ZodString;
@@ -8176,6 +8412,21 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
8176
8412
  cwd: string;
8177
8413
  branch: string;
8178
8414
  requestId: string;
8415
+ }>, z.ZodObject<{
8416
+ type: z.ZodLiteral<"checkout.rename_branch.request">;
8417
+ cwd: z.ZodString;
8418
+ branch: z.ZodString;
8419
+ requestId: z.ZodString;
8420
+ }, "strip", z.ZodTypeAny, {
8421
+ type: "checkout.rename_branch.request";
8422
+ cwd: string;
8423
+ branch: string;
8424
+ requestId: string;
8425
+ }, {
8426
+ type: "checkout.rename_branch.request";
8427
+ cwd: string;
8428
+ branch: string;
8429
+ requestId: string;
8179
8430
  }>, z.ZodObject<{
8180
8431
  type: z.ZodLiteral<"stash_save_request">;
8181
8432
  cwd: z.ZodString;
@@ -8895,6 +9146,21 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
8895
9146
  name?: string | undefined;
8896
9147
  command?: string | undefined;
8897
9148
  args?: string[] | undefined;
9149
+ }>, z.ZodObject<{
9150
+ type: z.ZodLiteral<"terminal.rename.request">;
9151
+ terminalId: z.ZodString;
9152
+ title: z.ZodString;
9153
+ requestId: z.ZodString;
9154
+ }, "strip", z.ZodTypeAny, {
9155
+ title: string;
9156
+ type: "terminal.rename.request";
9157
+ requestId: string;
9158
+ terminalId: string;
9159
+ }, {
9160
+ title: string;
9161
+ type: "terminal.rename.request";
9162
+ requestId: string;
9163
+ terminalId: string;
8898
9164
  }>, z.ZodObject<{
8899
9165
  type: z.ZodLiteral<"start_workspace_script_request">;
8900
9166
  workspaceId: z.ZodString;
@@ -10238,12 +10504,15 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
10238
10504
  features: z.ZodOptional<z.ZodObject<{
10239
10505
  providersSnapshot: z.ZodOptional<z.ZodBoolean>;
10240
10506
  checkoutGithubSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
10507
+ daemonStatusRpc: z.ZodOptional<z.ZodBoolean>;
10241
10508
  }, "strip", z.ZodTypeAny, {
10242
10509
  providersSnapshot?: boolean | undefined;
10243
10510
  checkoutGithubSetAutoMerge?: boolean | undefined;
10511
+ daemonStatusRpc?: boolean | undefined;
10244
10512
  }, {
10245
10513
  providersSnapshot?: boolean | undefined;
10246
10514
  checkoutGithubSetAutoMerge?: boolean | undefined;
10515
+ daemonStatusRpc?: boolean | undefined;
10247
10516
  }>>;
10248
10517
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10249
10518
  status: z.ZodLiteral<"server_info">;
@@ -10295,12 +10564,15 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
10295
10564
  features: z.ZodOptional<z.ZodObject<{
10296
10565
  providersSnapshot: z.ZodOptional<z.ZodBoolean>;
10297
10566
  checkoutGithubSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
10567
+ daemonStatusRpc: z.ZodOptional<z.ZodBoolean>;
10298
10568
  }, "strip", z.ZodTypeAny, {
10299
10569
  providersSnapshot?: boolean | undefined;
10300
10570
  checkoutGithubSetAutoMerge?: boolean | undefined;
10571
+ daemonStatusRpc?: boolean | undefined;
10301
10572
  }, {
10302
10573
  providersSnapshot?: boolean | undefined;
10303
10574
  checkoutGithubSetAutoMerge?: boolean | undefined;
10575
+ daemonStatusRpc?: boolean | undefined;
10304
10576
  }>>;
10305
10577
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10306
10578
  status: z.ZodLiteral<"server_info">;
@@ -10352,12 +10624,15 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
10352
10624
  features: z.ZodOptional<z.ZodObject<{
10353
10625
  providersSnapshot: z.ZodOptional<z.ZodBoolean>;
10354
10626
  checkoutGithubSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
10627
+ daemonStatusRpc: z.ZodOptional<z.ZodBoolean>;
10355
10628
  }, "strip", z.ZodTypeAny, {
10356
10629
  providersSnapshot?: boolean | undefined;
10357
10630
  checkoutGithubSetAutoMerge?: boolean | undefined;
10631
+ daemonStatusRpc?: boolean | undefined;
10358
10632
  }, {
10359
10633
  providersSnapshot?: boolean | undefined;
10360
10634
  checkoutGithubSetAutoMerge?: boolean | undefined;
10635
+ daemonStatusRpc?: boolean | undefined;
10361
10636
  }>>;
10362
10637
  }, z.ZodTypeAny, "passthrough">>, {
10363
10638
  hostname: string | null;
@@ -10367,6 +10642,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
10367
10642
  features?: {
10368
10643
  providersSnapshot?: boolean | undefined;
10369
10644
  checkoutGithubSetAutoMerge?: boolean | undefined;
10645
+ daemonStatusRpc?: boolean | undefined;
10370
10646
  } | undefined;
10371
10647
  capabilities?: z.objectOutputType<{
10372
10648
  voice: z.ZodOptional<z.ZodObject<{
@@ -10460,12 +10736,15 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
10460
10736
  features: z.ZodOptional<z.ZodObject<{
10461
10737
  providersSnapshot: z.ZodOptional<z.ZodBoolean>;
10462
10738
  checkoutGithubSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
10739
+ daemonStatusRpc: z.ZodOptional<z.ZodBoolean>;
10463
10740
  }, "strip", z.ZodTypeAny, {
10464
10741
  providersSnapshot?: boolean | undefined;
10465
10742
  checkoutGithubSetAutoMerge?: boolean | undefined;
10743
+ daemonStatusRpc?: boolean | undefined;
10466
10744
  }, {
10467
10745
  providersSnapshot?: boolean | undefined;
10468
10746
  checkoutGithubSetAutoMerge?: boolean | undefined;
10747
+ daemonStatusRpc?: boolean | undefined;
10469
10748
  }>>;
10470
10749
  }, z.ZodTypeAny, "passthrough">>;
10471
10750
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -11345,6 +11624,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11345
11624
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11346
11625
  }, z.ZodTypeAny, "passthrough">>>>;
11347
11626
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
11627
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11348
11628
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11349
11629
  mcp: z.ZodObject<{
11350
11630
  injectIntoAgents: z.ZodBoolean;
@@ -11409,6 +11689,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11409
11689
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11410
11690
  }, z.ZodTypeAny, "passthrough">>>>;
11411
11691
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
11692
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11412
11693
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11413
11694
  mcp: z.ZodObject<{
11414
11695
  injectIntoAgents: z.ZodBoolean;
@@ -11473,6 +11754,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11473
11754
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11474
11755
  }, z.ZodTypeAny, "passthrough">>>>;
11475
11756
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
11757
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11476
11758
  }, z.ZodTypeAny, "passthrough">>;
11477
11759
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11478
11760
  status: z.ZodLiteral<"daemon_config_changed">;
@@ -11540,6 +11822,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11540
11822
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11541
11823
  }, z.ZodTypeAny, "passthrough">>>>;
11542
11824
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
11825
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11543
11826
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11544
11827
  mcp: z.ZodObject<{
11545
11828
  injectIntoAgents: z.ZodBoolean;
@@ -11604,6 +11887,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11604
11887
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11605
11888
  }, z.ZodTypeAny, "passthrough">>>>;
11606
11889
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
11890
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11607
11891
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11608
11892
  mcp: z.ZodObject<{
11609
11893
  injectIntoAgents: z.ZodBoolean;
@@ -11668,6 +11952,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11668
11952
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11669
11953
  }, z.ZodTypeAny, "passthrough">>>>;
11670
11954
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
11955
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11671
11956
  }, z.ZodTypeAny, "passthrough">>;
11672
11957
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11673
11958
  status: z.ZodLiteral<"daemon_config_changed">;
@@ -11735,6 +12020,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11735
12020
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11736
12021
  }, z.ZodTypeAny, "passthrough">>>>;
11737
12022
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
12023
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11738
12024
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
11739
12025
  mcp: z.ZodObject<{
11740
12026
  injectIntoAgents: z.ZodBoolean;
@@ -11799,6 +12085,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11799
12085
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11800
12086
  }, z.ZodTypeAny, "passthrough">>>>;
11801
12087
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
12088
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11802
12089
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11803
12090
  mcp: z.ZodObject<{
11804
12091
  injectIntoAgents: z.ZodBoolean;
@@ -11863,6 +12150,7 @@ export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{
11863
12150
  }, z.ZodTypeAny, "passthrough">>, "many">>;
11864
12151
  }, z.ZodTypeAny, "passthrough">>>>;
11865
12152
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
12153
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
11866
12154
  }, z.ZodTypeAny, "passthrough">>;
11867
12155
  }, z.ZodTypeAny, "passthrough">>;
11868
12156
  export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -12642,6 +12930,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
12642
12930
  }, z.ZodTypeAny, "passthrough">>, "many">>;
12643
12931
  }, z.ZodTypeAny, "passthrough">>>>;
12644
12932
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
12933
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
12645
12934
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12646
12935
  mcp: z.ZodObject<{
12647
12936
  injectIntoAgents: z.ZodBoolean;
@@ -12706,6 +12995,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
12706
12995
  }, z.ZodTypeAny, "passthrough">>, "many">>;
12707
12996
  }, z.ZodTypeAny, "passthrough">>>>;
12708
12997
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
12998
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
12709
12999
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12710
13000
  mcp: z.ZodObject<{
12711
13001
  injectIntoAgents: z.ZodBoolean;
@@ -12770,6 +13060,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
12770
13060
  }, z.ZodTypeAny, "passthrough">>, "many">>;
12771
13061
  }, z.ZodTypeAny, "passthrough">>>>;
12772
13062
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
13063
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
12773
13064
  }, z.ZodTypeAny, "passthrough">>;
12774
13065
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12775
13066
  status: z.ZodLiteral<"daemon_config_changed">;
@@ -12837,6 +13128,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
12837
13128
  }, z.ZodTypeAny, "passthrough">>, "many">>;
12838
13129
  }, z.ZodTypeAny, "passthrough">>>>;
12839
13130
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
13131
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
12840
13132
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
12841
13133
  mcp: z.ZodObject<{
12842
13134
  injectIntoAgents: z.ZodBoolean;
@@ -12901,6 +13193,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
12901
13193
  }, z.ZodTypeAny, "passthrough">>, "many">>;
12902
13194
  }, z.ZodTypeAny, "passthrough">>>>;
12903
13195
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
13196
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
12904
13197
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12905
13198
  mcp: z.ZodObject<{
12906
13199
  injectIntoAgents: z.ZodBoolean;
@@ -12965,6 +13258,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
12965
13258
  }, z.ZodTypeAny, "passthrough">>, "many">>;
12966
13259
  }, z.ZodTypeAny, "passthrough">>>>;
12967
13260
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
13261
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
12968
13262
  }, z.ZodTypeAny, "passthrough">>;
12969
13263
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
12970
13264
  status: z.ZodLiteral<"daemon_config_changed">;
@@ -13032,6 +13326,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
13032
13326
  }, z.ZodTypeAny, "passthrough">>, "many">>;
13033
13327
  }, z.ZodTypeAny, "passthrough">>>>;
13034
13328
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
13329
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
13035
13330
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
13036
13331
  mcp: z.ZodObject<{
13037
13332
  injectIntoAgents: z.ZodBoolean;
@@ -13096,6 +13391,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
13096
13391
  }, z.ZodTypeAny, "passthrough">>, "many">>;
13097
13392
  }, z.ZodTypeAny, "passthrough">>>>;
13098
13393
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
13394
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
13099
13395
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
13100
13396
  mcp: z.ZodObject<{
13101
13397
  injectIntoAgents: z.ZodBoolean;
@@ -13160,6 +13456,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
13160
13456
  }, z.ZodTypeAny, "passthrough">>, "many">>;
13161
13457
  }, z.ZodTypeAny, "passthrough">>>>;
13162
13458
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
13459
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
13163
13460
  }, z.ZodTypeAny, "passthrough">>;
13164
13461
  }, z.ZodTypeAny, "passthrough">>]>;
13165
13462
  export type KnownStatusPayload = z.infer<typeof KnownStatusPayloadSchema>;
@@ -25050,6 +25347,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25050
25347
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25051
25348
  }, z.ZodTypeAny, "passthrough">>>>;
25052
25349
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25350
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25053
25351
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25054
25352
  mcp: z.ZodObject<{
25055
25353
  injectIntoAgents: z.ZodBoolean;
@@ -25114,6 +25412,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25114
25412
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25115
25413
  }, z.ZodTypeAny, "passthrough">>>>;
25116
25414
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25415
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25117
25416
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25118
25417
  mcp: z.ZodObject<{
25119
25418
  injectIntoAgents: z.ZodBoolean;
@@ -25178,6 +25477,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25178
25477
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25179
25478
  }, z.ZodTypeAny, "passthrough">>>>;
25180
25479
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25480
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25181
25481
  }, z.ZodTypeAny, "passthrough">>;
25182
25482
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25183
25483
  requestId: z.ZodString;
@@ -25245,6 +25545,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25245
25545
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25246
25546
  }, z.ZodTypeAny, "passthrough">>>>;
25247
25547
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25548
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25248
25549
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25249
25550
  mcp: z.ZodObject<{
25250
25551
  injectIntoAgents: z.ZodBoolean;
@@ -25309,6 +25610,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25309
25610
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25310
25611
  }, z.ZodTypeAny, "passthrough">>>>;
25311
25612
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25613
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25312
25614
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25313
25615
  mcp: z.ZodObject<{
25314
25616
  injectIntoAgents: z.ZodBoolean;
@@ -25373,6 +25675,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25373
25675
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25374
25676
  }, z.ZodTypeAny, "passthrough">>>>;
25375
25677
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25678
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25376
25679
  }, z.ZodTypeAny, "passthrough">>;
25377
25680
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25378
25681
  requestId: z.ZodString;
@@ -25440,6 +25743,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25440
25743
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25441
25744
  }, z.ZodTypeAny, "passthrough">>>>;
25442
25745
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25746
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25443
25747
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25444
25748
  mcp: z.ZodObject<{
25445
25749
  injectIntoAgents: z.ZodBoolean;
@@ -25504,6 +25808,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25504
25808
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25505
25809
  }, z.ZodTypeAny, "passthrough">>>>;
25506
25810
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25811
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25507
25812
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25508
25813
  mcp: z.ZodObject<{
25509
25814
  injectIntoAgents: z.ZodBoolean;
@@ -25568,6 +25873,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25568
25873
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25569
25874
  }, z.ZodTypeAny, "passthrough">>>>;
25570
25875
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
25876
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25571
25877
  }, z.ZodTypeAny, "passthrough">>;
25572
25878
  }, z.ZodTypeAny, "passthrough">>;
25573
25879
  }, "strip", z.ZodTypeAny, {
@@ -25599,6 +25905,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25599
25905
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25600
25906
  }, z.ZodTypeAny, "passthrough">>;
25601
25907
  autoArchiveAfterMerge: boolean;
25908
+ appendSystemPrompt: string;
25602
25909
  } & {
25603
25910
  [k: string]: unknown;
25604
25911
  };
@@ -25635,6 +25942,7 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25635
25942
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25636
25943
  }, z.ZodTypeAny, "passthrough">> | undefined;
25637
25944
  autoArchiveAfterMerge?: boolean | undefined;
25945
+ appendSystemPrompt?: string | undefined;
25638
25946
  } & {
25639
25947
  [k: string]: unknown;
25640
25948
  };
@@ -25643,6 +25951,219 @@ export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{
25643
25951
  [k: string]: unknown;
25644
25952
  };
25645
25953
  }>;
25954
+ export declare const DaemonGetStatusResponseSchema: z.ZodObject<{
25955
+ type: z.ZodLiteral<"daemon.get_status.response">;
25956
+ payload: z.ZodObject<{
25957
+ requestId: z.ZodString;
25958
+ serverId: z.ZodString;
25959
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25960
+ pid: z.ZodNumber;
25961
+ nodePath: z.ZodString;
25962
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25963
+ listen: z.ZodNullable<z.ZodString>;
25964
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25965
+ enabled: z.ZodBoolean;
25966
+ endpoint: z.ZodString;
25967
+ publicEndpoint: z.ZodString;
25968
+ useTls: z.ZodBoolean;
25969
+ publicUseTls: z.ZodBoolean;
25970
+ }, "strip", z.ZodTypeAny, {
25971
+ enabled: boolean;
25972
+ endpoint: string;
25973
+ publicEndpoint: string;
25974
+ useTls: boolean;
25975
+ publicUseTls: boolean;
25976
+ }, {
25977
+ enabled: boolean;
25978
+ endpoint: string;
25979
+ publicEndpoint: string;
25980
+ useTls: boolean;
25981
+ publicUseTls: boolean;
25982
+ }>>>;
25983
+ providers: z.ZodArray<z.ZodObject<{
25984
+ provider: z.ZodString;
25985
+ available: z.ZodBoolean;
25986
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25987
+ }, "strip", z.ZodTypeAny, {
25988
+ provider: string;
25989
+ available: boolean;
25990
+ error?: string | null | undefined;
25991
+ }, {
25992
+ provider: string;
25993
+ available: boolean;
25994
+ error?: string | null | undefined;
25995
+ }>, "many">;
25996
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25997
+ requestId: z.ZodString;
25998
+ serverId: z.ZodString;
25999
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26000
+ pid: z.ZodNumber;
26001
+ nodePath: z.ZodString;
26002
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26003
+ listen: z.ZodNullable<z.ZodString>;
26004
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26005
+ enabled: z.ZodBoolean;
26006
+ endpoint: z.ZodString;
26007
+ publicEndpoint: z.ZodString;
26008
+ useTls: z.ZodBoolean;
26009
+ publicUseTls: z.ZodBoolean;
26010
+ }, "strip", z.ZodTypeAny, {
26011
+ enabled: boolean;
26012
+ endpoint: string;
26013
+ publicEndpoint: string;
26014
+ useTls: boolean;
26015
+ publicUseTls: boolean;
26016
+ }, {
26017
+ enabled: boolean;
26018
+ endpoint: string;
26019
+ publicEndpoint: string;
26020
+ useTls: boolean;
26021
+ publicUseTls: boolean;
26022
+ }>>>;
26023
+ providers: z.ZodArray<z.ZodObject<{
26024
+ provider: z.ZodString;
26025
+ available: z.ZodBoolean;
26026
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26027
+ }, "strip", z.ZodTypeAny, {
26028
+ provider: string;
26029
+ available: boolean;
26030
+ error?: string | null | undefined;
26031
+ }, {
26032
+ provider: string;
26033
+ available: boolean;
26034
+ error?: string | null | undefined;
26035
+ }>, "many">;
26036
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
26037
+ requestId: z.ZodString;
26038
+ serverId: z.ZodString;
26039
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26040
+ pid: z.ZodNumber;
26041
+ nodePath: z.ZodString;
26042
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26043
+ listen: z.ZodNullable<z.ZodString>;
26044
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26045
+ enabled: z.ZodBoolean;
26046
+ endpoint: z.ZodString;
26047
+ publicEndpoint: z.ZodString;
26048
+ useTls: z.ZodBoolean;
26049
+ publicUseTls: z.ZodBoolean;
26050
+ }, "strip", z.ZodTypeAny, {
26051
+ enabled: boolean;
26052
+ endpoint: string;
26053
+ publicEndpoint: string;
26054
+ useTls: boolean;
26055
+ publicUseTls: boolean;
26056
+ }, {
26057
+ enabled: boolean;
26058
+ endpoint: string;
26059
+ publicEndpoint: string;
26060
+ useTls: boolean;
26061
+ publicUseTls: boolean;
26062
+ }>>>;
26063
+ providers: z.ZodArray<z.ZodObject<{
26064
+ provider: z.ZodString;
26065
+ available: z.ZodBoolean;
26066
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26067
+ }, "strip", z.ZodTypeAny, {
26068
+ provider: string;
26069
+ available: boolean;
26070
+ error?: string | null | undefined;
26071
+ }, {
26072
+ provider: string;
26073
+ available: boolean;
26074
+ error?: string | null | undefined;
26075
+ }>, "many">;
26076
+ }, z.ZodTypeAny, "passthrough">>;
26077
+ }, "strip", z.ZodTypeAny, {
26078
+ type: "daemon.get_status.response";
26079
+ payload: {
26080
+ serverId: string;
26081
+ requestId: string;
26082
+ providers: {
26083
+ provider: string;
26084
+ available: boolean;
26085
+ error?: string | null | undefined;
26086
+ }[];
26087
+ pid: number;
26088
+ nodePath: string;
26089
+ listen: string | null;
26090
+ version?: string | null | undefined;
26091
+ startedAt?: string | null | undefined;
26092
+ relay?: {
26093
+ enabled: boolean;
26094
+ endpoint: string;
26095
+ publicEndpoint: string;
26096
+ useTls: boolean;
26097
+ publicUseTls: boolean;
26098
+ } | null | undefined;
26099
+ } & {
26100
+ [k: string]: unknown;
26101
+ };
26102
+ }, {
26103
+ type: "daemon.get_status.response";
26104
+ payload: {
26105
+ serverId: string;
26106
+ requestId: string;
26107
+ providers: {
26108
+ provider: string;
26109
+ available: boolean;
26110
+ error?: string | null | undefined;
26111
+ }[];
26112
+ pid: number;
26113
+ nodePath: string;
26114
+ listen: string | null;
26115
+ version?: string | null | undefined;
26116
+ startedAt?: string | null | undefined;
26117
+ relay?: {
26118
+ enabled: boolean;
26119
+ endpoint: string;
26120
+ publicEndpoint: string;
26121
+ useTls: boolean;
26122
+ publicUseTls: boolean;
26123
+ } | null | undefined;
26124
+ } & {
26125
+ [k: string]: unknown;
26126
+ };
26127
+ }>;
26128
+ export declare const DaemonGetPairingOfferResponseSchema: z.ZodObject<{
26129
+ type: z.ZodLiteral<"daemon.get_pairing_offer.response">;
26130
+ payload: z.ZodObject<{
26131
+ requestId: z.ZodString;
26132
+ url: z.ZodString;
26133
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26134
+ relayEnabled: z.ZodBoolean;
26135
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
26136
+ requestId: z.ZodString;
26137
+ url: z.ZodString;
26138
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26139
+ relayEnabled: z.ZodBoolean;
26140
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
26141
+ requestId: z.ZodString;
26142
+ url: z.ZodString;
26143
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26144
+ relayEnabled: z.ZodBoolean;
26145
+ }, z.ZodTypeAny, "passthrough">>;
26146
+ }, "strip", z.ZodTypeAny, {
26147
+ type: "daemon.get_pairing_offer.response";
26148
+ payload: {
26149
+ url: string;
26150
+ requestId: string;
26151
+ relayEnabled: boolean;
26152
+ qr?: string | null | undefined;
26153
+ } & {
26154
+ [k: string]: unknown;
26155
+ };
26156
+ }, {
26157
+ type: "daemon.get_pairing_offer.response";
26158
+ payload: {
26159
+ url: string;
26160
+ requestId: string;
26161
+ relayEnabled: boolean;
26162
+ qr?: string | null | undefined;
26163
+ } & {
26164
+ [k: string]: unknown;
26165
+ };
26166
+ }>;
25646
26167
  export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
25647
26168
  type: z.ZodLiteral<"set_daemon_config_response">;
25648
26169
  payload: z.ZodObject<{
@@ -25711,6 +26232,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
25711
26232
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25712
26233
  }, z.ZodTypeAny, "passthrough">>>>;
25713
26234
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26235
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25714
26236
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25715
26237
  mcp: z.ZodObject<{
25716
26238
  injectIntoAgents: z.ZodBoolean;
@@ -25775,6 +26297,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
25775
26297
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25776
26298
  }, z.ZodTypeAny, "passthrough">>>>;
25777
26299
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26300
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25778
26301
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25779
26302
  mcp: z.ZodObject<{
25780
26303
  injectIntoAgents: z.ZodBoolean;
@@ -25839,6 +26362,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
25839
26362
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25840
26363
  }, z.ZodTypeAny, "passthrough">>>>;
25841
26364
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26365
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25842
26366
  }, z.ZodTypeAny, "passthrough">>;
25843
26367
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25844
26368
  requestId: z.ZodString;
@@ -25906,6 +26430,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
25906
26430
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25907
26431
  }, z.ZodTypeAny, "passthrough">>>>;
25908
26432
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26433
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25909
26434
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25910
26435
  mcp: z.ZodObject<{
25911
26436
  injectIntoAgents: z.ZodBoolean;
@@ -25970,6 +26495,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
25970
26495
  }, z.ZodTypeAny, "passthrough">>, "many">>;
25971
26496
  }, z.ZodTypeAny, "passthrough">>>>;
25972
26497
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26498
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
25973
26499
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25974
26500
  mcp: z.ZodObject<{
25975
26501
  injectIntoAgents: z.ZodBoolean;
@@ -26034,6 +26560,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
26034
26560
  }, z.ZodTypeAny, "passthrough">>, "many">>;
26035
26561
  }, z.ZodTypeAny, "passthrough">>>>;
26036
26562
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26563
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
26037
26564
  }, z.ZodTypeAny, "passthrough">>;
26038
26565
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
26039
26566
  requestId: z.ZodString;
@@ -26101,6 +26628,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
26101
26628
  }, z.ZodTypeAny, "passthrough">>, "many">>;
26102
26629
  }, z.ZodTypeAny, "passthrough">>>>;
26103
26630
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26631
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
26104
26632
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
26105
26633
  mcp: z.ZodObject<{
26106
26634
  injectIntoAgents: z.ZodBoolean;
@@ -26165,6 +26693,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
26165
26693
  }, z.ZodTypeAny, "passthrough">>, "many">>;
26166
26694
  }, z.ZodTypeAny, "passthrough">>>>;
26167
26695
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26696
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
26168
26697
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
26169
26698
  mcp: z.ZodObject<{
26170
26699
  injectIntoAgents: z.ZodBoolean;
@@ -26229,6 +26758,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
26229
26758
  }, z.ZodTypeAny, "passthrough">>, "many">>;
26230
26759
  }, z.ZodTypeAny, "passthrough">>>>;
26231
26760
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
26761
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
26232
26762
  }, z.ZodTypeAny, "passthrough">>;
26233
26763
  }, z.ZodTypeAny, "passthrough">>;
26234
26764
  }, "strip", z.ZodTypeAny, {
@@ -26260,6 +26790,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
26260
26790
  }, z.ZodTypeAny, "passthrough">>, "many">>;
26261
26791
  }, z.ZodTypeAny, "passthrough">>;
26262
26792
  autoArchiveAfterMerge: boolean;
26793
+ appendSystemPrompt: string;
26263
26794
  } & {
26264
26795
  [k: string]: unknown;
26265
26796
  };
@@ -26296,6 +26827,7 @@ export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{
26296
26827
  }, z.ZodTypeAny, "passthrough">>, "many">>;
26297
26828
  }, z.ZodTypeAny, "passthrough">> | undefined;
26298
26829
  autoArchiveAfterMerge?: boolean | undefined;
26830
+ appendSystemPrompt?: string | undefined;
26299
26831
  } & {
26300
26832
  [k: string]: unknown;
26301
26833
  };
@@ -31246,27 +31778,13 @@ export declare const CheckoutSwitchBranchResponseSchema: z.ZodObject<{
31246
31778
  source?: "local" | "remote" | undefined;
31247
31779
  };
31248
31780
  }>;
31249
- declare const StashEntrySchema: z.ZodObject<{
31250
- index: z.ZodNumber;
31251
- message: z.ZodString;
31252
- branch: z.ZodNullable<z.ZodString>;
31253
- isPaseo: z.ZodBoolean;
31254
- }, "strip", z.ZodTypeAny, {
31255
- message: string;
31256
- index: number;
31257
- branch: string | null;
31258
- isPaseo: boolean;
31259
- }, {
31260
- message: string;
31261
- index: number;
31262
- branch: string | null;
31263
- isPaseo: boolean;
31264
- }>;
31265
- export declare const StashSaveResponseSchema: z.ZodObject<{
31266
- type: z.ZodLiteral<"stash_save_response">;
31781
+ export declare const CheckoutRenameBranchResponseSchema: z.ZodObject<{
31782
+ type: z.ZodLiteral<"checkout.rename_branch.response">;
31267
31783
  payload: z.ZodObject<{
31268
- cwd: z.ZodString;
31784
+ requestId: z.ZodString;
31269
31785
  success: z.ZodBoolean;
31786
+ cwd: z.ZodString;
31787
+ currentBranch: z.ZodNullable<z.ZodString>;
31270
31788
  error: z.ZodNullable<z.ZodObject<{
31271
31789
  code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
31272
31790
  message: z.ZodString;
@@ -31277,7 +31795,6 @@ export declare const StashSaveResponseSchema: z.ZodObject<{
31277
31795
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31278
31796
  message: string;
31279
31797
  }>>;
31280
- requestId: z.ZodString;
31281
31798
  }, "strip", z.ZodTypeAny, {
31282
31799
  error: {
31283
31800
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
@@ -31285,6 +31802,7 @@ export declare const StashSaveResponseSchema: z.ZodObject<{
31285
31802
  } | null;
31286
31803
  cwd: string;
31287
31804
  requestId: string;
31805
+ currentBranch: string | null;
31288
31806
  success: boolean;
31289
31807
  }, {
31290
31808
  error: {
@@ -31293,10 +31811,11 @@ export declare const StashSaveResponseSchema: z.ZodObject<{
31293
31811
  } | null;
31294
31812
  cwd: string;
31295
31813
  requestId: string;
31814
+ currentBranch: string | null;
31296
31815
  success: boolean;
31297
31816
  }>;
31298
31817
  }, "strip", z.ZodTypeAny, {
31299
- type: "stash_save_response";
31818
+ type: "checkout.rename_branch.response";
31300
31819
  payload: {
31301
31820
  error: {
31302
31821
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
@@ -31304,10 +31823,11 @@ export declare const StashSaveResponseSchema: z.ZodObject<{
31304
31823
  } | null;
31305
31824
  cwd: string;
31306
31825
  requestId: string;
31826
+ currentBranch: string | null;
31307
31827
  success: boolean;
31308
31828
  };
31309
31829
  }, {
31310
- type: "stash_save_response";
31830
+ type: "checkout.rename_branch.response";
31311
31831
  payload: {
31312
31832
  error: {
31313
31833
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
@@ -31315,11 +31835,84 @@ export declare const StashSaveResponseSchema: z.ZodObject<{
31315
31835
  } | null;
31316
31836
  cwd: string;
31317
31837
  requestId: string;
31838
+ currentBranch: string | null;
31318
31839
  success: boolean;
31319
31840
  };
31320
31841
  }>;
31321
- export declare const StashPopResponseSchema: z.ZodObject<{
31322
- type: z.ZodLiteral<"stash_pop_response">;
31842
+ declare const StashEntrySchema: z.ZodObject<{
31843
+ index: z.ZodNumber;
31844
+ message: z.ZodString;
31845
+ branch: z.ZodNullable<z.ZodString>;
31846
+ isPaseo: z.ZodBoolean;
31847
+ }, "strip", z.ZodTypeAny, {
31848
+ message: string;
31849
+ index: number;
31850
+ branch: string | null;
31851
+ isPaseo: boolean;
31852
+ }, {
31853
+ message: string;
31854
+ index: number;
31855
+ branch: string | null;
31856
+ isPaseo: boolean;
31857
+ }>;
31858
+ export declare const StashSaveResponseSchema: z.ZodObject<{
31859
+ type: z.ZodLiteral<"stash_save_response">;
31860
+ payload: z.ZodObject<{
31861
+ cwd: z.ZodString;
31862
+ success: z.ZodBoolean;
31863
+ error: z.ZodNullable<z.ZodObject<{
31864
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
31865
+ message: z.ZodString;
31866
+ }, "strip", z.ZodTypeAny, {
31867
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31868
+ message: string;
31869
+ }, {
31870
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31871
+ message: string;
31872
+ }>>;
31873
+ requestId: z.ZodString;
31874
+ }, "strip", z.ZodTypeAny, {
31875
+ error: {
31876
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31877
+ message: string;
31878
+ } | null;
31879
+ cwd: string;
31880
+ requestId: string;
31881
+ success: boolean;
31882
+ }, {
31883
+ error: {
31884
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31885
+ message: string;
31886
+ } | null;
31887
+ cwd: string;
31888
+ requestId: string;
31889
+ success: boolean;
31890
+ }>;
31891
+ }, "strip", z.ZodTypeAny, {
31892
+ type: "stash_save_response";
31893
+ payload: {
31894
+ error: {
31895
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31896
+ message: string;
31897
+ } | null;
31898
+ cwd: string;
31899
+ requestId: string;
31900
+ success: boolean;
31901
+ };
31902
+ }, {
31903
+ type: "stash_save_response";
31904
+ payload: {
31905
+ error: {
31906
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
31907
+ message: string;
31908
+ } | null;
31909
+ cwd: string;
31910
+ requestId: string;
31911
+ success: boolean;
31912
+ };
31913
+ }>;
31914
+ export declare const StashPopResponseSchema: z.ZodObject<{
31915
+ type: z.ZodLiteral<"stash_pop_response">;
31323
31916
  payload: z.ZodObject<{
31324
31917
  cwd: z.ZodString;
31325
31918
  success: z.ZodBoolean;
@@ -34330,6 +34923,36 @@ export declare const CreateTerminalResponseSchema: z.ZodObject<{
34330
34923
  } | null;
34331
34924
  };
34332
34925
  }>;
34926
+ export declare const RenameTerminalResponseSchema: z.ZodObject<{
34927
+ type: z.ZodLiteral<"terminal.rename.response">;
34928
+ payload: z.ZodObject<{
34929
+ requestId: z.ZodString;
34930
+ success: z.ZodBoolean;
34931
+ error: z.ZodNullable<z.ZodString>;
34932
+ }, "strip", z.ZodTypeAny, {
34933
+ error: string | null;
34934
+ requestId: string;
34935
+ success: boolean;
34936
+ }, {
34937
+ error: string | null;
34938
+ requestId: string;
34939
+ success: boolean;
34940
+ }>;
34941
+ }, "strip", z.ZodTypeAny, {
34942
+ type: "terminal.rename.response";
34943
+ payload: {
34944
+ error: string | null;
34945
+ requestId: string;
34946
+ success: boolean;
34947
+ };
34948
+ }, {
34949
+ type: "terminal.rename.response";
34950
+ payload: {
34951
+ error: string | null;
34952
+ requestId: string;
34953
+ success: boolean;
34954
+ };
34955
+ }>;
34333
34956
  export declare const SubscribeTerminalResponseSchema: z.ZodObject<{
34334
34957
  type: z.ZodLiteral<"subscribe_terminal_response">;
34335
34958
  payload: z.ZodUnion<[z.ZodObject<{
@@ -44591,6 +45214,217 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
44591
45214
  retryable?: boolean | undefined;
44592
45215
  missingModelIds?: string[] | undefined;
44593
45216
  };
45217
+ }>, z.ZodObject<{
45218
+ type: z.ZodLiteral<"daemon.get_status.response">;
45219
+ payload: z.ZodObject<{
45220
+ requestId: z.ZodString;
45221
+ serverId: z.ZodString;
45222
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45223
+ pid: z.ZodNumber;
45224
+ nodePath: z.ZodString;
45225
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45226
+ listen: z.ZodNullable<z.ZodString>;
45227
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45228
+ enabled: z.ZodBoolean;
45229
+ endpoint: z.ZodString;
45230
+ publicEndpoint: z.ZodString;
45231
+ useTls: z.ZodBoolean;
45232
+ publicUseTls: z.ZodBoolean;
45233
+ }, "strip", z.ZodTypeAny, {
45234
+ enabled: boolean;
45235
+ endpoint: string;
45236
+ publicEndpoint: string;
45237
+ useTls: boolean;
45238
+ publicUseTls: boolean;
45239
+ }, {
45240
+ enabled: boolean;
45241
+ endpoint: string;
45242
+ publicEndpoint: string;
45243
+ useTls: boolean;
45244
+ publicUseTls: boolean;
45245
+ }>>>;
45246
+ providers: z.ZodArray<z.ZodObject<{
45247
+ provider: z.ZodString;
45248
+ available: z.ZodBoolean;
45249
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45250
+ }, "strip", z.ZodTypeAny, {
45251
+ provider: string;
45252
+ available: boolean;
45253
+ error?: string | null | undefined;
45254
+ }, {
45255
+ provider: string;
45256
+ available: boolean;
45257
+ error?: string | null | undefined;
45258
+ }>, "many">;
45259
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45260
+ requestId: z.ZodString;
45261
+ serverId: z.ZodString;
45262
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45263
+ pid: z.ZodNumber;
45264
+ nodePath: z.ZodString;
45265
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45266
+ listen: z.ZodNullable<z.ZodString>;
45267
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45268
+ enabled: z.ZodBoolean;
45269
+ endpoint: z.ZodString;
45270
+ publicEndpoint: z.ZodString;
45271
+ useTls: z.ZodBoolean;
45272
+ publicUseTls: z.ZodBoolean;
45273
+ }, "strip", z.ZodTypeAny, {
45274
+ enabled: boolean;
45275
+ endpoint: string;
45276
+ publicEndpoint: string;
45277
+ useTls: boolean;
45278
+ publicUseTls: boolean;
45279
+ }, {
45280
+ enabled: boolean;
45281
+ endpoint: string;
45282
+ publicEndpoint: string;
45283
+ useTls: boolean;
45284
+ publicUseTls: boolean;
45285
+ }>>>;
45286
+ providers: z.ZodArray<z.ZodObject<{
45287
+ provider: z.ZodString;
45288
+ available: z.ZodBoolean;
45289
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45290
+ }, "strip", z.ZodTypeAny, {
45291
+ provider: string;
45292
+ available: boolean;
45293
+ error?: string | null | undefined;
45294
+ }, {
45295
+ provider: string;
45296
+ available: boolean;
45297
+ error?: string | null | undefined;
45298
+ }>, "many">;
45299
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45300
+ requestId: z.ZodString;
45301
+ serverId: z.ZodString;
45302
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45303
+ pid: z.ZodNumber;
45304
+ nodePath: z.ZodString;
45305
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45306
+ listen: z.ZodNullable<z.ZodString>;
45307
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45308
+ enabled: z.ZodBoolean;
45309
+ endpoint: z.ZodString;
45310
+ publicEndpoint: z.ZodString;
45311
+ useTls: z.ZodBoolean;
45312
+ publicUseTls: z.ZodBoolean;
45313
+ }, "strip", z.ZodTypeAny, {
45314
+ enabled: boolean;
45315
+ endpoint: string;
45316
+ publicEndpoint: string;
45317
+ useTls: boolean;
45318
+ publicUseTls: boolean;
45319
+ }, {
45320
+ enabled: boolean;
45321
+ endpoint: string;
45322
+ publicEndpoint: string;
45323
+ useTls: boolean;
45324
+ publicUseTls: boolean;
45325
+ }>>>;
45326
+ providers: z.ZodArray<z.ZodObject<{
45327
+ provider: z.ZodString;
45328
+ available: z.ZodBoolean;
45329
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45330
+ }, "strip", z.ZodTypeAny, {
45331
+ provider: string;
45332
+ available: boolean;
45333
+ error?: string | null | undefined;
45334
+ }, {
45335
+ provider: string;
45336
+ available: boolean;
45337
+ error?: string | null | undefined;
45338
+ }>, "many">;
45339
+ }, z.ZodTypeAny, "passthrough">>;
45340
+ }, "strip", z.ZodTypeAny, {
45341
+ type: "daemon.get_status.response";
45342
+ payload: {
45343
+ serverId: string;
45344
+ requestId: string;
45345
+ providers: {
45346
+ provider: string;
45347
+ available: boolean;
45348
+ error?: string | null | undefined;
45349
+ }[];
45350
+ pid: number;
45351
+ nodePath: string;
45352
+ listen: string | null;
45353
+ version?: string | null | undefined;
45354
+ startedAt?: string | null | undefined;
45355
+ relay?: {
45356
+ enabled: boolean;
45357
+ endpoint: string;
45358
+ publicEndpoint: string;
45359
+ useTls: boolean;
45360
+ publicUseTls: boolean;
45361
+ } | null | undefined;
45362
+ } & {
45363
+ [k: string]: unknown;
45364
+ };
45365
+ }, {
45366
+ type: "daemon.get_status.response";
45367
+ payload: {
45368
+ serverId: string;
45369
+ requestId: string;
45370
+ providers: {
45371
+ provider: string;
45372
+ available: boolean;
45373
+ error?: string | null | undefined;
45374
+ }[];
45375
+ pid: number;
45376
+ nodePath: string;
45377
+ listen: string | null;
45378
+ version?: string | null | undefined;
45379
+ startedAt?: string | null | undefined;
45380
+ relay?: {
45381
+ enabled: boolean;
45382
+ endpoint: string;
45383
+ publicEndpoint: string;
45384
+ useTls: boolean;
45385
+ publicUseTls: boolean;
45386
+ } | null | undefined;
45387
+ } & {
45388
+ [k: string]: unknown;
45389
+ };
45390
+ }>, z.ZodObject<{
45391
+ type: z.ZodLiteral<"daemon.get_pairing_offer.response">;
45392
+ payload: z.ZodObject<{
45393
+ requestId: z.ZodString;
45394
+ url: z.ZodString;
45395
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45396
+ relayEnabled: z.ZodBoolean;
45397
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45398
+ requestId: z.ZodString;
45399
+ url: z.ZodString;
45400
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45401
+ relayEnabled: z.ZodBoolean;
45402
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45403
+ requestId: z.ZodString;
45404
+ url: z.ZodString;
45405
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45406
+ relayEnabled: z.ZodBoolean;
45407
+ }, z.ZodTypeAny, "passthrough">>;
45408
+ }, "strip", z.ZodTypeAny, {
45409
+ type: "daemon.get_pairing_offer.response";
45410
+ payload: {
45411
+ url: string;
45412
+ requestId: string;
45413
+ relayEnabled: boolean;
45414
+ qr?: string | null | undefined;
45415
+ } & {
45416
+ [k: string]: unknown;
45417
+ };
45418
+ }, {
45419
+ type: "daemon.get_pairing_offer.response";
45420
+ payload: {
45421
+ url: string;
45422
+ requestId: string;
45423
+ relayEnabled: boolean;
45424
+ qr?: string | null | undefined;
45425
+ } & {
45426
+ [k: string]: unknown;
45427
+ };
44594
45428
  }>, z.ZodObject<{
44595
45429
  type: z.ZodLiteral<"get_daemon_config_response">;
44596
45430
  payload: z.ZodObject<{
@@ -44659,6 +45493,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
44659
45493
  }, z.ZodTypeAny, "passthrough">>, "many">>;
44660
45494
  }, z.ZodTypeAny, "passthrough">>>>;
44661
45495
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45496
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
44662
45497
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44663
45498
  mcp: z.ZodObject<{
44664
45499
  injectIntoAgents: z.ZodBoolean;
@@ -44723,6 +45558,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
44723
45558
  }, z.ZodTypeAny, "passthrough">>, "many">>;
44724
45559
  }, z.ZodTypeAny, "passthrough">>>>;
44725
45560
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45561
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
44726
45562
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44727
45563
  mcp: z.ZodObject<{
44728
45564
  injectIntoAgents: z.ZodBoolean;
@@ -44787,6 +45623,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
44787
45623
  }, z.ZodTypeAny, "passthrough">>, "many">>;
44788
45624
  }, z.ZodTypeAny, "passthrough">>>>;
44789
45625
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45626
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
44790
45627
  }, z.ZodTypeAny, "passthrough">>;
44791
45628
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44792
45629
  requestId: z.ZodString;
@@ -44854,6 +45691,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
44854
45691
  }, z.ZodTypeAny, "passthrough">>, "many">>;
44855
45692
  }, z.ZodTypeAny, "passthrough">>>>;
44856
45693
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45694
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
44857
45695
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
44858
45696
  mcp: z.ZodObject<{
44859
45697
  injectIntoAgents: z.ZodBoolean;
@@ -44918,6 +45756,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
44918
45756
  }, z.ZodTypeAny, "passthrough">>, "many">>;
44919
45757
  }, z.ZodTypeAny, "passthrough">>>>;
44920
45758
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45759
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
44921
45760
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44922
45761
  mcp: z.ZodObject<{
44923
45762
  injectIntoAgents: z.ZodBoolean;
@@ -44982,6 +45821,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
44982
45821
  }, z.ZodTypeAny, "passthrough">>, "many">>;
44983
45822
  }, z.ZodTypeAny, "passthrough">>>>;
44984
45823
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45824
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
44985
45825
  }, z.ZodTypeAny, "passthrough">>;
44986
45826
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44987
45827
  requestId: z.ZodString;
@@ -45049,6 +45889,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45049
45889
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45050
45890
  }, z.ZodTypeAny, "passthrough">>>>;
45051
45891
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45892
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45052
45893
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45053
45894
  mcp: z.ZodObject<{
45054
45895
  injectIntoAgents: z.ZodBoolean;
@@ -45113,6 +45954,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45113
45954
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45114
45955
  }, z.ZodTypeAny, "passthrough">>>>;
45115
45956
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
45957
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45116
45958
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45117
45959
  mcp: z.ZodObject<{
45118
45960
  injectIntoAgents: z.ZodBoolean;
@@ -45177,6 +46019,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45177
46019
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45178
46020
  }, z.ZodTypeAny, "passthrough">>>>;
45179
46021
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46022
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45180
46023
  }, z.ZodTypeAny, "passthrough">>;
45181
46024
  }, z.ZodTypeAny, "passthrough">>;
45182
46025
  }, "strip", z.ZodTypeAny, {
@@ -45208,6 +46051,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45208
46051
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45209
46052
  }, z.ZodTypeAny, "passthrough">>;
45210
46053
  autoArchiveAfterMerge: boolean;
46054
+ appendSystemPrompt: string;
45211
46055
  } & {
45212
46056
  [k: string]: unknown;
45213
46057
  };
@@ -45244,6 +46088,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45244
46088
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45245
46089
  }, z.ZodTypeAny, "passthrough">> | undefined;
45246
46090
  autoArchiveAfterMerge?: boolean | undefined;
46091
+ appendSystemPrompt?: string | undefined;
45247
46092
  } & {
45248
46093
  [k: string]: unknown;
45249
46094
  };
@@ -45319,6 +46164,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45319
46164
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45320
46165
  }, z.ZodTypeAny, "passthrough">>>>;
45321
46166
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46167
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45322
46168
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45323
46169
  mcp: z.ZodObject<{
45324
46170
  injectIntoAgents: z.ZodBoolean;
@@ -45383,6 +46229,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45383
46229
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45384
46230
  }, z.ZodTypeAny, "passthrough">>>>;
45385
46231
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46232
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45386
46233
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45387
46234
  mcp: z.ZodObject<{
45388
46235
  injectIntoAgents: z.ZodBoolean;
@@ -45447,6 +46294,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45447
46294
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45448
46295
  }, z.ZodTypeAny, "passthrough">>>>;
45449
46296
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46297
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45450
46298
  }, z.ZodTypeAny, "passthrough">>;
45451
46299
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45452
46300
  requestId: z.ZodString;
@@ -45514,6 +46362,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45514
46362
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45515
46363
  }, z.ZodTypeAny, "passthrough">>>>;
45516
46364
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46365
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45517
46366
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45518
46367
  mcp: z.ZodObject<{
45519
46368
  injectIntoAgents: z.ZodBoolean;
@@ -45578,6 +46427,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45578
46427
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45579
46428
  }, z.ZodTypeAny, "passthrough">>>>;
45580
46429
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46430
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45581
46431
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45582
46432
  mcp: z.ZodObject<{
45583
46433
  injectIntoAgents: z.ZodBoolean;
@@ -45642,6 +46492,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45642
46492
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45643
46493
  }, z.ZodTypeAny, "passthrough">>>>;
45644
46494
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46495
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45645
46496
  }, z.ZodTypeAny, "passthrough">>;
45646
46497
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45647
46498
  requestId: z.ZodString;
@@ -45709,6 +46560,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45709
46560
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45710
46561
  }, z.ZodTypeAny, "passthrough">>>>;
45711
46562
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46563
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45712
46564
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
45713
46565
  mcp: z.ZodObject<{
45714
46566
  injectIntoAgents: z.ZodBoolean;
@@ -45773,6 +46625,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45773
46625
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45774
46626
  }, z.ZodTypeAny, "passthrough">>>>;
45775
46627
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46628
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45776
46629
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
45777
46630
  mcp: z.ZodObject<{
45778
46631
  injectIntoAgents: z.ZodBoolean;
@@ -45837,6 +46690,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45837
46690
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45838
46691
  }, z.ZodTypeAny, "passthrough">>>>;
45839
46692
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
46693
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
45840
46694
  }, z.ZodTypeAny, "passthrough">>;
45841
46695
  }, z.ZodTypeAny, "passthrough">>;
45842
46696
  }, "strip", z.ZodTypeAny, {
@@ -45868,6 +46722,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45868
46722
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45869
46723
  }, z.ZodTypeAny, "passthrough">>;
45870
46724
  autoArchiveAfterMerge: boolean;
46725
+ appendSystemPrompt: string;
45871
46726
  } & {
45872
46727
  [k: string]: unknown;
45873
46728
  };
@@ -45904,6 +46759,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
45904
46759
  }, z.ZodTypeAny, "passthrough">>, "many">>;
45905
46760
  }, z.ZodTypeAny, "passthrough">> | undefined;
45906
46761
  autoArchiveAfterMerge?: boolean | undefined;
46762
+ appendSystemPrompt?: string | undefined;
45907
46763
  } & {
45908
46764
  [k: string]: unknown;
45909
46765
  };
@@ -51227,6 +52083,66 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
51227
52083
  success: boolean;
51228
52084
  source?: "local" | "remote" | undefined;
51229
52085
  };
52086
+ }>, z.ZodObject<{
52087
+ type: z.ZodLiteral<"checkout.rename_branch.response">;
52088
+ payload: z.ZodObject<{
52089
+ requestId: z.ZodString;
52090
+ success: z.ZodBoolean;
52091
+ cwd: z.ZodString;
52092
+ currentBranch: z.ZodNullable<z.ZodString>;
52093
+ error: z.ZodNullable<z.ZodObject<{
52094
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
52095
+ message: z.ZodString;
52096
+ }, "strip", z.ZodTypeAny, {
52097
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
52098
+ message: string;
52099
+ }, {
52100
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
52101
+ message: string;
52102
+ }>>;
52103
+ }, "strip", z.ZodTypeAny, {
52104
+ error: {
52105
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
52106
+ message: string;
52107
+ } | null;
52108
+ cwd: string;
52109
+ requestId: string;
52110
+ currentBranch: string | null;
52111
+ success: boolean;
52112
+ }, {
52113
+ error: {
52114
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
52115
+ message: string;
52116
+ } | null;
52117
+ cwd: string;
52118
+ requestId: string;
52119
+ currentBranch: string | null;
52120
+ success: boolean;
52121
+ }>;
52122
+ }, "strip", z.ZodTypeAny, {
52123
+ type: "checkout.rename_branch.response";
52124
+ payload: {
52125
+ error: {
52126
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
52127
+ message: string;
52128
+ } | null;
52129
+ cwd: string;
52130
+ requestId: string;
52131
+ currentBranch: string | null;
52132
+ success: boolean;
52133
+ };
52134
+ }, {
52135
+ type: "checkout.rename_branch.response";
52136
+ payload: {
52137
+ error: {
52138
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
52139
+ message: string;
52140
+ } | null;
52141
+ cwd: string;
52142
+ requestId: string;
52143
+ currentBranch: string | null;
52144
+ success: boolean;
52145
+ };
51230
52146
  }>, z.ZodObject<{
51231
52147
  type: z.ZodLiteral<"stash_save_response">;
51232
52148
  payload: z.ZodObject<{
@@ -54031,6 +54947,35 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
54031
54947
  title?: string | undefined;
54032
54948
  } | null;
54033
54949
  };
54950
+ }>, z.ZodObject<{
54951
+ type: z.ZodLiteral<"terminal.rename.response">;
54952
+ payload: z.ZodObject<{
54953
+ requestId: z.ZodString;
54954
+ success: z.ZodBoolean;
54955
+ error: z.ZodNullable<z.ZodString>;
54956
+ }, "strip", z.ZodTypeAny, {
54957
+ error: string | null;
54958
+ requestId: string;
54959
+ success: boolean;
54960
+ }, {
54961
+ error: string | null;
54962
+ requestId: string;
54963
+ success: boolean;
54964
+ }>;
54965
+ }, "strip", z.ZodTypeAny, {
54966
+ type: "terminal.rename.response";
54967
+ payload: {
54968
+ error: string | null;
54969
+ requestId: string;
54970
+ success: boolean;
54971
+ };
54972
+ }, {
54973
+ type: "terminal.rename.response";
54974
+ payload: {
54975
+ error: string | null;
54976
+ requestId: string;
54977
+ success: boolean;
54978
+ };
54034
54979
  }>, z.ZodObject<{
54035
54980
  type: z.ZodLiteral<"subscribe_terminal_response">;
54036
54981
  payload: z.ZodUnion<[z.ZodObject<{
@@ -60716,6 +61661,8 @@ export type ListProviderModelsResponseMessage = z.infer<typeof ListProviderModel
60716
61661
  export type ListProviderModesResponseMessage = z.infer<typeof ListProviderModesResponseMessageSchema>;
60717
61662
  export type ListProviderFeaturesResponseMessage = z.infer<typeof ListProviderFeaturesResponseMessageSchema>;
60718
61663
  export type ListAvailableProvidersResponse = z.infer<typeof ListAvailableProvidersResponseSchema>;
61664
+ export type DaemonGetStatusResponse = z.infer<typeof DaemonGetStatusResponseSchema>;
61665
+ export type DaemonGetPairingOfferResponse = z.infer<typeof DaemonGetPairingOfferResponseSchema>;
60719
61666
  export type GetProvidersSnapshotResponseMessage = z.infer<typeof GetProvidersSnapshotResponseMessageSchema>;
60720
61667
  export type ProvidersSnapshotUpdateMessage = z.infer<typeof ProvidersSnapshotUpdateMessageSchema>;
60721
61668
  export type RefreshProvidersSnapshotResponseMessage = z.infer<typeof RefreshProvidersSnapshotResponseMessageSchema>;
@@ -60827,6 +61774,8 @@ export type PullRequestTimelineItem = z.infer<typeof PullRequestTimelineItemSche
60827
61774
  export type PullRequestTimelineResponse = z.infer<typeof PullRequestTimelineResponseSchema>;
60828
61775
  export type CheckoutSwitchBranchRequest = z.infer<typeof CheckoutSwitchBranchRequestSchema>;
60829
61776
  export type CheckoutSwitchBranchResponse = z.infer<typeof CheckoutSwitchBranchResponseSchema>;
61777
+ export type CheckoutRenameBranchRequest = z.infer<typeof CheckoutRenameBranchRequestSchema>;
61778
+ export type CheckoutRenameBranchResponse = z.infer<typeof CheckoutRenameBranchResponseSchema>;
60830
61779
  export type StashSaveRequest = z.infer<typeof StashSaveRequestSchema>;
60831
61780
  export type StashSaveResponse = z.infer<typeof StashSaveResponseSchema>;
60832
61781
  export type StashPopRequest = z.infer<typeof StashPopRequestSchema>;
@@ -60876,6 +61825,8 @@ export type UnsubscribeTerminalsRequest = z.infer<typeof UnsubscribeTerminalsReq
60876
61825
  export type TerminalsChanged = z.infer<typeof TerminalsChangedSchema>;
60877
61826
  export type CreateTerminalRequest = z.infer<typeof CreateTerminalRequestSchema>;
60878
61827
  export type CreateTerminalResponse = z.infer<typeof CreateTerminalResponseSchema>;
61828
+ export type RenameTerminalRequest = z.infer<typeof RenameTerminalRequestSchema>;
61829
+ export type RenameTerminalResponse = z.infer<typeof RenameTerminalResponseSchema>;
60879
61830
  export type StartWorkspaceScriptRequest = z.infer<typeof StartWorkspaceScriptRequestSchema>;
60880
61831
  export type StartWorkspaceScriptResponse = z.infer<typeof StartWorkspaceScriptResponseMessageSchema>;
60881
61832
  export type SubscribeTerminalRequest = z.infer<typeof SubscribeTerminalRequestSchema>;
@@ -61527,6 +62478,24 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
61527
62478
  type: "wait_for_finish_request";
61528
62479
  requestId: string;
61529
62480
  timeoutMs?: number | undefined;
62481
+ }>, z.ZodObject<{
62482
+ type: z.ZodLiteral<"daemon.get_status.request">;
62483
+ requestId: z.ZodString;
62484
+ }, "strip", z.ZodTypeAny, {
62485
+ type: "daemon.get_status.request";
62486
+ requestId: string;
62487
+ }, {
62488
+ type: "daemon.get_status.request";
62489
+ requestId: string;
62490
+ }>, z.ZodObject<{
62491
+ type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
62492
+ requestId: z.ZodString;
62493
+ }, "strip", z.ZodTypeAny, {
62494
+ type: "daemon.get_pairing_offer.request";
62495
+ requestId: string;
62496
+ }, {
62497
+ type: "daemon.get_pairing_offer.request";
62498
+ requestId: string;
61530
62499
  }>, z.ZodObject<{
61531
62500
  type: z.ZodLiteral<"get_daemon_config_request">;
61532
62501
  requestId: z.ZodString;
@@ -61603,6 +62572,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
61603
62572
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
61604
62573
  }, z.ZodTypeAny, "passthrough">>>>>;
61605
62574
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
62575
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
61606
62576
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
61607
62577
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
61608
62578
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -61667,6 +62637,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
61667
62637
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
61668
62638
  }, z.ZodTypeAny, "passthrough">>>>>;
61669
62639
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
62640
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
61670
62641
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
61671
62642
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
61672
62643
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -61731,6 +62702,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
61731
62702
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
61732
62703
  }, z.ZodTypeAny, "passthrough">>>>>;
61733
62704
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
62705
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
61734
62706
  }, z.ZodTypeAny, "passthrough">>;
61735
62707
  }, "strip", z.ZodTypeAny, {
61736
62708
  type: "set_daemon_config_request";
@@ -61758,6 +62730,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
61758
62730
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
61759
62731
  }, z.ZodTypeAny, "passthrough">> | undefined;
61760
62732
  autoArchiveAfterMerge?: boolean | undefined;
62733
+ appendSystemPrompt?: string | undefined;
61761
62734
  } & {
61762
62735
  [k: string]: unknown;
61763
62736
  };
@@ -61788,6 +62761,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
61788
62761
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
61789
62762
  }, z.ZodTypeAny, "passthrough">> | undefined;
61790
62763
  autoArchiveAfterMerge?: boolean | undefined;
62764
+ appendSystemPrompt?: string | undefined;
61791
62765
  } & {
61792
62766
  [k: string]: unknown;
61793
62767
  };
@@ -62418,6 +63392,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
62418
63392
  }> | undefined;
62419
63393
  featureValues?: Record<string, unknown> | undefined;
62420
63394
  }>;
63395
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
62421
63396
  workspaceId: z.ZodOptional<z.ZodString>;
62422
63397
  worktreeName: z.ZodOptional<z.ZodString>;
62423
63398
  initialPrompt: z.ZodOptional<z.ZodString>;
@@ -62510,6 +63485,38 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
62510
63485
  action?: "branch-off" | "checkout" | undefined;
62511
63486
  githubPrNumber?: number | undefined;
62512
63487
  }>>;
63488
+ worktree: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
63489
+ mode: z.ZodLiteral<"branch-off">;
63490
+ newBranch: z.ZodString;
63491
+ base: z.ZodOptional<z.ZodString>;
63492
+ }, "strip", z.ZodTypeAny, {
63493
+ mode: "branch-off";
63494
+ newBranch: string;
63495
+ base?: string | undefined;
63496
+ }, {
63497
+ mode: "branch-off";
63498
+ newBranch: string;
63499
+ base?: string | undefined;
63500
+ }>, z.ZodObject<{
63501
+ mode: z.ZodLiteral<"checkout-branch">;
63502
+ branch: z.ZodString;
63503
+ }, "strip", z.ZodTypeAny, {
63504
+ mode: "checkout-branch";
63505
+ branch: string;
63506
+ }, {
63507
+ mode: "checkout-branch";
63508
+ branch: string;
63509
+ }>, z.ZodObject<{
63510
+ mode: z.ZodLiteral<"checkout-pr">;
63511
+ prNumber: z.ZodNumber;
63512
+ }, "strip", z.ZodTypeAny, {
63513
+ mode: "checkout-pr";
63514
+ prNumber: number;
63515
+ }, {
63516
+ mode: "checkout-pr";
63517
+ prNumber: number;
63518
+ }>]>>;
63519
+ autoArchive: z.ZodOptional<z.ZodBoolean>;
62513
63520
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
62514
63521
  requestId: z.ZodString;
62515
63522
  }, "strip", z.ZodTypeAny, {
@@ -62548,6 +63555,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
62548
63555
  };
62549
63556
  requestId: string;
62550
63557
  labels: Record<string, string>;
63558
+ worktree?: {
63559
+ mode: "branch-off";
63560
+ newBranch: string;
63561
+ base?: string | undefined;
63562
+ } | {
63563
+ mode: "checkout-branch";
63564
+ branch: string;
63565
+ } | {
63566
+ mode: "checkout-pr";
63567
+ prNumber: number;
63568
+ } | undefined;
63569
+ env?: Record<string, string> | undefined;
62551
63570
  git?: {
62552
63571
  worktreeSlug?: string | undefined;
62553
63572
  baseBranch?: string | undefined;
@@ -62616,6 +63635,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
62616
63635
  initialPrompt?: string | undefined;
62617
63636
  clientMessageId?: string | undefined;
62618
63637
  outputSchema?: Record<string, unknown> | undefined;
63638
+ autoArchive?: boolean | undefined;
62619
63639
  }, {
62620
63640
  type: "create_agent_request";
62621
63641
  config: {
@@ -62651,6 +63671,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
62651
63671
  featureValues?: Record<string, unknown> | undefined;
62652
63672
  };
62653
63673
  requestId: string;
63674
+ worktree?: {
63675
+ mode: "branch-off";
63676
+ newBranch: string;
63677
+ base?: string | undefined;
63678
+ } | {
63679
+ mode: "checkout-branch";
63680
+ branch: string;
63681
+ } | {
63682
+ mode: "checkout-pr";
63683
+ prNumber: number;
63684
+ } | undefined;
63685
+ env?: Record<string, string> | undefined;
62654
63686
  git?: {
62655
63687
  worktreeSlug?: string | undefined;
62656
63688
  baseBranch?: string | undefined;
@@ -62672,6 +63704,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
62672
63704
  initialPrompt?: string | undefined;
62673
63705
  clientMessageId?: string | undefined;
62674
63706
  outputSchema?: Record<string, unknown> | undefined;
63707
+ autoArchive?: boolean | undefined;
62675
63708
  }>, z.ZodObject<{
62676
63709
  type: z.ZodLiteral<"list_provider_models_request">;
62677
63710
  provider: z.ZodString;
@@ -63430,6 +64463,21 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
63430
64463
  cwd: string;
63431
64464
  branch: string;
63432
64465
  requestId: string;
64466
+ }>, z.ZodObject<{
64467
+ type: z.ZodLiteral<"checkout.rename_branch.request">;
64468
+ cwd: z.ZodString;
64469
+ branch: z.ZodString;
64470
+ requestId: z.ZodString;
64471
+ }, "strip", z.ZodTypeAny, {
64472
+ type: "checkout.rename_branch.request";
64473
+ cwd: string;
64474
+ branch: string;
64475
+ requestId: string;
64476
+ }, {
64477
+ type: "checkout.rename_branch.request";
64478
+ cwd: string;
64479
+ branch: string;
64480
+ requestId: string;
63433
64481
  }>, z.ZodObject<{
63434
64482
  type: z.ZodLiteral<"stash_save_request">;
63435
64483
  cwd: z.ZodString;
@@ -64149,6 +65197,21 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
64149
65197
  name?: string | undefined;
64150
65198
  command?: string | undefined;
64151
65199
  args?: string[] | undefined;
65200
+ }>, z.ZodObject<{
65201
+ type: z.ZodLiteral<"terminal.rename.request">;
65202
+ terminalId: z.ZodString;
65203
+ title: z.ZodString;
65204
+ requestId: z.ZodString;
65205
+ }, "strip", z.ZodTypeAny, {
65206
+ title: string;
65207
+ type: "terminal.rename.request";
65208
+ requestId: string;
65209
+ terminalId: string;
65210
+ }, {
65211
+ title: string;
65212
+ type: "terminal.rename.request";
65213
+ requestId: string;
65214
+ terminalId: string;
64152
65215
  }>, z.ZodObject<{
64153
65216
  type: z.ZodLiteral<"start_workspace_script_request">;
64154
65217
  workspaceId: z.ZodString;
@@ -65246,6 +66309,12 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
65246
66309
  type: "wait_for_finish_request";
65247
66310
  requestId: string;
65248
66311
  timeoutMs?: number | undefined;
66312
+ } | {
66313
+ type: "daemon.get_status.request";
66314
+ requestId: string;
66315
+ } | {
66316
+ type: "daemon.get_pairing_offer.request";
66317
+ requestId: string;
65249
66318
  } | {
65250
66319
  type: "get_daemon_config_request";
65251
66320
  requestId: string;
@@ -65275,6 +66344,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
65275
66344
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
65276
66345
  }, z.ZodTypeAny, "passthrough">> | undefined;
65277
66346
  autoArchiveAfterMerge?: boolean | undefined;
66347
+ appendSystemPrompt?: string | undefined;
65278
66348
  } & {
65279
66349
  [k: string]: unknown;
65280
66350
  };
@@ -65388,6 +66458,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
65388
66458
  };
65389
66459
  requestId: string;
65390
66460
  labels: Record<string, string>;
66461
+ worktree?: {
66462
+ mode: "branch-off";
66463
+ newBranch: string;
66464
+ base?: string | undefined;
66465
+ } | {
66466
+ mode: "checkout-branch";
66467
+ branch: string;
66468
+ } | {
66469
+ mode: "checkout-pr";
66470
+ prNumber: number;
66471
+ } | undefined;
66472
+ env?: Record<string, string> | undefined;
65391
66473
  git?: {
65392
66474
  worktreeSlug?: string | undefined;
65393
66475
  baseBranch?: string | undefined;
@@ -65456,6 +66538,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
65456
66538
  initialPrompt?: string | undefined;
65457
66539
  clientMessageId?: string | undefined;
65458
66540
  outputSchema?: Record<string, unknown> | undefined;
66541
+ autoArchive?: boolean | undefined;
65459
66542
  } | {
65460
66543
  type: "list_provider_models_request";
65461
66544
  requestId: string;
@@ -65662,6 +66745,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
65662
66745
  cwd: string;
65663
66746
  branch: string;
65664
66747
  requestId: string;
66748
+ } | {
66749
+ type: "checkout.rename_branch.request";
66750
+ cwd: string;
66751
+ branch: string;
66752
+ requestId: string;
65665
66753
  } | {
65666
66754
  type: "stash_save_request";
65667
66755
  cwd: string;
@@ -65916,6 +67004,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
65916
67004
  name?: string | undefined;
65917
67005
  command?: string | undefined;
65918
67006
  args?: string[] | undefined;
67007
+ } | {
67008
+ title: string;
67009
+ type: "terminal.rename.request";
67010
+ requestId: string;
67011
+ terminalId: string;
65919
67012
  } | {
65920
67013
  type: "start_workspace_script_request";
65921
67014
  scriptName: string;
@@ -66248,6 +67341,12 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
66248
67341
  type: "wait_for_finish_request";
66249
67342
  requestId: string;
66250
67343
  timeoutMs?: number | undefined;
67344
+ } | {
67345
+ type: "daemon.get_status.request";
67346
+ requestId: string;
67347
+ } | {
67348
+ type: "daemon.get_pairing_offer.request";
67349
+ requestId: string;
66251
67350
  } | {
66252
67351
  type: "get_daemon_config_request";
66253
67352
  requestId: string;
@@ -66277,6 +67376,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
66277
67376
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
66278
67377
  }, z.ZodTypeAny, "passthrough">> | undefined;
66279
67378
  autoArchiveAfterMerge?: boolean | undefined;
67379
+ appendSystemPrompt?: string | undefined;
66280
67380
  } & {
66281
67381
  [k: string]: unknown;
66282
67382
  };
@@ -66360,6 +67460,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
66360
67460
  featureValues?: Record<string, unknown> | undefined;
66361
67461
  };
66362
67462
  requestId: string;
67463
+ worktree?: {
67464
+ mode: "branch-off";
67465
+ newBranch: string;
67466
+ base?: string | undefined;
67467
+ } | {
67468
+ mode: "checkout-branch";
67469
+ branch: string;
67470
+ } | {
67471
+ mode: "checkout-pr";
67472
+ prNumber: number;
67473
+ } | undefined;
67474
+ env?: Record<string, string> | undefined;
66363
67475
  git?: {
66364
67476
  worktreeSlug?: string | undefined;
66365
67477
  baseBranch?: string | undefined;
@@ -66381,6 +67493,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
66381
67493
  initialPrompt?: string | undefined;
66382
67494
  clientMessageId?: string | undefined;
66383
67495
  outputSchema?: Record<string, unknown> | undefined;
67496
+ autoArchive?: boolean | undefined;
66384
67497
  } | {
66385
67498
  type: "list_provider_models_request";
66386
67499
  requestId: string;
@@ -66587,6 +67700,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
66587
67700
  cwd: string;
66588
67701
  branch: string;
66589
67702
  requestId: string;
67703
+ } | {
67704
+ type: "checkout.rename_branch.request";
67705
+ cwd: string;
67706
+ branch: string;
67707
+ requestId: string;
66590
67708
  } | {
66591
67709
  type: "stash_save_request";
66592
67710
  cwd: string;
@@ -66745,6 +67863,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
66745
67863
  name?: string | undefined;
66746
67864
  command?: string | undefined;
66747
67865
  args?: string[] | undefined;
67866
+ } | {
67867
+ title: string;
67868
+ type: "terminal.rename.request";
67869
+ requestId: string;
67870
+ terminalId: string;
66748
67871
  } | {
66749
67872
  type: "start_workspace_script_request";
66750
67873
  scriptName: string;
@@ -76911,6 +78034,217 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
76911
78034
  retryable?: boolean | undefined;
76912
78035
  missingModelIds?: string[] | undefined;
76913
78036
  };
78037
+ }>, z.ZodObject<{
78038
+ type: z.ZodLiteral<"daemon.get_status.response">;
78039
+ payload: z.ZodObject<{
78040
+ requestId: z.ZodString;
78041
+ serverId: z.ZodString;
78042
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78043
+ pid: z.ZodNumber;
78044
+ nodePath: z.ZodString;
78045
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78046
+ listen: z.ZodNullable<z.ZodString>;
78047
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
78048
+ enabled: z.ZodBoolean;
78049
+ endpoint: z.ZodString;
78050
+ publicEndpoint: z.ZodString;
78051
+ useTls: z.ZodBoolean;
78052
+ publicUseTls: z.ZodBoolean;
78053
+ }, "strip", z.ZodTypeAny, {
78054
+ enabled: boolean;
78055
+ endpoint: string;
78056
+ publicEndpoint: string;
78057
+ useTls: boolean;
78058
+ publicUseTls: boolean;
78059
+ }, {
78060
+ enabled: boolean;
78061
+ endpoint: string;
78062
+ publicEndpoint: string;
78063
+ useTls: boolean;
78064
+ publicUseTls: boolean;
78065
+ }>>>;
78066
+ providers: z.ZodArray<z.ZodObject<{
78067
+ provider: z.ZodString;
78068
+ available: z.ZodBoolean;
78069
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78070
+ }, "strip", z.ZodTypeAny, {
78071
+ provider: string;
78072
+ available: boolean;
78073
+ error?: string | null | undefined;
78074
+ }, {
78075
+ provider: string;
78076
+ available: boolean;
78077
+ error?: string | null | undefined;
78078
+ }>, "many">;
78079
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
78080
+ requestId: z.ZodString;
78081
+ serverId: z.ZodString;
78082
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78083
+ pid: z.ZodNumber;
78084
+ nodePath: z.ZodString;
78085
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78086
+ listen: z.ZodNullable<z.ZodString>;
78087
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
78088
+ enabled: z.ZodBoolean;
78089
+ endpoint: z.ZodString;
78090
+ publicEndpoint: z.ZodString;
78091
+ useTls: z.ZodBoolean;
78092
+ publicUseTls: z.ZodBoolean;
78093
+ }, "strip", z.ZodTypeAny, {
78094
+ enabled: boolean;
78095
+ endpoint: string;
78096
+ publicEndpoint: string;
78097
+ useTls: boolean;
78098
+ publicUseTls: boolean;
78099
+ }, {
78100
+ enabled: boolean;
78101
+ endpoint: string;
78102
+ publicEndpoint: string;
78103
+ useTls: boolean;
78104
+ publicUseTls: boolean;
78105
+ }>>>;
78106
+ providers: z.ZodArray<z.ZodObject<{
78107
+ provider: z.ZodString;
78108
+ available: z.ZodBoolean;
78109
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78110
+ }, "strip", z.ZodTypeAny, {
78111
+ provider: string;
78112
+ available: boolean;
78113
+ error?: string | null | undefined;
78114
+ }, {
78115
+ provider: string;
78116
+ available: boolean;
78117
+ error?: string | null | undefined;
78118
+ }>, "many">;
78119
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
78120
+ requestId: z.ZodString;
78121
+ serverId: z.ZodString;
78122
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78123
+ pid: z.ZodNumber;
78124
+ nodePath: z.ZodString;
78125
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78126
+ listen: z.ZodNullable<z.ZodString>;
78127
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
78128
+ enabled: z.ZodBoolean;
78129
+ endpoint: z.ZodString;
78130
+ publicEndpoint: z.ZodString;
78131
+ useTls: z.ZodBoolean;
78132
+ publicUseTls: z.ZodBoolean;
78133
+ }, "strip", z.ZodTypeAny, {
78134
+ enabled: boolean;
78135
+ endpoint: string;
78136
+ publicEndpoint: string;
78137
+ useTls: boolean;
78138
+ publicUseTls: boolean;
78139
+ }, {
78140
+ enabled: boolean;
78141
+ endpoint: string;
78142
+ publicEndpoint: string;
78143
+ useTls: boolean;
78144
+ publicUseTls: boolean;
78145
+ }>>>;
78146
+ providers: z.ZodArray<z.ZodObject<{
78147
+ provider: z.ZodString;
78148
+ available: z.ZodBoolean;
78149
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78150
+ }, "strip", z.ZodTypeAny, {
78151
+ provider: string;
78152
+ available: boolean;
78153
+ error?: string | null | undefined;
78154
+ }, {
78155
+ provider: string;
78156
+ available: boolean;
78157
+ error?: string | null | undefined;
78158
+ }>, "many">;
78159
+ }, z.ZodTypeAny, "passthrough">>;
78160
+ }, "strip", z.ZodTypeAny, {
78161
+ type: "daemon.get_status.response";
78162
+ payload: {
78163
+ serverId: string;
78164
+ requestId: string;
78165
+ providers: {
78166
+ provider: string;
78167
+ available: boolean;
78168
+ error?: string | null | undefined;
78169
+ }[];
78170
+ pid: number;
78171
+ nodePath: string;
78172
+ listen: string | null;
78173
+ version?: string | null | undefined;
78174
+ startedAt?: string | null | undefined;
78175
+ relay?: {
78176
+ enabled: boolean;
78177
+ endpoint: string;
78178
+ publicEndpoint: string;
78179
+ useTls: boolean;
78180
+ publicUseTls: boolean;
78181
+ } | null | undefined;
78182
+ } & {
78183
+ [k: string]: unknown;
78184
+ };
78185
+ }, {
78186
+ type: "daemon.get_status.response";
78187
+ payload: {
78188
+ serverId: string;
78189
+ requestId: string;
78190
+ providers: {
78191
+ provider: string;
78192
+ available: boolean;
78193
+ error?: string | null | undefined;
78194
+ }[];
78195
+ pid: number;
78196
+ nodePath: string;
78197
+ listen: string | null;
78198
+ version?: string | null | undefined;
78199
+ startedAt?: string | null | undefined;
78200
+ relay?: {
78201
+ enabled: boolean;
78202
+ endpoint: string;
78203
+ publicEndpoint: string;
78204
+ useTls: boolean;
78205
+ publicUseTls: boolean;
78206
+ } | null | undefined;
78207
+ } & {
78208
+ [k: string]: unknown;
78209
+ };
78210
+ }>, z.ZodObject<{
78211
+ type: z.ZodLiteral<"daemon.get_pairing_offer.response">;
78212
+ payload: z.ZodObject<{
78213
+ requestId: z.ZodString;
78214
+ url: z.ZodString;
78215
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78216
+ relayEnabled: z.ZodBoolean;
78217
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
78218
+ requestId: z.ZodString;
78219
+ url: z.ZodString;
78220
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78221
+ relayEnabled: z.ZodBoolean;
78222
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
78223
+ requestId: z.ZodString;
78224
+ url: z.ZodString;
78225
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78226
+ relayEnabled: z.ZodBoolean;
78227
+ }, z.ZodTypeAny, "passthrough">>;
78228
+ }, "strip", z.ZodTypeAny, {
78229
+ type: "daemon.get_pairing_offer.response";
78230
+ payload: {
78231
+ url: string;
78232
+ requestId: string;
78233
+ relayEnabled: boolean;
78234
+ qr?: string | null | undefined;
78235
+ } & {
78236
+ [k: string]: unknown;
78237
+ };
78238
+ }, {
78239
+ type: "daemon.get_pairing_offer.response";
78240
+ payload: {
78241
+ url: string;
78242
+ requestId: string;
78243
+ relayEnabled: boolean;
78244
+ qr?: string | null | undefined;
78245
+ } & {
78246
+ [k: string]: unknown;
78247
+ };
76914
78248
  }>, z.ZodObject<{
76915
78249
  type: z.ZodLiteral<"get_daemon_config_response">;
76916
78250
  payload: z.ZodObject<{
@@ -76979,6 +78313,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
76979
78313
  }, z.ZodTypeAny, "passthrough">>, "many">>;
76980
78314
  }, z.ZodTypeAny, "passthrough">>>>;
76981
78315
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78316
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
76982
78317
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
76983
78318
  mcp: z.ZodObject<{
76984
78319
  injectIntoAgents: z.ZodBoolean;
@@ -77043,6 +78378,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77043
78378
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77044
78379
  }, z.ZodTypeAny, "passthrough">>>>;
77045
78380
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78381
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77046
78382
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
77047
78383
  mcp: z.ZodObject<{
77048
78384
  injectIntoAgents: z.ZodBoolean;
@@ -77107,6 +78443,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77107
78443
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77108
78444
  }, z.ZodTypeAny, "passthrough">>>>;
77109
78445
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78446
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77110
78447
  }, z.ZodTypeAny, "passthrough">>;
77111
78448
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
77112
78449
  requestId: z.ZodString;
@@ -77174,6 +78511,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77174
78511
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77175
78512
  }, z.ZodTypeAny, "passthrough">>>>;
77176
78513
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78514
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77177
78515
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
77178
78516
  mcp: z.ZodObject<{
77179
78517
  injectIntoAgents: z.ZodBoolean;
@@ -77238,6 +78576,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77238
78576
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77239
78577
  }, z.ZodTypeAny, "passthrough">>>>;
77240
78578
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78579
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77241
78580
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
77242
78581
  mcp: z.ZodObject<{
77243
78582
  injectIntoAgents: z.ZodBoolean;
@@ -77302,6 +78641,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77302
78641
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77303
78642
  }, z.ZodTypeAny, "passthrough">>>>;
77304
78643
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78644
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77305
78645
  }, z.ZodTypeAny, "passthrough">>;
77306
78646
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
77307
78647
  requestId: z.ZodString;
@@ -77369,6 +78709,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77369
78709
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77370
78710
  }, z.ZodTypeAny, "passthrough">>>>;
77371
78711
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78712
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77372
78713
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
77373
78714
  mcp: z.ZodObject<{
77374
78715
  injectIntoAgents: z.ZodBoolean;
@@ -77433,6 +78774,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77433
78774
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77434
78775
  }, z.ZodTypeAny, "passthrough">>>>;
77435
78776
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78777
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77436
78778
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
77437
78779
  mcp: z.ZodObject<{
77438
78780
  injectIntoAgents: z.ZodBoolean;
@@ -77497,6 +78839,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77497
78839
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77498
78840
  }, z.ZodTypeAny, "passthrough">>>>;
77499
78841
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78842
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77500
78843
  }, z.ZodTypeAny, "passthrough">>;
77501
78844
  }, z.ZodTypeAny, "passthrough">>;
77502
78845
  }, "strip", z.ZodTypeAny, {
@@ -77528,6 +78871,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77528
78871
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77529
78872
  }, z.ZodTypeAny, "passthrough">>;
77530
78873
  autoArchiveAfterMerge: boolean;
78874
+ appendSystemPrompt: string;
77531
78875
  } & {
77532
78876
  [k: string]: unknown;
77533
78877
  };
@@ -77564,6 +78908,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77564
78908
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77565
78909
  }, z.ZodTypeAny, "passthrough">> | undefined;
77566
78910
  autoArchiveAfterMerge?: boolean | undefined;
78911
+ appendSystemPrompt?: string | undefined;
77567
78912
  } & {
77568
78913
  [k: string]: unknown;
77569
78914
  };
@@ -77639,6 +78984,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77639
78984
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77640
78985
  }, z.ZodTypeAny, "passthrough">>>>;
77641
78986
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
78987
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77642
78988
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
77643
78989
  mcp: z.ZodObject<{
77644
78990
  injectIntoAgents: z.ZodBoolean;
@@ -77703,6 +79049,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77703
79049
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77704
79050
  }, z.ZodTypeAny, "passthrough">>>>;
77705
79051
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79052
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77706
79053
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
77707
79054
  mcp: z.ZodObject<{
77708
79055
  injectIntoAgents: z.ZodBoolean;
@@ -77767,6 +79114,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77767
79114
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77768
79115
  }, z.ZodTypeAny, "passthrough">>>>;
77769
79116
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79117
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77770
79118
  }, z.ZodTypeAny, "passthrough">>;
77771
79119
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
77772
79120
  requestId: z.ZodString;
@@ -77834,6 +79182,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77834
79182
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77835
79183
  }, z.ZodTypeAny, "passthrough">>>>;
77836
79184
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79185
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77837
79186
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
77838
79187
  mcp: z.ZodObject<{
77839
79188
  injectIntoAgents: z.ZodBoolean;
@@ -77898,6 +79247,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77898
79247
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77899
79248
  }, z.ZodTypeAny, "passthrough">>>>;
77900
79249
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79250
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77901
79251
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
77902
79252
  mcp: z.ZodObject<{
77903
79253
  injectIntoAgents: z.ZodBoolean;
@@ -77962,6 +79312,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
77962
79312
  }, z.ZodTypeAny, "passthrough">>, "many">>;
77963
79313
  }, z.ZodTypeAny, "passthrough">>>>;
77964
79314
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79315
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
77965
79316
  }, z.ZodTypeAny, "passthrough">>;
77966
79317
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
77967
79318
  requestId: z.ZodString;
@@ -78029,6 +79380,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
78029
79380
  }, z.ZodTypeAny, "passthrough">>, "many">>;
78030
79381
  }, z.ZodTypeAny, "passthrough">>>>;
78031
79382
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79383
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
78032
79384
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
78033
79385
  mcp: z.ZodObject<{
78034
79386
  injectIntoAgents: z.ZodBoolean;
@@ -78093,6 +79445,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
78093
79445
  }, z.ZodTypeAny, "passthrough">>, "many">>;
78094
79446
  }, z.ZodTypeAny, "passthrough">>>>;
78095
79447
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79448
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
78096
79449
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
78097
79450
  mcp: z.ZodObject<{
78098
79451
  injectIntoAgents: z.ZodBoolean;
@@ -78157,6 +79510,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
78157
79510
  }, z.ZodTypeAny, "passthrough">>, "many">>;
78158
79511
  }, z.ZodTypeAny, "passthrough">>>>;
78159
79512
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
79513
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
78160
79514
  }, z.ZodTypeAny, "passthrough">>;
78161
79515
  }, z.ZodTypeAny, "passthrough">>;
78162
79516
  }, "strip", z.ZodTypeAny, {
@@ -78188,6 +79542,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
78188
79542
  }, z.ZodTypeAny, "passthrough">>, "many">>;
78189
79543
  }, z.ZodTypeAny, "passthrough">>;
78190
79544
  autoArchiveAfterMerge: boolean;
79545
+ appendSystemPrompt: string;
78191
79546
  } & {
78192
79547
  [k: string]: unknown;
78193
79548
  };
@@ -78224,6 +79579,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
78224
79579
  }, z.ZodTypeAny, "passthrough">>, "many">>;
78225
79580
  }, z.ZodTypeAny, "passthrough">> | undefined;
78226
79581
  autoArchiveAfterMerge?: boolean | undefined;
79582
+ appendSystemPrompt?: string | undefined;
78227
79583
  } & {
78228
79584
  [k: string]: unknown;
78229
79585
  };
@@ -83547,6 +84903,66 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
83547
84903
  success: boolean;
83548
84904
  source?: "local" | "remote" | undefined;
83549
84905
  };
84906
+ }>, z.ZodObject<{
84907
+ type: z.ZodLiteral<"checkout.rename_branch.response">;
84908
+ payload: z.ZodObject<{
84909
+ requestId: z.ZodString;
84910
+ success: z.ZodBoolean;
84911
+ cwd: z.ZodString;
84912
+ currentBranch: z.ZodNullable<z.ZodString>;
84913
+ error: z.ZodNullable<z.ZodObject<{
84914
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
84915
+ message: z.ZodString;
84916
+ }, "strip", z.ZodTypeAny, {
84917
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
84918
+ message: string;
84919
+ }, {
84920
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
84921
+ message: string;
84922
+ }>>;
84923
+ }, "strip", z.ZodTypeAny, {
84924
+ error: {
84925
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
84926
+ message: string;
84927
+ } | null;
84928
+ cwd: string;
84929
+ requestId: string;
84930
+ currentBranch: string | null;
84931
+ success: boolean;
84932
+ }, {
84933
+ error: {
84934
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
84935
+ message: string;
84936
+ } | null;
84937
+ cwd: string;
84938
+ requestId: string;
84939
+ currentBranch: string | null;
84940
+ success: boolean;
84941
+ }>;
84942
+ }, "strip", z.ZodTypeAny, {
84943
+ type: "checkout.rename_branch.response";
84944
+ payload: {
84945
+ error: {
84946
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
84947
+ message: string;
84948
+ } | null;
84949
+ cwd: string;
84950
+ requestId: string;
84951
+ currentBranch: string | null;
84952
+ success: boolean;
84953
+ };
84954
+ }, {
84955
+ type: "checkout.rename_branch.response";
84956
+ payload: {
84957
+ error: {
84958
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
84959
+ message: string;
84960
+ } | null;
84961
+ cwd: string;
84962
+ requestId: string;
84963
+ currentBranch: string | null;
84964
+ success: boolean;
84965
+ };
83550
84966
  }>, z.ZodObject<{
83551
84967
  type: z.ZodLiteral<"stash_save_response">;
83552
84968
  payload: z.ZodObject<{
@@ -86351,6 +87767,35 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
86351
87767
  title?: string | undefined;
86352
87768
  } | null;
86353
87769
  };
87770
+ }>, z.ZodObject<{
87771
+ type: z.ZodLiteral<"terminal.rename.response">;
87772
+ payload: z.ZodObject<{
87773
+ requestId: z.ZodString;
87774
+ success: z.ZodBoolean;
87775
+ error: z.ZodNullable<z.ZodString>;
87776
+ }, "strip", z.ZodTypeAny, {
87777
+ error: string | null;
87778
+ requestId: string;
87779
+ success: boolean;
87780
+ }, {
87781
+ error: string | null;
87782
+ requestId: string;
87783
+ success: boolean;
87784
+ }>;
87785
+ }, "strip", z.ZodTypeAny, {
87786
+ type: "terminal.rename.response";
87787
+ payload: {
87788
+ error: string | null;
87789
+ requestId: string;
87790
+ success: boolean;
87791
+ };
87792
+ }, {
87793
+ type: "terminal.rename.response";
87794
+ payload: {
87795
+ error: string | null;
87796
+ requestId: string;
87797
+ success: boolean;
87798
+ };
86354
87799
  }>, z.ZodObject<{
86355
87800
  type: z.ZodLiteral<"subscribe_terminal_response">;
86356
87801
  payload: z.ZodUnion<[z.ZodObject<{
@@ -95131,6 +96576,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
95131
96576
  }, z.ZodTypeAny, "passthrough">>, "many">>;
95132
96577
  }, z.ZodTypeAny, "passthrough">>;
95133
96578
  autoArchiveAfterMerge: boolean;
96579
+ appendSystemPrompt: string;
95134
96580
  } & {
95135
96581
  [k: string]: unknown;
95136
96582
  };
@@ -95138,6 +96584,41 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
95138
96584
  } & {
95139
96585
  [k: string]: unknown;
95140
96586
  };
96587
+ } | {
96588
+ type: "daemon.get_status.response";
96589
+ payload: {
96590
+ serverId: string;
96591
+ requestId: string;
96592
+ providers: {
96593
+ provider: string;
96594
+ available: boolean;
96595
+ error?: string | null | undefined;
96596
+ }[];
96597
+ pid: number;
96598
+ nodePath: string;
96599
+ listen: string | null;
96600
+ version?: string | null | undefined;
96601
+ startedAt?: string | null | undefined;
96602
+ relay?: {
96603
+ enabled: boolean;
96604
+ endpoint: string;
96605
+ publicEndpoint: string;
96606
+ useTls: boolean;
96607
+ publicUseTls: boolean;
96608
+ } | null | undefined;
96609
+ } & {
96610
+ [k: string]: unknown;
96611
+ };
96612
+ } | {
96613
+ type: "daemon.get_pairing_offer.response";
96614
+ payload: {
96615
+ url: string;
96616
+ requestId: string;
96617
+ relayEnabled: boolean;
96618
+ qr?: string | null | undefined;
96619
+ } & {
96620
+ [k: string]: unknown;
96621
+ };
95141
96622
  } | {
95142
96623
  type: "set_daemon_config_response";
95143
96624
  payload: {
@@ -95167,6 +96648,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
95167
96648
  }, z.ZodTypeAny, "passthrough">>, "many">>;
95168
96649
  }, z.ZodTypeAny, "passthrough">>;
95169
96650
  autoArchiveAfterMerge: boolean;
96651
+ appendSystemPrompt: string;
95170
96652
  } & {
95171
96653
  [k: string]: unknown;
95172
96654
  };
@@ -95869,6 +97351,18 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
95869
97351
  success: boolean;
95870
97352
  source?: "local" | "remote" | undefined;
95871
97353
  };
97354
+ } | {
97355
+ type: "checkout.rename_branch.response";
97356
+ payload: {
97357
+ error: {
97358
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
97359
+ message: string;
97360
+ } | null;
97361
+ cwd: string;
97362
+ requestId: string;
97363
+ currentBranch: string | null;
97364
+ success: boolean;
97365
+ };
95872
97366
  } | {
95873
97367
  type: "stash_save_response";
95874
97368
  payload: {
@@ -96285,6 +97779,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
96285
97779
  title?: string | undefined;
96286
97780
  } | null;
96287
97781
  };
97782
+ } | {
97783
+ type: "terminal.rename.response";
97784
+ payload: {
97785
+ error: string | null;
97786
+ requestId: string;
97787
+ success: boolean;
97788
+ };
96288
97789
  } | {
96289
97790
  type: "subscribe_terminal_response";
96290
97791
  payload: {
@@ -98473,6 +99974,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
98473
99974
  }, z.ZodTypeAny, "passthrough">>, "many">>;
98474
99975
  }, z.ZodTypeAny, "passthrough">> | undefined;
98475
99976
  autoArchiveAfterMerge?: boolean | undefined;
99977
+ appendSystemPrompt?: string | undefined;
98476
99978
  } & {
98477
99979
  [k: string]: unknown;
98478
99980
  };
@@ -98480,6 +99982,41 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
98480
99982
  } & {
98481
99983
  [k: string]: unknown;
98482
99984
  };
99985
+ } | {
99986
+ type: "daemon.get_status.response";
99987
+ payload: {
99988
+ serverId: string;
99989
+ requestId: string;
99990
+ providers: {
99991
+ provider: string;
99992
+ available: boolean;
99993
+ error?: string | null | undefined;
99994
+ }[];
99995
+ pid: number;
99996
+ nodePath: string;
99997
+ listen: string | null;
99998
+ version?: string | null | undefined;
99999
+ startedAt?: string | null | undefined;
100000
+ relay?: {
100001
+ enabled: boolean;
100002
+ endpoint: string;
100003
+ publicEndpoint: string;
100004
+ useTls: boolean;
100005
+ publicUseTls: boolean;
100006
+ } | null | undefined;
100007
+ } & {
100008
+ [k: string]: unknown;
100009
+ };
100010
+ } | {
100011
+ type: "daemon.get_pairing_offer.response";
100012
+ payload: {
100013
+ url: string;
100014
+ requestId: string;
100015
+ relayEnabled: boolean;
100016
+ qr?: string | null | undefined;
100017
+ } & {
100018
+ [k: string]: unknown;
100019
+ };
98483
100020
  } | {
98484
100021
  type: "set_daemon_config_response";
98485
100022
  payload: {
@@ -98509,6 +100046,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
98509
100046
  }, z.ZodTypeAny, "passthrough">>, "many">>;
98510
100047
  }, z.ZodTypeAny, "passthrough">> | undefined;
98511
100048
  autoArchiveAfterMerge?: boolean | undefined;
100049
+ appendSystemPrompt?: string | undefined;
98512
100050
  } & {
98513
100051
  [k: string]: unknown;
98514
100052
  };
@@ -99158,6 +100696,18 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
99158
100696
  success: boolean;
99159
100697
  source?: "local" | "remote" | undefined;
99160
100698
  };
100699
+ } | {
100700
+ type: "checkout.rename_branch.response";
100701
+ payload: {
100702
+ error: {
100703
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
100704
+ message: string;
100705
+ } | null;
100706
+ cwd: string;
100707
+ requestId: string;
100708
+ currentBranch: string | null;
100709
+ success: boolean;
100710
+ };
99161
100711
  } | {
99162
100712
  type: "stash_save_response";
99163
100713
  payload: {
@@ -99574,6 +101124,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
99574
101124
  title?: string | undefined;
99575
101125
  } | null;
99576
101126
  };
101127
+ } | {
101128
+ type: "terminal.rename.response";
101129
+ payload: {
101130
+ error: string | null;
101131
+ requestId: string;
101132
+ success: boolean;
101133
+ };
99577
101134
  } | {
99578
101135
  type: "subscribe_terminal_response";
99579
101136
  payload: {
@@ -100233,6 +101790,24 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
100233
101790
  type: "wait_for_finish_request";
100234
101791
  requestId: string;
100235
101792
  timeoutMs?: number | undefined;
101793
+ }>, z.ZodObject<{
101794
+ type: z.ZodLiteral<"daemon.get_status.request">;
101795
+ requestId: z.ZodString;
101796
+ }, "strip", z.ZodTypeAny, {
101797
+ type: "daemon.get_status.request";
101798
+ requestId: string;
101799
+ }, {
101800
+ type: "daemon.get_status.request";
101801
+ requestId: string;
101802
+ }>, z.ZodObject<{
101803
+ type: z.ZodLiteral<"daemon.get_pairing_offer.request">;
101804
+ requestId: z.ZodString;
101805
+ }, "strip", z.ZodTypeAny, {
101806
+ type: "daemon.get_pairing_offer.request";
101807
+ requestId: string;
101808
+ }, {
101809
+ type: "daemon.get_pairing_offer.request";
101810
+ requestId: string;
100236
101811
  }>, z.ZodObject<{
100237
101812
  type: z.ZodLiteral<"get_daemon_config_request">;
100238
101813
  requestId: z.ZodString;
@@ -100309,6 +101884,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
100309
101884
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
100310
101885
  }, z.ZodTypeAny, "passthrough">>>>>;
100311
101886
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
101887
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
100312
101888
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
100313
101889
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
100314
101890
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -100373,6 +101949,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
100373
101949
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
100374
101950
  }, z.ZodTypeAny, "passthrough">>>>>;
100375
101951
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
101952
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
100376
101953
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
100377
101954
  mcp: z.ZodOptional<z.ZodOptional<z.ZodObject<{
100378
101955
  injectIntoAgents: z.ZodOptional<z.ZodBoolean>;
@@ -100437,6 +102014,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
100437
102014
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
100438
102015
  }, z.ZodTypeAny, "passthrough">>>>>;
100439
102016
  autoArchiveAfterMerge: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
102017
+ appendSystemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
100440
102018
  }, z.ZodTypeAny, "passthrough">>;
100441
102019
  }, "strip", z.ZodTypeAny, {
100442
102020
  type: "set_daemon_config_request";
@@ -100464,6 +102042,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
100464
102042
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
100465
102043
  }, z.ZodTypeAny, "passthrough">> | undefined;
100466
102044
  autoArchiveAfterMerge?: boolean | undefined;
102045
+ appendSystemPrompt?: string | undefined;
100467
102046
  } & {
100468
102047
  [k: string]: unknown;
100469
102048
  };
@@ -100494,6 +102073,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
100494
102073
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
100495
102074
  }, z.ZodTypeAny, "passthrough">> | undefined;
100496
102075
  autoArchiveAfterMerge?: boolean | undefined;
102076
+ appendSystemPrompt?: string | undefined;
100497
102077
  } & {
100498
102078
  [k: string]: unknown;
100499
102079
  };
@@ -101124,6 +102704,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
101124
102704
  }> | undefined;
101125
102705
  featureValues?: Record<string, unknown> | undefined;
101126
102706
  }>;
102707
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
101127
102708
  workspaceId: z.ZodOptional<z.ZodString>;
101128
102709
  worktreeName: z.ZodOptional<z.ZodString>;
101129
102710
  initialPrompt: z.ZodOptional<z.ZodString>;
@@ -101216,6 +102797,38 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
101216
102797
  action?: "branch-off" | "checkout" | undefined;
101217
102798
  githubPrNumber?: number | undefined;
101218
102799
  }>>;
102800
+ worktree: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
102801
+ mode: z.ZodLiteral<"branch-off">;
102802
+ newBranch: z.ZodString;
102803
+ base: z.ZodOptional<z.ZodString>;
102804
+ }, "strip", z.ZodTypeAny, {
102805
+ mode: "branch-off";
102806
+ newBranch: string;
102807
+ base?: string | undefined;
102808
+ }, {
102809
+ mode: "branch-off";
102810
+ newBranch: string;
102811
+ base?: string | undefined;
102812
+ }>, z.ZodObject<{
102813
+ mode: z.ZodLiteral<"checkout-branch">;
102814
+ branch: z.ZodString;
102815
+ }, "strip", z.ZodTypeAny, {
102816
+ mode: "checkout-branch";
102817
+ branch: string;
102818
+ }, {
102819
+ mode: "checkout-branch";
102820
+ branch: string;
102821
+ }>, z.ZodObject<{
102822
+ mode: z.ZodLiteral<"checkout-pr">;
102823
+ prNumber: z.ZodNumber;
102824
+ }, "strip", z.ZodTypeAny, {
102825
+ mode: "checkout-pr";
102826
+ prNumber: number;
102827
+ }, {
102828
+ mode: "checkout-pr";
102829
+ prNumber: number;
102830
+ }>]>>;
102831
+ autoArchive: z.ZodOptional<z.ZodBoolean>;
101219
102832
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
101220
102833
  requestId: z.ZodString;
101221
102834
  }, "strip", z.ZodTypeAny, {
@@ -101254,6 +102867,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
101254
102867
  };
101255
102868
  requestId: string;
101256
102869
  labels: Record<string, string>;
102870
+ worktree?: {
102871
+ mode: "branch-off";
102872
+ newBranch: string;
102873
+ base?: string | undefined;
102874
+ } | {
102875
+ mode: "checkout-branch";
102876
+ branch: string;
102877
+ } | {
102878
+ mode: "checkout-pr";
102879
+ prNumber: number;
102880
+ } | undefined;
102881
+ env?: Record<string, string> | undefined;
101257
102882
  git?: {
101258
102883
  worktreeSlug?: string | undefined;
101259
102884
  baseBranch?: string | undefined;
@@ -101322,6 +102947,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
101322
102947
  initialPrompt?: string | undefined;
101323
102948
  clientMessageId?: string | undefined;
101324
102949
  outputSchema?: Record<string, unknown> | undefined;
102950
+ autoArchive?: boolean | undefined;
101325
102951
  }, {
101326
102952
  type: "create_agent_request";
101327
102953
  config: {
@@ -101357,6 +102983,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
101357
102983
  featureValues?: Record<string, unknown> | undefined;
101358
102984
  };
101359
102985
  requestId: string;
102986
+ worktree?: {
102987
+ mode: "branch-off";
102988
+ newBranch: string;
102989
+ base?: string | undefined;
102990
+ } | {
102991
+ mode: "checkout-branch";
102992
+ branch: string;
102993
+ } | {
102994
+ mode: "checkout-pr";
102995
+ prNumber: number;
102996
+ } | undefined;
102997
+ env?: Record<string, string> | undefined;
101360
102998
  git?: {
101361
102999
  worktreeSlug?: string | undefined;
101362
103000
  baseBranch?: string | undefined;
@@ -101378,6 +103016,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
101378
103016
  initialPrompt?: string | undefined;
101379
103017
  clientMessageId?: string | undefined;
101380
103018
  outputSchema?: Record<string, unknown> | undefined;
103019
+ autoArchive?: boolean | undefined;
101381
103020
  }>, z.ZodObject<{
101382
103021
  type: z.ZodLiteral<"list_provider_models_request">;
101383
103022
  provider: z.ZodString;
@@ -102136,6 +103775,21 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
102136
103775
  cwd: string;
102137
103776
  branch: string;
102138
103777
  requestId: string;
103778
+ }>, z.ZodObject<{
103779
+ type: z.ZodLiteral<"checkout.rename_branch.request">;
103780
+ cwd: z.ZodString;
103781
+ branch: z.ZodString;
103782
+ requestId: z.ZodString;
103783
+ }, "strip", z.ZodTypeAny, {
103784
+ type: "checkout.rename_branch.request";
103785
+ cwd: string;
103786
+ branch: string;
103787
+ requestId: string;
103788
+ }, {
103789
+ type: "checkout.rename_branch.request";
103790
+ cwd: string;
103791
+ branch: string;
103792
+ requestId: string;
102139
103793
  }>, z.ZodObject<{
102140
103794
  type: z.ZodLiteral<"stash_save_request">;
102141
103795
  cwd: z.ZodString;
@@ -102855,6 +104509,21 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
102855
104509
  name?: string | undefined;
102856
104510
  command?: string | undefined;
102857
104511
  args?: string[] | undefined;
104512
+ }>, z.ZodObject<{
104513
+ type: z.ZodLiteral<"terminal.rename.request">;
104514
+ terminalId: z.ZodString;
104515
+ title: z.ZodString;
104516
+ requestId: z.ZodString;
104517
+ }, "strip", z.ZodTypeAny, {
104518
+ title: string;
104519
+ type: "terminal.rename.request";
104520
+ requestId: string;
104521
+ terminalId: string;
104522
+ }, {
104523
+ title: string;
104524
+ type: "terminal.rename.request";
104525
+ requestId: string;
104526
+ terminalId: string;
102858
104527
  }>, z.ZodObject<{
102859
104528
  type: z.ZodLiteral<"start_workspace_script_request">;
102860
104529
  workspaceId: z.ZodString;
@@ -103952,6 +105621,12 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
103952
105621
  type: "wait_for_finish_request";
103953
105622
  requestId: string;
103954
105623
  timeoutMs?: number | undefined;
105624
+ } | {
105625
+ type: "daemon.get_status.request";
105626
+ requestId: string;
105627
+ } | {
105628
+ type: "daemon.get_pairing_offer.request";
105629
+ requestId: string;
103955
105630
  } | {
103956
105631
  type: "get_daemon_config_request";
103957
105632
  requestId: string;
@@ -103981,6 +105656,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
103981
105656
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
103982
105657
  }, z.ZodTypeAny, "passthrough">> | undefined;
103983
105658
  autoArchiveAfterMerge?: boolean | undefined;
105659
+ appendSystemPrompt?: string | undefined;
103984
105660
  } & {
103985
105661
  [k: string]: unknown;
103986
105662
  };
@@ -104094,6 +105770,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
104094
105770
  };
104095
105771
  requestId: string;
104096
105772
  labels: Record<string, string>;
105773
+ worktree?: {
105774
+ mode: "branch-off";
105775
+ newBranch: string;
105776
+ base?: string | undefined;
105777
+ } | {
105778
+ mode: "checkout-branch";
105779
+ branch: string;
105780
+ } | {
105781
+ mode: "checkout-pr";
105782
+ prNumber: number;
105783
+ } | undefined;
105784
+ env?: Record<string, string> | undefined;
104097
105785
  git?: {
104098
105786
  worktreeSlug?: string | undefined;
104099
105787
  baseBranch?: string | undefined;
@@ -104162,6 +105850,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
104162
105850
  initialPrompt?: string | undefined;
104163
105851
  clientMessageId?: string | undefined;
104164
105852
  outputSchema?: Record<string, unknown> | undefined;
105853
+ autoArchive?: boolean | undefined;
104165
105854
  } | {
104166
105855
  type: "list_provider_models_request";
104167
105856
  requestId: string;
@@ -104368,6 +106057,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
104368
106057
  cwd: string;
104369
106058
  branch: string;
104370
106059
  requestId: string;
106060
+ } | {
106061
+ type: "checkout.rename_branch.request";
106062
+ cwd: string;
106063
+ branch: string;
106064
+ requestId: string;
104371
106065
  } | {
104372
106066
  type: "stash_save_request";
104373
106067
  cwd: string;
@@ -104622,6 +106316,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
104622
106316
  name?: string | undefined;
104623
106317
  command?: string | undefined;
104624
106318
  args?: string[] | undefined;
106319
+ } | {
106320
+ title: string;
106321
+ type: "terminal.rename.request";
106322
+ requestId: string;
106323
+ terminalId: string;
104625
106324
  } | {
104626
106325
  type: "start_workspace_script_request";
104627
106326
  scriptName: string;
@@ -104954,6 +106653,12 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
104954
106653
  type: "wait_for_finish_request";
104955
106654
  requestId: string;
104956
106655
  timeoutMs?: number | undefined;
106656
+ } | {
106657
+ type: "daemon.get_status.request";
106658
+ requestId: string;
106659
+ } | {
106660
+ type: "daemon.get_pairing_offer.request";
106661
+ requestId: string;
104957
106662
  } | {
104958
106663
  type: "get_daemon_config_request";
104959
106664
  requestId: string;
@@ -104983,6 +106688,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
104983
106688
  }, z.ZodTypeAny, "passthrough">>, "many">>>;
104984
106689
  }, z.ZodTypeAny, "passthrough">> | undefined;
104985
106690
  autoArchiveAfterMerge?: boolean | undefined;
106691
+ appendSystemPrompt?: string | undefined;
104986
106692
  } & {
104987
106693
  [k: string]: unknown;
104988
106694
  };
@@ -105066,6 +106772,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
105066
106772
  featureValues?: Record<string, unknown> | undefined;
105067
106773
  };
105068
106774
  requestId: string;
106775
+ worktree?: {
106776
+ mode: "branch-off";
106777
+ newBranch: string;
106778
+ base?: string | undefined;
106779
+ } | {
106780
+ mode: "checkout-branch";
106781
+ branch: string;
106782
+ } | {
106783
+ mode: "checkout-pr";
106784
+ prNumber: number;
106785
+ } | undefined;
106786
+ env?: Record<string, string> | undefined;
105069
106787
  git?: {
105070
106788
  worktreeSlug?: string | undefined;
105071
106789
  baseBranch?: string | undefined;
@@ -105087,6 +106805,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
105087
106805
  initialPrompt?: string | undefined;
105088
106806
  clientMessageId?: string | undefined;
105089
106807
  outputSchema?: Record<string, unknown> | undefined;
106808
+ autoArchive?: boolean | undefined;
105090
106809
  } | {
105091
106810
  type: "list_provider_models_request";
105092
106811
  requestId: string;
@@ -105293,6 +107012,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
105293
107012
  cwd: string;
105294
107013
  branch: string;
105295
107014
  requestId: string;
107015
+ } | {
107016
+ type: "checkout.rename_branch.request";
107017
+ cwd: string;
107018
+ branch: string;
107019
+ requestId: string;
105296
107020
  } | {
105297
107021
  type: "stash_save_request";
105298
107022
  cwd: string;
@@ -105451,6 +107175,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
105451
107175
  name?: string | undefined;
105452
107176
  command?: string | undefined;
105453
107177
  args?: string[] | undefined;
107178
+ } | {
107179
+ title: string;
107180
+ type: "terminal.rename.request";
107181
+ requestId: string;
107182
+ terminalId: string;
105454
107183
  } | {
105455
107184
  type: "start_workspace_script_request";
105456
107185
  scriptName: string;
@@ -115623,6 +117352,217 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
115623
117352
  retryable?: boolean | undefined;
115624
117353
  missingModelIds?: string[] | undefined;
115625
117354
  };
117355
+ }>, z.ZodObject<{
117356
+ type: z.ZodLiteral<"daemon.get_status.response">;
117357
+ payload: z.ZodObject<{
117358
+ requestId: z.ZodString;
117359
+ serverId: z.ZodString;
117360
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117361
+ pid: z.ZodNumber;
117362
+ nodePath: z.ZodString;
117363
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117364
+ listen: z.ZodNullable<z.ZodString>;
117365
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
117366
+ enabled: z.ZodBoolean;
117367
+ endpoint: z.ZodString;
117368
+ publicEndpoint: z.ZodString;
117369
+ useTls: z.ZodBoolean;
117370
+ publicUseTls: z.ZodBoolean;
117371
+ }, "strip", z.ZodTypeAny, {
117372
+ enabled: boolean;
117373
+ endpoint: string;
117374
+ publicEndpoint: string;
117375
+ useTls: boolean;
117376
+ publicUseTls: boolean;
117377
+ }, {
117378
+ enabled: boolean;
117379
+ endpoint: string;
117380
+ publicEndpoint: string;
117381
+ useTls: boolean;
117382
+ publicUseTls: boolean;
117383
+ }>>>;
117384
+ providers: z.ZodArray<z.ZodObject<{
117385
+ provider: z.ZodString;
117386
+ available: z.ZodBoolean;
117387
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117388
+ }, "strip", z.ZodTypeAny, {
117389
+ provider: string;
117390
+ available: boolean;
117391
+ error?: string | null | undefined;
117392
+ }, {
117393
+ provider: string;
117394
+ available: boolean;
117395
+ error?: string | null | undefined;
117396
+ }>, "many">;
117397
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
117398
+ requestId: z.ZodString;
117399
+ serverId: z.ZodString;
117400
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117401
+ pid: z.ZodNumber;
117402
+ nodePath: z.ZodString;
117403
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117404
+ listen: z.ZodNullable<z.ZodString>;
117405
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
117406
+ enabled: z.ZodBoolean;
117407
+ endpoint: z.ZodString;
117408
+ publicEndpoint: z.ZodString;
117409
+ useTls: z.ZodBoolean;
117410
+ publicUseTls: z.ZodBoolean;
117411
+ }, "strip", z.ZodTypeAny, {
117412
+ enabled: boolean;
117413
+ endpoint: string;
117414
+ publicEndpoint: string;
117415
+ useTls: boolean;
117416
+ publicUseTls: boolean;
117417
+ }, {
117418
+ enabled: boolean;
117419
+ endpoint: string;
117420
+ publicEndpoint: string;
117421
+ useTls: boolean;
117422
+ publicUseTls: boolean;
117423
+ }>>>;
117424
+ providers: z.ZodArray<z.ZodObject<{
117425
+ provider: z.ZodString;
117426
+ available: z.ZodBoolean;
117427
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117428
+ }, "strip", z.ZodTypeAny, {
117429
+ provider: string;
117430
+ available: boolean;
117431
+ error?: string | null | undefined;
117432
+ }, {
117433
+ provider: string;
117434
+ available: boolean;
117435
+ error?: string | null | undefined;
117436
+ }>, "many">;
117437
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
117438
+ requestId: z.ZodString;
117439
+ serverId: z.ZodString;
117440
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117441
+ pid: z.ZodNumber;
117442
+ nodePath: z.ZodString;
117443
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117444
+ listen: z.ZodNullable<z.ZodString>;
117445
+ relay: z.ZodOptional<z.ZodNullable<z.ZodObject<{
117446
+ enabled: z.ZodBoolean;
117447
+ endpoint: z.ZodString;
117448
+ publicEndpoint: z.ZodString;
117449
+ useTls: z.ZodBoolean;
117450
+ publicUseTls: z.ZodBoolean;
117451
+ }, "strip", z.ZodTypeAny, {
117452
+ enabled: boolean;
117453
+ endpoint: string;
117454
+ publicEndpoint: string;
117455
+ useTls: boolean;
117456
+ publicUseTls: boolean;
117457
+ }, {
117458
+ enabled: boolean;
117459
+ endpoint: string;
117460
+ publicEndpoint: string;
117461
+ useTls: boolean;
117462
+ publicUseTls: boolean;
117463
+ }>>>;
117464
+ providers: z.ZodArray<z.ZodObject<{
117465
+ provider: z.ZodString;
117466
+ available: z.ZodBoolean;
117467
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117468
+ }, "strip", z.ZodTypeAny, {
117469
+ provider: string;
117470
+ available: boolean;
117471
+ error?: string | null | undefined;
117472
+ }, {
117473
+ provider: string;
117474
+ available: boolean;
117475
+ error?: string | null | undefined;
117476
+ }>, "many">;
117477
+ }, z.ZodTypeAny, "passthrough">>;
117478
+ }, "strip", z.ZodTypeAny, {
117479
+ type: "daemon.get_status.response";
117480
+ payload: {
117481
+ serverId: string;
117482
+ requestId: string;
117483
+ providers: {
117484
+ provider: string;
117485
+ available: boolean;
117486
+ error?: string | null | undefined;
117487
+ }[];
117488
+ pid: number;
117489
+ nodePath: string;
117490
+ listen: string | null;
117491
+ version?: string | null | undefined;
117492
+ startedAt?: string | null | undefined;
117493
+ relay?: {
117494
+ enabled: boolean;
117495
+ endpoint: string;
117496
+ publicEndpoint: string;
117497
+ useTls: boolean;
117498
+ publicUseTls: boolean;
117499
+ } | null | undefined;
117500
+ } & {
117501
+ [k: string]: unknown;
117502
+ };
117503
+ }, {
117504
+ type: "daemon.get_status.response";
117505
+ payload: {
117506
+ serverId: string;
117507
+ requestId: string;
117508
+ providers: {
117509
+ provider: string;
117510
+ available: boolean;
117511
+ error?: string | null | undefined;
117512
+ }[];
117513
+ pid: number;
117514
+ nodePath: string;
117515
+ listen: string | null;
117516
+ version?: string | null | undefined;
117517
+ startedAt?: string | null | undefined;
117518
+ relay?: {
117519
+ enabled: boolean;
117520
+ endpoint: string;
117521
+ publicEndpoint: string;
117522
+ useTls: boolean;
117523
+ publicUseTls: boolean;
117524
+ } | null | undefined;
117525
+ } & {
117526
+ [k: string]: unknown;
117527
+ };
117528
+ }>, z.ZodObject<{
117529
+ type: z.ZodLiteral<"daemon.get_pairing_offer.response">;
117530
+ payload: z.ZodObject<{
117531
+ requestId: z.ZodString;
117532
+ url: z.ZodString;
117533
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117534
+ relayEnabled: z.ZodBoolean;
117535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
117536
+ requestId: z.ZodString;
117537
+ url: z.ZodString;
117538
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117539
+ relayEnabled: z.ZodBoolean;
117540
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
117541
+ requestId: z.ZodString;
117542
+ url: z.ZodString;
117543
+ qr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117544
+ relayEnabled: z.ZodBoolean;
117545
+ }, z.ZodTypeAny, "passthrough">>;
117546
+ }, "strip", z.ZodTypeAny, {
117547
+ type: "daemon.get_pairing_offer.response";
117548
+ payload: {
117549
+ url: string;
117550
+ requestId: string;
117551
+ relayEnabled: boolean;
117552
+ qr?: string | null | undefined;
117553
+ } & {
117554
+ [k: string]: unknown;
117555
+ };
117556
+ }, {
117557
+ type: "daemon.get_pairing_offer.response";
117558
+ payload: {
117559
+ url: string;
117560
+ requestId: string;
117561
+ relayEnabled: boolean;
117562
+ qr?: string | null | undefined;
117563
+ } & {
117564
+ [k: string]: unknown;
117565
+ };
115626
117566
  }>, z.ZodObject<{
115627
117567
  type: z.ZodLiteral<"get_daemon_config_response">;
115628
117568
  payload: z.ZodObject<{
@@ -115691,6 +117631,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
115691
117631
  }, z.ZodTypeAny, "passthrough">>, "many">>;
115692
117632
  }, z.ZodTypeAny, "passthrough">>>>;
115693
117633
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
117634
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
115694
117635
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
115695
117636
  mcp: z.ZodObject<{
115696
117637
  injectIntoAgents: z.ZodBoolean;
@@ -115755,6 +117696,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
115755
117696
  }, z.ZodTypeAny, "passthrough">>, "many">>;
115756
117697
  }, z.ZodTypeAny, "passthrough">>>>;
115757
117698
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
117699
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
115758
117700
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
115759
117701
  mcp: z.ZodObject<{
115760
117702
  injectIntoAgents: z.ZodBoolean;
@@ -115819,6 +117761,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
115819
117761
  }, z.ZodTypeAny, "passthrough">>, "many">>;
115820
117762
  }, z.ZodTypeAny, "passthrough">>>>;
115821
117763
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
117764
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
115822
117765
  }, z.ZodTypeAny, "passthrough">>;
115823
117766
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
115824
117767
  requestId: z.ZodString;
@@ -115886,6 +117829,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
115886
117829
  }, z.ZodTypeAny, "passthrough">>, "many">>;
115887
117830
  }, z.ZodTypeAny, "passthrough">>>>;
115888
117831
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
117832
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
115889
117833
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
115890
117834
  mcp: z.ZodObject<{
115891
117835
  injectIntoAgents: z.ZodBoolean;
@@ -115950,6 +117894,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
115950
117894
  }, z.ZodTypeAny, "passthrough">>, "many">>;
115951
117895
  }, z.ZodTypeAny, "passthrough">>>>;
115952
117896
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
117897
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
115953
117898
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
115954
117899
  mcp: z.ZodObject<{
115955
117900
  injectIntoAgents: z.ZodBoolean;
@@ -116014,6 +117959,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116014
117959
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116015
117960
  }, z.ZodTypeAny, "passthrough">>>>;
116016
117961
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
117962
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116017
117963
  }, z.ZodTypeAny, "passthrough">>;
116018
117964
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116019
117965
  requestId: z.ZodString;
@@ -116081,6 +118027,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116081
118027
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116082
118028
  }, z.ZodTypeAny, "passthrough">>>>;
116083
118029
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118030
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116084
118031
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
116085
118032
  mcp: z.ZodObject<{
116086
118033
  injectIntoAgents: z.ZodBoolean;
@@ -116145,6 +118092,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116145
118092
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116146
118093
  }, z.ZodTypeAny, "passthrough">>>>;
116147
118094
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118095
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116148
118096
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116149
118097
  mcp: z.ZodObject<{
116150
118098
  injectIntoAgents: z.ZodBoolean;
@@ -116209,6 +118157,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116209
118157
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116210
118158
  }, z.ZodTypeAny, "passthrough">>>>;
116211
118159
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118160
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116212
118161
  }, z.ZodTypeAny, "passthrough">>;
116213
118162
  }, z.ZodTypeAny, "passthrough">>;
116214
118163
  }, "strip", z.ZodTypeAny, {
@@ -116240,6 +118189,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116240
118189
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116241
118190
  }, z.ZodTypeAny, "passthrough">>;
116242
118191
  autoArchiveAfterMerge: boolean;
118192
+ appendSystemPrompt: string;
116243
118193
  } & {
116244
118194
  [k: string]: unknown;
116245
118195
  };
@@ -116276,6 +118226,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116276
118226
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116277
118227
  }, z.ZodTypeAny, "passthrough">> | undefined;
116278
118228
  autoArchiveAfterMerge?: boolean | undefined;
118229
+ appendSystemPrompt?: string | undefined;
116279
118230
  } & {
116280
118231
  [k: string]: unknown;
116281
118232
  };
@@ -116351,6 +118302,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116351
118302
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116352
118303
  }, z.ZodTypeAny, "passthrough">>>>;
116353
118304
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118305
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116354
118306
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
116355
118307
  mcp: z.ZodObject<{
116356
118308
  injectIntoAgents: z.ZodBoolean;
@@ -116415,6 +118367,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116415
118367
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116416
118368
  }, z.ZodTypeAny, "passthrough">>>>;
116417
118369
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118370
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116418
118371
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116419
118372
  mcp: z.ZodObject<{
116420
118373
  injectIntoAgents: z.ZodBoolean;
@@ -116479,6 +118432,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116479
118432
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116480
118433
  }, z.ZodTypeAny, "passthrough">>>>;
116481
118434
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118435
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116482
118436
  }, z.ZodTypeAny, "passthrough">>;
116483
118437
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
116484
118438
  requestId: z.ZodString;
@@ -116546,6 +118500,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116546
118500
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116547
118501
  }, z.ZodTypeAny, "passthrough">>>>;
116548
118502
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118503
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116549
118504
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
116550
118505
  mcp: z.ZodObject<{
116551
118506
  injectIntoAgents: z.ZodBoolean;
@@ -116610,6 +118565,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116610
118565
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116611
118566
  }, z.ZodTypeAny, "passthrough">>>>;
116612
118567
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118568
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116613
118569
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116614
118570
  mcp: z.ZodObject<{
116615
118571
  injectIntoAgents: z.ZodBoolean;
@@ -116674,6 +118630,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116674
118630
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116675
118631
  }, z.ZodTypeAny, "passthrough">>>>;
116676
118632
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118633
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116677
118634
  }, z.ZodTypeAny, "passthrough">>;
116678
118635
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116679
118636
  requestId: z.ZodString;
@@ -116741,6 +118698,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116741
118698
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116742
118699
  }, z.ZodTypeAny, "passthrough">>>>;
116743
118700
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118701
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116744
118702
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
116745
118703
  mcp: z.ZodObject<{
116746
118704
  injectIntoAgents: z.ZodBoolean;
@@ -116805,6 +118763,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116805
118763
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116806
118764
  }, z.ZodTypeAny, "passthrough">>>>;
116807
118765
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118766
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116808
118767
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
116809
118768
  mcp: z.ZodObject<{
116810
118769
  injectIntoAgents: z.ZodBoolean;
@@ -116869,6 +118828,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116869
118828
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116870
118829
  }, z.ZodTypeAny, "passthrough">>>>;
116871
118830
  autoArchiveAfterMerge: z.ZodDefault<z.ZodBoolean>;
118831
+ appendSystemPrompt: z.ZodDefault<z.ZodString>;
116872
118832
  }, z.ZodTypeAny, "passthrough">>;
116873
118833
  }, z.ZodTypeAny, "passthrough">>;
116874
118834
  }, "strip", z.ZodTypeAny, {
@@ -116900,6 +118860,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116900
118860
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116901
118861
  }, z.ZodTypeAny, "passthrough">>;
116902
118862
  autoArchiveAfterMerge: boolean;
118863
+ appendSystemPrompt: string;
116903
118864
  } & {
116904
118865
  [k: string]: unknown;
116905
118866
  };
@@ -116936,6 +118897,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
116936
118897
  }, z.ZodTypeAny, "passthrough">>, "many">>;
116937
118898
  }, z.ZodTypeAny, "passthrough">> | undefined;
116938
118899
  autoArchiveAfterMerge?: boolean | undefined;
118900
+ appendSystemPrompt?: string | undefined;
116939
118901
  } & {
116940
118902
  [k: string]: unknown;
116941
118903
  };
@@ -122259,6 +124221,66 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
122259
124221
  success: boolean;
122260
124222
  source?: "local" | "remote" | undefined;
122261
124223
  };
124224
+ }>, z.ZodObject<{
124225
+ type: z.ZodLiteral<"checkout.rename_branch.response">;
124226
+ payload: z.ZodObject<{
124227
+ requestId: z.ZodString;
124228
+ success: z.ZodBoolean;
124229
+ cwd: z.ZodString;
124230
+ currentBranch: z.ZodNullable<z.ZodString>;
124231
+ error: z.ZodNullable<z.ZodObject<{
124232
+ code: z.ZodEnum<["NOT_GIT_REPO", "NOT_ALLOWED", "MERGE_CONFLICT", "UNKNOWN"]>;
124233
+ message: z.ZodString;
124234
+ }, "strip", z.ZodTypeAny, {
124235
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
124236
+ message: string;
124237
+ }, {
124238
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
124239
+ message: string;
124240
+ }>>;
124241
+ }, "strip", z.ZodTypeAny, {
124242
+ error: {
124243
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
124244
+ message: string;
124245
+ } | null;
124246
+ cwd: string;
124247
+ requestId: string;
124248
+ currentBranch: string | null;
124249
+ success: boolean;
124250
+ }, {
124251
+ error: {
124252
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
124253
+ message: string;
124254
+ } | null;
124255
+ cwd: string;
124256
+ requestId: string;
124257
+ currentBranch: string | null;
124258
+ success: boolean;
124259
+ }>;
124260
+ }, "strip", z.ZodTypeAny, {
124261
+ type: "checkout.rename_branch.response";
124262
+ payload: {
124263
+ error: {
124264
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
124265
+ message: string;
124266
+ } | null;
124267
+ cwd: string;
124268
+ requestId: string;
124269
+ currentBranch: string | null;
124270
+ success: boolean;
124271
+ };
124272
+ }, {
124273
+ type: "checkout.rename_branch.response";
124274
+ payload: {
124275
+ error: {
124276
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
124277
+ message: string;
124278
+ } | null;
124279
+ cwd: string;
124280
+ requestId: string;
124281
+ currentBranch: string | null;
124282
+ success: boolean;
124283
+ };
122262
124284
  }>, z.ZodObject<{
122263
124285
  type: z.ZodLiteral<"stash_save_response">;
122264
124286
  payload: z.ZodObject<{
@@ -125063,6 +127085,35 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
125063
127085
  title?: string | undefined;
125064
127086
  } | null;
125065
127087
  };
127088
+ }>, z.ZodObject<{
127089
+ type: z.ZodLiteral<"terminal.rename.response">;
127090
+ payload: z.ZodObject<{
127091
+ requestId: z.ZodString;
127092
+ success: z.ZodBoolean;
127093
+ error: z.ZodNullable<z.ZodString>;
127094
+ }, "strip", z.ZodTypeAny, {
127095
+ error: string | null;
127096
+ requestId: string;
127097
+ success: boolean;
127098
+ }, {
127099
+ error: string | null;
127100
+ requestId: string;
127101
+ success: boolean;
127102
+ }>;
127103
+ }, "strip", z.ZodTypeAny, {
127104
+ type: "terminal.rename.response";
127105
+ payload: {
127106
+ error: string | null;
127107
+ requestId: string;
127108
+ success: boolean;
127109
+ };
127110
+ }, {
127111
+ type: "terminal.rename.response";
127112
+ payload: {
127113
+ error: string | null;
127114
+ requestId: string;
127115
+ success: boolean;
127116
+ };
125066
127117
  }>, z.ZodObject<{
125067
127118
  type: z.ZodLiteral<"subscribe_terminal_response">;
125068
127119
  payload: z.ZodUnion<[z.ZodObject<{
@@ -133843,6 +135894,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
133843
135894
  }, z.ZodTypeAny, "passthrough">>, "many">>;
133844
135895
  }, z.ZodTypeAny, "passthrough">>;
133845
135896
  autoArchiveAfterMerge: boolean;
135897
+ appendSystemPrompt: string;
133846
135898
  } & {
133847
135899
  [k: string]: unknown;
133848
135900
  };
@@ -133850,6 +135902,41 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
133850
135902
  } & {
133851
135903
  [k: string]: unknown;
133852
135904
  };
135905
+ } | {
135906
+ type: "daemon.get_status.response";
135907
+ payload: {
135908
+ serverId: string;
135909
+ requestId: string;
135910
+ providers: {
135911
+ provider: string;
135912
+ available: boolean;
135913
+ error?: string | null | undefined;
135914
+ }[];
135915
+ pid: number;
135916
+ nodePath: string;
135917
+ listen: string | null;
135918
+ version?: string | null | undefined;
135919
+ startedAt?: string | null | undefined;
135920
+ relay?: {
135921
+ enabled: boolean;
135922
+ endpoint: string;
135923
+ publicEndpoint: string;
135924
+ useTls: boolean;
135925
+ publicUseTls: boolean;
135926
+ } | null | undefined;
135927
+ } & {
135928
+ [k: string]: unknown;
135929
+ };
135930
+ } | {
135931
+ type: "daemon.get_pairing_offer.response";
135932
+ payload: {
135933
+ url: string;
135934
+ requestId: string;
135935
+ relayEnabled: boolean;
135936
+ qr?: string | null | undefined;
135937
+ } & {
135938
+ [k: string]: unknown;
135939
+ };
133853
135940
  } | {
133854
135941
  type: "set_daemon_config_response";
133855
135942
  payload: {
@@ -133879,6 +135966,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
133879
135966
  }, z.ZodTypeAny, "passthrough">>, "many">>;
133880
135967
  }, z.ZodTypeAny, "passthrough">>;
133881
135968
  autoArchiveAfterMerge: boolean;
135969
+ appendSystemPrompt: string;
133882
135970
  } & {
133883
135971
  [k: string]: unknown;
133884
135972
  };
@@ -134581,6 +136669,18 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
134581
136669
  success: boolean;
134582
136670
  source?: "local" | "remote" | undefined;
134583
136671
  };
136672
+ } | {
136673
+ type: "checkout.rename_branch.response";
136674
+ payload: {
136675
+ error: {
136676
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
136677
+ message: string;
136678
+ } | null;
136679
+ cwd: string;
136680
+ requestId: string;
136681
+ currentBranch: string | null;
136682
+ success: boolean;
136683
+ };
134584
136684
  } | {
134585
136685
  type: "stash_save_response";
134586
136686
  payload: {
@@ -134997,6 +137097,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
134997
137097
  title?: string | undefined;
134998
137098
  } | null;
134999
137099
  };
137100
+ } | {
137101
+ type: "terminal.rename.response";
137102
+ payload: {
137103
+ error: string | null;
137104
+ requestId: string;
137105
+ success: boolean;
137106
+ };
135000
137107
  } | {
135001
137108
  type: "subscribe_terminal_response";
135002
137109
  payload: {
@@ -137185,6 +139292,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
137185
139292
  }, z.ZodTypeAny, "passthrough">>, "many">>;
137186
139293
  }, z.ZodTypeAny, "passthrough">> | undefined;
137187
139294
  autoArchiveAfterMerge?: boolean | undefined;
139295
+ appendSystemPrompt?: string | undefined;
137188
139296
  } & {
137189
139297
  [k: string]: unknown;
137190
139298
  };
@@ -137192,6 +139300,41 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
137192
139300
  } & {
137193
139301
  [k: string]: unknown;
137194
139302
  };
139303
+ } | {
139304
+ type: "daemon.get_status.response";
139305
+ payload: {
139306
+ serverId: string;
139307
+ requestId: string;
139308
+ providers: {
139309
+ provider: string;
139310
+ available: boolean;
139311
+ error?: string | null | undefined;
139312
+ }[];
139313
+ pid: number;
139314
+ nodePath: string;
139315
+ listen: string | null;
139316
+ version?: string | null | undefined;
139317
+ startedAt?: string | null | undefined;
139318
+ relay?: {
139319
+ enabled: boolean;
139320
+ endpoint: string;
139321
+ publicEndpoint: string;
139322
+ useTls: boolean;
139323
+ publicUseTls: boolean;
139324
+ } | null | undefined;
139325
+ } & {
139326
+ [k: string]: unknown;
139327
+ };
139328
+ } | {
139329
+ type: "daemon.get_pairing_offer.response";
139330
+ payload: {
139331
+ url: string;
139332
+ requestId: string;
139333
+ relayEnabled: boolean;
139334
+ qr?: string | null | undefined;
139335
+ } & {
139336
+ [k: string]: unknown;
139337
+ };
137195
139338
  } | {
137196
139339
  type: "set_daemon_config_response";
137197
139340
  payload: {
@@ -137221,6 +139364,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
137221
139364
  }, z.ZodTypeAny, "passthrough">>, "many">>;
137222
139365
  }, z.ZodTypeAny, "passthrough">> | undefined;
137223
139366
  autoArchiveAfterMerge?: boolean | undefined;
139367
+ appendSystemPrompt?: string | undefined;
137224
139368
  } & {
137225
139369
  [k: string]: unknown;
137226
139370
  };
@@ -137870,6 +140014,18 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
137870
140014
  success: boolean;
137871
140015
  source?: "local" | "remote" | undefined;
137872
140016
  };
140017
+ } | {
140018
+ type: "checkout.rename_branch.response";
140019
+ payload: {
140020
+ error: {
140021
+ code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
140022
+ message: string;
140023
+ } | null;
140024
+ cwd: string;
140025
+ requestId: string;
140026
+ currentBranch: string | null;
140027
+ success: boolean;
140028
+ };
137873
140029
  } | {
137874
140030
  type: "stash_save_response";
137875
140031
  payload: {
@@ -138286,6 +140442,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
138286
140442
  title?: string | undefined;
138287
140443
  } | null;
138288
140444
  };
140445
+ } | {
140446
+ type: "terminal.rename.response";
140447
+ payload: {
140448
+ error: string | null;
140449
+ requestId: string;
140450
+ success: boolean;
140451
+ };
138289
140452
  } | {
138290
140453
  type: "subscribe_terminal_response";
138291
140454
  payload: {