@junctionpanel/server 0.1.24 → 0.1.25

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 (46) hide show
  1. package/dist/server/client/daemon-client.d.ts +1 -0
  2. package/dist/server/client/daemon-client.d.ts.map +1 -1
  3. package/dist/server/client/daemon-client.js +3 -0
  4. package/dist/server/client/daemon-client.js.map +1 -1
  5. package/dist/server/server/agent/activity-curator.d.ts.map +1 -1
  6. package/dist/server/server/agent/activity-curator.js +4 -0
  7. package/dist/server/server/agent/activity-curator.js.map +1 -1
  8. package/dist/server/server/agent/agent-manager.d.ts +3 -1
  9. package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
  10. package/dist/server/server/agent/agent-manager.js +8 -1
  11. package/dist/server/server/agent/agent-manager.js.map +1 -1
  12. package/dist/server/server/agent/agent-sdk-types.d.ts +14 -1
  13. package/dist/server/server/agent/agent-sdk-types.d.ts.map +1 -1
  14. package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts +24 -0
  15. package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts.map +1 -1
  16. package/dist/server/server/session.d.ts.map +1 -1
  17. package/dist/server/server/session.js +36 -17
  18. package/dist/server/server/session.js.map +1 -1
  19. package/dist/server/server/worktree-bootstrap.d.ts +6 -0
  20. package/dist/server/server/worktree-bootstrap.d.ts.map +1 -1
  21. package/dist/server/server/worktree-bootstrap.js +426 -30
  22. package/dist/server/server/worktree-bootstrap.js.map +1 -1
  23. package/dist/server/shared/bootstrap-setup.d.ts +18 -0
  24. package/dist/server/shared/bootstrap-setup.d.ts.map +1 -0
  25. package/dist/server/shared/bootstrap-setup.js +116 -0
  26. package/dist/server/shared/bootstrap-setup.js.map +1 -0
  27. package/dist/server/shared/messages.d.ts +209 -192
  28. package/dist/server/shared/messages.d.ts.map +1 -1
  29. package/dist/server/shared/messages.js +19 -0
  30. package/dist/server/shared/messages.js.map +1 -1
  31. package/dist/server/shared/tool-call-display.d.ts.map +1 -1
  32. package/dist/server/shared/tool-call-display.js +4 -0
  33. package/dist/server/shared/tool-call-display.js.map +1 -1
  34. package/dist/server/terminal/terminal-manager.d.ts +2 -0
  35. package/dist/server/terminal/terminal-manager.d.ts.map +1 -1
  36. package/dist/server/terminal/terminal-manager.js +2 -0
  37. package/dist/server/terminal/terminal-manager.js.map +1 -1
  38. package/dist/server/terminal/terminal.d.ts +1 -0
  39. package/dist/server/terminal/terminal.d.ts.map +1 -1
  40. package/dist/server/terminal/terminal.js +2 -2
  41. package/dist/server/terminal/terminal.js.map +1 -1
  42. package/dist/server/utils/worktree.d.ts +12 -0
  43. package/dist/server/utils/worktree.d.ts.map +1 -1
  44. package/dist/server/utils/worktree.js +38 -1
  45. package/dist/server/utils/worktree.js.map +1 -1
  46. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import type { BootstrapSetupOverride } from './bootstrap-setup.js';
2
3
  import type { AgentCapabilityFlags, AgentModelDefinition, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, AgentRuntimeInfo, AgentTimelineItem, AgentUsage } from '../server/agent/agent-sdk-types.js';
3
4
  export declare const AgentStatusSchema: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>;
4
5
  export declare const AgentPermissionResponseSchema: z.ZodType<AgentPermissionResponse>;
@@ -196,6 +197,7 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
196
197
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
198
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
199
  }, "strip", z.ZodTypeAny, {
200
+ status: "error" | "initializing" | "idle" | "running" | "closed";
199
201
  id: string;
200
202
  provider: string;
201
203
  cwd: string;
@@ -203,7 +205,6 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
203
205
  updatedAt: string;
204
206
  lastUserMessageAt: string | null;
205
207
  title: string | null;
206
- status: "error" | "initializing" | "idle" | "running" | "closed";
207
208
  labels: Record<string, string>;
208
209
  model: string | null;
209
210
  persistence: AgentPersistenceHandle | null;
@@ -221,6 +222,7 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
221
222
  lastUsage?: AgentUsage | undefined;
222
223
  lastError?: string | undefined;
223
224
  }, {
225
+ status: "error" | "initializing" | "idle" | "running" | "closed";
224
226
  id: string;
225
227
  provider: string;
226
228
  cwd: string;
@@ -228,7 +230,6 @@ export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
228
230
  updatedAt: string;
229
231
  lastUserMessageAt: string | null;
230
232
  title: string | null;
231
- status: "error" | "initializing" | "idle" | "running" | "closed";
232
233
  model: string | null;
233
234
  persistence: AgentPersistenceHandle | null;
234
235
  capabilities: AgentCapabilityFlags;
@@ -695,6 +696,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
695
696
  newBranchName?: string | undefined;
696
697
  createWorktree?: boolean | undefined;
697
698
  }>>;
699
+ bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
698
700
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
699
701
  requestId: z.ZodString;
700
702
  }, "strip", z.ZodTypeAny, {
@@ -747,6 +749,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
747
749
  newBranchName?: string | undefined;
748
750
  createWorktree?: boolean | undefined;
749
751
  } | undefined;
752
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
750
753
  }, {
751
754
  type: "create_agent_request";
752
755
  config: {
@@ -797,6 +800,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
797
800
  newBranchName?: string | undefined;
798
801
  createWorktree?: boolean | undefined;
799
802
  } | undefined;
803
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
800
804
  }>;
801
805
  export declare const ListProviderModelsRequestMessageSchema: z.ZodObject<{
802
806
  type: z.ZodLiteral<"list_provider_models_request">;
@@ -2385,6 +2389,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2385
2389
  newBranchName?: string | undefined;
2386
2390
  createWorktree?: boolean | undefined;
2387
2391
  }>>;
2392
+ bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
2388
2393
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2389
2394
  requestId: z.ZodString;
2390
2395
  }, "strip", z.ZodTypeAny, {
@@ -2437,6 +2442,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2437
2442
  newBranchName?: string | undefined;
2438
2443
  createWorktree?: boolean | undefined;
2439
2444
  } | undefined;
2445
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
2440
2446
  }, {
2441
2447
  type: "create_agent_request";
2442
2448
  config: {
@@ -2487,6 +2493,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2487
2493
  newBranchName?: string | undefined;
2488
2494
  createWorktree?: boolean | undefined;
2489
2495
  } | undefined;
2496
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
2490
2497
  }>, z.ZodObject<{
2491
2498
  type: z.ZodLiteral<"list_provider_models_request">;
2492
2499
  provider: z.ZodEnum<[string, ...string[]]>;
@@ -3738,6 +3745,7 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3738
3745
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3739
3746
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3740
3747
  }, "strip", z.ZodTypeAny, {
3748
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3741
3749
  id: string;
3742
3750
  provider: string;
3743
3751
  cwd: string;
@@ -3745,7 +3753,6 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3745
3753
  updatedAt: string;
3746
3754
  lastUserMessageAt: string | null;
3747
3755
  title: string | null;
3748
- status: "error" | "initializing" | "idle" | "running" | "closed";
3749
3756
  labels: Record<string, string>;
3750
3757
  model: string | null;
3751
3758
  persistence: AgentPersistenceHandle | null;
@@ -3763,6 +3770,7 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3763
3770
  lastUsage?: AgentUsage | undefined;
3764
3771
  lastError?: string | undefined;
3765
3772
  }, {
3773
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3766
3774
  id: string;
3767
3775
  provider: string;
3768
3776
  cwd: string;
@@ -3770,7 +3778,6 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3770
3778
  updatedAt: string;
3771
3779
  lastUserMessageAt: string | null;
3772
3780
  title: string | null;
3773
- status: "error" | "initializing" | "idle" | "running" | "closed";
3774
3781
  model: string | null;
3775
3782
  persistence: AgentPersistenceHandle | null;
3776
3783
  capabilities: AgentCapabilityFlags;
@@ -3796,6 +3803,7 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3796
3803
  status: "agent_created";
3797
3804
  requestId: string;
3798
3805
  agent: {
3806
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3799
3807
  id: string;
3800
3808
  provider: string;
3801
3809
  cwd: string;
@@ -3803,7 +3811,6 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3803
3811
  updatedAt: string;
3804
3812
  lastUserMessageAt: string | null;
3805
3813
  title: string | null;
3806
- status: "error" | "initializing" | "idle" | "running" | "closed";
3807
3814
  labels: Record<string, string>;
3808
3815
  model: string | null;
3809
3816
  persistence: AgentPersistenceHandle | null;
@@ -3826,6 +3833,7 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3826
3833
  status: "agent_created";
3827
3834
  requestId: string;
3828
3835
  agent: {
3836
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3829
3837
  id: string;
3830
3838
  provider: string;
3831
3839
  cwd: string;
@@ -3833,7 +3841,6 @@ export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{
3833
3841
  updatedAt: string;
3834
3842
  lastUserMessageAt: string | null;
3835
3843
  title: string | null;
3836
- status: "error" | "initializing" | "idle" | "running" | "closed";
3837
3844
  model: string | null;
3838
3845
  persistence: AgentPersistenceHandle | null;
3839
3846
  capabilities: AgentCapabilityFlags;
@@ -3893,6 +3900,7 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3893
3900
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3894
3901
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3895
3902
  }, "strip", z.ZodTypeAny, {
3903
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3896
3904
  id: string;
3897
3905
  provider: string;
3898
3906
  cwd: string;
@@ -3900,7 +3908,6 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3900
3908
  updatedAt: string;
3901
3909
  lastUserMessageAt: string | null;
3902
3910
  title: string | null;
3903
- status: "error" | "initializing" | "idle" | "running" | "closed";
3904
3911
  labels: Record<string, string>;
3905
3912
  model: string | null;
3906
3913
  persistence: AgentPersistenceHandle | null;
@@ -3918,6 +3925,7 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3918
3925
  lastUsage?: AgentUsage | undefined;
3919
3926
  lastError?: string | undefined;
3920
3927
  }, {
3928
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3921
3929
  id: string;
3922
3930
  provider: string;
3923
3931
  cwd: string;
@@ -3925,7 +3933,6 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3925
3933
  updatedAt: string;
3926
3934
  lastUserMessageAt: string | null;
3927
3935
  title: string | null;
3928
- status: "error" | "initializing" | "idle" | "running" | "closed";
3929
3936
  model: string | null;
3930
3937
  persistence: AgentPersistenceHandle | null;
3931
3938
  capabilities: AgentCapabilityFlags;
@@ -3953,6 +3960,7 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3953
3960
  status: "agent_resumed";
3954
3961
  requestId: string;
3955
3962
  agent: {
3963
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3956
3964
  id: string;
3957
3965
  provider: string;
3958
3966
  cwd: string;
@@ -3960,7 +3968,6 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3960
3968
  updatedAt: string;
3961
3969
  lastUserMessageAt: string | null;
3962
3970
  title: string | null;
3963
- status: "error" | "initializing" | "idle" | "running" | "closed";
3964
3971
  labels: Record<string, string>;
3965
3972
  model: string | null;
3966
3973
  persistence: AgentPersistenceHandle | null;
@@ -3984,6 +3991,7 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3984
3991
  status: "agent_resumed";
3985
3992
  requestId: string;
3986
3993
  agent: {
3994
+ status: "error" | "initializing" | "idle" | "running" | "closed";
3987
3995
  id: string;
3988
3996
  provider: string;
3989
3997
  cwd: string;
@@ -3991,7 +3999,6 @@ export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{
3991
3999
  updatedAt: string;
3992
4000
  lastUserMessageAt: string | null;
3993
4001
  title: string | null;
3994
- status: "error" | "initializing" | "idle" | "running" | "closed";
3995
4002
  model: string | null;
3996
4003
  persistence: AgentPersistenceHandle | null;
3997
4004
  capabilities: AgentCapabilityFlags;
@@ -4086,6 +4093,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4086
4093
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4087
4094
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4088
4095
  }, "strip", z.ZodTypeAny, {
4096
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4089
4097
  id: string;
4090
4098
  provider: string;
4091
4099
  cwd: string;
@@ -4093,7 +4101,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4093
4101
  updatedAt: string;
4094
4102
  lastUserMessageAt: string | null;
4095
4103
  title: string | null;
4096
- status: "error" | "initializing" | "idle" | "running" | "closed";
4097
4104
  labels: Record<string, string>;
4098
4105
  model: string | null;
4099
4106
  persistence: AgentPersistenceHandle | null;
@@ -4111,6 +4118,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4111
4118
  lastUsage?: AgentUsage | undefined;
4112
4119
  lastError?: string | undefined;
4113
4120
  }, {
4121
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4114
4122
  id: string;
4115
4123
  provider: string;
4116
4124
  cwd: string;
@@ -4118,7 +4126,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4118
4126
  updatedAt: string;
4119
4127
  lastUserMessageAt: string | null;
4120
4128
  title: string | null;
4121
- status: "error" | "initializing" | "idle" | "running" | "closed";
4122
4129
  model: string | null;
4123
4130
  persistence: AgentPersistenceHandle | null;
4124
4131
  capabilities: AgentCapabilityFlags;
@@ -4144,6 +4151,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4144
4151
  status: "agent_created";
4145
4152
  requestId: string;
4146
4153
  agent: {
4154
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4147
4155
  id: string;
4148
4156
  provider: string;
4149
4157
  cwd: string;
@@ -4151,7 +4159,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4151
4159
  updatedAt: string;
4152
4160
  lastUserMessageAt: string | null;
4153
4161
  title: string | null;
4154
- status: "error" | "initializing" | "idle" | "running" | "closed";
4155
4162
  labels: Record<string, string>;
4156
4163
  model: string | null;
4157
4164
  persistence: AgentPersistenceHandle | null;
@@ -4174,6 +4181,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4174
4181
  status: "agent_created";
4175
4182
  requestId: string;
4176
4183
  agent: {
4184
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4177
4185
  id: string;
4178
4186
  provider: string;
4179
4187
  cwd: string;
@@ -4181,7 +4189,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4181
4189
  updatedAt: string;
4182
4190
  lastUserMessageAt: string | null;
4183
4191
  title: string | null;
4184
- status: "error" | "initializing" | "idle" | "running" | "closed";
4185
4192
  model: string | null;
4186
4193
  persistence: AgentPersistenceHandle | null;
4187
4194
  capabilities: AgentCapabilityFlags;
@@ -4239,6 +4246,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4239
4246
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4240
4247
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4241
4248
  }, "strip", z.ZodTypeAny, {
4249
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4242
4250
  id: string;
4243
4251
  provider: string;
4244
4252
  cwd: string;
@@ -4246,7 +4254,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4246
4254
  updatedAt: string;
4247
4255
  lastUserMessageAt: string | null;
4248
4256
  title: string | null;
4249
- status: "error" | "initializing" | "idle" | "running" | "closed";
4250
4257
  labels: Record<string, string>;
4251
4258
  model: string | null;
4252
4259
  persistence: AgentPersistenceHandle | null;
@@ -4264,6 +4271,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4264
4271
  lastUsage?: AgentUsage | undefined;
4265
4272
  lastError?: string | undefined;
4266
4273
  }, {
4274
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4267
4275
  id: string;
4268
4276
  provider: string;
4269
4277
  cwd: string;
@@ -4271,7 +4279,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4271
4279
  updatedAt: string;
4272
4280
  lastUserMessageAt: string | null;
4273
4281
  title: string | null;
4274
- status: "error" | "initializing" | "idle" | "running" | "closed";
4275
4282
  model: string | null;
4276
4283
  persistence: AgentPersistenceHandle | null;
4277
4284
  capabilities: AgentCapabilityFlags;
@@ -4299,6 +4306,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4299
4306
  status: "agent_resumed";
4300
4307
  requestId: string;
4301
4308
  agent: {
4309
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4302
4310
  id: string;
4303
4311
  provider: string;
4304
4312
  cwd: string;
@@ -4306,7 +4314,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4306
4314
  updatedAt: string;
4307
4315
  lastUserMessageAt: string | null;
4308
4316
  title: string | null;
4309
- status: "error" | "initializing" | "idle" | "running" | "closed";
4310
4317
  labels: Record<string, string>;
4311
4318
  model: string | null;
4312
4319
  persistence: AgentPersistenceHandle | null;
@@ -4330,6 +4337,7 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4330
4337
  status: "agent_resumed";
4331
4338
  requestId: string;
4332
4339
  agent: {
4340
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4333
4341
  id: string;
4334
4342
  provider: string;
4335
4343
  cwd: string;
@@ -4337,7 +4345,6 @@ export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<"status",
4337
4345
  updatedAt: string;
4338
4346
  lastUserMessageAt: string | null;
4339
4347
  title: string | null;
4340
- status: "error" | "initializing" | "idle" | "running" | "closed";
4341
4348
  model: string | null;
4342
4349
  persistence: AgentPersistenceHandle | null;
4343
4350
  capabilities: AgentCapabilityFlags;
@@ -4720,6 +4727,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4720
4727
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4721
4728
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4722
4729
  }, "strip", z.ZodTypeAny, {
4730
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4723
4731
  id: string;
4724
4732
  provider: string;
4725
4733
  cwd: string;
@@ -4727,7 +4735,6 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4727
4735
  updatedAt: string;
4728
4736
  lastUserMessageAt: string | null;
4729
4737
  title: string | null;
4730
- status: "error" | "initializing" | "idle" | "running" | "closed";
4731
4738
  labels: Record<string, string>;
4732
4739
  model: string | null;
4733
4740
  persistence: AgentPersistenceHandle | null;
@@ -4745,6 +4752,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4745
4752
  lastUsage?: AgentUsage | undefined;
4746
4753
  lastError?: string | undefined;
4747
4754
  }, {
4755
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4748
4756
  id: string;
4749
4757
  provider: string;
4750
4758
  cwd: string;
@@ -4752,7 +4760,6 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4752
4760
  updatedAt: string;
4753
4761
  lastUserMessageAt: string | null;
4754
4762
  title: string | null;
4755
- status: "error" | "initializing" | "idle" | "running" | "closed";
4756
4763
  model: string | null;
4757
4764
  persistence: AgentPersistenceHandle | null;
4758
4765
  capabilities: AgentCapabilityFlags;
@@ -4891,6 +4898,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4891
4898
  }, "strip", z.ZodTypeAny, {
4892
4899
  kind: "upsert";
4893
4900
  agent: {
4901
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4894
4902
  id: string;
4895
4903
  provider: string;
4896
4904
  cwd: string;
@@ -4898,7 +4906,6 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4898
4906
  updatedAt: string;
4899
4907
  lastUserMessageAt: string | null;
4900
4908
  title: string | null;
4901
- status: "error" | "initializing" | "idle" | "running" | "closed";
4902
4909
  labels: Record<string, string>;
4903
4910
  model: string | null;
4904
4911
  persistence: AgentPersistenceHandle | null;
@@ -4945,6 +4952,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4945
4952
  }, {
4946
4953
  kind: "upsert";
4947
4954
  agent: {
4955
+ status: "error" | "initializing" | "idle" | "running" | "closed";
4948
4956
  id: string;
4949
4957
  provider: string;
4950
4958
  cwd: string;
@@ -4952,7 +4960,6 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
4952
4960
  updatedAt: string;
4953
4961
  lastUserMessageAt: string | null;
4954
4962
  title: string | null;
4955
- status: "error" | "initializing" | "idle" | "running" | "closed";
4956
4963
  model: string | null;
4957
4964
  persistence: AgentPersistenceHandle | null;
4958
4965
  capabilities: AgentCapabilityFlags;
@@ -5011,6 +5018,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5011
5018
  payload: {
5012
5019
  kind: "upsert";
5013
5020
  agent: {
5021
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5014
5022
  id: string;
5015
5023
  provider: string;
5016
5024
  cwd: string;
@@ -5018,7 +5026,6 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5018
5026
  updatedAt: string;
5019
5027
  lastUserMessageAt: string | null;
5020
5028
  title: string | null;
5021
- status: "error" | "initializing" | "idle" | "running" | "closed";
5022
5029
  labels: Record<string, string>;
5023
5030
  model: string | null;
5024
5031
  persistence: AgentPersistenceHandle | null;
@@ -5071,6 +5078,7 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5071
5078
  payload: {
5072
5079
  kind: "upsert";
5073
5080
  agent: {
5081
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5074
5082
  id: string;
5075
5083
  provider: string;
5076
5084
  cwd: string;
@@ -5078,7 +5086,6 @@ export declare const AgentUpdateMessageSchema: z.ZodObject<{
5078
5086
  updatedAt: string;
5079
5087
  lastUserMessageAt: string | null;
5080
5088
  title: string | null;
5081
- status: "error" | "initializing" | "idle" | "running" | "closed";
5082
5089
  model: string | null;
5083
5090
  persistence: AgentPersistenceHandle | null;
5084
5091
  capabilities: AgentCapabilityFlags;
@@ -5551,6 +5558,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5551
5558
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5552
5559
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5553
5560
  }, "strip", z.ZodTypeAny, {
5561
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5554
5562
  id: string;
5555
5563
  provider: string;
5556
5564
  cwd: string;
@@ -5558,7 +5566,6 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5558
5566
  updatedAt: string;
5559
5567
  lastUserMessageAt: string | null;
5560
5568
  title: string | null;
5561
- status: "error" | "initializing" | "idle" | "running" | "closed";
5562
5569
  labels: Record<string, string>;
5563
5570
  model: string | null;
5564
5571
  persistence: AgentPersistenceHandle | null;
@@ -5576,6 +5583,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5576
5583
  lastUsage?: AgentUsage | undefined;
5577
5584
  lastError?: string | undefined;
5578
5585
  }, {
5586
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5579
5587
  id: string;
5580
5588
  provider: string;
5581
5589
  cwd: string;
@@ -5583,7 +5591,6 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5583
5591
  updatedAt: string;
5584
5592
  lastUserMessageAt: string | null;
5585
5593
  title: string | null;
5586
- status: "error" | "initializing" | "idle" | "running" | "closed";
5587
5594
  model: string | null;
5588
5595
  persistence: AgentPersistenceHandle | null;
5589
5596
  capabilities: AgentCapabilityFlags;
@@ -5605,6 +5612,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5605
5612
  agentId: string;
5606
5613
  status: string;
5607
5614
  info: {
5615
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5608
5616
  id: string;
5609
5617
  provider: string;
5610
5618
  cwd: string;
@@ -5612,7 +5620,6 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5612
5620
  updatedAt: string;
5613
5621
  lastUserMessageAt: string | null;
5614
5622
  title: string | null;
5615
- status: "error" | "initializing" | "idle" | "running" | "closed";
5616
5623
  labels: Record<string, string>;
5617
5624
  model: string | null;
5618
5625
  persistence: AgentPersistenceHandle | null;
@@ -5634,6 +5641,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5634
5641
  agentId: string;
5635
5642
  status: string;
5636
5643
  info: {
5644
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5637
5645
  id: string;
5638
5646
  provider: string;
5639
5647
  cwd: string;
@@ -5641,7 +5649,6 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5641
5649
  updatedAt: string;
5642
5650
  lastUserMessageAt: string | null;
5643
5651
  title: string | null;
5644
- status: "error" | "initializing" | "idle" | "running" | "closed";
5645
5652
  model: string | null;
5646
5653
  persistence: AgentPersistenceHandle | null;
5647
5654
  capabilities: AgentCapabilityFlags;
@@ -5666,6 +5673,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5666
5673
  agentId: string;
5667
5674
  status: string;
5668
5675
  info: {
5676
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5669
5677
  id: string;
5670
5678
  provider: string;
5671
5679
  cwd: string;
@@ -5673,7 +5681,6 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5673
5681
  updatedAt: string;
5674
5682
  lastUserMessageAt: string | null;
5675
5683
  title: string | null;
5676
- status: "error" | "initializing" | "idle" | "running" | "closed";
5677
5684
  labels: Record<string, string>;
5678
5685
  model: string | null;
5679
5686
  persistence: AgentPersistenceHandle | null;
@@ -5698,6 +5705,7 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5698
5705
  agentId: string;
5699
5706
  status: string;
5700
5707
  info: {
5708
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5701
5709
  id: string;
5702
5710
  provider: string;
5703
5711
  cwd: string;
@@ -5705,7 +5713,6 @@ export declare const AgentStatusMessageSchema: z.ZodObject<{
5705
5713
  updatedAt: string;
5706
5714
  lastUserMessageAt: string | null;
5707
5715
  title: string | null;
5708
- status: "error" | "initializing" | "idle" | "running" | "closed";
5709
5716
  model: string | null;
5710
5717
  persistence: AgentPersistenceHandle | null;
5711
5718
  capabilities: AgentCapabilityFlags;
@@ -5754,6 +5761,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5754
5761
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5755
5762
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5756
5763
  }, "strip", z.ZodTypeAny, {
5764
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5757
5765
  id: string;
5758
5766
  provider: string;
5759
5767
  cwd: string;
@@ -5761,7 +5769,6 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5761
5769
  updatedAt: string;
5762
5770
  lastUserMessageAt: string | null;
5763
5771
  title: string | null;
5764
- status: "error" | "initializing" | "idle" | "running" | "closed";
5765
5772
  labels: Record<string, string>;
5766
5773
  model: string | null;
5767
5774
  persistence: AgentPersistenceHandle | null;
@@ -5779,6 +5786,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5779
5786
  lastUsage?: AgentUsage | undefined;
5780
5787
  lastError?: string | undefined;
5781
5788
  }, {
5789
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5782
5790
  id: string;
5783
5791
  provider: string;
5784
5792
  cwd: string;
@@ -5786,7 +5794,6 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5786
5794
  updatedAt: string;
5787
5795
  lastUserMessageAt: string | null;
5788
5796
  title: string | null;
5789
- status: "error" | "initializing" | "idle" | "running" | "closed";
5790
5797
  model: string | null;
5791
5798
  persistence: AgentPersistenceHandle | null;
5792
5799
  capabilities: AgentCapabilityFlags;
@@ -5806,6 +5813,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5806
5813
  }>, "many">;
5807
5814
  }, "strip", z.ZodTypeAny, {
5808
5815
  agents: {
5816
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5809
5817
  id: string;
5810
5818
  provider: string;
5811
5819
  cwd: string;
@@ -5813,7 +5821,6 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5813
5821
  updatedAt: string;
5814
5822
  lastUserMessageAt: string | null;
5815
5823
  title: string | null;
5816
- status: "error" | "initializing" | "idle" | "running" | "closed";
5817
5824
  labels: Record<string, string>;
5818
5825
  model: string | null;
5819
5826
  persistence: AgentPersistenceHandle | null;
@@ -5833,6 +5840,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5833
5840
  }[];
5834
5841
  }, {
5835
5842
  agents: {
5843
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5836
5844
  id: string;
5837
5845
  provider: string;
5838
5846
  cwd: string;
@@ -5840,7 +5848,6 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5840
5848
  updatedAt: string;
5841
5849
  lastUserMessageAt: string | null;
5842
5850
  title: string | null;
5843
- status: "error" | "initializing" | "idle" | "running" | "closed";
5844
5851
  model: string | null;
5845
5852
  persistence: AgentPersistenceHandle | null;
5846
5853
  capabilities: AgentCapabilityFlags;
@@ -5863,6 +5870,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5863
5870
  type: "agent_list";
5864
5871
  payload: {
5865
5872
  agents: {
5873
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5866
5874
  id: string;
5867
5875
  provider: string;
5868
5876
  cwd: string;
@@ -5870,7 +5878,6 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5870
5878
  updatedAt: string;
5871
5879
  lastUserMessageAt: string | null;
5872
5880
  title: string | null;
5873
- status: "error" | "initializing" | "idle" | "running" | "closed";
5874
5881
  labels: Record<string, string>;
5875
5882
  model: string | null;
5876
5883
  persistence: AgentPersistenceHandle | null;
@@ -5893,6 +5900,7 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5893
5900
  type: "agent_list";
5894
5901
  payload: {
5895
5902
  agents: {
5903
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5896
5904
  id: string;
5897
5905
  provider: string;
5898
5906
  cwd: string;
@@ -5900,7 +5908,6 @@ export declare const AgentListMessageSchema: z.ZodObject<{
5900
5908
  updatedAt: string;
5901
5909
  lastUserMessageAt: string | null;
5902
5910
  title: string | null;
5903
- status: "error" | "initializing" | "idle" | "running" | "closed";
5904
5911
  model: string | null;
5905
5912
  persistence: AgentPersistenceHandle | null;
5906
5913
  capabilities: AgentCapabilityFlags;
@@ -5952,6 +5959,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
5952
5959
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5953
5960
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5954
5961
  }, "strip", z.ZodTypeAny, {
5962
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5955
5963
  id: string;
5956
5964
  provider: string;
5957
5965
  cwd: string;
@@ -5959,7 +5967,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
5959
5967
  updatedAt: string;
5960
5968
  lastUserMessageAt: string | null;
5961
5969
  title: string | null;
5962
- status: "error" | "initializing" | "idle" | "running" | "closed";
5963
5970
  labels: Record<string, string>;
5964
5971
  model: string | null;
5965
5972
  persistence: AgentPersistenceHandle | null;
@@ -5977,6 +5984,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
5977
5984
  lastUsage?: AgentUsage | undefined;
5978
5985
  lastError?: string | undefined;
5979
5986
  }, {
5987
+ status: "error" | "initializing" | "idle" | "running" | "closed";
5980
5988
  id: string;
5981
5989
  provider: string;
5982
5990
  cwd: string;
@@ -5984,7 +5992,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
5984
5992
  updatedAt: string;
5985
5993
  lastUserMessageAt: string | null;
5986
5994
  title: string | null;
5987
- status: "error" | "initializing" | "idle" | "running" | "closed";
5988
5995
  model: string | null;
5989
5996
  persistence: AgentPersistenceHandle | null;
5990
5997
  capabilities: AgentCapabilityFlags;
@@ -6122,6 +6129,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6122
6129
  }>;
6123
6130
  }, "strip", z.ZodTypeAny, {
6124
6131
  agent: {
6132
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6125
6133
  id: string;
6126
6134
  provider: string;
6127
6135
  cwd: string;
@@ -6129,7 +6137,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6129
6137
  updatedAt: string;
6130
6138
  lastUserMessageAt: string | null;
6131
6139
  title: string | null;
6132
- status: "error" | "initializing" | "idle" | "running" | "closed";
6133
6140
  labels: Record<string, string>;
6134
6141
  model: string | null;
6135
6142
  persistence: AgentPersistenceHandle | null;
@@ -6175,6 +6182,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6175
6182
  };
6176
6183
  }, {
6177
6184
  agent: {
6185
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6178
6186
  id: string;
6179
6187
  provider: string;
6180
6188
  cwd: string;
@@ -6182,7 +6190,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6182
6190
  updatedAt: string;
6183
6191
  lastUserMessageAt: string | null;
6184
6192
  title: string | null;
6185
- status: "error" | "initializing" | "idle" | "running" | "closed";
6186
6193
  model: string | null;
6187
6194
  persistence: AgentPersistenceHandle | null;
6188
6195
  capabilities: AgentCapabilityFlags;
@@ -6243,6 +6250,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6243
6250
  }, "strip", z.ZodTypeAny, {
6244
6251
  entries: {
6245
6252
  agent: {
6253
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6246
6254
  id: string;
6247
6255
  provider: string;
6248
6256
  cwd: string;
@@ -6250,7 +6258,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6250
6258
  updatedAt: string;
6251
6259
  lastUserMessageAt: string | null;
6252
6260
  title: string | null;
6253
- status: "error" | "initializing" | "idle" | "running" | "closed";
6254
6261
  labels: Record<string, string>;
6255
6262
  model: string | null;
6256
6263
  persistence: AgentPersistenceHandle | null;
@@ -6305,6 +6312,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6305
6312
  }, {
6306
6313
  entries: {
6307
6314
  agent: {
6315
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6308
6316
  id: string;
6309
6317
  provider: string;
6310
6318
  cwd: string;
@@ -6312,7 +6320,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6312
6320
  updatedAt: string;
6313
6321
  lastUserMessageAt: string | null;
6314
6322
  title: string | null;
6315
- status: "error" | "initializing" | "idle" | "running" | "closed";
6316
6323
  model: string | null;
6317
6324
  persistence: AgentPersistenceHandle | null;
6318
6325
  capabilities: AgentCapabilityFlags;
@@ -6370,6 +6377,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6370
6377
  payload: {
6371
6378
  entries: {
6372
6379
  agent: {
6380
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6373
6381
  id: string;
6374
6382
  provider: string;
6375
6383
  cwd: string;
@@ -6377,7 +6385,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6377
6385
  updatedAt: string;
6378
6386
  lastUserMessageAt: string | null;
6379
6387
  title: string | null;
6380
- status: "error" | "initializing" | "idle" | "running" | "closed";
6381
6388
  labels: Record<string, string>;
6382
6389
  model: string | null;
6383
6390
  persistence: AgentPersistenceHandle | null;
@@ -6435,6 +6442,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6435
6442
  payload: {
6436
6443
  entries: {
6437
6444
  agent: {
6445
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6438
6446
  id: string;
6439
6447
  provider: string;
6440
6448
  cwd: string;
@@ -6442,7 +6450,6 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
6442
6450
  updatedAt: string;
6443
6451
  lastUserMessageAt: string | null;
6444
6452
  title: string | null;
6445
- status: "error" | "initializing" | "idle" | "running" | "closed";
6446
6453
  model: string | null;
6447
6454
  persistence: AgentPersistenceHandle | null;
6448
6455
  capabilities: AgentCapabilityFlags;
@@ -6526,6 +6533,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6526
6533
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6527
6534
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6528
6535
  }, "strip", z.ZodTypeAny, {
6536
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6529
6537
  id: string;
6530
6538
  provider: string;
6531
6539
  cwd: string;
@@ -6533,7 +6541,6 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6533
6541
  updatedAt: string;
6534
6542
  lastUserMessageAt: string | null;
6535
6543
  title: string | null;
6536
- status: "error" | "initializing" | "idle" | "running" | "closed";
6537
6544
  labels: Record<string, string>;
6538
6545
  model: string | null;
6539
6546
  persistence: AgentPersistenceHandle | null;
@@ -6551,6 +6558,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6551
6558
  lastUsage?: AgentUsage | undefined;
6552
6559
  lastError?: string | undefined;
6553
6560
  }, {
6561
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6554
6562
  id: string;
6555
6563
  provider: string;
6556
6564
  cwd: string;
@@ -6558,7 +6566,6 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6558
6566
  updatedAt: string;
6559
6567
  lastUserMessageAt: string | null;
6560
6568
  title: string | null;
6561
- status: "error" | "initializing" | "idle" | "running" | "closed";
6562
6569
  model: string | null;
6563
6570
  persistence: AgentPersistenceHandle | null;
6564
6571
  capabilities: AgentCapabilityFlags;
@@ -6699,6 +6706,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6699
6706
  error: string | null;
6700
6707
  requestId: string;
6701
6708
  agent: {
6709
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6702
6710
  id: string;
6703
6711
  provider: string;
6704
6712
  cwd: string;
@@ -6706,7 +6714,6 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6706
6714
  updatedAt: string;
6707
6715
  lastUserMessageAt: string | null;
6708
6716
  title: string | null;
6709
- status: "error" | "initializing" | "idle" | "running" | "closed";
6710
6717
  labels: Record<string, string>;
6711
6718
  model: string | null;
6712
6719
  persistence: AgentPersistenceHandle | null;
@@ -6754,6 +6761,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6754
6761
  error: string | null;
6755
6762
  requestId: string;
6756
6763
  agent: {
6764
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6757
6765
  id: string;
6758
6766
  provider: string;
6759
6767
  cwd: string;
@@ -6761,7 +6769,6 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6761
6769
  updatedAt: string;
6762
6770
  lastUserMessageAt: string | null;
6763
6771
  title: string | null;
6764
- status: "error" | "initializing" | "idle" | "running" | "closed";
6765
6772
  model: string | null;
6766
6773
  persistence: AgentPersistenceHandle | null;
6767
6774
  capabilities: AgentCapabilityFlags;
@@ -6812,6 +6819,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6812
6819
  error: string | null;
6813
6820
  requestId: string;
6814
6821
  agent: {
6822
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6815
6823
  id: string;
6816
6824
  provider: string;
6817
6825
  cwd: string;
@@ -6819,7 +6827,6 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6819
6827
  updatedAt: string;
6820
6828
  lastUserMessageAt: string | null;
6821
6829
  title: string | null;
6822
- status: "error" | "initializing" | "idle" | "running" | "closed";
6823
6830
  labels: Record<string, string>;
6824
6831
  model: string | null;
6825
6832
  persistence: AgentPersistenceHandle | null;
@@ -6870,6 +6877,7 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6870
6877
  error: string | null;
6871
6878
  requestId: string;
6872
6879
  agent: {
6880
+ status: "error" | "initializing" | "idle" | "running" | "closed";
6873
6881
  id: string;
6874
6882
  provider: string;
6875
6883
  cwd: string;
@@ -6877,7 +6885,6 @@ export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
6877
6885
  updatedAt: string;
6878
6886
  lastUserMessageAt: string | null;
6879
6887
  title: string | null;
6880
- status: "error" | "initializing" | "idle" | "running" | "closed";
6881
6888
  model: string | null;
6882
6889
  persistence: AgentPersistenceHandle | null;
6883
6890
  capabilities: AgentCapabilityFlags;
@@ -7272,6 +7279,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7272
7279
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7273
7280
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7274
7281
  }, "strip", z.ZodTypeAny, {
7282
+ status: "error" | "initializing" | "idle" | "running" | "closed";
7275
7283
  id: string;
7276
7284
  provider: string;
7277
7285
  cwd: string;
@@ -7279,7 +7287,6 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7279
7287
  updatedAt: string;
7280
7288
  lastUserMessageAt: string | null;
7281
7289
  title: string | null;
7282
- status: "error" | "initializing" | "idle" | "running" | "closed";
7283
7290
  labels: Record<string, string>;
7284
7291
  model: string | null;
7285
7292
  persistence: AgentPersistenceHandle | null;
@@ -7297,6 +7304,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7297
7304
  lastUsage?: AgentUsage | undefined;
7298
7305
  lastError?: string | undefined;
7299
7306
  }, {
7307
+ status: "error" | "initializing" | "idle" | "running" | "closed";
7300
7308
  id: string;
7301
7309
  provider: string;
7302
7310
  cwd: string;
@@ -7304,7 +7312,6 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7304
7312
  updatedAt: string;
7305
7313
  lastUserMessageAt: string | null;
7306
7314
  title: string | null;
7307
- status: "error" | "initializing" | "idle" | "running" | "closed";
7308
7315
  model: string | null;
7309
7316
  persistence: AgentPersistenceHandle | null;
7310
7317
  capabilities: AgentCapabilityFlags;
@@ -7329,6 +7336,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7329
7336
  status: "error" | "permission" | "idle" | "timeout";
7330
7337
  requestId: string;
7331
7338
  final: {
7339
+ status: "error" | "initializing" | "idle" | "running" | "closed";
7332
7340
  id: string;
7333
7341
  provider: string;
7334
7342
  cwd: string;
@@ -7336,7 +7344,6 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7336
7344
  updatedAt: string;
7337
7345
  lastUserMessageAt: string | null;
7338
7346
  title: string | null;
7339
- status: "error" | "initializing" | "idle" | "running" | "closed";
7340
7347
  labels: Record<string, string>;
7341
7348
  model: string | null;
7342
7349
  persistence: AgentPersistenceHandle | null;
@@ -7360,6 +7367,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7360
7367
  status: "error" | "permission" | "idle" | "timeout";
7361
7368
  requestId: string;
7362
7369
  final: {
7370
+ status: "error" | "initializing" | "idle" | "running" | "closed";
7363
7371
  id: string;
7364
7372
  provider: string;
7365
7373
  cwd: string;
@@ -7367,7 +7375,6 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7367
7375
  updatedAt: string;
7368
7376
  lastUserMessageAt: string | null;
7369
7377
  title: string | null;
7370
- status: "error" | "initializing" | "idle" | "running" | "closed";
7371
7378
  model: string | null;
7372
7379
  persistence: AgentPersistenceHandle | null;
7373
7380
  capabilities: AgentCapabilityFlags;
@@ -7394,6 +7401,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7394
7401
  status: "error" | "permission" | "idle" | "timeout";
7395
7402
  requestId: string;
7396
7403
  final: {
7404
+ status: "error" | "initializing" | "idle" | "running" | "closed";
7397
7405
  id: string;
7398
7406
  provider: string;
7399
7407
  cwd: string;
@@ -7401,7 +7409,6 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7401
7409
  updatedAt: string;
7402
7410
  lastUserMessageAt: string | null;
7403
7411
  title: string | null;
7404
- status: "error" | "initializing" | "idle" | "running" | "closed";
7405
7412
  labels: Record<string, string>;
7406
7413
  model: string | null;
7407
7414
  persistence: AgentPersistenceHandle | null;
@@ -7428,6 +7435,7 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7428
7435
  status: "error" | "permission" | "idle" | "timeout";
7429
7436
  requestId: string;
7430
7437
  final: {
7438
+ status: "error" | "initializing" | "idle" | "running" | "closed";
7431
7439
  id: string;
7432
7440
  provider: string;
7433
7441
  cwd: string;
@@ -7435,7 +7443,6 @@ export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{
7435
7443
  updatedAt: string;
7436
7444
  lastUserMessageAt: string | null;
7437
7445
  title: string | null;
7438
- status: "error" | "initializing" | "idle" | "running" | "closed";
7439
7446
  model: string | null;
7440
7447
  persistence: AgentPersistenceHandle | null;
7441
7448
  capabilities: AgentCapabilityFlags;
@@ -8816,7 +8823,6 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8816
8823
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
8817
8824
  message: string;
8818
8825
  } | null;
8819
- cwd: string;
8820
8826
  status: {
8821
8827
  number: number;
8822
8828
  title: string;
@@ -8830,6 +8836,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8830
8836
  canMerge: boolean;
8831
8837
  hasConflicts: boolean;
8832
8838
  } | null;
8839
+ cwd: string;
8833
8840
  requestId: string;
8834
8841
  githubFeaturesEnabled: boolean;
8835
8842
  }, {
@@ -8837,7 +8844,6 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8837
8844
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
8838
8845
  message: string;
8839
8846
  } | null;
8840
- cwd: string;
8841
8847
  status: {
8842
8848
  number: number;
8843
8849
  title: string;
@@ -8851,6 +8857,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8851
8857
  canMerge: boolean;
8852
8858
  hasConflicts: boolean;
8853
8859
  } | null;
8860
+ cwd: string;
8854
8861
  requestId: string;
8855
8862
  githubFeaturesEnabled: boolean;
8856
8863
  }>;
@@ -8861,7 +8868,6 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8861
8868
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
8862
8869
  message: string;
8863
8870
  } | null;
8864
- cwd: string;
8865
8871
  status: {
8866
8872
  number: number;
8867
8873
  title: string;
@@ -8875,6 +8881,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8875
8881
  canMerge: boolean;
8876
8882
  hasConflicts: boolean;
8877
8883
  } | null;
8884
+ cwd: string;
8878
8885
  requestId: string;
8879
8886
  githubFeaturesEnabled: boolean;
8880
8887
  };
@@ -8885,7 +8892,6 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8885
8892
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
8886
8893
  message: string;
8887
8894
  } | null;
8888
- cwd: string;
8889
8895
  status: {
8890
8896
  number: number;
8891
8897
  title: string;
@@ -8899,6 +8905,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
8899
8905
  canMerge: boolean;
8900
8906
  hasConflicts: boolean;
8901
8907
  } | null;
8908
+ cwd: string;
8902
8909
  requestId: string;
8903
8910
  githubFeaturesEnabled: boolean;
8904
8911
  };
@@ -11034,6 +11041,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11034
11041
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11035
11042
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11036
11043
  }, "strip", z.ZodTypeAny, {
11044
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11037
11045
  id: string;
11038
11046
  provider: string;
11039
11047
  cwd: string;
@@ -11041,7 +11049,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11041
11049
  updatedAt: string;
11042
11050
  lastUserMessageAt: string | null;
11043
11051
  title: string | null;
11044
- status: "error" | "initializing" | "idle" | "running" | "closed";
11045
11052
  labels: Record<string, string>;
11046
11053
  model: string | null;
11047
11054
  persistence: AgentPersistenceHandle | null;
@@ -11059,6 +11066,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11059
11066
  lastUsage?: AgentUsage | undefined;
11060
11067
  lastError?: string | undefined;
11061
11068
  }, {
11069
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11062
11070
  id: string;
11063
11071
  provider: string;
11064
11072
  cwd: string;
@@ -11066,7 +11074,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11066
11074
  updatedAt: string;
11067
11075
  lastUserMessageAt: string | null;
11068
11076
  title: string | null;
11069
- status: "error" | "initializing" | "idle" | "running" | "closed";
11070
11077
  model: string | null;
11071
11078
  persistence: AgentPersistenceHandle | null;
11072
11079
  capabilities: AgentCapabilityFlags;
@@ -11205,6 +11212,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11205
11212
  }, "strip", z.ZodTypeAny, {
11206
11213
  kind: "upsert";
11207
11214
  agent: {
11215
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11208
11216
  id: string;
11209
11217
  provider: string;
11210
11218
  cwd: string;
@@ -11212,7 +11220,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11212
11220
  updatedAt: string;
11213
11221
  lastUserMessageAt: string | null;
11214
11222
  title: string | null;
11215
- status: "error" | "initializing" | "idle" | "running" | "closed";
11216
11223
  labels: Record<string, string>;
11217
11224
  model: string | null;
11218
11225
  persistence: AgentPersistenceHandle | null;
@@ -11259,6 +11266,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11259
11266
  }, {
11260
11267
  kind: "upsert";
11261
11268
  agent: {
11269
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11262
11270
  id: string;
11263
11271
  provider: string;
11264
11272
  cwd: string;
@@ -11266,7 +11274,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11266
11274
  updatedAt: string;
11267
11275
  lastUserMessageAt: string | null;
11268
11276
  title: string | null;
11269
- status: "error" | "initializing" | "idle" | "running" | "closed";
11270
11277
  model: string | null;
11271
11278
  persistence: AgentPersistenceHandle | null;
11272
11279
  capabilities: AgentCapabilityFlags;
@@ -11325,6 +11332,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11325
11332
  payload: {
11326
11333
  kind: "upsert";
11327
11334
  agent: {
11335
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11328
11336
  id: string;
11329
11337
  provider: string;
11330
11338
  cwd: string;
@@ -11332,7 +11340,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11332
11340
  updatedAt: string;
11333
11341
  lastUserMessageAt: string | null;
11334
11342
  title: string | null;
11335
- status: "error" | "initializing" | "idle" | "running" | "closed";
11336
11343
  labels: Record<string, string>;
11337
11344
  model: string | null;
11338
11345
  persistence: AgentPersistenceHandle | null;
@@ -11385,6 +11392,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11385
11392
  payload: {
11386
11393
  kind: "upsert";
11387
11394
  agent: {
11395
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11388
11396
  id: string;
11389
11397
  provider: string;
11390
11398
  cwd: string;
@@ -11392,7 +11400,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11392
11400
  updatedAt: string;
11393
11401
  lastUserMessageAt: string | null;
11394
11402
  title: string | null;
11395
- status: "error" | "initializing" | "idle" | "running" | "closed";
11396
11403
  model: string | null;
11397
11404
  persistence: AgentPersistenceHandle | null;
11398
11405
  capabilities: AgentCapabilityFlags;
@@ -11863,6 +11870,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11863
11870
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11864
11871
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11865
11872
  }, "strip", z.ZodTypeAny, {
11873
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11866
11874
  id: string;
11867
11875
  provider: string;
11868
11876
  cwd: string;
@@ -11870,7 +11878,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11870
11878
  updatedAt: string;
11871
11879
  lastUserMessageAt: string | null;
11872
11880
  title: string | null;
11873
- status: "error" | "initializing" | "idle" | "running" | "closed";
11874
11881
  labels: Record<string, string>;
11875
11882
  model: string | null;
11876
11883
  persistence: AgentPersistenceHandle | null;
@@ -11888,6 +11895,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11888
11895
  lastUsage?: AgentUsage | undefined;
11889
11896
  lastError?: string | undefined;
11890
11897
  }, {
11898
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11891
11899
  id: string;
11892
11900
  provider: string;
11893
11901
  cwd: string;
@@ -11895,7 +11903,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11895
11903
  updatedAt: string;
11896
11904
  lastUserMessageAt: string | null;
11897
11905
  title: string | null;
11898
- status: "error" | "initializing" | "idle" | "running" | "closed";
11899
11906
  model: string | null;
11900
11907
  persistence: AgentPersistenceHandle | null;
11901
11908
  capabilities: AgentCapabilityFlags;
@@ -11917,6 +11924,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11917
11924
  agentId: string;
11918
11925
  status: string;
11919
11926
  info: {
11927
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11920
11928
  id: string;
11921
11929
  provider: string;
11922
11930
  cwd: string;
@@ -11924,7 +11932,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11924
11932
  updatedAt: string;
11925
11933
  lastUserMessageAt: string | null;
11926
11934
  title: string | null;
11927
- status: "error" | "initializing" | "idle" | "running" | "closed";
11928
11935
  labels: Record<string, string>;
11929
11936
  model: string | null;
11930
11937
  persistence: AgentPersistenceHandle | null;
@@ -11946,6 +11953,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11946
11953
  agentId: string;
11947
11954
  status: string;
11948
11955
  info: {
11956
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11949
11957
  id: string;
11950
11958
  provider: string;
11951
11959
  cwd: string;
@@ -11953,7 +11961,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11953
11961
  updatedAt: string;
11954
11962
  lastUserMessageAt: string | null;
11955
11963
  title: string | null;
11956
- status: "error" | "initializing" | "idle" | "running" | "closed";
11957
11964
  model: string | null;
11958
11965
  persistence: AgentPersistenceHandle | null;
11959
11966
  capabilities: AgentCapabilityFlags;
@@ -11978,6 +11985,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11978
11985
  agentId: string;
11979
11986
  status: string;
11980
11987
  info: {
11988
+ status: "error" | "initializing" | "idle" | "running" | "closed";
11981
11989
  id: string;
11982
11990
  provider: string;
11983
11991
  cwd: string;
@@ -11985,7 +11993,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
11985
11993
  updatedAt: string;
11986
11994
  lastUserMessageAt: string | null;
11987
11995
  title: string | null;
11988
- status: "error" | "initializing" | "idle" | "running" | "closed";
11989
11996
  labels: Record<string, string>;
11990
11997
  model: string | null;
11991
11998
  persistence: AgentPersistenceHandle | null;
@@ -12010,6 +12017,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12010
12017
  agentId: string;
12011
12018
  status: string;
12012
12019
  info: {
12020
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12013
12021
  id: string;
12014
12022
  provider: string;
12015
12023
  cwd: string;
@@ -12017,7 +12025,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12017
12025
  updatedAt: string;
12018
12026
  lastUserMessageAt: string | null;
12019
12027
  title: string | null;
12020
- status: "error" | "initializing" | "idle" | "running" | "closed";
12021
12028
  model: string | null;
12022
12029
  persistence: AgentPersistenceHandle | null;
12023
12030
  capabilities: AgentCapabilityFlags;
@@ -12068,6 +12075,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12068
12075
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12069
12076
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12070
12077
  }, "strip", z.ZodTypeAny, {
12078
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12071
12079
  id: string;
12072
12080
  provider: string;
12073
12081
  cwd: string;
@@ -12075,7 +12083,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12075
12083
  updatedAt: string;
12076
12084
  lastUserMessageAt: string | null;
12077
12085
  title: string | null;
12078
- status: "error" | "initializing" | "idle" | "running" | "closed";
12079
12086
  labels: Record<string, string>;
12080
12087
  model: string | null;
12081
12088
  persistence: AgentPersistenceHandle | null;
@@ -12093,6 +12100,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12093
12100
  lastUsage?: AgentUsage | undefined;
12094
12101
  lastError?: string | undefined;
12095
12102
  }, {
12103
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12096
12104
  id: string;
12097
12105
  provider: string;
12098
12106
  cwd: string;
@@ -12100,7 +12108,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12100
12108
  updatedAt: string;
12101
12109
  lastUserMessageAt: string | null;
12102
12110
  title: string | null;
12103
- status: "error" | "initializing" | "idle" | "running" | "closed";
12104
12111
  model: string | null;
12105
12112
  persistence: AgentPersistenceHandle | null;
12106
12113
  capabilities: AgentCapabilityFlags;
@@ -12238,6 +12245,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12238
12245
  }>;
12239
12246
  }, "strip", z.ZodTypeAny, {
12240
12247
  agent: {
12248
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12241
12249
  id: string;
12242
12250
  provider: string;
12243
12251
  cwd: string;
@@ -12245,7 +12253,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12245
12253
  updatedAt: string;
12246
12254
  lastUserMessageAt: string | null;
12247
12255
  title: string | null;
12248
- status: "error" | "initializing" | "idle" | "running" | "closed";
12249
12256
  labels: Record<string, string>;
12250
12257
  model: string | null;
12251
12258
  persistence: AgentPersistenceHandle | null;
@@ -12291,6 +12298,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12291
12298
  };
12292
12299
  }, {
12293
12300
  agent: {
12301
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12294
12302
  id: string;
12295
12303
  provider: string;
12296
12304
  cwd: string;
@@ -12298,7 +12306,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12298
12306
  updatedAt: string;
12299
12307
  lastUserMessageAt: string | null;
12300
12308
  title: string | null;
12301
- status: "error" | "initializing" | "idle" | "running" | "closed";
12302
12309
  model: string | null;
12303
12310
  persistence: AgentPersistenceHandle | null;
12304
12311
  capabilities: AgentCapabilityFlags;
@@ -12359,6 +12366,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12359
12366
  }, "strip", z.ZodTypeAny, {
12360
12367
  entries: {
12361
12368
  agent: {
12369
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12362
12370
  id: string;
12363
12371
  provider: string;
12364
12372
  cwd: string;
@@ -12366,7 +12374,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12366
12374
  updatedAt: string;
12367
12375
  lastUserMessageAt: string | null;
12368
12376
  title: string | null;
12369
- status: "error" | "initializing" | "idle" | "running" | "closed";
12370
12377
  labels: Record<string, string>;
12371
12378
  model: string | null;
12372
12379
  persistence: AgentPersistenceHandle | null;
@@ -12421,6 +12428,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12421
12428
  }, {
12422
12429
  entries: {
12423
12430
  agent: {
12431
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12424
12432
  id: string;
12425
12433
  provider: string;
12426
12434
  cwd: string;
@@ -12428,7 +12436,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12428
12436
  updatedAt: string;
12429
12437
  lastUserMessageAt: string | null;
12430
12438
  title: string | null;
12431
- status: "error" | "initializing" | "idle" | "running" | "closed";
12432
12439
  model: string | null;
12433
12440
  persistence: AgentPersistenceHandle | null;
12434
12441
  capabilities: AgentCapabilityFlags;
@@ -12486,6 +12493,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12486
12493
  payload: {
12487
12494
  entries: {
12488
12495
  agent: {
12496
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12489
12497
  id: string;
12490
12498
  provider: string;
12491
12499
  cwd: string;
@@ -12493,7 +12501,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12493
12501
  updatedAt: string;
12494
12502
  lastUserMessageAt: string | null;
12495
12503
  title: string | null;
12496
- status: "error" | "initializing" | "idle" | "running" | "closed";
12497
12504
  labels: Record<string, string>;
12498
12505
  model: string | null;
12499
12506
  persistence: AgentPersistenceHandle | null;
@@ -12551,6 +12558,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12551
12558
  payload: {
12552
12559
  entries: {
12553
12560
  agent: {
12561
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12554
12562
  id: string;
12555
12563
  provider: string;
12556
12564
  cwd: string;
@@ -12558,7 +12566,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12558
12566
  updatedAt: string;
12559
12567
  lastUserMessageAt: string | null;
12560
12568
  title: string | null;
12561
- status: "error" | "initializing" | "idle" | "running" | "closed";
12562
12569
  model: string | null;
12563
12570
  persistence: AgentPersistenceHandle | null;
12564
12571
  capabilities: AgentCapabilityFlags;
@@ -12641,6 +12648,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12641
12648
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12642
12649
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12643
12650
  }, "strip", z.ZodTypeAny, {
12651
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12644
12652
  id: string;
12645
12653
  provider: string;
12646
12654
  cwd: string;
@@ -12648,7 +12656,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12648
12656
  updatedAt: string;
12649
12657
  lastUserMessageAt: string | null;
12650
12658
  title: string | null;
12651
- status: "error" | "initializing" | "idle" | "running" | "closed";
12652
12659
  labels: Record<string, string>;
12653
12660
  model: string | null;
12654
12661
  persistence: AgentPersistenceHandle | null;
@@ -12666,6 +12673,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12666
12673
  lastUsage?: AgentUsage | undefined;
12667
12674
  lastError?: string | undefined;
12668
12675
  }, {
12676
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12669
12677
  id: string;
12670
12678
  provider: string;
12671
12679
  cwd: string;
@@ -12673,7 +12681,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12673
12681
  updatedAt: string;
12674
12682
  lastUserMessageAt: string | null;
12675
12683
  title: string | null;
12676
- status: "error" | "initializing" | "idle" | "running" | "closed";
12677
12684
  model: string | null;
12678
12685
  persistence: AgentPersistenceHandle | null;
12679
12686
  capabilities: AgentCapabilityFlags;
@@ -12814,6 +12821,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12814
12821
  error: string | null;
12815
12822
  requestId: string;
12816
12823
  agent: {
12824
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12817
12825
  id: string;
12818
12826
  provider: string;
12819
12827
  cwd: string;
@@ -12821,7 +12829,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12821
12829
  updatedAt: string;
12822
12830
  lastUserMessageAt: string | null;
12823
12831
  title: string | null;
12824
- status: "error" | "initializing" | "idle" | "running" | "closed";
12825
12832
  labels: Record<string, string>;
12826
12833
  model: string | null;
12827
12834
  persistence: AgentPersistenceHandle | null;
@@ -12869,6 +12876,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12869
12876
  error: string | null;
12870
12877
  requestId: string;
12871
12878
  agent: {
12879
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12872
12880
  id: string;
12873
12881
  provider: string;
12874
12882
  cwd: string;
@@ -12876,7 +12884,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12876
12884
  updatedAt: string;
12877
12885
  lastUserMessageAt: string | null;
12878
12886
  title: string | null;
12879
- status: "error" | "initializing" | "idle" | "running" | "closed";
12880
12887
  model: string | null;
12881
12888
  persistence: AgentPersistenceHandle | null;
12882
12889
  capabilities: AgentCapabilityFlags;
@@ -12927,6 +12934,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12927
12934
  error: string | null;
12928
12935
  requestId: string;
12929
12936
  agent: {
12937
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12930
12938
  id: string;
12931
12939
  provider: string;
12932
12940
  cwd: string;
@@ -12934,7 +12942,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12934
12942
  updatedAt: string;
12935
12943
  lastUserMessageAt: string | null;
12936
12944
  title: string | null;
12937
- status: "error" | "initializing" | "idle" | "running" | "closed";
12938
12945
  labels: Record<string, string>;
12939
12946
  model: string | null;
12940
12947
  persistence: AgentPersistenceHandle | null;
@@ -12985,6 +12992,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12985
12992
  error: string | null;
12986
12993
  requestId: string;
12987
12994
  agent: {
12995
+ status: "error" | "initializing" | "idle" | "running" | "closed";
12988
12996
  id: string;
12989
12997
  provider: string;
12990
12998
  cwd: string;
@@ -12992,7 +13000,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
12992
13000
  updatedAt: string;
12993
13001
  lastUserMessageAt: string | null;
12994
13002
  title: string | null;
12995
- status: "error" | "initializing" | "idle" | "running" | "closed";
12996
13003
  model: string | null;
12997
13004
  persistence: AgentPersistenceHandle | null;
12998
13005
  capabilities: AgentCapabilityFlags;
@@ -13480,6 +13487,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13480
13487
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13481
13488
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13482
13489
  }, "strip", z.ZodTypeAny, {
13490
+ status: "error" | "initializing" | "idle" | "running" | "closed";
13483
13491
  id: string;
13484
13492
  provider: string;
13485
13493
  cwd: string;
@@ -13487,7 +13495,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13487
13495
  updatedAt: string;
13488
13496
  lastUserMessageAt: string | null;
13489
13497
  title: string | null;
13490
- status: "error" | "initializing" | "idle" | "running" | "closed";
13491
13498
  labels: Record<string, string>;
13492
13499
  model: string | null;
13493
13500
  persistence: AgentPersistenceHandle | null;
@@ -13505,6 +13512,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13505
13512
  lastUsage?: AgentUsage | undefined;
13506
13513
  lastError?: string | undefined;
13507
13514
  }, {
13515
+ status: "error" | "initializing" | "idle" | "running" | "closed";
13508
13516
  id: string;
13509
13517
  provider: string;
13510
13518
  cwd: string;
@@ -13512,7 +13520,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13512
13520
  updatedAt: string;
13513
13521
  lastUserMessageAt: string | null;
13514
13522
  title: string | null;
13515
- status: "error" | "initializing" | "idle" | "running" | "closed";
13516
13523
  model: string | null;
13517
13524
  persistence: AgentPersistenceHandle | null;
13518
13525
  capabilities: AgentCapabilityFlags;
@@ -13537,6 +13544,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13537
13544
  status: "error" | "permission" | "idle" | "timeout";
13538
13545
  requestId: string;
13539
13546
  final: {
13547
+ status: "error" | "initializing" | "idle" | "running" | "closed";
13540
13548
  id: string;
13541
13549
  provider: string;
13542
13550
  cwd: string;
@@ -13544,7 +13552,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13544
13552
  updatedAt: string;
13545
13553
  lastUserMessageAt: string | null;
13546
13554
  title: string | null;
13547
- status: "error" | "initializing" | "idle" | "running" | "closed";
13548
13555
  labels: Record<string, string>;
13549
13556
  model: string | null;
13550
13557
  persistence: AgentPersistenceHandle | null;
@@ -13568,6 +13575,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13568
13575
  status: "error" | "permission" | "idle" | "timeout";
13569
13576
  requestId: string;
13570
13577
  final: {
13578
+ status: "error" | "initializing" | "idle" | "running" | "closed";
13571
13579
  id: string;
13572
13580
  provider: string;
13573
13581
  cwd: string;
@@ -13575,7 +13583,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13575
13583
  updatedAt: string;
13576
13584
  lastUserMessageAt: string | null;
13577
13585
  title: string | null;
13578
- status: "error" | "initializing" | "idle" | "running" | "closed";
13579
13586
  model: string | null;
13580
13587
  persistence: AgentPersistenceHandle | null;
13581
13588
  capabilities: AgentCapabilityFlags;
@@ -13602,6 +13609,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13602
13609
  status: "error" | "permission" | "idle" | "timeout";
13603
13610
  requestId: string;
13604
13611
  final: {
13612
+ status: "error" | "initializing" | "idle" | "running" | "closed";
13605
13613
  id: string;
13606
13614
  provider: string;
13607
13615
  cwd: string;
@@ -13609,7 +13617,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13609
13617
  updatedAt: string;
13610
13618
  lastUserMessageAt: string | null;
13611
13619
  title: string | null;
13612
- status: "error" | "initializing" | "idle" | "running" | "closed";
13613
13620
  labels: Record<string, string>;
13614
13621
  model: string | null;
13615
13622
  persistence: AgentPersistenceHandle | null;
@@ -13636,6 +13643,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13636
13643
  status: "error" | "permission" | "idle" | "timeout";
13637
13644
  requestId: string;
13638
13645
  final: {
13646
+ status: "error" | "initializing" | "idle" | "running" | "closed";
13639
13647
  id: string;
13640
13648
  provider: string;
13641
13649
  cwd: string;
@@ -13643,7 +13651,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
13643
13651
  updatedAt: string;
13644
13652
  lastUserMessageAt: string | null;
13645
13653
  title: string | null;
13646
- status: "error" | "initializing" | "idle" | "running" | "closed";
13647
13654
  model: string | null;
13648
13655
  persistence: AgentPersistenceHandle | null;
13649
13656
  capabilities: AgentCapabilityFlags;
@@ -15010,7 +15017,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15010
15017
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
15011
15018
  message: string;
15012
15019
  } | null;
15013
- cwd: string;
15014
15020
  status: {
15015
15021
  number: number;
15016
15022
  title: string;
@@ -15024,6 +15030,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15024
15030
  canMerge: boolean;
15025
15031
  hasConflicts: boolean;
15026
15032
  } | null;
15033
+ cwd: string;
15027
15034
  requestId: string;
15028
15035
  githubFeaturesEnabled: boolean;
15029
15036
  }, {
@@ -15031,7 +15038,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15031
15038
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
15032
15039
  message: string;
15033
15040
  } | null;
15034
- cwd: string;
15035
15041
  status: {
15036
15042
  number: number;
15037
15043
  title: string;
@@ -15045,6 +15051,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15045
15051
  canMerge: boolean;
15046
15052
  hasConflicts: boolean;
15047
15053
  } | null;
15054
+ cwd: string;
15048
15055
  requestId: string;
15049
15056
  githubFeaturesEnabled: boolean;
15050
15057
  }>;
@@ -15055,7 +15062,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15055
15062
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
15056
15063
  message: string;
15057
15064
  } | null;
15058
- cwd: string;
15059
15065
  status: {
15060
15066
  number: number;
15061
15067
  title: string;
@@ -15069,6 +15075,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15069
15075
  canMerge: boolean;
15070
15076
  hasConflicts: boolean;
15071
15077
  } | null;
15078
+ cwd: string;
15072
15079
  requestId: string;
15073
15080
  githubFeaturesEnabled: boolean;
15074
15081
  };
@@ -15079,7 +15086,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15079
15086
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
15080
15087
  message: string;
15081
15088
  } | null;
15082
- cwd: string;
15083
15089
  status: {
15084
15090
  number: number;
15085
15091
  title: string;
@@ -15093,6 +15099,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
15093
15099
  canMerge: boolean;
15094
15100
  hasConflicts: boolean;
15095
15101
  } | null;
15102
+ cwd: string;
15096
15103
  requestId: string;
15097
15104
  githubFeaturesEnabled: boolean;
15098
15105
  };
@@ -17533,6 +17540,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
17533
17540
  newBranchName?: string | undefined;
17534
17541
  createWorktree?: boolean | undefined;
17535
17542
  }>>;
17543
+ bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
17536
17544
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
17537
17545
  requestId: z.ZodString;
17538
17546
  }, "strip", z.ZodTypeAny, {
@@ -17585,6 +17593,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
17585
17593
  newBranchName?: string | undefined;
17586
17594
  createWorktree?: boolean | undefined;
17587
17595
  } | undefined;
17596
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
17588
17597
  }, {
17589
17598
  type: "create_agent_request";
17590
17599
  config: {
@@ -17635,6 +17644,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
17635
17644
  newBranchName?: string | undefined;
17636
17645
  createWorktree?: boolean | undefined;
17637
17646
  } | undefined;
17647
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
17638
17648
  }>, z.ZodObject<{
17639
17649
  type: z.ZodLiteral<"list_provider_models_request">;
17640
17650
  provider: z.ZodEnum<[string, ...string[]]>;
@@ -18755,6 +18765,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
18755
18765
  newBranchName?: string | undefined;
18756
18766
  createWorktree?: boolean | undefined;
18757
18767
  } | undefined;
18768
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
18758
18769
  } | {
18759
18770
  provider: string;
18760
18771
  type: "list_provider_models_request";
@@ -19158,6 +19169,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19158
19169
  newBranchName?: string | undefined;
19159
19170
  createWorktree?: boolean | undefined;
19160
19171
  } | undefined;
19172
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
19161
19173
  } | {
19162
19174
  provider: string;
19163
19175
  type: "list_provider_models_request";
@@ -19669,6 +19681,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19669
19681
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19670
19682
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19671
19683
  }, "strip", z.ZodTypeAny, {
19684
+ status: "error" | "initializing" | "idle" | "running" | "closed";
19672
19685
  id: string;
19673
19686
  provider: string;
19674
19687
  cwd: string;
@@ -19676,7 +19689,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19676
19689
  updatedAt: string;
19677
19690
  lastUserMessageAt: string | null;
19678
19691
  title: string | null;
19679
- status: "error" | "initializing" | "idle" | "running" | "closed";
19680
19692
  labels: Record<string, string>;
19681
19693
  model: string | null;
19682
19694
  persistence: AgentPersistenceHandle | null;
@@ -19694,6 +19706,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19694
19706
  lastUsage?: AgentUsage | undefined;
19695
19707
  lastError?: string | undefined;
19696
19708
  }, {
19709
+ status: "error" | "initializing" | "idle" | "running" | "closed";
19697
19710
  id: string;
19698
19711
  provider: string;
19699
19712
  cwd: string;
@@ -19701,7 +19714,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19701
19714
  updatedAt: string;
19702
19715
  lastUserMessageAt: string | null;
19703
19716
  title: string | null;
19704
- status: "error" | "initializing" | "idle" | "running" | "closed";
19705
19717
  model: string | null;
19706
19718
  persistence: AgentPersistenceHandle | null;
19707
19719
  capabilities: AgentCapabilityFlags;
@@ -19840,6 +19852,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19840
19852
  }, "strip", z.ZodTypeAny, {
19841
19853
  kind: "upsert";
19842
19854
  agent: {
19855
+ status: "error" | "initializing" | "idle" | "running" | "closed";
19843
19856
  id: string;
19844
19857
  provider: string;
19845
19858
  cwd: string;
@@ -19847,7 +19860,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19847
19860
  updatedAt: string;
19848
19861
  lastUserMessageAt: string | null;
19849
19862
  title: string | null;
19850
- status: "error" | "initializing" | "idle" | "running" | "closed";
19851
19863
  labels: Record<string, string>;
19852
19864
  model: string | null;
19853
19865
  persistence: AgentPersistenceHandle | null;
@@ -19894,6 +19906,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19894
19906
  }, {
19895
19907
  kind: "upsert";
19896
19908
  agent: {
19909
+ status: "error" | "initializing" | "idle" | "running" | "closed";
19897
19910
  id: string;
19898
19911
  provider: string;
19899
19912
  cwd: string;
@@ -19901,7 +19914,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19901
19914
  updatedAt: string;
19902
19915
  lastUserMessageAt: string | null;
19903
19916
  title: string | null;
19904
- status: "error" | "initializing" | "idle" | "running" | "closed";
19905
19917
  model: string | null;
19906
19918
  persistence: AgentPersistenceHandle | null;
19907
19919
  capabilities: AgentCapabilityFlags;
@@ -19960,6 +19972,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19960
19972
  payload: {
19961
19973
  kind: "upsert";
19962
19974
  agent: {
19975
+ status: "error" | "initializing" | "idle" | "running" | "closed";
19963
19976
  id: string;
19964
19977
  provider: string;
19965
19978
  cwd: string;
@@ -19967,7 +19980,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19967
19980
  updatedAt: string;
19968
19981
  lastUserMessageAt: string | null;
19969
19982
  title: string | null;
19970
- status: "error" | "initializing" | "idle" | "running" | "closed";
19971
19983
  labels: Record<string, string>;
19972
19984
  model: string | null;
19973
19985
  persistence: AgentPersistenceHandle | null;
@@ -20020,6 +20032,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20020
20032
  payload: {
20021
20033
  kind: "upsert";
20022
20034
  agent: {
20035
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20023
20036
  id: string;
20024
20037
  provider: string;
20025
20038
  cwd: string;
@@ -20027,7 +20040,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20027
20040
  updatedAt: string;
20028
20041
  lastUserMessageAt: string | null;
20029
20042
  title: string | null;
20030
- status: "error" | "initializing" | "idle" | "running" | "closed";
20031
20043
  model: string | null;
20032
20044
  persistence: AgentPersistenceHandle | null;
20033
20045
  capabilities: AgentCapabilityFlags;
@@ -20498,6 +20510,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20498
20510
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20499
20511
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20500
20512
  }, "strip", z.ZodTypeAny, {
20513
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20501
20514
  id: string;
20502
20515
  provider: string;
20503
20516
  cwd: string;
@@ -20505,7 +20518,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20505
20518
  updatedAt: string;
20506
20519
  lastUserMessageAt: string | null;
20507
20520
  title: string | null;
20508
- status: "error" | "initializing" | "idle" | "running" | "closed";
20509
20521
  labels: Record<string, string>;
20510
20522
  model: string | null;
20511
20523
  persistence: AgentPersistenceHandle | null;
@@ -20523,6 +20535,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20523
20535
  lastUsage?: AgentUsage | undefined;
20524
20536
  lastError?: string | undefined;
20525
20537
  }, {
20538
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20526
20539
  id: string;
20527
20540
  provider: string;
20528
20541
  cwd: string;
@@ -20530,7 +20543,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20530
20543
  updatedAt: string;
20531
20544
  lastUserMessageAt: string | null;
20532
20545
  title: string | null;
20533
- status: "error" | "initializing" | "idle" | "running" | "closed";
20534
20546
  model: string | null;
20535
20547
  persistence: AgentPersistenceHandle | null;
20536
20548
  capabilities: AgentCapabilityFlags;
@@ -20552,6 +20564,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20552
20564
  agentId: string;
20553
20565
  status: string;
20554
20566
  info: {
20567
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20555
20568
  id: string;
20556
20569
  provider: string;
20557
20570
  cwd: string;
@@ -20559,7 +20572,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20559
20572
  updatedAt: string;
20560
20573
  lastUserMessageAt: string | null;
20561
20574
  title: string | null;
20562
- status: "error" | "initializing" | "idle" | "running" | "closed";
20563
20575
  labels: Record<string, string>;
20564
20576
  model: string | null;
20565
20577
  persistence: AgentPersistenceHandle | null;
@@ -20581,6 +20593,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20581
20593
  agentId: string;
20582
20594
  status: string;
20583
20595
  info: {
20596
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20584
20597
  id: string;
20585
20598
  provider: string;
20586
20599
  cwd: string;
@@ -20588,7 +20601,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20588
20601
  updatedAt: string;
20589
20602
  lastUserMessageAt: string | null;
20590
20603
  title: string | null;
20591
- status: "error" | "initializing" | "idle" | "running" | "closed";
20592
20604
  model: string | null;
20593
20605
  persistence: AgentPersistenceHandle | null;
20594
20606
  capabilities: AgentCapabilityFlags;
@@ -20613,6 +20625,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20613
20625
  agentId: string;
20614
20626
  status: string;
20615
20627
  info: {
20628
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20616
20629
  id: string;
20617
20630
  provider: string;
20618
20631
  cwd: string;
@@ -20620,7 +20633,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20620
20633
  updatedAt: string;
20621
20634
  lastUserMessageAt: string | null;
20622
20635
  title: string | null;
20623
- status: "error" | "initializing" | "idle" | "running" | "closed";
20624
20636
  labels: Record<string, string>;
20625
20637
  model: string | null;
20626
20638
  persistence: AgentPersistenceHandle | null;
@@ -20645,6 +20657,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20645
20657
  agentId: string;
20646
20658
  status: string;
20647
20659
  info: {
20660
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20648
20661
  id: string;
20649
20662
  provider: string;
20650
20663
  cwd: string;
@@ -20652,7 +20665,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20652
20665
  updatedAt: string;
20653
20666
  lastUserMessageAt: string | null;
20654
20667
  title: string | null;
20655
- status: "error" | "initializing" | "idle" | "running" | "closed";
20656
20668
  model: string | null;
20657
20669
  persistence: AgentPersistenceHandle | null;
20658
20670
  capabilities: AgentCapabilityFlags;
@@ -20703,6 +20715,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20703
20715
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20704
20716
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20705
20717
  }, "strip", z.ZodTypeAny, {
20718
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20706
20719
  id: string;
20707
20720
  provider: string;
20708
20721
  cwd: string;
@@ -20710,7 +20723,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20710
20723
  updatedAt: string;
20711
20724
  lastUserMessageAt: string | null;
20712
20725
  title: string | null;
20713
- status: "error" | "initializing" | "idle" | "running" | "closed";
20714
20726
  labels: Record<string, string>;
20715
20727
  model: string | null;
20716
20728
  persistence: AgentPersistenceHandle | null;
@@ -20728,6 +20740,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20728
20740
  lastUsage?: AgentUsage | undefined;
20729
20741
  lastError?: string | undefined;
20730
20742
  }, {
20743
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20731
20744
  id: string;
20732
20745
  provider: string;
20733
20746
  cwd: string;
@@ -20735,7 +20748,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20735
20748
  updatedAt: string;
20736
20749
  lastUserMessageAt: string | null;
20737
20750
  title: string | null;
20738
- status: "error" | "initializing" | "idle" | "running" | "closed";
20739
20751
  model: string | null;
20740
20752
  persistence: AgentPersistenceHandle | null;
20741
20753
  capabilities: AgentCapabilityFlags;
@@ -20873,6 +20885,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20873
20885
  }>;
20874
20886
  }, "strip", z.ZodTypeAny, {
20875
20887
  agent: {
20888
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20876
20889
  id: string;
20877
20890
  provider: string;
20878
20891
  cwd: string;
@@ -20880,7 +20893,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20880
20893
  updatedAt: string;
20881
20894
  lastUserMessageAt: string | null;
20882
20895
  title: string | null;
20883
- status: "error" | "initializing" | "idle" | "running" | "closed";
20884
20896
  labels: Record<string, string>;
20885
20897
  model: string | null;
20886
20898
  persistence: AgentPersistenceHandle | null;
@@ -20926,6 +20938,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20926
20938
  };
20927
20939
  }, {
20928
20940
  agent: {
20941
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20929
20942
  id: string;
20930
20943
  provider: string;
20931
20944
  cwd: string;
@@ -20933,7 +20946,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20933
20946
  updatedAt: string;
20934
20947
  lastUserMessageAt: string | null;
20935
20948
  title: string | null;
20936
- status: "error" | "initializing" | "idle" | "running" | "closed";
20937
20949
  model: string | null;
20938
20950
  persistence: AgentPersistenceHandle | null;
20939
20951
  capabilities: AgentCapabilityFlags;
@@ -20994,6 +21006,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20994
21006
  }, "strip", z.ZodTypeAny, {
20995
21007
  entries: {
20996
21008
  agent: {
21009
+ status: "error" | "initializing" | "idle" | "running" | "closed";
20997
21010
  id: string;
20998
21011
  provider: string;
20999
21012
  cwd: string;
@@ -21001,7 +21014,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21001
21014
  updatedAt: string;
21002
21015
  lastUserMessageAt: string | null;
21003
21016
  title: string | null;
21004
- status: "error" | "initializing" | "idle" | "running" | "closed";
21005
21017
  labels: Record<string, string>;
21006
21018
  model: string | null;
21007
21019
  persistence: AgentPersistenceHandle | null;
@@ -21056,6 +21068,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21056
21068
  }, {
21057
21069
  entries: {
21058
21070
  agent: {
21071
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21059
21072
  id: string;
21060
21073
  provider: string;
21061
21074
  cwd: string;
@@ -21063,7 +21076,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21063
21076
  updatedAt: string;
21064
21077
  lastUserMessageAt: string | null;
21065
21078
  title: string | null;
21066
- status: "error" | "initializing" | "idle" | "running" | "closed";
21067
21079
  model: string | null;
21068
21080
  persistence: AgentPersistenceHandle | null;
21069
21081
  capabilities: AgentCapabilityFlags;
@@ -21121,6 +21133,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21121
21133
  payload: {
21122
21134
  entries: {
21123
21135
  agent: {
21136
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21124
21137
  id: string;
21125
21138
  provider: string;
21126
21139
  cwd: string;
@@ -21128,7 +21141,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21128
21141
  updatedAt: string;
21129
21142
  lastUserMessageAt: string | null;
21130
21143
  title: string | null;
21131
- status: "error" | "initializing" | "idle" | "running" | "closed";
21132
21144
  labels: Record<string, string>;
21133
21145
  model: string | null;
21134
21146
  persistence: AgentPersistenceHandle | null;
@@ -21186,6 +21198,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21186
21198
  payload: {
21187
21199
  entries: {
21188
21200
  agent: {
21201
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21189
21202
  id: string;
21190
21203
  provider: string;
21191
21204
  cwd: string;
@@ -21193,7 +21206,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21193
21206
  updatedAt: string;
21194
21207
  lastUserMessageAt: string | null;
21195
21208
  title: string | null;
21196
- status: "error" | "initializing" | "idle" | "running" | "closed";
21197
21209
  model: string | null;
21198
21210
  persistence: AgentPersistenceHandle | null;
21199
21211
  capabilities: AgentCapabilityFlags;
@@ -21276,6 +21288,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21276
21288
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21277
21289
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21278
21290
  }, "strip", z.ZodTypeAny, {
21291
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21279
21292
  id: string;
21280
21293
  provider: string;
21281
21294
  cwd: string;
@@ -21283,7 +21296,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21283
21296
  updatedAt: string;
21284
21297
  lastUserMessageAt: string | null;
21285
21298
  title: string | null;
21286
- status: "error" | "initializing" | "idle" | "running" | "closed";
21287
21299
  labels: Record<string, string>;
21288
21300
  model: string | null;
21289
21301
  persistence: AgentPersistenceHandle | null;
@@ -21301,6 +21313,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21301
21313
  lastUsage?: AgentUsage | undefined;
21302
21314
  lastError?: string | undefined;
21303
21315
  }, {
21316
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21304
21317
  id: string;
21305
21318
  provider: string;
21306
21319
  cwd: string;
@@ -21308,7 +21321,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21308
21321
  updatedAt: string;
21309
21322
  lastUserMessageAt: string | null;
21310
21323
  title: string | null;
21311
- status: "error" | "initializing" | "idle" | "running" | "closed";
21312
21324
  model: string | null;
21313
21325
  persistence: AgentPersistenceHandle | null;
21314
21326
  capabilities: AgentCapabilityFlags;
@@ -21449,6 +21461,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21449
21461
  error: string | null;
21450
21462
  requestId: string;
21451
21463
  agent: {
21464
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21452
21465
  id: string;
21453
21466
  provider: string;
21454
21467
  cwd: string;
@@ -21456,7 +21469,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21456
21469
  updatedAt: string;
21457
21470
  lastUserMessageAt: string | null;
21458
21471
  title: string | null;
21459
- status: "error" | "initializing" | "idle" | "running" | "closed";
21460
21472
  labels: Record<string, string>;
21461
21473
  model: string | null;
21462
21474
  persistence: AgentPersistenceHandle | null;
@@ -21504,6 +21516,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21504
21516
  error: string | null;
21505
21517
  requestId: string;
21506
21518
  agent: {
21519
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21507
21520
  id: string;
21508
21521
  provider: string;
21509
21522
  cwd: string;
@@ -21511,7 +21524,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21511
21524
  updatedAt: string;
21512
21525
  lastUserMessageAt: string | null;
21513
21526
  title: string | null;
21514
- status: "error" | "initializing" | "idle" | "running" | "closed";
21515
21527
  model: string | null;
21516
21528
  persistence: AgentPersistenceHandle | null;
21517
21529
  capabilities: AgentCapabilityFlags;
@@ -21562,6 +21574,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21562
21574
  error: string | null;
21563
21575
  requestId: string;
21564
21576
  agent: {
21577
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21565
21578
  id: string;
21566
21579
  provider: string;
21567
21580
  cwd: string;
@@ -21569,7 +21582,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21569
21582
  updatedAt: string;
21570
21583
  lastUserMessageAt: string | null;
21571
21584
  title: string | null;
21572
- status: "error" | "initializing" | "idle" | "running" | "closed";
21573
21585
  labels: Record<string, string>;
21574
21586
  model: string | null;
21575
21587
  persistence: AgentPersistenceHandle | null;
@@ -21620,6 +21632,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21620
21632
  error: string | null;
21621
21633
  requestId: string;
21622
21634
  agent: {
21635
+ status: "error" | "initializing" | "idle" | "running" | "closed";
21623
21636
  id: string;
21624
21637
  provider: string;
21625
21638
  cwd: string;
@@ -21627,7 +21640,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21627
21640
  updatedAt: string;
21628
21641
  lastUserMessageAt: string | null;
21629
21642
  title: string | null;
21630
- status: "error" | "initializing" | "idle" | "running" | "closed";
21631
21643
  model: string | null;
21632
21644
  persistence: AgentPersistenceHandle | null;
21633
21645
  capabilities: AgentCapabilityFlags;
@@ -22115,6 +22127,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22115
22127
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22116
22128
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22117
22129
  }, "strip", z.ZodTypeAny, {
22130
+ status: "error" | "initializing" | "idle" | "running" | "closed";
22118
22131
  id: string;
22119
22132
  provider: string;
22120
22133
  cwd: string;
@@ -22122,7 +22135,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22122
22135
  updatedAt: string;
22123
22136
  lastUserMessageAt: string | null;
22124
22137
  title: string | null;
22125
- status: "error" | "initializing" | "idle" | "running" | "closed";
22126
22138
  labels: Record<string, string>;
22127
22139
  model: string | null;
22128
22140
  persistence: AgentPersistenceHandle | null;
@@ -22140,6 +22152,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22140
22152
  lastUsage?: AgentUsage | undefined;
22141
22153
  lastError?: string | undefined;
22142
22154
  }, {
22155
+ status: "error" | "initializing" | "idle" | "running" | "closed";
22143
22156
  id: string;
22144
22157
  provider: string;
22145
22158
  cwd: string;
@@ -22147,7 +22160,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22147
22160
  updatedAt: string;
22148
22161
  lastUserMessageAt: string | null;
22149
22162
  title: string | null;
22150
- status: "error" | "initializing" | "idle" | "running" | "closed";
22151
22163
  model: string | null;
22152
22164
  persistence: AgentPersistenceHandle | null;
22153
22165
  capabilities: AgentCapabilityFlags;
@@ -22172,6 +22184,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22172
22184
  status: "error" | "permission" | "idle" | "timeout";
22173
22185
  requestId: string;
22174
22186
  final: {
22187
+ status: "error" | "initializing" | "idle" | "running" | "closed";
22175
22188
  id: string;
22176
22189
  provider: string;
22177
22190
  cwd: string;
@@ -22179,7 +22192,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22179
22192
  updatedAt: string;
22180
22193
  lastUserMessageAt: string | null;
22181
22194
  title: string | null;
22182
- status: "error" | "initializing" | "idle" | "running" | "closed";
22183
22195
  labels: Record<string, string>;
22184
22196
  model: string | null;
22185
22197
  persistence: AgentPersistenceHandle | null;
@@ -22203,6 +22215,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22203
22215
  status: "error" | "permission" | "idle" | "timeout";
22204
22216
  requestId: string;
22205
22217
  final: {
22218
+ status: "error" | "initializing" | "idle" | "running" | "closed";
22206
22219
  id: string;
22207
22220
  provider: string;
22208
22221
  cwd: string;
@@ -22210,7 +22223,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22210
22223
  updatedAt: string;
22211
22224
  lastUserMessageAt: string | null;
22212
22225
  title: string | null;
22213
- status: "error" | "initializing" | "idle" | "running" | "closed";
22214
22226
  model: string | null;
22215
22227
  persistence: AgentPersistenceHandle | null;
22216
22228
  capabilities: AgentCapabilityFlags;
@@ -22237,6 +22249,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22237
22249
  status: "error" | "permission" | "idle" | "timeout";
22238
22250
  requestId: string;
22239
22251
  final: {
22252
+ status: "error" | "initializing" | "idle" | "running" | "closed";
22240
22253
  id: string;
22241
22254
  provider: string;
22242
22255
  cwd: string;
@@ -22244,7 +22257,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22244
22257
  updatedAt: string;
22245
22258
  lastUserMessageAt: string | null;
22246
22259
  title: string | null;
22247
- status: "error" | "initializing" | "idle" | "running" | "closed";
22248
22260
  labels: Record<string, string>;
22249
22261
  model: string | null;
22250
22262
  persistence: AgentPersistenceHandle | null;
@@ -22271,6 +22283,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22271
22283
  status: "error" | "permission" | "idle" | "timeout";
22272
22284
  requestId: string;
22273
22285
  final: {
22286
+ status: "error" | "initializing" | "idle" | "running" | "closed";
22274
22287
  id: string;
22275
22288
  provider: string;
22276
22289
  cwd: string;
@@ -22278,7 +22291,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22278
22291
  updatedAt: string;
22279
22292
  lastUserMessageAt: string | null;
22280
22293
  title: string | null;
22281
- status: "error" | "initializing" | "idle" | "running" | "closed";
22282
22294
  model: string | null;
22283
22295
  persistence: AgentPersistenceHandle | null;
22284
22296
  capabilities: AgentCapabilityFlags;
@@ -23645,7 +23657,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23645
23657
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
23646
23658
  message: string;
23647
23659
  } | null;
23648
- cwd: string;
23649
23660
  status: {
23650
23661
  number: number;
23651
23662
  title: string;
@@ -23659,6 +23670,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23659
23670
  canMerge: boolean;
23660
23671
  hasConflicts: boolean;
23661
23672
  } | null;
23673
+ cwd: string;
23662
23674
  requestId: string;
23663
23675
  githubFeaturesEnabled: boolean;
23664
23676
  }, {
@@ -23666,7 +23678,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23666
23678
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
23667
23679
  message: string;
23668
23680
  } | null;
23669
- cwd: string;
23670
23681
  status: {
23671
23682
  number: number;
23672
23683
  title: string;
@@ -23680,6 +23691,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23680
23691
  canMerge: boolean;
23681
23692
  hasConflicts: boolean;
23682
23693
  } | null;
23694
+ cwd: string;
23683
23695
  requestId: string;
23684
23696
  githubFeaturesEnabled: boolean;
23685
23697
  }>;
@@ -23690,7 +23702,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23690
23702
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
23691
23703
  message: string;
23692
23704
  } | null;
23693
- cwd: string;
23694
23705
  status: {
23695
23706
  number: number;
23696
23707
  title: string;
@@ -23704,6 +23715,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23704
23715
  canMerge: boolean;
23705
23716
  hasConflicts: boolean;
23706
23717
  } | null;
23718
+ cwd: string;
23707
23719
  requestId: string;
23708
23720
  githubFeaturesEnabled: boolean;
23709
23721
  };
@@ -23714,7 +23726,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23714
23726
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
23715
23727
  message: string;
23716
23728
  } | null;
23717
- cwd: string;
23718
23729
  status: {
23719
23730
  number: number;
23720
23731
  title: string;
@@ -23728,6 +23739,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23728
23739
  canMerge: boolean;
23729
23740
  hasConflicts: boolean;
23730
23741
  } | null;
23742
+ cwd: string;
23731
23743
  requestId: string;
23732
23744
  githubFeaturesEnabled: boolean;
23733
23745
  };
@@ -25694,6 +25706,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25694
25706
  payload: {
25695
25707
  kind: "upsert";
25696
25708
  agent: {
25709
+ status: "error" | "initializing" | "idle" | "running" | "closed";
25697
25710
  id: string;
25698
25711
  provider: string;
25699
25712
  cwd: string;
@@ -25701,7 +25714,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25701
25714
  updatedAt: string;
25702
25715
  lastUserMessageAt: string | null;
25703
25716
  title: string | null;
25704
- status: "error" | "initializing" | "idle" | "running" | "closed";
25705
25717
  labels: Record<string, string>;
25706
25718
  model: string | null;
25707
25719
  persistence: AgentPersistenceHandle | null;
@@ -25811,6 +25823,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25811
25823
  agentId: string;
25812
25824
  status: string;
25813
25825
  info: {
25826
+ status: "error" | "initializing" | "idle" | "running" | "closed";
25814
25827
  id: string;
25815
25828
  provider: string;
25816
25829
  cwd: string;
@@ -25818,7 +25831,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25818
25831
  updatedAt: string;
25819
25832
  lastUserMessageAt: string | null;
25820
25833
  title: string | null;
25821
- status: "error" | "initializing" | "idle" | "running" | "closed";
25822
25834
  labels: Record<string, string>;
25823
25835
  model: string | null;
25824
25836
  persistence: AgentPersistenceHandle | null;
@@ -25842,6 +25854,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25842
25854
  payload: {
25843
25855
  entries: {
25844
25856
  agent: {
25857
+ status: "error" | "initializing" | "idle" | "running" | "closed";
25845
25858
  id: string;
25846
25859
  provider: string;
25847
25860
  cwd: string;
@@ -25849,7 +25862,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25849
25862
  updatedAt: string;
25850
25863
  lastUserMessageAt: string | null;
25851
25864
  title: string | null;
25852
- status: "error" | "initializing" | "idle" | "running" | "closed";
25853
25865
  labels: Record<string, string>;
25854
25866
  model: string | null;
25855
25867
  persistence: AgentPersistenceHandle | null;
@@ -25908,6 +25920,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25908
25920
  error: string | null;
25909
25921
  requestId: string;
25910
25922
  agent: {
25923
+ status: "error" | "initializing" | "idle" | "running" | "closed";
25911
25924
  id: string;
25912
25925
  provider: string;
25913
25926
  cwd: string;
@@ -25915,7 +25928,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25915
25928
  updatedAt: string;
25916
25929
  lastUserMessageAt: string | null;
25917
25930
  title: string | null;
25918
- status: "error" | "initializing" | "idle" | "running" | "closed";
25919
25931
  labels: Record<string, string>;
25920
25932
  model: string | null;
25921
25933
  persistence: AgentPersistenceHandle | null;
@@ -26015,6 +26027,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26015
26027
  status: "error" | "permission" | "idle" | "timeout";
26016
26028
  requestId: string;
26017
26029
  final: {
26030
+ status: "error" | "initializing" | "idle" | "running" | "closed";
26018
26031
  id: string;
26019
26032
  provider: string;
26020
26033
  cwd: string;
@@ -26022,7 +26035,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26022
26035
  updatedAt: string;
26023
26036
  lastUserMessageAt: string | null;
26024
26037
  title: string | null;
26025
- status: "error" | "initializing" | "idle" | "running" | "closed";
26026
26038
  labels: Record<string, string>;
26027
26039
  model: string | null;
26028
26040
  persistence: AgentPersistenceHandle | null;
@@ -26272,7 +26284,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26272
26284
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
26273
26285
  message: string;
26274
26286
  } | null;
26275
- cwd: string;
26276
26287
  status: {
26277
26288
  number: number;
26278
26289
  title: string;
@@ -26286,6 +26297,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26286
26297
  canMerge: boolean;
26287
26298
  hasConflicts: boolean;
26288
26299
  } | null;
26300
+ cwd: string;
26289
26301
  requestId: string;
26290
26302
  githubFeaturesEnabled: boolean;
26291
26303
  };
@@ -26707,6 +26719,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26707
26719
  payload: {
26708
26720
  kind: "upsert";
26709
26721
  agent: {
26722
+ status: "error" | "initializing" | "idle" | "running" | "closed";
26710
26723
  id: string;
26711
26724
  provider: string;
26712
26725
  cwd: string;
@@ -26714,7 +26727,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26714
26727
  updatedAt: string;
26715
26728
  lastUserMessageAt: string | null;
26716
26729
  title: string | null;
26717
- status: "error" | "initializing" | "idle" | "running" | "closed";
26718
26730
  model: string | null;
26719
26731
  persistence: AgentPersistenceHandle | null;
26720
26732
  capabilities: AgentCapabilityFlags;
@@ -26824,6 +26836,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26824
26836
  agentId: string;
26825
26837
  status: string;
26826
26838
  info: {
26839
+ status: "error" | "initializing" | "idle" | "running" | "closed";
26827
26840
  id: string;
26828
26841
  provider: string;
26829
26842
  cwd: string;
@@ -26831,7 +26844,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26831
26844
  updatedAt: string;
26832
26845
  lastUserMessageAt: string | null;
26833
26846
  title: string | null;
26834
- status: "error" | "initializing" | "idle" | "running" | "closed";
26835
26847
  model: string | null;
26836
26848
  persistence: AgentPersistenceHandle | null;
26837
26849
  capabilities: AgentCapabilityFlags;
@@ -26855,6 +26867,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26855
26867
  payload: {
26856
26868
  entries: {
26857
26869
  agent: {
26870
+ status: "error" | "initializing" | "idle" | "running" | "closed";
26858
26871
  id: string;
26859
26872
  provider: string;
26860
26873
  cwd: string;
@@ -26862,7 +26875,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26862
26875
  updatedAt: string;
26863
26876
  lastUserMessageAt: string | null;
26864
26877
  title: string | null;
26865
- status: "error" | "initializing" | "idle" | "running" | "closed";
26866
26878
  model: string | null;
26867
26879
  persistence: AgentPersistenceHandle | null;
26868
26880
  capabilities: AgentCapabilityFlags;
@@ -26921,6 +26933,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26921
26933
  error: string | null;
26922
26934
  requestId: string;
26923
26935
  agent: {
26936
+ status: "error" | "initializing" | "idle" | "running" | "closed";
26924
26937
  id: string;
26925
26938
  provider: string;
26926
26939
  cwd: string;
@@ -26928,7 +26941,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26928
26941
  updatedAt: string;
26929
26942
  lastUserMessageAt: string | null;
26930
26943
  title: string | null;
26931
- status: "error" | "initializing" | "idle" | "running" | "closed";
26932
26944
  model: string | null;
26933
26945
  persistence: AgentPersistenceHandle | null;
26934
26946
  capabilities: AgentCapabilityFlags;
@@ -27028,6 +27040,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27028
27040
  status: "error" | "permission" | "idle" | "timeout";
27029
27041
  requestId: string;
27030
27042
  final: {
27043
+ status: "error" | "initializing" | "idle" | "running" | "closed";
27031
27044
  id: string;
27032
27045
  provider: string;
27033
27046
  cwd: string;
@@ -27035,7 +27048,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27035
27048
  updatedAt: string;
27036
27049
  lastUserMessageAt: string | null;
27037
27050
  title: string | null;
27038
- status: "error" | "initializing" | "idle" | "running" | "closed";
27039
27051
  model: string | null;
27040
27052
  persistence: AgentPersistenceHandle | null;
27041
27053
  capabilities: AgentCapabilityFlags;
@@ -27285,7 +27297,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27285
27297
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
27286
27298
  message: string;
27287
27299
  } | null;
27288
- cwd: string;
27289
27300
  status: {
27290
27301
  number: number;
27291
27302
  title: string;
@@ -27299,6 +27310,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27299
27310
  canMerge: boolean;
27300
27311
  hasConflicts: boolean;
27301
27312
  } | null;
27313
+ cwd: string;
27302
27314
  requestId: string;
27303
27315
  githubFeaturesEnabled: boolean;
27304
27316
  };
@@ -28049,6 +28061,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
28049
28061
  newBranchName?: string | undefined;
28050
28062
  createWorktree?: boolean | undefined;
28051
28063
  }>>;
28064
+ bootstrapSetupOverride: z.ZodOptional<z.ZodType<BootstrapSetupOverride, z.ZodTypeDef, BootstrapSetupOverride>>;
28052
28065
  labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
28053
28066
  requestId: z.ZodString;
28054
28067
  }, "strip", z.ZodTypeAny, {
@@ -28101,6 +28114,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
28101
28114
  newBranchName?: string | undefined;
28102
28115
  createWorktree?: boolean | undefined;
28103
28116
  } | undefined;
28117
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
28104
28118
  }, {
28105
28119
  type: "create_agent_request";
28106
28120
  config: {
@@ -28151,6 +28165,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
28151
28165
  newBranchName?: string | undefined;
28152
28166
  createWorktree?: boolean | undefined;
28153
28167
  } | undefined;
28168
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
28154
28169
  }>, z.ZodObject<{
28155
28170
  type: z.ZodLiteral<"list_provider_models_request">;
28156
28171
  provider: z.ZodEnum<[string, ...string[]]>;
@@ -29271,6 +29286,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
29271
29286
  newBranchName?: string | undefined;
29272
29287
  createWorktree?: boolean | undefined;
29273
29288
  } | undefined;
29289
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
29274
29290
  } | {
29275
29291
  provider: string;
29276
29292
  type: "list_provider_models_request";
@@ -29674,6 +29690,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
29674
29690
  newBranchName?: string | undefined;
29675
29691
  createWorktree?: boolean | undefined;
29676
29692
  } | undefined;
29693
+ bootstrapSetupOverride?: BootstrapSetupOverride | undefined;
29677
29694
  } | {
29678
29695
  provider: string;
29679
29696
  type: "list_provider_models_request";
@@ -30212,6 +30229,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30212
30229
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30213
30230
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30214
30231
  }, "strip", z.ZodTypeAny, {
30232
+ status: "error" | "initializing" | "idle" | "running" | "closed";
30215
30233
  id: string;
30216
30234
  provider: string;
30217
30235
  cwd: string;
@@ -30219,7 +30237,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30219
30237
  updatedAt: string;
30220
30238
  lastUserMessageAt: string | null;
30221
30239
  title: string | null;
30222
- status: "error" | "initializing" | "idle" | "running" | "closed";
30223
30240
  labels: Record<string, string>;
30224
30241
  model: string | null;
30225
30242
  persistence: AgentPersistenceHandle | null;
@@ -30237,6 +30254,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30237
30254
  lastUsage?: AgentUsage | undefined;
30238
30255
  lastError?: string | undefined;
30239
30256
  }, {
30257
+ status: "error" | "initializing" | "idle" | "running" | "closed";
30240
30258
  id: string;
30241
30259
  provider: string;
30242
30260
  cwd: string;
@@ -30244,7 +30262,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30244
30262
  updatedAt: string;
30245
30263
  lastUserMessageAt: string | null;
30246
30264
  title: string | null;
30247
- status: "error" | "initializing" | "idle" | "running" | "closed";
30248
30265
  model: string | null;
30249
30266
  persistence: AgentPersistenceHandle | null;
30250
30267
  capabilities: AgentCapabilityFlags;
@@ -30383,6 +30400,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30383
30400
  }, "strip", z.ZodTypeAny, {
30384
30401
  kind: "upsert";
30385
30402
  agent: {
30403
+ status: "error" | "initializing" | "idle" | "running" | "closed";
30386
30404
  id: string;
30387
30405
  provider: string;
30388
30406
  cwd: string;
@@ -30390,7 +30408,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30390
30408
  updatedAt: string;
30391
30409
  lastUserMessageAt: string | null;
30392
30410
  title: string | null;
30393
- status: "error" | "initializing" | "idle" | "running" | "closed";
30394
30411
  labels: Record<string, string>;
30395
30412
  model: string | null;
30396
30413
  persistence: AgentPersistenceHandle | null;
@@ -30437,6 +30454,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30437
30454
  }, {
30438
30455
  kind: "upsert";
30439
30456
  agent: {
30457
+ status: "error" | "initializing" | "idle" | "running" | "closed";
30440
30458
  id: string;
30441
30459
  provider: string;
30442
30460
  cwd: string;
@@ -30444,7 +30462,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30444
30462
  updatedAt: string;
30445
30463
  lastUserMessageAt: string | null;
30446
30464
  title: string | null;
30447
- status: "error" | "initializing" | "idle" | "running" | "closed";
30448
30465
  model: string | null;
30449
30466
  persistence: AgentPersistenceHandle | null;
30450
30467
  capabilities: AgentCapabilityFlags;
@@ -30503,6 +30520,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30503
30520
  payload: {
30504
30521
  kind: "upsert";
30505
30522
  agent: {
30523
+ status: "error" | "initializing" | "idle" | "running" | "closed";
30506
30524
  id: string;
30507
30525
  provider: string;
30508
30526
  cwd: string;
@@ -30510,7 +30528,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30510
30528
  updatedAt: string;
30511
30529
  lastUserMessageAt: string | null;
30512
30530
  title: string | null;
30513
- status: "error" | "initializing" | "idle" | "running" | "closed";
30514
30531
  labels: Record<string, string>;
30515
30532
  model: string | null;
30516
30533
  persistence: AgentPersistenceHandle | null;
@@ -30563,6 +30580,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30563
30580
  payload: {
30564
30581
  kind: "upsert";
30565
30582
  agent: {
30583
+ status: "error" | "initializing" | "idle" | "running" | "closed";
30566
30584
  id: string;
30567
30585
  provider: string;
30568
30586
  cwd: string;
@@ -30570,7 +30588,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
30570
30588
  updatedAt: string;
30571
30589
  lastUserMessageAt: string | null;
30572
30590
  title: string | null;
30573
- status: "error" | "initializing" | "idle" | "running" | "closed";
30574
30591
  model: string | null;
30575
30592
  persistence: AgentPersistenceHandle | null;
30576
30593
  capabilities: AgentCapabilityFlags;
@@ -31041,6 +31058,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31041
31058
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31042
31059
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31043
31060
  }, "strip", z.ZodTypeAny, {
31061
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31044
31062
  id: string;
31045
31063
  provider: string;
31046
31064
  cwd: string;
@@ -31048,7 +31066,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31048
31066
  updatedAt: string;
31049
31067
  lastUserMessageAt: string | null;
31050
31068
  title: string | null;
31051
- status: "error" | "initializing" | "idle" | "running" | "closed";
31052
31069
  labels: Record<string, string>;
31053
31070
  model: string | null;
31054
31071
  persistence: AgentPersistenceHandle | null;
@@ -31066,6 +31083,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31066
31083
  lastUsage?: AgentUsage | undefined;
31067
31084
  lastError?: string | undefined;
31068
31085
  }, {
31086
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31069
31087
  id: string;
31070
31088
  provider: string;
31071
31089
  cwd: string;
@@ -31073,7 +31091,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31073
31091
  updatedAt: string;
31074
31092
  lastUserMessageAt: string | null;
31075
31093
  title: string | null;
31076
- status: "error" | "initializing" | "idle" | "running" | "closed";
31077
31094
  model: string | null;
31078
31095
  persistence: AgentPersistenceHandle | null;
31079
31096
  capabilities: AgentCapabilityFlags;
@@ -31095,6 +31112,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31095
31112
  agentId: string;
31096
31113
  status: string;
31097
31114
  info: {
31115
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31098
31116
  id: string;
31099
31117
  provider: string;
31100
31118
  cwd: string;
@@ -31102,7 +31120,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31102
31120
  updatedAt: string;
31103
31121
  lastUserMessageAt: string | null;
31104
31122
  title: string | null;
31105
- status: "error" | "initializing" | "idle" | "running" | "closed";
31106
31123
  labels: Record<string, string>;
31107
31124
  model: string | null;
31108
31125
  persistence: AgentPersistenceHandle | null;
@@ -31124,6 +31141,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31124
31141
  agentId: string;
31125
31142
  status: string;
31126
31143
  info: {
31144
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31127
31145
  id: string;
31128
31146
  provider: string;
31129
31147
  cwd: string;
@@ -31131,7 +31149,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31131
31149
  updatedAt: string;
31132
31150
  lastUserMessageAt: string | null;
31133
31151
  title: string | null;
31134
- status: "error" | "initializing" | "idle" | "running" | "closed";
31135
31152
  model: string | null;
31136
31153
  persistence: AgentPersistenceHandle | null;
31137
31154
  capabilities: AgentCapabilityFlags;
@@ -31156,6 +31173,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31156
31173
  agentId: string;
31157
31174
  status: string;
31158
31175
  info: {
31176
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31159
31177
  id: string;
31160
31178
  provider: string;
31161
31179
  cwd: string;
@@ -31163,7 +31181,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31163
31181
  updatedAt: string;
31164
31182
  lastUserMessageAt: string | null;
31165
31183
  title: string | null;
31166
- status: "error" | "initializing" | "idle" | "running" | "closed";
31167
31184
  labels: Record<string, string>;
31168
31185
  model: string | null;
31169
31186
  persistence: AgentPersistenceHandle | null;
@@ -31188,6 +31205,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31188
31205
  agentId: string;
31189
31206
  status: string;
31190
31207
  info: {
31208
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31191
31209
  id: string;
31192
31210
  provider: string;
31193
31211
  cwd: string;
@@ -31195,7 +31213,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31195
31213
  updatedAt: string;
31196
31214
  lastUserMessageAt: string | null;
31197
31215
  title: string | null;
31198
- status: "error" | "initializing" | "idle" | "running" | "closed";
31199
31216
  model: string | null;
31200
31217
  persistence: AgentPersistenceHandle | null;
31201
31218
  capabilities: AgentCapabilityFlags;
@@ -31246,6 +31263,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31246
31263
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31247
31264
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31248
31265
  }, "strip", z.ZodTypeAny, {
31266
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31249
31267
  id: string;
31250
31268
  provider: string;
31251
31269
  cwd: string;
@@ -31253,7 +31271,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31253
31271
  updatedAt: string;
31254
31272
  lastUserMessageAt: string | null;
31255
31273
  title: string | null;
31256
- status: "error" | "initializing" | "idle" | "running" | "closed";
31257
31274
  labels: Record<string, string>;
31258
31275
  model: string | null;
31259
31276
  persistence: AgentPersistenceHandle | null;
@@ -31271,6 +31288,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31271
31288
  lastUsage?: AgentUsage | undefined;
31272
31289
  lastError?: string | undefined;
31273
31290
  }, {
31291
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31274
31292
  id: string;
31275
31293
  provider: string;
31276
31294
  cwd: string;
@@ -31278,7 +31296,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31278
31296
  updatedAt: string;
31279
31297
  lastUserMessageAt: string | null;
31280
31298
  title: string | null;
31281
- status: "error" | "initializing" | "idle" | "running" | "closed";
31282
31299
  model: string | null;
31283
31300
  persistence: AgentPersistenceHandle | null;
31284
31301
  capabilities: AgentCapabilityFlags;
@@ -31416,6 +31433,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31416
31433
  }>;
31417
31434
  }, "strip", z.ZodTypeAny, {
31418
31435
  agent: {
31436
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31419
31437
  id: string;
31420
31438
  provider: string;
31421
31439
  cwd: string;
@@ -31423,7 +31441,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31423
31441
  updatedAt: string;
31424
31442
  lastUserMessageAt: string | null;
31425
31443
  title: string | null;
31426
- status: "error" | "initializing" | "idle" | "running" | "closed";
31427
31444
  labels: Record<string, string>;
31428
31445
  model: string | null;
31429
31446
  persistence: AgentPersistenceHandle | null;
@@ -31469,6 +31486,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31469
31486
  };
31470
31487
  }, {
31471
31488
  agent: {
31489
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31472
31490
  id: string;
31473
31491
  provider: string;
31474
31492
  cwd: string;
@@ -31476,7 +31494,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31476
31494
  updatedAt: string;
31477
31495
  lastUserMessageAt: string | null;
31478
31496
  title: string | null;
31479
- status: "error" | "initializing" | "idle" | "running" | "closed";
31480
31497
  model: string | null;
31481
31498
  persistence: AgentPersistenceHandle | null;
31482
31499
  capabilities: AgentCapabilityFlags;
@@ -31537,6 +31554,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31537
31554
  }, "strip", z.ZodTypeAny, {
31538
31555
  entries: {
31539
31556
  agent: {
31557
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31540
31558
  id: string;
31541
31559
  provider: string;
31542
31560
  cwd: string;
@@ -31544,7 +31562,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31544
31562
  updatedAt: string;
31545
31563
  lastUserMessageAt: string | null;
31546
31564
  title: string | null;
31547
- status: "error" | "initializing" | "idle" | "running" | "closed";
31548
31565
  labels: Record<string, string>;
31549
31566
  model: string | null;
31550
31567
  persistence: AgentPersistenceHandle | null;
@@ -31599,6 +31616,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31599
31616
  }, {
31600
31617
  entries: {
31601
31618
  agent: {
31619
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31602
31620
  id: string;
31603
31621
  provider: string;
31604
31622
  cwd: string;
@@ -31606,7 +31624,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31606
31624
  updatedAt: string;
31607
31625
  lastUserMessageAt: string | null;
31608
31626
  title: string | null;
31609
- status: "error" | "initializing" | "idle" | "running" | "closed";
31610
31627
  model: string | null;
31611
31628
  persistence: AgentPersistenceHandle | null;
31612
31629
  capabilities: AgentCapabilityFlags;
@@ -31664,6 +31681,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31664
31681
  payload: {
31665
31682
  entries: {
31666
31683
  agent: {
31684
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31667
31685
  id: string;
31668
31686
  provider: string;
31669
31687
  cwd: string;
@@ -31671,7 +31689,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31671
31689
  updatedAt: string;
31672
31690
  lastUserMessageAt: string | null;
31673
31691
  title: string | null;
31674
- status: "error" | "initializing" | "idle" | "running" | "closed";
31675
31692
  labels: Record<string, string>;
31676
31693
  model: string | null;
31677
31694
  persistence: AgentPersistenceHandle | null;
@@ -31729,6 +31746,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31729
31746
  payload: {
31730
31747
  entries: {
31731
31748
  agent: {
31749
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31732
31750
  id: string;
31733
31751
  provider: string;
31734
31752
  cwd: string;
@@ -31736,7 +31754,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31736
31754
  updatedAt: string;
31737
31755
  lastUserMessageAt: string | null;
31738
31756
  title: string | null;
31739
- status: "error" | "initializing" | "idle" | "running" | "closed";
31740
31757
  model: string | null;
31741
31758
  persistence: AgentPersistenceHandle | null;
31742
31759
  capabilities: AgentCapabilityFlags;
@@ -31819,6 +31836,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31819
31836
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31820
31837
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31821
31838
  }, "strip", z.ZodTypeAny, {
31839
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31822
31840
  id: string;
31823
31841
  provider: string;
31824
31842
  cwd: string;
@@ -31826,7 +31844,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31826
31844
  updatedAt: string;
31827
31845
  lastUserMessageAt: string | null;
31828
31846
  title: string | null;
31829
- status: "error" | "initializing" | "idle" | "running" | "closed";
31830
31847
  labels: Record<string, string>;
31831
31848
  model: string | null;
31832
31849
  persistence: AgentPersistenceHandle | null;
@@ -31844,6 +31861,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31844
31861
  lastUsage?: AgentUsage | undefined;
31845
31862
  lastError?: string | undefined;
31846
31863
  }, {
31864
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31847
31865
  id: string;
31848
31866
  provider: string;
31849
31867
  cwd: string;
@@ -31851,7 +31869,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31851
31869
  updatedAt: string;
31852
31870
  lastUserMessageAt: string | null;
31853
31871
  title: string | null;
31854
- status: "error" | "initializing" | "idle" | "running" | "closed";
31855
31872
  model: string | null;
31856
31873
  persistence: AgentPersistenceHandle | null;
31857
31874
  capabilities: AgentCapabilityFlags;
@@ -31992,6 +32009,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31992
32009
  error: string | null;
31993
32010
  requestId: string;
31994
32011
  agent: {
32012
+ status: "error" | "initializing" | "idle" | "running" | "closed";
31995
32013
  id: string;
31996
32014
  provider: string;
31997
32015
  cwd: string;
@@ -31999,7 +32017,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
31999
32017
  updatedAt: string;
32000
32018
  lastUserMessageAt: string | null;
32001
32019
  title: string | null;
32002
- status: "error" | "initializing" | "idle" | "running" | "closed";
32003
32020
  labels: Record<string, string>;
32004
32021
  model: string | null;
32005
32022
  persistence: AgentPersistenceHandle | null;
@@ -32047,6 +32064,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32047
32064
  error: string | null;
32048
32065
  requestId: string;
32049
32066
  agent: {
32067
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32050
32068
  id: string;
32051
32069
  provider: string;
32052
32070
  cwd: string;
@@ -32054,7 +32072,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32054
32072
  updatedAt: string;
32055
32073
  lastUserMessageAt: string | null;
32056
32074
  title: string | null;
32057
- status: "error" | "initializing" | "idle" | "running" | "closed";
32058
32075
  model: string | null;
32059
32076
  persistence: AgentPersistenceHandle | null;
32060
32077
  capabilities: AgentCapabilityFlags;
@@ -32105,6 +32122,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32105
32122
  error: string | null;
32106
32123
  requestId: string;
32107
32124
  agent: {
32125
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32108
32126
  id: string;
32109
32127
  provider: string;
32110
32128
  cwd: string;
@@ -32112,7 +32130,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32112
32130
  updatedAt: string;
32113
32131
  lastUserMessageAt: string | null;
32114
32132
  title: string | null;
32115
- status: "error" | "initializing" | "idle" | "running" | "closed";
32116
32133
  labels: Record<string, string>;
32117
32134
  model: string | null;
32118
32135
  persistence: AgentPersistenceHandle | null;
@@ -32163,6 +32180,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32163
32180
  error: string | null;
32164
32181
  requestId: string;
32165
32182
  agent: {
32183
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32166
32184
  id: string;
32167
32185
  provider: string;
32168
32186
  cwd: string;
@@ -32170,7 +32188,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32170
32188
  updatedAt: string;
32171
32189
  lastUserMessageAt: string | null;
32172
32190
  title: string | null;
32173
- status: "error" | "initializing" | "idle" | "running" | "closed";
32174
32191
  model: string | null;
32175
32192
  persistence: AgentPersistenceHandle | null;
32176
32193
  capabilities: AgentCapabilityFlags;
@@ -32658,6 +32675,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32658
32675
  attentionTimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32659
32676
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32660
32677
  }, "strip", z.ZodTypeAny, {
32678
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32661
32679
  id: string;
32662
32680
  provider: string;
32663
32681
  cwd: string;
@@ -32665,7 +32683,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32665
32683
  updatedAt: string;
32666
32684
  lastUserMessageAt: string | null;
32667
32685
  title: string | null;
32668
- status: "error" | "initializing" | "idle" | "running" | "closed";
32669
32686
  labels: Record<string, string>;
32670
32687
  model: string | null;
32671
32688
  persistence: AgentPersistenceHandle | null;
@@ -32683,6 +32700,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32683
32700
  lastUsage?: AgentUsage | undefined;
32684
32701
  lastError?: string | undefined;
32685
32702
  }, {
32703
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32686
32704
  id: string;
32687
32705
  provider: string;
32688
32706
  cwd: string;
@@ -32690,7 +32708,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32690
32708
  updatedAt: string;
32691
32709
  lastUserMessageAt: string | null;
32692
32710
  title: string | null;
32693
- status: "error" | "initializing" | "idle" | "running" | "closed";
32694
32711
  model: string | null;
32695
32712
  persistence: AgentPersistenceHandle | null;
32696
32713
  capabilities: AgentCapabilityFlags;
@@ -32715,6 +32732,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32715
32732
  status: "error" | "permission" | "idle" | "timeout";
32716
32733
  requestId: string;
32717
32734
  final: {
32735
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32718
32736
  id: string;
32719
32737
  provider: string;
32720
32738
  cwd: string;
@@ -32722,7 +32740,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32722
32740
  updatedAt: string;
32723
32741
  lastUserMessageAt: string | null;
32724
32742
  title: string | null;
32725
- status: "error" | "initializing" | "idle" | "running" | "closed";
32726
32743
  labels: Record<string, string>;
32727
32744
  model: string | null;
32728
32745
  persistence: AgentPersistenceHandle | null;
@@ -32746,6 +32763,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32746
32763
  status: "error" | "permission" | "idle" | "timeout";
32747
32764
  requestId: string;
32748
32765
  final: {
32766
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32749
32767
  id: string;
32750
32768
  provider: string;
32751
32769
  cwd: string;
@@ -32753,7 +32771,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32753
32771
  updatedAt: string;
32754
32772
  lastUserMessageAt: string | null;
32755
32773
  title: string | null;
32756
- status: "error" | "initializing" | "idle" | "running" | "closed";
32757
32774
  model: string | null;
32758
32775
  persistence: AgentPersistenceHandle | null;
32759
32776
  capabilities: AgentCapabilityFlags;
@@ -32780,6 +32797,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32780
32797
  status: "error" | "permission" | "idle" | "timeout";
32781
32798
  requestId: string;
32782
32799
  final: {
32800
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32783
32801
  id: string;
32784
32802
  provider: string;
32785
32803
  cwd: string;
@@ -32787,7 +32805,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32787
32805
  updatedAt: string;
32788
32806
  lastUserMessageAt: string | null;
32789
32807
  title: string | null;
32790
- status: "error" | "initializing" | "idle" | "running" | "closed";
32791
32808
  labels: Record<string, string>;
32792
32809
  model: string | null;
32793
32810
  persistence: AgentPersistenceHandle | null;
@@ -32814,6 +32831,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32814
32831
  status: "error" | "permission" | "idle" | "timeout";
32815
32832
  requestId: string;
32816
32833
  final: {
32834
+ status: "error" | "initializing" | "idle" | "running" | "closed";
32817
32835
  id: string;
32818
32836
  provider: string;
32819
32837
  cwd: string;
@@ -32821,7 +32839,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
32821
32839
  updatedAt: string;
32822
32840
  lastUserMessageAt: string | null;
32823
32841
  title: string | null;
32824
- status: "error" | "initializing" | "idle" | "running" | "closed";
32825
32842
  model: string | null;
32826
32843
  persistence: AgentPersistenceHandle | null;
32827
32844
  capabilities: AgentCapabilityFlags;
@@ -34188,7 +34205,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34188
34205
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
34189
34206
  message: string;
34190
34207
  } | null;
34191
- cwd: string;
34192
34208
  status: {
34193
34209
  number: number;
34194
34210
  title: string;
@@ -34202,6 +34218,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34202
34218
  canMerge: boolean;
34203
34219
  hasConflicts: boolean;
34204
34220
  } | null;
34221
+ cwd: string;
34205
34222
  requestId: string;
34206
34223
  githubFeaturesEnabled: boolean;
34207
34224
  }, {
@@ -34209,7 +34226,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34209
34226
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
34210
34227
  message: string;
34211
34228
  } | null;
34212
- cwd: string;
34213
34229
  status: {
34214
34230
  number: number;
34215
34231
  title: string;
@@ -34223,6 +34239,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34223
34239
  canMerge: boolean;
34224
34240
  hasConflicts: boolean;
34225
34241
  } | null;
34242
+ cwd: string;
34226
34243
  requestId: string;
34227
34244
  githubFeaturesEnabled: boolean;
34228
34245
  }>;
@@ -34233,7 +34250,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34233
34250
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
34234
34251
  message: string;
34235
34252
  } | null;
34236
- cwd: string;
34237
34253
  status: {
34238
34254
  number: number;
34239
34255
  title: string;
@@ -34247,6 +34263,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34247
34263
  canMerge: boolean;
34248
34264
  hasConflicts: boolean;
34249
34265
  } | null;
34266
+ cwd: string;
34250
34267
  requestId: string;
34251
34268
  githubFeaturesEnabled: boolean;
34252
34269
  };
@@ -34257,7 +34274,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34257
34274
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
34258
34275
  message: string;
34259
34276
  } | null;
34260
- cwd: string;
34261
34277
  status: {
34262
34278
  number: number;
34263
34279
  title: string;
@@ -34271,6 +34287,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
34271
34287
  canMerge: boolean;
34272
34288
  hasConflicts: boolean;
34273
34289
  } | null;
34290
+ cwd: string;
34274
34291
  requestId: string;
34275
34292
  githubFeaturesEnabled: boolean;
34276
34293
  };
@@ -36237,6 +36254,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36237
36254
  payload: {
36238
36255
  kind: "upsert";
36239
36256
  agent: {
36257
+ status: "error" | "initializing" | "idle" | "running" | "closed";
36240
36258
  id: string;
36241
36259
  provider: string;
36242
36260
  cwd: string;
@@ -36244,7 +36262,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36244
36262
  updatedAt: string;
36245
36263
  lastUserMessageAt: string | null;
36246
36264
  title: string | null;
36247
- status: "error" | "initializing" | "idle" | "running" | "closed";
36248
36265
  labels: Record<string, string>;
36249
36266
  model: string | null;
36250
36267
  persistence: AgentPersistenceHandle | null;
@@ -36354,6 +36371,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36354
36371
  agentId: string;
36355
36372
  status: string;
36356
36373
  info: {
36374
+ status: "error" | "initializing" | "idle" | "running" | "closed";
36357
36375
  id: string;
36358
36376
  provider: string;
36359
36377
  cwd: string;
@@ -36361,7 +36379,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36361
36379
  updatedAt: string;
36362
36380
  lastUserMessageAt: string | null;
36363
36381
  title: string | null;
36364
- status: "error" | "initializing" | "idle" | "running" | "closed";
36365
36382
  labels: Record<string, string>;
36366
36383
  model: string | null;
36367
36384
  persistence: AgentPersistenceHandle | null;
@@ -36385,6 +36402,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36385
36402
  payload: {
36386
36403
  entries: {
36387
36404
  agent: {
36405
+ status: "error" | "initializing" | "idle" | "running" | "closed";
36388
36406
  id: string;
36389
36407
  provider: string;
36390
36408
  cwd: string;
@@ -36392,7 +36410,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36392
36410
  updatedAt: string;
36393
36411
  lastUserMessageAt: string | null;
36394
36412
  title: string | null;
36395
- status: "error" | "initializing" | "idle" | "running" | "closed";
36396
36413
  labels: Record<string, string>;
36397
36414
  model: string | null;
36398
36415
  persistence: AgentPersistenceHandle | null;
@@ -36451,6 +36468,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36451
36468
  error: string | null;
36452
36469
  requestId: string;
36453
36470
  agent: {
36471
+ status: "error" | "initializing" | "idle" | "running" | "closed";
36454
36472
  id: string;
36455
36473
  provider: string;
36456
36474
  cwd: string;
@@ -36458,7 +36476,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36458
36476
  updatedAt: string;
36459
36477
  lastUserMessageAt: string | null;
36460
36478
  title: string | null;
36461
- status: "error" | "initializing" | "idle" | "running" | "closed";
36462
36479
  labels: Record<string, string>;
36463
36480
  model: string | null;
36464
36481
  persistence: AgentPersistenceHandle | null;
@@ -36558,6 +36575,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36558
36575
  status: "error" | "permission" | "idle" | "timeout";
36559
36576
  requestId: string;
36560
36577
  final: {
36578
+ status: "error" | "initializing" | "idle" | "running" | "closed";
36561
36579
  id: string;
36562
36580
  provider: string;
36563
36581
  cwd: string;
@@ -36565,7 +36583,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36565
36583
  updatedAt: string;
36566
36584
  lastUserMessageAt: string | null;
36567
36585
  title: string | null;
36568
- status: "error" | "initializing" | "idle" | "running" | "closed";
36569
36586
  labels: Record<string, string>;
36570
36587
  model: string | null;
36571
36588
  persistence: AgentPersistenceHandle | null;
@@ -36815,7 +36832,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36815
36832
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
36816
36833
  message: string;
36817
36834
  } | null;
36818
- cwd: string;
36819
36835
  status: {
36820
36836
  number: number;
36821
36837
  title: string;
@@ -36829,6 +36845,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
36829
36845
  canMerge: boolean;
36830
36846
  hasConflicts: boolean;
36831
36847
  } | null;
36848
+ cwd: string;
36832
36849
  requestId: string;
36833
36850
  githubFeaturesEnabled: boolean;
36834
36851
  };
@@ -37250,6 +37267,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37250
37267
  payload: {
37251
37268
  kind: "upsert";
37252
37269
  agent: {
37270
+ status: "error" | "initializing" | "idle" | "running" | "closed";
37253
37271
  id: string;
37254
37272
  provider: string;
37255
37273
  cwd: string;
@@ -37257,7 +37275,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37257
37275
  updatedAt: string;
37258
37276
  lastUserMessageAt: string | null;
37259
37277
  title: string | null;
37260
- status: "error" | "initializing" | "idle" | "running" | "closed";
37261
37278
  model: string | null;
37262
37279
  persistence: AgentPersistenceHandle | null;
37263
37280
  capabilities: AgentCapabilityFlags;
@@ -37367,6 +37384,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37367
37384
  agentId: string;
37368
37385
  status: string;
37369
37386
  info: {
37387
+ status: "error" | "initializing" | "idle" | "running" | "closed";
37370
37388
  id: string;
37371
37389
  provider: string;
37372
37390
  cwd: string;
@@ -37374,7 +37392,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37374
37392
  updatedAt: string;
37375
37393
  lastUserMessageAt: string | null;
37376
37394
  title: string | null;
37377
- status: "error" | "initializing" | "idle" | "running" | "closed";
37378
37395
  model: string | null;
37379
37396
  persistence: AgentPersistenceHandle | null;
37380
37397
  capabilities: AgentCapabilityFlags;
@@ -37398,6 +37415,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37398
37415
  payload: {
37399
37416
  entries: {
37400
37417
  agent: {
37418
+ status: "error" | "initializing" | "idle" | "running" | "closed";
37401
37419
  id: string;
37402
37420
  provider: string;
37403
37421
  cwd: string;
@@ -37405,7 +37423,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37405
37423
  updatedAt: string;
37406
37424
  lastUserMessageAt: string | null;
37407
37425
  title: string | null;
37408
- status: "error" | "initializing" | "idle" | "running" | "closed";
37409
37426
  model: string | null;
37410
37427
  persistence: AgentPersistenceHandle | null;
37411
37428
  capabilities: AgentCapabilityFlags;
@@ -37464,6 +37481,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37464
37481
  error: string | null;
37465
37482
  requestId: string;
37466
37483
  agent: {
37484
+ status: "error" | "initializing" | "idle" | "running" | "closed";
37467
37485
  id: string;
37468
37486
  provider: string;
37469
37487
  cwd: string;
@@ -37471,7 +37489,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37471
37489
  updatedAt: string;
37472
37490
  lastUserMessageAt: string | null;
37473
37491
  title: string | null;
37474
- status: "error" | "initializing" | "idle" | "running" | "closed";
37475
37492
  model: string | null;
37476
37493
  persistence: AgentPersistenceHandle | null;
37477
37494
  capabilities: AgentCapabilityFlags;
@@ -37571,6 +37588,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37571
37588
  status: "error" | "permission" | "idle" | "timeout";
37572
37589
  requestId: string;
37573
37590
  final: {
37591
+ status: "error" | "initializing" | "idle" | "running" | "closed";
37574
37592
  id: string;
37575
37593
  provider: string;
37576
37594
  cwd: string;
@@ -37578,7 +37596,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37578
37596
  updatedAt: string;
37579
37597
  lastUserMessageAt: string | null;
37580
37598
  title: string | null;
37581
- status: "error" | "initializing" | "idle" | "running" | "closed";
37582
37599
  model: string | null;
37583
37600
  persistence: AgentPersistenceHandle | null;
37584
37601
  capabilities: AgentCapabilityFlags;
@@ -37828,7 +37845,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37828
37845
  code: "NOT_GIT_REPO" | "NOT_ALLOWED" | "MERGE_CONFLICT" | "UNKNOWN";
37829
37846
  message: string;
37830
37847
  } | null;
37831
- cwd: string;
37832
37848
  status: {
37833
37849
  number: number;
37834
37850
  title: string;
@@ -37842,6 +37858,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
37842
37858
  canMerge: boolean;
37843
37859
  hasConflicts: boolean;
37844
37860
  } | null;
37861
+ cwd: string;
37845
37862
  requestId: string;
37846
37863
  githubFeaturesEnabled: boolean;
37847
37864
  };