@ora-ai/cli 0.11.0 → 0.12.0
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/README.md +47 -2
- package/dist/core/output.d.ts.map +1 -1
- package/dist/core/output.js +9 -3
- package/dist/core/output.js.map +1 -1
- package/dist/generated/operations.d.ts +1 -1
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +1780 -138
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/types.d.ts +1153 -156
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/generated/types.js +1 -1
- package/dist/interactive/session.js +1 -1
- package/dist/interactive/session.js.map +1 -1
- package/dist/render/index.d.ts +3 -1
- package/dist/render/index.d.ts.map +1 -1
- package/dist/render/index.js +5 -1
- package/dist/render/index.js.map +1 -1
- package/dist/render/registry.d.ts +5 -0
- package/dist/render/registry.d.ts.map +1 -1
- package/dist/render/registry.js +12 -4
- package/dist/render/registry.js.map +1 -1
- package/dist/render/sanitize.d.ts +19 -0
- package/dist/render/sanitize.d.ts.map +1 -0
- package/dist/render/sanitize.js +48 -0
- package/dist/render/sanitize.js.map +1 -0
- package/dist/render/table.d.ts +10 -4
- package/dist/render/table.d.ts.map +1 -1
- package/dist/render/table.js +17 -5
- package/dist/render/table.js.map +1 -1
- package/dist/render/team-event.d.ts +9 -0
- package/dist/render/team-event.d.ts.map +1 -0
- package/dist/render/team-event.js +38 -0
- package/dist/render/team-event.js.map +1 -0
- package/dist/watch.d.ts +2 -1
- package/dist/watch.d.ts.map +1 -1
- package/dist/watch.js +10 -5
- package/dist/watch.js.map +1 -1
- package/package.json +2 -2
|
@@ -17,10 +17,1036 @@ export type AddonsListResponse = {
|
|
|
17
17
|
"multiInstance"?: boolean;
|
|
18
18
|
}>;
|
|
19
19
|
};
|
|
20
|
+
export type AutopilotPresetsListResponse = {
|
|
21
|
+
"items": Array<{
|
|
22
|
+
"id": string;
|
|
23
|
+
"name": string;
|
|
24
|
+
"version": number;
|
|
25
|
+
"ref": string;
|
|
26
|
+
"system": boolean;
|
|
27
|
+
"body": {
|
|
28
|
+
"axes": Record<string, unknown>;
|
|
29
|
+
"positions"?: Array<{
|
|
30
|
+
"name": string;
|
|
31
|
+
"grants": Array<string>;
|
|
32
|
+
"brief": string;
|
|
33
|
+
}>;
|
|
34
|
+
};
|
|
35
|
+
"createdAt": string;
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
38
|
+
export type AutopilotPresetsCreateRequest = {
|
|
39
|
+
"name": string;
|
|
40
|
+
"body": {
|
|
41
|
+
"axes": Record<string, unknown>;
|
|
42
|
+
"positions"?: Array<{
|
|
43
|
+
"name": string;
|
|
44
|
+
"grants"?: Array<string>;
|
|
45
|
+
"brief"?: string;
|
|
46
|
+
}>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export type AutopilotPresetsCreateResponse = {
|
|
50
|
+
"preset": {
|
|
51
|
+
"id": string;
|
|
52
|
+
"name": string;
|
|
53
|
+
"version": number;
|
|
54
|
+
"ref": string;
|
|
55
|
+
"system": boolean;
|
|
56
|
+
"body": {
|
|
57
|
+
"axes": Record<string, unknown>;
|
|
58
|
+
"positions"?: Array<{
|
|
59
|
+
"name": string;
|
|
60
|
+
"grants": Array<string>;
|
|
61
|
+
"brief": string;
|
|
62
|
+
}>;
|
|
63
|
+
};
|
|
64
|
+
"createdAt": string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export type AutopilotPresetsGetResponse = {
|
|
68
|
+
"id": string;
|
|
69
|
+
"name": string;
|
|
70
|
+
"version": number;
|
|
71
|
+
"ref": string;
|
|
72
|
+
"system": boolean;
|
|
73
|
+
"body": {
|
|
74
|
+
"axes": Record<string, unknown>;
|
|
75
|
+
"positions"?: Array<{
|
|
76
|
+
"name": string;
|
|
77
|
+
"grants": Array<string>;
|
|
78
|
+
"brief": string;
|
|
79
|
+
}>;
|
|
80
|
+
};
|
|
81
|
+
"createdAt": string;
|
|
82
|
+
};
|
|
83
|
+
export type AutopilotStrategiesListResponse = {
|
|
84
|
+
"axes": Array<{
|
|
85
|
+
"key": string;
|
|
86
|
+
"required": boolean;
|
|
87
|
+
"defaultStrategy": string | null;
|
|
88
|
+
"display": {
|
|
89
|
+
"label": string;
|
|
90
|
+
"summary": string;
|
|
91
|
+
};
|
|
92
|
+
"strategies": Array<{
|
|
93
|
+
"key": string;
|
|
94
|
+
"version": number;
|
|
95
|
+
"ref": string;
|
|
96
|
+
"schema": Record<string, unknown>;
|
|
97
|
+
"display": {
|
|
98
|
+
"label": string;
|
|
99
|
+
"summary": string;
|
|
100
|
+
};
|
|
101
|
+
"requires": Array<string>;
|
|
102
|
+
"provides": {
|
|
103
|
+
"capabilities": Array<string>;
|
|
104
|
+
"tools": Array<string>;
|
|
105
|
+
"commandKinds": Array<string>;
|
|
106
|
+
"eventKinds": Array<string>;
|
|
107
|
+
"alwaysResolves": boolean;
|
|
108
|
+
};
|
|
109
|
+
"deprecated": boolean;
|
|
110
|
+
}>;
|
|
111
|
+
}>;
|
|
112
|
+
};
|
|
113
|
+
export type AutopilotTeamsListResponse = {
|
|
114
|
+
"items": Array<{
|
|
115
|
+
"id": string;
|
|
116
|
+
"name": string;
|
|
117
|
+
"slug": string;
|
|
118
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
119
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
120
|
+
"activeMissions": number;
|
|
121
|
+
"queuedMissions": number;
|
|
122
|
+
"budget": {
|
|
123
|
+
"reservedUsd": number;
|
|
124
|
+
"settledUsd": number;
|
|
125
|
+
"inputTokens": number;
|
|
126
|
+
"outputTokens": number;
|
|
127
|
+
"warnedAt": string | null;
|
|
128
|
+
"trippedAt": string | null;
|
|
129
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
130
|
+
};
|
|
131
|
+
"eventSeq": number;
|
|
132
|
+
"createdAt": string;
|
|
133
|
+
"updatedAt": string;
|
|
134
|
+
"roster": Array<{
|
|
135
|
+
"handle": string;
|
|
136
|
+
"harness": string;
|
|
137
|
+
}>;
|
|
138
|
+
"activeMissionRefs": Array<{
|
|
139
|
+
"id": string;
|
|
140
|
+
"title": string;
|
|
141
|
+
"startedAt": string | null;
|
|
142
|
+
}>;
|
|
143
|
+
"sessionSlots": number;
|
|
144
|
+
}>;
|
|
145
|
+
"nextCursor": string | null;
|
|
146
|
+
};
|
|
147
|
+
export type AutopilotTeamsCreateRequest = {
|
|
148
|
+
"name": string;
|
|
149
|
+
"slug"?: string;
|
|
150
|
+
"researchUse"?: "internal_only" | "publishable_after_review" | "excluded";
|
|
151
|
+
"members": Array<{
|
|
152
|
+
"handle": string;
|
|
153
|
+
"harness": string;
|
|
154
|
+
"model"?: string | null;
|
|
155
|
+
"tier"?: "core";
|
|
156
|
+
"position"?: string;
|
|
157
|
+
}>;
|
|
158
|
+
"squads"?: Array<{
|
|
159
|
+
"name": string;
|
|
160
|
+
"members": Array<string>;
|
|
161
|
+
}>;
|
|
162
|
+
"positions"?: Array<{
|
|
163
|
+
"name": string;
|
|
164
|
+
"grants"?: Array<string>;
|
|
165
|
+
"brief"?: string;
|
|
166
|
+
}>;
|
|
167
|
+
"preset"?: string;
|
|
168
|
+
"axes"?: Record<string, unknown>;
|
|
169
|
+
"budgets"?: {
|
|
170
|
+
"onTrip"?: "pause" | "stop";
|
|
171
|
+
"team"?: {
|
|
172
|
+
"usd"?: number;
|
|
173
|
+
"tokens"?: number;
|
|
174
|
+
};
|
|
175
|
+
"mission"?: {
|
|
176
|
+
"usd"?: number;
|
|
177
|
+
"tokens"?: number;
|
|
178
|
+
"turns"?: number;
|
|
179
|
+
"wallClockMin"?: number;
|
|
180
|
+
};
|
|
181
|
+
"member"?: {
|
|
182
|
+
"turnWallClockSec"?: number;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
"resources"?: {
|
|
186
|
+
"repos"?: Array<{
|
|
187
|
+
"url": string;
|
|
188
|
+
"ref": string;
|
|
189
|
+
"credential"?: {
|
|
190
|
+
"secretRef": string;
|
|
191
|
+
};
|
|
192
|
+
}>;
|
|
193
|
+
};
|
|
194
|
+
"clientKey"?: string;
|
|
195
|
+
};
|
|
196
|
+
export type AutopilotTeamsCreateResponse = {
|
|
197
|
+
"team": {
|
|
198
|
+
"id": string;
|
|
199
|
+
"name": string;
|
|
200
|
+
"slug": string;
|
|
201
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
202
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
203
|
+
"activeMissions": number;
|
|
204
|
+
"queuedMissions": number;
|
|
205
|
+
"budget": {
|
|
206
|
+
"reservedUsd": number;
|
|
207
|
+
"settledUsd": number;
|
|
208
|
+
"inputTokens": number;
|
|
209
|
+
"outputTokens": number;
|
|
210
|
+
"warnedAt": string | null;
|
|
211
|
+
"trippedAt": string | null;
|
|
212
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
213
|
+
};
|
|
214
|
+
"eventSeq": number;
|
|
215
|
+
"createdAt": string;
|
|
216
|
+
"updatedAt": string;
|
|
217
|
+
"roster": Array<{
|
|
218
|
+
"handle": string;
|
|
219
|
+
"harness": string;
|
|
220
|
+
}>;
|
|
221
|
+
"activeMissionRefs": Array<{
|
|
222
|
+
"id": string;
|
|
223
|
+
"title": string;
|
|
224
|
+
"startedAt": string | null;
|
|
225
|
+
}>;
|
|
226
|
+
"sessionSlots": number;
|
|
227
|
+
"ownerUserId": string;
|
|
228
|
+
"config": {
|
|
229
|
+
"preset": string | null;
|
|
230
|
+
"axes": Record<string, unknown>;
|
|
231
|
+
"positions": Array<{
|
|
232
|
+
"name": string;
|
|
233
|
+
"grants": Array<string>;
|
|
234
|
+
"brief": string;
|
|
235
|
+
}>;
|
|
236
|
+
};
|
|
237
|
+
"budgets": {
|
|
238
|
+
"onTrip": "pause" | "stop";
|
|
239
|
+
"team": {
|
|
240
|
+
"usd"?: number;
|
|
241
|
+
"tokens"?: number;
|
|
242
|
+
};
|
|
243
|
+
"mission": {
|
|
244
|
+
"usd"?: number;
|
|
245
|
+
"tokens"?: number;
|
|
246
|
+
"turns"?: number;
|
|
247
|
+
"wallClockMin"?: number;
|
|
248
|
+
};
|
|
249
|
+
"member": {
|
|
250
|
+
"turnWallClockSec"?: number;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
"resources": {
|
|
254
|
+
"repos": Array<{
|
|
255
|
+
"url": string;
|
|
256
|
+
"ref": string;
|
|
257
|
+
"credential"?: {
|
|
258
|
+
"secretRef": string;
|
|
259
|
+
};
|
|
260
|
+
}>;
|
|
261
|
+
};
|
|
262
|
+
"members": Array<{
|
|
263
|
+
"id": string;
|
|
264
|
+
"handle": string;
|
|
265
|
+
"harness": string;
|
|
266
|
+
"model": string | null;
|
|
267
|
+
"tier": "core" | "worker";
|
|
268
|
+
"position": string | null;
|
|
269
|
+
"status": "active" | "removed";
|
|
270
|
+
"livenessState": "ok" | "degraded";
|
|
271
|
+
"degradedReason": string | null;
|
|
272
|
+
"doorState": string;
|
|
273
|
+
"residency": string;
|
|
274
|
+
"executionEpoch": number;
|
|
275
|
+
"contextEpoch": number;
|
|
276
|
+
"dedicatedSessionId": string | null;
|
|
277
|
+
}>;
|
|
278
|
+
"squads": Array<{
|
|
279
|
+
"id": string;
|
|
280
|
+
"name": string;
|
|
281
|
+
"members": Array<string>;
|
|
282
|
+
}>;
|
|
283
|
+
"missions": Array<{
|
|
284
|
+
"id": string;
|
|
285
|
+
"title": string;
|
|
286
|
+
"status": string;
|
|
287
|
+
}>;
|
|
288
|
+
};
|
|
289
|
+
"eventSeq": number;
|
|
290
|
+
};
|
|
291
|
+
export type AutopilotTeamsFeedResponse = unknown;
|
|
292
|
+
export type AutopilotTeamsGetResponse = {
|
|
293
|
+
"id": string;
|
|
294
|
+
"name": string;
|
|
295
|
+
"slug": string;
|
|
296
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
297
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
298
|
+
"activeMissions": number;
|
|
299
|
+
"queuedMissions": number;
|
|
300
|
+
"budget": {
|
|
301
|
+
"reservedUsd": number;
|
|
302
|
+
"settledUsd": number;
|
|
303
|
+
"inputTokens": number;
|
|
304
|
+
"outputTokens": number;
|
|
305
|
+
"warnedAt": string | null;
|
|
306
|
+
"trippedAt": string | null;
|
|
307
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
308
|
+
};
|
|
309
|
+
"eventSeq": number;
|
|
310
|
+
"createdAt": string;
|
|
311
|
+
"updatedAt": string;
|
|
312
|
+
"roster": Array<{
|
|
313
|
+
"handle": string;
|
|
314
|
+
"harness": string;
|
|
315
|
+
}>;
|
|
316
|
+
"activeMissionRefs": Array<{
|
|
317
|
+
"id": string;
|
|
318
|
+
"title": string;
|
|
319
|
+
"startedAt": string | null;
|
|
320
|
+
}>;
|
|
321
|
+
"sessionSlots": number;
|
|
322
|
+
"ownerUserId": string;
|
|
323
|
+
"config": {
|
|
324
|
+
"preset": string | null;
|
|
325
|
+
"axes": Record<string, unknown>;
|
|
326
|
+
"positions": Array<{
|
|
327
|
+
"name": string;
|
|
328
|
+
"grants": Array<string>;
|
|
329
|
+
"brief": string;
|
|
330
|
+
}>;
|
|
331
|
+
};
|
|
332
|
+
"budgets": {
|
|
333
|
+
"onTrip": "pause" | "stop";
|
|
334
|
+
"team": {
|
|
335
|
+
"usd"?: number;
|
|
336
|
+
"tokens"?: number;
|
|
337
|
+
};
|
|
338
|
+
"mission": {
|
|
339
|
+
"usd"?: number;
|
|
340
|
+
"tokens"?: number;
|
|
341
|
+
"turns"?: number;
|
|
342
|
+
"wallClockMin"?: number;
|
|
343
|
+
};
|
|
344
|
+
"member": {
|
|
345
|
+
"turnWallClockSec"?: number;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
"resources": {
|
|
349
|
+
"repos": Array<{
|
|
350
|
+
"url": string;
|
|
351
|
+
"ref": string;
|
|
352
|
+
"credential"?: {
|
|
353
|
+
"secretRef": string;
|
|
354
|
+
};
|
|
355
|
+
}>;
|
|
356
|
+
};
|
|
357
|
+
"members": Array<{
|
|
358
|
+
"id": string;
|
|
359
|
+
"handle": string;
|
|
360
|
+
"harness": string;
|
|
361
|
+
"model": string | null;
|
|
362
|
+
"tier": "core" | "worker";
|
|
363
|
+
"position": string | null;
|
|
364
|
+
"status": "active" | "removed";
|
|
365
|
+
"livenessState": "ok" | "degraded";
|
|
366
|
+
"degradedReason": string | null;
|
|
367
|
+
"doorState": string;
|
|
368
|
+
"residency": string;
|
|
369
|
+
"executionEpoch": number;
|
|
370
|
+
"contextEpoch": number;
|
|
371
|
+
"dedicatedSessionId": string | null;
|
|
372
|
+
}>;
|
|
373
|
+
"squads": Array<{
|
|
374
|
+
"id": string;
|
|
375
|
+
"name": string;
|
|
376
|
+
"members": Array<string>;
|
|
377
|
+
}>;
|
|
378
|
+
"missions": Array<{
|
|
379
|
+
"id": string;
|
|
380
|
+
"title": string;
|
|
381
|
+
"status": string;
|
|
382
|
+
}>;
|
|
383
|
+
};
|
|
384
|
+
export type AutopilotTeamsApplyRequest = {
|
|
385
|
+
"name": string;
|
|
386
|
+
"slug"?: string;
|
|
387
|
+
"researchUse"?: "internal_only" | "publishable_after_review" | "excluded";
|
|
388
|
+
"members": Array<{
|
|
389
|
+
"handle": string;
|
|
390
|
+
"harness": string;
|
|
391
|
+
"model"?: string | null;
|
|
392
|
+
"tier"?: "core";
|
|
393
|
+
"position"?: string;
|
|
394
|
+
}>;
|
|
395
|
+
"squads"?: Array<{
|
|
396
|
+
"name": string;
|
|
397
|
+
"members": Array<string>;
|
|
398
|
+
}>;
|
|
399
|
+
"positions"?: Array<{
|
|
400
|
+
"name": string;
|
|
401
|
+
"grants"?: Array<string>;
|
|
402
|
+
"brief"?: string;
|
|
403
|
+
}>;
|
|
404
|
+
"preset"?: string;
|
|
405
|
+
"axes"?: Record<string, unknown>;
|
|
406
|
+
"budgets"?: {
|
|
407
|
+
"onTrip"?: "pause" | "stop";
|
|
408
|
+
"team"?: {
|
|
409
|
+
"usd"?: number;
|
|
410
|
+
"tokens"?: number;
|
|
411
|
+
};
|
|
412
|
+
"mission"?: {
|
|
413
|
+
"usd"?: number;
|
|
414
|
+
"tokens"?: number;
|
|
415
|
+
"turns"?: number;
|
|
416
|
+
"wallClockMin"?: number;
|
|
417
|
+
};
|
|
418
|
+
"member"?: {
|
|
419
|
+
"turnWallClockSec"?: number;
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
"resources"?: {
|
|
423
|
+
"repos"?: Array<{
|
|
424
|
+
"url": string;
|
|
425
|
+
"ref": string;
|
|
426
|
+
"credential"?: {
|
|
427
|
+
"secretRef": string;
|
|
428
|
+
};
|
|
429
|
+
}>;
|
|
430
|
+
};
|
|
431
|
+
"clientKey"?: string;
|
|
432
|
+
};
|
|
433
|
+
export type AutopilotTeamsApplyResponse = {
|
|
434
|
+
"team": {
|
|
435
|
+
"id": string;
|
|
436
|
+
"name": string;
|
|
437
|
+
"slug": string;
|
|
438
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
439
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
440
|
+
"activeMissions": number;
|
|
441
|
+
"queuedMissions": number;
|
|
442
|
+
"budget": {
|
|
443
|
+
"reservedUsd": number;
|
|
444
|
+
"settledUsd": number;
|
|
445
|
+
"inputTokens": number;
|
|
446
|
+
"outputTokens": number;
|
|
447
|
+
"warnedAt": string | null;
|
|
448
|
+
"trippedAt": string | null;
|
|
449
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
450
|
+
};
|
|
451
|
+
"eventSeq": number;
|
|
452
|
+
"createdAt": string;
|
|
453
|
+
"updatedAt": string;
|
|
454
|
+
"roster": Array<{
|
|
455
|
+
"handle": string;
|
|
456
|
+
"harness": string;
|
|
457
|
+
}>;
|
|
458
|
+
"activeMissionRefs": Array<{
|
|
459
|
+
"id": string;
|
|
460
|
+
"title": string;
|
|
461
|
+
"startedAt": string | null;
|
|
462
|
+
}>;
|
|
463
|
+
"sessionSlots": number;
|
|
464
|
+
"ownerUserId": string;
|
|
465
|
+
"config": {
|
|
466
|
+
"preset": string | null;
|
|
467
|
+
"axes": Record<string, unknown>;
|
|
468
|
+
"positions": Array<{
|
|
469
|
+
"name": string;
|
|
470
|
+
"grants": Array<string>;
|
|
471
|
+
"brief": string;
|
|
472
|
+
}>;
|
|
473
|
+
};
|
|
474
|
+
"budgets": {
|
|
475
|
+
"onTrip": "pause" | "stop";
|
|
476
|
+
"team": {
|
|
477
|
+
"usd"?: number;
|
|
478
|
+
"tokens"?: number;
|
|
479
|
+
};
|
|
480
|
+
"mission": {
|
|
481
|
+
"usd"?: number;
|
|
482
|
+
"tokens"?: number;
|
|
483
|
+
"turns"?: number;
|
|
484
|
+
"wallClockMin"?: number;
|
|
485
|
+
};
|
|
486
|
+
"member": {
|
|
487
|
+
"turnWallClockSec"?: number;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
"resources": {
|
|
491
|
+
"repos": Array<{
|
|
492
|
+
"url": string;
|
|
493
|
+
"ref": string;
|
|
494
|
+
"credential"?: {
|
|
495
|
+
"secretRef": string;
|
|
496
|
+
};
|
|
497
|
+
}>;
|
|
498
|
+
};
|
|
499
|
+
"members": Array<{
|
|
500
|
+
"id": string;
|
|
501
|
+
"handle": string;
|
|
502
|
+
"harness": string;
|
|
503
|
+
"model": string | null;
|
|
504
|
+
"tier": "core" | "worker";
|
|
505
|
+
"position": string | null;
|
|
506
|
+
"status": "active" | "removed";
|
|
507
|
+
"livenessState": "ok" | "degraded";
|
|
508
|
+
"degradedReason": string | null;
|
|
509
|
+
"doorState": string;
|
|
510
|
+
"residency": string;
|
|
511
|
+
"executionEpoch": number;
|
|
512
|
+
"contextEpoch": number;
|
|
513
|
+
"dedicatedSessionId": string | null;
|
|
514
|
+
}>;
|
|
515
|
+
"squads": Array<{
|
|
516
|
+
"id": string;
|
|
517
|
+
"name": string;
|
|
518
|
+
"members": Array<string>;
|
|
519
|
+
}>;
|
|
520
|
+
"missions": Array<{
|
|
521
|
+
"id": string;
|
|
522
|
+
"title": string;
|
|
523
|
+
"status": string;
|
|
524
|
+
}>;
|
|
525
|
+
};
|
|
526
|
+
"eventSeq": number;
|
|
527
|
+
};
|
|
528
|
+
export type AutopilotTeamsUpdateRequest = {
|
|
529
|
+
"name"?: string;
|
|
530
|
+
"researchUse"?: "internal_only" | "publishable_after_review" | "excluded";
|
|
531
|
+
"positions"?: Array<{
|
|
532
|
+
"name": string;
|
|
533
|
+
"grants"?: Array<string>;
|
|
534
|
+
"brief"?: string;
|
|
535
|
+
}>;
|
|
536
|
+
"preset"?: string | null;
|
|
537
|
+
"axes"?: Record<string, unknown>;
|
|
538
|
+
"budgets"?: {
|
|
539
|
+
"onTrip"?: "pause" | "stop";
|
|
540
|
+
"team"?: {
|
|
541
|
+
"usd"?: number;
|
|
542
|
+
"tokens"?: number;
|
|
543
|
+
};
|
|
544
|
+
"mission"?: {
|
|
545
|
+
"usd"?: number;
|
|
546
|
+
"tokens"?: number;
|
|
547
|
+
"turns"?: number;
|
|
548
|
+
"wallClockMin"?: number;
|
|
549
|
+
};
|
|
550
|
+
"member"?: {
|
|
551
|
+
"turnWallClockSec"?: number;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
"resources"?: {
|
|
555
|
+
"repos": Array<{
|
|
556
|
+
"url": string;
|
|
557
|
+
"ref": string;
|
|
558
|
+
"credential"?: {
|
|
559
|
+
"secretRef": string;
|
|
560
|
+
};
|
|
561
|
+
}>;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
export type AutopilotTeamsUpdateResponse = {
|
|
565
|
+
"team": {
|
|
566
|
+
"id": string;
|
|
567
|
+
"name": string;
|
|
568
|
+
"slug": string;
|
|
569
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
570
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
571
|
+
"activeMissions": number;
|
|
572
|
+
"queuedMissions": number;
|
|
573
|
+
"budget": {
|
|
574
|
+
"reservedUsd": number;
|
|
575
|
+
"settledUsd": number;
|
|
576
|
+
"inputTokens": number;
|
|
577
|
+
"outputTokens": number;
|
|
578
|
+
"warnedAt": string | null;
|
|
579
|
+
"trippedAt": string | null;
|
|
580
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
581
|
+
};
|
|
582
|
+
"eventSeq": number;
|
|
583
|
+
"createdAt": string;
|
|
584
|
+
"updatedAt": string;
|
|
585
|
+
"roster": Array<{
|
|
586
|
+
"handle": string;
|
|
587
|
+
"harness": string;
|
|
588
|
+
}>;
|
|
589
|
+
"activeMissionRefs": Array<{
|
|
590
|
+
"id": string;
|
|
591
|
+
"title": string;
|
|
592
|
+
"startedAt": string | null;
|
|
593
|
+
}>;
|
|
594
|
+
"sessionSlots": number;
|
|
595
|
+
"ownerUserId": string;
|
|
596
|
+
"config": {
|
|
597
|
+
"preset": string | null;
|
|
598
|
+
"axes": Record<string, unknown>;
|
|
599
|
+
"positions": Array<{
|
|
600
|
+
"name": string;
|
|
601
|
+
"grants": Array<string>;
|
|
602
|
+
"brief": string;
|
|
603
|
+
}>;
|
|
604
|
+
};
|
|
605
|
+
"budgets": {
|
|
606
|
+
"onTrip": "pause" | "stop";
|
|
607
|
+
"team": {
|
|
608
|
+
"usd"?: number;
|
|
609
|
+
"tokens"?: number;
|
|
610
|
+
};
|
|
611
|
+
"mission": {
|
|
612
|
+
"usd"?: number;
|
|
613
|
+
"tokens"?: number;
|
|
614
|
+
"turns"?: number;
|
|
615
|
+
"wallClockMin"?: number;
|
|
616
|
+
};
|
|
617
|
+
"member": {
|
|
618
|
+
"turnWallClockSec"?: number;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
"resources": {
|
|
622
|
+
"repos": Array<{
|
|
623
|
+
"url": string;
|
|
624
|
+
"ref": string;
|
|
625
|
+
"credential"?: {
|
|
626
|
+
"secretRef": string;
|
|
627
|
+
};
|
|
628
|
+
}>;
|
|
629
|
+
};
|
|
630
|
+
"members": Array<{
|
|
631
|
+
"id": string;
|
|
632
|
+
"handle": string;
|
|
633
|
+
"harness": string;
|
|
634
|
+
"model": string | null;
|
|
635
|
+
"tier": "core" | "worker";
|
|
636
|
+
"position": string | null;
|
|
637
|
+
"status": "active" | "removed";
|
|
638
|
+
"livenessState": "ok" | "degraded";
|
|
639
|
+
"degradedReason": string | null;
|
|
640
|
+
"doorState": string;
|
|
641
|
+
"residency": string;
|
|
642
|
+
"executionEpoch": number;
|
|
643
|
+
"contextEpoch": number;
|
|
644
|
+
"dedicatedSessionId": string | null;
|
|
645
|
+
}>;
|
|
646
|
+
"squads": Array<{
|
|
647
|
+
"id": string;
|
|
648
|
+
"name": string;
|
|
649
|
+
"members": Array<string>;
|
|
650
|
+
}>;
|
|
651
|
+
"missions": Array<{
|
|
652
|
+
"id": string;
|
|
653
|
+
"title": string;
|
|
654
|
+
"status": string;
|
|
655
|
+
}>;
|
|
656
|
+
};
|
|
657
|
+
"eventSeq": number;
|
|
658
|
+
};
|
|
659
|
+
export type AutopilotTeamsArchiveResponse = {
|
|
660
|
+
"teamId": string;
|
|
661
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
662
|
+
"eventSeq": number;
|
|
663
|
+
};
|
|
664
|
+
export type AutopilotEventsListResponse = {
|
|
665
|
+
"events": Array<{
|
|
666
|
+
"seq": number;
|
|
667
|
+
"id": string;
|
|
668
|
+
"kind": string;
|
|
669
|
+
"schemaVersion": number;
|
|
670
|
+
"missionId": string | null;
|
|
671
|
+
"occurredAt": string;
|
|
672
|
+
"recordedAt": string;
|
|
673
|
+
"clockSource": "db" | "pod" | "provider" | "operator_client";
|
|
674
|
+
"causedByEventId": string | null;
|
|
675
|
+
"actor": {
|
|
676
|
+
"kind": "operator" | "member" | "system";
|
|
677
|
+
"memberId"?: string;
|
|
678
|
+
"handle"?: string;
|
|
679
|
+
};
|
|
680
|
+
"summary": string;
|
|
681
|
+
"payload": Record<string, unknown>;
|
|
682
|
+
}>;
|
|
683
|
+
"nextAfterSeq": number;
|
|
684
|
+
"hasMore": boolean;
|
|
685
|
+
};
|
|
686
|
+
export type AutopilotExportsListResponse = {
|
|
687
|
+
"items": Array<{
|
|
688
|
+
"exportId": string;
|
|
689
|
+
"status": "requested" | "completed" | "failed";
|
|
690
|
+
"datasetId": string | null;
|
|
691
|
+
"reason": string | null;
|
|
692
|
+
"createdAt": string;
|
|
693
|
+
"completedAt": string | null;
|
|
694
|
+
}>;
|
|
695
|
+
"nextCursor": string | null;
|
|
696
|
+
};
|
|
697
|
+
export type AutopilotExportsCreateRequest = {
|
|
698
|
+
"missionIds"?: Array<string>;
|
|
699
|
+
"from"?: string;
|
|
700
|
+
"to"?: string;
|
|
701
|
+
"clientKey"?: string;
|
|
702
|
+
};
|
|
703
|
+
export type AutopilotExportsGetResponse = {
|
|
704
|
+
"exportId": string;
|
|
705
|
+
"status": "requested" | "completed" | "failed";
|
|
706
|
+
"datasetId": string | null;
|
|
707
|
+
"reason": string | null;
|
|
708
|
+
"createdAt": string;
|
|
709
|
+
"completedAt": string | null;
|
|
710
|
+
"manifest": Record<string, unknown> | null;
|
|
711
|
+
"artifactUrl": string | null;
|
|
712
|
+
"expiresAt": string | null;
|
|
713
|
+
"redactionReport": Record<string, unknown> | null;
|
|
714
|
+
};
|
|
715
|
+
export type AutopilotMembersListResponse = {
|
|
716
|
+
"items": Array<{
|
|
717
|
+
"id": string;
|
|
718
|
+
"handle": string;
|
|
719
|
+
"harness": string;
|
|
720
|
+
"model": string | null;
|
|
721
|
+
"tier": "core" | "worker";
|
|
722
|
+
"position": string | null;
|
|
723
|
+
"status": "active" | "removed";
|
|
724
|
+
"livenessState": "ok" | "degraded";
|
|
725
|
+
"degradedReason": string | null;
|
|
726
|
+
"doorState": string;
|
|
727
|
+
"residency": string;
|
|
728
|
+
"executionEpoch": number;
|
|
729
|
+
"contextEpoch": number;
|
|
730
|
+
"dedicatedSessionId": string | null;
|
|
731
|
+
}>;
|
|
732
|
+
};
|
|
733
|
+
export type AutopilotMembersAddRequest = {
|
|
734
|
+
"handle": string;
|
|
735
|
+
"harness": string;
|
|
736
|
+
"model"?: string | null;
|
|
737
|
+
"tier"?: "core";
|
|
738
|
+
"position"?: string;
|
|
739
|
+
};
|
|
740
|
+
export type AutopilotMembersAddResponse = {
|
|
741
|
+
"teamId": string;
|
|
742
|
+
"member": {
|
|
743
|
+
"id": string;
|
|
744
|
+
"handle": string;
|
|
745
|
+
"harness": string;
|
|
746
|
+
"model": string | null;
|
|
747
|
+
"tier": "core" | "worker";
|
|
748
|
+
"position": string | null;
|
|
749
|
+
"status": "active" | "removed";
|
|
750
|
+
"livenessState": "ok" | "degraded";
|
|
751
|
+
"degradedReason": string | null;
|
|
752
|
+
"doorState": string;
|
|
753
|
+
"residency": string;
|
|
754
|
+
"executionEpoch": number;
|
|
755
|
+
"contextEpoch": number;
|
|
756
|
+
"dedicatedSessionId": string | null;
|
|
757
|
+
};
|
|
758
|
+
"eventSeq": number;
|
|
759
|
+
};
|
|
760
|
+
export type AutopilotMembersUpdateRequest = {
|
|
761
|
+
"model"?: string | null;
|
|
762
|
+
"position"?: string;
|
|
763
|
+
};
|
|
764
|
+
export type AutopilotMembersUpdateResponse = {
|
|
765
|
+
"teamId": string;
|
|
766
|
+
"member": {
|
|
767
|
+
"id": string;
|
|
768
|
+
"handle": string;
|
|
769
|
+
"harness": string;
|
|
770
|
+
"model": string | null;
|
|
771
|
+
"tier": "core" | "worker";
|
|
772
|
+
"position": string | null;
|
|
773
|
+
"status": "active" | "removed";
|
|
774
|
+
"livenessState": "ok" | "degraded";
|
|
775
|
+
"degradedReason": string | null;
|
|
776
|
+
"doorState": string;
|
|
777
|
+
"residency": string;
|
|
778
|
+
"executionEpoch": number;
|
|
779
|
+
"contextEpoch": number;
|
|
780
|
+
"dedicatedSessionId": string | null;
|
|
781
|
+
};
|
|
782
|
+
"eventSeq": number;
|
|
783
|
+
};
|
|
784
|
+
export type AutopilotMembersRemoveResponse = {
|
|
785
|
+
"teamId": string;
|
|
786
|
+
"memberId": string;
|
|
787
|
+
"status": "removed";
|
|
788
|
+
"eventSeq": number;
|
|
789
|
+
};
|
|
790
|
+
export type AutopilotSegmentsGetResponse = {
|
|
791
|
+
"memberId": string;
|
|
792
|
+
"batchId": string;
|
|
793
|
+
"sessionId": string;
|
|
794
|
+
"traceRef": string;
|
|
795
|
+
"trajectoryRef": string;
|
|
796
|
+
"spansDropped": number;
|
|
797
|
+
"stepsDropped": number;
|
|
798
|
+
"trajectory": unknown;
|
|
799
|
+
};
|
|
800
|
+
export type AutopilotMembersTranscriptResponse = unknown;
|
|
801
|
+
export type AutopilotMessagesSendRequest = {
|
|
802
|
+
"to": Array<string>;
|
|
803
|
+
"text": string;
|
|
804
|
+
"interrupt"?: boolean;
|
|
805
|
+
"missionId"?: string;
|
|
806
|
+
"clientKey"?: string;
|
|
807
|
+
};
|
|
808
|
+
export type AutopilotMessagesSendResponse = {
|
|
809
|
+
"messageId": string;
|
|
810
|
+
"missionId": string;
|
|
811
|
+
"recipients": Array<{
|
|
812
|
+
"memberId": string;
|
|
813
|
+
"handle": string;
|
|
814
|
+
"status": "queued" | "delivering" | "consumed" | "blocked_by_policy" | "cancelled" | "expired" | "failed";
|
|
815
|
+
"interruptDegraded": boolean;
|
|
816
|
+
}>;
|
|
817
|
+
"eventSeq": number;
|
|
818
|
+
"streamUrl": string;
|
|
819
|
+
};
|
|
820
|
+
export type AutopilotMissionsListResponse = {
|
|
821
|
+
"items": Array<{
|
|
822
|
+
"id": string;
|
|
823
|
+
"title": string;
|
|
824
|
+
"status": "queued" | "active" | "draining" | "pausing" | "paused" | "stopping" | "done" | "failed_to_converge" | "failed" | "stopped";
|
|
825
|
+
"outcome": string | null;
|
|
826
|
+
"endedBy": string | null;
|
|
827
|
+
"target": {
|
|
828
|
+
"kind": "team" | "squad" | "member";
|
|
829
|
+
"id": string | null;
|
|
830
|
+
};
|
|
831
|
+
"epoch": number;
|
|
832
|
+
"epochsMixed": boolean;
|
|
833
|
+
"measurable": boolean;
|
|
834
|
+
"turns": number;
|
|
835
|
+
"reservedUsd": number;
|
|
836
|
+
"settledUsd": number;
|
|
837
|
+
"startedAt": string | null;
|
|
838
|
+
"endedAt": string | null;
|
|
839
|
+
"createdAt": string;
|
|
840
|
+
"costNullReason": "unpriced_model" | "telemetry_dark" | "truncated" | null;
|
|
841
|
+
"unmeasuredReasons": Array<string>;
|
|
842
|
+
"axes": Record<string, unknown>;
|
|
843
|
+
"workspaceMode": string | null;
|
|
844
|
+
"liveWorkers": number;
|
|
845
|
+
}>;
|
|
846
|
+
"nextCursor": string | null;
|
|
847
|
+
};
|
|
848
|
+
export type AutopilotMissionsCreateRequest = {
|
|
849
|
+
"target": {
|
|
850
|
+
"kind": "team" | "squad" | "member";
|
|
851
|
+
"id"?: string;
|
|
852
|
+
};
|
|
853
|
+
"title"?: string;
|
|
854
|
+
"instructions": string;
|
|
855
|
+
"overrides"?: {
|
|
856
|
+
"preset"?: string;
|
|
857
|
+
"budgets"?: {
|
|
858
|
+
"onTrip"?: "pause" | "stop";
|
|
859
|
+
"mission"?: {
|
|
860
|
+
"usd"?: number;
|
|
861
|
+
"tokens"?: number;
|
|
862
|
+
"turns"?: number;
|
|
863
|
+
"wallClockMin"?: number;
|
|
864
|
+
};
|
|
865
|
+
"member"?: {
|
|
866
|
+
"turnWallClockSec"?: number;
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
"clientKey"?: string;
|
|
871
|
+
};
|
|
872
|
+
export type AutopilotMissionsCreateResponse = {
|
|
873
|
+
"missionId": string;
|
|
874
|
+
"outcome": "started" | "queued" | "added";
|
|
875
|
+
"queuePosition": number | null;
|
|
876
|
+
"boardTaskId": string | null;
|
|
877
|
+
"eventSeq": number;
|
|
878
|
+
"streamUrl": string;
|
|
879
|
+
};
|
|
880
|
+
export type AutopilotMissionsGetResponse = {
|
|
881
|
+
"id": string;
|
|
882
|
+
"title": string;
|
|
883
|
+
"status": "queued" | "active" | "draining" | "pausing" | "paused" | "stopping" | "done" | "failed_to_converge" | "failed" | "stopped";
|
|
884
|
+
"outcome": string | null;
|
|
885
|
+
"endedBy": string | null;
|
|
886
|
+
"target": {
|
|
887
|
+
"kind": "team" | "squad" | "member";
|
|
888
|
+
"id": string | null;
|
|
889
|
+
};
|
|
890
|
+
"epoch": number;
|
|
891
|
+
"epochsMixed": boolean;
|
|
892
|
+
"measurable": boolean;
|
|
893
|
+
"turns": number;
|
|
894
|
+
"reservedUsd": number;
|
|
895
|
+
"settledUsd": number;
|
|
896
|
+
"startedAt": string | null;
|
|
897
|
+
"endedAt": string | null;
|
|
898
|
+
"createdAt": string;
|
|
899
|
+
"costNullReason": "unpriced_model" | "telemetry_dark" | "truncated" | null;
|
|
900
|
+
"unmeasuredReasons": Array<string>;
|
|
901
|
+
"axes": Record<string, unknown>;
|
|
902
|
+
"workspaceMode": string | null;
|
|
903
|
+
"liveWorkers": number;
|
|
904
|
+
"instructions": string;
|
|
905
|
+
"lane": Array<{
|
|
906
|
+
"memberId": string;
|
|
907
|
+
"handle": string;
|
|
908
|
+
"positionAtStart": string | null;
|
|
909
|
+
}>;
|
|
910
|
+
"snapshot": Record<string, unknown> | null;
|
|
911
|
+
};
|
|
912
|
+
export type AutopilotMissionsUpdateRequest = {
|
|
913
|
+
"budgets": {
|
|
914
|
+
"onTrip"?: "pause" | "stop";
|
|
915
|
+
"mission"?: {
|
|
916
|
+
"usd"?: number;
|
|
917
|
+
"tokens"?: number;
|
|
918
|
+
"turns"?: number;
|
|
919
|
+
"wallClockMin"?: number;
|
|
920
|
+
};
|
|
921
|
+
"member"?: {
|
|
922
|
+
"turnWallClockSec"?: number;
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
export type AutopilotMissionsUpdateResponse = {
|
|
927
|
+
"missionId": string;
|
|
928
|
+
"budgets": Record<string, unknown>;
|
|
929
|
+
"eventSeq": number;
|
|
930
|
+
};
|
|
931
|
+
export type AutopilotBoardListResponse = {
|
|
932
|
+
"missionId": string;
|
|
933
|
+
"items": Array<{
|
|
934
|
+
"id": string;
|
|
935
|
+
"title": string;
|
|
936
|
+
"body": string;
|
|
937
|
+
"status": "open" | "claimed" | "in_progress" | "blocked" | "done";
|
|
938
|
+
"assigneeMemberId": string | null;
|
|
939
|
+
"assigneeHandle": string | null;
|
|
940
|
+
"creatorKind": "member" | "operator" | "system";
|
|
941
|
+
"creatorMemberId": string | null;
|
|
942
|
+
"parentTaskId": string | null;
|
|
943
|
+
"createdAt": string;
|
|
944
|
+
"updatedAt": string;
|
|
945
|
+
}>;
|
|
946
|
+
};
|
|
947
|
+
export type AutopilotNotesListResponse = {
|
|
948
|
+
"items": Array<{
|
|
949
|
+
"id": string;
|
|
950
|
+
"title": string;
|
|
951
|
+
"body": string;
|
|
952
|
+
"status": "active" | "quarantined" | "superseded";
|
|
953
|
+
"creatorKind": "member" | "operator" | "system";
|
|
954
|
+
"creatorMemberId": string | null;
|
|
955
|
+
"missionId": string | null;
|
|
956
|
+
"turnId": string | null;
|
|
957
|
+
"supersedesNoteId": string | null;
|
|
958
|
+
"createdAt": string;
|
|
959
|
+
}>;
|
|
960
|
+
"nextCursor": string | null;
|
|
961
|
+
};
|
|
962
|
+
export type AutopilotNotesGetResponse = {
|
|
963
|
+
"id": string;
|
|
964
|
+
"title": string;
|
|
965
|
+
"body": string;
|
|
966
|
+
"status": "active" | "quarantined" | "superseded";
|
|
967
|
+
"creatorKind": "member" | "operator" | "system";
|
|
968
|
+
"creatorMemberId": string | null;
|
|
969
|
+
"missionId": string | null;
|
|
970
|
+
"turnId": string | null;
|
|
971
|
+
"supersedesNoteId": string | null;
|
|
972
|
+
"createdAt": string;
|
|
973
|
+
};
|
|
974
|
+
export type AutopilotNotesQuarantineResponse = {
|
|
975
|
+
"note": {
|
|
976
|
+
"id": string;
|
|
977
|
+
"title": string;
|
|
978
|
+
"body": string;
|
|
979
|
+
"status": "active" | "quarantined" | "superseded";
|
|
980
|
+
"creatorKind": "member" | "operator" | "system";
|
|
981
|
+
"creatorMemberId": string | null;
|
|
982
|
+
"missionId": string | null;
|
|
983
|
+
"turnId": string | null;
|
|
984
|
+
"supersedesNoteId": string | null;
|
|
985
|
+
"createdAt": string;
|
|
986
|
+
};
|
|
987
|
+
"eventSeq": number;
|
|
988
|
+
};
|
|
989
|
+
export type AutopilotNotesRollbackResponse = {
|
|
990
|
+
"note": {
|
|
991
|
+
"id": string;
|
|
992
|
+
"title": string;
|
|
993
|
+
"body": string;
|
|
994
|
+
"status": "active" | "quarantined" | "superseded";
|
|
995
|
+
"creatorKind": "member" | "operator" | "system";
|
|
996
|
+
"creatorMemberId": string | null;
|
|
997
|
+
"missionId": string | null;
|
|
998
|
+
"turnId": string | null;
|
|
999
|
+
"supersedesNoteId": string | null;
|
|
1000
|
+
"createdAt": string;
|
|
1001
|
+
};
|
|
1002
|
+
"eventSeq": number;
|
|
1003
|
+
};
|
|
1004
|
+
export type AutopilotSquadsListResponse = {
|
|
1005
|
+
"items": Array<{
|
|
1006
|
+
"id": string;
|
|
1007
|
+
"name": string;
|
|
1008
|
+
"members": Array<string>;
|
|
1009
|
+
}>;
|
|
1010
|
+
};
|
|
1011
|
+
export type AutopilotSquadsCreateRequest = {
|
|
1012
|
+
"name": string;
|
|
1013
|
+
"members": Array<string>;
|
|
1014
|
+
};
|
|
1015
|
+
export type AutopilotSquadsCreateResponse = {
|
|
1016
|
+
"teamId": string;
|
|
1017
|
+
"squad": {
|
|
1018
|
+
"id": string;
|
|
1019
|
+
"name": string;
|
|
1020
|
+
"members": Array<string>;
|
|
1021
|
+
};
|
|
1022
|
+
"eventSeq": number;
|
|
1023
|
+
};
|
|
1024
|
+
export type AutopilotSquadsUpdateRequest = {
|
|
1025
|
+
"members": Array<string>;
|
|
1026
|
+
};
|
|
1027
|
+
export type AutopilotSquadsUpdateResponse = {
|
|
1028
|
+
"teamId": string;
|
|
1029
|
+
"squad": {
|
|
1030
|
+
"id": string;
|
|
1031
|
+
"name": string;
|
|
1032
|
+
"members": Array<string>;
|
|
1033
|
+
};
|
|
1034
|
+
"eventSeq": number;
|
|
1035
|
+
};
|
|
1036
|
+
export type AutopilotSquadsDeleteResponse = {
|
|
1037
|
+
"teamId": string;
|
|
1038
|
+
"squadId": string;
|
|
1039
|
+
"eventSeq": number;
|
|
1040
|
+
};
|
|
1041
|
+
export type AutopilotTeamsStreamResponse = unknown;
|
|
20
1042
|
export type BenchmarksListResponse = {
|
|
21
1043
|
"studies": Array<{
|
|
22
1044
|
"id": string;
|
|
23
1045
|
"executiveSummary"?: string | null;
|
|
1046
|
+
"executiveSummaryDraft"?: string | null;
|
|
1047
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1048
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1049
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
24
1050
|
"plannedRunCount": number;
|
|
25
1051
|
"organizationId": string;
|
|
26
1052
|
"createdBy": string | null;
|
|
@@ -176,6 +1202,10 @@ export type BenchmarksCreateResponse = {
|
|
|
176
1202
|
"study": {
|
|
177
1203
|
"id": string;
|
|
178
1204
|
"executiveSummary"?: string | null;
|
|
1205
|
+
"executiveSummaryDraft"?: string | null;
|
|
1206
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1207
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1208
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
179
1209
|
"plannedRunCount": number;
|
|
180
1210
|
"organizationId": string;
|
|
181
1211
|
"createdBy": string | null;
|
|
@@ -291,6 +1321,10 @@ export type BenchmarksGetResponse = {
|
|
|
291
1321
|
"study": {
|
|
292
1322
|
"id": string;
|
|
293
1323
|
"executiveSummary"?: string | null;
|
|
1324
|
+
"executiveSummaryDraft"?: string | null;
|
|
1325
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1326
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1327
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
294
1328
|
"plannedRunCount": number;
|
|
295
1329
|
"organizationId": string;
|
|
296
1330
|
"createdBy": string | null;
|
|
@@ -790,6 +1824,7 @@ export type BenchmarksGetResponse = {
|
|
|
790
1824
|
};
|
|
791
1825
|
"shareUrl"?: string | null;
|
|
792
1826
|
"canManageSharing"?: boolean;
|
|
1827
|
+
"shareLinkKept"?: boolean;
|
|
793
1828
|
};
|
|
794
1829
|
export type BenchmarksUpdateDetailsRequest = {
|
|
795
1830
|
"name"?: string;
|
|
@@ -799,6 +1834,10 @@ export type BenchmarksUpdateDetailsResponse = {
|
|
|
799
1834
|
"study": {
|
|
800
1835
|
"id": string;
|
|
801
1836
|
"executiveSummary"?: string | null;
|
|
1837
|
+
"executiveSummaryDraft"?: string | null;
|
|
1838
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1839
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1840
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
802
1841
|
"plannedRunCount": number;
|
|
803
1842
|
"organizationId": string;
|
|
804
1843
|
"createdBy": string | null;
|
|
@@ -896,6 +1935,7 @@ export type BenchmarksUpdateDetailsResponse = {
|
|
|
896
1935
|
export type BenchmarksDeleteResponse = unknown;
|
|
897
1936
|
export type BenchmarksRegenerateSummaryResponse = {
|
|
898
1937
|
"status": "queued";
|
|
1938
|
+
"target": "live" | "draft";
|
|
899
1939
|
};
|
|
900
1940
|
export type BenchmarksGenerateRequest = {
|
|
901
1941
|
"proposeExpectations"?: boolean;
|
|
@@ -904,6 +1944,10 @@ export type BenchmarksGenerateResponse = {
|
|
|
904
1944
|
"study": {
|
|
905
1945
|
"id": string;
|
|
906
1946
|
"executiveSummary"?: string | null;
|
|
1947
|
+
"executiveSummaryDraft"?: string | null;
|
|
1948
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1949
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1950
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
907
1951
|
"plannedRunCount": number;
|
|
908
1952
|
"organizationId": string;
|
|
909
1953
|
"createdBy": string | null;
|
|
@@ -1007,6 +2051,10 @@ export type BenchmarksLaunchResponse = {
|
|
|
1007
2051
|
"study": {
|
|
1008
2052
|
"id": string;
|
|
1009
2053
|
"executiveSummary"?: string | null;
|
|
2054
|
+
"executiveSummaryDraft"?: string | null;
|
|
2055
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2056
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2057
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1010
2058
|
"plannedRunCount": number;
|
|
1011
2059
|
"organizationId": string;
|
|
1012
2060
|
"createdBy": string | null;
|
|
@@ -1113,6 +2161,10 @@ export type BenchmarksUpdateLensesResponse = {
|
|
|
1113
2161
|
"study": {
|
|
1114
2162
|
"id": string;
|
|
1115
2163
|
"executiveSummary"?: string | null;
|
|
2164
|
+
"executiveSummaryDraft"?: string | null;
|
|
2165
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2166
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2167
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1116
2168
|
"plannedRunCount": number;
|
|
1117
2169
|
"organizationId": string;
|
|
1118
2170
|
"createdBy": string | null;
|
|
@@ -1608,11 +2660,16 @@ export type BenchmarksPreviewResponse = {
|
|
|
1608
2660
|
export type BenchmarksPublishRequest = {
|
|
1609
2661
|
"slug"?: string;
|
|
1610
2662
|
"visibility"?: "private" | "org" | "link" | "public";
|
|
2663
|
+
"expectPublished"?: boolean;
|
|
1611
2664
|
};
|
|
1612
2665
|
export type BenchmarksPublishResponse = {
|
|
1613
2666
|
"study": {
|
|
1614
2667
|
"id": string;
|
|
1615
2668
|
"executiveSummary"?: string | null;
|
|
2669
|
+
"executiveSummaryDraft"?: string | null;
|
|
2670
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2671
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2672
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1616
2673
|
"plannedRunCount": number;
|
|
1617
2674
|
"organizationId": string;
|
|
1618
2675
|
"createdBy": string | null;
|
|
@@ -1711,6 +2768,10 @@ export type BenchmarksRegradeResponse = {
|
|
|
1711
2768
|
"study": {
|
|
1712
2769
|
"id": string;
|
|
1713
2770
|
"executiveSummary"?: string | null;
|
|
2771
|
+
"executiveSummaryDraft"?: string | null;
|
|
2772
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2773
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2774
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1714
2775
|
"plannedRunCount": number;
|
|
1715
2776
|
"organizationId": string;
|
|
1716
2777
|
"createdBy": string | null;
|
|
@@ -1833,6 +2894,10 @@ export type BenchmarksUnpublishResponse = {
|
|
|
1833
2894
|
"study": {
|
|
1834
2895
|
"id": string;
|
|
1835
2896
|
"executiveSummary"?: string | null;
|
|
2897
|
+
"executiveSummaryDraft"?: string | null;
|
|
2898
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2899
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2900
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1836
2901
|
"plannedRunCount": number;
|
|
1837
2902
|
"organizationId": string;
|
|
1838
2903
|
"createdBy": string | null;
|
|
@@ -2116,8 +3181,7 @@ export type ExperimentRunsCreateRequest = {
|
|
|
2116
3181
|
"model"?: string;
|
|
2117
3182
|
"mode"?: "task" | "session";
|
|
2118
3183
|
"addons"?: Record<string, unknown>;
|
|
2119
|
-
"
|
|
2120
|
-
"execution_kind"?: "harness" | "direct";
|
|
3184
|
+
"execution_kind"?: "harness";
|
|
2121
3185
|
"tools"?: "default" | "none" | {
|
|
2122
3186
|
"tools": Array<string>;
|
|
2123
3187
|
};
|
|
@@ -2134,16 +3198,10 @@ export type ExperimentRunsCreateRequest = {
|
|
|
2134
3198
|
"reasoningEffort"?: "low" | "medium" | "high";
|
|
2135
3199
|
"thinkingBudgetTokens"?: number;
|
|
2136
3200
|
};
|
|
2137
|
-
"wait"?: boolean;
|
|
2138
3201
|
};
|
|
2139
3202
|
export type ExperimentRunsCreateResponse = {
|
|
2140
3203
|
"runId": string;
|
|
2141
|
-
"status": "
|
|
2142
|
-
"answer"?: string;
|
|
2143
|
-
"signals"?: unknown;
|
|
2144
|
-
} | {
|
|
2145
|
-
"runId": string;
|
|
2146
|
-
"status": "error" | "pending" | "queued";
|
|
3204
|
+
"status": "pending" | "queued";
|
|
2147
3205
|
"streamUrl": string;
|
|
2148
3206
|
"harness"?: string;
|
|
2149
3207
|
"model"?: string;
|
|
@@ -2164,31 +3222,6 @@ export type ExperimentRunsCancelResponse = {
|
|
|
2164
3222
|
"status": string;
|
|
2165
3223
|
"alreadyTerminal": boolean;
|
|
2166
3224
|
};
|
|
2167
|
-
export type ExperimentRunsDirectSignalsResponse = {
|
|
2168
|
-
"brands": Array<{
|
|
2169
|
-
"name": string;
|
|
2170
|
-
"domain"?: string;
|
|
2171
|
-
"status": "recommended" | "mentioned";
|
|
2172
|
-
"position"?: number;
|
|
2173
|
-
"sentiment"?: "positive" | "neutral" | "negative";
|
|
2174
|
-
"reason"?: string;
|
|
2175
|
-
"caveat"?: string;
|
|
2176
|
-
"backed_by"?: Array<string>;
|
|
2177
|
-
}>;
|
|
2178
|
-
"cited_domains": Array<{
|
|
2179
|
-
"host": string;
|
|
2180
|
-
"url"?: string;
|
|
2181
|
-
"rank"?: number;
|
|
2182
|
-
}>;
|
|
2183
|
-
"made_recommendations": boolean;
|
|
2184
|
-
"usage"?: {
|
|
2185
|
-
"input_tokens": number;
|
|
2186
|
-
"output_tokens": number;
|
|
2187
|
-
};
|
|
2188
|
-
"cost_usd"?: number;
|
|
2189
|
-
"execution_mode"?: "live" | "closed";
|
|
2190
|
-
"inconclusive": boolean;
|
|
2191
|
-
};
|
|
2192
3225
|
export type ExperimentRunsInsightResponse = unknown;
|
|
2193
3226
|
export type ExperimentRunsRawTraceResponse = unknown;
|
|
2194
3227
|
export type ExperimentRunsSpansResponse = unknown;
|
|
@@ -2231,6 +3264,8 @@ export type SessionsListResponse = {
|
|
|
2231
3264
|
"storageSize"?: string;
|
|
2232
3265
|
"model"?: string;
|
|
2233
3266
|
"desktopEnabled": boolean;
|
|
3267
|
+
"origin": string;
|
|
3268
|
+
"managedByRef"?: string;
|
|
2234
3269
|
"createdAt": string;
|
|
2235
3270
|
"updatedAt": string;
|
|
2236
3271
|
}>;
|
|
@@ -2253,6 +3288,8 @@ export type SessionsCreateResponse = {
|
|
|
2253
3288
|
"storageSize"?: string;
|
|
2254
3289
|
"model"?: string;
|
|
2255
3290
|
"desktopEnabled": boolean;
|
|
3291
|
+
"origin": string;
|
|
3292
|
+
"managedByRef"?: string;
|
|
2256
3293
|
"createdAt": string;
|
|
2257
3294
|
"updatedAt": string;
|
|
2258
3295
|
};
|
|
@@ -2261,6 +3298,20 @@ export type SessionsCatalogResponse = {
|
|
|
2261
3298
|
"harnesses": Array<{
|
|
2262
3299
|
"harness": string;
|
|
2263
3300
|
"displayName": string;
|
|
3301
|
+
"door"?: string;
|
|
3302
|
+
"caps"?: {
|
|
3303
|
+
"queue": "none" | "native" | "native-unsafe";
|
|
3304
|
+
"steer": boolean;
|
|
3305
|
+
"interrupt": boolean;
|
|
3306
|
+
"resumeAcrossRestart": boolean;
|
|
3307
|
+
"dynamicTools": boolean;
|
|
3308
|
+
"compaction": boolean;
|
|
3309
|
+
"turnLimits": Array<"maxSteps" | "subagents">;
|
|
3310
|
+
};
|
|
3311
|
+
"heavyWake"?: boolean;
|
|
3312
|
+
"coldWakeSec"?: number | null;
|
|
3313
|
+
"coreEligible"?: boolean;
|
|
3314
|
+
"weakCore"?: string | null;
|
|
2264
3315
|
}>;
|
|
2265
3316
|
};
|
|
2266
3317
|
export type SessionsStreamResponse = unknown;
|
|
@@ -2276,6 +3327,8 @@ export type SessionsDeleteResponse = {
|
|
|
2276
3327
|
"storageSize"?: string;
|
|
2277
3328
|
"model"?: string;
|
|
2278
3329
|
"desktopEnabled": boolean;
|
|
3330
|
+
"origin": string;
|
|
3331
|
+
"managedByRef"?: string;
|
|
2279
3332
|
"createdAt": string;
|
|
2280
3333
|
"updatedAt": string;
|
|
2281
3334
|
};
|
|
@@ -2292,6 +3345,8 @@ export type SessionsHibernateResponse = {
|
|
|
2292
3345
|
"storageSize"?: string;
|
|
2293
3346
|
"model"?: string;
|
|
2294
3347
|
"desktopEnabled": boolean;
|
|
3348
|
+
"origin": string;
|
|
3349
|
+
"managedByRef"?: string;
|
|
2295
3350
|
"createdAt": string;
|
|
2296
3351
|
"updatedAt": string;
|
|
2297
3352
|
};
|
|
@@ -2308,6 +3363,8 @@ export type SessionsWakeResponse = {
|
|
|
2308
3363
|
"storageSize"?: string;
|
|
2309
3364
|
"model"?: string;
|
|
2310
3365
|
"desktopEnabled": boolean;
|
|
3366
|
+
"origin": string;
|
|
3367
|
+
"managedByRef"?: string;
|
|
2311
3368
|
"createdAt": string;
|
|
2312
3369
|
"updatedAt": string;
|
|
2313
3370
|
};
|
|
@@ -2402,6 +3459,10 @@ export type WebmcpArenaCreateResponse = {
|
|
|
2402
3459
|
"benchmark": {
|
|
2403
3460
|
"id": string;
|
|
2404
3461
|
"executiveSummary"?: string | null;
|
|
3462
|
+
"executiveSummaryDraft"?: string | null;
|
|
3463
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
3464
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
3465
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
2405
3466
|
"plannedRunCount": number;
|
|
2406
3467
|
"organizationId": string;
|
|
2407
3468
|
"createdBy": string | null;
|
|
@@ -2596,59 +3657,6 @@ export type IcpsUpdateResponse = {
|
|
|
2596
3657
|
export type IntentsListResponse = {
|
|
2597
3658
|
"success": true;
|
|
2598
3659
|
"data": Array<{
|
|
2599
|
-
"health": number | null;
|
|
2600
|
-
"healthBreakdown": {
|
|
2601
|
-
"contributions": Array<{
|
|
2602
|
-
"id": string;
|
|
2603
|
-
"label": string;
|
|
2604
|
-
"count": number;
|
|
2605
|
-
"weight": number;
|
|
2606
|
-
"value": number;
|
|
2607
|
-
}>;
|
|
2608
|
-
"value": number;
|
|
2609
|
-
"E": number;
|
|
2610
|
-
"absent": number;
|
|
2611
|
-
};
|
|
2612
|
-
"healthPillars": Record<string, unknown>;
|
|
2613
|
-
"confidence": {
|
|
2614
|
-
"value": number;
|
|
2615
|
-
"band": "steady" | "partial" | "sparse";
|
|
2616
|
-
};
|
|
2617
|
-
"coverage": number;
|
|
2618
|
-
"visibility": number;
|
|
2619
|
-
"recommendedRate": number;
|
|
2620
|
-
"mentionedRate": number;
|
|
2621
|
-
"shareOfVoice": number;
|
|
2622
|
-
"citationRate": number;
|
|
2623
|
-
"avgPosition": number | null;
|
|
2624
|
-
"avgCitedRank": number | null;
|
|
2625
|
-
"sentimentNet": number | null;
|
|
2626
|
-
"conclusiveRuns": number;
|
|
2627
|
-
"failedRuns": number;
|
|
2628
|
-
"scoredRuns": number;
|
|
2629
|
-
"goalsReached": number;
|
|
2630
|
-
"goalRate": number | null;
|
|
2631
|
-
"avgFriction": number | null;
|
|
2632
|
-
"positionRuns": number;
|
|
2633
|
-
"citedRankRuns": number;
|
|
2634
|
-
"windowDays": number;
|
|
2635
|
-
"id": string;
|
|
2636
|
-
"domainId": string | null;
|
|
2637
|
-
"slug": string;
|
|
2638
|
-
"title": string;
|
|
2639
|
-
"description": string | null;
|
|
2640
|
-
"layer": string;
|
|
2641
|
-
"isActive": boolean;
|
|
2642
|
-
"createdAt": string;
|
|
2643
|
-
"updatedAt": string;
|
|
2644
|
-
"promptCount": number;
|
|
2645
|
-
"measuringPrompts": number;
|
|
2646
|
-
"tags": Array<string>;
|
|
2647
|
-
"sparkline": Array<{
|
|
2648
|
-
"day": string;
|
|
2649
|
-
"health": number | null;
|
|
2650
|
-
}>;
|
|
2651
|
-
}> | Array<{
|
|
2652
3660
|
"id": string;
|
|
2653
3661
|
"title": string;
|
|
2654
3662
|
"slug": string;
|
|
@@ -2736,7 +3744,7 @@ export type IntentsBulkActionResponse = {
|
|
|
2736
3744
|
};
|
|
2737
3745
|
};
|
|
2738
3746
|
export type IntentsBulkCreateRequest = {
|
|
2739
|
-
"source"?: "csv" | "manual";
|
|
3747
|
+
"source"?: "csv" | "manual" | "generated";
|
|
2740
3748
|
"intents": Array<{
|
|
2741
3749
|
"title": string;
|
|
2742
3750
|
"layer"?: "discovery" | "access" | "use";
|
|
@@ -3344,8 +4352,7 @@ export type StudioRunsCreateRequest = {
|
|
|
3344
4352
|
"model"?: string;
|
|
3345
4353
|
"mode"?: "task" | "session";
|
|
3346
4354
|
"addons"?: Record<string, unknown>;
|
|
3347
|
-
"
|
|
3348
|
-
"execution_kind"?: "harness" | "direct";
|
|
4355
|
+
"execution_kind"?: "harness";
|
|
3349
4356
|
"tools"?: "default" | "none" | {
|
|
3350
4357
|
"tools": Array<string>;
|
|
3351
4358
|
};
|
|
@@ -3362,16 +4369,10 @@ export type StudioRunsCreateRequest = {
|
|
|
3362
4369
|
"reasoningEffort"?: "low" | "medium" | "high";
|
|
3363
4370
|
"thinkingBudgetTokens"?: number;
|
|
3364
4371
|
};
|
|
3365
|
-
"wait"?: boolean;
|
|
3366
4372
|
};
|
|
3367
4373
|
export type StudioRunsCreateResponse = {
|
|
3368
4374
|
"runId": string;
|
|
3369
|
-
"status": "
|
|
3370
|
-
"answer"?: string;
|
|
3371
|
-
"signals"?: unknown;
|
|
3372
|
-
} | {
|
|
3373
|
-
"runId": string;
|
|
3374
|
-
"status": "error" | "pending" | "queued";
|
|
4375
|
+
"status": "pending" | "queued";
|
|
3375
4376
|
"streamUrl": string;
|
|
3376
4377
|
"harness"?: string;
|
|
3377
4378
|
"model"?: string;
|
|
@@ -3392,31 +4393,6 @@ export type StudioRunsCancelResponse = {
|
|
|
3392
4393
|
"status": string;
|
|
3393
4394
|
"alreadyTerminal": boolean;
|
|
3394
4395
|
};
|
|
3395
|
-
export type StudioRunsDirectSignalsResponse = {
|
|
3396
|
-
"brands": Array<{
|
|
3397
|
-
"name": string;
|
|
3398
|
-
"domain"?: string;
|
|
3399
|
-
"status": "recommended" | "mentioned";
|
|
3400
|
-
"position"?: number;
|
|
3401
|
-
"sentiment"?: "positive" | "neutral" | "negative";
|
|
3402
|
-
"reason"?: string;
|
|
3403
|
-
"caveat"?: string;
|
|
3404
|
-
"backed_by"?: Array<string>;
|
|
3405
|
-
}>;
|
|
3406
|
-
"cited_domains": Array<{
|
|
3407
|
-
"host": string;
|
|
3408
|
-
"url"?: string;
|
|
3409
|
-
"rank"?: number;
|
|
3410
|
-
}>;
|
|
3411
|
-
"made_recommendations": boolean;
|
|
3412
|
-
"usage"?: {
|
|
3413
|
-
"input_tokens": number;
|
|
3414
|
-
"output_tokens": number;
|
|
3415
|
-
};
|
|
3416
|
-
"cost_usd"?: number;
|
|
3417
|
-
"execution_mode"?: "live" | "closed";
|
|
3418
|
-
"inconclusive": boolean;
|
|
3419
|
-
};
|
|
3420
4396
|
export type StudioRunsInsightResponse = unknown;
|
|
3421
4397
|
export type StudioRunsRawTraceResponse = unknown;
|
|
3422
4398
|
export type StudioRunsSpansResponse = unknown;
|
|
@@ -4575,8 +5551,7 @@ export type StudyRunsCreateRequest = {
|
|
|
4575
5551
|
"model"?: string;
|
|
4576
5552
|
"mode"?: "task" | "session";
|
|
4577
5553
|
"addons"?: Record<string, unknown>;
|
|
4578
|
-
"
|
|
4579
|
-
"execution_kind"?: "harness" | "direct";
|
|
5554
|
+
"execution_kind"?: "harness";
|
|
4580
5555
|
"tools"?: "default" | "none" | {
|
|
4581
5556
|
"tools": Array<string>;
|
|
4582
5557
|
};
|
|
@@ -4593,16 +5568,10 @@ export type StudyRunsCreateRequest = {
|
|
|
4593
5568
|
"reasoningEffort"?: "low" | "medium" | "high";
|
|
4594
5569
|
"thinkingBudgetTokens"?: number;
|
|
4595
5570
|
};
|
|
4596
|
-
"wait"?: boolean;
|
|
4597
5571
|
};
|
|
4598
5572
|
export type StudyRunsCreateResponse = {
|
|
4599
5573
|
"runId": string;
|
|
4600
|
-
"status": "
|
|
4601
|
-
"answer"?: string;
|
|
4602
|
-
"signals"?: unknown;
|
|
4603
|
-
} | {
|
|
4604
|
-
"runId": string;
|
|
4605
|
-
"status": "error" | "pending" | "queued";
|
|
5574
|
+
"status": "pending" | "queued";
|
|
4606
5575
|
"streamUrl": string;
|
|
4607
5576
|
"harness"?: string;
|
|
4608
5577
|
"model"?: string;
|
|
@@ -4623,31 +5592,6 @@ export type StudyRunsCancelResponse = {
|
|
|
4623
5592
|
"status": string;
|
|
4624
5593
|
"alreadyTerminal": boolean;
|
|
4625
5594
|
};
|
|
4626
|
-
export type StudyRunsDirectSignalsResponse = {
|
|
4627
|
-
"brands": Array<{
|
|
4628
|
-
"name": string;
|
|
4629
|
-
"domain"?: string;
|
|
4630
|
-
"status": "recommended" | "mentioned";
|
|
4631
|
-
"position"?: number;
|
|
4632
|
-
"sentiment"?: "positive" | "neutral" | "negative";
|
|
4633
|
-
"reason"?: string;
|
|
4634
|
-
"caveat"?: string;
|
|
4635
|
-
"backed_by"?: Array<string>;
|
|
4636
|
-
}>;
|
|
4637
|
-
"cited_domains": Array<{
|
|
4638
|
-
"host": string;
|
|
4639
|
-
"url"?: string;
|
|
4640
|
-
"rank"?: number;
|
|
4641
|
-
}>;
|
|
4642
|
-
"made_recommendations": boolean;
|
|
4643
|
-
"usage"?: {
|
|
4644
|
-
"input_tokens": number;
|
|
4645
|
-
"output_tokens": number;
|
|
4646
|
-
};
|
|
4647
|
-
"cost_usd"?: number;
|
|
4648
|
-
"execution_mode"?: "live" | "closed";
|
|
4649
|
-
"inconclusive": boolean;
|
|
4650
|
-
};
|
|
4651
5595
|
export type StudyRunsInsightResponse = unknown;
|
|
4652
5596
|
export type StudyRunsRawTraceResponse = unknown;
|
|
4653
5597
|
export type StudyRunsSpansResponse = unknown;
|
|
@@ -4733,6 +5677,10 @@ export type StudyListResponse = {
|
|
|
4733
5677
|
"studies": Array<{
|
|
4734
5678
|
"id": string;
|
|
4735
5679
|
"executiveSummary"?: string | null;
|
|
5680
|
+
"executiveSummaryDraft"?: string | null;
|
|
5681
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
5682
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
5683
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
4736
5684
|
"plannedRunCount": number;
|
|
4737
5685
|
"organizationId": string;
|
|
4738
5686
|
"createdBy": string | null;
|
|
@@ -5032,6 +5980,10 @@ export type StudyCreateResponse = {
|
|
|
5032
5980
|
"study": {
|
|
5033
5981
|
"id": string;
|
|
5034
5982
|
"executiveSummary"?: string | null;
|
|
5983
|
+
"executiveSummaryDraft"?: string | null;
|
|
5984
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
5985
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
5986
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
5035
5987
|
"plannedRunCount": number;
|
|
5036
5988
|
"organizationId": string;
|
|
5037
5989
|
"createdBy": string | null;
|
|
@@ -5432,6 +6384,10 @@ export type StudyGetResponse = {
|
|
|
5432
6384
|
"study": {
|
|
5433
6385
|
"id": string;
|
|
5434
6386
|
"executiveSummary"?: string | null;
|
|
6387
|
+
"executiveSummaryDraft"?: string | null;
|
|
6388
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
6389
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
6390
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
5435
6391
|
"plannedRunCount": number;
|
|
5436
6392
|
"organizationId": string;
|
|
5437
6393
|
"createdBy": string | null;
|
|
@@ -6867,6 +7823,7 @@ export type StudyGetResponse = {
|
|
|
6867
7823
|
};
|
|
6868
7824
|
"shareUrl"?: string | null;
|
|
6869
7825
|
"canManageSharing"?: boolean;
|
|
7826
|
+
"shareLinkKept"?: boolean;
|
|
6870
7827
|
};
|
|
6871
7828
|
export type StudyUpdateDetailsRequest = {
|
|
6872
7829
|
"name"?: string;
|
|
@@ -6876,6 +7833,10 @@ export type StudyUpdateDetailsResponse = {
|
|
|
6876
7833
|
"study": {
|
|
6877
7834
|
"id": string;
|
|
6878
7835
|
"executiveSummary"?: string | null;
|
|
7836
|
+
"executiveSummaryDraft"?: string | null;
|
|
7837
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
7838
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
7839
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
6879
7840
|
"plannedRunCount": number;
|
|
6880
7841
|
"organizationId": string;
|
|
6881
7842
|
"createdBy": string | null;
|
|
@@ -7114,6 +8075,7 @@ export type StudyAddAgentsResponse = {
|
|
|
7114
8075
|
};
|
|
7115
8076
|
export type StudyRegenerateSummaryResponse = {
|
|
7116
8077
|
"status": "queued";
|
|
8078
|
+
"target": "live" | "draft";
|
|
7117
8079
|
};
|
|
7118
8080
|
export type StudyGenerateRequest = {
|
|
7119
8081
|
"proposeExpectations"?: boolean;
|
|
@@ -7122,6 +8084,10 @@ export type StudyGenerateResponse = {
|
|
|
7122
8084
|
"study": {
|
|
7123
8085
|
"id": string;
|
|
7124
8086
|
"executiveSummary"?: string | null;
|
|
8087
|
+
"executiveSummaryDraft"?: string | null;
|
|
8088
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
8089
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
8090
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
7125
8091
|
"plannedRunCount": number;
|
|
7126
8092
|
"organizationId": string;
|
|
7127
8093
|
"createdBy": string | null;
|
|
@@ -7279,6 +8245,10 @@ export type StudyLaunchResponse = {
|
|
|
7279
8245
|
"study": {
|
|
7280
8246
|
"id": string;
|
|
7281
8247
|
"executiveSummary"?: string | null;
|
|
8248
|
+
"executiveSummaryDraft"?: string | null;
|
|
8249
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
8250
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
8251
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
7282
8252
|
"plannedRunCount": number;
|
|
7283
8253
|
"organizationId": string;
|
|
7284
8254
|
"createdBy": string | null;
|
|
@@ -7439,6 +8409,10 @@ export type StudyUpdateLensesResponse = {
|
|
|
7439
8409
|
"study": {
|
|
7440
8410
|
"id": string;
|
|
7441
8411
|
"executiveSummary"?: string | null;
|
|
8412
|
+
"executiveSummaryDraft"?: string | null;
|
|
8413
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
8414
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
8415
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
7442
8416
|
"plannedRunCount": number;
|
|
7443
8417
|
"organizationId": string;
|
|
7444
8418
|
"createdBy": string | null;
|
|
@@ -8876,12 +9850,17 @@ export type StudyPreviewResponse = {
|
|
|
8876
9850
|
export type StudyPublishRequest = {
|
|
8877
9851
|
"slug"?: string;
|
|
8878
9852
|
"visibility"?: "private" | "org" | "link" | "public";
|
|
9853
|
+
"expectPublished"?: boolean;
|
|
8879
9854
|
"skillNames"?: "withheld" | "named";
|
|
8880
9855
|
};
|
|
8881
9856
|
export type StudyPublishResponse = {
|
|
8882
9857
|
"study": {
|
|
8883
9858
|
"id": string;
|
|
8884
9859
|
"executiveSummary"?: string | null;
|
|
9860
|
+
"executiveSummaryDraft"?: string | null;
|
|
9861
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
9862
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
9863
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
8885
9864
|
"plannedRunCount": number;
|
|
8886
9865
|
"organizationId": string;
|
|
8887
9866
|
"createdBy": string | null;
|
|
@@ -9040,6 +10019,10 @@ export type StudyRegradeResponse = {
|
|
|
9040
10019
|
"study": {
|
|
9041
10020
|
"id": string;
|
|
9042
10021
|
"executiveSummary"?: string | null;
|
|
10022
|
+
"executiveSummaryDraft"?: string | null;
|
|
10023
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
10024
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
10025
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9043
10026
|
"plannedRunCount": number;
|
|
9044
10027
|
"organizationId": string;
|
|
9045
10028
|
"createdBy": string | null;
|
|
@@ -9280,6 +10263,10 @@ export type StudyRotateShareTokenResponse = {
|
|
|
9280
10263
|
"study": {
|
|
9281
10264
|
"id": string;
|
|
9282
10265
|
"executiveSummary"?: string | null;
|
|
10266
|
+
"executiveSummaryDraft"?: string | null;
|
|
10267
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
10268
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
10269
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9283
10270
|
"plannedRunCount": number;
|
|
9284
10271
|
"organizationId": string;
|
|
9285
10272
|
"createdBy": string | null;
|
|
@@ -9425,6 +10412,7 @@ export type StudyRotateShareTokenResponse = {
|
|
|
9425
10412
|
"modeOptions"?: Record<string, unknown>;
|
|
9426
10413
|
};
|
|
9427
10414
|
"shareUrl": string | null;
|
|
10415
|
+
"shareLinkKept": boolean;
|
|
9428
10416
|
};
|
|
9429
10417
|
export type StudyStreamResponse = unknown;
|
|
9430
10418
|
export type StudyUpdateTaskRequest = {
|
|
@@ -9517,6 +10505,10 @@ export type StudyUnpublishResponse = {
|
|
|
9517
10505
|
"study": {
|
|
9518
10506
|
"id": string;
|
|
9519
10507
|
"executiveSummary"?: string | null;
|
|
10508
|
+
"executiveSummaryDraft"?: string | null;
|
|
10509
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
10510
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
10511
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9520
10512
|
"plannedRunCount": number;
|
|
9521
10513
|
"organizationId": string;
|
|
9522
10514
|
"createdBy": string | null;
|
|
@@ -9669,6 +10661,10 @@ export type StudySetVisibilityResponse = {
|
|
|
9669
10661
|
"study": {
|
|
9670
10662
|
"id": string;
|
|
9671
10663
|
"executiveSummary"?: string | null;
|
|
10664
|
+
"executiveSummaryDraft"?: string | null;
|
|
10665
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
10666
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
10667
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9672
10668
|
"plannedRunCount": number;
|
|
9673
10669
|
"organizationId": string;
|
|
9674
10670
|
"createdBy": string | null;
|
|
@@ -9814,6 +10810,7 @@ export type StudySetVisibilityResponse = {
|
|
|
9814
10810
|
"modeOptions"?: Record<string, unknown>;
|
|
9815
10811
|
};
|
|
9816
10812
|
"shareUrl": string | null;
|
|
10813
|
+
"shareLinkKept": boolean;
|
|
9817
10814
|
};
|
|
9818
10815
|
export type TunnelsListResponse = {
|
|
9819
10816
|
"tunnels": Array<{
|