@junctionpanel/server 0.1.33 → 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 (56) hide show
  1. package/dist/server/client/daemon-client.d.ts +2 -0
  2. package/dist/server/client/daemon-client.d.ts.map +1 -1
  3. package/dist/server/client/daemon-client.js +2 -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 +5 -0
  9. package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
  10. package/dist/server/server/agent/agent-manager.js +63 -9
  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 +4 -0
  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/session.d.ts +1 -0
  33. package/dist/server/server/session.d.ts.map +1 -1
  34. package/dist/server/server/session.js +77 -69
  35. package/dist/server/server/session.js.map +1 -1
  36. package/dist/server/server/worktree-bootstrap.d.ts +2 -1
  37. package/dist/server/server/worktree-bootstrap.d.ts.map +1 -1
  38. package/dist/server/server/worktree-bootstrap.js +1 -0
  39. package/dist/server/server/worktree-bootstrap.js.map +1 -1
  40. package/dist/server/shared/messages.d.ts +277 -218
  41. package/dist/server/shared/messages.d.ts.map +1 -1
  42. package/dist/server/shared/messages.js +5 -0
  43. package/dist/server/shared/messages.js.map +1 -1
  44. package/dist/server/utils/checkout-git.d.ts +14 -0
  45. package/dist/server/utils/checkout-git.d.ts.map +1 -1
  46. package/dist/server/utils/checkout-git.js +73 -44
  47. package/dist/server/utils/checkout-git.js.map +1 -1
  48. package/dist/server/utils/worktree-metadata.d.ts +30 -0
  49. package/dist/server/utils/worktree-metadata.d.ts.map +1 -1
  50. package/dist/server/utils/worktree-metadata.js +38 -9
  51. package/dist/server/utils/worktree-metadata.js.map +1 -1
  52. package/dist/server/utils/worktree.d.ts +7 -3
  53. package/dist/server/utils/worktree.d.ts.map +1 -1
  54. package/dist/server/utils/worktree.js +91 -47
  55. package/dist/server/utils/worktree.js.map +1 -1
  56. 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;
@@ -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;
@@ -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;
@@ -12272,10 +12297,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12272
12297
  lastUserMessageAt: string | null;
12273
12298
  labels: Record<string, string>;
12274
12299
  persistence: AgentPersistenceHandle | null;
12300
+ pendingPermissions: AgentPermissionRequest[];
12275
12301
  capabilities: AgentCapabilityFlags;
12276
12302
  currentModeId: string | null;
12277
12303
  availableModes: AgentMode[];
12278
- pendingPermissions: AgentPermissionRequest[];
12279
12304
  thinkingOptionId?: string | null | undefined;
12280
12305
  runtimeInfo?: AgentRuntimeInfo | undefined;
12281
12306
  requiresAttention?: boolean | undefined;
@@ -12296,10 +12321,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12296
12321
  updatedAt: string;
12297
12322
  lastUserMessageAt: string | null;
12298
12323
  persistence: AgentPersistenceHandle | null;
12324
+ pendingPermissions: AgentPermissionRequest[];
12299
12325
  capabilities: AgentCapabilityFlags;
12300
12326
  currentModeId: string | null;
12301
12327
  availableModes: AgentMode[];
12302
- pendingPermissions: AgentPermissionRequest[];
12303
12328
  thinkingOptionId?: string | null | undefined;
12304
12329
  labels?: Record<string, string> | undefined;
12305
12330
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -12443,10 +12468,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12443
12468
  lastUserMessageAt: string | null;
12444
12469
  labels: Record<string, string>;
12445
12470
  persistence: AgentPersistenceHandle | null;
12471
+ pendingPermissions: AgentPermissionRequest[];
12446
12472
  capabilities: AgentCapabilityFlags;
12447
12473
  currentModeId: string | null;
12448
12474
  availableModes: AgentMode[];
12449
- pendingPermissions: AgentPermissionRequest[];
12450
12475
  thinkingOptionId?: string | null | undefined;
12451
12476
  runtimeInfo?: AgentRuntimeInfo | undefined;
12452
12477
  requiresAttention?: boolean | undefined;
@@ -12496,10 +12521,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12496
12521
  updatedAt: string;
12497
12522
  lastUserMessageAt: string | null;
12498
12523
  persistence: AgentPersistenceHandle | null;
12524
+ pendingPermissions: AgentPermissionRequest[];
12499
12525
  capabilities: AgentCapabilityFlags;
12500
12526
  currentModeId: string | null;
12501
12527
  availableModes: AgentMode[];
12502
- pendingPermissions: AgentPermissionRequest[];
12503
12528
  thinkingOptionId?: string | null | undefined;
12504
12529
  labels?: Record<string, string> | undefined;
12505
12530
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -12563,10 +12588,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12563
12588
  lastUserMessageAt: string | null;
12564
12589
  labels: Record<string, string>;
12565
12590
  persistence: AgentPersistenceHandle | null;
12591
+ pendingPermissions: AgentPermissionRequest[];
12566
12592
  capabilities: AgentCapabilityFlags;
12567
12593
  currentModeId: string | null;
12568
12594
  availableModes: AgentMode[];
12569
- pendingPermissions: AgentPermissionRequest[];
12570
12595
  thinkingOptionId?: string | null | undefined;
12571
12596
  runtimeInfo?: AgentRuntimeInfo | undefined;
12572
12597
  requiresAttention?: boolean | undefined;
@@ -12622,10 +12647,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12622
12647
  updatedAt: string;
12623
12648
  lastUserMessageAt: string | null;
12624
12649
  persistence: AgentPersistenceHandle | null;
12650
+ pendingPermissions: AgentPermissionRequest[];
12625
12651
  capabilities: AgentCapabilityFlags;
12626
12652
  currentModeId: string | null;
12627
12653
  availableModes: AgentMode[];
12628
- pendingPermissions: AgentPermissionRequest[];
12629
12654
  thinkingOptionId?: string | null | undefined;
12630
12655
  labels?: Record<string, string> | undefined;
12631
12656
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13101,10 +13126,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13101
13126
  lastUserMessageAt: string | null;
13102
13127
  labels: Record<string, string>;
13103
13128
  persistence: AgentPersistenceHandle | null;
13129
+ pendingPermissions: AgentPermissionRequest[];
13104
13130
  capabilities: AgentCapabilityFlags;
13105
13131
  currentModeId: string | null;
13106
13132
  availableModes: AgentMode[];
13107
- pendingPermissions: AgentPermissionRequest[];
13108
13133
  thinkingOptionId?: string | null | undefined;
13109
13134
  runtimeInfo?: AgentRuntimeInfo | undefined;
13110
13135
  requiresAttention?: boolean | undefined;
@@ -13125,10 +13150,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13125
13150
  updatedAt: string;
13126
13151
  lastUserMessageAt: string | null;
13127
13152
  persistence: AgentPersistenceHandle | null;
13153
+ pendingPermissions: AgentPermissionRequest[];
13128
13154
  capabilities: AgentCapabilityFlags;
13129
13155
  currentModeId: string | null;
13130
13156
  availableModes: AgentMode[];
13131
- pendingPermissions: AgentPermissionRequest[];
13132
13157
  thinkingOptionId?: string | null | undefined;
13133
13158
  labels?: Record<string, string> | undefined;
13134
13159
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13155,10 +13180,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13155
13180
  lastUserMessageAt: string | null;
13156
13181
  labels: Record<string, string>;
13157
13182
  persistence: AgentPersistenceHandle | null;
13183
+ pendingPermissions: AgentPermissionRequest[];
13158
13184
  capabilities: AgentCapabilityFlags;
13159
13185
  currentModeId: string | null;
13160
13186
  availableModes: AgentMode[];
13161
- pendingPermissions: AgentPermissionRequest[];
13162
13187
  thinkingOptionId?: string | null | undefined;
13163
13188
  runtimeInfo?: AgentRuntimeInfo | undefined;
13164
13189
  requiresAttention?: boolean | undefined;
@@ -13183,10 +13208,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13183
13208
  updatedAt: string;
13184
13209
  lastUserMessageAt: string | null;
13185
13210
  persistence: AgentPersistenceHandle | null;
13211
+ pendingPermissions: AgentPermissionRequest[];
13186
13212
  capabilities: AgentCapabilityFlags;
13187
13213
  currentModeId: string | null;
13188
13214
  availableModes: AgentMode[];
13189
- pendingPermissions: AgentPermissionRequest[];
13190
13215
  thinkingOptionId?: string | null | undefined;
13191
13216
  labels?: Record<string, string> | undefined;
13192
13217
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13216,10 +13241,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13216
13241
  lastUserMessageAt: string | null;
13217
13242
  labels: Record<string, string>;
13218
13243
  persistence: AgentPersistenceHandle | null;
13244
+ pendingPermissions: AgentPermissionRequest[];
13219
13245
  capabilities: AgentCapabilityFlags;
13220
13246
  currentModeId: string | null;
13221
13247
  availableModes: AgentMode[];
13222
- pendingPermissions: AgentPermissionRequest[];
13223
13248
  thinkingOptionId?: string | null | undefined;
13224
13249
  runtimeInfo?: AgentRuntimeInfo | undefined;
13225
13250
  requiresAttention?: boolean | undefined;
@@ -13247,10 +13272,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13247
13272
  updatedAt: string;
13248
13273
  lastUserMessageAt: string | null;
13249
13274
  persistence: AgentPersistenceHandle | null;
13275
+ pendingPermissions: AgentPermissionRequest[];
13250
13276
  capabilities: AgentCapabilityFlags;
13251
13277
  currentModeId: string | null;
13252
13278
  availableModes: AgentMode[];
13253
- pendingPermissions: AgentPermissionRequest[];
13254
13279
  thinkingOptionId?: string | null | undefined;
13255
13280
  labels?: Record<string, string> | undefined;
13256
13281
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13306,10 +13331,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13306
13331
  lastUserMessageAt: string | null;
13307
13332
  labels: Record<string, string>;
13308
13333
  persistence: AgentPersistenceHandle | null;
13334
+ pendingPermissions: AgentPermissionRequest[];
13309
13335
  capabilities: AgentCapabilityFlags;
13310
13336
  currentModeId: string | null;
13311
13337
  availableModes: AgentMode[];
13312
- pendingPermissions: AgentPermissionRequest[];
13313
13338
  thinkingOptionId?: string | null | undefined;
13314
13339
  runtimeInfo?: AgentRuntimeInfo | undefined;
13315
13340
  requiresAttention?: boolean | undefined;
@@ -13330,10 +13355,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13330
13355
  updatedAt: string;
13331
13356
  lastUserMessageAt: string | null;
13332
13357
  persistence: AgentPersistenceHandle | null;
13358
+ pendingPermissions: AgentPermissionRequest[];
13333
13359
  capabilities: AgentCapabilityFlags;
13334
13360
  currentModeId: string | null;
13335
13361
  availableModes: AgentMode[];
13336
- pendingPermissions: AgentPermissionRequest[];
13337
13362
  thinkingOptionId?: string | null | undefined;
13338
13363
  labels?: Record<string, string> | undefined;
13339
13364
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13476,10 +13501,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13476
13501
  lastUserMessageAt: string | null;
13477
13502
  labels: Record<string, string>;
13478
13503
  persistence: AgentPersistenceHandle | null;
13504
+ pendingPermissions: AgentPermissionRequest[];
13479
13505
  capabilities: AgentCapabilityFlags;
13480
13506
  currentModeId: string | null;
13481
13507
  availableModes: AgentMode[];
13482
- pendingPermissions: AgentPermissionRequest[];
13483
13508
  thinkingOptionId?: string | null | undefined;
13484
13509
  runtimeInfo?: AgentRuntimeInfo | undefined;
13485
13510
  requiresAttention?: boolean | undefined;
@@ -13528,10 +13553,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13528
13553
  updatedAt: string;
13529
13554
  lastUserMessageAt: string | null;
13530
13555
  persistence: AgentPersistenceHandle | null;
13556
+ pendingPermissions: AgentPermissionRequest[];
13531
13557
  capabilities: AgentCapabilityFlags;
13532
13558
  currentModeId: string | null;
13533
13559
  availableModes: AgentMode[];
13534
- pendingPermissions: AgentPermissionRequest[];
13535
13560
  thinkingOptionId?: string | null | undefined;
13536
13561
  labels?: Record<string, string> | undefined;
13537
13562
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13597,10 +13622,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13597
13622
  lastUserMessageAt: string | null;
13598
13623
  labels: Record<string, string>;
13599
13624
  persistence: AgentPersistenceHandle | null;
13625
+ pendingPermissions: AgentPermissionRequest[];
13600
13626
  capabilities: AgentCapabilityFlags;
13601
13627
  currentModeId: string | null;
13602
13628
  availableModes: AgentMode[];
13603
- pendingPermissions: AgentPermissionRequest[];
13604
13629
  thinkingOptionId?: string | null | undefined;
13605
13630
  runtimeInfo?: AgentRuntimeInfo | undefined;
13606
13631
  requiresAttention?: boolean | undefined;
@@ -13658,10 +13683,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13658
13683
  updatedAt: string;
13659
13684
  lastUserMessageAt: string | null;
13660
13685
  persistence: AgentPersistenceHandle | null;
13686
+ pendingPermissions: AgentPermissionRequest[];
13661
13687
  capabilities: AgentCapabilityFlags;
13662
13688
  currentModeId: string | null;
13663
13689
  availableModes: AgentMode[];
13664
- pendingPermissions: AgentPermissionRequest[];
13665
13690
  thinkingOptionId?: string | null | undefined;
13666
13691
  labels?: Record<string, string> | undefined;
13667
13692
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13724,10 +13749,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13724
13749
  lastUserMessageAt: string | null;
13725
13750
  labels: Record<string, string>;
13726
13751
  persistence: AgentPersistenceHandle | null;
13752
+ pendingPermissions: AgentPermissionRequest[];
13727
13753
  capabilities: AgentCapabilityFlags;
13728
13754
  currentModeId: string | null;
13729
13755
  availableModes: AgentMode[];
13730
- pendingPermissions: AgentPermissionRequest[];
13731
13756
  thinkingOptionId?: string | null | undefined;
13732
13757
  runtimeInfo?: AgentRuntimeInfo | undefined;
13733
13758
  requiresAttention?: boolean | undefined;
@@ -13788,10 +13813,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13788
13813
  updatedAt: string;
13789
13814
  lastUserMessageAt: string | null;
13790
13815
  persistence: AgentPersistenceHandle | null;
13816
+ pendingPermissions: AgentPermissionRequest[];
13791
13817
  capabilities: AgentCapabilityFlags;
13792
13818
  currentModeId: string | null;
13793
13819
  availableModes: AgentMode[];
13794
- pendingPermissions: AgentPermissionRequest[];
13795
13820
  thinkingOptionId?: string | null | undefined;
13796
13821
  labels?: Record<string, string> | undefined;
13797
13822
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -13879,10 +13904,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13879
13904
  lastUserMessageAt: string | null;
13880
13905
  labels: Record<string, string>;
13881
13906
  persistence: AgentPersistenceHandle | null;
13907
+ pendingPermissions: AgentPermissionRequest[];
13882
13908
  capabilities: AgentCapabilityFlags;
13883
13909
  currentModeId: string | null;
13884
13910
  availableModes: AgentMode[];
13885
- pendingPermissions: AgentPermissionRequest[];
13886
13911
  thinkingOptionId?: string | null | undefined;
13887
13912
  runtimeInfo?: AgentRuntimeInfo | undefined;
13888
13913
  requiresAttention?: boolean | undefined;
@@ -13903,10 +13928,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13903
13928
  updatedAt: string;
13904
13929
  lastUserMessageAt: string | null;
13905
13930
  persistence: AgentPersistenceHandle | null;
13931
+ pendingPermissions: AgentPermissionRequest[];
13906
13932
  capabilities: AgentCapabilityFlags;
13907
13933
  currentModeId: string | null;
13908
13934
  availableModes: AgentMode[];
13909
- pendingPermissions: AgentPermissionRequest[];
13910
13935
  thinkingOptionId?: string | null | undefined;
13911
13936
  labels?: Record<string, string> | undefined;
13912
13937
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14052,10 +14077,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14052
14077
  lastUserMessageAt: string | null;
14053
14078
  labels: Record<string, string>;
14054
14079
  persistence: AgentPersistenceHandle | null;
14080
+ pendingPermissions: AgentPermissionRequest[];
14055
14081
  capabilities: AgentCapabilityFlags;
14056
14082
  currentModeId: string | null;
14057
14083
  availableModes: AgentMode[];
14058
- pendingPermissions: AgentPermissionRequest[];
14059
14084
  thinkingOptionId?: string | null | undefined;
14060
14085
  runtimeInfo?: AgentRuntimeInfo | undefined;
14061
14086
  requiresAttention?: boolean | undefined;
@@ -14106,10 +14131,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14106
14131
  updatedAt: string;
14107
14132
  lastUserMessageAt: string | null;
14108
14133
  persistence: AgentPersistenceHandle | null;
14134
+ pendingPermissions: AgentPermissionRequest[];
14109
14135
  capabilities: AgentCapabilityFlags;
14110
14136
  currentModeId: string | null;
14111
14137
  availableModes: AgentMode[];
14112
- pendingPermissions: AgentPermissionRequest[];
14113
14138
  thinkingOptionId?: string | null | undefined;
14114
14139
  labels?: Record<string, string> | undefined;
14115
14140
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14165,10 +14190,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14165
14190
  lastUserMessageAt: string | null;
14166
14191
  labels: Record<string, string>;
14167
14192
  persistence: AgentPersistenceHandle | null;
14193
+ pendingPermissions: AgentPermissionRequest[];
14168
14194
  capabilities: AgentCapabilityFlags;
14169
14195
  currentModeId: string | null;
14170
14196
  availableModes: AgentMode[];
14171
- pendingPermissions: AgentPermissionRequest[];
14172
14197
  thinkingOptionId?: string | null | undefined;
14173
14198
  runtimeInfo?: AgentRuntimeInfo | undefined;
14174
14199
  requiresAttention?: boolean | undefined;
@@ -14222,10 +14247,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14222
14247
  updatedAt: string;
14223
14248
  lastUserMessageAt: string | null;
14224
14249
  persistence: AgentPersistenceHandle | null;
14250
+ pendingPermissions: AgentPermissionRequest[];
14225
14251
  capabilities: AgentCapabilityFlags;
14226
14252
  currentModeId: string | null;
14227
14253
  availableModes: AgentMode[];
14228
- pendingPermissions: AgentPermissionRequest[];
14229
14254
  thinkingOptionId?: string | null | undefined;
14230
14255
  labels?: Record<string, string> | undefined;
14231
14256
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14752,10 +14777,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14752
14777
  lastUserMessageAt: string | null;
14753
14778
  labels: Record<string, string>;
14754
14779
  persistence: AgentPersistenceHandle | null;
14780
+ pendingPermissions: AgentPermissionRequest[];
14755
14781
  capabilities: AgentCapabilityFlags;
14756
14782
  currentModeId: string | null;
14757
14783
  availableModes: AgentMode[];
14758
- pendingPermissions: AgentPermissionRequest[];
14759
14784
  thinkingOptionId?: string | null | undefined;
14760
14785
  runtimeInfo?: AgentRuntimeInfo | undefined;
14761
14786
  requiresAttention?: boolean | undefined;
@@ -14776,10 +14801,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14776
14801
  updatedAt: string;
14777
14802
  lastUserMessageAt: string | null;
14778
14803
  persistence: AgentPersistenceHandle | null;
14804
+ pendingPermissions: AgentPermissionRequest[];
14779
14805
  capabilities: AgentCapabilityFlags;
14780
14806
  currentModeId: string | null;
14781
14807
  availableModes: AgentMode[];
14782
- pendingPermissions: AgentPermissionRequest[];
14783
14808
  thinkingOptionId?: string | null | undefined;
14784
14809
  labels?: Record<string, string> | undefined;
14785
14810
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14809,10 +14834,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14809
14834
  lastUserMessageAt: string | null;
14810
14835
  labels: Record<string, string>;
14811
14836
  persistence: AgentPersistenceHandle | null;
14837
+ pendingPermissions: AgentPermissionRequest[];
14812
14838
  capabilities: AgentCapabilityFlags;
14813
14839
  currentModeId: string | null;
14814
14840
  availableModes: AgentMode[];
14815
- pendingPermissions: AgentPermissionRequest[];
14816
14841
  thinkingOptionId?: string | null | undefined;
14817
14842
  runtimeInfo?: AgentRuntimeInfo | undefined;
14818
14843
  requiresAttention?: boolean | undefined;
@@ -14839,10 +14864,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14839
14864
  updatedAt: string;
14840
14865
  lastUserMessageAt: string | null;
14841
14866
  persistence: AgentPersistenceHandle | null;
14867
+ pendingPermissions: AgentPermissionRequest[];
14842
14868
  capabilities: AgentCapabilityFlags;
14843
14869
  currentModeId: string | null;
14844
14870
  availableModes: AgentMode[];
14845
- pendingPermissions: AgentPermissionRequest[];
14846
14871
  thinkingOptionId?: string | null | undefined;
14847
14872
  labels?: Record<string, string> | undefined;
14848
14873
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -14874,10 +14899,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14874
14899
  lastUserMessageAt: string | null;
14875
14900
  labels: Record<string, string>;
14876
14901
  persistence: AgentPersistenceHandle | null;
14902
+ pendingPermissions: AgentPermissionRequest[];
14877
14903
  capabilities: AgentCapabilityFlags;
14878
14904
  currentModeId: string | null;
14879
14905
  availableModes: AgentMode[];
14880
- pendingPermissions: AgentPermissionRequest[];
14881
14906
  thinkingOptionId?: string | null | undefined;
14882
14907
  runtimeInfo?: AgentRuntimeInfo | undefined;
14883
14908
  requiresAttention?: boolean | undefined;
@@ -14907,10 +14932,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
14907
14932
  updatedAt: string;
14908
14933
  lastUserMessageAt: string | null;
14909
14934
  persistence: AgentPersistenceHandle | null;
14935
+ pendingPermissions: AgentPermissionRequest[];
14910
14936
  capabilities: AgentCapabilityFlags;
14911
14937
  currentModeId: string | null;
14912
14938
  availableModes: AgentMode[];
14913
- pendingPermissions: AgentPermissionRequest[];
14914
14939
  thinkingOptionId?: string | null | undefined;
14915
14940
  labels?: Record<string, string> | undefined;
14916
14941
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -19552,6 +19577,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19552
19577
  }>, "many">>;
19553
19578
  git: z.ZodOptional<z.ZodObject<{
19554
19579
  baseBranch: z.ZodOptional<z.ZodString>;
19580
+ baseBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
19555
19581
  remoteName: z.ZodOptional<z.ZodString>;
19556
19582
  createNewBranch: z.ZodOptional<z.ZodBoolean>;
19557
19583
  newBranchName: z.ZodOptional<z.ZodString>;
@@ -19559,15 +19585,17 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19559
19585
  worktreeSlug: z.ZodOptional<z.ZodString>;
19560
19586
  }, "strip", z.ZodTypeAny, {
19561
19587
  baseBranch?: string | undefined;
19562
- worktreeSlug?: string | undefined;
19588
+ baseBranchSource?: "local" | "remote" | undefined;
19563
19589
  remoteName?: string | undefined;
19590
+ worktreeSlug?: string | undefined;
19564
19591
  createNewBranch?: boolean | undefined;
19565
19592
  newBranchName?: string | undefined;
19566
19593
  createWorktree?: boolean | undefined;
19567
19594
  }, {
19568
19595
  baseBranch?: string | undefined;
19569
- worktreeSlug?: string | undefined;
19596
+ baseBranchSource?: "local" | "remote" | undefined;
19570
19597
  remoteName?: string | undefined;
19598
+ worktreeSlug?: string | undefined;
19571
19599
  createNewBranch?: boolean | undefined;
19572
19600
  newBranchName?: string | undefined;
19573
19601
  createWorktree?: boolean | undefined;
@@ -19632,8 +19660,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19632
19660
  } | undefined;
19633
19661
  git?: {
19634
19662
  baseBranch?: string | undefined;
19635
- worktreeSlug?: string | undefined;
19663
+ baseBranchSource?: "local" | "remote" | undefined;
19636
19664
  remoteName?: string | undefined;
19665
+ worktreeSlug?: string | undefined;
19637
19666
  createNewBranch?: boolean | undefined;
19638
19667
  newBranchName?: string | undefined;
19639
19668
  createWorktree?: boolean | undefined;
@@ -19695,8 +19724,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19695
19724
  } | undefined;
19696
19725
  git?: {
19697
19726
  baseBranch?: string | undefined;
19698
- worktreeSlug?: string | undefined;
19727
+ baseBranchSource?: "local" | "remote" | undefined;
19699
19728
  remoteName?: string | undefined;
19729
+ worktreeSlug?: string | undefined;
19700
19730
  createNewBranch?: boolean | undefined;
19701
19731
  newBranchName?: string | undefined;
19702
19732
  createWorktree?: boolean | undefined;
@@ -20221,16 +20251,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20221
20251
  type: "checkout_pr_create_request";
20222
20252
  requestId: string;
20223
20253
  title?: string | undefined;
20224
- body?: string | undefined;
20225
20254
  remoteName?: string | undefined;
20255
+ body?: string | undefined;
20226
20256
  baseRef?: string | undefined;
20227
20257
  }, {
20228
20258
  cwd: string;
20229
20259
  type: "checkout_pr_create_request";
20230
20260
  requestId: string;
20231
20261
  title?: string | undefined;
20232
- body?: string | undefined;
20233
20262
  remoteName?: string | undefined;
20263
+ body?: string | undefined;
20234
20264
  baseRef?: string | undefined;
20235
20265
  }>, z.ZodObject<{
20236
20266
  type: z.ZodLiteral<"checkout_pr_status_request">;
@@ -20303,22 +20333,28 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20303
20333
  cwd: z.ZodString;
20304
20334
  query: z.ZodOptional<z.ZodString>;
20305
20335
  limit: z.ZodOptional<z.ZodNumber>;
20336
+ preferredBranches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20337
+ source: z.ZodOptional<z.ZodEnum<["all", "local", "remote"]>>;
20306
20338
  remoteName: z.ZodOptional<z.ZodString>;
20307
20339
  requestId: z.ZodString;
20308
20340
  }, "strip", z.ZodTypeAny, {
20309
20341
  cwd: string;
20310
20342
  type: "branch_suggestions_request";
20311
20343
  requestId: string;
20344
+ remoteName?: string | undefined;
20312
20345
  limit?: number | undefined;
20313
20346
  query?: string | undefined;
20314
- remoteName?: string | undefined;
20347
+ source?: "local" | "remote" | "all" | undefined;
20348
+ preferredBranches?: string[] | undefined;
20315
20349
  }, {
20316
20350
  cwd: string;
20317
20351
  type: "branch_suggestions_request";
20318
20352
  requestId: string;
20353
+ remoteName?: string | undefined;
20319
20354
  limit?: number | undefined;
20320
20355
  query?: string | undefined;
20321
- remoteName?: string | undefined;
20356
+ source?: "local" | "remote" | "all" | undefined;
20357
+ preferredBranches?: string[] | undefined;
20322
20358
  }>, z.ZodObject<{
20323
20359
  type: z.ZodLiteral<"git_remotes_request">;
20324
20360
  cwd: z.ZodString;
@@ -20964,8 +21000,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20964
21000
  } | undefined;
20965
21001
  git?: {
20966
21002
  baseBranch?: string | undefined;
20967
- worktreeSlug?: string | undefined;
21003
+ baseBranchSource?: "local" | "remote" | undefined;
20968
21004
  remoteName?: string | undefined;
21005
+ worktreeSlug?: string | undefined;
20969
21006
  createNewBranch?: boolean | undefined;
20970
21007
  newBranchName?: string | undefined;
20971
21008
  createWorktree?: boolean | undefined;
@@ -21110,8 +21147,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21110
21147
  type: "checkout_pr_create_request";
21111
21148
  requestId: string;
21112
21149
  title?: string | undefined;
21113
- body?: string | undefined;
21114
21150
  remoteName?: string | undefined;
21151
+ body?: string | undefined;
21115
21152
  baseRef?: string | undefined;
21116
21153
  } | {
21117
21154
  cwd: string;
@@ -21139,9 +21176,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21139
21176
  cwd: string;
21140
21177
  type: "branch_suggestions_request";
21141
21178
  requestId: string;
21179
+ remoteName?: string | undefined;
21142
21180
  limit?: number | undefined;
21143
21181
  query?: string | undefined;
21144
- remoteName?: string | undefined;
21182
+ source?: "local" | "remote" | "all" | undefined;
21183
+ preferredBranches?: string[] | undefined;
21145
21184
  } | {
21146
21185
  cwd: string;
21147
21186
  type: "git_remotes_request";
@@ -21432,8 +21471,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21432
21471
  } | undefined;
21433
21472
  git?: {
21434
21473
  baseBranch?: string | undefined;
21435
- worktreeSlug?: string | undefined;
21474
+ baseBranchSource?: "local" | "remote" | undefined;
21436
21475
  remoteName?: string | undefined;
21476
+ worktreeSlug?: string | undefined;
21437
21477
  createNewBranch?: boolean | undefined;
21438
21478
  newBranchName?: string | undefined;
21439
21479
  createWorktree?: boolean | undefined;
@@ -21578,8 +21618,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21578
21618
  type: "checkout_pr_create_request";
21579
21619
  requestId: string;
21580
21620
  title?: string | undefined;
21581
- body?: string | undefined;
21582
21621
  remoteName?: string | undefined;
21622
+ body?: string | undefined;
21583
21623
  baseRef?: string | undefined;
21584
21624
  } | {
21585
21625
  cwd: string;
@@ -21607,9 +21647,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21607
21647
  cwd: string;
21608
21648
  type: "branch_suggestions_request";
21609
21649
  requestId: string;
21650
+ remoteName?: string | undefined;
21610
21651
  limit?: number | undefined;
21611
21652
  query?: string | undefined;
21612
- remoteName?: string | undefined;
21653
+ source?: "local" | "remote" | "all" | undefined;
21654
+ preferredBranches?: string[] | undefined;
21613
21655
  } | {
21614
21656
  cwd: string;
21615
21657
  type: "git_remotes_request";
@@ -22003,10 +22045,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22003
22045
  lastUserMessageAt: string | null;
22004
22046
  labels: Record<string, string>;
22005
22047
  persistence: AgentPersistenceHandle | null;
22048
+ pendingPermissions: AgentPermissionRequest[];
22006
22049
  capabilities: AgentCapabilityFlags;
22007
22050
  currentModeId: string | null;
22008
22051
  availableModes: AgentMode[];
22009
- pendingPermissions: AgentPermissionRequest[];
22010
22052
  thinkingOptionId?: string | null | undefined;
22011
22053
  runtimeInfo?: AgentRuntimeInfo | undefined;
22012
22054
  requiresAttention?: boolean | undefined;
@@ -22027,10 +22069,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22027
22069
  updatedAt: string;
22028
22070
  lastUserMessageAt: string | null;
22029
22071
  persistence: AgentPersistenceHandle | null;
22072
+ pendingPermissions: AgentPermissionRequest[];
22030
22073
  capabilities: AgentCapabilityFlags;
22031
22074
  currentModeId: string | null;
22032
22075
  availableModes: AgentMode[];
22033
- pendingPermissions: AgentPermissionRequest[];
22034
22076
  thinkingOptionId?: string | null | undefined;
22035
22077
  labels?: Record<string, string> | undefined;
22036
22078
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22174,10 +22216,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22174
22216
  lastUserMessageAt: string | null;
22175
22217
  labels: Record<string, string>;
22176
22218
  persistence: AgentPersistenceHandle | null;
22219
+ pendingPermissions: AgentPermissionRequest[];
22177
22220
  capabilities: AgentCapabilityFlags;
22178
22221
  currentModeId: string | null;
22179
22222
  availableModes: AgentMode[];
22180
- pendingPermissions: AgentPermissionRequest[];
22181
22223
  thinkingOptionId?: string | null | undefined;
22182
22224
  runtimeInfo?: AgentRuntimeInfo | undefined;
22183
22225
  requiresAttention?: boolean | undefined;
@@ -22227,10 +22269,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22227
22269
  updatedAt: string;
22228
22270
  lastUserMessageAt: string | null;
22229
22271
  persistence: AgentPersistenceHandle | null;
22272
+ pendingPermissions: AgentPermissionRequest[];
22230
22273
  capabilities: AgentCapabilityFlags;
22231
22274
  currentModeId: string | null;
22232
22275
  availableModes: AgentMode[];
22233
- pendingPermissions: AgentPermissionRequest[];
22234
22276
  thinkingOptionId?: string | null | undefined;
22235
22277
  labels?: Record<string, string> | undefined;
22236
22278
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22294,10 +22336,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22294
22336
  lastUserMessageAt: string | null;
22295
22337
  labels: Record<string, string>;
22296
22338
  persistence: AgentPersistenceHandle | null;
22339
+ pendingPermissions: AgentPermissionRequest[];
22297
22340
  capabilities: AgentCapabilityFlags;
22298
22341
  currentModeId: string | null;
22299
22342
  availableModes: AgentMode[];
22300
- pendingPermissions: AgentPermissionRequest[];
22301
22343
  thinkingOptionId?: string | null | undefined;
22302
22344
  runtimeInfo?: AgentRuntimeInfo | undefined;
22303
22345
  requiresAttention?: boolean | undefined;
@@ -22353,10 +22395,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22353
22395
  updatedAt: string;
22354
22396
  lastUserMessageAt: string | null;
22355
22397
  persistence: AgentPersistenceHandle | null;
22398
+ pendingPermissions: AgentPermissionRequest[];
22356
22399
  capabilities: AgentCapabilityFlags;
22357
22400
  currentModeId: string | null;
22358
22401
  availableModes: AgentMode[];
22359
- pendingPermissions: AgentPermissionRequest[];
22360
22402
  thinkingOptionId?: string | null | undefined;
22361
22403
  labels?: Record<string, string> | undefined;
22362
22404
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22832,10 +22874,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22832
22874
  lastUserMessageAt: string | null;
22833
22875
  labels: Record<string, string>;
22834
22876
  persistence: AgentPersistenceHandle | null;
22877
+ pendingPermissions: AgentPermissionRequest[];
22835
22878
  capabilities: AgentCapabilityFlags;
22836
22879
  currentModeId: string | null;
22837
22880
  availableModes: AgentMode[];
22838
- pendingPermissions: AgentPermissionRequest[];
22839
22881
  thinkingOptionId?: string | null | undefined;
22840
22882
  runtimeInfo?: AgentRuntimeInfo | undefined;
22841
22883
  requiresAttention?: boolean | undefined;
@@ -22856,10 +22898,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22856
22898
  updatedAt: string;
22857
22899
  lastUserMessageAt: string | null;
22858
22900
  persistence: AgentPersistenceHandle | null;
22901
+ pendingPermissions: AgentPermissionRequest[];
22859
22902
  capabilities: AgentCapabilityFlags;
22860
22903
  currentModeId: string | null;
22861
22904
  availableModes: AgentMode[];
22862
- pendingPermissions: AgentPermissionRequest[];
22863
22905
  thinkingOptionId?: string | null | undefined;
22864
22906
  labels?: Record<string, string> | undefined;
22865
22907
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22886,10 +22928,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22886
22928
  lastUserMessageAt: string | null;
22887
22929
  labels: Record<string, string>;
22888
22930
  persistence: AgentPersistenceHandle | null;
22931
+ pendingPermissions: AgentPermissionRequest[];
22889
22932
  capabilities: AgentCapabilityFlags;
22890
22933
  currentModeId: string | null;
22891
22934
  availableModes: AgentMode[];
22892
- pendingPermissions: AgentPermissionRequest[];
22893
22935
  thinkingOptionId?: string | null | undefined;
22894
22936
  runtimeInfo?: AgentRuntimeInfo | undefined;
22895
22937
  requiresAttention?: boolean | undefined;
@@ -22914,10 +22956,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22914
22956
  updatedAt: string;
22915
22957
  lastUserMessageAt: string | null;
22916
22958
  persistence: AgentPersistenceHandle | null;
22959
+ pendingPermissions: AgentPermissionRequest[];
22917
22960
  capabilities: AgentCapabilityFlags;
22918
22961
  currentModeId: string | null;
22919
22962
  availableModes: AgentMode[];
22920
- pendingPermissions: AgentPermissionRequest[];
22921
22963
  thinkingOptionId?: string | null | undefined;
22922
22964
  labels?: Record<string, string> | undefined;
22923
22965
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -22947,10 +22989,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22947
22989
  lastUserMessageAt: string | null;
22948
22990
  labels: Record<string, string>;
22949
22991
  persistence: AgentPersistenceHandle | null;
22992
+ pendingPermissions: AgentPermissionRequest[];
22950
22993
  capabilities: AgentCapabilityFlags;
22951
22994
  currentModeId: string | null;
22952
22995
  availableModes: AgentMode[];
22953
- pendingPermissions: AgentPermissionRequest[];
22954
22996
  thinkingOptionId?: string | null | undefined;
22955
22997
  runtimeInfo?: AgentRuntimeInfo | undefined;
22956
22998
  requiresAttention?: boolean | undefined;
@@ -22978,10 +23020,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22978
23020
  updatedAt: string;
22979
23021
  lastUserMessageAt: string | null;
22980
23022
  persistence: AgentPersistenceHandle | null;
23023
+ pendingPermissions: AgentPermissionRequest[];
22981
23024
  capabilities: AgentCapabilityFlags;
22982
23025
  currentModeId: string | null;
22983
23026
  availableModes: AgentMode[];
22984
- pendingPermissions: AgentPermissionRequest[];
22985
23027
  thinkingOptionId?: string | null | undefined;
22986
23028
  labels?: Record<string, string> | undefined;
22987
23029
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23037,10 +23079,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23037
23079
  lastUserMessageAt: string | null;
23038
23080
  labels: Record<string, string>;
23039
23081
  persistence: AgentPersistenceHandle | null;
23082
+ pendingPermissions: AgentPermissionRequest[];
23040
23083
  capabilities: AgentCapabilityFlags;
23041
23084
  currentModeId: string | null;
23042
23085
  availableModes: AgentMode[];
23043
- pendingPermissions: AgentPermissionRequest[];
23044
23086
  thinkingOptionId?: string | null | undefined;
23045
23087
  runtimeInfo?: AgentRuntimeInfo | undefined;
23046
23088
  requiresAttention?: boolean | undefined;
@@ -23061,10 +23103,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23061
23103
  updatedAt: string;
23062
23104
  lastUserMessageAt: string | null;
23063
23105
  persistence: AgentPersistenceHandle | null;
23106
+ pendingPermissions: AgentPermissionRequest[];
23064
23107
  capabilities: AgentCapabilityFlags;
23065
23108
  currentModeId: string | null;
23066
23109
  availableModes: AgentMode[];
23067
- pendingPermissions: AgentPermissionRequest[];
23068
23110
  thinkingOptionId?: string | null | undefined;
23069
23111
  labels?: Record<string, string> | undefined;
23070
23112
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23207,10 +23249,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23207
23249
  lastUserMessageAt: string | null;
23208
23250
  labels: Record<string, string>;
23209
23251
  persistence: AgentPersistenceHandle | null;
23252
+ pendingPermissions: AgentPermissionRequest[];
23210
23253
  capabilities: AgentCapabilityFlags;
23211
23254
  currentModeId: string | null;
23212
23255
  availableModes: AgentMode[];
23213
- pendingPermissions: AgentPermissionRequest[];
23214
23256
  thinkingOptionId?: string | null | undefined;
23215
23257
  runtimeInfo?: AgentRuntimeInfo | undefined;
23216
23258
  requiresAttention?: boolean | undefined;
@@ -23259,10 +23301,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23259
23301
  updatedAt: string;
23260
23302
  lastUserMessageAt: string | null;
23261
23303
  persistence: AgentPersistenceHandle | null;
23304
+ pendingPermissions: AgentPermissionRequest[];
23262
23305
  capabilities: AgentCapabilityFlags;
23263
23306
  currentModeId: string | null;
23264
23307
  availableModes: AgentMode[];
23265
- pendingPermissions: AgentPermissionRequest[];
23266
23308
  thinkingOptionId?: string | null | undefined;
23267
23309
  labels?: Record<string, string> | undefined;
23268
23310
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23328,10 +23370,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23328
23370
  lastUserMessageAt: string | null;
23329
23371
  labels: Record<string, string>;
23330
23372
  persistence: AgentPersistenceHandle | null;
23373
+ pendingPermissions: AgentPermissionRequest[];
23331
23374
  capabilities: AgentCapabilityFlags;
23332
23375
  currentModeId: string | null;
23333
23376
  availableModes: AgentMode[];
23334
- pendingPermissions: AgentPermissionRequest[];
23335
23377
  thinkingOptionId?: string | null | undefined;
23336
23378
  runtimeInfo?: AgentRuntimeInfo | undefined;
23337
23379
  requiresAttention?: boolean | undefined;
@@ -23389,10 +23431,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23389
23431
  updatedAt: string;
23390
23432
  lastUserMessageAt: string | null;
23391
23433
  persistence: AgentPersistenceHandle | null;
23434
+ pendingPermissions: AgentPermissionRequest[];
23392
23435
  capabilities: AgentCapabilityFlags;
23393
23436
  currentModeId: string | null;
23394
23437
  availableModes: AgentMode[];
23395
- pendingPermissions: AgentPermissionRequest[];
23396
23438
  thinkingOptionId?: string | null | undefined;
23397
23439
  labels?: Record<string, string> | undefined;
23398
23440
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23455,10 +23497,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23455
23497
  lastUserMessageAt: string | null;
23456
23498
  labels: Record<string, string>;
23457
23499
  persistence: AgentPersistenceHandle | null;
23500
+ pendingPermissions: AgentPermissionRequest[];
23458
23501
  capabilities: AgentCapabilityFlags;
23459
23502
  currentModeId: string | null;
23460
23503
  availableModes: AgentMode[];
23461
- pendingPermissions: AgentPermissionRequest[];
23462
23504
  thinkingOptionId?: string | null | undefined;
23463
23505
  runtimeInfo?: AgentRuntimeInfo | undefined;
23464
23506
  requiresAttention?: boolean | undefined;
@@ -23519,10 +23561,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23519
23561
  updatedAt: string;
23520
23562
  lastUserMessageAt: string | null;
23521
23563
  persistence: AgentPersistenceHandle | null;
23564
+ pendingPermissions: AgentPermissionRequest[];
23522
23565
  capabilities: AgentCapabilityFlags;
23523
23566
  currentModeId: string | null;
23524
23567
  availableModes: AgentMode[];
23525
- pendingPermissions: AgentPermissionRequest[];
23526
23568
  thinkingOptionId?: string | null | undefined;
23527
23569
  labels?: Record<string, string> | undefined;
23528
23570
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23610,10 +23652,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23610
23652
  lastUserMessageAt: string | null;
23611
23653
  labels: Record<string, string>;
23612
23654
  persistence: AgentPersistenceHandle | null;
23655
+ pendingPermissions: AgentPermissionRequest[];
23613
23656
  capabilities: AgentCapabilityFlags;
23614
23657
  currentModeId: string | null;
23615
23658
  availableModes: AgentMode[];
23616
- pendingPermissions: AgentPermissionRequest[];
23617
23659
  thinkingOptionId?: string | null | undefined;
23618
23660
  runtimeInfo?: AgentRuntimeInfo | undefined;
23619
23661
  requiresAttention?: boolean | undefined;
@@ -23634,10 +23676,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23634
23676
  updatedAt: string;
23635
23677
  lastUserMessageAt: string | null;
23636
23678
  persistence: AgentPersistenceHandle | null;
23679
+ pendingPermissions: AgentPermissionRequest[];
23637
23680
  capabilities: AgentCapabilityFlags;
23638
23681
  currentModeId: string | null;
23639
23682
  availableModes: AgentMode[];
23640
- pendingPermissions: AgentPermissionRequest[];
23641
23683
  thinkingOptionId?: string | null | undefined;
23642
23684
  labels?: Record<string, string> | undefined;
23643
23685
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23783,10 +23825,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23783
23825
  lastUserMessageAt: string | null;
23784
23826
  labels: Record<string, string>;
23785
23827
  persistence: AgentPersistenceHandle | null;
23828
+ pendingPermissions: AgentPermissionRequest[];
23786
23829
  capabilities: AgentCapabilityFlags;
23787
23830
  currentModeId: string | null;
23788
23831
  availableModes: AgentMode[];
23789
- pendingPermissions: AgentPermissionRequest[];
23790
23832
  thinkingOptionId?: string | null | undefined;
23791
23833
  runtimeInfo?: AgentRuntimeInfo | undefined;
23792
23834
  requiresAttention?: boolean | undefined;
@@ -23837,10 +23879,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23837
23879
  updatedAt: string;
23838
23880
  lastUserMessageAt: string | null;
23839
23881
  persistence: AgentPersistenceHandle | null;
23882
+ pendingPermissions: AgentPermissionRequest[];
23840
23883
  capabilities: AgentCapabilityFlags;
23841
23884
  currentModeId: string | null;
23842
23885
  availableModes: AgentMode[];
23843
- pendingPermissions: AgentPermissionRequest[];
23844
23886
  thinkingOptionId?: string | null | undefined;
23845
23887
  labels?: Record<string, string> | undefined;
23846
23888
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -23896,10 +23938,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23896
23938
  lastUserMessageAt: string | null;
23897
23939
  labels: Record<string, string>;
23898
23940
  persistence: AgentPersistenceHandle | null;
23941
+ pendingPermissions: AgentPermissionRequest[];
23899
23942
  capabilities: AgentCapabilityFlags;
23900
23943
  currentModeId: string | null;
23901
23944
  availableModes: AgentMode[];
23902
- pendingPermissions: AgentPermissionRequest[];
23903
23945
  thinkingOptionId?: string | null | undefined;
23904
23946
  runtimeInfo?: AgentRuntimeInfo | undefined;
23905
23947
  requiresAttention?: boolean | undefined;
@@ -23953,10 +23995,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23953
23995
  updatedAt: string;
23954
23996
  lastUserMessageAt: string | null;
23955
23997
  persistence: AgentPersistenceHandle | null;
23998
+ pendingPermissions: AgentPermissionRequest[];
23956
23999
  capabilities: AgentCapabilityFlags;
23957
24000
  currentModeId: string | null;
23958
24001
  availableModes: AgentMode[];
23959
- pendingPermissions: AgentPermissionRequest[];
23960
24002
  thinkingOptionId?: string | null | undefined;
23961
24003
  labels?: Record<string, string> | undefined;
23962
24004
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -24483,10 +24525,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24483
24525
  lastUserMessageAt: string | null;
24484
24526
  labels: Record<string, string>;
24485
24527
  persistence: AgentPersistenceHandle | null;
24528
+ pendingPermissions: AgentPermissionRequest[];
24486
24529
  capabilities: AgentCapabilityFlags;
24487
24530
  currentModeId: string | null;
24488
24531
  availableModes: AgentMode[];
24489
- pendingPermissions: AgentPermissionRequest[];
24490
24532
  thinkingOptionId?: string | null | undefined;
24491
24533
  runtimeInfo?: AgentRuntimeInfo | undefined;
24492
24534
  requiresAttention?: boolean | undefined;
@@ -24507,10 +24549,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24507
24549
  updatedAt: string;
24508
24550
  lastUserMessageAt: string | null;
24509
24551
  persistence: AgentPersistenceHandle | null;
24552
+ pendingPermissions: AgentPermissionRequest[];
24510
24553
  capabilities: AgentCapabilityFlags;
24511
24554
  currentModeId: string | null;
24512
24555
  availableModes: AgentMode[];
24513
- pendingPermissions: AgentPermissionRequest[];
24514
24556
  thinkingOptionId?: string | null | undefined;
24515
24557
  labels?: Record<string, string> | undefined;
24516
24558
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -24540,10 +24582,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24540
24582
  lastUserMessageAt: string | null;
24541
24583
  labels: Record<string, string>;
24542
24584
  persistence: AgentPersistenceHandle | null;
24585
+ pendingPermissions: AgentPermissionRequest[];
24543
24586
  capabilities: AgentCapabilityFlags;
24544
24587
  currentModeId: string | null;
24545
24588
  availableModes: AgentMode[];
24546
- pendingPermissions: AgentPermissionRequest[];
24547
24589
  thinkingOptionId?: string | null | undefined;
24548
24590
  runtimeInfo?: AgentRuntimeInfo | undefined;
24549
24591
  requiresAttention?: boolean | undefined;
@@ -24570,10 +24612,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24570
24612
  updatedAt: string;
24571
24613
  lastUserMessageAt: string | null;
24572
24614
  persistence: AgentPersistenceHandle | null;
24615
+ pendingPermissions: AgentPermissionRequest[];
24573
24616
  capabilities: AgentCapabilityFlags;
24574
24617
  currentModeId: string | null;
24575
24618
  availableModes: AgentMode[];
24576
- pendingPermissions: AgentPermissionRequest[];
24577
24619
  thinkingOptionId?: string | null | undefined;
24578
24620
  labels?: Record<string, string> | undefined;
24579
24621
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -24605,10 +24647,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24605
24647
  lastUserMessageAt: string | null;
24606
24648
  labels: Record<string, string>;
24607
24649
  persistence: AgentPersistenceHandle | null;
24650
+ pendingPermissions: AgentPermissionRequest[];
24608
24651
  capabilities: AgentCapabilityFlags;
24609
24652
  currentModeId: string | null;
24610
24653
  availableModes: AgentMode[];
24611
- pendingPermissions: AgentPermissionRequest[];
24612
24654
  thinkingOptionId?: string | null | undefined;
24613
24655
  runtimeInfo?: AgentRuntimeInfo | undefined;
24614
24656
  requiresAttention?: boolean | undefined;
@@ -24638,10 +24680,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24638
24680
  updatedAt: string;
24639
24681
  lastUserMessageAt: string | null;
24640
24682
  persistence: AgentPersistenceHandle | null;
24683
+ pendingPermissions: AgentPermissionRequest[];
24641
24684
  capabilities: AgentCapabilityFlags;
24642
24685
  currentModeId: string | null;
24643
24686
  availableModes: AgentMode[];
24644
- pendingPermissions: AgentPermissionRequest[];
24645
24687
  thinkingOptionId?: string | null | undefined;
24646
24688
  labels?: Record<string, string> | undefined;
24647
24689
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -28731,10 +28773,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28731
28773
  lastUserMessageAt: string | null;
28732
28774
  labels: Record<string, string>;
28733
28775
  persistence: AgentPersistenceHandle | null;
28776
+ pendingPermissions: AgentPermissionRequest[];
28734
28777
  capabilities: AgentCapabilityFlags;
28735
28778
  currentModeId: string | null;
28736
28779
  availableModes: AgentMode[];
28737
- pendingPermissions: AgentPermissionRequest[];
28738
28780
  thinkingOptionId?: string | null | undefined;
28739
28781
  runtimeInfo?: AgentRuntimeInfo | undefined;
28740
28782
  requiresAttention?: boolean | undefined;
@@ -28848,10 +28890,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28848
28890
  lastUserMessageAt: string | null;
28849
28891
  labels: Record<string, string>;
28850
28892
  persistence: AgentPersistenceHandle | null;
28893
+ pendingPermissions: AgentPermissionRequest[];
28851
28894
  capabilities: AgentCapabilityFlags;
28852
28895
  currentModeId: string | null;
28853
28896
  availableModes: AgentMode[];
28854
- pendingPermissions: AgentPermissionRequest[];
28855
28897
  thinkingOptionId?: string | null | undefined;
28856
28898
  runtimeInfo?: AgentRuntimeInfo | undefined;
28857
28899
  requiresAttention?: boolean | undefined;
@@ -28879,10 +28921,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28879
28921
  lastUserMessageAt: string | null;
28880
28922
  labels: Record<string, string>;
28881
28923
  persistence: AgentPersistenceHandle | null;
28924
+ pendingPermissions: AgentPermissionRequest[];
28882
28925
  capabilities: AgentCapabilityFlags;
28883
28926
  currentModeId: string | null;
28884
28927
  availableModes: AgentMode[];
28885
- pendingPermissions: AgentPermissionRequest[];
28886
28928
  thinkingOptionId?: string | null | undefined;
28887
28929
  runtimeInfo?: AgentRuntimeInfo | undefined;
28888
28930
  requiresAttention?: boolean | undefined;
@@ -28945,10 +28987,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28945
28987
  lastUserMessageAt: string | null;
28946
28988
  labels: Record<string, string>;
28947
28989
  persistence: AgentPersistenceHandle | null;
28990
+ pendingPermissions: AgentPermissionRequest[];
28948
28991
  capabilities: AgentCapabilityFlags;
28949
28992
  currentModeId: string | null;
28950
28993
  availableModes: AgentMode[];
28951
- pendingPermissions: AgentPermissionRequest[];
28952
28994
  thinkingOptionId?: string | null | undefined;
28953
28995
  runtimeInfo?: AgentRuntimeInfo | undefined;
28954
28996
  requiresAttention?: boolean | undefined;
@@ -29052,10 +29094,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29052
29094
  lastUserMessageAt: string | null;
29053
29095
  labels: Record<string, string>;
29054
29096
  persistence: AgentPersistenceHandle | null;
29097
+ pendingPermissions: AgentPermissionRequest[];
29055
29098
  capabilities: AgentCapabilityFlags;
29056
29099
  currentModeId: string | null;
29057
29100
  availableModes: AgentMode[];
29058
- pendingPermissions: AgentPermissionRequest[];
29059
29101
  thinkingOptionId?: string | null | undefined;
29060
29102
  runtimeInfo?: AgentRuntimeInfo | undefined;
29061
29103
  requiresAttention?: boolean | undefined;
@@ -29866,10 +29908,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29866
29908
  updatedAt: string;
29867
29909
  lastUserMessageAt: string | null;
29868
29910
  persistence: AgentPersistenceHandle | null;
29911
+ pendingPermissions: AgentPermissionRequest[];
29869
29912
  capabilities: AgentCapabilityFlags;
29870
29913
  currentModeId: string | null;
29871
29914
  availableModes: AgentMode[];
29872
- pendingPermissions: AgentPermissionRequest[];
29873
29915
  thinkingOptionId?: string | null | undefined;
29874
29916
  labels?: Record<string, string> | undefined;
29875
29917
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -29983,10 +30025,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29983
30025
  updatedAt: string;
29984
30026
  lastUserMessageAt: string | null;
29985
30027
  persistence: AgentPersistenceHandle | null;
30028
+ pendingPermissions: AgentPermissionRequest[];
29986
30029
  capabilities: AgentCapabilityFlags;
29987
30030
  currentModeId: string | null;
29988
30031
  availableModes: AgentMode[];
29989
- pendingPermissions: AgentPermissionRequest[];
29990
30032
  thinkingOptionId?: string | null | undefined;
29991
30033
  labels?: Record<string, string> | undefined;
29992
30034
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -30014,10 +30056,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30014
30056
  updatedAt: string;
30015
30057
  lastUserMessageAt: string | null;
30016
30058
  persistence: AgentPersistenceHandle | null;
30059
+ pendingPermissions: AgentPermissionRequest[];
30017
30060
  capabilities: AgentCapabilityFlags;
30018
30061
  currentModeId: string | null;
30019
30062
  availableModes: AgentMode[];
30020
- pendingPermissions: AgentPermissionRequest[];
30021
30063
  thinkingOptionId?: string | null | undefined;
30022
30064
  labels?: Record<string, string> | undefined;
30023
30065
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -30080,10 +30122,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30080
30122
  updatedAt: string;
30081
30123
  lastUserMessageAt: string | null;
30082
30124
  persistence: AgentPersistenceHandle | null;
30125
+ pendingPermissions: AgentPermissionRequest[];
30083
30126
  capabilities: AgentCapabilityFlags;
30084
30127
  currentModeId: string | null;
30085
30128
  availableModes: AgentMode[];
30086
- pendingPermissions: AgentPermissionRequest[];
30087
30129
  thinkingOptionId?: string | null | undefined;
30088
30130
  labels?: Record<string, string> | undefined;
30089
30131
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -30187,10 +30229,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30187
30229
  updatedAt: string;
30188
30230
  lastUserMessageAt: string | null;
30189
30231
  persistence: AgentPersistenceHandle | null;
30232
+ pendingPermissions: AgentPermissionRequest[];
30190
30233
  capabilities: AgentCapabilityFlags;
30191
30234
  currentModeId: string | null;
30192
30235
  availableModes: AgentMode[];
30193
- pendingPermissions: AgentPermissionRequest[];
30194
30236
  thinkingOptionId?: string | null | undefined;
30195
30237
  labels?: Record<string, string> | undefined;
30196
30238
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -31396,6 +31438,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31396
31438
  }>, "many">>;
31397
31439
  git: z.ZodOptional<z.ZodObject<{
31398
31440
  baseBranch: z.ZodOptional<z.ZodString>;
31441
+ baseBranchSource: z.ZodOptional<z.ZodEnum<["local", "remote"]>>;
31399
31442
  remoteName: z.ZodOptional<z.ZodString>;
31400
31443
  createNewBranch: z.ZodOptional<z.ZodBoolean>;
31401
31444
  newBranchName: z.ZodOptional<z.ZodString>;
@@ -31403,15 +31446,17 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31403
31446
  worktreeSlug: z.ZodOptional<z.ZodString>;
31404
31447
  }, "strip", z.ZodTypeAny, {
31405
31448
  baseBranch?: string | undefined;
31406
- worktreeSlug?: string | undefined;
31449
+ baseBranchSource?: "local" | "remote" | undefined;
31407
31450
  remoteName?: string | undefined;
31451
+ worktreeSlug?: string | undefined;
31408
31452
  createNewBranch?: boolean | undefined;
31409
31453
  newBranchName?: string | undefined;
31410
31454
  createWorktree?: boolean | undefined;
31411
31455
  }, {
31412
31456
  baseBranch?: string | undefined;
31413
- worktreeSlug?: string | undefined;
31457
+ baseBranchSource?: "local" | "remote" | undefined;
31414
31458
  remoteName?: string | undefined;
31459
+ worktreeSlug?: string | undefined;
31415
31460
  createNewBranch?: boolean | undefined;
31416
31461
  newBranchName?: string | undefined;
31417
31462
  createWorktree?: boolean | undefined;
@@ -31476,8 +31521,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31476
31521
  } | undefined;
31477
31522
  git?: {
31478
31523
  baseBranch?: string | undefined;
31479
- worktreeSlug?: string | undefined;
31524
+ baseBranchSource?: "local" | "remote" | undefined;
31480
31525
  remoteName?: string | undefined;
31526
+ worktreeSlug?: string | undefined;
31481
31527
  createNewBranch?: boolean | undefined;
31482
31528
  newBranchName?: string | undefined;
31483
31529
  createWorktree?: boolean | undefined;
@@ -31539,8 +31585,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31539
31585
  } | undefined;
31540
31586
  git?: {
31541
31587
  baseBranch?: string | undefined;
31542
- worktreeSlug?: string | undefined;
31588
+ baseBranchSource?: "local" | "remote" | undefined;
31543
31589
  remoteName?: string | undefined;
31590
+ worktreeSlug?: string | undefined;
31544
31591
  createNewBranch?: boolean | undefined;
31545
31592
  newBranchName?: string | undefined;
31546
31593
  createWorktree?: boolean | undefined;
@@ -32065,16 +32112,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32065
32112
  type: "checkout_pr_create_request";
32066
32113
  requestId: string;
32067
32114
  title?: string | undefined;
32068
- body?: string | undefined;
32069
32115
  remoteName?: string | undefined;
32116
+ body?: string | undefined;
32070
32117
  baseRef?: string | undefined;
32071
32118
  }, {
32072
32119
  cwd: string;
32073
32120
  type: "checkout_pr_create_request";
32074
32121
  requestId: string;
32075
32122
  title?: string | undefined;
32076
- body?: string | undefined;
32077
32123
  remoteName?: string | undefined;
32124
+ body?: string | undefined;
32078
32125
  baseRef?: string | undefined;
32079
32126
  }>, z.ZodObject<{
32080
32127
  type: z.ZodLiteral<"checkout_pr_status_request">;
@@ -32147,22 +32194,28 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32147
32194
  cwd: z.ZodString;
32148
32195
  query: z.ZodOptional<z.ZodString>;
32149
32196
  limit: z.ZodOptional<z.ZodNumber>;
32197
+ preferredBranches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32198
+ source: z.ZodOptional<z.ZodEnum<["all", "local", "remote"]>>;
32150
32199
  remoteName: z.ZodOptional<z.ZodString>;
32151
32200
  requestId: z.ZodString;
32152
32201
  }, "strip", z.ZodTypeAny, {
32153
32202
  cwd: string;
32154
32203
  type: "branch_suggestions_request";
32155
32204
  requestId: string;
32205
+ remoteName?: string | undefined;
32156
32206
  limit?: number | undefined;
32157
32207
  query?: string | undefined;
32158
- remoteName?: string | undefined;
32208
+ source?: "local" | "remote" | "all" | undefined;
32209
+ preferredBranches?: string[] | undefined;
32159
32210
  }, {
32160
32211
  cwd: string;
32161
32212
  type: "branch_suggestions_request";
32162
32213
  requestId: string;
32214
+ remoteName?: string | undefined;
32163
32215
  limit?: number | undefined;
32164
32216
  query?: string | undefined;
32165
- remoteName?: string | undefined;
32217
+ source?: "local" | "remote" | "all" | undefined;
32218
+ preferredBranches?: string[] | undefined;
32166
32219
  }>, z.ZodObject<{
32167
32220
  type: z.ZodLiteral<"git_remotes_request">;
32168
32221
  cwd: z.ZodString;
@@ -32808,8 +32861,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32808
32861
  } | undefined;
32809
32862
  git?: {
32810
32863
  baseBranch?: string | undefined;
32811
- worktreeSlug?: string | undefined;
32864
+ baseBranchSource?: "local" | "remote" | undefined;
32812
32865
  remoteName?: string | undefined;
32866
+ worktreeSlug?: string | undefined;
32813
32867
  createNewBranch?: boolean | undefined;
32814
32868
  newBranchName?: string | undefined;
32815
32869
  createWorktree?: boolean | undefined;
@@ -32954,8 +33008,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32954
33008
  type: "checkout_pr_create_request";
32955
33009
  requestId: string;
32956
33010
  title?: string | undefined;
32957
- body?: string | undefined;
32958
33011
  remoteName?: string | undefined;
33012
+ body?: string | undefined;
32959
33013
  baseRef?: string | undefined;
32960
33014
  } | {
32961
33015
  cwd: string;
@@ -32983,9 +33037,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32983
33037
  cwd: string;
32984
33038
  type: "branch_suggestions_request";
32985
33039
  requestId: string;
33040
+ remoteName?: string | undefined;
32986
33041
  limit?: number | undefined;
32987
33042
  query?: string | undefined;
32988
- remoteName?: string | undefined;
33043
+ source?: "local" | "remote" | "all" | undefined;
33044
+ preferredBranches?: string[] | undefined;
32989
33045
  } | {
32990
33046
  cwd: string;
32991
33047
  type: "git_remotes_request";
@@ -33276,8 +33332,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33276
33332
  } | undefined;
33277
33333
  git?: {
33278
33334
  baseBranch?: string | undefined;
33279
- worktreeSlug?: string | undefined;
33335
+ baseBranchSource?: "local" | "remote" | undefined;
33280
33336
  remoteName?: string | undefined;
33337
+ worktreeSlug?: string | undefined;
33281
33338
  createNewBranch?: boolean | undefined;
33282
33339
  newBranchName?: string | undefined;
33283
33340
  createWorktree?: boolean | undefined;
@@ -33422,8 +33479,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33422
33479
  type: "checkout_pr_create_request";
33423
33480
  requestId: string;
33424
33481
  title?: string | undefined;
33425
- body?: string | undefined;
33426
33482
  remoteName?: string | undefined;
33483
+ body?: string | undefined;
33427
33484
  baseRef?: string | undefined;
33428
33485
  } | {
33429
33486
  cwd: string;
@@ -33451,9 +33508,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
33451
33508
  cwd: string;
33452
33509
  type: "branch_suggestions_request";
33453
33510
  requestId: string;
33511
+ remoteName?: string | undefined;
33454
33512
  limit?: number | undefined;
33455
33513
  query?: string | undefined;
33456
- remoteName?: string | undefined;
33514
+ source?: "local" | "remote" | "all" | undefined;
33515
+ preferredBranches?: string[] | undefined;
33457
33516
  } | {
33458
33517
  cwd: string;
33459
33518
  type: "git_remotes_request";
@@ -33874,10 +33933,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
33874
33933
  lastUserMessageAt: string | null;
33875
33934
  labels: Record<string, string>;
33876
33935
  persistence: AgentPersistenceHandle | null;
33936
+ pendingPermissions: AgentPermissionRequest[];
33877
33937
  capabilities: AgentCapabilityFlags;
33878
33938
  currentModeId: string | null;
33879
33939
  availableModes: AgentMode[];
33880
- pendingPermissions: AgentPermissionRequest[];
33881
33940
  thinkingOptionId?: string | null | undefined;
33882
33941
  runtimeInfo?: AgentRuntimeInfo | undefined;
33883
33942
  requiresAttention?: boolean | undefined;
@@ -33898,10 +33957,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
33898
33957
  updatedAt: string;
33899
33958
  lastUserMessageAt: string | null;
33900
33959
  persistence: AgentPersistenceHandle | null;
33960
+ pendingPermissions: AgentPermissionRequest[];
33901
33961
  capabilities: AgentCapabilityFlags;
33902
33962
  currentModeId: string | null;
33903
33963
  availableModes: AgentMode[];
33904
- pendingPermissions: AgentPermissionRequest[];
33905
33964
  thinkingOptionId?: string | null | undefined;
33906
33965
  labels?: Record<string, string> | undefined;
33907
33966
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34045,10 +34104,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34045
34104
  lastUserMessageAt: string | null;
34046
34105
  labels: Record<string, string>;
34047
34106
  persistence: AgentPersistenceHandle | null;
34107
+ pendingPermissions: AgentPermissionRequest[];
34048
34108
  capabilities: AgentCapabilityFlags;
34049
34109
  currentModeId: string | null;
34050
34110
  availableModes: AgentMode[];
34051
- pendingPermissions: AgentPermissionRequest[];
34052
34111
  thinkingOptionId?: string | null | undefined;
34053
34112
  runtimeInfo?: AgentRuntimeInfo | undefined;
34054
34113
  requiresAttention?: boolean | undefined;
@@ -34098,10 +34157,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34098
34157
  updatedAt: string;
34099
34158
  lastUserMessageAt: string | null;
34100
34159
  persistence: AgentPersistenceHandle | null;
34160
+ pendingPermissions: AgentPermissionRequest[];
34101
34161
  capabilities: AgentCapabilityFlags;
34102
34162
  currentModeId: string | null;
34103
34163
  availableModes: AgentMode[];
34104
- pendingPermissions: AgentPermissionRequest[];
34105
34164
  thinkingOptionId?: string | null | undefined;
34106
34165
  labels?: Record<string, string> | undefined;
34107
34166
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34165,10 +34224,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34165
34224
  lastUserMessageAt: string | null;
34166
34225
  labels: Record<string, string>;
34167
34226
  persistence: AgentPersistenceHandle | null;
34227
+ pendingPermissions: AgentPermissionRequest[];
34168
34228
  capabilities: AgentCapabilityFlags;
34169
34229
  currentModeId: string | null;
34170
34230
  availableModes: AgentMode[];
34171
- pendingPermissions: AgentPermissionRequest[];
34172
34231
  thinkingOptionId?: string | null | undefined;
34173
34232
  runtimeInfo?: AgentRuntimeInfo | undefined;
34174
34233
  requiresAttention?: boolean | undefined;
@@ -34224,10 +34283,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34224
34283
  updatedAt: string;
34225
34284
  lastUserMessageAt: string | null;
34226
34285
  persistence: AgentPersistenceHandle | null;
34286
+ pendingPermissions: AgentPermissionRequest[];
34227
34287
  capabilities: AgentCapabilityFlags;
34228
34288
  currentModeId: string | null;
34229
34289
  availableModes: AgentMode[];
34230
- pendingPermissions: AgentPermissionRequest[];
34231
34290
  thinkingOptionId?: string | null | undefined;
34232
34291
  labels?: Record<string, string> | undefined;
34233
34292
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34703,10 +34762,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34703
34762
  lastUserMessageAt: string | null;
34704
34763
  labels: Record<string, string>;
34705
34764
  persistence: AgentPersistenceHandle | null;
34765
+ pendingPermissions: AgentPermissionRequest[];
34706
34766
  capabilities: AgentCapabilityFlags;
34707
34767
  currentModeId: string | null;
34708
34768
  availableModes: AgentMode[];
34709
- pendingPermissions: AgentPermissionRequest[];
34710
34769
  thinkingOptionId?: string | null | undefined;
34711
34770
  runtimeInfo?: AgentRuntimeInfo | undefined;
34712
34771
  requiresAttention?: boolean | undefined;
@@ -34727,10 +34786,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34727
34786
  updatedAt: string;
34728
34787
  lastUserMessageAt: string | null;
34729
34788
  persistence: AgentPersistenceHandle | null;
34789
+ pendingPermissions: AgentPermissionRequest[];
34730
34790
  capabilities: AgentCapabilityFlags;
34731
34791
  currentModeId: string | null;
34732
34792
  availableModes: AgentMode[];
34733
- pendingPermissions: AgentPermissionRequest[];
34734
34793
  thinkingOptionId?: string | null | undefined;
34735
34794
  labels?: Record<string, string> | undefined;
34736
34795
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34757,10 +34816,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34757
34816
  lastUserMessageAt: string | null;
34758
34817
  labels: Record<string, string>;
34759
34818
  persistence: AgentPersistenceHandle | null;
34819
+ pendingPermissions: AgentPermissionRequest[];
34760
34820
  capabilities: AgentCapabilityFlags;
34761
34821
  currentModeId: string | null;
34762
34822
  availableModes: AgentMode[];
34763
- pendingPermissions: AgentPermissionRequest[];
34764
34823
  thinkingOptionId?: string | null | undefined;
34765
34824
  runtimeInfo?: AgentRuntimeInfo | undefined;
34766
34825
  requiresAttention?: boolean | undefined;
@@ -34785,10 +34844,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34785
34844
  updatedAt: string;
34786
34845
  lastUserMessageAt: string | null;
34787
34846
  persistence: AgentPersistenceHandle | null;
34847
+ pendingPermissions: AgentPermissionRequest[];
34788
34848
  capabilities: AgentCapabilityFlags;
34789
34849
  currentModeId: string | null;
34790
34850
  availableModes: AgentMode[];
34791
- pendingPermissions: AgentPermissionRequest[];
34792
34851
  thinkingOptionId?: string | null | undefined;
34793
34852
  labels?: Record<string, string> | undefined;
34794
34853
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34818,10 +34877,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34818
34877
  lastUserMessageAt: string | null;
34819
34878
  labels: Record<string, string>;
34820
34879
  persistence: AgentPersistenceHandle | null;
34880
+ pendingPermissions: AgentPermissionRequest[];
34821
34881
  capabilities: AgentCapabilityFlags;
34822
34882
  currentModeId: string | null;
34823
34883
  availableModes: AgentMode[];
34824
- pendingPermissions: AgentPermissionRequest[];
34825
34884
  thinkingOptionId?: string | null | undefined;
34826
34885
  runtimeInfo?: AgentRuntimeInfo | undefined;
34827
34886
  requiresAttention?: boolean | undefined;
@@ -34849,10 +34908,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34849
34908
  updatedAt: string;
34850
34909
  lastUserMessageAt: string | null;
34851
34910
  persistence: AgentPersistenceHandle | null;
34911
+ pendingPermissions: AgentPermissionRequest[];
34852
34912
  capabilities: AgentCapabilityFlags;
34853
34913
  currentModeId: string | null;
34854
34914
  availableModes: AgentMode[];
34855
- pendingPermissions: AgentPermissionRequest[];
34856
34915
  thinkingOptionId?: string | null | undefined;
34857
34916
  labels?: Record<string, string> | undefined;
34858
34917
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -34908,10 +34967,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34908
34967
  lastUserMessageAt: string | null;
34909
34968
  labels: Record<string, string>;
34910
34969
  persistence: AgentPersistenceHandle | null;
34970
+ pendingPermissions: AgentPermissionRequest[];
34911
34971
  capabilities: AgentCapabilityFlags;
34912
34972
  currentModeId: string | null;
34913
34973
  availableModes: AgentMode[];
34914
- pendingPermissions: AgentPermissionRequest[];
34915
34974
  thinkingOptionId?: string | null | undefined;
34916
34975
  runtimeInfo?: AgentRuntimeInfo | undefined;
34917
34976
  requiresAttention?: boolean | undefined;
@@ -34932,10 +34991,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34932
34991
  updatedAt: string;
34933
34992
  lastUserMessageAt: string | null;
34934
34993
  persistence: AgentPersistenceHandle | null;
34994
+ pendingPermissions: AgentPermissionRequest[];
34935
34995
  capabilities: AgentCapabilityFlags;
34936
34996
  currentModeId: string | null;
34937
34997
  availableModes: AgentMode[];
34938
- pendingPermissions: AgentPermissionRequest[];
34939
34998
  thinkingOptionId?: string | null | undefined;
34940
34999
  labels?: Record<string, string> | undefined;
34941
35000
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35078,10 +35137,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35078
35137
  lastUserMessageAt: string | null;
35079
35138
  labels: Record<string, string>;
35080
35139
  persistence: AgentPersistenceHandle | null;
35140
+ pendingPermissions: AgentPermissionRequest[];
35081
35141
  capabilities: AgentCapabilityFlags;
35082
35142
  currentModeId: string | null;
35083
35143
  availableModes: AgentMode[];
35084
- pendingPermissions: AgentPermissionRequest[];
35085
35144
  thinkingOptionId?: string | null | undefined;
35086
35145
  runtimeInfo?: AgentRuntimeInfo | undefined;
35087
35146
  requiresAttention?: boolean | undefined;
@@ -35130,10 +35189,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35130
35189
  updatedAt: string;
35131
35190
  lastUserMessageAt: string | null;
35132
35191
  persistence: AgentPersistenceHandle | null;
35192
+ pendingPermissions: AgentPermissionRequest[];
35133
35193
  capabilities: AgentCapabilityFlags;
35134
35194
  currentModeId: string | null;
35135
35195
  availableModes: AgentMode[];
35136
- pendingPermissions: AgentPermissionRequest[];
35137
35196
  thinkingOptionId?: string | null | undefined;
35138
35197
  labels?: Record<string, string> | undefined;
35139
35198
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35199,10 +35258,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35199
35258
  lastUserMessageAt: string | null;
35200
35259
  labels: Record<string, string>;
35201
35260
  persistence: AgentPersistenceHandle | null;
35261
+ pendingPermissions: AgentPermissionRequest[];
35202
35262
  capabilities: AgentCapabilityFlags;
35203
35263
  currentModeId: string | null;
35204
35264
  availableModes: AgentMode[];
35205
- pendingPermissions: AgentPermissionRequest[];
35206
35265
  thinkingOptionId?: string | null | undefined;
35207
35266
  runtimeInfo?: AgentRuntimeInfo | undefined;
35208
35267
  requiresAttention?: boolean | undefined;
@@ -35260,10 +35319,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35260
35319
  updatedAt: string;
35261
35320
  lastUserMessageAt: string | null;
35262
35321
  persistence: AgentPersistenceHandle | null;
35322
+ pendingPermissions: AgentPermissionRequest[];
35263
35323
  capabilities: AgentCapabilityFlags;
35264
35324
  currentModeId: string | null;
35265
35325
  availableModes: AgentMode[];
35266
- pendingPermissions: AgentPermissionRequest[];
35267
35326
  thinkingOptionId?: string | null | undefined;
35268
35327
  labels?: Record<string, string> | undefined;
35269
35328
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35326,10 +35385,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35326
35385
  lastUserMessageAt: string | null;
35327
35386
  labels: Record<string, string>;
35328
35387
  persistence: AgentPersistenceHandle | null;
35388
+ pendingPermissions: AgentPermissionRequest[];
35329
35389
  capabilities: AgentCapabilityFlags;
35330
35390
  currentModeId: string | null;
35331
35391
  availableModes: AgentMode[];
35332
- pendingPermissions: AgentPermissionRequest[];
35333
35392
  thinkingOptionId?: string | null | undefined;
35334
35393
  runtimeInfo?: AgentRuntimeInfo | undefined;
35335
35394
  requiresAttention?: boolean | undefined;
@@ -35390,10 +35449,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35390
35449
  updatedAt: string;
35391
35450
  lastUserMessageAt: string | null;
35392
35451
  persistence: AgentPersistenceHandle | null;
35452
+ pendingPermissions: AgentPermissionRequest[];
35393
35453
  capabilities: AgentCapabilityFlags;
35394
35454
  currentModeId: string | null;
35395
35455
  availableModes: AgentMode[];
35396
- pendingPermissions: AgentPermissionRequest[];
35397
35456
  thinkingOptionId?: string | null | undefined;
35398
35457
  labels?: Record<string, string> | undefined;
35399
35458
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35481,10 +35540,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35481
35540
  lastUserMessageAt: string | null;
35482
35541
  labels: Record<string, string>;
35483
35542
  persistence: AgentPersistenceHandle | null;
35543
+ pendingPermissions: AgentPermissionRequest[];
35484
35544
  capabilities: AgentCapabilityFlags;
35485
35545
  currentModeId: string | null;
35486
35546
  availableModes: AgentMode[];
35487
- pendingPermissions: AgentPermissionRequest[];
35488
35547
  thinkingOptionId?: string | null | undefined;
35489
35548
  runtimeInfo?: AgentRuntimeInfo | undefined;
35490
35549
  requiresAttention?: boolean | undefined;
@@ -35505,10 +35564,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35505
35564
  updatedAt: string;
35506
35565
  lastUserMessageAt: string | null;
35507
35566
  persistence: AgentPersistenceHandle | null;
35567
+ pendingPermissions: AgentPermissionRequest[];
35508
35568
  capabilities: AgentCapabilityFlags;
35509
35569
  currentModeId: string | null;
35510
35570
  availableModes: AgentMode[];
35511
- pendingPermissions: AgentPermissionRequest[];
35512
35571
  thinkingOptionId?: string | null | undefined;
35513
35572
  labels?: Record<string, string> | undefined;
35514
35573
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35654,10 +35713,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35654
35713
  lastUserMessageAt: string | null;
35655
35714
  labels: Record<string, string>;
35656
35715
  persistence: AgentPersistenceHandle | null;
35716
+ pendingPermissions: AgentPermissionRequest[];
35657
35717
  capabilities: AgentCapabilityFlags;
35658
35718
  currentModeId: string | null;
35659
35719
  availableModes: AgentMode[];
35660
- pendingPermissions: AgentPermissionRequest[];
35661
35720
  thinkingOptionId?: string | null | undefined;
35662
35721
  runtimeInfo?: AgentRuntimeInfo | undefined;
35663
35722
  requiresAttention?: boolean | undefined;
@@ -35708,10 +35767,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35708
35767
  updatedAt: string;
35709
35768
  lastUserMessageAt: string | null;
35710
35769
  persistence: AgentPersistenceHandle | null;
35770
+ pendingPermissions: AgentPermissionRequest[];
35711
35771
  capabilities: AgentCapabilityFlags;
35712
35772
  currentModeId: string | null;
35713
35773
  availableModes: AgentMode[];
35714
- pendingPermissions: AgentPermissionRequest[];
35715
35774
  thinkingOptionId?: string | null | undefined;
35716
35775
  labels?: Record<string, string> | undefined;
35717
35776
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -35767,10 +35826,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35767
35826
  lastUserMessageAt: string | null;
35768
35827
  labels: Record<string, string>;
35769
35828
  persistence: AgentPersistenceHandle | null;
35829
+ pendingPermissions: AgentPermissionRequest[];
35770
35830
  capabilities: AgentCapabilityFlags;
35771
35831
  currentModeId: string | null;
35772
35832
  availableModes: AgentMode[];
35773
- pendingPermissions: AgentPermissionRequest[];
35774
35833
  thinkingOptionId?: string | null | undefined;
35775
35834
  runtimeInfo?: AgentRuntimeInfo | undefined;
35776
35835
  requiresAttention?: boolean | undefined;
@@ -35824,10 +35883,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
35824
35883
  updatedAt: string;
35825
35884
  lastUserMessageAt: string | null;
35826
35885
  persistence: AgentPersistenceHandle | null;
35886
+ pendingPermissions: AgentPermissionRequest[];
35827
35887
  capabilities: AgentCapabilityFlags;
35828
35888
  currentModeId: string | null;
35829
35889
  availableModes: AgentMode[];
35830
- pendingPermissions: AgentPermissionRequest[];
35831
35890
  thinkingOptionId?: string | null | undefined;
35832
35891
  labels?: Record<string, string> | undefined;
35833
35892
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -36354,10 +36413,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36354
36413
  lastUserMessageAt: string | null;
36355
36414
  labels: Record<string, string>;
36356
36415
  persistence: AgentPersistenceHandle | null;
36416
+ pendingPermissions: AgentPermissionRequest[];
36357
36417
  capabilities: AgentCapabilityFlags;
36358
36418
  currentModeId: string | null;
36359
36419
  availableModes: AgentMode[];
36360
- pendingPermissions: AgentPermissionRequest[];
36361
36420
  thinkingOptionId?: string | null | undefined;
36362
36421
  runtimeInfo?: AgentRuntimeInfo | undefined;
36363
36422
  requiresAttention?: boolean | undefined;
@@ -36378,10 +36437,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36378
36437
  updatedAt: string;
36379
36438
  lastUserMessageAt: string | null;
36380
36439
  persistence: AgentPersistenceHandle | null;
36440
+ pendingPermissions: AgentPermissionRequest[];
36381
36441
  capabilities: AgentCapabilityFlags;
36382
36442
  currentModeId: string | null;
36383
36443
  availableModes: AgentMode[];
36384
- pendingPermissions: AgentPermissionRequest[];
36385
36444
  thinkingOptionId?: string | null | undefined;
36386
36445
  labels?: Record<string, string> | undefined;
36387
36446
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -36411,10 +36470,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36411
36470
  lastUserMessageAt: string | null;
36412
36471
  labels: Record<string, string>;
36413
36472
  persistence: AgentPersistenceHandle | null;
36473
+ pendingPermissions: AgentPermissionRequest[];
36414
36474
  capabilities: AgentCapabilityFlags;
36415
36475
  currentModeId: string | null;
36416
36476
  availableModes: AgentMode[];
36417
- pendingPermissions: AgentPermissionRequest[];
36418
36477
  thinkingOptionId?: string | null | undefined;
36419
36478
  runtimeInfo?: AgentRuntimeInfo | undefined;
36420
36479
  requiresAttention?: boolean | undefined;
@@ -36441,10 +36500,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36441
36500
  updatedAt: string;
36442
36501
  lastUserMessageAt: string | null;
36443
36502
  persistence: AgentPersistenceHandle | null;
36503
+ pendingPermissions: AgentPermissionRequest[];
36444
36504
  capabilities: AgentCapabilityFlags;
36445
36505
  currentModeId: string | null;
36446
36506
  availableModes: AgentMode[];
36447
- pendingPermissions: AgentPermissionRequest[];
36448
36507
  thinkingOptionId?: string | null | undefined;
36449
36508
  labels?: Record<string, string> | undefined;
36450
36509
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -36476,10 +36535,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36476
36535
  lastUserMessageAt: string | null;
36477
36536
  labels: Record<string, string>;
36478
36537
  persistence: AgentPersistenceHandle | null;
36538
+ pendingPermissions: AgentPermissionRequest[];
36479
36539
  capabilities: AgentCapabilityFlags;
36480
36540
  currentModeId: string | null;
36481
36541
  availableModes: AgentMode[];
36482
- pendingPermissions: AgentPermissionRequest[];
36483
36542
  thinkingOptionId?: string | null | undefined;
36484
36543
  runtimeInfo?: AgentRuntimeInfo | undefined;
36485
36544
  requiresAttention?: boolean | undefined;
@@ -36509,10 +36568,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36509
36568
  updatedAt: string;
36510
36569
  lastUserMessageAt: string | null;
36511
36570
  persistence: AgentPersistenceHandle | null;
36571
+ pendingPermissions: AgentPermissionRequest[];
36512
36572
  capabilities: AgentCapabilityFlags;
36513
36573
  currentModeId: string | null;
36514
36574
  availableModes: AgentMode[];
36515
- pendingPermissions: AgentPermissionRequest[];
36516
36575
  thinkingOptionId?: string | null | undefined;
36517
36576
  labels?: Record<string, string> | undefined;
36518
36577
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -40602,10 +40661,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40602
40661
  lastUserMessageAt: string | null;
40603
40662
  labels: Record<string, string>;
40604
40663
  persistence: AgentPersistenceHandle | null;
40664
+ pendingPermissions: AgentPermissionRequest[];
40605
40665
  capabilities: AgentCapabilityFlags;
40606
40666
  currentModeId: string | null;
40607
40667
  availableModes: AgentMode[];
40608
- pendingPermissions: AgentPermissionRequest[];
40609
40668
  thinkingOptionId?: string | null | undefined;
40610
40669
  runtimeInfo?: AgentRuntimeInfo | undefined;
40611
40670
  requiresAttention?: boolean | undefined;
@@ -40719,10 +40778,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40719
40778
  lastUserMessageAt: string | null;
40720
40779
  labels: Record<string, string>;
40721
40780
  persistence: AgentPersistenceHandle | null;
40781
+ pendingPermissions: AgentPermissionRequest[];
40722
40782
  capabilities: AgentCapabilityFlags;
40723
40783
  currentModeId: string | null;
40724
40784
  availableModes: AgentMode[];
40725
- pendingPermissions: AgentPermissionRequest[];
40726
40785
  thinkingOptionId?: string | null | undefined;
40727
40786
  runtimeInfo?: AgentRuntimeInfo | undefined;
40728
40787
  requiresAttention?: boolean | undefined;
@@ -40750,10 +40809,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40750
40809
  lastUserMessageAt: string | null;
40751
40810
  labels: Record<string, string>;
40752
40811
  persistence: AgentPersistenceHandle | null;
40812
+ pendingPermissions: AgentPermissionRequest[];
40753
40813
  capabilities: AgentCapabilityFlags;
40754
40814
  currentModeId: string | null;
40755
40815
  availableModes: AgentMode[];
40756
- pendingPermissions: AgentPermissionRequest[];
40757
40816
  thinkingOptionId?: string | null | undefined;
40758
40817
  runtimeInfo?: AgentRuntimeInfo | undefined;
40759
40818
  requiresAttention?: boolean | undefined;
@@ -40816,10 +40875,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40816
40875
  lastUserMessageAt: string | null;
40817
40876
  labels: Record<string, string>;
40818
40877
  persistence: AgentPersistenceHandle | null;
40878
+ pendingPermissions: AgentPermissionRequest[];
40819
40879
  capabilities: AgentCapabilityFlags;
40820
40880
  currentModeId: string | null;
40821
40881
  availableModes: AgentMode[];
40822
- pendingPermissions: AgentPermissionRequest[];
40823
40882
  thinkingOptionId?: string | null | undefined;
40824
40883
  runtimeInfo?: AgentRuntimeInfo | undefined;
40825
40884
  requiresAttention?: boolean | undefined;
@@ -40923,10 +40982,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
40923
40982
  lastUserMessageAt: string | null;
40924
40983
  labels: Record<string, string>;
40925
40984
  persistence: AgentPersistenceHandle | null;
40985
+ pendingPermissions: AgentPermissionRequest[];
40926
40986
  capabilities: AgentCapabilityFlags;
40927
40987
  currentModeId: string | null;
40928
40988
  availableModes: AgentMode[];
40929
- pendingPermissions: AgentPermissionRequest[];
40930
40989
  thinkingOptionId?: string | null | undefined;
40931
40990
  runtimeInfo?: AgentRuntimeInfo | undefined;
40932
40991
  requiresAttention?: boolean | undefined;
@@ -41737,10 +41796,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41737
41796
  updatedAt: string;
41738
41797
  lastUserMessageAt: string | null;
41739
41798
  persistence: AgentPersistenceHandle | null;
41799
+ pendingPermissions: AgentPermissionRequest[];
41740
41800
  capabilities: AgentCapabilityFlags;
41741
41801
  currentModeId: string | null;
41742
41802
  availableModes: AgentMode[];
41743
- pendingPermissions: AgentPermissionRequest[];
41744
41803
  thinkingOptionId?: string | null | undefined;
41745
41804
  labels?: Record<string, string> | undefined;
41746
41805
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -41854,10 +41913,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41854
41913
  updatedAt: string;
41855
41914
  lastUserMessageAt: string | null;
41856
41915
  persistence: AgentPersistenceHandle | null;
41916
+ pendingPermissions: AgentPermissionRequest[];
41857
41917
  capabilities: AgentCapabilityFlags;
41858
41918
  currentModeId: string | null;
41859
41919
  availableModes: AgentMode[];
41860
- pendingPermissions: AgentPermissionRequest[];
41861
41920
  thinkingOptionId?: string | null | undefined;
41862
41921
  labels?: Record<string, string> | undefined;
41863
41922
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -41885,10 +41944,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41885
41944
  updatedAt: string;
41886
41945
  lastUserMessageAt: string | null;
41887
41946
  persistence: AgentPersistenceHandle | null;
41947
+ pendingPermissions: AgentPermissionRequest[];
41888
41948
  capabilities: AgentCapabilityFlags;
41889
41949
  currentModeId: string | null;
41890
41950
  availableModes: AgentMode[];
41891
- pendingPermissions: AgentPermissionRequest[];
41892
41951
  thinkingOptionId?: string | null | undefined;
41893
41952
  labels?: Record<string, string> | undefined;
41894
41953
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -41951,10 +42010,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
41951
42010
  updatedAt: string;
41952
42011
  lastUserMessageAt: string | null;
41953
42012
  persistence: AgentPersistenceHandle | null;
42013
+ pendingPermissions: AgentPermissionRequest[];
41954
42014
  capabilities: AgentCapabilityFlags;
41955
42015
  currentModeId: string | null;
41956
42016
  availableModes: AgentMode[];
41957
- pendingPermissions: AgentPermissionRequest[];
41958
42017
  thinkingOptionId?: string | null | undefined;
41959
42018
  labels?: Record<string, string> | undefined;
41960
42019
  runtimeInfo?: AgentRuntimeInfo | undefined;
@@ -42058,10 +42117,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
42058
42117
  updatedAt: string;
42059
42118
  lastUserMessageAt: string | null;
42060
42119
  persistence: AgentPersistenceHandle | null;
42120
+ pendingPermissions: AgentPermissionRequest[];
42061
42121
  capabilities: AgentCapabilityFlags;
42062
42122
  currentModeId: string | null;
42063
42123
  availableModes: AgentMode[];
42064
- pendingPermissions: AgentPermissionRequest[];
42065
42124
  thinkingOptionId?: string | null | undefined;
42066
42125
  labels?: Record<string, string> | undefined;
42067
42126
  runtimeInfo?: AgentRuntimeInfo | undefined;