@junctionpanel/server 0.1.32 → 0.1.34

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 (75) hide show
  1. package/dist/server/client/daemon-client.d.ts +6 -1
  2. package/dist/server/client/daemon-client.d.ts.map +1 -1
  3. package/dist/server/client/daemon-client.js +17 -0
  4. package/dist/server/client/daemon-client.js.map +1 -1
  5. package/dist/server/server/agent/agent-management-mcp.d.ts.map +1 -1
  6. package/dist/server/server/agent/agent-management-mcp.js +44 -7
  7. package/dist/server/server/agent/agent-management-mcp.js.map +1 -1
  8. package/dist/server/server/agent/agent-manager.d.ts +6 -0
  9. package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
  10. package/dist/server/server/agent/agent-manager.js +88 -10
  11. package/dist/server/server/agent/agent-manager.js.map +1 -1
  12. package/dist/server/server/agent/agent-permission-fingerprint.d.ts +6 -0
  13. package/dist/server/server/agent/agent-permission-fingerprint.d.ts.map +1 -0
  14. package/dist/server/server/agent/agent-permission-fingerprint.js +28 -0
  15. package/dist/server/server/agent/agent-permission-fingerprint.js.map +1 -0
  16. package/dist/server/server/agent/agent-projections.d.ts +1 -0
  17. package/dist/server/server/agent/agent-projections.d.ts.map +1 -1
  18. package/dist/server/server/agent/agent-projections.js +61 -3
  19. package/dist/server/server/agent/agent-projections.js.map +1 -1
  20. package/dist/server/server/agent/agent-sdk-types.d.ts +10 -1
  21. package/dist/server/server/agent/agent-sdk-types.d.ts.map +1 -1
  22. package/dist/server/server/agent/agent-storage.d.ts +13 -0
  23. package/dist/server/server/agent/agent-storage.d.ts.map +1 -1
  24. package/dist/server/server/agent/agent-storage.js +4 -2
  25. package/dist/server/server/agent/agent-storage.js.map +1 -1
  26. package/dist/server/server/agent/mcp-server.d.ts.map +1 -1
  27. package/dist/server/server/agent/mcp-server.js +44 -7
  28. package/dist/server/server/agent/mcp-server.js.map +1 -1
  29. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
  30. package/dist/server/server/agent/providers/codex-app-server-agent.js +4 -0
  31. package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
  32. package/dist/server/server/bootstrap.d.ts.map +1 -1
  33. package/dist/server/server/bootstrap.js +2 -1
  34. package/dist/server/server/bootstrap.js.map +1 -1
  35. package/dist/server/server/cli-runtime-exports.d.ts +2 -0
  36. package/dist/server/server/cli-runtime-exports.d.ts.map +1 -1
  37. package/dist/server/server/cli-runtime-exports.js +2 -0
  38. package/dist/server/server/cli-runtime-exports.js.map +1 -1
  39. package/dist/server/server/daemon-doctor.d.ts +4 -0
  40. package/dist/server/server/daemon-doctor.d.ts.map +1 -1
  41. package/dist/server/server/daemon-doctor.js +33 -12
  42. package/dist/server/server/daemon-doctor.js.map +1 -1
  43. package/dist/server/server/daemon-package-context.d.ts +10 -0
  44. package/dist/server/server/daemon-package-context.d.ts.map +1 -0
  45. package/dist/server/server/daemon-package-context.js +31 -0
  46. package/dist/server/server/daemon-package-context.js.map +1 -0
  47. package/dist/server/server/package-update.d.ts +32 -0
  48. package/dist/server/server/package-update.d.ts.map +1 -0
  49. package/dist/server/server/package-update.js +196 -0
  50. package/dist/server/server/package-update.js.map +1 -0
  51. package/dist/server/server/session.d.ts +1 -0
  52. package/dist/server/server/session.d.ts.map +1 -1
  53. package/dist/server/server/session.js +91 -85
  54. package/dist/server/server/session.js.map +1 -1
  55. package/dist/server/server/worktree-bootstrap.d.ts +2 -1
  56. package/dist/server/server/worktree-bootstrap.d.ts.map +1 -1
  57. package/dist/server/server/worktree-bootstrap.js +1 -0
  58. package/dist/server/server/worktree-bootstrap.js.map +1 -1
  59. package/dist/server/shared/messages.d.ts +617 -446
  60. package/dist/server/shared/messages.d.ts.map +1 -1
  61. package/dist/server/shared/messages.js +22 -1
  62. package/dist/server/shared/messages.js.map +1 -1
  63. package/dist/server/utils/checkout-git.d.ts +14 -0
  64. package/dist/server/utils/checkout-git.d.ts.map +1 -1
  65. package/dist/server/utils/checkout-git.js +73 -44
  66. package/dist/server/utils/checkout-git.js.map +1 -1
  67. package/dist/server/utils/worktree-metadata.d.ts +30 -0
  68. package/dist/server/utils/worktree-metadata.d.ts.map +1 -1
  69. package/dist/server/utils/worktree-metadata.js +38 -9
  70. package/dist/server/utils/worktree-metadata.js.map +1 -1
  71. package/dist/server/utils/worktree.d.ts +7 -3
  72. package/dist/server/utils/worktree.d.ts.map +1 -1
  73. package/dist/server/utils/worktree.js +91 -47
  74. package/dist/server/utils/worktree.js.map +1 -1
  75. package/package.json +2 -2
@@ -208,10 +208,10 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
208
208
  lastUserMessageAt: string | null;
209
209
  labels: Record<string, string>;
210
210
  persistence: AgentPersistenceHandle | null;
211
+ pendingPermissions: AgentPermissionRequest[];
211
212
  capabilities: AgentCapabilityFlags;
212
213
  currentModeId: string | null;
213
214
  availableModes: AgentMode[];
214
- pendingPermissions: AgentPermissionRequest[];
215
215
  thinkingOptionId?: string | null | undefined;
216
216
  runtimeInfo?: AgentRuntimeInfo | undefined;
217
217
  requiresAttention?: boolean | undefined;
@@ -232,10 +232,10 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
232
232
  updatedAt: string;
233
233
  lastUserMessageAt: string | null;
234
234
  persistence: AgentPersistenceHandle | null;
235
+ pendingPermissions: AgentPermissionRequest[];
235
236
  capabilities: AgentCapabilityFlags;
236
237
  currentModeId: string | null;
237
238
  availableModes: AgentMode[];
238
- pendingPermissions: AgentPermissionRequest[];
239
239
  thinkingOptionId?: string | null | undefined;
240
240
  labels?: Record<string, string> | undefined;
241
241
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -580,6 +580,7 @@ export declare const WaitForFinishRequestSchema: z.ZodObject<{
580
580
  }>;
581
581
  declare const GitSetupOptionsSchema: z.ZodObject<{
582
582
  baseBranch: z.ZodOptional<z.ZodString>;
583
+ baseBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
583
584
  remoteName: z.ZodOptional<z.ZodString>;
584
585
  createNewBranch: z.ZodOptional<z.ZodBoolean>;
585
586
  newBranchName: z.ZodOptional<z.ZodString>;
@@ -587,15 +588,17 @@ declare const GitSetupOptionsSchema: z.ZodObject<{
587
588
  worktreeSlug: z.ZodOptional<z.ZodString>;
588
589
  }, "strip", z.ZodTypeAny, {
589
590
  baseBranch?: string | undefined;
590
- worktreeSlug?: string | undefined;
591
+ baseBranchSource?: "local" | "remote" | undefined;
591
592
  remoteName?: string | undefined;
593
+ worktreeSlug?: string | undefined;
592
594
  createNewBranch?: boolean | undefined;
593
595
  newBranchName?: string | undefined;
594
596
  createWorktree?: boolean | undefined;
595
597
  }, {
596
598
  baseBranch?: string | undefined;
597
- worktreeSlug?: string | undefined;
599
+ baseBranchSource?: "local" | "remote" | undefined;
598
600
  remoteName?: string | undefined;
601
+ worktreeSlug?: string | undefined;
599
602
  createNewBranch?: boolean | undefined;
600
603
  newBranchName?: string | undefined;
601
604
  createWorktree?: boolean | undefined;
@@ -782,6 +785,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
782
785
  }>, "many">>;
783
786
  git: z.ZodOptional<z.ZodObject<{
784
787
  baseBranch: z.ZodOptional<z.ZodString>;
788
+ baseBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
785
789
  remoteName: z.ZodOptional<z.ZodString>;
786
790
  createNewBranch: z.ZodOptional<z.ZodBoolean>;
787
791
  newBranchName: z.ZodOptional<z.ZodString>;
@@ -789,15 +793,17 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
789
793
  worktreeSlug: z.ZodOptional<z.ZodString>;
790
794
  }, "strip", z.ZodTypeAny, {
791
795
  baseBranch?: string | undefined;
792
- worktreeSlug?: string | undefined;
796
+ baseBranchSource?: "local" | "remote" | undefined;
793
797
  remoteName?: string | undefined;
798
+ worktreeSlug?: string | undefined;
794
799
  createNewBranch?: boolean | undefined;
795
800
  newBranchName?: string | undefined;
796
801
  createWorktree?: boolean | undefined;
797
802
  }, {
798
803
  baseBranch?: string | undefined;
799
- worktreeSlug?: string | undefined;
804
+ baseBranchSource?: "local" | "remote" | undefined;
800
805
  remoteName?: string | undefined;
806
+ worktreeSlug?: string | undefined;
801
807
  createNewBranch?: boolean | undefined;
802
808
  newBranchName?: string | undefined;
803
809
  createWorktree?: boolean | undefined;
@@ -862,8 +868,9 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
862
868
  } | undefined;
863
869
  git?: {
864
870
  baseBranch?: string | undefined;
865
- worktreeSlug?: string | undefined;
871
+ baseBranchSource?: "local" | "remote" | undefined;
866
872
  remoteName?: string | undefined;
873
+ worktreeSlug?: string | undefined;
867
874
  createNewBranch?: boolean | undefined;
868
875
  newBranchName?: string | undefined;
869
876
  createWorktree?: boolean | undefined;
@@ -925,8 +932,9 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
925
932
  } | undefined;
926
933
  git?: {
927
934
  baseBranch?: string | undefined;
928
- worktreeSlug?: string | undefined;
935
+ baseBranchSource?: "local" | "remote" | undefined;
929
936
  remoteName?: string | undefined;
937
+ worktreeSlug?: string | undefined;
930
938
  createNewBranch?: boolean | undefined;
931
939
  newBranchName?: string | undefined;
932
940
  createWorktree?: boolean | undefined;
@@ -1363,13 +1371,13 @@ export declare const SetAgentModelRequestMessageSchema: z.ZodObject<{
1363
1371
  }, "strip", z.ZodTypeAny, {
1364
1372
  agentId: string;
1365
1373
  type: "set_agent_model_request";
1366
- requestId: string;
1367
1374
  modelId: string | null;
1375
+ requestId: string;
1368
1376
  }, {
1369
1377
  agentId: string;
1370
1378
  type: "set_agent_model_request";
1371
- requestId: string;
1372
1379
  modelId: string | null;
1380
+ requestId: string;
1373
1381
  }>;
1374
1382
  export declare const SetAgentModelResponseMessageSchema: z.ZodObject<{
1375
1383
  type: z.ZodLiteral<"set_agent_model_response">;
@@ -1657,16 +1665,16 @@ export declare const CheckoutPrCreateRequestSchema: z.ZodObject<{
1657
1665
  type: "checkout_pr_create_request";
1658
1666
  requestId: string;
1659
1667
  title?: string | undefined;
1660
- body?: string | undefined;
1661
1668
  remoteName?: string | undefined;
1669
+ body?: string | undefined;
1662
1670
  baseRef?: string | undefined;
1663
1671
  }, {
1664
1672
  cwd: string;
1665
1673
  type: "checkout_pr_create_request";
1666
1674
  requestId: string;
1667
1675
  title?: string | undefined;
1668
- body?: string | undefined;
1669
1676
  remoteName?: string | undefined;
1677
+ body?: string | undefined;
1670
1678
  baseRef?: string | undefined;
1671
1679
  }>;
1672
1680
  export declare const CheckoutPrStatusRequestSchema: z.ZodObject<{
@@ -1744,22 +1752,28 @@ export declare const BranchSuggestionsRequestSchema: z.ZodObject<{
1744
1752
  cwd: z.ZodString;
1745
1753
  query: z.ZodOptional<z.ZodString>;
1746
1754
  limit: z.ZodOptional<z.ZodNumber>;
1755
+ preferredBranches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1756
+ source: z.ZodOptional<z.ZodEnum<["all", "local", "remote"]>>;
1747
1757
  remoteName: z.ZodOptional<z.ZodString>;
1748
1758
  requestId: z.ZodString;
1749
1759
  }, "strip", z.ZodTypeAny, {
1750
1760
  cwd: string;
1751
1761
  type: "branch_suggestions_request";
1752
1762
  requestId: string;
1763
+ remoteName?: string | undefined;
1753
1764
  limit?: number | undefined;
1754
1765
  query?: string | undefined;
1755
- remoteName?: string | undefined;
1766
+ source?: "local" | "remote" | "all" | undefined;
1767
+ preferredBranches?: string[] | undefined;
1756
1768
  }, {
1757
1769
  cwd: string;
1758
1770
  type: "branch_suggestions_request";
1759
1771
  requestId: string;
1772
+ remoteName?: string | undefined;
1760
1773
  limit?: number | undefined;
1761
1774
  query?: string | undefined;
1762
- remoteName?: string | undefined;
1775
+ source?: "local" | "remote" | "all" | undefined;
1776
+ preferredBranches?: string[] | undefined;
1763
1777
  }>;
1764
1778
  export declare const GitRemotesRequestSchema: z.ZodObject<{
1765
1779
  type: z.ZodLiteral<"git_remotes_request">;
@@ -2771,6 +2785,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2771
2785
  }>, "many">>;
2772
2786
  git: z.ZodOptional<z.ZodObject<{
2773
2787
  baseBranch: z.ZodOptional<z.ZodString>;
2788
+ baseBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
2774
2789
  remoteName: z.ZodOptional<z.ZodString>;
2775
2790
  createNewBranch: z.ZodOptional<z.ZodBoolean>;
2776
2791
  newBranchName: z.ZodOptional<z.ZodString>;
@@ -2778,15 +2793,17 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2778
2793
  worktreeSlug: z.ZodOptional<z.ZodString>;
2779
2794
  }, "strip", z.ZodTypeAny, {
2780
2795
  baseBranch?: string | undefined;
2781
- worktreeSlug?: string | undefined;
2796
+ baseBranchSource?: "local" | "remote" | undefined;
2782
2797
  remoteName?: string | undefined;
2798
+ worktreeSlug?: string | undefined;
2783
2799
  createNewBranch?: boolean | undefined;
2784
2800
  newBranchName?: string | undefined;
2785
2801
  createWorktree?: boolean | undefined;
2786
2802
  }, {
2787
2803
  baseBranch?: string | undefined;
2788
- worktreeSlug?: string | undefined;
2804
+ baseBranchSource?: "local" | "remote" | undefined;
2789
2805
  remoteName?: string | undefined;
2806
+ worktreeSlug?: string | undefined;
2790
2807
  createNewBranch?: boolean | undefined;
2791
2808
  newBranchName?: string | undefined;
2792
2809
  createWorktree?: boolean | undefined;
@@ -2851,8 +2868,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2851
2868
  } | undefined;
2852
2869
  git?: {
2853
2870
  baseBranch?: string | undefined;
2854
- worktreeSlug?: string | undefined;
2871
+ baseBranchSource?: "local" | "remote" | undefined;
2855
2872
  remoteName?: string | undefined;
2873
+ worktreeSlug?: string | undefined;
2856
2874
  createNewBranch?: boolean | undefined;
2857
2875
  newBranchName?: string | undefined;
2858
2876
  createWorktree?: boolean | undefined;
@@ -2914,8 +2932,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2914
2932
  } | undefined;
2915
2933
  git?: {
2916
2934
  baseBranch?: string | undefined;
2917
- worktreeSlug?: string | undefined;
2935
+ baseBranchSource?: "local" | "remote" | undefined;
2918
2936
  remoteName?: string | undefined;
2937
+ worktreeSlug?: string | undefined;
2919
2938
  createNewBranch?: boolean | undefined;
2920
2939
  newBranchName?: string | undefined;
2921
2940
  createWorktree?: boolean | undefined;
@@ -3261,13 +3280,13 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
3261
3280
  }, "strip", z.ZodTypeAny, {
3262
3281
  agentId: string;
3263
3282
  type: "set_agent_model_request";
3264
- requestId: string;
3265
3283
  modelId: string | null;
3284
+ requestId: string;
3266
3285
  }, {
3267
3286
  agentId: string;
3268
3287
  type: "set_agent_model_request";
3269
- requestId: string;
3270
3288
  modelId: string | null;
3289
+ requestId: string;
3271
3290
  }>, z.ZodObject<{
3272
3291
  type: z.ZodLiteral<"set_agent_thinking_request">;
3273
3292
  agentId: z.ZodString;
@@ -3440,16 +3459,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
3440
3459
  type: "checkout_pr_create_request";
3441
3460
  requestId: string;
3442
3461
  title?: string | undefined;
3443
- body?: string | undefined;
3444
3462
  remoteName?: string | undefined;
3463
+ body?: string | undefined;
3445
3464
  baseRef?: string | undefined;
3446
3465
  }, {
3447
3466
  cwd: string;
3448
3467
  type: "checkout_pr_create_request";
3449
3468
  requestId: string;
3450
3469
  title?: string | undefined;
3451
- body?: string | undefined;
3452
3470
  remoteName?: string | undefined;
3471
+ body?: string | undefined;
3453
3472
  baseRef?: string | undefined;
3454
3473
  }>, z.ZodObject<{
3455
3474
  type: z.ZodLiteral<"checkout_pr_status_request">;
@@ -3522,22 +3541,28 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
3522
3541
  cwd: z.ZodString;
3523
3542
  query: z.ZodOptional<z.ZodString>;
3524
3543
  limit: z.ZodOptional<z.ZodNumber>;
3544
+ preferredBranches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3545
+ source: z.ZodOptional<z.ZodEnum<["all", "local", "remote"]>>;
3525
3546
  remoteName: z.ZodOptional<z.ZodString>;
3526
3547
  requestId: z.ZodString;
3527
3548
  }, "strip", z.ZodTypeAny, {
3528
3549
  cwd: string;
3529
3550
  type: "branch_suggestions_request";
3530
3551
  requestId: string;
3552
+ remoteName?: string | undefined;
3531
3553
  limit?: number | undefined;
3532
3554
  query?: string | undefined;
3533
- remoteName?: string | undefined;
3555
+ source?: "local" | "remote" | "all" | undefined;
3556
+ preferredBranches?: string[] | undefined;
3534
3557
  }, {
3535
3558
  cwd: string;
3536
3559
  type: "branch_suggestions_request";
3537
3560
  requestId: string;
3561
+ remoteName?: string | undefined;
3538
3562
  limit?: number | undefined;
3539
3563
  query?: string | undefined;
3540
- remoteName?: string | undefined;
3564
+ source?: "local" | "remote" | "all" | undefined;
3565
+ preferredBranches?: string[] | undefined;
3541
3566
  }>, z.ZodObject<{
3542
3567
  type: z.ZodLiteral<"git_remotes_request">;
3543
3568
  cwd: z.ZodString;
@@ -4309,10 +4334,10 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
4309
4334
  lastUserMessageAt: string | null;
4310
4335
  labels: Record<string, string>;
4311
4336
  persistence: AgentPersistenceHandle | null;
4337
+ pendingPermissions: AgentPermissionRequest[];
4312
4338
  capabilities: AgentCapabilityFlags;
4313
4339
  currentModeId: string | null;
4314
4340
  availableModes: AgentMode[];
4315
- pendingPermissions: AgentPermissionRequest[];
4316
4341
  thinkingOptionId?: string | null | undefined;
4317
4342
  runtimeInfo?: AgentRuntimeInfo | undefined;
4318
4343
  requiresAttention?: boolean | undefined;
@@ -4333,10 +4358,10 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
4333
4358
  updatedAt: string;
4334
4359
  lastUserMessageAt: string | null;
4335
4360
  persistence: AgentPersistenceHandle | null;
4361
+ pendingPermissions: AgentPermissionRequest[];
4336
4362
  capabilities: AgentCapabilityFlags;
4337
4363
  currentModeId: string | null;
4338
4364
  availableModes: AgentMode[];
4339
- pendingPermissions: AgentPermissionRequest[];
4340
4365
  thinkingOptionId?: string | null | undefined;
4341
4366
  labels?: Record<string, string> | undefined;
4342
4367
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -4367,10 +4392,10 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
4367
4392
  lastUserMessageAt: string | null;
4368
4393
  labels: Record<string, string>;
4369
4394
  persistence: AgentPersistenceHandle | null;
4395
+ pendingPermissions: AgentPermissionRequest[];
4370
4396
  capabilities: AgentCapabilityFlags;
4371
4397
  currentModeId: string | null;
4372
4398
  availableModes: AgentMode[];
4373
- pendingPermissions: AgentPermissionRequest[];
4374
4399
  thinkingOptionId?: string | null | undefined;
4375
4400
  runtimeInfo?: AgentRuntimeInfo | undefined;
4376
4401
  requiresAttention?: boolean | undefined;
@@ -4396,10 +4421,10 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
4396
4421
  updatedAt: string;
4397
4422
  lastUserMessageAt: string | null;
4398
4423
  persistence: AgentPersistenceHandle | null;
4424
+ pendingPermissions: AgentPermissionRequest[];
4399
4425
  capabilities: AgentCapabilityFlags;
4400
4426
  currentModeId: string | null;
4401
4427
  availableModes: AgentMode[];
4402
- pendingPermissions: AgentPermissionRequest[];
4403
4428
  thinkingOptionId?: string | null | undefined;
4404
4429
  labels?: Record<string, string> | undefined;
4405
4430
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -4464,10 +4489,10 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
4464
4489
  lastUserMessageAt: string | null;
4465
4490
  labels: Record<string, string>;
4466
4491
  persistence: AgentPersistenceHandle | null;
4492
+ pendingPermissions: AgentPermissionRequest[];
4467
4493
  capabilities: AgentCapabilityFlags;
4468
4494
  currentModeId: string | null;
4469
4495
  availableModes: AgentMode[];
4470
- pendingPermissions: AgentPermissionRequest[];
4471
4496
  thinkingOptionId?: string | null | undefined;
4472
4497
  runtimeInfo?: AgentRuntimeInfo | undefined;
4473
4498
  requiresAttention?: boolean | undefined;
@@ -4488,10 +4513,10 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
4488
4513
  updatedAt: string;
4489
4514
  lastUserMessageAt: string | null;
4490
4515
  persistence: AgentPersistenceHandle | null;
4516
+ pendingPermissions: AgentPermissionRequest[];
4491
4517
  capabilities: AgentCapabilityFlags;
4492
4518
  currentModeId: string | null;
4493
4519
  availableModes: AgentMode[];
4494
- pendingPermissions: AgentPermissionRequest[];
4495
4520
  thinkingOptionId?: string | null | undefined;
4496
4521
  labels?: Record<string, string> | undefined;
4497
4522
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -4524,10 +4549,10 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
4524
4549
  lastUserMessageAt: string | null;
4525
4550
  labels: Record<string, string>;
4526
4551
  persistence: AgentPersistenceHandle | null;
4552
+ pendingPermissions: AgentPermissionRequest[];
4527
4553
  capabilities: AgentCapabilityFlags;
4528
4554
  currentModeId: string | null;
4529
4555
  availableModes: AgentMode[];
4530
- pendingPermissions: AgentPermissionRequest[];
4531
4556
  thinkingOptionId?: string | null | undefined;
4532
4557
  runtimeInfo?: AgentRuntimeInfo | undefined;
4533
4558
  requiresAttention?: boolean | undefined;
@@ -4554,10 +4579,10 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
4554
4579
  updatedAt: string;
4555
4580
  lastUserMessageAt: string | null;
4556
4581
  persistence: AgentPersistenceHandle | null;
4582
+ pendingPermissions: AgentPermissionRequest[];
4557
4583
  capabilities: AgentCapabilityFlags;
4558
4584
  currentModeId: string | null;
4559
4585
  availableModes: AgentMode[];
4560
- pendingPermissions: AgentPermissionRequest[];
4561
4586
  thinkingOptionId?: string | null | undefined;
4562
4587
  labels?: Record<string, string> | undefined;
4563
4588
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -4657,10 +4682,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4657
4682
  lastUserMessageAt: string | null;
4658
4683
  labels: Record<string, string>;
4659
4684
  persistence: AgentPersistenceHandle | null;
4685
+ pendingPermissions: AgentPermissionRequest[];
4660
4686
  capabilities: AgentCapabilityFlags;
4661
4687
  currentModeId: string | null;
4662
4688
  availableModes: AgentMode[];
4663
- pendingPermissions: AgentPermissionRequest[];
4664
4689
  thinkingOptionId?: string | null | undefined;
4665
4690
  runtimeInfo?: AgentRuntimeInfo | undefined;
4666
4691
  requiresAttention?: boolean | undefined;
@@ -4681,10 +4706,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4681
4706
  updatedAt: string;
4682
4707
  lastUserMessageAt: string | null;
4683
4708
  persistence: AgentPersistenceHandle | null;
4709
+ pendingPermissions: AgentPermissionRequest[];
4684
4710
  capabilities: AgentCapabilityFlags;
4685
4711
  currentModeId: string | null;
4686
4712
  availableModes: AgentMode[];
4687
- pendingPermissions: AgentPermissionRequest[];
4688
4713
  thinkingOptionId?: string | null | undefined;
4689
4714
  labels?: Record<string, string> | undefined;
4690
4715
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -4715,10 +4740,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4715
4740
  lastUserMessageAt: string | null;
4716
4741
  labels: Record<string, string>;
4717
4742
  persistence: AgentPersistenceHandle | null;
4743
+ pendingPermissions: AgentPermissionRequest[];
4718
4744
  capabilities: AgentCapabilityFlags;
4719
4745
  currentModeId: string | null;
4720
4746
  availableModes: AgentMode[];
4721
- pendingPermissions: AgentPermissionRequest[];
4722
4747
  thinkingOptionId?: string | null | undefined;
4723
4748
  runtimeInfo?: AgentRuntimeInfo | undefined;
4724
4749
  requiresAttention?: boolean | undefined;
@@ -4744,10 +4769,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4744
4769
  updatedAt: string;
4745
4770
  lastUserMessageAt: string | null;
4746
4771
  persistence: AgentPersistenceHandle | null;
4772
+ pendingPermissions: AgentPermissionRequest[];
4747
4773
  capabilities: AgentCapabilityFlags;
4748
4774
  currentModeId: string | null;
4749
4775
  availableModes: AgentMode[];
4750
- pendingPermissions: AgentPermissionRequest[];
4751
4776
  thinkingOptionId?: string | null | undefined;
4752
4777
  labels?: Record<string, string> | undefined;
4753
4778
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -4810,10 +4835,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4810
4835
  lastUserMessageAt: string | null;
4811
4836
  labels: Record<string, string>;
4812
4837
  persistence: AgentPersistenceHandle | null;
4838
+ pendingPermissions: AgentPermissionRequest[];
4813
4839
  capabilities: AgentCapabilityFlags;
4814
4840
  currentModeId: string | null;
4815
4841
  availableModes: AgentMode[];
4816
- pendingPermissions: AgentPermissionRequest[];
4817
4842
  thinkingOptionId?: string | null | undefined;
4818
4843
  runtimeInfo?: AgentRuntimeInfo | undefined;
4819
4844
  requiresAttention?: boolean | undefined;
@@ -4834,10 +4859,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4834
4859
  updatedAt: string;
4835
4860
  lastUserMessageAt: string | null;
4836
4861
  persistence: AgentPersistenceHandle | null;
4862
+ pendingPermissions: AgentPermissionRequest[];
4837
4863
  capabilities: AgentCapabilityFlags;
4838
4864
  currentModeId: string | null;
4839
4865
  availableModes: AgentMode[];
4840
- pendingPermissions: AgentPermissionRequest[];
4841
4866
  thinkingOptionId?: string | null | undefined;
4842
4867
  labels?: Record<string, string> | undefined;
4843
4868
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -4870,10 +4895,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4870
4895
  lastUserMessageAt: string | null;
4871
4896
  labels: Record<string, string>;
4872
4897
  persistence: AgentPersistenceHandle | null;
4898
+ pendingPermissions: AgentPermissionRequest[];
4873
4899
  capabilities: AgentCapabilityFlags;
4874
4900
  currentModeId: string | null;
4875
4901
  availableModes: AgentMode[];
4876
- pendingPermissions: AgentPermissionRequest[];
4877
4902
  thinkingOptionId?: string | null | undefined;
4878
4903
  runtimeInfo?: AgentRuntimeInfo | undefined;
4879
4904
  requiresAttention?: boolean | undefined;
@@ -4900,10 +4925,10 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4900
4925
  updatedAt: string;
4901
4926
  lastUserMessageAt: string | null;
4902
4927
  persistence: AgentPersistenceHandle | null;
4928
+ pendingPermissions: AgentPermissionRequest[];
4903
4929
  capabilities: AgentCapabilityFlags;
4904
4930
  currentModeId: string | null;
4905
4931
  availableModes: AgentMode[];
4906
- pendingPermissions: AgentPermissionRequest[];
4907
4932
  thinkingOptionId?: string | null | undefined;
4908
4933
  labels?: Record<string, string> | undefined;
4909
4934
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -5291,10 +5316,10 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5291
5316
  lastUserMessageAt: string | null;
5292
5317
  labels: Record<string, string>;
5293
5318
  persistence: AgentPersistenceHandle | null;
5319
+ pendingPermissions: AgentPermissionRequest[];
5294
5320
  capabilities: AgentCapabilityFlags;
5295
5321
  currentModeId: string | null;
5296
5322
  availableModes: AgentMode[];
5297
- pendingPermissions: AgentPermissionRequest[];
5298
5323
  thinkingOptionId?: string | null | undefined;
5299
5324
  runtimeInfo?: AgentRuntimeInfo | undefined;
5300
5325
  requiresAttention?: boolean | undefined;
@@ -5315,10 +5340,10 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5315
5340
  updatedAt: string;
5316
5341
  lastUserMessageAt: string | null;
5317
5342
  persistence: AgentPersistenceHandle | null;
5343
+ pendingPermissions: AgentPermissionRequest[];
5318
5344
  capabilities: AgentCapabilityFlags;
5319
5345
  currentModeId: string | null;
5320
5346
  availableModes: AgentMode[];
5321
- pendingPermissions: AgentPermissionRequest[];
5322
5347
  thinkingOptionId?: string | null | undefined;
5323
5348
  labels?: Record<string, string> | undefined;
5324
5349
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -5462,10 +5487,10 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5462
5487
  lastUserMessageAt: string | null;
5463
5488
  labels: Record<string, string>;
5464
5489
  persistence: AgentPersistenceHandle | null;
5490
+ pendingPermissions: AgentPermissionRequest[];
5465
5491
  capabilities: AgentCapabilityFlags;
5466
5492
  currentModeId: string | null;
5467
5493
  availableModes: AgentMode[];
5468
- pendingPermissions: AgentPermissionRequest[];
5469
5494
  thinkingOptionId?: string | null | undefined;
5470
5495
  runtimeInfo?: AgentRuntimeInfo | undefined;
5471
5496
  requiresAttention?: boolean | undefined;
@@ -5515,10 +5540,10 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5515
5540
  updatedAt: string;
5516
5541
  lastUserMessageAt: string | null;
5517
5542
  persistence: AgentPersistenceHandle | null;
5543
+ pendingPermissions: AgentPermissionRequest[];
5518
5544
  capabilities: AgentCapabilityFlags;
5519
5545
  currentModeId: string | null;
5520
5546
  availableModes: AgentMode[];
5521
- pendingPermissions: AgentPermissionRequest[];
5522
5547
  thinkingOptionId?: string | null | undefined;
5523
5548
  labels?: Record<string, string> | undefined;
5524
5549
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -5582,10 +5607,10 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5582
5607
  lastUserMessageAt: string | null;
5583
5608
  labels: Record<string, string>;
5584
5609
  persistence: AgentPersistenceHandle | null;
5610
+ pendingPermissions: AgentPermissionRequest[];
5585
5611
  capabilities: AgentCapabilityFlags;
5586
5612
  currentModeId: string | null;
5587
5613
  availableModes: AgentMode[];
5588
- pendingPermissions: AgentPermissionRequest[];
5589
5614
  thinkingOptionId?: string | null | undefined;
5590
5615
  runtimeInfo?: AgentRuntimeInfo | undefined;
5591
5616
  requiresAttention?: boolean | undefined;
@@ -5641,10 +5666,10 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5641
5666
  updatedAt: string;
5642
5667
  lastUserMessageAt: string | null;
5643
5668
  persistence: AgentPersistenceHandle | null;
5669
+ pendingPermissions: AgentPermissionRequest[];
5644
5670
  capabilities: AgentCapabilityFlags;
5645
5671
  currentModeId: string | null;
5646
5672
  availableModes: AgentMode[];
5647
- pendingPermissions: AgentPermissionRequest[];
5648
5673
  thinkingOptionId?: string | null | undefined;
5649
5674
  labels?: Record<string, string> | undefined;
5650
5675
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6122,10 +6147,10 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6122
6147
  lastUserMessageAt: string | null;
6123
6148
  labels: Record<string, string>;
6124
6149
  persistence: AgentPersistenceHandle | null;
6150
+ pendingPermissions: AgentPermissionRequest[];
6125
6151
  capabilities: AgentCapabilityFlags;
6126
6152
  currentModeId: string | null;
6127
6153
  availableModes: AgentMode[];
6128
- pendingPermissions: AgentPermissionRequest[];
6129
6154
  thinkingOptionId?: string | null | undefined;
6130
6155
  runtimeInfo?: AgentRuntimeInfo | undefined;
6131
6156
  requiresAttention?: boolean | undefined;
@@ -6146,10 +6171,10 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6146
6171
  updatedAt: string;
6147
6172
  lastUserMessageAt: string | null;
6148
6173
  persistence: AgentPersistenceHandle | null;
6174
+ pendingPermissions: AgentPermissionRequest[];
6149
6175
  capabilities: AgentCapabilityFlags;
6150
6176
  currentModeId: string | null;
6151
6177
  availableModes: AgentMode[];
6152
- pendingPermissions: AgentPermissionRequest[];
6153
6178
  thinkingOptionId?: string | null | undefined;
6154
6179
  labels?: Record<string, string> | undefined;
6155
6180
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6176,10 +6201,10 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6176
6201
  lastUserMessageAt: string | null;
6177
6202
  labels: Record<string, string>;
6178
6203
  persistence: AgentPersistenceHandle | null;
6204
+ pendingPermissions: AgentPermissionRequest[];
6179
6205
  capabilities: AgentCapabilityFlags;
6180
6206
  currentModeId: string | null;
6181
6207
  availableModes: AgentMode[];
6182
- pendingPermissions: AgentPermissionRequest[];
6183
6208
  thinkingOptionId?: string | null | undefined;
6184
6209
  runtimeInfo?: AgentRuntimeInfo | undefined;
6185
6210
  requiresAttention?: boolean | undefined;
@@ -6204,10 +6229,10 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6204
6229
  updatedAt: string;
6205
6230
  lastUserMessageAt: string | null;
6206
6231
  persistence: AgentPersistenceHandle | null;
6232
+ pendingPermissions: AgentPermissionRequest[];
6207
6233
  capabilities: AgentCapabilityFlags;
6208
6234
  currentModeId: string | null;
6209
6235
  availableModes: AgentMode[];
6210
- pendingPermissions: AgentPermissionRequest[];
6211
6236
  thinkingOptionId?: string | null | undefined;
6212
6237
  labels?: Record<string, string> | undefined;
6213
6238
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6237,10 +6262,10 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6237
6262
  lastUserMessageAt: string | null;
6238
6263
  labels: Record<string, string>;
6239
6264
  persistence: AgentPersistenceHandle | null;
6265
+ pendingPermissions: AgentPermissionRequest[];
6240
6266
  capabilities: AgentCapabilityFlags;
6241
6267
  currentModeId: string | null;
6242
6268
  availableModes: AgentMode[];
6243
- pendingPermissions: AgentPermissionRequest[];
6244
6269
  thinkingOptionId?: string | null | undefined;
6245
6270
  runtimeInfo?: AgentRuntimeInfo | undefined;
6246
6271
  requiresAttention?: boolean | undefined;
@@ -6268,10 +6293,10 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
6268
6293
  updatedAt: string;
6269
6294
  lastUserMessageAt: string | null;
6270
6295
  persistence: AgentPersistenceHandle | null;
6296
+ pendingPermissions: AgentPermissionRequest[];
6271
6297
  capabilities: AgentCapabilityFlags;
6272
6298
  currentModeId: string | null;
6273
6299
  availableModes: AgentMode[];
6274
- pendingPermissions: AgentPermissionRequest[];
6275
6300
  thinkingOptionId?: string | null | undefined;
6276
6301
  labels?: Record<string, string> | undefined;
6277
6302
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6325,10 +6350,10 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6325
6350
  lastUserMessageAt: string | null;
6326
6351
  labels: Record<string, string>;
6327
6352
  persistence: AgentPersistenceHandle | null;
6353
+ pendingPermissions: AgentPermissionRequest[];
6328
6354
  capabilities: AgentCapabilityFlags;
6329
6355
  currentModeId: string | null;
6330
6356
  availableModes: AgentMode[];
6331
- pendingPermissions: AgentPermissionRequest[];
6332
6357
  thinkingOptionId?: string | null | undefined;
6333
6358
  runtimeInfo?: AgentRuntimeInfo | undefined;
6334
6359
  requiresAttention?: boolean | undefined;
@@ -6349,10 +6374,10 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6349
6374
  updatedAt: string;
6350
6375
  lastUserMessageAt: string | null;
6351
6376
  persistence: AgentPersistenceHandle | null;
6377
+ pendingPermissions: AgentPermissionRequest[];
6352
6378
  capabilities: AgentCapabilityFlags;
6353
6379
  currentModeId: string | null;
6354
6380
  availableModes: AgentMode[];
6355
- pendingPermissions: AgentPermissionRequest[];
6356
6381
  thinkingOptionId?: string | null | undefined;
6357
6382
  labels?: Record<string, string> | undefined;
6358
6383
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6377,10 +6402,10 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6377
6402
  lastUserMessageAt: string | null;
6378
6403
  labels: Record<string, string>;
6379
6404
  persistence: AgentPersistenceHandle | null;
6405
+ pendingPermissions: AgentPermissionRequest[];
6380
6406
  capabilities: AgentCapabilityFlags;
6381
6407
  currentModeId: string | null;
6382
6408
  availableModes: AgentMode[];
6383
- pendingPermissions: AgentPermissionRequest[];
6384
6409
  thinkingOptionId?: string | null | undefined;
6385
6410
  runtimeInfo?: AgentRuntimeInfo | undefined;
6386
6411
  requiresAttention?: boolean | undefined;
@@ -6403,10 +6428,10 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6403
6428
  updatedAt: string;
6404
6429
  lastUserMessageAt: string | null;
6405
6430
  persistence: AgentPersistenceHandle | null;
6431
+ pendingPermissions: AgentPermissionRequest[];
6406
6432
  capabilities: AgentCapabilityFlags;
6407
6433
  currentModeId: string | null;
6408
6434
  availableModes: AgentMode[];
6409
- pendingPermissions: AgentPermissionRequest[];
6410
6435
  thinkingOptionId?: string | null | undefined;
6411
6436
  labels?: Record<string, string> | undefined;
6412
6437
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6434,10 +6459,10 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6434
6459
  lastUserMessageAt: string | null;
6435
6460
  labels: Record<string, string>;
6436
6461
  persistence: AgentPersistenceHandle | null;
6462
+ pendingPermissions: AgentPermissionRequest[];
6437
6463
  capabilities: AgentCapabilityFlags;
6438
6464
  currentModeId: string | null;
6439
6465
  availableModes: AgentMode[];
6440
- pendingPermissions: AgentPermissionRequest[];
6441
6466
  thinkingOptionId?: string | null | undefined;
6442
6467
  runtimeInfo?: AgentRuntimeInfo | undefined;
6443
6468
  requiresAttention?: boolean | undefined;
@@ -6463,10 +6488,10 @@ export declare const AgentListMessageSchema: z.ZodObject<{
6463
6488
  updatedAt: string;
6464
6489
  lastUserMessageAt: string | null;
6465
6490
  persistence: AgentPersistenceHandle | null;
6491
+ pendingPermissions: AgentPermissionRequest[];
6466
6492
  capabilities: AgentCapabilityFlags;
6467
6493
  currentModeId: string | null;
6468
6494
  availableModes: AgentMode[];
6469
- pendingPermissions: AgentPermissionRequest[];
6470
6495
  thinkingOptionId?: string | null | undefined;
6471
6496
  labels?: Record<string, string> | undefined;
6472
6497
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6523,10 +6548,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6523
6548
  lastUserMessageAt: string | null;
6524
6549
  labels: Record<string, string>;
6525
6550
  persistence: AgentPersistenceHandle | null;
6551
+ pendingPermissions: AgentPermissionRequest[];
6526
6552
  capabilities: AgentCapabilityFlags;
6527
6553
  currentModeId: string | null;
6528
6554
  availableModes: AgentMode[];
6529
- pendingPermissions: AgentPermissionRequest[];
6530
6555
  thinkingOptionId?: string | null | undefined;
6531
6556
  runtimeInfo?: AgentRuntimeInfo | undefined;
6532
6557
  requiresAttention?: boolean | undefined;
@@ -6547,10 +6572,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6547
6572
  updatedAt: string;
6548
6573
  lastUserMessageAt: string | null;
6549
6574
  persistence: AgentPersistenceHandle | null;
6575
+ pendingPermissions: AgentPermissionRequest[];
6550
6576
  capabilities: AgentCapabilityFlags;
6551
6577
  currentModeId: string | null;
6552
6578
  availableModes: AgentMode[];
6553
- pendingPermissions: AgentPermissionRequest[];
6554
6579
  thinkingOptionId?: string | null | undefined;
6555
6580
  labels?: Record<string, string> | undefined;
6556
6581
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6693,10 +6718,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6693
6718
  lastUserMessageAt: string | null;
6694
6719
  labels: Record<string, string>;
6695
6720
  persistence: AgentPersistenceHandle | null;
6721
+ pendingPermissions: AgentPermissionRequest[];
6696
6722
  capabilities: AgentCapabilityFlags;
6697
6723
  currentModeId: string | null;
6698
6724
  availableModes: AgentMode[];
6699
- pendingPermissions: AgentPermissionRequest[];
6700
6725
  thinkingOptionId?: string | null | undefined;
6701
6726
  runtimeInfo?: AgentRuntimeInfo | undefined;
6702
6727
  requiresAttention?: boolean | undefined;
@@ -6745,10 +6770,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6745
6770
  updatedAt: string;
6746
6771
  lastUserMessageAt: string | null;
6747
6772
  persistence: AgentPersistenceHandle | null;
6773
+ pendingPermissions: AgentPermissionRequest[];
6748
6774
  capabilities: AgentCapabilityFlags;
6749
6775
  currentModeId: string | null;
6750
6776
  availableModes: AgentMode[];
6751
- pendingPermissions: AgentPermissionRequest[];
6752
6777
  thinkingOptionId?: string | null | undefined;
6753
6778
  labels?: Record<string, string> | undefined;
6754
6779
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6814,10 +6839,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6814
6839
  lastUserMessageAt: string | null;
6815
6840
  labels: Record<string, string>;
6816
6841
  persistence: AgentPersistenceHandle | null;
6842
+ pendingPermissions: AgentPermissionRequest[];
6817
6843
  capabilities: AgentCapabilityFlags;
6818
6844
  currentModeId: string | null;
6819
6845
  availableModes: AgentMode[];
6820
- pendingPermissions: AgentPermissionRequest[];
6821
6846
  thinkingOptionId?: string | null | undefined;
6822
6847
  runtimeInfo?: AgentRuntimeInfo | undefined;
6823
6848
  requiresAttention?: boolean | undefined;
@@ -6875,10 +6900,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6875
6900
  updatedAt: string;
6876
6901
  lastUserMessageAt: string | null;
6877
6902
  persistence: AgentPersistenceHandle | null;
6903
+ pendingPermissions: AgentPermissionRequest[];
6878
6904
  capabilities: AgentCapabilityFlags;
6879
6905
  currentModeId: string | null;
6880
6906
  availableModes: AgentMode[];
6881
- pendingPermissions: AgentPermissionRequest[];
6882
6907
  thinkingOptionId?: string | null | undefined;
6883
6908
  labels?: Record<string, string> | undefined;
6884
6909
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -6941,10 +6966,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6941
6966
  lastUserMessageAt: string | null;
6942
6967
  labels: Record<string, string>;
6943
6968
  persistence: AgentPersistenceHandle | null;
6969
+ pendingPermissions: AgentPermissionRequest[];
6944
6970
  capabilities: AgentCapabilityFlags;
6945
6971
  currentModeId: string | null;
6946
6972
  availableModes: AgentMode[];
6947
- pendingPermissions: AgentPermissionRequest[];
6948
6973
  thinkingOptionId?: string | null | undefined;
6949
6974
  runtimeInfo?: AgentRuntimeInfo | undefined;
6950
6975
  requiresAttention?: boolean | undefined;
@@ -7005,10 +7030,10 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
7005
7030
  updatedAt: string;
7006
7031
  lastUserMessageAt: string | null;
7007
7032
  persistence: AgentPersistenceHandle | null;
7033
+ pendingPermissions: AgentPermissionRequest[];
7008
7034
  capabilities: AgentCapabilityFlags;
7009
7035
  currentModeId: string | null;
7010
7036
  availableModes: AgentMode[];
7011
- pendingPermissions: AgentPermissionRequest[];
7012
7037
  thinkingOptionId?: string | null | undefined;
7013
7038
  labels?: Record<string, string> | undefined;
7014
7039
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -7097,10 +7122,10 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
7097
7122
  lastUserMessageAt: string | null;
7098
7123
  labels: Record<string, string>;
7099
7124
  persistence: AgentPersistenceHandle | null;
7125
+ pendingPermissions: AgentPermissionRequest[];
7100
7126
  capabilities: AgentCapabilityFlags;
7101
7127
  currentModeId: string | null;
7102
7128
  availableModes: AgentMode[];
7103
- pendingPermissions: AgentPermissionRequest[];
7104
7129
  thinkingOptionId?: string | null | undefined;
7105
7130
  runtimeInfo?: AgentRuntimeInfo | undefined;
7106
7131
  requiresAttention?: boolean | undefined;
@@ -7121,10 +7146,10 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
7121
7146
  updatedAt: string;
7122
7147
  lastUserMessageAt: string | null;
7123
7148
  persistence: AgentPersistenceHandle | null;
7149
+ pendingPermissions: AgentPermissionRequest[];
7124
7150
  capabilities: AgentCapabilityFlags;
7125
7151
  currentModeId: string | null;
7126
7152
  availableModes: AgentMode[];
7127
- pendingPermissions: AgentPermissionRequest[];
7128
7153
  thinkingOptionId?: string | null | undefined;
7129
7154
  labels?: Record<string, string> | undefined;
7130
7155
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -7270,10 +7295,10 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
7270
7295
  lastUserMessageAt: string | null;
7271
7296
  labels: Record<string, string>;
7272
7297
  persistence: AgentPersistenceHandle | null;
7298
+ pendingPermissions: AgentPermissionRequest[];
7273
7299
  capabilities: AgentCapabilityFlags;
7274
7300
  currentModeId: string | null;
7275
7301
  availableModes: AgentMode[];
7276
- pendingPermissions: AgentPermissionRequest[];
7277
7302
  thinkingOptionId?: string | null | undefined;
7278
7303
  runtimeInfo?: AgentRuntimeInfo | undefined;
7279
7304
  requiresAttention?: boolean | undefined;
@@ -7324,10 +7349,10 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
7324
7349
  updatedAt: string;
7325
7350
  lastUserMessageAt: string | null;
7326
7351
  persistence: AgentPersistenceHandle | null;
7352
+ pendingPermissions: AgentPermissionRequest[];
7327
7353
  capabilities: AgentCapabilityFlags;
7328
7354
  currentModeId: string | null;
7329
7355
  availableModes: AgentMode[];
7330
- pendingPermissions: AgentPermissionRequest[];
7331
7356
  thinkingOptionId?: string | null | undefined;
7332
7357
  labels?: Record<string, string> | undefined;
7333
7358
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -7383,10 +7408,10 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
7383
7408
  lastUserMessageAt: string | null;
7384
7409
  labels: Record<string, string>;
7385
7410
  persistence: AgentPersistenceHandle | null;
7411
+ pendingPermissions: AgentPermissionRequest[];
7386
7412
  capabilities: AgentCapabilityFlags;
7387
7413
  currentModeId: string | null;
7388
7414
  availableModes: AgentMode[];
7389
- pendingPermissions: AgentPermissionRequest[];
7390
7415
  thinkingOptionId?: string | null | undefined;
7391
7416
  runtimeInfo?: AgentRuntimeInfo | undefined;
7392
7417
  requiresAttention?: boolean | undefined;
@@ -7440,10 +7465,10 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
7440
7465
  updatedAt: string;
7441
7466
  lastUserMessageAt: string | null;
7442
7467
  persistence: AgentPersistenceHandle | null;
7468
+ pendingPermissions: AgentPermissionRequest[];
7443
7469
  capabilities: AgentCapabilityFlags;
7444
7470
  currentModeId: string | null;
7445
7471
  availableModes: AgentMode[];
7446
- pendingPermissions: AgentPermissionRequest[];
7447
7472
  thinkingOptionId?: string | null | undefined;
7448
7473
  labels?: Record<string, string> | undefined;
7449
7474
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -7843,10 +7868,10 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7843
7868
  lastUserMessageAt: string | null;
7844
7869
  labels: Record<string, string>;
7845
7870
  persistence: AgentPersistenceHandle | null;
7871
+ pendingPermissions: AgentPermissionRequest[];
7846
7872
  capabilities: AgentCapabilityFlags;
7847
7873
  currentModeId: string | null;
7848
7874
  availableModes: AgentMode[];
7849
- pendingPermissions: AgentPermissionRequest[];
7850
7875
  thinkingOptionId?: string | null | undefined;
7851
7876
  runtimeInfo?: AgentRuntimeInfo | undefined;
7852
7877
  requiresAttention?: boolean | undefined;
@@ -7867,10 +7892,10 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7867
7892
  updatedAt: string;
7868
7893
  lastUserMessageAt: string | null;
7869
7894
  persistence: AgentPersistenceHandle | null;
7895
+ pendingPermissions: AgentPermissionRequest[];
7870
7896
  capabilities: AgentCapabilityFlags;
7871
7897
  currentModeId: string | null;
7872
7898
  availableModes: AgentMode[];
7873
- pendingPermissions: AgentPermissionRequest[];
7874
7899
  thinkingOptionId?: string | null | undefined;
7875
7900
  labels?: Record<string, string> | undefined;
7876
7901
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -7900,10 +7925,10 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7900
7925
  lastUserMessageAt: string | null;
7901
7926
  labels: Record<string, string>;
7902
7927
  persistence: AgentPersistenceHandle | null;
7928
+ pendingPermissions: AgentPermissionRequest[];
7903
7929
  capabilities: AgentCapabilityFlags;
7904
7930
  currentModeId: string | null;
7905
7931
  availableModes: AgentMode[];
7906
- pendingPermissions: AgentPermissionRequest[];
7907
7932
  thinkingOptionId?: string | null | undefined;
7908
7933
  runtimeInfo?: AgentRuntimeInfo | undefined;
7909
7934
  requiresAttention?: boolean | undefined;
@@ -7930,10 +7955,10 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7930
7955
  updatedAt: string;
7931
7956
  lastUserMessageAt: string | null;
7932
7957
  persistence: AgentPersistenceHandle | null;
7958
+ pendingPermissions: AgentPermissionRequest[];
7933
7959
  capabilities: AgentCapabilityFlags;
7934
7960
  currentModeId: string | null;
7935
7961
  availableModes: AgentMode[];
7936
- pendingPermissions: AgentPermissionRequest[];
7937
7962
  thinkingOptionId?: string | null | undefined;
7938
7963
  labels?: Record<string, string> | undefined;
7939
7964
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -7965,10 +7990,10 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7965
7990
  lastUserMessageAt: string | null;
7966
7991
  labels: Record<string, string>;
7967
7992
  persistence: AgentPersistenceHandle | null;
7993
+ pendingPermissions: AgentPermissionRequest[];
7968
7994
  capabilities: AgentCapabilityFlags;
7969
7995
  currentModeId: string | null;
7970
7996
  availableModes: AgentMode[];
7971
- pendingPermissions: AgentPermissionRequest[];
7972
7997
  thinkingOptionId?: string | null | undefined;
7973
7998
  runtimeInfo?: AgentRuntimeInfo | undefined;
7974
7999
  requiresAttention?: boolean | undefined;
@@ -7998,10 +8023,10 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7998
8023
  updatedAt: string;
7999
8024
  lastUserMessageAt: string | null;
8000
8025
  persistence: AgentPersistenceHandle | null;
8026
+ pendingPermissions: AgentPermissionRequest[];
8001
8027
  capabilities: AgentCapabilityFlags;
8002
8028
  currentModeId: string | null;
8003
8029
  availableModes: AgentMode[];
8004
- pendingPermissions: AgentPermissionRequest[];
8005
8030
  thinkingOptionId?: string | null | undefined;
8006
8031
  labels?: Record<string, string> | undefined;
8007
8032
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -10715,6 +10740,31 @@ export declare const RunDaemonDoctorResponseSchema: z.ZodObject<{
10715
10740
  homeDir: string;
10716
10741
  rootDir: string;
10717
10742
  }>;
10743
+ update: z.ZodOptional<z.ZodObject<{
10744
+ packageName: z.ZodString;
10745
+ currentVersion: z.ZodNullable<z.ZodString>;
10746
+ latestVersion: z.ZodNullable<z.ZodString>;
10747
+ status: z.ZodEnum<["current", "stale", "unknown"]>;
10748
+ blocked: z.ZodBoolean;
10749
+ message: z.ZodString;
10750
+ remediation: z.ZodNullable<z.ZodString>;
10751
+ }, "strip", z.ZodTypeAny, {
10752
+ status: "unknown" | "current" | "stale";
10753
+ message: string;
10754
+ remediation: string | null;
10755
+ packageName: string;
10756
+ currentVersion: string | null;
10757
+ latestVersion: string | null;
10758
+ blocked: boolean;
10759
+ }, {
10760
+ status: "unknown" | "current" | "stale";
10761
+ message: string;
10762
+ remediation: string | null;
10763
+ packageName: string;
10764
+ currentVersion: string | null;
10765
+ latestVersion: string | null;
10766
+ blocked: boolean;
10767
+ }>>;
10718
10768
  summary: z.ZodEnum<["pass", "warn", "fail"]>;
10719
10769
  checks: z.ZodArray<z.ZodObject<{
10720
10770
  id: z.ZodString;
@@ -10769,6 +10819,15 @@ export declare const RunDaemonDoctorResponseSchema: z.ZodObject<{
10769
10819
  remediation: string | null;
10770
10820
  }[];
10771
10821
  ranAt: string;
10822
+ update?: {
10823
+ status: "unknown" | "current" | "stale";
10824
+ message: string;
10825
+ remediation: string | null;
10826
+ packageName: string;
10827
+ currentVersion: string | null;
10828
+ latestVersion: string | null;
10829
+ blocked: boolean;
10830
+ } | undefined;
10772
10831
  }, {
10773
10832
  error: string | null;
10774
10833
  summary: "pass" | "warn" | "fail";
@@ -10791,6 +10850,15 @@ export declare const RunDaemonDoctorResponseSchema: z.ZodObject<{
10791
10850
  remediation: string | null;
10792
10851
  }[];
10793
10852
  ranAt: string;
10853
+ update?: {
10854
+ status: "unknown" | "current" | "stale";
10855
+ message: string;
10856
+ remediation: string | null;
10857
+ packageName: string;
10858
+ currentVersion: string | null;
10859
+ latestVersion: string | null;
10860
+ blocked: boolean;
10861
+ } | undefined;
10794
10862
  }>;
10795
10863
  }, "strip", z.ZodTypeAny, {
10796
10864
  type: "run_daemon_doctor_response";
@@ -10816,6 +10884,15 @@ export declare const RunDaemonDoctorResponseSchema: z.ZodObject<{
10816
10884
  remediation: string | null;
10817
10885
  }[];
10818
10886
  ranAt: string;
10887
+ update?: {
10888
+ status: "unknown" | "current" | "stale";
10889
+ message: string;
10890
+ remediation: string | null;
10891
+ packageName: string;
10892
+ currentVersion: string | null;
10893
+ latestVersion: string | null;
10894
+ blocked: boolean;
10895
+ } | undefined;
10819
10896
  };
10820
10897
  }, {
10821
10898
  type: "run_daemon_doctor_response";
@@ -10841,6 +10918,15 @@ export declare const RunDaemonDoctorResponseSchema: z.ZodObject<{
10841
10918
  remediation: string | null;
10842
10919
  }[];
10843
10920
  ranAt: string;
10921
+ update?: {
10922
+ status: "unknown" | "current" | "stale";
10923
+ message: string;
10924
+ remediation: string | null;
10925
+ packageName: string;
10926
+ currentVersion: string | null;
10927
+ latestVersion: string | null;
10928
+ blocked: boolean;
10929
+ } | undefined;
10844
10930
  };
10845
10931
  }>;
10846
10932
  export declare const GetDaemonProviderSettingsResponseSchema: z.ZodObject<{
@@ -11103,37 +11189,15 @@ export declare const AutoRouteProviderResponseSchema: z.ZodObject<{
11103
11189
  homeDir: string;
11104
11190
  rootDir: string;
11105
11191
  }>;
11106
- provider: z.ZodNullable<z.ZodObject<{
11107
- provider: z.ZodEnum<["claude", "codex", "gemini"]>;
11108
- source: z.ZodEnum<["system", "manual", "custom"]>;
11109
- executablePath: z.ZodNullable<z.ZodString>;
11110
- commandSummary: z.ZodNullable<z.ZodString>;
11111
- resolvedPath: z.ZodNullable<z.ZodString>;
11112
- }, "strip", z.ZodTypeAny, {
11113
- provider: "codex" | "claude" | "gemini";
11114
- source: "manual" | "custom" | "system";
11115
- resolvedPath: string | null;
11116
- executablePath: string | null;
11117
- commandSummary: string | null;
11118
- }, {
11119
- provider: "codex" | "claude" | "gemini";
11120
- source: "manual" | "custom" | "system";
11121
- resolvedPath: string | null;
11122
- executablePath: string | null;
11123
- commandSummary: string | null;
11124
- }>>;
11192
+ provider: z.ZodEnum<["claude", "codex", "gemini"]>;
11193
+ executablePath: z.ZodNullable<z.ZodString>;
11125
11194
  error: z.ZodNullable<z.ZodString>;
11126
11195
  requestId: z.ZodString;
11127
11196
  }, "strip", z.ZodTypeAny, {
11128
11197
  error: string | null;
11129
- provider: {
11130
- provider: "codex" | "claude" | "gemini";
11131
- source: "manual" | "custom" | "system";
11132
- resolvedPath: string | null;
11133
- executablePath: string | null;
11134
- commandSummary: string | null;
11135
- } | null;
11198
+ provider: "codex" | "claude" | "gemini";
11136
11199
  requestId: string;
11200
+ executablePath: string | null;
11137
11201
  daemon: {
11138
11202
  hostname: string | null;
11139
11203
  version: string | null;
@@ -11143,14 +11207,9 @@ export declare const AutoRouteProviderResponseSchema: z.ZodObject<{
11143
11207
  };
11144
11208
  }, {
11145
11209
  error: string | null;
11146
- provider: {
11147
- provider: "codex" | "claude" | "gemini";
11148
- source: "manual" | "custom" | "system";
11149
- resolvedPath: string | null;
11150
- executablePath: string | null;
11151
- commandSummary: string | null;
11152
- } | null;
11210
+ provider: "codex" | "claude" | "gemini";
11153
11211
  requestId: string;
11212
+ executablePath: string | null;
11154
11213
  daemon: {
11155
11214
  hostname: string | null;
11156
11215
  version: string | null;
@@ -11163,14 +11222,9 @@ export declare const AutoRouteProviderResponseSchema: z.ZodObject<{
11163
11222
  type: "auto_route_provider_response";
11164
11223
  payload: {
11165
11224
  error: string | null;
11166
- provider: {
11167
- provider: "codex" | "claude" | "gemini";
11168
- source: "manual" | "custom" | "system";
11169
- resolvedPath: string | null;
11170
- executablePath: string | null;
11171
- commandSummary: string | null;
11172
- } | null;
11225
+ provider: "codex" | "claude" | "gemini";
11173
11226
  requestId: string;
11227
+ executablePath: string | null;
11174
11228
  daemon: {
11175
11229
  hostname: string | null;
11176
11230
  version: string | null;
@@ -11183,14 +11237,9 @@ export declare const AutoRouteProviderResponseSchema: z.ZodObject<{
11183
11237
  type: "auto_route_provider_response";
11184
11238
  payload: {
11185
11239
  error: string | null;
11186
- provider: {
11187
- provider: "codex" | "claude" | "gemini";
11188
- source: "manual" | "custom" | "system";
11189
- resolvedPath: string | null;
11190
- executablePath: string | null;
11191
- commandSummary: string | null;
11192
- } | null;
11240
+ provider: "codex" | "claude" | "gemini";
11193
11241
  requestId: string;
11242
+ executablePath: string | null;
11194
11243
  daemon: {
11195
11244
  hostname: string | null;
11196
11245
  version: string | null;
@@ -12248,10 +12297,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12248
12297
  lastUserMessageAt: string | null;
12249
12298
  labels: Record<string, string>;
12250
12299
  persistence: AgentPersistenceHandle | null;
12300
+ pendingPermissions: AgentPermissionRequest[];
12251
12301
  capabilities: AgentCapabilityFlags;
12252
12302
  currentModeId: string | null;
12253
12303
  availableModes: AgentMode[];
12254
- pendingPermissions: AgentPermissionRequest[];
12255
12304
  thinkingOptionId?: string | null | undefined;
12256
12305
  runtimeInfo?: AgentRuntimeInfo | undefined;
12257
12306
  requiresAttention?: boolean | undefined;
@@ -12272,10 +12321,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12272
12321
  updatedAt: string;
12273
12322
  lastUserMessageAt: string | null;
12274
12323
  persistence: AgentPersistenceHandle | null;
12324
+ pendingPermissions: AgentPermissionRequest[];
12275
12325
  capabilities: AgentCapabilityFlags;
12276
12326
  currentModeId: string | null;
12277
12327
  availableModes: AgentMode[];
12278
- pendingPermissions: AgentPermissionRequest[];
12279
12328
  thinkingOptionId?: string | null | undefined;
12280
12329
  labels?: Record<string, string> | undefined;
12281
12330
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -12419,10 +12468,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12419
12468
  lastUserMessageAt: string | null;
12420
12469
  labels: Record<string, string>;
12421
12470
  persistence: AgentPersistenceHandle | null;
12471
+ pendingPermissions: AgentPermissionRequest[];
12422
12472
  capabilities: AgentCapabilityFlags;
12423
12473
  currentModeId: string | null;
12424
12474
  availableModes: AgentMode[];
12425
- pendingPermissions: AgentPermissionRequest[];
12426
12475
  thinkingOptionId?: string | null | undefined;
12427
12476
  runtimeInfo?: AgentRuntimeInfo | undefined;
12428
12477
  requiresAttention?: boolean | undefined;
@@ -12472,10 +12521,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12472
12521
  updatedAt: string;
12473
12522
  lastUserMessageAt: string | null;
12474
12523
  persistence: AgentPersistenceHandle | null;
12524
+ pendingPermissions: AgentPermissionRequest[];
12475
12525
  capabilities: AgentCapabilityFlags;
12476
12526
  currentModeId: string | null;
12477
12527
  availableModes: AgentMode[];
12478
- pendingPermissions: AgentPermissionRequest[];
12479
12528
  thinkingOptionId?: string | null | undefined;
12480
12529
  labels?: Record<string, string> | undefined;
12481
12530
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -12539,10 +12588,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12539
12588
  lastUserMessageAt: string | null;
12540
12589
  labels: Record<string, string>;
12541
12590
  persistence: AgentPersistenceHandle | null;
12591
+ pendingPermissions: AgentPermissionRequest[];
12542
12592
  capabilities: AgentCapabilityFlags;
12543
12593
  currentModeId: string | null;
12544
12594
  availableModes: AgentMode[];
12545
- pendingPermissions: AgentPermissionRequest[];
12546
12595
  thinkingOptionId?: string | null | undefined;
12547
12596
  runtimeInfo?: AgentRuntimeInfo | undefined;
12548
12597
  requiresAttention?: boolean | undefined;
@@ -12598,10 +12647,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12598
12647
  updatedAt: string;
12599
12648
  lastUserMessageAt: string | null;
12600
12649
  persistence: AgentPersistenceHandle | null;
12650
+ pendingPermissions: AgentPermissionRequest[];
12601
12651
  capabilities: AgentCapabilityFlags;
12602
12652
  currentModeId: string | null;
12603
12653
  availableModes: AgentMode[];
12604
- pendingPermissions: AgentPermissionRequest[];
12605
12654
  thinkingOptionId?: string | null | undefined;
12606
12655
  labels?: Record<string, string> | undefined;
12607
12656
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13077,10 +13126,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13077
13126
  lastUserMessageAt: string | null;
13078
13127
  labels: Record<string, string>;
13079
13128
  persistence: AgentPersistenceHandle | null;
13129
+ pendingPermissions: AgentPermissionRequest[];
13080
13130
  capabilities: AgentCapabilityFlags;
13081
13131
  currentModeId: string | null;
13082
13132
  availableModes: AgentMode[];
13083
- pendingPermissions: AgentPermissionRequest[];
13084
13133
  thinkingOptionId?: string | null | undefined;
13085
13134
  runtimeInfo?: AgentRuntimeInfo | undefined;
13086
13135
  requiresAttention?: boolean | undefined;
@@ -13101,10 +13150,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13101
13150
  updatedAt: string;
13102
13151
  lastUserMessageAt: string | null;
13103
13152
  persistence: AgentPersistenceHandle | null;
13153
+ pendingPermissions: AgentPermissionRequest[];
13104
13154
  capabilities: AgentCapabilityFlags;
13105
13155
  currentModeId: string | null;
13106
13156
  availableModes: AgentMode[];
13107
- pendingPermissions: AgentPermissionRequest[];
13108
13157
  thinkingOptionId?: string | null | undefined;
13109
13158
  labels?: Record<string, string> | undefined;
13110
13159
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13131,10 +13180,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13131
13180
  lastUserMessageAt: string | null;
13132
13181
  labels: Record<string, string>;
13133
13182
  persistence: AgentPersistenceHandle | null;
13183
+ pendingPermissions: AgentPermissionRequest[];
13134
13184
  capabilities: AgentCapabilityFlags;
13135
13185
  currentModeId: string | null;
13136
13186
  availableModes: AgentMode[];
13137
- pendingPermissions: AgentPermissionRequest[];
13138
13187
  thinkingOptionId?: string | null | undefined;
13139
13188
  runtimeInfo?: AgentRuntimeInfo | undefined;
13140
13189
  requiresAttention?: boolean | undefined;
@@ -13159,10 +13208,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13159
13208
  updatedAt: string;
13160
13209
  lastUserMessageAt: string | null;
13161
13210
  persistence: AgentPersistenceHandle | null;
13211
+ pendingPermissions: AgentPermissionRequest[];
13162
13212
  capabilities: AgentCapabilityFlags;
13163
13213
  currentModeId: string | null;
13164
13214
  availableModes: AgentMode[];
13165
- pendingPermissions: AgentPermissionRequest[];
13166
13215
  thinkingOptionId?: string | null | undefined;
13167
13216
  labels?: Record<string, string> | undefined;
13168
13217
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13192,10 +13241,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13192
13241
  lastUserMessageAt: string | null;
13193
13242
  labels: Record<string, string>;
13194
13243
  persistence: AgentPersistenceHandle | null;
13244
+ pendingPermissions: AgentPermissionRequest[];
13195
13245
  capabilities: AgentCapabilityFlags;
13196
13246
  currentModeId: string | null;
13197
13247
  availableModes: AgentMode[];
13198
- pendingPermissions: AgentPermissionRequest[];
13199
13248
  thinkingOptionId?: string | null | undefined;
13200
13249
  runtimeInfo?: AgentRuntimeInfo | undefined;
13201
13250
  requiresAttention?: boolean | undefined;
@@ -13223,10 +13272,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13223
13272
  updatedAt: string;
13224
13273
  lastUserMessageAt: string | null;
13225
13274
  persistence: AgentPersistenceHandle | null;
13275
+ pendingPermissions: AgentPermissionRequest[];
13226
13276
  capabilities: AgentCapabilityFlags;
13227
13277
  currentModeId: string | null;
13228
13278
  availableModes: AgentMode[];
13229
- pendingPermissions: AgentPermissionRequest[];
13230
13279
  thinkingOptionId?: string | null | undefined;
13231
13280
  labels?: Record<string, string> | undefined;
13232
13281
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13282,10 +13331,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13282
13331
  lastUserMessageAt: string | null;
13283
13332
  labels: Record<string, string>;
13284
13333
  persistence: AgentPersistenceHandle | null;
13334
+ pendingPermissions: AgentPermissionRequest[];
13285
13335
  capabilities: AgentCapabilityFlags;
13286
13336
  currentModeId: string | null;
13287
13337
  availableModes: AgentMode[];
13288
- pendingPermissions: AgentPermissionRequest[];
13289
13338
  thinkingOptionId?: string | null | undefined;
13290
13339
  runtimeInfo?: AgentRuntimeInfo | undefined;
13291
13340
  requiresAttention?: boolean | undefined;
@@ -13306,10 +13355,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13306
13355
  updatedAt: string;
13307
13356
  lastUserMessageAt: string | null;
13308
13357
  persistence: AgentPersistenceHandle | null;
13358
+ pendingPermissions: AgentPermissionRequest[];
13309
13359
  capabilities: AgentCapabilityFlags;
13310
13360
  currentModeId: string | null;
13311
13361
  availableModes: AgentMode[];
13312
- pendingPermissions: AgentPermissionRequest[];
13313
13362
  thinkingOptionId?: string | null | undefined;
13314
13363
  labels?: Record<string, string> | undefined;
13315
13364
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13452,10 +13501,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13452
13501
  lastUserMessageAt: string | null;
13453
13502
  labels: Record<string, string>;
13454
13503
  persistence: AgentPersistenceHandle | null;
13504
+ pendingPermissions: AgentPermissionRequest[];
13455
13505
  capabilities: AgentCapabilityFlags;
13456
13506
  currentModeId: string | null;
13457
13507
  availableModes: AgentMode[];
13458
- pendingPermissions: AgentPermissionRequest[];
13459
13508
  thinkingOptionId?: string | null | undefined;
13460
13509
  runtimeInfo?: AgentRuntimeInfo | undefined;
13461
13510
  requiresAttention?: boolean | undefined;
@@ -13504,10 +13553,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13504
13553
  updatedAt: string;
13505
13554
  lastUserMessageAt: string | null;
13506
13555
  persistence: AgentPersistenceHandle | null;
13556
+ pendingPermissions: AgentPermissionRequest[];
13507
13557
  capabilities: AgentCapabilityFlags;
13508
13558
  currentModeId: string | null;
13509
13559
  availableModes: AgentMode[];
13510
- pendingPermissions: AgentPermissionRequest[];
13511
13560
  thinkingOptionId?: string | null | undefined;
13512
13561
  labels?: Record<string, string> | undefined;
13513
13562
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13573,10 +13622,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13573
13622
  lastUserMessageAt: string | null;
13574
13623
  labels: Record<string, string>;
13575
13624
  persistence: AgentPersistenceHandle | null;
13625
+ pendingPermissions: AgentPermissionRequest[];
13576
13626
  capabilities: AgentCapabilityFlags;
13577
13627
  currentModeId: string | null;
13578
13628
  availableModes: AgentMode[];
13579
- pendingPermissions: AgentPermissionRequest[];
13580
13629
  thinkingOptionId?: string | null | undefined;
13581
13630
  runtimeInfo?: AgentRuntimeInfo | undefined;
13582
13631
  requiresAttention?: boolean | undefined;
@@ -13634,10 +13683,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13634
13683
  updatedAt: string;
13635
13684
  lastUserMessageAt: string | null;
13636
13685
  persistence: AgentPersistenceHandle | null;
13686
+ pendingPermissions: AgentPermissionRequest[];
13637
13687
  capabilities: AgentCapabilityFlags;
13638
13688
  currentModeId: string | null;
13639
13689
  availableModes: AgentMode[];
13640
- pendingPermissions: AgentPermissionRequest[];
13641
13690
  thinkingOptionId?: string | null | undefined;
13642
13691
  labels?: Record<string, string> | undefined;
13643
13692
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13700,10 +13749,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13700
13749
  lastUserMessageAt: string | null;
13701
13750
  labels: Record<string, string>;
13702
13751
  persistence: AgentPersistenceHandle | null;
13752
+ pendingPermissions: AgentPermissionRequest[];
13703
13753
  capabilities: AgentCapabilityFlags;
13704
13754
  currentModeId: string | null;
13705
13755
  availableModes: AgentMode[];
13706
- pendingPermissions: AgentPermissionRequest[];
13707
13756
  thinkingOptionId?: string | null | undefined;
13708
13757
  runtimeInfo?: AgentRuntimeInfo | undefined;
13709
13758
  requiresAttention?: boolean | undefined;
@@ -13764,10 +13813,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13764
13813
  updatedAt: string;
13765
13814
  lastUserMessageAt: string | null;
13766
13815
  persistence: AgentPersistenceHandle | null;
13816
+ pendingPermissions: AgentPermissionRequest[];
13767
13817
  capabilities: AgentCapabilityFlags;
13768
13818
  currentModeId: string | null;
13769
13819
  availableModes: AgentMode[];
13770
- pendingPermissions: AgentPermissionRequest[];
13771
13820
  thinkingOptionId?: string | null | undefined;
13772
13821
  labels?: Record<string, string> | undefined;
13773
13822
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13855,10 +13904,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13855
13904
  lastUserMessageAt: string | null;
13856
13905
  labels: Record<string, string>;
13857
13906
  persistence: AgentPersistenceHandle | null;
13907
+ pendingPermissions: AgentPermissionRequest[];
13858
13908
  capabilities: AgentCapabilityFlags;
13859
13909
  currentModeId: string | null;
13860
13910
  availableModes: AgentMode[];
13861
- pendingPermissions: AgentPermissionRequest[];
13862
13911
  thinkingOptionId?: string | null | undefined;
13863
13912
  runtimeInfo?: AgentRuntimeInfo | undefined;
13864
13913
  requiresAttention?: boolean | undefined;
@@ -13879,10 +13928,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13879
13928
  updatedAt: string;
13880
13929
  lastUserMessageAt: string | null;
13881
13930
  persistence: AgentPersistenceHandle | null;
13931
+ pendingPermissions: AgentPermissionRequest[];
13882
13932
  capabilities: AgentCapabilityFlags;
13883
13933
  currentModeId: string | null;
13884
13934
  availableModes: AgentMode[];
13885
- pendingPermissions: AgentPermissionRequest[];
13886
13935
  thinkingOptionId?: string | null | undefined;
13887
13936
  labels?: Record<string, string> | undefined;
13888
13937
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14028,10 +14077,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14028
14077
  lastUserMessageAt: string | null;
14029
14078
  labels: Record<string, string>;
14030
14079
  persistence: AgentPersistenceHandle | null;
14080
+ pendingPermissions: AgentPermissionRequest[];
14031
14081
  capabilities: AgentCapabilityFlags;
14032
14082
  currentModeId: string | null;
14033
14083
  availableModes: AgentMode[];
14034
- pendingPermissions: AgentPermissionRequest[];
14035
14084
  thinkingOptionId?: string | null | undefined;
14036
14085
  runtimeInfo?: AgentRuntimeInfo | undefined;
14037
14086
  requiresAttention?: boolean | undefined;
@@ -14082,10 +14131,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14082
14131
  updatedAt: string;
14083
14132
  lastUserMessageAt: string | null;
14084
14133
  persistence: AgentPersistenceHandle | null;
14134
+ pendingPermissions: AgentPermissionRequest[];
14085
14135
  capabilities: AgentCapabilityFlags;
14086
14136
  currentModeId: string | null;
14087
14137
  availableModes: AgentMode[];
14088
- pendingPermissions: AgentPermissionRequest[];
14089
14138
  thinkingOptionId?: string | null | undefined;
14090
14139
  labels?: Record<string, string> | undefined;
14091
14140
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14141,10 +14190,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14141
14190
  lastUserMessageAt: string | null;
14142
14191
  labels: Record<string, string>;
14143
14192
  persistence: AgentPersistenceHandle | null;
14193
+ pendingPermissions: AgentPermissionRequest[];
14144
14194
  capabilities: AgentCapabilityFlags;
14145
14195
  currentModeId: string | null;
14146
14196
  availableModes: AgentMode[];
14147
- pendingPermissions: AgentPermissionRequest[];
14148
14197
  thinkingOptionId?: string | null | undefined;
14149
14198
  runtimeInfo?: AgentRuntimeInfo | undefined;
14150
14199
  requiresAttention?: boolean | undefined;
@@ -14198,10 +14247,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14198
14247
  updatedAt: string;
14199
14248
  lastUserMessageAt: string | null;
14200
14249
  persistence: AgentPersistenceHandle | null;
14250
+ pendingPermissions: AgentPermissionRequest[];
14201
14251
  capabilities: AgentCapabilityFlags;
14202
14252
  currentModeId: string | null;
14203
14253
  availableModes: AgentMode[];
14204
- pendingPermissions: AgentPermissionRequest[];
14205
14254
  thinkingOptionId?: string | null | undefined;
14206
14255
  labels?: Record<string, string> | undefined;
14207
14256
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14728,10 +14777,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14728
14777
  lastUserMessageAt: string | null;
14729
14778
  labels: Record<string, string>;
14730
14779
  persistence: AgentPersistenceHandle | null;
14780
+ pendingPermissions: AgentPermissionRequest[];
14731
14781
  capabilities: AgentCapabilityFlags;
14732
14782
  currentModeId: string | null;
14733
14783
  availableModes: AgentMode[];
14734
- pendingPermissions: AgentPermissionRequest[];
14735
14784
  thinkingOptionId?: string | null | undefined;
14736
14785
  runtimeInfo?: AgentRuntimeInfo | undefined;
14737
14786
  requiresAttention?: boolean | undefined;
@@ -14752,10 +14801,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14752
14801
  updatedAt: string;
14753
14802
  lastUserMessageAt: string | null;
14754
14803
  persistence: AgentPersistenceHandle | null;
14804
+ pendingPermissions: AgentPermissionRequest[];
14755
14805
  capabilities: AgentCapabilityFlags;
14756
14806
  currentModeId: string | null;
14757
14807
  availableModes: AgentMode[];
14758
- pendingPermissions: AgentPermissionRequest[];
14759
14808
  thinkingOptionId?: string | null | undefined;
14760
14809
  labels?: Record<string, string> | undefined;
14761
14810
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14785,10 +14834,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14785
14834
  lastUserMessageAt: string | null;
14786
14835
  labels: Record<string, string>;
14787
14836
  persistence: AgentPersistenceHandle | null;
14837
+ pendingPermissions: AgentPermissionRequest[];
14788
14838
  capabilities: AgentCapabilityFlags;
14789
14839
  currentModeId: string | null;
14790
14840
  availableModes: AgentMode[];
14791
- pendingPermissions: AgentPermissionRequest[];
14792
14841
  thinkingOptionId?: string | null | undefined;
14793
14842
  runtimeInfo?: AgentRuntimeInfo | undefined;
14794
14843
  requiresAttention?: boolean | undefined;
@@ -14815,10 +14864,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14815
14864
  updatedAt: string;
14816
14865
  lastUserMessageAt: string | null;
14817
14866
  persistence: AgentPersistenceHandle | null;
14867
+ pendingPermissions: AgentPermissionRequest[];
14818
14868
  capabilities: AgentCapabilityFlags;
14819
14869
  currentModeId: string | null;
14820
14870
  availableModes: AgentMode[];
14821
- pendingPermissions: AgentPermissionRequest[];
14822
14871
  thinkingOptionId?: string | null | undefined;
14823
14872
  labels?: Record<string, string> | undefined;
14824
14873
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14850,10 +14899,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14850
14899
  lastUserMessageAt: string | null;
14851
14900
  labels: Record<string, string>;
14852
14901
  persistence: AgentPersistenceHandle | null;
14902
+ pendingPermissions: AgentPermissionRequest[];
14853
14903
  capabilities: AgentCapabilityFlags;
14854
14904
  currentModeId: string | null;
14855
14905
  availableModes: AgentMode[];
14856
- pendingPermissions: AgentPermissionRequest[];
14857
14906
  thinkingOptionId?: string | null | undefined;
14858
14907
  runtimeInfo?: AgentRuntimeInfo | undefined;
14859
14908
  requiresAttention?: boolean | undefined;
@@ -14883,10 +14932,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14883
14932
  updatedAt: string;
14884
14933
  lastUserMessageAt: string | null;
14885
14934
  persistence: AgentPersistenceHandle | null;
14935
+ pendingPermissions: AgentPermissionRequest[];
14886
14936
  capabilities: AgentCapabilityFlags;
14887
14937
  currentModeId: string | null;
14888
14938
  availableModes: AgentMode[];
14889
- pendingPermissions: AgentPermissionRequest[];
14890
14939
  thinkingOptionId?: string | null | undefined;
14891
14940
  labels?: Record<string, string> | undefined;
14892
14941
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -17557,6 +17606,31 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
17557
17606
  homeDir: string;
17558
17607
  rootDir: string;
17559
17608
  }>;
17609
+ update: z.ZodOptional<z.ZodObject<{
17610
+ packageName: z.ZodString;
17611
+ currentVersion: z.ZodNullable<z.ZodString>;
17612
+ latestVersion: z.ZodNullable<z.ZodString>;
17613
+ status: z.ZodEnum<["current", "stale", "unknown"]>;
17614
+ blocked: z.ZodBoolean;
17615
+ message: z.ZodString;
17616
+ remediation: z.ZodNullable<z.ZodString>;
17617
+ }, "strip", z.ZodTypeAny, {
17618
+ status: "unknown" | "current" | "stale";
17619
+ message: string;
17620
+ remediation: string | null;
17621
+ packageName: string;
17622
+ currentVersion: string | null;
17623
+ latestVersion: string | null;
17624
+ blocked: boolean;
17625
+ }, {
17626
+ status: "unknown" | "current" | "stale";
17627
+ message: string;
17628
+ remediation: string | null;
17629
+ packageName: string;
17630
+ currentVersion: string | null;
17631
+ latestVersion: string | null;
17632
+ blocked: boolean;
17633
+ }>>;
17560
17634
  summary: z.ZodEnum<["pass", "warn", "fail"]>;
17561
17635
  checks: z.ZodArray<z.ZodObject<{
17562
17636
  id: z.ZodString;
@@ -17611,6 +17685,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
17611
17685
  remediation: string | null;
17612
17686
  }[];
17613
17687
  ranAt: string;
17688
+ update?: {
17689
+ status: "unknown" | "current" | "stale";
17690
+ message: string;
17691
+ remediation: string | null;
17692
+ packageName: string;
17693
+ currentVersion: string | null;
17694
+ latestVersion: string | null;
17695
+ blocked: boolean;
17696
+ } | undefined;
17614
17697
  }, {
17615
17698
  error: string | null;
17616
17699
  summary: "pass" | "warn" | "fail";
@@ -17633,6 +17716,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
17633
17716
  remediation: string | null;
17634
17717
  }[];
17635
17718
  ranAt: string;
17719
+ update?: {
17720
+ status: "unknown" | "current" | "stale";
17721
+ message: string;
17722
+ remediation: string | null;
17723
+ packageName: string;
17724
+ currentVersion: string | null;
17725
+ latestVersion: string | null;
17726
+ blocked: boolean;
17727
+ } | undefined;
17636
17728
  }>;
17637
17729
  }, "strip", z.ZodTypeAny, {
17638
17730
  type: "run_daemon_doctor_response";
@@ -17658,6 +17750,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
17658
17750
  remediation: string | null;
17659
17751
  }[];
17660
17752
  ranAt: string;
17753
+ update?: {
17754
+ status: "unknown" | "current" | "stale";
17755
+ message: string;
17756
+ remediation: string | null;
17757
+ packageName: string;
17758
+ currentVersion: string | null;
17759
+ latestVersion: string | null;
17760
+ blocked: boolean;
17761
+ } | undefined;
17661
17762
  };
17662
17763
  }, {
17663
17764
  type: "run_daemon_doctor_response";
@@ -17683,6 +17784,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
17683
17784
  remediation: string | null;
17684
17785
  }[];
17685
17786
  ranAt: string;
17787
+ update?: {
17788
+ status: "unknown" | "current" | "stale";
17789
+ message: string;
17790
+ remediation: string | null;
17791
+ packageName: string;
17792
+ currentVersion: string | null;
17793
+ latestVersion: string | null;
17794
+ blocked: boolean;
17795
+ } | undefined;
17686
17796
  };
17687
17797
  }>, z.ZodObject<{
17688
17798
  type: z.ZodLiteral<"get_daemon_provider_settings_response">;
@@ -17942,37 +18052,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
17942
18052
  homeDir: string;
17943
18053
  rootDir: string;
17944
18054
  }>;
17945
- provider: z.ZodNullable<z.ZodObject<{
17946
- provider: z.ZodEnum<["claude", "codex", "gemini"]>;
17947
- source: z.ZodEnum<["system", "manual", "custom"]>;
17948
- executablePath: z.ZodNullable<z.ZodString>;
17949
- commandSummary: z.ZodNullable<z.ZodString>;
17950
- resolvedPath: z.ZodNullable<z.ZodString>;
17951
- }, "strip", z.ZodTypeAny, {
17952
- provider: "codex" | "claude" | "gemini";
17953
- source: "manual" | "custom" | "system";
17954
- resolvedPath: string | null;
17955
- executablePath: string | null;
17956
- commandSummary: string | null;
17957
- }, {
17958
- provider: "codex" | "claude" | "gemini";
17959
- source: "manual" | "custom" | "system";
17960
- resolvedPath: string | null;
17961
- executablePath: string | null;
17962
- commandSummary: string | null;
17963
- }>>;
18055
+ provider: z.ZodEnum<["claude", "codex", "gemini"]>;
18056
+ executablePath: z.ZodNullable<z.ZodString>;
17964
18057
  error: z.ZodNullable<z.ZodString>;
17965
18058
  requestId: z.ZodString;
17966
18059
  }, "strip", z.ZodTypeAny, {
17967
18060
  error: string | null;
17968
- provider: {
17969
- provider: "codex" | "claude" | "gemini";
17970
- source: "manual" | "custom" | "system";
17971
- resolvedPath: string | null;
17972
- executablePath: string | null;
17973
- commandSummary: string | null;
17974
- } | null;
18061
+ provider: "codex" | "claude" | "gemini";
17975
18062
  requestId: string;
18063
+ executablePath: string | null;
17976
18064
  daemon: {
17977
18065
  hostname: string | null;
17978
18066
  version: string | null;
@@ -17982,14 +18070,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
17982
18070
  };
17983
18071
  }, {
17984
18072
  error: string | null;
17985
- provider: {
17986
- provider: "codex" | "claude" | "gemini";
17987
- source: "manual" | "custom" | "system";
17988
- resolvedPath: string | null;
17989
- executablePath: string | null;
17990
- commandSummary: string | null;
17991
- } | null;
18073
+ provider: "codex" | "claude" | "gemini";
17992
18074
  requestId: string;
18075
+ executablePath: string | null;
17993
18076
  daemon: {
17994
18077
  hostname: string | null;
17995
18078
  version: string | null;
@@ -18002,14 +18085,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
18002
18085
  type: "auto_route_provider_response";
18003
18086
  payload: {
18004
18087
  error: string | null;
18005
- provider: {
18006
- provider: "codex" | "claude" | "gemini";
18007
- source: "manual" | "custom" | "system";
18008
- resolvedPath: string | null;
18009
- executablePath: string | null;
18010
- commandSummary: string | null;
18011
- } | null;
18088
+ provider: "codex" | "claude" | "gemini";
18012
18089
  requestId: string;
18090
+ executablePath: string | null;
18013
18091
  daemon: {
18014
18092
  hostname: string | null;
18015
18093
  version: string | null;
@@ -18022,14 +18100,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
18022
18100
  type: "auto_route_provider_response";
18023
18101
  payload: {
18024
18102
  error: string | null;
18025
- provider: {
18026
- provider: "codex" | "claude" | "gemini";
18027
- source: "manual" | "custom" | "system";
18028
- resolvedPath: string | null;
18029
- executablePath: string | null;
18030
- commandSummary: string | null;
18031
- } | null;
18103
+ provider: "codex" | "claude" | "gemini";
18032
18104
  requestId: string;
18105
+ executablePath: string | null;
18033
18106
  daemon: {
18034
18107
  hostname: string | null;
18035
18108
  version: string | null;
@@ -19504,6 +19577,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19504
19577
  }>, "many">>;
19505
19578
  git: z.ZodOptional<z.ZodObject<{
19506
19579
  baseBranch: z.ZodOptional<z.ZodString>;
19580
+ baseBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
19507
19581
  remoteName: z.ZodOptional<z.ZodString>;
19508
19582
  createNewBranch: z.ZodOptional<z.ZodBoolean>;
19509
19583
  newBranchName: z.ZodOptional<z.ZodString>;
@@ -19511,15 +19585,17 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19511
19585
  worktreeSlug: z.ZodOptional<z.ZodString>;
19512
19586
  }, "strip", z.ZodTypeAny, {
19513
19587
  baseBranch?: string | undefined;
19514
- worktreeSlug?: string | undefined;
19588
+ baseBranchSource?: "local" | "remote" | undefined;
19515
19589
  remoteName?: string | undefined;
19590
+ worktreeSlug?: string | undefined;
19516
19591
  createNewBranch?: boolean | undefined;
19517
19592
  newBranchName?: string | undefined;
19518
19593
  createWorktree?: boolean | undefined;
19519
19594
  }, {
19520
19595
  baseBranch?: string | undefined;
19521
- worktreeSlug?: string | undefined;
19596
+ baseBranchSource?: "local" | "remote" | undefined;
19522
19597
  remoteName?: string | undefined;
19598
+ worktreeSlug?: string | undefined;
19523
19599
  createNewBranch?: boolean | undefined;
19524
19600
  newBranchName?: string | undefined;
19525
19601
  createWorktree?: boolean | undefined;
@@ -19584,8 +19660,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19584
19660
  } | undefined;
19585
19661
  git?: {
19586
19662
  baseBranch?: string | undefined;
19587
- worktreeSlug?: string | undefined;
19663
+ baseBranchSource?: "local" | "remote" | undefined;
19588
19664
  remoteName?: string | undefined;
19665
+ worktreeSlug?: string | undefined;
19589
19666
  createNewBranch?: boolean | undefined;
19590
19667
  newBranchName?: string | undefined;
19591
19668
  createWorktree?: boolean | undefined;
@@ -19647,8 +19724,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19647
19724
  } | undefined;
19648
19725
  git?: {
19649
19726
  baseBranch?: string | undefined;
19650
- worktreeSlug?: string | undefined;
19727
+ baseBranchSource?: "local" | "remote" | undefined;
19651
19728
  remoteName?: string | undefined;
19729
+ worktreeSlug?: string | undefined;
19652
19730
  createNewBranch?: boolean | undefined;
19653
19731
  newBranchName?: string | undefined;
19654
19732
  createWorktree?: boolean | undefined;
@@ -19994,13 +20072,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19994
20072
  }, "strip", z.ZodTypeAny, {
19995
20073
  agentId: string;
19996
20074
  type: "set_agent_model_request";
19997
- requestId: string;
19998
20075
  modelId: string | null;
20076
+ requestId: string;
19999
20077
  }, {
20000
20078
  agentId: string;
20001
20079
  type: "set_agent_model_request";
20002
- requestId: string;
20003
20080
  modelId: string | null;
20081
+ requestId: string;
20004
20082
  }>, z.ZodObject<{
20005
20083
  type: z.ZodLiteral<"set_agent_thinking_request">;
20006
20084
  agentId: z.ZodString;
@@ -20173,16 +20251,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20173
20251
  type: "checkout_pr_create_request";
20174
20252
  requestId: string;
20175
20253
  title?: string | undefined;
20176
- body?: string | undefined;
20177
20254
  remoteName?: string | undefined;
20255
+ body?: string | undefined;
20178
20256
  baseRef?: string | undefined;
20179
20257
  }, {
20180
20258
  cwd: string;
20181
20259
  type: "checkout_pr_create_request";
20182
20260
  requestId: string;
20183
20261
  title?: string | undefined;
20184
- body?: string | undefined;
20185
20262
  remoteName?: string | undefined;
20263
+ body?: string | undefined;
20186
20264
  baseRef?: string | undefined;
20187
20265
  }>, z.ZodObject<{
20188
20266
  type: z.ZodLiteral<"checkout_pr_status_request">;
@@ -20255,22 +20333,28 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20255
20333
  cwd: z.ZodString;
20256
20334
  query: z.ZodOptional<z.ZodString>;
20257
20335
  limit: z.ZodOptional<z.ZodNumber>;
20336
+ preferredBranches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20337
+ source: z.ZodOptional<z.ZodEnum<["all", "local", "remote"]>>;
20258
20338
  remoteName: z.ZodOptional<z.ZodString>;
20259
20339
  requestId: z.ZodString;
20260
20340
  }, "strip", z.ZodTypeAny, {
20261
20341
  cwd: string;
20262
20342
  type: "branch_suggestions_request";
20263
20343
  requestId: string;
20344
+ remoteName?: string | undefined;
20264
20345
  limit?: number | undefined;
20265
20346
  query?: string | undefined;
20266
- remoteName?: string | undefined;
20347
+ source?: "local" | "remote" | "all" | undefined;
20348
+ preferredBranches?: string[] | undefined;
20267
20349
  }, {
20268
20350
  cwd: string;
20269
20351
  type: "branch_suggestions_request";
20270
20352
  requestId: string;
20353
+ remoteName?: string | undefined;
20271
20354
  limit?: number | undefined;
20272
20355
  query?: string | undefined;
20273
- remoteName?: string | undefined;
20356
+ source?: "local" | "remote" | "all" | undefined;
20357
+ preferredBranches?: string[] | undefined;
20274
20358
  }>, z.ZodObject<{
20275
20359
  type: z.ZodLiteral<"git_remotes_request">;
20276
20360
  cwd: z.ZodString;
@@ -20916,8 +21000,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20916
21000
  } | undefined;
20917
21001
  git?: {
20918
21002
  baseBranch?: string | undefined;
20919
- worktreeSlug?: string | undefined;
21003
+ baseBranchSource?: "local" | "remote" | undefined;
20920
21004
  remoteName?: string | undefined;
21005
+ worktreeSlug?: string | undefined;
20921
21006
  createNewBranch?: boolean | undefined;
20922
21007
  newBranchName?: string | undefined;
20923
21008
  createWorktree?: boolean | undefined;
@@ -21004,8 +21089,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21004
21089
  } | {
21005
21090
  agentId: string;
21006
21091
  type: "set_agent_model_request";
21007
- requestId: string;
21008
21092
  modelId: string | null;
21093
+ requestId: string;
21009
21094
  } | {
21010
21095
  agentId: string;
21011
21096
  thinkingOptionId: string | null;
@@ -21062,8 +21147,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21062
21147
  type: "checkout_pr_create_request";
21063
21148
  requestId: string;
21064
21149
  title?: string | undefined;
21065
- body?: string | undefined;
21066
21150
  remoteName?: string | undefined;
21151
+ body?: string | undefined;
21067
21152
  baseRef?: string | undefined;
21068
21153
  } | {
21069
21154
  cwd: string;
@@ -21091,9 +21176,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21091
21176
  cwd: string;
21092
21177
  type: "branch_suggestions_request";
21093
21178
  requestId: string;
21179
+ remoteName?: string | undefined;
21094
21180
  limit?: number | undefined;
21095
21181
  query?: string | undefined;
21096
- remoteName?: string | undefined;
21182
+ source?: "local" | "remote" | "all" | undefined;
21183
+ preferredBranches?: string[] | undefined;
21097
21184
  } | {
21098
21185
  cwd: string;
21099
21186
  type: "git_remotes_request";
@@ -21384,8 +21471,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21384
21471
  } | undefined;
21385
21472
  git?: {
21386
21473
  baseBranch?: string | undefined;
21387
- worktreeSlug?: string | undefined;
21474
+ baseBranchSource?: "local" | "remote" | undefined;
21388
21475
  remoteName?: string | undefined;
21476
+ worktreeSlug?: string | undefined;
21389
21477
  createNewBranch?: boolean | undefined;
21390
21478
  newBranchName?: string | undefined;
21391
21479
  createWorktree?: boolean | undefined;
@@ -21472,8 +21560,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21472
21560
  } | {
21473
21561
  agentId: string;
21474
21562
  type: "set_agent_model_request";
21475
- requestId: string;
21476
21563
  modelId: string | null;
21564
+ requestId: string;
21477
21565
  } | {
21478
21566
  agentId: string;
21479
21567
  thinkingOptionId: string | null;
@@ -21530,8 +21618,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21530
21618
  type: "checkout_pr_create_request";
21531
21619
  requestId: string;
21532
21620
  title?: string | undefined;
21533
- body?: string | undefined;
21534
21621
  remoteName?: string | undefined;
21622
+ body?: string | undefined;
21535
21623
  baseRef?: string | undefined;
21536
21624
  } | {
21537
21625
  cwd: string;
@@ -21559,9 +21647,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21559
21647
  cwd: string;
21560
21648
  type: "branch_suggestions_request";
21561
21649
  requestId: string;
21650
+ remoteName?: string | undefined;
21562
21651
  limit?: number | undefined;
21563
21652
  query?: string | undefined;
21564
- remoteName?: string | undefined;
21653
+ source?: "local" | "remote" | "all" | undefined;
21654
+ preferredBranches?: string[] | undefined;
21565
21655
  } | {
21566
21656
  cwd: string;
21567
21657
  type: "git_remotes_request";
@@ -21955,10 +22045,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21955
22045
  lastUserMessageAt: string | null;
21956
22046
  labels: Record<string, string>;
21957
22047
  persistence: AgentPersistenceHandle | null;
22048
+ pendingPermissions: AgentPermissionRequest[];
21958
22049
  capabilities: AgentCapabilityFlags;
21959
22050
  currentModeId: string | null;
21960
22051
  availableModes: AgentMode[];
21961
- pendingPermissions: AgentPermissionRequest[];
21962
22052
  thinkingOptionId?: string | null | undefined;
21963
22053
  runtimeInfo?: AgentRuntimeInfo | undefined;
21964
22054
  requiresAttention?: boolean | undefined;
@@ -21979,10 +22069,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21979
22069
  updatedAt: string;
21980
22070
  lastUserMessageAt: string | null;
21981
22071
  persistence: AgentPersistenceHandle | null;
22072
+ pendingPermissions: AgentPermissionRequest[];
21982
22073
  capabilities: AgentCapabilityFlags;
21983
22074
  currentModeId: string | null;
21984
22075
  availableModes: AgentMode[];
21985
- pendingPermissions: AgentPermissionRequest[];
21986
22076
  thinkingOptionId?: string | null | undefined;
21987
22077
  labels?: Record<string, string> | undefined;
21988
22078
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22126,10 +22216,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22126
22216
  lastUserMessageAt: string | null;
22127
22217
  labels: Record<string, string>;
22128
22218
  persistence: AgentPersistenceHandle | null;
22219
+ pendingPermissions: AgentPermissionRequest[];
22129
22220
  capabilities: AgentCapabilityFlags;
22130
22221
  currentModeId: string | null;
22131
22222
  availableModes: AgentMode[];
22132
- pendingPermissions: AgentPermissionRequest[];
22133
22223
  thinkingOptionId?: string | null | undefined;
22134
22224
  runtimeInfo?: AgentRuntimeInfo | undefined;
22135
22225
  requiresAttention?: boolean | undefined;
@@ -22179,10 +22269,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22179
22269
  updatedAt: string;
22180
22270
  lastUserMessageAt: string | null;
22181
22271
  persistence: AgentPersistenceHandle | null;
22272
+ pendingPermissions: AgentPermissionRequest[];
22182
22273
  capabilities: AgentCapabilityFlags;
22183
22274
  currentModeId: string | null;
22184
22275
  availableModes: AgentMode[];
22185
- pendingPermissions: AgentPermissionRequest[];
22186
22276
  thinkingOptionId?: string | null | undefined;
22187
22277
  labels?: Record<string, string> | undefined;
22188
22278
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22246,10 +22336,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22246
22336
  lastUserMessageAt: string | null;
22247
22337
  labels: Record<string, string>;
22248
22338
  persistence: AgentPersistenceHandle | null;
22339
+ pendingPermissions: AgentPermissionRequest[];
22249
22340
  capabilities: AgentCapabilityFlags;
22250
22341
  currentModeId: string | null;
22251
22342
  availableModes: AgentMode[];
22252
- pendingPermissions: AgentPermissionRequest[];
22253
22343
  thinkingOptionId?: string | null | undefined;
22254
22344
  runtimeInfo?: AgentRuntimeInfo | undefined;
22255
22345
  requiresAttention?: boolean | undefined;
@@ -22305,10 +22395,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22305
22395
  updatedAt: string;
22306
22396
  lastUserMessageAt: string | null;
22307
22397
  persistence: AgentPersistenceHandle | null;
22398
+ pendingPermissions: AgentPermissionRequest[];
22308
22399
  capabilities: AgentCapabilityFlags;
22309
22400
  currentModeId: string | null;
22310
22401
  availableModes: AgentMode[];
22311
- pendingPermissions: AgentPermissionRequest[];
22312
22402
  thinkingOptionId?: string | null | undefined;
22313
22403
  labels?: Record<string, string> | undefined;
22314
22404
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22784,10 +22874,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22784
22874
  lastUserMessageAt: string | null;
22785
22875
  labels: Record<string, string>;
22786
22876
  persistence: AgentPersistenceHandle | null;
22877
+ pendingPermissions: AgentPermissionRequest[];
22787
22878
  capabilities: AgentCapabilityFlags;
22788
22879
  currentModeId: string | null;
22789
22880
  availableModes: AgentMode[];
22790
- pendingPermissions: AgentPermissionRequest[];
22791
22881
  thinkingOptionId?: string | null | undefined;
22792
22882
  runtimeInfo?: AgentRuntimeInfo | undefined;
22793
22883
  requiresAttention?: boolean | undefined;
@@ -22808,10 +22898,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22808
22898
  updatedAt: string;
22809
22899
  lastUserMessageAt: string | null;
22810
22900
  persistence: AgentPersistenceHandle | null;
22901
+ pendingPermissions: AgentPermissionRequest[];
22811
22902
  capabilities: AgentCapabilityFlags;
22812
22903
  currentModeId: string | null;
22813
22904
  availableModes: AgentMode[];
22814
- pendingPermissions: AgentPermissionRequest[];
22815
22905
  thinkingOptionId?: string | null | undefined;
22816
22906
  labels?: Record<string, string> | undefined;
22817
22907
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22838,10 +22928,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22838
22928
  lastUserMessageAt: string | null;
22839
22929
  labels: Record<string, string>;
22840
22930
  persistence: AgentPersistenceHandle | null;
22931
+ pendingPermissions: AgentPermissionRequest[];
22841
22932
  capabilities: AgentCapabilityFlags;
22842
22933
  currentModeId: string | null;
22843
22934
  availableModes: AgentMode[];
22844
- pendingPermissions: AgentPermissionRequest[];
22845
22935
  thinkingOptionId?: string | null | undefined;
22846
22936
  runtimeInfo?: AgentRuntimeInfo | undefined;
22847
22937
  requiresAttention?: boolean | undefined;
@@ -22866,10 +22956,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22866
22956
  updatedAt: string;
22867
22957
  lastUserMessageAt: string | null;
22868
22958
  persistence: AgentPersistenceHandle | null;
22959
+ pendingPermissions: AgentPermissionRequest[];
22869
22960
  capabilities: AgentCapabilityFlags;
22870
22961
  currentModeId: string | null;
22871
22962
  availableModes: AgentMode[];
22872
- pendingPermissions: AgentPermissionRequest[];
22873
22963
  thinkingOptionId?: string | null | undefined;
22874
22964
  labels?: Record<string, string> | undefined;
22875
22965
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22899,10 +22989,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22899
22989
  lastUserMessageAt: string | null;
22900
22990
  labels: Record<string, string>;
22901
22991
  persistence: AgentPersistenceHandle | null;
22992
+ pendingPermissions: AgentPermissionRequest[];
22902
22993
  capabilities: AgentCapabilityFlags;
22903
22994
  currentModeId: string | null;
22904
22995
  availableModes: AgentMode[];
22905
- pendingPermissions: AgentPermissionRequest[];
22906
22996
  thinkingOptionId?: string | null | undefined;
22907
22997
  runtimeInfo?: AgentRuntimeInfo | undefined;
22908
22998
  requiresAttention?: boolean | undefined;
@@ -22930,10 +23020,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22930
23020
  updatedAt: string;
22931
23021
  lastUserMessageAt: string | null;
22932
23022
  persistence: AgentPersistenceHandle | null;
23023
+ pendingPermissions: AgentPermissionRequest[];
22933
23024
  capabilities: AgentCapabilityFlags;
22934
23025
  currentModeId: string | null;
22935
23026
  availableModes: AgentMode[];
22936
- pendingPermissions: AgentPermissionRequest[];
22937
23027
  thinkingOptionId?: string | null | undefined;
22938
23028
  labels?: Record<string, string> | undefined;
22939
23029
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22989,10 +23079,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22989
23079
  lastUserMessageAt: string | null;
22990
23080
  labels: Record<string, string>;
22991
23081
  persistence: AgentPersistenceHandle | null;
23082
+ pendingPermissions: AgentPermissionRequest[];
22992
23083
  capabilities: AgentCapabilityFlags;
22993
23084
  currentModeId: string | null;
22994
23085
  availableModes: AgentMode[];
22995
- pendingPermissions: AgentPermissionRequest[];
22996
23086
  thinkingOptionId?: string | null | undefined;
22997
23087
  runtimeInfo?: AgentRuntimeInfo | undefined;
22998
23088
  requiresAttention?: boolean | undefined;
@@ -23013,10 +23103,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23013
23103
  updatedAt: string;
23014
23104
  lastUserMessageAt: string | null;
23015
23105
  persistence: AgentPersistenceHandle | null;
23106
+ pendingPermissions: AgentPermissionRequest[];
23016
23107
  capabilities: AgentCapabilityFlags;
23017
23108
  currentModeId: string | null;
23018
23109
  availableModes: AgentMode[];
23019
- pendingPermissions: AgentPermissionRequest[];
23020
23110
  thinkingOptionId?: string | null | undefined;
23021
23111
  labels?: Record<string, string> | undefined;
23022
23112
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23159,10 +23249,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23159
23249
  lastUserMessageAt: string | null;
23160
23250
  labels: Record<string, string>;
23161
23251
  persistence: AgentPersistenceHandle | null;
23252
+ pendingPermissions: AgentPermissionRequest[];
23162
23253
  capabilities: AgentCapabilityFlags;
23163
23254
  currentModeId: string | null;
23164
23255
  availableModes: AgentMode[];
23165
- pendingPermissions: AgentPermissionRequest[];
23166
23256
  thinkingOptionId?: string | null | undefined;
23167
23257
  runtimeInfo?: AgentRuntimeInfo | undefined;
23168
23258
  requiresAttention?: boolean | undefined;
@@ -23211,10 +23301,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23211
23301
  updatedAt: string;
23212
23302
  lastUserMessageAt: string | null;
23213
23303
  persistence: AgentPersistenceHandle | null;
23304
+ pendingPermissions: AgentPermissionRequest[];
23214
23305
  capabilities: AgentCapabilityFlags;
23215
23306
  currentModeId: string | null;
23216
23307
  availableModes: AgentMode[];
23217
- pendingPermissions: AgentPermissionRequest[];
23218
23308
  thinkingOptionId?: string | null | undefined;
23219
23309
  labels?: Record<string, string> | undefined;
23220
23310
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23280,10 +23370,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23280
23370
  lastUserMessageAt: string | null;
23281
23371
  labels: Record<string, string>;
23282
23372
  persistence: AgentPersistenceHandle | null;
23373
+ pendingPermissions: AgentPermissionRequest[];
23283
23374
  capabilities: AgentCapabilityFlags;
23284
23375
  currentModeId: string | null;
23285
23376
  availableModes: AgentMode[];
23286
- pendingPermissions: AgentPermissionRequest[];
23287
23377
  thinkingOptionId?: string | null | undefined;
23288
23378
  runtimeInfo?: AgentRuntimeInfo | undefined;
23289
23379
  requiresAttention?: boolean | undefined;
@@ -23341,10 +23431,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23341
23431
  updatedAt: string;
23342
23432
  lastUserMessageAt: string | null;
23343
23433
  persistence: AgentPersistenceHandle | null;
23434
+ pendingPermissions: AgentPermissionRequest[];
23344
23435
  capabilities: AgentCapabilityFlags;
23345
23436
  currentModeId: string | null;
23346
23437
  availableModes: AgentMode[];
23347
- pendingPermissions: AgentPermissionRequest[];
23348
23438
  thinkingOptionId?: string | null | undefined;
23349
23439
  labels?: Record<string, string> | undefined;
23350
23440
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23407,10 +23497,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23407
23497
  lastUserMessageAt: string | null;
23408
23498
  labels: Record<string, string>;
23409
23499
  persistence: AgentPersistenceHandle | null;
23500
+ pendingPermissions: AgentPermissionRequest[];
23410
23501
  capabilities: AgentCapabilityFlags;
23411
23502
  currentModeId: string | null;
23412
23503
  availableModes: AgentMode[];
23413
- pendingPermissions: AgentPermissionRequest[];
23414
23504
  thinkingOptionId?: string | null | undefined;
23415
23505
  runtimeInfo?: AgentRuntimeInfo | undefined;
23416
23506
  requiresAttention?: boolean | undefined;
@@ -23471,10 +23561,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23471
23561
  updatedAt: string;
23472
23562
  lastUserMessageAt: string | null;
23473
23563
  persistence: AgentPersistenceHandle | null;
23564
+ pendingPermissions: AgentPermissionRequest[];
23474
23565
  capabilities: AgentCapabilityFlags;
23475
23566
  currentModeId: string | null;
23476
23567
  availableModes: AgentMode[];
23477
- pendingPermissions: AgentPermissionRequest[];
23478
23568
  thinkingOptionId?: string | null | undefined;
23479
23569
  labels?: Record<string, string> | undefined;
23480
23570
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23562,10 +23652,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23562
23652
  lastUserMessageAt: string | null;
23563
23653
  labels: Record<string, string>;
23564
23654
  persistence: AgentPersistenceHandle | null;
23655
+ pendingPermissions: AgentPermissionRequest[];
23565
23656
  capabilities: AgentCapabilityFlags;
23566
23657
  currentModeId: string | null;
23567
23658
  availableModes: AgentMode[];
23568
- pendingPermissions: AgentPermissionRequest[];
23569
23659
  thinkingOptionId?: string | null | undefined;
23570
23660
  runtimeInfo?: AgentRuntimeInfo | undefined;
23571
23661
  requiresAttention?: boolean | undefined;
@@ -23586,10 +23676,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23586
23676
  updatedAt: string;
23587
23677
  lastUserMessageAt: string | null;
23588
23678
  persistence: AgentPersistenceHandle | null;
23679
+ pendingPermissions: AgentPermissionRequest[];
23589
23680
  capabilities: AgentCapabilityFlags;
23590
23681
  currentModeId: string | null;
23591
23682
  availableModes: AgentMode[];
23592
- pendingPermissions: AgentPermissionRequest[];
23593
23683
  thinkingOptionId?: string | null | undefined;
23594
23684
  labels?: Record<string, string> | undefined;
23595
23685
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23735,10 +23825,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23735
23825
  lastUserMessageAt: string | null;
23736
23826
  labels: Record<string, string>;
23737
23827
  persistence: AgentPersistenceHandle | null;
23828
+ pendingPermissions: AgentPermissionRequest[];
23738
23829
  capabilities: AgentCapabilityFlags;
23739
23830
  currentModeId: string | null;
23740
23831
  availableModes: AgentMode[];
23741
- pendingPermissions: AgentPermissionRequest[];
23742
23832
  thinkingOptionId?: string | null | undefined;
23743
23833
  runtimeInfo?: AgentRuntimeInfo | undefined;
23744
23834
  requiresAttention?: boolean | undefined;
@@ -23789,10 +23879,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23789
23879
  updatedAt: string;
23790
23880
  lastUserMessageAt: string | null;
23791
23881
  persistence: AgentPersistenceHandle | null;
23882
+ pendingPermissions: AgentPermissionRequest[];
23792
23883
  capabilities: AgentCapabilityFlags;
23793
23884
  currentModeId: string | null;
23794
23885
  availableModes: AgentMode[];
23795
- pendingPermissions: AgentPermissionRequest[];
23796
23886
  thinkingOptionId?: string | null | undefined;
23797
23887
  labels?: Record<string, string> | undefined;
23798
23888
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23848,10 +23938,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23848
23938
  lastUserMessageAt: string | null;
23849
23939
  labels: Record<string, string>;
23850
23940
  persistence: AgentPersistenceHandle | null;
23941
+ pendingPermissions: AgentPermissionRequest[];
23851
23942
  capabilities: AgentCapabilityFlags;
23852
23943
  currentModeId: string | null;
23853
23944
  availableModes: AgentMode[];
23854
- pendingPermissions: AgentPermissionRequest[];
23855
23945
  thinkingOptionId?: string | null | undefined;
23856
23946
  runtimeInfo?: AgentRuntimeInfo | undefined;
23857
23947
  requiresAttention?: boolean | undefined;
@@ -23905,10 +23995,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23905
23995
  updatedAt: string;
23906
23996
  lastUserMessageAt: string | null;
23907
23997
  persistence: AgentPersistenceHandle | null;
23998
+ pendingPermissions: AgentPermissionRequest[];
23908
23999
  capabilities: AgentCapabilityFlags;
23909
24000
  currentModeId: string | null;
23910
24001
  availableModes: AgentMode[];
23911
- pendingPermissions: AgentPermissionRequest[];
23912
24002
  thinkingOptionId?: string | null | undefined;
23913
24003
  labels?: Record<string, string> | undefined;
23914
24004
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -24435,10 +24525,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24435
24525
  lastUserMessageAt: string | null;
24436
24526
  labels: Record<string, string>;
24437
24527
  persistence: AgentPersistenceHandle | null;
24528
+ pendingPermissions: AgentPermissionRequest[];
24438
24529
  capabilities: AgentCapabilityFlags;
24439
24530
  currentModeId: string | null;
24440
24531
  availableModes: AgentMode[];
24441
- pendingPermissions: AgentPermissionRequest[];
24442
24532
  thinkingOptionId?: string | null | undefined;
24443
24533
  runtimeInfo?: AgentRuntimeInfo | undefined;
24444
24534
  requiresAttention?: boolean | undefined;
@@ -24459,10 +24549,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24459
24549
  updatedAt: string;
24460
24550
  lastUserMessageAt: string | null;
24461
24551
  persistence: AgentPersistenceHandle | null;
24552
+ pendingPermissions: AgentPermissionRequest[];
24462
24553
  capabilities: AgentCapabilityFlags;
24463
24554
  currentModeId: string | null;
24464
24555
  availableModes: AgentMode[];
24465
- pendingPermissions: AgentPermissionRequest[];
24466
24556
  thinkingOptionId?: string | null | undefined;
24467
24557
  labels?: Record<string, string> | undefined;
24468
24558
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -24492,10 +24582,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24492
24582
  lastUserMessageAt: string | null;
24493
24583
  labels: Record<string, string>;
24494
24584
  persistence: AgentPersistenceHandle | null;
24585
+ pendingPermissions: AgentPermissionRequest[];
24495
24586
  capabilities: AgentCapabilityFlags;
24496
24587
  currentModeId: string | null;
24497
24588
  availableModes: AgentMode[];
24498
- pendingPermissions: AgentPermissionRequest[];
24499
24589
  thinkingOptionId?: string | null | undefined;
24500
24590
  runtimeInfo?: AgentRuntimeInfo | undefined;
24501
24591
  requiresAttention?: boolean | undefined;
@@ -24522,10 +24612,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24522
24612
  updatedAt: string;
24523
24613
  lastUserMessageAt: string | null;
24524
24614
  persistence: AgentPersistenceHandle | null;
24615
+ pendingPermissions: AgentPermissionRequest[];
24525
24616
  capabilities: AgentCapabilityFlags;
24526
24617
  currentModeId: string | null;
24527
24618
  availableModes: AgentMode[];
24528
- pendingPermissions: AgentPermissionRequest[];
24529
24619
  thinkingOptionId?: string | null | undefined;
24530
24620
  labels?: Record<string, string> | undefined;
24531
24621
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -24557,10 +24647,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24557
24647
  lastUserMessageAt: string | null;
24558
24648
  labels: Record<string, string>;
24559
24649
  persistence: AgentPersistenceHandle | null;
24650
+ pendingPermissions: AgentPermissionRequest[];
24560
24651
  capabilities: AgentCapabilityFlags;
24561
24652
  currentModeId: string | null;
24562
24653
  availableModes: AgentMode[];
24563
- pendingPermissions: AgentPermissionRequest[];
24564
24654
  thinkingOptionId?: string | null | undefined;
24565
24655
  runtimeInfo?: AgentRuntimeInfo | undefined;
24566
24656
  requiresAttention?: boolean | undefined;
@@ -24590,10 +24680,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24590
24680
  updatedAt: string;
24591
24681
  lastUserMessageAt: string | null;
24592
24682
  persistence: AgentPersistenceHandle | null;
24683
+ pendingPermissions: AgentPermissionRequest[];
24593
24684
  capabilities: AgentCapabilityFlags;
24594
24685
  currentModeId: string | null;
24595
24686
  availableModes: AgentMode[];
24596
- pendingPermissions: AgentPermissionRequest[];
24597
24687
  thinkingOptionId?: string | null | undefined;
24598
24688
  labels?: Record<string, string> | undefined;
24599
24689
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -27264,6 +27354,31 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27264
27354
  homeDir: string;
27265
27355
  rootDir: string;
27266
27356
  }>;
27357
+ update: z.ZodOptional<z.ZodObject<{
27358
+ packageName: z.ZodString;
27359
+ currentVersion: z.ZodNullable<z.ZodString>;
27360
+ latestVersion: z.ZodNullable<z.ZodString>;
27361
+ status: z.ZodEnum<["current", "stale", "unknown"]>;
27362
+ blocked: z.ZodBoolean;
27363
+ message: z.ZodString;
27364
+ remediation: z.ZodNullable<z.ZodString>;
27365
+ }, "strip", z.ZodTypeAny, {
27366
+ status: "unknown" | "current" | "stale";
27367
+ message: string;
27368
+ remediation: string | null;
27369
+ packageName: string;
27370
+ currentVersion: string | null;
27371
+ latestVersion: string | null;
27372
+ blocked: boolean;
27373
+ }, {
27374
+ status: "unknown" | "current" | "stale";
27375
+ message: string;
27376
+ remediation: string | null;
27377
+ packageName: string;
27378
+ currentVersion: string | null;
27379
+ latestVersion: string | null;
27380
+ blocked: boolean;
27381
+ }>>;
27267
27382
  summary: z.ZodEnum<["pass", "warn", "fail"]>;
27268
27383
  checks: z.ZodArray<z.ZodObject<{
27269
27384
  id: z.ZodString;
@@ -27318,6 +27433,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27318
27433
  remediation: string | null;
27319
27434
  }[];
27320
27435
  ranAt: string;
27436
+ update?: {
27437
+ status: "unknown" | "current" | "stale";
27438
+ message: string;
27439
+ remediation: string | null;
27440
+ packageName: string;
27441
+ currentVersion: string | null;
27442
+ latestVersion: string | null;
27443
+ blocked: boolean;
27444
+ } | undefined;
27321
27445
  }, {
27322
27446
  error: string | null;
27323
27447
  summary: "pass" | "warn" | "fail";
@@ -27340,6 +27464,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27340
27464
  remediation: string | null;
27341
27465
  }[];
27342
27466
  ranAt: string;
27467
+ update?: {
27468
+ status: "unknown" | "current" | "stale";
27469
+ message: string;
27470
+ remediation: string | null;
27471
+ packageName: string;
27472
+ currentVersion: string | null;
27473
+ latestVersion: string | null;
27474
+ blocked: boolean;
27475
+ } | undefined;
27343
27476
  }>;
27344
27477
  }, "strip", z.ZodTypeAny, {
27345
27478
  type: "run_daemon_doctor_response";
@@ -27365,6 +27498,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27365
27498
  remediation: string | null;
27366
27499
  }[];
27367
27500
  ranAt: string;
27501
+ update?: {
27502
+ status: "unknown" | "current" | "stale";
27503
+ message: string;
27504
+ remediation: string | null;
27505
+ packageName: string;
27506
+ currentVersion: string | null;
27507
+ latestVersion: string | null;
27508
+ blocked: boolean;
27509
+ } | undefined;
27368
27510
  };
27369
27511
  }, {
27370
27512
  type: "run_daemon_doctor_response";
@@ -27390,6 +27532,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27390
27532
  remediation: string | null;
27391
27533
  }[];
27392
27534
  ranAt: string;
27535
+ update?: {
27536
+ status: "unknown" | "current" | "stale";
27537
+ message: string;
27538
+ remediation: string | null;
27539
+ packageName: string;
27540
+ currentVersion: string | null;
27541
+ latestVersion: string | null;
27542
+ blocked: boolean;
27543
+ } | undefined;
27393
27544
  };
27394
27545
  }>, z.ZodObject<{
27395
27546
  type: z.ZodLiteral<"get_daemon_provider_settings_response">;
@@ -27649,37 +27800,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27649
27800
  homeDir: string;
27650
27801
  rootDir: string;
27651
27802
  }>;
27652
- provider: z.ZodNullable<z.ZodObject<{
27653
- provider: z.ZodEnum<["claude", "codex", "gemini"]>;
27654
- source: z.ZodEnum<["system", "manual", "custom"]>;
27655
- executablePath: z.ZodNullable<z.ZodString>;
27656
- commandSummary: z.ZodNullable<z.ZodString>;
27657
- resolvedPath: z.ZodNullable<z.ZodString>;
27658
- }, "strip", z.ZodTypeAny, {
27659
- provider: "codex" | "claude" | "gemini";
27660
- source: "manual" | "custom" | "system";
27661
- resolvedPath: string | null;
27662
- executablePath: string | null;
27663
- commandSummary: string | null;
27664
- }, {
27665
- provider: "codex" | "claude" | "gemini";
27666
- source: "manual" | "custom" | "system";
27667
- resolvedPath: string | null;
27668
- executablePath: string | null;
27669
- commandSummary: string | null;
27670
- }>>;
27803
+ provider: z.ZodEnum<["claude", "codex", "gemini"]>;
27804
+ executablePath: z.ZodNullable<z.ZodString>;
27671
27805
  error: z.ZodNullable<z.ZodString>;
27672
27806
  requestId: z.ZodString;
27673
27807
  }, "strip", z.ZodTypeAny, {
27674
27808
  error: string | null;
27675
- provider: {
27676
- provider: "codex" | "claude" | "gemini";
27677
- source: "manual" | "custom" | "system";
27678
- resolvedPath: string | null;
27679
- executablePath: string | null;
27680
- commandSummary: string | null;
27681
- } | null;
27809
+ provider: "codex" | "claude" | "gemini";
27682
27810
  requestId: string;
27811
+ executablePath: string | null;
27683
27812
  daemon: {
27684
27813
  hostname: string | null;
27685
27814
  version: string | null;
@@ -27689,14 +27818,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27689
27818
  };
27690
27819
  }, {
27691
27820
  error: string | null;
27692
- provider: {
27693
- provider: "codex" | "claude" | "gemini";
27694
- source: "manual" | "custom" | "system";
27695
- resolvedPath: string | null;
27696
- executablePath: string | null;
27697
- commandSummary: string | null;
27698
- } | null;
27821
+ provider: "codex" | "claude" | "gemini";
27699
27822
  requestId: string;
27823
+ executablePath: string | null;
27700
27824
  daemon: {
27701
27825
  hostname: string | null;
27702
27826
  version: string | null;
@@ -27709,14 +27833,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27709
27833
  type: "auto_route_provider_response";
27710
27834
  payload: {
27711
27835
  error: string | null;
27712
- provider: {
27713
- provider: "codex" | "claude" | "gemini";
27714
- source: "manual" | "custom" | "system";
27715
- resolvedPath: string | null;
27716
- executablePath: string | null;
27717
- commandSummary: string | null;
27718
- } | null;
27836
+ provider: "codex" | "claude" | "gemini";
27719
27837
  requestId: string;
27838
+ executablePath: string | null;
27720
27839
  daemon: {
27721
27840
  hostname: string | null;
27722
27841
  version: string | null;
@@ -27729,14 +27848,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27729
27848
  type: "auto_route_provider_response";
27730
27849
  payload: {
27731
27850
  error: string | null;
27732
- provider: {
27733
- provider: "codex" | "claude" | "gemini";
27734
- source: "manual" | "custom" | "system";
27735
- resolvedPath: string | null;
27736
- executablePath: string | null;
27737
- commandSummary: string | null;
27738
- } | null;
27851
+ provider: "codex" | "claude" | "gemini";
27739
27852
  requestId: string;
27853
+ executablePath: string | null;
27740
27854
  daemon: {
27741
27855
  hostname: string | null;
27742
27856
  version: string | null;
@@ -28659,10 +28773,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28659
28773
  lastUserMessageAt: string | null;
28660
28774
  labels: Record<string, string>;
28661
28775
  persistence: AgentPersistenceHandle | null;
28776
+ pendingPermissions: AgentPermissionRequest[];
28662
28777
  capabilities: AgentCapabilityFlags;
28663
28778
  currentModeId: string | null;
28664
28779
  availableModes: AgentMode[];
28665
- pendingPermissions: AgentPermissionRequest[];
28666
28780
  thinkingOptionId?: string | null | undefined;
28667
28781
  runtimeInfo?: AgentRuntimeInfo | undefined;
28668
28782
  requiresAttention?: boolean | undefined;
@@ -28776,10 +28890,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28776
28890
  lastUserMessageAt: string | null;
28777
28891
  labels: Record<string, string>;
28778
28892
  persistence: AgentPersistenceHandle | null;
28893
+ pendingPermissions: AgentPermissionRequest[];
28779
28894
  capabilities: AgentCapabilityFlags;
28780
28895
  currentModeId: string | null;
28781
28896
  availableModes: AgentMode[];
28782
- pendingPermissions: AgentPermissionRequest[];
28783
28897
  thinkingOptionId?: string | null | undefined;
28784
28898
  runtimeInfo?: AgentRuntimeInfo | undefined;
28785
28899
  requiresAttention?: boolean | undefined;
@@ -28807,10 +28921,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28807
28921
  lastUserMessageAt: string | null;
28808
28922
  labels: Record<string, string>;
28809
28923
  persistence: AgentPersistenceHandle | null;
28924
+ pendingPermissions: AgentPermissionRequest[];
28810
28925
  capabilities: AgentCapabilityFlags;
28811
28926
  currentModeId: string | null;
28812
28927
  availableModes: AgentMode[];
28813
- pendingPermissions: AgentPermissionRequest[];
28814
28928
  thinkingOptionId?: string | null | undefined;
28815
28929
  runtimeInfo?: AgentRuntimeInfo | undefined;
28816
28930
  requiresAttention?: boolean | undefined;
@@ -28873,10 +28987,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28873
28987
  lastUserMessageAt: string | null;
28874
28988
  labels: Record<string, string>;
28875
28989
  persistence: AgentPersistenceHandle | null;
28990
+ pendingPermissions: AgentPermissionRequest[];
28876
28991
  capabilities: AgentCapabilityFlags;
28877
28992
  currentModeId: string | null;
28878
28993
  availableModes: AgentMode[];
28879
- pendingPermissions: AgentPermissionRequest[];
28880
28994
  thinkingOptionId?: string | null | undefined;
28881
28995
  runtimeInfo?: AgentRuntimeInfo | undefined;
28882
28996
  requiresAttention?: boolean | undefined;
@@ -28980,10 +29094,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28980
29094
  lastUserMessageAt: string | null;
28981
29095
  labels: Record<string, string>;
28982
29096
  persistence: AgentPersistenceHandle | null;
29097
+ pendingPermissions: AgentPermissionRequest[];
28983
29098
  capabilities: AgentCapabilityFlags;
28984
29099
  currentModeId: string | null;
28985
29100
  availableModes: AgentMode[];
28986
- pendingPermissions: AgentPermissionRequest[];
28987
29101
  thinkingOptionId?: string | null | undefined;
28988
29102
  runtimeInfo?: AgentRuntimeInfo | undefined;
28989
29103
  requiresAttention?: boolean | undefined;
@@ -29495,6 +29609,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29495
29609
  remediation: string | null;
29496
29610
  }[];
29497
29611
  ranAt: string;
29612
+ update?: {
29613
+ status: "unknown" | "current" | "stale";
29614
+ message: string;
29615
+ remediation: string | null;
29616
+ packageName: string;
29617
+ currentVersion: string | null;
29618
+ latestVersion: string | null;
29619
+ blocked: boolean;
29620
+ } | undefined;
29498
29621
  };
29499
29622
  } | {
29500
29623
  type: "get_daemon_provider_settings_response";
@@ -29540,14 +29663,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29540
29663
  type: "auto_route_provider_response";
29541
29664
  payload: {
29542
29665
  error: string | null;
29543
- provider: {
29544
- provider: "codex" | "claude" | "gemini";
29545
- source: "manual" | "custom" | "system";
29546
- resolvedPath: string | null;
29547
- executablePath: string | null;
29548
- commandSummary: string | null;
29549
- } | null;
29666
+ provider: "codex" | "claude" | "gemini";
29550
29667
  requestId: string;
29668
+ executablePath: string | null;
29551
29669
  daemon: {
29552
29670
  hostname: string | null;
29553
29671
  version: string | null;
@@ -29790,10 +29908,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29790
29908
  updatedAt: string;
29791
29909
  lastUserMessageAt: string | null;
29792
29910
  persistence: AgentPersistenceHandle | null;
29911
+ pendingPermissions: AgentPermissionRequest[];
29793
29912
  capabilities: AgentCapabilityFlags;
29794
29913
  currentModeId: string | null;
29795
29914
  availableModes: AgentMode[];
29796
- pendingPermissions: AgentPermissionRequest[];
29797
29915
  thinkingOptionId?: string | null | undefined;
29798
29916
  labels?: Record<string, string> | undefined;
29799
29917
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -29907,10 +30025,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29907
30025
  updatedAt: string;
29908
30026
  lastUserMessageAt: string | null;
29909
30027
  persistence: AgentPersistenceHandle | null;
30028
+ pendingPermissions: AgentPermissionRequest[];
29910
30029
  capabilities: AgentCapabilityFlags;
29911
30030
  currentModeId: string | null;
29912
30031
  availableModes: AgentMode[];
29913
- pendingPermissions: AgentPermissionRequest[];
29914
30032
  thinkingOptionId?: string | null | undefined;
29915
30033
  labels?: Record<string, string> | undefined;
29916
30034
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -29938,10 +30056,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29938
30056
  updatedAt: string;
29939
30057
  lastUserMessageAt: string | null;
29940
30058
  persistence: AgentPersistenceHandle | null;
30059
+ pendingPermissions: AgentPermissionRequest[];
29941
30060
  capabilities: AgentCapabilityFlags;
29942
30061
  currentModeId: string | null;
29943
30062
  availableModes: AgentMode[];
29944
- pendingPermissions: AgentPermissionRequest[];
29945
30063
  thinkingOptionId?: string | null | undefined;
29946
30064
  labels?: Record<string, string> | undefined;
29947
30065
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -30004,10 +30122,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30004
30122
  updatedAt: string;
30005
30123
  lastUserMessageAt: string | null;
30006
30124
  persistence: AgentPersistenceHandle | null;
30125
+ pendingPermissions: AgentPermissionRequest[];
30007
30126
  capabilities: AgentCapabilityFlags;
30008
30127
  currentModeId: string | null;
30009
30128
  availableModes: AgentMode[];
30010
- pendingPermissions: AgentPermissionRequest[];
30011
30129
  thinkingOptionId?: string | null | undefined;
30012
30130
  labels?: Record<string, string> | undefined;
30013
30131
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -30111,10 +30229,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30111
30229
  updatedAt: string;
30112
30230
  lastUserMessageAt: string | null;
30113
30231
  persistence: AgentPersistenceHandle | null;
30232
+ pendingPermissions: AgentPermissionRequest[];
30114
30233
  capabilities: AgentCapabilityFlags;
30115
30234
  currentModeId: string | null;
30116
30235
  availableModes: AgentMode[];
30117
- pendingPermissions: AgentPermissionRequest[];
30118
30236
  thinkingOptionId?: string | null | undefined;
30119
30237
  labels?: Record<string, string> | undefined;
30120
30238
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -30627,6 +30745,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30627
30745
  remediation: string | null;
30628
30746
  }[];
30629
30747
  ranAt: string;
30748
+ update?: {
30749
+ status: "unknown" | "current" | "stale";
30750
+ message: string;
30751
+ remediation: string | null;
30752
+ packageName: string;
30753
+ currentVersion: string | null;
30754
+ latestVersion: string | null;
30755
+ blocked: boolean;
30756
+ } | undefined;
30630
30757
  };
30631
30758
  } | {
30632
30759
  type: "get_daemon_provider_settings_response";
@@ -30672,14 +30799,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30672
30799
  type: "auto_route_provider_response";
30673
30800
  payload: {
30674
30801
  error: string | null;
30675
- provider: {
30676
- provider: "codex" | "claude" | "gemini";
30677
- source: "manual" | "custom" | "system";
30678
- resolvedPath: string | null;
30679
- executablePath: string | null;
30680
- commandSummary: string | null;
30681
- } | null;
30802
+ provider: "codex" | "claude" | "gemini";
30682
30803
  requestId: string;
30804
+ executablePath: string | null;
30683
30805
  daemon: {
30684
30806
  hostname: string | null;
30685
30807
  version: string | null;
@@ -31316,6 +31438,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31316
31438
  }>, "many">>;
31317
31439
  git: z.ZodOptional<z.ZodObject<{
31318
31440
  baseBranch: z.ZodOptional<z.ZodString>;
31441
+ baseBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
31319
31442
  remoteName: z.ZodOptional<z.ZodString>;
31320
31443
  createNewBranch: z.ZodOptional<z.ZodBoolean>;
31321
31444
  newBranchName: z.ZodOptional<z.ZodString>;
@@ -31323,15 +31446,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31323
31446
  worktreeSlug: z.ZodOptional<z.ZodString>;
31324
31447
  }, "strip", z.ZodTypeAny, {
31325
31448
  baseBranch?: string | undefined;
31326
- worktreeSlug?: string | undefined;
31449
+ baseBranchSource?: "local" | "remote" | undefined;
31327
31450
  remoteName?: string | undefined;
31451
+ worktreeSlug?: string | undefined;
31328
31452
  createNewBranch?: boolean | undefined;
31329
31453
  newBranchName?: string | undefined;
31330
31454
  createWorktree?: boolean | undefined;
31331
31455
  }, {
31332
31456
  baseBranch?: string | undefined;
31333
- worktreeSlug?: string | undefined;
31457
+ baseBranchSource?: "local" | "remote" | undefined;
31334
31458
  remoteName?: string | undefined;
31459
+ worktreeSlug?: string | undefined;
31335
31460
  createNewBranch?: boolean | undefined;
31336
31461
  newBranchName?: string | undefined;
31337
31462
  createWorktree?: boolean | undefined;
@@ -31396,8 +31521,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31396
31521
  } | undefined;
31397
31522
  git?: {
31398
31523
  baseBranch?: string | undefined;
31399
- worktreeSlug?: string | undefined;
31524
+ baseBranchSource?: "local" | "remote" | undefined;
31400
31525
  remoteName?: string | undefined;
31526
+ worktreeSlug?: string | undefined;
31401
31527
  createNewBranch?: boolean | undefined;
31402
31528
  newBranchName?: string | undefined;
31403
31529
  createWorktree?: boolean | undefined;
@@ -31459,8 +31585,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31459
31585
  } | undefined;
31460
31586
  git?: {
31461
31587
  baseBranch?: string | undefined;
31462
- worktreeSlug?: string | undefined;
31588
+ baseBranchSource?: "local" | "remote" | undefined;
31463
31589
  remoteName?: string | undefined;
31590
+ worktreeSlug?: string | undefined;
31464
31591
  createNewBranch?: boolean | undefined;
31465
31592
  newBranchName?: string | undefined;
31466
31593
  createWorktree?: boolean | undefined;
@@ -31806,13 +31933,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31806
31933
  }, "strip", z.ZodTypeAny, {
31807
31934
  agentId: string;
31808
31935
  type: "set_agent_model_request";
31809
- requestId: string;
31810
31936
  modelId: string | null;
31937
+ requestId: string;
31811
31938
  }, {
31812
31939
  agentId: string;
31813
31940
  type: "set_agent_model_request";
31814
- requestId: string;
31815
31941
  modelId: string | null;
31942
+ requestId: string;
31816
31943
  }>, z.ZodObject<{
31817
31944
  type: z.ZodLiteral<"set_agent_thinking_request">;
31818
31945
  agentId: z.ZodString;
@@ -31985,16 +32112,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31985
32112
  type: "checkout_pr_create_request";
31986
32113
  requestId: string;
31987
32114
  title?: string | undefined;
31988
- body?: string | undefined;
31989
32115
  remoteName?: string | undefined;
32116
+ body?: string | undefined;
31990
32117
  baseRef?: string | undefined;
31991
32118
  }, {
31992
32119
  cwd: string;
31993
32120
  type: "checkout_pr_create_request";
31994
32121
  requestId: string;
31995
32122
  title?: string | undefined;
31996
- body?: string | undefined;
31997
32123
  remoteName?: string | undefined;
32124
+ body?: string | undefined;
31998
32125
  baseRef?: string | undefined;
31999
32126
  }>, z.ZodObject<{
32000
32127
  type: z.ZodLiteral<"checkout_pr_status_request">;
@@ -32067,22 +32194,28 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32067
32194
  cwd: z.ZodString;
32068
32195
  query: z.ZodOptional<z.ZodString>;
32069
32196
  limit: z.ZodOptional<z.ZodNumber>;
32197
+ preferredBranches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32198
+ source: z.ZodOptional<z.ZodEnum<["all", "local", "remote"]>>;
32070
32199
  remoteName: z.ZodOptional<z.ZodString>;
32071
32200
  requestId: z.ZodString;
32072
32201
  }, "strip", z.ZodTypeAny, {
32073
32202
  cwd: string;
32074
32203
  type: "branch_suggestions_request";
32075
32204
  requestId: string;
32205
+ remoteName?: string | undefined;
32076
32206
  limit?: number | undefined;
32077
32207
  query?: string | undefined;
32078
- remoteName?: string | undefined;
32208
+ source?: "local" | "remote" | "all" | undefined;
32209
+ preferredBranches?: string[] | undefined;
32079
32210
  }, {
32080
32211
  cwd: string;
32081
32212
  type: "branch_suggestions_request";
32082
32213
  requestId: string;
32214
+ remoteName?: string | undefined;
32083
32215
  limit?: number | undefined;
32084
32216
  query?: string | undefined;
32085
- remoteName?: string | undefined;
32217
+ source?: "local" | "remote" | "all" | undefined;
32218
+ preferredBranches?: string[] | undefined;
32086
32219
  }>, z.ZodObject<{
32087
32220
  type: z.ZodLiteral<"git_remotes_request">;
32088
32221
  cwd: z.ZodString;
@@ -32728,8 +32861,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32728
32861
  } | undefined;
32729
32862
  git?: {
32730
32863
  baseBranch?: string | undefined;
32731
- worktreeSlug?: string | undefined;
32864
+ baseBranchSource?: "local" | "remote" | undefined;
32732
32865
  remoteName?: string | undefined;
32866
+ worktreeSlug?: string | undefined;
32733
32867
  createNewBranch?: boolean | undefined;
32734
32868
  newBranchName?: string | undefined;
32735
32869
  createWorktree?: boolean | undefined;
@@ -32816,8 +32950,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32816
32950
  } | {
32817
32951
  agentId: string;
32818
32952
  type: "set_agent_model_request";
32819
- requestId: string;
32820
32953
  modelId: string | null;
32954
+ requestId: string;
32821
32955
  } | {
32822
32956
  agentId: string;
32823
32957
  thinkingOptionId: string | null;
@@ -32874,8 +33008,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32874
33008
  type: "checkout_pr_create_request";
32875
33009
  requestId: string;
32876
33010
  title?: string | undefined;
32877
- body?: string | undefined;
32878
33011
  remoteName?: string | undefined;
33012
+ body?: string | undefined;
32879
33013
  baseRef?: string | undefined;
32880
33014
  } | {
32881
33015
  cwd: string;
@@ -32903,9 +33037,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32903
33037
  cwd: string;
32904
33038
  type: "branch_suggestions_request";
32905
33039
  requestId: string;
33040
+ remoteName?: string | undefined;
32906
33041
  limit?: number | undefined;
32907
33042
  query?: string | undefined;
32908
- remoteName?: string | undefined;
33043
+ source?: "local" | "remote" | "all" | undefined;
33044
+ preferredBranches?: string[] | undefined;
32909
33045
  } | {
32910
33046
  cwd: string;
32911
33047
  type: "git_remotes_request";
@@ -33196,8 +33332,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33196
33332
  } | undefined;
33197
33333
  git?: {
33198
33334
  baseBranch?: string | undefined;
33199
- worktreeSlug?: string | undefined;
33335
+ baseBranchSource?: "local" | "remote" | undefined;
33200
33336
  remoteName?: string | undefined;
33337
+ worktreeSlug?: string | undefined;
33201
33338
  createNewBranch?: boolean | undefined;
33202
33339
  newBranchName?: string | undefined;
33203
33340
  createWorktree?: boolean | undefined;
@@ -33284,8 +33421,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33284
33421
  } | {
33285
33422
  agentId: string;
33286
33423
  type: "set_agent_model_request";
33287
- requestId: string;
33288
33424
  modelId: string | null;
33425
+ requestId: string;
33289
33426
  } | {
33290
33427
  agentId: string;
33291
33428
  thinkingOptionId: string | null;
@@ -33342,8 +33479,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33342
33479
  type: "checkout_pr_create_request";
33343
33480
  requestId: string;
33344
33481
  title?: string | undefined;
33345
- body?: string | undefined;
33346
33482
  remoteName?: string | undefined;
33483
+ body?: string | undefined;
33347
33484
  baseRef?: string | undefined;
33348
33485
  } | {
33349
33486
  cwd: string;
@@ -33371,9 +33508,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33371
33508
  cwd: string;
33372
33509
  type: "branch_suggestions_request";
33373
33510
  requestId: string;
33511
+ remoteName?: string | undefined;
33374
33512
  limit?: number | undefined;
33375
33513
  query?: string | undefined;
33376
- remoteName?: string | undefined;
33514
+ source?: "local" | "remote" | "all" | undefined;
33515
+ preferredBranches?: string[] | undefined;
33377
33516
  } | {
33378
33517
  cwd: string;
33379
33518
  type: "git_remotes_request";
@@ -33794,10 +33933,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
33794
33933
  lastUserMessageAt: string | null;
33795
33934
  labels: Record<string, string>;
33796
33935
  persistence: AgentPersistenceHandle | null;
33936
+ pendingPermissions: AgentPermissionRequest[];
33797
33937
  capabilities: AgentCapabilityFlags;
33798
33938
  currentModeId: string | null;
33799
33939
  availableModes: AgentMode[];
33800
- pendingPermissions: AgentPermissionRequest[];
33801
33940
  thinkingOptionId?: string | null | undefined;
33802
33941
  runtimeInfo?: AgentRuntimeInfo | undefined;
33803
33942
  requiresAttention?: boolean | undefined;
@@ -33818,10 +33957,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
33818
33957
  updatedAt: string;
33819
33958
  lastUserMessageAt: string | null;
33820
33959
  persistence: AgentPersistenceHandle | null;
33960
+ pendingPermissions: AgentPermissionRequest[];
33821
33961
  capabilities: AgentCapabilityFlags;
33822
33962
  currentModeId: string | null;
33823
33963
  availableModes: AgentMode[];
33824
- pendingPermissions: AgentPermissionRequest[];
33825
33964
  thinkingOptionId?: string | null | undefined;
33826
33965
  labels?: Record<string, string> | undefined;
33827
33966
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -33965,10 +34104,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
33965
34104
  lastUserMessageAt: string | null;
33966
34105
  labels: Record<string, string>;
33967
34106
  persistence: AgentPersistenceHandle | null;
34107
+ pendingPermissions: AgentPermissionRequest[];
33968
34108
  capabilities: AgentCapabilityFlags;
33969
34109
  currentModeId: string | null;
33970
34110
  availableModes: AgentMode[];
33971
- pendingPermissions: AgentPermissionRequest[];
33972
34111
  thinkingOptionId?: string | null | undefined;
33973
34112
  runtimeInfo?: AgentRuntimeInfo | undefined;
33974
34113
  requiresAttention?: boolean | undefined;
@@ -34018,10 +34157,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34018
34157
  updatedAt: string;
34019
34158
  lastUserMessageAt: string | null;
34020
34159
  persistence: AgentPersistenceHandle | null;
34160
+ pendingPermissions: AgentPermissionRequest[];
34021
34161
  capabilities: AgentCapabilityFlags;
34022
34162
  currentModeId: string | null;
34023
34163
  availableModes: AgentMode[];
34024
- pendingPermissions: AgentPermissionRequest[];
34025
34164
  thinkingOptionId?: string | null | undefined;
34026
34165
  labels?: Record<string, string> | undefined;
34027
34166
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34085,10 +34224,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34085
34224
  lastUserMessageAt: string | null;
34086
34225
  labels: Record<string, string>;
34087
34226
  persistence: AgentPersistenceHandle | null;
34227
+ pendingPermissions: AgentPermissionRequest[];
34088
34228
  capabilities: AgentCapabilityFlags;
34089
34229
  currentModeId: string | null;
34090
34230
  availableModes: AgentMode[];
34091
- pendingPermissions: AgentPermissionRequest[];
34092
34231
  thinkingOptionId?: string | null | undefined;
34093
34232
  runtimeInfo?: AgentRuntimeInfo | undefined;
34094
34233
  requiresAttention?: boolean | undefined;
@@ -34144,10 +34283,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34144
34283
  updatedAt: string;
34145
34284
  lastUserMessageAt: string | null;
34146
34285
  persistence: AgentPersistenceHandle | null;
34286
+ pendingPermissions: AgentPermissionRequest[];
34147
34287
  capabilities: AgentCapabilityFlags;
34148
34288
  currentModeId: string | null;
34149
34289
  availableModes: AgentMode[];
34150
- pendingPermissions: AgentPermissionRequest[];
34151
34290
  thinkingOptionId?: string | null | undefined;
34152
34291
  labels?: Record<string, string> | undefined;
34153
34292
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34623,10 +34762,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34623
34762
  lastUserMessageAt: string | null;
34624
34763
  labels: Record<string, string>;
34625
34764
  persistence: AgentPersistenceHandle | null;
34765
+ pendingPermissions: AgentPermissionRequest[];
34626
34766
  capabilities: AgentCapabilityFlags;
34627
34767
  currentModeId: string | null;
34628
34768
  availableModes: AgentMode[];
34629
- pendingPermissions: AgentPermissionRequest[];
34630
34769
  thinkingOptionId?: string | null | undefined;
34631
34770
  runtimeInfo?: AgentRuntimeInfo | undefined;
34632
34771
  requiresAttention?: boolean | undefined;
@@ -34647,10 +34786,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34647
34786
  updatedAt: string;
34648
34787
  lastUserMessageAt: string | null;
34649
34788
  persistence: AgentPersistenceHandle | null;
34789
+ pendingPermissions: AgentPermissionRequest[];
34650
34790
  capabilities: AgentCapabilityFlags;
34651
34791
  currentModeId: string | null;
34652
34792
  availableModes: AgentMode[];
34653
- pendingPermissions: AgentPermissionRequest[];
34654
34793
  thinkingOptionId?: string | null | undefined;
34655
34794
  labels?: Record<string, string> | undefined;
34656
34795
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34677,10 +34816,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34677
34816
  lastUserMessageAt: string | null;
34678
34817
  labels: Record<string, string>;
34679
34818
  persistence: AgentPersistenceHandle | null;
34819
+ pendingPermissions: AgentPermissionRequest[];
34680
34820
  capabilities: AgentCapabilityFlags;
34681
34821
  currentModeId: string | null;
34682
34822
  availableModes: AgentMode[];
34683
- pendingPermissions: AgentPermissionRequest[];
34684
34823
  thinkingOptionId?: string | null | undefined;
34685
34824
  runtimeInfo?: AgentRuntimeInfo | undefined;
34686
34825
  requiresAttention?: boolean | undefined;
@@ -34705,10 +34844,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34705
34844
  updatedAt: string;
34706
34845
  lastUserMessageAt: string | null;
34707
34846
  persistence: AgentPersistenceHandle | null;
34847
+ pendingPermissions: AgentPermissionRequest[];
34708
34848
  capabilities: AgentCapabilityFlags;
34709
34849
  currentModeId: string | null;
34710
34850
  availableModes: AgentMode[];
34711
- pendingPermissions: AgentPermissionRequest[];
34712
34851
  thinkingOptionId?: string | null | undefined;
34713
34852
  labels?: Record<string, string> | undefined;
34714
34853
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34738,10 +34877,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34738
34877
  lastUserMessageAt: string | null;
34739
34878
  labels: Record<string, string>;
34740
34879
  persistence: AgentPersistenceHandle | null;
34880
+ pendingPermissions: AgentPermissionRequest[];
34741
34881
  capabilities: AgentCapabilityFlags;
34742
34882
  currentModeId: string | null;
34743
34883
  availableModes: AgentMode[];
34744
- pendingPermissions: AgentPermissionRequest[];
34745
34884
  thinkingOptionId?: string | null | undefined;
34746
34885
  runtimeInfo?: AgentRuntimeInfo | undefined;
34747
34886
  requiresAttention?: boolean | undefined;
@@ -34769,10 +34908,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34769
34908
  updatedAt: string;
34770
34909
  lastUserMessageAt: string | null;
34771
34910
  persistence: AgentPersistenceHandle | null;
34911
+ pendingPermissions: AgentPermissionRequest[];
34772
34912
  capabilities: AgentCapabilityFlags;
34773
34913
  currentModeId: string | null;
34774
34914
  availableModes: AgentMode[];
34775
- pendingPermissions: AgentPermissionRequest[];
34776
34915
  thinkingOptionId?: string | null | undefined;
34777
34916
  labels?: Record<string, string> | undefined;
34778
34917
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34828,10 +34967,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34828
34967
  lastUserMessageAt: string | null;
34829
34968
  labels: Record<string, string>;
34830
34969
  persistence: AgentPersistenceHandle | null;
34970
+ pendingPermissions: AgentPermissionRequest[];
34831
34971
  capabilities: AgentCapabilityFlags;
34832
34972
  currentModeId: string | null;
34833
34973
  availableModes: AgentMode[];
34834
- pendingPermissions: AgentPermissionRequest[];
34835
34974
  thinkingOptionId?: string | null | undefined;
34836
34975
  runtimeInfo?: AgentRuntimeInfo | undefined;
34837
34976
  requiresAttention?: boolean | undefined;
@@ -34852,10 +34991,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34852
34991
  updatedAt: string;
34853
34992
  lastUserMessageAt: string | null;
34854
34993
  persistence: AgentPersistenceHandle | null;
34994
+ pendingPermissions: AgentPermissionRequest[];
34855
34995
  capabilities: AgentCapabilityFlags;
34856
34996
  currentModeId: string | null;
34857
34997
  availableModes: AgentMode[];
34858
- pendingPermissions: AgentPermissionRequest[];
34859
34998
  thinkingOptionId?: string | null | undefined;
34860
34999
  labels?: Record<string, string> | undefined;
34861
35000
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34998,10 +35137,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34998
35137
  lastUserMessageAt: string | null;
34999
35138
  labels: Record<string, string>;
35000
35139
  persistence: AgentPersistenceHandle | null;
35140
+ pendingPermissions: AgentPermissionRequest[];
35001
35141
  capabilities: AgentCapabilityFlags;
35002
35142
  currentModeId: string | null;
35003
35143
  availableModes: AgentMode[];
35004
- pendingPermissions: AgentPermissionRequest[];
35005
35144
  thinkingOptionId?: string | null | undefined;
35006
35145
  runtimeInfo?: AgentRuntimeInfo | undefined;
35007
35146
  requiresAttention?: boolean | undefined;
@@ -35050,10 +35189,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35050
35189
  updatedAt: string;
35051
35190
  lastUserMessageAt: string | null;
35052
35191
  persistence: AgentPersistenceHandle | null;
35192
+ pendingPermissions: AgentPermissionRequest[];
35053
35193
  capabilities: AgentCapabilityFlags;
35054
35194
  currentModeId: string | null;
35055
35195
  availableModes: AgentMode[];
35056
- pendingPermissions: AgentPermissionRequest[];
35057
35196
  thinkingOptionId?: string | null | undefined;
35058
35197
  labels?: Record<string, string> | undefined;
35059
35198
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35119,10 +35258,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35119
35258
  lastUserMessageAt: string | null;
35120
35259
  labels: Record<string, string>;
35121
35260
  persistence: AgentPersistenceHandle | null;
35261
+ pendingPermissions: AgentPermissionRequest[];
35122
35262
  capabilities: AgentCapabilityFlags;
35123
35263
  currentModeId: string | null;
35124
35264
  availableModes: AgentMode[];
35125
- pendingPermissions: AgentPermissionRequest[];
35126
35265
  thinkingOptionId?: string | null | undefined;
35127
35266
  runtimeInfo?: AgentRuntimeInfo | undefined;
35128
35267
  requiresAttention?: boolean | undefined;
@@ -35180,10 +35319,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35180
35319
  updatedAt: string;
35181
35320
  lastUserMessageAt: string | null;
35182
35321
  persistence: AgentPersistenceHandle | null;
35322
+ pendingPermissions: AgentPermissionRequest[];
35183
35323
  capabilities: AgentCapabilityFlags;
35184
35324
  currentModeId: string | null;
35185
35325
  availableModes: AgentMode[];
35186
- pendingPermissions: AgentPermissionRequest[];
35187
35326
  thinkingOptionId?: string | null | undefined;
35188
35327
  labels?: Record<string, string> | undefined;
35189
35328
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35246,10 +35385,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35246
35385
  lastUserMessageAt: string | null;
35247
35386
  labels: Record<string, string>;
35248
35387
  persistence: AgentPersistenceHandle | null;
35388
+ pendingPermissions: AgentPermissionRequest[];
35249
35389
  capabilities: AgentCapabilityFlags;
35250
35390
  currentModeId: string | null;
35251
35391
  availableModes: AgentMode[];
35252
- pendingPermissions: AgentPermissionRequest[];
35253
35392
  thinkingOptionId?: string | null | undefined;
35254
35393
  runtimeInfo?: AgentRuntimeInfo | undefined;
35255
35394
  requiresAttention?: boolean | undefined;
@@ -35310,10 +35449,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35310
35449
  updatedAt: string;
35311
35450
  lastUserMessageAt: string | null;
35312
35451
  persistence: AgentPersistenceHandle | null;
35452
+ pendingPermissions: AgentPermissionRequest[];
35313
35453
  capabilities: AgentCapabilityFlags;
35314
35454
  currentModeId: string | null;
35315
35455
  availableModes: AgentMode[];
35316
- pendingPermissions: AgentPermissionRequest[];
35317
35456
  thinkingOptionId?: string | null | undefined;
35318
35457
  labels?: Record<string, string> | undefined;
35319
35458
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35401,10 +35540,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35401
35540
  lastUserMessageAt: string | null;
35402
35541
  labels: Record<string, string>;
35403
35542
  persistence: AgentPersistenceHandle | null;
35543
+ pendingPermissions: AgentPermissionRequest[];
35404
35544
  capabilities: AgentCapabilityFlags;
35405
35545
  currentModeId: string | null;
35406
35546
  availableModes: AgentMode[];
35407
- pendingPermissions: AgentPermissionRequest[];
35408
35547
  thinkingOptionId?: string | null | undefined;
35409
35548
  runtimeInfo?: AgentRuntimeInfo | undefined;
35410
35549
  requiresAttention?: boolean | undefined;
@@ -35425,10 +35564,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35425
35564
  updatedAt: string;
35426
35565
  lastUserMessageAt: string | null;
35427
35566
  persistence: AgentPersistenceHandle | null;
35567
+ pendingPermissions: AgentPermissionRequest[];
35428
35568
  capabilities: AgentCapabilityFlags;
35429
35569
  currentModeId: string | null;
35430
35570
  availableModes: AgentMode[];
35431
- pendingPermissions: AgentPermissionRequest[];
35432
35571
  thinkingOptionId?: string | null | undefined;
35433
35572
  labels?: Record<string, string> | undefined;
35434
35573
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35574,10 +35713,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35574
35713
  lastUserMessageAt: string | null;
35575
35714
  labels: Record<string, string>;
35576
35715
  persistence: AgentPersistenceHandle | null;
35716
+ pendingPermissions: AgentPermissionRequest[];
35577
35717
  capabilities: AgentCapabilityFlags;
35578
35718
  currentModeId: string | null;
35579
35719
  availableModes: AgentMode[];
35580
- pendingPermissions: AgentPermissionRequest[];
35581
35720
  thinkingOptionId?: string | null | undefined;
35582
35721
  runtimeInfo?: AgentRuntimeInfo | undefined;
35583
35722
  requiresAttention?: boolean | undefined;
@@ -35628,10 +35767,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35628
35767
  updatedAt: string;
35629
35768
  lastUserMessageAt: string | null;
35630
35769
  persistence: AgentPersistenceHandle | null;
35770
+ pendingPermissions: AgentPermissionRequest[];
35631
35771
  capabilities: AgentCapabilityFlags;
35632
35772
  currentModeId: string | null;
35633
35773
  availableModes: AgentMode[];
35634
- pendingPermissions: AgentPermissionRequest[];
35635
35774
  thinkingOptionId?: string | null | undefined;
35636
35775
  labels?: Record<string, string> | undefined;
35637
35776
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35687,10 +35826,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35687
35826
  lastUserMessageAt: string | null;
35688
35827
  labels: Record<string, string>;
35689
35828
  persistence: AgentPersistenceHandle | null;
35829
+ pendingPermissions: AgentPermissionRequest[];
35690
35830
  capabilities: AgentCapabilityFlags;
35691
35831
  currentModeId: string | null;
35692
35832
  availableModes: AgentMode[];
35693
- pendingPermissions: AgentPermissionRequest[];
35694
35833
  thinkingOptionId?: string | null | undefined;
35695
35834
  runtimeInfo?: AgentRuntimeInfo | undefined;
35696
35835
  requiresAttention?: boolean | undefined;
@@ -35744,10 +35883,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35744
35883
  updatedAt: string;
35745
35884
  lastUserMessageAt: string | null;
35746
35885
  persistence: AgentPersistenceHandle | null;
35886
+ pendingPermissions: AgentPermissionRequest[];
35747
35887
  capabilities: AgentCapabilityFlags;
35748
35888
  currentModeId: string | null;
35749
35889
  availableModes: AgentMode[];
35750
- pendingPermissions: AgentPermissionRequest[];
35751
35890
  thinkingOptionId?: string | null | undefined;
35752
35891
  labels?: Record<string, string> | undefined;
35753
35892
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -36274,10 +36413,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36274
36413
  lastUserMessageAt: string | null;
36275
36414
  labels: Record<string, string>;
36276
36415
  persistence: AgentPersistenceHandle | null;
36416
+ pendingPermissions: AgentPermissionRequest[];
36277
36417
  capabilities: AgentCapabilityFlags;
36278
36418
  currentModeId: string | null;
36279
36419
  availableModes: AgentMode[];
36280
- pendingPermissions: AgentPermissionRequest[];
36281
36420
  thinkingOptionId?: string | null | undefined;
36282
36421
  runtimeInfo?: AgentRuntimeInfo | undefined;
36283
36422
  requiresAttention?: boolean | undefined;
@@ -36298,10 +36437,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36298
36437
  updatedAt: string;
36299
36438
  lastUserMessageAt: string | null;
36300
36439
  persistence: AgentPersistenceHandle | null;
36440
+ pendingPermissions: AgentPermissionRequest[];
36301
36441
  capabilities: AgentCapabilityFlags;
36302
36442
  currentModeId: string | null;
36303
36443
  availableModes: AgentMode[];
36304
- pendingPermissions: AgentPermissionRequest[];
36305
36444
  thinkingOptionId?: string | null | undefined;
36306
36445
  labels?: Record<string, string> | undefined;
36307
36446
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -36331,10 +36470,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36331
36470
  lastUserMessageAt: string | null;
36332
36471
  labels: Record<string, string>;
36333
36472
  persistence: AgentPersistenceHandle | null;
36473
+ pendingPermissions: AgentPermissionRequest[];
36334
36474
  capabilities: AgentCapabilityFlags;
36335
36475
  currentModeId: string | null;
36336
36476
  availableModes: AgentMode[];
36337
- pendingPermissions: AgentPermissionRequest[];
36338
36477
  thinkingOptionId?: string | null | undefined;
36339
36478
  runtimeInfo?: AgentRuntimeInfo | undefined;
36340
36479
  requiresAttention?: boolean | undefined;
@@ -36361,10 +36500,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36361
36500
  updatedAt: string;
36362
36501
  lastUserMessageAt: string | null;
36363
36502
  persistence: AgentPersistenceHandle | null;
36503
+ pendingPermissions: AgentPermissionRequest[];
36364
36504
  capabilities: AgentCapabilityFlags;
36365
36505
  currentModeId: string | null;
36366
36506
  availableModes: AgentMode[];
36367
- pendingPermissions: AgentPermissionRequest[];
36368
36507
  thinkingOptionId?: string | null | undefined;
36369
36508
  labels?: Record<string, string> | undefined;
36370
36509
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -36396,10 +36535,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36396
36535
  lastUserMessageAt: string | null;
36397
36536
  labels: Record<string, string>;
36398
36537
  persistence: AgentPersistenceHandle | null;
36538
+ pendingPermissions: AgentPermissionRequest[];
36399
36539
  capabilities: AgentCapabilityFlags;
36400
36540
  currentModeId: string | null;
36401
36541
  availableModes: AgentMode[];
36402
- pendingPermissions: AgentPermissionRequest[];
36403
36542
  thinkingOptionId?: string | null | undefined;
36404
36543
  runtimeInfo?: AgentRuntimeInfo | undefined;
36405
36544
  requiresAttention?: boolean | undefined;
@@ -36429,10 +36568,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36429
36568
  updatedAt: string;
36430
36569
  lastUserMessageAt: string | null;
36431
36570
  persistence: AgentPersistenceHandle | null;
36571
+ pendingPermissions: AgentPermissionRequest[];
36432
36572
  capabilities: AgentCapabilityFlags;
36433
36573
  currentModeId: string | null;
36434
36574
  availableModes: AgentMode[];
36435
- pendingPermissions: AgentPermissionRequest[];
36436
36575
  thinkingOptionId?: string | null | undefined;
36437
36576
  labels?: Record<string, string> | undefined;
36438
36577
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -39103,6 +39242,31 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39103
39242
  homeDir: string;
39104
39243
  rootDir: string;
39105
39244
  }>;
39245
+ update: z.ZodOptional<z.ZodObject<{
39246
+ packageName: z.ZodString;
39247
+ currentVersion: z.ZodNullable<z.ZodString>;
39248
+ latestVersion: z.ZodNullable<z.ZodString>;
39249
+ status: z.ZodEnum<["current", "stale", "unknown"]>;
39250
+ blocked: z.ZodBoolean;
39251
+ message: z.ZodString;
39252
+ remediation: z.ZodNullable<z.ZodString>;
39253
+ }, "strip", z.ZodTypeAny, {
39254
+ status: "unknown" | "current" | "stale";
39255
+ message: string;
39256
+ remediation: string | null;
39257
+ packageName: string;
39258
+ currentVersion: string | null;
39259
+ latestVersion: string | null;
39260
+ blocked: boolean;
39261
+ }, {
39262
+ status: "unknown" | "current" | "stale";
39263
+ message: string;
39264
+ remediation: string | null;
39265
+ packageName: string;
39266
+ currentVersion: string | null;
39267
+ latestVersion: string | null;
39268
+ blocked: boolean;
39269
+ }>>;
39106
39270
  summary: z.ZodEnum<["pass", "warn", "fail"]>;
39107
39271
  checks: z.ZodArray<z.ZodObject<{
39108
39272
  id: z.ZodString;
@@ -39157,6 +39321,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39157
39321
  remediation: string | null;
39158
39322
  }[];
39159
39323
  ranAt: string;
39324
+ update?: {
39325
+ status: "unknown" | "current" | "stale";
39326
+ message: string;
39327
+ remediation: string | null;
39328
+ packageName: string;
39329
+ currentVersion: string | null;
39330
+ latestVersion: string | null;
39331
+ blocked: boolean;
39332
+ } | undefined;
39160
39333
  }, {
39161
39334
  error: string | null;
39162
39335
  summary: "pass" | "warn" | "fail";
@@ -39179,6 +39352,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39179
39352
  remediation: string | null;
39180
39353
  }[];
39181
39354
  ranAt: string;
39355
+ update?: {
39356
+ status: "unknown" | "current" | "stale";
39357
+ message: string;
39358
+ remediation: string | null;
39359
+ packageName: string;
39360
+ currentVersion: string | null;
39361
+ latestVersion: string | null;
39362
+ blocked: boolean;
39363
+ } | undefined;
39182
39364
  }>;
39183
39365
  }, "strip", z.ZodTypeAny, {
39184
39366
  type: "run_daemon_doctor_response";
@@ -39204,6 +39386,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39204
39386
  remediation: string | null;
39205
39387
  }[];
39206
39388
  ranAt: string;
39389
+ update?: {
39390
+ status: "unknown" | "current" | "stale";
39391
+ message: string;
39392
+ remediation: string | null;
39393
+ packageName: string;
39394
+ currentVersion: string | null;
39395
+ latestVersion: string | null;
39396
+ blocked: boolean;
39397
+ } | undefined;
39207
39398
  };
39208
39399
  }, {
39209
39400
  type: "run_daemon_doctor_response";
@@ -39229,6 +39420,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39229
39420
  remediation: string | null;
39230
39421
  }[];
39231
39422
  ranAt: string;
39423
+ update?: {
39424
+ status: "unknown" | "current" | "stale";
39425
+ message: string;
39426
+ remediation: string | null;
39427
+ packageName: string;
39428
+ currentVersion: string | null;
39429
+ latestVersion: string | null;
39430
+ blocked: boolean;
39431
+ } | undefined;
39232
39432
  };
39233
39433
  }>, z.ZodObject<{
39234
39434
  type: z.ZodLiteral<"get_daemon_provider_settings_response">;
@@ -39488,37 +39688,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39488
39688
  homeDir: string;
39489
39689
  rootDir: string;
39490
39690
  }>;
39491
- provider: z.ZodNullable<z.ZodObject<{
39492
- provider: z.ZodEnum<["claude", "codex", "gemini"]>;
39493
- source: z.ZodEnum<["system", "manual", "custom"]>;
39494
- executablePath: z.ZodNullable<z.ZodString>;
39495
- commandSummary: z.ZodNullable<z.ZodString>;
39496
- resolvedPath: z.ZodNullable<z.ZodString>;
39497
- }, "strip", z.ZodTypeAny, {
39498
- provider: "codex" | "claude" | "gemini";
39499
- source: "manual" | "custom" | "system";
39500
- resolvedPath: string | null;
39501
- executablePath: string | null;
39502
- commandSummary: string | null;
39503
- }, {
39504
- provider: "codex" | "claude" | "gemini";
39505
- source: "manual" | "custom" | "system";
39506
- resolvedPath: string | null;
39507
- executablePath: string | null;
39508
- commandSummary: string | null;
39509
- }>>;
39691
+ provider: z.ZodEnum<["claude", "codex", "gemini"]>;
39692
+ executablePath: z.ZodNullable<z.ZodString>;
39510
39693
  error: z.ZodNullable<z.ZodString>;
39511
39694
  requestId: z.ZodString;
39512
39695
  }, "strip", z.ZodTypeAny, {
39513
39696
  error: string | null;
39514
- provider: {
39515
- provider: "codex" | "claude" | "gemini";
39516
- source: "manual" | "custom" | "system";
39517
- resolvedPath: string | null;
39518
- executablePath: string | null;
39519
- commandSummary: string | null;
39520
- } | null;
39697
+ provider: "codex" | "claude" | "gemini";
39521
39698
  requestId: string;
39699
+ executablePath: string | null;
39522
39700
  daemon: {
39523
39701
  hostname: string | null;
39524
39702
  version: string | null;
@@ -39528,14 +39706,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39528
39706
  };
39529
39707
  }, {
39530
39708
  error: string | null;
39531
- provider: {
39532
- provider: "codex" | "claude" | "gemini";
39533
- source: "manual" | "custom" | "system";
39534
- resolvedPath: string | null;
39535
- executablePath: string | null;
39536
- commandSummary: string | null;
39537
- } | null;
39709
+ provider: "codex" | "claude" | "gemini";
39538
39710
  requestId: string;
39711
+ executablePath: string | null;
39539
39712
  daemon: {
39540
39713
  hostname: string | null;
39541
39714
  version: string | null;
@@ -39548,14 +39721,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39548
39721
  type: "auto_route_provider_response";
39549
39722
  payload: {
39550
39723
  error: string | null;
39551
- provider: {
39552
- provider: "codex" | "claude" | "gemini";
39553
- source: "manual" | "custom" | "system";
39554
- resolvedPath: string | null;
39555
- executablePath: string | null;
39556
- commandSummary: string | null;
39557
- } | null;
39724
+ provider: "codex" | "claude" | "gemini";
39558
39725
  requestId: string;
39726
+ executablePath: string | null;
39559
39727
  daemon: {
39560
39728
  hostname: string | null;
39561
39729
  version: string | null;
@@ -39568,14 +39736,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
39568
39736
  type: "auto_route_provider_response";
39569
39737
  payload: {
39570
39738
  error: string | null;
39571
- provider: {
39572
- provider: "codex" | "claude" | "gemini";
39573
- source: "manual" | "custom" | "system";
39574
- resolvedPath: string | null;
39575
- executablePath: string | null;
39576
- commandSummary: string | null;
39577
- } | null;
39739
+ provider: "codex" | "claude" | "gemini";
39578
39740
  requestId: string;
39741
+ executablePath: string | null;
39579
39742
  daemon: {
39580
39743
  hostname: string | null;
39581
39744
  version: string | null;
@@ -40498,10 +40661,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40498
40661
  lastUserMessageAt: string | null;
40499
40662
  labels: Record<string, string>;
40500
40663
  persistence: AgentPersistenceHandle | null;
40664
+ pendingPermissions: AgentPermissionRequest[];
40501
40665
  capabilities: AgentCapabilityFlags;
40502
40666
  currentModeId: string | null;
40503
40667
  availableModes: AgentMode[];
40504
- pendingPermissions: AgentPermissionRequest[];
40505
40668
  thinkingOptionId?: string | null | undefined;
40506
40669
  runtimeInfo?: AgentRuntimeInfo | undefined;
40507
40670
  requiresAttention?: boolean | undefined;
@@ -40615,10 +40778,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40615
40778
  lastUserMessageAt: string | null;
40616
40779
  labels: Record<string, string>;
40617
40780
  persistence: AgentPersistenceHandle | null;
40781
+ pendingPermissions: AgentPermissionRequest[];
40618
40782
  capabilities: AgentCapabilityFlags;
40619
40783
  currentModeId: string | null;
40620
40784
  availableModes: AgentMode[];
40621
- pendingPermissions: AgentPermissionRequest[];
40622
40785
  thinkingOptionId?: string | null | undefined;
40623
40786
  runtimeInfo?: AgentRuntimeInfo | undefined;
40624
40787
  requiresAttention?: boolean | undefined;
@@ -40646,10 +40809,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40646
40809
  lastUserMessageAt: string | null;
40647
40810
  labels: Record<string, string>;
40648
40811
  persistence: AgentPersistenceHandle | null;
40812
+ pendingPermissions: AgentPermissionRequest[];
40649
40813
  capabilities: AgentCapabilityFlags;
40650
40814
  currentModeId: string | null;
40651
40815
  availableModes: AgentMode[];
40652
- pendingPermissions: AgentPermissionRequest[];
40653
40816
  thinkingOptionId?: string | null | undefined;
40654
40817
  runtimeInfo?: AgentRuntimeInfo | undefined;
40655
40818
  requiresAttention?: boolean | undefined;
@@ -40712,10 +40875,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40712
40875
  lastUserMessageAt: string | null;
40713
40876
  labels: Record<string, string>;
40714
40877
  persistence: AgentPersistenceHandle | null;
40878
+ pendingPermissions: AgentPermissionRequest[];
40715
40879
  capabilities: AgentCapabilityFlags;
40716
40880
  currentModeId: string | null;
40717
40881
  availableModes: AgentMode[];
40718
- pendingPermissions: AgentPermissionRequest[];
40719
40882
  thinkingOptionId?: string | null | undefined;
40720
40883
  runtimeInfo?: AgentRuntimeInfo | undefined;
40721
40884
  requiresAttention?: boolean | undefined;
@@ -40819,10 +40982,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40819
40982
  lastUserMessageAt: string | null;
40820
40983
  labels: Record<string, string>;
40821
40984
  persistence: AgentPersistenceHandle | null;
40985
+ pendingPermissions: AgentPermissionRequest[];
40822
40986
  capabilities: AgentCapabilityFlags;
40823
40987
  currentModeId: string | null;
40824
40988
  availableModes: AgentMode[];
40825
- pendingPermissions: AgentPermissionRequest[];
40826
40989
  thinkingOptionId?: string | null | undefined;
40827
40990
  runtimeInfo?: AgentRuntimeInfo | undefined;
40828
40991
  requiresAttention?: boolean | undefined;
@@ -41334,6 +41497,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41334
41497
  remediation: string | null;
41335
41498
  }[];
41336
41499
  ranAt: string;
41500
+ update?: {
41501
+ status: "unknown" | "current" | "stale";
41502
+ message: string;
41503
+ remediation: string | null;
41504
+ packageName: string;
41505
+ currentVersion: string | null;
41506
+ latestVersion: string | null;
41507
+ blocked: boolean;
41508
+ } | undefined;
41337
41509
  };
41338
41510
  } | {
41339
41511
  type: "get_daemon_provider_settings_response";
@@ -41379,14 +41551,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41379
41551
  type: "auto_route_provider_response";
41380
41552
  payload: {
41381
41553
  error: string | null;
41382
- provider: {
41383
- provider: "codex" | "claude" | "gemini";
41384
- source: "manual" | "custom" | "system";
41385
- resolvedPath: string | null;
41386
- executablePath: string | null;
41387
- commandSummary: string | null;
41388
- } | null;
41554
+ provider: "codex" | "claude" | "gemini";
41389
41555
  requestId: string;
41556
+ executablePath: string | null;
41390
41557
  daemon: {
41391
41558
  hostname: string | null;
41392
41559
  version: string | null;
@@ -41629,10 +41796,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41629
41796
  updatedAt: string;
41630
41797
  lastUserMessageAt: string | null;
41631
41798
  persistence: AgentPersistenceHandle | null;
41799
+ pendingPermissions: AgentPermissionRequest[];
41632
41800
  capabilities: AgentCapabilityFlags;
41633
41801
  currentModeId: string | null;
41634
41802
  availableModes: AgentMode[];
41635
- pendingPermissions: AgentPermissionRequest[];
41636
41803
  thinkingOptionId?: string | null | undefined;
41637
41804
  labels?: Record<string, string> | undefined;
41638
41805
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -41746,10 +41913,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41746
41913
  updatedAt: string;
41747
41914
  lastUserMessageAt: string | null;
41748
41915
  persistence: AgentPersistenceHandle | null;
41916
+ pendingPermissions: AgentPermissionRequest[];
41749
41917
  capabilities: AgentCapabilityFlags;
41750
41918
  currentModeId: string | null;
41751
41919
  availableModes: AgentMode[];
41752
- pendingPermissions: AgentPermissionRequest[];
41753
41920
  thinkingOptionId?: string | null | undefined;
41754
41921
  labels?: Record<string, string> | undefined;
41755
41922
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -41777,10 +41944,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41777
41944
  updatedAt: string;
41778
41945
  lastUserMessageAt: string | null;
41779
41946
  persistence: AgentPersistenceHandle | null;
41947
+ pendingPermissions: AgentPermissionRequest[];
41780
41948
  capabilities: AgentCapabilityFlags;
41781
41949
  currentModeId: string | null;
41782
41950
  availableModes: AgentMode[];
41783
- pendingPermissions: AgentPermissionRequest[];
41784
41951
  thinkingOptionId?: string | null | undefined;
41785
41952
  labels?: Record<string, string> | undefined;
41786
41953
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -41843,10 +42010,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41843
42010
  updatedAt: string;
41844
42011
  lastUserMessageAt: string | null;
41845
42012
  persistence: AgentPersistenceHandle | null;
42013
+ pendingPermissions: AgentPermissionRequest[];
41846
42014
  capabilities: AgentCapabilityFlags;
41847
42015
  currentModeId: string | null;
41848
42016
  availableModes: AgentMode[];
41849
- pendingPermissions: AgentPermissionRequest[];
41850
42017
  thinkingOptionId?: string | null | undefined;
41851
42018
  labels?: Record<string, string> | undefined;
41852
42019
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -41950,10 +42117,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41950
42117
  updatedAt: string;
41951
42118
  lastUserMessageAt: string | null;
41952
42119
  persistence: AgentPersistenceHandle | null;
42120
+ pendingPermissions: AgentPermissionRequest[];
41953
42121
  capabilities: AgentCapabilityFlags;
41954
42122
  currentModeId: string | null;
41955
42123
  availableModes: AgentMode[];
41956
- pendingPermissions: AgentPermissionRequest[];
41957
42124
  thinkingOptionId?: string | null | undefined;
41958
42125
  labels?: Record<string, string> | undefined;
41959
42126
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -42466,6 +42633,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
42466
42633
  remediation: string | null;
42467
42634
  }[];
42468
42635
  ranAt: string;
42636
+ update?: {
42637
+ status: "unknown" | "current" | "stale";
42638
+ message: string;
42639
+ remediation: string | null;
42640
+ packageName: string;
42641
+ currentVersion: string | null;
42642
+ latestVersion: string | null;
42643
+ blocked: boolean;
42644
+ } | undefined;
42469
42645
  };
42470
42646
  } | {
42471
42647
  type: "get_daemon_provider_settings_response";
@@ -42511,14 +42687,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
42511
42687
  type: "auto_route_provider_response";
42512
42688
  payload: {
42513
42689
  error: string | null;
42514
- provider: {
42515
- provider: "codex" | "claude" | "gemini";
42516
- source: "manual" | "custom" | "system";
42517
- resolvedPath: string | null;
42518
- executablePath: string | null;
42519
- commandSummary: string | null;
42520
- } | null;
42690
+ provider: "codex" | "claude" | "gemini";
42521
42691
  requestId: string;
42692
+ executablePath: string | null;
42522
42693
  daemon: {
42523
42694
  hostname: string | null;
42524
42695
  version: string | null;