@maudecode/talaria-web-contracts 0.0.0

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 (79) hide show
  1. package/dist/index.d.ts +14 -0
  2. package/dist/index.js +15 -0
  3. package/dist/index.js.map +1 -0
  4. package/dist/openapi.d.ts +7 -0
  5. package/dist/openapi.js +29 -0
  6. package/dist/openapi.js.map +1 -0
  7. package/dist/router.d.ts +4772 -0
  8. package/dist/router.js +25 -0
  9. package/dist/router.js.map +1 -0
  10. package/dist/routes/automation.d.ts +794 -0
  11. package/dist/routes/automation.js +70 -0
  12. package/dist/routes/automation.js.map +1 -0
  13. package/dist/routes/chat.d.ts +382 -0
  14. package/dist/routes/chat.js +33 -0
  15. package/dist/routes/chat.js.map +1 -0
  16. package/dist/routes/core.d.ts +400 -0
  17. package/dist/routes/core.js +128 -0
  18. package/dist/routes/core.js.map +1 -0
  19. package/dist/routes/git.d.ts +785 -0
  20. package/dist/routes/git.js +62 -0
  21. package/dist/routes/git.js.map +1 -0
  22. package/dist/routes/raw.d.ts +24 -0
  23. package/dist/routes/raw.js +107 -0
  24. package/dist/routes/raw.js.map +1 -0
  25. package/dist/routes/sessions.d.ts +1621 -0
  26. package/dist/routes/sessions.js +75 -0
  27. package/dist/routes/sessions.js.map +1 -0
  28. package/dist/routes/settings.d.ts +590 -0
  29. package/dist/routes/settings.js +57 -0
  30. package/dist/routes/settings.js.map +1 -0
  31. package/dist/routes/tools.d.ts +482 -0
  32. package/dist/routes/tools.js +65 -0
  33. package/dist/routes/tools.js.map +1 -0
  34. package/dist/routes/workspaces.d.ts +161 -0
  35. package/dist/routes/workspaces.js +31 -0
  36. package/dist/routes/workspaces.js.map +1 -0
  37. package/dist/sidecar/index.d.ts +5 -0
  38. package/dist/sidecar/index.js +6 -0
  39. package/dist/sidecar/index.js.map +1 -0
  40. package/dist/sidecar/methods.d.ts +1544 -0
  41. package/dist/sidecar/methods.js +38 -0
  42. package/dist/sidecar/methods.js.map +1 -0
  43. package/dist/sidecar/namespaces.d.ts +1766 -0
  44. package/dist/sidecar/namespaces.js +239 -0
  45. package/dist/sidecar/namespaces.js.map +1 -0
  46. package/dist/sidecar/rpc.d.ts +96 -0
  47. package/dist/sidecar/rpc.js +49 -0
  48. package/dist/sidecar/rpc.js.map +1 -0
  49. package/dist/sidecar/runtime.d.ts +53 -0
  50. package/dist/sidecar/runtime.js +29 -0
  51. package/dist/sidecar/runtime.js.map +1 -0
  52. package/dist/sidecar/version.d.ts +6 -0
  53. package/dist/sidecar/version.js +7 -0
  54. package/dist/sidecar/version.js.map +1 -0
  55. package/dist/sse.d.ts +335 -0
  56. package/dist/sse.js +91 -0
  57. package/dist/sse.js.map +1 -0
  58. package/dist/views.d.ts +2200 -0
  59. package/dist/views.js +249 -0
  60. package/dist/views.js.map +1 -0
  61. package/fixtures/sidecar/aux.json +14 -0
  62. package/fixtures/sidecar/commands.json +1232 -0
  63. package/fixtures/sidecar/config.json +15 -0
  64. package/fixtures/sidecar/cron.json +503 -0
  65. package/fixtures/sidecar/goals.json +164 -0
  66. package/fixtures/sidecar/kanban.json +952 -0
  67. package/fixtures/sidecar/mcp.json +22 -0
  68. package/fixtures/sidecar/models.json +63 -0
  69. package/fixtures/sidecar/plugins.json +1069 -0
  70. package/fixtures/sidecar/process.json +58 -0
  71. package/fixtures/sidecar/profiles.json +82 -0
  72. package/fixtures/sidecar/providers.json +1201 -0
  73. package/fixtures/sidecar/rpc.json +120 -0
  74. package/fixtures/sidecar/runtime.json +75 -0
  75. package/fixtures/sidecar/skills.json +490 -0
  76. package/fixtures/sidecar/state_db.json +61 -0
  77. package/fixtures/sidecar/stt.json +13 -0
  78. package/fixtures/sidecar/text.json +41 -0
  79. package/package.json +49 -0
@@ -0,0 +1,1544 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Every sidecar method: params, result, and (for streamed calls) the event
4
+ * union of its stream frames. The server client, the fake sidecar, the JSON
5
+ * Schema export for the Python tests, and the fixture tests all read this map.
6
+ */
7
+ export declare const SIDECAR_METHODS: {
8
+ readonly 'chat.start': {
9
+ readonly params: z.ZodObject<{
10
+ profile_home: z.ZodString;
11
+ session_id: z.ZodString;
12
+ stream_id: z.ZodString;
13
+ workspace: z.ZodString;
14
+ model: z.ZodString;
15
+ model_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ user_message: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>;
17
+ system_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ conversation_history: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
+ enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
+ max_iterations: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ max_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ clarify_timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ reasoning_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ enabled: z.ZodBoolean;
25
+ effort: z.ZodOptional<z.ZodString>;
26
+ }, z.core.$strip>>>;
27
+ ephemeral_system_prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ }, z.core.$strip>;
29
+ readonly result: z.ZodObject<{
30
+ status: z.ZodEnum<{
31
+ error: "error";
32
+ cancelled: "cancelled";
33
+ completed: "completed";
34
+ }>;
35
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
36
+ final_response: z.ZodString;
37
+ error: z.ZodNullable<z.ZodString>;
38
+ result_status: z.ZodString;
39
+ tool_limit_reached: z.ZodBoolean;
40
+ usage: z.ZodObject<{
41
+ prompt_tokens: z.ZodNumber;
42
+ completion_tokens: z.ZodNumber;
43
+ cache_read_tokens: z.ZodNumber;
44
+ cache_write_tokens: z.ZodNumber;
45
+ estimated_cost_usd: z.ZodNullable<z.ZodNumber>;
46
+ }, z.core.$strip>;
47
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
48
+ model: z.ZodString;
49
+ provider: z.ZodString;
50
+ compressed: z.ZodBoolean;
51
+ agent_session_id: z.ZodString;
52
+ token_sent: z.ZodBoolean;
53
+ pending_steer: z.ZodString;
54
+ live_tool_calls: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
55
+ }, z.core.$strip>;
56
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
57
+ event: z.ZodLiteral<"token">;
58
+ data: z.ZodObject<{
59
+ text: z.ZodString;
60
+ }, z.core.$catchall<z.ZodUnknown>>;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ event: z.ZodLiteral<"reasoning">;
63
+ data: z.ZodObject<{
64
+ text: z.ZodString;
65
+ }, z.core.$catchall<z.ZodUnknown>>;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ event: z.ZodLiteral<"steer_pending">;
68
+ data: z.ZodObject<{
69
+ text: z.ZodString;
70
+ }, z.core.$catchall<z.ZodUnknown>>;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ event: z.ZodLiteral<"interim_assistant">;
73
+ data: z.ZodObject<{
74
+ text: z.ZodString;
75
+ }, z.core.$catchall<z.ZodUnknown>>;
76
+ }, z.core.$strip>, z.ZodObject<{
77
+ event: z.ZodLiteral<"tool">;
78
+ data: z.ZodObject<{
79
+ event_type: z.ZodString;
80
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
+ preview: z.ZodOptional<z.ZodUnknown>;
82
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
83
+ tid: z.ZodOptional<z.ZodString>;
84
+ is_error: z.ZodOptional<z.ZodBoolean>;
85
+ }, z.core.$catchall<z.ZodUnknown>>;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ event: z.ZodLiteral<"tool_complete">;
88
+ data: z.ZodObject<{
89
+ event_type: z.ZodString;
90
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ preview: z.ZodOptional<z.ZodUnknown>;
92
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
93
+ tid: z.ZodOptional<z.ZodString>;
94
+ is_error: z.ZodOptional<z.ZodBoolean>;
95
+ }, z.core.$catchall<z.ZodUnknown>>;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ event: z.ZodLiteral<"approval">;
98
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ event: z.ZodLiteral<"clarify">;
101
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
102
+ }, z.core.$strip>, z.ZodObject<{
103
+ event: z.ZodLiteral<"clarify_resolved">;
104
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ event: z.ZodLiteral<"compressing">;
107
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ event: z.ZodLiteral<"warning">;
110
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
111
+ }, z.core.$strip>, z.ZodObject<{
112
+ event: z.ZodLiteral<"status">;
113
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
114
+ }, z.core.$strip>], "event">;
115
+ };
116
+ readonly 'chat.interrupt': {
117
+ readonly params: z.ZodObject<{
118
+ stream_id: z.ZodOptional<z.ZodString>;
119
+ session_id: z.ZodOptional<z.ZodString>;
120
+ }, z.core.$strip>;
121
+ readonly result: z.ZodObject<{
122
+ ok: z.ZodBoolean;
123
+ reason: z.ZodOptional<z.ZodString>;
124
+ pending_steer: z.ZodOptional<z.ZodString>;
125
+ }, z.core.$strip>;
126
+ };
127
+ readonly 'chat.steer': {
128
+ readonly params: z.ZodObject<{
129
+ stream_id: z.ZodOptional<z.ZodString>;
130
+ session_id: z.ZodOptional<z.ZodString>;
131
+ text: z.ZodString;
132
+ }, z.core.$strip>;
133
+ readonly result: z.ZodObject<{
134
+ accepted: z.ZodBoolean;
135
+ fallback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ }, z.core.$strip>;
137
+ };
138
+ readonly 'chat.evict_agent': {
139
+ readonly params: z.ZodObject<{
140
+ session_id: z.ZodString;
141
+ }, z.core.$strip>;
142
+ readonly result: z.ZodObject<{
143
+ evicted: z.ZodBoolean;
144
+ }, z.core.$strip>;
145
+ };
146
+ readonly 'chat.commit_memory': {
147
+ readonly params: z.ZodObject<{
148
+ session_id: z.ZodString;
149
+ }, z.core.$strip>;
150
+ readonly result: z.ZodObject<{
151
+ committed: z.ZodBoolean;
152
+ }, z.core.$strip>;
153
+ };
154
+ readonly 'approval.respond': {
155
+ readonly params: z.ZodObject<{
156
+ profile_home: z.ZodString;
157
+ session_id: z.ZodString;
158
+ choice: z.ZodEnum<{
159
+ once: "once";
160
+ session: "session";
161
+ always: "always";
162
+ deny: "deny";
163
+ }>;
164
+ request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ }, z.core.$strip>;
166
+ readonly result: z.ZodObject<{
167
+ ok: z.ZodBoolean;
168
+ resolved: z.ZodNumber;
169
+ choice: z.ZodString;
170
+ }, z.core.$strip>;
171
+ };
172
+ readonly 'approval.pending': {
173
+ readonly params: z.ZodObject<{
174
+ session_id: z.ZodString;
175
+ }, z.core.$strip>;
176
+ readonly result: z.ZodObject<{
177
+ pending: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
178
+ }, z.core.$strip>;
179
+ };
180
+ readonly 'approval.set_yolo': {
181
+ readonly params: z.ZodObject<{
182
+ session_id: z.ZodString;
183
+ enabled: z.ZodBoolean;
184
+ }, z.core.$strip>;
185
+ readonly result: z.ZodObject<{
186
+ yolo_enabled: z.ZodBoolean;
187
+ released: z.ZodNumber;
188
+ }, z.core.$strip>;
189
+ };
190
+ readonly 'clarify.respond': {
191
+ readonly params: z.ZodObject<{
192
+ stream_id: z.ZodOptional<z.ZodString>;
193
+ session_id: z.ZodOptional<z.ZodString>;
194
+ clarify_id: z.ZodOptional<z.ZodString>;
195
+ response: z.ZodString;
196
+ }, z.core.$strip>;
197
+ readonly result: z.ZodObject<{
198
+ ok: z.ZodBoolean;
199
+ clarify_id: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>;
201
+ };
202
+ readonly 'config.get': {
203
+ readonly params: z.ZodObject<{
204
+ profile_home: z.ZodString;
205
+ config_path: z.ZodString;
206
+ }, z.core.$strip>;
207
+ readonly result: z.ZodObject<{
208
+ path: z.ZodString;
209
+ exists: z.ZodBoolean;
210
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
211
+ }, z.core.$strip>;
212
+ };
213
+ readonly 'config.set': {
214
+ readonly params: z.ZodObject<{
215
+ profile_home: z.ZodString;
216
+ config_path: z.ZodString;
217
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
218
+ }, z.core.$strip>;
219
+ readonly result: z.ZodObject<{
220
+ ok: z.ZodLiteral<true>;
221
+ path: z.ZodString;
222
+ }, z.core.$strip>;
223
+ };
224
+ readonly 'models.reasoning_efforts': {
225
+ readonly params: z.ZodObject<{
226
+ profile_home: z.ZodString;
227
+ model: z.ZodString;
228
+ provider: z.ZodString;
229
+ }, z.core.$strip>;
230
+ readonly result: z.ZodObject<{
231
+ efforts: z.ZodArray<z.ZodString>;
232
+ supports_reasoning: z.ZodNullable<z.ZodBoolean>;
233
+ }, z.core.$strip>;
234
+ };
235
+ readonly 'worktree.create': {
236
+ readonly params: z.ZodObject<{
237
+ profile_home: z.ZodString;
238
+ repo_root: z.ZodString;
239
+ }, z.core.$strip>;
240
+ readonly result: z.ZodObject<{
241
+ path: z.ZodString;
242
+ branch: z.ZodString;
243
+ repo_root: z.ZodString;
244
+ base: z.ZodNullable<z.ZodString>;
245
+ }, z.core.$strip>;
246
+ };
247
+ readonly 'gateway.restart': {
248
+ readonly params: z.ZodObject<{
249
+ profile_home: z.ZodString;
250
+ cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
+ quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
252
+ background_wait_seconds: z.ZodOptional<z.ZodNumber>;
253
+ }, z.core.$strip>;
254
+ readonly result: z.ZodObject<{
255
+ status: z.ZodEnum<{
256
+ completed: "completed";
257
+ failed: "failed";
258
+ busy: "busy";
259
+ }>;
260
+ message: z.ZodString;
261
+ detail: z.ZodOptional<z.ZodString>;
262
+ returncode: z.ZodOptional<z.ZodNumber>;
263
+ }, z.core.$strip>;
264
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
265
+ event: z.ZodLiteral<"progress">;
266
+ data: z.ZodObject<{
267
+ phase: z.ZodEnum<{
268
+ started: "started";
269
+ draining: "draining";
270
+ }>;
271
+ }, z.core.$strip>;
272
+ }, z.core.$strip>], "event">;
273
+ };
274
+ readonly 'usage.account': {
275
+ readonly params: z.ZodObject<{
276
+ profile_home: z.ZodString;
277
+ provider: z.ZodString;
278
+ base_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
+ api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
280
+ }, z.core.$strip>;
281
+ readonly result: z.ZodObject<{
282
+ snapshot: z.ZodNullable<z.ZodObject<{
283
+ provider: z.ZodNullable<z.ZodString>;
284
+ available: z.ZodBoolean;
285
+ unavailable_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
+ windows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
287
+ details: z.ZodArray<z.ZodUnknown>;
288
+ }, z.core.$catchall<z.ZodUnknown>>>;
289
+ }, z.core.$strip>;
290
+ };
291
+ readonly 'process.drain': {
292
+ readonly params: z.ZodObject<{
293
+ profile_home: z.ZodString;
294
+ max_events: z.ZodOptional<z.ZodNumber>;
295
+ }, z.core.$strip>;
296
+ readonly result: z.ZodObject<{
297
+ events: z.ZodArray<z.ZodObject<{
298
+ process_id: z.ZodString;
299
+ consumed: z.ZodBoolean;
300
+ type: z.ZodOptional<z.ZodString>;
301
+ session_key: z.ZodOptional<z.ZodString>;
302
+ origin_ui_session_id: z.ZodOptional<z.ZodString>;
303
+ }, z.core.$catchall<z.ZodUnknown>>>;
304
+ }, z.core.$strip>;
305
+ };
306
+ readonly 'process.requeue': {
307
+ readonly params: z.ZodObject<{
308
+ events: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
309
+ }, z.core.$strip>;
310
+ readonly result: z.ZodObject<{
311
+ requeued: z.ZodNumber;
312
+ }, z.core.$strip>;
313
+ };
314
+ readonly 'process.mark_consumed': {
315
+ readonly params: z.ZodObject<{
316
+ process_id: z.ZodString;
317
+ }, z.core.$strip>;
318
+ readonly result: z.ZodObject<{
319
+ ok: z.ZodBoolean;
320
+ }, z.core.$strip>;
321
+ };
322
+ readonly 'process.format_notification': {
323
+ readonly params: z.ZodObject<{
324
+ event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
325
+ }, z.core.$strip>;
326
+ readonly result: z.ZodObject<{
327
+ text: z.ZodString;
328
+ }, z.core.$strip>;
329
+ };
330
+ readonly 'process.list': {
331
+ readonly params: z.ZodObject<{
332
+ profile_home: z.ZodString;
333
+ }, z.core.$strip>;
334
+ readonly result: z.ZodObject<{
335
+ sessions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
336
+ }, z.core.$strip>;
337
+ };
338
+ readonly 'text.redact': {
339
+ readonly params: z.ZodObject<{
340
+ text: z.ZodString;
341
+ force: z.ZodOptional<z.ZodBoolean>;
342
+ }, z.core.$strip>;
343
+ readonly result: z.ZodObject<{
344
+ text: z.ZodString;
345
+ }, z.core.$strip>;
346
+ };
347
+ readonly 'text.image_mode': {
348
+ readonly params: z.ZodObject<{
349
+ profile_home: z.ZodString;
350
+ provider: z.ZodString;
351
+ model: z.ZodString;
352
+ cfg: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
353
+ requested_provider: z.ZodOptional<z.ZodString>;
354
+ }, z.core.$strip>;
355
+ readonly result: z.ZodObject<{
356
+ mode: z.ZodEnum<{
357
+ text: "text";
358
+ native: "native";
359
+ }>;
360
+ reason: z.ZodString;
361
+ supports_vision: z.ZodNullable<z.ZodBoolean>;
362
+ }, z.core.$strip>;
363
+ };
364
+ readonly 'text.portal_tags': {
365
+ readonly params: z.ZodObject<{
366
+ profile_home: z.ZodString;
367
+ }, z.core.$strip>;
368
+ readonly result: z.ZodObject<{
369
+ client_tag: z.ZodNullable<z.ZodString>;
370
+ conversation_tag: z.ZodNullable<z.ZodString>;
371
+ tags: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
372
+ }, z.core.$strip>;
373
+ };
374
+ readonly 'aux.complete': {
375
+ readonly params: z.ZodObject<{
376
+ profile_home: z.ZodString;
377
+ task: z.ZodString;
378
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
379
+ main_runtime: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
380
+ main_fallback: z.ZodOptional<z.ZodBoolean>;
381
+ max_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
382
+ temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
383
+ }, z.core.$strip>;
384
+ readonly result: z.ZodObject<{
385
+ model: z.ZodString;
386
+ text: z.ZodString;
387
+ usage: z.ZodNullable<z.ZodObject<{
388
+ prompt_tokens: z.ZodOptional<z.ZodNumber>;
389
+ completion_tokens: z.ZodOptional<z.ZodNumber>;
390
+ total_tokens: z.ZodOptional<z.ZodNumber>;
391
+ }, z.core.$strip>>;
392
+ }, z.core.$strip>;
393
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
394
+ event: z.ZodLiteral<"token">;
395
+ data: z.ZodObject<{
396
+ text: z.ZodString;
397
+ }, z.core.$strip>;
398
+ }, z.core.$strip>], "event">;
399
+ };
400
+ readonly 'aux.resolve': {
401
+ readonly params: z.ZodObject<{
402
+ profile_home: z.ZodString;
403
+ task: z.ZodString;
404
+ main_runtime: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
405
+ }, z.core.$strip>;
406
+ readonly result: z.ZodObject<{
407
+ configured: z.ZodBoolean;
408
+ model: z.ZodNullable<z.ZodString>;
409
+ error: z.ZodOptional<z.ZodString>;
410
+ }, z.core.$strip>;
411
+ };
412
+ readonly 'providers.registry': {
413
+ readonly params: z.ZodObject<{
414
+ profile_home: z.ZodString;
415
+ }, z.core.$strip>;
416
+ readonly result: z.ZodObject<{
417
+ providers: z.ZodRecord<z.ZodString, z.ZodObject<{
418
+ id: z.ZodString;
419
+ name: z.ZodString;
420
+ auth_type: z.ZodString;
421
+ }, z.core.$catchall<z.ZodUnknown>>>;
422
+ }, z.core.$strip>;
423
+ };
424
+ readonly 'providers.auth_status': {
425
+ readonly params: z.ZodObject<{
426
+ profile_home: z.ZodString;
427
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
428
+ }, z.core.$strip>;
429
+ readonly result: z.ZodObject<{
430
+ status: z.ZodObject<{
431
+ logged_in: z.ZodBoolean;
432
+ }, z.core.$catchall<z.ZodUnknown>>;
433
+ }, z.core.$strip>;
434
+ };
435
+ readonly 'providers.model_ids': {
436
+ readonly params: z.ZodObject<{
437
+ profile_home: z.ZodString;
438
+ provider: z.ZodString;
439
+ force_refresh: z.ZodOptional<z.ZodBoolean>;
440
+ }, z.core.$strip>;
441
+ readonly result: z.ZodObject<{
442
+ provider: z.ZodString;
443
+ model_ids: z.ZodArray<z.ZodString>;
444
+ }, z.core.$strip>;
445
+ };
446
+ readonly 'providers.resolve_runtime': {
447
+ readonly params: z.ZodObject<{
448
+ profile_home: z.ZodString;
449
+ requested: z.ZodOptional<z.ZodNullable<z.ZodString>>;
450
+ api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ base_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
452
+ target_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
453
+ }, z.core.$strip>;
454
+ readonly result: z.ZodObject<{
455
+ runtime: z.ZodRecord<z.ZodString, z.ZodUnknown>;
456
+ }, z.core.$strip>;
457
+ };
458
+ readonly 'providers.credential_pool': {
459
+ readonly params: z.ZodObject<{
460
+ profile_home: z.ZodString;
461
+ provider: z.ZodString;
462
+ }, z.core.$strip>;
463
+ readonly result: z.ZodObject<{
464
+ available: z.ZodBoolean;
465
+ strategy: z.ZodString;
466
+ entries: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
467
+ }, z.core.$strip>;
468
+ };
469
+ readonly 'models.context_length': {
470
+ readonly params: z.ZodObject<{
471
+ profile_home: z.ZodString;
472
+ model: z.ZodString;
473
+ base_url: z.ZodOptional<z.ZodString>;
474
+ api_key: z.ZodOptional<z.ZodString>;
475
+ provider: z.ZodOptional<z.ZodString>;
476
+ config_context_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
+ }, z.core.$strip>;
478
+ readonly result: z.ZodObject<{
479
+ model: z.ZodString;
480
+ context_length: z.ZodNullable<z.ZodNumber>;
481
+ }, z.core.$strip>;
482
+ };
483
+ readonly 'models.estimate_tokens': {
484
+ readonly params: z.ZodObject<{
485
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
486
+ }, z.core.$strip>;
487
+ readonly result: z.ZodObject<{
488
+ tokens: z.ZodNumber;
489
+ }, z.core.$strip>;
490
+ };
491
+ readonly 'models.capabilities': {
492
+ readonly params: z.ZodObject<{
493
+ profile_home: z.ZodString;
494
+ provider: z.ZodString;
495
+ model: z.ZodString;
496
+ }, z.core.$strip>;
497
+ readonly result: z.ZodObject<{
498
+ capabilities: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
499
+ }, z.core.$strip>;
500
+ };
501
+ readonly 'cron.list': {
502
+ readonly params: z.ZodObject<{
503
+ profile_home: z.ZodString;
504
+ }, z.core.$strip>;
505
+ readonly result: z.ZodObject<{
506
+ jobs: z.ZodArray<z.ZodObject<{
507
+ id: z.ZodString;
508
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
509
+ profile: z.ZodNullable<z.ZodString>;
510
+ toast_notifications: z.ZodBoolean;
511
+ monitor: z.ZodString;
512
+ continuity: z.ZodBoolean;
513
+ }, z.core.$catchall<z.ZodUnknown>>>;
514
+ }, z.core.$strip>;
515
+ };
516
+ readonly 'cron.get': {
517
+ readonly params: z.ZodObject<{
518
+ profile_home: z.ZodString;
519
+ job_id: z.ZodString;
520
+ }, z.core.$strip>;
521
+ readonly result: z.ZodObject<{
522
+ job: z.ZodNullable<z.ZodObject<{
523
+ id: z.ZodString;
524
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
525
+ profile: z.ZodNullable<z.ZodString>;
526
+ toast_notifications: z.ZodBoolean;
527
+ monitor: z.ZodString;
528
+ continuity: z.ZodBoolean;
529
+ }, z.core.$catchall<z.ZodUnknown>>>;
530
+ }, z.core.$strip>;
531
+ };
532
+ readonly 'cron.create': {
533
+ readonly params: z.ZodObject<{
534
+ profile_home: z.ZodString;
535
+ job: z.ZodRecord<z.ZodString, z.ZodUnknown>;
536
+ execution_home: z.ZodOptional<z.ZodNullable<z.ZodString>>;
537
+ }, z.core.$strip>;
538
+ readonly result: z.ZodObject<{
539
+ job: z.ZodObject<{
540
+ id: z.ZodString;
541
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
+ profile: z.ZodNullable<z.ZodString>;
543
+ toast_notifications: z.ZodBoolean;
544
+ monitor: z.ZodString;
545
+ continuity: z.ZodBoolean;
546
+ }, z.core.$catchall<z.ZodUnknown>>;
547
+ }, z.core.$strip>;
548
+ };
549
+ readonly 'cron.update': {
550
+ readonly params: z.ZodObject<{
551
+ profile_home: z.ZodString;
552
+ job_id: z.ZodString;
553
+ updates: z.ZodRecord<z.ZodString, z.ZodUnknown>;
554
+ }, z.core.$strip>;
555
+ readonly result: z.ZodObject<{
556
+ job: z.ZodObject<{
557
+ id: z.ZodString;
558
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
559
+ profile: z.ZodNullable<z.ZodString>;
560
+ toast_notifications: z.ZodBoolean;
561
+ monitor: z.ZodString;
562
+ continuity: z.ZodBoolean;
563
+ }, z.core.$catchall<z.ZodUnknown>>;
564
+ }, z.core.$strip>;
565
+ };
566
+ readonly 'cron.delete': {
567
+ readonly params: z.ZodObject<{
568
+ profile_home: z.ZodString;
569
+ job_id: z.ZodString;
570
+ }, z.core.$strip>;
571
+ readonly result: z.ZodObject<{
572
+ ok: z.ZodLiteral<true>;
573
+ job_id: z.ZodString;
574
+ }, z.core.$strip>;
575
+ };
576
+ readonly 'cron.pause': {
577
+ readonly params: z.ZodObject<{
578
+ profile_home: z.ZodString;
579
+ job_id: z.ZodString;
580
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
581
+ }, z.core.$strip>;
582
+ readonly result: z.ZodObject<{
583
+ job: z.ZodObject<{
584
+ id: z.ZodString;
585
+ }, z.core.$catchall<z.ZodUnknown>>;
586
+ }, z.core.$strip>;
587
+ };
588
+ readonly 'cron.resume': {
589
+ readonly params: z.ZodObject<{
590
+ profile_home: z.ZodString;
591
+ job_id: z.ZodString;
592
+ }, z.core.$strip>;
593
+ readonly result: z.ZodObject<{
594
+ job: z.ZodObject<{
595
+ id: z.ZodString;
596
+ }, z.core.$catchall<z.ZodUnknown>>;
597
+ }, z.core.$strip>;
598
+ };
599
+ readonly 'cron.run': {
600
+ readonly params: z.ZodObject<{
601
+ profile_home: z.ZodString;
602
+ job_id: z.ZodString;
603
+ execution_home: z.ZodOptional<z.ZodNullable<z.ZodString>>;
604
+ }, z.core.$strip>;
605
+ readonly result: z.ZodUnion<readonly [z.ZodObject<{
606
+ job_id: z.ZodString;
607
+ status: z.ZodLiteral<"already_running">;
608
+ elapsed: z.ZodNumber;
609
+ }, z.core.$strip>, z.ZodObject<{
610
+ job_id: z.ZodString;
611
+ status: z.ZodEnum<{
612
+ completed: "completed";
613
+ failed: "failed";
614
+ }>;
615
+ success: z.ZodBoolean;
616
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
617
+ delivery_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
618
+ }, z.core.$strip>]>;
619
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
620
+ event: z.ZodLiteral<"started">;
621
+ data: z.ZodObject<{
622
+ job_id: z.ZodString;
623
+ }, z.core.$strip>;
624
+ }, z.core.$strip>], "event">;
625
+ };
626
+ readonly 'cron.status': {
627
+ readonly params: z.ZodObject<{
628
+ job_id: z.ZodOptional<z.ZodString>;
629
+ }, z.core.$strip>;
630
+ readonly result: z.ZodUnion<readonly [z.ZodObject<{
631
+ job_id: z.ZodString;
632
+ running: z.ZodBoolean;
633
+ elapsed: z.ZodNumber;
634
+ }, z.core.$strip>, z.ZodObject<{
635
+ running: z.ZodRecord<z.ZodString, z.ZodNumber>;
636
+ }, z.core.$strip>]>;
637
+ };
638
+ readonly 'cron.history': {
639
+ readonly params: z.ZodObject<{
640
+ profile_home: z.ZodString;
641
+ job_id: z.ZodString;
642
+ offset: z.ZodOptional<z.ZodNumber>;
643
+ limit: z.ZodOptional<z.ZodNumber>;
644
+ }, z.core.$strip>;
645
+ readonly result: z.ZodObject<{
646
+ job_id: z.ZodString;
647
+ runs: z.ZodArray<z.ZodObject<{
648
+ filename: z.ZodString;
649
+ size: z.ZodNumber;
650
+ modified: z.ZodNumber;
651
+ usage: z.ZodObject<{
652
+ model: z.ZodOptional<z.ZodString>;
653
+ provider: z.ZodOptional<z.ZodString>;
654
+ estimated_cost_usd: z.ZodOptional<z.ZodNumber>;
655
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
656
+ input_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
657
+ output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
658
+ total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
659
+ }, z.core.$strip>;
660
+ }, z.core.$strip>>;
661
+ total: z.ZodNumber;
662
+ offset: z.ZodNumber;
663
+ }, z.core.$strip>;
664
+ };
665
+ readonly 'cron.run_detail': {
666
+ readonly params: z.ZodObject<{
667
+ profile_home: z.ZodString;
668
+ job_id: z.ZodString;
669
+ filename: z.ZodString;
670
+ }, z.core.$strip>;
671
+ readonly result: z.ZodObject<{
672
+ job_id: z.ZodString;
673
+ filename: z.ZodString;
674
+ content: z.ZodString;
675
+ snippet: z.ZodString;
676
+ usage: z.ZodObject<{
677
+ model: z.ZodOptional<z.ZodString>;
678
+ provider: z.ZodOptional<z.ZodString>;
679
+ estimated_cost_usd: z.ZodOptional<z.ZodNumber>;
680
+ duration_seconds: z.ZodOptional<z.ZodNumber>;
681
+ input_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
682
+ output_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
683
+ total_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
684
+ }, z.core.$strip>;
685
+ }, z.core.$strip>;
686
+ };
687
+ readonly 'cron.output': {
688
+ readonly params: z.ZodObject<{
689
+ profile_home: z.ZodString;
690
+ job_id: z.ZodString;
691
+ limit: z.ZodOptional<z.ZodNumber>;
692
+ }, z.core.$strip>;
693
+ readonly result: z.ZodObject<{
694
+ job_id: z.ZodString;
695
+ outputs: z.ZodArray<z.ZodObject<{
696
+ filename: z.ZodString;
697
+ content: z.ZodString;
698
+ }, z.core.$strip>>;
699
+ }, z.core.$strip>;
700
+ };
701
+ readonly 'cron.delivery_options': {
702
+ readonly params: z.ZodObject<{}, z.core.$strip>;
703
+ readonly result: z.ZodObject<{
704
+ platforms: z.ZodArray<z.ZodObject<{
705
+ value: z.ZodString;
706
+ label: z.ZodString;
707
+ }, z.core.$strip>>;
708
+ }, z.core.$strip>;
709
+ };
710
+ readonly 'stt.capability': {
711
+ readonly params: z.ZodObject<{
712
+ profile_home: z.ZodString;
713
+ }, z.core.$strip>;
714
+ readonly result: z.ZodObject<{
715
+ available: z.ZodBoolean;
716
+ provider: z.ZodString;
717
+ }, z.core.$strip>;
718
+ };
719
+ readonly 'stt.transcribe': {
720
+ readonly params: z.ZodObject<{
721
+ profile_home: z.ZodString;
722
+ audio_b64: z.ZodString;
723
+ suffix: z.ZodOptional<z.ZodString>;
724
+ }, z.core.$strip>;
725
+ readonly result: z.ZodObject<{
726
+ transcript: z.ZodString;
727
+ }, z.core.$strip>;
728
+ };
729
+ readonly 'mcp.status': {
730
+ readonly params: z.ZodObject<{
731
+ profile_home: z.ZodString;
732
+ }, z.core.$strip>;
733
+ readonly result: z.ZodObject<{
734
+ servers: z.ZodArray<z.ZodObject<{
735
+ name: z.ZodString;
736
+ }, z.core.$catchall<z.ZodUnknown>>>;
737
+ }, z.core.$strip>;
738
+ };
739
+ readonly 'mcp.registry_tools': {
740
+ readonly params: z.ZodObject<{
741
+ profile_home: z.ZodString;
742
+ }, z.core.$strip>;
743
+ readonly result: z.ZodObject<{
744
+ tools: z.ZodArray<z.ZodObject<{
745
+ name: z.ZodString;
746
+ server: z.ZodString;
747
+ schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
748
+ }, z.core.$strip>>;
749
+ }, z.core.$strip>;
750
+ };
751
+ readonly 'mcp.reload': {
752
+ readonly params: z.ZodObject<{
753
+ profile_home: z.ZodString;
754
+ }, z.core.$strip>;
755
+ readonly result: z.ZodObject<{
756
+ output: z.ZodString;
757
+ }, z.core.$strip>;
758
+ };
759
+ readonly 'skills.list': {
760
+ readonly params: z.ZodObject<{
761
+ profile_home: z.ZodString;
762
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
763
+ }, z.core.$strip>;
764
+ readonly result: z.ZodObject<{
765
+ success: z.ZodOptional<z.ZodBoolean>;
766
+ skills: z.ZodArray<z.ZodObject<{
767
+ name: z.ZodString;
768
+ description: z.ZodString;
769
+ category: z.ZodNullable<z.ZodString>;
770
+ disabled: z.ZodBoolean;
771
+ }, z.core.$strip>>;
772
+ categories: z.ZodArray<z.ZodString>;
773
+ count: z.ZodNumber;
774
+ message: z.ZodOptional<z.ZodString>;
775
+ }, z.core.$strip>;
776
+ };
777
+ readonly 'skills.view': {
778
+ readonly params: z.ZodObject<{
779
+ profile_home: z.ZodString;
780
+ name: z.ZodString;
781
+ }, z.core.$strip>;
782
+ readonly result: z.ZodUnion<readonly [z.ZodObject<{
783
+ success: z.ZodLiteral<true>;
784
+ name: z.ZodString;
785
+ description: z.ZodString;
786
+ tags: z.ZodArray<z.ZodString>;
787
+ related_skills: z.ZodArray<z.ZodString>;
788
+ content: z.ZodString;
789
+ path: z.ZodString;
790
+ skill_dir: z.ZodNullable<z.ZodString>;
791
+ linked_files: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
792
+ }, z.core.$strip>, z.ZodObject<{
793
+ success: z.ZodLiteral<false>;
794
+ error: z.ZodString;
795
+ available_skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
796
+ available_skills_truncated: z.ZodOptional<z.ZodBoolean>;
797
+ total_skills: z.ZodOptional<z.ZodNumber>;
798
+ hint: z.ZodOptional<z.ZodString>;
799
+ }, z.core.$strip>]>;
800
+ };
801
+ readonly 'skills.find': {
802
+ readonly params: z.ZodObject<{
803
+ profile_home: z.ZodString;
804
+ name: z.ZodString;
805
+ }, z.core.$strip>;
806
+ readonly result: z.ZodObject<{
807
+ found: z.ZodBoolean;
808
+ skill_dir: z.ZodNullable<z.ZodString>;
809
+ skill_md: z.ZodNullable<z.ZodString>;
810
+ }, z.core.$strip>;
811
+ };
812
+ readonly 'profiles.list': {
813
+ readonly params: z.ZodObject<{
814
+ base_home: z.ZodString;
815
+ }, z.core.$strip>;
816
+ readonly result: z.ZodObject<{
817
+ profiles: z.ZodArray<z.ZodObject<{
818
+ name: z.ZodString;
819
+ path: z.ZodString;
820
+ is_default: z.ZodBoolean;
821
+ gateway_running: z.ZodBoolean;
822
+ model: z.ZodNullable<z.ZodString>;
823
+ provider: z.ZodNullable<z.ZodString>;
824
+ has_env: z.ZodBoolean;
825
+ visible: z.ZodBoolean;
826
+ skill_count: z.ZodNumber;
827
+ enabled_skills: z.ZodNumber;
828
+ total_skills: z.ZodNumber;
829
+ }, z.core.$strip>>;
830
+ }, z.core.$strip>;
831
+ };
832
+ readonly 'profiles.create': {
833
+ readonly params: z.ZodObject<{
834
+ base_home: z.ZodString;
835
+ name: z.ZodString;
836
+ clone_from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
837
+ clone_config: z.ZodOptional<z.ZodBoolean>;
838
+ }, z.core.$strip>;
839
+ readonly result: z.ZodObject<{
840
+ profile: z.ZodObject<{
841
+ name: z.ZodString;
842
+ path: z.ZodString;
843
+ is_default: z.ZodBoolean;
844
+ gateway_running: z.ZodBoolean;
845
+ model: z.ZodNullable<z.ZodString>;
846
+ provider: z.ZodNullable<z.ZodString>;
847
+ has_env: z.ZodBoolean;
848
+ visible: z.ZodBoolean;
849
+ skill_count: z.ZodNumber;
850
+ enabled_skills: z.ZodNumber;
851
+ total_skills: z.ZodNumber;
852
+ }, z.core.$strip>;
853
+ }, z.core.$strip>;
854
+ };
855
+ readonly 'profiles.delete': {
856
+ readonly params: z.ZodObject<{
857
+ base_home: z.ZodString;
858
+ name: z.ZodString;
859
+ }, z.core.$strip>;
860
+ readonly result: z.ZodObject<{
861
+ ok: z.ZodLiteral<true>;
862
+ }, z.core.$strip>;
863
+ };
864
+ readonly 'profiles.runtime_env': {
865
+ readonly params: z.ZodObject<{
866
+ profile_home: z.ZodString;
867
+ protected_keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
868
+ }, z.core.$strip>;
869
+ readonly result: z.ZodObject<{
870
+ env: z.ZodRecord<z.ZodString, z.ZodString>;
871
+ }, z.core.$strip>;
872
+ };
873
+ readonly 'profiles.skills_stats': {
874
+ readonly params: z.ZodObject<{
875
+ profile_home: z.ZodString;
876
+ }, z.core.$strip>;
877
+ readonly result: z.ZodObject<{
878
+ enabled: z.ZodNumber;
879
+ total: z.ZodNumber;
880
+ }, z.core.$strip>;
881
+ };
882
+ readonly 'state_db.sync_start': {
883
+ readonly params: z.ZodObject<{
884
+ profile_home: z.ZodString;
885
+ session_id: z.ZodString;
886
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
887
+ }, z.core.$strip>;
888
+ readonly result: z.ZodObject<{
889
+ ok: z.ZodBoolean;
890
+ }, z.core.$strip>;
891
+ };
892
+ readonly 'state_db.sync_usage': {
893
+ readonly params: z.ZodObject<{
894
+ profile_home: z.ZodString;
895
+ session_id: z.ZodString;
896
+ input_tokens: z.ZodOptional<z.ZodNumber>;
897
+ output_tokens: z.ZodOptional<z.ZodNumber>;
898
+ estimated_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
899
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
900
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
901
+ message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
902
+ cache_read_tokens: z.ZodOptional<z.ZodNumber>;
903
+ cache_write_tokens: z.ZodOptional<z.ZodNumber>;
904
+ api_call_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
905
+ }, z.core.$strip>;
906
+ readonly result: z.ZodObject<{
907
+ ok: z.ZodBoolean;
908
+ }, z.core.$strip>;
909
+ };
910
+ readonly 'state_db.sync_title': {
911
+ readonly params: z.ZodObject<{
912
+ profile_home: z.ZodString;
913
+ session_id: z.ZodString;
914
+ title: z.ZodString;
915
+ }, z.core.$strip>;
916
+ readonly result: z.ZodObject<{
917
+ ok: z.ZodBoolean;
918
+ }, z.core.$strip>;
919
+ };
920
+ readonly 'state_db.delete_cli_session': {
921
+ readonly params: z.ZodObject<{
922
+ profile_home: z.ZodString;
923
+ session_id: z.ZodString;
924
+ }, z.core.$strip>;
925
+ readonly result: z.ZodObject<{
926
+ ok: z.ZodBoolean;
927
+ }, z.core.$strip>;
928
+ };
929
+ readonly 'kanban.board': {
930
+ readonly params: z.ZodObject<{
931
+ profile_home: z.ZodString;
932
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
933
+ tenant: z.ZodOptional<z.ZodNullable<z.ZodString>>;
934
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
935
+ include_archived: z.ZodOptional<z.ZodBoolean>;
936
+ only_mine: z.ZodOptional<z.ZodBoolean>;
937
+ since: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
938
+ profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
+ }, z.core.$strip>;
940
+ readonly result: z.ZodUnion<readonly [z.ZodObject<{
941
+ changed: z.ZodLiteral<false>;
942
+ latest_event_id: z.ZodNumber;
943
+ read_only: z.ZodBoolean;
944
+ }, z.core.$strip>, z.ZodObject<{
945
+ changed: z.ZodLiteral<true>;
946
+ columns: z.ZodArray<z.ZodObject<{
947
+ name: z.ZodString;
948
+ tasks: z.ZodArray<z.ZodObject<{
949
+ id: z.ZodString;
950
+ title: z.ZodString;
951
+ status: z.ZodString;
952
+ priority: z.ZodNumber;
953
+ }, z.core.$catchall<z.ZodUnknown>>>;
954
+ }, z.core.$strip>>;
955
+ tenants: z.ZodArray<z.ZodString>;
956
+ assignees: z.ZodArray<z.ZodString>;
957
+ latest_event_id: z.ZodNumber;
958
+ read_only: z.ZodBoolean;
959
+ filters: z.ZodObject<{
960
+ tenant: z.ZodNullable<z.ZodString>;
961
+ assignee: z.ZodNullable<z.ZodString>;
962
+ include_archived: z.ZodBoolean;
963
+ only_mine: z.ZodBoolean;
964
+ profile: z.ZodNullable<z.ZodString>;
965
+ }, z.core.$strip>;
966
+ }, z.core.$strip>]>;
967
+ };
968
+ readonly 'kanban.boards': {
969
+ readonly params: z.ZodObject<{
970
+ profile_home: z.ZodString;
971
+ include_archived: z.ZodOptional<z.ZodBoolean>;
972
+ }, z.core.$strip>;
973
+ readonly result: z.ZodObject<{
974
+ boards: z.ZodArray<z.ZodObject<{
975
+ slug: z.ZodString;
976
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
977
+ archived: z.ZodOptional<z.ZodBoolean>;
978
+ is_current: z.ZodBoolean;
979
+ counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
980
+ total: z.ZodNumber;
981
+ }, z.core.$catchall<z.ZodUnknown>>>;
982
+ current: z.ZodString;
983
+ read_only: z.ZodBoolean;
984
+ }, z.core.$strip>;
985
+ };
986
+ readonly 'kanban.create_board': {
987
+ readonly params: z.ZodObject<{
988
+ profile_home: z.ZodString;
989
+ board_spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
990
+ }, z.core.$strip>;
991
+ readonly result: z.ZodObject<{
992
+ board: z.ZodObject<{
993
+ slug: z.ZodString;
994
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
995
+ archived: z.ZodOptional<z.ZodBoolean>;
996
+ }, z.core.$catchall<z.ZodUnknown>>;
997
+ current: z.ZodString;
998
+ read_only: z.ZodBoolean;
999
+ }, z.core.$strip>;
1000
+ };
1001
+ readonly 'kanban.update_board': {
1002
+ readonly params: z.ZodObject<{
1003
+ profile_home: z.ZodString;
1004
+ slug: z.ZodString;
1005
+ board_spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1006
+ }, z.core.$strip>;
1007
+ readonly result: z.ZodObject<{
1008
+ board: z.ZodObject<{
1009
+ slug: z.ZodString;
1010
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1011
+ archived: z.ZodOptional<z.ZodBoolean>;
1012
+ }, z.core.$catchall<z.ZodUnknown>>;
1013
+ read_only: z.ZodBoolean;
1014
+ }, z.core.$strip>;
1015
+ };
1016
+ readonly 'kanban.delete_board': {
1017
+ readonly params: z.ZodObject<{
1018
+ profile_home: z.ZodString;
1019
+ slug: z.ZodString;
1020
+ delete: z.ZodOptional<z.ZodBoolean>;
1021
+ }, z.core.$strip>;
1022
+ readonly result: z.ZodObject<{
1023
+ result: z.ZodUnknown;
1024
+ current: z.ZodString;
1025
+ read_only: z.ZodBoolean;
1026
+ }, z.core.$strip>;
1027
+ };
1028
+ readonly 'kanban.switch_board': {
1029
+ readonly params: z.ZodObject<{
1030
+ profile_home: z.ZodString;
1031
+ slug: z.ZodString;
1032
+ }, z.core.$strip>;
1033
+ readonly result: z.ZodObject<{
1034
+ current: z.ZodString;
1035
+ read_only: z.ZodBoolean;
1036
+ }, z.core.$strip>;
1037
+ };
1038
+ readonly 'kanban.task': {
1039
+ readonly params: z.ZodObject<{
1040
+ profile_home: z.ZodString;
1041
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1042
+ task_id: z.ZodString;
1043
+ }, z.core.$strip>;
1044
+ readonly result: z.ZodObject<{
1045
+ task: z.ZodObject<{
1046
+ id: z.ZodString;
1047
+ title: z.ZodString;
1048
+ status: z.ZodString;
1049
+ priority: z.ZodNumber;
1050
+ }, z.core.$catchall<z.ZodUnknown>>;
1051
+ comments: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1052
+ events: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1053
+ links: z.ZodObject<{
1054
+ parents: z.ZodArray<z.ZodString>;
1055
+ children: z.ZodArray<z.ZodString>;
1056
+ }, z.core.$strip>;
1057
+ runs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1058
+ read_only: z.ZodBoolean;
1059
+ }, z.core.$strip>;
1060
+ };
1061
+ readonly 'kanban.create_task': {
1062
+ readonly params: z.ZodObject<{
1063
+ profile_home: z.ZodString;
1064
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1065
+ task: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1066
+ }, z.core.$strip>;
1067
+ readonly result: z.ZodObject<{
1068
+ task: z.ZodObject<{
1069
+ id: z.ZodString;
1070
+ title: z.ZodString;
1071
+ status: z.ZodString;
1072
+ priority: z.ZodNumber;
1073
+ }, z.core.$catchall<z.ZodUnknown>>;
1074
+ read_only: z.ZodBoolean;
1075
+ }, z.core.$strip>;
1076
+ };
1077
+ readonly 'kanban.patch_task': {
1078
+ readonly params: z.ZodObject<{
1079
+ profile_home: z.ZodString;
1080
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ task_id: z.ZodString;
1082
+ patch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1083
+ }, z.core.$strip>;
1084
+ readonly result: z.ZodObject<{
1085
+ task: z.ZodObject<{
1086
+ id: z.ZodString;
1087
+ title: z.ZodString;
1088
+ status: z.ZodString;
1089
+ priority: z.ZodNumber;
1090
+ }, z.core.$catchall<z.ZodUnknown>>;
1091
+ read_only: z.ZodBoolean;
1092
+ }, z.core.$strip>;
1093
+ };
1094
+ readonly 'kanban.task_action': {
1095
+ readonly params: z.ZodObject<{
1096
+ profile_home: z.ZodString;
1097
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1098
+ task_id: z.ZodString;
1099
+ action: z.ZodEnum<{
1100
+ block: "block";
1101
+ unblock: "unblock";
1102
+ }>;
1103
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1104
+ }, z.core.$strip>;
1105
+ readonly result: z.ZodObject<{
1106
+ task: z.ZodObject<{
1107
+ id: z.ZodString;
1108
+ title: z.ZodString;
1109
+ status: z.ZodString;
1110
+ priority: z.ZodNumber;
1111
+ }, z.core.$catchall<z.ZodUnknown>>;
1112
+ read_only: z.ZodBoolean;
1113
+ }, z.core.$strip>;
1114
+ };
1115
+ readonly 'kanban.comment': {
1116
+ readonly params: z.ZodObject<{
1117
+ profile_home: z.ZodString;
1118
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1119
+ task_id: z.ZodString;
1120
+ body: z.ZodString;
1121
+ author: z.ZodOptional<z.ZodString>;
1122
+ }, z.core.$strip>;
1123
+ readonly result: z.ZodObject<{
1124
+ ok: z.ZodLiteral<true>;
1125
+ comment_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1126
+ read_only: z.ZodBoolean;
1127
+ }, z.core.$strip>;
1128
+ };
1129
+ readonly 'kanban.link': {
1130
+ readonly params: z.ZodObject<{
1131
+ profile_home: z.ZodString;
1132
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1133
+ parent_id: z.ZodString;
1134
+ child_id: z.ZodString;
1135
+ }, z.core.$strip>;
1136
+ readonly result: z.ZodObject<{
1137
+ ok: z.ZodLiteral<true>;
1138
+ parent_id: z.ZodString;
1139
+ child_id: z.ZodString;
1140
+ read_only: z.ZodBoolean;
1141
+ }, z.core.$strip>;
1142
+ };
1143
+ readonly 'kanban.unlink': {
1144
+ readonly params: z.ZodObject<{
1145
+ profile_home: z.ZodString;
1146
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1147
+ parent_id: z.ZodString;
1148
+ child_id: z.ZodString;
1149
+ }, z.core.$strip>;
1150
+ readonly result: z.ZodObject<{
1151
+ ok: z.ZodLiteral<true>;
1152
+ changed: z.ZodBoolean;
1153
+ parent_id: z.ZodString;
1154
+ child_id: z.ZodString;
1155
+ read_only: z.ZodBoolean;
1156
+ }, z.core.$strip>;
1157
+ };
1158
+ readonly 'kanban.normalize_board': {
1159
+ readonly params: z.ZodObject<{
1160
+ profile_home: z.ZodString;
1161
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1162
+ }, z.core.$strip>;
1163
+ readonly result: z.ZodObject<{
1164
+ board: z.ZodString;
1165
+ }, z.core.$strip>;
1166
+ };
1167
+ readonly 'kanban.events': {
1168
+ readonly params: z.ZodObject<{
1169
+ profile_home: z.ZodString;
1170
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
+ since: z.ZodOptional<z.ZodNumber>;
1172
+ limit: z.ZodOptional<z.ZodNumber>;
1173
+ }, z.core.$strip>;
1174
+ readonly result: z.ZodObject<{
1175
+ events: z.ZodArray<z.ZodObject<{
1176
+ id: z.ZodNumber;
1177
+ task_id: z.ZodNullable<z.ZodString>;
1178
+ run_id: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1179
+ kind: z.ZodString;
1180
+ payload: z.ZodUnknown;
1181
+ created_at: z.ZodNullable<z.ZodNumber>;
1182
+ }, z.core.$strip>>;
1183
+ cursor: z.ZodNumber;
1184
+ latest_event_id: z.ZodNumber;
1185
+ read_only: z.ZodBoolean;
1186
+ }, z.core.$strip>;
1187
+ };
1188
+ readonly 'kanban.config': {
1189
+ readonly params: z.ZodObject<{
1190
+ profile_home: z.ZodString;
1191
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1192
+ }, z.core.$strip>;
1193
+ readonly result: z.ZodObject<{
1194
+ columns: z.ZodArray<z.ZodString>;
1195
+ assignees: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1196
+ name: z.ZodString;
1197
+ on_disk: z.ZodOptional<z.ZodBoolean>;
1198
+ counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1199
+ }, z.core.$catchall<z.ZodUnknown>>]>>;
1200
+ default_tenant: z.ZodString;
1201
+ lane_by_profile: z.ZodBoolean;
1202
+ include_archived_by_default: z.ZodBoolean;
1203
+ render_markdown: z.ZodBoolean;
1204
+ read_only: z.ZodBoolean;
1205
+ }, z.core.$strip>;
1206
+ };
1207
+ readonly 'kanban.stats': {
1208
+ readonly params: z.ZodObject<{
1209
+ profile_home: z.ZodString;
1210
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1211
+ }, z.core.$strip>;
1212
+ readonly result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1213
+ };
1214
+ readonly 'kanban.assignees': {
1215
+ readonly params: z.ZodObject<{
1216
+ profile_home: z.ZodString;
1217
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1218
+ }, z.core.$strip>;
1219
+ readonly result: z.ZodObject<{
1220
+ assignees: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1221
+ name: z.ZodString;
1222
+ on_disk: z.ZodOptional<z.ZodBoolean>;
1223
+ counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1224
+ }, z.core.$catchall<z.ZodUnknown>>]>>;
1225
+ }, z.core.$strip>;
1226
+ };
1227
+ readonly 'kanban.task_log': {
1228
+ readonly params: z.ZodObject<{
1229
+ profile_home: z.ZodString;
1230
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
+ task_id: z.ZodString;
1232
+ tail: z.ZodOptional<z.ZodNumber>;
1233
+ }, z.core.$strip>;
1234
+ readonly result: z.ZodObject<{
1235
+ task_id: z.ZodString;
1236
+ path: z.ZodString;
1237
+ exists: z.ZodBoolean;
1238
+ size_bytes: z.ZodNumber;
1239
+ content: z.ZodString;
1240
+ truncated: z.ZodBoolean;
1241
+ }, z.core.$strip>;
1242
+ };
1243
+ readonly 'kanban.bulk': {
1244
+ readonly params: z.ZodObject<{
1245
+ profile_home: z.ZodString;
1246
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1247
+ bulk: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1248
+ }, z.core.$strip>;
1249
+ readonly result: z.ZodObject<{
1250
+ results: z.ZodArray<z.ZodObject<{
1251
+ id: z.ZodString;
1252
+ ok: z.ZodBoolean;
1253
+ error: z.ZodOptional<z.ZodString>;
1254
+ }, z.core.$strip>>;
1255
+ read_only: z.ZodBoolean;
1256
+ }, z.core.$strip>;
1257
+ };
1258
+ readonly 'kanban.dispatch': {
1259
+ readonly params: z.ZodObject<{
1260
+ profile_home: z.ZodString;
1261
+ board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1262
+ dry_run: z.ZodOptional<z.ZodBoolean>;
1263
+ max: z.ZodOptional<z.ZodNumber>;
1264
+ }, z.core.$strip>;
1265
+ readonly result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1266
+ };
1267
+ readonly 'commands.registry': {
1268
+ readonly params: z.ZodObject<{
1269
+ profile_home: z.ZodString;
1270
+ }, z.core.$strip>;
1271
+ readonly result: z.ZodObject<{
1272
+ commands: z.ZodArray<z.ZodObject<{
1273
+ name: z.ZodString;
1274
+ description: z.ZodString;
1275
+ category: z.ZodString;
1276
+ aliases: z.ZodArray<z.ZodString>;
1277
+ args_hint: z.ZodString;
1278
+ subcommands: z.ZodArray<z.ZodString>;
1279
+ cli_only: z.ZodBoolean;
1280
+ gateway_only: z.ZodBoolean;
1281
+ }, z.core.$strip>>;
1282
+ }, z.core.$strip>;
1283
+ };
1284
+ readonly 'commands.exec': {
1285
+ readonly params: z.ZodObject<{
1286
+ profile_home: z.ZodString;
1287
+ command: z.ZodString;
1288
+ }, z.core.$strip>;
1289
+ readonly result: z.ZodObject<{
1290
+ output: z.ZodString;
1291
+ source: z.ZodEnum<{
1292
+ agent: "agent";
1293
+ plugin: "plugin";
1294
+ }>;
1295
+ }, z.core.$strip>;
1296
+ };
1297
+ readonly 'commands.moa_preset': {
1298
+ readonly params: z.ZodObject<{
1299
+ profile_home: z.ZodString;
1300
+ preset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1301
+ }, z.core.$strip>;
1302
+ readonly result: z.ZodObject<{
1303
+ moa: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1304
+ }, z.core.$strip>;
1305
+ };
1306
+ readonly 'plugins.providers': {
1307
+ readonly params: z.ZodObject<{
1308
+ profile_home: z.ZodString;
1309
+ }, z.core.$strip>;
1310
+ readonly result: z.ZodObject<{
1311
+ providers: z.ZodArray<z.ZodObject<{
1312
+ name: z.ZodString;
1313
+ display_name: z.ZodString;
1314
+ env_vars: z.ZodArray<z.ZodString>;
1315
+ api_key_env: z.ZodNullable<z.ZodString>;
1316
+ }, z.core.$strip>>;
1317
+ }, z.core.$strip>;
1318
+ };
1319
+ readonly 'plugins.list': {
1320
+ readonly params: z.ZodObject<{
1321
+ profile_home: z.ZodString;
1322
+ selected_providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1323
+ }, z.core.$strip>;
1324
+ readonly result: z.ZodObject<{
1325
+ plugins: z.ZodArray<z.ZodObject<{
1326
+ name: z.ZodString;
1327
+ key: z.ZodString;
1328
+ version: z.ZodString;
1329
+ description: z.ZodString;
1330
+ enabled: z.ZodBoolean;
1331
+ kind: z.ZodString;
1332
+ activation: z.ZodString;
1333
+ hooks: z.ZodArray<z.ZodString>;
1334
+ is_active_provider: z.ZodOptional<z.ZodBoolean>;
1335
+ }, z.core.$strip>>;
1336
+ supported_hooks: z.ZodArray<z.ZodString>;
1337
+ }, z.core.$strip>;
1338
+ };
1339
+ readonly 'goals.get': {
1340
+ readonly params: z.ZodObject<{
1341
+ profile_home: z.ZodString;
1342
+ session_id: z.ZodString;
1343
+ default_max_turns: z.ZodOptional<z.ZodNumber>;
1344
+ }, z.core.$strip>;
1345
+ readonly result: z.ZodObject<{
1346
+ goal: z.ZodNullable<z.ZodObject<{
1347
+ goal: z.ZodString;
1348
+ status: z.ZodString;
1349
+ turns_used: z.ZodNumber;
1350
+ max_turns: z.ZodNumber;
1351
+ last_verdict: z.ZodNullable<z.ZodString>;
1352
+ last_reason: z.ZodNullable<z.ZodString>;
1353
+ paused_reason: z.ZodNullable<z.ZodString>;
1354
+ }, z.core.$strip>>;
1355
+ active: z.ZodBoolean;
1356
+ message: z.ZodString;
1357
+ message_key: z.ZodOptional<z.ZodString>;
1358
+ message_args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1359
+ }, z.core.$strip>;
1360
+ };
1361
+ readonly 'goals.command': {
1362
+ readonly params: z.ZodObject<{
1363
+ profile_home: z.ZodString;
1364
+ session_id: z.ZodString;
1365
+ default_max_turns: z.ZodOptional<z.ZodNumber>;
1366
+ args: z.ZodString;
1367
+ stream_running: z.ZodOptional<z.ZodBoolean>;
1368
+ }, z.core.$strip>;
1369
+ readonly result: z.ZodObject<{
1370
+ ok: z.ZodBoolean;
1371
+ action: z.ZodString;
1372
+ message: z.ZodString;
1373
+ goal: z.ZodNullable<z.ZodObject<{
1374
+ goal: z.ZodString;
1375
+ status: z.ZodString;
1376
+ turns_used: z.ZodNumber;
1377
+ max_turns: z.ZodNumber;
1378
+ last_verdict: z.ZodNullable<z.ZodString>;
1379
+ last_reason: z.ZodNullable<z.ZodString>;
1380
+ paused_reason: z.ZodNullable<z.ZodString>;
1381
+ }, z.core.$strip>>;
1382
+ error: z.ZodOptional<z.ZodString>;
1383
+ kickoff_prompt: z.ZodOptional<z.ZodString>;
1384
+ message_key: z.ZodOptional<z.ZodString>;
1385
+ message_args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1386
+ }, z.core.$strip>;
1387
+ };
1388
+ readonly 'goals.snapshot': {
1389
+ readonly params: z.ZodObject<{
1390
+ profile_home: z.ZodString;
1391
+ session_id: z.ZodString;
1392
+ default_max_turns: z.ZodOptional<z.ZodNumber>;
1393
+ }, z.core.$strip>;
1394
+ readonly result: z.ZodObject<{
1395
+ goal: z.ZodNullable<z.ZodObject<{
1396
+ goal: z.ZodString;
1397
+ status: z.ZodString;
1398
+ turns_used: z.ZodNumber;
1399
+ max_turns: z.ZodNumber;
1400
+ last_verdict: z.ZodNullable<z.ZodString>;
1401
+ last_reason: z.ZodNullable<z.ZodString>;
1402
+ paused_reason: z.ZodNullable<z.ZodString>;
1403
+ }, z.core.$strip>>;
1404
+ snapshot: z.ZodNullable<z.ZodString>;
1405
+ }, z.core.$strip>;
1406
+ };
1407
+ readonly 'goals.restore': {
1408
+ readonly params: z.ZodObject<{
1409
+ profile_home: z.ZodString;
1410
+ session_id: z.ZodString;
1411
+ default_max_turns: z.ZodOptional<z.ZodNumber>;
1412
+ snapshot: z.ZodNullable<z.ZodString>;
1413
+ }, z.core.$strip>;
1414
+ readonly result: z.ZodObject<{
1415
+ goal: z.ZodNullable<z.ZodObject<{
1416
+ goal: z.ZodString;
1417
+ status: z.ZodString;
1418
+ turns_used: z.ZodNumber;
1419
+ max_turns: z.ZodNumber;
1420
+ last_verdict: z.ZodNullable<z.ZodString>;
1421
+ last_reason: z.ZodNullable<z.ZodString>;
1422
+ paused_reason: z.ZodNullable<z.ZodString>;
1423
+ }, z.core.$strip>>;
1424
+ }, z.core.$strip>;
1425
+ };
1426
+ readonly 'goals.evaluate': {
1427
+ readonly params: z.ZodObject<{
1428
+ profile_home: z.ZodString;
1429
+ session_id: z.ZodString;
1430
+ default_max_turns: z.ZodOptional<z.ZodNumber>;
1431
+ last_response: z.ZodString;
1432
+ user_initiated: z.ZodOptional<z.ZodBoolean>;
1433
+ }, z.core.$strip>;
1434
+ readonly result: z.ZodObject<{
1435
+ status: z.ZodNullable<z.ZodString>;
1436
+ should_continue: z.ZodBoolean;
1437
+ continuation_prompt: z.ZodNullable<z.ZodString>;
1438
+ verdict: z.ZodString;
1439
+ reason: z.ZodString;
1440
+ message: z.ZodString;
1441
+ message_key: z.ZodOptional<z.ZodString>;
1442
+ message_args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1443
+ }, z.core.$strip>;
1444
+ };
1445
+ readonly 'rpc.cancel': {
1446
+ readonly params: z.ZodObject<{
1447
+ id: z.ZodNumber;
1448
+ }, z.core.$strip>;
1449
+ readonly result: z.ZodObject<{
1450
+ cancelled: z.ZodBoolean;
1451
+ reason: z.ZodOptional<z.ZodString>;
1452
+ }, z.core.$strip>;
1453
+ };
1454
+ readonly 'rpc.methods': {
1455
+ readonly params: z.ZodObject<{}, z.core.$strip>;
1456
+ readonly result: z.ZodObject<{
1457
+ methods: z.ZodArray<z.ZodString>;
1458
+ }, z.core.$strip>;
1459
+ };
1460
+ readonly 'runtime.handshake': {
1461
+ readonly params: z.ZodObject<{
1462
+ rpc_version: z.ZodNumber;
1463
+ }, z.core.$strip>;
1464
+ readonly result: z.ZodObject<{
1465
+ rpc_version: z.ZodNumber;
1466
+ python: z.ZodString;
1467
+ python_version: z.ZodString;
1468
+ agent_dir: z.ZodNullable<z.ZodString>;
1469
+ agent_revision: z.ZodNullable<z.ZodString>;
1470
+ agent_version: z.ZodNullable<z.ZodString>;
1471
+ pinned_revision: z.ZodString;
1472
+ pinned_version: z.ZodString;
1473
+ pinned_image: z.ZodString;
1474
+ compatible: z.ZodBoolean;
1475
+ stale: z.ZodBoolean;
1476
+ update_state: z.ZodEnum<{
1477
+ unknown: "unknown";
1478
+ stale: "stale";
1479
+ absent: "absent";
1480
+ active: "active";
1481
+ incomplete: "incomplete";
1482
+ unverified: "unverified";
1483
+ }>;
1484
+ import_error: z.ZodNullable<z.ZodString>;
1485
+ }, z.core.$strip>;
1486
+ };
1487
+ readonly 'runtime.status': {
1488
+ readonly params: z.ZodObject<{}, z.core.$strip>;
1489
+ readonly result: z.ZodObject<{
1490
+ rpc_version: z.ZodNumber;
1491
+ python: z.ZodString;
1492
+ python_version: z.ZodString;
1493
+ agent_dir: z.ZodNullable<z.ZodString>;
1494
+ agent_revision: z.ZodNullable<z.ZodString>;
1495
+ agent_version: z.ZodNullable<z.ZodString>;
1496
+ pinned_revision: z.ZodString;
1497
+ pinned_version: z.ZodString;
1498
+ pinned_image: z.ZodString;
1499
+ compatible: z.ZodBoolean;
1500
+ stale: z.ZodBoolean;
1501
+ update_state: z.ZodEnum<{
1502
+ unknown: "unknown";
1503
+ stale: "stale";
1504
+ absent: "absent";
1505
+ active: "active";
1506
+ incomplete: "incomplete";
1507
+ unverified: "unverified";
1508
+ }>;
1509
+ import_error: z.ZodNullable<z.ZodString>;
1510
+ }, z.core.$strip>;
1511
+ };
1512
+ readonly 'runtime.ensure_current': {
1513
+ readonly params: z.ZodObject<{}, z.core.$strip>;
1514
+ readonly result: z.ZodObject<{
1515
+ current: z.ZodLiteral<true>;
1516
+ agent_revision: z.ZodNullable<z.ZodString>;
1517
+ }, z.core.$strip>;
1518
+ };
1519
+ readonly 'runtime.shutdown': {
1520
+ readonly params: z.ZodObject<{
1521
+ exit_code: z.ZodOptional<z.ZodNumber>;
1522
+ }, z.core.$strip>;
1523
+ readonly result: z.ZodObject<{
1524
+ ok: z.ZodLiteral<true>;
1525
+ }, z.core.$strip>;
1526
+ };
1527
+ readonly 'runtime.env': {
1528
+ readonly params: z.ZodObject<{
1529
+ set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1530
+ unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
1531
+ }, z.core.$strip>;
1532
+ readonly result: z.ZodObject<{
1533
+ ok: z.ZodLiteral<true>;
1534
+ }, z.core.$strip>;
1535
+ };
1536
+ };
1537
+ export type SidecarMethods = typeof SIDECAR_METHODS;
1538
+ export type SidecarMethodName = keyof SidecarMethods;
1539
+ export type SidecarParams<M extends SidecarMethodName> = z.input<SidecarMethods[M]['params']>;
1540
+ export type SidecarResult<M extends SidecarMethodName> = z.output<SidecarMethods[M]['result']>;
1541
+ export type SidecarStreamEvent<M extends SidecarMethodName> = SidecarMethods[M] extends {
1542
+ stream: infer S extends z.ZodType;
1543
+ } ? z.output<S> : never;
1544
+ export declare const SIDECAR_METHOD_NAMES: SidecarMethodName[];