@anchrd/colab-sdk 0.1.22 → 0.1.23

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.
@@ -7,7 +7,9 @@ import { Digest, InstructionsLink, Known, KnownText } from "../instructions/inst
7
7
  import { Limit as PageSize } from "../list-input.js";
8
8
  import { MessageAuthor, MessageId } from "../messages/messages.js";
9
9
  import { BoardShownKind, NodeId, NodeKind, NodePath } from "../nodes/nodes.js";
10
+ import { OperatorRunId } from "../operators/operators.js";
10
11
  import { RunId, RunStatus } from "../runs/runs.js";
12
+ import { SkillOffer } from "../skills/skills.js";
11
13
  import { UserId } from "../users/users.js";
12
14
  // Actions (#46, Seiten › Actions, E43, E67): one list over every board and chat with what waits on a
13
15
  // person. Every row is a node shown live, never a copy, and a node is one row, never two: a task of
@@ -18,7 +20,7 @@ export const ActionListInput = z.strictObject({
18
20
  filter: z
19
21
  .enum(actionFilters)
20
22
  .optional()
21
- .describe("Which rows: all, tasks (tasks, due processes, open runs, the validation's tickets in New for the holder of validator, and broken gadgets you answer for) or chats (rows with something unread, a task's chat included). Notices of other parts of Colab come only with all. Leaving it out gives all. count always counts all."),
23
+ .describe("Which rows: all, tasks (tasks, due processes, open runs and broken gadgets you answer for) or chats (rows with something unread, a task's chat included). Notices of other parts of Colab come only with all. Leaving it out gives all. count always counts all."),
22
24
  userId: UserId.optional().describe("Whose Actions to read, `user_…`. Only an admin in admin mode reads another person's, to see where they are stuck; anyone else gets not_found. Leaving it out reads your own."),
23
25
  cursor: z
24
26
  .string()
@@ -41,9 +43,12 @@ export const ActionTask = z.object({
41
43
  handedOver: z.boolean(),
42
44
  // The task's rev (E70, #671): intelligence_task_update takes it without reading the task first.
43
45
  rev: z.number().int(),
44
- // Its start date was reached within the last 24 hours (E124): the row says "starts today", and
46
+ // Its start date was reached within the last 24 hours (E141): the row says "starts today", and
45
47
  // `since` is that moment when it came later than the task into its column. Absent otherwise.
46
48
  startsToday: z.literal(true).optional(),
49
+ // Its due date (`endsAt`) was reached within the last 24 hours (E141): "due today", like
50
+ // `startsToday`. Absent otherwise.
51
+ dueToday: z.literal(true).optional(),
47
52
  });
48
53
  export const ActionChat = z.object({
49
54
  // The messages of others not read yet, by the person themselves (not their AI).
@@ -78,8 +83,7 @@ export const ActionRun = z.object({
78
83
  runId: RunId,
79
84
  status: RunStatus,
80
85
  // The cards of this run assigned to the reader, in every column, in the order of the run's columns
81
- // and their position; never another's. Empty without one, and always for the validation, whose run
82
- // copies no cards.
86
+ // and their position; never another's. Empty without one.
83
87
  tasks: z.array(ActionRunTask),
84
88
  // Only for the responsible of the run's process, while the run waits on them (E124, E125).
85
89
  hint: ActionRunHint.optional(),
@@ -99,17 +103,8 @@ export const ActionGadget = z.object({
99
103
  // Nobody is responsible: the row reaches the publisher only to name one.
100
104
  hint: z.boolean(),
101
105
  });
102
- // The tickets of the validation that wait on the holder of `validator` (E132): its latest run found
103
- // tickets in New, and they still lie there, so the holder goes on until they are checked. On the
104
- // validation board's row, beside its open run or its due moment, or alone.
105
- export const ActionValidation = z.object({
106
- // How many tickets lie in New now (a column of type backlog of the validation board), those that
107
- // came after the run started included.
108
- newTickets: z.number().int().positive(),
109
- });
110
106
  // One row: the node, where it waits, since when, and what makes it wait. Exactly one of task,
111
107
  // process, run and gadget, or none of them on a row that is a chat alone; chat beside any of them.
112
- // `validation` stands on the validation board's row only, beside process or run or alone.
113
108
  export const ActionItem = z.object({
114
109
  node: z.object({
115
110
  nodeId: NodeId,
@@ -119,7 +114,8 @@ export const ActionItem = z.object({
119
114
  // A ticket of the validation board (#47) is called after its node, its crumb is the board.
120
115
  path: NodePath,
121
116
  // The validation status (#47): the type of the column the ticket of a document, table or file
122
- // stands in, and a ticket's own; null for every other node.
117
+ // stands in, and a ticket's own; null for every other node. ⚠️ A ticket in New reads `backlog`
118
+ // (unchecked) although New is a column of type open (#814, E141).
123
119
  status: ColumnType.nullable(),
124
120
  // What a board is, like `NodeListItem.boardKind` (#227); null for every other kind.
125
121
  boardKind: BoardShownKind.nullable(),
@@ -127,17 +123,13 @@ export const ActionItem = z.object({
127
123
  section: ActionSection,
128
124
  // Since when it waits: a task since it came into its column (or its start date was reached), a
129
125
  // chat since its first unread message, a due process since its moment, an open run since it
130
- // started, a run that stands since its last task left Open or In progress, the tickets left in
131
- // New since the run that found them ended.
126
+ // started, a run that stands since its last task left Open or In progress.
132
127
  since: z.iso.datetime(),
133
128
  task: ActionTask.nullable(),
134
129
  chat: ActionChat.nullable(),
135
130
  process: ActionProcess.nullable(),
136
131
  run: ActionRun.nullable(),
137
132
  gadget: ActionGadget.nullable(),
138
- // Absent on every row but the validation board's of the holder of `validator`, and there too
139
- // once no ticket its latest run found lies in New any more.
140
- validation: ActionValidation.optional(),
141
133
  });
142
134
  // What another package puts into a person's Actions (#334, E81, E82): "access invalid" for every
143
135
  // admin, "Operator paused" for its responsible person. Gathered when asked like every row, never
@@ -146,16 +138,33 @@ export const ActionItem = z.object({
146
138
  //
147
139
  // Every text is a closed word with its values, never a sentence (#379, E22): the UI words it in the
148
140
  // reader's language, and the AI reads the same structure.
149
- // What the notice is, for its icon: an access that stopped working, a paused Operator.
150
- export const ActionNoticeKind = z.enum(["credential", "paused"]);
141
+ // A technical abort of an Operator's run (E141, #825): a timeout, a crash or a container that did
142
+ // not start, a run without its closing result, an error of Colab's own, or a provider that failed
143
+ // or set a limit. Never a wanted stop (the Operator waits, a person stops it, the budget or the
144
+ // daily limit), and never a refused credential or a locked Operator, which have their own rows.
145
+ export const ActionAbortReason = z.enum([
146
+ "timeout",
147
+ "crash",
148
+ "container",
149
+ "noresult",
150
+ "error",
151
+ "provider",
152
+ ]);
153
+ // What the notice is, for its icon: an access that stopped working, a paused Operator, a run that
154
+ // broke off for a technical reason (E141, #825).
155
+ export const ActionNoticeKind = z.enum(["credential", "paused", "abort"]);
151
156
  // Its title: which notice, and the name it is about.
152
157
  export const ActionNoticeTitle = z.discriminatedUnion("text", [
153
158
  // "Access invalid: <the credential's name>".
154
159
  z.object({ text: z.literal("credentialInvalid"), name: z.string() }),
155
160
  // "Operator paused: daily limit reached".
156
161
  z.object({ text: z.literal("pausedLimit") }),
162
+ // "Monthly limit reached": a person's personal Operators pause (E143, #804).
163
+ z.object({ text: z.literal("pausedBudget") }),
157
164
  // "Operator paused: <failures> failures".
158
165
  z.object({ text: z.literal("pausedFailures"), failures: z.number().int().positive() }),
166
+ // "Run aborted: <reason>" (E141, #825).
167
+ z.object({ text: z.literal("runAborted"), reason: ActionAbortReason }),
159
168
  ]);
160
169
  // One step of the grey path below the title: a word the UI translates, or a name shown as it is.
161
170
  export const ActionNoticeCrumb = z.union([
@@ -180,6 +189,13 @@ export const ActionNoticeReason = z.object({
180
189
  limit: z.number().int().positive(),
181
190
  until: z.iso.datetime(),
182
191
  }),
192
+ // "<spentUsd> of <limitUsd> this month. Your Operators go on on <until>." (E143, #804)
193
+ z.object({
194
+ text: z.literal("budgetReached"),
195
+ spentUsd: z.number().nonnegative(),
196
+ limitUsd: z.number().nonnegative(),
197
+ until: z.iso.datetime(),
198
+ }),
183
199
  // "Last at <at>: <detail>", the last failed run; null without one.
184
200
  z.object({
185
201
  text: z.literal("lastFailure"),
@@ -190,9 +206,17 @@ export const ActionNoticeReason = z.object({
190
206
  });
191
207
  // A button of the row: its word and where it leads, a path within Colab. The first is the primary.
192
208
  export const ActionNoticeButton = z.object({
193
- label: z.enum(["replaceCredential", "resume", "changeLimit", "viewLog"]),
209
+ label: z.enum(["replaceCredential", "resume", "changeLimit", "viewLog", "viewRun"]),
194
210
  href: z.string(),
195
211
  });
212
+ // What the abort row carries over `/mcp` (Seiten › Actions): why, the run, and the cards the run
213
+ // stood at that are still In progress, each with its rev, so the Operator tidies them up first when
214
+ // it is woken next. The row itself wakes nobody and starts no run.
215
+ export const ActionAbort = z.object({
216
+ reason: ActionAbortReason,
217
+ runId: OperatorRunId,
218
+ tasks: z.array(ActionRunTask),
219
+ });
196
220
  export const ActionNotice = z.object({
197
221
  // The package that names it.
198
222
  package: z.enum(packages),
@@ -205,6 +229,8 @@ export const ActionNotice = z.object({
205
229
  // Where the row leads: the page of the access or the Operator, a path within Colab.
206
230
  href: z.string(),
207
231
  buttons: z.array(ActionNoticeButton).max(3),
232
+ // Only on a row of the kind `abort`; operator_run_update with read: true marks it read.
233
+ abort: ActionAbort.optional(),
208
234
  });
209
235
  export const ActionNoticeItem = z.object({
210
236
  notice: ActionNotice,
@@ -239,4 +265,8 @@ export const ActionList = z.object({
239
265
  // root folder as one link of #39's chain with its version, empty when there is none (traps P033,
240
266
  // P034); only the reference when it sent their digest under `known` (E123).
241
267
  instructions: MachineInstructionsRead.optional(),
268
+ // Only for a machine reading its own Actions over MCP (E140, #817): name and trigger of every
269
+ // readable skill with its trigger on, from `.Skills` and the folders above the nodes of its rows.
270
+ // An Operator gets them at the start of a run and decides itself which to load.
271
+ skills: z.array(SkillOffer).optional(),
242
272
  });
@@ -38,13 +38,13 @@ export declare const BoardCreateInput: z.ZodObject<{
38
38
  package: "package";
39
39
  target: "target";
40
40
  search: "search";
41
+ calendar: "calendar";
41
42
  flag: "flag";
42
43
  route: "route";
43
44
  "arrow-right": "arrow-right";
44
45
  "square-check": "square-check";
45
46
  "file-text": "file-text";
46
47
  bulb: "bulb";
47
- calendar: "calendar";
48
48
  star: "star";
49
49
  bolt: "bolt";
50
50
  bug: "bug";
@@ -106,6 +106,24 @@ export declare const BoardUpdateInput: z.ZodObject<{
106
106
  sunday: "sunday";
107
107
  }>>>;
108
108
  dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
109
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
110
+ week: z.ZodEnum<{
111
+ first: "first";
112
+ last: "last";
113
+ second: "second";
114
+ third: "third";
115
+ fourth: "fourth";
116
+ }>;
117
+ day: z.ZodEnum<{
118
+ monday: "monday";
119
+ tuesday: "tuesday";
120
+ wednesday: "wednesday";
121
+ thursday: "thursday";
122
+ friday: "friday";
123
+ saturday: "saturday";
124
+ sunday: "sunday";
125
+ }>;
126
+ }, z.core.$strict>>;
109
127
  times: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
128
  dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
129
  zone: z.ZodOptional<z.ZodString>;
@@ -139,13 +157,13 @@ export declare const BoardUpdateInput: z.ZodObject<{
139
157
  package: "package";
140
158
  target: "target";
141
159
  search: "search";
160
+ calendar: "calendar";
142
161
  flag: "flag";
143
162
  route: "route";
144
163
  "arrow-right": "arrow-right";
145
164
  "square-check": "square-check";
146
165
  "file-text": "file-text";
147
166
  bulb: "bulb";
148
- calendar: "calendar";
149
167
  star: "star";
150
168
  bolt: "bolt";
151
169
  bug: "bug";
@@ -194,6 +212,7 @@ export declare const BoardColumn: z.ZodObject<{
194
212
  }>;
195
213
  visible: z.ZodBoolean;
196
214
  description: z.ZodString;
215
+ system: z.ZodOptional<z.ZodLiteral<"new">>;
197
216
  }, z.core.$strip>;
198
217
  export type BoardColumn = z.infer<typeof BoardColumn>;
199
218
  export declare const BoardLabel: z.ZodObject<{
@@ -281,6 +300,24 @@ export declare const BoardDetail: z.ZodObject<{
281
300
  sunday: "sunday";
282
301
  }>>>;
283
302
  dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
303
+ weekdayOfMonth: z.ZodOptional<z.ZodObject<{
304
+ week: z.ZodEnum<{
305
+ first: "first";
306
+ last: "last";
307
+ second: "second";
308
+ third: "third";
309
+ fourth: "fourth";
310
+ }>;
311
+ day: z.ZodEnum<{
312
+ monday: "monday";
313
+ tuesday: "tuesday";
314
+ wednesday: "wednesday";
315
+ thursday: "thursday";
316
+ friday: "friday";
317
+ saturday: "saturday";
318
+ sunday: "sunday";
319
+ }>;
320
+ }, z.core.$strict>>;
284
321
  times: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
322
  dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
286
323
  zone: z.ZodOptional<z.ZodString>;
@@ -363,6 +400,7 @@ export declare const BoardDetail: z.ZodObject<{
363
400
  }>;
364
401
  visible: z.ZodBoolean;
365
402
  description: z.ZodString;
403
+ system: z.ZodOptional<z.ZodLiteral<"new">>;
366
404
  }, z.core.$strip>>;
367
405
  cardKinds: z.ZodArray<z.ZodObject<{
368
406
  kindId: z.ZodTemplateLiteral<`kind_${string}`>;
@@ -373,13 +411,13 @@ export declare const BoardDetail: z.ZodObject<{
373
411
  package: "package";
374
412
  target: "target";
375
413
  search: "search";
414
+ calendar: "calendar";
376
415
  flag: "flag";
377
416
  route: "route";
378
417
  "arrow-right": "arrow-right";
379
418
  "square-check": "square-check";
380
419
  "file-text": "file-text";
381
420
  bulb: "bulb";
382
- calendar: "calendar";
383
421
  star: "star";
384
422
  bolt: "bolt";
385
423
  bug: "bug";
@@ -609,13 +647,13 @@ export declare const BoardTaskItem: z.ZodObject<{
609
647
  package: "package";
610
648
  target: "target";
611
649
  search: "search";
650
+ calendar: "calendar";
612
651
  flag: "flag";
613
652
  route: "route";
614
653
  "arrow-right": "arrow-right";
615
654
  "square-check": "square-check";
616
655
  "file-text": "file-text";
617
656
  bulb: "bulb";
618
- calendar: "calendar";
619
657
  star: "star";
620
658
  bolt: "bolt";
621
659
  bug: "bug";
@@ -636,6 +674,8 @@ export declare const BoardTaskItem: z.ZodObject<{
636
674
  board: "board";
637
675
  task: "task";
638
676
  gadget: "gadget";
677
+ goal: "goal";
678
+ skill: "skill";
639
679
  }>;
640
680
  path: z.ZodObject<{
641
681
  section: z.ZodEnum<{
@@ -709,13 +749,13 @@ export declare const BoardTaskList: z.ZodObject<{
709
749
  package: "package";
710
750
  target: "target";
711
751
  search: "search";
752
+ calendar: "calendar";
712
753
  flag: "flag";
713
754
  route: "route";
714
755
  "arrow-right": "arrow-right";
715
756
  "square-check": "square-check";
716
757
  "file-text": "file-text";
717
758
  bulb: "bulb";
718
- calendar: "calendar";
719
759
  star: "star";
720
760
  bolt: "bolt";
721
761
  bug: "bug";
@@ -736,6 +776,8 @@ export declare const BoardTaskList: z.ZodObject<{
736
776
  board: "board";
737
777
  task: "task";
738
778
  gadget: "gadget";
779
+ goal: "goal";
780
+ skill: "skill";
739
781
  }>;
740
782
  path: z.ZodObject<{
741
783
  section: z.ZodEnum<{
@@ -779,6 +821,7 @@ export declare const BoardTaskList: z.ZodObject<{
779
821
  }>;
780
822
  visible: z.ZodBoolean;
781
823
  description: z.ZodString;
824
+ system: z.ZodOptional<z.ZodLiteral<"new">>;
782
825
  }, z.core.$strip>>>;
783
826
  template: z.ZodOptional<z.ZodObject<{
784
827
  message: z.ZodString;
@@ -840,6 +883,7 @@ export declare const BoardTaskBriefList: z.ZodObject<{
840
883
  }>;
841
884
  visible: z.ZodBoolean;
842
885
  description: z.ZodString;
886
+ system: z.ZodOptional<z.ZodLiteral<"new">>;
843
887
  }, z.core.$strip>>>;
844
888
  template: z.ZodOptional<z.ZodObject<{
845
889
  message: z.ZodString;
@@ -962,13 +1006,13 @@ export declare const TaskDetail: z.ZodObject<{
962
1006
  package: "package";
963
1007
  target: "target";
964
1008
  search: "search";
1009
+ calendar: "calendar";
965
1010
  flag: "flag";
966
1011
  route: "route";
967
1012
  "arrow-right": "arrow-right";
968
1013
  "square-check": "square-check";
969
1014
  "file-text": "file-text";
970
1015
  bulb: "bulb";
971
- calendar: "calendar";
972
1016
  star: "star";
973
1017
  bolt: "bolt";
974
1018
  bug: "bug";
@@ -1004,13 +1048,13 @@ export declare const TaskDetail: z.ZodObject<{
1004
1048
  package: "package";
1005
1049
  target: "target";
1006
1050
  search: "search";
1051
+ calendar: "calendar";
1007
1052
  flag: "flag";
1008
1053
  route: "route";
1009
1054
  "arrow-right": "arrow-right";
1010
1055
  "square-check": "square-check";
1011
1056
  "file-text": "file-text";
1012
1057
  bulb: "bulb";
1013
- calendar: "calendar";
1014
1058
  star: "star";
1015
1059
  bolt: "bolt";
1016
1060
  bug: "bug";
@@ -1035,13 +1079,13 @@ export declare const TaskDetail: z.ZodObject<{
1035
1079
  package: "package";
1036
1080
  target: "target";
1037
1081
  search: "search";
1082
+ calendar: "calendar";
1038
1083
  flag: "flag";
1039
1084
  route: "route";
1040
1085
  "arrow-right": "arrow-right";
1041
1086
  "square-check": "square-check";
1042
1087
  "file-text": "file-text";
1043
1088
  bulb: "bulb";
1044
- calendar: "calendar";
1045
1089
  star: "star";
1046
1090
  bolt: "bolt";
1047
1091
  bug: "bug";
@@ -1076,6 +1120,8 @@ export declare const TaskDetail: z.ZodObject<{
1076
1120
  board: "board";
1077
1121
  task: "task";
1078
1122
  gadget: "gadget";
1123
+ goal: "goal";
1124
+ skill: "skill";
1079
1125
  }>;
1080
1126
  name: z.ZodString;
1081
1127
  path: z.ZodObject<{
@@ -1161,6 +1207,7 @@ export declare const TaskDetail: z.ZodObject<{
1161
1207
  }>;
1162
1208
  visible: z.ZodBoolean;
1163
1209
  description: z.ZodString;
1210
+ system: z.ZodOptional<z.ZodLiteral<"new">>;
1164
1211
  current: z.ZodBoolean;
1165
1212
  }, z.core.$strip>>>;
1166
1213
  }, z.core.$strip>;
@@ -91,6 +91,9 @@ export const BoardColumn = z.object({
91
91
  visible: z.boolean(),
92
92
  // Markdown, empty without one (#624).
93
93
  description: z.string(),
94
+ // `new` on the validation board's New only (#814): a column of type open where every ticket starts,
95
+ // shown unchecked (grey, dashed) like the status of its tickets. Absent on every other column.
96
+ system: z.literal("new").optional(),
94
97
  });
95
98
  export const BoardLabel = z.object({ labelId: LabelId, name: z.string() });
96
99
  // What stands between a board and saving it as a process (#43): the UI shows a box for each, and the
@@ -23,13 +23,13 @@ export declare const CardKindIcon: z.ZodEnum<{
23
23
  package: "package";
24
24
  target: "target";
25
25
  search: "search";
26
+ calendar: "calendar";
26
27
  flag: "flag";
27
28
  route: "route";
28
29
  "arrow-right": "arrow-right";
29
30
  "square-check": "square-check";
30
31
  "file-text": "file-text";
31
32
  bulb: "bulb";
32
- calendar: "calendar";
33
33
  star: "star";
34
34
  bolt: "bolt";
35
35
  bug: "bug";
@@ -70,13 +70,13 @@ export declare const CardKindInput: z.ZodObject<{
70
70
  package: "package";
71
71
  target: "target";
72
72
  search: "search";
73
+ calendar: "calendar";
73
74
  flag: "flag";
74
75
  route: "route";
75
76
  "arrow-right": "arrow-right";
76
77
  "square-check": "square-check";
77
78
  "file-text": "file-text";
78
79
  bulb: "bulb";
79
- calendar: "calendar";
80
80
  star: "star";
81
81
  bolt: "bolt";
82
82
  bug: "bug";
@@ -115,13 +115,13 @@ export declare const CardKindsInput: z.ZodArray<z.ZodObject<{
115
115
  package: "package";
116
116
  target: "target";
117
117
  search: "search";
118
+ calendar: "calendar";
118
119
  flag: "flag";
119
120
  route: "route";
120
121
  "arrow-right": "arrow-right";
121
122
  "square-check": "square-check";
122
123
  "file-text": "file-text";
123
124
  bulb: "bulb";
124
- calendar: "calendar";
125
125
  star: "star";
126
126
  bolt: "bolt";
127
127
  bug: "bug";
@@ -185,13 +185,13 @@ export declare const CardKind: z.ZodObject<{
185
185
  package: "package";
186
186
  target: "target";
187
187
  search: "search";
188
+ calendar: "calendar";
188
189
  flag: "flag";
189
190
  route: "route";
190
191
  "arrow-right": "arrow-right";
191
192
  "square-check": "square-check";
192
193
  "file-text": "file-text";
193
194
  bulb: "bulb";
194
- calendar: "calendar";
195
195
  star: "star";
196
196
  bolt: "bolt";
197
197
  bug: "bug";
@@ -230,13 +230,13 @@ export declare const TaskKind: z.ZodObject<{
230
230
  package: "package";
231
231
  target: "target";
232
232
  search: "search";
233
+ calendar: "calendar";
233
234
  flag: "flag";
234
235
  route: "route";
235
236
  "arrow-right": "arrow-right";
236
237
  "square-check": "square-check";
237
238
  "file-text": "file-text";
238
239
  bulb: "bulb";
239
- calendar: "calendar";
240
240
  star: "star";
241
241
  bolt: "bolt";
242
242
  bug: "bug";
@@ -3,8 +3,8 @@ export declare const ConnectionId: z.ZodTemplateLiteral<`connection_${string}`>;
3
3
  export declare const ConnectionState: z.ZodEnum<{
4
4
  expired: "expired";
5
5
  running: "running";
6
- not_connected: "not_connected";
7
6
  unreachable: "unreachable";
7
+ not_connected: "not_connected";
8
8
  }>;
9
9
  export type ConnectionState = z.infer<typeof ConnectionState>;
10
10
  export declare const ConnectionListInput: z.ZodObject<{
@@ -49,8 +49,8 @@ export declare const Connection: z.ZodObject<{
49
49
  state: z.ZodEnum<{
50
50
  expired: "expired";
51
51
  running: "running";
52
- not_connected: "not_connected";
53
52
  unreachable: "unreachable";
53
+ not_connected: "not_connected";
54
54
  }>;
55
55
  checkedAt: z.ZodNullable<z.ZodISODateTime>;
56
56
  expiredAt: z.ZodNullable<z.ZodISODateTime>;
@@ -70,8 +70,8 @@ export declare const ConnectionDetail: z.ZodObject<{
70
70
  state: z.ZodEnum<{
71
71
  expired: "expired";
72
72
  running: "running";
73
- not_connected: "not_connected";
74
73
  unreachable: "unreachable";
74
+ not_connected: "not_connected";
75
75
  }>;
76
76
  checkedAt: z.ZodNullable<z.ZodISODateTime>;
77
77
  expiredAt: z.ZodNullable<z.ZodISODateTime>;
@@ -93,8 +93,8 @@ export declare const ConnectionList: z.ZodObject<{
93
93
  state: z.ZodEnum<{
94
94
  expired: "expired";
95
95
  running: "running";
96
- not_connected: "not_connected";
97
96
  unreachable: "unreachable";
97
+ not_connected: "not_connected";
98
98
  }>;
99
99
  checkedAt: z.ZodNullable<z.ZodISODateTime>;
100
100
  expiredAt: z.ZodNullable<z.ZodISODateTime>;
@@ -125,8 +125,8 @@ export declare const ConnectionTested: z.ZodObject<{
125
125
  state: z.ZodEnum<{
126
126
  expired: "expired";
127
127
  running: "running";
128
- not_connected: "not_connected";
129
128
  unreachable: "unreachable";
129
+ not_connected: "not_connected";
130
130
  }>;
131
131
  checkedAt: z.ZodNullable<z.ZodISODateTime>;
132
132
  expiredAt: z.ZodNullable<z.ZodISODateTime>;
@@ -50,8 +50,8 @@ export declare const fileTextStates: readonly ["reading", "done", "failed", "non
50
50
  export declare const FileTextState: z.ZodEnum<{
51
51
  done: "done";
52
52
  failed: "failed";
53
- reading: "reading";
54
53
  none: "none";
54
+ reading: "reading";
55
55
  }>;
56
56
  export type FileTextState = z.infer<typeof FileTextState>;
57
57
  export declare const FileDetail: z.ZodObject<{
@@ -69,8 +69,8 @@ export declare const FileDetail: z.ZodObject<{
69
69
  textState: z.ZodEnum<{
70
70
  done: "done";
71
71
  failed: "failed";
72
- reading: "reading";
73
72
  none: "none";
73
+ reading: "reading";
74
74
  }>;
75
75
  excerpt: z.ZodOptional<z.ZodObject<{
76
76
  offset: z.ZodNumber;