@maudecode/talaria-web-contracts 1.16.1 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/router.d.ts +634 -20
  2. package/dist/routes/automation.d.ts +147 -9
  3. package/dist/routes/automation.js +15 -8
  4. package/dist/routes/automation.js.map +1 -1
  5. package/dist/routes/chat.d.ts +51 -0
  6. package/dist/routes/git.d.ts +22 -1
  7. package/dist/routes/git.js +7 -3
  8. package/dist/routes/git.js.map +1 -1
  9. package/dist/routes/raw.js +2 -2
  10. package/dist/routes/raw.js.map +1 -1
  11. package/dist/routes/sessions.d.ts +315 -0
  12. package/dist/routes/sessions.js +10 -0
  13. package/dist/routes/sessions.js.map +1 -1
  14. package/dist/routes/settings.d.ts +101 -2
  15. package/dist/routes/settings.js +4 -4
  16. package/dist/routes/settings.js.map +1 -1
  17. package/dist/routes/tools.d.ts +73 -8
  18. package/dist/routes/tools.js +1 -1
  19. package/dist/routes/tools.js.map +1 -1
  20. package/dist/routes/workspaces.d.ts +14 -0
  21. package/dist/sidecar/methods.d.ts +120 -0
  22. package/dist/sidecar/namespaces.d.ts +204 -1
  23. package/dist/sidecar/namespaces.js +53 -7
  24. package/dist/sidecar/namespaces.js.map +1 -1
  25. package/dist/sidecar/version.d.ts +1 -1
  26. package/dist/sidecar/version.js +1 -1
  27. package/dist/sidecar/version.js.map +1 -1
  28. package/dist/sse.d.ts +42 -4
  29. package/dist/sse.js +12 -4
  30. package/dist/sse.js.map +1 -1
  31. package/dist/views.d.ts +618 -9
  32. package/dist/views.js +109 -18
  33. package/dist/views.js.map +1 -1
  34. package/fixtures/sidecar/commands.json +195 -92
  35. package/fixtures/sidecar/kanban.json +24 -8
  36. package/fixtures/sidecar/process.json +25 -0
  37. package/fixtures/sidecar/rpc.json +2 -0
  38. package/fixtures/sidecar/runtime.json +3 -3
  39. package/fixtures/sidecar/usage.json +38 -0
  40. package/package.json +1 -1
package/dist/views.d.ts CHANGED
@@ -35,7 +35,19 @@ export declare const ToolKindSchema: z.ZodEnum<{
35
35
  delegate: "delegate";
36
36
  }>;
37
37
  export type ToolKind = z.infer<typeof ToolKindSchema>;
38
- /** Server-derived display fields every tool call carries: the kind, and the redacted first-line label of its main argument (`''` when none; omitted on a live frame with none, which keeps its start frame's target). */
38
+ /**
39
+ * TAL-448: a completed file-edit call's change, from its result's unified diff: `added` / `removed` count the whole diff's
40
+ * lines (file headers excluded); `diff` is the redacted diff, capped at 400 lines, with `truncated` when cut. Absent on a
41
+ * call whose result has no diff.
42
+ */
43
+ export declare const ToolEditDiffSchema: z.ZodObject<{
44
+ added: z.ZodNumber;
45
+ removed: z.ZodNumber;
46
+ diff: z.ZodString;
47
+ truncated: z.ZodBoolean;
48
+ }, z.core.$strip>;
49
+ export type ToolEditDiff = z.infer<typeof ToolEditDiffSchema>;
50
+ /** Server-derived display fields every tool call carries: the kind, and the redacted first-line label of its main argument (`''` when none; omitted on a live frame with none, which keeps its start frame's target), and a file edit's `edit_diff`. */
39
51
  export declare const ToolDisplayFields: {
40
52
  kind: z.ZodOptional<z.ZodEnum<{
41
53
  unknown: "unknown";
@@ -50,6 +62,12 @@ export declare const ToolDisplayFields: {
50
62
  delegate: "delegate";
51
63
  }>>;
52
64
  target: z.ZodOptional<z.ZodString>;
65
+ edit_diff: z.ZodOptional<z.ZodObject<{
66
+ added: z.ZodNumber;
67
+ removed: z.ZodNumber;
68
+ diff: z.ZodString;
69
+ truncated: z.ZodBoolean;
70
+ }, z.core.$strip>>;
53
71
  };
54
72
  /**
55
73
  * TAL-315: a tool result's display sections, decided by the server's one rule for live, replayed and persisted results
@@ -111,6 +129,12 @@ export declare const ToolCallSchema: z.ZodObject<{
111
129
  delegate: "delegate";
112
130
  }>>;
113
131
  target: z.ZodOptional<z.ZodString>;
132
+ edit_diff: z.ZodOptional<z.ZodObject<{
133
+ added: z.ZodNumber;
134
+ removed: z.ZodNumber;
135
+ diff: z.ZodString;
136
+ truncated: z.ZodBoolean;
137
+ }, z.core.$strip>>;
114
138
  }, z.core.$loose>;
115
139
  export type ToolCall = z.infer<typeof ToolCallSchema>;
116
140
  export declare const ContentPartSchema: z.ZodObject<{
@@ -244,6 +268,12 @@ export declare const ActivitySceneRowSchema: z.ZodObject<{
244
268
  delegate: "delegate";
245
269
  }>>;
246
270
  target: z.ZodOptional<z.ZodString>;
271
+ edit_diff: z.ZodOptional<z.ZodObject<{
272
+ added: z.ZodNumber;
273
+ removed: z.ZodNumber;
274
+ diff: z.ZodString;
275
+ truncated: z.ZodBoolean;
276
+ }, z.core.$strip>>;
247
277
  id: z.ZodString;
248
278
  name: z.ZodString;
249
279
  }, z.core.$loose>>;
@@ -353,6 +383,12 @@ export declare const ActivitySceneSchema: z.ZodObject<{
353
383
  delegate: "delegate";
354
384
  }>>;
355
385
  target: z.ZodOptional<z.ZodString>;
386
+ edit_diff: z.ZodOptional<z.ZodObject<{
387
+ added: z.ZodNumber;
388
+ removed: z.ZodNumber;
389
+ diff: z.ZodString;
390
+ truncated: z.ZodBoolean;
391
+ }, z.core.$strip>>;
356
392
  id: z.ZodString;
357
393
  name: z.ZodString;
358
394
  }, z.core.$loose>>;
@@ -473,6 +509,12 @@ export declare const MessageSchema: z.ZodObject<{
473
509
  delegate: "delegate";
474
510
  }>>;
475
511
  target: z.ZodOptional<z.ZodString>;
512
+ edit_diff: z.ZodOptional<z.ZodObject<{
513
+ added: z.ZodNumber;
514
+ removed: z.ZodNumber;
515
+ diff: z.ZodString;
516
+ truncated: z.ZodBoolean;
517
+ }, z.core.$strip>>;
476
518
  }, z.core.$loose>>>;
477
519
  reasoning: z.ZodOptional<z.ZodString>;
478
520
  tool_call_id: z.ZodOptional<z.ZodString>;
@@ -557,6 +599,12 @@ export declare const MessageSchema: z.ZodObject<{
557
599
  delegate: "delegate";
558
600
  }>>;
559
601
  target: z.ZodOptional<z.ZodString>;
602
+ edit_diff: z.ZodOptional<z.ZodObject<{
603
+ added: z.ZodNumber;
604
+ removed: z.ZodNumber;
605
+ diff: z.ZodString;
606
+ truncated: z.ZodBoolean;
607
+ }, z.core.$strip>>;
560
608
  id: z.ZodString;
561
609
  name: z.ZodString;
562
610
  }, z.core.$loose>>;
@@ -614,6 +662,7 @@ export declare const MessageSchema: z.ZodObject<{
614
662
  _final_phase_duration: z.ZodOptional<z.ZodNumber>;
615
663
  _display_truncated: z.ZodOptional<z.ZodBoolean>;
616
664
  _display_excerpt: z.ZodOptional<z.ZodString>;
665
+ _collapsible: z.ZodOptional<z.ZodBoolean>;
617
666
  _display_content: z.ZodOptional<z.ZodString>;
618
667
  _media: z.ZodOptional<z.ZodArray<z.ZodObject<{
619
668
  url: z.ZodString;
@@ -707,6 +756,16 @@ export declare const SourceKindSchema: z.ZodEnum<{
707
756
  kanban: "kanban";
708
757
  api: "api";
709
758
  }>;
759
+ /**
760
+ * TAL-560: the "Context compaction · Reference only" card, on payloads that carry `messages`. Clients render `text` after
761
+ * the row at full-transcript index `after_message_index` (row `after_message_index - _messages_offset` of `messages`), or
762
+ * above the loaded rows when it is null or before them. Null: no card.
763
+ */
764
+ export declare const CompressionReferenceSchema: z.ZodObject<{
765
+ text: z.ZodString;
766
+ after_message_index: z.ZodNullable<z.ZodNumber>;
767
+ }, z.core.$strip>;
768
+ export type CompressionReference = z.infer<typeof CompressionReferenceSchema>;
710
769
  /** Full session record from `GET /api/session` and mutations returning `session`. */
711
770
  export declare const SessionSchema: z.ZodObject<{
712
771
  enabled_toolsets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -733,6 +792,7 @@ export declare const SessionSchema: z.ZodObject<{
733
792
  can_branch: z.ZodBoolean;
734
793
  can_pin: z.ZodBoolean;
735
794
  can_archive: z.ZodBoolean;
795
+ can_delete: z.ZodBoolean;
736
796
  can_duplicate: z.ZodBoolean;
737
797
  source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
738
798
  source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -743,6 +803,7 @@ export declare const SessionSchema: z.ZodObject<{
743
803
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
804
  worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
745
805
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
806
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
746
807
  share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
747
808
  manual_title: z.ZodOptional<z.ZodBoolean>;
748
809
  compression_anchor_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -761,6 +822,10 @@ export declare const SessionSchema: z.ZodObject<{
761
822
  }, z.core.$strip>>>;
762
823
  assistant_name: z.ZodOptional<z.ZodString>;
763
824
  workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
825
+ compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
826
+ text: z.ZodString;
827
+ after_message_index: z.ZodNullable<z.ZodNumber>;
828
+ }, z.core.$strip>>>;
764
829
  context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
765
830
  context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
766
831
  context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -829,6 +894,12 @@ export declare const SessionSchema: z.ZodObject<{
829
894
  delegate: "delegate";
830
895
  }>>;
831
896
  target: z.ZodOptional<z.ZodString>;
897
+ edit_diff: z.ZodOptional<z.ZodObject<{
898
+ added: z.ZodNumber;
899
+ removed: z.ZodNumber;
900
+ diff: z.ZodString;
901
+ truncated: z.ZodBoolean;
902
+ }, z.core.$strip>>;
832
903
  }, z.core.$loose>>>;
833
904
  reasoning: z.ZodOptional<z.ZodString>;
834
905
  tool_call_id: z.ZodOptional<z.ZodString>;
@@ -913,6 +984,12 @@ export declare const SessionSchema: z.ZodObject<{
913
984
  delegate: "delegate";
914
985
  }>>;
915
986
  target: z.ZodOptional<z.ZodString>;
987
+ edit_diff: z.ZodOptional<z.ZodObject<{
988
+ added: z.ZodNumber;
989
+ removed: z.ZodNumber;
990
+ diff: z.ZodString;
991
+ truncated: z.ZodBoolean;
992
+ }, z.core.$strip>>;
916
993
  id: z.ZodString;
917
994
  name: z.ZodString;
918
995
  }, z.core.$loose>>;
@@ -970,6 +1047,7 @@ export declare const SessionSchema: z.ZodObject<{
970
1047
  _final_phase_duration: z.ZodOptional<z.ZodNumber>;
971
1048
  _display_truncated: z.ZodOptional<z.ZodBoolean>;
972
1049
  _display_excerpt: z.ZodOptional<z.ZodString>;
1050
+ _collapsible: z.ZodOptional<z.ZodBoolean>;
973
1051
  _display_content: z.ZodOptional<z.ZodString>;
974
1052
  _media: z.ZodOptional<z.ZodArray<z.ZodObject<{
975
1053
  url: z.ZodString;
@@ -1055,6 +1133,12 @@ export declare const SessionSchema: z.ZodObject<{
1055
1133
  delegate: "delegate";
1056
1134
  }>>;
1057
1135
  target: z.ZodOptional<z.ZodString>;
1136
+ edit_diff: z.ZodOptional<z.ZodObject<{
1137
+ added: z.ZodNumber;
1138
+ removed: z.ZodNumber;
1139
+ diff: z.ZodString;
1140
+ truncated: z.ZodBoolean;
1141
+ }, z.core.$strip>>;
1058
1142
  }, z.core.$loose>>>;
1059
1143
  created_at: z.ZodOptional<z.ZodNumber>;
1060
1144
  updated_at: z.ZodOptional<z.ZodNumber>;
@@ -1137,6 +1221,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
1137
1221
  can_branch: z.ZodBoolean;
1138
1222
  can_pin: z.ZodBoolean;
1139
1223
  can_archive: z.ZodBoolean;
1224
+ can_delete: z.ZodBoolean;
1140
1225
  can_duplicate: z.ZodBoolean;
1141
1226
  source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1142
1227
  source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1147,6 +1232,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
1147
1232
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1148
1233
  worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1149
1234
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1235
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1150
1236
  share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1151
1237
  manual_title: z.ZodOptional<z.ZodBoolean>;
1152
1238
  compression_anchor_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1165,6 +1251,10 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
1165
1251
  }, z.core.$strip>>>;
1166
1252
  assistant_name: z.ZodOptional<z.ZodString>;
1167
1253
  workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1254
+ compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1255
+ text: z.ZodString;
1256
+ after_message_index: z.ZodNullable<z.ZodNumber>;
1257
+ }, z.core.$strip>>>;
1168
1258
  context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1169
1259
  context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1170
1260
  context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1233,6 +1323,12 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
1233
1323
  delegate: "delegate";
1234
1324
  }>>;
1235
1325
  target: z.ZodOptional<z.ZodString>;
1326
+ edit_diff: z.ZodOptional<z.ZodObject<{
1327
+ added: z.ZodNumber;
1328
+ removed: z.ZodNumber;
1329
+ diff: z.ZodString;
1330
+ truncated: z.ZodBoolean;
1331
+ }, z.core.$strip>>;
1236
1332
  }, z.core.$loose>>>;
1237
1333
  reasoning: z.ZodOptional<z.ZodString>;
1238
1334
  tool_call_id: z.ZodOptional<z.ZodString>;
@@ -1317,6 +1413,12 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
1317
1413
  delegate: "delegate";
1318
1414
  }>>;
1319
1415
  target: z.ZodOptional<z.ZodString>;
1416
+ edit_diff: z.ZodOptional<z.ZodObject<{
1417
+ added: z.ZodNumber;
1418
+ removed: z.ZodNumber;
1419
+ diff: z.ZodString;
1420
+ truncated: z.ZodBoolean;
1421
+ }, z.core.$strip>>;
1320
1422
  id: z.ZodString;
1321
1423
  name: z.ZodString;
1322
1424
  }, z.core.$loose>>;
@@ -1374,6 +1476,7 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
1374
1476
  _final_phase_duration: z.ZodOptional<z.ZodNumber>;
1375
1477
  _display_truncated: z.ZodOptional<z.ZodBoolean>;
1376
1478
  _display_excerpt: z.ZodOptional<z.ZodString>;
1479
+ _collapsible: z.ZodOptional<z.ZodBoolean>;
1377
1480
  _display_content: z.ZodOptional<z.ZodString>;
1378
1481
  _media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1379
1482
  url: z.ZodString;
@@ -1459,6 +1562,12 @@ export declare const SessionEnvelopeSchema: z.ZodObject<{
1459
1562
  delegate: "delegate";
1460
1563
  }>>;
1461
1564
  target: z.ZodOptional<z.ZodString>;
1565
+ edit_diff: z.ZodOptional<z.ZodObject<{
1566
+ added: z.ZodNumber;
1567
+ removed: z.ZodNumber;
1568
+ diff: z.ZodString;
1569
+ truncated: z.ZodBoolean;
1570
+ }, z.core.$strip>>;
1462
1571
  }, z.core.$loose>>>;
1463
1572
  created_at: z.ZodOptional<z.ZodNumber>;
1464
1573
  updated_at: z.ZodOptional<z.ZodNumber>;
@@ -1554,6 +1663,7 @@ export declare const SessionRowSchema: z.ZodObject<{
1554
1663
  can_branch: z.ZodBoolean;
1555
1664
  can_pin: z.ZodBoolean;
1556
1665
  can_archive: z.ZodBoolean;
1666
+ can_delete: z.ZodBoolean;
1557
1667
  can_duplicate: z.ZodBoolean;
1558
1668
  attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1559
1669
  kind: z.ZodOptional<z.ZodString>;
@@ -1566,6 +1676,7 @@ export declare const SessionRowSchema: z.ZodObject<{
1566
1676
  parent_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1567
1677
  active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1568
1678
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1679
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1569
1680
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1570
1681
  match_type: z.ZodOptional<z.ZodEnum<{
1571
1682
  title: "title";
@@ -1615,6 +1726,7 @@ export declare const SessionsListSchema: z.ZodObject<{
1615
1726
  can_branch: z.ZodBoolean;
1616
1727
  can_pin: z.ZodBoolean;
1617
1728
  can_archive: z.ZodBoolean;
1729
+ can_delete: z.ZodBoolean;
1618
1730
  can_duplicate: z.ZodBoolean;
1619
1731
  attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1620
1732
  kind: z.ZodOptional<z.ZodString>;
@@ -1627,6 +1739,7 @@ export declare const SessionsListSchema: z.ZodObject<{
1627
1739
  parent_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1628
1740
  active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1629
1741
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1742
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1630
1743
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1631
1744
  match_type: z.ZodOptional<z.ZodEnum<{
1632
1745
  title: "title";
@@ -1674,6 +1787,7 @@ export declare const SessionsListSchema: z.ZodObject<{
1674
1787
  can_branch: z.ZodBoolean;
1675
1788
  can_pin: z.ZodBoolean;
1676
1789
  can_archive: z.ZodBoolean;
1790
+ can_delete: z.ZodBoolean;
1677
1791
  can_duplicate: z.ZodBoolean;
1678
1792
  attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1679
1793
  kind: z.ZodOptional<z.ZodString>;
@@ -1686,6 +1800,7 @@ export declare const SessionsListSchema: z.ZodObject<{
1686
1800
  parent_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1687
1801
  active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1688
1802
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1803
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1689
1804
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1690
1805
  match_type: z.ZodOptional<z.ZodEnum<{
1691
1806
  title: "title";
@@ -1828,6 +1943,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
1828
1943
  can_branch: z.ZodBoolean;
1829
1944
  can_pin: z.ZodBoolean;
1830
1945
  can_archive: z.ZodBoolean;
1946
+ can_delete: z.ZodBoolean;
1831
1947
  can_duplicate: z.ZodBoolean;
1832
1948
  source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1833
1949
  source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1838,6 +1954,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
1838
1954
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1839
1955
  worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1840
1956
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1957
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1841
1958
  share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1842
1959
  manual_title: z.ZodOptional<z.ZodBoolean>;
1843
1960
  compression_anchor_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1856,6 +1973,10 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
1856
1973
  }, z.core.$strip>>>;
1857
1974
  assistant_name: z.ZodOptional<z.ZodString>;
1858
1975
  workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1976
+ compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1977
+ text: z.ZodString;
1978
+ after_message_index: z.ZodNullable<z.ZodNumber>;
1979
+ }, z.core.$strip>>>;
1859
1980
  context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1860
1981
  context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1861
1982
  context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1924,6 +2045,12 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
1924
2045
  delegate: "delegate";
1925
2046
  }>>;
1926
2047
  target: z.ZodOptional<z.ZodString>;
2048
+ edit_diff: z.ZodOptional<z.ZodObject<{
2049
+ added: z.ZodNumber;
2050
+ removed: z.ZodNumber;
2051
+ diff: z.ZodString;
2052
+ truncated: z.ZodBoolean;
2053
+ }, z.core.$strip>>;
1927
2054
  }, z.core.$loose>>>;
1928
2055
  reasoning: z.ZodOptional<z.ZodString>;
1929
2056
  tool_call_id: z.ZodOptional<z.ZodString>;
@@ -2008,6 +2135,12 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
2008
2135
  delegate: "delegate";
2009
2136
  }>>;
2010
2137
  target: z.ZodOptional<z.ZodString>;
2138
+ edit_diff: z.ZodOptional<z.ZodObject<{
2139
+ added: z.ZodNumber;
2140
+ removed: z.ZodNumber;
2141
+ diff: z.ZodString;
2142
+ truncated: z.ZodBoolean;
2143
+ }, z.core.$strip>>;
2011
2144
  id: z.ZodString;
2012
2145
  name: z.ZodString;
2013
2146
  }, z.core.$loose>>;
@@ -2065,6 +2198,7 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
2065
2198
  _final_phase_duration: z.ZodOptional<z.ZodNumber>;
2066
2199
  _display_truncated: z.ZodOptional<z.ZodBoolean>;
2067
2200
  _display_excerpt: z.ZodOptional<z.ZodString>;
2201
+ _collapsible: z.ZodOptional<z.ZodBoolean>;
2068
2202
  _display_content: z.ZodOptional<z.ZodString>;
2069
2203
  _media: z.ZodOptional<z.ZodArray<z.ZodObject<{
2070
2204
  url: z.ZodString;
@@ -2150,6 +2284,12 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
2150
2284
  delegate: "delegate";
2151
2285
  }>>;
2152
2286
  target: z.ZodOptional<z.ZodString>;
2287
+ edit_diff: z.ZodOptional<z.ZodObject<{
2288
+ added: z.ZodNumber;
2289
+ removed: z.ZodNumber;
2290
+ diff: z.ZodString;
2291
+ truncated: z.ZodBoolean;
2292
+ }, z.core.$strip>>;
2153
2293
  }, z.core.$loose>>>;
2154
2294
  created_at: z.ZodOptional<z.ZodNumber>;
2155
2295
  updated_at: z.ZodOptional<z.ZodNumber>;
@@ -2207,11 +2347,17 @@ export declare const ChatStartResponseSchema: z.ZodObject<{
2207
2347
  }, z.core.$loose>>;
2208
2348
  }, z.core.$loose>;
2209
2349
  export type ChatStartResponse = z.infer<typeof ChatStartResponseSchema>;
2350
+ /**
2351
+ * `active` is whether this stream's channel is still live. `blocking_stream_id` (TAL-622) is the run that still holds the
2352
+ * stream's session: this run while it unwinds after a Stop, or a successor such as a goal continuation. A session delete
2353
+ * answers 409 while it is set, so a client draining a session before deleting it waits until it is null.
2354
+ */
2210
2355
  export declare const StreamStatusSchema: z.ZodObject<{
2211
2356
  active: z.ZodBoolean;
2212
2357
  stream_id: z.ZodString;
2213
2358
  replay_available: z.ZodOptional<z.ZodBoolean>;
2214
2359
  journal: z.ZodOptional<z.ZodUnknown>;
2360
+ blocking_stream_id: z.ZodNullable<z.ZodString>;
2215
2361
  }, z.core.$loose>;
2216
2362
  export type StreamStatus = z.infer<typeof StreamStatusSchema>;
2217
2363
  /**
@@ -2324,6 +2470,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
2324
2470
  can_branch: z.ZodBoolean;
2325
2471
  can_pin: z.ZodBoolean;
2326
2472
  can_archive: z.ZodBoolean;
2473
+ can_delete: z.ZodBoolean;
2327
2474
  can_duplicate: z.ZodBoolean;
2328
2475
  source_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2329
2476
  source_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2334,6 +2481,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
2334
2481
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2335
2482
  worktree_repo_root: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
2483
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2484
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2337
2485
  share_created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2338
2486
  manual_title: z.ZodOptional<z.ZodBoolean>;
2339
2487
  compression_anchor_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2352,6 +2500,10 @@ export declare const SteerResponseSchema: z.ZodObject<{
2352
2500
  }, z.core.$strip>>>;
2353
2501
  assistant_name: z.ZodOptional<z.ZodString>;
2354
2502
  workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2503
+ compression_reference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2504
+ text: z.ZodString;
2505
+ after_message_index: z.ZodNullable<z.ZodNumber>;
2506
+ }, z.core.$strip>>>;
2355
2507
  context_used_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2356
2508
  context_window_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2357
2509
  context_usage_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2420,6 +2572,12 @@ export declare const SteerResponseSchema: z.ZodObject<{
2420
2572
  delegate: "delegate";
2421
2573
  }>>;
2422
2574
  target: z.ZodOptional<z.ZodString>;
2575
+ edit_diff: z.ZodOptional<z.ZodObject<{
2576
+ added: z.ZodNumber;
2577
+ removed: z.ZodNumber;
2578
+ diff: z.ZodString;
2579
+ truncated: z.ZodBoolean;
2580
+ }, z.core.$strip>>;
2423
2581
  }, z.core.$loose>>>;
2424
2582
  reasoning: z.ZodOptional<z.ZodString>;
2425
2583
  tool_call_id: z.ZodOptional<z.ZodString>;
@@ -2504,6 +2662,12 @@ export declare const SteerResponseSchema: z.ZodObject<{
2504
2662
  delegate: "delegate";
2505
2663
  }>>;
2506
2664
  target: z.ZodOptional<z.ZodString>;
2665
+ edit_diff: z.ZodOptional<z.ZodObject<{
2666
+ added: z.ZodNumber;
2667
+ removed: z.ZodNumber;
2668
+ diff: z.ZodString;
2669
+ truncated: z.ZodBoolean;
2670
+ }, z.core.$strip>>;
2507
2671
  id: z.ZodString;
2508
2672
  name: z.ZodString;
2509
2673
  }, z.core.$loose>>;
@@ -2561,6 +2725,7 @@ export declare const SteerResponseSchema: z.ZodObject<{
2561
2725
  _final_phase_duration: z.ZodOptional<z.ZodNumber>;
2562
2726
  _display_truncated: z.ZodOptional<z.ZodBoolean>;
2563
2727
  _display_excerpt: z.ZodOptional<z.ZodString>;
2728
+ _collapsible: z.ZodOptional<z.ZodBoolean>;
2564
2729
  _display_content: z.ZodOptional<z.ZodString>;
2565
2730
  _media: z.ZodOptional<z.ZodArray<z.ZodObject<{
2566
2731
  url: z.ZodString;
@@ -2646,6 +2811,12 @@ export declare const SteerResponseSchema: z.ZodObject<{
2646
2811
  delegate: "delegate";
2647
2812
  }>>;
2648
2813
  target: z.ZodOptional<z.ZodString>;
2814
+ edit_diff: z.ZodOptional<z.ZodObject<{
2815
+ added: z.ZodNumber;
2816
+ removed: z.ZodNumber;
2817
+ diff: z.ZodString;
2818
+ truncated: z.ZodBoolean;
2819
+ }, z.core.$strip>>;
2649
2820
  }, z.core.$loose>>>;
2650
2821
  created_at: z.ZodOptional<z.ZodNumber>;
2651
2822
  updated_at: z.ZodOptional<z.ZodNumber>;
@@ -2872,6 +3043,8 @@ export declare const DraftResponseSchema: z.ZodObject<{
2872
3043
  draft_version: z.ZodNullable<z.ZodString>;
2873
3044
  unchanged: z.ZodOptional<z.ZodBoolean>;
2874
3045
  }, z.core.$loose>;
3046
+ /** At most this many attachments ride one chat message; the server names each in the prompt (TAL-276, TAL-635). */
3047
+ export declare const MAX_CHAT_ATTACHMENTS = 20;
2875
3048
  export declare const UploadResponseSchema: z.ZodObject<{
2876
3049
  filename: z.ZodString;
2877
3050
  path: z.ZodString;
@@ -2879,6 +3052,8 @@ export declare const UploadResponseSchema: z.ZodObject<{
2879
3052
  mime: z.ZodString;
2880
3053
  is_image: z.ZodOptional<z.ZodBoolean>;
2881
3054
  rollback_token: z.ZodOptional<z.ZodString>;
3055
+ named_in_prompt: z.ZodOptional<z.ZodBoolean>;
3056
+ max_attachments_per_message: z.ZodOptional<z.ZodNumber>;
2882
3057
  }, z.core.$loose>;
2883
3058
  export type UploadResponse = z.infer<typeof UploadResponseSchema>;
2884
3059
  export declare const GoalViewSchema: z.ZodObject<{
@@ -3115,6 +3290,7 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
3115
3290
  can_branch: z.ZodBoolean;
3116
3291
  can_pin: z.ZodBoolean;
3117
3292
  can_archive: z.ZodBoolean;
3293
+ can_delete: z.ZodBoolean;
3118
3294
  can_duplicate: z.ZodBoolean;
3119
3295
  attention: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3120
3296
  kind: z.ZodOptional<z.ZodString>;
@@ -3127,6 +3303,7 @@ export declare const ShareCreateResponseSchema: z.ZodObject<{
3127
3303
  parent_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3128
3304
  active_stream_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3129
3305
  share_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3306
+ share_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3130
3307
  worktree_branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3131
3308
  match_type: z.ZodOptional<z.ZodEnum<{
3132
3309
  title: "title";
@@ -3183,6 +3360,16 @@ export declare const TranscribeCapabilitySchema: z.ZodObject<{
3183
3360
  available: z.ZodBoolean;
3184
3361
  provider: z.ZodString;
3185
3362
  }, z.core.$loose>;
3363
+ /** TAL-411: the request profile's quota urgency thresholds. A save patches valid fields and clamps critical to at most warning. */
3364
+ export declare const QuotaThresholdsSchema: z.ZodObject<{
3365
+ warning_remaining_percent: z.ZodNumber;
3366
+ critical_remaining_percent: z.ZodNumber;
3367
+ pace_tolerance_percent: z.ZodNumber;
3368
+ pace_warning_burn_rate_percent: z.ZodNumber;
3369
+ pace_critical_burn_rate_percent: z.ZodNumber;
3370
+ pace_minimum_elapsed_hours: z.ZodNumber;
3371
+ }, z.core.$strip>;
3372
+ export type QuotaThresholds = z.infer<typeof QuotaThresholdsSchema>;
3186
3373
  export declare const LoginResponseSchema: z.ZodObject<{
3187
3374
  ok: z.ZodLiteral<true>;
3188
3375
  message: z.ZodOptional<z.ZodString>;
@@ -3237,6 +3424,14 @@ export declare const SettingsSchema: z.ZodObject<{
3237
3424
  persisted_speech_keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
3238
3425
  confirm_external_links: z.ZodOptional<z.ZodBoolean>;
3239
3426
  trusted_link_hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3427
+ provider_quota_thresholds: z.ZodOptional<z.ZodObject<{
3428
+ warning_remaining_percent: z.ZodNumber;
3429
+ critical_remaining_percent: z.ZodNumber;
3430
+ pace_tolerance_percent: z.ZodNumber;
3431
+ pace_warning_burn_rate_percent: z.ZodNumber;
3432
+ pace_critical_burn_rate_percent: z.ZodNumber;
3433
+ pace_minimum_elapsed_hours: z.ZodNumber;
3434
+ }, z.core.$strip>>;
3240
3435
  }, z.core.$loose>;
3241
3436
  export type Settings = z.infer<typeof SettingsSchema>;
3242
3437
  export declare const ProfileSchema: z.ZodObject<{
@@ -3368,10 +3563,12 @@ export declare const ModelsSchema: z.ZodObject<{
3368
3563
  configured_model_badges: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3369
3564
  }, z.core.$loose>;
3370
3565
  export type Models = z.infer<typeof ModelsSchema>;
3566
+ /** `has_key` reports a credential; `configured` (TAL-570) is the row's setup status, which a keyless Ollama or LM Studio endpoint also meets. */
3371
3567
  export declare const ProviderSchema: z.ZodObject<{
3372
3568
  id: z.ZodString;
3373
3569
  display_name: z.ZodOptional<z.ZodString>;
3374
3570
  has_key: z.ZodOptional<z.ZodBoolean>;
3571
+ configured: z.ZodOptional<z.ZodBoolean>;
3375
3572
  configurable: z.ZodOptional<z.ZodBoolean>;
3376
3573
  is_oauth: z.ZodOptional<z.ZodBoolean>;
3377
3574
  is_plugin_provider: z.ZodOptional<z.ZodBoolean>;
@@ -3396,6 +3593,7 @@ export declare const ProvidersSchema: z.ZodObject<{
3396
3593
  id: z.ZodString;
3397
3594
  display_name: z.ZodOptional<z.ZodString>;
3398
3595
  has_key: z.ZodOptional<z.ZodBoolean>;
3596
+ configured: z.ZodOptional<z.ZodBoolean>;
3399
3597
  configurable: z.ZodOptional<z.ZodBoolean>;
3400
3598
  is_oauth: z.ZodOptional<z.ZodBoolean>;
3401
3599
  is_plugin_provider: z.ZodOptional<z.ZodBoolean>;
@@ -3417,6 +3615,31 @@ export declare const ProvidersSchema: z.ZodObject<{
3417
3615
  }, z.core.$loose>>;
3418
3616
  active_provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3419
3617
  }, z.core.$loose>;
3618
+ export declare const QuotaLevelSchema: z.ZodEnum<{
3619
+ stale: "stale";
3620
+ unavailable: "unavailable";
3621
+ warning: "warning";
3622
+ healthy: "healthy";
3623
+ critical: "critical";
3624
+ }>;
3625
+ export type QuotaLevel = z.infer<typeof QuotaLevelSchema>;
3626
+ /** TAL-411: the server's classification per colour basis; `/api/provider/quotas` only, at the profile's thresholds. */
3627
+ export declare const QuotaUrgencySchema: z.ZodObject<{
3628
+ remaining: z.ZodEnum<{
3629
+ stale: "stale";
3630
+ unavailable: "unavailable";
3631
+ warning: "warning";
3632
+ healthy: "healthy";
3633
+ critical: "critical";
3634
+ }>;
3635
+ pace: z.ZodEnum<{
3636
+ stale: "stale";
3637
+ unavailable: "unavailable";
3638
+ warning: "warning";
3639
+ healthy: "healthy";
3640
+ critical: "critical";
3641
+ }>;
3642
+ }, z.core.$loose>;
3420
3643
  /** TAL-409: a window's pace as of the envelope's `computed_at`. Stale once `valid_until` (the window's reset) passes. */
3421
3644
  export declare const QuotaPaceSchema: z.ZodObject<{
3422
3645
  expected_remaining_percent: z.ZodNumber;
@@ -3426,6 +3649,11 @@ export declare const QuotaPaceSchema: z.ZodObject<{
3426
3649
  projected_minutes_to_empty: z.ZodNullable<z.ZodNumber>;
3427
3650
  elapsed_minutes: z.ZodNumber;
3428
3651
  valid_until: z.ZodString;
3652
+ status: z.ZodOptional<z.ZodEnum<{
3653
+ over: "over";
3654
+ on: "on";
3655
+ under: "under";
3656
+ }>>;
3429
3657
  }, z.core.$loose>;
3430
3658
  export declare const QuotaForecastSchema: z.ZodObject<{
3431
3659
  outcome: z.ZodEnum<{
@@ -3454,6 +3682,11 @@ export declare const QuotaWindowSchema: z.ZodObject<{
3454
3682
  projected_minutes_to_empty: z.ZodNullable<z.ZodNumber>;
3455
3683
  elapsed_minutes: z.ZodNumber;
3456
3684
  valid_until: z.ZodString;
3685
+ status: z.ZodOptional<z.ZodEnum<{
3686
+ over: "over";
3687
+ on: "on";
3688
+ under: "under";
3689
+ }>>;
3457
3690
  }, z.core.$loose>>;
3458
3691
  forecast: z.ZodNullable<z.ZodObject<{
3459
3692
  outcome: z.ZodEnum<{
@@ -3467,6 +3700,23 @@ export declare const QuotaWindowSchema: z.ZodObject<{
3467
3700
  budget_percent: z.ZodNullable<z.ZodNumber>;
3468
3701
  depletion_margin_minutes: z.ZodNullable<z.ZodNumber>;
3469
3702
  }, z.core.$loose>>;
3703
+ projection_eligible: z.ZodOptional<z.ZodBoolean>;
3704
+ urgency: z.ZodOptional<z.ZodObject<{
3705
+ remaining: z.ZodEnum<{
3706
+ stale: "stale";
3707
+ unavailable: "unavailable";
3708
+ warning: "warning";
3709
+ healthy: "healthy";
3710
+ critical: "critical";
3711
+ }>;
3712
+ pace: z.ZodEnum<{
3713
+ stale: "stale";
3714
+ unavailable: "unavailable";
3715
+ warning: "warning";
3716
+ healthy: "healthy";
3717
+ critical: "critical";
3718
+ }>;
3719
+ }, z.core.$loose>>;
3470
3720
  }, z.core.$loose>;
3471
3721
  export declare const QuotaSourceSchema: z.ZodObject<{
3472
3722
  source_id: z.ZodString;
@@ -3493,6 +3743,11 @@ export declare const QuotaSourceSchema: z.ZodObject<{
3493
3743
  projected_minutes_to_empty: z.ZodNullable<z.ZodNumber>;
3494
3744
  elapsed_minutes: z.ZodNumber;
3495
3745
  valid_until: z.ZodString;
3746
+ status: z.ZodOptional<z.ZodEnum<{
3747
+ over: "over";
3748
+ on: "on";
3749
+ under: "under";
3750
+ }>>;
3496
3751
  }, z.core.$loose>>;
3497
3752
  forecast: z.ZodNullable<z.ZodObject<{
3498
3753
  outcome: z.ZodEnum<{
@@ -3506,6 +3761,23 @@ export declare const QuotaSourceSchema: z.ZodObject<{
3506
3761
  budget_percent: z.ZodNullable<z.ZodNumber>;
3507
3762
  depletion_margin_minutes: z.ZodNullable<z.ZodNumber>;
3508
3763
  }, z.core.$loose>>;
3764
+ projection_eligible: z.ZodOptional<z.ZodBoolean>;
3765
+ urgency: z.ZodOptional<z.ZodObject<{
3766
+ remaining: z.ZodEnum<{
3767
+ stale: "stale";
3768
+ unavailable: "unavailable";
3769
+ warning: "warning";
3770
+ healthy: "healthy";
3771
+ critical: "critical";
3772
+ }>;
3773
+ pace: z.ZodEnum<{
3774
+ stale: "stale";
3775
+ unavailable: "unavailable";
3776
+ warning: "warning";
3777
+ healthy: "healthy";
3778
+ critical: "critical";
3779
+ }>;
3780
+ }, z.core.$loose>>;
3509
3781
  }, z.core.$loose>>>;
3510
3782
  balances: z.ZodOptional<z.ZodUnknown>;
3511
3783
  plan: z.ZodOptional<z.ZodUnknown>;
@@ -3516,6 +3788,22 @@ export declare const QuotaSourceSchema: z.ZodObject<{
3516
3788
  pace_window_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3517
3789
  session_window_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3518
3790
  weekly_window_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3791
+ urgency: z.ZodOptional<z.ZodObject<{
3792
+ remaining: z.ZodEnum<{
3793
+ stale: "stale";
3794
+ unavailable: "unavailable";
3795
+ warning: "warning";
3796
+ healthy: "healthy";
3797
+ critical: "critical";
3798
+ }>;
3799
+ pace: z.ZodEnum<{
3800
+ stale: "stale";
3801
+ unavailable: "unavailable";
3802
+ warning: "warning";
3803
+ healthy: "healthy";
3804
+ critical: "critical";
3805
+ }>;
3806
+ }, z.core.$loose>>;
3519
3807
  }, z.core.$loose>;
3520
3808
  /** An account-usage provider's normalised snapshot on `/api/provider/quota` (the same windows and indexes as a quotas source). */
3521
3809
  export declare const QuotaAccountLimitsSchema: z.ZodObject<{
@@ -3539,6 +3827,11 @@ export declare const QuotaAccountLimitsSchema: z.ZodObject<{
3539
3827
  projected_minutes_to_empty: z.ZodNullable<z.ZodNumber>;
3540
3828
  elapsed_minutes: z.ZodNumber;
3541
3829
  valid_until: z.ZodString;
3830
+ status: z.ZodOptional<z.ZodEnum<{
3831
+ over: "over";
3832
+ on: "on";
3833
+ under: "under";
3834
+ }>>;
3542
3835
  }, z.core.$loose>>;
3543
3836
  forecast: z.ZodNullable<z.ZodObject<{
3544
3837
  outcome: z.ZodEnum<{
@@ -3552,6 +3845,23 @@ export declare const QuotaAccountLimitsSchema: z.ZodObject<{
3552
3845
  budget_percent: z.ZodNullable<z.ZodNumber>;
3553
3846
  depletion_margin_minutes: z.ZodNullable<z.ZodNumber>;
3554
3847
  }, z.core.$loose>>;
3848
+ projection_eligible: z.ZodOptional<z.ZodBoolean>;
3849
+ urgency: z.ZodOptional<z.ZodObject<{
3850
+ remaining: z.ZodEnum<{
3851
+ stale: "stale";
3852
+ unavailable: "unavailable";
3853
+ warning: "warning";
3854
+ healthy: "healthy";
3855
+ critical: "critical";
3856
+ }>;
3857
+ pace: z.ZodEnum<{
3858
+ stale: "stale";
3859
+ unavailable: "unavailable";
3860
+ warning: "warning";
3861
+ healthy: "healthy";
3862
+ critical: "critical";
3863
+ }>;
3864
+ }, z.core.$loose>>;
3555
3865
  }, z.core.$loose>>;
3556
3866
  details: z.ZodOptional<z.ZodUnknown>;
3557
3867
  fetched_at: z.ZodNullable<z.ZodString>;
@@ -3591,6 +3901,11 @@ export declare const ProviderQuotaSchema: z.ZodObject<{
3591
3901
  projected_minutes_to_empty: z.ZodNullable<z.ZodNumber>;
3592
3902
  elapsed_minutes: z.ZodNumber;
3593
3903
  valid_until: z.ZodString;
3904
+ status: z.ZodOptional<z.ZodEnum<{
3905
+ over: "over";
3906
+ on: "on";
3907
+ under: "under";
3908
+ }>>;
3594
3909
  }, z.core.$loose>>;
3595
3910
  forecast: z.ZodNullable<z.ZodObject<{
3596
3911
  outcome: z.ZodEnum<{
@@ -3604,6 +3919,23 @@ export declare const ProviderQuotaSchema: z.ZodObject<{
3604
3919
  budget_percent: z.ZodNullable<z.ZodNumber>;
3605
3920
  depletion_margin_minutes: z.ZodNullable<z.ZodNumber>;
3606
3921
  }, z.core.$loose>>;
3922
+ projection_eligible: z.ZodOptional<z.ZodBoolean>;
3923
+ urgency: z.ZodOptional<z.ZodObject<{
3924
+ remaining: z.ZodEnum<{
3925
+ stale: "stale";
3926
+ unavailable: "unavailable";
3927
+ warning: "warning";
3928
+ healthy: "healthy";
3929
+ critical: "critical";
3930
+ }>;
3931
+ pace: z.ZodEnum<{
3932
+ stale: "stale";
3933
+ unavailable: "unavailable";
3934
+ warning: "warning";
3935
+ healthy: "healthy";
3936
+ critical: "critical";
3937
+ }>;
3938
+ }, z.core.$loose>>;
3607
3939
  }, z.core.$loose>>;
3608
3940
  details: z.ZodOptional<z.ZodUnknown>;
3609
3941
  fetched_at: z.ZodNullable<z.ZodString>;
@@ -3646,6 +3978,11 @@ export declare const ProviderQuotasSchema: z.ZodObject<{
3646
3978
  projected_minutes_to_empty: z.ZodNullable<z.ZodNumber>;
3647
3979
  elapsed_minutes: z.ZodNumber;
3648
3980
  valid_until: z.ZodString;
3981
+ status: z.ZodOptional<z.ZodEnum<{
3982
+ over: "over";
3983
+ on: "on";
3984
+ under: "under";
3985
+ }>>;
3649
3986
  }, z.core.$loose>>;
3650
3987
  forecast: z.ZodNullable<z.ZodObject<{
3651
3988
  outcome: z.ZodEnum<{
@@ -3659,6 +3996,23 @@ export declare const ProviderQuotasSchema: z.ZodObject<{
3659
3996
  budget_percent: z.ZodNullable<z.ZodNumber>;
3660
3997
  depletion_margin_minutes: z.ZodNullable<z.ZodNumber>;
3661
3998
  }, z.core.$loose>>;
3999
+ projection_eligible: z.ZodOptional<z.ZodBoolean>;
4000
+ urgency: z.ZodOptional<z.ZodObject<{
4001
+ remaining: z.ZodEnum<{
4002
+ stale: "stale";
4003
+ unavailable: "unavailable";
4004
+ warning: "warning";
4005
+ healthy: "healthy";
4006
+ critical: "critical";
4007
+ }>;
4008
+ pace: z.ZodEnum<{
4009
+ stale: "stale";
4010
+ unavailable: "unavailable";
4011
+ warning: "warning";
4012
+ healthy: "healthy";
4013
+ critical: "critical";
4014
+ }>;
4015
+ }, z.core.$loose>>;
3662
4016
  }, z.core.$loose>>>;
3663
4017
  balances: z.ZodOptional<z.ZodUnknown>;
3664
4018
  plan: z.ZodOptional<z.ZodUnknown>;
@@ -3669,8 +4023,59 @@ export declare const ProviderQuotasSchema: z.ZodObject<{
3669
4023
  pace_window_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3670
4024
  session_window_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3671
4025
  weekly_window_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4026
+ urgency: z.ZodOptional<z.ZodObject<{
4027
+ remaining: z.ZodEnum<{
4028
+ stale: "stale";
4029
+ unavailable: "unavailable";
4030
+ warning: "warning";
4031
+ healthy: "healthy";
4032
+ critical: "critical";
4033
+ }>;
4034
+ pace: z.ZodEnum<{
4035
+ stale: "stale";
4036
+ unavailable: "unavailable";
4037
+ warning: "warning";
4038
+ healthy: "healthy";
4039
+ critical: "critical";
4040
+ }>;
4041
+ }, z.core.$loose>>;
3672
4042
  }, z.core.$loose>>;
3673
4043
  }, z.core.$loose>;
4044
+ /** One day of OpenRouter spend on `/api/provider/cost-history` (TAL-412). */
4045
+ export declare const CostSnapshotSchema: z.ZodObject<{
4046
+ date: z.ZodString;
4047
+ used: z.ZodNullable<z.ZodNumber>;
4048
+ delta: z.ZodNullable<z.ZodNumber>;
4049
+ bar_percent: z.ZodNumber;
4050
+ }, z.core.$loose>;
4051
+ /** Python `get_provider_cost_history`: OpenRouter daily spend with the server-computed monthly pace and budget standing. */
4052
+ export declare const ProviderCostHistorySchema: z.ZodObject<{
4053
+ ok: z.ZodBoolean;
4054
+ provider: z.ZodNullable<z.ZodString>;
4055
+ display_name: z.ZodOptional<z.ZodString>;
4056
+ supported: z.ZodOptional<z.ZodBoolean>;
4057
+ status: z.ZodString;
4058
+ message: z.ZodString;
4059
+ window_days: z.ZodOptional<z.ZodNumber>;
4060
+ snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
4061
+ date: z.ZodString;
4062
+ used: z.ZodNullable<z.ZodNumber>;
4063
+ delta: z.ZodNullable<z.ZodNumber>;
4064
+ bar_percent: z.ZodNumber;
4065
+ }, z.core.$loose>>>;
4066
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4067
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4068
+ monthly_budget: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4069
+ monthly_pace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4070
+ has_enough_data: z.ZodOptional<z.ZodBoolean>;
4071
+ budget_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4072
+ budget_level: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4073
+ ok: "ok";
4074
+ over: "over";
4075
+ warn: "warn";
4076
+ }>>>;
4077
+ }, z.core.$loose>;
4078
+ export type ProviderCostHistory = z.infer<typeof ProviderCostHistorySchema>;
3674
4079
  export declare const PersonalitiesSchema: z.ZodObject<{
3675
4080
  personalities: z.ZodArray<z.ZodObject<{
3676
4081
  name: z.ZodString;
@@ -3769,6 +4174,21 @@ export declare const DirListingSchema: z.ZodObject<{
3769
4174
  workspace_recovered: z.ZodOptional<z.ZodBoolean>;
3770
4175
  is_git: z.ZodOptional<z.ZodBoolean>;
3771
4176
  }, z.core.$loose>;
4177
+ /** How a workspace file renders (TAL-566): media streams from `/api/file/raw`; text kinds carry `content`. */
4178
+ export declare const FilePreviewKindSchema: z.ZodEnum<{
4179
+ text: "text";
4180
+ image: "image";
4181
+ audio: "audio";
4182
+ video: "video";
4183
+ pdf: "pdf";
4184
+ markdown: "markdown";
4185
+ csv: "csv";
4186
+ html: "html";
4187
+ binary: "binary";
4188
+ }>;
4189
+ export type FilePreviewKind = z.infer<typeof FilePreviewKindSchema>;
4190
+ /** `table` is a `csv` preview's leading rows (header first); `table_truncated` says the file has more. `preview_url` is an
4191
+ * `html` preview's app-relative frame URL, under which the page's relative assets also resolve. */
3772
4192
  export declare const FileContentSchema: z.ZodObject<{
3773
4193
  path: z.ZodOptional<z.ZodString>;
3774
4194
  content: z.ZodOptional<z.ZodString>;
@@ -3777,6 +4197,20 @@ export declare const FileContentSchema: z.ZodObject<{
3777
4197
  truncated: z.ZodOptional<z.ZodBoolean>;
3778
4198
  binary: z.ZodOptional<z.ZodBoolean>;
3779
4199
  mime: z.ZodOptional<z.ZodString>;
4200
+ preview: z.ZodOptional<z.ZodEnum<{
4201
+ text: "text";
4202
+ image: "image";
4203
+ audio: "audio";
4204
+ video: "video";
4205
+ pdf: "pdf";
4206
+ markdown: "markdown";
4207
+ csv: "csv";
4208
+ html: "html";
4209
+ binary: "binary";
4210
+ }>>;
4211
+ table: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4212
+ table_truncated: z.ZodOptional<z.ZodBoolean>;
4213
+ preview_url: z.ZodOptional<z.ZodString>;
3780
4214
  }, z.core.$loose>;
3781
4215
  export declare const GitInfoSchema: z.ZodObject<{
3782
4216
  git: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -3866,7 +4300,8 @@ export declare const PromptsSchema: z.ZodObject<{
3866
4300
  * first, then the Agent registry, in display order; each name appears once. `handler` says who runs it, `clients` which
3867
4301
  * clients can run it, and `unsupported_message` is the English text a client outside `clients` shows when it is typed.
3868
4302
  * Clients suggest the entries listing them whose name or any alias starts with the typed text (case-insensitive), and
3869
- * resolve a typed alias to the entry's `name`.
4303
+ * resolve a typed alias to the entry's `name`. `exec` marks an Agent entry `POST /api/commands/exec` runs: the client
4304
+ * posts the typed text there and shows the returned output instead of starting a chat turn (TAL-561).
3870
4305
  */
3871
4306
  export declare const CommandClientSchema: z.ZodEnum<{
3872
4307
  web: "web";
@@ -3890,6 +4325,7 @@ export declare const CommandRowSchema: z.ZodObject<{
3890
4325
  cli_only: z.ZodOptional<z.ZodBoolean>;
3891
4326
  gateway_only: z.ZodOptional<z.ZodBoolean>;
3892
4327
  subcommands: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
4328
+ exec: z.ZodOptional<z.ZodBoolean>;
3893
4329
  }, z.core.$loose>;
3894
4330
  export declare const CommandsSchema: z.ZodObject<{
3895
4331
  commands: z.ZodArray<z.ZodObject<{
@@ -3910,6 +4346,7 @@ export declare const CommandsSchema: z.ZodObject<{
3910
4346
  cli_only: z.ZodOptional<z.ZodBoolean>;
3911
4347
  gateway_only: z.ZodOptional<z.ZodBoolean>;
3912
4348
  subcommands: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
4349
+ exec: z.ZodOptional<z.ZodBoolean>;
3913
4350
  }, z.core.$loose>>;
3914
4351
  }, z.core.$loose>;
3915
4352
  export type Command = z.infer<typeof CommandRowSchema>;
@@ -4000,6 +4437,18 @@ export declare const SystemHealthSchema: z.ZodObject<{
4000
4437
  }, z.core.$loose>>>;
4001
4438
  webui_runtime: z.ZodOptional<z.ZodUnknown>;
4002
4439
  }, z.core.$loose>;
4440
+ export declare const UpdateStateSchema: z.ZodEnum<{
4441
+ unknown: "unknown";
4442
+ up_to_date: "up_to_date";
4443
+ release_ready: "release_ready";
4444
+ commits_behind: "commits_behind";
4445
+ local_changes: "local_changes";
4446
+ finish: "finish";
4447
+ manual: "manual";
4448
+ check_failed: "check_failed";
4449
+ off: "off";
4450
+ }>;
4451
+ export type UpdateState = z.infer<typeof UpdateStateSchema>;
4003
4452
  export declare const UpdateTargetSchema: z.ZodObject<{
4004
4453
  name: z.ZodOptional<z.ZodString>;
4005
4454
  channel: z.ZodOptional<z.ZodEnum<{
@@ -4028,6 +4477,21 @@ export declare const UpdateTargetSchema: z.ZodObject<{
4028
4477
  ignored: z.ZodOptional<z.ZodBoolean>;
4029
4478
  stale_check: z.ZodOptional<z.ZodBoolean>;
4030
4479
  current_version: z.ZodOptional<z.ZodString>;
4480
+ state: z.ZodEnum<{
4481
+ unknown: "unknown";
4482
+ up_to_date: "up_to_date";
4483
+ release_ready: "release_ready";
4484
+ commits_behind: "commits_behind";
4485
+ local_changes: "local_changes";
4486
+ finish: "finish";
4487
+ manual: "manual";
4488
+ check_failed: "check_failed";
4489
+ off: "off";
4490
+ }>;
4491
+ can_apply: z.ZodBoolean;
4492
+ installed_unverified: z.ZodBoolean;
4493
+ manual_link: z.ZodBoolean;
4494
+ target_version: z.ZodNullable<z.ZodString>;
4031
4495
  }, z.core.$loose>;
4032
4496
  export declare const UpdatesCheckSchema: z.ZodObject<{
4033
4497
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -4067,6 +4531,21 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
4067
4531
  ignored: z.ZodOptional<z.ZodBoolean>;
4068
4532
  stale_check: z.ZodOptional<z.ZodBoolean>;
4069
4533
  current_version: z.ZodOptional<z.ZodString>;
4534
+ state: z.ZodEnum<{
4535
+ unknown: "unknown";
4536
+ up_to_date: "up_to_date";
4537
+ release_ready: "release_ready";
4538
+ commits_behind: "commits_behind";
4539
+ local_changes: "local_changes";
4540
+ finish: "finish";
4541
+ manual: "manual";
4542
+ check_failed: "check_failed";
4543
+ off: "off";
4544
+ }>;
4545
+ can_apply: z.ZodBoolean;
4546
+ installed_unverified: z.ZodBoolean;
4547
+ manual_link: z.ZodBoolean;
4548
+ target_version: z.ZodNullable<z.ZodString>;
4070
4549
  }, z.core.$loose>>>;
4071
4550
  agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4072
4551
  name: z.ZodOptional<z.ZodString>;
@@ -4096,6 +4575,21 @@ export declare const UpdatesCheckSchema: z.ZodObject<{
4096
4575
  ignored: z.ZodOptional<z.ZodBoolean>;
4097
4576
  stale_check: z.ZodOptional<z.ZodBoolean>;
4098
4577
  current_version: z.ZodOptional<z.ZodString>;
4578
+ state: z.ZodEnum<{
4579
+ unknown: "unknown";
4580
+ up_to_date: "up_to_date";
4581
+ release_ready: "release_ready";
4582
+ commits_behind: "commits_behind";
4583
+ local_changes: "local_changes";
4584
+ finish: "finish";
4585
+ manual: "manual";
4586
+ check_failed: "check_failed";
4587
+ off: "off";
4588
+ }>;
4589
+ can_apply: z.ZodBoolean;
4590
+ installed_unverified: z.ZodBoolean;
4591
+ manual_link: z.ZodBoolean;
4592
+ target_version: z.ZodNullable<z.ZodString>;
4099
4593
  }, z.core.$loose>>>;
4100
4594
  }, z.core.$loose>;
4101
4595
  export declare const UpdatesSummarySchema: z.ZodObject<{
@@ -4166,8 +4660,8 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
4166
4660
  }>, z.ZodString]>;
4167
4661
  severity: z.ZodEnum<{
4168
4662
  warning: "warning";
4169
- info: "info";
4170
4663
  critical: "critical";
4664
+ info: "info";
4171
4665
  }>;
4172
4666
  persistent: z.ZodBoolean;
4173
4667
  requires_acknowledgement: z.ZodBoolean;
@@ -4235,8 +4729,8 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
4235
4729
  }>, z.ZodString]>;
4236
4730
  severity: z.ZodEnum<{
4237
4731
  warning: "warning";
4238
- info: "info";
4239
4732
  critical: "critical";
4733
+ info: "info";
4240
4734
  }>;
4241
4735
  persistent: z.ZodBoolean;
4242
4736
  requires_acknowledgement: z.ZodBoolean;
@@ -4287,8 +4781,8 @@ export declare const UpdateNotificationsSchema: z.ZodObject<{
4287
4781
  }>, z.ZodString]>;
4288
4782
  severity: z.ZodEnum<{
4289
4783
  warning: "warning";
4290
- info: "info";
4291
4784
  critical: "critical";
4785
+ info: "info";
4292
4786
  }>;
4293
4787
  persistent: z.ZodBoolean;
4294
4788
  requires_acknowledgement: z.ZodBoolean;
@@ -4361,6 +4855,7 @@ export declare const McpServerSchema: z.ZodObject<{
4361
4855
  id: z.ZodOptional<z.ZodString>;
4362
4856
  transport: z.ZodOptional<z.ZodString>;
4363
4857
  enabled: z.ZodOptional<z.ZodBoolean>;
4858
+ can_toggle: z.ZodOptional<z.ZodBoolean>;
4364
4859
  active: z.ZodOptional<z.ZodBoolean>;
4365
4860
  status: z.ZodOptional<z.ZodString>;
4366
4861
  tools: z.ZodOptional<z.ZodNumber>;
@@ -4376,6 +4871,7 @@ export declare const McpServersSchema: z.ZodObject<{
4376
4871
  id: z.ZodOptional<z.ZodString>;
4377
4872
  transport: z.ZodOptional<z.ZodString>;
4378
4873
  enabled: z.ZodOptional<z.ZodBoolean>;
4874
+ can_toggle: z.ZodOptional<z.ZodBoolean>;
4379
4875
  active: z.ZodOptional<z.ZodBoolean>;
4380
4876
  status: z.ZodOptional<z.ZodString>;
4381
4877
  tools: z.ZodOptional<z.ZodNumber>;
@@ -4429,6 +4925,7 @@ export declare const TodoStateSchema: z.ZodObject<{
4429
4925
  done: z.ZodOptional<z.ZodBoolean>;
4430
4926
  completed: z.ZodOptional<z.ZodBoolean>;
4431
4927
  }, z.core.$loose>>>;
4928
+ summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4432
4929
  version: z.ZodOptional<z.ZodNumber>;
4433
4930
  ts: z.ZodOptional<z.ZodNumber>;
4434
4931
  source: z.ZodOptional<z.ZodString>;
@@ -4576,10 +5073,10 @@ export declare const CronRepeatSchema: z.ZodObject<{
4576
5073
  export declare const CronDerivedStateSchema: z.ZodEnum<{
4577
5074
  error: "error";
4578
5075
  active: "active";
5076
+ off: "off";
4579
5077
  needs_attention: "needs_attention";
4580
5078
  schedule_error: "schedule_error";
4581
5079
  paused: "paused";
4582
- off: "off";
4583
5080
  }>;
4584
5081
  export type CronDerivedState = z.infer<typeof CronDerivedStateSchema>;
4585
5082
  export declare const CronJobViewSchema: z.ZodObject<{
@@ -4634,10 +5131,10 @@ export declare const CronJobViewSchema: z.ZodObject<{
4634
5131
  derived_state: z.ZodOptional<z.ZodEnum<{
4635
5132
  error: "error";
4636
5133
  active: "active";
5134
+ off: "off";
4637
5135
  needs_attention: "needs_attention";
4638
5136
  schedule_error: "schedule_error";
4639
5137
  paused: "paused";
4640
- off: "off";
4641
5138
  }>>;
4642
5139
  needs_attention: z.ZodOptional<z.ZodBoolean>;
4643
5140
  resumable: z.ZodOptional<z.ZodBoolean>;
@@ -4696,10 +5193,10 @@ export declare const CronsSchema: z.ZodObject<{
4696
5193
  derived_state: z.ZodOptional<z.ZodEnum<{
4697
5194
  error: "error";
4698
5195
  active: "active";
5196
+ off: "off";
4699
5197
  needs_attention: "needs_attention";
4700
5198
  schedule_error: "schedule_error";
4701
5199
  paused: "paused";
4702
- off: "off";
4703
5200
  }>>;
4704
5201
  needs_attention: z.ZodOptional<z.ZodBoolean>;
4705
5202
  resumable: z.ZodOptional<z.ZodBoolean>;
@@ -4806,10 +5303,10 @@ export declare const CronMutationSchema: z.ZodObject<{
4806
5303
  derived_state: z.ZodOptional<z.ZodEnum<{
4807
5304
  error: "error";
4808
5305
  active: "active";
5306
+ off: "off";
4809
5307
  needs_attention: "needs_attention";
4810
5308
  schedule_error: "schedule_error";
4811
5309
  paused: "paused";
4812
- off: "off";
4813
5310
  }>>;
4814
5311
  needs_attention: z.ZodOptional<z.ZodBoolean>;
4815
5312
  resumable: z.ZodOptional<z.ZodBoolean>;
@@ -4879,7 +5376,34 @@ export declare const CronRunSchema: z.ZodObject<{
4879
5376
  export declare const CronStatusSchema: z.ZodObject<{
4880
5377
  running: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4881
5378
  }, z.core.$loose>;
5379
+ /** Card actions the server offers for a task's current status (TAL-557); clients show exactly these. `move_to` lists the statuses a Move may target, in display order. */
5380
+ export declare const KanbanTaskActionsSchema: z.ZodObject<{
5381
+ block: z.ZodBoolean;
5382
+ unblock: z.ZodBoolean;
5383
+ complete: z.ZodBoolean;
5384
+ archive: z.ZodBoolean;
5385
+ move_to: z.ZodArray<z.ZodString>;
5386
+ }, z.core.$strip>;
5387
+ /** Server-computed card policy on every task the Kanban routes return (TAL-557). `requires_running_exit_confirmation`: any action takes the task out of a live run, so clients confirm first. */
5388
+ export declare const KanbanTaskPolicyShape: {
5389
+ available_actions: z.ZodObject<{
5390
+ block: z.ZodBoolean;
5391
+ unblock: z.ZodBoolean;
5392
+ complete: z.ZodBoolean;
5393
+ archive: z.ZodBoolean;
5394
+ move_to: z.ZodArray<z.ZodString>;
5395
+ }, z.core.$strip>;
5396
+ requires_running_exit_confirmation: z.ZodBoolean;
5397
+ };
4882
5398
  export declare const KanbanTaskViewSchema: z.ZodObject<{
5399
+ available_actions: z.ZodObject<{
5400
+ block: z.ZodBoolean;
5401
+ unblock: z.ZodBoolean;
5402
+ complete: z.ZodBoolean;
5403
+ archive: z.ZodBoolean;
5404
+ move_to: z.ZodArray<z.ZodString>;
5405
+ }, z.core.$strip>;
5406
+ requires_running_exit_confirmation: z.ZodBoolean;
4883
5407
  id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4884
5408
  title: z.ZodOptional<z.ZodString>;
4885
5409
  status: z.ZodOptional<z.ZodString>;
@@ -4895,6 +5419,14 @@ export declare const KanbanTaskViewSchema: z.ZodObject<{
4895
5419
  export declare const KanbanColumnSchema: z.ZodObject<{
4896
5420
  name: z.ZodString;
4897
5421
  tasks: z.ZodArray<z.ZodObject<{
5422
+ available_actions: z.ZodObject<{
5423
+ block: z.ZodBoolean;
5424
+ unblock: z.ZodBoolean;
5425
+ complete: z.ZodBoolean;
5426
+ archive: z.ZodBoolean;
5427
+ move_to: z.ZodArray<z.ZodString>;
5428
+ }, z.core.$strip>;
5429
+ requires_running_exit_confirmation: z.ZodBoolean;
4898
5430
  id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4899
5431
  title: z.ZodOptional<z.ZodString>;
4900
5432
  status: z.ZodOptional<z.ZodString>;
@@ -4908,10 +5440,47 @@ export declare const KanbanColumnSchema: z.ZodObject<{
4908
5440
  updated_at: z.ZodOptional<z.ZodUnknown>;
4909
5441
  }, z.core.$loose>>;
4910
5442
  }, z.core.$loose>;
5443
+ /** One profile lane (TAL-567): an assignee's tasks (`null` = unassigned) across every board column, with its task count. */
5444
+ export declare const KanbanLaneSchema: z.ZodObject<{
5445
+ assignee: z.ZodNullable<z.ZodString>;
5446
+ count: z.ZodNumber;
5447
+ columns: z.ZodArray<z.ZodObject<{
5448
+ name: z.ZodString;
5449
+ tasks: z.ZodArray<z.ZodObject<{
5450
+ available_actions: z.ZodObject<{
5451
+ block: z.ZodBoolean;
5452
+ unblock: z.ZodBoolean;
5453
+ complete: z.ZodBoolean;
5454
+ archive: z.ZodBoolean;
5455
+ move_to: z.ZodArray<z.ZodString>;
5456
+ }, z.core.$strip>;
5457
+ requires_running_exit_confirmation: z.ZodBoolean;
5458
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
5459
+ title: z.ZodOptional<z.ZodString>;
5460
+ status: z.ZodOptional<z.ZodString>;
5461
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5462
+ priority: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
5463
+ description: z.ZodOptional<z.ZodString>;
5464
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5465
+ session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5466
+ archived: z.ZodOptional<z.ZodBoolean>;
5467
+ created_at: z.ZodOptional<z.ZodUnknown>;
5468
+ updated_at: z.ZodOptional<z.ZodUnknown>;
5469
+ }, z.core.$loose>>;
5470
+ }, z.core.$loose>>;
5471
+ }, z.core.$strip>;
4911
5472
  export declare const KanbanBoardViewSchema: z.ZodObject<{
4912
5473
  columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
4913
5474
  name: z.ZodString;
4914
5475
  tasks: z.ZodArray<z.ZodObject<{
5476
+ available_actions: z.ZodObject<{
5477
+ block: z.ZodBoolean;
5478
+ unblock: z.ZodBoolean;
5479
+ complete: z.ZodBoolean;
5480
+ archive: z.ZodBoolean;
5481
+ move_to: z.ZodArray<z.ZodString>;
5482
+ }, z.core.$strip>;
5483
+ requires_running_exit_confirmation: z.ZodBoolean;
4915
5484
  id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4916
5485
  title: z.ZodOptional<z.ZodString>;
4917
5486
  status: z.ZodOptional<z.ZodString>;
@@ -4931,6 +5500,36 @@ export declare const KanbanBoardViewSchema: z.ZodObject<{
4931
5500
  read_only: z.ZodOptional<z.ZodBoolean>;
4932
5501
  tenants: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
4933
5502
  changed: z.ZodOptional<z.ZodBoolean>;
5503
+ bulk_move_targets: z.ZodArray<z.ZodString>;
5504
+ lane_by_profile: z.ZodBoolean;
5505
+ lanes: z.ZodOptional<z.ZodArray<z.ZodObject<{
5506
+ assignee: z.ZodNullable<z.ZodString>;
5507
+ count: z.ZodNumber;
5508
+ columns: z.ZodArray<z.ZodObject<{
5509
+ name: z.ZodString;
5510
+ tasks: z.ZodArray<z.ZodObject<{
5511
+ available_actions: z.ZodObject<{
5512
+ block: z.ZodBoolean;
5513
+ unblock: z.ZodBoolean;
5514
+ complete: z.ZodBoolean;
5515
+ archive: z.ZodBoolean;
5516
+ move_to: z.ZodArray<z.ZodString>;
5517
+ }, z.core.$strip>;
5518
+ requires_running_exit_confirmation: z.ZodBoolean;
5519
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
5520
+ title: z.ZodOptional<z.ZodString>;
5521
+ status: z.ZodOptional<z.ZodString>;
5522
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5523
+ priority: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
5524
+ description: z.ZodOptional<z.ZodString>;
5525
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5526
+ session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5527
+ archived: z.ZodOptional<z.ZodBoolean>;
5528
+ created_at: z.ZodOptional<z.ZodUnknown>;
5529
+ updated_at: z.ZodOptional<z.ZodUnknown>;
5530
+ }, z.core.$loose>>;
5531
+ }, z.core.$loose>>;
5532
+ }, z.core.$strip>>>;
4934
5533
  }, z.core.$loose>;
4935
5534
  export declare const KanbanBoardsViewSchema: z.ZodObject<{
4936
5535
  boards: z.ZodArray<z.ZodObject<{
@@ -4942,10 +5541,20 @@ export declare const KanbanBoardsViewSchema: z.ZodObject<{
4942
5541
  color: z.ZodOptional<z.ZodString>;
4943
5542
  icon: z.ZodOptional<z.ZodString>;
4944
5543
  description: z.ZodOptional<z.ZodString>;
5544
+ removable: z.ZodBoolean;
4945
5545
  }, z.core.$loose>>;
4946
5546
  current: z.ZodOptional<z.ZodString>;
4947
5547
  read_only: z.ZodOptional<z.ZodBoolean>;
4948
5548
  }, z.core.$loose>;
5549
+ /** Board-wide task counts (TAL-567): `status_counts` in board-column order, unknown statuses after; `total` excludes archived tasks. */
5550
+ export declare const KanbanStatsViewSchema: z.ZodObject<{
5551
+ by_status: z.ZodRecord<z.ZodString, z.ZodNumber>;
5552
+ total: z.ZodNumber;
5553
+ status_counts: z.ZodArray<z.ZodObject<{
5554
+ status: z.ZodString;
5555
+ count: z.ZodNumber;
5556
+ }, z.core.$strip>>;
5557
+ }, z.core.$loose>;
4949
5558
  export declare const ExtensionStatusSchema: z.ZodObject<{
4950
5559
  enabled: z.ZodBoolean;
4951
5560
  extension_dir_configured: z.ZodOptional<z.ZodBoolean>;