@otto-code/protocol 0.9.0 → 0.9.3

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.
@@ -354,9 +354,9 @@ export declare const WSOutboundMessageSchema: {
354
354
  provider: import("zod").ZodString;
355
355
  info: import("zod").ZodObject<{
356
356
  status: import("zod").ZodEnum<{
357
+ allowed: "allowed";
357
358
  warning: "warning";
358
359
  rejected: "rejected";
359
- allowed: "allowed";
360
360
  }>;
361
361
  utilizationPercent: import("zod").ZodOptional<import("zod").ZodNumber>;
362
362
  limitType: import("zod").ZodOptional<import("zod").ZodString>;
@@ -520,8 +520,8 @@ export declare const WSOutboundMessageSchema: {
520
520
  args: import("zod").ZodObject<{
521
521
  browserId: import("zod").ZodString;
522
522
  filter: import("zod").ZodDefault<import("zod").ZodEnum<{
523
- failed: "failed";
524
523
  all: "all";
524
+ failed: "failed";
525
525
  }>>;
526
526
  requestId: import("zod").ZodOptional<import("zod").ZodString>;
527
527
  }, import("zod/v4/core").$strict>;
@@ -561,9 +561,9 @@ export declare const WSOutboundMessageSchema: {
561
561
  args: import("zod").ZodObject<{
562
562
  browserId: import("zod").ZodString;
563
563
  colorScheme: import("zod").ZodEnum<{
564
- auto: "auto";
565
564
  light: "light";
566
565
  dark: "dark";
566
+ auto: "auto";
567
567
  }>;
568
568
  }, import("zod/v4/core").$strict>;
569
569
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -936,8 +936,8 @@ export declare const WSOutboundMessageSchema: {
936
936
  type: import("zod").ZodLiteral<"artifact">;
937
937
  payload: import("zod").ZodObject<{
938
938
  type: import("zod").ZodEnum<{
939
- image: "image";
940
939
  code: "code";
940
+ image: "image";
941
941
  markdown: "markdown";
942
942
  diff: "diff";
943
943
  }>;
@@ -1235,8 +1235,8 @@ export declare const WSOutboundMessageSchema: {
1235
1235
  archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
1236
1236
  status: import("zod").ZodEnum<{
1237
1237
  running: "running";
1238
- done: "done";
1239
1238
  failed: "failed";
1239
+ done: "done";
1240
1240
  attention: "attention";
1241
1241
  needs_input: "needs_input";
1242
1242
  }>;
@@ -1431,7 +1431,7 @@ export declare const WSOutboundMessageSchema: {
1431
1431
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
1432
1432
  name: string;
1433
1433
  archivingAt: string | null;
1434
- status: "running" | "done" | "failed" | "attention" | "needs_input";
1434
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
1435
1435
  statusEnteredAt: string | null;
1436
1436
  activityAt: string | null;
1437
1437
  scripts: {
@@ -1558,7 +1558,7 @@ export declare const WSOutboundMessageSchema: {
1558
1558
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
1559
1559
  name: string;
1560
1560
  archivingAt: string | null;
1561
- status: "running" | "done" | "failed" | "attention" | "needs_input";
1561
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
1562
1562
  statusEnteredAt: string | null;
1563
1563
  activityAt: string | null;
1564
1564
  scripts: {
@@ -1987,8 +1987,8 @@ export declare const WSOutboundMessageSchema: {
1987
1987
  workspaceId: import("zod").ZodString;
1988
1988
  status: import("zod").ZodEnum<{
1989
1989
  running: "running";
1990
- completed: "completed";
1991
1990
  failed: "failed";
1991
+ completed: "completed";
1992
1992
  }>;
1993
1993
  detail: import("zod").ZodObject<{
1994
1994
  type: import("zod").ZodLiteral<"worktree_setup">;
@@ -2002,8 +2002,8 @@ export declare const WSOutboundMessageSchema: {
2002
2002
  log: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
2003
2003
  status: import("zod").ZodEnum<{
2004
2004
  running: "running";
2005
- completed: "completed";
2006
2005
  failed: "failed";
2006
+ completed: "completed";
2007
2007
  }>;
2008
2008
  exitCode: import("zod").ZodNullable<import("zod").ZodNumber>;
2009
2009
  durationMs: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -2020,8 +2020,8 @@ export declare const WSOutboundMessageSchema: {
2020
2020
  snapshot: import("zod").ZodNullable<import("zod").ZodObject<{
2021
2021
  status: import("zod").ZodEnum<{
2022
2022
  running: "running";
2023
- completed: "completed";
2024
2023
  failed: "failed";
2024
+ completed: "completed";
2025
2025
  }>;
2026
2026
  detail: import("zod").ZodObject<{
2027
2027
  type: import("zod").ZodLiteral<"worktree_setup">;
@@ -2035,8 +2035,8 @@ export declare const WSOutboundMessageSchema: {
2035
2035
  log: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
2036
2036
  status: import("zod").ZodEnum<{
2037
2037
  running: "running";
2038
- completed: "completed";
2039
2038
  failed: "failed";
2039
+ completed: "completed";
2040
2040
  }>;
2041
2041
  exitCode: import("zod").ZodNullable<import("zod").ZodNumber>;
2042
2042
  durationMs: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -2122,9 +2122,9 @@ export declare const WSOutboundMessageSchema: {
2122
2122
  provider: import("zod").ZodString;
2123
2123
  info: import("zod").ZodObject<{
2124
2124
  status: import("zod").ZodEnum<{
2125
+ allowed: "allowed";
2125
2126
  warning: "warning";
2126
2127
  rejected: "rejected";
2127
- allowed: "allowed";
2128
2128
  }>;
2129
2129
  utilizationPercent: import("zod").ZodOptional<import("zod").ZodNumber>;
2130
2130
  limitType: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2756,8 +2756,8 @@ export declare const WSOutboundMessageSchema: {
2756
2756
  archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
2757
2757
  status: import("zod").ZodEnum<{
2758
2758
  running: "running";
2759
- done: "done";
2760
2759
  failed: "failed";
2760
+ done: "done";
2761
2761
  attention: "attention";
2762
2762
  needs_input: "needs_input";
2763
2763
  }>;
@@ -2952,7 +2952,7 @@ export declare const WSOutboundMessageSchema: {
2952
2952
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
2953
2953
  name: string;
2954
2954
  archivingAt: string | null;
2955
- status: "running" | "done" | "failed" | "attention" | "needs_input";
2955
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
2956
2956
  statusEnteredAt: string | null;
2957
2957
  activityAt: string | null;
2958
2958
  scripts: {
@@ -3079,7 +3079,7 @@ export declare const WSOutboundMessageSchema: {
3079
3079
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
3080
3080
  name: string;
3081
3081
  archivingAt: string | null;
3082
- status: "running" | "done" | "failed" | "attention" | "needs_input";
3082
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
3083
3083
  statusEnteredAt: string | null;
3084
3084
  activityAt: string | null;
3085
3085
  scripts: {
@@ -3359,8 +3359,8 @@ export declare const WSOutboundMessageSchema: {
3359
3359
  id: import("zod").ZodString;
3360
3360
  status: import("zod").ZodEnum<{
3361
3361
  running: "running";
3362
- done: "done";
3363
3362
  failed: "failed";
3363
+ done: "done";
3364
3364
  skipped: "skipped";
3365
3365
  }>;
3366
3366
  detail: import("zod").ZodNullable<import("zod").ZodString>;
@@ -3373,8 +3373,8 @@ export declare const WSOutboundMessageSchema: {
3373
3373
  step: import("zod").ZodString;
3374
3374
  status: import("zod").ZodEnum<{
3375
3375
  running: "running";
3376
- done: "done";
3377
3376
  failed: "failed";
3377
+ done: "done";
3378
3378
  skipped: "skipped";
3379
3379
  }>;
3380
3380
  detail: import("zod").ZodNullable<import("zod").ZodString>;
@@ -3461,8 +3461,8 @@ export declare const WSOutboundMessageSchema: {
3461
3461
  archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
3462
3462
  status: import("zod").ZodEnum<{
3463
3463
  running: "running";
3464
- done: "done";
3465
3464
  failed: "failed";
3465
+ done: "done";
3466
3466
  attention: "attention";
3467
3467
  needs_input: "needs_input";
3468
3468
  }>;
@@ -3657,7 +3657,7 @@ export declare const WSOutboundMessageSchema: {
3657
3657
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
3658
3658
  name: string;
3659
3659
  archivingAt: string | null;
3660
- status: "running" | "done" | "failed" | "attention" | "needs_input";
3660
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
3661
3661
  statusEnteredAt: string | null;
3662
3662
  activityAt: string | null;
3663
3663
  scripts: {
@@ -3784,7 +3784,7 @@ export declare const WSOutboundMessageSchema: {
3784
3784
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
3785
3785
  name: string;
3786
3786
  archivingAt: string | null;
3787
- status: "running" | "done" | "failed" | "attention" | "needs_input";
3787
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
3788
3788
  statusEnteredAt: string | null;
3789
3789
  activityAt: string | null;
3790
3790
  scripts: {
@@ -4350,8 +4350,8 @@ export declare const WSOutboundMessageSchema: {
4350
4350
  archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
4351
4351
  status: import("zod").ZodEnum<{
4352
4352
  running: "running";
4353
- done: "done";
4354
4353
  failed: "failed";
4354
+ done: "done";
4355
4355
  attention: "attention";
4356
4356
  needs_input: "needs_input";
4357
4357
  }>;
@@ -4546,7 +4546,7 @@ export declare const WSOutboundMessageSchema: {
4546
4546
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
4547
4547
  name: string;
4548
4548
  archivingAt: string | null;
4549
- status: "running" | "done" | "failed" | "attention" | "needs_input";
4549
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
4550
4550
  statusEnteredAt: string | null;
4551
4551
  activityAt: string | null;
4552
4552
  scripts: {
@@ -4673,7 +4673,7 @@ export declare const WSOutboundMessageSchema: {
4673
4673
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
4674
4674
  name: string;
4675
4675
  archivingAt: string | null;
4676
- status: "running" | "done" | "failed" | "attention" | "needs_input";
4676
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
4677
4677
  statusEnteredAt: string | null;
4678
4678
  activityAt: string | null;
4679
4679
  scripts: {
@@ -5133,6 +5133,14 @@ export declare const WSOutboundMessageSchema: {
5133
5133
  hasOlder: import("zod").ZodBoolean;
5134
5134
  hasNewer: import("zod").ZodBoolean;
5135
5135
  mergeWindow: import("zod").ZodOptional<import("zod").ZodBoolean>;
5136
+ promptIndex: import("zod").ZodOptional<import("zod").ZodObject<{
5137
+ epoch: import("zod").ZodString;
5138
+ prompts: import("zod").ZodArray<import("zod").ZodObject<{
5139
+ seq: import("zod").ZodNumber;
5140
+ timestamp: import("zod").ZodString;
5141
+ preview: import("zod").ZodString;
5142
+ }, import("zod/v4/core").$strip>>;
5143
+ }, import("zod/v4/core").$strip>>;
5136
5144
  entries: import("zod").ZodArray<import("zod").ZodObject<{
5137
5145
  provider: import("zod").ZodString;
5138
5146
  item: import("zod").ZodType<import("../agent-types.js").AgentTimelineItem, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").AgentTimelineItem, unknown>>;
@@ -5155,15 +5163,15 @@ export declare const WSOutboundMessageSchema: {
5155
5163
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5156
5164
  type: import("zod").ZodLiteral<"agent.timeline.list_prompts.response">;
5157
5165
  payload: import("zod").ZodObject<{
5158
- requestId: import("zod").ZodString;
5159
- agentId: import("zod").ZodString;
5166
+ error: import("zod").ZodNullable<import("zod").ZodString>;
5160
5167
  epoch: import("zod").ZodString;
5161
5168
  prompts: import("zod").ZodArray<import("zod").ZodObject<{
5162
5169
  seq: import("zod").ZodNumber;
5163
5170
  timestamp: import("zod").ZodString;
5164
5171
  preview: import("zod").ZodString;
5165
5172
  }, import("zod/v4/core").$strip>>;
5166
- error: import("zod").ZodNullable<import("zod").ZodString>;
5173
+ requestId: import("zod").ZodString;
5174
+ agentId: import("zod").ZodString;
5167
5175
  }, import("zod/v4/core").$strip>;
5168
5176
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5169
5177
  type: import("zod").ZodLiteral<"agent.provider_subagents.list.response">;
@@ -5178,8 +5186,8 @@ export declare const WSOutboundMessageSchema: {
5178
5186
  description: import("zod").ZodNullable<import("zod").ZodString>;
5179
5187
  status: import("zod").ZodEnum<{
5180
5188
  running: "running";
5181
- completed: "completed";
5182
5189
  failed: "failed";
5190
+ completed: "completed";
5183
5191
  canceled: "canceled";
5184
5192
  }>;
5185
5193
  createdAt: import("zod").ZodString;
@@ -5232,8 +5240,8 @@ export declare const WSOutboundMessageSchema: {
5232
5240
  description: import("zod").ZodNullable<import("zod").ZodString>;
5233
5241
  status: import("zod").ZodEnum<{
5234
5242
  running: "running";
5235
- completed: "completed";
5236
5243
  failed: "failed";
5244
+ completed: "completed";
5237
5245
  canceled: "canceled";
5238
5246
  }>;
5239
5247
  createdAt: import("zod").ZodString;
@@ -5619,8 +5627,8 @@ export declare const WSOutboundMessageSchema: {
5619
5627
  archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
5620
5628
  status: import("zod").ZodEnum<{
5621
5629
  running: "running";
5622
- done: "done";
5623
5630
  failed: "failed";
5631
+ done: "done";
5624
5632
  attention: "attention";
5625
5633
  needs_input: "needs_input";
5626
5634
  }>;
@@ -5815,7 +5823,7 @@ export declare const WSOutboundMessageSchema: {
5815
5823
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
5816
5824
  name: string;
5817
5825
  archivingAt: string | null;
5818
- status: "running" | "done" | "failed" | "attention" | "needs_input";
5826
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
5819
5827
  statusEnteredAt: string | null;
5820
5828
  activityAt: string | null;
5821
5829
  scripts: {
@@ -5942,7 +5950,7 @@ export declare const WSOutboundMessageSchema: {
5942
5950
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
5943
5951
  name: string;
5944
5952
  archivingAt: string | null;
5945
- status: "running" | "done" | "failed" | "attention" | "needs_input";
5953
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
5946
5954
  statusEnteredAt: string | null;
5947
5955
  activityAt: string | null;
5948
5956
  scripts: {
@@ -8083,9 +8091,9 @@ export declare const WSOutboundMessageSchema: {
8083
8091
  tldr: import("zod").ZodString;
8084
8092
  cwd: import("zod").ZodOptional<import("zod").ZodString>;
8085
8093
  state: import("zod").ZodEnum<{
8094
+ dismissed: "dismissed";
8086
8095
  pending: "pending";
8087
8096
  started: "started";
8088
- dismissed: "dismissed";
8089
8097
  }>;
8090
8098
  createdAt: import("zod").ZodString;
8091
8099
  updatedAt: import("zod").ZodString;
@@ -8940,9 +8948,9 @@ export declare const WSOutboundMessageSchema: {
8940
8948
  value: import("zod").ZodString;
8941
8949
  label: import("zod").ZodString;
8942
8950
  kind: import("zod").ZodEnum<{
8951
+ all: "all";
8943
8952
  tailscale: "tailscale";
8944
8953
  loopback: "loopback";
8945
- all: "all";
8946
8954
  lan: "lan";
8947
8955
  }>;
8948
8956
  }, import("zod/v4/core").$loose>>>;
@@ -13100,8 +13108,8 @@ export declare const WSOutboundMessageSchema: {
13100
13108
  archivingAt: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
13101
13109
  status: import("zod").ZodEnum<{
13102
13110
  running: "running";
13103
- done: "done";
13104
13111
  failed: "failed";
13112
+ done: "done";
13105
13113
  attention: "attention";
13106
13114
  needs_input: "needs_input";
13107
13115
  }>;
@@ -13296,7 +13304,7 @@ export declare const WSOutboundMessageSchema: {
13296
13304
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
13297
13305
  name: string;
13298
13306
  archivingAt: string | null;
13299
- status: "running" | "done" | "failed" | "attention" | "needs_input";
13307
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
13300
13308
  statusEnteredAt: string | null;
13301
13309
  activityAt: string | null;
13302
13310
  scripts: {
@@ -13423,7 +13431,7 @@ export declare const WSOutboundMessageSchema: {
13423
13431
  workspaceKind: "worktree" | "directory" | "checkout" | "local_checkout";
13424
13432
  name: string;
13425
13433
  archivingAt: string | null;
13426
- status: "running" | "done" | "failed" | "attention" | "needs_input";
13434
+ status: "running" | "failed" | "done" | "attention" | "needs_input";
13427
13435
  statusEnteredAt: string | null;
13428
13436
  activityAt: string | null;
13429
13437
  scripts: {
@@ -13950,8 +13958,8 @@ export declare const WSOutboundMessageSchema: {
13950
13958
  cwd: import("zod").ZodString;
13951
13959
  status: import("zod").ZodEnum<{
13952
13960
  error: "error";
13953
- completed: "completed";
13954
13961
  truncated: "truncated";
13962
+ completed: "completed";
13955
13963
  superseded: "superseded";
13956
13964
  }>;
13957
13965
  error: import("zod").ZodNullable<import("zod").ZodString>;
@@ -14287,9 +14295,9 @@ export declare const WSOutboundMessageSchema: {
14287
14295
  solutionPath: import("zod").ZodString;
14288
14296
  projectPath: import("zod").ZodString;
14289
14297
  status: import("zod").ZodEnum<{
14298
+ failed: "failed";
14290
14299
  ok: "ok";
14291
14300
  unavailable: "unavailable";
14292
- failed: "failed";
14293
14301
  }>;
14294
14302
  nodes: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
14295
14303
  kind: import("zod").ZodLiteral<"directory">;
@@ -14453,13 +14461,13 @@ export declare const WSOutboundMessageSchema: {
14453
14461
  error: import("zod").ZodOptional<import("zod").ZodString>;
14454
14462
  description: import("zod").ZodOptional<import("zod").ZodString>;
14455
14463
  label: import("zod").ZodOptional<import("zod").ZodString>;
14464
+ status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
14456
14465
  source: import("zod").ZodOptional<import("zod").ZodEnum<{
14457
14466
  custom: "custom";
14458
14467
  builtin: "builtin";
14459
14468
  }>>;
14460
14469
  enabled: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
14461
14470
  provider: import("zod").ZodString;
14462
- status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
14463
14471
  defaultModeId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14464
14472
  modes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("../agent-types.js").AgentMode, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").AgentMode, unknown>>>>;
14465
14473
  fetchedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -14545,13 +14553,13 @@ export declare const WSOutboundMessageSchema: {
14545
14553
  error: import("zod").ZodOptional<import("zod").ZodString>;
14546
14554
  description: import("zod").ZodOptional<import("zod").ZodString>;
14547
14555
  label: import("zod").ZodOptional<import("zod").ZodString>;
14556
+ status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
14548
14557
  source: import("zod").ZodOptional<import("zod").ZodEnum<{
14549
14558
  custom: "custom";
14550
14559
  builtin: "builtin";
14551
14560
  }>>;
14552
14561
  enabled: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
14553
14562
  provider: import("zod").ZodString;
14554
- status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
14555
14563
  defaultModeId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14556
14564
  modes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("../agent-types.js").AgentMode, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").AgentMode, unknown>>>>;
14557
14565
  fetchedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -14626,9 +14634,9 @@ export declare const WSOutboundMessageSchema: {
14626
14634
  runsOutAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14627
14635
  shortfallPct: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
14628
14636
  tone: import("zod").ZodOptional<import("zod").ZodEnum<{
14637
+ warning: "warning";
14629
14638
  default: "default";
14630
14639
  ok: "ok";
14631
- warning: "warning";
14632
14640
  danger: "danger";
14633
14641
  }>>;
14634
14642
  }, import("zod/v4/core").$strip>>;
@@ -14639,16 +14647,16 @@ export declare const WSOutboundMessageSchema: {
14639
14647
  remaining: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
14640
14648
  limit: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
14641
14649
  unit: import("zod").ZodEnum<{
14642
- tokens: "tokens";
14643
14650
  requests: "requests";
14651
+ tokens: "tokens";
14644
14652
  usd: "usd";
14645
14653
  credits: "credits";
14646
14654
  }>;
14647
14655
  resetsAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14648
14656
  tone: import("zod").ZodOptional<import("zod").ZodEnum<{
14657
+ warning: "warning";
14649
14658
  default: "default";
14650
14659
  ok: "ok";
14651
- warning: "warning";
14652
14660
  danger: "danger";
14653
14661
  }>>;
14654
14662
  }, import("zod/v4/core").$strip>>>;
@@ -14657,9 +14665,9 @@ export declare const WSOutboundMessageSchema: {
14657
14665
  label: import("zod").ZodString;
14658
14666
  value: import("zod").ZodString;
14659
14667
  tone: import("zod").ZodOptional<import("zod").ZodEnum<{
14668
+ warning: "warning";
14660
14669
  default: "default";
14661
14670
  ok: "ok";
14662
- warning: "warning";
14663
14671
  danger: "danger";
14664
14672
  }>>;
14665
14673
  }, import("zod/v4/core").$strip>>>;
@@ -15021,9 +15029,9 @@ export declare const WSOutboundMessageSchema: {
15021
15029
  }, import("zod/v4/core").$strip>>;
15022
15030
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15023
15031
  read: "read";
15032
+ rejected: "rejected";
15024
15033
  unevaluated: "unevaluated";
15025
15034
  adopted: "adopted";
15026
- rejected: "rejected";
15027
15035
  dependency: "dependency";
15028
15036
  }>>;
15029
15037
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15044,7 +15052,7 @@ export declare const WSOutboundMessageSchema: {
15044
15052
  title: import("zod").ZodString;
15045
15053
  path: import("zod").ZodString;
15046
15054
  absolutePath: import("zod").ZodOptional<import("zod").ZodString>;
15047
- body: import("zod").ZodString;
15055
+ body: import("zod").ZodOptional<import("zod").ZodString>;
15048
15056
  bodyDigest: import("zod").ZodOptional<import("zod").ZodString>;
15049
15057
  }, import("zod/v4/core").$strip>>>;
15050
15058
  findings: import("zod").ZodArray<import("zod").ZodObject<{
@@ -15109,9 +15117,9 @@ export declare const WSOutboundMessageSchema: {
15109
15117
  }, import("zod/v4/core").$strip>>;
15110
15118
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15111
15119
  read: "read";
15120
+ rejected: "rejected";
15112
15121
  unevaluated: "unevaluated";
15113
15122
  adopted: "adopted";
15114
- rejected: "rejected";
15115
15123
  dependency: "dependency";
15116
15124
  }>>;
15117
15125
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15128,6 +15136,19 @@ export declare const WSOutboundMessageSchema: {
15128
15136
  absolutePath: import("zod").ZodOptional<import("zod").ZodString>;
15129
15137
  }, import("zod/v4/core").$strip>>;
15130
15138
  }, import("zod/v4/core").$strip>;
15139
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
15140
+ type: import("zod").ZodLiteral<"project.knowledge.root.get.response">;
15141
+ payload: import("zod").ZodObject<{
15142
+ requestId: import("zod").ZodString;
15143
+ page: import("zod").ZodNullable<import("zod").ZodObject<{
15144
+ slug: import("zod").ZodString;
15145
+ title: import("zod").ZodString;
15146
+ path: import("zod").ZodString;
15147
+ absolutePath: import("zod").ZodOptional<import("zod").ZodString>;
15148
+ body: import("zod").ZodOptional<import("zod").ZodString>;
15149
+ bodyDigest: import("zod").ZodOptional<import("zod").ZodString>;
15150
+ }, import("zod/v4/core").$strip>>;
15151
+ }, import("zod/v4/core").$strip>;
15131
15152
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
15132
15153
  type: import("zod").ZodLiteral<"project.knowledge.create.response">;
15133
15154
  payload: import("zod").ZodObject<{
@@ -15170,9 +15191,9 @@ export declare const WSOutboundMessageSchema: {
15170
15191
  }, import("zod/v4/core").$strip>>;
15171
15192
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15172
15193
  read: "read";
15194
+ rejected: "rejected";
15173
15195
  unevaluated: "unevaluated";
15174
15196
  adopted: "adopted";
15175
- rejected: "rejected";
15176
15197
  dependency: "dependency";
15177
15198
  }>>;
15178
15199
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15231,9 +15252,9 @@ export declare const WSOutboundMessageSchema: {
15231
15252
  }, import("zod/v4/core").$strip>>;
15232
15253
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15233
15254
  read: "read";
15255
+ rejected: "rejected";
15234
15256
  unevaluated: "unevaluated";
15235
15257
  adopted: "adopted";
15236
- rejected: "rejected";
15237
15258
  dependency: "dependency";
15238
15259
  }>>;
15239
15260
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15293,9 +15314,9 @@ export declare const WSOutboundMessageSchema: {
15293
15314
  }, import("zod/v4/core").$strip>>;
15294
15315
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15295
15316
  read: "read";
15317
+ rejected: "rejected";
15296
15318
  unevaluated: "unevaluated";
15297
15319
  adopted: "adopted";
15298
- rejected: "rejected";
15299
15320
  dependency: "dependency";
15300
15321
  }>>;
15301
15322
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15354,9 +15375,9 @@ export declare const WSOutboundMessageSchema: {
15354
15375
  }, import("zod/v4/core").$strip>>;
15355
15376
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15356
15377
  read: "read";
15378
+ rejected: "rejected";
15357
15379
  unevaluated: "unevaluated";
15358
15380
  adopted: "adopted";
15359
- rejected: "rejected";
15360
15381
  dependency: "dependency";
15361
15382
  }>>;
15362
15383
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15416,9 +15437,9 @@ export declare const WSOutboundMessageSchema: {
15416
15437
  }, import("zod/v4/core").$strip>>;
15417
15438
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15418
15439
  read: "read";
15440
+ rejected: "rejected";
15419
15441
  unevaluated: "unevaluated";
15420
15442
  adopted: "adopted";
15421
- rejected: "rejected";
15422
15443
  dependency: "dependency";
15423
15444
  }>>;
15424
15445
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15445,7 +15466,7 @@ export declare const WSOutboundMessageSchema: {
15445
15466
  title: import("zod").ZodString;
15446
15467
  path: import("zod").ZodString;
15447
15468
  absolutePath: import("zod").ZodOptional<import("zod").ZodString>;
15448
- body: import("zod").ZodString;
15469
+ body: import("zod").ZodOptional<import("zod").ZodString>;
15449
15470
  bodyDigest: import("zod").ZodOptional<import("zod").ZodString>;
15450
15471
  }, import("zod/v4/core").$strip>>;
15451
15472
  }, import("zod/v4/core").$strip>;
@@ -15491,9 +15512,9 @@ export declare const WSOutboundMessageSchema: {
15491
15512
  }, import("zod/v4/core").$strip>>;
15492
15513
  referenceDisposition: import("zod").ZodOptional<import("zod").ZodEnum<{
15493
15514
  read: "read";
15515
+ rejected: "rejected";
15494
15516
  unevaluated: "unevaluated";
15495
15517
  adopted: "adopted";
15496
- rejected: "rejected";
15497
15518
  dependency: "dependency";
15498
15519
  }>>;
15499
15520
  sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
@@ -15514,7 +15535,7 @@ export declare const WSOutboundMessageSchema: {
15514
15535
  title: import("zod").ZodString;
15515
15536
  path: import("zod").ZodString;
15516
15537
  absolutePath: import("zod").ZodOptional<import("zod").ZodString>;
15517
- body: import("zod").ZodString;
15538
+ body: import("zod").ZodOptional<import("zod").ZodString>;
15518
15539
  bodyDigest: import("zod").ZodOptional<import("zod").ZodString>;
15519
15540
  }, import("zod/v4/core").$strip>>;
15520
15541
  demoted: import("zod").ZodBoolean;
@@ -16027,14 +16048,14 @@ export declare const WSOutboundMessageSchema: {
16027
16048
  schedule: import("zod").ZodNullable<import("zod").ZodObject<{
16028
16049
  prompt: import("zod").ZodString;
16029
16050
  name: import("zod").ZodNullable<import("zod").ZodString>;
16030
- id: import("zod").ZodString;
16031
- createdAt: import("zod").ZodString;
16032
- updatedAt: import("zod").ZodString;
16033
16051
  status: import("zod").ZodEnum<{
16034
16052
  completed: "completed";
16035
16053
  active: "active";
16036
16054
  paused: "paused";
16037
16055
  }>;
16056
+ id: import("zod").ZodString;
16057
+ createdAt: import("zod").ZodString;
16058
+ updatedAt: import("zod").ZodString;
16038
16059
  expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
16039
16060
  target: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
16040
16061
  type: import("zod").ZodLiteral<"agent">;
@@ -16103,14 +16124,14 @@ export declare const WSOutboundMessageSchema: {
16103
16124
  schedules: import("zod").ZodArray<import("zod").ZodObject<{
16104
16125
  prompt: import("zod").ZodString;
16105
16126
  name: import("zod").ZodNullable<import("zod").ZodString>;
16106
- id: import("zod").ZodString;
16107
- createdAt: import("zod").ZodString;
16108
- updatedAt: import("zod").ZodString;
16109
16127
  status: import("zod").ZodEnum<{
16110
16128
  completed: "completed";
16111
16129
  active: "active";
16112
16130
  paused: "paused";
16113
16131
  }>;
16132
+ id: import("zod").ZodString;
16133
+ createdAt: import("zod").ZodString;
16134
+ updatedAt: import("zod").ZodString;
16114
16135
  expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
16115
16136
  target: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
16116
16137
  type: import("zod").ZodLiteral<"agent">;
@@ -16387,14 +16408,14 @@ export declare const WSOutboundMessageSchema: {
16387
16408
  schedule: import("zod").ZodNullable<import("zod").ZodObject<{
16388
16409
  prompt: import("zod").ZodString;
16389
16410
  name: import("zod").ZodNullable<import("zod").ZodString>;
16390
- id: import("zod").ZodString;
16391
- createdAt: import("zod").ZodString;
16392
- updatedAt: import("zod").ZodString;
16393
16411
  status: import("zod").ZodEnum<{
16394
16412
  completed: "completed";
16395
16413
  active: "active";
16396
16414
  paused: "paused";
16397
16415
  }>;
16416
+ id: import("zod").ZodString;
16417
+ createdAt: import("zod").ZodString;
16418
+ updatedAt: import("zod").ZodString;
16398
16419
  expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
16399
16420
  target: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
16400
16421
  type: import("zod").ZodLiteral<"agent">;
@@ -16463,14 +16484,14 @@ export declare const WSOutboundMessageSchema: {
16463
16484
  schedule: import("zod").ZodNullable<import("zod").ZodObject<{
16464
16485
  prompt: import("zod").ZodString;
16465
16486
  name: import("zod").ZodNullable<import("zod").ZodString>;
16466
- id: import("zod").ZodString;
16467
- createdAt: import("zod").ZodString;
16468
- updatedAt: import("zod").ZodString;
16469
16487
  status: import("zod").ZodEnum<{
16470
16488
  completed: "completed";
16471
16489
  active: "active";
16472
16490
  paused: "paused";
16473
16491
  }>;
16492
+ id: import("zod").ZodString;
16493
+ createdAt: import("zod").ZodString;
16494
+ updatedAt: import("zod").ZodString;
16474
16495
  expiresAt: import("zod").ZodNullable<import("zod").ZodString>;
16475
16496
  target: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
16476
16497
  type: import("zod").ZodLiteral<"agent">;
@@ -16864,8 +16885,8 @@ export declare const WSOutboundMessageSchema: {
16864
16885
  stopped: "stopped";
16865
16886
  }>;
16866
16887
  workerOutcome: import("zod").ZodNullable<import("zod").ZodEnum<{
16867
- completed: "completed";
16868
16888
  failed: "failed";
16889
+ completed: "completed";
16869
16890
  canceled: "canceled";
16870
16891
  }>>;
16871
16892
  failureReason: import("zod").ZodNullable<import("zod").ZodString>;
@@ -16976,8 +16997,8 @@ export declare const WSOutboundMessageSchema: {
16976
16997
  stopped: "stopped";
16977
16998
  }>;
16978
16999
  workerOutcome: import("zod").ZodNullable<import("zod").ZodEnum<{
16979
- completed: "completed";
16980
17000
  failed: "failed";
17001
+ completed: "completed";
16981
17002
  canceled: "canceled";
16982
17003
  }>>;
16983
17004
  failureReason: import("zod").ZodNullable<import("zod").ZodString>;
@@ -17068,8 +17089,8 @@ export declare const WSOutboundMessageSchema: {
17068
17089
  stopped: "stopped";
17069
17090
  }>;
17070
17091
  workerOutcome: import("zod").ZodNullable<import("zod").ZodEnum<{
17071
- completed: "completed";
17072
17092
  failed: "failed";
17093
+ completed: "completed";
17073
17094
  canceled: "canceled";
17074
17095
  }>>;
17075
17096
  failureReason: import("zod").ZodNullable<import("zod").ZodString>;
@@ -17177,8 +17198,8 @@ export declare const WSOutboundMessageSchema: {
17177
17198
  stopped: "stopped";
17178
17199
  }>;
17179
17200
  workerOutcome: import("zod").ZodNullable<import("zod").ZodEnum<{
17180
- completed: "completed";
17181
17201
  failed: "failed";
17202
+ completed: "completed";
17182
17203
  canceled: "canceled";
17183
17204
  }>>;
17184
17205
  failureReason: import("zod").ZodNullable<import("zod").ZodString>;
@@ -17227,8 +17248,8 @@ export declare const WSOutboundMessageSchema: {
17227
17248
  payload: import("zod").ZodObject<{
17228
17249
  requestId: import("zod").ZodString;
17229
17250
  phase: import("zod").ZodEnum<{
17230
- complete: "complete";
17231
17251
  starting: "starting";
17252
+ complete: "complete";
17232
17253
  downloading: "downloading";
17233
17254
  installing: "installing";
17234
17255
  }>;
@@ -17889,6 +17910,13 @@ export declare const WSOutboundMessageSchema: {
17889
17910
  }>;
17890
17911
  htmlPath: import("zod").ZodString;
17891
17912
  renderedAt: import("zod").ZodString;
17913
+ diagramType: import("zod").ZodOptional<import("zod").ZodEnum<{
17914
+ workflow: "workflow";
17915
+ architecture: "architecture";
17916
+ sequence: "sequence";
17917
+ dataflow: "dataflow";
17918
+ lifecycle: "lifecycle";
17919
+ }>>;
17892
17920
  sourceStatus: import("zod").ZodOptional<import("zod").ZodEnum<{
17893
17921
  unknown: "unknown";
17894
17922
  stale: "stale";
@@ -17918,6 +17946,13 @@ export declare const WSOutboundMessageSchema: {
17918
17946
  }>;
17919
17947
  htmlPath: import("zod").ZodString;
17920
17948
  renderedAt: import("zod").ZodString;
17949
+ diagramType: import("zod").ZodOptional<import("zod").ZodEnum<{
17950
+ workflow: "workflow";
17951
+ architecture: "architecture";
17952
+ sequence: "sequence";
17953
+ dataflow: "dataflow";
17954
+ lifecycle: "lifecycle";
17955
+ }>>;
17921
17956
  sourceStatus: import("zod").ZodOptional<import("zod").ZodEnum<{
17922
17957
  unknown: "unknown";
17923
17958
  stale: "stale";
@@ -17944,6 +17979,13 @@ export declare const WSOutboundMessageSchema: {
17944
17979
  id: import("zod").ZodString;
17945
17980
  }, import("zod/v4/core").$strip>>;
17946
17981
  baseSpecificationSha256: import("zod").ZodNullable<import("zod").ZodString>;
17982
+ diagramType: import("zod").ZodOptional<import("zod").ZodEnum<{
17983
+ workflow: "workflow";
17984
+ architecture: "architecture";
17985
+ sequence: "sequence";
17986
+ dataflow: "dataflow";
17987
+ lifecycle: "lifecycle";
17988
+ }>>;
17947
17989
  authoringAgentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
17948
17990
  createdAt: import("zod").ZodString;
17949
17991
  updatedAt: import("zod").ZodString;
@@ -17967,6 +18009,13 @@ export declare const WSOutboundMessageSchema: {
17967
18009
  id: import("zod").ZodString;
17968
18010
  }, import("zod/v4/core").$strip>>;
17969
18011
  baseSpecificationSha256: import("zod").ZodNullable<import("zod").ZodString>;
18012
+ diagramType: import("zod").ZodOptional<import("zod").ZodEnum<{
18013
+ workflow: "workflow";
18014
+ architecture: "architecture";
18015
+ sequence: "sequence";
18016
+ dataflow: "dataflow";
18017
+ lifecycle: "lifecycle";
18018
+ }>>;
17970
18019
  authoringAgentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
17971
18020
  createdAt: import("zod").ZodString;
17972
18021
  updatedAt: import("zod").ZodString;
@@ -17994,6 +18043,13 @@ export declare const WSOutboundMessageSchema: {
17994
18043
  }>;
17995
18044
  htmlPath: import("zod").ZodString;
17996
18045
  renderedAt: import("zod").ZodString;
18046
+ diagramType: import("zod").ZodOptional<import("zod").ZodEnum<{
18047
+ workflow: "workflow";
18048
+ architecture: "architecture";
18049
+ sequence: "sequence";
18050
+ dataflow: "dataflow";
18051
+ lifecycle: "lifecycle";
18052
+ }>>;
17997
18053
  sourceStatus: import("zod").ZodOptional<import("zod").ZodEnum<{
17998
18054
  unknown: "unknown";
17999
18055
  stale: "stale";
@@ -18026,6 +18082,13 @@ export declare const WSOutboundMessageSchema: {
18026
18082
  id: import("zod").ZodString;
18027
18083
  }, import("zod/v4/core").$strip>>;
18028
18084
  baseSpecificationSha256: import("zod").ZodNullable<import("zod").ZodString>;
18085
+ diagramType: import("zod").ZodOptional<import("zod").ZodEnum<{
18086
+ workflow: "workflow";
18087
+ architecture: "architecture";
18088
+ sequence: "sequence";
18089
+ dataflow: "dataflow";
18090
+ lifecycle: "lifecycle";
18091
+ }>>;
18029
18092
  authoringAgentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
18030
18093
  createdAt: import("zod").ZodString;
18031
18094
  updatedAt: import("zod").ZodString;
@@ -18033,6 +18096,36 @@ export declare const WSOutboundMessageSchema: {
18033
18096
  html: import("zod").ZodNullable<import("zod").ZodString>;
18034
18097
  error: import("zod").ZodNullable<import("zod").ZodString>;
18035
18098
  }, import("zod/v4/core").$strip>;
18099
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
18100
+ type: import("zod").ZodLiteral<"architectural-views.draft.list.response">;
18101
+ payload: import("zod").ZodObject<{
18102
+ requestId: import("zod").ZodString;
18103
+ success: import("zod").ZodBoolean;
18104
+ drafts: import("zod").ZodArray<import("zod").ZodObject<{
18105
+ id: import("zod").ZodString;
18106
+ viewId: import("zod").ZodString;
18107
+ title: import("zod").ZodString;
18108
+ knowledgeReferences: import("zod").ZodArray<import("zod").ZodObject<{
18109
+ kind: import("zod").ZodEnum<{
18110
+ record: "record";
18111
+ root: "root";
18112
+ }>;
18113
+ id: import("zod").ZodString;
18114
+ }, import("zod/v4/core").$strip>>;
18115
+ baseSpecificationSha256: import("zod").ZodNullable<import("zod").ZodString>;
18116
+ diagramType: import("zod").ZodOptional<import("zod").ZodEnum<{
18117
+ workflow: "workflow";
18118
+ architecture: "architecture";
18119
+ sequence: "sequence";
18120
+ dataflow: "dataflow";
18121
+ lifecycle: "lifecycle";
18122
+ }>>;
18123
+ authoringAgentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
18124
+ createdAt: import("zod").ZodString;
18125
+ updatedAt: import("zod").ZodString;
18126
+ }, import("zod/v4/core").$strip>>;
18127
+ error: import("zod").ZodNullable<import("zod").ZodString>;
18128
+ }, import("zod/v4/core").$strip>;
18036
18129
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
18037
18130
  type: import("zod").ZodLiteral<"architectural-views.open.notification">;
18038
18131
  payload: import("zod").ZodObject<{