@otto-code/protocol 0.5.2 → 0.5.5

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.
@@ -50,7 +50,7 @@ export declare const MutableGitHostingConfigSchema: z.ZodObject<{
50
50
  }, z.core.$loose>>;
51
51
  }, z.core.$loose>;
52
52
  export type MutableGitHostingConfig = z.infer<typeof MutableGitHostingConfigSchema>;
53
- export declare const PERSONALITY_ROLES: readonly ["chatter", "artificer", "scheduler", "writer", "coder", "judger", "advisor", "orchestrator"];
53
+ export declare const PERSONALITY_ROLES: readonly ["chatter", "artificer", "scheduler", "researcher", "planner", "judger", "advisor", "coder", "designer", "writer", "orchestrator"];
54
54
  export type PersonalityRole = (typeof PERSONALITY_ROLES)[number];
55
55
  declare const AgentPersonalityVoiceSchema: z.ZodObject<{
56
56
  provider: z.ZodString;
@@ -1027,8 +1027,8 @@ declare const WorkspaceStateBucketSchema: z.ZodEnum<{
1027
1027
  running: "running";
1028
1028
  attention: "attention";
1029
1029
  needs_input: "needs_input";
1030
- failed: "failed";
1031
1030
  done: "done";
1031
+ failed: "failed";
1032
1032
  }>;
1033
1033
  export declare const FetchWorkspacesRequestMessageSchema: z.ZodObject<{
1034
1034
  type: z.ZodLiteral<"fetch_workspaces_request">;
@@ -1631,6 +1631,100 @@ export declare const ProviderUsageListRequestMessageSchema: z.ZodObject<{
1631
1631
  type: z.ZodLiteral<"provider.usage.list.request">;
1632
1632
  requestId: z.ZodString;
1633
1633
  }, z.core.$strip>;
1634
+ export declare const ActivityCountersSchema: z.ZodObject<{
1635
+ messagesSent: z.ZodDefault<z.ZodNumber>;
1636
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
1637
+ tokensSent: z.ZodDefault<z.ZodNumber>;
1638
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
1639
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
1640
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
1641
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
1642
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
1643
+ thoughts: z.ZodDefault<z.ZodNumber>;
1644
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
1645
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
1646
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
1647
+ }, z.core.$strip>;
1648
+ export declare const StatsActivityGetRequestMessageSchema: z.ZodObject<{
1649
+ type: z.ZodLiteral<"stats.activity.get.request">;
1650
+ requestId: z.ZodString;
1651
+ }, z.core.$strip>;
1652
+ export declare const StatsActivityGetResponseMessageSchema: z.ZodObject<{
1653
+ type: z.ZodLiteral<"stats.activity.get.response">;
1654
+ payload: z.ZodObject<{
1655
+ requestId: z.ZodString;
1656
+ today: z.ZodObject<{
1657
+ messagesSent: z.ZodDefault<z.ZodNumber>;
1658
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
1659
+ tokensSent: z.ZodDefault<z.ZodNumber>;
1660
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
1661
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
1662
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
1663
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
1664
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
1665
+ thoughts: z.ZodDefault<z.ZodNumber>;
1666
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
1667
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
1668
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
1669
+ }, z.core.$strip>;
1670
+ yesterday: z.ZodObject<{
1671
+ messagesSent: z.ZodDefault<z.ZodNumber>;
1672
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
1673
+ tokensSent: z.ZodDefault<z.ZodNumber>;
1674
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
1675
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
1676
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
1677
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
1678
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
1679
+ thoughts: z.ZodDefault<z.ZodNumber>;
1680
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
1681
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
1682
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
1683
+ }, z.core.$strip>;
1684
+ last7Days: z.ZodObject<{
1685
+ messagesSent: z.ZodDefault<z.ZodNumber>;
1686
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
1687
+ tokensSent: z.ZodDefault<z.ZodNumber>;
1688
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
1689
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
1690
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
1691
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
1692
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
1693
+ thoughts: z.ZodDefault<z.ZodNumber>;
1694
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
1695
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
1696
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
1697
+ }, z.core.$strip>;
1698
+ last30Days: z.ZodObject<{
1699
+ messagesSent: z.ZodDefault<z.ZodNumber>;
1700
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
1701
+ tokensSent: z.ZodDefault<z.ZodNumber>;
1702
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
1703
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
1704
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
1705
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
1706
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
1707
+ thoughts: z.ZodDefault<z.ZodNumber>;
1708
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
1709
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
1710
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
1711
+ }, z.core.$strip>;
1712
+ allTime: z.ZodObject<{
1713
+ messagesSent: z.ZodDefault<z.ZodNumber>;
1714
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
1715
+ tokensSent: z.ZodDefault<z.ZodNumber>;
1716
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
1717
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
1718
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
1719
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
1720
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
1721
+ thoughts: z.ZodDefault<z.ZodNumber>;
1722
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
1723
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
1724
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
1725
+ }, z.core.$strip>;
1726
+ }, z.core.$strip>;
1727
+ }, z.core.$strip>;
1634
1728
  export declare const AgentContextGetUsageRequestMessageSchema: z.ZodObject<{
1635
1729
  type: z.ZodLiteral<"agent.context.get_usage.request">;
1636
1730
  agentId: z.ZodString;
@@ -1833,6 +1927,78 @@ export declare const AgentSubagentStopResponseMessageSchema: z.ZodObject<{
1833
1927
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
1834
1928
  }, z.core.$strip>;
1835
1929
  }, z.core.$strip>;
1930
+ export declare const BackgroundShellTaskInfoSchema: z.ZodObject<{
1931
+ id: z.ZodString;
1932
+ parentAgentId: z.ZodString;
1933
+ provider: z.ZodString;
1934
+ command: z.ZodOptional<z.ZodString>;
1935
+ description: z.ZodOptional<z.ZodString>;
1936
+ status: z.ZodEnum<{
1937
+ error: "error";
1938
+ idle: "idle";
1939
+ running: "running";
1940
+ closed: "closed";
1941
+ }>;
1942
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
1943
+ createdAt: z.ZodString;
1944
+ updatedAt: z.ZodString;
1945
+ archivedAt: z.ZodOptional<z.ZodString>;
1946
+ }, z.core.$strip>;
1947
+ export declare const BackgroundShellTasksChangedSchema: z.ZodObject<{
1948
+ type: z.ZodLiteral<"background_shell_tasks_changed">;
1949
+ payload: z.ZodObject<{
1950
+ parentAgentId: z.ZodString;
1951
+ tasks: z.ZodArray<z.ZodObject<{
1952
+ id: z.ZodString;
1953
+ parentAgentId: z.ZodString;
1954
+ provider: z.ZodString;
1955
+ command: z.ZodOptional<z.ZodString>;
1956
+ description: z.ZodOptional<z.ZodString>;
1957
+ status: z.ZodEnum<{
1958
+ error: "error";
1959
+ idle: "idle";
1960
+ running: "running";
1961
+ closed: "closed";
1962
+ }>;
1963
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
1964
+ createdAt: z.ZodString;
1965
+ updatedAt: z.ZodString;
1966
+ archivedAt: z.ZodOptional<z.ZodString>;
1967
+ }, z.core.$strip>>;
1968
+ }, z.core.$strip>;
1969
+ }, z.core.$strip>;
1970
+ export declare const AgentBackgroundTaskStopRequestMessageSchema: z.ZodObject<{
1971
+ type: z.ZodLiteral<"agent.background_task.stop.request">;
1972
+ parentAgentId: z.ZodString;
1973
+ taskId: z.ZodString;
1974
+ requestId: z.ZodString;
1975
+ }, z.core.$strip>;
1976
+ export declare const AgentBackgroundTaskStopResponseMessageSchema: z.ZodObject<{
1977
+ type: z.ZodLiteral<"agent.background_task.stop.response">;
1978
+ payload: z.ZodObject<{
1979
+ requestId: z.ZodString;
1980
+ agentId: z.ZodString;
1981
+ accepted: z.ZodBoolean;
1982
+ error: z.ZodNullable<z.ZodString>;
1983
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
1984
+ }, z.core.$strip>;
1985
+ }, z.core.$strip>;
1986
+ export declare const AgentBackgroundTaskClearRequestMessageSchema: z.ZodObject<{
1987
+ type: z.ZodLiteral<"agent.background_task.clear.request">;
1988
+ parentAgentId: z.ZodString;
1989
+ taskIds: z.ZodArray<z.ZodString>;
1990
+ requestId: z.ZodString;
1991
+ }, z.core.$strip>;
1992
+ export declare const AgentBackgroundTaskClearResponseMessageSchema: z.ZodObject<{
1993
+ type: z.ZodLiteral<"agent.background_task.clear.response">;
1994
+ payload: z.ZodObject<{
1995
+ requestId: z.ZodString;
1996
+ agentId: z.ZodString;
1997
+ accepted: z.ZodBoolean;
1998
+ error: z.ZodNullable<z.ZodString>;
1999
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
2000
+ }, z.core.$strip>;
2001
+ }, z.core.$strip>;
1836
2002
  export declare const AgentPersonalitySetRequestMessageSchema: z.ZodObject<{
1837
2003
  type: z.ZodLiteral<"agent.personality.set.request">;
1838
2004
  agentId: z.ZodString;
@@ -2035,6 +2201,171 @@ export declare const CheckoutGitLogAppendedNotificationSchema: z.ZodObject<{
2035
2201
  }, z.core.$strip>>;
2036
2202
  }, z.core.$strip>;
2037
2203
  }, z.core.$strip>;
2204
+ export declare const RunsGetSnapshotRequestSchema: z.ZodObject<{
2205
+ type: z.ZodLiteral<"runs.get_snapshot.request">;
2206
+ requestId: z.ZodString;
2207
+ }, z.core.$strip>;
2208
+ export declare const RunsGetSnapshotResponseSchema: z.ZodObject<{
2209
+ type: z.ZodLiteral<"runs.get_snapshot.response">;
2210
+ payload: z.ZodObject<{
2211
+ runs: z.ZodArray<z.ZodObject<{
2212
+ id: z.ZodString;
2213
+ title: z.ZodString;
2214
+ status: z.ZodString;
2215
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
2216
+ autopilot: z.ZodOptional<z.ZodBoolean>;
2217
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
2218
+ id: z.ZodString;
2219
+ type: z.ZodString;
2220
+ title: z.ZodString;
2221
+ task: z.ZodString;
2222
+ status: z.ZodString;
2223
+ assigneeRole: z.ZodOptional<z.ZodString>;
2224
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
2225
+ fanOut: z.ZodOptional<z.ZodNumber>;
2226
+ keepBest: z.ZodOptional<z.ZodNumber>;
2227
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2228
+ agentId: z.ZodString;
2229
+ personalityId: z.ZodOptional<z.ZodString>;
2230
+ verdict: z.ZodOptional<z.ZodObject<{
2231
+ verdict: z.ZodString;
2232
+ score: z.ZodOptional<z.ZodNumber>;
2233
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
2234
+ name: z.ZodString;
2235
+ met: z.ZodBoolean;
2236
+ evidence: z.ZodOptional<z.ZodString>;
2237
+ }, z.core.$loose>>>;
2238
+ summary: z.ZodOptional<z.ZodString>;
2239
+ }, z.core.$loose>>;
2240
+ summary: z.ZodOptional<z.ZodString>;
2241
+ }, z.core.$loose>>>;
2242
+ notes: z.ZodOptional<z.ZodString>;
2243
+ startedAt: z.ZodOptional<z.ZodString>;
2244
+ completedAt: z.ZodOptional<z.ZodString>;
2245
+ }, z.core.$loose>>>;
2246
+ conductorAgentId: z.ZodOptional<z.ZodString>;
2247
+ cwd: z.ZodOptional<z.ZodString>;
2248
+ workspaceId: z.ZodOptional<z.ZodString>;
2249
+ teamId: z.ZodOptional<z.ZodString>;
2250
+ teamName: z.ZodOptional<z.ZodString>;
2251
+ error: z.ZodOptional<z.ZodString>;
2252
+ summary: z.ZodOptional<z.ZodString>;
2253
+ summaryStatus: z.ZodOptional<z.ZodString>;
2254
+ agentCount: z.ZodOptional<z.ZodNumber>;
2255
+ createdAt: z.ZodOptional<z.ZodString>;
2256
+ updatedAt: z.ZodOptional<z.ZodString>;
2257
+ }, z.core.$loose>>;
2258
+ requestId: z.ZodString;
2259
+ }, z.core.$strip>;
2260
+ }, z.core.$strip>;
2261
+ export declare const RunsUpdatedNotificationSchema: z.ZodObject<{
2262
+ type: z.ZodLiteral<"runs.updated.notification">;
2263
+ payload: z.ZodObject<{
2264
+ run: z.ZodObject<{
2265
+ id: z.ZodString;
2266
+ title: z.ZodString;
2267
+ status: z.ZodString;
2268
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
2269
+ autopilot: z.ZodOptional<z.ZodBoolean>;
2270
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
2271
+ id: z.ZodString;
2272
+ type: z.ZodString;
2273
+ title: z.ZodString;
2274
+ task: z.ZodString;
2275
+ status: z.ZodString;
2276
+ assigneeRole: z.ZodOptional<z.ZodString>;
2277
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
2278
+ fanOut: z.ZodOptional<z.ZodNumber>;
2279
+ keepBest: z.ZodOptional<z.ZodNumber>;
2280
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2281
+ agentId: z.ZodString;
2282
+ personalityId: z.ZodOptional<z.ZodString>;
2283
+ verdict: z.ZodOptional<z.ZodObject<{
2284
+ verdict: z.ZodString;
2285
+ score: z.ZodOptional<z.ZodNumber>;
2286
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
2287
+ name: z.ZodString;
2288
+ met: z.ZodBoolean;
2289
+ evidence: z.ZodOptional<z.ZodString>;
2290
+ }, z.core.$loose>>>;
2291
+ summary: z.ZodOptional<z.ZodString>;
2292
+ }, z.core.$loose>>;
2293
+ summary: z.ZodOptional<z.ZodString>;
2294
+ }, z.core.$loose>>>;
2295
+ notes: z.ZodOptional<z.ZodString>;
2296
+ startedAt: z.ZodOptional<z.ZodString>;
2297
+ completedAt: z.ZodOptional<z.ZodString>;
2298
+ }, z.core.$loose>>>;
2299
+ conductorAgentId: z.ZodOptional<z.ZodString>;
2300
+ cwd: z.ZodOptional<z.ZodString>;
2301
+ workspaceId: z.ZodOptional<z.ZodString>;
2302
+ teamId: z.ZodOptional<z.ZodString>;
2303
+ teamName: z.ZodOptional<z.ZodString>;
2304
+ error: z.ZodOptional<z.ZodString>;
2305
+ summary: z.ZodOptional<z.ZodString>;
2306
+ summaryStatus: z.ZodOptional<z.ZodString>;
2307
+ agentCount: z.ZodOptional<z.ZodNumber>;
2308
+ createdAt: z.ZodOptional<z.ZodString>;
2309
+ updatedAt: z.ZodOptional<z.ZodString>;
2310
+ }, z.core.$loose>;
2311
+ }, z.core.$strip>;
2312
+ }, z.core.$strip>;
2313
+ export declare const RunsGateRespondRequestSchema: z.ZodObject<{
2314
+ type: z.ZodLiteral<"runs.gate_respond.request">;
2315
+ runId: z.ZodString;
2316
+ phaseId: z.ZodString;
2317
+ approved: z.ZodBoolean;
2318
+ note: z.ZodOptional<z.ZodString>;
2319
+ requestId: z.ZodString;
2320
+ }, z.core.$strip>;
2321
+ export declare const RunsGateRespondResponseSchema: z.ZodObject<{
2322
+ type: z.ZodLiteral<"runs.gate_respond.response">;
2323
+ payload: z.ZodObject<{
2324
+ runId: z.ZodString;
2325
+ accepted: z.ZodBoolean;
2326
+ requestId: z.ZodString;
2327
+ }, z.core.$strip>;
2328
+ }, z.core.$strip>;
2329
+ export declare const RunsCancelRequestSchema: z.ZodObject<{
2330
+ type: z.ZodLiteral<"runs.cancel.request">;
2331
+ runId: z.ZodString;
2332
+ requestId: z.ZodString;
2333
+ }, z.core.$strip>;
2334
+ export declare const RunsCancelResponseSchema: z.ZodObject<{
2335
+ type: z.ZodLiteral<"runs.cancel.response">;
2336
+ payload: z.ZodObject<{
2337
+ runId: z.ZodString;
2338
+ canceled: z.ZodBoolean;
2339
+ requestId: z.ZodString;
2340
+ }, z.core.$strip>;
2341
+ }, z.core.$strip>;
2342
+ export declare const RunsClearRequestSchema: z.ZodObject<{
2343
+ type: z.ZodLiteral<"runs.clear.request">;
2344
+ requestId: z.ZodString;
2345
+ }, z.core.$strip>;
2346
+ export declare const RunsClearResponseSchema: z.ZodObject<{
2347
+ type: z.ZodLiteral<"runs.clear.response">;
2348
+ payload: z.ZodObject<{
2349
+ runIds: z.ZodArray<z.ZodString>;
2350
+ requestId: z.ZodString;
2351
+ }, z.core.$strip>;
2352
+ }, z.core.$strip>;
2353
+ export declare const RunsClearedNotificationSchema: z.ZodObject<{
2354
+ type: z.ZodLiteral<"runs.cleared.notification">;
2355
+ payload: z.ZodObject<{
2356
+ runIds: z.ZodArray<z.ZodString>;
2357
+ }, z.core.$strip>;
2358
+ }, z.core.$strip>;
2359
+ export type RunsGetSnapshotRequest = z.infer<typeof RunsGetSnapshotRequestSchema>;
2360
+ export type RunsGetSnapshotResponse = z.infer<typeof RunsGetSnapshotResponseSchema>;
2361
+ export type RunsUpdatedNotification = z.infer<typeof RunsUpdatedNotificationSchema>;
2362
+ export type RunsGateRespondRequest = z.infer<typeof RunsGateRespondRequestSchema>;
2363
+ export type RunsGateRespondResponse = z.infer<typeof RunsGateRespondResponseSchema>;
2364
+ export type RunsCancelRequest = z.infer<typeof RunsCancelRequestSchema>;
2365
+ export type RunsCancelResponse = z.infer<typeof RunsCancelResponseSchema>;
2366
+ export type RunsClearRequest = z.infer<typeof RunsClearRequestSchema>;
2367
+ export type RunsClearResponse = z.infer<typeof RunsClearResponseSchema>;
2368
+ export type RunsClearedNotification = z.infer<typeof RunsClearedNotificationSchema>;
2038
2369
  export declare const CheckoutGitCommitRequestSchema: z.ZodObject<{
2039
2370
  type: z.ZodLiteral<"checkout.git.commit.request">;
2040
2371
  cwd: z.ZodString;
@@ -3829,6 +4160,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3829
4160
  }, z.core.$strip>, z.ZodObject<{
3830
4161
  type: z.ZodLiteral<"provider.usage.list.request">;
3831
4162
  requestId: z.ZodString;
4163
+ }, z.core.$strip>, z.ZodObject<{
4164
+ type: z.ZodLiteral<"stats.activity.get.request">;
4165
+ requestId: z.ZodString;
3832
4166
  }, z.core.$strip>, z.ZodObject<{
3833
4167
  type: z.ZodLiteral<"agent.context.get_usage.request">;
3834
4168
  agentId: z.ZodString;
@@ -3951,6 +4285,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3951
4285
  type: z.ZodLiteral<"agent.subagent.stop.request">;
3952
4286
  agentId: z.ZodString;
3953
4287
  requestId: z.ZodString;
4288
+ }, z.core.$strip>, z.ZodObject<{
4289
+ type: z.ZodLiteral<"agent.background_task.stop.request">;
4290
+ parentAgentId: z.ZodString;
4291
+ taskId: z.ZodString;
4292
+ requestId: z.ZodString;
4293
+ }, z.core.$strip>, z.ZodObject<{
4294
+ type: z.ZodLiteral<"agent.background_task.clear.request">;
4295
+ parentAgentId: z.ZodString;
4296
+ taskIds: z.ZodArray<z.ZodString>;
4297
+ requestId: z.ZodString;
3954
4298
  }, z.core.$strip>, z.ZodObject<{
3955
4299
  type: z.ZodLiteral<"agent.personality.set.request">;
3956
4300
  agentId: z.ZodString;
@@ -4018,6 +4362,23 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4018
4362
  cwd: z.ZodString;
4019
4363
  operation: z.ZodString;
4020
4364
  requestId: z.ZodString;
4365
+ }, z.core.$strip>, z.ZodObject<{
4366
+ type: z.ZodLiteral<"runs.get_snapshot.request">;
4367
+ requestId: z.ZodString;
4368
+ }, z.core.$strip>, z.ZodObject<{
4369
+ type: z.ZodLiteral<"runs.gate_respond.request">;
4370
+ runId: z.ZodString;
4371
+ phaseId: z.ZodString;
4372
+ approved: z.ZodBoolean;
4373
+ note: z.ZodOptional<z.ZodString>;
4374
+ requestId: z.ZodString;
4375
+ }, z.core.$strip>, z.ZodObject<{
4376
+ type: z.ZodLiteral<"runs.cancel.request">;
4377
+ runId: z.ZodString;
4378
+ requestId: z.ZodString;
4379
+ }, z.core.$strip>, z.ZodObject<{
4380
+ type: z.ZodLiteral<"runs.clear.request">;
4381
+ requestId: z.ZodString;
4021
4382
  }, z.core.$strip>, z.ZodObject<{
4022
4383
  type: z.ZodLiteral<"checkout_merge_request">;
4023
4384
  cwd: z.ZodString;
@@ -4896,6 +5257,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4896
5257
  glowA: z.ZodString;
4897
5258
  glowB: z.ZodString;
4898
5259
  }, z.core.$loose>>;
5260
+ personalityName: z.ZodOptional<z.ZodString>;
4899
5261
  requestId: z.ZodString;
4900
5262
  }, z.core.$strip>, z.ZodObject<{
4901
5263
  type: z.ZodLiteral<"artifact.update.request">;
@@ -5104,6 +5466,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5104
5466
  agentContextUsage: z.ZodOptional<z.ZodBoolean>;
5105
5467
  artifacts: z.ZodOptional<z.ZodBoolean>;
5106
5468
  observedSubagents: z.ZodOptional<z.ZodBoolean>;
5469
+ backgroundShellTasks: z.ZodOptional<z.ZodBoolean>;
5107
5470
  textEditor: z.ZodOptional<z.ZodBoolean>;
5108
5471
  projectSearch: z.ZodOptional<z.ZodBoolean>;
5109
5472
  codeIndex: z.ZodOptional<z.ZodBoolean>;
@@ -5119,6 +5482,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5119
5482
  checkoutGitLog: z.ZodOptional<z.ZodBoolean>;
5120
5483
  agentTeams: z.ZodOptional<z.ZodBoolean>;
5121
5484
  modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
5485
+ agentOrchestration: z.ZodOptional<z.ZodBoolean>;
5486
+ activityStats: z.ZodOptional<z.ZodBoolean>;
5487
+ runsClear: z.ZodOptional<z.ZodBoolean>;
5122
5488
  }, z.core.$strip>>;
5123
5489
  }, z.core.$loose>, z.ZodTransform<{
5124
5490
  hostname: string | null;
@@ -5159,6 +5525,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5159
5525
  agentContextUsage?: boolean | undefined;
5160
5526
  artifacts?: boolean | undefined;
5161
5527
  observedSubagents?: boolean | undefined;
5528
+ backgroundShellTasks?: boolean | undefined;
5162
5529
  textEditor?: boolean | undefined;
5163
5530
  projectSearch?: boolean | undefined;
5164
5531
  codeIndex?: boolean | undefined;
@@ -5174,6 +5541,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5174
5541
  checkoutGitLog?: boolean | undefined;
5175
5542
  agentTeams?: boolean | undefined;
5176
5543
  modelTierOverrides?: boolean | undefined;
5544
+ agentOrchestration?: boolean | undefined;
5545
+ activityStats?: boolean | undefined;
5546
+ runsClear?: boolean | undefined;
5177
5547
  } | undefined;
5178
5548
  }, {
5179
5549
  [x: string]: unknown;
@@ -5215,6 +5585,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5215
5585
  agentContextUsage?: boolean | undefined;
5216
5586
  artifacts?: boolean | undefined;
5217
5587
  observedSubagents?: boolean | undefined;
5588
+ backgroundShellTasks?: boolean | undefined;
5218
5589
  textEditor?: boolean | undefined;
5219
5590
  projectSearch?: boolean | undefined;
5220
5591
  codeIndex?: boolean | undefined;
@@ -5230,6 +5601,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5230
5601
  checkoutGitLog?: boolean | undefined;
5231
5602
  agentTeams?: boolean | undefined;
5232
5603
  modelTierOverrides?: boolean | undefined;
5604
+ agentOrchestration?: boolean | undefined;
5605
+ activityStats?: boolean | undefined;
5606
+ runsClear?: boolean | undefined;
5233
5607
  } | undefined;
5234
5608
  }>>;
5235
5609
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -6151,8 +6525,8 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6151
6525
  running: "running";
6152
6526
  attention: "attention";
6153
6527
  needs_input: "needs_input";
6154
- failed: "failed";
6155
6528
  done: "done";
6529
+ failed: "failed";
6156
6530
  }>;
6157
6531
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
6158
6532
  activityAt: z.ZodNullable<z.ZodString>;
@@ -6214,9 +6588,9 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6214
6588
  name: z.ZodString;
6215
6589
  status: z.ZodEnum<{
6216
6590
  success: "success";
6217
- failure: "failure";
6218
6591
  pending: "pending";
6219
6592
  skipped: "skipped";
6593
+ failure: "failure";
6220
6594
  cancelled: "cancelled";
6221
6595
  }>;
6222
6596
  url: z.ZodNullable<z.ZodString>;
@@ -6225,9 +6599,9 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6225
6599
  }, z.core.$strip>>>;
6226
6600
  checksStatus: z.ZodOptional<z.ZodEnum<{
6227
6601
  success: "success";
6602
+ pending: "pending";
6228
6603
  none: "none";
6229
6604
  failure: "failure";
6230
- pending: "pending";
6231
6605
  }>>;
6232
6606
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6233
6607
  pending: "pending";
@@ -6331,7 +6705,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6331
6705
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
6332
6706
  name: string;
6333
6707
  archivingAt: string | null;
6334
- status: "running" | "attention" | "needs_input" | "failed" | "done";
6708
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
6335
6709
  statusEnteredAt: string | null;
6336
6710
  activityAt: string | null;
6337
6711
  scripts: {
@@ -6379,12 +6753,12 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6379
6753
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
6380
6754
  checks?: {
6381
6755
  name: string;
6382
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
6756
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
6383
6757
  url: string | null;
6384
6758
  workflow?: string | undefined;
6385
6759
  duration?: string | undefined;
6386
6760
  }[] | undefined;
6387
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
6761
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
6388
6762
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
6389
6763
  repoOwner?: string | undefined;
6390
6764
  repoName?: string | undefined;
@@ -6434,7 +6808,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6434
6808
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
6435
6809
  name: string;
6436
6810
  archivingAt: string | null;
6437
- status: "running" | "attention" | "needs_input" | "failed" | "done";
6811
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
6438
6812
  statusEnteredAt: string | null;
6439
6813
  activityAt: string | null;
6440
6814
  scripts: {
@@ -6483,12 +6857,12 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6483
6857
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
6484
6858
  checks?: {
6485
6859
  name: string;
6486
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
6860
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
6487
6861
  url: string | null;
6488
6862
  workflow?: string | undefined;
6489
6863
  duration?: string | undefined;
6490
6864
  }[] | undefined;
6491
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
6865
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
6492
6866
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
6493
6867
  repoOwner?: string | undefined;
6494
6868
  repoName?: string | undefined;
@@ -6545,8 +6919,8 @@ export declare const ArtifactUpdateMessageSchema: z.ZodObject<{
6545
6919
  starred: z.ZodBoolean;
6546
6920
  status: z.ZodEnum<{
6547
6921
  error: "error";
6548
- generating: "generating";
6549
6922
  ready: "ready";
6923
+ generating: "generating";
6550
6924
  }>;
6551
6925
  createdAt: z.ZodString;
6552
6926
  updatedAt: z.ZodString;
@@ -6559,6 +6933,7 @@ export declare const ArtifactUpdateMessageSchema: z.ZodObject<{
6559
6933
  glowA: z.ZodString;
6560
6934
  glowB: z.ZodString;
6561
6935
  }, z.core.$loose>>>;
6936
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6562
6937
  errorMessage: z.ZodNullable<z.ZodString>;
6563
6938
  }, z.core.$strip>;
6564
6939
  }, z.core.$strip>;
@@ -7335,8 +7710,8 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7335
7710
  running: "running";
7336
7711
  attention: "attention";
7337
7712
  needs_input: "needs_input";
7338
- failed: "failed";
7339
7713
  done: "done";
7714
+ failed: "failed";
7340
7715
  }>;
7341
7716
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
7342
7717
  activityAt: z.ZodNullable<z.ZodString>;
@@ -7398,9 +7773,9 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7398
7773
  name: z.ZodString;
7399
7774
  status: z.ZodEnum<{
7400
7775
  success: "success";
7401
- failure: "failure";
7402
7776
  pending: "pending";
7403
7777
  skipped: "skipped";
7778
+ failure: "failure";
7404
7779
  cancelled: "cancelled";
7405
7780
  }>;
7406
7781
  url: z.ZodNullable<z.ZodString>;
@@ -7409,9 +7784,9 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7409
7784
  }, z.core.$strip>>>;
7410
7785
  checksStatus: z.ZodOptional<z.ZodEnum<{
7411
7786
  success: "success";
7787
+ pending: "pending";
7412
7788
  none: "none";
7413
7789
  failure: "failure";
7414
- pending: "pending";
7415
7790
  }>>;
7416
7791
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7417
7792
  pending: "pending";
@@ -7515,7 +7890,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7515
7890
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
7516
7891
  name: string;
7517
7892
  archivingAt: string | null;
7518
- status: "running" | "attention" | "needs_input" | "failed" | "done";
7893
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
7519
7894
  statusEnteredAt: string | null;
7520
7895
  activityAt: string | null;
7521
7896
  scripts: {
@@ -7563,12 +7938,12 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7563
7938
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7564
7939
  checks?: {
7565
7940
  name: string;
7566
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
7941
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
7567
7942
  url: string | null;
7568
7943
  workflow?: string | undefined;
7569
7944
  duration?: string | undefined;
7570
7945
  }[] | undefined;
7571
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
7946
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7572
7947
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7573
7948
  repoOwner?: string | undefined;
7574
7949
  repoName?: string | undefined;
@@ -7618,7 +7993,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7618
7993
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
7619
7994
  name: string;
7620
7995
  archivingAt: string | null;
7621
- status: "running" | "attention" | "needs_input" | "failed" | "done";
7996
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
7622
7997
  statusEnteredAt: string | null;
7623
7998
  activityAt: string | null;
7624
7999
  scripts: {
@@ -7667,12 +8042,12 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7667
8042
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7668
8043
  checks?: {
7669
8044
  name: string;
7670
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8045
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
7671
8046
  url: string | null;
7672
8047
  workflow?: string | undefined;
7673
8048
  duration?: string | undefined;
7674
8049
  }[] | undefined;
7675
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8050
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7676
8051
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7677
8052
  repoOwner?: string | undefined;
7678
8053
  repoName?: string | undefined;
@@ -7761,8 +8136,8 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7761
8136
  running: "running";
7762
8137
  attention: "attention";
7763
8138
  needs_input: "needs_input";
7764
- failed: "failed";
7765
8139
  done: "done";
8140
+ failed: "failed";
7766
8141
  }>;
7767
8142
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
7768
8143
  activityAt: z.ZodNullable<z.ZodString>;
@@ -7824,9 +8199,9 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7824
8199
  name: z.ZodString;
7825
8200
  status: z.ZodEnum<{
7826
8201
  success: "success";
7827
- failure: "failure";
7828
8202
  pending: "pending";
7829
8203
  skipped: "skipped";
8204
+ failure: "failure";
7830
8205
  cancelled: "cancelled";
7831
8206
  }>;
7832
8207
  url: z.ZodNullable<z.ZodString>;
@@ -7835,9 +8210,9 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7835
8210
  }, z.core.$strip>>>;
7836
8211
  checksStatus: z.ZodOptional<z.ZodEnum<{
7837
8212
  success: "success";
8213
+ pending: "pending";
7838
8214
  none: "none";
7839
8215
  failure: "failure";
7840
- pending: "pending";
7841
8216
  }>>;
7842
8217
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7843
8218
  pending: "pending";
@@ -7941,7 +8316,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7941
8316
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
7942
8317
  name: string;
7943
8318
  archivingAt: string | null;
7944
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8319
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
7945
8320
  statusEnteredAt: string | null;
7946
8321
  activityAt: string | null;
7947
8322
  scripts: {
@@ -7989,12 +8364,12 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7989
8364
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7990
8365
  checks?: {
7991
8366
  name: string;
7992
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8367
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
7993
8368
  url: string | null;
7994
8369
  workflow?: string | undefined;
7995
8370
  duration?: string | undefined;
7996
8371
  }[] | undefined;
7997
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8372
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7998
8373
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7999
8374
  repoOwner?: string | undefined;
8000
8375
  repoName?: string | undefined;
@@ -8044,7 +8419,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
8044
8419
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
8045
8420
  name: string;
8046
8421
  archivingAt: string | null;
8047
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8422
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
8048
8423
  statusEnteredAt: string | null;
8049
8424
  activityAt: string | null;
8050
8425
  scripts: {
@@ -8093,12 +8468,12 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
8093
8468
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8094
8469
  checks?: {
8095
8470
  name: string;
8096
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8471
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
8097
8472
  url: string | null;
8098
8473
  workflow?: string | undefined;
8099
8474
  duration?: string | undefined;
8100
8475
  }[] | undefined;
8101
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8476
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8102
8477
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8103
8478
  repoOwner?: string | undefined;
8104
8479
  repoName?: string | undefined;
@@ -8309,8 +8684,8 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8309
8684
  running: "running";
8310
8685
  attention: "attention";
8311
8686
  needs_input: "needs_input";
8312
- failed: "failed";
8313
8687
  done: "done";
8688
+ failed: "failed";
8314
8689
  }>;
8315
8690
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
8316
8691
  activityAt: z.ZodNullable<z.ZodString>;
@@ -8372,9 +8747,9 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8372
8747
  name: z.ZodString;
8373
8748
  status: z.ZodEnum<{
8374
8749
  success: "success";
8375
- failure: "failure";
8376
8750
  pending: "pending";
8377
8751
  skipped: "skipped";
8752
+ failure: "failure";
8378
8753
  cancelled: "cancelled";
8379
8754
  }>;
8380
8755
  url: z.ZodNullable<z.ZodString>;
@@ -8383,9 +8758,9 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8383
8758
  }, z.core.$strip>>>;
8384
8759
  checksStatus: z.ZodOptional<z.ZodEnum<{
8385
8760
  success: "success";
8761
+ pending: "pending";
8386
8762
  none: "none";
8387
8763
  failure: "failure";
8388
- pending: "pending";
8389
8764
  }>>;
8390
8765
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8391
8766
  pending: "pending";
@@ -8489,7 +8864,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8489
8864
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
8490
8865
  name: string;
8491
8866
  archivingAt: string | null;
8492
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8867
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
8493
8868
  statusEnteredAt: string | null;
8494
8869
  activityAt: string | null;
8495
8870
  scripts: {
@@ -8537,12 +8912,12 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8537
8912
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8538
8913
  checks?: {
8539
8914
  name: string;
8540
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8915
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
8541
8916
  url: string | null;
8542
8917
  workflow?: string | undefined;
8543
8918
  duration?: string | undefined;
8544
8919
  }[] | undefined;
8545
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8920
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8546
8921
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8547
8922
  repoOwner?: string | undefined;
8548
8923
  repoName?: string | undefined;
@@ -8592,7 +8967,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8592
8967
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
8593
8968
  name: string;
8594
8969
  archivingAt: string | null;
8595
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8970
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
8596
8971
  statusEnteredAt: string | null;
8597
8972
  activityAt: string | null;
8598
8973
  scripts: {
@@ -8641,12 +9016,12 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8641
9016
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8642
9017
  checks?: {
8643
9018
  name: string;
8644
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
9019
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
8645
9020
  url: string | null;
8646
9021
  workflow?: string | undefined;
8647
9022
  duration?: string | undefined;
8648
9023
  }[] | undefined;
8649
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
9024
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8650
9025
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8651
9026
  repoOwner?: string | undefined;
8652
9027
  repoName?: string | undefined;
@@ -9269,8 +9644,8 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9269
9644
  running: "running";
9270
9645
  attention: "attention";
9271
9646
  needs_input: "needs_input";
9272
- failed: "failed";
9273
9647
  done: "done";
9648
+ failed: "failed";
9274
9649
  }>;
9275
9650
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
9276
9651
  activityAt: z.ZodNullable<z.ZodString>;
@@ -9332,9 +9707,9 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9332
9707
  name: z.ZodString;
9333
9708
  status: z.ZodEnum<{
9334
9709
  success: "success";
9335
- failure: "failure";
9336
9710
  pending: "pending";
9337
9711
  skipped: "skipped";
9712
+ failure: "failure";
9338
9713
  cancelled: "cancelled";
9339
9714
  }>;
9340
9715
  url: z.ZodNullable<z.ZodString>;
@@ -9343,9 +9718,9 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9343
9718
  }, z.core.$strip>>>;
9344
9719
  checksStatus: z.ZodOptional<z.ZodEnum<{
9345
9720
  success: "success";
9721
+ pending: "pending";
9346
9722
  none: "none";
9347
9723
  failure: "failure";
9348
- pending: "pending";
9349
9724
  }>>;
9350
9725
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9351
9726
  pending: "pending";
@@ -9449,7 +9824,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9449
9824
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
9450
9825
  name: string;
9451
9826
  archivingAt: string | null;
9452
- status: "running" | "attention" | "needs_input" | "failed" | "done";
9827
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
9453
9828
  statusEnteredAt: string | null;
9454
9829
  activityAt: string | null;
9455
9830
  scripts: {
@@ -9497,12 +9872,12 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9497
9872
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
9498
9873
  checks?: {
9499
9874
  name: string;
9500
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
9875
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
9501
9876
  url: string | null;
9502
9877
  workflow?: string | undefined;
9503
9878
  duration?: string | undefined;
9504
9879
  }[] | undefined;
9505
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
9880
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
9506
9881
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
9507
9882
  repoOwner?: string | undefined;
9508
9883
  repoName?: string | undefined;
@@ -9552,7 +9927,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9552
9927
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
9553
9928
  name: string;
9554
9929
  archivingAt: string | null;
9555
- status: "running" | "attention" | "needs_input" | "failed" | "done";
9930
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
9556
9931
  statusEnteredAt: string | null;
9557
9932
  activityAt: string | null;
9558
9933
  scripts: {
@@ -9601,12 +9976,12 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9601
9976
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
9602
9977
  checks?: {
9603
9978
  name: string;
9604
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
9979
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
9605
9980
  url: string | null;
9606
9981
  workflow?: string | undefined;
9607
9982
  duration?: string | undefined;
9608
9983
  }[] | undefined;
9609
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
9984
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
9610
9985
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
9611
9986
  repoOwner?: string | undefined;
9612
9987
  repoName?: string | undefined;
@@ -11561,8 +11936,8 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11561
11936
  running: "running";
11562
11937
  attention: "attention";
11563
11938
  needs_input: "needs_input";
11564
- failed: "failed";
11565
11939
  done: "done";
11940
+ failed: "failed";
11566
11941
  }>;
11567
11942
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
11568
11943
  activityAt: z.ZodNullable<z.ZodString>;
@@ -11624,9 +11999,9 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11624
11999
  name: z.ZodString;
11625
12000
  status: z.ZodEnum<{
11626
12001
  success: "success";
11627
- failure: "failure";
11628
12002
  pending: "pending";
11629
12003
  skipped: "skipped";
12004
+ failure: "failure";
11630
12005
  cancelled: "cancelled";
11631
12006
  }>;
11632
12007
  url: z.ZodNullable<z.ZodString>;
@@ -11635,9 +12010,9 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11635
12010
  }, z.core.$strip>>>;
11636
12011
  checksStatus: z.ZodOptional<z.ZodEnum<{
11637
12012
  success: "success";
12013
+ pending: "pending";
11638
12014
  none: "none";
11639
12015
  failure: "failure";
11640
- pending: "pending";
11641
12016
  }>>;
11642
12017
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
11643
12018
  pending: "pending";
@@ -11741,7 +12116,7 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11741
12116
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
11742
12117
  name: string;
11743
12118
  archivingAt: string | null;
11744
- status: "running" | "attention" | "needs_input" | "failed" | "done";
12119
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
11745
12120
  statusEnteredAt: string | null;
11746
12121
  activityAt: string | null;
11747
12122
  scripts: {
@@ -11789,12 +12164,12 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11789
12164
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
11790
12165
  checks?: {
11791
12166
  name: string;
11792
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
12167
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
11793
12168
  url: string | null;
11794
12169
  workflow?: string | undefined;
11795
12170
  duration?: string | undefined;
11796
12171
  }[] | undefined;
11797
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
12172
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
11798
12173
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
11799
12174
  repoOwner?: string | undefined;
11800
12175
  repoName?: string | undefined;
@@ -11844,7 +12219,7 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11844
12219
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
11845
12220
  name: string;
11846
12221
  archivingAt: string | null;
11847
- status: "running" | "attention" | "needs_input" | "failed" | "done";
12222
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
11848
12223
  statusEnteredAt: string | null;
11849
12224
  activityAt: string | null;
11850
12225
  scripts: {
@@ -11893,12 +12268,12 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11893
12268
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
11894
12269
  checks?: {
11895
12270
  name: string;
11896
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
12271
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
11897
12272
  url: string | null;
11898
12273
  workflow?: string | undefined;
11899
12274
  duration?: string | undefined;
11900
12275
  }[] | undefined;
11901
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
12276
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
11902
12277
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
11903
12278
  repoOwner?: string | undefined;
11904
12279
  repoName?: string | undefined;
@@ -13174,8 +13549,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13174
13549
  starred: z.ZodBoolean;
13175
13550
  status: z.ZodEnum<{
13176
13551
  error: "error";
13177
- generating: "generating";
13178
13552
  ready: "ready";
13553
+ generating: "generating";
13179
13554
  }>;
13180
13555
  createdAt: z.ZodString;
13181
13556
  updatedAt: z.ZodString;
@@ -13188,6 +13563,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13188
13563
  glowA: z.ZodString;
13189
13564
  glowB: z.ZodString;
13190
13565
  }, z.core.$loose>>>;
13566
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13191
13567
  errorMessage: z.ZodNullable<z.ZodString>;
13192
13568
  }, z.core.$strip>;
13193
13569
  }, z.core.$strip>;
@@ -13379,8 +13755,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13379
13755
  running: "running";
13380
13756
  attention: "attention";
13381
13757
  needs_input: "needs_input";
13382
- failed: "failed";
13383
13758
  done: "done";
13759
+ failed: "failed";
13384
13760
  }>;
13385
13761
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
13386
13762
  activityAt: z.ZodNullable<z.ZodString>;
@@ -13442,9 +13818,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13442
13818
  name: z.ZodString;
13443
13819
  status: z.ZodEnum<{
13444
13820
  success: "success";
13445
- failure: "failure";
13446
13821
  pending: "pending";
13447
13822
  skipped: "skipped";
13823
+ failure: "failure";
13448
13824
  cancelled: "cancelled";
13449
13825
  }>;
13450
13826
  url: z.ZodNullable<z.ZodString>;
@@ -13453,9 +13829,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13453
13829
  }, z.core.$strip>>>;
13454
13830
  checksStatus: z.ZodOptional<z.ZodEnum<{
13455
13831
  success: "success";
13832
+ pending: "pending";
13456
13833
  none: "none";
13457
13834
  failure: "failure";
13458
- pending: "pending";
13459
13835
  }>>;
13460
13836
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
13461
13837
  pending: "pending";
@@ -13559,7 +13935,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13559
13935
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
13560
13936
  name: string;
13561
13937
  archivingAt: string | null;
13562
- status: "running" | "attention" | "needs_input" | "failed" | "done";
13938
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
13563
13939
  statusEnteredAt: string | null;
13564
13940
  activityAt: string | null;
13565
13941
  scripts: {
@@ -13607,12 +13983,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13607
13983
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
13608
13984
  checks?: {
13609
13985
  name: string;
13610
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
13986
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
13611
13987
  url: string | null;
13612
13988
  workflow?: string | undefined;
13613
13989
  duration?: string | undefined;
13614
13990
  }[] | undefined;
13615
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
13991
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
13616
13992
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
13617
13993
  repoOwner?: string | undefined;
13618
13994
  repoName?: string | undefined;
@@ -13662,7 +14038,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13662
14038
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
13663
14039
  name: string;
13664
14040
  archivingAt: string | null;
13665
- status: "running" | "attention" | "needs_input" | "failed" | "done";
14041
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
13666
14042
  statusEnteredAt: string | null;
13667
14043
  activityAt: string | null;
13668
14044
  scripts: {
@@ -13711,12 +14087,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13711
14087
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
13712
14088
  checks?: {
13713
14089
  name: string;
13714
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
14090
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
13715
14091
  url: string | null;
13716
14092
  workflow?: string | undefined;
13717
14093
  duration?: string | undefined;
13718
14094
  }[] | undefined;
13719
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
14095
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
13720
14096
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
13721
14097
  repoOwner?: string | undefined;
13722
14098
  repoName?: string | undefined;
@@ -14384,8 +14760,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14384
14760
  running: "running";
14385
14761
  attention: "attention";
14386
14762
  needs_input: "needs_input";
14387
- failed: "failed";
14388
14763
  done: "done";
14764
+ failed: "failed";
14389
14765
  }>;
14390
14766
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
14391
14767
  activityAt: z.ZodNullable<z.ZodString>;
@@ -14447,9 +14823,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14447
14823
  name: z.ZodString;
14448
14824
  status: z.ZodEnum<{
14449
14825
  success: "success";
14450
- failure: "failure";
14451
14826
  pending: "pending";
14452
14827
  skipped: "skipped";
14828
+ failure: "failure";
14453
14829
  cancelled: "cancelled";
14454
14830
  }>;
14455
14831
  url: z.ZodNullable<z.ZodString>;
@@ -14458,9 +14834,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14458
14834
  }, z.core.$strip>>>;
14459
14835
  checksStatus: z.ZodOptional<z.ZodEnum<{
14460
14836
  success: "success";
14837
+ pending: "pending";
14461
14838
  none: "none";
14462
14839
  failure: "failure";
14463
- pending: "pending";
14464
14840
  }>>;
14465
14841
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14466
14842
  pending: "pending";
@@ -14564,7 +14940,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14564
14940
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
14565
14941
  name: string;
14566
14942
  archivingAt: string | null;
14567
- status: "running" | "attention" | "needs_input" | "failed" | "done";
14943
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
14568
14944
  statusEnteredAt: string | null;
14569
14945
  activityAt: string | null;
14570
14946
  scripts: {
@@ -14612,12 +14988,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14612
14988
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
14613
14989
  checks?: {
14614
14990
  name: string;
14615
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
14991
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
14616
14992
  url: string | null;
14617
14993
  workflow?: string | undefined;
14618
14994
  duration?: string | undefined;
14619
14995
  }[] | undefined;
14620
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
14996
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
14621
14997
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
14622
14998
  repoOwner?: string | undefined;
14623
14999
  repoName?: string | undefined;
@@ -14667,7 +15043,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14667
15043
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
14668
15044
  name: string;
14669
15045
  archivingAt: string | null;
14670
- status: "running" | "attention" | "needs_input" | "failed" | "done";
15046
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
14671
15047
  statusEnteredAt: string | null;
14672
15048
  activityAt: string | null;
14673
15049
  scripts: {
@@ -14716,12 +15092,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14716
15092
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
14717
15093
  checks?: {
14718
15094
  name: string;
14719
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
15095
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
14720
15096
  url: string | null;
14721
15097
  workflow?: string | undefined;
14722
15098
  duration?: string | undefined;
14723
15099
  }[] | undefined;
14724
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
15100
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
14725
15101
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
14726
15102
  repoOwner?: string | undefined;
14727
15103
  repoName?: string | undefined;
@@ -14829,8 +15205,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14829
15205
  running: "running";
14830
15206
  attention: "attention";
14831
15207
  needs_input: "needs_input";
14832
- failed: "failed";
14833
15208
  done: "done";
15209
+ failed: "failed";
14834
15210
  }>;
14835
15211
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
14836
15212
  activityAt: z.ZodNullable<z.ZodString>;
@@ -14892,9 +15268,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14892
15268
  name: z.ZodString;
14893
15269
  status: z.ZodEnum<{
14894
15270
  success: "success";
14895
- failure: "failure";
14896
15271
  pending: "pending";
14897
15272
  skipped: "skipped";
15273
+ failure: "failure";
14898
15274
  cancelled: "cancelled";
14899
15275
  }>;
14900
15276
  url: z.ZodNullable<z.ZodString>;
@@ -14903,9 +15279,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14903
15279
  }, z.core.$strip>>>;
14904
15280
  checksStatus: z.ZodOptional<z.ZodEnum<{
14905
15281
  success: "success";
15282
+ pending: "pending";
14906
15283
  none: "none";
14907
15284
  failure: "failure";
14908
- pending: "pending";
14909
15285
  }>>;
14910
15286
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14911
15287
  pending: "pending";
@@ -15009,7 +15385,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15009
15385
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
15010
15386
  name: string;
15011
15387
  archivingAt: string | null;
15012
- status: "running" | "attention" | "needs_input" | "failed" | "done";
15388
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
15013
15389
  statusEnteredAt: string | null;
15014
15390
  activityAt: string | null;
15015
15391
  scripts: {
@@ -15057,12 +15433,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15057
15433
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15058
15434
  checks?: {
15059
15435
  name: string;
15060
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
15436
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
15061
15437
  url: string | null;
15062
15438
  workflow?: string | undefined;
15063
15439
  duration?: string | undefined;
15064
15440
  }[] | undefined;
15065
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
15441
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15066
15442
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15067
15443
  repoOwner?: string | undefined;
15068
15444
  repoName?: string | undefined;
@@ -15112,7 +15488,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15112
15488
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
15113
15489
  name: string;
15114
15490
  archivingAt: string | null;
15115
- status: "running" | "attention" | "needs_input" | "failed" | "done";
15491
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
15116
15492
  statusEnteredAt: string | null;
15117
15493
  activityAt: string | null;
15118
15494
  scripts: {
@@ -15161,12 +15537,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15161
15537
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15162
15538
  checks?: {
15163
15539
  name: string;
15164
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
15540
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
15165
15541
  url: string | null;
15166
15542
  workflow?: string | undefined;
15167
15543
  duration?: string | undefined;
15168
15544
  }[] | undefined;
15169
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
15545
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15170
15546
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15171
15547
  repoOwner?: string | undefined;
15172
15548
  repoName?: string | undefined;
@@ -15742,8 +16118,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15742
16118
  running: "running";
15743
16119
  attention: "attention";
15744
16120
  needs_input: "needs_input";
15745
- failed: "failed";
15746
16121
  done: "done";
16122
+ failed: "failed";
15747
16123
  }>;
15748
16124
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
15749
16125
  activityAt: z.ZodNullable<z.ZodString>;
@@ -15805,9 +16181,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15805
16181
  name: z.ZodString;
15806
16182
  status: z.ZodEnum<{
15807
16183
  success: "success";
15808
- failure: "failure";
15809
16184
  pending: "pending";
15810
16185
  skipped: "skipped";
16186
+ failure: "failure";
15811
16187
  cancelled: "cancelled";
15812
16188
  }>;
15813
16189
  url: z.ZodNullable<z.ZodString>;
@@ -15816,9 +16192,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15816
16192
  }, z.core.$strip>>>;
15817
16193
  checksStatus: z.ZodOptional<z.ZodEnum<{
15818
16194
  success: "success";
16195
+ pending: "pending";
15819
16196
  none: "none";
15820
16197
  failure: "failure";
15821
- pending: "pending";
15822
16198
  }>>;
15823
16199
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15824
16200
  pending: "pending";
@@ -15922,7 +16298,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15922
16298
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
15923
16299
  name: string;
15924
16300
  archivingAt: string | null;
15925
- status: "running" | "attention" | "needs_input" | "failed" | "done";
16301
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
15926
16302
  statusEnteredAt: string | null;
15927
16303
  activityAt: string | null;
15928
16304
  scripts: {
@@ -15970,12 +16346,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15970
16346
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15971
16347
  checks?: {
15972
16348
  name: string;
15973
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16349
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
15974
16350
  url: string | null;
15975
16351
  workflow?: string | undefined;
15976
16352
  duration?: string | undefined;
15977
16353
  }[] | undefined;
15978
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16354
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15979
16355
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15980
16356
  repoOwner?: string | undefined;
15981
16357
  repoName?: string | undefined;
@@ -16025,7 +16401,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16025
16401
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
16026
16402
  name: string;
16027
16403
  archivingAt: string | null;
16028
- status: "running" | "attention" | "needs_input" | "failed" | "done";
16404
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
16029
16405
  statusEnteredAt: string | null;
16030
16406
  activityAt: string | null;
16031
16407
  scripts: {
@@ -16074,12 +16450,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16074
16450
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
16075
16451
  checks?: {
16076
16452
  name: string;
16077
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16453
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
16078
16454
  url: string | null;
16079
16455
  workflow?: string | undefined;
16080
16456
  duration?: string | undefined;
16081
16457
  }[] | undefined;
16082
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16458
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
16083
16459
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
16084
16460
  repoOwner?: string | undefined;
16085
16461
  repoName?: string | undefined;
@@ -16665,6 +17041,46 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16665
17041
  error: z.ZodNullable<z.ZodString>;
16666
17042
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
16667
17043
  }, z.core.$strip>;
17044
+ }, z.core.$strip>, z.ZodObject<{
17045
+ type: z.ZodLiteral<"agent.background_task.stop.response">;
17046
+ payload: z.ZodObject<{
17047
+ requestId: z.ZodString;
17048
+ agentId: z.ZodString;
17049
+ accepted: z.ZodBoolean;
17050
+ error: z.ZodNullable<z.ZodString>;
17051
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
17052
+ }, z.core.$strip>;
17053
+ }, z.core.$strip>, z.ZodObject<{
17054
+ type: z.ZodLiteral<"agent.background_task.clear.response">;
17055
+ payload: z.ZodObject<{
17056
+ requestId: z.ZodString;
17057
+ agentId: z.ZodString;
17058
+ accepted: z.ZodBoolean;
17059
+ error: z.ZodNullable<z.ZodString>;
17060
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
17061
+ }, z.core.$strip>;
17062
+ }, z.core.$strip>, z.ZodObject<{
17063
+ type: z.ZodLiteral<"background_shell_tasks_changed">;
17064
+ payload: z.ZodObject<{
17065
+ parentAgentId: z.ZodString;
17066
+ tasks: z.ZodArray<z.ZodObject<{
17067
+ id: z.ZodString;
17068
+ parentAgentId: z.ZodString;
17069
+ provider: z.ZodString;
17070
+ command: z.ZodOptional<z.ZodString>;
17071
+ description: z.ZodOptional<z.ZodString>;
17072
+ status: z.ZodEnum<{
17073
+ error: "error";
17074
+ idle: "idle";
17075
+ running: "running";
17076
+ closed: "closed";
17077
+ }>;
17078
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
17079
+ createdAt: z.ZodString;
17080
+ updatedAt: z.ZodString;
17081
+ archivedAt: z.ZodOptional<z.ZodString>;
17082
+ }, z.core.$strip>>;
17083
+ }, z.core.$strip>;
16668
17084
  }, z.core.$strip>, z.ZodObject<{
16669
17085
  type: z.ZodLiteral<"agent.personality.set.response">;
16670
17086
  payload: z.ZodObject<{
@@ -17299,6 +17715,134 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17299
17715
  text: z.ZodString;
17300
17716
  }, z.core.$strip>>;
17301
17717
  }, z.core.$strip>;
17718
+ }, z.core.$strip>, z.ZodObject<{
17719
+ type: z.ZodLiteral<"runs.get_snapshot.response">;
17720
+ payload: z.ZodObject<{
17721
+ runs: z.ZodArray<z.ZodObject<{
17722
+ id: z.ZodString;
17723
+ title: z.ZodString;
17724
+ status: z.ZodString;
17725
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
17726
+ autopilot: z.ZodOptional<z.ZodBoolean>;
17727
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
17728
+ id: z.ZodString;
17729
+ type: z.ZodString;
17730
+ title: z.ZodString;
17731
+ task: z.ZodString;
17732
+ status: z.ZodString;
17733
+ assigneeRole: z.ZodOptional<z.ZodString>;
17734
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
17735
+ fanOut: z.ZodOptional<z.ZodNumber>;
17736
+ keepBest: z.ZodOptional<z.ZodNumber>;
17737
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
17738
+ agentId: z.ZodString;
17739
+ personalityId: z.ZodOptional<z.ZodString>;
17740
+ verdict: z.ZodOptional<z.ZodObject<{
17741
+ verdict: z.ZodString;
17742
+ score: z.ZodOptional<z.ZodNumber>;
17743
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
17744
+ name: z.ZodString;
17745
+ met: z.ZodBoolean;
17746
+ evidence: z.ZodOptional<z.ZodString>;
17747
+ }, z.core.$loose>>>;
17748
+ summary: z.ZodOptional<z.ZodString>;
17749
+ }, z.core.$loose>>;
17750
+ summary: z.ZodOptional<z.ZodString>;
17751
+ }, z.core.$loose>>>;
17752
+ notes: z.ZodOptional<z.ZodString>;
17753
+ startedAt: z.ZodOptional<z.ZodString>;
17754
+ completedAt: z.ZodOptional<z.ZodString>;
17755
+ }, z.core.$loose>>>;
17756
+ conductorAgentId: z.ZodOptional<z.ZodString>;
17757
+ cwd: z.ZodOptional<z.ZodString>;
17758
+ workspaceId: z.ZodOptional<z.ZodString>;
17759
+ teamId: z.ZodOptional<z.ZodString>;
17760
+ teamName: z.ZodOptional<z.ZodString>;
17761
+ error: z.ZodOptional<z.ZodString>;
17762
+ summary: z.ZodOptional<z.ZodString>;
17763
+ summaryStatus: z.ZodOptional<z.ZodString>;
17764
+ agentCount: z.ZodOptional<z.ZodNumber>;
17765
+ createdAt: z.ZodOptional<z.ZodString>;
17766
+ updatedAt: z.ZodOptional<z.ZodString>;
17767
+ }, z.core.$loose>>;
17768
+ requestId: z.ZodString;
17769
+ }, z.core.$strip>;
17770
+ }, z.core.$strip>, z.ZodObject<{
17771
+ type: z.ZodLiteral<"runs.updated.notification">;
17772
+ payload: z.ZodObject<{
17773
+ run: z.ZodObject<{
17774
+ id: z.ZodString;
17775
+ title: z.ZodString;
17776
+ status: z.ZodString;
17777
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
17778
+ autopilot: z.ZodOptional<z.ZodBoolean>;
17779
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
17780
+ id: z.ZodString;
17781
+ type: z.ZodString;
17782
+ title: z.ZodString;
17783
+ task: z.ZodString;
17784
+ status: z.ZodString;
17785
+ assigneeRole: z.ZodOptional<z.ZodString>;
17786
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
17787
+ fanOut: z.ZodOptional<z.ZodNumber>;
17788
+ keepBest: z.ZodOptional<z.ZodNumber>;
17789
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
17790
+ agentId: z.ZodString;
17791
+ personalityId: z.ZodOptional<z.ZodString>;
17792
+ verdict: z.ZodOptional<z.ZodObject<{
17793
+ verdict: z.ZodString;
17794
+ score: z.ZodOptional<z.ZodNumber>;
17795
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
17796
+ name: z.ZodString;
17797
+ met: z.ZodBoolean;
17798
+ evidence: z.ZodOptional<z.ZodString>;
17799
+ }, z.core.$loose>>>;
17800
+ summary: z.ZodOptional<z.ZodString>;
17801
+ }, z.core.$loose>>;
17802
+ summary: z.ZodOptional<z.ZodString>;
17803
+ }, z.core.$loose>>>;
17804
+ notes: z.ZodOptional<z.ZodString>;
17805
+ startedAt: z.ZodOptional<z.ZodString>;
17806
+ completedAt: z.ZodOptional<z.ZodString>;
17807
+ }, z.core.$loose>>>;
17808
+ conductorAgentId: z.ZodOptional<z.ZodString>;
17809
+ cwd: z.ZodOptional<z.ZodString>;
17810
+ workspaceId: z.ZodOptional<z.ZodString>;
17811
+ teamId: z.ZodOptional<z.ZodString>;
17812
+ teamName: z.ZodOptional<z.ZodString>;
17813
+ error: z.ZodOptional<z.ZodString>;
17814
+ summary: z.ZodOptional<z.ZodString>;
17815
+ summaryStatus: z.ZodOptional<z.ZodString>;
17816
+ agentCount: z.ZodOptional<z.ZodNumber>;
17817
+ createdAt: z.ZodOptional<z.ZodString>;
17818
+ updatedAt: z.ZodOptional<z.ZodString>;
17819
+ }, z.core.$loose>;
17820
+ }, z.core.$strip>;
17821
+ }, z.core.$strip>, z.ZodObject<{
17822
+ type: z.ZodLiteral<"runs.gate_respond.response">;
17823
+ payload: z.ZodObject<{
17824
+ runId: z.ZodString;
17825
+ accepted: z.ZodBoolean;
17826
+ requestId: z.ZodString;
17827
+ }, z.core.$strip>;
17828
+ }, z.core.$strip>, z.ZodObject<{
17829
+ type: z.ZodLiteral<"runs.cancel.response">;
17830
+ payload: z.ZodObject<{
17831
+ runId: z.ZodString;
17832
+ canceled: z.ZodBoolean;
17833
+ requestId: z.ZodString;
17834
+ }, z.core.$strip>;
17835
+ }, z.core.$strip>, z.ZodObject<{
17836
+ type: z.ZodLiteral<"runs.clear.response">;
17837
+ payload: z.ZodObject<{
17838
+ runIds: z.ZodArray<z.ZodString>;
17839
+ requestId: z.ZodString;
17840
+ }, z.core.$strip>;
17841
+ }, z.core.$strip>, z.ZodObject<{
17842
+ type: z.ZodLiteral<"runs.cleared.notification">;
17843
+ payload: z.ZodObject<{
17844
+ runIds: z.ZodArray<z.ZodString>;
17845
+ }, z.core.$strip>;
17302
17846
  }, z.core.$strip>, z.ZodObject<{
17303
17847
  type: z.ZodLiteral<"checkout_merge_response">;
17304
17848
  payload: z.ZodObject<{
@@ -17919,8 +18463,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17919
18463
  running: "running";
17920
18464
  attention: "attention";
17921
18465
  needs_input: "needs_input";
17922
- failed: "failed";
17923
18466
  done: "done";
18467
+ failed: "failed";
17924
18468
  }>;
17925
18469
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
17926
18470
  activityAt: z.ZodNullable<z.ZodString>;
@@ -17982,9 +18526,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17982
18526
  name: z.ZodString;
17983
18527
  status: z.ZodEnum<{
17984
18528
  success: "success";
17985
- failure: "failure";
17986
18529
  pending: "pending";
17987
18530
  skipped: "skipped";
18531
+ failure: "failure";
17988
18532
  cancelled: "cancelled";
17989
18533
  }>;
17990
18534
  url: z.ZodNullable<z.ZodString>;
@@ -17993,9 +18537,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17993
18537
  }, z.core.$strip>>>;
17994
18538
  checksStatus: z.ZodOptional<z.ZodEnum<{
17995
18539
  success: "success";
18540
+ pending: "pending";
17996
18541
  none: "none";
17997
18542
  failure: "failure";
17998
- pending: "pending";
17999
18543
  }>>;
18000
18544
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
18001
18545
  pending: "pending";
@@ -18099,7 +18643,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18099
18643
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
18100
18644
  name: string;
18101
18645
  archivingAt: string | null;
18102
- status: "running" | "attention" | "needs_input" | "failed" | "done";
18646
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
18103
18647
  statusEnteredAt: string | null;
18104
18648
  activityAt: string | null;
18105
18649
  scripts: {
@@ -18147,12 +18691,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18147
18691
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
18148
18692
  checks?: {
18149
18693
  name: string;
18150
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
18694
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
18151
18695
  url: string | null;
18152
18696
  workflow?: string | undefined;
18153
18697
  duration?: string | undefined;
18154
18698
  }[] | undefined;
18155
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
18699
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
18156
18700
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
18157
18701
  repoOwner?: string | undefined;
18158
18702
  repoName?: string | undefined;
@@ -18202,7 +18746,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18202
18746
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
18203
18747
  name: string;
18204
18748
  archivingAt: string | null;
18205
- status: "running" | "attention" | "needs_input" | "failed" | "done";
18749
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
18206
18750
  statusEnteredAt: string | null;
18207
18751
  activityAt: string | null;
18208
18752
  scripts: {
@@ -18251,12 +18795,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18251
18795
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
18252
18796
  checks?: {
18253
18797
  name: string;
18254
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
18798
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
18255
18799
  url: string | null;
18256
18800
  workflow?: string | undefined;
18257
18801
  duration?: string | undefined;
18258
18802
  }[] | undefined;
18259
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
18803
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
18260
18804
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
18261
18805
  repoOwner?: string | undefined;
18262
18806
  repoName?: string | undefined;
@@ -18728,6 +19272,81 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18728
19272
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18729
19273
  }, z.core.$strip>>;
18730
19274
  }, z.core.$strip>;
19275
+ }, z.core.$strip>, z.ZodObject<{
19276
+ type: z.ZodLiteral<"stats.activity.get.response">;
19277
+ payload: z.ZodObject<{
19278
+ requestId: z.ZodString;
19279
+ today: z.ZodObject<{
19280
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19281
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19282
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19283
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19284
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19285
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19286
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19287
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19288
+ thoughts: z.ZodDefault<z.ZodNumber>;
19289
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19290
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19291
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19292
+ }, z.core.$strip>;
19293
+ yesterday: z.ZodObject<{
19294
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19295
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19296
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19297
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19298
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19299
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19300
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19301
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19302
+ thoughts: z.ZodDefault<z.ZodNumber>;
19303
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19304
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19305
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19306
+ }, z.core.$strip>;
19307
+ last7Days: z.ZodObject<{
19308
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19309
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19310
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19311
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19312
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19313
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19314
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19315
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19316
+ thoughts: z.ZodDefault<z.ZodNumber>;
19317
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19318
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19319
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19320
+ }, z.core.$strip>;
19321
+ last30Days: z.ZodObject<{
19322
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19323
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19324
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19325
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19326
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19327
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19328
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19329
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19330
+ thoughts: z.ZodDefault<z.ZodNumber>;
19331
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19332
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19333
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19334
+ }, z.core.$strip>;
19335
+ allTime: z.ZodObject<{
19336
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19337
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19338
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19339
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19340
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19341
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19342
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19343
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19344
+ thoughts: z.ZodDefault<z.ZodNumber>;
19345
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19346
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19347
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19348
+ }, z.core.$strip>;
19349
+ }, z.core.$strip>;
18731
19350
  }, z.core.$strip>, z.ZodObject<{
18732
19351
  type: z.ZodLiteral<"agent.context.get_usage.response">;
18733
19352
  payload: z.ZodObject<{
@@ -18998,12 +19617,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18998
19617
  schedule: z.ZodNullable<z.ZodObject<{
18999
19618
  prompt: z.ZodString;
19000
19619
  name: z.ZodNullable<z.ZodString>;
19620
+ id: z.ZodString;
19001
19621
  status: z.ZodEnum<{
19622
+ paused: "paused";
19002
19623
  completed: "completed";
19003
19624
  active: "active";
19004
- paused: "paused";
19005
19625
  }>;
19006
- id: z.ZodString;
19007
19626
  createdAt: z.ZodString;
19008
19627
  updatedAt: z.ZodString;
19009
19628
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19048,10 +19667,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19048
19667
  nextRunAt: z.ZodNullable<z.ZodString>;
19049
19668
  lastRunAt: z.ZodNullable<z.ZodString>;
19050
19669
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19051
- succeeded: "succeeded";
19052
19670
  failed: "failed";
19671
+ succeeded: "succeeded";
19053
19672
  }>>>;
19054
19673
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19674
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19675
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19676
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19055
19677
  pausedAt: z.ZodNullable<z.ZodString>;
19056
19678
  expiresAt: z.ZodNullable<z.ZodString>;
19057
19679
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -19065,12 +19687,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19065
19687
  schedules: z.ZodArray<z.ZodObject<{
19066
19688
  prompt: z.ZodString;
19067
19689
  name: z.ZodNullable<z.ZodString>;
19690
+ id: z.ZodString;
19068
19691
  status: z.ZodEnum<{
19692
+ paused: "paused";
19069
19693
  completed: "completed";
19070
19694
  active: "active";
19071
- paused: "paused";
19072
19695
  }>;
19073
- id: z.ZodString;
19074
19696
  createdAt: z.ZodString;
19075
19697
  updatedAt: z.ZodString;
19076
19698
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19115,10 +19737,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19115
19737
  nextRunAt: z.ZodNullable<z.ZodString>;
19116
19738
  lastRunAt: z.ZodNullable<z.ZodString>;
19117
19739
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19118
- succeeded: "succeeded";
19119
19740
  failed: "failed";
19741
+ succeeded: "succeeded";
19120
19742
  }>>>;
19121
19743
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19744
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19745
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19746
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19122
19747
  pausedAt: z.ZodNullable<z.ZodString>;
19123
19748
  expiresAt: z.ZodNullable<z.ZodString>;
19124
19749
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -19173,19 +19798,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19173
19798
  }, z.core.$strip>;
19174
19799
  }, z.core.$strip>], "type">;
19175
19800
  status: z.ZodEnum<{
19801
+ paused: "paused";
19176
19802
  completed: "completed";
19177
19803
  active: "active";
19178
- paused: "paused";
19179
19804
  }>;
19180
19805
  createdAt: z.ZodString;
19181
19806
  updatedAt: z.ZodString;
19182
19807
  nextRunAt: z.ZodNullable<z.ZodString>;
19183
19808
  lastRunAt: z.ZodNullable<z.ZodString>;
19184
19809
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19185
- succeeded: "succeeded";
19186
19810
  failed: "failed";
19811
+ succeeded: "succeeded";
19187
19812
  }>>>;
19188
19813
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19814
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19815
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19816
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19189
19817
  pausedAt: z.ZodNullable<z.ZodString>;
19190
19818
  expiresAt: z.ZodNullable<z.ZodString>;
19191
19819
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -19196,11 +19824,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19196
19824
  endedAt: z.ZodNullable<z.ZodString>;
19197
19825
  status: z.ZodEnum<{
19198
19826
  running: "running";
19199
- succeeded: "succeeded";
19200
19827
  failed: "failed";
19828
+ succeeded: "succeeded";
19201
19829
  }>;
19202
19830
  agentId: z.ZodNullable<z.ZodGUID>;
19203
19831
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19832
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19833
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19834
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19204
19835
  output: z.ZodNullable<z.ZodString>;
19205
19836
  error: z.ZodNullable<z.ZodString>;
19206
19837
  }, z.core.$strip>>;
@@ -19218,11 +19849,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19218
19849
  endedAt: z.ZodNullable<z.ZodString>;
19219
19850
  status: z.ZodEnum<{
19220
19851
  running: "running";
19221
- succeeded: "succeeded";
19222
19852
  failed: "failed";
19853
+ succeeded: "succeeded";
19223
19854
  }>;
19224
19855
  agentId: z.ZodNullable<z.ZodGUID>;
19225
19856
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19857
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19858
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19859
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19226
19860
  output: z.ZodNullable<z.ZodString>;
19227
19861
  error: z.ZodNullable<z.ZodString>;
19228
19862
  }, z.core.$strip>>;
@@ -19235,12 +19869,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19235
19869
  schedule: z.ZodNullable<z.ZodObject<{
19236
19870
  prompt: z.ZodString;
19237
19871
  name: z.ZodNullable<z.ZodString>;
19872
+ id: z.ZodString;
19238
19873
  status: z.ZodEnum<{
19874
+ paused: "paused";
19239
19875
  completed: "completed";
19240
19876
  active: "active";
19241
- paused: "paused";
19242
19877
  }>;
19243
- id: z.ZodString;
19244
19878
  createdAt: z.ZodString;
19245
19879
  updatedAt: z.ZodString;
19246
19880
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19285,10 +19919,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19285
19919
  nextRunAt: z.ZodNullable<z.ZodString>;
19286
19920
  lastRunAt: z.ZodNullable<z.ZodString>;
19287
19921
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19288
- succeeded: "succeeded";
19289
19922
  failed: "failed";
19923
+ succeeded: "succeeded";
19290
19924
  }>>>;
19291
19925
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19926
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19927
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19928
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19292
19929
  pausedAt: z.ZodNullable<z.ZodString>;
19293
19930
  expiresAt: z.ZodNullable<z.ZodString>;
19294
19931
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -19302,12 +19939,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19302
19939
  schedule: z.ZodNullable<z.ZodObject<{
19303
19940
  prompt: z.ZodString;
19304
19941
  name: z.ZodNullable<z.ZodString>;
19942
+ id: z.ZodString;
19305
19943
  status: z.ZodEnum<{
19944
+ paused: "paused";
19306
19945
  completed: "completed";
19307
19946
  active: "active";
19308
- paused: "paused";
19309
19947
  }>;
19310
- id: z.ZodString;
19311
19948
  createdAt: z.ZodString;
19312
19949
  updatedAt: z.ZodString;
19313
19950
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19352,10 +19989,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19352
19989
  nextRunAt: z.ZodNullable<z.ZodString>;
19353
19990
  lastRunAt: z.ZodNullable<z.ZodString>;
19354
19991
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19355
- succeeded: "succeeded";
19356
19992
  failed: "failed";
19993
+ succeeded: "succeeded";
19357
19994
  }>>>;
19358
19995
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19996
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19997
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19998
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19359
19999
  pausedAt: z.ZodNullable<z.ZodString>;
19360
20000
  expiresAt: z.ZodNullable<z.ZodString>;
19361
20001
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -19417,19 +20057,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19417
20057
  }, z.core.$strip>;
19418
20058
  }, z.core.$strip>], "type">;
19419
20059
  status: z.ZodEnum<{
20060
+ paused: "paused";
19420
20061
  completed: "completed";
19421
20062
  active: "active";
19422
- paused: "paused";
19423
20063
  }>;
19424
20064
  createdAt: z.ZodString;
19425
20065
  updatedAt: z.ZodString;
19426
20066
  nextRunAt: z.ZodNullable<z.ZodString>;
19427
20067
  lastRunAt: z.ZodNullable<z.ZodString>;
19428
20068
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19429
- succeeded: "succeeded";
19430
20069
  failed: "failed";
20070
+ succeeded: "succeeded";
19431
20071
  }>>>;
19432
20072
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20073
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20074
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20075
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19433
20076
  pausedAt: z.ZodNullable<z.ZodString>;
19434
20077
  expiresAt: z.ZodNullable<z.ZodString>;
19435
20078
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -19440,11 +20083,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19440
20083
  endedAt: z.ZodNullable<z.ZodString>;
19441
20084
  status: z.ZodEnum<{
19442
20085
  running: "running";
19443
- succeeded: "succeeded";
19444
20086
  failed: "failed";
20087
+ succeeded: "succeeded";
19445
20088
  }>;
19446
20089
  agentId: z.ZodNullable<z.ZodGUID>;
19447
20090
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20091
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20092
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20093
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19448
20094
  output: z.ZodNullable<z.ZodString>;
19449
20095
  error: z.ZodNullable<z.ZodString>;
19450
20096
  }, z.core.$strip>>;
@@ -19499,19 +20145,22 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19499
20145
  }, z.core.$strip>;
19500
20146
  }, z.core.$strip>], "type">;
19501
20147
  status: z.ZodEnum<{
20148
+ paused: "paused";
19502
20149
  completed: "completed";
19503
20150
  active: "active";
19504
- paused: "paused";
19505
20151
  }>;
19506
20152
  createdAt: z.ZodString;
19507
20153
  updatedAt: z.ZodString;
19508
20154
  nextRunAt: z.ZodNullable<z.ZodString>;
19509
20155
  lastRunAt: z.ZodNullable<z.ZodString>;
19510
20156
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19511
- succeeded: "succeeded";
19512
20157
  failed: "failed";
20158
+ succeeded: "succeeded";
19513
20159
  }>>>;
19514
20160
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20161
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20162
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20163
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19515
20164
  pausedAt: z.ZodNullable<z.ZodString>;
19516
20165
  expiresAt: z.ZodNullable<z.ZodString>;
19517
20166
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -19522,11 +20171,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19522
20171
  endedAt: z.ZodNullable<z.ZodString>;
19523
20172
  status: z.ZodEnum<{
19524
20173
  running: "running";
19525
- succeeded: "succeeded";
19526
20174
  failed: "failed";
20175
+ succeeded: "succeeded";
19527
20176
  }>;
19528
20177
  agentId: z.ZodNullable<z.ZodGUID>;
19529
20178
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20179
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20180
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20181
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19530
20182
  output: z.ZodNullable<z.ZodString>;
19531
20183
  error: z.ZodNullable<z.ZodString>;
19532
20184
  }, z.core.$strip>>;
@@ -19558,8 +20210,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19558
20210
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19559
20211
  status: z.ZodEnum<{
19560
20212
  running: "running";
19561
- succeeded: "succeeded";
19562
20213
  failed: "failed";
20214
+ succeeded: "succeeded";
19563
20215
  stopped: "stopped";
19564
20216
  }>;
19565
20217
  createdAt: z.ZodString;
@@ -19575,14 +20227,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19575
20227
  verifierAgentId: z.ZodNullable<z.ZodString>;
19576
20228
  status: z.ZodEnum<{
19577
20229
  running: "running";
19578
- succeeded: "succeeded";
19579
20230
  failed: "failed";
20231
+ succeeded: "succeeded";
19580
20232
  stopped: "stopped";
19581
20233
  }>;
19582
20234
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19583
20235
  failed: "failed";
19584
- completed: "completed";
19585
20236
  canceled: "canceled";
20237
+ completed: "completed";
19586
20238
  }>>;
19587
20239
  failureReason: z.ZodNullable<z.ZodString>;
19588
20240
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19634,8 +20286,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19634
20286
  name: z.ZodNullable<z.ZodString>;
19635
20287
  status: z.ZodEnum<{
19636
20288
  running: "running";
19637
- succeeded: "succeeded";
19638
20289
  failed: "failed";
20290
+ succeeded: "succeeded";
19639
20291
  stopped: "stopped";
19640
20292
  }>;
19641
20293
  cwd: z.ZodString;
@@ -19670,8 +20322,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19670
20322
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19671
20323
  status: z.ZodEnum<{
19672
20324
  running: "running";
19673
- succeeded: "succeeded";
19674
20325
  failed: "failed";
20326
+ succeeded: "succeeded";
19675
20327
  stopped: "stopped";
19676
20328
  }>;
19677
20329
  createdAt: z.ZodString;
@@ -19687,14 +20339,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19687
20339
  verifierAgentId: z.ZodNullable<z.ZodString>;
19688
20340
  status: z.ZodEnum<{
19689
20341
  running: "running";
19690
- succeeded: "succeeded";
19691
20342
  failed: "failed";
20343
+ succeeded: "succeeded";
19692
20344
  stopped: "stopped";
19693
20345
  }>;
19694
20346
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19695
20347
  failed: "failed";
19696
- completed: "completed";
19697
20348
  canceled: "canceled";
20349
+ completed: "completed";
19698
20350
  }>>;
19699
20351
  failureReason: z.ZodNullable<z.ZodString>;
19700
20352
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19762,8 +20414,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19762
20414
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19763
20415
  status: z.ZodEnum<{
19764
20416
  running: "running";
19765
- succeeded: "succeeded";
19766
20417
  failed: "failed";
20418
+ succeeded: "succeeded";
19767
20419
  stopped: "stopped";
19768
20420
  }>;
19769
20421
  createdAt: z.ZodString;
@@ -19779,14 +20431,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19779
20431
  verifierAgentId: z.ZodNullable<z.ZodString>;
19780
20432
  status: z.ZodEnum<{
19781
20433
  running: "running";
19782
- succeeded: "succeeded";
19783
20434
  failed: "failed";
20435
+ succeeded: "succeeded";
19784
20436
  stopped: "stopped";
19785
20437
  }>;
19786
20438
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19787
20439
  failed: "failed";
19788
- completed: "completed";
19789
20440
  canceled: "canceled";
20441
+ completed: "completed";
19790
20442
  }>>;
19791
20443
  failureReason: z.ZodNullable<z.ZodString>;
19792
20444
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19871,8 +20523,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19871
20523
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19872
20524
  status: z.ZodEnum<{
19873
20525
  running: "running";
19874
- succeeded: "succeeded";
19875
20526
  failed: "failed";
20527
+ succeeded: "succeeded";
19876
20528
  stopped: "stopped";
19877
20529
  }>;
19878
20530
  createdAt: z.ZodString;
@@ -19888,14 +20540,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19888
20540
  verifierAgentId: z.ZodNullable<z.ZodString>;
19889
20541
  status: z.ZodEnum<{
19890
20542
  running: "running";
19891
- succeeded: "succeeded";
19892
20543
  failed: "failed";
20544
+ succeeded: "succeeded";
19893
20545
  stopped: "stopped";
19894
20546
  }>;
19895
20547
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19896
20548
  failed: "failed";
19897
- completed: "completed";
19898
20549
  canceled: "canceled";
20550
+ completed: "completed";
19899
20551
  }>>;
19900
20552
  failureReason: z.ZodNullable<z.ZodString>;
19901
20553
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19973,8 +20625,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19973
20625
  starred: z.ZodBoolean;
19974
20626
  status: z.ZodEnum<{
19975
20627
  error: "error";
19976
- generating: "generating";
19977
20628
  ready: "ready";
20629
+ generating: "generating";
19978
20630
  }>;
19979
20631
  createdAt: z.ZodString;
19980
20632
  updatedAt: z.ZodString;
@@ -19987,6 +20639,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19987
20639
  glowA: z.ZodString;
19988
20640
  glowB: z.ZodString;
19989
20641
  }, z.core.$loose>>>;
20642
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19990
20643
  errorMessage: z.ZodNullable<z.ZodString>;
19991
20644
  }, z.core.$strip>>;
19992
20645
  success: z.ZodBoolean;
@@ -20008,8 +20661,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20008
20661
  starred: z.ZodBoolean;
20009
20662
  status: z.ZodEnum<{
20010
20663
  error: "error";
20011
- generating: "generating";
20012
20664
  ready: "ready";
20665
+ generating: "generating";
20013
20666
  }>;
20014
20667
  createdAt: z.ZodString;
20015
20668
  updatedAt: z.ZodString;
@@ -20022,6 +20675,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20022
20675
  glowA: z.ZodString;
20023
20676
  glowB: z.ZodString;
20024
20677
  }, z.core.$loose>>>;
20678
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20025
20679
  errorMessage: z.ZodNullable<z.ZodString>;
20026
20680
  }, z.core.$strip>;
20027
20681
  success: z.ZodBoolean;
@@ -20043,8 +20697,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20043
20697
  starred: z.ZodBoolean;
20044
20698
  status: z.ZodEnum<{
20045
20699
  error: "error";
20046
- generating: "generating";
20047
20700
  ready: "ready";
20701
+ generating: "generating";
20048
20702
  }>;
20049
20703
  createdAt: z.ZodString;
20050
20704
  updatedAt: z.ZodString;
@@ -20057,6 +20711,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20057
20711
  glowA: z.ZodString;
20058
20712
  glowB: z.ZodString;
20059
20713
  }, z.core.$loose>>>;
20714
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20060
20715
  errorMessage: z.ZodNullable<z.ZodString>;
20061
20716
  }, z.core.$strip>;
20062
20717
  success: z.ZodBoolean;
@@ -20078,8 +20733,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20078
20733
  starred: z.ZodBoolean;
20079
20734
  status: z.ZodEnum<{
20080
20735
  error: "error";
20081
- generating: "generating";
20082
20736
  ready: "ready";
20737
+ generating: "generating";
20083
20738
  }>;
20084
20739
  createdAt: z.ZodString;
20085
20740
  updatedAt: z.ZodString;
@@ -20092,6 +20747,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20092
20747
  glowA: z.ZodString;
20093
20748
  glowB: z.ZodString;
20094
20749
  }, z.core.$loose>>>;
20750
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20095
20751
  errorMessage: z.ZodNullable<z.ZodString>;
20096
20752
  }, z.core.$strip>;
20097
20753
  success: z.ZodBoolean;
@@ -20113,8 +20769,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20113
20769
  starred: z.ZodBoolean;
20114
20770
  status: z.ZodEnum<{
20115
20771
  error: "error";
20116
- generating: "generating";
20117
20772
  ready: "ready";
20773
+ generating: "generating";
20118
20774
  }>;
20119
20775
  createdAt: z.ZodString;
20120
20776
  updatedAt: z.ZodString;
@@ -20127,6 +20783,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20127
20783
  glowA: z.ZodString;
20128
20784
  glowB: z.ZodString;
20129
20785
  }, z.core.$loose>>>;
20786
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20130
20787
  errorMessage: z.ZodNullable<z.ZodString>;
20131
20788
  }, z.core.$strip>;
20132
20789
  success: z.ZodBoolean;
@@ -20155,8 +20812,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20155
20812
  starred: z.ZodBoolean;
20156
20813
  status: z.ZodEnum<{
20157
20814
  error: "error";
20158
- generating: "generating";
20159
20815
  ready: "ready";
20816
+ generating: "generating";
20160
20817
  }>;
20161
20818
  createdAt: z.ZodString;
20162
20819
  updatedAt: z.ZodString;
@@ -20169,6 +20826,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20169
20826
  glowA: z.ZodString;
20170
20827
  glowB: z.ZodString;
20171
20828
  }, z.core.$loose>>>;
20829
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20172
20830
  errorMessage: z.ZodNullable<z.ZodString>;
20173
20831
  }, z.core.$strip>;
20174
20832
  success: z.ZodBoolean;
@@ -20198,8 +20856,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20198
20856
  starred: z.ZodBoolean;
20199
20857
  status: z.ZodEnum<{
20200
20858
  error: "error";
20201
- generating: "generating";
20202
20859
  ready: "ready";
20860
+ generating: "generating";
20203
20861
  }>;
20204
20862
  createdAt: z.ZodString;
20205
20863
  updatedAt: z.ZodString;
@@ -20212,6 +20870,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20212
20870
  glowA: z.ZodString;
20213
20871
  glowB: z.ZodString;
20214
20872
  }, z.core.$loose>>>;
20873
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20215
20874
  errorMessage: z.ZodNullable<z.ZodString>;
20216
20875
  }, z.core.$strip>;
20217
20876
  }, z.core.$strip>;
@@ -20230,8 +20889,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20230
20889
  starred: z.ZodBoolean;
20231
20890
  status: z.ZodEnum<{
20232
20891
  error: "error";
20233
- generating: "generating";
20234
20892
  ready: "ready";
20893
+ generating: "generating";
20235
20894
  }>;
20236
20895
  createdAt: z.ZodString;
20237
20896
  updatedAt: z.ZodString;
@@ -20244,6 +20903,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20244
20903
  glowA: z.ZodString;
20245
20904
  glowB: z.ZodString;
20246
20905
  }, z.core.$loose>>>;
20906
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20247
20907
  errorMessage: z.ZodNullable<z.ZodString>;
20248
20908
  }, z.core.$strip>;
20249
20909
  }, z.core.$strip>;
@@ -20303,6 +20963,10 @@ export type SetAgentFeatureResponseMessage = z.infer<typeof SetAgentFeatureRespo
20303
20963
  export type AgentDetachResponseMessage = z.infer<typeof AgentDetachResponseMessageSchema>;
20304
20964
  export type AgentPersonalitySetResponseMessage = z.infer<typeof AgentPersonalitySetResponseMessageSchema>;
20305
20965
  export type AgentSubagentStopResponseMessage = z.infer<typeof AgentSubagentStopResponseMessageSchema>;
20966
+ export type BackgroundShellTaskInfo = z.infer<typeof BackgroundShellTaskInfoSchema>;
20967
+ export type BackgroundShellTasksChanged = z.infer<typeof BackgroundShellTasksChangedSchema>;
20968
+ export type AgentBackgroundTaskStopResponseMessage = z.infer<typeof AgentBackgroundTaskStopResponseMessageSchema>;
20969
+ export type AgentBackgroundTaskClearResponseMessage = z.infer<typeof AgentBackgroundTaskClearResponseMessageSchema>;
20306
20970
  export type AgentRewindResponseMessage = z.infer<typeof AgentRewindResponseMessageSchema>;
20307
20971
  export type UpdateAgentResponseMessage = z.infer<typeof UpdateAgentResponseMessageSchema>;
20308
20972
  export type ProjectRenameResponse = z.infer<typeof ProjectRenameResponseSchema>;
@@ -20338,6 +21002,8 @@ export type AgentContextUsageCategory = z.infer<typeof AgentContextUsageCategory
20338
21002
  export type AgentContextUsage = z.infer<typeof AgentContextUsageSchema>;
20339
21003
  export type AgentContextGetUsageResponseMessage = z.infer<typeof AgentContextGetUsageResponseMessageSchema>;
20340
21004
  export type ProviderUsageListResponseMessage = z.infer<typeof ProviderUsageListResponseMessageSchema>;
21005
+ export type ActivityCounters = z.infer<typeof ActivityCountersSchema>;
21006
+ export type StatsActivityGetResponseMessage = z.infer<typeof StatsActivityGetResponseMessageSchema>;
20341
21007
  export type ChatCreateResponse = z.infer<typeof ChatCreateResponseSchema>;
20342
21008
  export type ChatListResponse = z.infer<typeof ChatListResponseSchema>;
20343
21009
  export type ChatInspectResponse = z.infer<typeof ChatInspectResponseSchema>;
@@ -20418,6 +21084,8 @@ export type SetAgentThinkingRequestMessage = z.infer<typeof SetAgentThinkingRequ
20418
21084
  export type SetAgentFeatureRequestMessage = z.infer<typeof SetAgentFeatureRequestMessageSchema>;
20419
21085
  export type AgentDetachRequestMessage = z.infer<typeof AgentDetachRequestMessageSchema>;
20420
21086
  export type AgentSubagentStopRequestMessage = z.infer<typeof AgentSubagentStopRequestMessageSchema>;
21087
+ export type AgentBackgroundTaskStopRequestMessage = z.infer<typeof AgentBackgroundTaskStopRequestMessageSchema>;
21088
+ export type AgentBackgroundTaskClearRequestMessage = z.infer<typeof AgentBackgroundTaskClearRequestMessageSchema>;
20421
21089
  export type AgentPersonalitySetRequestMessage = z.infer<typeof AgentPersonalitySetRequestMessageSchema>;
20422
21090
  export type AgentPermissionResponseMessage = z.infer<typeof AgentPermissionResponseMessageSchema>;
20423
21091
  export type CheckoutStatusRequest = z.infer<typeof CheckoutStatusRequestSchema>;
@@ -21514,6 +22182,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21514
22182
  }, z.core.$strip>, z.ZodObject<{
21515
22183
  type: z.ZodLiteral<"provider.usage.list.request">;
21516
22184
  requestId: z.ZodString;
22185
+ }, z.core.$strip>, z.ZodObject<{
22186
+ type: z.ZodLiteral<"stats.activity.get.request">;
22187
+ requestId: z.ZodString;
21517
22188
  }, z.core.$strip>, z.ZodObject<{
21518
22189
  type: z.ZodLiteral<"agent.context.get_usage.request">;
21519
22190
  agentId: z.ZodString;
@@ -21636,6 +22307,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21636
22307
  type: z.ZodLiteral<"agent.subagent.stop.request">;
21637
22308
  agentId: z.ZodString;
21638
22309
  requestId: z.ZodString;
22310
+ }, z.core.$strip>, z.ZodObject<{
22311
+ type: z.ZodLiteral<"agent.background_task.stop.request">;
22312
+ parentAgentId: z.ZodString;
22313
+ taskId: z.ZodString;
22314
+ requestId: z.ZodString;
22315
+ }, z.core.$strip>, z.ZodObject<{
22316
+ type: z.ZodLiteral<"agent.background_task.clear.request">;
22317
+ parentAgentId: z.ZodString;
22318
+ taskIds: z.ZodArray<z.ZodString>;
22319
+ requestId: z.ZodString;
21639
22320
  }, z.core.$strip>, z.ZodObject<{
21640
22321
  type: z.ZodLiteral<"agent.personality.set.request">;
21641
22322
  agentId: z.ZodString;
@@ -21703,6 +22384,23 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21703
22384
  cwd: z.ZodString;
21704
22385
  operation: z.ZodString;
21705
22386
  requestId: z.ZodString;
22387
+ }, z.core.$strip>, z.ZodObject<{
22388
+ type: z.ZodLiteral<"runs.get_snapshot.request">;
22389
+ requestId: z.ZodString;
22390
+ }, z.core.$strip>, z.ZodObject<{
22391
+ type: z.ZodLiteral<"runs.gate_respond.request">;
22392
+ runId: z.ZodString;
22393
+ phaseId: z.ZodString;
22394
+ approved: z.ZodBoolean;
22395
+ note: z.ZodOptional<z.ZodString>;
22396
+ requestId: z.ZodString;
22397
+ }, z.core.$strip>, z.ZodObject<{
22398
+ type: z.ZodLiteral<"runs.cancel.request">;
22399
+ runId: z.ZodString;
22400
+ requestId: z.ZodString;
22401
+ }, z.core.$strip>, z.ZodObject<{
22402
+ type: z.ZodLiteral<"runs.clear.request">;
22403
+ requestId: z.ZodString;
21706
22404
  }, z.core.$strip>, z.ZodObject<{
21707
22405
  type: z.ZodLiteral<"checkout_merge_request">;
21708
22406
  cwd: z.ZodString;
@@ -22581,6 +23279,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22581
23279
  glowA: z.ZodString;
22582
23280
  glowB: z.ZodString;
22583
23281
  }, z.core.$loose>>;
23282
+ personalityName: z.ZodOptional<z.ZodString>;
22584
23283
  requestId: z.ZodString;
22585
23284
  }, z.core.$strip>, z.ZodObject<{
22586
23285
  type: z.ZodLiteral<"artifact.update.request">;
@@ -22933,8 +23632,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22933
23632
  starred: z.ZodBoolean;
22934
23633
  status: z.ZodEnum<{
22935
23634
  error: "error";
22936
- generating: "generating";
22937
23635
  ready: "ready";
23636
+ generating: "generating";
22938
23637
  }>;
22939
23638
  createdAt: z.ZodString;
22940
23639
  updatedAt: z.ZodString;
@@ -22947,6 +23646,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22947
23646
  glowA: z.ZodString;
22948
23647
  glowB: z.ZodString;
22949
23648
  }, z.core.$loose>>>;
23649
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22950
23650
  errorMessage: z.ZodNullable<z.ZodString>;
22951
23651
  }, z.core.$strip>;
22952
23652
  }, z.core.$strip>;
@@ -23138,8 +23838,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23138
23838
  running: "running";
23139
23839
  attention: "attention";
23140
23840
  needs_input: "needs_input";
23141
- failed: "failed";
23142
23841
  done: "done";
23842
+ failed: "failed";
23143
23843
  }>;
23144
23844
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
23145
23845
  activityAt: z.ZodNullable<z.ZodString>;
@@ -23201,9 +23901,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23201
23901
  name: z.ZodString;
23202
23902
  status: z.ZodEnum<{
23203
23903
  success: "success";
23204
- failure: "failure";
23205
23904
  pending: "pending";
23206
23905
  skipped: "skipped";
23906
+ failure: "failure";
23207
23907
  cancelled: "cancelled";
23208
23908
  }>;
23209
23909
  url: z.ZodNullable<z.ZodString>;
@@ -23212,9 +23912,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23212
23912
  }, z.core.$strip>>>;
23213
23913
  checksStatus: z.ZodOptional<z.ZodEnum<{
23214
23914
  success: "success";
23915
+ pending: "pending";
23215
23916
  none: "none";
23216
23917
  failure: "failure";
23217
- pending: "pending";
23218
23918
  }>>;
23219
23919
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
23220
23920
  pending: "pending";
@@ -23318,7 +24018,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23318
24018
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
23319
24019
  name: string;
23320
24020
  archivingAt: string | null;
23321
- status: "running" | "attention" | "needs_input" | "failed" | "done";
24021
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
23322
24022
  statusEnteredAt: string | null;
23323
24023
  activityAt: string | null;
23324
24024
  scripts: {
@@ -23366,12 +24066,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23366
24066
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
23367
24067
  checks?: {
23368
24068
  name: string;
23369
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
24069
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
23370
24070
  url: string | null;
23371
24071
  workflow?: string | undefined;
23372
24072
  duration?: string | undefined;
23373
24073
  }[] | undefined;
23374
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
24074
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
23375
24075
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
23376
24076
  repoOwner?: string | undefined;
23377
24077
  repoName?: string | undefined;
@@ -23421,7 +24121,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23421
24121
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
23422
24122
  name: string;
23423
24123
  archivingAt: string | null;
23424
- status: "running" | "attention" | "needs_input" | "failed" | "done";
24124
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
23425
24125
  statusEnteredAt: string | null;
23426
24126
  activityAt: string | null;
23427
24127
  scripts: {
@@ -23470,12 +24170,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23470
24170
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
23471
24171
  checks?: {
23472
24172
  name: string;
23473
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
24173
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
23474
24174
  url: string | null;
23475
24175
  workflow?: string | undefined;
23476
24176
  duration?: string | undefined;
23477
24177
  }[] | undefined;
23478
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
24178
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
23479
24179
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
23480
24180
  repoOwner?: string | undefined;
23481
24181
  repoName?: string | undefined;
@@ -24143,8 +24843,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24143
24843
  running: "running";
24144
24844
  attention: "attention";
24145
24845
  needs_input: "needs_input";
24146
- failed: "failed";
24147
24846
  done: "done";
24847
+ failed: "failed";
24148
24848
  }>;
24149
24849
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
24150
24850
  activityAt: z.ZodNullable<z.ZodString>;
@@ -24206,9 +24906,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24206
24906
  name: z.ZodString;
24207
24907
  status: z.ZodEnum<{
24208
24908
  success: "success";
24209
- failure: "failure";
24210
24909
  pending: "pending";
24211
24910
  skipped: "skipped";
24911
+ failure: "failure";
24212
24912
  cancelled: "cancelled";
24213
24913
  }>;
24214
24914
  url: z.ZodNullable<z.ZodString>;
@@ -24217,9 +24917,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24217
24917
  }, z.core.$strip>>>;
24218
24918
  checksStatus: z.ZodOptional<z.ZodEnum<{
24219
24919
  success: "success";
24920
+ pending: "pending";
24220
24921
  none: "none";
24221
24922
  failure: "failure";
24222
- pending: "pending";
24223
24923
  }>>;
24224
24924
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
24225
24925
  pending: "pending";
@@ -24323,7 +25023,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24323
25023
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24324
25024
  name: string;
24325
25025
  archivingAt: string | null;
24326
- status: "running" | "attention" | "needs_input" | "failed" | "done";
25026
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24327
25027
  statusEnteredAt: string | null;
24328
25028
  activityAt: string | null;
24329
25029
  scripts: {
@@ -24371,12 +25071,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24371
25071
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24372
25072
  checks?: {
24373
25073
  name: string;
24374
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25074
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24375
25075
  url: string | null;
24376
25076
  workflow?: string | undefined;
24377
25077
  duration?: string | undefined;
24378
25078
  }[] | undefined;
24379
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25079
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24380
25080
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24381
25081
  repoOwner?: string | undefined;
24382
25082
  repoName?: string | undefined;
@@ -24426,7 +25126,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24426
25126
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24427
25127
  name: string;
24428
25128
  archivingAt: string | null;
24429
- status: "running" | "attention" | "needs_input" | "failed" | "done";
25129
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24430
25130
  statusEnteredAt: string | null;
24431
25131
  activityAt: string | null;
24432
25132
  scripts: {
@@ -24475,12 +25175,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24475
25175
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24476
25176
  checks?: {
24477
25177
  name: string;
24478
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25178
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24479
25179
  url: string | null;
24480
25180
  workflow?: string | undefined;
24481
25181
  duration?: string | undefined;
24482
25182
  }[] | undefined;
24483
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25183
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24484
25184
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24485
25185
  repoOwner?: string | undefined;
24486
25186
  repoName?: string | undefined;
@@ -24588,8 +25288,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24588
25288
  running: "running";
24589
25289
  attention: "attention";
24590
25290
  needs_input: "needs_input";
24591
- failed: "failed";
24592
25291
  done: "done";
25292
+ failed: "failed";
24593
25293
  }>;
24594
25294
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
24595
25295
  activityAt: z.ZodNullable<z.ZodString>;
@@ -24651,9 +25351,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24651
25351
  name: z.ZodString;
24652
25352
  status: z.ZodEnum<{
24653
25353
  success: "success";
24654
- failure: "failure";
24655
25354
  pending: "pending";
24656
25355
  skipped: "skipped";
25356
+ failure: "failure";
24657
25357
  cancelled: "cancelled";
24658
25358
  }>;
24659
25359
  url: z.ZodNullable<z.ZodString>;
@@ -24662,9 +25362,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24662
25362
  }, z.core.$strip>>>;
24663
25363
  checksStatus: z.ZodOptional<z.ZodEnum<{
24664
25364
  success: "success";
25365
+ pending: "pending";
24665
25366
  none: "none";
24666
25367
  failure: "failure";
24667
- pending: "pending";
24668
25368
  }>>;
24669
25369
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
24670
25370
  pending: "pending";
@@ -24768,7 +25468,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24768
25468
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24769
25469
  name: string;
24770
25470
  archivingAt: string | null;
24771
- status: "running" | "attention" | "needs_input" | "failed" | "done";
25471
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24772
25472
  statusEnteredAt: string | null;
24773
25473
  activityAt: string | null;
24774
25474
  scripts: {
@@ -24816,12 +25516,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24816
25516
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24817
25517
  checks?: {
24818
25518
  name: string;
24819
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25519
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24820
25520
  url: string | null;
24821
25521
  workflow?: string | undefined;
24822
25522
  duration?: string | undefined;
24823
25523
  }[] | undefined;
24824
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25524
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24825
25525
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24826
25526
  repoOwner?: string | undefined;
24827
25527
  repoName?: string | undefined;
@@ -24871,7 +25571,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24871
25571
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24872
25572
  name: string;
24873
25573
  archivingAt: string | null;
24874
- status: "running" | "attention" | "needs_input" | "failed" | "done";
25574
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24875
25575
  statusEnteredAt: string | null;
24876
25576
  activityAt: string | null;
24877
25577
  scripts: {
@@ -24920,12 +25620,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24920
25620
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24921
25621
  checks?: {
24922
25622
  name: string;
24923
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25623
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24924
25624
  url: string | null;
24925
25625
  workflow?: string | undefined;
24926
25626
  duration?: string | undefined;
24927
25627
  }[] | undefined;
24928
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25628
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24929
25629
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24930
25630
  repoOwner?: string | undefined;
24931
25631
  repoName?: string | undefined;
@@ -25501,8 +26201,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25501
26201
  running: "running";
25502
26202
  attention: "attention";
25503
26203
  needs_input: "needs_input";
25504
- failed: "failed";
25505
26204
  done: "done";
26205
+ failed: "failed";
25506
26206
  }>;
25507
26207
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
25508
26208
  activityAt: z.ZodNullable<z.ZodString>;
@@ -25564,9 +26264,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25564
26264
  name: z.ZodString;
25565
26265
  status: z.ZodEnum<{
25566
26266
  success: "success";
25567
- failure: "failure";
25568
26267
  pending: "pending";
25569
26268
  skipped: "skipped";
26269
+ failure: "failure";
25570
26270
  cancelled: "cancelled";
25571
26271
  }>;
25572
26272
  url: z.ZodNullable<z.ZodString>;
@@ -25575,9 +26275,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25575
26275
  }, z.core.$strip>>>;
25576
26276
  checksStatus: z.ZodOptional<z.ZodEnum<{
25577
26277
  success: "success";
26278
+ pending: "pending";
25578
26279
  none: "none";
25579
26280
  failure: "failure";
25580
- pending: "pending";
25581
26281
  }>>;
25582
26282
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25583
26283
  pending: "pending";
@@ -25681,7 +26381,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25681
26381
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
25682
26382
  name: string;
25683
26383
  archivingAt: string | null;
25684
- status: "running" | "attention" | "needs_input" | "failed" | "done";
26384
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
25685
26385
  statusEnteredAt: string | null;
25686
26386
  activityAt: string | null;
25687
26387
  scripts: {
@@ -25729,12 +26429,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25729
26429
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
25730
26430
  checks?: {
25731
26431
  name: string;
25732
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26432
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
25733
26433
  url: string | null;
25734
26434
  workflow?: string | undefined;
25735
26435
  duration?: string | undefined;
25736
26436
  }[] | undefined;
25737
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26437
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
25738
26438
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
25739
26439
  repoOwner?: string | undefined;
25740
26440
  repoName?: string | undefined;
@@ -25784,7 +26484,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25784
26484
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
25785
26485
  name: string;
25786
26486
  archivingAt: string | null;
25787
- status: "running" | "attention" | "needs_input" | "failed" | "done";
26487
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
25788
26488
  statusEnteredAt: string | null;
25789
26489
  activityAt: string | null;
25790
26490
  scripts: {
@@ -25833,12 +26533,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25833
26533
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
25834
26534
  checks?: {
25835
26535
  name: string;
25836
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26536
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
25837
26537
  url: string | null;
25838
26538
  workflow?: string | undefined;
25839
26539
  duration?: string | undefined;
25840
26540
  }[] | undefined;
25841
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26541
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
25842
26542
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
25843
26543
  repoOwner?: string | undefined;
25844
26544
  repoName?: string | undefined;
@@ -26424,6 +27124,46 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26424
27124
  error: z.ZodNullable<z.ZodString>;
26425
27125
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
26426
27126
  }, z.core.$strip>;
27127
+ }, z.core.$strip>, z.ZodObject<{
27128
+ type: z.ZodLiteral<"agent.background_task.stop.response">;
27129
+ payload: z.ZodObject<{
27130
+ requestId: z.ZodString;
27131
+ agentId: z.ZodString;
27132
+ accepted: z.ZodBoolean;
27133
+ error: z.ZodNullable<z.ZodString>;
27134
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
27135
+ }, z.core.$strip>;
27136
+ }, z.core.$strip>, z.ZodObject<{
27137
+ type: z.ZodLiteral<"agent.background_task.clear.response">;
27138
+ payload: z.ZodObject<{
27139
+ requestId: z.ZodString;
27140
+ agentId: z.ZodString;
27141
+ accepted: z.ZodBoolean;
27142
+ error: z.ZodNullable<z.ZodString>;
27143
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
27144
+ }, z.core.$strip>;
27145
+ }, z.core.$strip>, z.ZodObject<{
27146
+ type: z.ZodLiteral<"background_shell_tasks_changed">;
27147
+ payload: z.ZodObject<{
27148
+ parentAgentId: z.ZodString;
27149
+ tasks: z.ZodArray<z.ZodObject<{
27150
+ id: z.ZodString;
27151
+ parentAgentId: z.ZodString;
27152
+ provider: z.ZodString;
27153
+ command: z.ZodOptional<z.ZodString>;
27154
+ description: z.ZodOptional<z.ZodString>;
27155
+ status: z.ZodEnum<{
27156
+ error: "error";
27157
+ idle: "idle";
27158
+ running: "running";
27159
+ closed: "closed";
27160
+ }>;
27161
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
27162
+ createdAt: z.ZodString;
27163
+ updatedAt: z.ZodString;
27164
+ archivedAt: z.ZodOptional<z.ZodString>;
27165
+ }, z.core.$strip>>;
27166
+ }, z.core.$strip>;
26427
27167
  }, z.core.$strip>, z.ZodObject<{
26428
27168
  type: z.ZodLiteral<"agent.personality.set.response">;
26429
27169
  payload: z.ZodObject<{
@@ -27058,6 +27798,134 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27058
27798
  text: z.ZodString;
27059
27799
  }, z.core.$strip>>;
27060
27800
  }, z.core.$strip>;
27801
+ }, z.core.$strip>, z.ZodObject<{
27802
+ type: z.ZodLiteral<"runs.get_snapshot.response">;
27803
+ payload: z.ZodObject<{
27804
+ runs: z.ZodArray<z.ZodObject<{
27805
+ id: z.ZodString;
27806
+ title: z.ZodString;
27807
+ status: z.ZodString;
27808
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
27809
+ autopilot: z.ZodOptional<z.ZodBoolean>;
27810
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
27811
+ id: z.ZodString;
27812
+ type: z.ZodString;
27813
+ title: z.ZodString;
27814
+ task: z.ZodString;
27815
+ status: z.ZodString;
27816
+ assigneeRole: z.ZodOptional<z.ZodString>;
27817
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
27818
+ fanOut: z.ZodOptional<z.ZodNumber>;
27819
+ keepBest: z.ZodOptional<z.ZodNumber>;
27820
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
27821
+ agentId: z.ZodString;
27822
+ personalityId: z.ZodOptional<z.ZodString>;
27823
+ verdict: z.ZodOptional<z.ZodObject<{
27824
+ verdict: z.ZodString;
27825
+ score: z.ZodOptional<z.ZodNumber>;
27826
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
27827
+ name: z.ZodString;
27828
+ met: z.ZodBoolean;
27829
+ evidence: z.ZodOptional<z.ZodString>;
27830
+ }, z.core.$loose>>>;
27831
+ summary: z.ZodOptional<z.ZodString>;
27832
+ }, z.core.$loose>>;
27833
+ summary: z.ZodOptional<z.ZodString>;
27834
+ }, z.core.$loose>>>;
27835
+ notes: z.ZodOptional<z.ZodString>;
27836
+ startedAt: z.ZodOptional<z.ZodString>;
27837
+ completedAt: z.ZodOptional<z.ZodString>;
27838
+ }, z.core.$loose>>>;
27839
+ conductorAgentId: z.ZodOptional<z.ZodString>;
27840
+ cwd: z.ZodOptional<z.ZodString>;
27841
+ workspaceId: z.ZodOptional<z.ZodString>;
27842
+ teamId: z.ZodOptional<z.ZodString>;
27843
+ teamName: z.ZodOptional<z.ZodString>;
27844
+ error: z.ZodOptional<z.ZodString>;
27845
+ summary: z.ZodOptional<z.ZodString>;
27846
+ summaryStatus: z.ZodOptional<z.ZodString>;
27847
+ agentCount: z.ZodOptional<z.ZodNumber>;
27848
+ createdAt: z.ZodOptional<z.ZodString>;
27849
+ updatedAt: z.ZodOptional<z.ZodString>;
27850
+ }, z.core.$loose>>;
27851
+ requestId: z.ZodString;
27852
+ }, z.core.$strip>;
27853
+ }, z.core.$strip>, z.ZodObject<{
27854
+ type: z.ZodLiteral<"runs.updated.notification">;
27855
+ payload: z.ZodObject<{
27856
+ run: z.ZodObject<{
27857
+ id: z.ZodString;
27858
+ title: z.ZodString;
27859
+ status: z.ZodString;
27860
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
27861
+ autopilot: z.ZodOptional<z.ZodBoolean>;
27862
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
27863
+ id: z.ZodString;
27864
+ type: z.ZodString;
27865
+ title: z.ZodString;
27866
+ task: z.ZodString;
27867
+ status: z.ZodString;
27868
+ assigneeRole: z.ZodOptional<z.ZodString>;
27869
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
27870
+ fanOut: z.ZodOptional<z.ZodNumber>;
27871
+ keepBest: z.ZodOptional<z.ZodNumber>;
27872
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
27873
+ agentId: z.ZodString;
27874
+ personalityId: z.ZodOptional<z.ZodString>;
27875
+ verdict: z.ZodOptional<z.ZodObject<{
27876
+ verdict: z.ZodString;
27877
+ score: z.ZodOptional<z.ZodNumber>;
27878
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
27879
+ name: z.ZodString;
27880
+ met: z.ZodBoolean;
27881
+ evidence: z.ZodOptional<z.ZodString>;
27882
+ }, z.core.$loose>>>;
27883
+ summary: z.ZodOptional<z.ZodString>;
27884
+ }, z.core.$loose>>;
27885
+ summary: z.ZodOptional<z.ZodString>;
27886
+ }, z.core.$loose>>>;
27887
+ notes: z.ZodOptional<z.ZodString>;
27888
+ startedAt: z.ZodOptional<z.ZodString>;
27889
+ completedAt: z.ZodOptional<z.ZodString>;
27890
+ }, z.core.$loose>>>;
27891
+ conductorAgentId: z.ZodOptional<z.ZodString>;
27892
+ cwd: z.ZodOptional<z.ZodString>;
27893
+ workspaceId: z.ZodOptional<z.ZodString>;
27894
+ teamId: z.ZodOptional<z.ZodString>;
27895
+ teamName: z.ZodOptional<z.ZodString>;
27896
+ error: z.ZodOptional<z.ZodString>;
27897
+ summary: z.ZodOptional<z.ZodString>;
27898
+ summaryStatus: z.ZodOptional<z.ZodString>;
27899
+ agentCount: z.ZodOptional<z.ZodNumber>;
27900
+ createdAt: z.ZodOptional<z.ZodString>;
27901
+ updatedAt: z.ZodOptional<z.ZodString>;
27902
+ }, z.core.$loose>;
27903
+ }, z.core.$strip>;
27904
+ }, z.core.$strip>, z.ZodObject<{
27905
+ type: z.ZodLiteral<"runs.gate_respond.response">;
27906
+ payload: z.ZodObject<{
27907
+ runId: z.ZodString;
27908
+ accepted: z.ZodBoolean;
27909
+ requestId: z.ZodString;
27910
+ }, z.core.$strip>;
27911
+ }, z.core.$strip>, z.ZodObject<{
27912
+ type: z.ZodLiteral<"runs.cancel.response">;
27913
+ payload: z.ZodObject<{
27914
+ runId: z.ZodString;
27915
+ canceled: z.ZodBoolean;
27916
+ requestId: z.ZodString;
27917
+ }, z.core.$strip>;
27918
+ }, z.core.$strip>, z.ZodObject<{
27919
+ type: z.ZodLiteral<"runs.clear.response">;
27920
+ payload: z.ZodObject<{
27921
+ runIds: z.ZodArray<z.ZodString>;
27922
+ requestId: z.ZodString;
27923
+ }, z.core.$strip>;
27924
+ }, z.core.$strip>, z.ZodObject<{
27925
+ type: z.ZodLiteral<"runs.cleared.notification">;
27926
+ payload: z.ZodObject<{
27927
+ runIds: z.ZodArray<z.ZodString>;
27928
+ }, z.core.$strip>;
27061
27929
  }, z.core.$strip>, z.ZodObject<{
27062
27930
  type: z.ZodLiteral<"checkout_merge_response">;
27063
27931
  payload: z.ZodObject<{
@@ -27678,8 +28546,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27678
28546
  running: "running";
27679
28547
  attention: "attention";
27680
28548
  needs_input: "needs_input";
27681
- failed: "failed";
27682
28549
  done: "done";
28550
+ failed: "failed";
27683
28551
  }>;
27684
28552
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
27685
28553
  activityAt: z.ZodNullable<z.ZodString>;
@@ -27741,9 +28609,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27741
28609
  name: z.ZodString;
27742
28610
  status: z.ZodEnum<{
27743
28611
  success: "success";
27744
- failure: "failure";
27745
28612
  pending: "pending";
27746
28613
  skipped: "skipped";
28614
+ failure: "failure";
27747
28615
  cancelled: "cancelled";
27748
28616
  }>;
27749
28617
  url: z.ZodNullable<z.ZodString>;
@@ -27752,9 +28620,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27752
28620
  }, z.core.$strip>>>;
27753
28621
  checksStatus: z.ZodOptional<z.ZodEnum<{
27754
28622
  success: "success";
28623
+ pending: "pending";
27755
28624
  none: "none";
27756
28625
  failure: "failure";
27757
- pending: "pending";
27758
28626
  }>>;
27759
28627
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
27760
28628
  pending: "pending";
@@ -27858,7 +28726,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27858
28726
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
27859
28727
  name: string;
27860
28728
  archivingAt: string | null;
27861
- status: "running" | "attention" | "needs_input" | "failed" | "done";
28729
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
27862
28730
  statusEnteredAt: string | null;
27863
28731
  activityAt: string | null;
27864
28732
  scripts: {
@@ -27906,12 +28774,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27906
28774
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
27907
28775
  checks?: {
27908
28776
  name: string;
27909
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
28777
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
27910
28778
  url: string | null;
27911
28779
  workflow?: string | undefined;
27912
28780
  duration?: string | undefined;
27913
28781
  }[] | undefined;
27914
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
28782
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
27915
28783
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
27916
28784
  repoOwner?: string | undefined;
27917
28785
  repoName?: string | undefined;
@@ -27961,7 +28829,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27961
28829
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
27962
28830
  name: string;
27963
28831
  archivingAt: string | null;
27964
- status: "running" | "attention" | "needs_input" | "failed" | "done";
28832
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
27965
28833
  statusEnteredAt: string | null;
27966
28834
  activityAt: string | null;
27967
28835
  scripts: {
@@ -28010,12 +28878,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28010
28878
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
28011
28879
  checks?: {
28012
28880
  name: string;
28013
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
28881
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
28014
28882
  url: string | null;
28015
28883
  workflow?: string | undefined;
28016
28884
  duration?: string | undefined;
28017
28885
  }[] | undefined;
28018
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
28886
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
28019
28887
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
28020
28888
  repoOwner?: string | undefined;
28021
28889
  repoName?: string | undefined;
@@ -28487,6 +29355,81 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28487
29355
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28488
29356
  }, z.core.$strip>>;
28489
29357
  }, z.core.$strip>;
29358
+ }, z.core.$strip>, z.ZodObject<{
29359
+ type: z.ZodLiteral<"stats.activity.get.response">;
29360
+ payload: z.ZodObject<{
29361
+ requestId: z.ZodString;
29362
+ today: z.ZodObject<{
29363
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29364
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29365
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29366
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29367
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29368
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29369
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29370
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29371
+ thoughts: z.ZodDefault<z.ZodNumber>;
29372
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29373
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29374
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29375
+ }, z.core.$strip>;
29376
+ yesterday: z.ZodObject<{
29377
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29378
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29379
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29380
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29381
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29382
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29383
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29384
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29385
+ thoughts: z.ZodDefault<z.ZodNumber>;
29386
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29387
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29388
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29389
+ }, z.core.$strip>;
29390
+ last7Days: z.ZodObject<{
29391
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29392
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29393
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29394
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29395
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29396
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29397
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29398
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29399
+ thoughts: z.ZodDefault<z.ZodNumber>;
29400
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29401
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29402
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29403
+ }, z.core.$strip>;
29404
+ last30Days: z.ZodObject<{
29405
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29406
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29407
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29408
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29409
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29410
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29411
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29412
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29413
+ thoughts: z.ZodDefault<z.ZodNumber>;
29414
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29415
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29416
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29417
+ }, z.core.$strip>;
29418
+ allTime: z.ZodObject<{
29419
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29420
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29421
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29422
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29423
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29424
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29425
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29426
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29427
+ thoughts: z.ZodDefault<z.ZodNumber>;
29428
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29429
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29430
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29431
+ }, z.core.$strip>;
29432
+ }, z.core.$strip>;
28490
29433
  }, z.core.$strip>, z.ZodObject<{
28491
29434
  type: z.ZodLiteral<"agent.context.get_usage.response">;
28492
29435
  payload: z.ZodObject<{
@@ -28757,12 +29700,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28757
29700
  schedule: z.ZodNullable<z.ZodObject<{
28758
29701
  prompt: z.ZodString;
28759
29702
  name: z.ZodNullable<z.ZodString>;
29703
+ id: z.ZodString;
28760
29704
  status: z.ZodEnum<{
29705
+ paused: "paused";
28761
29706
  completed: "completed";
28762
29707
  active: "active";
28763
- paused: "paused";
28764
29708
  }>;
28765
- id: z.ZodString;
28766
29709
  createdAt: z.ZodString;
28767
29710
  updatedAt: z.ZodString;
28768
29711
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -28807,10 +29750,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28807
29750
  nextRunAt: z.ZodNullable<z.ZodString>;
28808
29751
  lastRunAt: z.ZodNullable<z.ZodString>;
28809
29752
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28810
- succeeded: "succeeded";
28811
29753
  failed: "failed";
29754
+ succeeded: "succeeded";
28812
29755
  }>>>;
28813
29756
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29757
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29758
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29759
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28814
29760
  pausedAt: z.ZodNullable<z.ZodString>;
28815
29761
  expiresAt: z.ZodNullable<z.ZodString>;
28816
29762
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -28824,12 +29770,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28824
29770
  schedules: z.ZodArray<z.ZodObject<{
28825
29771
  prompt: z.ZodString;
28826
29772
  name: z.ZodNullable<z.ZodString>;
29773
+ id: z.ZodString;
28827
29774
  status: z.ZodEnum<{
29775
+ paused: "paused";
28828
29776
  completed: "completed";
28829
29777
  active: "active";
28830
- paused: "paused";
28831
29778
  }>;
28832
- id: z.ZodString;
28833
29779
  createdAt: z.ZodString;
28834
29780
  updatedAt: z.ZodString;
28835
29781
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -28874,10 +29820,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28874
29820
  nextRunAt: z.ZodNullable<z.ZodString>;
28875
29821
  lastRunAt: z.ZodNullable<z.ZodString>;
28876
29822
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28877
- succeeded: "succeeded";
28878
29823
  failed: "failed";
29824
+ succeeded: "succeeded";
28879
29825
  }>>>;
28880
29826
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29827
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29828
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29829
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28881
29830
  pausedAt: z.ZodNullable<z.ZodString>;
28882
29831
  expiresAt: z.ZodNullable<z.ZodString>;
28883
29832
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -28932,19 +29881,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28932
29881
  }, z.core.$strip>;
28933
29882
  }, z.core.$strip>], "type">;
28934
29883
  status: z.ZodEnum<{
29884
+ paused: "paused";
28935
29885
  completed: "completed";
28936
29886
  active: "active";
28937
- paused: "paused";
28938
29887
  }>;
28939
29888
  createdAt: z.ZodString;
28940
29889
  updatedAt: z.ZodString;
28941
29890
  nextRunAt: z.ZodNullable<z.ZodString>;
28942
29891
  lastRunAt: z.ZodNullable<z.ZodString>;
28943
29892
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28944
- succeeded: "succeeded";
28945
29893
  failed: "failed";
29894
+ succeeded: "succeeded";
28946
29895
  }>>>;
28947
29896
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29897
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29898
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29899
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28948
29900
  pausedAt: z.ZodNullable<z.ZodString>;
28949
29901
  expiresAt: z.ZodNullable<z.ZodString>;
28950
29902
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -28955,11 +29907,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28955
29907
  endedAt: z.ZodNullable<z.ZodString>;
28956
29908
  status: z.ZodEnum<{
28957
29909
  running: "running";
28958
- succeeded: "succeeded";
28959
29910
  failed: "failed";
29911
+ succeeded: "succeeded";
28960
29912
  }>;
28961
29913
  agentId: z.ZodNullable<z.ZodGUID>;
28962
29914
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29915
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29916
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29917
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28963
29918
  output: z.ZodNullable<z.ZodString>;
28964
29919
  error: z.ZodNullable<z.ZodString>;
28965
29920
  }, z.core.$strip>>;
@@ -28977,11 +29932,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28977
29932
  endedAt: z.ZodNullable<z.ZodString>;
28978
29933
  status: z.ZodEnum<{
28979
29934
  running: "running";
28980
- succeeded: "succeeded";
28981
29935
  failed: "failed";
29936
+ succeeded: "succeeded";
28982
29937
  }>;
28983
29938
  agentId: z.ZodNullable<z.ZodGUID>;
28984
29939
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29940
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29941
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29942
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28985
29943
  output: z.ZodNullable<z.ZodString>;
28986
29944
  error: z.ZodNullable<z.ZodString>;
28987
29945
  }, z.core.$strip>>;
@@ -28994,12 +29952,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28994
29952
  schedule: z.ZodNullable<z.ZodObject<{
28995
29953
  prompt: z.ZodString;
28996
29954
  name: z.ZodNullable<z.ZodString>;
29955
+ id: z.ZodString;
28997
29956
  status: z.ZodEnum<{
29957
+ paused: "paused";
28998
29958
  completed: "completed";
28999
29959
  active: "active";
29000
- paused: "paused";
29001
29960
  }>;
29002
- id: z.ZodString;
29003
29961
  createdAt: z.ZodString;
29004
29962
  updatedAt: z.ZodString;
29005
29963
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -29044,10 +30002,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29044
30002
  nextRunAt: z.ZodNullable<z.ZodString>;
29045
30003
  lastRunAt: z.ZodNullable<z.ZodString>;
29046
30004
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29047
- succeeded: "succeeded";
29048
30005
  failed: "failed";
30006
+ succeeded: "succeeded";
29049
30007
  }>>>;
29050
30008
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30009
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30010
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30011
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29051
30012
  pausedAt: z.ZodNullable<z.ZodString>;
29052
30013
  expiresAt: z.ZodNullable<z.ZodString>;
29053
30014
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -29061,12 +30022,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29061
30022
  schedule: z.ZodNullable<z.ZodObject<{
29062
30023
  prompt: z.ZodString;
29063
30024
  name: z.ZodNullable<z.ZodString>;
30025
+ id: z.ZodString;
29064
30026
  status: z.ZodEnum<{
30027
+ paused: "paused";
29065
30028
  completed: "completed";
29066
30029
  active: "active";
29067
- paused: "paused";
29068
30030
  }>;
29069
- id: z.ZodString;
29070
30031
  createdAt: z.ZodString;
29071
30032
  updatedAt: z.ZodString;
29072
30033
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -29111,10 +30072,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29111
30072
  nextRunAt: z.ZodNullable<z.ZodString>;
29112
30073
  lastRunAt: z.ZodNullable<z.ZodString>;
29113
30074
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29114
- succeeded: "succeeded";
29115
30075
  failed: "failed";
30076
+ succeeded: "succeeded";
29116
30077
  }>>>;
29117
30078
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30079
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30080
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30081
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29118
30082
  pausedAt: z.ZodNullable<z.ZodString>;
29119
30083
  expiresAt: z.ZodNullable<z.ZodString>;
29120
30084
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -29176,19 +30140,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29176
30140
  }, z.core.$strip>;
29177
30141
  }, z.core.$strip>], "type">;
29178
30142
  status: z.ZodEnum<{
30143
+ paused: "paused";
29179
30144
  completed: "completed";
29180
30145
  active: "active";
29181
- paused: "paused";
29182
30146
  }>;
29183
30147
  createdAt: z.ZodString;
29184
30148
  updatedAt: z.ZodString;
29185
30149
  nextRunAt: z.ZodNullable<z.ZodString>;
29186
30150
  lastRunAt: z.ZodNullable<z.ZodString>;
29187
30151
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29188
- succeeded: "succeeded";
29189
30152
  failed: "failed";
30153
+ succeeded: "succeeded";
29190
30154
  }>>>;
29191
30155
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30156
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30157
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30158
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29192
30159
  pausedAt: z.ZodNullable<z.ZodString>;
29193
30160
  expiresAt: z.ZodNullable<z.ZodString>;
29194
30161
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -29199,11 +30166,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29199
30166
  endedAt: z.ZodNullable<z.ZodString>;
29200
30167
  status: z.ZodEnum<{
29201
30168
  running: "running";
29202
- succeeded: "succeeded";
29203
30169
  failed: "failed";
30170
+ succeeded: "succeeded";
29204
30171
  }>;
29205
30172
  agentId: z.ZodNullable<z.ZodGUID>;
29206
30173
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30174
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30175
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30176
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29207
30177
  output: z.ZodNullable<z.ZodString>;
29208
30178
  error: z.ZodNullable<z.ZodString>;
29209
30179
  }, z.core.$strip>>;
@@ -29258,19 +30228,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29258
30228
  }, z.core.$strip>;
29259
30229
  }, z.core.$strip>], "type">;
29260
30230
  status: z.ZodEnum<{
30231
+ paused: "paused";
29261
30232
  completed: "completed";
29262
30233
  active: "active";
29263
- paused: "paused";
29264
30234
  }>;
29265
30235
  createdAt: z.ZodString;
29266
30236
  updatedAt: z.ZodString;
29267
30237
  nextRunAt: z.ZodNullable<z.ZodString>;
29268
30238
  lastRunAt: z.ZodNullable<z.ZodString>;
29269
30239
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29270
- succeeded: "succeeded";
29271
30240
  failed: "failed";
30241
+ succeeded: "succeeded";
29272
30242
  }>>>;
29273
30243
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30244
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30245
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30246
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29274
30247
  pausedAt: z.ZodNullable<z.ZodString>;
29275
30248
  expiresAt: z.ZodNullable<z.ZodString>;
29276
30249
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -29281,11 +30254,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29281
30254
  endedAt: z.ZodNullable<z.ZodString>;
29282
30255
  status: z.ZodEnum<{
29283
30256
  running: "running";
29284
- succeeded: "succeeded";
29285
30257
  failed: "failed";
30258
+ succeeded: "succeeded";
29286
30259
  }>;
29287
30260
  agentId: z.ZodNullable<z.ZodGUID>;
29288
30261
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30262
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30263
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30264
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29289
30265
  output: z.ZodNullable<z.ZodString>;
29290
30266
  error: z.ZodNullable<z.ZodString>;
29291
30267
  }, z.core.$strip>>;
@@ -29317,8 +30293,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29317
30293
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29318
30294
  status: z.ZodEnum<{
29319
30295
  running: "running";
29320
- succeeded: "succeeded";
29321
30296
  failed: "failed";
30297
+ succeeded: "succeeded";
29322
30298
  stopped: "stopped";
29323
30299
  }>;
29324
30300
  createdAt: z.ZodString;
@@ -29334,14 +30310,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29334
30310
  verifierAgentId: z.ZodNullable<z.ZodString>;
29335
30311
  status: z.ZodEnum<{
29336
30312
  running: "running";
29337
- succeeded: "succeeded";
29338
30313
  failed: "failed";
30314
+ succeeded: "succeeded";
29339
30315
  stopped: "stopped";
29340
30316
  }>;
29341
30317
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29342
30318
  failed: "failed";
29343
- completed: "completed";
29344
30319
  canceled: "canceled";
30320
+ completed: "completed";
29345
30321
  }>>;
29346
30322
  failureReason: z.ZodNullable<z.ZodString>;
29347
30323
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29393,8 +30369,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29393
30369
  name: z.ZodNullable<z.ZodString>;
29394
30370
  status: z.ZodEnum<{
29395
30371
  running: "running";
29396
- succeeded: "succeeded";
29397
30372
  failed: "failed";
30373
+ succeeded: "succeeded";
29398
30374
  stopped: "stopped";
29399
30375
  }>;
29400
30376
  cwd: z.ZodString;
@@ -29429,8 +30405,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29429
30405
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29430
30406
  status: z.ZodEnum<{
29431
30407
  running: "running";
29432
- succeeded: "succeeded";
29433
30408
  failed: "failed";
30409
+ succeeded: "succeeded";
29434
30410
  stopped: "stopped";
29435
30411
  }>;
29436
30412
  createdAt: z.ZodString;
@@ -29446,14 +30422,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29446
30422
  verifierAgentId: z.ZodNullable<z.ZodString>;
29447
30423
  status: z.ZodEnum<{
29448
30424
  running: "running";
29449
- succeeded: "succeeded";
29450
30425
  failed: "failed";
30426
+ succeeded: "succeeded";
29451
30427
  stopped: "stopped";
29452
30428
  }>;
29453
30429
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29454
30430
  failed: "failed";
29455
- completed: "completed";
29456
30431
  canceled: "canceled";
30432
+ completed: "completed";
29457
30433
  }>>;
29458
30434
  failureReason: z.ZodNullable<z.ZodString>;
29459
30435
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29521,8 +30497,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29521
30497
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29522
30498
  status: z.ZodEnum<{
29523
30499
  running: "running";
29524
- succeeded: "succeeded";
29525
30500
  failed: "failed";
30501
+ succeeded: "succeeded";
29526
30502
  stopped: "stopped";
29527
30503
  }>;
29528
30504
  createdAt: z.ZodString;
@@ -29538,14 +30514,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29538
30514
  verifierAgentId: z.ZodNullable<z.ZodString>;
29539
30515
  status: z.ZodEnum<{
29540
30516
  running: "running";
29541
- succeeded: "succeeded";
29542
30517
  failed: "failed";
30518
+ succeeded: "succeeded";
29543
30519
  stopped: "stopped";
29544
30520
  }>;
29545
30521
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29546
30522
  failed: "failed";
29547
- completed: "completed";
29548
30523
  canceled: "canceled";
30524
+ completed: "completed";
29549
30525
  }>>;
29550
30526
  failureReason: z.ZodNullable<z.ZodString>;
29551
30527
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29630,8 +30606,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29630
30606
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29631
30607
  status: z.ZodEnum<{
29632
30608
  running: "running";
29633
- succeeded: "succeeded";
29634
30609
  failed: "failed";
30610
+ succeeded: "succeeded";
29635
30611
  stopped: "stopped";
29636
30612
  }>;
29637
30613
  createdAt: z.ZodString;
@@ -29647,14 +30623,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29647
30623
  verifierAgentId: z.ZodNullable<z.ZodString>;
29648
30624
  status: z.ZodEnum<{
29649
30625
  running: "running";
29650
- succeeded: "succeeded";
29651
30626
  failed: "failed";
30627
+ succeeded: "succeeded";
29652
30628
  stopped: "stopped";
29653
30629
  }>;
29654
30630
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29655
30631
  failed: "failed";
29656
- completed: "completed";
29657
30632
  canceled: "canceled";
30633
+ completed: "completed";
29658
30634
  }>>;
29659
30635
  failureReason: z.ZodNullable<z.ZodString>;
29660
30636
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29732,8 +30708,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29732
30708
  starred: z.ZodBoolean;
29733
30709
  status: z.ZodEnum<{
29734
30710
  error: "error";
29735
- generating: "generating";
29736
30711
  ready: "ready";
30712
+ generating: "generating";
29737
30713
  }>;
29738
30714
  createdAt: z.ZodString;
29739
30715
  updatedAt: z.ZodString;
@@ -29746,6 +30722,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29746
30722
  glowA: z.ZodString;
29747
30723
  glowB: z.ZodString;
29748
30724
  }, z.core.$loose>>>;
30725
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29749
30726
  errorMessage: z.ZodNullable<z.ZodString>;
29750
30727
  }, z.core.$strip>>;
29751
30728
  success: z.ZodBoolean;
@@ -29767,8 +30744,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29767
30744
  starred: z.ZodBoolean;
29768
30745
  status: z.ZodEnum<{
29769
30746
  error: "error";
29770
- generating: "generating";
29771
30747
  ready: "ready";
30748
+ generating: "generating";
29772
30749
  }>;
29773
30750
  createdAt: z.ZodString;
29774
30751
  updatedAt: z.ZodString;
@@ -29781,6 +30758,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29781
30758
  glowA: z.ZodString;
29782
30759
  glowB: z.ZodString;
29783
30760
  }, z.core.$loose>>>;
30761
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29784
30762
  errorMessage: z.ZodNullable<z.ZodString>;
29785
30763
  }, z.core.$strip>;
29786
30764
  success: z.ZodBoolean;
@@ -29802,8 +30780,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29802
30780
  starred: z.ZodBoolean;
29803
30781
  status: z.ZodEnum<{
29804
30782
  error: "error";
29805
- generating: "generating";
29806
30783
  ready: "ready";
30784
+ generating: "generating";
29807
30785
  }>;
29808
30786
  createdAt: z.ZodString;
29809
30787
  updatedAt: z.ZodString;
@@ -29816,6 +30794,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29816
30794
  glowA: z.ZodString;
29817
30795
  glowB: z.ZodString;
29818
30796
  }, z.core.$loose>>>;
30797
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29819
30798
  errorMessage: z.ZodNullable<z.ZodString>;
29820
30799
  }, z.core.$strip>;
29821
30800
  success: z.ZodBoolean;
@@ -29837,8 +30816,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29837
30816
  starred: z.ZodBoolean;
29838
30817
  status: z.ZodEnum<{
29839
30818
  error: "error";
29840
- generating: "generating";
29841
30819
  ready: "ready";
30820
+ generating: "generating";
29842
30821
  }>;
29843
30822
  createdAt: z.ZodString;
29844
30823
  updatedAt: z.ZodString;
@@ -29851,6 +30830,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29851
30830
  glowA: z.ZodString;
29852
30831
  glowB: z.ZodString;
29853
30832
  }, z.core.$loose>>>;
30833
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29854
30834
  errorMessage: z.ZodNullable<z.ZodString>;
29855
30835
  }, z.core.$strip>;
29856
30836
  success: z.ZodBoolean;
@@ -29872,8 +30852,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29872
30852
  starred: z.ZodBoolean;
29873
30853
  status: z.ZodEnum<{
29874
30854
  error: "error";
29875
- generating: "generating";
29876
30855
  ready: "ready";
30856
+ generating: "generating";
29877
30857
  }>;
29878
30858
  createdAt: z.ZodString;
29879
30859
  updatedAt: z.ZodString;
@@ -29886,6 +30866,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29886
30866
  glowA: z.ZodString;
29887
30867
  glowB: z.ZodString;
29888
30868
  }, z.core.$loose>>>;
30869
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29889
30870
  errorMessage: z.ZodNullable<z.ZodString>;
29890
30871
  }, z.core.$strip>;
29891
30872
  success: z.ZodBoolean;
@@ -29914,8 +30895,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29914
30895
  starred: z.ZodBoolean;
29915
30896
  status: z.ZodEnum<{
29916
30897
  error: "error";
29917
- generating: "generating";
29918
30898
  ready: "ready";
30899
+ generating: "generating";
29919
30900
  }>;
29920
30901
  createdAt: z.ZodString;
29921
30902
  updatedAt: z.ZodString;
@@ -29928,6 +30909,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29928
30909
  glowA: z.ZodString;
29929
30910
  glowB: z.ZodString;
29930
30911
  }, z.core.$loose>>>;
30912
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29931
30913
  errorMessage: z.ZodNullable<z.ZodString>;
29932
30914
  }, z.core.$strip>;
29933
30915
  success: z.ZodBoolean;
@@ -29957,8 +30939,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29957
30939
  starred: z.ZodBoolean;
29958
30940
  status: z.ZodEnum<{
29959
30941
  error: "error";
29960
- generating: "generating";
29961
30942
  ready: "ready";
30943
+ generating: "generating";
29962
30944
  }>;
29963
30945
  createdAt: z.ZodString;
29964
30946
  updatedAt: z.ZodString;
@@ -29971,6 +30953,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29971
30953
  glowA: z.ZodString;
29972
30954
  glowB: z.ZodString;
29973
30955
  }, z.core.$loose>>>;
30956
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29974
30957
  errorMessage: z.ZodNullable<z.ZodString>;
29975
30958
  }, z.core.$strip>;
29976
30959
  }, z.core.$strip>;
@@ -29989,8 +30972,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29989
30972
  starred: z.ZodBoolean;
29990
30973
  status: z.ZodEnum<{
29991
30974
  error: "error";
29992
- generating: "generating";
29993
30975
  ready: "ready";
30976
+ generating: "generating";
29994
30977
  }>;
29995
30978
  createdAt: z.ZodString;
29996
30979
  updatedAt: z.ZodString;
@@ -30003,6 +30986,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30003
30986
  glowA: z.ZodString;
30004
30987
  glowB: z.ZodString;
30005
30988
  }, z.core.$loose>>>;
30989
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30006
30990
  errorMessage: z.ZodNullable<z.ZodString>;
30007
30991
  }, z.core.$strip>;
30008
30992
  }, z.core.$strip>;
@@ -30932,6 +31916,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30932
31916
  }, z.core.$strip>, z.ZodObject<{
30933
31917
  type: z.ZodLiteral<"provider.usage.list.request">;
30934
31918
  requestId: z.ZodString;
31919
+ }, z.core.$strip>, z.ZodObject<{
31920
+ type: z.ZodLiteral<"stats.activity.get.request">;
31921
+ requestId: z.ZodString;
30935
31922
  }, z.core.$strip>, z.ZodObject<{
30936
31923
  type: z.ZodLiteral<"agent.context.get_usage.request">;
30937
31924
  agentId: z.ZodString;
@@ -31054,6 +32041,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31054
32041
  type: z.ZodLiteral<"agent.subagent.stop.request">;
31055
32042
  agentId: z.ZodString;
31056
32043
  requestId: z.ZodString;
32044
+ }, z.core.$strip>, z.ZodObject<{
32045
+ type: z.ZodLiteral<"agent.background_task.stop.request">;
32046
+ parentAgentId: z.ZodString;
32047
+ taskId: z.ZodString;
32048
+ requestId: z.ZodString;
32049
+ }, z.core.$strip>, z.ZodObject<{
32050
+ type: z.ZodLiteral<"agent.background_task.clear.request">;
32051
+ parentAgentId: z.ZodString;
32052
+ taskIds: z.ZodArray<z.ZodString>;
32053
+ requestId: z.ZodString;
31057
32054
  }, z.core.$strip>, z.ZodObject<{
31058
32055
  type: z.ZodLiteral<"agent.personality.set.request">;
31059
32056
  agentId: z.ZodString;
@@ -31121,6 +32118,23 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31121
32118
  cwd: z.ZodString;
31122
32119
  operation: z.ZodString;
31123
32120
  requestId: z.ZodString;
32121
+ }, z.core.$strip>, z.ZodObject<{
32122
+ type: z.ZodLiteral<"runs.get_snapshot.request">;
32123
+ requestId: z.ZodString;
32124
+ }, z.core.$strip>, z.ZodObject<{
32125
+ type: z.ZodLiteral<"runs.gate_respond.request">;
32126
+ runId: z.ZodString;
32127
+ phaseId: z.ZodString;
32128
+ approved: z.ZodBoolean;
32129
+ note: z.ZodOptional<z.ZodString>;
32130
+ requestId: z.ZodString;
32131
+ }, z.core.$strip>, z.ZodObject<{
32132
+ type: z.ZodLiteral<"runs.cancel.request">;
32133
+ runId: z.ZodString;
32134
+ requestId: z.ZodString;
32135
+ }, z.core.$strip>, z.ZodObject<{
32136
+ type: z.ZodLiteral<"runs.clear.request">;
32137
+ requestId: z.ZodString;
31124
32138
  }, z.core.$strip>, z.ZodObject<{
31125
32139
  type: z.ZodLiteral<"checkout_merge_request">;
31126
32140
  cwd: z.ZodString;
@@ -31999,6 +33013,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31999
33013
  glowA: z.ZodString;
32000
33014
  glowB: z.ZodString;
32001
33015
  }, z.core.$loose>>;
33016
+ personalityName: z.ZodOptional<z.ZodString>;
32002
33017
  requestId: z.ZodString;
32003
33018
  }, z.core.$strip>, z.ZodObject<{
32004
33019
  type: z.ZodLiteral<"artifact.update.request">;
@@ -32353,8 +33368,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32353
33368
  starred: z.ZodBoolean;
32354
33369
  status: z.ZodEnum<{
32355
33370
  error: "error";
32356
- generating: "generating";
32357
33371
  ready: "ready";
33372
+ generating: "generating";
32358
33373
  }>;
32359
33374
  createdAt: z.ZodString;
32360
33375
  updatedAt: z.ZodString;
@@ -32367,6 +33382,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32367
33382
  glowA: z.ZodString;
32368
33383
  glowB: z.ZodString;
32369
33384
  }, z.core.$loose>>>;
33385
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32370
33386
  errorMessage: z.ZodNullable<z.ZodString>;
32371
33387
  }, z.core.$strip>;
32372
33388
  }, z.core.$strip>;
@@ -32558,8 +33574,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32558
33574
  running: "running";
32559
33575
  attention: "attention";
32560
33576
  needs_input: "needs_input";
32561
- failed: "failed";
32562
33577
  done: "done";
33578
+ failed: "failed";
32563
33579
  }>;
32564
33580
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
32565
33581
  activityAt: z.ZodNullable<z.ZodString>;
@@ -32621,9 +33637,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32621
33637
  name: z.ZodString;
32622
33638
  status: z.ZodEnum<{
32623
33639
  success: "success";
32624
- failure: "failure";
32625
33640
  pending: "pending";
32626
33641
  skipped: "skipped";
33642
+ failure: "failure";
32627
33643
  cancelled: "cancelled";
32628
33644
  }>;
32629
33645
  url: z.ZodNullable<z.ZodString>;
@@ -32632,9 +33648,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32632
33648
  }, z.core.$strip>>>;
32633
33649
  checksStatus: z.ZodOptional<z.ZodEnum<{
32634
33650
  success: "success";
33651
+ pending: "pending";
32635
33652
  none: "none";
32636
33653
  failure: "failure";
32637
- pending: "pending";
32638
33654
  }>>;
32639
33655
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
32640
33656
  pending: "pending";
@@ -32738,7 +33754,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32738
33754
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
32739
33755
  name: string;
32740
33756
  archivingAt: string | null;
32741
- status: "running" | "attention" | "needs_input" | "failed" | "done";
33757
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
32742
33758
  statusEnteredAt: string | null;
32743
33759
  activityAt: string | null;
32744
33760
  scripts: {
@@ -32786,12 +33802,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32786
33802
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
32787
33803
  checks?: {
32788
33804
  name: string;
32789
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
33805
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
32790
33806
  url: string | null;
32791
33807
  workflow?: string | undefined;
32792
33808
  duration?: string | undefined;
32793
33809
  }[] | undefined;
32794
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
33810
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
32795
33811
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
32796
33812
  repoOwner?: string | undefined;
32797
33813
  repoName?: string | undefined;
@@ -32841,7 +33857,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32841
33857
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
32842
33858
  name: string;
32843
33859
  archivingAt: string | null;
32844
- status: "running" | "attention" | "needs_input" | "failed" | "done";
33860
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
32845
33861
  statusEnteredAt: string | null;
32846
33862
  activityAt: string | null;
32847
33863
  scripts: {
@@ -32890,12 +33906,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32890
33906
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
32891
33907
  checks?: {
32892
33908
  name: string;
32893
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
33909
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
32894
33910
  url: string | null;
32895
33911
  workflow?: string | undefined;
32896
33912
  duration?: string | undefined;
32897
33913
  }[] | undefined;
32898
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
33914
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
32899
33915
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
32900
33916
  repoOwner?: string | undefined;
32901
33917
  repoName?: string | undefined;
@@ -33563,8 +34579,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33563
34579
  running: "running";
33564
34580
  attention: "attention";
33565
34581
  needs_input: "needs_input";
33566
- failed: "failed";
33567
34582
  done: "done";
34583
+ failed: "failed";
33568
34584
  }>;
33569
34585
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
33570
34586
  activityAt: z.ZodNullable<z.ZodString>;
@@ -33626,9 +34642,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33626
34642
  name: z.ZodString;
33627
34643
  status: z.ZodEnum<{
33628
34644
  success: "success";
33629
- failure: "failure";
33630
34645
  pending: "pending";
33631
34646
  skipped: "skipped";
34647
+ failure: "failure";
33632
34648
  cancelled: "cancelled";
33633
34649
  }>;
33634
34650
  url: z.ZodNullable<z.ZodString>;
@@ -33637,9 +34653,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33637
34653
  }, z.core.$strip>>>;
33638
34654
  checksStatus: z.ZodOptional<z.ZodEnum<{
33639
34655
  success: "success";
34656
+ pending: "pending";
33640
34657
  none: "none";
33641
34658
  failure: "failure";
33642
- pending: "pending";
33643
34659
  }>>;
33644
34660
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
33645
34661
  pending: "pending";
@@ -33743,7 +34759,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33743
34759
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
33744
34760
  name: string;
33745
34761
  archivingAt: string | null;
33746
- status: "running" | "attention" | "needs_input" | "failed" | "done";
34762
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
33747
34763
  statusEnteredAt: string | null;
33748
34764
  activityAt: string | null;
33749
34765
  scripts: {
@@ -33791,12 +34807,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33791
34807
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
33792
34808
  checks?: {
33793
34809
  name: string;
33794
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
34810
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
33795
34811
  url: string | null;
33796
34812
  workflow?: string | undefined;
33797
34813
  duration?: string | undefined;
33798
34814
  }[] | undefined;
33799
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
34815
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
33800
34816
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
33801
34817
  repoOwner?: string | undefined;
33802
34818
  repoName?: string | undefined;
@@ -33846,7 +34862,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33846
34862
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
33847
34863
  name: string;
33848
34864
  archivingAt: string | null;
33849
- status: "running" | "attention" | "needs_input" | "failed" | "done";
34865
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
33850
34866
  statusEnteredAt: string | null;
33851
34867
  activityAt: string | null;
33852
34868
  scripts: {
@@ -33895,12 +34911,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33895
34911
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
33896
34912
  checks?: {
33897
34913
  name: string;
33898
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
34914
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
33899
34915
  url: string | null;
33900
34916
  workflow?: string | undefined;
33901
34917
  duration?: string | undefined;
33902
34918
  }[] | undefined;
33903
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
34919
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
33904
34920
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
33905
34921
  repoOwner?: string | undefined;
33906
34922
  repoName?: string | undefined;
@@ -34008,8 +35024,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34008
35024
  running: "running";
34009
35025
  attention: "attention";
34010
35026
  needs_input: "needs_input";
34011
- failed: "failed";
34012
35027
  done: "done";
35028
+ failed: "failed";
34013
35029
  }>;
34014
35030
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
34015
35031
  activityAt: z.ZodNullable<z.ZodString>;
@@ -34071,9 +35087,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34071
35087
  name: z.ZodString;
34072
35088
  status: z.ZodEnum<{
34073
35089
  success: "success";
34074
- failure: "failure";
34075
35090
  pending: "pending";
34076
35091
  skipped: "skipped";
35092
+ failure: "failure";
34077
35093
  cancelled: "cancelled";
34078
35094
  }>;
34079
35095
  url: z.ZodNullable<z.ZodString>;
@@ -34082,9 +35098,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34082
35098
  }, z.core.$strip>>>;
34083
35099
  checksStatus: z.ZodOptional<z.ZodEnum<{
34084
35100
  success: "success";
35101
+ pending: "pending";
34085
35102
  none: "none";
34086
35103
  failure: "failure";
34087
- pending: "pending";
34088
35104
  }>>;
34089
35105
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
34090
35106
  pending: "pending";
@@ -34188,7 +35204,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34188
35204
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
34189
35205
  name: string;
34190
35206
  archivingAt: string | null;
34191
- status: "running" | "attention" | "needs_input" | "failed" | "done";
35207
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
34192
35208
  statusEnteredAt: string | null;
34193
35209
  activityAt: string | null;
34194
35210
  scripts: {
@@ -34236,12 +35252,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34236
35252
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
34237
35253
  checks?: {
34238
35254
  name: string;
34239
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
35255
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
34240
35256
  url: string | null;
34241
35257
  workflow?: string | undefined;
34242
35258
  duration?: string | undefined;
34243
35259
  }[] | undefined;
34244
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
35260
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
34245
35261
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
34246
35262
  repoOwner?: string | undefined;
34247
35263
  repoName?: string | undefined;
@@ -34291,7 +35307,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34291
35307
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
34292
35308
  name: string;
34293
35309
  archivingAt: string | null;
34294
- status: "running" | "attention" | "needs_input" | "failed" | "done";
35310
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
34295
35311
  statusEnteredAt: string | null;
34296
35312
  activityAt: string | null;
34297
35313
  scripts: {
@@ -34340,12 +35356,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34340
35356
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
34341
35357
  checks?: {
34342
35358
  name: string;
34343
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
35359
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
34344
35360
  url: string | null;
34345
35361
  workflow?: string | undefined;
34346
35362
  duration?: string | undefined;
34347
35363
  }[] | undefined;
34348
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
35364
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
34349
35365
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
34350
35366
  repoOwner?: string | undefined;
34351
35367
  repoName?: string | undefined;
@@ -34921,8 +35937,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34921
35937
  running: "running";
34922
35938
  attention: "attention";
34923
35939
  needs_input: "needs_input";
34924
- failed: "failed";
34925
35940
  done: "done";
35941
+ failed: "failed";
34926
35942
  }>;
34927
35943
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
34928
35944
  activityAt: z.ZodNullable<z.ZodString>;
@@ -34984,9 +36000,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34984
36000
  name: z.ZodString;
34985
36001
  status: z.ZodEnum<{
34986
36002
  success: "success";
34987
- failure: "failure";
34988
36003
  pending: "pending";
34989
36004
  skipped: "skipped";
36005
+ failure: "failure";
34990
36006
  cancelled: "cancelled";
34991
36007
  }>;
34992
36008
  url: z.ZodNullable<z.ZodString>;
@@ -34995,9 +36011,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34995
36011
  }, z.core.$strip>>>;
34996
36012
  checksStatus: z.ZodOptional<z.ZodEnum<{
34997
36013
  success: "success";
36014
+ pending: "pending";
34998
36015
  none: "none";
34999
36016
  failure: "failure";
35000
- pending: "pending";
35001
36017
  }>>;
35002
36018
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
35003
36019
  pending: "pending";
@@ -35101,7 +36117,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35101
36117
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
35102
36118
  name: string;
35103
36119
  archivingAt: string | null;
35104
- status: "running" | "attention" | "needs_input" | "failed" | "done";
36120
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
35105
36121
  statusEnteredAt: string | null;
35106
36122
  activityAt: string | null;
35107
36123
  scripts: {
@@ -35149,12 +36165,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35149
36165
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35150
36166
  checks?: {
35151
36167
  name: string;
35152
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
36168
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
35153
36169
  url: string | null;
35154
36170
  workflow?: string | undefined;
35155
36171
  duration?: string | undefined;
35156
36172
  }[] | undefined;
35157
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
36173
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35158
36174
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35159
36175
  repoOwner?: string | undefined;
35160
36176
  repoName?: string | undefined;
@@ -35204,7 +36220,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35204
36220
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
35205
36221
  name: string;
35206
36222
  archivingAt: string | null;
35207
- status: "running" | "attention" | "needs_input" | "failed" | "done";
36223
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
35208
36224
  statusEnteredAt: string | null;
35209
36225
  activityAt: string | null;
35210
36226
  scripts: {
@@ -35253,12 +36269,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35253
36269
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35254
36270
  checks?: {
35255
36271
  name: string;
35256
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
36272
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
35257
36273
  url: string | null;
35258
36274
  workflow?: string | undefined;
35259
36275
  duration?: string | undefined;
35260
36276
  }[] | undefined;
35261
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
36277
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35262
36278
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35263
36279
  repoOwner?: string | undefined;
35264
36280
  repoName?: string | undefined;
@@ -35844,6 +36860,46 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35844
36860
  error: z.ZodNullable<z.ZodString>;
35845
36861
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
35846
36862
  }, z.core.$strip>;
36863
+ }, z.core.$strip>, z.ZodObject<{
36864
+ type: z.ZodLiteral<"agent.background_task.stop.response">;
36865
+ payload: z.ZodObject<{
36866
+ requestId: z.ZodString;
36867
+ agentId: z.ZodString;
36868
+ accepted: z.ZodBoolean;
36869
+ error: z.ZodNullable<z.ZodString>;
36870
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
36871
+ }, z.core.$strip>;
36872
+ }, z.core.$strip>, z.ZodObject<{
36873
+ type: z.ZodLiteral<"agent.background_task.clear.response">;
36874
+ payload: z.ZodObject<{
36875
+ requestId: z.ZodString;
36876
+ agentId: z.ZodString;
36877
+ accepted: z.ZodBoolean;
36878
+ error: z.ZodNullable<z.ZodString>;
36879
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
36880
+ }, z.core.$strip>;
36881
+ }, z.core.$strip>, z.ZodObject<{
36882
+ type: z.ZodLiteral<"background_shell_tasks_changed">;
36883
+ payload: z.ZodObject<{
36884
+ parentAgentId: z.ZodString;
36885
+ tasks: z.ZodArray<z.ZodObject<{
36886
+ id: z.ZodString;
36887
+ parentAgentId: z.ZodString;
36888
+ provider: z.ZodString;
36889
+ command: z.ZodOptional<z.ZodString>;
36890
+ description: z.ZodOptional<z.ZodString>;
36891
+ status: z.ZodEnum<{
36892
+ error: "error";
36893
+ idle: "idle";
36894
+ running: "running";
36895
+ closed: "closed";
36896
+ }>;
36897
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
36898
+ createdAt: z.ZodString;
36899
+ updatedAt: z.ZodString;
36900
+ archivedAt: z.ZodOptional<z.ZodString>;
36901
+ }, z.core.$strip>>;
36902
+ }, z.core.$strip>;
35847
36903
  }, z.core.$strip>, z.ZodObject<{
35848
36904
  type: z.ZodLiteral<"agent.personality.set.response">;
35849
36905
  payload: z.ZodObject<{
@@ -36478,6 +37534,134 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36478
37534
  text: z.ZodString;
36479
37535
  }, z.core.$strip>>;
36480
37536
  }, z.core.$strip>;
37537
+ }, z.core.$strip>, z.ZodObject<{
37538
+ type: z.ZodLiteral<"runs.get_snapshot.response">;
37539
+ payload: z.ZodObject<{
37540
+ runs: z.ZodArray<z.ZodObject<{
37541
+ id: z.ZodString;
37542
+ title: z.ZodString;
37543
+ status: z.ZodString;
37544
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
37545
+ autopilot: z.ZodOptional<z.ZodBoolean>;
37546
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
37547
+ id: z.ZodString;
37548
+ type: z.ZodString;
37549
+ title: z.ZodString;
37550
+ task: z.ZodString;
37551
+ status: z.ZodString;
37552
+ assigneeRole: z.ZodOptional<z.ZodString>;
37553
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
37554
+ fanOut: z.ZodOptional<z.ZodNumber>;
37555
+ keepBest: z.ZodOptional<z.ZodNumber>;
37556
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
37557
+ agentId: z.ZodString;
37558
+ personalityId: z.ZodOptional<z.ZodString>;
37559
+ verdict: z.ZodOptional<z.ZodObject<{
37560
+ verdict: z.ZodString;
37561
+ score: z.ZodOptional<z.ZodNumber>;
37562
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
37563
+ name: z.ZodString;
37564
+ met: z.ZodBoolean;
37565
+ evidence: z.ZodOptional<z.ZodString>;
37566
+ }, z.core.$loose>>>;
37567
+ summary: z.ZodOptional<z.ZodString>;
37568
+ }, z.core.$loose>>;
37569
+ summary: z.ZodOptional<z.ZodString>;
37570
+ }, z.core.$loose>>>;
37571
+ notes: z.ZodOptional<z.ZodString>;
37572
+ startedAt: z.ZodOptional<z.ZodString>;
37573
+ completedAt: z.ZodOptional<z.ZodString>;
37574
+ }, z.core.$loose>>>;
37575
+ conductorAgentId: z.ZodOptional<z.ZodString>;
37576
+ cwd: z.ZodOptional<z.ZodString>;
37577
+ workspaceId: z.ZodOptional<z.ZodString>;
37578
+ teamId: z.ZodOptional<z.ZodString>;
37579
+ teamName: z.ZodOptional<z.ZodString>;
37580
+ error: z.ZodOptional<z.ZodString>;
37581
+ summary: z.ZodOptional<z.ZodString>;
37582
+ summaryStatus: z.ZodOptional<z.ZodString>;
37583
+ agentCount: z.ZodOptional<z.ZodNumber>;
37584
+ createdAt: z.ZodOptional<z.ZodString>;
37585
+ updatedAt: z.ZodOptional<z.ZodString>;
37586
+ }, z.core.$loose>>;
37587
+ requestId: z.ZodString;
37588
+ }, z.core.$strip>;
37589
+ }, z.core.$strip>, z.ZodObject<{
37590
+ type: z.ZodLiteral<"runs.updated.notification">;
37591
+ payload: z.ZodObject<{
37592
+ run: z.ZodObject<{
37593
+ id: z.ZodString;
37594
+ title: z.ZodString;
37595
+ status: z.ZodString;
37596
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
37597
+ autopilot: z.ZodOptional<z.ZodBoolean>;
37598
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
37599
+ id: z.ZodString;
37600
+ type: z.ZodString;
37601
+ title: z.ZodString;
37602
+ task: z.ZodString;
37603
+ status: z.ZodString;
37604
+ assigneeRole: z.ZodOptional<z.ZodString>;
37605
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
37606
+ fanOut: z.ZodOptional<z.ZodNumber>;
37607
+ keepBest: z.ZodOptional<z.ZodNumber>;
37608
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
37609
+ agentId: z.ZodString;
37610
+ personalityId: z.ZodOptional<z.ZodString>;
37611
+ verdict: z.ZodOptional<z.ZodObject<{
37612
+ verdict: z.ZodString;
37613
+ score: z.ZodOptional<z.ZodNumber>;
37614
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
37615
+ name: z.ZodString;
37616
+ met: z.ZodBoolean;
37617
+ evidence: z.ZodOptional<z.ZodString>;
37618
+ }, z.core.$loose>>>;
37619
+ summary: z.ZodOptional<z.ZodString>;
37620
+ }, z.core.$loose>>;
37621
+ summary: z.ZodOptional<z.ZodString>;
37622
+ }, z.core.$loose>>>;
37623
+ notes: z.ZodOptional<z.ZodString>;
37624
+ startedAt: z.ZodOptional<z.ZodString>;
37625
+ completedAt: z.ZodOptional<z.ZodString>;
37626
+ }, z.core.$loose>>>;
37627
+ conductorAgentId: z.ZodOptional<z.ZodString>;
37628
+ cwd: z.ZodOptional<z.ZodString>;
37629
+ workspaceId: z.ZodOptional<z.ZodString>;
37630
+ teamId: z.ZodOptional<z.ZodString>;
37631
+ teamName: z.ZodOptional<z.ZodString>;
37632
+ error: z.ZodOptional<z.ZodString>;
37633
+ summary: z.ZodOptional<z.ZodString>;
37634
+ summaryStatus: z.ZodOptional<z.ZodString>;
37635
+ agentCount: z.ZodOptional<z.ZodNumber>;
37636
+ createdAt: z.ZodOptional<z.ZodString>;
37637
+ updatedAt: z.ZodOptional<z.ZodString>;
37638
+ }, z.core.$loose>;
37639
+ }, z.core.$strip>;
37640
+ }, z.core.$strip>, z.ZodObject<{
37641
+ type: z.ZodLiteral<"runs.gate_respond.response">;
37642
+ payload: z.ZodObject<{
37643
+ runId: z.ZodString;
37644
+ accepted: z.ZodBoolean;
37645
+ requestId: z.ZodString;
37646
+ }, z.core.$strip>;
37647
+ }, z.core.$strip>, z.ZodObject<{
37648
+ type: z.ZodLiteral<"runs.cancel.response">;
37649
+ payload: z.ZodObject<{
37650
+ runId: z.ZodString;
37651
+ canceled: z.ZodBoolean;
37652
+ requestId: z.ZodString;
37653
+ }, z.core.$strip>;
37654
+ }, z.core.$strip>, z.ZodObject<{
37655
+ type: z.ZodLiteral<"runs.clear.response">;
37656
+ payload: z.ZodObject<{
37657
+ runIds: z.ZodArray<z.ZodString>;
37658
+ requestId: z.ZodString;
37659
+ }, z.core.$strip>;
37660
+ }, z.core.$strip>, z.ZodObject<{
37661
+ type: z.ZodLiteral<"runs.cleared.notification">;
37662
+ payload: z.ZodObject<{
37663
+ runIds: z.ZodArray<z.ZodString>;
37664
+ }, z.core.$strip>;
36481
37665
  }, z.core.$strip>, z.ZodObject<{
36482
37666
  type: z.ZodLiteral<"checkout_merge_response">;
36483
37667
  payload: z.ZodObject<{
@@ -37098,8 +38282,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37098
38282
  running: "running";
37099
38283
  attention: "attention";
37100
38284
  needs_input: "needs_input";
37101
- failed: "failed";
37102
38285
  done: "done";
38286
+ failed: "failed";
37103
38287
  }>;
37104
38288
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
37105
38289
  activityAt: z.ZodNullable<z.ZodString>;
@@ -37161,9 +38345,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37161
38345
  name: z.ZodString;
37162
38346
  status: z.ZodEnum<{
37163
38347
  success: "success";
37164
- failure: "failure";
37165
38348
  pending: "pending";
37166
38349
  skipped: "skipped";
38350
+ failure: "failure";
37167
38351
  cancelled: "cancelled";
37168
38352
  }>;
37169
38353
  url: z.ZodNullable<z.ZodString>;
@@ -37172,9 +38356,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37172
38356
  }, z.core.$strip>>>;
37173
38357
  checksStatus: z.ZodOptional<z.ZodEnum<{
37174
38358
  success: "success";
38359
+ pending: "pending";
37175
38360
  none: "none";
37176
38361
  failure: "failure";
37177
- pending: "pending";
37178
38362
  }>>;
37179
38363
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
37180
38364
  pending: "pending";
@@ -37278,7 +38462,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37278
38462
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
37279
38463
  name: string;
37280
38464
  archivingAt: string | null;
37281
- status: "running" | "attention" | "needs_input" | "failed" | "done";
38465
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
37282
38466
  statusEnteredAt: string | null;
37283
38467
  activityAt: string | null;
37284
38468
  scripts: {
@@ -37326,12 +38510,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37326
38510
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
37327
38511
  checks?: {
37328
38512
  name: string;
37329
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
38513
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
37330
38514
  url: string | null;
37331
38515
  workflow?: string | undefined;
37332
38516
  duration?: string | undefined;
37333
38517
  }[] | undefined;
37334
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
38518
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
37335
38519
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
37336
38520
  repoOwner?: string | undefined;
37337
38521
  repoName?: string | undefined;
@@ -37381,7 +38565,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37381
38565
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
37382
38566
  name: string;
37383
38567
  archivingAt: string | null;
37384
- status: "running" | "attention" | "needs_input" | "failed" | "done";
38568
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
37385
38569
  statusEnteredAt: string | null;
37386
38570
  activityAt: string | null;
37387
38571
  scripts: {
@@ -37430,12 +38614,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37430
38614
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
37431
38615
  checks?: {
37432
38616
  name: string;
37433
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
38617
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
37434
38618
  url: string | null;
37435
38619
  workflow?: string | undefined;
37436
38620
  duration?: string | undefined;
37437
38621
  }[] | undefined;
37438
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
38622
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
37439
38623
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
37440
38624
  repoOwner?: string | undefined;
37441
38625
  repoName?: string | undefined;
@@ -37907,6 +39091,81 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37907
39091
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37908
39092
  }, z.core.$strip>>;
37909
39093
  }, z.core.$strip>;
39094
+ }, z.core.$strip>, z.ZodObject<{
39095
+ type: z.ZodLiteral<"stats.activity.get.response">;
39096
+ payload: z.ZodObject<{
39097
+ requestId: z.ZodString;
39098
+ today: z.ZodObject<{
39099
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39100
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39101
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39102
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39103
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39104
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39105
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39106
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39107
+ thoughts: z.ZodDefault<z.ZodNumber>;
39108
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39109
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39110
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39111
+ }, z.core.$strip>;
39112
+ yesterday: z.ZodObject<{
39113
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39114
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39115
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39116
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39117
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39118
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39119
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39120
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39121
+ thoughts: z.ZodDefault<z.ZodNumber>;
39122
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39123
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39124
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39125
+ }, z.core.$strip>;
39126
+ last7Days: z.ZodObject<{
39127
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39128
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39129
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39130
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39131
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39132
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39133
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39134
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39135
+ thoughts: z.ZodDefault<z.ZodNumber>;
39136
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39137
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39138
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39139
+ }, z.core.$strip>;
39140
+ last30Days: z.ZodObject<{
39141
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39142
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39143
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39144
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39145
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39146
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39147
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39148
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39149
+ thoughts: z.ZodDefault<z.ZodNumber>;
39150
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39151
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39152
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39153
+ }, z.core.$strip>;
39154
+ allTime: z.ZodObject<{
39155
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39156
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39157
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39158
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39159
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39160
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39161
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39162
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39163
+ thoughts: z.ZodDefault<z.ZodNumber>;
39164
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39165
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39166
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39167
+ }, z.core.$strip>;
39168
+ }, z.core.$strip>;
37910
39169
  }, z.core.$strip>, z.ZodObject<{
37911
39170
  type: z.ZodLiteral<"agent.context.get_usage.response">;
37912
39171
  payload: z.ZodObject<{
@@ -38177,12 +39436,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38177
39436
  schedule: z.ZodNullable<z.ZodObject<{
38178
39437
  prompt: z.ZodString;
38179
39438
  name: z.ZodNullable<z.ZodString>;
39439
+ id: z.ZodString;
38180
39440
  status: z.ZodEnum<{
39441
+ paused: "paused";
38181
39442
  completed: "completed";
38182
39443
  active: "active";
38183
- paused: "paused";
38184
39444
  }>;
38185
- id: z.ZodString;
38186
39445
  createdAt: z.ZodString;
38187
39446
  updatedAt: z.ZodString;
38188
39447
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38227,10 +39486,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38227
39486
  nextRunAt: z.ZodNullable<z.ZodString>;
38228
39487
  lastRunAt: z.ZodNullable<z.ZodString>;
38229
39488
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38230
- succeeded: "succeeded";
38231
39489
  failed: "failed";
39490
+ succeeded: "succeeded";
38232
39491
  }>>>;
38233
39492
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39493
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39494
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39495
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38234
39496
  pausedAt: z.ZodNullable<z.ZodString>;
38235
39497
  expiresAt: z.ZodNullable<z.ZodString>;
38236
39498
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -38244,12 +39506,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38244
39506
  schedules: z.ZodArray<z.ZodObject<{
38245
39507
  prompt: z.ZodString;
38246
39508
  name: z.ZodNullable<z.ZodString>;
39509
+ id: z.ZodString;
38247
39510
  status: z.ZodEnum<{
39511
+ paused: "paused";
38248
39512
  completed: "completed";
38249
39513
  active: "active";
38250
- paused: "paused";
38251
39514
  }>;
38252
- id: z.ZodString;
38253
39515
  createdAt: z.ZodString;
38254
39516
  updatedAt: z.ZodString;
38255
39517
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38294,10 +39556,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38294
39556
  nextRunAt: z.ZodNullable<z.ZodString>;
38295
39557
  lastRunAt: z.ZodNullable<z.ZodString>;
38296
39558
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38297
- succeeded: "succeeded";
38298
39559
  failed: "failed";
39560
+ succeeded: "succeeded";
38299
39561
  }>>>;
38300
39562
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39563
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39564
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39565
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38301
39566
  pausedAt: z.ZodNullable<z.ZodString>;
38302
39567
  expiresAt: z.ZodNullable<z.ZodString>;
38303
39568
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -38352,19 +39617,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38352
39617
  }, z.core.$strip>;
38353
39618
  }, z.core.$strip>], "type">;
38354
39619
  status: z.ZodEnum<{
39620
+ paused: "paused";
38355
39621
  completed: "completed";
38356
39622
  active: "active";
38357
- paused: "paused";
38358
39623
  }>;
38359
39624
  createdAt: z.ZodString;
38360
39625
  updatedAt: z.ZodString;
38361
39626
  nextRunAt: z.ZodNullable<z.ZodString>;
38362
39627
  lastRunAt: z.ZodNullable<z.ZodString>;
38363
39628
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38364
- succeeded: "succeeded";
38365
39629
  failed: "failed";
39630
+ succeeded: "succeeded";
38366
39631
  }>>>;
38367
39632
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39633
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39634
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39635
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38368
39636
  pausedAt: z.ZodNullable<z.ZodString>;
38369
39637
  expiresAt: z.ZodNullable<z.ZodString>;
38370
39638
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -38375,11 +39643,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38375
39643
  endedAt: z.ZodNullable<z.ZodString>;
38376
39644
  status: z.ZodEnum<{
38377
39645
  running: "running";
38378
- succeeded: "succeeded";
38379
39646
  failed: "failed";
39647
+ succeeded: "succeeded";
38380
39648
  }>;
38381
39649
  agentId: z.ZodNullable<z.ZodGUID>;
38382
39650
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39651
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39652
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39653
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38383
39654
  output: z.ZodNullable<z.ZodString>;
38384
39655
  error: z.ZodNullable<z.ZodString>;
38385
39656
  }, z.core.$strip>>;
@@ -38397,11 +39668,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38397
39668
  endedAt: z.ZodNullable<z.ZodString>;
38398
39669
  status: z.ZodEnum<{
38399
39670
  running: "running";
38400
- succeeded: "succeeded";
38401
39671
  failed: "failed";
39672
+ succeeded: "succeeded";
38402
39673
  }>;
38403
39674
  agentId: z.ZodNullable<z.ZodGUID>;
38404
39675
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39676
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39677
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39678
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38405
39679
  output: z.ZodNullable<z.ZodString>;
38406
39680
  error: z.ZodNullable<z.ZodString>;
38407
39681
  }, z.core.$strip>>;
@@ -38414,12 +39688,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38414
39688
  schedule: z.ZodNullable<z.ZodObject<{
38415
39689
  prompt: z.ZodString;
38416
39690
  name: z.ZodNullable<z.ZodString>;
39691
+ id: z.ZodString;
38417
39692
  status: z.ZodEnum<{
39693
+ paused: "paused";
38418
39694
  completed: "completed";
38419
39695
  active: "active";
38420
- paused: "paused";
38421
39696
  }>;
38422
- id: z.ZodString;
38423
39697
  createdAt: z.ZodString;
38424
39698
  updatedAt: z.ZodString;
38425
39699
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38464,10 +39738,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38464
39738
  nextRunAt: z.ZodNullable<z.ZodString>;
38465
39739
  lastRunAt: z.ZodNullable<z.ZodString>;
38466
39740
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38467
- succeeded: "succeeded";
38468
39741
  failed: "failed";
39742
+ succeeded: "succeeded";
38469
39743
  }>>>;
38470
39744
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39745
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39746
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39747
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38471
39748
  pausedAt: z.ZodNullable<z.ZodString>;
38472
39749
  expiresAt: z.ZodNullable<z.ZodString>;
38473
39750
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -38481,12 +39758,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38481
39758
  schedule: z.ZodNullable<z.ZodObject<{
38482
39759
  prompt: z.ZodString;
38483
39760
  name: z.ZodNullable<z.ZodString>;
39761
+ id: z.ZodString;
38484
39762
  status: z.ZodEnum<{
39763
+ paused: "paused";
38485
39764
  completed: "completed";
38486
39765
  active: "active";
38487
- paused: "paused";
38488
39766
  }>;
38489
- id: z.ZodString;
38490
39767
  createdAt: z.ZodString;
38491
39768
  updatedAt: z.ZodString;
38492
39769
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38531,10 +39808,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38531
39808
  nextRunAt: z.ZodNullable<z.ZodString>;
38532
39809
  lastRunAt: z.ZodNullable<z.ZodString>;
38533
39810
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38534
- succeeded: "succeeded";
38535
39811
  failed: "failed";
39812
+ succeeded: "succeeded";
38536
39813
  }>>>;
38537
39814
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39815
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39816
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39817
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38538
39818
  pausedAt: z.ZodNullable<z.ZodString>;
38539
39819
  expiresAt: z.ZodNullable<z.ZodString>;
38540
39820
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -38596,19 +39876,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38596
39876
  }, z.core.$strip>;
38597
39877
  }, z.core.$strip>], "type">;
38598
39878
  status: z.ZodEnum<{
39879
+ paused: "paused";
38599
39880
  completed: "completed";
38600
39881
  active: "active";
38601
- paused: "paused";
38602
39882
  }>;
38603
39883
  createdAt: z.ZodString;
38604
39884
  updatedAt: z.ZodString;
38605
39885
  nextRunAt: z.ZodNullable<z.ZodString>;
38606
39886
  lastRunAt: z.ZodNullable<z.ZodString>;
38607
39887
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38608
- succeeded: "succeeded";
38609
39888
  failed: "failed";
39889
+ succeeded: "succeeded";
38610
39890
  }>>>;
38611
39891
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39892
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39893
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39894
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38612
39895
  pausedAt: z.ZodNullable<z.ZodString>;
38613
39896
  expiresAt: z.ZodNullable<z.ZodString>;
38614
39897
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -38619,11 +39902,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38619
39902
  endedAt: z.ZodNullable<z.ZodString>;
38620
39903
  status: z.ZodEnum<{
38621
39904
  running: "running";
38622
- succeeded: "succeeded";
38623
39905
  failed: "failed";
39906
+ succeeded: "succeeded";
38624
39907
  }>;
38625
39908
  agentId: z.ZodNullable<z.ZodGUID>;
38626
39909
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39910
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39911
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39912
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38627
39913
  output: z.ZodNullable<z.ZodString>;
38628
39914
  error: z.ZodNullable<z.ZodString>;
38629
39915
  }, z.core.$strip>>;
@@ -38678,19 +39964,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38678
39964
  }, z.core.$strip>;
38679
39965
  }, z.core.$strip>], "type">;
38680
39966
  status: z.ZodEnum<{
39967
+ paused: "paused";
38681
39968
  completed: "completed";
38682
39969
  active: "active";
38683
- paused: "paused";
38684
39970
  }>;
38685
39971
  createdAt: z.ZodString;
38686
39972
  updatedAt: z.ZodString;
38687
39973
  nextRunAt: z.ZodNullable<z.ZodString>;
38688
39974
  lastRunAt: z.ZodNullable<z.ZodString>;
38689
39975
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38690
- succeeded: "succeeded";
38691
39976
  failed: "failed";
39977
+ succeeded: "succeeded";
38692
39978
  }>>>;
38693
39979
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39980
+ lastRunPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39981
+ lastRunProvider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39982
+ lastRunModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38694
39983
  pausedAt: z.ZodNullable<z.ZodString>;
38695
39984
  expiresAt: z.ZodNullable<z.ZodString>;
38696
39985
  maxRuns: z.ZodNullable<z.ZodNumber>;
@@ -38701,11 +39990,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38701
39990
  endedAt: z.ZodNullable<z.ZodString>;
38702
39991
  status: z.ZodEnum<{
38703
39992
  running: "running";
38704
- succeeded: "succeeded";
38705
39993
  failed: "failed";
39994
+ succeeded: "succeeded";
38706
39995
  }>;
38707
39996
  agentId: z.ZodNullable<z.ZodGUID>;
38708
39997
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39998
+ personalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39999
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40000
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38709
40001
  output: z.ZodNullable<z.ZodString>;
38710
40002
  error: z.ZodNullable<z.ZodString>;
38711
40003
  }, z.core.$strip>>;
@@ -38737,8 +40029,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38737
40029
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
38738
40030
  status: z.ZodEnum<{
38739
40031
  running: "running";
38740
- succeeded: "succeeded";
38741
40032
  failed: "failed";
40033
+ succeeded: "succeeded";
38742
40034
  stopped: "stopped";
38743
40035
  }>;
38744
40036
  createdAt: z.ZodString;
@@ -38754,14 +40046,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38754
40046
  verifierAgentId: z.ZodNullable<z.ZodString>;
38755
40047
  status: z.ZodEnum<{
38756
40048
  running: "running";
38757
- succeeded: "succeeded";
38758
40049
  failed: "failed";
40050
+ succeeded: "succeeded";
38759
40051
  stopped: "stopped";
38760
40052
  }>;
38761
40053
  workerOutcome: z.ZodNullable<z.ZodEnum<{
38762
40054
  failed: "failed";
38763
- completed: "completed";
38764
40055
  canceled: "canceled";
40056
+ completed: "completed";
38765
40057
  }>>;
38766
40058
  failureReason: z.ZodNullable<z.ZodString>;
38767
40059
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -38813,8 +40105,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38813
40105
  name: z.ZodNullable<z.ZodString>;
38814
40106
  status: z.ZodEnum<{
38815
40107
  running: "running";
38816
- succeeded: "succeeded";
38817
40108
  failed: "failed";
40109
+ succeeded: "succeeded";
38818
40110
  stopped: "stopped";
38819
40111
  }>;
38820
40112
  cwd: z.ZodString;
@@ -38849,8 +40141,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38849
40141
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
38850
40142
  status: z.ZodEnum<{
38851
40143
  running: "running";
38852
- succeeded: "succeeded";
38853
40144
  failed: "failed";
40145
+ succeeded: "succeeded";
38854
40146
  stopped: "stopped";
38855
40147
  }>;
38856
40148
  createdAt: z.ZodString;
@@ -38866,14 +40158,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38866
40158
  verifierAgentId: z.ZodNullable<z.ZodString>;
38867
40159
  status: z.ZodEnum<{
38868
40160
  running: "running";
38869
- succeeded: "succeeded";
38870
40161
  failed: "failed";
40162
+ succeeded: "succeeded";
38871
40163
  stopped: "stopped";
38872
40164
  }>;
38873
40165
  workerOutcome: z.ZodNullable<z.ZodEnum<{
38874
40166
  failed: "failed";
38875
- completed: "completed";
38876
40167
  canceled: "canceled";
40168
+ completed: "completed";
38877
40169
  }>>;
38878
40170
  failureReason: z.ZodNullable<z.ZodString>;
38879
40171
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -38941,8 +40233,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38941
40233
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
38942
40234
  status: z.ZodEnum<{
38943
40235
  running: "running";
38944
- succeeded: "succeeded";
38945
40236
  failed: "failed";
40237
+ succeeded: "succeeded";
38946
40238
  stopped: "stopped";
38947
40239
  }>;
38948
40240
  createdAt: z.ZodString;
@@ -38958,14 +40250,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38958
40250
  verifierAgentId: z.ZodNullable<z.ZodString>;
38959
40251
  status: z.ZodEnum<{
38960
40252
  running: "running";
38961
- succeeded: "succeeded";
38962
40253
  failed: "failed";
40254
+ succeeded: "succeeded";
38963
40255
  stopped: "stopped";
38964
40256
  }>;
38965
40257
  workerOutcome: z.ZodNullable<z.ZodEnum<{
38966
40258
  failed: "failed";
38967
- completed: "completed";
38968
40259
  canceled: "canceled";
40260
+ completed: "completed";
38969
40261
  }>>;
38970
40262
  failureReason: z.ZodNullable<z.ZodString>;
38971
40263
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -39050,8 +40342,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39050
40342
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
39051
40343
  status: z.ZodEnum<{
39052
40344
  running: "running";
39053
- succeeded: "succeeded";
39054
40345
  failed: "failed";
40346
+ succeeded: "succeeded";
39055
40347
  stopped: "stopped";
39056
40348
  }>;
39057
40349
  createdAt: z.ZodString;
@@ -39067,14 +40359,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39067
40359
  verifierAgentId: z.ZodNullable<z.ZodString>;
39068
40360
  status: z.ZodEnum<{
39069
40361
  running: "running";
39070
- succeeded: "succeeded";
39071
40362
  failed: "failed";
40363
+ succeeded: "succeeded";
39072
40364
  stopped: "stopped";
39073
40365
  }>;
39074
40366
  workerOutcome: z.ZodNullable<z.ZodEnum<{
39075
40367
  failed: "failed";
39076
- completed: "completed";
39077
40368
  canceled: "canceled";
40369
+ completed: "completed";
39078
40370
  }>>;
39079
40371
  failureReason: z.ZodNullable<z.ZodString>;
39080
40372
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -39152,8 +40444,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39152
40444
  starred: z.ZodBoolean;
39153
40445
  status: z.ZodEnum<{
39154
40446
  error: "error";
39155
- generating: "generating";
39156
40447
  ready: "ready";
40448
+ generating: "generating";
39157
40449
  }>;
39158
40450
  createdAt: z.ZodString;
39159
40451
  updatedAt: z.ZodString;
@@ -39166,6 +40458,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39166
40458
  glowA: z.ZodString;
39167
40459
  glowB: z.ZodString;
39168
40460
  }, z.core.$loose>>>;
40461
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39169
40462
  errorMessage: z.ZodNullable<z.ZodString>;
39170
40463
  }, z.core.$strip>>;
39171
40464
  success: z.ZodBoolean;
@@ -39187,8 +40480,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39187
40480
  starred: z.ZodBoolean;
39188
40481
  status: z.ZodEnum<{
39189
40482
  error: "error";
39190
- generating: "generating";
39191
40483
  ready: "ready";
40484
+ generating: "generating";
39192
40485
  }>;
39193
40486
  createdAt: z.ZodString;
39194
40487
  updatedAt: z.ZodString;
@@ -39201,6 +40494,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39201
40494
  glowA: z.ZodString;
39202
40495
  glowB: z.ZodString;
39203
40496
  }, z.core.$loose>>>;
40497
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39204
40498
  errorMessage: z.ZodNullable<z.ZodString>;
39205
40499
  }, z.core.$strip>;
39206
40500
  success: z.ZodBoolean;
@@ -39222,8 +40516,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39222
40516
  starred: z.ZodBoolean;
39223
40517
  status: z.ZodEnum<{
39224
40518
  error: "error";
39225
- generating: "generating";
39226
40519
  ready: "ready";
40520
+ generating: "generating";
39227
40521
  }>;
39228
40522
  createdAt: z.ZodString;
39229
40523
  updatedAt: z.ZodString;
@@ -39236,6 +40530,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39236
40530
  glowA: z.ZodString;
39237
40531
  glowB: z.ZodString;
39238
40532
  }, z.core.$loose>>>;
40533
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39239
40534
  errorMessage: z.ZodNullable<z.ZodString>;
39240
40535
  }, z.core.$strip>;
39241
40536
  success: z.ZodBoolean;
@@ -39257,8 +40552,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39257
40552
  starred: z.ZodBoolean;
39258
40553
  status: z.ZodEnum<{
39259
40554
  error: "error";
39260
- generating: "generating";
39261
40555
  ready: "ready";
40556
+ generating: "generating";
39262
40557
  }>;
39263
40558
  createdAt: z.ZodString;
39264
40559
  updatedAt: z.ZodString;
@@ -39271,6 +40566,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39271
40566
  glowA: z.ZodString;
39272
40567
  glowB: z.ZodString;
39273
40568
  }, z.core.$loose>>>;
40569
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39274
40570
  errorMessage: z.ZodNullable<z.ZodString>;
39275
40571
  }, z.core.$strip>;
39276
40572
  success: z.ZodBoolean;
@@ -39292,8 +40588,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39292
40588
  starred: z.ZodBoolean;
39293
40589
  status: z.ZodEnum<{
39294
40590
  error: "error";
39295
- generating: "generating";
39296
40591
  ready: "ready";
40592
+ generating: "generating";
39297
40593
  }>;
39298
40594
  createdAt: z.ZodString;
39299
40595
  updatedAt: z.ZodString;
@@ -39306,6 +40602,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39306
40602
  glowA: z.ZodString;
39307
40603
  glowB: z.ZodString;
39308
40604
  }, z.core.$loose>>>;
40605
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39309
40606
  errorMessage: z.ZodNullable<z.ZodString>;
39310
40607
  }, z.core.$strip>;
39311
40608
  success: z.ZodBoolean;
@@ -39334,8 +40631,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39334
40631
  starred: z.ZodBoolean;
39335
40632
  status: z.ZodEnum<{
39336
40633
  error: "error";
39337
- generating: "generating";
39338
40634
  ready: "ready";
40635
+ generating: "generating";
39339
40636
  }>;
39340
40637
  createdAt: z.ZodString;
39341
40638
  updatedAt: z.ZodString;
@@ -39348,6 +40645,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39348
40645
  glowA: z.ZodString;
39349
40646
  glowB: z.ZodString;
39350
40647
  }, z.core.$loose>>>;
40648
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39351
40649
  errorMessage: z.ZodNullable<z.ZodString>;
39352
40650
  }, z.core.$strip>;
39353
40651
  success: z.ZodBoolean;
@@ -39377,8 +40675,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39377
40675
  starred: z.ZodBoolean;
39378
40676
  status: z.ZodEnum<{
39379
40677
  error: "error";
39380
- generating: "generating";
39381
40678
  ready: "ready";
40679
+ generating: "generating";
39382
40680
  }>;
39383
40681
  createdAt: z.ZodString;
39384
40682
  updatedAt: z.ZodString;
@@ -39391,6 +40689,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39391
40689
  glowA: z.ZodString;
39392
40690
  glowB: z.ZodString;
39393
40691
  }, z.core.$loose>>>;
40692
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39394
40693
  errorMessage: z.ZodNullable<z.ZodString>;
39395
40694
  }, z.core.$strip>;
39396
40695
  }, z.core.$strip>;
@@ -39409,8 +40708,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39409
40708
  starred: z.ZodBoolean;
39410
40709
  status: z.ZodEnum<{
39411
40710
  error: "error";
39412
- generating: "generating";
39413
40711
  ready: "ready";
40712
+ generating: "generating";
39414
40713
  }>;
39415
40714
  createdAt: z.ZodString;
39416
40715
  updatedAt: z.ZodString;
@@ -39423,6 +40722,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39423
40722
  glowA: z.ZodString;
39424
40723
  glowB: z.ZodString;
39425
40724
  }, z.core.$loose>>>;
40725
+ generationPersonalityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39426
40726
  errorMessage: z.ZodNullable<z.ZodString>;
39427
40727
  }, z.core.$strip>;
39428
40728
  }, z.core.$strip>;