@anchrd/colab-sdk 0.1.22 → 0.1.24
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.
- package/dist/actions/actions.d.ts +265 -13
- package/dist/actions/actions.js +54 -23
- package/dist/boards/boards.d.ts +38 -38
- package/dist/boards/boards.js +11 -12
- package/dist/card-kinds/card-kinds.d.ts +5 -5
- package/dist/connections/connections.d.ts +5 -5
- package/dist/files/files.d.ts +2 -2
- package/dist/goals/goals.d.ts +1115 -0
- package/dist/goals/goals.js +329 -0
- package/dist/grammar/grammar.d.ts +3 -0
- package/dist/grammar/grammar.js +12 -0
- package/dist/mcps/mcps.d.ts +272 -0
- package/dist/mcps/mcps.js +255 -0
- package/dist/nodes/nodes.d.ts +13 -1
- package/dist/nodes/nodes.js +7 -3
- package/dist/operators/operators.d.ts +497 -72
- package/dist/operators/operators.js +189 -15
- package/dist/runs/runs.d.ts +1 -6
- package/dist/runs/runs.js +5 -11
- package/dist/schedule/schedule.d.ts +19 -0
- package/dist/schedule/schedule.js +28 -5
- package/dist/sdk.d.ts +8 -5
- package/dist/sdk.js +8 -5
- package/dist/skills/skills.d.ts +462 -0
- package/dist/skills/skills.js +245 -0
- package/dist/tool.d.ts +1 -0
- package/dist/validation/validation.d.ts +5 -0
- package/dist/validation/validation.js +4 -0
- package/dist/versions/versions.d.ts +125 -5
- package/dist/versions/versions.js +6 -0
- package/dist/written/written.d.ts +6 -0
- package/dist/written/written.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SkillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
3
|
+
export type SkillId = z.infer<typeof SkillId>;
|
|
4
|
+
export declare const skillFilePattern: RegExp;
|
|
5
|
+
export declare const SkillFilePath: z.ZodString;
|
|
6
|
+
export declare const SkillCreateInput: z.ZodObject<{
|
|
7
|
+
parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
8
|
+
name: z.ZodString;
|
|
9
|
+
content: z.ZodString;
|
|
10
|
+
result: z.ZodOptional<z.ZodString>;
|
|
11
|
+
trigger: z.ZodOptional<z.ZodString>;
|
|
12
|
+
triggerOn: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
idempotencyKey: z.ZodString;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export type SkillCreateInput = z.infer<typeof SkillCreateInput>;
|
|
16
|
+
export declare const SkillGetInput: z.ZodObject<{
|
|
17
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
18
|
+
files: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export type SkillGetInput = z.infer<typeof SkillGetInput>;
|
|
21
|
+
export declare const SkillUpdateInput: z.ZodObject<{
|
|
22
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
23
|
+
content: z.ZodOptional<z.ZodString>;
|
|
24
|
+
result: z.ZodOptional<z.ZodString>;
|
|
25
|
+
trigger: z.ZodOptional<z.ZodString>;
|
|
26
|
+
triggerOn: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
28
|
+
fromRun: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
29
|
+
rev: z.ZodNumber;
|
|
30
|
+
editSession: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export type SkillUpdateInput = z.infer<typeof SkillUpdateInput>;
|
|
33
|
+
export declare const SkillTestInput: z.ZodObject<{
|
|
34
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
35
|
+
record: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export type SkillTestInput = z.infer<typeof SkillTestInput>;
|
|
38
|
+
export declare const SkillRunListInput: z.ZodObject<{
|
|
39
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
40
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
41
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export type SkillRunListInput = z.infer<typeof SkillRunListInput>;
|
|
44
|
+
export declare const SkillRunGetInput: z.ZodObject<{
|
|
45
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
46
|
+
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
export type SkillRunGetInput = z.infer<typeof SkillRunGetInput>;
|
|
49
|
+
export declare const SkillFile: z.ZodObject<{
|
|
50
|
+
path: z.ZodString;
|
|
51
|
+
content: z.ZodString;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type SkillFile = z.infer<typeof SkillFile>;
|
|
54
|
+
export declare const SkillPoint: z.ZodObject<{
|
|
55
|
+
text: z.ZodString;
|
|
56
|
+
kind: z.ZodEnum<{
|
|
57
|
+
expected: "expected";
|
|
58
|
+
result: "result";
|
|
59
|
+
}>;
|
|
60
|
+
ok: z.ZodBoolean;
|
|
61
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export type SkillPoint = z.infer<typeof SkillPoint>;
|
|
64
|
+
export declare const skillCaseStatuses: readonly ["passed", "failed", "missing"];
|
|
65
|
+
export declare const SkillTokens: z.ZodObject<{
|
|
66
|
+
input: z.ZodInt;
|
|
67
|
+
output: z.ZodInt;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
export type SkillTokens = z.infer<typeof SkillTokens>;
|
|
70
|
+
export declare const SkillCaseResult: z.ZodObject<{
|
|
71
|
+
name: z.ZodString;
|
|
72
|
+
status: z.ZodEnum<{
|
|
73
|
+
failed: "failed";
|
|
74
|
+
passed: "passed";
|
|
75
|
+
missing: "missing";
|
|
76
|
+
}>;
|
|
77
|
+
recordedAt: z.ZodNullable<z.ZodString>;
|
|
78
|
+
fromRun: z.ZodNullable<z.ZodString>;
|
|
79
|
+
runs: z.ZodInt;
|
|
80
|
+
passedRuns: z.ZodInt;
|
|
81
|
+
points: z.ZodArray<z.ZodObject<{
|
|
82
|
+
text: z.ZodString;
|
|
83
|
+
kind: z.ZodEnum<{
|
|
84
|
+
expected: "expected";
|
|
85
|
+
result: "result";
|
|
86
|
+
}>;
|
|
87
|
+
ok: z.ZodBoolean;
|
|
88
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
missing: z.ZodNullable<z.ZodObject<{
|
|
91
|
+
tool: z.ZodString;
|
|
92
|
+
path: z.ZodString;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
sandbox: z.ZodArray<z.ZodObject<{
|
|
95
|
+
tool: z.ZodString;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
costUsd: z.ZodNumber;
|
|
98
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
input: z.ZodInt;
|
|
100
|
+
output: z.ZodInt;
|
|
101
|
+
}, z.core.$strip>>;
|
|
102
|
+
runId: z.ZodNullable<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export type SkillCaseResult = z.infer<typeof SkillCaseResult>;
|
|
105
|
+
export declare const SkillTriggerHit: z.ZodObject<{
|
|
106
|
+
kind: z.ZodEnum<{
|
|
107
|
+
should: "should";
|
|
108
|
+
shouldNot: "shouldNot";
|
|
109
|
+
}>;
|
|
110
|
+
request: z.ZodString;
|
|
111
|
+
chosen: z.ZodNullable<z.ZodString>;
|
|
112
|
+
ok: z.ZodBoolean;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
export type SkillTriggerHit = z.infer<typeof SkillTriggerHit>;
|
|
115
|
+
export declare const SkillTestReport: z.ZodObject<{
|
|
116
|
+
version: z.ZodInt;
|
|
117
|
+
at: z.ZodISODateTime;
|
|
118
|
+
by: z.ZodObject<{
|
|
119
|
+
userId: z.ZodString;
|
|
120
|
+
name: z.ZodNullable<z.ZodString>;
|
|
121
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
122
|
+
machine: "machine";
|
|
123
|
+
human: "human";
|
|
124
|
+
}>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
passed: z.ZodInt;
|
|
127
|
+
failed: z.ZodInt;
|
|
128
|
+
missing: z.ZodInt;
|
|
129
|
+
trigger: z.ZodNullable<z.ZodObject<{
|
|
130
|
+
skills: z.ZodInt;
|
|
131
|
+
operator: z.ZodNullable<z.ZodObject<{
|
|
132
|
+
userId: z.ZodString;
|
|
133
|
+
name: z.ZodNullable<z.ZodString>;
|
|
134
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
135
|
+
machine: "machine";
|
|
136
|
+
human: "human";
|
|
137
|
+
}>>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
140
|
+
kind: z.ZodEnum<{
|
|
141
|
+
should: "should";
|
|
142
|
+
shouldNot: "shouldNot";
|
|
143
|
+
}>;
|
|
144
|
+
request: z.ZodString;
|
|
145
|
+
chosen: z.ZodNullable<z.ZodString>;
|
|
146
|
+
ok: z.ZodBoolean;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
costUsd: z.ZodNumber;
|
|
149
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
input: z.ZodInt;
|
|
151
|
+
output: z.ZodInt;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
cases: z.ZodArray<z.ZodObject<{
|
|
155
|
+
name: z.ZodString;
|
|
156
|
+
status: z.ZodEnum<{
|
|
157
|
+
failed: "failed";
|
|
158
|
+
passed: "passed";
|
|
159
|
+
missing: "missing";
|
|
160
|
+
}>;
|
|
161
|
+
recordedAt: z.ZodNullable<z.ZodString>;
|
|
162
|
+
fromRun: z.ZodNullable<z.ZodString>;
|
|
163
|
+
runs: z.ZodInt;
|
|
164
|
+
passedRuns: z.ZodInt;
|
|
165
|
+
points: z.ZodArray<z.ZodObject<{
|
|
166
|
+
text: z.ZodString;
|
|
167
|
+
kind: z.ZodEnum<{
|
|
168
|
+
expected: "expected";
|
|
169
|
+
result: "result";
|
|
170
|
+
}>;
|
|
171
|
+
ok: z.ZodBoolean;
|
|
172
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
173
|
+
}, z.core.$strip>>;
|
|
174
|
+
missing: z.ZodNullable<z.ZodObject<{
|
|
175
|
+
tool: z.ZodString;
|
|
176
|
+
path: z.ZodString;
|
|
177
|
+
}, z.core.$strip>>;
|
|
178
|
+
sandbox: z.ZodArray<z.ZodObject<{
|
|
179
|
+
tool: z.ZodString;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
costUsd: z.ZodNumber;
|
|
182
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
183
|
+
input: z.ZodInt;
|
|
184
|
+
output: z.ZodInt;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
runId: z.ZodNullable<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
export type SkillTestReport = z.infer<typeof SkillTestReport>;
|
|
191
|
+
export declare const SkillDetail: z.ZodObject<{
|
|
192
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
hidden: z.ZodBoolean;
|
|
195
|
+
parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
196
|
+
path: z.ZodObject<{
|
|
197
|
+
section: z.ZodEnum<{
|
|
198
|
+
users: "users";
|
|
199
|
+
own: "own";
|
|
200
|
+
shared: "shared";
|
|
201
|
+
}>;
|
|
202
|
+
items: z.ZodArray<z.ZodObject<{
|
|
203
|
+
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
204
|
+
name: z.ZodString;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
content: z.ZodString;
|
|
208
|
+
result: z.ZodString;
|
|
209
|
+
trigger: z.ZodString;
|
|
210
|
+
triggerOn: z.ZodBoolean;
|
|
211
|
+
version: z.ZodInt;
|
|
212
|
+
rev: z.ZodInt;
|
|
213
|
+
archivedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
214
|
+
files: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
215
|
+
path: z.ZodString;
|
|
216
|
+
content: z.ZodString;
|
|
217
|
+
}, z.core.$strip>>>;
|
|
218
|
+
test: z.ZodNullable<z.ZodObject<{
|
|
219
|
+
version: z.ZodInt;
|
|
220
|
+
at: z.ZodISODateTime;
|
|
221
|
+
by: z.ZodObject<{
|
|
222
|
+
userId: z.ZodString;
|
|
223
|
+
name: z.ZodNullable<z.ZodString>;
|
|
224
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
225
|
+
machine: "machine";
|
|
226
|
+
human: "human";
|
|
227
|
+
}>>;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
passed: z.ZodInt;
|
|
230
|
+
failed: z.ZodInt;
|
|
231
|
+
missing: z.ZodInt;
|
|
232
|
+
trigger: z.ZodNullable<z.ZodObject<{
|
|
233
|
+
skills: z.ZodInt;
|
|
234
|
+
operator: z.ZodNullable<z.ZodObject<{
|
|
235
|
+
userId: z.ZodString;
|
|
236
|
+
name: z.ZodNullable<z.ZodString>;
|
|
237
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
238
|
+
machine: "machine";
|
|
239
|
+
human: "human";
|
|
240
|
+
}>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
243
|
+
kind: z.ZodEnum<{
|
|
244
|
+
should: "should";
|
|
245
|
+
shouldNot: "shouldNot";
|
|
246
|
+
}>;
|
|
247
|
+
request: z.ZodString;
|
|
248
|
+
chosen: z.ZodNullable<z.ZodString>;
|
|
249
|
+
ok: z.ZodBoolean;
|
|
250
|
+
}, z.core.$strip>>;
|
|
251
|
+
costUsd: z.ZodNumber;
|
|
252
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
253
|
+
input: z.ZodInt;
|
|
254
|
+
output: z.ZodInt;
|
|
255
|
+
}, z.core.$strip>>;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
cases: z.ZodArray<z.ZodObject<{
|
|
258
|
+
name: z.ZodString;
|
|
259
|
+
status: z.ZodEnum<{
|
|
260
|
+
failed: "failed";
|
|
261
|
+
passed: "passed";
|
|
262
|
+
missing: "missing";
|
|
263
|
+
}>;
|
|
264
|
+
recordedAt: z.ZodNullable<z.ZodString>;
|
|
265
|
+
fromRun: z.ZodNullable<z.ZodString>;
|
|
266
|
+
runs: z.ZodInt;
|
|
267
|
+
passedRuns: z.ZodInt;
|
|
268
|
+
points: z.ZodArray<z.ZodObject<{
|
|
269
|
+
text: z.ZodString;
|
|
270
|
+
kind: z.ZodEnum<{
|
|
271
|
+
expected: "expected";
|
|
272
|
+
result: "result";
|
|
273
|
+
}>;
|
|
274
|
+
ok: z.ZodBoolean;
|
|
275
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
missing: z.ZodNullable<z.ZodObject<{
|
|
278
|
+
tool: z.ZodString;
|
|
279
|
+
path: z.ZodString;
|
|
280
|
+
}, z.core.$strip>>;
|
|
281
|
+
sandbox: z.ZodArray<z.ZodObject<{
|
|
282
|
+
tool: z.ZodString;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
costUsd: z.ZodNumber;
|
|
285
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
input: z.ZodInt;
|
|
287
|
+
output: z.ZodInt;
|
|
288
|
+
}, z.core.$strip>>;
|
|
289
|
+
runId: z.ZodNullable<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
rights: z.ZodObject<{
|
|
294
|
+
write: z.ZodBoolean;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
export type SkillDetail = z.infer<typeof SkillDetail>;
|
|
298
|
+
export declare const skillRunKinds: readonly ["operator", "person", "probe"];
|
|
299
|
+
export declare const skillRunStatuses: readonly ["open", "reached", "missed", "passed", "failed", "missing"];
|
|
300
|
+
export declare const SkillRunItem: z.ZodObject<{
|
|
301
|
+
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
302
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
303
|
+
kind: z.ZodEnum<{
|
|
304
|
+
operator: "operator";
|
|
305
|
+
person: "person";
|
|
306
|
+
probe: "probe";
|
|
307
|
+
}>;
|
|
308
|
+
by: z.ZodObject<{
|
|
309
|
+
userId: z.ZodString;
|
|
310
|
+
name: z.ZodNullable<z.ZodString>;
|
|
311
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
312
|
+
machine: "machine";
|
|
313
|
+
human: "human";
|
|
314
|
+
}>>;
|
|
315
|
+
}, z.core.$strip>;
|
|
316
|
+
via: z.ZodNullable<z.ZodString>;
|
|
317
|
+
context: z.ZodObject<{
|
|
318
|
+
kind: z.ZodEnum<{
|
|
319
|
+
goal: "goal";
|
|
320
|
+
chat: "chat";
|
|
321
|
+
tests: "tests";
|
|
322
|
+
}>;
|
|
323
|
+
nodeId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
324
|
+
name: z.ZodNullable<z.ZodString>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
version: z.ZodInt;
|
|
327
|
+
status: z.ZodEnum<{
|
|
328
|
+
open: "open";
|
|
329
|
+
failed: "failed";
|
|
330
|
+
passed: "passed";
|
|
331
|
+
reached: "reached";
|
|
332
|
+
missing: "missing";
|
|
333
|
+
missed: "missed";
|
|
334
|
+
}>;
|
|
335
|
+
startedAt: z.ZodISODateTime;
|
|
336
|
+
calls: z.ZodInt;
|
|
337
|
+
caseName: z.ZodNullable<z.ZodString>;
|
|
338
|
+
kept: z.ZodBoolean;
|
|
339
|
+
}, z.core.$strip>;
|
|
340
|
+
export type SkillRunItem = z.infer<typeof SkillRunItem>;
|
|
341
|
+
export declare const SkillRunCall: z.ZodObject<{
|
|
342
|
+
seq: z.ZodInt;
|
|
343
|
+
tool: z.ZodString;
|
|
344
|
+
write: z.ZodBoolean;
|
|
345
|
+
sandbox: z.ZodBoolean;
|
|
346
|
+
input: z.ZodUnknown;
|
|
347
|
+
answer: z.ZodUnknown;
|
|
348
|
+
size: z.ZodNullable<z.ZodInt>;
|
|
349
|
+
durationMs: z.ZodInt;
|
|
350
|
+
code: z.ZodNullable<z.ZodString>;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
export type SkillRunCall = z.infer<typeof SkillRunCall>;
|
|
353
|
+
export declare const SkillRunDetail: z.ZodObject<{
|
|
354
|
+
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
355
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
356
|
+
kind: z.ZodEnum<{
|
|
357
|
+
operator: "operator";
|
|
358
|
+
person: "person";
|
|
359
|
+
probe: "probe";
|
|
360
|
+
}>;
|
|
361
|
+
by: z.ZodObject<{
|
|
362
|
+
userId: z.ZodString;
|
|
363
|
+
name: z.ZodNullable<z.ZodString>;
|
|
364
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
365
|
+
machine: "machine";
|
|
366
|
+
human: "human";
|
|
367
|
+
}>>;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
via: z.ZodNullable<z.ZodString>;
|
|
370
|
+
context: z.ZodObject<{
|
|
371
|
+
kind: z.ZodEnum<{
|
|
372
|
+
goal: "goal";
|
|
373
|
+
chat: "chat";
|
|
374
|
+
tests: "tests";
|
|
375
|
+
}>;
|
|
376
|
+
nodeId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
377
|
+
name: z.ZodNullable<z.ZodString>;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
version: z.ZodInt;
|
|
380
|
+
status: z.ZodEnum<{
|
|
381
|
+
open: "open";
|
|
382
|
+
failed: "failed";
|
|
383
|
+
passed: "passed";
|
|
384
|
+
reached: "reached";
|
|
385
|
+
missing: "missing";
|
|
386
|
+
missed: "missed";
|
|
387
|
+
}>;
|
|
388
|
+
startedAt: z.ZodISODateTime;
|
|
389
|
+
caseName: z.ZodNullable<z.ZodString>;
|
|
390
|
+
kept: z.ZodBoolean;
|
|
391
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
392
|
+
seq: z.ZodInt;
|
|
393
|
+
tool: z.ZodString;
|
|
394
|
+
write: z.ZodBoolean;
|
|
395
|
+
sandbox: z.ZodBoolean;
|
|
396
|
+
input: z.ZodUnknown;
|
|
397
|
+
answer: z.ZodUnknown;
|
|
398
|
+
size: z.ZodNullable<z.ZodInt>;
|
|
399
|
+
durationMs: z.ZodInt;
|
|
400
|
+
code: z.ZodNullable<z.ZodString>;
|
|
401
|
+
}, z.core.$strip>>;
|
|
402
|
+
note: z.ZodNullable<z.ZodString>;
|
|
403
|
+
expiresAt: z.ZodNullable<z.ZodISODateTime>;
|
|
404
|
+
}, z.core.$strip>;
|
|
405
|
+
export type SkillRunDetail = z.infer<typeof SkillRunDetail>;
|
|
406
|
+
export declare const SkillRunList: z.ZodObject<{
|
|
407
|
+
items: z.ZodArray<z.ZodObject<{
|
|
408
|
+
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
409
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
410
|
+
kind: z.ZodEnum<{
|
|
411
|
+
operator: "operator";
|
|
412
|
+
person: "person";
|
|
413
|
+
probe: "probe";
|
|
414
|
+
}>;
|
|
415
|
+
by: z.ZodObject<{
|
|
416
|
+
userId: z.ZodString;
|
|
417
|
+
name: z.ZodNullable<z.ZodString>;
|
|
418
|
+
kind: z.ZodNullable<z.ZodEnum<{
|
|
419
|
+
machine: "machine";
|
|
420
|
+
human: "human";
|
|
421
|
+
}>>;
|
|
422
|
+
}, z.core.$strip>;
|
|
423
|
+
via: z.ZodNullable<z.ZodString>;
|
|
424
|
+
context: z.ZodObject<{
|
|
425
|
+
kind: z.ZodEnum<{
|
|
426
|
+
goal: "goal";
|
|
427
|
+
chat: "chat";
|
|
428
|
+
tests: "tests";
|
|
429
|
+
}>;
|
|
430
|
+
nodeId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
431
|
+
name: z.ZodNullable<z.ZodString>;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
version: z.ZodInt;
|
|
434
|
+
status: z.ZodEnum<{
|
|
435
|
+
open: "open";
|
|
436
|
+
failed: "failed";
|
|
437
|
+
passed: "passed";
|
|
438
|
+
reached: "reached";
|
|
439
|
+
missing: "missing";
|
|
440
|
+
missed: "missed";
|
|
441
|
+
}>;
|
|
442
|
+
startedAt: z.ZodISODateTime;
|
|
443
|
+
calls: z.ZodInt;
|
|
444
|
+
caseName: z.ZodNullable<z.ZodString>;
|
|
445
|
+
kept: z.ZodBoolean;
|
|
446
|
+
}, z.core.$strip>>;
|
|
447
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
export type SkillRunList = z.infer<typeof SkillRunList>;
|
|
450
|
+
export declare const SkillFields: z.ZodObject<{
|
|
451
|
+
result: z.ZodString;
|
|
452
|
+
trigger: z.ZodString;
|
|
453
|
+
triggerOn: z.ZodBoolean;
|
|
454
|
+
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
455
|
+
}, z.core.$strip>;
|
|
456
|
+
export type SkillFields = z.infer<typeof SkillFields>;
|
|
457
|
+
export declare const SkillOffer: z.ZodObject<{
|
|
458
|
+
skillId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
459
|
+
name: z.ZodString;
|
|
460
|
+
trigger: z.ZodString;
|
|
461
|
+
}, z.core.$strip>;
|
|
462
|
+
export type SkillOffer = z.infer<typeof SkillOffer>;
|