@maudecode/talaria-web-contracts 1.19.0 → 1.20.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 (66) hide show
  1. package/dist/context-detail.d.ts +75 -0
  2. package/dist/context-detail.js +18 -0
  3. package/dist/context-detail.js.map +1 -0
  4. package/dist/gateway-session.d.ts +253 -7
  5. package/dist/gateway-session.js +63 -3
  6. package/dist/gateway-session.js.map +1 -1
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.js +1 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/router.d.ts +1398 -191
  11. package/dist/routes/automation.d.ts +9 -7
  12. package/dist/routes/automation.js +1 -1
  13. package/dist/routes/automation.js.map +1 -1
  14. package/dist/routes/chat.d.ts +303 -40
  15. package/dist/routes/chat.js +4 -3
  16. package/dist/routes/chat.js.map +1 -1
  17. package/dist/routes/core.d.ts +4 -4
  18. package/dist/routes/git.d.ts +9 -0
  19. package/dist/routes/git.js +6 -1
  20. package/dist/routes/git.js.map +1 -1
  21. package/dist/routes/raw.js +9 -5
  22. package/dist/routes/raw.js.map +1 -1
  23. package/dist/routes/sessions.d.ts +921 -124
  24. package/dist/routes/sessions.js +6 -0
  25. package/dist/routes/sessions.js.map +1 -1
  26. package/dist/routes/settings.d.ts +29 -13
  27. package/dist/routes/settings.js +3 -2
  28. package/dist/routes/settings.js.map +1 -1
  29. package/dist/routes/tools.d.ts +314 -30
  30. package/dist/routes/tools.js +14 -4
  31. package/dist/routes/tools.js.map +1 -1
  32. package/dist/routes/workspaces.d.ts +4 -4
  33. package/dist/sidecar/methods.d.ts +816 -19
  34. package/dist/sidecar/methods.js +2 -2
  35. package/dist/sidecar/methods.js.map +1 -1
  36. package/dist/sidecar/namespaces.d.ts +959 -28
  37. package/dist/sidecar/namespaces.js +101 -14
  38. package/dist/sidecar/namespaces.js.map +1 -1
  39. package/dist/sidecar/rpc.d.ts +1 -0
  40. package/dist/sidecar/rpc.js +2 -0
  41. package/dist/sidecar/rpc.js.map +1 -1
  42. package/dist/sidecar/runtime.d.ts +13 -0
  43. package/dist/sidecar/runtime.js +9 -0
  44. package/dist/sidecar/runtime.js.map +1 -1
  45. package/dist/sidecar/version.d.ts +1 -1
  46. package/dist/sidecar/version.js +1 -1
  47. package/dist/sse.d.ts +83 -12
  48. package/dist/sse.js +8 -2
  49. package/dist/sse.js.map +1 -1
  50. package/dist/views.d.ts +584 -103
  51. package/dist/views.js +54 -11
  52. package/dist/views.js.map +1 -1
  53. package/fixtures/sidecar/aux.json +8 -0
  54. package/fixtures/sidecar/chat.json +14 -0
  55. package/fixtures/sidecar/checkpoints.json +7 -2
  56. package/fixtures/sidecar/context-detail.json +77 -0
  57. package/fixtures/sidecar/cron.json +3 -1
  58. package/fixtures/sidecar/dashboard_plugins.json +59 -0
  59. package/fixtures/sidecar/gateway.json +163 -0
  60. package/fixtures/sidecar/plugin-catalog.json +4 -0
  61. package/fixtures/sidecar/plugins.json +56 -1
  62. package/fixtures/sidecar/process.json +32 -0
  63. package/fixtures/sidecar/rpc.json +4 -0
  64. package/fixtures/sidecar/runtime.json +3 -3
  65. package/fixtures/sidecar/state_db.json +10 -0
  66. package/package.json +1 -1
@@ -237,8 +237,8 @@ export declare const CommandSchema: z.ZodObject<{
237
237
  gateway_only: z.ZodBoolean;
238
238
  exec: z.ZodBoolean;
239
239
  prompt: z.ZodNullable<z.ZodEnum<{
240
- expand: "expand";
241
240
  unsupported: "unsupported";
241
+ expand: "expand";
242
242
  }>>;
243
243
  }, z.core.$strip>;
244
244
  /**
@@ -270,6 +270,93 @@ export declare const PluginSettingFieldSchema: z.ZodObject<{
270
270
  has_value: z.ZodOptional<z.ZodBoolean>;
271
271
  }, z.core.$strip>;
272
272
  export type PluginSettingField = z.infer<typeof PluginSettingFieldSchema>;
273
+ /** Persistence succeeded; this separately describes application to live plugin MCP connections. */
274
+ export declare const PluginRuntimeApplicationSchema: z.ZodEnum<{
275
+ unknown: "unknown";
276
+ applied: "applied";
277
+ restart_required: "restart_required";
278
+ }>;
279
+ /** TAL-1276: one OAuth client a plugin manifest declares, its grant's state as `hermes auth status` maps it, and the hosts the code is approved at and exchanged at. */
280
+ export declare const PluginOAuthStateSchema: z.ZodEnum<{
281
+ signed_in: "signed_in";
282
+ sign_in_needed: "sign_in_needed";
283
+ revoked: "revoked";
284
+ logged_out: "logged_out";
285
+ }>;
286
+ export declare const PluginOAuthClientSchema: z.ZodObject<{
287
+ id: z.ZodString;
288
+ state: z.ZodEnum<{
289
+ signed_in: "signed_in";
290
+ sign_in_needed: "sign_in_needed";
291
+ revoked: "revoked";
292
+ logged_out: "logged_out";
293
+ }>;
294
+ authorize_host: z.ZodString;
295
+ token_host: z.ZodString;
296
+ }, z.core.$strip>;
297
+ export type PluginOAuthClient = z.infer<typeof PluginOAuthClientSchema>;
298
+ export declare const PluginUpdateResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
299
+ key: z.ZodString;
300
+ status: z.ZodLiteral<"updated">;
301
+ }, z.core.$strip>, z.ZodObject<{
302
+ key: z.ZodString;
303
+ status: z.ZodLiteral<"needs_consent">;
304
+ verdict: z.ZodLiteral<"caution">;
305
+ findings: z.ZodString;
306
+ consent_token: z.ZodString;
307
+ }, z.core.$strip>, z.ZodObject<{
308
+ key: z.ZodString;
309
+ status: z.ZodLiteral<"blocked">;
310
+ verdict: z.ZodString;
311
+ findings: z.ZodString;
312
+ }, z.core.$strip>], "status">;
313
+ export type PluginUpdateResult = z.infer<typeof PluginUpdateResultSchema>;
314
+ export declare const PluginCatalogQuerySchema: z.ZodObject<{
315
+ query: z.ZodDefault<z.ZodString>;
316
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
317
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
318
+ }, z.core.$strip>;
319
+ export declare const PluginInstallInputSchema: z.ZodObject<{
320
+ name: z.ZodString;
321
+ consent_token: z.ZodOptional<z.ZodString>;
322
+ }, z.core.$strip>;
323
+ export declare const PluginCatalogSchema: z.ZodObject<{
324
+ supported: z.ZodBoolean;
325
+ read_only: z.ZodOptional<z.ZodBoolean>;
326
+ entries: z.ZodArray<z.ZodObject<{
327
+ name: z.ZodString;
328
+ title: z.ZodString;
329
+ description: z.ZodString;
330
+ repo: z.ZodString;
331
+ sha: z.ZodString;
332
+ tier: z.ZodString;
333
+ category: z.ZodString;
334
+ requirements: z.ZodArray<z.ZodString>;
335
+ installed_key: z.ZodNullable<z.ZodString>;
336
+ installed_sha: z.ZodNullable<z.ZodString>;
337
+ can_install: z.ZodBoolean;
338
+ refusal: z.ZodNullable<z.ZodString>;
339
+ }, z.core.$strip>>;
340
+ total: z.ZodNumber;
341
+ next_offset: z.ZodNullable<z.ZodNumber>;
342
+ }, z.core.$strip>;
343
+ export declare const PluginInstallResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
344
+ name: z.ZodString;
345
+ key: z.ZodString;
346
+ status: z.ZodLiteral<"installed">;
347
+ enabled: z.ZodLiteral<false>;
348
+ }, z.core.$strip>, z.ZodObject<{
349
+ name: z.ZodString;
350
+ status: z.ZodLiteral<"needs_consent">;
351
+ findings: z.ZodString;
352
+ consent_token: z.ZodString;
353
+ }, z.core.$strip>, z.ZodObject<{
354
+ name: z.ZodString;
355
+ status: z.ZodLiteral<"blocked">;
356
+ findings: z.ZodString;
357
+ }, z.core.$strip>], "status">;
358
+ export type PluginInstallResult = z.infer<typeof PluginInstallResultSchema>;
359
+ export type PluginCatalog = z.infer<typeof PluginCatalogSchema>;
273
360
  export declare const PluginProviderSchema: z.ZodObject<{
274
361
  name: z.ZodString;
275
362
  display_name: z.ZodString;
@@ -282,6 +369,21 @@ export declare const PluginProviderSchema: z.ZodObject<{
282
369
  not_loaded: "not_loaded";
283
370
  }>;
284
371
  }, z.core.$strip>;
372
+ /** Profile-owned Agent dashboards use Web protocol panels; native Desktop bundles need migration. */
373
+ export declare const AgentDashboardPluginSchema: z.ZodObject<{
374
+ name: z.ZodString;
375
+ label: z.ZodString;
376
+ version: z.ZodString;
377
+ description: z.ZodString;
378
+ enabled: z.ZodBoolean;
379
+ panel: z.ZodNullable<z.ZodString>;
380
+ has_api: z.ZodBoolean;
381
+ }, z.core.$strip>;
382
+ export declare const AgentDashboardResponseSchema: z.ZodObject<{
383
+ status: z.ZodNumber;
384
+ body: z.ZodString;
385
+ content_type: z.ZodString;
386
+ }, z.core.$strip>;
285
387
  /** A skill bundle: `/<name>` loads its `skill_count` skills in one message (TAL-265). */
286
388
  export declare const CommandBundleSchema: z.ZodObject<{
287
389
  name: z.ZodString;
@@ -314,13 +416,16 @@ export declare const COMMANDS_METHODS: {
314
416
  gateway_only: z.ZodBoolean;
315
417
  exec: z.ZodBoolean;
316
418
  prompt: z.ZodNullable<z.ZodEnum<{
317
- expand: "expand";
318
419
  unsupported: "unsupported";
420
+ expand: "expand";
319
421
  }>>;
320
422
  }, z.core.$strip>>;
321
423
  }, z.core.$strip>;
322
424
  };
323
- /** With `session_id`, a plugin command runs under that chat's session binding and `workspace` (TAL-904). */
425
+ /**
426
+ * With `session_id`, a plugin command runs under that chat's session binding and `workspace` (TAL-904) and receives the session
427
+ * as its handler declares it; every recognised command fires the Agent's `pre_command` hook with that session (TAL-1267).
428
+ */
324
429
  readonly 'commands.exec': {
325
430
  readonly params: z.ZodObject<{
326
431
  profile_home: z.ZodString;
@@ -339,12 +444,13 @@ export declare const COMMANDS_METHODS: {
339
444
  /**
340
445
  * `/<prompt built-in> [args]` as the turn text (`message`) the Agent's builder writes for the session's profile, workspace and toolsets.
341
446
  * `name` is the built-in's canonical name, null when the command is not one; `message` is null when this Agent has no builder for it.
342
- * A failing builder errors `prompt_expand_failed`.
447
+ * A failing builder errors `prompt_expand_failed`. Every built-in fires the Agent's `pre_command` hook with `session_id` (TAL-1279).
343
448
  */
344
449
  readonly 'commands.expand_prompt': {
345
450
  readonly params: z.ZodObject<{
346
451
  profile_home: z.ZodString;
347
452
  command: z.ZodString;
453
+ session_id: z.ZodOptional<z.ZodString>;
348
454
  workspace: z.ZodString;
349
455
  enabled_toolsets: z.ZodNullable<z.ZodArray<z.ZodString>>;
350
456
  }, z.core.$strip>;
@@ -388,6 +494,64 @@ export declare const COMMANDS_METHODS: {
388
494
  moa: z.ZodRecord<z.ZodString, z.ZodUnknown>;
389
495
  }, z.core.$strip>;
390
496
  };
497
+ readonly 'plugins.dashboard_list': {
498
+ readonly params: z.ZodObject<{
499
+ profile_home: z.ZodString;
500
+ }, z.core.$strip>;
501
+ readonly result: z.ZodObject<{
502
+ supported: z.ZodBoolean;
503
+ plugins: z.ZodArray<z.ZodObject<{
504
+ name: z.ZodString;
505
+ label: z.ZodString;
506
+ version: z.ZodString;
507
+ description: z.ZodString;
508
+ enabled: z.ZodBoolean;
509
+ panel: z.ZodNullable<z.ZodString>;
510
+ has_api: z.ZodBoolean;
511
+ }, z.core.$strip>>;
512
+ }, z.core.$strip>;
513
+ };
514
+ readonly 'plugins.dashboard_toggle': {
515
+ readonly params: z.ZodObject<{
516
+ profile_home: z.ZodString;
517
+ name: z.ZodString;
518
+ enabled: z.ZodBoolean;
519
+ }, z.core.$strip>;
520
+ readonly result: z.ZodObject<{
521
+ ok: z.ZodLiteral<true>;
522
+ }, z.core.$strip>;
523
+ };
524
+ readonly 'plugins.dashboard_asset': {
525
+ readonly params: z.ZodObject<{
526
+ profile_home: z.ZodString;
527
+ name: z.ZodString;
528
+ path: z.ZodString;
529
+ }, z.core.$strip>;
530
+ readonly result: z.ZodObject<{
531
+ status: z.ZodNumber;
532
+ body: z.ZodString;
533
+ content_type: z.ZodString;
534
+ }, z.core.$strip>;
535
+ };
536
+ /** Buffered HTTP only. Cancellation abandons the result; the Agent has no handler-cancel operation. */
537
+ readonly 'plugins.dashboard_request': {
538
+ readonly params: z.ZodObject<{
539
+ profile_home: z.ZodString;
540
+ name: z.ZodString;
541
+ path: z.ZodString;
542
+ method: z.ZodString;
543
+ query: z.ZodString;
544
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
545
+ body: z.ZodString;
546
+ authenticated: z.ZodBoolean;
547
+ websocket: z.ZodBoolean;
548
+ }, z.core.$strip>;
549
+ readonly result: z.ZodObject<{
550
+ status: z.ZodNumber;
551
+ body: z.ZodString;
552
+ content_type: z.ZodString;
553
+ }, z.core.$strip>;
554
+ };
391
555
  readonly 'plugins.providers': {
392
556
  readonly params: z.ZodObject<{
393
557
  profile_home: z.ZodString;
@@ -423,10 +587,85 @@ export declare const COMMANDS_METHODS: {
423
587
  activation: z.ZodString;
424
588
  hooks: z.ZodArray<z.ZodString>;
425
589
  is_active_provider: z.ZodOptional<z.ZodBoolean>;
590
+ update_available: z.ZodOptional<z.ZodBoolean>;
591
+ latest_revision: z.ZodOptional<z.ZodString>;
426
592
  }, z.core.$strip>>;
427
593
  supported_hooks: z.ZodArray<z.ZodString>;
428
594
  }, z.core.$strip>;
429
595
  };
596
+ readonly 'plugins.catalog': {
597
+ readonly params: z.ZodObject<{
598
+ profile_home: z.ZodString;
599
+ query: z.ZodDefault<z.ZodString>;
600
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
601
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
602
+ }, z.core.$strip>;
603
+ readonly result: z.ZodObject<{
604
+ supported: z.ZodBoolean;
605
+ read_only: z.ZodOptional<z.ZodBoolean>;
606
+ entries: z.ZodArray<z.ZodObject<{
607
+ name: z.ZodString;
608
+ title: z.ZodString;
609
+ description: z.ZodString;
610
+ repo: z.ZodString;
611
+ sha: z.ZodString;
612
+ tier: z.ZodString;
613
+ category: z.ZodString;
614
+ requirements: z.ZodArray<z.ZodString>;
615
+ installed_key: z.ZodNullable<z.ZodString>;
616
+ installed_sha: z.ZodNullable<z.ZodString>;
617
+ can_install: z.ZodBoolean;
618
+ refusal: z.ZodNullable<z.ZodString>;
619
+ }, z.core.$strip>>;
620
+ total: z.ZodNumber;
621
+ next_offset: z.ZodNullable<z.ZodNumber>;
622
+ }, z.core.$strip>;
623
+ };
624
+ readonly 'plugins.install': {
625
+ readonly params: z.ZodObject<{
626
+ profile_home: z.ZodString;
627
+ name: z.ZodString;
628
+ consent_token: z.ZodOptional<z.ZodString>;
629
+ }, z.core.$strip>;
630
+ readonly result: z.ZodDiscriminatedUnion<[z.ZodObject<{
631
+ name: z.ZodString;
632
+ key: z.ZodString;
633
+ status: z.ZodLiteral<"installed">;
634
+ enabled: z.ZodLiteral<false>;
635
+ }, z.core.$strip>, z.ZodObject<{
636
+ name: z.ZodString;
637
+ status: z.ZodLiteral<"needs_consent">;
638
+ findings: z.ZodString;
639
+ consent_token: z.ZodString;
640
+ }, z.core.$strip>, z.ZodObject<{
641
+ name: z.ZodString;
642
+ status: z.ZodLiteral<"blocked">;
643
+ findings: z.ZodString;
644
+ }, z.core.$strip>], "status">;
645
+ };
646
+ readonly 'plugins.update': {
647
+ readonly params: z.ZodObject<{
648
+ profile_home: z.ZodString;
649
+ key: z.ZodString;
650
+ accept_caution: z.ZodOptional<z.ZodBoolean>;
651
+ consent_token: z.ZodOptional<z.ZodString>;
652
+ }, z.core.$strip>;
653
+ readonly result: z.ZodDiscriminatedUnion<[z.ZodObject<{
654
+ key: z.ZodString;
655
+ status: z.ZodLiteral<"updated">;
656
+ }, z.core.$strip>, z.ZodObject<{
657
+ key: z.ZodString;
658
+ status: z.ZodLiteral<"needs_consent">;
659
+ verdict: z.ZodLiteral<"caution">;
660
+ findings: z.ZodString;
661
+ consent_token: z.ZodString;
662
+ }, z.core.$strip>, z.ZodObject<{
663
+ key: z.ZodString;
664
+ status: z.ZodLiteral<"blocked">;
665
+ verdict: z.ZodString;
666
+ findings: z.ZodString;
667
+ }, z.core.$strip>], "status">;
668
+ };
430
669
  /** TAL-820: each profile's `plugins.isolation` and installed third-party plugin count, read without loading a plugin. */
431
670
  readonly 'plugins.isolation': {
432
671
  readonly params: z.ZodObject<{
@@ -474,6 +713,46 @@ export declare const COMMANDS_METHODS: {
474
713
  }, z.core.$strip>>;
475
714
  }, z.core.$strip>;
476
715
  };
716
+ /**
717
+ * TAL-1276: plugins whose manifest declares OAuth clients (Agent v0.22.3+), each client's sign-in state as
718
+ * `hermes auth status <plugin>:<id>` reports it, and the hosts the CLI names before signing in: the code is approved
719
+ * at `authorize_host` and exchanged at `token_host`. `supported` is false on an Agent without the plugin OAuth helpers.
720
+ */
721
+ readonly 'plugins.oauth_status': {
722
+ readonly params: z.ZodObject<{
723
+ profile_home: z.ZodString;
724
+ }, z.core.$strip>;
725
+ readonly result: z.ZodObject<{
726
+ supported: z.ZodBoolean;
727
+ plugins: z.ZodArray<z.ZodObject<{
728
+ key: z.ZodString;
729
+ clients: z.ZodArray<z.ZodObject<{
730
+ id: z.ZodString;
731
+ state: z.ZodEnum<{
732
+ signed_in: "signed_in";
733
+ sign_in_needed: "sign_in_needed";
734
+ revoked: "revoked";
735
+ logged_out: "logged_out";
736
+ }>;
737
+ authorize_host: z.ZodString;
738
+ token_host: z.ZodString;
739
+ }, z.core.$strip>>;
740
+ }, z.core.$strip>>;
741
+ }, z.core.$strip>;
742
+ };
743
+ /** TAL-1276: `hermes auth logout <plugin>:<id>`; `removed` is false when no grant was stored. Errors `oauth_unsupported` on older Agents. */
744
+ readonly 'plugins.oauth_logout': {
745
+ readonly params: z.ZodObject<{
746
+ profile_home: z.ZodString;
747
+ key: z.ZodString;
748
+ id: z.ZodString;
749
+ }, z.core.$strip>;
750
+ readonly result: z.ZodObject<{
751
+ key: z.ZodString;
752
+ id: z.ZodString;
753
+ removed: z.ZodBoolean;
754
+ }, z.core.$strip>;
755
+ };
477
756
  /**
478
757
  * TAL-806: write non-secret `values` through the Agent's locked plugin-state writer and return the refreshed fields.
479
758
  * An undeclared key, a secret or a type mismatch is invalid params; a managed install or key errors `plugin_settings_managed`.
@@ -509,6 +788,11 @@ export declare const COMMANDS_METHODS: {
509
788
  env: z.ZodOptional<z.ZodString>;
510
789
  has_value: z.ZodOptional<z.ZodBoolean>;
511
790
  }, z.core.$strip>>;
791
+ runtime_application: z.ZodOptional<z.ZodEnum<{
792
+ unknown: "unknown";
793
+ applied: "applied";
794
+ restart_required: "restart_required";
795
+ }>>;
512
796
  }, z.core.$strip>;
513
797
  };
514
798
  };
@@ -1035,6 +1319,21 @@ export declare const STATE_DB_METHODS: {
1035
1319
  ok: z.ZodBoolean;
1036
1320
  }, z.core.$strip>;
1037
1321
  };
1322
+ /**
1323
+ * TAL-1274: the Agent's low-disk session auto-prune question for the profile (Agent v0.22.3 `hermes_cli.prune_advisor`), as the
1324
+ * Agent's own `lines` naming `/autoprune on|off|later`; null while the Agent would not ask (disk not low, `sessions.auto_prune`
1325
+ * set, or snoozed) or has no advisor. May measure state.db, which takes seconds on a large store.
1326
+ */
1327
+ readonly 'state_db.prune_advice': {
1328
+ readonly params: z.ZodObject<{
1329
+ profile_home: z.ZodString;
1330
+ }, z.core.$strip>;
1331
+ readonly result: z.ZodObject<{
1332
+ advice: z.ZodNullable<z.ZodObject<{
1333
+ lines: z.ZodArray<z.ZodString>;
1334
+ }, z.core.$strip>>;
1335
+ }, z.core.$strip>;
1336
+ };
1038
1337
  };
1039
1338
  /** TAL-213: the profile's canonical Bot Chat (its session titled exactly "Bot Chat") and that chat's live compression tip. */
1040
1339
  export declare const CanonicalBotChatSchema: z.ZodObject<{
@@ -1186,9 +1485,9 @@ export declare const SkillCatalogIdentitySchema: z.ZodObject<{
1186
1485
  load_name: z.ZodOptional<z.ZodString>;
1187
1486
  declared_name: z.ZodOptional<z.ZodString>;
1188
1487
  status: z.ZodOptional<z.ZodEnum<{
1488
+ shadowed: "shadowed";
1189
1489
  unique: "unique";
1190
1490
  ambiguous: "ambiguous";
1191
- shadowed: "shadowed";
1192
1491
  }>>;
1193
1492
  tier: z.ZodOptional<z.ZodNumber>;
1194
1493
  }, z.core.$strip>;
@@ -1196,9 +1495,9 @@ export declare const SkillRowSchema: z.ZodObject<{
1196
1495
  load_name: z.ZodOptional<z.ZodString>;
1197
1496
  declared_name: z.ZodOptional<z.ZodString>;
1198
1497
  status: z.ZodOptional<z.ZodEnum<{
1498
+ shadowed: "shadowed";
1199
1499
  unique: "unique";
1200
1500
  ambiguous: "ambiguous";
1201
- shadowed: "shadowed";
1202
1501
  }>>;
1203
1502
  tier: z.ZodOptional<z.ZodNumber>;
1204
1503
  name: z.ZodString;
@@ -1237,9 +1536,9 @@ export declare const SKILLS_METHODS: {
1237
1536
  load_name: z.ZodOptional<z.ZodString>;
1238
1537
  declared_name: z.ZodOptional<z.ZodString>;
1239
1538
  status: z.ZodOptional<z.ZodEnum<{
1539
+ shadowed: "shadowed";
1240
1540
  unique: "unique";
1241
1541
  ambiguous: "ambiguous";
1242
- shadowed: "shadowed";
1243
1542
  }>>;
1244
1543
  tier: z.ZodOptional<z.ZodNumber>;
1245
1544
  name: z.ZodString;
@@ -1348,11 +1647,11 @@ export declare const ConnectorOperationTargetSchema: z.ZodObject<{
1348
1647
  kind: z.ZodString;
1349
1648
  state: z.ZodEnum<{
1350
1649
  pending: "pending";
1650
+ expired: "expired";
1351
1651
  skipped: "skipped";
1352
1652
  initiated: "initiated";
1353
1653
  connected: "connected";
1354
1654
  failed: "failed";
1355
- expired: "expired";
1356
1655
  not_connected: "not_connected";
1357
1656
  }>;
1358
1657
  detail: z.ZodString;
@@ -1378,11 +1677,11 @@ export declare const ConnectorOperationSnapshotSchema: z.ZodObject<{
1378
1677
  kind: z.ZodString;
1379
1678
  state: z.ZodEnum<{
1380
1679
  pending: "pending";
1680
+ expired: "expired";
1381
1681
  skipped: "skipped";
1382
1682
  initiated: "initiated";
1383
1683
  connected: "connected";
1384
1684
  failed: "failed";
1385
- expired: "expired";
1386
1685
  not_connected: "not_connected";
1387
1686
  }>;
1388
1687
  detail: z.ZodString;
@@ -1555,11 +1854,11 @@ export declare const CONNECTORS_METHODS: {
1555
1854
  kind: z.ZodString;
1556
1855
  state: z.ZodEnum<{
1557
1856
  pending: "pending";
1857
+ expired: "expired";
1558
1858
  skipped: "skipped";
1559
1859
  initiated: "initiated";
1560
1860
  connected: "connected";
1561
1861
  failed: "failed";
1562
- expired: "expired";
1563
1862
  not_connected: "not_connected";
1564
1863
  }>;
1565
1864
  detail: z.ZodString;
@@ -1591,11 +1890,11 @@ export declare const CONNECTORS_METHODS: {
1591
1890
  kind: z.ZodString;
1592
1891
  state: z.ZodEnum<{
1593
1892
  pending: "pending";
1893
+ expired: "expired";
1594
1894
  skipped: "skipped";
1595
1895
  initiated: "initiated";
1596
1896
  connected: "connected";
1597
1897
  failed: "failed";
1598
- expired: "expired";
1599
1898
  not_connected: "not_connected";
1600
1899
  }>;
1601
1900
  detail: z.ZodString;
@@ -1635,11 +1934,11 @@ export declare const CONNECTORS_METHODS: {
1635
1934
  kind: z.ZodString;
1636
1935
  state: z.ZodEnum<{
1637
1936
  pending: "pending";
1937
+ expired: "expired";
1638
1938
  skipped: "skipped";
1639
1939
  initiated: "initiated";
1640
1940
  connected: "connected";
1641
1941
  failed: "failed";
1642
- expired: "expired";
1643
1942
  not_connected: "not_connected";
1644
1943
  }>;
1645
1944
  detail: z.ZodString;
@@ -2068,7 +2367,9 @@ export declare const CRON_METHODS: {
2068
2367
  }, z.core.$strip>;
2069
2368
  };
2070
2369
  readonly 'cron.delivery_options': {
2071
- readonly params: z.ZodObject<{}, z.core.$strip>;
2370
+ readonly params: z.ZodObject<{
2371
+ profile_home: z.ZodString;
2372
+ }, z.core.$strip>;
2072
2373
  readonly result: z.ZodObject<{
2073
2374
  platforms: z.ZodArray<z.ZodObject<{
2074
2375
  value: z.ZodString;
@@ -2238,12 +2539,18 @@ export declare const PROVIDERS_METHODS: {
2238
2539
  * `oauth.start` answers the code to show; a sidecar thread polls the provider and writes the credential through the
2239
2540
  * Agent's own auth store. A flow belongs to the profile home that started it: poll and cancel from another home do not
2240
2541
  * find it. `error` is the Agent's reason for a flow that ended without a credential.
2542
+ *
2543
+ * TAL-1276: provider `plugin:<key>:<id>` is the browser sign-in of a plugin-declared OAuth client. Its start has no
2544
+ * `user_code`; `verification_url` is the authorize link, `redirect_uri` the loopback address the browser is sent back
2545
+ * to, and `authorize_host`/`token_host` the hosts the code goes to. It finishes when that redirect reaches the sidecar's
2546
+ * listener or through `oauth.submit_redirect` with the address the browser showed (`oauth_redirect_invalid` for any
2547
+ * other address, `oauth_flow_ended` once the flow ended).
2241
2548
  */
2242
2549
  export declare const OAuthFlowStatusSchema: z.ZodEnum<{
2243
2550
  error: "error";
2244
2551
  pending: "pending";
2245
- cancelled: "cancelled";
2246
2552
  expired: "expired";
2553
+ cancelled: "cancelled";
2247
2554
  approved: "approved";
2248
2555
  denied: "denied";
2249
2556
  }>;
@@ -2257,10 +2564,13 @@ export declare const OAUTH_METHODS: {
2257
2564
  flow_id: z.ZodString;
2258
2565
  provider: z.ZodString;
2259
2566
  status: z.ZodLiteral<"pending">;
2260
- user_code: z.ZodString;
2567
+ user_code: z.ZodOptional<z.ZodString>;
2261
2568
  verification_url: z.ZodString;
2262
2569
  expires_in: z.ZodNumber;
2263
2570
  interval: z.ZodNumber;
2571
+ redirect_uri: z.ZodOptional<z.ZodString>;
2572
+ authorize_host: z.ZodOptional<z.ZodString>;
2573
+ token_host: z.ZodOptional<z.ZodString>;
2264
2574
  }, z.core.$strip>;
2265
2575
  };
2266
2576
  readonly 'oauth.poll': {
@@ -2274,8 +2584,8 @@ export declare const OAUTH_METHODS: {
2274
2584
  status: z.ZodEnum<{
2275
2585
  error: "error";
2276
2586
  pending: "pending";
2277
- cancelled: "cancelled";
2278
2587
  expired: "expired";
2588
+ cancelled: "cancelled";
2279
2589
  approved: "approved";
2280
2590
  denied: "denied";
2281
2591
  }>;
@@ -2293,8 +2603,28 @@ export declare const OAUTH_METHODS: {
2293
2603
  status: z.ZodEnum<{
2294
2604
  error: "error";
2295
2605
  pending: "pending";
2606
+ expired: "expired";
2296
2607
  cancelled: "cancelled";
2608
+ approved: "approved";
2609
+ denied: "denied";
2610
+ }>;
2611
+ error: z.ZodNullable<z.ZodString>;
2612
+ }, z.core.$strip>;
2613
+ };
2614
+ readonly 'oauth.submit_redirect': {
2615
+ readonly params: z.ZodObject<{
2616
+ profile_home: z.ZodString;
2617
+ flow_id: z.ZodString;
2618
+ url: z.ZodString;
2619
+ }, z.core.$strip>;
2620
+ readonly result: z.ZodObject<{
2621
+ flow_id: z.ZodString;
2622
+ provider: z.ZodString;
2623
+ status: z.ZodEnum<{
2624
+ error: "error";
2625
+ pending: "pending";
2297
2626
  expired: "expired";
2627
+ cancelled: "cancelled";
2298
2628
  approved: "approved";
2299
2629
  denied: "denied";
2300
2630
  }>;
@@ -2668,6 +2998,20 @@ export declare const PROCESS_METHODS: {
2668
2998
  text: z.ZodString;
2669
2999
  }, z.core.$strip>;
2670
3000
  };
3001
+ readonly 'process.stop': {
3002
+ readonly params: z.ZodObject<{
3003
+ profile_home: z.ZodString;
3004
+ session_id: z.ZodString;
3005
+ process_id: z.ZodString;
3006
+ }, z.core.$strip>;
3007
+ readonly result: z.ZodObject<{
3008
+ outcome: z.ZodEnum<{
3009
+ stopped: "stopped";
3010
+ not_running: "not_running";
3011
+ not_found: "not_found";
3012
+ }>;
3013
+ }, z.core.$strip>;
3014
+ };
2671
3015
  readonly 'process.list': {
2672
3016
  readonly params: z.ZodObject<{
2673
3017
  profile_home: z.ZodString;
@@ -2993,6 +3337,23 @@ export declare const WORKTREE_METHODS: {
2993
3337
  base: z.ZodNullable<z.ZodString>;
2994
3338
  }, z.core.$strip>;
2995
3339
  };
3340
+ /**
3341
+ * TAL-1254: relock Talaria's worktrees for this sidecar (`hermes pid=<pid>`) so the Agent's worktree sweep reads them as
3342
+ * live. `foreign_lock`: a lock that is not a `hermes pid=` one holds the tree and stays. A tree this sidecar does not
3343
+ * hold yet (a running process's `hermes pid=` lock, or a git failure) is absent from `results`; the caller retries it.
3344
+ */
3345
+ readonly 'worktree.retain': {
3346
+ readonly params: z.ZodObject<{
3347
+ paths: z.ZodArray<z.ZodString>;
3348
+ }, z.core.$strip>;
3349
+ readonly result: z.ZodObject<{
3350
+ results: z.ZodRecord<z.ZodString, z.ZodEnum<{
3351
+ retained: "retained";
3352
+ missing: "missing";
3353
+ foreign_lock: "foreign_lock";
3354
+ }>>;
3355
+ }, z.core.$strip>;
3356
+ };
2996
3357
  };
2997
3358
  export declare const AgentCheckpointSchema: z.ZodObject<{
2998
3359
  hash: z.ZodString;
@@ -3034,15 +3395,24 @@ export declare const CHECKPOINTS_METHODS: {
3034
3395
  diff: z.ZodString;
3035
3396
  }, z.core.$strip>;
3036
3397
  };
3398
+ /**
3399
+ * Safe unless `all` (TAL-1260): only files still as the Agent last wrote them are reverted, and `kept_user_edits` names the
3400
+ * hand-edited ones left in place. `restored_files` is what a safe restore acted on; null when the whole tree was checked out.
3401
+ */
3037
3402
  readonly 'checkpoints.restore': {
3038
3403
  readonly params: z.ZodObject<{
3039
3404
  profile_home: z.ZodString;
3040
3405
  workspace: z.ZodString;
3041
3406
  checkpoint: z.ZodString;
3407
+ all: z.ZodOptional<z.ZodBoolean>;
3042
3408
  }, z.core.$strip>;
3043
3409
  readonly result: z.ZodObject<{
3044
3410
  restored_to: z.ZodString;
3045
3411
  reason: z.ZodString;
3412
+ restored_files: z.ZodNullable<z.ZodArray<z.ZodString>>;
3413
+ kept_user_edits: z.ZodArray<z.ZodString>;
3414
+ skipped_oversize: z.ZodArray<z.ZodString>;
3415
+ failed_deletes: z.ZodArray<z.ZodString>;
3046
3416
  }, z.core.$strip>;
3047
3417
  };
3048
3418
  };
@@ -3126,6 +3496,15 @@ export declare const ChatStreamSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3126
3496
  tid: z.ZodOptional<z.ZodString>;
3127
3497
  is_error: z.ZodOptional<z.ZodBoolean>;
3128
3498
  }, z.core.$catchall<z.ZodUnknown>>;
3499
+ }, z.core.$strip>, z.ZodObject<{
3500
+ event: z.ZodLiteral<"tool_progress">;
3501
+ data: z.ZodObject<{
3502
+ tool_call_id: z.ZodString;
3503
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3504
+ progress: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3505
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3506
+ percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3507
+ }, z.core.$strip>;
3129
3508
  }, z.core.$strip>, z.ZodObject<{
3130
3509
  event: z.ZodLiteral<"tool_complete">;
3131
3510
  data: z.ZodObject<{
@@ -3160,11 +3539,11 @@ export declare const ChatStreamSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3160
3539
  kind: z.ZodString;
3161
3540
  state: z.ZodEnum<{
3162
3541
  pending: "pending";
3542
+ expired: "expired";
3163
3543
  skipped: "skipped";
3164
3544
  initiated: "initiated";
3165
3545
  connected: "connected";
3166
3546
  failed: "failed";
3167
- expired: "expired";
3168
3547
  not_connected: "not_connected";
3169
3548
  }>;
3170
3549
  detail: z.ZodString;
@@ -3335,6 +3714,15 @@ export declare const CHAT_METHODS: {
3335
3714
  tid: z.ZodOptional<z.ZodString>;
3336
3715
  is_error: z.ZodOptional<z.ZodBoolean>;
3337
3716
  }, z.core.$catchall<z.ZodUnknown>>;
3717
+ }, z.core.$strip>, z.ZodObject<{
3718
+ event: z.ZodLiteral<"tool_progress">;
3719
+ data: z.ZodObject<{
3720
+ tool_call_id: z.ZodString;
3721
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3722
+ progress: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3723
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3724
+ percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3725
+ }, z.core.$strip>;
3338
3726
  }, z.core.$strip>, z.ZodObject<{
3339
3727
  event: z.ZodLiteral<"tool_complete">;
3340
3728
  data: z.ZodObject<{
@@ -3369,11 +3757,11 @@ export declare const CHAT_METHODS: {
3369
3757
  kind: z.ZodString;
3370
3758
  state: z.ZodEnum<{
3371
3759
  pending: "pending";
3760
+ expired: "expired";
3372
3761
  skipped: "skipped";
3373
3762
  initiated: "initiated";
3374
3763
  connected: "connected";
3375
3764
  failed: "failed";
3376
- expired: "expired";
3377
3765
  not_connected: "not_connected";
3378
3766
  }>;
3379
3767
  detail: z.ZodString;
@@ -3501,8 +3889,8 @@ export declare const CHAT_METHODS: {
3501
3889
  redirected: z.ZodBoolean;
3502
3890
  withdrawn: z.ZodBoolean;
3503
3891
  delivery: z.ZodOptional<z.ZodEnum<{
3504
- redirect: "redirect";
3505
3892
  steer: "steer";
3893
+ redirect: "redirect";
3506
3894
  }>>;
3507
3895
  requeued: z.ZodOptional<z.ZodEnum<{
3508
3896
  kept: "kept";
@@ -3548,6 +3936,77 @@ export declare const CHAT_METHODS: {
3548
3936
  commit_token: z.ZodNullable<z.ZodString>;
3549
3937
  }, z.core.$strip>;
3550
3938
  };
3939
+ /** TAL-1333: safe metadata from the existing matching resident Agent, never a new Agent. */
3940
+ readonly 'chat.context_detail': {
3941
+ readonly params: z.ZodObject<{
3942
+ profile_home: z.ZodString;
3943
+ session_id: z.ZodString;
3944
+ model: z.ZodNullable<z.ZodString>;
3945
+ model_provider: z.ZodNullable<z.ZodString>;
3946
+ workspace: z.ZodNullable<z.ZodString>;
3947
+ }, z.core.$strip>;
3948
+ readonly result: z.ZodObject<{
3949
+ available: z.ZodBoolean;
3950
+ reason: z.ZodNullable<z.ZodEnum<{
3951
+ not_built: "not_built";
3952
+ unsupported: "unsupported";
3953
+ changed: "changed";
3954
+ unavailable: "unavailable";
3955
+ }>>;
3956
+ used_tokens: z.ZodNullable<z.ZodNumber>;
3957
+ window_tokens: z.ZodNullable<z.ZodNumber>;
3958
+ estimated_total: z.ZodNullable<z.ZodNumber>;
3959
+ source: z.ZodNullable<z.ZodEnum<{
3960
+ local_estimate: "local_estimate";
3961
+ provider_usage: "provider_usage";
3962
+ provider_usage_plus_estimate: "provider_usage_plus_estimate";
3963
+ }>>;
3964
+ estimated: z.ZodNullable<z.ZodBoolean>;
3965
+ categories: z.ZodArray<z.ZodObject<{
3966
+ id: z.ZodEnum<{
3967
+ system_prompt: "system_prompt";
3968
+ tool_definitions: "tool_definitions";
3969
+ rules: "rules";
3970
+ skills: "skills";
3971
+ mcp: "mcp";
3972
+ subagent_definitions: "subagent_definitions";
3973
+ memory: "memory";
3974
+ conversation: "conversation";
3975
+ }>;
3976
+ tokens: z.ZodNumber;
3977
+ percent: z.ZodNullable<z.ZodNumber>;
3978
+ estimated: z.ZodLiteral<true>;
3979
+ }, z.core.$strip>>;
3980
+ files: z.ZodArray<z.ZodObject<{
3981
+ label: z.ZodEnum<{
3982
+ "AGENTS.md": "AGENTS.md";
3983
+ "SOUL.md": "SOUL.md";
3984
+ ".hermes.md": ".hermes.md";
3985
+ "CLAUDE.md": "CLAUDE.md";
3986
+ "GEMINI.md": "GEMINI.md";
3987
+ "CONTEXT.md": "CONTEXT.md";
3988
+ "Context file": "Context file";
3989
+ }>;
3990
+ characters: z.ZodNullable<z.ZodNumber>;
3991
+ tokens: z.ZodNullable<z.ZodNumber>;
3992
+ status: z.ZodEnum<{
3993
+ unknown: "unknown";
3994
+ loaded: "loaded";
3995
+ truncated: "truncated";
3996
+ flagged: "flagged";
3997
+ shadowed: "shadowed";
3998
+ blocked: "blocked";
3999
+ empty: "empty";
4000
+ unreadable: "unreadable";
4001
+ suppressed: "suppressed";
4002
+ }>;
4003
+ loaded: z.ZodNullable<z.ZodBoolean>;
4004
+ }, z.core.$strip>>;
4005
+ truncated: z.ZodBoolean;
4006
+ current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4007
+ last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4008
+ }, z.core.$strip>;
4009
+ };
3551
4010
  /** TAL-255: second phase of `chat.compress`; `finalized: false` when the token is unknown or already expired. */
3552
4011
  readonly 'chat.compress_finalize': {
3553
4012
  readonly params: z.ZodObject<{
@@ -3558,14 +4017,17 @@ export declare const CHAT_METHODS: {
3558
4017
  finalized: z.ZodBoolean;
3559
4018
  }, z.core.$strip>;
3560
4019
  };
4020
+ /** Archive only emits on_session_delete for the committed local transition; it never closes the Agent session. */
3561
4021
  readonly 'chat.finalize_session': {
3562
4022
  readonly params: z.ZodObject<{
3563
4023
  profile_home: z.ZodString;
3564
4024
  session_id: z.ZodString;
3565
4025
  reason: z.ZodEnum<{
4026
+ archive: "archive";
3566
4027
  delete: "delete";
3567
4028
  clear: "clear";
3568
4029
  }>;
4030
+ lineage: z.ZodOptional<z.ZodArray<z.ZodString>>;
3569
4031
  }, z.core.$strip>;
3570
4032
  readonly result: z.ZodObject<{
3571
4033
  messages: z.ZodArray<z.ZodString>;
@@ -3674,17 +4136,30 @@ export declare const GATEWAY_METHODS: {
3674
4136
  action: z.ZodEnum<{
3675
4137
  snapshot: "snapshot";
3676
4138
  receipt: "receipt";
4139
+ context_detail: "context_detail";
4140
+ export: "export";
3677
4141
  watch: "watch";
3678
4142
  submit: "submit";
3679
4143
  cancel: "cancel";
4144
+ steer_queued: "steer_queued";
4145
+ replace_queued: "replace_queued";
3680
4146
  interrupt: "interrupt";
3681
4147
  approval: "approval";
3682
4148
  clarify: "clarify";
4149
+ clarify_lock: "clarify_lock";
3683
4150
  discard: "discard";
3684
4151
  mutate: "mutate";
3685
4152
  }>;
4153
+ format: z.ZodOptional<z.ZodEnum<{
4154
+ json: "json";
4155
+ markdown: "markdown";
4156
+ html: "html";
4157
+ }>>;
4158
+ redact: z.ZodOptional<z.ZodBoolean>;
3686
4159
  request_id: z.ZodOptional<z.ZodString>;
3687
4160
  text: z.ZodOptional<z.ZodString>;
4161
+ submission_id: z.ZodOptional<z.ZodString>;
4162
+ show_reasoning: z.ZodOptional<z.ZodBoolean>;
3688
4163
  admission_id: z.ZodOptional<z.ZodString>;
3689
4164
  execution_generation: z.ZodOptional<z.ZodNumber>;
3690
4165
  prompt_id: z.ZodOptional<z.ZodString>;
@@ -3694,8 +4169,11 @@ export declare const GATEWAY_METHODS: {
3694
4169
  always: "always";
3695
4170
  deny: "deny";
3696
4171
  }>>;
4172
+ question_id: z.ZodOptional<z.ZodString>;
4173
+ answer: z.ZodOptional<z.ZodString>;
3697
4174
  expected_revision: z.ZodOptional<z.ZodNumber>;
3698
4175
  operation: z.ZodOptional<z.ZodEnum<{
4176
+ model: "model";
3699
4177
  rename: "rename";
3700
4178
  archive: "archive";
3701
4179
  sidebar: "sidebar";
@@ -3703,7 +4181,6 @@ export declare const GATEWAY_METHODS: {
3703
4181
  delete: "delete";
3704
4182
  rewind: "rewind";
3705
4183
  reset: "reset";
3706
- model: "model";
3707
4184
  workspace: "workspace";
3708
4185
  compress: "compress";
3709
4186
  }>>;
@@ -3711,11 +4188,11 @@ export declare const GATEWAY_METHODS: {
3711
4188
  }, z.core.$strip>;
3712
4189
  readonly result: z.ZodObject<{
3713
4190
  state: z.ZodEnum<{
4191
+ unavailable: "unavailable";
4192
+ refused: "refused";
3714
4193
  attached: "attached";
3715
4194
  stopped: "stopped";
3716
- unavailable: "unavailable";
3717
4195
  incompatible: "incompatible";
3718
- refused: "refused";
3719
4196
  }>;
3720
4197
  reason: z.ZodNullable<z.ZodString>;
3721
4198
  replay_gap: z.ZodOptional<z.ZodBoolean>;
@@ -3743,13 +4220,15 @@ export declare const GATEWAY_METHODS: {
3743
4220
  outcome: z.ZodNullable<z.ZodString>;
3744
4221
  authority_epoch: z.ZodNumber;
3745
4222
  execution_generation: z.ZodNullable<z.ZodNumber>;
4223
+ controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
4224
+ steering: z.ZodOptional<z.ZodBoolean>;
3746
4225
  text: z.ZodOptional<z.ZodString>;
3747
4226
  input_id: z.ZodOptional<z.ZodString>;
3748
4227
  }, z.core.$strip>>;
3749
4228
  prompts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3750
4229
  info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3751
4230
  }, z.core.$strip>>;
3752
- receipt: z.ZodNullable<z.ZodObject<{
4231
+ receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
3753
4232
  admission_id: z.ZodString;
3754
4233
  sequence: z.ZodNumber;
3755
4234
  status: z.ZodEnum<{
@@ -3761,21 +4240,470 @@ export declare const GATEWAY_METHODS: {
3761
4240
  outcome: z.ZodNullable<z.ZodString>;
3762
4241
  authority_epoch: z.ZodNumber;
3763
4242
  execution_generation: z.ZodNullable<z.ZodNumber>;
4243
+ controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
4244
+ steering: z.ZodOptional<z.ZodBoolean>;
3764
4245
  text: z.ZodOptional<z.ZodString>;
3765
4246
  input_id: z.ZodOptional<z.ZodString>;
4247
+ voice_stopped: z.ZodOptional<z.ZodNever>;
4248
+ }, z.core.$strip>, z.ZodObject<{
4249
+ operation: z.ZodString;
4250
+ status: z.ZodOptional<z.ZodString>;
4251
+ voice_stopped: z.ZodOptional<z.ZodNever>;
4252
+ }, z.core.$loose>, z.ZodObject<{
4253
+ voice_stopped: z.ZodLiteral<true>;
4254
+ }, z.core.$strict>]>>;
4255
+ model_change: z.ZodOptional<z.ZodObject<{
4256
+ state: z.ZodEnum<{
4257
+ applied: "applied";
4258
+ deferred: "deferred";
4259
+ confirmation_required: "confirmation_required";
4260
+ refused: "refused";
4261
+ }>;
4262
+ message: z.ZodOptional<z.ZodString>;
4263
+ confirm: z.ZodOptional<z.ZodString>;
4264
+ model: z.ZodOptional<z.ZodString>;
4265
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4266
+ }, z.core.$strip>>;
4267
+ context_detail: z.ZodOptional<z.ZodObject<{
4268
+ available: z.ZodBoolean;
4269
+ reason: z.ZodNullable<z.ZodEnum<{
4270
+ not_built: "not_built";
4271
+ unsupported: "unsupported";
4272
+ changed: "changed";
4273
+ unavailable: "unavailable";
4274
+ }>>;
4275
+ used_tokens: z.ZodNullable<z.ZodNumber>;
4276
+ window_tokens: z.ZodNullable<z.ZodNumber>;
4277
+ estimated_total: z.ZodNullable<z.ZodNumber>;
4278
+ source: z.ZodNullable<z.ZodEnum<{
4279
+ local_estimate: "local_estimate";
4280
+ provider_usage: "provider_usage";
4281
+ provider_usage_plus_estimate: "provider_usage_plus_estimate";
4282
+ }>>;
4283
+ estimated: z.ZodNullable<z.ZodBoolean>;
4284
+ categories: z.ZodArray<z.ZodObject<{
4285
+ id: z.ZodEnum<{
4286
+ system_prompt: "system_prompt";
4287
+ tool_definitions: "tool_definitions";
4288
+ rules: "rules";
4289
+ skills: "skills";
4290
+ mcp: "mcp";
4291
+ subagent_definitions: "subagent_definitions";
4292
+ memory: "memory";
4293
+ conversation: "conversation";
4294
+ }>;
4295
+ tokens: z.ZodNumber;
4296
+ percent: z.ZodNullable<z.ZodNumber>;
4297
+ estimated: z.ZodLiteral<true>;
4298
+ }, z.core.$strip>>;
4299
+ files: z.ZodArray<z.ZodObject<{
4300
+ label: z.ZodEnum<{
4301
+ "AGENTS.md": "AGENTS.md";
4302
+ "SOUL.md": "SOUL.md";
4303
+ ".hermes.md": ".hermes.md";
4304
+ "CLAUDE.md": "CLAUDE.md";
4305
+ "GEMINI.md": "GEMINI.md";
4306
+ "CONTEXT.md": "CONTEXT.md";
4307
+ "Context file": "Context file";
4308
+ }>;
4309
+ characters: z.ZodNullable<z.ZodNumber>;
4310
+ tokens: z.ZodNullable<z.ZodNumber>;
4311
+ status: z.ZodEnum<{
4312
+ unknown: "unknown";
4313
+ loaded: "loaded";
4314
+ truncated: "truncated";
4315
+ flagged: "flagged";
4316
+ shadowed: "shadowed";
4317
+ blocked: "blocked";
4318
+ empty: "empty";
4319
+ unreadable: "unreadable";
4320
+ suppressed: "suppressed";
4321
+ }>;
4322
+ loaded: z.ZodNullable<z.ZodBoolean>;
4323
+ }, z.core.$strip>>;
4324
+ truncated: z.ZodBoolean;
4325
+ current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4326
+ last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4327
+ }, z.core.$strip>>;
4328
+ export: z.ZodOptional<z.ZodObject<{
4329
+ format: z.ZodEnum<{
4330
+ json: "json";
4331
+ markdown: "markdown";
4332
+ html: "html";
4333
+ }>;
4334
+ filename: z.ZodString;
4335
+ content: z.ZodString;
4336
+ }, z.core.$strip>>;
4337
+ restarting: z.ZodOptional<z.ZodBoolean>;
4338
+ lock: z.ZodOptional<z.ZodObject<{
4339
+ status: z.ZodEnum<{
4340
+ ok: "ok";
4341
+ expired: "expired";
4342
+ }>;
4343
+ remaining: z.ZodOptional<z.ZodArray<z.ZodString>>;
3766
4344
  }, z.core.$strip>>;
3767
4345
  }, z.core.$strip>;
3768
- readonly stream: z.ZodObject<{
3769
- event: z.ZodEnum<{
3770
- snapshot: "snapshot";
3771
- event: "event";
3772
- }>;
4346
+ readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
4347
+ event: z.ZodLiteral<"snapshot">;
4348
+ data: z.ZodObject<{
4349
+ state: z.ZodEnum<{
4350
+ unavailable: "unavailable";
4351
+ refused: "refused";
4352
+ attached: "attached";
4353
+ stopped: "stopped";
4354
+ incompatible: "incompatible";
4355
+ }>;
4356
+ reason: z.ZodNullable<z.ZodString>;
4357
+ replay_gap: z.ZodOptional<z.ZodBoolean>;
4358
+ snapshot: z.ZodNullable<z.ZodObject<{
4359
+ session_id: z.ZodString;
4360
+ stored_session_id: z.ZodString;
4361
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4362
+ message_count: z.ZodNumber;
4363
+ running: z.ZodBoolean;
4364
+ authority_epoch: z.ZodNumber;
4365
+ replay_epoch: z.ZodString;
4366
+ last_sequence: z.ZodNumber;
4367
+ subscription_id: z.ZodString;
4368
+ revision: z.ZodNumber;
4369
+ execution_generation: z.ZodNumber;
4370
+ pending: z.ZodArray<z.ZodObject<{
4371
+ admission_id: z.ZodString;
4372
+ sequence: z.ZodNumber;
4373
+ status: z.ZodEnum<{
4374
+ unknown: "unknown";
4375
+ queued: "queued";
4376
+ started: "started";
4377
+ terminal: "terminal";
4378
+ }>;
4379
+ outcome: z.ZodNullable<z.ZodString>;
4380
+ authority_epoch: z.ZodNumber;
4381
+ execution_generation: z.ZodNullable<z.ZodNumber>;
4382
+ controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
4383
+ steering: z.ZodOptional<z.ZodBoolean>;
4384
+ text: z.ZodOptional<z.ZodString>;
4385
+ input_id: z.ZodOptional<z.ZodString>;
4386
+ }, z.core.$strip>>;
4387
+ prompts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4388
+ info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4389
+ }, z.core.$strip>>;
4390
+ receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
4391
+ admission_id: z.ZodString;
4392
+ sequence: z.ZodNumber;
4393
+ status: z.ZodEnum<{
4394
+ unknown: "unknown";
4395
+ queued: "queued";
4396
+ started: "started";
4397
+ terminal: "terminal";
4398
+ }>;
4399
+ outcome: z.ZodNullable<z.ZodString>;
4400
+ authority_epoch: z.ZodNumber;
4401
+ execution_generation: z.ZodNullable<z.ZodNumber>;
4402
+ controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
4403
+ steering: z.ZodOptional<z.ZodBoolean>;
4404
+ text: z.ZodOptional<z.ZodString>;
4405
+ input_id: z.ZodOptional<z.ZodString>;
4406
+ voice_stopped: z.ZodOptional<z.ZodNever>;
4407
+ }, z.core.$strip>, z.ZodObject<{
4408
+ operation: z.ZodString;
4409
+ status: z.ZodOptional<z.ZodString>;
4410
+ voice_stopped: z.ZodOptional<z.ZodNever>;
4411
+ }, z.core.$loose>, z.ZodObject<{
4412
+ voice_stopped: z.ZodLiteral<true>;
4413
+ }, z.core.$strict>]>>;
4414
+ model_change: z.ZodOptional<z.ZodObject<{
4415
+ state: z.ZodEnum<{
4416
+ applied: "applied";
4417
+ deferred: "deferred";
4418
+ confirmation_required: "confirmation_required";
4419
+ refused: "refused";
4420
+ }>;
4421
+ message: z.ZodOptional<z.ZodString>;
4422
+ confirm: z.ZodOptional<z.ZodString>;
4423
+ model: z.ZodOptional<z.ZodString>;
4424
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4425
+ }, z.core.$strip>>;
4426
+ context_detail: z.ZodOptional<z.ZodObject<{
4427
+ available: z.ZodBoolean;
4428
+ reason: z.ZodNullable<z.ZodEnum<{
4429
+ not_built: "not_built";
4430
+ unsupported: "unsupported";
4431
+ changed: "changed";
4432
+ unavailable: "unavailable";
4433
+ }>>;
4434
+ used_tokens: z.ZodNullable<z.ZodNumber>;
4435
+ window_tokens: z.ZodNullable<z.ZodNumber>;
4436
+ estimated_total: z.ZodNullable<z.ZodNumber>;
4437
+ source: z.ZodNullable<z.ZodEnum<{
4438
+ local_estimate: "local_estimate";
4439
+ provider_usage: "provider_usage";
4440
+ provider_usage_plus_estimate: "provider_usage_plus_estimate";
4441
+ }>>;
4442
+ estimated: z.ZodNullable<z.ZodBoolean>;
4443
+ categories: z.ZodArray<z.ZodObject<{
4444
+ id: z.ZodEnum<{
4445
+ system_prompt: "system_prompt";
4446
+ tool_definitions: "tool_definitions";
4447
+ rules: "rules";
4448
+ skills: "skills";
4449
+ mcp: "mcp";
4450
+ subagent_definitions: "subagent_definitions";
4451
+ memory: "memory";
4452
+ conversation: "conversation";
4453
+ }>;
4454
+ tokens: z.ZodNumber;
4455
+ percent: z.ZodNullable<z.ZodNumber>;
4456
+ estimated: z.ZodLiteral<true>;
4457
+ }, z.core.$strip>>;
4458
+ files: z.ZodArray<z.ZodObject<{
4459
+ label: z.ZodEnum<{
4460
+ "AGENTS.md": "AGENTS.md";
4461
+ "SOUL.md": "SOUL.md";
4462
+ ".hermes.md": ".hermes.md";
4463
+ "CLAUDE.md": "CLAUDE.md";
4464
+ "GEMINI.md": "GEMINI.md";
4465
+ "CONTEXT.md": "CONTEXT.md";
4466
+ "Context file": "Context file";
4467
+ }>;
4468
+ characters: z.ZodNullable<z.ZodNumber>;
4469
+ tokens: z.ZodNullable<z.ZodNumber>;
4470
+ status: z.ZodEnum<{
4471
+ unknown: "unknown";
4472
+ loaded: "loaded";
4473
+ truncated: "truncated";
4474
+ flagged: "flagged";
4475
+ shadowed: "shadowed";
4476
+ blocked: "blocked";
4477
+ empty: "empty";
4478
+ unreadable: "unreadable";
4479
+ suppressed: "suppressed";
4480
+ }>;
4481
+ loaded: z.ZodNullable<z.ZodBoolean>;
4482
+ }, z.core.$strip>>;
4483
+ truncated: z.ZodBoolean;
4484
+ current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4485
+ last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4486
+ }, z.core.$strip>>;
4487
+ export: z.ZodOptional<z.ZodObject<{
4488
+ format: z.ZodEnum<{
4489
+ json: "json";
4490
+ markdown: "markdown";
4491
+ html: "html";
4492
+ }>;
4493
+ filename: z.ZodString;
4494
+ content: z.ZodString;
4495
+ }, z.core.$strip>>;
4496
+ restarting: z.ZodOptional<z.ZodBoolean>;
4497
+ lock: z.ZodOptional<z.ZodObject<{
4498
+ status: z.ZodEnum<{
4499
+ ok: "ok";
4500
+ expired: "expired";
4501
+ }>;
4502
+ remaining: z.ZodOptional<z.ZodArray<z.ZodString>>;
4503
+ }, z.core.$strip>>;
4504
+ replaying: z.ZodOptional<z.ZodBoolean>;
4505
+ }, z.core.$strip>;
4506
+ }, z.core.$strip>, z.ZodObject<{
4507
+ event: z.ZodLiteral<"event">;
3773
4508
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4509
+ }, z.core.$strip>, z.ZodObject<{
4510
+ event: z.ZodLiteral<"replay_complete">;
4511
+ data: z.ZodObject<{}, z.core.$strip>;
4512
+ }, z.core.$strip>, z.ZodObject<{
4513
+ event: z.ZodLiteral<"clarify_batch">;
4514
+ data: z.ZodObject<{
4515
+ request_id: z.ZodString;
4516
+ questions: z.ZodArray<z.ZodObject<{
4517
+ qid: z.ZodString;
4518
+ question: z.ZodString;
4519
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
4520
+ multi_select: z.ZodOptional<z.ZodBoolean>;
4521
+ }, z.core.$strip>>;
4522
+ }, z.core.$strip>;
4523
+ }, z.core.$strip>, z.ZodObject<{
4524
+ event: z.ZodLiteral<"restarting">;
4525
+ data: z.ZodObject<{
4526
+ restarting: z.ZodLiteral<true>;
4527
+ }, z.core.$strip>;
4528
+ }, z.core.$strip>], "event">;
4529
+ };
4530
+ readonly 'gateway.create': {
4531
+ readonly params: z.ZodObject<{
4532
+ profile_home: z.ZodString;
4533
+ probe: z.ZodOptional<z.ZodBoolean>;
4534
+ request_id: z.ZodOptional<z.ZodString>;
4535
+ execution_mode: z.ZodOptional<z.ZodEnum<{
4536
+ ignore_config: "ignore_config";
4537
+ safe: "safe";
4538
+ }>>;
4539
+ cwd: z.ZodOptional<z.ZodString>;
4540
+ model: z.ZodOptional<z.ZodString>;
4541
+ provider: z.ZodOptional<z.ZodString>;
4542
+ base_url: z.ZodOptional<z.ZodString>;
4543
+ toolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
4544
+ }, z.core.$strip>;
4545
+ readonly result: z.ZodObject<{
4546
+ state: z.ZodEnum<{
4547
+ unavailable: "unavailable";
4548
+ refused: "refused";
4549
+ attached: "attached";
4550
+ stopped: "stopped";
4551
+ incompatible: "incompatible";
4552
+ }>;
4553
+ reason: z.ZodNullable<z.ZodString>;
4554
+ replay_gap: z.ZodOptional<z.ZodBoolean>;
4555
+ snapshot: z.ZodNullable<z.ZodObject<{
4556
+ session_id: z.ZodString;
4557
+ stored_session_id: z.ZodString;
4558
+ messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4559
+ message_count: z.ZodNumber;
4560
+ running: z.ZodBoolean;
4561
+ authority_epoch: z.ZodNumber;
4562
+ replay_epoch: z.ZodString;
4563
+ last_sequence: z.ZodNumber;
4564
+ subscription_id: z.ZodString;
4565
+ revision: z.ZodNumber;
4566
+ execution_generation: z.ZodNumber;
4567
+ pending: z.ZodArray<z.ZodObject<{
4568
+ admission_id: z.ZodString;
4569
+ sequence: z.ZodNumber;
4570
+ status: z.ZodEnum<{
4571
+ unknown: "unknown";
4572
+ queued: "queued";
4573
+ started: "started";
4574
+ terminal: "terminal";
4575
+ }>;
4576
+ outcome: z.ZodNullable<z.ZodString>;
4577
+ authority_epoch: z.ZodNumber;
4578
+ execution_generation: z.ZodNullable<z.ZodNumber>;
4579
+ controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
4580
+ steering: z.ZodOptional<z.ZodBoolean>;
4581
+ text: z.ZodOptional<z.ZodString>;
4582
+ input_id: z.ZodOptional<z.ZodString>;
4583
+ }, z.core.$strip>>;
4584
+ prompts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4585
+ info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4586
+ }, z.core.$strip>>;
4587
+ receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
4588
+ admission_id: z.ZodString;
4589
+ sequence: z.ZodNumber;
4590
+ status: z.ZodEnum<{
4591
+ unknown: "unknown";
4592
+ queued: "queued";
4593
+ started: "started";
4594
+ terminal: "terminal";
4595
+ }>;
4596
+ outcome: z.ZodNullable<z.ZodString>;
4597
+ authority_epoch: z.ZodNumber;
4598
+ execution_generation: z.ZodNullable<z.ZodNumber>;
4599
+ controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
4600
+ steering: z.ZodOptional<z.ZodBoolean>;
4601
+ text: z.ZodOptional<z.ZodString>;
4602
+ input_id: z.ZodOptional<z.ZodString>;
4603
+ voice_stopped: z.ZodOptional<z.ZodNever>;
4604
+ }, z.core.$strip>, z.ZodObject<{
4605
+ operation: z.ZodString;
4606
+ status: z.ZodOptional<z.ZodString>;
4607
+ voice_stopped: z.ZodOptional<z.ZodNever>;
4608
+ }, z.core.$loose>, z.ZodObject<{
4609
+ voice_stopped: z.ZodLiteral<true>;
4610
+ }, z.core.$strict>]>>;
4611
+ model_change: z.ZodOptional<z.ZodObject<{
4612
+ state: z.ZodEnum<{
4613
+ applied: "applied";
4614
+ deferred: "deferred";
4615
+ confirmation_required: "confirmation_required";
4616
+ refused: "refused";
4617
+ }>;
4618
+ message: z.ZodOptional<z.ZodString>;
4619
+ confirm: z.ZodOptional<z.ZodString>;
4620
+ model: z.ZodOptional<z.ZodString>;
4621
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4622
+ }, z.core.$strip>>;
4623
+ context_detail: z.ZodOptional<z.ZodObject<{
4624
+ available: z.ZodBoolean;
4625
+ reason: z.ZodNullable<z.ZodEnum<{
4626
+ not_built: "not_built";
4627
+ unsupported: "unsupported";
4628
+ changed: "changed";
4629
+ unavailable: "unavailable";
4630
+ }>>;
4631
+ used_tokens: z.ZodNullable<z.ZodNumber>;
4632
+ window_tokens: z.ZodNullable<z.ZodNumber>;
4633
+ estimated_total: z.ZodNullable<z.ZodNumber>;
4634
+ source: z.ZodNullable<z.ZodEnum<{
4635
+ local_estimate: "local_estimate";
4636
+ provider_usage: "provider_usage";
4637
+ provider_usage_plus_estimate: "provider_usage_plus_estimate";
4638
+ }>>;
4639
+ estimated: z.ZodNullable<z.ZodBoolean>;
4640
+ categories: z.ZodArray<z.ZodObject<{
4641
+ id: z.ZodEnum<{
4642
+ system_prompt: "system_prompt";
4643
+ tool_definitions: "tool_definitions";
4644
+ rules: "rules";
4645
+ skills: "skills";
4646
+ mcp: "mcp";
4647
+ subagent_definitions: "subagent_definitions";
4648
+ memory: "memory";
4649
+ conversation: "conversation";
4650
+ }>;
4651
+ tokens: z.ZodNumber;
4652
+ percent: z.ZodNullable<z.ZodNumber>;
4653
+ estimated: z.ZodLiteral<true>;
4654
+ }, z.core.$strip>>;
4655
+ files: z.ZodArray<z.ZodObject<{
4656
+ label: z.ZodEnum<{
4657
+ "AGENTS.md": "AGENTS.md";
4658
+ "SOUL.md": "SOUL.md";
4659
+ ".hermes.md": ".hermes.md";
4660
+ "CLAUDE.md": "CLAUDE.md";
4661
+ "GEMINI.md": "GEMINI.md";
4662
+ "CONTEXT.md": "CONTEXT.md";
4663
+ "Context file": "Context file";
4664
+ }>;
4665
+ characters: z.ZodNullable<z.ZodNumber>;
4666
+ tokens: z.ZodNullable<z.ZodNumber>;
4667
+ status: z.ZodEnum<{
4668
+ unknown: "unknown";
4669
+ loaded: "loaded";
4670
+ truncated: "truncated";
4671
+ flagged: "flagged";
4672
+ shadowed: "shadowed";
4673
+ blocked: "blocked";
4674
+ empty: "empty";
4675
+ unreadable: "unreadable";
4676
+ suppressed: "suppressed";
4677
+ }>;
4678
+ loaded: z.ZodNullable<z.ZodBoolean>;
4679
+ }, z.core.$strip>>;
4680
+ truncated: z.ZodBoolean;
4681
+ current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4682
+ last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
4683
+ }, z.core.$strip>>;
4684
+ export: z.ZodOptional<z.ZodObject<{
4685
+ format: z.ZodEnum<{
4686
+ json: "json";
4687
+ markdown: "markdown";
4688
+ html: "html";
4689
+ }>;
4690
+ filename: z.ZodString;
4691
+ content: z.ZodString;
4692
+ }, z.core.$strip>>;
4693
+ restarting: z.ZodOptional<z.ZodBoolean>;
4694
+ lock: z.ZodOptional<z.ZodObject<{
4695
+ status: z.ZodEnum<{
4696
+ ok: "ok";
4697
+ expired: "expired";
4698
+ }>;
4699
+ remaining: z.ZodOptional<z.ZodArray<z.ZodString>>;
4700
+ }, z.core.$strip>>;
3774
4701
  }, z.core.$strip>;
3775
4702
  };
3776
4703
  readonly 'gateway.control': {
3777
4704
  readonly params: z.ZodObject<{
3778
4705
  profile_home: z.ZodString;
4706
+ interrupt: z.ZodOptional<z.ZodBoolean>;
3779
4707
  cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3780
4708
  quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
3781
4709
  background_wait_seconds: z.ZodOptional<z.ZodNumber>;
@@ -3790,6 +4718,7 @@ export declare const GATEWAY_METHODS: {
3790
4718
  failed: "failed";
3791
4719
  completed: "completed";
3792
4720
  busy: "busy";
4721
+ busy_live_work: "busy_live_work";
3793
4722
  }>;
3794
4723
  message: z.ZodString;
3795
4724
  detail: z.ZodOptional<z.ZodString>;
@@ -3810,6 +4739,7 @@ export declare const GATEWAY_METHODS: {
3810
4739
  readonly 'gateway.restart': {
3811
4740
  readonly params: z.ZodObject<{
3812
4741
  profile_home: z.ZodString;
4742
+ interrupt: z.ZodOptional<z.ZodBoolean>;
3813
4743
  cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3814
4744
  quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
3815
4745
  background_wait_seconds: z.ZodOptional<z.ZodNumber>;
@@ -3819,6 +4749,7 @@ export declare const GATEWAY_METHODS: {
3819
4749
  failed: "failed";
3820
4750
  completed: "completed";
3821
4751
  busy: "busy";
4752
+ busy_live_work: "busy_live_work";
3822
4753
  }>;
3823
4754
  message: z.ZodString;
3824
4755
  detail: z.ZodOptional<z.ZodString>;