@otto-code/protocol 0.5.2 → 0.5.4

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;
@@ -5104,6 +5465,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5104
5465
  agentContextUsage: z.ZodOptional<z.ZodBoolean>;
5105
5466
  artifacts: z.ZodOptional<z.ZodBoolean>;
5106
5467
  observedSubagents: z.ZodOptional<z.ZodBoolean>;
5468
+ backgroundShellTasks: z.ZodOptional<z.ZodBoolean>;
5107
5469
  textEditor: z.ZodOptional<z.ZodBoolean>;
5108
5470
  projectSearch: z.ZodOptional<z.ZodBoolean>;
5109
5471
  codeIndex: z.ZodOptional<z.ZodBoolean>;
@@ -5119,6 +5481,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5119
5481
  checkoutGitLog: z.ZodOptional<z.ZodBoolean>;
5120
5482
  agentTeams: z.ZodOptional<z.ZodBoolean>;
5121
5483
  modelTierOverrides: z.ZodOptional<z.ZodBoolean>;
5484
+ agentOrchestration: z.ZodOptional<z.ZodBoolean>;
5485
+ activityStats: z.ZodOptional<z.ZodBoolean>;
5486
+ runsClear: z.ZodOptional<z.ZodBoolean>;
5122
5487
  }, z.core.$strip>>;
5123
5488
  }, z.core.$loose>, z.ZodTransform<{
5124
5489
  hostname: string | null;
@@ -5159,6 +5524,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5159
5524
  agentContextUsage?: boolean | undefined;
5160
5525
  artifacts?: boolean | undefined;
5161
5526
  observedSubagents?: boolean | undefined;
5527
+ backgroundShellTasks?: boolean | undefined;
5162
5528
  textEditor?: boolean | undefined;
5163
5529
  projectSearch?: boolean | undefined;
5164
5530
  codeIndex?: boolean | undefined;
@@ -5174,6 +5540,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5174
5540
  checkoutGitLog?: boolean | undefined;
5175
5541
  agentTeams?: boolean | undefined;
5176
5542
  modelTierOverrides?: boolean | undefined;
5543
+ agentOrchestration?: boolean | undefined;
5544
+ activityStats?: boolean | undefined;
5545
+ runsClear?: boolean | undefined;
5177
5546
  } | undefined;
5178
5547
  }, {
5179
5548
  [x: string]: unknown;
@@ -5215,6 +5584,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5215
5584
  agentContextUsage?: boolean | undefined;
5216
5585
  artifacts?: boolean | undefined;
5217
5586
  observedSubagents?: boolean | undefined;
5587
+ backgroundShellTasks?: boolean | undefined;
5218
5588
  textEditor?: boolean | undefined;
5219
5589
  projectSearch?: boolean | undefined;
5220
5590
  codeIndex?: boolean | undefined;
@@ -5230,6 +5600,9 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5230
5600
  checkoutGitLog?: boolean | undefined;
5231
5601
  agentTeams?: boolean | undefined;
5232
5602
  modelTierOverrides?: boolean | undefined;
5603
+ agentOrchestration?: boolean | undefined;
5604
+ activityStats?: boolean | undefined;
5605
+ runsClear?: boolean | undefined;
5233
5606
  } | undefined;
5234
5607
  }>>;
5235
5608
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -6151,8 +6524,8 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6151
6524
  running: "running";
6152
6525
  attention: "attention";
6153
6526
  needs_input: "needs_input";
6154
- failed: "failed";
6155
6527
  done: "done";
6528
+ failed: "failed";
6156
6529
  }>;
6157
6530
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
6158
6531
  activityAt: z.ZodNullable<z.ZodString>;
@@ -6214,9 +6587,9 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6214
6587
  name: z.ZodString;
6215
6588
  status: z.ZodEnum<{
6216
6589
  success: "success";
6217
- failure: "failure";
6218
6590
  pending: "pending";
6219
6591
  skipped: "skipped";
6592
+ failure: "failure";
6220
6593
  cancelled: "cancelled";
6221
6594
  }>;
6222
6595
  url: z.ZodNullable<z.ZodString>;
@@ -6225,9 +6598,9 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6225
6598
  }, z.core.$strip>>>;
6226
6599
  checksStatus: z.ZodOptional<z.ZodEnum<{
6227
6600
  success: "success";
6601
+ pending: "pending";
6228
6602
  none: "none";
6229
6603
  failure: "failure";
6230
- pending: "pending";
6231
6604
  }>>;
6232
6605
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6233
6606
  pending: "pending";
@@ -6331,7 +6704,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6331
6704
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
6332
6705
  name: string;
6333
6706
  archivingAt: string | null;
6334
- status: "running" | "attention" | "needs_input" | "failed" | "done";
6707
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
6335
6708
  statusEnteredAt: string | null;
6336
6709
  activityAt: string | null;
6337
6710
  scripts: {
@@ -6379,12 +6752,12 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6379
6752
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
6380
6753
  checks?: {
6381
6754
  name: string;
6382
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
6755
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
6383
6756
  url: string | null;
6384
6757
  workflow?: string | undefined;
6385
6758
  duration?: string | undefined;
6386
6759
  }[] | undefined;
6387
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
6760
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
6388
6761
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
6389
6762
  repoOwner?: string | undefined;
6390
6763
  repoName?: string | undefined;
@@ -6434,7 +6807,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6434
6807
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
6435
6808
  name: string;
6436
6809
  archivingAt: string | null;
6437
- status: "running" | "attention" | "needs_input" | "failed" | "done";
6810
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
6438
6811
  statusEnteredAt: string | null;
6439
6812
  activityAt: string | null;
6440
6813
  scripts: {
@@ -6483,12 +6856,12 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
6483
6856
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
6484
6857
  checks?: {
6485
6858
  name: string;
6486
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
6859
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
6487
6860
  url: string | null;
6488
6861
  workflow?: string | undefined;
6489
6862
  duration?: string | undefined;
6490
6863
  }[] | undefined;
6491
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
6864
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
6492
6865
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
6493
6866
  repoOwner?: string | undefined;
6494
6867
  repoName?: string | undefined;
@@ -6545,8 +6918,8 @@ export declare const ArtifactUpdateMessageSchema: z.ZodObject<{
6545
6918
  starred: z.ZodBoolean;
6546
6919
  status: z.ZodEnum<{
6547
6920
  error: "error";
6548
- generating: "generating";
6549
6921
  ready: "ready";
6922
+ generating: "generating";
6550
6923
  }>;
6551
6924
  createdAt: z.ZodString;
6552
6925
  updatedAt: z.ZodString;
@@ -7335,8 +7708,8 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7335
7708
  running: "running";
7336
7709
  attention: "attention";
7337
7710
  needs_input: "needs_input";
7338
- failed: "failed";
7339
7711
  done: "done";
7712
+ failed: "failed";
7340
7713
  }>;
7341
7714
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
7342
7715
  activityAt: z.ZodNullable<z.ZodString>;
@@ -7398,9 +7771,9 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7398
7771
  name: z.ZodString;
7399
7772
  status: z.ZodEnum<{
7400
7773
  success: "success";
7401
- failure: "failure";
7402
7774
  pending: "pending";
7403
7775
  skipped: "skipped";
7776
+ failure: "failure";
7404
7777
  cancelled: "cancelled";
7405
7778
  }>;
7406
7779
  url: z.ZodNullable<z.ZodString>;
@@ -7409,9 +7782,9 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7409
7782
  }, z.core.$strip>>>;
7410
7783
  checksStatus: z.ZodOptional<z.ZodEnum<{
7411
7784
  success: "success";
7785
+ pending: "pending";
7412
7786
  none: "none";
7413
7787
  failure: "failure";
7414
- pending: "pending";
7415
7788
  }>>;
7416
7789
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7417
7790
  pending: "pending";
@@ -7515,7 +7888,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7515
7888
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
7516
7889
  name: string;
7517
7890
  archivingAt: string | null;
7518
- status: "running" | "attention" | "needs_input" | "failed" | "done";
7891
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
7519
7892
  statusEnteredAt: string | null;
7520
7893
  activityAt: string | null;
7521
7894
  scripts: {
@@ -7563,12 +7936,12 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7563
7936
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7564
7937
  checks?: {
7565
7938
  name: string;
7566
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
7939
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
7567
7940
  url: string | null;
7568
7941
  workflow?: string | undefined;
7569
7942
  duration?: string | undefined;
7570
7943
  }[] | undefined;
7571
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
7944
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7572
7945
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7573
7946
  repoOwner?: string | undefined;
7574
7947
  repoName?: string | undefined;
@@ -7618,7 +7991,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7618
7991
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
7619
7992
  name: string;
7620
7993
  archivingAt: string | null;
7621
- status: "running" | "attention" | "needs_input" | "failed" | "done";
7994
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
7622
7995
  statusEnteredAt: string | null;
7623
7996
  activityAt: string | null;
7624
7997
  scripts: {
@@ -7667,12 +8040,12 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
7667
8040
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7668
8041
  checks?: {
7669
8042
  name: string;
7670
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8043
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
7671
8044
  url: string | null;
7672
8045
  workflow?: string | undefined;
7673
8046
  duration?: string | undefined;
7674
8047
  }[] | undefined;
7675
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8048
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7676
8049
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7677
8050
  repoOwner?: string | undefined;
7678
8051
  repoName?: string | undefined;
@@ -7761,8 +8134,8 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7761
8134
  running: "running";
7762
8135
  attention: "attention";
7763
8136
  needs_input: "needs_input";
7764
- failed: "failed";
7765
8137
  done: "done";
8138
+ failed: "failed";
7766
8139
  }>;
7767
8140
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
7768
8141
  activityAt: z.ZodNullable<z.ZodString>;
@@ -7824,9 +8197,9 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7824
8197
  name: z.ZodString;
7825
8198
  status: z.ZodEnum<{
7826
8199
  success: "success";
7827
- failure: "failure";
7828
8200
  pending: "pending";
7829
8201
  skipped: "skipped";
8202
+ failure: "failure";
7830
8203
  cancelled: "cancelled";
7831
8204
  }>;
7832
8205
  url: z.ZodNullable<z.ZodString>;
@@ -7835,9 +8208,9 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7835
8208
  }, z.core.$strip>>>;
7836
8209
  checksStatus: z.ZodOptional<z.ZodEnum<{
7837
8210
  success: "success";
8211
+ pending: "pending";
7838
8212
  none: "none";
7839
8213
  failure: "failure";
7840
- pending: "pending";
7841
8214
  }>>;
7842
8215
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7843
8216
  pending: "pending";
@@ -7941,7 +8314,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7941
8314
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
7942
8315
  name: string;
7943
8316
  archivingAt: string | null;
7944
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8317
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
7945
8318
  statusEnteredAt: string | null;
7946
8319
  activityAt: string | null;
7947
8320
  scripts: {
@@ -7989,12 +8362,12 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
7989
8362
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
7990
8363
  checks?: {
7991
8364
  name: string;
7992
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8365
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
7993
8366
  url: string | null;
7994
8367
  workflow?: string | undefined;
7995
8368
  duration?: string | undefined;
7996
8369
  }[] | undefined;
7997
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8370
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
7998
8371
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
7999
8372
  repoOwner?: string | undefined;
8000
8373
  repoName?: string | undefined;
@@ -8044,7 +8417,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
8044
8417
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
8045
8418
  name: string;
8046
8419
  archivingAt: string | null;
8047
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8420
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
8048
8421
  statusEnteredAt: string | null;
8049
8422
  activityAt: string | null;
8050
8423
  scripts: {
@@ -8093,12 +8466,12 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
8093
8466
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8094
8467
  checks?: {
8095
8468
  name: string;
8096
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8469
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
8097
8470
  url: string | null;
8098
8471
  workflow?: string | undefined;
8099
8472
  duration?: string | undefined;
8100
8473
  }[] | undefined;
8101
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8474
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8102
8475
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8103
8476
  repoOwner?: string | undefined;
8104
8477
  repoName?: string | undefined;
@@ -8309,8 +8682,8 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8309
8682
  running: "running";
8310
8683
  attention: "attention";
8311
8684
  needs_input: "needs_input";
8312
- failed: "failed";
8313
8685
  done: "done";
8686
+ failed: "failed";
8314
8687
  }>;
8315
8688
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
8316
8689
  activityAt: z.ZodNullable<z.ZodString>;
@@ -8372,9 +8745,9 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8372
8745
  name: z.ZodString;
8373
8746
  status: z.ZodEnum<{
8374
8747
  success: "success";
8375
- failure: "failure";
8376
8748
  pending: "pending";
8377
8749
  skipped: "skipped";
8750
+ failure: "failure";
8378
8751
  cancelled: "cancelled";
8379
8752
  }>;
8380
8753
  url: z.ZodNullable<z.ZodString>;
@@ -8383,9 +8756,9 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8383
8756
  }, z.core.$strip>>>;
8384
8757
  checksStatus: z.ZodOptional<z.ZodEnum<{
8385
8758
  success: "success";
8759
+ pending: "pending";
8386
8760
  none: "none";
8387
8761
  failure: "failure";
8388
- pending: "pending";
8389
8762
  }>>;
8390
8763
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8391
8764
  pending: "pending";
@@ -8489,7 +8862,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8489
8862
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
8490
8863
  name: string;
8491
8864
  archivingAt: string | null;
8492
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8865
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
8493
8866
  statusEnteredAt: string | null;
8494
8867
  activityAt: string | null;
8495
8868
  scripts: {
@@ -8537,12 +8910,12 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8537
8910
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8538
8911
  checks?: {
8539
8912
  name: string;
8540
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
8913
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
8541
8914
  url: string | null;
8542
8915
  workflow?: string | undefined;
8543
8916
  duration?: string | undefined;
8544
8917
  }[] | undefined;
8545
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
8918
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8546
8919
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8547
8920
  repoOwner?: string | undefined;
8548
8921
  repoName?: string | undefined;
@@ -8592,7 +8965,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8592
8965
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
8593
8966
  name: string;
8594
8967
  archivingAt: string | null;
8595
- status: "running" | "attention" | "needs_input" | "failed" | "done";
8968
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
8596
8969
  statusEnteredAt: string | null;
8597
8970
  activityAt: string | null;
8598
8971
  scripts: {
@@ -8641,12 +9014,12 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
8641
9014
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
8642
9015
  checks?: {
8643
9016
  name: string;
8644
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
9017
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
8645
9018
  url: string | null;
8646
9019
  workflow?: string | undefined;
8647
9020
  duration?: string | undefined;
8648
9021
  }[] | undefined;
8649
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
9022
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
8650
9023
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
8651
9024
  repoOwner?: string | undefined;
8652
9025
  repoName?: string | undefined;
@@ -9269,8 +9642,8 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9269
9642
  running: "running";
9270
9643
  attention: "attention";
9271
9644
  needs_input: "needs_input";
9272
- failed: "failed";
9273
9645
  done: "done";
9646
+ failed: "failed";
9274
9647
  }>;
9275
9648
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
9276
9649
  activityAt: z.ZodNullable<z.ZodString>;
@@ -9332,9 +9705,9 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9332
9705
  name: z.ZodString;
9333
9706
  status: z.ZodEnum<{
9334
9707
  success: "success";
9335
- failure: "failure";
9336
9708
  pending: "pending";
9337
9709
  skipped: "skipped";
9710
+ failure: "failure";
9338
9711
  cancelled: "cancelled";
9339
9712
  }>;
9340
9713
  url: z.ZodNullable<z.ZodString>;
@@ -9343,9 +9716,9 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9343
9716
  }, z.core.$strip>>>;
9344
9717
  checksStatus: z.ZodOptional<z.ZodEnum<{
9345
9718
  success: "success";
9719
+ pending: "pending";
9346
9720
  none: "none";
9347
9721
  failure: "failure";
9348
- pending: "pending";
9349
9722
  }>>;
9350
9723
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9351
9724
  pending: "pending";
@@ -9449,7 +9822,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9449
9822
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
9450
9823
  name: string;
9451
9824
  archivingAt: string | null;
9452
- status: "running" | "attention" | "needs_input" | "failed" | "done";
9825
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
9453
9826
  statusEnteredAt: string | null;
9454
9827
  activityAt: string | null;
9455
9828
  scripts: {
@@ -9497,12 +9870,12 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9497
9870
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
9498
9871
  checks?: {
9499
9872
  name: string;
9500
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
9873
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
9501
9874
  url: string | null;
9502
9875
  workflow?: string | undefined;
9503
9876
  duration?: string | undefined;
9504
9877
  }[] | undefined;
9505
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
9878
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
9506
9879
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
9507
9880
  repoOwner?: string | undefined;
9508
9881
  repoName?: string | undefined;
@@ -9552,7 +9925,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9552
9925
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
9553
9926
  name: string;
9554
9927
  archivingAt: string | null;
9555
- status: "running" | "attention" | "needs_input" | "failed" | "done";
9928
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
9556
9929
  statusEnteredAt: string | null;
9557
9930
  activityAt: string | null;
9558
9931
  scripts: {
@@ -9601,12 +9974,12 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
9601
9974
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
9602
9975
  checks?: {
9603
9976
  name: string;
9604
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
9977
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
9605
9978
  url: string | null;
9606
9979
  workflow?: string | undefined;
9607
9980
  duration?: string | undefined;
9608
9981
  }[] | undefined;
9609
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
9982
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
9610
9983
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
9611
9984
  repoOwner?: string | undefined;
9612
9985
  repoName?: string | undefined;
@@ -11561,8 +11934,8 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11561
11934
  running: "running";
11562
11935
  attention: "attention";
11563
11936
  needs_input: "needs_input";
11564
- failed: "failed";
11565
11937
  done: "done";
11938
+ failed: "failed";
11566
11939
  }>;
11567
11940
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
11568
11941
  activityAt: z.ZodNullable<z.ZodString>;
@@ -11624,9 +11997,9 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11624
11997
  name: z.ZodString;
11625
11998
  status: z.ZodEnum<{
11626
11999
  success: "success";
11627
- failure: "failure";
11628
12000
  pending: "pending";
11629
12001
  skipped: "skipped";
12002
+ failure: "failure";
11630
12003
  cancelled: "cancelled";
11631
12004
  }>;
11632
12005
  url: z.ZodNullable<z.ZodString>;
@@ -11635,9 +12008,9 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11635
12008
  }, z.core.$strip>>>;
11636
12009
  checksStatus: z.ZodOptional<z.ZodEnum<{
11637
12010
  success: "success";
12011
+ pending: "pending";
11638
12012
  none: "none";
11639
12013
  failure: "failure";
11640
- pending: "pending";
11641
12014
  }>>;
11642
12015
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
11643
12016
  pending: "pending";
@@ -11741,7 +12114,7 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11741
12114
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
11742
12115
  name: string;
11743
12116
  archivingAt: string | null;
11744
- status: "running" | "attention" | "needs_input" | "failed" | "done";
12117
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
11745
12118
  statusEnteredAt: string | null;
11746
12119
  activityAt: string | null;
11747
12120
  scripts: {
@@ -11789,12 +12162,12 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11789
12162
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
11790
12163
  checks?: {
11791
12164
  name: string;
11792
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
12165
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
11793
12166
  url: string | null;
11794
12167
  workflow?: string | undefined;
11795
12168
  duration?: string | undefined;
11796
12169
  }[] | undefined;
11797
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
12170
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
11798
12171
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
11799
12172
  repoOwner?: string | undefined;
11800
12173
  repoName?: string | undefined;
@@ -11844,7 +12217,7 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11844
12217
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
11845
12218
  name: string;
11846
12219
  archivingAt: string | null;
11847
- status: "running" | "attention" | "needs_input" | "failed" | "done";
12220
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
11848
12221
  statusEnteredAt: string | null;
11849
12222
  activityAt: string | null;
11850
12223
  scripts: {
@@ -11893,12 +12266,12 @@ export declare const CreateOttoWorktreeResponseSchema: z.ZodObject<{
11893
12266
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
11894
12267
  checks?: {
11895
12268
  name: string;
11896
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
12269
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
11897
12270
  url: string | null;
11898
12271
  workflow?: string | undefined;
11899
12272
  duration?: string | undefined;
11900
12273
  }[] | undefined;
11901
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
12274
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
11902
12275
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
11903
12276
  repoOwner?: string | undefined;
11904
12277
  repoName?: string | undefined;
@@ -13174,8 +13547,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13174
13547
  starred: z.ZodBoolean;
13175
13548
  status: z.ZodEnum<{
13176
13549
  error: "error";
13177
- generating: "generating";
13178
13550
  ready: "ready";
13551
+ generating: "generating";
13179
13552
  }>;
13180
13553
  createdAt: z.ZodString;
13181
13554
  updatedAt: z.ZodString;
@@ -13379,8 +13752,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13379
13752
  running: "running";
13380
13753
  attention: "attention";
13381
13754
  needs_input: "needs_input";
13382
- failed: "failed";
13383
13755
  done: "done";
13756
+ failed: "failed";
13384
13757
  }>;
13385
13758
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
13386
13759
  activityAt: z.ZodNullable<z.ZodString>;
@@ -13442,9 +13815,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13442
13815
  name: z.ZodString;
13443
13816
  status: z.ZodEnum<{
13444
13817
  success: "success";
13445
- failure: "failure";
13446
13818
  pending: "pending";
13447
13819
  skipped: "skipped";
13820
+ failure: "failure";
13448
13821
  cancelled: "cancelled";
13449
13822
  }>;
13450
13823
  url: z.ZodNullable<z.ZodString>;
@@ -13453,9 +13826,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13453
13826
  }, z.core.$strip>>>;
13454
13827
  checksStatus: z.ZodOptional<z.ZodEnum<{
13455
13828
  success: "success";
13829
+ pending: "pending";
13456
13830
  none: "none";
13457
13831
  failure: "failure";
13458
- pending: "pending";
13459
13832
  }>>;
13460
13833
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
13461
13834
  pending: "pending";
@@ -13559,7 +13932,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13559
13932
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
13560
13933
  name: string;
13561
13934
  archivingAt: string | null;
13562
- status: "running" | "attention" | "needs_input" | "failed" | "done";
13935
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
13563
13936
  statusEnteredAt: string | null;
13564
13937
  activityAt: string | null;
13565
13938
  scripts: {
@@ -13607,12 +13980,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13607
13980
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
13608
13981
  checks?: {
13609
13982
  name: string;
13610
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
13983
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
13611
13984
  url: string | null;
13612
13985
  workflow?: string | undefined;
13613
13986
  duration?: string | undefined;
13614
13987
  }[] | undefined;
13615
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
13988
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
13616
13989
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
13617
13990
  repoOwner?: string | undefined;
13618
13991
  repoName?: string | undefined;
@@ -13662,7 +14035,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13662
14035
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
13663
14036
  name: string;
13664
14037
  archivingAt: string | null;
13665
- status: "running" | "attention" | "needs_input" | "failed" | "done";
14038
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
13666
14039
  statusEnteredAt: string | null;
13667
14040
  activityAt: string | null;
13668
14041
  scripts: {
@@ -13711,12 +14084,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13711
14084
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
13712
14085
  checks?: {
13713
14086
  name: string;
13714
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
14087
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
13715
14088
  url: string | null;
13716
14089
  workflow?: string | undefined;
13717
14090
  duration?: string | undefined;
13718
14091
  }[] | undefined;
13719
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
14092
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
13720
14093
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
13721
14094
  repoOwner?: string | undefined;
13722
14095
  repoName?: string | undefined;
@@ -14384,8 +14757,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14384
14757
  running: "running";
14385
14758
  attention: "attention";
14386
14759
  needs_input: "needs_input";
14387
- failed: "failed";
14388
14760
  done: "done";
14761
+ failed: "failed";
14389
14762
  }>;
14390
14763
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
14391
14764
  activityAt: z.ZodNullable<z.ZodString>;
@@ -14447,9 +14820,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14447
14820
  name: z.ZodString;
14448
14821
  status: z.ZodEnum<{
14449
14822
  success: "success";
14450
- failure: "failure";
14451
14823
  pending: "pending";
14452
14824
  skipped: "skipped";
14825
+ failure: "failure";
14453
14826
  cancelled: "cancelled";
14454
14827
  }>;
14455
14828
  url: z.ZodNullable<z.ZodString>;
@@ -14458,9 +14831,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14458
14831
  }, z.core.$strip>>>;
14459
14832
  checksStatus: z.ZodOptional<z.ZodEnum<{
14460
14833
  success: "success";
14834
+ pending: "pending";
14461
14835
  none: "none";
14462
14836
  failure: "failure";
14463
- pending: "pending";
14464
14837
  }>>;
14465
14838
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14466
14839
  pending: "pending";
@@ -14564,7 +14937,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14564
14937
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
14565
14938
  name: string;
14566
14939
  archivingAt: string | null;
14567
- status: "running" | "attention" | "needs_input" | "failed" | "done";
14940
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
14568
14941
  statusEnteredAt: string | null;
14569
14942
  activityAt: string | null;
14570
14943
  scripts: {
@@ -14612,12 +14985,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14612
14985
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
14613
14986
  checks?: {
14614
14987
  name: string;
14615
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
14988
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
14616
14989
  url: string | null;
14617
14990
  workflow?: string | undefined;
14618
14991
  duration?: string | undefined;
14619
14992
  }[] | undefined;
14620
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
14993
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
14621
14994
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
14622
14995
  repoOwner?: string | undefined;
14623
14996
  repoName?: string | undefined;
@@ -14667,7 +15040,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14667
15040
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
14668
15041
  name: string;
14669
15042
  archivingAt: string | null;
14670
- status: "running" | "attention" | "needs_input" | "failed" | "done";
15043
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
14671
15044
  statusEnteredAt: string | null;
14672
15045
  activityAt: string | null;
14673
15046
  scripts: {
@@ -14716,12 +15089,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14716
15089
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
14717
15090
  checks?: {
14718
15091
  name: string;
14719
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
15092
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
14720
15093
  url: string | null;
14721
15094
  workflow?: string | undefined;
14722
15095
  duration?: string | undefined;
14723
15096
  }[] | undefined;
14724
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
15097
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
14725
15098
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
14726
15099
  repoOwner?: string | undefined;
14727
15100
  repoName?: string | undefined;
@@ -14829,8 +15202,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14829
15202
  running: "running";
14830
15203
  attention: "attention";
14831
15204
  needs_input: "needs_input";
14832
- failed: "failed";
14833
15205
  done: "done";
15206
+ failed: "failed";
14834
15207
  }>;
14835
15208
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
14836
15209
  activityAt: z.ZodNullable<z.ZodString>;
@@ -14892,9 +15265,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14892
15265
  name: z.ZodString;
14893
15266
  status: z.ZodEnum<{
14894
15267
  success: "success";
14895
- failure: "failure";
14896
15268
  pending: "pending";
14897
15269
  skipped: "skipped";
15270
+ failure: "failure";
14898
15271
  cancelled: "cancelled";
14899
15272
  }>;
14900
15273
  url: z.ZodNullable<z.ZodString>;
@@ -14903,9 +15276,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14903
15276
  }, z.core.$strip>>>;
14904
15277
  checksStatus: z.ZodOptional<z.ZodEnum<{
14905
15278
  success: "success";
15279
+ pending: "pending";
14906
15280
  none: "none";
14907
15281
  failure: "failure";
14908
- pending: "pending";
14909
15282
  }>>;
14910
15283
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14911
15284
  pending: "pending";
@@ -15009,7 +15382,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15009
15382
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
15010
15383
  name: string;
15011
15384
  archivingAt: string | null;
15012
- status: "running" | "attention" | "needs_input" | "failed" | "done";
15385
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
15013
15386
  statusEnteredAt: string | null;
15014
15387
  activityAt: string | null;
15015
15388
  scripts: {
@@ -15057,12 +15430,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15057
15430
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15058
15431
  checks?: {
15059
15432
  name: string;
15060
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
15433
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
15061
15434
  url: string | null;
15062
15435
  workflow?: string | undefined;
15063
15436
  duration?: string | undefined;
15064
15437
  }[] | undefined;
15065
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
15438
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15066
15439
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15067
15440
  repoOwner?: string | undefined;
15068
15441
  repoName?: string | undefined;
@@ -15112,7 +15485,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15112
15485
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
15113
15486
  name: string;
15114
15487
  archivingAt: string | null;
15115
- status: "running" | "attention" | "needs_input" | "failed" | "done";
15488
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
15116
15489
  statusEnteredAt: string | null;
15117
15490
  activityAt: string | null;
15118
15491
  scripts: {
@@ -15161,12 +15534,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15161
15534
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15162
15535
  checks?: {
15163
15536
  name: string;
15164
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
15537
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
15165
15538
  url: string | null;
15166
15539
  workflow?: string | undefined;
15167
15540
  duration?: string | undefined;
15168
15541
  }[] | undefined;
15169
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
15542
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15170
15543
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15171
15544
  repoOwner?: string | undefined;
15172
15545
  repoName?: string | undefined;
@@ -15742,8 +16115,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15742
16115
  running: "running";
15743
16116
  attention: "attention";
15744
16117
  needs_input: "needs_input";
15745
- failed: "failed";
15746
16118
  done: "done";
16119
+ failed: "failed";
15747
16120
  }>;
15748
16121
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
15749
16122
  activityAt: z.ZodNullable<z.ZodString>;
@@ -15805,9 +16178,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15805
16178
  name: z.ZodString;
15806
16179
  status: z.ZodEnum<{
15807
16180
  success: "success";
15808
- failure: "failure";
15809
16181
  pending: "pending";
15810
16182
  skipped: "skipped";
16183
+ failure: "failure";
15811
16184
  cancelled: "cancelled";
15812
16185
  }>;
15813
16186
  url: z.ZodNullable<z.ZodString>;
@@ -15816,9 +16189,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15816
16189
  }, z.core.$strip>>>;
15817
16190
  checksStatus: z.ZodOptional<z.ZodEnum<{
15818
16191
  success: "success";
16192
+ pending: "pending";
15819
16193
  none: "none";
15820
16194
  failure: "failure";
15821
- pending: "pending";
15822
16195
  }>>;
15823
16196
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15824
16197
  pending: "pending";
@@ -15922,7 +16295,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15922
16295
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
15923
16296
  name: string;
15924
16297
  archivingAt: string | null;
15925
- status: "running" | "attention" | "needs_input" | "failed" | "done";
16298
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
15926
16299
  statusEnteredAt: string | null;
15927
16300
  activityAt: string | null;
15928
16301
  scripts: {
@@ -15970,12 +16343,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15970
16343
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
15971
16344
  checks?: {
15972
16345
  name: string;
15973
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16346
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
15974
16347
  url: string | null;
15975
16348
  workflow?: string | undefined;
15976
16349
  duration?: string | undefined;
15977
16350
  }[] | undefined;
15978
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16351
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
15979
16352
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
15980
16353
  repoOwner?: string | undefined;
15981
16354
  repoName?: string | undefined;
@@ -16025,7 +16398,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16025
16398
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
16026
16399
  name: string;
16027
16400
  archivingAt: string | null;
16028
- status: "running" | "attention" | "needs_input" | "failed" | "done";
16401
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
16029
16402
  statusEnteredAt: string | null;
16030
16403
  activityAt: string | null;
16031
16404
  scripts: {
@@ -16074,12 +16447,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16074
16447
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
16075
16448
  checks?: {
16076
16449
  name: string;
16077
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
16450
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
16078
16451
  url: string | null;
16079
16452
  workflow?: string | undefined;
16080
16453
  duration?: string | undefined;
16081
16454
  }[] | undefined;
16082
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
16455
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
16083
16456
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
16084
16457
  repoOwner?: string | undefined;
16085
16458
  repoName?: string | undefined;
@@ -16665,6 +17038,46 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
16665
17038
  error: z.ZodNullable<z.ZodString>;
16666
17039
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
16667
17040
  }, z.core.$strip>;
17041
+ }, z.core.$strip>, z.ZodObject<{
17042
+ type: z.ZodLiteral<"agent.background_task.stop.response">;
17043
+ payload: z.ZodObject<{
17044
+ requestId: z.ZodString;
17045
+ agentId: z.ZodString;
17046
+ accepted: z.ZodBoolean;
17047
+ error: z.ZodNullable<z.ZodString>;
17048
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
17049
+ }, z.core.$strip>;
17050
+ }, z.core.$strip>, z.ZodObject<{
17051
+ type: z.ZodLiteral<"agent.background_task.clear.response">;
17052
+ payload: z.ZodObject<{
17053
+ requestId: z.ZodString;
17054
+ agentId: z.ZodString;
17055
+ accepted: z.ZodBoolean;
17056
+ error: z.ZodNullable<z.ZodString>;
17057
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
17058
+ }, z.core.$strip>;
17059
+ }, z.core.$strip>, z.ZodObject<{
17060
+ type: z.ZodLiteral<"background_shell_tasks_changed">;
17061
+ payload: z.ZodObject<{
17062
+ parentAgentId: z.ZodString;
17063
+ tasks: z.ZodArray<z.ZodObject<{
17064
+ id: z.ZodString;
17065
+ parentAgentId: z.ZodString;
17066
+ provider: z.ZodString;
17067
+ command: z.ZodOptional<z.ZodString>;
17068
+ description: z.ZodOptional<z.ZodString>;
17069
+ status: z.ZodEnum<{
17070
+ error: "error";
17071
+ idle: "idle";
17072
+ running: "running";
17073
+ closed: "closed";
17074
+ }>;
17075
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
17076
+ createdAt: z.ZodString;
17077
+ updatedAt: z.ZodString;
17078
+ archivedAt: z.ZodOptional<z.ZodString>;
17079
+ }, z.core.$strip>>;
17080
+ }, z.core.$strip>;
16668
17081
  }, z.core.$strip>, z.ZodObject<{
16669
17082
  type: z.ZodLiteral<"agent.personality.set.response">;
16670
17083
  payload: z.ZodObject<{
@@ -17299,6 +17712,134 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17299
17712
  text: z.ZodString;
17300
17713
  }, z.core.$strip>>;
17301
17714
  }, z.core.$strip>;
17715
+ }, z.core.$strip>, z.ZodObject<{
17716
+ type: z.ZodLiteral<"runs.get_snapshot.response">;
17717
+ payload: z.ZodObject<{
17718
+ runs: z.ZodArray<z.ZodObject<{
17719
+ id: z.ZodString;
17720
+ title: z.ZodString;
17721
+ status: z.ZodString;
17722
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
17723
+ autopilot: z.ZodOptional<z.ZodBoolean>;
17724
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
17725
+ id: z.ZodString;
17726
+ type: z.ZodString;
17727
+ title: z.ZodString;
17728
+ task: z.ZodString;
17729
+ status: z.ZodString;
17730
+ assigneeRole: z.ZodOptional<z.ZodString>;
17731
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
17732
+ fanOut: z.ZodOptional<z.ZodNumber>;
17733
+ keepBest: z.ZodOptional<z.ZodNumber>;
17734
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
17735
+ agentId: z.ZodString;
17736
+ personalityId: z.ZodOptional<z.ZodString>;
17737
+ verdict: z.ZodOptional<z.ZodObject<{
17738
+ verdict: z.ZodString;
17739
+ score: z.ZodOptional<z.ZodNumber>;
17740
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
17741
+ name: z.ZodString;
17742
+ met: z.ZodBoolean;
17743
+ evidence: z.ZodOptional<z.ZodString>;
17744
+ }, z.core.$loose>>>;
17745
+ summary: z.ZodOptional<z.ZodString>;
17746
+ }, z.core.$loose>>;
17747
+ summary: z.ZodOptional<z.ZodString>;
17748
+ }, z.core.$loose>>>;
17749
+ notes: z.ZodOptional<z.ZodString>;
17750
+ startedAt: z.ZodOptional<z.ZodString>;
17751
+ completedAt: z.ZodOptional<z.ZodString>;
17752
+ }, z.core.$loose>>>;
17753
+ conductorAgentId: z.ZodOptional<z.ZodString>;
17754
+ cwd: z.ZodOptional<z.ZodString>;
17755
+ workspaceId: z.ZodOptional<z.ZodString>;
17756
+ teamId: z.ZodOptional<z.ZodString>;
17757
+ teamName: z.ZodOptional<z.ZodString>;
17758
+ error: z.ZodOptional<z.ZodString>;
17759
+ summary: z.ZodOptional<z.ZodString>;
17760
+ summaryStatus: z.ZodOptional<z.ZodString>;
17761
+ agentCount: z.ZodOptional<z.ZodNumber>;
17762
+ createdAt: z.ZodOptional<z.ZodString>;
17763
+ updatedAt: z.ZodOptional<z.ZodString>;
17764
+ }, z.core.$loose>>;
17765
+ requestId: z.ZodString;
17766
+ }, z.core.$strip>;
17767
+ }, z.core.$strip>, z.ZodObject<{
17768
+ type: z.ZodLiteral<"runs.updated.notification">;
17769
+ payload: z.ZodObject<{
17770
+ run: z.ZodObject<{
17771
+ id: z.ZodString;
17772
+ title: z.ZodString;
17773
+ status: z.ZodString;
17774
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
17775
+ autopilot: z.ZodOptional<z.ZodBoolean>;
17776
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
17777
+ id: z.ZodString;
17778
+ type: z.ZodString;
17779
+ title: z.ZodString;
17780
+ task: z.ZodString;
17781
+ status: z.ZodString;
17782
+ assigneeRole: z.ZodOptional<z.ZodString>;
17783
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
17784
+ fanOut: z.ZodOptional<z.ZodNumber>;
17785
+ keepBest: z.ZodOptional<z.ZodNumber>;
17786
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
17787
+ agentId: z.ZodString;
17788
+ personalityId: z.ZodOptional<z.ZodString>;
17789
+ verdict: z.ZodOptional<z.ZodObject<{
17790
+ verdict: z.ZodString;
17791
+ score: z.ZodOptional<z.ZodNumber>;
17792
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
17793
+ name: z.ZodString;
17794
+ met: z.ZodBoolean;
17795
+ evidence: z.ZodOptional<z.ZodString>;
17796
+ }, z.core.$loose>>>;
17797
+ summary: z.ZodOptional<z.ZodString>;
17798
+ }, z.core.$loose>>;
17799
+ summary: z.ZodOptional<z.ZodString>;
17800
+ }, z.core.$loose>>>;
17801
+ notes: z.ZodOptional<z.ZodString>;
17802
+ startedAt: z.ZodOptional<z.ZodString>;
17803
+ completedAt: z.ZodOptional<z.ZodString>;
17804
+ }, z.core.$loose>>>;
17805
+ conductorAgentId: z.ZodOptional<z.ZodString>;
17806
+ cwd: z.ZodOptional<z.ZodString>;
17807
+ workspaceId: z.ZodOptional<z.ZodString>;
17808
+ teamId: z.ZodOptional<z.ZodString>;
17809
+ teamName: z.ZodOptional<z.ZodString>;
17810
+ error: z.ZodOptional<z.ZodString>;
17811
+ summary: z.ZodOptional<z.ZodString>;
17812
+ summaryStatus: z.ZodOptional<z.ZodString>;
17813
+ agentCount: z.ZodOptional<z.ZodNumber>;
17814
+ createdAt: z.ZodOptional<z.ZodString>;
17815
+ updatedAt: z.ZodOptional<z.ZodString>;
17816
+ }, z.core.$loose>;
17817
+ }, z.core.$strip>;
17818
+ }, z.core.$strip>, z.ZodObject<{
17819
+ type: z.ZodLiteral<"runs.gate_respond.response">;
17820
+ payload: z.ZodObject<{
17821
+ runId: z.ZodString;
17822
+ accepted: z.ZodBoolean;
17823
+ requestId: z.ZodString;
17824
+ }, z.core.$strip>;
17825
+ }, z.core.$strip>, z.ZodObject<{
17826
+ type: z.ZodLiteral<"runs.cancel.response">;
17827
+ payload: z.ZodObject<{
17828
+ runId: z.ZodString;
17829
+ canceled: z.ZodBoolean;
17830
+ requestId: z.ZodString;
17831
+ }, z.core.$strip>;
17832
+ }, z.core.$strip>, z.ZodObject<{
17833
+ type: z.ZodLiteral<"runs.clear.response">;
17834
+ payload: z.ZodObject<{
17835
+ runIds: z.ZodArray<z.ZodString>;
17836
+ requestId: z.ZodString;
17837
+ }, z.core.$strip>;
17838
+ }, z.core.$strip>, z.ZodObject<{
17839
+ type: z.ZodLiteral<"runs.cleared.notification">;
17840
+ payload: z.ZodObject<{
17841
+ runIds: z.ZodArray<z.ZodString>;
17842
+ }, z.core.$strip>;
17302
17843
  }, z.core.$strip>, z.ZodObject<{
17303
17844
  type: z.ZodLiteral<"checkout_merge_response">;
17304
17845
  payload: z.ZodObject<{
@@ -17919,8 +18460,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17919
18460
  running: "running";
17920
18461
  attention: "attention";
17921
18462
  needs_input: "needs_input";
17922
- failed: "failed";
17923
18463
  done: "done";
18464
+ failed: "failed";
17924
18465
  }>;
17925
18466
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
17926
18467
  activityAt: z.ZodNullable<z.ZodString>;
@@ -17982,9 +18523,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17982
18523
  name: z.ZodString;
17983
18524
  status: z.ZodEnum<{
17984
18525
  success: "success";
17985
- failure: "failure";
17986
18526
  pending: "pending";
17987
18527
  skipped: "skipped";
18528
+ failure: "failure";
17988
18529
  cancelled: "cancelled";
17989
18530
  }>;
17990
18531
  url: z.ZodNullable<z.ZodString>;
@@ -17993,9 +18534,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17993
18534
  }, z.core.$strip>>>;
17994
18535
  checksStatus: z.ZodOptional<z.ZodEnum<{
17995
18536
  success: "success";
18537
+ pending: "pending";
17996
18538
  none: "none";
17997
18539
  failure: "failure";
17998
- pending: "pending";
17999
18540
  }>>;
18000
18541
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
18001
18542
  pending: "pending";
@@ -18099,7 +18640,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18099
18640
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
18100
18641
  name: string;
18101
18642
  archivingAt: string | null;
18102
- status: "running" | "attention" | "needs_input" | "failed" | "done";
18643
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
18103
18644
  statusEnteredAt: string | null;
18104
18645
  activityAt: string | null;
18105
18646
  scripts: {
@@ -18147,12 +18688,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18147
18688
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
18148
18689
  checks?: {
18149
18690
  name: string;
18150
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
18691
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
18151
18692
  url: string | null;
18152
18693
  workflow?: string | undefined;
18153
18694
  duration?: string | undefined;
18154
18695
  }[] | undefined;
18155
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
18696
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
18156
18697
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
18157
18698
  repoOwner?: string | undefined;
18158
18699
  repoName?: string | undefined;
@@ -18202,7 +18743,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18202
18743
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
18203
18744
  name: string;
18204
18745
  archivingAt: string | null;
18205
- status: "running" | "attention" | "needs_input" | "failed" | "done";
18746
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
18206
18747
  statusEnteredAt: string | null;
18207
18748
  activityAt: string | null;
18208
18749
  scripts: {
@@ -18251,12 +18792,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18251
18792
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
18252
18793
  checks?: {
18253
18794
  name: string;
18254
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
18795
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
18255
18796
  url: string | null;
18256
18797
  workflow?: string | undefined;
18257
18798
  duration?: string | undefined;
18258
18799
  }[] | undefined;
18259
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
18800
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
18260
18801
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
18261
18802
  repoOwner?: string | undefined;
18262
18803
  repoName?: string | undefined;
@@ -18728,6 +19269,81 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18728
19269
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18729
19270
  }, z.core.$strip>>;
18730
19271
  }, z.core.$strip>;
19272
+ }, z.core.$strip>, z.ZodObject<{
19273
+ type: z.ZodLiteral<"stats.activity.get.response">;
19274
+ payload: z.ZodObject<{
19275
+ requestId: z.ZodString;
19276
+ today: z.ZodObject<{
19277
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19278
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19279
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19280
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19281
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19282
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19283
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19284
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19285
+ thoughts: z.ZodDefault<z.ZodNumber>;
19286
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19287
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19288
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19289
+ }, z.core.$strip>;
19290
+ yesterday: z.ZodObject<{
19291
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19292
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19293
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19294
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19295
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19296
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19297
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19298
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19299
+ thoughts: z.ZodDefault<z.ZodNumber>;
19300
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19301
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19302
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19303
+ }, z.core.$strip>;
19304
+ last7Days: z.ZodObject<{
19305
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19306
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19307
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19308
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19309
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19310
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19311
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19312
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19313
+ thoughts: z.ZodDefault<z.ZodNumber>;
19314
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19315
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19316
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19317
+ }, z.core.$strip>;
19318
+ last30Days: z.ZodObject<{
19319
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19320
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19321
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19322
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19323
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19324
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19325
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19326
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19327
+ thoughts: z.ZodDefault<z.ZodNumber>;
19328
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19329
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19330
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19331
+ }, z.core.$strip>;
19332
+ allTime: z.ZodObject<{
19333
+ messagesSent: z.ZodDefault<z.ZodNumber>;
19334
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
19335
+ tokensSent: z.ZodDefault<z.ZodNumber>;
19336
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
19337
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
19338
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
19339
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
19340
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
19341
+ thoughts: z.ZodDefault<z.ZodNumber>;
19342
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
19343
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
19344
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
19345
+ }, z.core.$strip>;
19346
+ }, z.core.$strip>;
18731
19347
  }, z.core.$strip>, z.ZodObject<{
18732
19348
  type: z.ZodLiteral<"agent.context.get_usage.response">;
18733
19349
  payload: z.ZodObject<{
@@ -18998,12 +19614,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18998
19614
  schedule: z.ZodNullable<z.ZodObject<{
18999
19615
  prompt: z.ZodString;
19000
19616
  name: z.ZodNullable<z.ZodString>;
19617
+ id: z.ZodString;
19001
19618
  status: z.ZodEnum<{
19619
+ paused: "paused";
19002
19620
  completed: "completed";
19003
19621
  active: "active";
19004
- paused: "paused";
19005
19622
  }>;
19006
- id: z.ZodString;
19007
19623
  createdAt: z.ZodString;
19008
19624
  updatedAt: z.ZodString;
19009
19625
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19048,8 +19664,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19048
19664
  nextRunAt: z.ZodNullable<z.ZodString>;
19049
19665
  lastRunAt: z.ZodNullable<z.ZodString>;
19050
19666
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19051
- succeeded: "succeeded";
19052
19667
  failed: "failed";
19668
+ succeeded: "succeeded";
19053
19669
  }>>>;
19054
19670
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19055
19671
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -19065,12 +19681,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19065
19681
  schedules: z.ZodArray<z.ZodObject<{
19066
19682
  prompt: z.ZodString;
19067
19683
  name: z.ZodNullable<z.ZodString>;
19684
+ id: z.ZodString;
19068
19685
  status: z.ZodEnum<{
19686
+ paused: "paused";
19069
19687
  completed: "completed";
19070
19688
  active: "active";
19071
- paused: "paused";
19072
19689
  }>;
19073
- id: z.ZodString;
19074
19690
  createdAt: z.ZodString;
19075
19691
  updatedAt: z.ZodString;
19076
19692
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19115,8 +19731,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19115
19731
  nextRunAt: z.ZodNullable<z.ZodString>;
19116
19732
  lastRunAt: z.ZodNullable<z.ZodString>;
19117
19733
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19118
- succeeded: "succeeded";
19119
19734
  failed: "failed";
19735
+ succeeded: "succeeded";
19120
19736
  }>>>;
19121
19737
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19122
19738
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -19173,17 +19789,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19173
19789
  }, z.core.$strip>;
19174
19790
  }, z.core.$strip>], "type">;
19175
19791
  status: z.ZodEnum<{
19792
+ paused: "paused";
19176
19793
  completed: "completed";
19177
19794
  active: "active";
19178
- paused: "paused";
19179
19795
  }>;
19180
19796
  createdAt: z.ZodString;
19181
19797
  updatedAt: z.ZodString;
19182
19798
  nextRunAt: z.ZodNullable<z.ZodString>;
19183
19799
  lastRunAt: z.ZodNullable<z.ZodString>;
19184
19800
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19185
- succeeded: "succeeded";
19186
19801
  failed: "failed";
19802
+ succeeded: "succeeded";
19187
19803
  }>>>;
19188
19804
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19189
19805
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -19196,8 +19812,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19196
19812
  endedAt: z.ZodNullable<z.ZodString>;
19197
19813
  status: z.ZodEnum<{
19198
19814
  running: "running";
19199
- succeeded: "succeeded";
19200
19815
  failed: "failed";
19816
+ succeeded: "succeeded";
19201
19817
  }>;
19202
19818
  agentId: z.ZodNullable<z.ZodGUID>;
19203
19819
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19218,8 +19834,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19218
19834
  endedAt: z.ZodNullable<z.ZodString>;
19219
19835
  status: z.ZodEnum<{
19220
19836
  running: "running";
19221
- succeeded: "succeeded";
19222
19837
  failed: "failed";
19838
+ succeeded: "succeeded";
19223
19839
  }>;
19224
19840
  agentId: z.ZodNullable<z.ZodGUID>;
19225
19841
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19235,12 +19851,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19235
19851
  schedule: z.ZodNullable<z.ZodObject<{
19236
19852
  prompt: z.ZodString;
19237
19853
  name: z.ZodNullable<z.ZodString>;
19854
+ id: z.ZodString;
19238
19855
  status: z.ZodEnum<{
19856
+ paused: "paused";
19239
19857
  completed: "completed";
19240
19858
  active: "active";
19241
- paused: "paused";
19242
19859
  }>;
19243
- id: z.ZodString;
19244
19860
  createdAt: z.ZodString;
19245
19861
  updatedAt: z.ZodString;
19246
19862
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19285,8 +19901,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19285
19901
  nextRunAt: z.ZodNullable<z.ZodString>;
19286
19902
  lastRunAt: z.ZodNullable<z.ZodString>;
19287
19903
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19288
- succeeded: "succeeded";
19289
19904
  failed: "failed";
19905
+ succeeded: "succeeded";
19290
19906
  }>>>;
19291
19907
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19292
19908
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -19302,12 +19918,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19302
19918
  schedule: z.ZodNullable<z.ZodObject<{
19303
19919
  prompt: z.ZodString;
19304
19920
  name: z.ZodNullable<z.ZodString>;
19921
+ id: z.ZodString;
19305
19922
  status: z.ZodEnum<{
19923
+ paused: "paused";
19306
19924
  completed: "completed";
19307
19925
  active: "active";
19308
- paused: "paused";
19309
19926
  }>;
19310
- id: z.ZodString;
19311
19927
  createdAt: z.ZodString;
19312
19928
  updatedAt: z.ZodString;
19313
19929
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -19352,8 +19968,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19352
19968
  nextRunAt: z.ZodNullable<z.ZodString>;
19353
19969
  lastRunAt: z.ZodNullable<z.ZodString>;
19354
19970
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19355
- succeeded: "succeeded";
19356
19971
  failed: "failed";
19972
+ succeeded: "succeeded";
19357
19973
  }>>>;
19358
19974
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19359
19975
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -19417,17 +20033,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19417
20033
  }, z.core.$strip>;
19418
20034
  }, z.core.$strip>], "type">;
19419
20035
  status: z.ZodEnum<{
20036
+ paused: "paused";
19420
20037
  completed: "completed";
19421
20038
  active: "active";
19422
- paused: "paused";
19423
20039
  }>;
19424
20040
  createdAt: z.ZodString;
19425
20041
  updatedAt: z.ZodString;
19426
20042
  nextRunAt: z.ZodNullable<z.ZodString>;
19427
20043
  lastRunAt: z.ZodNullable<z.ZodString>;
19428
20044
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19429
- succeeded: "succeeded";
19430
20045
  failed: "failed";
20046
+ succeeded: "succeeded";
19431
20047
  }>>>;
19432
20048
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19433
20049
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -19440,8 +20056,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19440
20056
  endedAt: z.ZodNullable<z.ZodString>;
19441
20057
  status: z.ZodEnum<{
19442
20058
  running: "running";
19443
- succeeded: "succeeded";
19444
20059
  failed: "failed";
20060
+ succeeded: "succeeded";
19445
20061
  }>;
19446
20062
  agentId: z.ZodNullable<z.ZodGUID>;
19447
20063
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19499,17 +20115,17 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19499
20115
  }, z.core.$strip>;
19500
20116
  }, z.core.$strip>], "type">;
19501
20117
  status: z.ZodEnum<{
20118
+ paused: "paused";
19502
20119
  completed: "completed";
19503
20120
  active: "active";
19504
- paused: "paused";
19505
20121
  }>;
19506
20122
  createdAt: z.ZodString;
19507
20123
  updatedAt: z.ZodString;
19508
20124
  nextRunAt: z.ZodNullable<z.ZodString>;
19509
20125
  lastRunAt: z.ZodNullable<z.ZodString>;
19510
20126
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19511
- succeeded: "succeeded";
19512
20127
  failed: "failed";
20128
+ succeeded: "succeeded";
19513
20129
  }>>>;
19514
20130
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19515
20131
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -19522,8 +20138,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19522
20138
  endedAt: z.ZodNullable<z.ZodString>;
19523
20139
  status: z.ZodEnum<{
19524
20140
  running: "running";
19525
- succeeded: "succeeded";
19526
20141
  failed: "failed";
20142
+ succeeded: "succeeded";
19527
20143
  }>;
19528
20144
  agentId: z.ZodNullable<z.ZodGUID>;
19529
20145
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19558,8 +20174,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19558
20174
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19559
20175
  status: z.ZodEnum<{
19560
20176
  running: "running";
19561
- succeeded: "succeeded";
19562
20177
  failed: "failed";
20178
+ succeeded: "succeeded";
19563
20179
  stopped: "stopped";
19564
20180
  }>;
19565
20181
  createdAt: z.ZodString;
@@ -19575,14 +20191,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19575
20191
  verifierAgentId: z.ZodNullable<z.ZodString>;
19576
20192
  status: z.ZodEnum<{
19577
20193
  running: "running";
19578
- succeeded: "succeeded";
19579
20194
  failed: "failed";
20195
+ succeeded: "succeeded";
19580
20196
  stopped: "stopped";
19581
20197
  }>;
19582
20198
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19583
20199
  failed: "failed";
19584
- completed: "completed";
19585
20200
  canceled: "canceled";
20201
+ completed: "completed";
19586
20202
  }>>;
19587
20203
  failureReason: z.ZodNullable<z.ZodString>;
19588
20204
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19634,8 +20250,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19634
20250
  name: z.ZodNullable<z.ZodString>;
19635
20251
  status: z.ZodEnum<{
19636
20252
  running: "running";
19637
- succeeded: "succeeded";
19638
20253
  failed: "failed";
20254
+ succeeded: "succeeded";
19639
20255
  stopped: "stopped";
19640
20256
  }>;
19641
20257
  cwd: z.ZodString;
@@ -19670,8 +20286,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19670
20286
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19671
20287
  status: z.ZodEnum<{
19672
20288
  running: "running";
19673
- succeeded: "succeeded";
19674
20289
  failed: "failed";
20290
+ succeeded: "succeeded";
19675
20291
  stopped: "stopped";
19676
20292
  }>;
19677
20293
  createdAt: z.ZodString;
@@ -19687,14 +20303,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19687
20303
  verifierAgentId: z.ZodNullable<z.ZodString>;
19688
20304
  status: z.ZodEnum<{
19689
20305
  running: "running";
19690
- succeeded: "succeeded";
19691
20306
  failed: "failed";
20307
+ succeeded: "succeeded";
19692
20308
  stopped: "stopped";
19693
20309
  }>;
19694
20310
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19695
20311
  failed: "failed";
19696
- completed: "completed";
19697
20312
  canceled: "canceled";
20313
+ completed: "completed";
19698
20314
  }>>;
19699
20315
  failureReason: z.ZodNullable<z.ZodString>;
19700
20316
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19762,8 +20378,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19762
20378
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19763
20379
  status: z.ZodEnum<{
19764
20380
  running: "running";
19765
- succeeded: "succeeded";
19766
20381
  failed: "failed";
20382
+ succeeded: "succeeded";
19767
20383
  stopped: "stopped";
19768
20384
  }>;
19769
20385
  createdAt: z.ZodString;
@@ -19779,14 +20395,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19779
20395
  verifierAgentId: z.ZodNullable<z.ZodString>;
19780
20396
  status: z.ZodEnum<{
19781
20397
  running: "running";
19782
- succeeded: "succeeded";
19783
20398
  failed: "failed";
20399
+ succeeded: "succeeded";
19784
20400
  stopped: "stopped";
19785
20401
  }>;
19786
20402
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19787
20403
  failed: "failed";
19788
- completed: "completed";
19789
20404
  canceled: "canceled";
20405
+ completed: "completed";
19790
20406
  }>>;
19791
20407
  failureReason: z.ZodNullable<z.ZodString>;
19792
20408
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19871,8 +20487,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19871
20487
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
19872
20488
  status: z.ZodEnum<{
19873
20489
  running: "running";
19874
- succeeded: "succeeded";
19875
20490
  failed: "failed";
20491
+ succeeded: "succeeded";
19876
20492
  stopped: "stopped";
19877
20493
  }>;
19878
20494
  createdAt: z.ZodString;
@@ -19888,14 +20504,14 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19888
20504
  verifierAgentId: z.ZodNullable<z.ZodString>;
19889
20505
  status: z.ZodEnum<{
19890
20506
  running: "running";
19891
- succeeded: "succeeded";
19892
20507
  failed: "failed";
20508
+ succeeded: "succeeded";
19893
20509
  stopped: "stopped";
19894
20510
  }>;
19895
20511
  workerOutcome: z.ZodNullable<z.ZodEnum<{
19896
20512
  failed: "failed";
19897
- completed: "completed";
19898
20513
  canceled: "canceled";
20514
+ completed: "completed";
19899
20515
  }>>;
19900
20516
  failureReason: z.ZodNullable<z.ZodString>;
19901
20517
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -19973,8 +20589,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19973
20589
  starred: z.ZodBoolean;
19974
20590
  status: z.ZodEnum<{
19975
20591
  error: "error";
19976
- generating: "generating";
19977
20592
  ready: "ready";
20593
+ generating: "generating";
19978
20594
  }>;
19979
20595
  createdAt: z.ZodString;
19980
20596
  updatedAt: z.ZodString;
@@ -20008,8 +20624,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20008
20624
  starred: z.ZodBoolean;
20009
20625
  status: z.ZodEnum<{
20010
20626
  error: "error";
20011
- generating: "generating";
20012
20627
  ready: "ready";
20628
+ generating: "generating";
20013
20629
  }>;
20014
20630
  createdAt: z.ZodString;
20015
20631
  updatedAt: z.ZodString;
@@ -20043,8 +20659,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20043
20659
  starred: z.ZodBoolean;
20044
20660
  status: z.ZodEnum<{
20045
20661
  error: "error";
20046
- generating: "generating";
20047
20662
  ready: "ready";
20663
+ generating: "generating";
20048
20664
  }>;
20049
20665
  createdAt: z.ZodString;
20050
20666
  updatedAt: z.ZodString;
@@ -20078,8 +20694,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20078
20694
  starred: z.ZodBoolean;
20079
20695
  status: z.ZodEnum<{
20080
20696
  error: "error";
20081
- generating: "generating";
20082
20697
  ready: "ready";
20698
+ generating: "generating";
20083
20699
  }>;
20084
20700
  createdAt: z.ZodString;
20085
20701
  updatedAt: z.ZodString;
@@ -20113,8 +20729,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20113
20729
  starred: z.ZodBoolean;
20114
20730
  status: z.ZodEnum<{
20115
20731
  error: "error";
20116
- generating: "generating";
20117
20732
  ready: "ready";
20733
+ generating: "generating";
20118
20734
  }>;
20119
20735
  createdAt: z.ZodString;
20120
20736
  updatedAt: z.ZodString;
@@ -20155,8 +20771,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20155
20771
  starred: z.ZodBoolean;
20156
20772
  status: z.ZodEnum<{
20157
20773
  error: "error";
20158
- generating: "generating";
20159
20774
  ready: "ready";
20775
+ generating: "generating";
20160
20776
  }>;
20161
20777
  createdAt: z.ZodString;
20162
20778
  updatedAt: z.ZodString;
@@ -20198,8 +20814,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20198
20814
  starred: z.ZodBoolean;
20199
20815
  status: z.ZodEnum<{
20200
20816
  error: "error";
20201
- generating: "generating";
20202
20817
  ready: "ready";
20818
+ generating: "generating";
20203
20819
  }>;
20204
20820
  createdAt: z.ZodString;
20205
20821
  updatedAt: z.ZodString;
@@ -20230,8 +20846,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20230
20846
  starred: z.ZodBoolean;
20231
20847
  status: z.ZodEnum<{
20232
20848
  error: "error";
20233
- generating: "generating";
20234
20849
  ready: "ready";
20850
+ generating: "generating";
20235
20851
  }>;
20236
20852
  createdAt: z.ZodString;
20237
20853
  updatedAt: z.ZodString;
@@ -20303,6 +20919,10 @@ export type SetAgentFeatureResponseMessage = z.infer<typeof SetAgentFeatureRespo
20303
20919
  export type AgentDetachResponseMessage = z.infer<typeof AgentDetachResponseMessageSchema>;
20304
20920
  export type AgentPersonalitySetResponseMessage = z.infer<typeof AgentPersonalitySetResponseMessageSchema>;
20305
20921
  export type AgentSubagentStopResponseMessage = z.infer<typeof AgentSubagentStopResponseMessageSchema>;
20922
+ export type BackgroundShellTaskInfo = z.infer<typeof BackgroundShellTaskInfoSchema>;
20923
+ export type BackgroundShellTasksChanged = z.infer<typeof BackgroundShellTasksChangedSchema>;
20924
+ export type AgentBackgroundTaskStopResponseMessage = z.infer<typeof AgentBackgroundTaskStopResponseMessageSchema>;
20925
+ export type AgentBackgroundTaskClearResponseMessage = z.infer<typeof AgentBackgroundTaskClearResponseMessageSchema>;
20306
20926
  export type AgentRewindResponseMessage = z.infer<typeof AgentRewindResponseMessageSchema>;
20307
20927
  export type UpdateAgentResponseMessage = z.infer<typeof UpdateAgentResponseMessageSchema>;
20308
20928
  export type ProjectRenameResponse = z.infer<typeof ProjectRenameResponseSchema>;
@@ -20338,6 +20958,8 @@ export type AgentContextUsageCategory = z.infer<typeof AgentContextUsageCategory
20338
20958
  export type AgentContextUsage = z.infer<typeof AgentContextUsageSchema>;
20339
20959
  export type AgentContextGetUsageResponseMessage = z.infer<typeof AgentContextGetUsageResponseMessageSchema>;
20340
20960
  export type ProviderUsageListResponseMessage = z.infer<typeof ProviderUsageListResponseMessageSchema>;
20961
+ export type ActivityCounters = z.infer<typeof ActivityCountersSchema>;
20962
+ export type StatsActivityGetResponseMessage = z.infer<typeof StatsActivityGetResponseMessageSchema>;
20341
20963
  export type ChatCreateResponse = z.infer<typeof ChatCreateResponseSchema>;
20342
20964
  export type ChatListResponse = z.infer<typeof ChatListResponseSchema>;
20343
20965
  export type ChatInspectResponse = z.infer<typeof ChatInspectResponseSchema>;
@@ -20418,6 +21040,8 @@ export type SetAgentThinkingRequestMessage = z.infer<typeof SetAgentThinkingRequ
20418
21040
  export type SetAgentFeatureRequestMessage = z.infer<typeof SetAgentFeatureRequestMessageSchema>;
20419
21041
  export type AgentDetachRequestMessage = z.infer<typeof AgentDetachRequestMessageSchema>;
20420
21042
  export type AgentSubagentStopRequestMessage = z.infer<typeof AgentSubagentStopRequestMessageSchema>;
21043
+ export type AgentBackgroundTaskStopRequestMessage = z.infer<typeof AgentBackgroundTaskStopRequestMessageSchema>;
21044
+ export type AgentBackgroundTaskClearRequestMessage = z.infer<typeof AgentBackgroundTaskClearRequestMessageSchema>;
20421
21045
  export type AgentPersonalitySetRequestMessage = z.infer<typeof AgentPersonalitySetRequestMessageSchema>;
20422
21046
  export type AgentPermissionResponseMessage = z.infer<typeof AgentPermissionResponseMessageSchema>;
20423
21047
  export type CheckoutStatusRequest = z.infer<typeof CheckoutStatusRequestSchema>;
@@ -21514,6 +22138,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21514
22138
  }, z.core.$strip>, z.ZodObject<{
21515
22139
  type: z.ZodLiteral<"provider.usage.list.request">;
21516
22140
  requestId: z.ZodString;
22141
+ }, z.core.$strip>, z.ZodObject<{
22142
+ type: z.ZodLiteral<"stats.activity.get.request">;
22143
+ requestId: z.ZodString;
21517
22144
  }, z.core.$strip>, z.ZodObject<{
21518
22145
  type: z.ZodLiteral<"agent.context.get_usage.request">;
21519
22146
  agentId: z.ZodString;
@@ -21636,6 +22263,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21636
22263
  type: z.ZodLiteral<"agent.subagent.stop.request">;
21637
22264
  agentId: z.ZodString;
21638
22265
  requestId: z.ZodString;
22266
+ }, z.core.$strip>, z.ZodObject<{
22267
+ type: z.ZodLiteral<"agent.background_task.stop.request">;
22268
+ parentAgentId: z.ZodString;
22269
+ taskId: z.ZodString;
22270
+ requestId: z.ZodString;
22271
+ }, z.core.$strip>, z.ZodObject<{
22272
+ type: z.ZodLiteral<"agent.background_task.clear.request">;
22273
+ parentAgentId: z.ZodString;
22274
+ taskIds: z.ZodArray<z.ZodString>;
22275
+ requestId: z.ZodString;
21639
22276
  }, z.core.$strip>, z.ZodObject<{
21640
22277
  type: z.ZodLiteral<"agent.personality.set.request">;
21641
22278
  agentId: z.ZodString;
@@ -21703,6 +22340,23 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21703
22340
  cwd: z.ZodString;
21704
22341
  operation: z.ZodString;
21705
22342
  requestId: z.ZodString;
22343
+ }, z.core.$strip>, z.ZodObject<{
22344
+ type: z.ZodLiteral<"runs.get_snapshot.request">;
22345
+ requestId: z.ZodString;
22346
+ }, z.core.$strip>, z.ZodObject<{
22347
+ type: z.ZodLiteral<"runs.gate_respond.request">;
22348
+ runId: z.ZodString;
22349
+ phaseId: z.ZodString;
22350
+ approved: z.ZodBoolean;
22351
+ note: z.ZodOptional<z.ZodString>;
22352
+ requestId: z.ZodString;
22353
+ }, z.core.$strip>, z.ZodObject<{
22354
+ type: z.ZodLiteral<"runs.cancel.request">;
22355
+ runId: z.ZodString;
22356
+ requestId: z.ZodString;
22357
+ }, z.core.$strip>, z.ZodObject<{
22358
+ type: z.ZodLiteral<"runs.clear.request">;
22359
+ requestId: z.ZodString;
21706
22360
  }, z.core.$strip>, z.ZodObject<{
21707
22361
  type: z.ZodLiteral<"checkout_merge_request">;
21708
22362
  cwd: z.ZodString;
@@ -22933,8 +23587,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22933
23587
  starred: z.ZodBoolean;
22934
23588
  status: z.ZodEnum<{
22935
23589
  error: "error";
22936
- generating: "generating";
22937
23590
  ready: "ready";
23591
+ generating: "generating";
22938
23592
  }>;
22939
23593
  createdAt: z.ZodString;
22940
23594
  updatedAt: z.ZodString;
@@ -23138,8 +23792,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23138
23792
  running: "running";
23139
23793
  attention: "attention";
23140
23794
  needs_input: "needs_input";
23141
- failed: "failed";
23142
23795
  done: "done";
23796
+ failed: "failed";
23143
23797
  }>;
23144
23798
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
23145
23799
  activityAt: z.ZodNullable<z.ZodString>;
@@ -23201,9 +23855,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23201
23855
  name: z.ZodString;
23202
23856
  status: z.ZodEnum<{
23203
23857
  success: "success";
23204
- failure: "failure";
23205
23858
  pending: "pending";
23206
23859
  skipped: "skipped";
23860
+ failure: "failure";
23207
23861
  cancelled: "cancelled";
23208
23862
  }>;
23209
23863
  url: z.ZodNullable<z.ZodString>;
@@ -23212,9 +23866,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23212
23866
  }, z.core.$strip>>>;
23213
23867
  checksStatus: z.ZodOptional<z.ZodEnum<{
23214
23868
  success: "success";
23869
+ pending: "pending";
23215
23870
  none: "none";
23216
23871
  failure: "failure";
23217
- pending: "pending";
23218
23872
  }>>;
23219
23873
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
23220
23874
  pending: "pending";
@@ -23318,7 +23972,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23318
23972
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
23319
23973
  name: string;
23320
23974
  archivingAt: string | null;
23321
- status: "running" | "attention" | "needs_input" | "failed" | "done";
23975
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
23322
23976
  statusEnteredAt: string | null;
23323
23977
  activityAt: string | null;
23324
23978
  scripts: {
@@ -23366,12 +24020,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23366
24020
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
23367
24021
  checks?: {
23368
24022
  name: string;
23369
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
24023
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
23370
24024
  url: string | null;
23371
24025
  workflow?: string | undefined;
23372
24026
  duration?: string | undefined;
23373
24027
  }[] | undefined;
23374
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
24028
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
23375
24029
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
23376
24030
  repoOwner?: string | undefined;
23377
24031
  repoName?: string | undefined;
@@ -23421,7 +24075,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23421
24075
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
23422
24076
  name: string;
23423
24077
  archivingAt: string | null;
23424
- status: "running" | "attention" | "needs_input" | "failed" | "done";
24078
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
23425
24079
  statusEnteredAt: string | null;
23426
24080
  activityAt: string | null;
23427
24081
  scripts: {
@@ -23470,12 +24124,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23470
24124
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
23471
24125
  checks?: {
23472
24126
  name: string;
23473
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
24127
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
23474
24128
  url: string | null;
23475
24129
  workflow?: string | undefined;
23476
24130
  duration?: string | undefined;
23477
24131
  }[] | undefined;
23478
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
24132
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
23479
24133
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
23480
24134
  repoOwner?: string | undefined;
23481
24135
  repoName?: string | undefined;
@@ -24143,8 +24797,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24143
24797
  running: "running";
24144
24798
  attention: "attention";
24145
24799
  needs_input: "needs_input";
24146
- failed: "failed";
24147
24800
  done: "done";
24801
+ failed: "failed";
24148
24802
  }>;
24149
24803
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
24150
24804
  activityAt: z.ZodNullable<z.ZodString>;
@@ -24206,9 +24860,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24206
24860
  name: z.ZodString;
24207
24861
  status: z.ZodEnum<{
24208
24862
  success: "success";
24209
- failure: "failure";
24210
24863
  pending: "pending";
24211
24864
  skipped: "skipped";
24865
+ failure: "failure";
24212
24866
  cancelled: "cancelled";
24213
24867
  }>;
24214
24868
  url: z.ZodNullable<z.ZodString>;
@@ -24217,9 +24871,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24217
24871
  }, z.core.$strip>>>;
24218
24872
  checksStatus: z.ZodOptional<z.ZodEnum<{
24219
24873
  success: "success";
24874
+ pending: "pending";
24220
24875
  none: "none";
24221
24876
  failure: "failure";
24222
- pending: "pending";
24223
24877
  }>>;
24224
24878
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
24225
24879
  pending: "pending";
@@ -24323,7 +24977,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24323
24977
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24324
24978
  name: string;
24325
24979
  archivingAt: string | null;
24326
- status: "running" | "attention" | "needs_input" | "failed" | "done";
24980
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24327
24981
  statusEnteredAt: string | null;
24328
24982
  activityAt: string | null;
24329
24983
  scripts: {
@@ -24371,12 +25025,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24371
25025
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24372
25026
  checks?: {
24373
25027
  name: string;
24374
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25028
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24375
25029
  url: string | null;
24376
25030
  workflow?: string | undefined;
24377
25031
  duration?: string | undefined;
24378
25032
  }[] | undefined;
24379
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25033
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24380
25034
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24381
25035
  repoOwner?: string | undefined;
24382
25036
  repoName?: string | undefined;
@@ -24426,7 +25080,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24426
25080
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24427
25081
  name: string;
24428
25082
  archivingAt: string | null;
24429
- status: "running" | "attention" | "needs_input" | "failed" | "done";
25083
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24430
25084
  statusEnteredAt: string | null;
24431
25085
  activityAt: string | null;
24432
25086
  scripts: {
@@ -24475,12 +25129,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24475
25129
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24476
25130
  checks?: {
24477
25131
  name: string;
24478
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25132
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24479
25133
  url: string | null;
24480
25134
  workflow?: string | undefined;
24481
25135
  duration?: string | undefined;
24482
25136
  }[] | undefined;
24483
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25137
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24484
25138
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24485
25139
  repoOwner?: string | undefined;
24486
25140
  repoName?: string | undefined;
@@ -24588,8 +25242,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24588
25242
  running: "running";
24589
25243
  attention: "attention";
24590
25244
  needs_input: "needs_input";
24591
- failed: "failed";
24592
25245
  done: "done";
25246
+ failed: "failed";
24593
25247
  }>;
24594
25248
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
24595
25249
  activityAt: z.ZodNullable<z.ZodString>;
@@ -24651,9 +25305,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24651
25305
  name: z.ZodString;
24652
25306
  status: z.ZodEnum<{
24653
25307
  success: "success";
24654
- failure: "failure";
24655
25308
  pending: "pending";
24656
25309
  skipped: "skipped";
25310
+ failure: "failure";
24657
25311
  cancelled: "cancelled";
24658
25312
  }>;
24659
25313
  url: z.ZodNullable<z.ZodString>;
@@ -24662,9 +25316,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24662
25316
  }, z.core.$strip>>>;
24663
25317
  checksStatus: z.ZodOptional<z.ZodEnum<{
24664
25318
  success: "success";
25319
+ pending: "pending";
24665
25320
  none: "none";
24666
25321
  failure: "failure";
24667
- pending: "pending";
24668
25322
  }>>;
24669
25323
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
24670
25324
  pending: "pending";
@@ -24768,7 +25422,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24768
25422
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24769
25423
  name: string;
24770
25424
  archivingAt: string | null;
24771
- status: "running" | "attention" | "needs_input" | "failed" | "done";
25425
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24772
25426
  statusEnteredAt: string | null;
24773
25427
  activityAt: string | null;
24774
25428
  scripts: {
@@ -24816,12 +25470,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24816
25470
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24817
25471
  checks?: {
24818
25472
  name: string;
24819
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25473
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24820
25474
  url: string | null;
24821
25475
  workflow?: string | undefined;
24822
25476
  duration?: string | undefined;
24823
25477
  }[] | undefined;
24824
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25478
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24825
25479
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24826
25480
  repoOwner?: string | undefined;
24827
25481
  repoName?: string | undefined;
@@ -24871,7 +25525,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24871
25525
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
24872
25526
  name: string;
24873
25527
  archivingAt: string | null;
24874
- status: "running" | "attention" | "needs_input" | "failed" | "done";
25528
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
24875
25529
  statusEnteredAt: string | null;
24876
25530
  activityAt: string | null;
24877
25531
  scripts: {
@@ -24920,12 +25574,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
24920
25574
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
24921
25575
  checks?: {
24922
25576
  name: string;
24923
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
25577
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
24924
25578
  url: string | null;
24925
25579
  workflow?: string | undefined;
24926
25580
  duration?: string | undefined;
24927
25581
  }[] | undefined;
24928
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
25582
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
24929
25583
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
24930
25584
  repoOwner?: string | undefined;
24931
25585
  repoName?: string | undefined;
@@ -25501,8 +26155,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25501
26155
  running: "running";
25502
26156
  attention: "attention";
25503
26157
  needs_input: "needs_input";
25504
- failed: "failed";
25505
26158
  done: "done";
26159
+ failed: "failed";
25506
26160
  }>;
25507
26161
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
25508
26162
  activityAt: z.ZodNullable<z.ZodString>;
@@ -25564,9 +26218,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25564
26218
  name: z.ZodString;
25565
26219
  status: z.ZodEnum<{
25566
26220
  success: "success";
25567
- failure: "failure";
25568
26221
  pending: "pending";
25569
26222
  skipped: "skipped";
26223
+ failure: "failure";
25570
26224
  cancelled: "cancelled";
25571
26225
  }>;
25572
26226
  url: z.ZodNullable<z.ZodString>;
@@ -25575,9 +26229,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25575
26229
  }, z.core.$strip>>>;
25576
26230
  checksStatus: z.ZodOptional<z.ZodEnum<{
25577
26231
  success: "success";
26232
+ pending: "pending";
25578
26233
  none: "none";
25579
26234
  failure: "failure";
25580
- pending: "pending";
25581
26235
  }>>;
25582
26236
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25583
26237
  pending: "pending";
@@ -25681,7 +26335,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25681
26335
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
25682
26336
  name: string;
25683
26337
  archivingAt: string | null;
25684
- status: "running" | "attention" | "needs_input" | "failed" | "done";
26338
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
25685
26339
  statusEnteredAt: string | null;
25686
26340
  activityAt: string | null;
25687
26341
  scripts: {
@@ -25729,12 +26383,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25729
26383
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
25730
26384
  checks?: {
25731
26385
  name: string;
25732
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26386
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
25733
26387
  url: string | null;
25734
26388
  workflow?: string | undefined;
25735
26389
  duration?: string | undefined;
25736
26390
  }[] | undefined;
25737
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26391
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
25738
26392
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
25739
26393
  repoOwner?: string | undefined;
25740
26394
  repoName?: string | undefined;
@@ -25784,7 +26438,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25784
26438
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
25785
26439
  name: string;
25786
26440
  archivingAt: string | null;
25787
- status: "running" | "attention" | "needs_input" | "failed" | "done";
26441
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
25788
26442
  statusEnteredAt: string | null;
25789
26443
  activityAt: string | null;
25790
26444
  scripts: {
@@ -25833,12 +26487,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
25833
26487
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
25834
26488
  checks?: {
25835
26489
  name: string;
25836
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
26490
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
25837
26491
  url: string | null;
25838
26492
  workflow?: string | undefined;
25839
26493
  duration?: string | undefined;
25840
26494
  }[] | undefined;
25841
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
26495
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
25842
26496
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
25843
26497
  repoOwner?: string | undefined;
25844
26498
  repoName?: string | undefined;
@@ -26424,6 +27078,46 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
26424
27078
  error: z.ZodNullable<z.ZodString>;
26425
27079
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
26426
27080
  }, z.core.$strip>;
27081
+ }, z.core.$strip>, z.ZodObject<{
27082
+ type: z.ZodLiteral<"agent.background_task.stop.response">;
27083
+ payload: z.ZodObject<{
27084
+ requestId: z.ZodString;
27085
+ agentId: z.ZodString;
27086
+ accepted: z.ZodBoolean;
27087
+ error: z.ZodNullable<z.ZodString>;
27088
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
27089
+ }, z.core.$strip>;
27090
+ }, z.core.$strip>, z.ZodObject<{
27091
+ type: z.ZodLiteral<"agent.background_task.clear.response">;
27092
+ payload: z.ZodObject<{
27093
+ requestId: z.ZodString;
27094
+ agentId: z.ZodString;
27095
+ accepted: z.ZodBoolean;
27096
+ error: z.ZodNullable<z.ZodString>;
27097
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
27098
+ }, z.core.$strip>;
27099
+ }, z.core.$strip>, z.ZodObject<{
27100
+ type: z.ZodLiteral<"background_shell_tasks_changed">;
27101
+ payload: z.ZodObject<{
27102
+ parentAgentId: z.ZodString;
27103
+ tasks: z.ZodArray<z.ZodObject<{
27104
+ id: z.ZodString;
27105
+ parentAgentId: z.ZodString;
27106
+ provider: z.ZodString;
27107
+ command: z.ZodOptional<z.ZodString>;
27108
+ description: z.ZodOptional<z.ZodString>;
27109
+ status: z.ZodEnum<{
27110
+ error: "error";
27111
+ idle: "idle";
27112
+ running: "running";
27113
+ closed: "closed";
27114
+ }>;
27115
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
27116
+ createdAt: z.ZodString;
27117
+ updatedAt: z.ZodString;
27118
+ archivedAt: z.ZodOptional<z.ZodString>;
27119
+ }, z.core.$strip>>;
27120
+ }, z.core.$strip>;
26427
27121
  }, z.core.$strip>, z.ZodObject<{
26428
27122
  type: z.ZodLiteral<"agent.personality.set.response">;
26429
27123
  payload: z.ZodObject<{
@@ -27058,6 +27752,134 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27058
27752
  text: z.ZodString;
27059
27753
  }, z.core.$strip>>;
27060
27754
  }, z.core.$strip>;
27755
+ }, z.core.$strip>, z.ZodObject<{
27756
+ type: z.ZodLiteral<"runs.get_snapshot.response">;
27757
+ payload: z.ZodObject<{
27758
+ runs: z.ZodArray<z.ZodObject<{
27759
+ id: z.ZodString;
27760
+ title: z.ZodString;
27761
+ status: z.ZodString;
27762
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
27763
+ autopilot: z.ZodOptional<z.ZodBoolean>;
27764
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
27765
+ id: z.ZodString;
27766
+ type: z.ZodString;
27767
+ title: z.ZodString;
27768
+ task: z.ZodString;
27769
+ status: z.ZodString;
27770
+ assigneeRole: z.ZodOptional<z.ZodString>;
27771
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
27772
+ fanOut: z.ZodOptional<z.ZodNumber>;
27773
+ keepBest: z.ZodOptional<z.ZodNumber>;
27774
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
27775
+ agentId: z.ZodString;
27776
+ personalityId: z.ZodOptional<z.ZodString>;
27777
+ verdict: z.ZodOptional<z.ZodObject<{
27778
+ verdict: z.ZodString;
27779
+ score: z.ZodOptional<z.ZodNumber>;
27780
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
27781
+ name: z.ZodString;
27782
+ met: z.ZodBoolean;
27783
+ evidence: z.ZodOptional<z.ZodString>;
27784
+ }, z.core.$loose>>>;
27785
+ summary: z.ZodOptional<z.ZodString>;
27786
+ }, z.core.$loose>>;
27787
+ summary: z.ZodOptional<z.ZodString>;
27788
+ }, z.core.$loose>>>;
27789
+ notes: z.ZodOptional<z.ZodString>;
27790
+ startedAt: z.ZodOptional<z.ZodString>;
27791
+ completedAt: z.ZodOptional<z.ZodString>;
27792
+ }, z.core.$loose>>>;
27793
+ conductorAgentId: z.ZodOptional<z.ZodString>;
27794
+ cwd: z.ZodOptional<z.ZodString>;
27795
+ workspaceId: z.ZodOptional<z.ZodString>;
27796
+ teamId: z.ZodOptional<z.ZodString>;
27797
+ teamName: z.ZodOptional<z.ZodString>;
27798
+ error: z.ZodOptional<z.ZodString>;
27799
+ summary: z.ZodOptional<z.ZodString>;
27800
+ summaryStatus: z.ZodOptional<z.ZodString>;
27801
+ agentCount: z.ZodOptional<z.ZodNumber>;
27802
+ createdAt: z.ZodOptional<z.ZodString>;
27803
+ updatedAt: z.ZodOptional<z.ZodString>;
27804
+ }, z.core.$loose>>;
27805
+ requestId: z.ZodString;
27806
+ }, z.core.$strip>;
27807
+ }, z.core.$strip>, z.ZodObject<{
27808
+ type: z.ZodLiteral<"runs.updated.notification">;
27809
+ payload: z.ZodObject<{
27810
+ run: z.ZodObject<{
27811
+ id: z.ZodString;
27812
+ title: z.ZodString;
27813
+ status: z.ZodString;
27814
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
27815
+ autopilot: z.ZodOptional<z.ZodBoolean>;
27816
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
27817
+ id: z.ZodString;
27818
+ type: z.ZodString;
27819
+ title: z.ZodString;
27820
+ task: z.ZodString;
27821
+ status: z.ZodString;
27822
+ assigneeRole: z.ZodOptional<z.ZodString>;
27823
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
27824
+ fanOut: z.ZodOptional<z.ZodNumber>;
27825
+ keepBest: z.ZodOptional<z.ZodNumber>;
27826
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
27827
+ agentId: z.ZodString;
27828
+ personalityId: z.ZodOptional<z.ZodString>;
27829
+ verdict: z.ZodOptional<z.ZodObject<{
27830
+ verdict: z.ZodString;
27831
+ score: z.ZodOptional<z.ZodNumber>;
27832
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
27833
+ name: z.ZodString;
27834
+ met: z.ZodBoolean;
27835
+ evidence: z.ZodOptional<z.ZodString>;
27836
+ }, z.core.$loose>>>;
27837
+ summary: z.ZodOptional<z.ZodString>;
27838
+ }, z.core.$loose>>;
27839
+ summary: z.ZodOptional<z.ZodString>;
27840
+ }, z.core.$loose>>>;
27841
+ notes: z.ZodOptional<z.ZodString>;
27842
+ startedAt: z.ZodOptional<z.ZodString>;
27843
+ completedAt: z.ZodOptional<z.ZodString>;
27844
+ }, z.core.$loose>>>;
27845
+ conductorAgentId: z.ZodOptional<z.ZodString>;
27846
+ cwd: z.ZodOptional<z.ZodString>;
27847
+ workspaceId: z.ZodOptional<z.ZodString>;
27848
+ teamId: z.ZodOptional<z.ZodString>;
27849
+ teamName: z.ZodOptional<z.ZodString>;
27850
+ error: z.ZodOptional<z.ZodString>;
27851
+ summary: z.ZodOptional<z.ZodString>;
27852
+ summaryStatus: z.ZodOptional<z.ZodString>;
27853
+ agentCount: z.ZodOptional<z.ZodNumber>;
27854
+ createdAt: z.ZodOptional<z.ZodString>;
27855
+ updatedAt: z.ZodOptional<z.ZodString>;
27856
+ }, z.core.$loose>;
27857
+ }, z.core.$strip>;
27858
+ }, z.core.$strip>, z.ZodObject<{
27859
+ type: z.ZodLiteral<"runs.gate_respond.response">;
27860
+ payload: z.ZodObject<{
27861
+ runId: z.ZodString;
27862
+ accepted: z.ZodBoolean;
27863
+ requestId: z.ZodString;
27864
+ }, z.core.$strip>;
27865
+ }, z.core.$strip>, z.ZodObject<{
27866
+ type: z.ZodLiteral<"runs.cancel.response">;
27867
+ payload: z.ZodObject<{
27868
+ runId: z.ZodString;
27869
+ canceled: z.ZodBoolean;
27870
+ requestId: z.ZodString;
27871
+ }, z.core.$strip>;
27872
+ }, z.core.$strip>, z.ZodObject<{
27873
+ type: z.ZodLiteral<"runs.clear.response">;
27874
+ payload: z.ZodObject<{
27875
+ runIds: z.ZodArray<z.ZodString>;
27876
+ requestId: z.ZodString;
27877
+ }, z.core.$strip>;
27878
+ }, z.core.$strip>, z.ZodObject<{
27879
+ type: z.ZodLiteral<"runs.cleared.notification">;
27880
+ payload: z.ZodObject<{
27881
+ runIds: z.ZodArray<z.ZodString>;
27882
+ }, z.core.$strip>;
27061
27883
  }, z.core.$strip>, z.ZodObject<{
27062
27884
  type: z.ZodLiteral<"checkout_merge_response">;
27063
27885
  payload: z.ZodObject<{
@@ -27678,8 +28500,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27678
28500
  running: "running";
27679
28501
  attention: "attention";
27680
28502
  needs_input: "needs_input";
27681
- failed: "failed";
27682
28503
  done: "done";
28504
+ failed: "failed";
27683
28505
  }>;
27684
28506
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
27685
28507
  activityAt: z.ZodNullable<z.ZodString>;
@@ -27741,9 +28563,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27741
28563
  name: z.ZodString;
27742
28564
  status: z.ZodEnum<{
27743
28565
  success: "success";
27744
- failure: "failure";
27745
28566
  pending: "pending";
27746
28567
  skipped: "skipped";
28568
+ failure: "failure";
27747
28569
  cancelled: "cancelled";
27748
28570
  }>;
27749
28571
  url: z.ZodNullable<z.ZodString>;
@@ -27752,9 +28574,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27752
28574
  }, z.core.$strip>>>;
27753
28575
  checksStatus: z.ZodOptional<z.ZodEnum<{
27754
28576
  success: "success";
28577
+ pending: "pending";
27755
28578
  none: "none";
27756
28579
  failure: "failure";
27757
- pending: "pending";
27758
28580
  }>>;
27759
28581
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
27760
28582
  pending: "pending";
@@ -27858,7 +28680,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27858
28680
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
27859
28681
  name: string;
27860
28682
  archivingAt: string | null;
27861
- status: "running" | "attention" | "needs_input" | "failed" | "done";
28683
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
27862
28684
  statusEnteredAt: string | null;
27863
28685
  activityAt: string | null;
27864
28686
  scripts: {
@@ -27906,12 +28728,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27906
28728
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
27907
28729
  checks?: {
27908
28730
  name: string;
27909
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
28731
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
27910
28732
  url: string | null;
27911
28733
  workflow?: string | undefined;
27912
28734
  duration?: string | undefined;
27913
28735
  }[] | undefined;
27914
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
28736
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
27915
28737
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
27916
28738
  repoOwner?: string | undefined;
27917
28739
  repoName?: string | undefined;
@@ -27961,7 +28783,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27961
28783
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
27962
28784
  name: string;
27963
28785
  archivingAt: string | null;
27964
- status: "running" | "attention" | "needs_input" | "failed" | "done";
28786
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
27965
28787
  statusEnteredAt: string | null;
27966
28788
  activityAt: string | null;
27967
28789
  scripts: {
@@ -28010,12 +28832,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28010
28832
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
28011
28833
  checks?: {
28012
28834
  name: string;
28013
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
28835
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
28014
28836
  url: string | null;
28015
28837
  workflow?: string | undefined;
28016
28838
  duration?: string | undefined;
28017
28839
  }[] | undefined;
28018
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
28840
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
28019
28841
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
28020
28842
  repoOwner?: string | undefined;
28021
28843
  repoName?: string | undefined;
@@ -28487,6 +29309,81 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28487
29309
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28488
29310
  }, z.core.$strip>>;
28489
29311
  }, z.core.$strip>;
29312
+ }, z.core.$strip>, z.ZodObject<{
29313
+ type: z.ZodLiteral<"stats.activity.get.response">;
29314
+ payload: z.ZodObject<{
29315
+ requestId: z.ZodString;
29316
+ today: z.ZodObject<{
29317
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29318
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29319
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29320
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29321
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29322
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29323
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29324
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29325
+ thoughts: z.ZodDefault<z.ZodNumber>;
29326
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29327
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29328
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29329
+ }, z.core.$strip>;
29330
+ yesterday: z.ZodObject<{
29331
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29332
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29333
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29334
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29335
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29336
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29337
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29338
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29339
+ thoughts: z.ZodDefault<z.ZodNumber>;
29340
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29341
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29342
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29343
+ }, z.core.$strip>;
29344
+ last7Days: z.ZodObject<{
29345
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29346
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29347
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29348
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29349
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29350
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29351
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29352
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29353
+ thoughts: z.ZodDefault<z.ZodNumber>;
29354
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29355
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29356
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29357
+ }, z.core.$strip>;
29358
+ last30Days: z.ZodObject<{
29359
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29360
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29361
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29362
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29363
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29364
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29365
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29366
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29367
+ thoughts: z.ZodDefault<z.ZodNumber>;
29368
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29369
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29370
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29371
+ }, z.core.$strip>;
29372
+ allTime: z.ZodObject<{
29373
+ messagesSent: z.ZodDefault<z.ZodNumber>;
29374
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
29375
+ tokensSent: z.ZodDefault<z.ZodNumber>;
29376
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
29377
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
29378
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
29379
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
29380
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
29381
+ thoughts: z.ZodDefault<z.ZodNumber>;
29382
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
29383
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
29384
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
29385
+ }, z.core.$strip>;
29386
+ }, z.core.$strip>;
28490
29387
  }, z.core.$strip>, z.ZodObject<{
28491
29388
  type: z.ZodLiteral<"agent.context.get_usage.response">;
28492
29389
  payload: z.ZodObject<{
@@ -28757,12 +29654,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28757
29654
  schedule: z.ZodNullable<z.ZodObject<{
28758
29655
  prompt: z.ZodString;
28759
29656
  name: z.ZodNullable<z.ZodString>;
29657
+ id: z.ZodString;
28760
29658
  status: z.ZodEnum<{
29659
+ paused: "paused";
28761
29660
  completed: "completed";
28762
29661
  active: "active";
28763
- paused: "paused";
28764
29662
  }>;
28765
- id: z.ZodString;
28766
29663
  createdAt: z.ZodString;
28767
29664
  updatedAt: z.ZodString;
28768
29665
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -28807,8 +29704,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28807
29704
  nextRunAt: z.ZodNullable<z.ZodString>;
28808
29705
  lastRunAt: z.ZodNullable<z.ZodString>;
28809
29706
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28810
- succeeded: "succeeded";
28811
29707
  failed: "failed";
29708
+ succeeded: "succeeded";
28812
29709
  }>>>;
28813
29710
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28814
29711
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -28824,12 +29721,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28824
29721
  schedules: z.ZodArray<z.ZodObject<{
28825
29722
  prompt: z.ZodString;
28826
29723
  name: z.ZodNullable<z.ZodString>;
29724
+ id: z.ZodString;
28827
29725
  status: z.ZodEnum<{
29726
+ paused: "paused";
28828
29727
  completed: "completed";
28829
29728
  active: "active";
28830
- paused: "paused";
28831
29729
  }>;
28832
- id: z.ZodString;
28833
29730
  createdAt: z.ZodString;
28834
29731
  updatedAt: z.ZodString;
28835
29732
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -28874,8 +29771,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28874
29771
  nextRunAt: z.ZodNullable<z.ZodString>;
28875
29772
  lastRunAt: z.ZodNullable<z.ZodString>;
28876
29773
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28877
- succeeded: "succeeded";
28878
29774
  failed: "failed";
29775
+ succeeded: "succeeded";
28879
29776
  }>>>;
28880
29777
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28881
29778
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -28932,17 +29829,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28932
29829
  }, z.core.$strip>;
28933
29830
  }, z.core.$strip>], "type">;
28934
29831
  status: z.ZodEnum<{
29832
+ paused: "paused";
28935
29833
  completed: "completed";
28936
29834
  active: "active";
28937
- paused: "paused";
28938
29835
  }>;
28939
29836
  createdAt: z.ZodString;
28940
29837
  updatedAt: z.ZodString;
28941
29838
  nextRunAt: z.ZodNullable<z.ZodString>;
28942
29839
  lastRunAt: z.ZodNullable<z.ZodString>;
28943
29840
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28944
- succeeded: "succeeded";
28945
29841
  failed: "failed";
29842
+ succeeded: "succeeded";
28946
29843
  }>>>;
28947
29844
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28948
29845
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -28955,8 +29852,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28955
29852
  endedAt: z.ZodNullable<z.ZodString>;
28956
29853
  status: z.ZodEnum<{
28957
29854
  running: "running";
28958
- succeeded: "succeeded";
28959
29855
  failed: "failed";
29856
+ succeeded: "succeeded";
28960
29857
  }>;
28961
29858
  agentId: z.ZodNullable<z.ZodGUID>;
28962
29859
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28977,8 +29874,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28977
29874
  endedAt: z.ZodNullable<z.ZodString>;
28978
29875
  status: z.ZodEnum<{
28979
29876
  running: "running";
28980
- succeeded: "succeeded";
28981
29877
  failed: "failed";
29878
+ succeeded: "succeeded";
28982
29879
  }>;
28983
29880
  agentId: z.ZodNullable<z.ZodGUID>;
28984
29881
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28994,12 +29891,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28994
29891
  schedule: z.ZodNullable<z.ZodObject<{
28995
29892
  prompt: z.ZodString;
28996
29893
  name: z.ZodNullable<z.ZodString>;
29894
+ id: z.ZodString;
28997
29895
  status: z.ZodEnum<{
29896
+ paused: "paused";
28998
29897
  completed: "completed";
28999
29898
  active: "active";
29000
- paused: "paused";
29001
29899
  }>;
29002
- id: z.ZodString;
29003
29900
  createdAt: z.ZodString;
29004
29901
  updatedAt: z.ZodString;
29005
29902
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -29044,8 +29941,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29044
29941
  nextRunAt: z.ZodNullable<z.ZodString>;
29045
29942
  lastRunAt: z.ZodNullable<z.ZodString>;
29046
29943
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29047
- succeeded: "succeeded";
29048
29944
  failed: "failed";
29945
+ succeeded: "succeeded";
29049
29946
  }>>>;
29050
29947
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29051
29948
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -29061,12 +29958,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29061
29958
  schedule: z.ZodNullable<z.ZodObject<{
29062
29959
  prompt: z.ZodString;
29063
29960
  name: z.ZodNullable<z.ZodString>;
29961
+ id: z.ZodString;
29064
29962
  status: z.ZodEnum<{
29963
+ paused: "paused";
29065
29964
  completed: "completed";
29066
29965
  active: "active";
29067
- paused: "paused";
29068
29966
  }>;
29069
- id: z.ZodString;
29070
29967
  createdAt: z.ZodString;
29071
29968
  updatedAt: z.ZodString;
29072
29969
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -29111,8 +30008,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29111
30008
  nextRunAt: z.ZodNullable<z.ZodString>;
29112
30009
  lastRunAt: z.ZodNullable<z.ZodString>;
29113
30010
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29114
- succeeded: "succeeded";
29115
30011
  failed: "failed";
30012
+ succeeded: "succeeded";
29116
30013
  }>>>;
29117
30014
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29118
30015
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -29176,17 +30073,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29176
30073
  }, z.core.$strip>;
29177
30074
  }, z.core.$strip>], "type">;
29178
30075
  status: z.ZodEnum<{
30076
+ paused: "paused";
29179
30077
  completed: "completed";
29180
30078
  active: "active";
29181
- paused: "paused";
29182
30079
  }>;
29183
30080
  createdAt: z.ZodString;
29184
30081
  updatedAt: z.ZodString;
29185
30082
  nextRunAt: z.ZodNullable<z.ZodString>;
29186
30083
  lastRunAt: z.ZodNullable<z.ZodString>;
29187
30084
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29188
- succeeded: "succeeded";
29189
30085
  failed: "failed";
30086
+ succeeded: "succeeded";
29190
30087
  }>>>;
29191
30088
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29192
30089
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -29199,8 +30096,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29199
30096
  endedAt: z.ZodNullable<z.ZodString>;
29200
30097
  status: z.ZodEnum<{
29201
30098
  running: "running";
29202
- succeeded: "succeeded";
29203
30099
  failed: "failed";
30100
+ succeeded: "succeeded";
29204
30101
  }>;
29205
30102
  agentId: z.ZodNullable<z.ZodGUID>;
29206
30103
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29258,17 +30155,17 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29258
30155
  }, z.core.$strip>;
29259
30156
  }, z.core.$strip>], "type">;
29260
30157
  status: z.ZodEnum<{
30158
+ paused: "paused";
29261
30159
  completed: "completed";
29262
30160
  active: "active";
29263
- paused: "paused";
29264
30161
  }>;
29265
30162
  createdAt: z.ZodString;
29266
30163
  updatedAt: z.ZodString;
29267
30164
  nextRunAt: z.ZodNullable<z.ZodString>;
29268
30165
  lastRunAt: z.ZodNullable<z.ZodString>;
29269
30166
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
29270
- succeeded: "succeeded";
29271
30167
  failed: "failed";
30168
+ succeeded: "succeeded";
29272
30169
  }>>>;
29273
30170
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29274
30171
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -29281,8 +30178,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29281
30178
  endedAt: z.ZodNullable<z.ZodString>;
29282
30179
  status: z.ZodEnum<{
29283
30180
  running: "running";
29284
- succeeded: "succeeded";
29285
30181
  failed: "failed";
30182
+ succeeded: "succeeded";
29286
30183
  }>;
29287
30184
  agentId: z.ZodNullable<z.ZodGUID>;
29288
30185
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29317,8 +30214,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29317
30214
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29318
30215
  status: z.ZodEnum<{
29319
30216
  running: "running";
29320
- succeeded: "succeeded";
29321
30217
  failed: "failed";
30218
+ succeeded: "succeeded";
29322
30219
  stopped: "stopped";
29323
30220
  }>;
29324
30221
  createdAt: z.ZodString;
@@ -29334,14 +30231,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29334
30231
  verifierAgentId: z.ZodNullable<z.ZodString>;
29335
30232
  status: z.ZodEnum<{
29336
30233
  running: "running";
29337
- succeeded: "succeeded";
29338
30234
  failed: "failed";
30235
+ succeeded: "succeeded";
29339
30236
  stopped: "stopped";
29340
30237
  }>;
29341
30238
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29342
30239
  failed: "failed";
29343
- completed: "completed";
29344
30240
  canceled: "canceled";
30241
+ completed: "completed";
29345
30242
  }>>;
29346
30243
  failureReason: z.ZodNullable<z.ZodString>;
29347
30244
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29393,8 +30290,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29393
30290
  name: z.ZodNullable<z.ZodString>;
29394
30291
  status: z.ZodEnum<{
29395
30292
  running: "running";
29396
- succeeded: "succeeded";
29397
30293
  failed: "failed";
30294
+ succeeded: "succeeded";
29398
30295
  stopped: "stopped";
29399
30296
  }>;
29400
30297
  cwd: z.ZodString;
@@ -29429,8 +30326,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29429
30326
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29430
30327
  status: z.ZodEnum<{
29431
30328
  running: "running";
29432
- succeeded: "succeeded";
29433
30329
  failed: "failed";
30330
+ succeeded: "succeeded";
29434
30331
  stopped: "stopped";
29435
30332
  }>;
29436
30333
  createdAt: z.ZodString;
@@ -29446,14 +30343,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29446
30343
  verifierAgentId: z.ZodNullable<z.ZodString>;
29447
30344
  status: z.ZodEnum<{
29448
30345
  running: "running";
29449
- succeeded: "succeeded";
29450
30346
  failed: "failed";
30347
+ succeeded: "succeeded";
29451
30348
  stopped: "stopped";
29452
30349
  }>;
29453
30350
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29454
30351
  failed: "failed";
29455
- completed: "completed";
29456
30352
  canceled: "canceled";
30353
+ completed: "completed";
29457
30354
  }>>;
29458
30355
  failureReason: z.ZodNullable<z.ZodString>;
29459
30356
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29521,8 +30418,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29521
30418
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29522
30419
  status: z.ZodEnum<{
29523
30420
  running: "running";
29524
- succeeded: "succeeded";
29525
30421
  failed: "failed";
30422
+ succeeded: "succeeded";
29526
30423
  stopped: "stopped";
29527
30424
  }>;
29528
30425
  createdAt: z.ZodString;
@@ -29538,14 +30435,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29538
30435
  verifierAgentId: z.ZodNullable<z.ZodString>;
29539
30436
  status: z.ZodEnum<{
29540
30437
  running: "running";
29541
- succeeded: "succeeded";
29542
30438
  failed: "failed";
30439
+ succeeded: "succeeded";
29543
30440
  stopped: "stopped";
29544
30441
  }>;
29545
30442
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29546
30443
  failed: "failed";
29547
- completed: "completed";
29548
30444
  canceled: "canceled";
30445
+ completed: "completed";
29549
30446
  }>>;
29550
30447
  failureReason: z.ZodNullable<z.ZodString>;
29551
30448
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29630,8 +30527,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29630
30527
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
29631
30528
  status: z.ZodEnum<{
29632
30529
  running: "running";
29633
- succeeded: "succeeded";
29634
30530
  failed: "failed";
30531
+ succeeded: "succeeded";
29635
30532
  stopped: "stopped";
29636
30533
  }>;
29637
30534
  createdAt: z.ZodString;
@@ -29647,14 +30544,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29647
30544
  verifierAgentId: z.ZodNullable<z.ZodString>;
29648
30545
  status: z.ZodEnum<{
29649
30546
  running: "running";
29650
- succeeded: "succeeded";
29651
30547
  failed: "failed";
30548
+ succeeded: "succeeded";
29652
30549
  stopped: "stopped";
29653
30550
  }>;
29654
30551
  workerOutcome: z.ZodNullable<z.ZodEnum<{
29655
30552
  failed: "failed";
29656
- completed: "completed";
29657
30553
  canceled: "canceled";
30554
+ completed: "completed";
29658
30555
  }>>;
29659
30556
  failureReason: z.ZodNullable<z.ZodString>;
29660
30557
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -29732,8 +30629,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29732
30629
  starred: z.ZodBoolean;
29733
30630
  status: z.ZodEnum<{
29734
30631
  error: "error";
29735
- generating: "generating";
29736
30632
  ready: "ready";
30633
+ generating: "generating";
29737
30634
  }>;
29738
30635
  createdAt: z.ZodString;
29739
30636
  updatedAt: z.ZodString;
@@ -29767,8 +30664,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29767
30664
  starred: z.ZodBoolean;
29768
30665
  status: z.ZodEnum<{
29769
30666
  error: "error";
29770
- generating: "generating";
29771
30667
  ready: "ready";
30668
+ generating: "generating";
29772
30669
  }>;
29773
30670
  createdAt: z.ZodString;
29774
30671
  updatedAt: z.ZodString;
@@ -29802,8 +30699,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29802
30699
  starred: z.ZodBoolean;
29803
30700
  status: z.ZodEnum<{
29804
30701
  error: "error";
29805
- generating: "generating";
29806
30702
  ready: "ready";
30703
+ generating: "generating";
29807
30704
  }>;
29808
30705
  createdAt: z.ZodString;
29809
30706
  updatedAt: z.ZodString;
@@ -29837,8 +30734,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29837
30734
  starred: z.ZodBoolean;
29838
30735
  status: z.ZodEnum<{
29839
30736
  error: "error";
29840
- generating: "generating";
29841
30737
  ready: "ready";
30738
+ generating: "generating";
29842
30739
  }>;
29843
30740
  createdAt: z.ZodString;
29844
30741
  updatedAt: z.ZodString;
@@ -29872,8 +30769,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29872
30769
  starred: z.ZodBoolean;
29873
30770
  status: z.ZodEnum<{
29874
30771
  error: "error";
29875
- generating: "generating";
29876
30772
  ready: "ready";
30773
+ generating: "generating";
29877
30774
  }>;
29878
30775
  createdAt: z.ZodString;
29879
30776
  updatedAt: z.ZodString;
@@ -29914,8 +30811,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29914
30811
  starred: z.ZodBoolean;
29915
30812
  status: z.ZodEnum<{
29916
30813
  error: "error";
29917
- generating: "generating";
29918
30814
  ready: "ready";
30815
+ generating: "generating";
29919
30816
  }>;
29920
30817
  createdAt: z.ZodString;
29921
30818
  updatedAt: z.ZodString;
@@ -29957,8 +30854,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29957
30854
  starred: z.ZodBoolean;
29958
30855
  status: z.ZodEnum<{
29959
30856
  error: "error";
29960
- generating: "generating";
29961
30857
  ready: "ready";
30858
+ generating: "generating";
29962
30859
  }>;
29963
30860
  createdAt: z.ZodString;
29964
30861
  updatedAt: z.ZodString;
@@ -29989,8 +30886,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
29989
30886
  starred: z.ZodBoolean;
29990
30887
  status: z.ZodEnum<{
29991
30888
  error: "error";
29992
- generating: "generating";
29993
30889
  ready: "ready";
30890
+ generating: "generating";
29994
30891
  }>;
29995
30892
  createdAt: z.ZodString;
29996
30893
  updatedAt: z.ZodString;
@@ -30932,6 +31829,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
30932
31829
  }, z.core.$strip>, z.ZodObject<{
30933
31830
  type: z.ZodLiteral<"provider.usage.list.request">;
30934
31831
  requestId: z.ZodString;
31832
+ }, z.core.$strip>, z.ZodObject<{
31833
+ type: z.ZodLiteral<"stats.activity.get.request">;
31834
+ requestId: z.ZodString;
30935
31835
  }, z.core.$strip>, z.ZodObject<{
30936
31836
  type: z.ZodLiteral<"agent.context.get_usage.request">;
30937
31837
  agentId: z.ZodString;
@@ -31054,6 +31954,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31054
31954
  type: z.ZodLiteral<"agent.subagent.stop.request">;
31055
31955
  agentId: z.ZodString;
31056
31956
  requestId: z.ZodString;
31957
+ }, z.core.$strip>, z.ZodObject<{
31958
+ type: z.ZodLiteral<"agent.background_task.stop.request">;
31959
+ parentAgentId: z.ZodString;
31960
+ taskId: z.ZodString;
31961
+ requestId: z.ZodString;
31962
+ }, z.core.$strip>, z.ZodObject<{
31963
+ type: z.ZodLiteral<"agent.background_task.clear.request">;
31964
+ parentAgentId: z.ZodString;
31965
+ taskIds: z.ZodArray<z.ZodString>;
31966
+ requestId: z.ZodString;
31057
31967
  }, z.core.$strip>, z.ZodObject<{
31058
31968
  type: z.ZodLiteral<"agent.personality.set.request">;
31059
31969
  agentId: z.ZodString;
@@ -31121,6 +32031,23 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31121
32031
  cwd: z.ZodString;
31122
32032
  operation: z.ZodString;
31123
32033
  requestId: z.ZodString;
32034
+ }, z.core.$strip>, z.ZodObject<{
32035
+ type: z.ZodLiteral<"runs.get_snapshot.request">;
32036
+ requestId: z.ZodString;
32037
+ }, z.core.$strip>, z.ZodObject<{
32038
+ type: z.ZodLiteral<"runs.gate_respond.request">;
32039
+ runId: z.ZodString;
32040
+ phaseId: z.ZodString;
32041
+ approved: z.ZodBoolean;
32042
+ note: z.ZodOptional<z.ZodString>;
32043
+ requestId: z.ZodString;
32044
+ }, z.core.$strip>, z.ZodObject<{
32045
+ type: z.ZodLiteral<"runs.cancel.request">;
32046
+ runId: z.ZodString;
32047
+ requestId: z.ZodString;
32048
+ }, z.core.$strip>, z.ZodObject<{
32049
+ type: z.ZodLiteral<"runs.clear.request">;
32050
+ requestId: z.ZodString;
31124
32051
  }, z.core.$strip>, z.ZodObject<{
31125
32052
  type: z.ZodLiteral<"checkout_merge_request">;
31126
32053
  cwd: z.ZodString;
@@ -32353,8 +33280,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32353
33280
  starred: z.ZodBoolean;
32354
33281
  status: z.ZodEnum<{
32355
33282
  error: "error";
32356
- generating: "generating";
32357
33283
  ready: "ready";
33284
+ generating: "generating";
32358
33285
  }>;
32359
33286
  createdAt: z.ZodString;
32360
33287
  updatedAt: z.ZodString;
@@ -32558,8 +33485,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32558
33485
  running: "running";
32559
33486
  attention: "attention";
32560
33487
  needs_input: "needs_input";
32561
- failed: "failed";
32562
33488
  done: "done";
33489
+ failed: "failed";
32563
33490
  }>;
32564
33491
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
32565
33492
  activityAt: z.ZodNullable<z.ZodString>;
@@ -32621,9 +33548,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32621
33548
  name: z.ZodString;
32622
33549
  status: z.ZodEnum<{
32623
33550
  success: "success";
32624
- failure: "failure";
32625
33551
  pending: "pending";
32626
33552
  skipped: "skipped";
33553
+ failure: "failure";
32627
33554
  cancelled: "cancelled";
32628
33555
  }>;
32629
33556
  url: z.ZodNullable<z.ZodString>;
@@ -32632,9 +33559,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32632
33559
  }, z.core.$strip>>>;
32633
33560
  checksStatus: z.ZodOptional<z.ZodEnum<{
32634
33561
  success: "success";
33562
+ pending: "pending";
32635
33563
  none: "none";
32636
33564
  failure: "failure";
32637
- pending: "pending";
32638
33565
  }>>;
32639
33566
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
32640
33567
  pending: "pending";
@@ -32738,7 +33665,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32738
33665
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
32739
33666
  name: string;
32740
33667
  archivingAt: string | null;
32741
- status: "running" | "attention" | "needs_input" | "failed" | "done";
33668
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
32742
33669
  statusEnteredAt: string | null;
32743
33670
  activityAt: string | null;
32744
33671
  scripts: {
@@ -32786,12 +33713,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32786
33713
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
32787
33714
  checks?: {
32788
33715
  name: string;
32789
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
33716
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
32790
33717
  url: string | null;
32791
33718
  workflow?: string | undefined;
32792
33719
  duration?: string | undefined;
32793
33720
  }[] | undefined;
32794
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
33721
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
32795
33722
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
32796
33723
  repoOwner?: string | undefined;
32797
33724
  repoName?: string | undefined;
@@ -32841,7 +33768,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32841
33768
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
32842
33769
  name: string;
32843
33770
  archivingAt: string | null;
32844
- status: "running" | "attention" | "needs_input" | "failed" | "done";
33771
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
32845
33772
  statusEnteredAt: string | null;
32846
33773
  activityAt: string | null;
32847
33774
  scripts: {
@@ -32890,12 +33817,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
32890
33817
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
32891
33818
  checks?: {
32892
33819
  name: string;
32893
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
33820
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
32894
33821
  url: string | null;
32895
33822
  workflow?: string | undefined;
32896
33823
  duration?: string | undefined;
32897
33824
  }[] | undefined;
32898
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
33825
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
32899
33826
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
32900
33827
  repoOwner?: string | undefined;
32901
33828
  repoName?: string | undefined;
@@ -33563,8 +34490,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33563
34490
  running: "running";
33564
34491
  attention: "attention";
33565
34492
  needs_input: "needs_input";
33566
- failed: "failed";
33567
34493
  done: "done";
34494
+ failed: "failed";
33568
34495
  }>;
33569
34496
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
33570
34497
  activityAt: z.ZodNullable<z.ZodString>;
@@ -33626,9 +34553,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33626
34553
  name: z.ZodString;
33627
34554
  status: z.ZodEnum<{
33628
34555
  success: "success";
33629
- failure: "failure";
33630
34556
  pending: "pending";
33631
34557
  skipped: "skipped";
34558
+ failure: "failure";
33632
34559
  cancelled: "cancelled";
33633
34560
  }>;
33634
34561
  url: z.ZodNullable<z.ZodString>;
@@ -33637,9 +34564,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33637
34564
  }, z.core.$strip>>>;
33638
34565
  checksStatus: z.ZodOptional<z.ZodEnum<{
33639
34566
  success: "success";
34567
+ pending: "pending";
33640
34568
  none: "none";
33641
34569
  failure: "failure";
33642
- pending: "pending";
33643
34570
  }>>;
33644
34571
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
33645
34572
  pending: "pending";
@@ -33743,7 +34670,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33743
34670
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
33744
34671
  name: string;
33745
34672
  archivingAt: string | null;
33746
- status: "running" | "attention" | "needs_input" | "failed" | "done";
34673
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
33747
34674
  statusEnteredAt: string | null;
33748
34675
  activityAt: string | null;
33749
34676
  scripts: {
@@ -33791,12 +34718,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33791
34718
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
33792
34719
  checks?: {
33793
34720
  name: string;
33794
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
34721
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
33795
34722
  url: string | null;
33796
34723
  workflow?: string | undefined;
33797
34724
  duration?: string | undefined;
33798
34725
  }[] | undefined;
33799
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
34726
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
33800
34727
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
33801
34728
  repoOwner?: string | undefined;
33802
34729
  repoName?: string | undefined;
@@ -33846,7 +34773,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33846
34773
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
33847
34774
  name: string;
33848
34775
  archivingAt: string | null;
33849
- status: "running" | "attention" | "needs_input" | "failed" | "done";
34776
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
33850
34777
  statusEnteredAt: string | null;
33851
34778
  activityAt: string | null;
33852
34779
  scripts: {
@@ -33895,12 +34822,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
33895
34822
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
33896
34823
  checks?: {
33897
34824
  name: string;
33898
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
34825
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
33899
34826
  url: string | null;
33900
34827
  workflow?: string | undefined;
33901
34828
  duration?: string | undefined;
33902
34829
  }[] | undefined;
33903
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
34830
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
33904
34831
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
33905
34832
  repoOwner?: string | undefined;
33906
34833
  repoName?: string | undefined;
@@ -34008,8 +34935,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34008
34935
  running: "running";
34009
34936
  attention: "attention";
34010
34937
  needs_input: "needs_input";
34011
- failed: "failed";
34012
34938
  done: "done";
34939
+ failed: "failed";
34013
34940
  }>;
34014
34941
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
34015
34942
  activityAt: z.ZodNullable<z.ZodString>;
@@ -34071,9 +34998,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34071
34998
  name: z.ZodString;
34072
34999
  status: z.ZodEnum<{
34073
35000
  success: "success";
34074
- failure: "failure";
34075
35001
  pending: "pending";
34076
35002
  skipped: "skipped";
35003
+ failure: "failure";
34077
35004
  cancelled: "cancelled";
34078
35005
  }>;
34079
35006
  url: z.ZodNullable<z.ZodString>;
@@ -34082,9 +35009,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34082
35009
  }, z.core.$strip>>>;
34083
35010
  checksStatus: z.ZodOptional<z.ZodEnum<{
34084
35011
  success: "success";
35012
+ pending: "pending";
34085
35013
  none: "none";
34086
35014
  failure: "failure";
34087
- pending: "pending";
34088
35015
  }>>;
34089
35016
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
34090
35017
  pending: "pending";
@@ -34188,7 +35115,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34188
35115
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
34189
35116
  name: string;
34190
35117
  archivingAt: string | null;
34191
- status: "running" | "attention" | "needs_input" | "failed" | "done";
35118
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
34192
35119
  statusEnteredAt: string | null;
34193
35120
  activityAt: string | null;
34194
35121
  scripts: {
@@ -34236,12 +35163,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34236
35163
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
34237
35164
  checks?: {
34238
35165
  name: string;
34239
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
35166
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
34240
35167
  url: string | null;
34241
35168
  workflow?: string | undefined;
34242
35169
  duration?: string | undefined;
34243
35170
  }[] | undefined;
34244
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
35171
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
34245
35172
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
34246
35173
  repoOwner?: string | undefined;
34247
35174
  repoName?: string | undefined;
@@ -34291,7 +35218,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34291
35218
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
34292
35219
  name: string;
34293
35220
  archivingAt: string | null;
34294
- status: "running" | "attention" | "needs_input" | "failed" | "done";
35221
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
34295
35222
  statusEnteredAt: string | null;
34296
35223
  activityAt: string | null;
34297
35224
  scripts: {
@@ -34340,12 +35267,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34340
35267
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
34341
35268
  checks?: {
34342
35269
  name: string;
34343
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
35270
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
34344
35271
  url: string | null;
34345
35272
  workflow?: string | undefined;
34346
35273
  duration?: string | undefined;
34347
35274
  }[] | undefined;
34348
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
35275
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
34349
35276
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
34350
35277
  repoOwner?: string | undefined;
34351
35278
  repoName?: string | undefined;
@@ -34921,8 +35848,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34921
35848
  running: "running";
34922
35849
  attention: "attention";
34923
35850
  needs_input: "needs_input";
34924
- failed: "failed";
34925
35851
  done: "done";
35852
+ failed: "failed";
34926
35853
  }>;
34927
35854
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
34928
35855
  activityAt: z.ZodNullable<z.ZodString>;
@@ -34984,9 +35911,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34984
35911
  name: z.ZodString;
34985
35912
  status: z.ZodEnum<{
34986
35913
  success: "success";
34987
- failure: "failure";
34988
35914
  pending: "pending";
34989
35915
  skipped: "skipped";
35916
+ failure: "failure";
34990
35917
  cancelled: "cancelled";
34991
35918
  }>;
34992
35919
  url: z.ZodNullable<z.ZodString>;
@@ -34995,9 +35922,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
34995
35922
  }, z.core.$strip>>>;
34996
35923
  checksStatus: z.ZodOptional<z.ZodEnum<{
34997
35924
  success: "success";
35925
+ pending: "pending";
34998
35926
  none: "none";
34999
35927
  failure: "failure";
35000
- pending: "pending";
35001
35928
  }>>;
35002
35929
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
35003
35930
  pending: "pending";
@@ -35101,7 +36028,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35101
36028
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
35102
36029
  name: string;
35103
36030
  archivingAt: string | null;
35104
- status: "running" | "attention" | "needs_input" | "failed" | "done";
36031
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
35105
36032
  statusEnteredAt: string | null;
35106
36033
  activityAt: string | null;
35107
36034
  scripts: {
@@ -35149,12 +36076,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35149
36076
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35150
36077
  checks?: {
35151
36078
  name: string;
35152
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
36079
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
35153
36080
  url: string | null;
35154
36081
  workflow?: string | undefined;
35155
36082
  duration?: string | undefined;
35156
36083
  }[] | undefined;
35157
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
36084
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35158
36085
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35159
36086
  repoOwner?: string | undefined;
35160
36087
  repoName?: string | undefined;
@@ -35204,7 +36131,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35204
36131
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
35205
36132
  name: string;
35206
36133
  archivingAt: string | null;
35207
- status: "running" | "attention" | "needs_input" | "failed" | "done";
36134
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
35208
36135
  statusEnteredAt: string | null;
35209
36136
  activityAt: string | null;
35210
36137
  scripts: {
@@ -35253,12 +36180,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35253
36180
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
35254
36181
  checks?: {
35255
36182
  name: string;
35256
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
36183
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
35257
36184
  url: string | null;
35258
36185
  workflow?: string | undefined;
35259
36186
  duration?: string | undefined;
35260
36187
  }[] | undefined;
35261
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
36188
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
35262
36189
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
35263
36190
  repoOwner?: string | undefined;
35264
36191
  repoName?: string | undefined;
@@ -35844,6 +36771,46 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
35844
36771
  error: z.ZodNullable<z.ZodString>;
35845
36772
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
35846
36773
  }, z.core.$strip>;
36774
+ }, z.core.$strip>, z.ZodObject<{
36775
+ type: z.ZodLiteral<"agent.background_task.stop.response">;
36776
+ payload: z.ZodObject<{
36777
+ requestId: z.ZodString;
36778
+ agentId: z.ZodString;
36779
+ accepted: z.ZodBoolean;
36780
+ error: z.ZodNullable<z.ZodString>;
36781
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
36782
+ }, z.core.$strip>;
36783
+ }, z.core.$strip>, z.ZodObject<{
36784
+ type: z.ZodLiteral<"agent.background_task.clear.response">;
36785
+ payload: z.ZodObject<{
36786
+ requestId: z.ZodString;
36787
+ agentId: z.ZodString;
36788
+ accepted: z.ZodBoolean;
36789
+ error: z.ZodNullable<z.ZodString>;
36790
+ notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
36791
+ }, z.core.$strip>;
36792
+ }, z.core.$strip>, z.ZodObject<{
36793
+ type: z.ZodLiteral<"background_shell_tasks_changed">;
36794
+ payload: z.ZodObject<{
36795
+ parentAgentId: z.ZodString;
36796
+ tasks: z.ZodArray<z.ZodObject<{
36797
+ id: z.ZodString;
36798
+ parentAgentId: z.ZodString;
36799
+ provider: z.ZodString;
36800
+ command: z.ZodOptional<z.ZodString>;
36801
+ description: z.ZodOptional<z.ZodString>;
36802
+ status: z.ZodEnum<{
36803
+ error: "error";
36804
+ idle: "idle";
36805
+ running: "running";
36806
+ closed: "closed";
36807
+ }>;
36808
+ requiresAttention: z.ZodOptional<z.ZodBoolean>;
36809
+ createdAt: z.ZodString;
36810
+ updatedAt: z.ZodString;
36811
+ archivedAt: z.ZodOptional<z.ZodString>;
36812
+ }, z.core.$strip>>;
36813
+ }, z.core.$strip>;
35847
36814
  }, z.core.$strip>, z.ZodObject<{
35848
36815
  type: z.ZodLiteral<"agent.personality.set.response">;
35849
36816
  payload: z.ZodObject<{
@@ -36478,6 +37445,134 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36478
37445
  text: z.ZodString;
36479
37446
  }, z.core.$strip>>;
36480
37447
  }, z.core.$strip>;
37448
+ }, z.core.$strip>, z.ZodObject<{
37449
+ type: z.ZodLiteral<"runs.get_snapshot.response">;
37450
+ payload: z.ZodObject<{
37451
+ runs: z.ZodArray<z.ZodObject<{
37452
+ id: z.ZodString;
37453
+ title: z.ZodString;
37454
+ status: z.ZodString;
37455
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
37456
+ autopilot: z.ZodOptional<z.ZodBoolean>;
37457
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
37458
+ id: z.ZodString;
37459
+ type: z.ZodString;
37460
+ title: z.ZodString;
37461
+ task: z.ZodString;
37462
+ status: z.ZodString;
37463
+ assigneeRole: z.ZodOptional<z.ZodString>;
37464
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
37465
+ fanOut: z.ZodOptional<z.ZodNumber>;
37466
+ keepBest: z.ZodOptional<z.ZodNumber>;
37467
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
37468
+ agentId: z.ZodString;
37469
+ personalityId: z.ZodOptional<z.ZodString>;
37470
+ verdict: z.ZodOptional<z.ZodObject<{
37471
+ verdict: z.ZodString;
37472
+ score: z.ZodOptional<z.ZodNumber>;
37473
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
37474
+ name: z.ZodString;
37475
+ met: z.ZodBoolean;
37476
+ evidence: z.ZodOptional<z.ZodString>;
37477
+ }, z.core.$loose>>>;
37478
+ summary: z.ZodOptional<z.ZodString>;
37479
+ }, z.core.$loose>>;
37480
+ summary: z.ZodOptional<z.ZodString>;
37481
+ }, z.core.$loose>>>;
37482
+ notes: z.ZodOptional<z.ZodString>;
37483
+ startedAt: z.ZodOptional<z.ZodString>;
37484
+ completedAt: z.ZodOptional<z.ZodString>;
37485
+ }, z.core.$loose>>>;
37486
+ conductorAgentId: z.ZodOptional<z.ZodString>;
37487
+ cwd: z.ZodOptional<z.ZodString>;
37488
+ workspaceId: z.ZodOptional<z.ZodString>;
37489
+ teamId: z.ZodOptional<z.ZodString>;
37490
+ teamName: z.ZodOptional<z.ZodString>;
37491
+ error: z.ZodOptional<z.ZodString>;
37492
+ summary: z.ZodOptional<z.ZodString>;
37493
+ summaryStatus: z.ZodOptional<z.ZodString>;
37494
+ agentCount: z.ZodOptional<z.ZodNumber>;
37495
+ createdAt: z.ZodOptional<z.ZodString>;
37496
+ updatedAt: z.ZodOptional<z.ZodString>;
37497
+ }, z.core.$loose>>;
37498
+ requestId: z.ZodString;
37499
+ }, z.core.$strip>;
37500
+ }, z.core.$strip>, z.ZodObject<{
37501
+ type: z.ZodLiteral<"runs.updated.notification">;
37502
+ payload: z.ZodObject<{
37503
+ run: z.ZodObject<{
37504
+ id: z.ZodString;
37505
+ title: z.ZodString;
37506
+ status: z.ZodString;
37507
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
37508
+ autopilot: z.ZodOptional<z.ZodBoolean>;
37509
+ phases: z.ZodDefault<z.ZodArray<z.ZodObject<{
37510
+ id: z.ZodString;
37511
+ type: z.ZodString;
37512
+ title: z.ZodString;
37513
+ task: z.ZodString;
37514
+ status: z.ZodString;
37515
+ assigneeRole: z.ZodOptional<z.ZodString>;
37516
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
37517
+ fanOut: z.ZodOptional<z.ZodNumber>;
37518
+ keepBest: z.ZodOptional<z.ZodNumber>;
37519
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
37520
+ agentId: z.ZodString;
37521
+ personalityId: z.ZodOptional<z.ZodString>;
37522
+ verdict: z.ZodOptional<z.ZodObject<{
37523
+ verdict: z.ZodString;
37524
+ score: z.ZodOptional<z.ZodNumber>;
37525
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
37526
+ name: z.ZodString;
37527
+ met: z.ZodBoolean;
37528
+ evidence: z.ZodOptional<z.ZodString>;
37529
+ }, z.core.$loose>>>;
37530
+ summary: z.ZodOptional<z.ZodString>;
37531
+ }, z.core.$loose>>;
37532
+ summary: z.ZodOptional<z.ZodString>;
37533
+ }, z.core.$loose>>>;
37534
+ notes: z.ZodOptional<z.ZodString>;
37535
+ startedAt: z.ZodOptional<z.ZodString>;
37536
+ completedAt: z.ZodOptional<z.ZodString>;
37537
+ }, z.core.$loose>>>;
37538
+ conductorAgentId: z.ZodOptional<z.ZodString>;
37539
+ cwd: z.ZodOptional<z.ZodString>;
37540
+ workspaceId: z.ZodOptional<z.ZodString>;
37541
+ teamId: z.ZodOptional<z.ZodString>;
37542
+ teamName: z.ZodOptional<z.ZodString>;
37543
+ error: z.ZodOptional<z.ZodString>;
37544
+ summary: z.ZodOptional<z.ZodString>;
37545
+ summaryStatus: z.ZodOptional<z.ZodString>;
37546
+ agentCount: z.ZodOptional<z.ZodNumber>;
37547
+ createdAt: z.ZodOptional<z.ZodString>;
37548
+ updatedAt: z.ZodOptional<z.ZodString>;
37549
+ }, z.core.$loose>;
37550
+ }, z.core.$strip>;
37551
+ }, z.core.$strip>, z.ZodObject<{
37552
+ type: z.ZodLiteral<"runs.gate_respond.response">;
37553
+ payload: z.ZodObject<{
37554
+ runId: z.ZodString;
37555
+ accepted: z.ZodBoolean;
37556
+ requestId: z.ZodString;
37557
+ }, z.core.$strip>;
37558
+ }, z.core.$strip>, z.ZodObject<{
37559
+ type: z.ZodLiteral<"runs.cancel.response">;
37560
+ payload: z.ZodObject<{
37561
+ runId: z.ZodString;
37562
+ canceled: z.ZodBoolean;
37563
+ requestId: z.ZodString;
37564
+ }, z.core.$strip>;
37565
+ }, z.core.$strip>, z.ZodObject<{
37566
+ type: z.ZodLiteral<"runs.clear.response">;
37567
+ payload: z.ZodObject<{
37568
+ runIds: z.ZodArray<z.ZodString>;
37569
+ requestId: z.ZodString;
37570
+ }, z.core.$strip>;
37571
+ }, z.core.$strip>, z.ZodObject<{
37572
+ type: z.ZodLiteral<"runs.cleared.notification">;
37573
+ payload: z.ZodObject<{
37574
+ runIds: z.ZodArray<z.ZodString>;
37575
+ }, z.core.$strip>;
36481
37576
  }, z.core.$strip>, z.ZodObject<{
36482
37577
  type: z.ZodLiteral<"checkout_merge_response">;
36483
37578
  payload: z.ZodObject<{
@@ -37098,8 +38193,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37098
38193
  running: "running";
37099
38194
  attention: "attention";
37100
38195
  needs_input: "needs_input";
37101
- failed: "failed";
37102
38196
  done: "done";
38197
+ failed: "failed";
37103
38198
  }>;
37104
38199
  statusEnteredAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
37105
38200
  activityAt: z.ZodNullable<z.ZodString>;
@@ -37161,9 +38256,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37161
38256
  name: z.ZodString;
37162
38257
  status: z.ZodEnum<{
37163
38258
  success: "success";
37164
- failure: "failure";
37165
38259
  pending: "pending";
37166
38260
  skipped: "skipped";
38261
+ failure: "failure";
37167
38262
  cancelled: "cancelled";
37168
38263
  }>;
37169
38264
  url: z.ZodNullable<z.ZodString>;
@@ -37172,9 +38267,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37172
38267
  }, z.core.$strip>>>;
37173
38268
  checksStatus: z.ZodOptional<z.ZodEnum<{
37174
38269
  success: "success";
38270
+ pending: "pending";
37175
38271
  none: "none";
37176
38272
  failure: "failure";
37177
- pending: "pending";
37178
38273
  }>>;
37179
38274
  reviewDecision: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
37180
38275
  pending: "pending";
@@ -37278,7 +38373,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37278
38373
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
37279
38374
  name: string;
37280
38375
  archivingAt: string | null;
37281
- status: "running" | "attention" | "needs_input" | "failed" | "done";
38376
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
37282
38377
  statusEnteredAt: string | null;
37283
38378
  activityAt: string | null;
37284
38379
  scripts: {
@@ -37326,12 +38421,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37326
38421
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
37327
38422
  checks?: {
37328
38423
  name: string;
37329
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
38424
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
37330
38425
  url: string | null;
37331
38426
  workflow?: string | undefined;
37332
38427
  duration?: string | undefined;
37333
38428
  }[] | undefined;
37334
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
38429
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
37335
38430
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
37336
38431
  repoOwner?: string | undefined;
37337
38432
  repoName?: string | undefined;
@@ -37381,7 +38476,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37381
38476
  workspaceKind: "worktree" | "checkout" | "directory" | "local_checkout";
37382
38477
  name: string;
37383
38478
  archivingAt: string | null;
37384
- status: "running" | "attention" | "needs_input" | "failed" | "done";
38479
+ status: "running" | "attention" | "needs_input" | "done" | "failed";
37385
38480
  statusEnteredAt: string | null;
37386
38481
  activityAt: string | null;
37387
38482
  scripts: {
@@ -37430,12 +38525,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37430
38525
  mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined;
37431
38526
  checks?: {
37432
38527
  name: string;
37433
- status: "success" | "failure" | "pending" | "skipped" | "cancelled";
38528
+ status: "success" | "pending" | "skipped" | "failure" | "cancelled";
37434
38529
  url: string | null;
37435
38530
  workflow?: string | undefined;
37436
38531
  duration?: string | undefined;
37437
38532
  }[] | undefined;
37438
- checksStatus?: "success" | "none" | "failure" | "pending" | undefined;
38533
+ checksStatus?: "success" | "pending" | "none" | "failure" | undefined;
37439
38534
  reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined;
37440
38535
  repoOwner?: string | undefined;
37441
38536
  repoName?: string | undefined;
@@ -37907,6 +39002,81 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37907
39002
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37908
39003
  }, z.core.$strip>>;
37909
39004
  }, z.core.$strip>;
39005
+ }, z.core.$strip>, z.ZodObject<{
39006
+ type: z.ZodLiteral<"stats.activity.get.response">;
39007
+ payload: z.ZodObject<{
39008
+ requestId: z.ZodString;
39009
+ today: z.ZodObject<{
39010
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39011
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39012
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39013
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39014
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39015
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39016
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39017
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39018
+ thoughts: z.ZodDefault<z.ZodNumber>;
39019
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39020
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39021
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39022
+ }, z.core.$strip>;
39023
+ yesterday: z.ZodObject<{
39024
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39025
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39026
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39027
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39028
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39029
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39030
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39031
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39032
+ thoughts: z.ZodDefault<z.ZodNumber>;
39033
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39034
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39035
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39036
+ }, z.core.$strip>;
39037
+ last7Days: z.ZodObject<{
39038
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39039
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39040
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39041
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39042
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39043
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39044
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39045
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39046
+ thoughts: z.ZodDefault<z.ZodNumber>;
39047
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39048
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39049
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39050
+ }, z.core.$strip>;
39051
+ last30Days: z.ZodObject<{
39052
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39053
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39054
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39055
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39056
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39057
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39058
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39059
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39060
+ thoughts: z.ZodDefault<z.ZodNumber>;
39061
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39062
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39063
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39064
+ }, z.core.$strip>;
39065
+ allTime: z.ZodObject<{
39066
+ messagesSent: z.ZodDefault<z.ZodNumber>;
39067
+ messagesReceived: z.ZodDefault<z.ZodNumber>;
39068
+ tokensSent: z.ZodDefault<z.ZodNumber>;
39069
+ tokensReceived: z.ZodDefault<z.ZodNumber>;
39070
+ agentsCreated: z.ZodDefault<z.ZodNumber>;
39071
+ runsOrchestrated: z.ZodDefault<z.ZodNumber>;
39072
+ subagentsInvoked: z.ZodDefault<z.ZodNumber>;
39073
+ backgroundTasksInvoked: z.ZodDefault<z.ZodNumber>;
39074
+ thoughts: z.ZodDefault<z.ZodNumber>;
39075
+ toolsCalled: z.ZodDefault<z.ZodNumber>;
39076
+ artifactsCreated: z.ZodDefault<z.ZodNumber>;
39077
+ schedulesExecuted: z.ZodDefault<z.ZodNumber>;
39078
+ }, z.core.$strip>;
39079
+ }, z.core.$strip>;
37910
39080
  }, z.core.$strip>, z.ZodObject<{
37911
39081
  type: z.ZodLiteral<"agent.context.get_usage.response">;
37912
39082
  payload: z.ZodObject<{
@@ -38177,12 +39347,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38177
39347
  schedule: z.ZodNullable<z.ZodObject<{
38178
39348
  prompt: z.ZodString;
38179
39349
  name: z.ZodNullable<z.ZodString>;
39350
+ id: z.ZodString;
38180
39351
  status: z.ZodEnum<{
39352
+ paused: "paused";
38181
39353
  completed: "completed";
38182
39354
  active: "active";
38183
- paused: "paused";
38184
39355
  }>;
38185
- id: z.ZodString;
38186
39356
  createdAt: z.ZodString;
38187
39357
  updatedAt: z.ZodString;
38188
39358
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38227,8 +39397,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38227
39397
  nextRunAt: z.ZodNullable<z.ZodString>;
38228
39398
  lastRunAt: z.ZodNullable<z.ZodString>;
38229
39399
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38230
- succeeded: "succeeded";
38231
39400
  failed: "failed";
39401
+ succeeded: "succeeded";
38232
39402
  }>>>;
38233
39403
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38234
39404
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -38244,12 +39414,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38244
39414
  schedules: z.ZodArray<z.ZodObject<{
38245
39415
  prompt: z.ZodString;
38246
39416
  name: z.ZodNullable<z.ZodString>;
39417
+ id: z.ZodString;
38247
39418
  status: z.ZodEnum<{
39419
+ paused: "paused";
38248
39420
  completed: "completed";
38249
39421
  active: "active";
38250
- paused: "paused";
38251
39422
  }>;
38252
- id: z.ZodString;
38253
39423
  createdAt: z.ZodString;
38254
39424
  updatedAt: z.ZodString;
38255
39425
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38294,8 +39464,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38294
39464
  nextRunAt: z.ZodNullable<z.ZodString>;
38295
39465
  lastRunAt: z.ZodNullable<z.ZodString>;
38296
39466
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38297
- succeeded: "succeeded";
38298
39467
  failed: "failed";
39468
+ succeeded: "succeeded";
38299
39469
  }>>>;
38300
39470
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38301
39471
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -38352,17 +39522,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38352
39522
  }, z.core.$strip>;
38353
39523
  }, z.core.$strip>], "type">;
38354
39524
  status: z.ZodEnum<{
39525
+ paused: "paused";
38355
39526
  completed: "completed";
38356
39527
  active: "active";
38357
- paused: "paused";
38358
39528
  }>;
38359
39529
  createdAt: z.ZodString;
38360
39530
  updatedAt: z.ZodString;
38361
39531
  nextRunAt: z.ZodNullable<z.ZodString>;
38362
39532
  lastRunAt: z.ZodNullable<z.ZodString>;
38363
39533
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38364
- succeeded: "succeeded";
38365
39534
  failed: "failed";
39535
+ succeeded: "succeeded";
38366
39536
  }>>>;
38367
39537
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38368
39538
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -38375,8 +39545,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38375
39545
  endedAt: z.ZodNullable<z.ZodString>;
38376
39546
  status: z.ZodEnum<{
38377
39547
  running: "running";
38378
- succeeded: "succeeded";
38379
39548
  failed: "failed";
39549
+ succeeded: "succeeded";
38380
39550
  }>;
38381
39551
  agentId: z.ZodNullable<z.ZodGUID>;
38382
39552
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -38397,8 +39567,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38397
39567
  endedAt: z.ZodNullable<z.ZodString>;
38398
39568
  status: z.ZodEnum<{
38399
39569
  running: "running";
38400
- succeeded: "succeeded";
38401
39570
  failed: "failed";
39571
+ succeeded: "succeeded";
38402
39572
  }>;
38403
39573
  agentId: z.ZodNullable<z.ZodGUID>;
38404
39574
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -38414,12 +39584,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38414
39584
  schedule: z.ZodNullable<z.ZodObject<{
38415
39585
  prompt: z.ZodString;
38416
39586
  name: z.ZodNullable<z.ZodString>;
39587
+ id: z.ZodString;
38417
39588
  status: z.ZodEnum<{
39589
+ paused: "paused";
38418
39590
  completed: "completed";
38419
39591
  active: "active";
38420
- paused: "paused";
38421
39592
  }>;
38422
- id: z.ZodString;
38423
39593
  createdAt: z.ZodString;
38424
39594
  updatedAt: z.ZodString;
38425
39595
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38464,8 +39634,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38464
39634
  nextRunAt: z.ZodNullable<z.ZodString>;
38465
39635
  lastRunAt: z.ZodNullable<z.ZodString>;
38466
39636
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38467
- succeeded: "succeeded";
38468
39637
  failed: "failed";
39638
+ succeeded: "succeeded";
38469
39639
  }>>>;
38470
39640
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38471
39641
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -38481,12 +39651,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38481
39651
  schedule: z.ZodNullable<z.ZodObject<{
38482
39652
  prompt: z.ZodString;
38483
39653
  name: z.ZodNullable<z.ZodString>;
39654
+ id: z.ZodString;
38484
39655
  status: z.ZodEnum<{
39656
+ paused: "paused";
38485
39657
  completed: "completed";
38486
39658
  active: "active";
38487
- paused: "paused";
38488
39659
  }>;
38489
- id: z.ZodString;
38490
39660
  createdAt: z.ZodString;
38491
39661
  updatedAt: z.ZodString;
38492
39662
  cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -38531,8 +39701,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38531
39701
  nextRunAt: z.ZodNullable<z.ZodString>;
38532
39702
  lastRunAt: z.ZodNullable<z.ZodString>;
38533
39703
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38534
- succeeded: "succeeded";
38535
39704
  failed: "failed";
39705
+ succeeded: "succeeded";
38536
39706
  }>>>;
38537
39707
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38538
39708
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -38596,17 +39766,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38596
39766
  }, z.core.$strip>;
38597
39767
  }, z.core.$strip>], "type">;
38598
39768
  status: z.ZodEnum<{
39769
+ paused: "paused";
38599
39770
  completed: "completed";
38600
39771
  active: "active";
38601
- paused: "paused";
38602
39772
  }>;
38603
39773
  createdAt: z.ZodString;
38604
39774
  updatedAt: z.ZodString;
38605
39775
  nextRunAt: z.ZodNullable<z.ZodString>;
38606
39776
  lastRunAt: z.ZodNullable<z.ZodString>;
38607
39777
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38608
- succeeded: "succeeded";
38609
39778
  failed: "failed";
39779
+ succeeded: "succeeded";
38610
39780
  }>>>;
38611
39781
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38612
39782
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -38619,8 +39789,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38619
39789
  endedAt: z.ZodNullable<z.ZodString>;
38620
39790
  status: z.ZodEnum<{
38621
39791
  running: "running";
38622
- succeeded: "succeeded";
38623
39792
  failed: "failed";
39793
+ succeeded: "succeeded";
38624
39794
  }>;
38625
39795
  agentId: z.ZodNullable<z.ZodGUID>;
38626
39796
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -38678,17 +39848,17 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38678
39848
  }, z.core.$strip>;
38679
39849
  }, z.core.$strip>], "type">;
38680
39850
  status: z.ZodEnum<{
39851
+ paused: "paused";
38681
39852
  completed: "completed";
38682
39853
  active: "active";
38683
- paused: "paused";
38684
39854
  }>;
38685
39855
  createdAt: z.ZodString;
38686
39856
  updatedAt: z.ZodString;
38687
39857
  nextRunAt: z.ZodNullable<z.ZodString>;
38688
39858
  lastRunAt: z.ZodNullable<z.ZodString>;
38689
39859
  lastRunStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38690
- succeeded: "succeeded";
38691
39860
  failed: "failed";
39861
+ succeeded: "succeeded";
38692
39862
  }>>>;
38693
39863
  lastRunError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38694
39864
  pausedAt: z.ZodNullable<z.ZodString>;
@@ -38701,8 +39871,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38701
39871
  endedAt: z.ZodNullable<z.ZodString>;
38702
39872
  status: z.ZodEnum<{
38703
39873
  running: "running";
38704
- succeeded: "succeeded";
38705
39874
  failed: "failed";
39875
+ succeeded: "succeeded";
38706
39876
  }>;
38707
39877
  agentId: z.ZodNullable<z.ZodGUID>;
38708
39878
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -38737,8 +39907,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38737
39907
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
38738
39908
  status: z.ZodEnum<{
38739
39909
  running: "running";
38740
- succeeded: "succeeded";
38741
39910
  failed: "failed";
39911
+ succeeded: "succeeded";
38742
39912
  stopped: "stopped";
38743
39913
  }>;
38744
39914
  createdAt: z.ZodString;
@@ -38754,14 +39924,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38754
39924
  verifierAgentId: z.ZodNullable<z.ZodString>;
38755
39925
  status: z.ZodEnum<{
38756
39926
  running: "running";
38757
- succeeded: "succeeded";
38758
39927
  failed: "failed";
39928
+ succeeded: "succeeded";
38759
39929
  stopped: "stopped";
38760
39930
  }>;
38761
39931
  workerOutcome: z.ZodNullable<z.ZodEnum<{
38762
39932
  failed: "failed";
38763
- completed: "completed";
38764
39933
  canceled: "canceled";
39934
+ completed: "completed";
38765
39935
  }>>;
38766
39936
  failureReason: z.ZodNullable<z.ZodString>;
38767
39937
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -38813,8 +39983,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38813
39983
  name: z.ZodNullable<z.ZodString>;
38814
39984
  status: z.ZodEnum<{
38815
39985
  running: "running";
38816
- succeeded: "succeeded";
38817
39986
  failed: "failed";
39987
+ succeeded: "succeeded";
38818
39988
  stopped: "stopped";
38819
39989
  }>;
38820
39990
  cwd: z.ZodString;
@@ -38849,8 +40019,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38849
40019
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
38850
40020
  status: z.ZodEnum<{
38851
40021
  running: "running";
38852
- succeeded: "succeeded";
38853
40022
  failed: "failed";
40023
+ succeeded: "succeeded";
38854
40024
  stopped: "stopped";
38855
40025
  }>;
38856
40026
  createdAt: z.ZodString;
@@ -38866,14 +40036,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38866
40036
  verifierAgentId: z.ZodNullable<z.ZodString>;
38867
40037
  status: z.ZodEnum<{
38868
40038
  running: "running";
38869
- succeeded: "succeeded";
38870
40039
  failed: "failed";
40040
+ succeeded: "succeeded";
38871
40041
  stopped: "stopped";
38872
40042
  }>;
38873
40043
  workerOutcome: z.ZodNullable<z.ZodEnum<{
38874
40044
  failed: "failed";
38875
- completed: "completed";
38876
40045
  canceled: "canceled";
40046
+ completed: "completed";
38877
40047
  }>>;
38878
40048
  failureReason: z.ZodNullable<z.ZodString>;
38879
40049
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -38941,8 +40111,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38941
40111
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
38942
40112
  status: z.ZodEnum<{
38943
40113
  running: "running";
38944
- succeeded: "succeeded";
38945
40114
  failed: "failed";
40115
+ succeeded: "succeeded";
38946
40116
  stopped: "stopped";
38947
40117
  }>;
38948
40118
  createdAt: z.ZodString;
@@ -38958,14 +40128,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38958
40128
  verifierAgentId: z.ZodNullable<z.ZodString>;
38959
40129
  status: z.ZodEnum<{
38960
40130
  running: "running";
38961
- succeeded: "succeeded";
38962
40131
  failed: "failed";
40132
+ succeeded: "succeeded";
38963
40133
  stopped: "stopped";
38964
40134
  }>;
38965
40135
  workerOutcome: z.ZodNullable<z.ZodEnum<{
38966
40136
  failed: "failed";
38967
- completed: "completed";
38968
40137
  canceled: "canceled";
40138
+ completed: "completed";
38969
40139
  }>>;
38970
40140
  failureReason: z.ZodNullable<z.ZodString>;
38971
40141
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -39050,8 +40220,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39050
40220
  maxTimeMs: z.ZodNullable<z.ZodNumber>;
39051
40221
  status: z.ZodEnum<{
39052
40222
  running: "running";
39053
- succeeded: "succeeded";
39054
40223
  failed: "failed";
40224
+ succeeded: "succeeded";
39055
40225
  stopped: "stopped";
39056
40226
  }>;
39057
40227
  createdAt: z.ZodString;
@@ -39067,14 +40237,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39067
40237
  verifierAgentId: z.ZodNullable<z.ZodString>;
39068
40238
  status: z.ZodEnum<{
39069
40239
  running: "running";
39070
- succeeded: "succeeded";
39071
40240
  failed: "failed";
40241
+ succeeded: "succeeded";
39072
40242
  stopped: "stopped";
39073
40243
  }>;
39074
40244
  workerOutcome: z.ZodNullable<z.ZodEnum<{
39075
40245
  failed: "failed";
39076
- completed: "completed";
39077
40246
  canceled: "canceled";
40247
+ completed: "completed";
39078
40248
  }>>;
39079
40249
  failureReason: z.ZodNullable<z.ZodString>;
39080
40250
  verifyChecks: z.ZodArray<z.ZodObject<{
@@ -39152,8 +40322,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39152
40322
  starred: z.ZodBoolean;
39153
40323
  status: z.ZodEnum<{
39154
40324
  error: "error";
39155
- generating: "generating";
39156
40325
  ready: "ready";
40326
+ generating: "generating";
39157
40327
  }>;
39158
40328
  createdAt: z.ZodString;
39159
40329
  updatedAt: z.ZodString;
@@ -39187,8 +40357,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39187
40357
  starred: z.ZodBoolean;
39188
40358
  status: z.ZodEnum<{
39189
40359
  error: "error";
39190
- generating: "generating";
39191
40360
  ready: "ready";
40361
+ generating: "generating";
39192
40362
  }>;
39193
40363
  createdAt: z.ZodString;
39194
40364
  updatedAt: z.ZodString;
@@ -39222,8 +40392,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39222
40392
  starred: z.ZodBoolean;
39223
40393
  status: z.ZodEnum<{
39224
40394
  error: "error";
39225
- generating: "generating";
39226
40395
  ready: "ready";
40396
+ generating: "generating";
39227
40397
  }>;
39228
40398
  createdAt: z.ZodString;
39229
40399
  updatedAt: z.ZodString;
@@ -39257,8 +40427,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39257
40427
  starred: z.ZodBoolean;
39258
40428
  status: z.ZodEnum<{
39259
40429
  error: "error";
39260
- generating: "generating";
39261
40430
  ready: "ready";
40431
+ generating: "generating";
39262
40432
  }>;
39263
40433
  createdAt: z.ZodString;
39264
40434
  updatedAt: z.ZodString;
@@ -39292,8 +40462,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39292
40462
  starred: z.ZodBoolean;
39293
40463
  status: z.ZodEnum<{
39294
40464
  error: "error";
39295
- generating: "generating";
39296
40465
  ready: "ready";
40466
+ generating: "generating";
39297
40467
  }>;
39298
40468
  createdAt: z.ZodString;
39299
40469
  updatedAt: z.ZodString;
@@ -39334,8 +40504,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39334
40504
  starred: z.ZodBoolean;
39335
40505
  status: z.ZodEnum<{
39336
40506
  error: "error";
39337
- generating: "generating";
39338
40507
  ready: "ready";
40508
+ generating: "generating";
39339
40509
  }>;
39340
40510
  createdAt: z.ZodString;
39341
40511
  updatedAt: z.ZodString;
@@ -39377,8 +40547,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39377
40547
  starred: z.ZodBoolean;
39378
40548
  status: z.ZodEnum<{
39379
40549
  error: "error";
39380
- generating: "generating";
39381
40550
  ready: "ready";
40551
+ generating: "generating";
39382
40552
  }>;
39383
40553
  createdAt: z.ZodString;
39384
40554
  updatedAt: z.ZodString;
@@ -39409,8 +40579,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
39409
40579
  starred: z.ZodBoolean;
39410
40580
  status: z.ZodEnum<{
39411
40581
  error: "error";
39412
- generating: "generating";
39413
40582
  ready: "ready";
40583
+ generating: "generating";
39414
40584
  }>;
39415
40585
  createdAt: z.ZodString;
39416
40586
  updatedAt: z.ZodString;