@anchrd/colab-sdk 0.1.48 → 0.1.50

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.
@@ -407,6 +407,7 @@ export declare const TaskImage: z.ZodUnion<readonly [z.ZodObject<{
407
407
  }, z.core.$strip>, z.ZodObject<{
408
408
  kind: z.ZodLiteral<"file">;
409
409
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
410
+ preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
410
411
  }, z.core.$strip>]>;
411
412
  export type TaskImage = z.infer<typeof TaskImage>;
412
413
  export declare const BoardTaskItem: z.ZodObject<{
@@ -449,6 +450,7 @@ export declare const BoardTaskItem: z.ZodObject<{
449
450
  }, z.core.$strip>, z.ZodObject<{
450
451
  kind: z.ZodLiteral<"file">;
451
452
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
453
+ preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
452
454
  }, z.core.$strip>]>>;
453
455
  kind: z.ZodNullable<z.ZodObject<{
454
456
  kindId: z.ZodTemplateLiteral<`kind_${string}`>;
@@ -526,6 +528,7 @@ export declare const BoardTaskList: z.ZodObject<{
526
528
  }, z.core.$strip>, z.ZodObject<{
527
529
  kind: z.ZodLiteral<"file">;
528
530
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
531
+ preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
529
532
  }, z.core.$strip>]>>;
530
533
  kind: z.ZodNullable<z.ZodObject<{
531
534
  kindId: z.ZodTemplateLiteral<`kind_${string}`>;
@@ -827,6 +830,7 @@ export declare const TaskDetail: z.ZodObject<{
827
830
  }, z.core.$strip>, z.ZodObject<{
828
831
  kind: z.ZodLiteral<"file">;
829
832
  nodeId: z.ZodTemplateLiteral<`node_${string}`>;
833
+ preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
830
834
  }, z.core.$strip>]>>;
831
835
  kind: z.ZodNullable<z.ZodObject<{
832
836
  kindId: z.ZodTemplateLiteral<`kind_${string}`>;
@@ -272,7 +272,14 @@ export const BoardTaskUpdated = z.object({
272
272
  // An image linked in a task's content: an outside URL, or a file in Colab the caller can read.
273
273
  export const TaskImage = z.union([
274
274
  z.object({ kind: z.literal("url"), url: z.string() }),
275
- z.object({ kind: z.literal("file"), nodeId: NodeId }),
275
+ z.object({
276
+ kind: z.literal("file"),
277
+ nodeId: NodeId,
278
+ // Only over `/api`, when the installation can show the file's current version smaller (#1184,
279
+ // like the folder's `preview`, #1135): that version, so the card loads the preview, not the
280
+ // original. `/mcp` leaves it out; an AI reads the file itself.
281
+ preview: idSchema("version").optional(),
282
+ }),
276
283
  ]);
277
284
  export const BoardTaskItem = z.object({
278
285
  taskId: NodeId,
@@ -329,8 +329,8 @@ export declare const GoalSession: z.ZodObject<{
329
329
  trigger: z.ZodEnum<{
330
330
  rhythm: "rhythm";
331
331
  mention: "mention";
332
- play: "play";
333
332
  followup: "followup";
333
+ play: "play";
334
334
  reminder: "reminder";
335
335
  }>;
336
336
  at: z.ZodISODateTime;
@@ -538,8 +538,8 @@ export declare const GoalRunDetail: z.ZodObject<{
538
538
  trigger: z.ZodEnum<{
539
539
  rhythm: "rhythm";
540
540
  mention: "mention";
541
- play: "play";
542
541
  followup: "followup";
542
+ play: "play";
543
543
  reminder: "reminder";
544
544
  }>;
545
545
  at: z.ZodISODateTime;
@@ -912,8 +912,8 @@ export declare const GoalDetail: z.ZodObject<{
912
912
  trigger: z.ZodEnum<{
913
913
  rhythm: "rhythm";
914
914
  mention: "mention";
915
- play: "play";
916
915
  followup: "followup";
916
+ play: "play";
917
917
  reminder: "reminder";
918
918
  }>;
919
919
  at: z.ZodISODateTime;
@@ -160,6 +160,9 @@ export declare const NodeListItem: z.ZodObject<{
160
160
  count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
161
161
  secret: z.ZodOptional<z.ZodLiteral<true>>;
162
162
  preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
163
+ rights: z.ZodOptional<z.ZodObject<{
164
+ write: z.ZodBoolean;
165
+ }, z.core.$strip>>;
163
166
  rootArchived: z.ZodOptional<z.ZodLiteral<true>>;
164
167
  }, z.core.$strip>;
165
168
  export type NodeListItem = z.infer<typeof NodeListItem>;
@@ -221,6 +224,9 @@ export declare const NodeList: z.ZodObject<{
221
224
  count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
222
225
  secret: z.ZodOptional<z.ZodLiteral<true>>;
223
226
  preview: z.ZodOptional<z.ZodTemplateLiteral<`version_${string}`>>;
227
+ rights: z.ZodOptional<z.ZodObject<{
228
+ write: z.ZodBoolean;
229
+ }, z.core.$strip>>;
224
230
  rootArchived: z.ZodOptional<z.ZodLiteral<true>>;
225
231
  }, z.core.$strip>>;
226
232
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -148,6 +148,10 @@ export const NodeListItem = z.object({
148
148
  // (#1135): that version, so the folder's preview address changes with a new version. `/mcp` leaves
149
149
  // it out; an AI reads the file itself.
150
150
  preview: idSchema("version").optional(),
151
+ // Only over `/api`, on a folder of a listing that is not the archive (#1186): whether the caller
152
+ // may put something into it, by the same rules as `NodeDetail.rights`, so the tree asks no node of
153
+ // its own per folder row. `/mcp` leaves it out; an AI asks `get` where it matters.
154
+ rights: z.object({ write: z.boolean() }).optional(),
151
155
  // Only in section users (E97, #447): the root of an archived account, listed only while it still
152
156
  // holds something, after all others.
153
157
  rootArchived: z
@@ -1937,6 +1937,162 @@ export declare const RunPlanStep: z.ZodObject<{
1937
1937
  }, z.core.$strip>>>;
1938
1938
  }, z.core.$strip>;
1939
1939
  export type RunPlanStep = z.infer<typeof RunPlanStep>;
1940
+ export declare const closureKinds: readonly ["task", "chat", "gadget", "goal"];
1941
+ export declare const ClosureKind: z.ZodEnum<{
1942
+ task: "task";
1943
+ gadget: "gadget";
1944
+ goal: "goal";
1945
+ chat: "chat";
1946
+ }>;
1947
+ export type ClosureKind = z.infer<typeof ClosureKind>;
1948
+ export declare const closureOutcomes: {
1949
+ readonly task: readonly ["done", "handed", "waiting", "blocked"];
1950
+ readonly chat: readonly ["answered", "tasked", "handed", "nothing"];
1951
+ readonly gadget: readonly ["repaired", "drafted", "reported", "unrepairable"];
1952
+ readonly goal: readonly ["reached", "missed", "followup"];
1953
+ };
1954
+ export declare const ClosureOutcome: z.ZodEnum<{
1955
+ done: "done";
1956
+ open: "open";
1957
+ blocked: "blocked";
1958
+ reached: "reached";
1959
+ handed: "handed";
1960
+ waiting: "waiting";
1961
+ answered: "answered";
1962
+ tasked: "tasked";
1963
+ nothing: "nothing";
1964
+ repaired: "repaired";
1965
+ drafted: "drafted";
1966
+ reported: "reported";
1967
+ unrepairable: "unrepairable";
1968
+ missed: "missed";
1969
+ followup: "followup";
1970
+ }>;
1971
+ export type ClosureOutcome = z.infer<typeof ClosureOutcome>;
1972
+ export declare const ClosureCause: z.ZodEnum<{
1973
+ start: "start";
1974
+ goal: "goal";
1975
+ chat: "chat";
1976
+ column: "column";
1977
+ mention: "mention";
1978
+ repair: "repair";
1979
+ }>;
1980
+ export type ClosureCause = z.infer<typeof ClosureCause>;
1981
+ export declare const ClosureFound: z.ZodDiscriminatedUnion<[z.ZodObject<{
1982
+ text: z.ZodLiteral<"column">;
1983
+ column: z.ZodString;
1984
+ assignee: z.ZodNullable<z.ZodString>;
1985
+ }, z.core.$strip>, z.ZodObject<{
1986
+ text: z.ZodLiteral<"waits">;
1987
+ }, z.core.$strip>, z.ZodObject<{
1988
+ text: z.ZodLiteral<"handedCard">;
1989
+ title: z.ZodString;
1990
+ assignee: z.ZodString;
1991
+ }, z.core.$strip>, z.ZodObject<{
1992
+ text: z.ZodLiteral<"message">;
1993
+ at: z.ZodISODateTime;
1994
+ mentions: z.ZodArray<z.ZodString>;
1995
+ }, z.core.$strip>, z.ZodObject<{
1996
+ text: z.ZodLiteral<"created">;
1997
+ title: z.ZodString;
1998
+ }, z.core.$strip>, z.ZodObject<{
1999
+ text: z.ZodLiteral<"version">;
2000
+ published: z.ZodBoolean;
2001
+ problems: z.ZodInt;
2002
+ }, z.core.$strip>, z.ZodObject<{
2003
+ text: z.ZodLiteral<"level">;
2004
+ level: z.ZodEnum<{
2005
+ publish: "publish";
2006
+ draft: "draft";
2007
+ report: "report";
2008
+ }>;
2009
+ }, z.core.$strip>, z.ZodObject<{
2010
+ text: z.ZodLiteral<"goalRun">;
2011
+ status: z.ZodString;
2012
+ followUp: z.ZodBoolean;
2013
+ }, z.core.$strip>, z.ZodObject<{
2014
+ text: z.ZodLiteral<"reason">;
2015
+ }, z.core.$strip>, z.ZodObject<{
2016
+ text: z.ZodLiteral<"nothing">;
2017
+ }, z.core.$strip>], "text">;
2018
+ export type ClosureFound = z.infer<typeof ClosureFound>;
2019
+ export declare const ClosureLine: z.ZodObject<{
2020
+ nodeId: z.ZodString;
2021
+ kind: z.ZodEnum<{
2022
+ task: "task";
2023
+ gadget: "gadget";
2024
+ goal: "goal";
2025
+ chat: "chat";
2026
+ }>;
2027
+ name: z.ZodString;
2028
+ cause: z.ZodEnum<{
2029
+ start: "start";
2030
+ goal: "goal";
2031
+ chat: "chat";
2032
+ column: "column";
2033
+ mention: "mention";
2034
+ repair: "repair";
2035
+ }>;
2036
+ by: z.ZodNullable<z.ZodString>;
2037
+ outcome: z.ZodNullable<z.ZodEnum<{
2038
+ done: "done";
2039
+ open: "open";
2040
+ blocked: "blocked";
2041
+ reached: "reached";
2042
+ handed: "handed";
2043
+ waiting: "waiting";
2044
+ answered: "answered";
2045
+ tasked: "tasked";
2046
+ nothing: "nothing";
2047
+ repaired: "repaired";
2048
+ drafted: "drafted";
2049
+ reported: "reported";
2050
+ unrepairable: "unrepairable";
2051
+ missed: "missed";
2052
+ followup: "followup";
2053
+ }>>;
2054
+ reason: z.ZodNullable<z.ZodString>;
2055
+ ok: z.ZodBoolean;
2056
+ found: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2057
+ text: z.ZodLiteral<"column">;
2058
+ column: z.ZodString;
2059
+ assignee: z.ZodNullable<z.ZodString>;
2060
+ }, z.core.$strip>, z.ZodObject<{
2061
+ text: z.ZodLiteral<"waits">;
2062
+ }, z.core.$strip>, z.ZodObject<{
2063
+ text: z.ZodLiteral<"handedCard">;
2064
+ title: z.ZodString;
2065
+ assignee: z.ZodString;
2066
+ }, z.core.$strip>, z.ZodObject<{
2067
+ text: z.ZodLiteral<"message">;
2068
+ at: z.ZodISODateTime;
2069
+ mentions: z.ZodArray<z.ZodString>;
2070
+ }, z.core.$strip>, z.ZodObject<{
2071
+ text: z.ZodLiteral<"created">;
2072
+ title: z.ZodString;
2073
+ }, z.core.$strip>, z.ZodObject<{
2074
+ text: z.ZodLiteral<"version">;
2075
+ published: z.ZodBoolean;
2076
+ problems: z.ZodInt;
2077
+ }, z.core.$strip>, z.ZodObject<{
2078
+ text: z.ZodLiteral<"level">;
2079
+ level: z.ZodEnum<{
2080
+ publish: "publish";
2081
+ draft: "draft";
2082
+ report: "report";
2083
+ }>;
2084
+ }, z.core.$strip>, z.ZodObject<{
2085
+ text: z.ZodLiteral<"goalRun">;
2086
+ status: z.ZodString;
2087
+ followUp: z.ZodBoolean;
2088
+ }, z.core.$strip>, z.ZodObject<{
2089
+ text: z.ZodLiteral<"reason">;
2090
+ }, z.core.$strip>, z.ZodObject<{
2091
+ text: z.ZodLiteral<"nothing">;
2092
+ }, z.core.$strip>], "text">>;
2093
+ reported: z.ZodBoolean;
2094
+ }, z.core.$strip>;
2095
+ export type ClosureLine = z.infer<typeof ClosureLine>;
1940
2096
  export declare const OperatorRun: z.ZodObject<{
1941
2097
  trigger: z.ZodEnum<{
1942
2098
  schedule: "schedule";
@@ -2032,6 +2188,86 @@ export declare const OperatorRun: z.ZodObject<{
2032
2188
  done: z.ZodBoolean;
2033
2189
  }, z.core.$strip>>>;
2034
2190
  }, z.core.$strip>>>;
2191
+ closure: z.ZodNullable<z.ZodArray<z.ZodObject<{
2192
+ nodeId: z.ZodString;
2193
+ kind: z.ZodEnum<{
2194
+ task: "task";
2195
+ gadget: "gadget";
2196
+ goal: "goal";
2197
+ chat: "chat";
2198
+ }>;
2199
+ name: z.ZodString;
2200
+ cause: z.ZodEnum<{
2201
+ start: "start";
2202
+ goal: "goal";
2203
+ chat: "chat";
2204
+ column: "column";
2205
+ mention: "mention";
2206
+ repair: "repair";
2207
+ }>;
2208
+ by: z.ZodNullable<z.ZodString>;
2209
+ outcome: z.ZodNullable<z.ZodEnum<{
2210
+ done: "done";
2211
+ open: "open";
2212
+ blocked: "blocked";
2213
+ reached: "reached";
2214
+ handed: "handed";
2215
+ waiting: "waiting";
2216
+ answered: "answered";
2217
+ tasked: "tasked";
2218
+ nothing: "nothing";
2219
+ repaired: "repaired";
2220
+ drafted: "drafted";
2221
+ reported: "reported";
2222
+ unrepairable: "unrepairable";
2223
+ missed: "missed";
2224
+ followup: "followup";
2225
+ }>>;
2226
+ reason: z.ZodNullable<z.ZodString>;
2227
+ ok: z.ZodBoolean;
2228
+ found: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2229
+ text: z.ZodLiteral<"column">;
2230
+ column: z.ZodString;
2231
+ assignee: z.ZodNullable<z.ZodString>;
2232
+ }, z.core.$strip>, z.ZodObject<{
2233
+ text: z.ZodLiteral<"waits">;
2234
+ }, z.core.$strip>, z.ZodObject<{
2235
+ text: z.ZodLiteral<"handedCard">;
2236
+ title: z.ZodString;
2237
+ assignee: z.ZodString;
2238
+ }, z.core.$strip>, z.ZodObject<{
2239
+ text: z.ZodLiteral<"message">;
2240
+ at: z.ZodISODateTime;
2241
+ mentions: z.ZodArray<z.ZodString>;
2242
+ }, z.core.$strip>, z.ZodObject<{
2243
+ text: z.ZodLiteral<"created">;
2244
+ title: z.ZodString;
2245
+ }, z.core.$strip>, z.ZodObject<{
2246
+ text: z.ZodLiteral<"version">;
2247
+ published: z.ZodBoolean;
2248
+ problems: z.ZodInt;
2249
+ }, z.core.$strip>, z.ZodObject<{
2250
+ text: z.ZodLiteral<"level">;
2251
+ level: z.ZodEnum<{
2252
+ publish: "publish";
2253
+ draft: "draft";
2254
+ report: "report";
2255
+ }>;
2256
+ }, z.core.$strip>, z.ZodObject<{
2257
+ text: z.ZodLiteral<"goalRun">;
2258
+ status: z.ZodString;
2259
+ followUp: z.ZodBoolean;
2260
+ }, z.core.$strip>, z.ZodObject<{
2261
+ text: z.ZodLiteral<"reason">;
2262
+ }, z.core.$strip>, z.ZodObject<{
2263
+ text: z.ZodLiteral<"nothing">;
2264
+ }, z.core.$strip>], "text">>;
2265
+ reported: z.ZodBoolean;
2266
+ }, z.core.$strip>>>;
2267
+ responsible: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2268
+ userId: z.ZodTemplateLiteral<`user_${string}`>;
2269
+ name: z.ZodString;
2270
+ }, z.core.$strip>>>;
2035
2271
  machineId: z.ZodTemplateLiteral<`user_${string}`>;
2036
2272
  machineName: z.ZodString;
2037
2273
  machineArchivedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -2068,6 +2304,7 @@ export declare const OperatorRunListInput: z.ZodObject<{
2068
2304
  completed: "completed";
2069
2305
  stopped: "stopped";
2070
2306
  }>>;
2307
+ open: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
2071
2308
  from: z.ZodOptional<z.ZodISODateTime>;
2072
2309
  to: z.ZodOptional<z.ZodISODateTime>;
2073
2310
  search: z.ZodOptional<z.ZodString>;
@@ -2098,6 +2335,109 @@ export declare const RunUpdateInput: z.ZodObject<{
2098
2335
  agent: z.ZodOptional<z.ZodString>;
2099
2336
  }, z.core.$strict>;
2100
2337
  export type RunUpdateInput = z.infer<typeof RunUpdateInput>;
2338
+ export declare const runClosureMax = 50;
2339
+ export declare const RunCompleteInput: z.ZodObject<{
2340
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
2341
+ closure: z.ZodArray<z.ZodObject<{
2342
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
2343
+ outcome: z.ZodEnum<{
2344
+ done: "done";
2345
+ blocked: "blocked";
2346
+ handed: "handed";
2347
+ waiting: "waiting";
2348
+ answered: "answered";
2349
+ tasked: "tasked";
2350
+ nothing: "nothing";
2351
+ repaired: "repaired";
2352
+ drafted: "drafted";
2353
+ reported: "reported";
2354
+ unrepairable: "unrepairable";
2355
+ }>;
2356
+ reason: z.ZodString;
2357
+ }, z.core.$strict>>;
2358
+ }, z.core.$strict>;
2359
+ export type RunCompleteInput = z.infer<typeof RunCompleteInput>;
2360
+ export declare const RunCompleteAnswer: z.ZodObject<{
2361
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
2362
+ closure: z.ZodArray<z.ZodObject<{
2363
+ nodeId: z.ZodString;
2364
+ kind: z.ZodEnum<{
2365
+ task: "task";
2366
+ gadget: "gadget";
2367
+ goal: "goal";
2368
+ chat: "chat";
2369
+ }>;
2370
+ name: z.ZodString;
2371
+ cause: z.ZodEnum<{
2372
+ start: "start";
2373
+ goal: "goal";
2374
+ chat: "chat";
2375
+ column: "column";
2376
+ mention: "mention";
2377
+ repair: "repair";
2378
+ }>;
2379
+ by: z.ZodNullable<z.ZodString>;
2380
+ outcome: z.ZodNullable<z.ZodEnum<{
2381
+ done: "done";
2382
+ open: "open";
2383
+ blocked: "blocked";
2384
+ reached: "reached";
2385
+ handed: "handed";
2386
+ waiting: "waiting";
2387
+ answered: "answered";
2388
+ tasked: "tasked";
2389
+ nothing: "nothing";
2390
+ repaired: "repaired";
2391
+ drafted: "drafted";
2392
+ reported: "reported";
2393
+ unrepairable: "unrepairable";
2394
+ missed: "missed";
2395
+ followup: "followup";
2396
+ }>>;
2397
+ reason: z.ZodNullable<z.ZodString>;
2398
+ ok: z.ZodBoolean;
2399
+ found: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2400
+ text: z.ZodLiteral<"column">;
2401
+ column: z.ZodString;
2402
+ assignee: z.ZodNullable<z.ZodString>;
2403
+ }, z.core.$strip>, z.ZodObject<{
2404
+ text: z.ZodLiteral<"waits">;
2405
+ }, z.core.$strip>, z.ZodObject<{
2406
+ text: z.ZodLiteral<"handedCard">;
2407
+ title: z.ZodString;
2408
+ assignee: z.ZodString;
2409
+ }, z.core.$strip>, z.ZodObject<{
2410
+ text: z.ZodLiteral<"message">;
2411
+ at: z.ZodISODateTime;
2412
+ mentions: z.ZodArray<z.ZodString>;
2413
+ }, z.core.$strip>, z.ZodObject<{
2414
+ text: z.ZodLiteral<"created">;
2415
+ title: z.ZodString;
2416
+ }, z.core.$strip>, z.ZodObject<{
2417
+ text: z.ZodLiteral<"version">;
2418
+ published: z.ZodBoolean;
2419
+ problems: z.ZodInt;
2420
+ }, z.core.$strip>, z.ZodObject<{
2421
+ text: z.ZodLiteral<"level">;
2422
+ level: z.ZodEnum<{
2423
+ publish: "publish";
2424
+ draft: "draft";
2425
+ report: "report";
2426
+ }>;
2427
+ }, z.core.$strip>, z.ZodObject<{
2428
+ text: z.ZodLiteral<"goalRun">;
2429
+ status: z.ZodString;
2430
+ followUp: z.ZodBoolean;
2431
+ }, z.core.$strip>, z.ZodObject<{
2432
+ text: z.ZodLiteral<"reason">;
2433
+ }, z.core.$strip>, z.ZodObject<{
2434
+ text: z.ZodLiteral<"nothing">;
2435
+ }, z.core.$strip>], "text">>;
2436
+ reported: z.ZodBoolean;
2437
+ }, z.core.$strip>>;
2438
+ open: z.ZodInt;
2439
+ }, z.core.$strip>;
2440
+ export type RunCompleteAnswer = z.infer<typeof RunCompleteAnswer>;
2101
2441
  export declare const RunPlanAnswer: z.ZodObject<{
2102
2442
  runId: z.ZodTemplateLiteral<`run_${string}`>;
2103
2443
  done: z.ZodInt;
@@ -2292,6 +2632,13 @@ export declare const OperatorRunUsage: z.ZodObject<{
2292
2632
  }, z.core.$strip>;
2293
2633
  }, z.core.$strip>;
2294
2634
  export type OperatorRunUsage = z.infer<typeof OperatorRunUsage>;
2635
+ export declare const OperatorRunClosures: z.ZodObject<{
2636
+ wakes: z.ZodInt;
2637
+ settled: z.ZodInt;
2638
+ waiting: z.ZodInt;
2639
+ open: z.ZodInt;
2640
+ }, z.core.$strip>;
2641
+ export type OperatorRunClosures = z.infer<typeof OperatorRunClosures>;
2295
2642
  export declare const OperatorRunList: z.ZodObject<{
2296
2643
  items: z.ZodArray<z.ZodObject<{
2297
2644
  trigger: z.ZodEnum<{
@@ -2388,6 +2735,86 @@ export declare const OperatorRunList: z.ZodObject<{
2388
2735
  done: z.ZodBoolean;
2389
2736
  }, z.core.$strip>>>;
2390
2737
  }, z.core.$strip>>>;
2738
+ closure: z.ZodNullable<z.ZodArray<z.ZodObject<{
2739
+ nodeId: z.ZodString;
2740
+ kind: z.ZodEnum<{
2741
+ task: "task";
2742
+ gadget: "gadget";
2743
+ goal: "goal";
2744
+ chat: "chat";
2745
+ }>;
2746
+ name: z.ZodString;
2747
+ cause: z.ZodEnum<{
2748
+ start: "start";
2749
+ goal: "goal";
2750
+ chat: "chat";
2751
+ column: "column";
2752
+ mention: "mention";
2753
+ repair: "repair";
2754
+ }>;
2755
+ by: z.ZodNullable<z.ZodString>;
2756
+ outcome: z.ZodNullable<z.ZodEnum<{
2757
+ done: "done";
2758
+ open: "open";
2759
+ blocked: "blocked";
2760
+ reached: "reached";
2761
+ handed: "handed";
2762
+ waiting: "waiting";
2763
+ answered: "answered";
2764
+ tasked: "tasked";
2765
+ nothing: "nothing";
2766
+ repaired: "repaired";
2767
+ drafted: "drafted";
2768
+ reported: "reported";
2769
+ unrepairable: "unrepairable";
2770
+ missed: "missed";
2771
+ followup: "followup";
2772
+ }>>;
2773
+ reason: z.ZodNullable<z.ZodString>;
2774
+ ok: z.ZodBoolean;
2775
+ found: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2776
+ text: z.ZodLiteral<"column">;
2777
+ column: z.ZodString;
2778
+ assignee: z.ZodNullable<z.ZodString>;
2779
+ }, z.core.$strip>, z.ZodObject<{
2780
+ text: z.ZodLiteral<"waits">;
2781
+ }, z.core.$strip>, z.ZodObject<{
2782
+ text: z.ZodLiteral<"handedCard">;
2783
+ title: z.ZodString;
2784
+ assignee: z.ZodString;
2785
+ }, z.core.$strip>, z.ZodObject<{
2786
+ text: z.ZodLiteral<"message">;
2787
+ at: z.ZodISODateTime;
2788
+ mentions: z.ZodArray<z.ZodString>;
2789
+ }, z.core.$strip>, z.ZodObject<{
2790
+ text: z.ZodLiteral<"created">;
2791
+ title: z.ZodString;
2792
+ }, z.core.$strip>, z.ZodObject<{
2793
+ text: z.ZodLiteral<"version">;
2794
+ published: z.ZodBoolean;
2795
+ problems: z.ZodInt;
2796
+ }, z.core.$strip>, z.ZodObject<{
2797
+ text: z.ZodLiteral<"level">;
2798
+ level: z.ZodEnum<{
2799
+ publish: "publish";
2800
+ draft: "draft";
2801
+ report: "report";
2802
+ }>;
2803
+ }, z.core.$strip>, z.ZodObject<{
2804
+ text: z.ZodLiteral<"goalRun">;
2805
+ status: z.ZodString;
2806
+ followUp: z.ZodBoolean;
2807
+ }, z.core.$strip>, z.ZodObject<{
2808
+ text: z.ZodLiteral<"reason">;
2809
+ }, z.core.$strip>, z.ZodObject<{
2810
+ text: z.ZodLiteral<"nothing">;
2811
+ }, z.core.$strip>], "text">>;
2812
+ reported: z.ZodBoolean;
2813
+ }, z.core.$strip>>>;
2814
+ responsible: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2815
+ userId: z.ZodTemplateLiteral<`user_${string}`>;
2816
+ name: z.ZodString;
2817
+ }, z.core.$strip>>>;
2391
2818
  machineId: z.ZodTemplateLiteral<`user_${string}`>;
2392
2819
  machineName: z.ZodString;
2393
2820
  machineArchivedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -2514,5 +2941,11 @@ export declare const OperatorRunList: z.ZodObject<{
2514
2941
  cacheWrite: z.ZodInt;
2515
2942
  }, z.core.$strip>;
2516
2943
  }, z.core.$strip>;
2944
+ closures: z.ZodOptional<z.ZodObject<{
2945
+ wakes: z.ZodInt;
2946
+ settled: z.ZodInt;
2947
+ waiting: z.ZodInt;
2948
+ open: z.ZodInt;
2949
+ }, z.core.$strip>>;
2517
2950
  }, z.core.$strip>;
2518
2951
  export type OperatorRunList = z.infer<typeof OperatorRunList>;
@@ -950,6 +950,81 @@ export const RunPlanStep = z.object({
950
950
  agent: z.string().nullable().optional(),
951
951
  steps: z.array(PlanSubstep).optional(),
952
952
  });
953
+ // The closure of a run (E257, #1177): for every thing it was woken for, an outcome with its reason,
954
+ // which Colab checks against the data. The kinds of things and the outcomes each kind knows; `open`
955
+ // ("offen geblieben") is set by Colab alone, never reported.
956
+ export const closureKinds = ["task", "chat", "gadget", "goal"];
957
+ export const ClosureKind = z.enum(closureKinds);
958
+ export const closureOutcomes = {
959
+ task: ["done", "handed", "waiting", "blocked"],
960
+ chat: ["answered", "tasked", "handed", "nothing"],
961
+ gadget: ["repaired", "drafted", "reported", "unrepairable"],
962
+ goal: ["reached", "missed", "followup"],
963
+ };
964
+ export const ClosureOutcome = z.enum([
965
+ "done",
966
+ "handed",
967
+ "waiting",
968
+ "blocked",
969
+ "answered",
970
+ "tasked",
971
+ "nothing",
972
+ "repaired",
973
+ "drafted",
974
+ "reported",
975
+ "unrepairable",
976
+ "reached",
977
+ "missed",
978
+ "followup",
979
+ "open",
980
+ ]);
981
+ // Why the run was woken for it (not `open`, the outcome "offen geblieben"): `column` a task in Open, its start date, a mention, a chat it answers for, a
982
+ // gadget to repair, an open goal run.
983
+ export const ClosureCause = z.enum(["column", "start", "mention", "chat", "repair", "goal"]);
984
+ // What Colab found when it checked a line: the facts it read, in words for the UI and the AI.
985
+ export const ClosureFound = z.discriminatedUnion("text", [
986
+ // The card lies in this column, belongs to `assignee`.
987
+ z.object({ text: z.literal("column"), column: z.string(), assignee: z.string().nullable() }),
988
+ // The card waits, with the Operator's line in its chat or the flag.
989
+ z.object({ text: z.literal("waits") }),
990
+ // Another card the Operator laid into Open for someone else since the start.
991
+ z.object({ text: z.literal("handedCard"), title: z.string(), assignee: z.string() }),
992
+ // The Operator's message in the chat since the start, at `at`; `mentions` names who it mentions.
993
+ z.object({ text: z.literal("message"), at: z.iso.datetime(), mentions: z.array(z.string()) }),
994
+ // A card the Operator made since the start.
995
+ z.object({ text: z.literal("created"), title: z.string() }),
996
+ // A version of the gadget since the start: `published` or a draft, and whether problems stay open.
997
+ z.object({
998
+ text: z.literal("version"),
999
+ published: z.boolean(),
1000
+ problems: z.int().min(0),
1001
+ }),
1002
+ // The gadget's level does not allow the outcome.
1003
+ z.object({ text: z.literal("level"), level: z.enum(["report", "draft", "publish"]) }),
1004
+ // The goal run as it stands.
1005
+ z.object({ text: z.literal("goalRun"), status: z.string(), followUp: z.boolean() }),
1006
+ // Only the reason counts for this outcome.
1007
+ z.object({ text: z.literal("reason") }),
1008
+ // Nothing in the data carries it: no line, no change since the start.
1009
+ z.object({ text: z.literal("nothing") }),
1010
+ ]);
1011
+ // One thing of the closure: what it is, why the run was woken for it, what the Operator reported
1012
+ // and what Colab found. `outcome` null while nothing is reported yet; `ok` whether the data carry
1013
+ // it. A run's last word: `open` where nothing holds after the one question.
1014
+ export const ClosureLine = z.object({
1015
+ nodeId: z.string(),
1016
+ kind: ClosureKind,
1017
+ name: z.string(),
1018
+ cause: ClosureCause,
1019
+ // Who mentioned it, for a mention; the gadget's level for a repair; else null.
1020
+ by: z.string().nullable(),
1021
+ outcome: ClosureOutcome.nullable(),
1022
+ reason: z.string().nullable(),
1023
+ ok: z.boolean(),
1024
+ found: ClosureFound.nullable(),
1025
+ // Whether the Operator reported it itself (false where the data alone decided).
1026
+ reported: z.boolean(),
1027
+ });
953
1028
  export const OperatorRun = z.object({
954
1029
  runId: OperatorRunId,
955
1030
  ...RunMachine,
@@ -1003,6 +1078,11 @@ export const OperatorRun = z.object({
1003
1078
  stepsRemovedDays: z.int().nullable(),
1004
1079
  // Its plan (E218, #1036); null for a run that wrote none.
1005
1080
  plan: z.array(RunPlanStep).nullable(),
1081
+ // Its closure (E257, #1177): a line for every thing it was woken for; null for a run before.
1082
+ closure: z.array(ClosureLine).nullable(),
1083
+ // The person responsible for its Operator (E76), in whose Actions a line left open stands
1084
+ // (E257). Only `operator_run_get` names it; absent in a list, null where nobody can be named.
1085
+ responsible: z.object({ userId: UserId, name: z.string() }).nullable().optional(),
1006
1086
  });
1007
1087
  const RunMoment = z.iso.datetime({ offset: true });
1008
1088
  export const OperatorRunListInput = z.strictObject({
@@ -1012,6 +1092,7 @@ export const OperatorRunListInput = z.strictObject({
1012
1092
  provider: OperatorProvider.optional().describe("Only the runs of this provider's Operators, the kind they run through: claude or gateway (codex and gemini only for Operators stored before #978)."),
1013
1093
  vendor: OperatorVendor.optional().describe("Only the runs of the Operators whose model is this vendor's (E230): claude, gpt, deepseek and so on."),
1014
1094
  status: OperatorRunStatus.optional().describe("Only runs in this status."),
1095
+ open: Flag.optional().describe("true: only runs whose closure left something open (offen geblieben); false: only the others."),
1015
1096
  from: RunMoment.optional().describe("Runs started at or after this moment, ISO."),
1016
1097
  to: RunMoment.optional().describe("Runs started before this moment, ISO."),
1017
1098
  search: z
@@ -1076,6 +1157,33 @@ export const RunUpdateInput = z
1076
1157
  .refine((input) => (input.read === undefined) !== (input.plan === undefined), {
1077
1158
  message: "Give either read or plan.",
1078
1159
  });
1160
+ // The closure an Operator reports at the end of its run (E257, #1177): one line per thing it was
1161
+ // woken for, with its outcome and reason. A goal is taken from its goal run and never reported.
1162
+ export const runClosureMax = 50;
1163
+ const ClosureLineInput = z.strictObject({
1164
+ nodeId: NodeId.describe("The thing the run was woken for: the card, the chat's node or the gadget."),
1165
+ outcome: ClosureOutcome.exclude(["open", "reached", "missed", "followup"]).describe("Card: done, handed, waiting, blocked. Chat: answered, tasked, handed, nothing. Gadget: repaired, drafted, reported, unrepairable."),
1166
+ reason: z
1167
+ .string()
1168
+ .trim()
1169
+ .min(1)
1170
+ .max(1000)
1171
+ .describe("Why, in a sentence: what you did, to whom you handed it, what it waits for."),
1172
+ });
1173
+ export const RunCompleteInput = z.strictObject({
1174
+ runId: OperatorRunId.describe("Your own running run."),
1175
+ closure: z
1176
+ .array(ClosureLineInput)
1177
+ .min(1)
1178
+ .max(runClosureMax)
1179
+ .describe("One line for every card, chat and gadget you were woken for; it replaces the closure before. Goals are taken from their goal run."),
1180
+ });
1181
+ // What `operator_run_complete` answers: every line as checked, and how many are still open.
1182
+ export const RunCompleteAnswer = z.object({
1183
+ runId: OperatorRunId,
1184
+ closure: z.array(ClosureLine),
1185
+ open: z.int(),
1186
+ });
1079
1187
  // What `operator_run_update` answers to a plan (E218): the next open step with how it is done, of
1080
1188
  // the rest only the titles, so the run works one step at a time.
1081
1189
  export const RunPlanAnswer = z.object({
@@ -1175,8 +1283,18 @@ export const OperatorRunUsage = z.object({
1175
1283
  byKind: z.array(z.object({ kind: CredentialKind, ...UsageSums })),
1176
1284
  byProvider: z.array(z.object({ provider: OperatorProvider, ...UsageSums })),
1177
1285
  });
1286
+ // The closures of the runs a list covers (E257, #1177), whatever its page: how many things woke
1287
+ // them, how many ended done or handed over, waiting, and left open.
1288
+ export const OperatorRunClosures = z.object({
1289
+ wakes: z.int().min(0),
1290
+ settled: z.int().min(0),
1291
+ waiting: z.int().min(0),
1292
+ open: z.int().min(0),
1293
+ });
1178
1294
  export const OperatorRunList = z.object({
1179
1295
  items: z.array(OperatorRun),
1180
1296
  nextCursor: OperatorRunId.nullable(),
1181
1297
  usage: OperatorRunUsage,
1298
+ // Absent in the short list over MCP.
1299
+ closures: OperatorRunClosures.optional(),
1182
1300
  });
@@ -50,8 +50,8 @@ export declare const BaseRelationType: z.ZodEnum<{
50
50
  responsible: "responsible";
51
51
  mentions: "mentions";
52
52
  assignee: "assignee";
53
- refers: "refers";
54
53
  waits: "waits";
54
+ refers: "refers";
55
55
  }>;
56
56
  export declare const RelationListInput: z.ZodObject<{
57
57
  nodeId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
@@ -81,8 +81,8 @@ export declare const Relation: z.ZodObject<{
81
81
  responsible: "responsible";
82
82
  mentions: "mentions";
83
83
  assignee: "assignee";
84
- refers: "refers";
85
84
  waits: "waits";
85
+ refers: "refers";
86
86
  }>, z.ZodTemplateLiteral<`type_${string}`>]>;
87
87
  origin: z.ZodEnum<{
88
88
  set: "set";
@@ -179,8 +179,8 @@ export declare const RelationList: z.ZodObject<{
179
179
  responsible: "responsible";
180
180
  mentions: "mentions";
181
181
  assignee: "assignee";
182
- refers: "refers";
183
182
  waits: "waits";
183
+ refers: "refers";
184
184
  }>, z.ZodTemplateLiteral<`type_${string}`>]>;
185
185
  origin: z.ZodEnum<{
186
186
  set: "set";
package/dist/sdk.d.ts CHANGED
@@ -34,7 +34,7 @@ export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, ty
34
34
  export { ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
35
35
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
36
36
  export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
37
- export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, type ReasoningEffort, ReasoningLevel, ReasoningStage, type RetiredGatewayModel, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
37
+ export { ChangeTrigger, ClosureCause, ClosureFound, ClosureKind, ClosureLine, ClosureOutcome, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, closureKinds, closureOutcomes, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunClosures, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, type ReasoningEffort, ReasoningLevel, ReasoningStage, type RetiredGatewayModel, RunCancelInput, RunCompleteAnswer, RunCompleteInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runClosureMax, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
38
38
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
39
39
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
40
40
  export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
package/dist/sdk.js CHANGED
@@ -37,7 +37,7 @@ export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, Mc
37
37
  export { ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
38
38
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
39
39
  export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
40
- export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, ReasoningLevel, ReasoningStage, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
40
+ export { ChangeTrigger, ClosureCause, ClosureFound, ClosureKind, ClosureLine, ClosureOutcome, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, closureKinds, closureOutcomes, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunClosures, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, ReasoningLevel, ReasoningStage, RunCancelInput, RunCompleteAnswer, RunCompleteInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runClosureMax, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
41
41
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
42
42
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
43
43
  export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
@@ -57,8 +57,8 @@ export declare const TaskVersionChange: z.ZodEnum<{
57
57
  fields: "fields";
58
58
  dates: "dates";
59
59
  waiting: "waiting";
60
- labels: "labels";
61
60
  assignee: "assignee";
61
+ labels: "labels";
62
62
  dependencies: "dependencies";
63
63
  parent: "parent";
64
64
  }>;
@@ -138,8 +138,8 @@ export declare const NodeVersion: z.ZodObject<{
138
138
  fields: "fields";
139
139
  dates: "dates";
140
140
  waiting: "waiting";
141
- labels: "labels";
142
141
  assignee: "assignee";
142
+ labels: "labels";
143
143
  dependencies: "dependencies";
144
144
  parent: "parent";
145
145
  }>>>;
@@ -203,8 +203,8 @@ export declare const NodeVersionList: z.ZodObject<{
203
203
  fields: "fields";
204
204
  dates: "dates";
205
205
  waiting: "waiting";
206
- labels: "labels";
207
206
  assignee: "assignee";
207
+ labels: "labels";
208
208
  dependencies: "dependencies";
209
209
  parent: "parent";
210
210
  }>>>;
@@ -270,8 +270,8 @@ export declare const NodeVersionDetail: z.ZodObject<{
270
270
  fields: "fields";
271
271
  dates: "dates";
272
272
  waiting: "waiting";
273
- labels: "labels";
274
273
  assignee: "assignee";
274
+ labels: "labels";
275
275
  dependencies: "dependencies";
276
276
  parent: "parent";
277
277
  }>>>;
@@ -426,8 +426,8 @@ export declare const NodeVersionExcerpt: z.ZodObject<{
426
426
  fields: "fields";
427
427
  dates: "dates";
428
428
  waiting: "waiting";
429
- labels: "labels";
430
429
  assignee: "assignee";
430
+ labels: "labels";
431
431
  dependencies: "dependencies";
432
432
  parent: "parent";
433
433
  }>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anchrd/colab-sdk",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
4
4
  "description": "Types, Zod schemas and the service client of Colab, the contract between its UI, backends and outside services.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",