@ora-ai/cli 0.11.0 → 0.13.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 +107 -2
- package/dist/agent-skills/cli-version.d.ts +2 -0
- package/dist/agent-skills/cli-version.d.ts.map +1 -0
- package/dist/agent-skills/cli-version.js +14 -0
- package/dist/agent-skills/cli-version.js.map +1 -0
- package/dist/agent-skills/install-targets.d.ts +14 -0
- package/dist/agent-skills/install-targets.d.ts.map +1 -0
- package/dist/agent-skills/install-targets.js +20 -0
- package/dist/agent-skills/install-targets.js.map +1 -0
- package/dist/agent-skills/installer.d.ts +9 -0
- package/dist/agent-skills/installer.d.ts.map +1 -0
- package/dist/agent-skills/installer.js +15 -0
- package/dist/agent-skills/installer.js.map +1 -0
- package/dist/agent-skills/skills-command.d.ts +5 -0
- package/dist/agent-skills/skills-command.d.ts.map +1 -0
- package/dist/agent-skills/skills-command.js +39 -0
- package/dist/agent-skills/skills-command.js.map +1 -0
- package/dist/agent-skills/studio-skill-source.d.ts +22 -0
- package/dist/agent-skills/studio-skill-source.d.ts.map +1 -0
- package/dist/agent-skills/studio-skill-source.js +15 -0
- package/dist/agent-skills/studio-skill-source.js.map +1 -0
- package/dist/auth-commands.d.ts.map +1 -1
- package/dist/auth-commands.js +3 -2
- package/dist/auth-commands.js.map +1 -1
- package/dist/coalesced-read.d.ts +12 -0
- package/dist/coalesced-read.d.ts.map +1 -0
- package/dist/coalesced-read.js +34 -0
- package/dist/coalesced-read.js.map +1 -0
- package/dist/core/error-envelope.d.ts +40 -0
- package/dist/core/error-envelope.d.ts.map +1 -0
- package/dist/core/error-envelope.js +69 -0
- package/dist/core/error-envelope.js.map +1 -0
- package/dist/core/http.d.ts +9 -2
- package/dist/core/http.d.ts.map +1 -1
- package/dist/core/http.js +19 -10
- package/dist/core/http.js.map +1 -1
- package/dist/core/output.d.ts +1 -0
- package/dist/core/output.d.ts.map +1 -1
- package/dist/core/output.js +36 -6
- package/dist/core/output.js.map +1 -1
- package/dist/core/run-operation.d.ts +4 -3
- package/dist/core/run-operation.d.ts.map +1 -1
- package/dist/core/run-operation.js +13 -10
- package/dist/core/run-operation.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 +2540 -272
- package/dist/generated/operations.js.map +1 -1
- package/dist/generated/types.d.ts +1911 -170
- 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/measurement-watch.d.ts +3 -0
- package/dist/measurement-watch.d.ts.map +1 -0
- package/dist/measurement-watch.js +106 -0
- package/dist/measurement-watch.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +6 -1
- package/dist/program.js.map +1 -1
- package/dist/render/analytics/analytics-view.d.ts +3 -0
- package/dist/render/analytics/analytics-view.d.ts.map +1 -0
- package/dist/render/analytics/analytics-view.js +69 -0
- package/dist/render/analytics/analytics-view.js.map +1 -0
- package/dist/render/analytics/history-view.d.ts +3 -0
- package/dist/render/analytics/history-view.d.ts.map +1 -0
- package/dist/render/analytics/history-view.js +25 -0
- package/dist/render/analytics/history-view.js.map +1 -0
- package/dist/render/analytics/recent-view.d.ts +3 -0
- package/dist/render/analytics/recent-view.d.ts.map +1 -0
- package/dist/render/analytics/recent-view.js +22 -0
- package/dist/render/analytics/recent-view.js.map +1 -0
- package/dist/render/analytics/renderers.d.ts +4 -0
- package/dist/render/analytics/renderers.d.ts.map +1 -0
- package/dist/render/analytics/renderers.js +23 -0
- package/dist/render/analytics/renderers.js.map +1 -0
- package/dist/render/analytics/types.d.ts +73 -0
- package/dist/render/analytics/types.d.ts.map +1 -0
- package/dist/render/analytics/types.js +2 -0
- package/dist/render/analytics/types.js.map +1 -0
- package/dist/render/ansi.d.ts +1 -0
- package/dist/render/ansi.d.ts.map +1 -1
- package/dist/render/ansi.js +38 -0
- package/dist/render/ansi.js.map +1 -1
- package/dist/render/goal-report-criteria.d.ts +39 -0
- package/dist/render/goal-report-criteria.d.ts.map +1 -0
- package/dist/render/goal-report-criteria.js +74 -0
- package/dist/render/goal-report-criteria.js.map +1 -0
- package/dist/render/goal-report-grid.d.ts +24 -0
- package/dist/render/goal-report-grid.d.ts.map +1 -0
- package/dist/render/goal-report-grid.js +52 -0
- package/dist/render/goal-report-grid.js.map +1 -0
- package/dist/render/goal-report.d.ts +3 -0
- package/dist/render/goal-report.d.ts.map +1 -0
- package/dist/render/goal-report.js +69 -0
- package/dist/render/goal-report.js.map +1 -0
- package/dist/render/index.d.ts +3 -1
- package/dist/render/index.d.ts.map +1 -1
- package/dist/render/index.js +15 -1
- package/dist/render/index.js.map +1 -1
- package/dist/render/insight-lines.d.ts.map +1 -1
- package/dist/render/insight-lines.js +7 -8
- package/dist/render/insight-lines.js.map +1 -1
- package/dist/render/insight.d.ts +1 -1
- package/dist/render/insight.d.ts.map +1 -1
- package/dist/render/insight.js +4 -2
- package/dist/render/insight.js.map +1 -1
- package/dist/render/insights/answers-view.d.ts +6 -0
- package/dist/render/insights/answers-view.d.ts.map +1 -0
- package/dist/render/insights/answers-view.js +29 -0
- package/dist/render/insights/answers-view.js.map +1 -0
- package/dist/render/insights/change-view.d.ts +3 -0
- package/dist/render/insights/change-view.d.ts.map +1 -0
- package/dist/render/insights/change-view.js +52 -0
- package/dist/render/insights/change-view.js.map +1 -0
- package/dist/render/insights/issues-view.d.ts +3 -0
- package/dist/render/insights/issues-view.d.ts.map +1 -0
- package/dist/render/insights/issues-view.js +31 -0
- package/dist/render/insights/issues-view.js.map +1 -0
- package/dist/render/insights/renderer.d.ts +3 -0
- package/dist/render/insights/renderer.d.ts.map +1 -0
- package/dist/render/insights/renderer.js +40 -0
- package/dist/render/insights/renderer.js.map +1 -0
- package/dist/render/insights/text.d.ts +3 -0
- package/dist/render/insights/text.d.ts.map +1 -0
- package/dist/render/insights/text.js +6 -0
- package/dist/render/insights/text.js.map +1 -0
- package/dist/render/insights/tools-view.d.ts +4 -0
- package/dist/render/insights/tools-view.d.ts.map +1 -0
- package/dist/render/insights/tools-view.js +51 -0
- package/dist/render/insights/tools-view.js.map +1 -0
- package/dist/render/insights/types.d.ts +124 -0
- package/dist/render/insights/types.d.ts.map +1 -0
- package/dist/render/insights/types.js +2 -0
- package/dist/render/insights/types.js.map +1 -0
- package/dist/render/insights/usage-view.d.ts +3 -0
- package/dist/render/insights/usage-view.d.ts.map +1 -0
- package/dist/render/insights/usage-view.js +18 -0
- package/dist/render/insights/usage-view.js.map +1 -0
- package/dist/render/insights/words.d.ts +4 -0
- package/dist/render/insights/words.d.ts.map +1 -0
- package/dist/render/insights/words.js +24 -0
- package/dist/render/insights/words.js.map +1 -0
- package/dist/render/links.d.ts +3 -0
- package/dist/render/links.d.ts.map +1 -0
- package/dist/render/links.js +5 -0
- package/dist/render/links.js.map +1 -0
- package/dist/render/live-panel.d.ts +2 -0
- package/dist/render/live-panel.d.ts.map +1 -1
- package/dist/render/live-panel.js +8 -8
- package/dist/render/live-panel.js.map +1 -1
- package/dist/render/measurement/measure-launch-view.d.ts +20 -0
- package/dist/render/measurement/measure-launch-view.d.ts.map +1 -0
- package/dist/render/measurement/measure-launch-view.js +31 -0
- package/dist/render/measurement/measure-launch-view.js.map +1 -0
- package/dist/render/measurement/measure-status-view.d.ts +35 -0
- package/dist/render/measurement/measure-status-view.d.ts.map +1 -0
- package/dist/render/measurement/measure-status-view.js +105 -0
- package/dist/render/measurement/measure-status-view.js.map +1 -0
- package/dist/render/measurement/renderers.d.ts +4 -0
- package/dist/render/measurement/renderers.d.ts.map +1 -0
- package/dist/render/measurement/renderers.js +14 -0
- package/dist/render/measurement/renderers.js.map +1 -0
- package/dist/render/meter.d.ts +2 -0
- package/dist/render/meter.d.ts.map +1 -0
- package/dist/render/meter.js +6 -0
- package/dist/render/meter.js.map +1 -0
- package/dist/render/palette.d.ts +23 -0
- package/dist/render/palette.d.ts.map +1 -0
- package/dist/render/palette.js +24 -0
- package/dist/render/palette.js.map +1 -0
- package/dist/render/payload.d.ts +3 -0
- package/dist/render/payload.d.ts.map +1 -0
- package/dist/render/payload.js +8 -0
- package/dist/render/payload.js.map +1 -0
- 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 +13 -6
- package/dist/watch.js.map +1 -1
- package/dist/watchers.d.ts +15 -0
- package/dist/watchers.d.ts.map +1 -0
- package/dist/watchers.js +8 -0
- package/dist/watchers.js.map +1 -0
- package/package.json +2 -2
|
@@ -12,15 +12,1212 @@ export type AddonsListResponse = {
|
|
|
12
12
|
"displayName": string;
|
|
13
13
|
"description": string;
|
|
14
14
|
"configSchema": Record<string, unknown>;
|
|
15
|
-
"surfaces": Array<"run" | "session">;
|
|
15
|
+
"surfaces": Array<"run" | "session" | "managed">;
|
|
16
16
|
"harnesses": Array<string>;
|
|
17
17
|
"multiInstance"?: boolean;
|
|
18
|
+
"externalContent"?: boolean;
|
|
18
19
|
}>;
|
|
19
20
|
};
|
|
21
|
+
export type AutopilotPresetsListResponse = {
|
|
22
|
+
"items": Array<{
|
|
23
|
+
"id": string;
|
|
24
|
+
"name": string;
|
|
25
|
+
"version": number;
|
|
26
|
+
"ref": string;
|
|
27
|
+
"system": boolean;
|
|
28
|
+
"body": {
|
|
29
|
+
"axes": Record<string, unknown>;
|
|
30
|
+
"positions"?: Array<{
|
|
31
|
+
"name": string;
|
|
32
|
+
"grants": Array<string>;
|
|
33
|
+
"brief": string;
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
36
|
+
"createdAt": string;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
39
|
+
export type AutopilotPresetsCreateRequest = {
|
|
40
|
+
"name": string;
|
|
41
|
+
"body": {
|
|
42
|
+
"axes": Record<string, unknown>;
|
|
43
|
+
"positions"?: Array<{
|
|
44
|
+
"name": string;
|
|
45
|
+
"grants"?: Array<string>;
|
|
46
|
+
"brief"?: string;
|
|
47
|
+
}>;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export type AutopilotPresetsCreateResponse = {
|
|
51
|
+
"preset": {
|
|
52
|
+
"id": string;
|
|
53
|
+
"name": string;
|
|
54
|
+
"version": number;
|
|
55
|
+
"ref": string;
|
|
56
|
+
"system": boolean;
|
|
57
|
+
"body": {
|
|
58
|
+
"axes": Record<string, unknown>;
|
|
59
|
+
"positions"?: Array<{
|
|
60
|
+
"name": string;
|
|
61
|
+
"grants": Array<string>;
|
|
62
|
+
"brief": string;
|
|
63
|
+
}>;
|
|
64
|
+
};
|
|
65
|
+
"createdAt": string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export type AutopilotPresetsGetResponse = {
|
|
69
|
+
"id": string;
|
|
70
|
+
"name": string;
|
|
71
|
+
"version": number;
|
|
72
|
+
"ref": string;
|
|
73
|
+
"system": boolean;
|
|
74
|
+
"body": {
|
|
75
|
+
"axes": Record<string, unknown>;
|
|
76
|
+
"positions"?: Array<{
|
|
77
|
+
"name": string;
|
|
78
|
+
"grants": Array<string>;
|
|
79
|
+
"brief": string;
|
|
80
|
+
}>;
|
|
81
|
+
};
|
|
82
|
+
"createdAt": string;
|
|
83
|
+
};
|
|
84
|
+
export type AutopilotSecretsHoldersResponse = {
|
|
85
|
+
"items": Array<{
|
|
86
|
+
"secretId": string;
|
|
87
|
+
"teams": Array<{
|
|
88
|
+
"id": string;
|
|
89
|
+
"slug": string;
|
|
90
|
+
"name": string;
|
|
91
|
+
}>;
|
|
92
|
+
}>;
|
|
93
|
+
};
|
|
94
|
+
export type AutopilotStrategiesListResponse = {
|
|
95
|
+
"axes": Array<{
|
|
96
|
+
"key": string;
|
|
97
|
+
"required": boolean;
|
|
98
|
+
"defaultStrategy": string | null;
|
|
99
|
+
"display": {
|
|
100
|
+
"label": string;
|
|
101
|
+
"summary": string;
|
|
102
|
+
};
|
|
103
|
+
"strategies": Array<{
|
|
104
|
+
"key": string;
|
|
105
|
+
"version": number;
|
|
106
|
+
"ref": string;
|
|
107
|
+
"schema": Record<string, unknown>;
|
|
108
|
+
"display": {
|
|
109
|
+
"label": string;
|
|
110
|
+
"summary": string;
|
|
111
|
+
};
|
|
112
|
+
"requires": Array<string>;
|
|
113
|
+
"provides": {
|
|
114
|
+
"capabilities": Array<string>;
|
|
115
|
+
"tools": Array<string>;
|
|
116
|
+
"commandKinds": Array<string>;
|
|
117
|
+
"eventKinds": Array<string>;
|
|
118
|
+
"alwaysResolves": boolean;
|
|
119
|
+
};
|
|
120
|
+
"deprecated": boolean;
|
|
121
|
+
}>;
|
|
122
|
+
}>;
|
|
123
|
+
};
|
|
124
|
+
export type AutopilotTeamsListResponse = {
|
|
125
|
+
"items": Array<{
|
|
126
|
+
"id": string;
|
|
127
|
+
"name": string;
|
|
128
|
+
"slug": string;
|
|
129
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
130
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
131
|
+
"activeMissions": number;
|
|
132
|
+
"queuedMissions": number;
|
|
133
|
+
"budget": {
|
|
134
|
+
"reservedUsd": number;
|
|
135
|
+
"settledUsd": number;
|
|
136
|
+
"inputTokens": number;
|
|
137
|
+
"outputTokens": number;
|
|
138
|
+
"warnedAt": string | null;
|
|
139
|
+
"trippedAt": string | null;
|
|
140
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
141
|
+
};
|
|
142
|
+
"eventSeq": number;
|
|
143
|
+
"createdAt": string;
|
|
144
|
+
"updatedAt": string;
|
|
145
|
+
"roster": Array<{
|
|
146
|
+
"handle": string;
|
|
147
|
+
"harness": string;
|
|
148
|
+
}>;
|
|
149
|
+
"activeMissionRefs": Array<{
|
|
150
|
+
"id": string;
|
|
151
|
+
"title": string;
|
|
152
|
+
"startedAt": string | null;
|
|
153
|
+
}>;
|
|
154
|
+
"sessionSlots": number;
|
|
155
|
+
}>;
|
|
156
|
+
"nextCursor": string | null;
|
|
157
|
+
};
|
|
158
|
+
export type AutopilotTeamsCreateRequest = {
|
|
159
|
+
"name": string;
|
|
160
|
+
"slug"?: string;
|
|
161
|
+
"researchUse"?: "internal_only" | "publishable_after_review" | "excluded";
|
|
162
|
+
"members": Array<{
|
|
163
|
+
"handle": string;
|
|
164
|
+
"harness": string;
|
|
165
|
+
"model"?: string | null;
|
|
166
|
+
"tier"?: "core";
|
|
167
|
+
"position"?: string;
|
|
168
|
+
"kit"?: {
|
|
169
|
+
"addons"?: Record<string, unknown>;
|
|
170
|
+
};
|
|
171
|
+
}>;
|
|
172
|
+
"squads"?: Array<{
|
|
173
|
+
"name": string;
|
|
174
|
+
"members": Array<string>;
|
|
175
|
+
}>;
|
|
176
|
+
"positions"?: Array<{
|
|
177
|
+
"name": string;
|
|
178
|
+
"grants"?: Array<string>;
|
|
179
|
+
"brief"?: string;
|
|
180
|
+
}>;
|
|
181
|
+
"preset"?: string;
|
|
182
|
+
"axes"?: Record<string, unknown>;
|
|
183
|
+
"budgets"?: {
|
|
184
|
+
"onTrip"?: "pause" | "stop";
|
|
185
|
+
"team"?: {
|
|
186
|
+
"usd"?: number;
|
|
187
|
+
"tokens"?: number;
|
|
188
|
+
};
|
|
189
|
+
"mission"?: {
|
|
190
|
+
"usd"?: number;
|
|
191
|
+
"tokens"?: number;
|
|
192
|
+
"turns"?: number;
|
|
193
|
+
"wallClockMin"?: number;
|
|
194
|
+
};
|
|
195
|
+
"member"?: {
|
|
196
|
+
"turnWallClockSec"?: number;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
"resources"?: {
|
|
200
|
+
"repos"?: Array<{
|
|
201
|
+
"url": string;
|
|
202
|
+
"ref": string;
|
|
203
|
+
"credential"?: {
|
|
204
|
+
"secretRef": string;
|
|
205
|
+
};
|
|
206
|
+
}>;
|
|
207
|
+
};
|
|
208
|
+
"kit"?: {
|
|
209
|
+
"addons"?: Record<string, unknown>;
|
|
210
|
+
};
|
|
211
|
+
"clientKey"?: string;
|
|
212
|
+
};
|
|
213
|
+
export type AutopilotTeamsCreateResponse = {
|
|
214
|
+
"team": {
|
|
215
|
+
"id": string;
|
|
216
|
+
"name": string;
|
|
217
|
+
"slug": string;
|
|
218
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
219
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
220
|
+
"activeMissions": number;
|
|
221
|
+
"queuedMissions": number;
|
|
222
|
+
"budget": {
|
|
223
|
+
"reservedUsd": number;
|
|
224
|
+
"settledUsd": number;
|
|
225
|
+
"inputTokens": number;
|
|
226
|
+
"outputTokens": number;
|
|
227
|
+
"warnedAt": string | null;
|
|
228
|
+
"trippedAt": string | null;
|
|
229
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
230
|
+
};
|
|
231
|
+
"eventSeq": number;
|
|
232
|
+
"createdAt": string;
|
|
233
|
+
"updatedAt": string;
|
|
234
|
+
"roster": Array<{
|
|
235
|
+
"handle": string;
|
|
236
|
+
"harness": string;
|
|
237
|
+
}>;
|
|
238
|
+
"activeMissionRefs": Array<{
|
|
239
|
+
"id": string;
|
|
240
|
+
"title": string;
|
|
241
|
+
"startedAt": string | null;
|
|
242
|
+
}>;
|
|
243
|
+
"sessionSlots": number;
|
|
244
|
+
"ownerUserId": string;
|
|
245
|
+
"config": {
|
|
246
|
+
"preset": string | null;
|
|
247
|
+
"axes": Record<string, unknown>;
|
|
248
|
+
"positions": Array<{
|
|
249
|
+
"name": string;
|
|
250
|
+
"grants": Array<string>;
|
|
251
|
+
"brief": string;
|
|
252
|
+
}>;
|
|
253
|
+
};
|
|
254
|
+
"budgets": {
|
|
255
|
+
"onTrip": "pause" | "stop";
|
|
256
|
+
"team": {
|
|
257
|
+
"usd"?: number;
|
|
258
|
+
"tokens"?: number;
|
|
259
|
+
};
|
|
260
|
+
"mission": {
|
|
261
|
+
"usd"?: number;
|
|
262
|
+
"tokens"?: number;
|
|
263
|
+
"turns"?: number;
|
|
264
|
+
"wallClockMin"?: number;
|
|
265
|
+
};
|
|
266
|
+
"member": {
|
|
267
|
+
"turnWallClockSec"?: number;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
"resources": {
|
|
271
|
+
"repos": Array<{
|
|
272
|
+
"url": string;
|
|
273
|
+
"ref": string;
|
|
274
|
+
"credential"?: {
|
|
275
|
+
"secretRef": string;
|
|
276
|
+
};
|
|
277
|
+
}>;
|
|
278
|
+
};
|
|
279
|
+
"kit": {
|
|
280
|
+
"addons": Record<string, unknown>;
|
|
281
|
+
};
|
|
282
|
+
"members": Array<{
|
|
283
|
+
"id": string;
|
|
284
|
+
"handle": string;
|
|
285
|
+
"harness": string;
|
|
286
|
+
"model": string | null;
|
|
287
|
+
"tier": "core" | "worker";
|
|
288
|
+
"position": string | null;
|
|
289
|
+
"status": "active" | "removed";
|
|
290
|
+
"livenessState": "ok" | "degraded";
|
|
291
|
+
"degradedReason": string | null;
|
|
292
|
+
"doorState": string;
|
|
293
|
+
"residency": string;
|
|
294
|
+
"executionEpoch": number;
|
|
295
|
+
"contextEpoch": number;
|
|
296
|
+
"dedicatedSessionId": string | null;
|
|
297
|
+
"kit": {
|
|
298
|
+
"addons": Record<string, unknown>;
|
|
299
|
+
"chips": Array<{
|
|
300
|
+
"key": string;
|
|
301
|
+
"addonId": string;
|
|
302
|
+
"kind": "capability" | "tool" | "skill";
|
|
303
|
+
"label": string;
|
|
304
|
+
"count"?: number;
|
|
305
|
+
"envNames"?: Array<string>;
|
|
306
|
+
}>;
|
|
307
|
+
"revision": string | null;
|
|
308
|
+
"desiredRevision": string;
|
|
309
|
+
"pending": boolean;
|
|
310
|
+
"modelPending": boolean;
|
|
311
|
+
"state": "ok" | "refused" | "boot_failed";
|
|
312
|
+
"appliedAt": string | null;
|
|
313
|
+
};
|
|
314
|
+
}>;
|
|
315
|
+
"squads": Array<{
|
|
316
|
+
"id": string;
|
|
317
|
+
"name": string;
|
|
318
|
+
"members": Array<string>;
|
|
319
|
+
}>;
|
|
320
|
+
"missions": Array<{
|
|
321
|
+
"id": string;
|
|
322
|
+
"title": string;
|
|
323
|
+
"status": string;
|
|
324
|
+
}>;
|
|
325
|
+
};
|
|
326
|
+
"eventSeq": number;
|
|
327
|
+
};
|
|
328
|
+
export type AutopilotTeamsFeedResponse = unknown;
|
|
329
|
+
export type AutopilotTeamsGetResponse = {
|
|
330
|
+
"id": string;
|
|
331
|
+
"name": string;
|
|
332
|
+
"slug": string;
|
|
333
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
334
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
335
|
+
"activeMissions": number;
|
|
336
|
+
"queuedMissions": number;
|
|
337
|
+
"budget": {
|
|
338
|
+
"reservedUsd": number;
|
|
339
|
+
"settledUsd": number;
|
|
340
|
+
"inputTokens": number;
|
|
341
|
+
"outputTokens": number;
|
|
342
|
+
"warnedAt": string | null;
|
|
343
|
+
"trippedAt": string | null;
|
|
344
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
345
|
+
};
|
|
346
|
+
"eventSeq": number;
|
|
347
|
+
"createdAt": string;
|
|
348
|
+
"updatedAt": string;
|
|
349
|
+
"roster": Array<{
|
|
350
|
+
"handle": string;
|
|
351
|
+
"harness": string;
|
|
352
|
+
}>;
|
|
353
|
+
"activeMissionRefs": Array<{
|
|
354
|
+
"id": string;
|
|
355
|
+
"title": string;
|
|
356
|
+
"startedAt": string | null;
|
|
357
|
+
}>;
|
|
358
|
+
"sessionSlots": number;
|
|
359
|
+
"ownerUserId": string;
|
|
360
|
+
"config": {
|
|
361
|
+
"preset": string | null;
|
|
362
|
+
"axes": Record<string, unknown>;
|
|
363
|
+
"positions": Array<{
|
|
364
|
+
"name": string;
|
|
365
|
+
"grants": Array<string>;
|
|
366
|
+
"brief": string;
|
|
367
|
+
}>;
|
|
368
|
+
};
|
|
369
|
+
"budgets": {
|
|
370
|
+
"onTrip": "pause" | "stop";
|
|
371
|
+
"team": {
|
|
372
|
+
"usd"?: number;
|
|
373
|
+
"tokens"?: number;
|
|
374
|
+
};
|
|
375
|
+
"mission": {
|
|
376
|
+
"usd"?: number;
|
|
377
|
+
"tokens"?: number;
|
|
378
|
+
"turns"?: number;
|
|
379
|
+
"wallClockMin"?: number;
|
|
380
|
+
};
|
|
381
|
+
"member": {
|
|
382
|
+
"turnWallClockSec"?: number;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
"resources": {
|
|
386
|
+
"repos": Array<{
|
|
387
|
+
"url": string;
|
|
388
|
+
"ref": string;
|
|
389
|
+
"credential"?: {
|
|
390
|
+
"secretRef": string;
|
|
391
|
+
};
|
|
392
|
+
}>;
|
|
393
|
+
};
|
|
394
|
+
"kit": {
|
|
395
|
+
"addons": Record<string, unknown>;
|
|
396
|
+
};
|
|
397
|
+
"members": Array<{
|
|
398
|
+
"id": string;
|
|
399
|
+
"handle": string;
|
|
400
|
+
"harness": string;
|
|
401
|
+
"model": string | null;
|
|
402
|
+
"tier": "core" | "worker";
|
|
403
|
+
"position": string | null;
|
|
404
|
+
"status": "active" | "removed";
|
|
405
|
+
"livenessState": "ok" | "degraded";
|
|
406
|
+
"degradedReason": string | null;
|
|
407
|
+
"doorState": string;
|
|
408
|
+
"residency": string;
|
|
409
|
+
"executionEpoch": number;
|
|
410
|
+
"contextEpoch": number;
|
|
411
|
+
"dedicatedSessionId": string | null;
|
|
412
|
+
"kit": {
|
|
413
|
+
"addons": Record<string, unknown>;
|
|
414
|
+
"chips": Array<{
|
|
415
|
+
"key": string;
|
|
416
|
+
"addonId": string;
|
|
417
|
+
"kind": "capability" | "tool" | "skill";
|
|
418
|
+
"label": string;
|
|
419
|
+
"count"?: number;
|
|
420
|
+
"envNames"?: Array<string>;
|
|
421
|
+
}>;
|
|
422
|
+
"revision": string | null;
|
|
423
|
+
"desiredRevision": string;
|
|
424
|
+
"pending": boolean;
|
|
425
|
+
"modelPending": boolean;
|
|
426
|
+
"state": "ok" | "refused" | "boot_failed";
|
|
427
|
+
"appliedAt": string | null;
|
|
428
|
+
};
|
|
429
|
+
}>;
|
|
430
|
+
"squads": Array<{
|
|
431
|
+
"id": string;
|
|
432
|
+
"name": string;
|
|
433
|
+
"members": Array<string>;
|
|
434
|
+
}>;
|
|
435
|
+
"missions": Array<{
|
|
436
|
+
"id": string;
|
|
437
|
+
"title": string;
|
|
438
|
+
"status": string;
|
|
439
|
+
}>;
|
|
440
|
+
};
|
|
441
|
+
export type AutopilotTeamsApplyRequest = {
|
|
442
|
+
"name": string;
|
|
443
|
+
"slug"?: string;
|
|
444
|
+
"researchUse"?: "internal_only" | "publishable_after_review" | "excluded";
|
|
445
|
+
"members": Array<{
|
|
446
|
+
"handle": string;
|
|
447
|
+
"harness": string;
|
|
448
|
+
"model"?: string | null;
|
|
449
|
+
"tier"?: "core";
|
|
450
|
+
"position"?: string;
|
|
451
|
+
"kit"?: {
|
|
452
|
+
"addons"?: Record<string, unknown>;
|
|
453
|
+
};
|
|
454
|
+
}>;
|
|
455
|
+
"squads"?: Array<{
|
|
456
|
+
"name": string;
|
|
457
|
+
"members": Array<string>;
|
|
458
|
+
}>;
|
|
459
|
+
"positions"?: Array<{
|
|
460
|
+
"name": string;
|
|
461
|
+
"grants"?: Array<string>;
|
|
462
|
+
"brief"?: string;
|
|
463
|
+
}>;
|
|
464
|
+
"preset"?: string;
|
|
465
|
+
"axes"?: Record<string, unknown>;
|
|
466
|
+
"budgets"?: {
|
|
467
|
+
"onTrip"?: "pause" | "stop";
|
|
468
|
+
"team"?: {
|
|
469
|
+
"usd"?: number;
|
|
470
|
+
"tokens"?: number;
|
|
471
|
+
};
|
|
472
|
+
"mission"?: {
|
|
473
|
+
"usd"?: number;
|
|
474
|
+
"tokens"?: number;
|
|
475
|
+
"turns"?: number;
|
|
476
|
+
"wallClockMin"?: number;
|
|
477
|
+
};
|
|
478
|
+
"member"?: {
|
|
479
|
+
"turnWallClockSec"?: number;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
"resources"?: {
|
|
483
|
+
"repos"?: Array<{
|
|
484
|
+
"url": string;
|
|
485
|
+
"ref": string;
|
|
486
|
+
"credential"?: {
|
|
487
|
+
"secretRef": string;
|
|
488
|
+
};
|
|
489
|
+
}>;
|
|
490
|
+
};
|
|
491
|
+
"kit"?: {
|
|
492
|
+
"addons"?: Record<string, unknown>;
|
|
493
|
+
};
|
|
494
|
+
"clientKey"?: string;
|
|
495
|
+
};
|
|
496
|
+
export type AutopilotTeamsApplyResponse = {
|
|
497
|
+
"team": {
|
|
498
|
+
"id": string;
|
|
499
|
+
"name": string;
|
|
500
|
+
"slug": string;
|
|
501
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
502
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
503
|
+
"activeMissions": number;
|
|
504
|
+
"queuedMissions": number;
|
|
505
|
+
"budget": {
|
|
506
|
+
"reservedUsd": number;
|
|
507
|
+
"settledUsd": number;
|
|
508
|
+
"inputTokens": number;
|
|
509
|
+
"outputTokens": number;
|
|
510
|
+
"warnedAt": string | null;
|
|
511
|
+
"trippedAt": string | null;
|
|
512
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
513
|
+
};
|
|
514
|
+
"eventSeq": number;
|
|
515
|
+
"createdAt": string;
|
|
516
|
+
"updatedAt": string;
|
|
517
|
+
"roster": Array<{
|
|
518
|
+
"handle": string;
|
|
519
|
+
"harness": string;
|
|
520
|
+
}>;
|
|
521
|
+
"activeMissionRefs": Array<{
|
|
522
|
+
"id": string;
|
|
523
|
+
"title": string;
|
|
524
|
+
"startedAt": string | null;
|
|
525
|
+
}>;
|
|
526
|
+
"sessionSlots": number;
|
|
527
|
+
"ownerUserId": string;
|
|
528
|
+
"config": {
|
|
529
|
+
"preset": string | null;
|
|
530
|
+
"axes": Record<string, unknown>;
|
|
531
|
+
"positions": Array<{
|
|
532
|
+
"name": string;
|
|
533
|
+
"grants": Array<string>;
|
|
534
|
+
"brief": string;
|
|
535
|
+
}>;
|
|
536
|
+
};
|
|
537
|
+
"budgets": {
|
|
538
|
+
"onTrip": "pause" | "stop";
|
|
539
|
+
"team": {
|
|
540
|
+
"usd"?: number;
|
|
541
|
+
"tokens"?: number;
|
|
542
|
+
};
|
|
543
|
+
"mission": {
|
|
544
|
+
"usd"?: number;
|
|
545
|
+
"tokens"?: number;
|
|
546
|
+
"turns"?: number;
|
|
547
|
+
"wallClockMin"?: number;
|
|
548
|
+
};
|
|
549
|
+
"member": {
|
|
550
|
+
"turnWallClockSec"?: number;
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
"resources": {
|
|
554
|
+
"repos": Array<{
|
|
555
|
+
"url": string;
|
|
556
|
+
"ref": string;
|
|
557
|
+
"credential"?: {
|
|
558
|
+
"secretRef": string;
|
|
559
|
+
};
|
|
560
|
+
}>;
|
|
561
|
+
};
|
|
562
|
+
"kit": {
|
|
563
|
+
"addons": Record<string, unknown>;
|
|
564
|
+
};
|
|
565
|
+
"members": Array<{
|
|
566
|
+
"id": string;
|
|
567
|
+
"handle": string;
|
|
568
|
+
"harness": string;
|
|
569
|
+
"model": string | null;
|
|
570
|
+
"tier": "core" | "worker";
|
|
571
|
+
"position": string | null;
|
|
572
|
+
"status": "active" | "removed";
|
|
573
|
+
"livenessState": "ok" | "degraded";
|
|
574
|
+
"degradedReason": string | null;
|
|
575
|
+
"doorState": string;
|
|
576
|
+
"residency": string;
|
|
577
|
+
"executionEpoch": number;
|
|
578
|
+
"contextEpoch": number;
|
|
579
|
+
"dedicatedSessionId": string | null;
|
|
580
|
+
"kit": {
|
|
581
|
+
"addons": Record<string, unknown>;
|
|
582
|
+
"chips": Array<{
|
|
583
|
+
"key": string;
|
|
584
|
+
"addonId": string;
|
|
585
|
+
"kind": "capability" | "tool" | "skill";
|
|
586
|
+
"label": string;
|
|
587
|
+
"count"?: number;
|
|
588
|
+
"envNames"?: Array<string>;
|
|
589
|
+
}>;
|
|
590
|
+
"revision": string | null;
|
|
591
|
+
"desiredRevision": string;
|
|
592
|
+
"pending": boolean;
|
|
593
|
+
"modelPending": boolean;
|
|
594
|
+
"state": "ok" | "refused" | "boot_failed";
|
|
595
|
+
"appliedAt": string | null;
|
|
596
|
+
};
|
|
597
|
+
}>;
|
|
598
|
+
"squads": Array<{
|
|
599
|
+
"id": string;
|
|
600
|
+
"name": string;
|
|
601
|
+
"members": Array<string>;
|
|
602
|
+
}>;
|
|
603
|
+
"missions": Array<{
|
|
604
|
+
"id": string;
|
|
605
|
+
"title": string;
|
|
606
|
+
"status": string;
|
|
607
|
+
}>;
|
|
608
|
+
};
|
|
609
|
+
"eventSeq": number;
|
|
610
|
+
};
|
|
611
|
+
export type AutopilotTeamsUpdateRequest = {
|
|
612
|
+
"name"?: string;
|
|
613
|
+
"researchUse"?: "internal_only" | "publishable_after_review" | "excluded";
|
|
614
|
+
"positions"?: Array<{
|
|
615
|
+
"name": string;
|
|
616
|
+
"grants"?: Array<string>;
|
|
617
|
+
"brief"?: string;
|
|
618
|
+
}>;
|
|
619
|
+
"preset"?: string | null;
|
|
620
|
+
"axes"?: Record<string, unknown>;
|
|
621
|
+
"budgets"?: {
|
|
622
|
+
"onTrip"?: "pause" | "stop";
|
|
623
|
+
"team"?: {
|
|
624
|
+
"usd"?: number;
|
|
625
|
+
"tokens"?: number;
|
|
626
|
+
};
|
|
627
|
+
"mission"?: {
|
|
628
|
+
"usd"?: number;
|
|
629
|
+
"tokens"?: number;
|
|
630
|
+
"turns"?: number;
|
|
631
|
+
"wallClockMin"?: number;
|
|
632
|
+
};
|
|
633
|
+
"member"?: {
|
|
634
|
+
"turnWallClockSec"?: number;
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
"resources"?: {
|
|
638
|
+
"repos": Array<{
|
|
639
|
+
"url": string;
|
|
640
|
+
"ref": string;
|
|
641
|
+
"credential"?: {
|
|
642
|
+
"secretRef": string;
|
|
643
|
+
};
|
|
644
|
+
}>;
|
|
645
|
+
};
|
|
646
|
+
"kit"?: {
|
|
647
|
+
"addons"?: Record<string, unknown>;
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
export type AutopilotTeamsUpdateResponse = {
|
|
651
|
+
"team": {
|
|
652
|
+
"id": string;
|
|
653
|
+
"name": string;
|
|
654
|
+
"slug": string;
|
|
655
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
656
|
+
"researchUse": "internal_only" | "publishable_after_review" | "excluded";
|
|
657
|
+
"activeMissions": number;
|
|
658
|
+
"queuedMissions": number;
|
|
659
|
+
"budget": {
|
|
660
|
+
"reservedUsd": number;
|
|
661
|
+
"settledUsd": number;
|
|
662
|
+
"inputTokens": number;
|
|
663
|
+
"outputTokens": number;
|
|
664
|
+
"warnedAt": string | null;
|
|
665
|
+
"trippedAt": string | null;
|
|
666
|
+
"tripReason": "usd" | "tokens" | "turns" | "wall_clock" | "unpriced_model" | null;
|
|
667
|
+
};
|
|
668
|
+
"eventSeq": number;
|
|
669
|
+
"createdAt": string;
|
|
670
|
+
"updatedAt": string;
|
|
671
|
+
"roster": Array<{
|
|
672
|
+
"handle": string;
|
|
673
|
+
"harness": string;
|
|
674
|
+
}>;
|
|
675
|
+
"activeMissionRefs": Array<{
|
|
676
|
+
"id": string;
|
|
677
|
+
"title": string;
|
|
678
|
+
"startedAt": string | null;
|
|
679
|
+
}>;
|
|
680
|
+
"sessionSlots": number;
|
|
681
|
+
"ownerUserId": string;
|
|
682
|
+
"config": {
|
|
683
|
+
"preset": string | null;
|
|
684
|
+
"axes": Record<string, unknown>;
|
|
685
|
+
"positions": Array<{
|
|
686
|
+
"name": string;
|
|
687
|
+
"grants": Array<string>;
|
|
688
|
+
"brief": string;
|
|
689
|
+
}>;
|
|
690
|
+
};
|
|
691
|
+
"budgets": {
|
|
692
|
+
"onTrip": "pause" | "stop";
|
|
693
|
+
"team": {
|
|
694
|
+
"usd"?: number;
|
|
695
|
+
"tokens"?: number;
|
|
696
|
+
};
|
|
697
|
+
"mission": {
|
|
698
|
+
"usd"?: number;
|
|
699
|
+
"tokens"?: number;
|
|
700
|
+
"turns"?: number;
|
|
701
|
+
"wallClockMin"?: number;
|
|
702
|
+
};
|
|
703
|
+
"member": {
|
|
704
|
+
"turnWallClockSec"?: number;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
"resources": {
|
|
708
|
+
"repos": Array<{
|
|
709
|
+
"url": string;
|
|
710
|
+
"ref": string;
|
|
711
|
+
"credential"?: {
|
|
712
|
+
"secretRef": string;
|
|
713
|
+
};
|
|
714
|
+
}>;
|
|
715
|
+
};
|
|
716
|
+
"kit": {
|
|
717
|
+
"addons": Record<string, unknown>;
|
|
718
|
+
};
|
|
719
|
+
"members": Array<{
|
|
720
|
+
"id": string;
|
|
721
|
+
"handle": string;
|
|
722
|
+
"harness": string;
|
|
723
|
+
"model": string | null;
|
|
724
|
+
"tier": "core" | "worker";
|
|
725
|
+
"position": string | null;
|
|
726
|
+
"status": "active" | "removed";
|
|
727
|
+
"livenessState": "ok" | "degraded";
|
|
728
|
+
"degradedReason": string | null;
|
|
729
|
+
"doorState": string;
|
|
730
|
+
"residency": string;
|
|
731
|
+
"executionEpoch": number;
|
|
732
|
+
"contextEpoch": number;
|
|
733
|
+
"dedicatedSessionId": string | null;
|
|
734
|
+
"kit": {
|
|
735
|
+
"addons": Record<string, unknown>;
|
|
736
|
+
"chips": Array<{
|
|
737
|
+
"key": string;
|
|
738
|
+
"addonId": string;
|
|
739
|
+
"kind": "capability" | "tool" | "skill";
|
|
740
|
+
"label": string;
|
|
741
|
+
"count"?: number;
|
|
742
|
+
"envNames"?: Array<string>;
|
|
743
|
+
}>;
|
|
744
|
+
"revision": string | null;
|
|
745
|
+
"desiredRevision": string;
|
|
746
|
+
"pending": boolean;
|
|
747
|
+
"modelPending": boolean;
|
|
748
|
+
"state": "ok" | "refused" | "boot_failed";
|
|
749
|
+
"appliedAt": string | null;
|
|
750
|
+
};
|
|
751
|
+
}>;
|
|
752
|
+
"squads": Array<{
|
|
753
|
+
"id": string;
|
|
754
|
+
"name": string;
|
|
755
|
+
"members": Array<string>;
|
|
756
|
+
}>;
|
|
757
|
+
"missions": Array<{
|
|
758
|
+
"id": string;
|
|
759
|
+
"title": string;
|
|
760
|
+
"status": string;
|
|
761
|
+
}>;
|
|
762
|
+
};
|
|
763
|
+
"eventSeq": number;
|
|
764
|
+
};
|
|
765
|
+
export type AutopilotTeamsArchiveResponse = {
|
|
766
|
+
"teamId": string;
|
|
767
|
+
"status": "active" | "pausing" | "paused" | "stopping" | "stopped" | "archived";
|
|
768
|
+
"eventSeq": number;
|
|
769
|
+
};
|
|
770
|
+
export type AutopilotEventsListResponse = {
|
|
771
|
+
"events": Array<{
|
|
772
|
+
"seq": number;
|
|
773
|
+
"id": string;
|
|
774
|
+
"kind": string;
|
|
775
|
+
"schemaVersion": number;
|
|
776
|
+
"missionId": string | null;
|
|
777
|
+
"occurredAt": string;
|
|
778
|
+
"recordedAt": string;
|
|
779
|
+
"clockSource": "db" | "pod" | "provider" | "operator_client";
|
|
780
|
+
"causedByEventId": string | null;
|
|
781
|
+
"actor": {
|
|
782
|
+
"kind": "operator" | "member" | "system";
|
|
783
|
+
"memberId"?: string;
|
|
784
|
+
"handle"?: string;
|
|
785
|
+
};
|
|
786
|
+
"summary": string;
|
|
787
|
+
"payload": Record<string, unknown>;
|
|
788
|
+
}>;
|
|
789
|
+
"nextAfterSeq": number;
|
|
790
|
+
"hasMore": boolean;
|
|
791
|
+
};
|
|
792
|
+
export type AutopilotExportsListResponse = {
|
|
793
|
+
"items": Array<{
|
|
794
|
+
"exportId": string;
|
|
795
|
+
"status": "requested" | "completed" | "failed";
|
|
796
|
+
"datasetId": string | null;
|
|
797
|
+
"reason": string | null;
|
|
798
|
+
"createdAt": string;
|
|
799
|
+
"completedAt": string | null;
|
|
800
|
+
}>;
|
|
801
|
+
"nextCursor": string | null;
|
|
802
|
+
};
|
|
803
|
+
export type AutopilotExportsCreateRequest = {
|
|
804
|
+
"missionIds"?: Array<string>;
|
|
805
|
+
"from"?: string;
|
|
806
|
+
"to"?: string;
|
|
807
|
+
"clientKey"?: string;
|
|
808
|
+
};
|
|
809
|
+
export type AutopilotExportsGetResponse = {
|
|
810
|
+
"exportId": string;
|
|
811
|
+
"status": "requested" | "completed" | "failed";
|
|
812
|
+
"datasetId": string | null;
|
|
813
|
+
"reason": string | null;
|
|
814
|
+
"createdAt": string;
|
|
815
|
+
"completedAt": string | null;
|
|
816
|
+
"manifest": Record<string, unknown> | null;
|
|
817
|
+
"artifactUrl": string | null;
|
|
818
|
+
"expiresAt": string | null;
|
|
819
|
+
"redactionReport": Record<string, unknown> | null;
|
|
820
|
+
};
|
|
821
|
+
export type AutopilotMembersListResponse = {
|
|
822
|
+
"items": Array<{
|
|
823
|
+
"id": string;
|
|
824
|
+
"handle": string;
|
|
825
|
+
"harness": string;
|
|
826
|
+
"model": string | null;
|
|
827
|
+
"tier": "core" | "worker";
|
|
828
|
+
"position": string | null;
|
|
829
|
+
"status": "active" | "removed";
|
|
830
|
+
"livenessState": "ok" | "degraded";
|
|
831
|
+
"degradedReason": string | null;
|
|
832
|
+
"doorState": string;
|
|
833
|
+
"residency": string;
|
|
834
|
+
"executionEpoch": number;
|
|
835
|
+
"contextEpoch": number;
|
|
836
|
+
"dedicatedSessionId": string | null;
|
|
837
|
+
"kit": {
|
|
838
|
+
"addons": Record<string, unknown>;
|
|
839
|
+
"chips": Array<{
|
|
840
|
+
"key": string;
|
|
841
|
+
"addonId": string;
|
|
842
|
+
"kind": "capability" | "tool" | "skill";
|
|
843
|
+
"label": string;
|
|
844
|
+
"count"?: number;
|
|
845
|
+
"envNames"?: Array<string>;
|
|
846
|
+
}>;
|
|
847
|
+
"revision": string | null;
|
|
848
|
+
"desiredRevision": string;
|
|
849
|
+
"pending": boolean;
|
|
850
|
+
"modelPending": boolean;
|
|
851
|
+
"state": "ok" | "refused" | "boot_failed";
|
|
852
|
+
"appliedAt": string | null;
|
|
853
|
+
};
|
|
854
|
+
}>;
|
|
855
|
+
};
|
|
856
|
+
export type AutopilotMembersAddRequest = {
|
|
857
|
+
"handle": string;
|
|
858
|
+
"harness": string;
|
|
859
|
+
"model"?: string | null;
|
|
860
|
+
"tier"?: "core";
|
|
861
|
+
"position"?: string;
|
|
862
|
+
"kit"?: {
|
|
863
|
+
"addons"?: Record<string, unknown>;
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
export type AutopilotMembersAddResponse = {
|
|
867
|
+
"teamId": string;
|
|
868
|
+
"member": {
|
|
869
|
+
"id": string;
|
|
870
|
+
"handle": string;
|
|
871
|
+
"harness": string;
|
|
872
|
+
"model": string | null;
|
|
873
|
+
"tier": "core" | "worker";
|
|
874
|
+
"position": string | null;
|
|
875
|
+
"status": "active" | "removed";
|
|
876
|
+
"livenessState": "ok" | "degraded";
|
|
877
|
+
"degradedReason": string | null;
|
|
878
|
+
"doorState": string;
|
|
879
|
+
"residency": string;
|
|
880
|
+
"executionEpoch": number;
|
|
881
|
+
"contextEpoch": number;
|
|
882
|
+
"dedicatedSessionId": string | null;
|
|
883
|
+
"kit": {
|
|
884
|
+
"addons": Record<string, unknown>;
|
|
885
|
+
"chips": Array<{
|
|
886
|
+
"key": string;
|
|
887
|
+
"addonId": string;
|
|
888
|
+
"kind": "capability" | "tool" | "skill";
|
|
889
|
+
"label": string;
|
|
890
|
+
"count"?: number;
|
|
891
|
+
"envNames"?: Array<string>;
|
|
892
|
+
}>;
|
|
893
|
+
"revision": string | null;
|
|
894
|
+
"desiredRevision": string;
|
|
895
|
+
"pending": boolean;
|
|
896
|
+
"modelPending": boolean;
|
|
897
|
+
"state": "ok" | "refused" | "boot_failed";
|
|
898
|
+
"appliedAt": string | null;
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
"eventSeq": number;
|
|
902
|
+
};
|
|
903
|
+
export type AutopilotMembersUpdateRequest = {
|
|
904
|
+
"model"?: string | null;
|
|
905
|
+
"position"?: string;
|
|
906
|
+
"kit"?: {
|
|
907
|
+
"addons"?: Record<string, unknown>;
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
export type AutopilotMembersUpdateResponse = {
|
|
911
|
+
"teamId": string;
|
|
912
|
+
"member": {
|
|
913
|
+
"id": string;
|
|
914
|
+
"handle": string;
|
|
915
|
+
"harness": string;
|
|
916
|
+
"model": string | null;
|
|
917
|
+
"tier": "core" | "worker";
|
|
918
|
+
"position": string | null;
|
|
919
|
+
"status": "active" | "removed";
|
|
920
|
+
"livenessState": "ok" | "degraded";
|
|
921
|
+
"degradedReason": string | null;
|
|
922
|
+
"doorState": string;
|
|
923
|
+
"residency": string;
|
|
924
|
+
"executionEpoch": number;
|
|
925
|
+
"contextEpoch": number;
|
|
926
|
+
"dedicatedSessionId": string | null;
|
|
927
|
+
"kit": {
|
|
928
|
+
"addons": Record<string, unknown>;
|
|
929
|
+
"chips": Array<{
|
|
930
|
+
"key": string;
|
|
931
|
+
"addonId": string;
|
|
932
|
+
"kind": "capability" | "tool" | "skill";
|
|
933
|
+
"label": string;
|
|
934
|
+
"count"?: number;
|
|
935
|
+
"envNames"?: Array<string>;
|
|
936
|
+
}>;
|
|
937
|
+
"revision": string | null;
|
|
938
|
+
"desiredRevision": string;
|
|
939
|
+
"pending": boolean;
|
|
940
|
+
"modelPending": boolean;
|
|
941
|
+
"state": "ok" | "refused" | "boot_failed";
|
|
942
|
+
"appliedAt": string | null;
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
"eventSeq": number;
|
|
946
|
+
};
|
|
947
|
+
export type AutopilotMembersRemoveResponse = {
|
|
948
|
+
"teamId": string;
|
|
949
|
+
"memberId": string;
|
|
950
|
+
"status": "removed";
|
|
951
|
+
"eventSeq": number;
|
|
952
|
+
};
|
|
953
|
+
export type AutopilotMembersApplyKitRequest = {
|
|
954
|
+
"mode": "fresh-workspace";
|
|
955
|
+
"replaceDisk": true;
|
|
956
|
+
"kit"?: {
|
|
957
|
+
"addons"?: Record<string, unknown>;
|
|
958
|
+
};
|
|
959
|
+
"clientKey"?: string;
|
|
960
|
+
};
|
|
961
|
+
export type AutopilotSegmentsGetResponse = {
|
|
962
|
+
"memberId": string;
|
|
963
|
+
"batchId": string;
|
|
964
|
+
"sessionId": string;
|
|
965
|
+
"traceRef": string;
|
|
966
|
+
"trajectoryRef": string;
|
|
967
|
+
"spansDropped": number;
|
|
968
|
+
"stepsDropped": number;
|
|
969
|
+
"trajectory": unknown;
|
|
970
|
+
};
|
|
971
|
+
export type AutopilotMembersTranscriptResponse = unknown;
|
|
972
|
+
export type AutopilotMessagesSendRequest = {
|
|
973
|
+
"to": Array<string>;
|
|
974
|
+
"text": string;
|
|
975
|
+
"interrupt"?: boolean;
|
|
976
|
+
"missionId"?: string;
|
|
977
|
+
"clientKey"?: string;
|
|
978
|
+
};
|
|
979
|
+
export type AutopilotMessagesSendResponse = {
|
|
980
|
+
"messageId": string;
|
|
981
|
+
"missionId": string;
|
|
982
|
+
"recipients": Array<{
|
|
983
|
+
"memberId": string;
|
|
984
|
+
"handle": string;
|
|
985
|
+
"status": "queued" | "delivering" | "consumed" | "blocked_by_policy" | "cancelled" | "expired" | "failed";
|
|
986
|
+
"interruptDegraded": boolean;
|
|
987
|
+
}>;
|
|
988
|
+
"eventSeq": number;
|
|
989
|
+
"streamUrl": string;
|
|
990
|
+
};
|
|
991
|
+
export type AutopilotMissionsListResponse = {
|
|
992
|
+
"items": Array<{
|
|
993
|
+
"id": string;
|
|
994
|
+
"title": string;
|
|
995
|
+
"status": "queued" | "active" | "draining" | "pausing" | "paused" | "stopping" | "done" | "failed_to_converge" | "failed" | "stopped";
|
|
996
|
+
"outcome": string | null;
|
|
997
|
+
"endedBy": string | null;
|
|
998
|
+
"target": {
|
|
999
|
+
"kind": "team" | "squad" | "member";
|
|
1000
|
+
"id": string | null;
|
|
1001
|
+
};
|
|
1002
|
+
"epoch": number;
|
|
1003
|
+
"epochsMixed": boolean;
|
|
1004
|
+
"measurable": boolean;
|
|
1005
|
+
"turns": number;
|
|
1006
|
+
"reservedUsd": number;
|
|
1007
|
+
"settledUsd": number;
|
|
1008
|
+
"startedAt": string | null;
|
|
1009
|
+
"endedAt": string | null;
|
|
1010
|
+
"createdAt": string;
|
|
1011
|
+
"costNullReason": "unpriced_model" | "telemetry_dark" | "truncated" | null;
|
|
1012
|
+
"unmeasuredReasons": Array<string>;
|
|
1013
|
+
"axes": Record<string, unknown>;
|
|
1014
|
+
"workspaceMode": string | null;
|
|
1015
|
+
"liveWorkers": number;
|
|
1016
|
+
}>;
|
|
1017
|
+
"nextCursor": string | null;
|
|
1018
|
+
};
|
|
1019
|
+
export type AutopilotMissionsCreateRequest = {
|
|
1020
|
+
"target": {
|
|
1021
|
+
"kind": "team" | "squad" | "member";
|
|
1022
|
+
"id"?: string;
|
|
1023
|
+
};
|
|
1024
|
+
"title"?: string;
|
|
1025
|
+
"instructions": string;
|
|
1026
|
+
"overrides"?: {
|
|
1027
|
+
"preset"?: string;
|
|
1028
|
+
"budgets"?: {
|
|
1029
|
+
"onTrip"?: "pause" | "stop";
|
|
1030
|
+
"mission"?: {
|
|
1031
|
+
"usd"?: number;
|
|
1032
|
+
"tokens"?: number;
|
|
1033
|
+
"turns"?: number;
|
|
1034
|
+
"wallClockMin"?: number;
|
|
1035
|
+
};
|
|
1036
|
+
"member"?: {
|
|
1037
|
+
"turnWallClockSec"?: number;
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
"clientKey"?: string;
|
|
1042
|
+
};
|
|
1043
|
+
export type AutopilotMissionsCreateResponse = {
|
|
1044
|
+
"missionId": string;
|
|
1045
|
+
"outcome": "started" | "queued" | "added";
|
|
1046
|
+
"queuePosition": number | null;
|
|
1047
|
+
"boardTaskId": string | null;
|
|
1048
|
+
"eventSeq": number;
|
|
1049
|
+
"streamUrl": string;
|
|
1050
|
+
};
|
|
1051
|
+
export type AutopilotMissionsGetResponse = {
|
|
1052
|
+
"id": string;
|
|
1053
|
+
"title": string;
|
|
1054
|
+
"status": "queued" | "active" | "draining" | "pausing" | "paused" | "stopping" | "done" | "failed_to_converge" | "failed" | "stopped";
|
|
1055
|
+
"outcome": string | null;
|
|
1056
|
+
"endedBy": string | null;
|
|
1057
|
+
"target": {
|
|
1058
|
+
"kind": "team" | "squad" | "member";
|
|
1059
|
+
"id": string | null;
|
|
1060
|
+
};
|
|
1061
|
+
"epoch": number;
|
|
1062
|
+
"epochsMixed": boolean;
|
|
1063
|
+
"measurable": boolean;
|
|
1064
|
+
"turns": number;
|
|
1065
|
+
"reservedUsd": number;
|
|
1066
|
+
"settledUsd": number;
|
|
1067
|
+
"startedAt": string | null;
|
|
1068
|
+
"endedAt": string | null;
|
|
1069
|
+
"createdAt": string;
|
|
1070
|
+
"costNullReason": "unpriced_model" | "telemetry_dark" | "truncated" | null;
|
|
1071
|
+
"unmeasuredReasons": Array<string>;
|
|
1072
|
+
"axes": Record<string, unknown>;
|
|
1073
|
+
"workspaceMode": string | null;
|
|
1074
|
+
"liveWorkers": number;
|
|
1075
|
+
"instructions": string;
|
|
1076
|
+
"lane": Array<{
|
|
1077
|
+
"memberId": string;
|
|
1078
|
+
"handle": string;
|
|
1079
|
+
"positionAtStart": string | null;
|
|
1080
|
+
}>;
|
|
1081
|
+
"snapshot": Record<string, unknown> | null;
|
|
1082
|
+
};
|
|
1083
|
+
export type AutopilotMissionsUpdateRequest = {
|
|
1084
|
+
"budgets": {
|
|
1085
|
+
"onTrip"?: "pause" | "stop";
|
|
1086
|
+
"mission"?: {
|
|
1087
|
+
"usd"?: number;
|
|
1088
|
+
"tokens"?: number;
|
|
1089
|
+
"turns"?: number;
|
|
1090
|
+
"wallClockMin"?: number;
|
|
1091
|
+
};
|
|
1092
|
+
"member"?: {
|
|
1093
|
+
"turnWallClockSec"?: number;
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
export type AutopilotMissionsUpdateResponse = {
|
|
1098
|
+
"missionId": string;
|
|
1099
|
+
"budgets": Record<string, unknown>;
|
|
1100
|
+
"eventSeq": number;
|
|
1101
|
+
};
|
|
1102
|
+
export type AutopilotBoardListResponse = {
|
|
1103
|
+
"missionId": string;
|
|
1104
|
+
"items": Array<{
|
|
1105
|
+
"id": string;
|
|
1106
|
+
"title": string;
|
|
1107
|
+
"body": string;
|
|
1108
|
+
"status": "open" | "claimed" | "in_progress" | "blocked" | "done";
|
|
1109
|
+
"assigneeMemberId": string | null;
|
|
1110
|
+
"assigneeHandle": string | null;
|
|
1111
|
+
"creatorKind": "member" | "operator" | "system";
|
|
1112
|
+
"creatorMemberId": string | null;
|
|
1113
|
+
"parentTaskId": string | null;
|
|
1114
|
+
"createdAt": string;
|
|
1115
|
+
"updatedAt": string;
|
|
1116
|
+
}>;
|
|
1117
|
+
};
|
|
1118
|
+
export type AutopilotNotesListResponse = {
|
|
1119
|
+
"items": Array<{
|
|
1120
|
+
"id": string;
|
|
1121
|
+
"title": string;
|
|
1122
|
+
"body": string;
|
|
1123
|
+
"status": "active" | "quarantined" | "superseded";
|
|
1124
|
+
"creatorKind": "member" | "operator" | "system";
|
|
1125
|
+
"creatorMemberId": string | null;
|
|
1126
|
+
"missionId": string | null;
|
|
1127
|
+
"turnId": string | null;
|
|
1128
|
+
"supersedesNoteId": string | null;
|
|
1129
|
+
"createdAt": string;
|
|
1130
|
+
}>;
|
|
1131
|
+
"nextCursor": string | null;
|
|
1132
|
+
};
|
|
1133
|
+
export type AutopilotNotesGetResponse = {
|
|
1134
|
+
"id": string;
|
|
1135
|
+
"title": string;
|
|
1136
|
+
"body": string;
|
|
1137
|
+
"status": "active" | "quarantined" | "superseded";
|
|
1138
|
+
"creatorKind": "member" | "operator" | "system";
|
|
1139
|
+
"creatorMemberId": string | null;
|
|
1140
|
+
"missionId": string | null;
|
|
1141
|
+
"turnId": string | null;
|
|
1142
|
+
"supersedesNoteId": string | null;
|
|
1143
|
+
"createdAt": string;
|
|
1144
|
+
};
|
|
1145
|
+
export type AutopilotNotesQuarantineResponse = {
|
|
1146
|
+
"note": {
|
|
1147
|
+
"id": string;
|
|
1148
|
+
"title": string;
|
|
1149
|
+
"body": string;
|
|
1150
|
+
"status": "active" | "quarantined" | "superseded";
|
|
1151
|
+
"creatorKind": "member" | "operator" | "system";
|
|
1152
|
+
"creatorMemberId": string | null;
|
|
1153
|
+
"missionId": string | null;
|
|
1154
|
+
"turnId": string | null;
|
|
1155
|
+
"supersedesNoteId": string | null;
|
|
1156
|
+
"createdAt": string;
|
|
1157
|
+
};
|
|
1158
|
+
"eventSeq": number;
|
|
1159
|
+
};
|
|
1160
|
+
export type AutopilotNotesRollbackResponse = {
|
|
1161
|
+
"note": {
|
|
1162
|
+
"id": string;
|
|
1163
|
+
"title": string;
|
|
1164
|
+
"body": string;
|
|
1165
|
+
"status": "active" | "quarantined" | "superseded";
|
|
1166
|
+
"creatorKind": "member" | "operator" | "system";
|
|
1167
|
+
"creatorMemberId": string | null;
|
|
1168
|
+
"missionId": string | null;
|
|
1169
|
+
"turnId": string | null;
|
|
1170
|
+
"supersedesNoteId": string | null;
|
|
1171
|
+
"createdAt": string;
|
|
1172
|
+
};
|
|
1173
|
+
"eventSeq": number;
|
|
1174
|
+
};
|
|
1175
|
+
export type AutopilotSquadsListResponse = {
|
|
1176
|
+
"items": Array<{
|
|
1177
|
+
"id": string;
|
|
1178
|
+
"name": string;
|
|
1179
|
+
"members": Array<string>;
|
|
1180
|
+
}>;
|
|
1181
|
+
};
|
|
1182
|
+
export type AutopilotSquadsCreateRequest = {
|
|
1183
|
+
"name": string;
|
|
1184
|
+
"members": Array<string>;
|
|
1185
|
+
};
|
|
1186
|
+
export type AutopilotSquadsCreateResponse = {
|
|
1187
|
+
"teamId": string;
|
|
1188
|
+
"squad": {
|
|
1189
|
+
"id": string;
|
|
1190
|
+
"name": string;
|
|
1191
|
+
"members": Array<string>;
|
|
1192
|
+
};
|
|
1193
|
+
"eventSeq": number;
|
|
1194
|
+
};
|
|
1195
|
+
export type AutopilotSquadsUpdateRequest = {
|
|
1196
|
+
"members": Array<string>;
|
|
1197
|
+
};
|
|
1198
|
+
export type AutopilotSquadsUpdateResponse = {
|
|
1199
|
+
"teamId": string;
|
|
1200
|
+
"squad": {
|
|
1201
|
+
"id": string;
|
|
1202
|
+
"name": string;
|
|
1203
|
+
"members": Array<string>;
|
|
1204
|
+
};
|
|
1205
|
+
"eventSeq": number;
|
|
1206
|
+
};
|
|
1207
|
+
export type AutopilotSquadsDeleteResponse = {
|
|
1208
|
+
"teamId": string;
|
|
1209
|
+
"squadId": string;
|
|
1210
|
+
"eventSeq": number;
|
|
1211
|
+
};
|
|
1212
|
+
export type AutopilotTeamsStreamResponse = unknown;
|
|
20
1213
|
export type BenchmarksListResponse = {
|
|
21
1214
|
"studies": Array<{
|
|
22
1215
|
"id": string;
|
|
23
1216
|
"executiveSummary"?: string | null;
|
|
1217
|
+
"executiveSummaryDraft"?: string | null;
|
|
1218
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1219
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1220
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
24
1221
|
"plannedRunCount": number;
|
|
25
1222
|
"organizationId": string;
|
|
26
1223
|
"createdBy": string | null;
|
|
@@ -176,6 +1373,10 @@ export type BenchmarksCreateResponse = {
|
|
|
176
1373
|
"study": {
|
|
177
1374
|
"id": string;
|
|
178
1375
|
"executiveSummary"?: string | null;
|
|
1376
|
+
"executiveSummaryDraft"?: string | null;
|
|
1377
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1378
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1379
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
179
1380
|
"plannedRunCount": number;
|
|
180
1381
|
"organizationId": string;
|
|
181
1382
|
"createdBy": string | null;
|
|
@@ -291,6 +1492,10 @@ export type BenchmarksGetResponse = {
|
|
|
291
1492
|
"study": {
|
|
292
1493
|
"id": string;
|
|
293
1494
|
"executiveSummary"?: string | null;
|
|
1495
|
+
"executiveSummaryDraft"?: string | null;
|
|
1496
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
1497
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
1498
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
294
1499
|
"plannedRunCount": number;
|
|
295
1500
|
"organizationId": string;
|
|
296
1501
|
"createdBy": string | null;
|
|
@@ -790,6 +1995,7 @@ export type BenchmarksGetResponse = {
|
|
|
790
1995
|
};
|
|
791
1996
|
"shareUrl"?: string | null;
|
|
792
1997
|
"canManageSharing"?: boolean;
|
|
1998
|
+
"shareLinkKept"?: boolean;
|
|
793
1999
|
};
|
|
794
2000
|
export type BenchmarksUpdateDetailsRequest = {
|
|
795
2001
|
"name"?: string;
|
|
@@ -799,6 +2005,10 @@ export type BenchmarksUpdateDetailsResponse = {
|
|
|
799
2005
|
"study": {
|
|
800
2006
|
"id": string;
|
|
801
2007
|
"executiveSummary"?: string | null;
|
|
2008
|
+
"executiveSummaryDraft"?: string | null;
|
|
2009
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2010
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2011
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
802
2012
|
"plannedRunCount": number;
|
|
803
2013
|
"organizationId": string;
|
|
804
2014
|
"createdBy": string | null;
|
|
@@ -896,6 +2106,7 @@ export type BenchmarksUpdateDetailsResponse = {
|
|
|
896
2106
|
export type BenchmarksDeleteResponse = unknown;
|
|
897
2107
|
export type BenchmarksRegenerateSummaryResponse = {
|
|
898
2108
|
"status": "queued";
|
|
2109
|
+
"target": "live" | "draft";
|
|
899
2110
|
};
|
|
900
2111
|
export type BenchmarksGenerateRequest = {
|
|
901
2112
|
"proposeExpectations"?: boolean;
|
|
@@ -904,6 +2115,10 @@ export type BenchmarksGenerateResponse = {
|
|
|
904
2115
|
"study": {
|
|
905
2116
|
"id": string;
|
|
906
2117
|
"executiveSummary"?: string | null;
|
|
2118
|
+
"executiveSummaryDraft"?: string | null;
|
|
2119
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2120
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2121
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
907
2122
|
"plannedRunCount": number;
|
|
908
2123
|
"organizationId": string;
|
|
909
2124
|
"createdBy": string | null;
|
|
@@ -1007,6 +2222,10 @@ export type BenchmarksLaunchResponse = {
|
|
|
1007
2222
|
"study": {
|
|
1008
2223
|
"id": string;
|
|
1009
2224
|
"executiveSummary"?: string | null;
|
|
2225
|
+
"executiveSummaryDraft"?: string | null;
|
|
2226
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2227
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2228
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1010
2229
|
"plannedRunCount": number;
|
|
1011
2230
|
"organizationId": string;
|
|
1012
2231
|
"createdBy": string | null;
|
|
@@ -1113,6 +2332,10 @@ export type BenchmarksUpdateLensesResponse = {
|
|
|
1113
2332
|
"study": {
|
|
1114
2333
|
"id": string;
|
|
1115
2334
|
"executiveSummary"?: string | null;
|
|
2335
|
+
"executiveSummaryDraft"?: string | null;
|
|
2336
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2337
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2338
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1116
2339
|
"plannedRunCount": number;
|
|
1117
2340
|
"organizationId": string;
|
|
1118
2341
|
"createdBy": string | null;
|
|
@@ -1608,11 +2831,16 @@ export type BenchmarksPreviewResponse = {
|
|
|
1608
2831
|
export type BenchmarksPublishRequest = {
|
|
1609
2832
|
"slug"?: string;
|
|
1610
2833
|
"visibility"?: "private" | "org" | "link" | "public";
|
|
2834
|
+
"expectPublished"?: boolean;
|
|
1611
2835
|
};
|
|
1612
2836
|
export type BenchmarksPublishResponse = {
|
|
1613
2837
|
"study": {
|
|
1614
2838
|
"id": string;
|
|
1615
2839
|
"executiveSummary"?: string | null;
|
|
2840
|
+
"executiveSummaryDraft"?: string | null;
|
|
2841
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2842
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2843
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1616
2844
|
"plannedRunCount": number;
|
|
1617
2845
|
"organizationId": string;
|
|
1618
2846
|
"createdBy": string | null;
|
|
@@ -1711,6 +2939,10 @@ export type BenchmarksRegradeResponse = {
|
|
|
1711
2939
|
"study": {
|
|
1712
2940
|
"id": string;
|
|
1713
2941
|
"executiveSummary"?: string | null;
|
|
2942
|
+
"executiveSummaryDraft"?: string | null;
|
|
2943
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
2944
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
2945
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1714
2946
|
"plannedRunCount": number;
|
|
1715
2947
|
"organizationId": string;
|
|
1716
2948
|
"createdBy": string | null;
|
|
@@ -1833,6 +3065,10 @@ export type BenchmarksUnpublishResponse = {
|
|
|
1833
3065
|
"study": {
|
|
1834
3066
|
"id": string;
|
|
1835
3067
|
"executiveSummary"?: string | null;
|
|
3068
|
+
"executiveSummaryDraft"?: string | null;
|
|
3069
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
3070
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
3071
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
1836
3072
|
"plannedRunCount": number;
|
|
1837
3073
|
"organizationId": string;
|
|
1838
3074
|
"createdBy": string | null;
|
|
@@ -2116,8 +3352,7 @@ export type ExperimentRunsCreateRequest = {
|
|
|
2116
3352
|
"model"?: string;
|
|
2117
3353
|
"mode"?: "task" | "session";
|
|
2118
3354
|
"addons"?: Record<string, unknown>;
|
|
2119
|
-
"
|
|
2120
|
-
"execution_kind"?: "harness" | "direct";
|
|
3355
|
+
"execution_kind"?: "harness";
|
|
2121
3356
|
"tools"?: "default" | "none" | {
|
|
2122
3357
|
"tools": Array<string>;
|
|
2123
3358
|
};
|
|
@@ -2134,16 +3369,10 @@ export type ExperimentRunsCreateRequest = {
|
|
|
2134
3369
|
"reasoningEffort"?: "low" | "medium" | "high";
|
|
2135
3370
|
"thinkingBudgetTokens"?: number;
|
|
2136
3371
|
};
|
|
2137
|
-
"wait"?: boolean;
|
|
2138
3372
|
};
|
|
2139
3373
|
export type ExperimentRunsCreateResponse = {
|
|
2140
3374
|
"runId": string;
|
|
2141
|
-
"status": "
|
|
2142
|
-
"answer"?: string;
|
|
2143
|
-
"signals"?: unknown;
|
|
2144
|
-
} | {
|
|
2145
|
-
"runId": string;
|
|
2146
|
-
"status": "error" | "pending" | "queued";
|
|
3375
|
+
"status": "pending" | "queued";
|
|
2147
3376
|
"streamUrl": string;
|
|
2148
3377
|
"harness"?: string;
|
|
2149
3378
|
"model"?: string;
|
|
@@ -2164,31 +3393,6 @@ export type ExperimentRunsCancelResponse = {
|
|
|
2164
3393
|
"status": string;
|
|
2165
3394
|
"alreadyTerminal": boolean;
|
|
2166
3395
|
};
|
|
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
3396
|
export type ExperimentRunsInsightResponse = unknown;
|
|
2193
3397
|
export type ExperimentRunsRawTraceResponse = unknown;
|
|
2194
3398
|
export type ExperimentRunsSpansResponse = unknown;
|
|
@@ -2196,12 +3400,12 @@ export type ExperimentRunsStreamResponse = unknown;
|
|
|
2196
3400
|
export type ExperimentRunsTrajectoryResponse = unknown;
|
|
2197
3401
|
export type ExperimentSecretsListResponse = {
|
|
2198
3402
|
"secrets": Array<{
|
|
2199
|
-
"id"
|
|
2200
|
-
"organizationId"
|
|
3403
|
+
"id"?: string;
|
|
3404
|
+
"organizationId"?: string;
|
|
2201
3405
|
"name": string;
|
|
2202
|
-
"createdBy"
|
|
2203
|
-
"createdAt"
|
|
2204
|
-
"updatedAt"
|
|
3406
|
+
"createdBy"?: string | null;
|
|
3407
|
+
"createdAt"?: string;
|
|
3408
|
+
"updatedAt"?: string;
|
|
2205
3409
|
}>;
|
|
2206
3410
|
};
|
|
2207
3411
|
export type ExperimentSecretsCreateRequest = {
|
|
@@ -2231,6 +3435,8 @@ export type SessionsListResponse = {
|
|
|
2231
3435
|
"storageSize"?: string;
|
|
2232
3436
|
"model"?: string;
|
|
2233
3437
|
"desktopEnabled": boolean;
|
|
3438
|
+
"origin": string;
|
|
3439
|
+
"managedByRef"?: string;
|
|
2234
3440
|
"createdAt": string;
|
|
2235
3441
|
"updatedAt": string;
|
|
2236
3442
|
}>;
|
|
@@ -2253,6 +3459,8 @@ export type SessionsCreateResponse = {
|
|
|
2253
3459
|
"storageSize"?: string;
|
|
2254
3460
|
"model"?: string;
|
|
2255
3461
|
"desktopEnabled": boolean;
|
|
3462
|
+
"origin": string;
|
|
3463
|
+
"managedByRef"?: string;
|
|
2256
3464
|
"createdAt": string;
|
|
2257
3465
|
"updatedAt": string;
|
|
2258
3466
|
};
|
|
@@ -2261,6 +3469,53 @@ export type SessionsCatalogResponse = {
|
|
|
2261
3469
|
"harnesses": Array<{
|
|
2262
3470
|
"harness": string;
|
|
2263
3471
|
"displayName": string;
|
|
3472
|
+
"sessionable": boolean;
|
|
3473
|
+
"door"?: string;
|
|
3474
|
+
"caps"?: {
|
|
3475
|
+
"queue": "none" | "native" | "native-unsafe";
|
|
3476
|
+
"steer": boolean;
|
|
3477
|
+
"interrupt": boolean;
|
|
3478
|
+
"resumeAcrossRestart": boolean;
|
|
3479
|
+
"dynamicTools": boolean;
|
|
3480
|
+
"compaction": boolean;
|
|
3481
|
+
"turnLimits": Array<"maxSteps" | "subagents">;
|
|
3482
|
+
};
|
|
3483
|
+
"heavyWake"?: boolean;
|
|
3484
|
+
"coldWakeSec"?: number | null;
|
|
3485
|
+
"coreEligible"?: boolean;
|
|
3486
|
+
"weakCore"?: string | null;
|
|
3487
|
+
"profile"?: {
|
|
3488
|
+
"version": 1;
|
|
3489
|
+
"interrupt": "door" | "kill-cheap" | "kill-and-resume" | "none";
|
|
3490
|
+
"resume": "full" | "partial" | "none";
|
|
3491
|
+
"toolChannel": "native-mcp" | "shell-bridge" | "none";
|
|
3492
|
+
"toolRoundsPerTurn": number | null;
|
|
3493
|
+
"workspace": "shell" | "none";
|
|
3494
|
+
"nativeSubagents": "in-turn" | "after-turn" | "none";
|
|
3495
|
+
"usage": "exact" | "rounded" | "partial" | "vendor-billed";
|
|
3496
|
+
"turnOverheadSec": number | null;
|
|
3497
|
+
"door": string;
|
|
3498
|
+
"queue": "none" | "native" | "native-unsafe";
|
|
3499
|
+
"steer": boolean;
|
|
3500
|
+
"dynamicTools": boolean;
|
|
3501
|
+
"compaction": boolean;
|
|
3502
|
+
"coreEligible": boolean;
|
|
3503
|
+
"weakCore": string | null;
|
|
3504
|
+
"heavyWake": boolean;
|
|
3505
|
+
"coldWakeSec": number | null;
|
|
3506
|
+
"notes": Array<{
|
|
3507
|
+
"fact": string;
|
|
3508
|
+
"chip": string;
|
|
3509
|
+
"line": string;
|
|
3510
|
+
}>;
|
|
3511
|
+
};
|
|
3512
|
+
}>;
|
|
3513
|
+
"drivenRefusals": Array<{
|
|
3514
|
+
"harness": string;
|
|
3515
|
+
"displayName": string;
|
|
3516
|
+
"wave": "C" | "D" | "E" | "F";
|
|
3517
|
+
"blockedBy": "runner" | "door" | "image" | "credential" | "no-container" | "per-image" | "posture";
|
|
3518
|
+
"reason": string;
|
|
2264
3519
|
}>;
|
|
2265
3520
|
};
|
|
2266
3521
|
export type SessionsStreamResponse = unknown;
|
|
@@ -2276,6 +3531,8 @@ export type SessionsDeleteResponse = {
|
|
|
2276
3531
|
"storageSize"?: string;
|
|
2277
3532
|
"model"?: string;
|
|
2278
3533
|
"desktopEnabled": boolean;
|
|
3534
|
+
"origin": string;
|
|
3535
|
+
"managedByRef"?: string;
|
|
2279
3536
|
"createdAt": string;
|
|
2280
3537
|
"updatedAt": string;
|
|
2281
3538
|
};
|
|
@@ -2292,6 +3549,8 @@ export type SessionsHibernateResponse = {
|
|
|
2292
3549
|
"storageSize"?: string;
|
|
2293
3550
|
"model"?: string;
|
|
2294
3551
|
"desktopEnabled": boolean;
|
|
3552
|
+
"origin": string;
|
|
3553
|
+
"managedByRef"?: string;
|
|
2295
3554
|
"createdAt": string;
|
|
2296
3555
|
"updatedAt": string;
|
|
2297
3556
|
};
|
|
@@ -2308,6 +3567,8 @@ export type SessionsWakeResponse = {
|
|
|
2308
3567
|
"storageSize"?: string;
|
|
2309
3568
|
"model"?: string;
|
|
2310
3569
|
"desktopEnabled": boolean;
|
|
3570
|
+
"origin": string;
|
|
3571
|
+
"managedByRef"?: string;
|
|
2311
3572
|
"createdAt": string;
|
|
2312
3573
|
"updatedAt": string;
|
|
2313
3574
|
};
|
|
@@ -2328,6 +3589,7 @@ export type ExperimentSkillsListResponse = {
|
|
|
2328
3589
|
"gitRef"?: string;
|
|
2329
3590
|
"subpath"?: string;
|
|
2330
3591
|
"updatedAt"?: string;
|
|
3592
|
+
"contentSha256"?: string;
|
|
2331
3593
|
}>;
|
|
2332
3594
|
};
|
|
2333
3595
|
export type ExperimentSkillsCreateRequest = {
|
|
@@ -2359,6 +3621,7 @@ export type ExperimentSkillsCreateResponse = {
|
|
|
2359
3621
|
"gitRef"?: string;
|
|
2360
3622
|
"subpath"?: string;
|
|
2361
3623
|
"updatedAt"?: string;
|
|
3624
|
+
"contentSha256"?: string;
|
|
2362
3625
|
};
|
|
2363
3626
|
};
|
|
2364
3627
|
export type ExperimentSkillsUpdateRequest = {
|
|
@@ -2385,6 +3648,7 @@ export type ExperimentSkillsUpdateResponse = {
|
|
|
2385
3648
|
"gitRef"?: string;
|
|
2386
3649
|
"subpath"?: string;
|
|
2387
3650
|
"updatedAt"?: string;
|
|
3651
|
+
"contentSha256"?: string;
|
|
2388
3652
|
};
|
|
2389
3653
|
};
|
|
2390
3654
|
export type ExperimentSkillsDeleteResponse = unknown;
|
|
@@ -2402,6 +3666,10 @@ export type WebmcpArenaCreateResponse = {
|
|
|
2402
3666
|
"benchmark": {
|
|
2403
3667
|
"id": string;
|
|
2404
3668
|
"executiveSummary"?: string | null;
|
|
3669
|
+
"executiveSummaryDraft"?: string | null;
|
|
3670
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
3671
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
3672
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
2405
3673
|
"plannedRunCount": number;
|
|
2406
3674
|
"organizationId": string;
|
|
2407
3675
|
"createdBy": string | null;
|
|
@@ -2525,6 +3793,24 @@ export type ActivityListResponse = {
|
|
|
2525
3793
|
"targetId": string | null;
|
|
2526
3794
|
}>;
|
|
2527
3795
|
};
|
|
3796
|
+
export type SkillsListResponse = {
|
|
3797
|
+
"skills": Array<{
|
|
3798
|
+
"name": string;
|
|
3799
|
+
"description": string;
|
|
3800
|
+
"version": string | null;
|
|
3801
|
+
"minCliVersion": string | null;
|
|
3802
|
+
}>;
|
|
3803
|
+
};
|
|
3804
|
+
export type SkillsGetResponse = {
|
|
3805
|
+
"name": string;
|
|
3806
|
+
"description": string;
|
|
3807
|
+
"version": string | null;
|
|
3808
|
+
"minCliVersion": string | null;
|
|
3809
|
+
"files": Array<{
|
|
3810
|
+
"path": string;
|
|
3811
|
+
"content": string;
|
|
3812
|
+
}>;
|
|
3813
|
+
};
|
|
2528
3814
|
export type AnalyticsExportResponse = unknown;
|
|
2529
3815
|
export type AnalyticsOverviewResponse = {
|
|
2530
3816
|
"health": {
|
|
@@ -2555,9 +3841,39 @@ export type AnalyticsOverviewResponse = {
|
|
|
2555
3841
|
"access": Record<string, unknown> | null;
|
|
2556
3842
|
"availableIntents": Array<{
|
|
2557
3843
|
"id": string;
|
|
2558
|
-
"title": string;
|
|
2559
|
-
}>;
|
|
2560
|
-
"availableModels": Array<string>;
|
|
3844
|
+
"title": string;
|
|
3845
|
+
}>;
|
|
3846
|
+
"availableModels": Array<string>;
|
|
3847
|
+
};
|
|
3848
|
+
export type GoalsUpdateRequest = {
|
|
3849
|
+
"title"?: string;
|
|
3850
|
+
"statement"?: string;
|
|
3851
|
+
"isActive"?: boolean;
|
|
3852
|
+
"config"?: unknown;
|
|
3853
|
+
};
|
|
3854
|
+
export type GoalsUpdateResponse = {
|
|
3855
|
+
"success": true;
|
|
3856
|
+
"data": {
|
|
3857
|
+
"id": string;
|
|
3858
|
+
"intentId": string;
|
|
3859
|
+
"kind": "target_match" | "state_assertion" | "answer_check";
|
|
3860
|
+
"criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
|
|
3861
|
+
"isDrafted": boolean;
|
|
3862
|
+
"title": string;
|
|
3863
|
+
"statement": string | null;
|
|
3864
|
+
"config": unknown;
|
|
3865
|
+
"isActive": boolean;
|
|
3866
|
+
"position": number;
|
|
3867
|
+
"createdBy": string | null;
|
|
3868
|
+
"createdAt": string;
|
|
3869
|
+
"updatedAt": string;
|
|
3870
|
+
};
|
|
3871
|
+
};
|
|
3872
|
+
export type GoalsDeleteResponse = {
|
|
3873
|
+
"success": true;
|
|
3874
|
+
"data": {
|
|
3875
|
+
"id": string;
|
|
3876
|
+
};
|
|
2561
3877
|
};
|
|
2562
3878
|
export type IcpsListResponse = {
|
|
2563
3879
|
"success": true;
|
|
@@ -2596,66 +3912,13 @@ export type IcpsUpdateResponse = {
|
|
|
2596
3912
|
export type IntentsListResponse = {
|
|
2597
3913
|
"success": true;
|
|
2598
3914
|
"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
3915
|
"id": string;
|
|
2653
3916
|
"title": string;
|
|
2654
3917
|
"slug": string;
|
|
2655
3918
|
"domainId": string | null;
|
|
2656
3919
|
"promptCount": number;
|
|
2657
3920
|
"tags": Array<string>;
|
|
2658
|
-
"goalKinds": Array<"target_match" | "
|
|
3921
|
+
"goalKinds": Array<"target_match" | "state_assertion" | "answer_check">;
|
|
2659
3922
|
"stageTags": Array<"discovery" | "access" | "use">;
|
|
2660
3923
|
"success": number | null;
|
|
2661
3924
|
"friction": {
|
|
@@ -2736,7 +3999,7 @@ export type IntentsBulkActionResponse = {
|
|
|
2736
3999
|
};
|
|
2737
4000
|
};
|
|
2738
4001
|
export type IntentsBulkCreateRequest = {
|
|
2739
|
-
"source"?: "csv" | "manual";
|
|
4002
|
+
"source"?: "csv" | "manual" | "generated";
|
|
2740
4003
|
"intents": Array<{
|
|
2741
4004
|
"title": string;
|
|
2742
4005
|
"layer"?: "discovery" | "access" | "use";
|
|
@@ -2780,7 +4043,7 @@ export type IntentsBulkCreateResponse = {
|
|
|
2780
4043
|
"started": true;
|
|
2781
4044
|
} | {
|
|
2782
4045
|
"started": false;
|
|
2783
|
-
"reason": "no_attributable_member";
|
|
4046
|
+
"reason": "no_attributable_member" | "deferred";
|
|
2784
4047
|
};
|
|
2785
4048
|
}>;
|
|
2786
4049
|
"truncated": number;
|
|
@@ -2905,6 +4168,80 @@ export type IntentsDeleteResponse = {
|
|
|
2905
4168
|
"id": string;
|
|
2906
4169
|
};
|
|
2907
4170
|
};
|
|
4171
|
+
export type IntentsAnalyticsResponse = {
|
|
4172
|
+
"success": true;
|
|
4173
|
+
"data": {
|
|
4174
|
+
"intentId": string;
|
|
4175
|
+
"window": string;
|
|
4176
|
+
"since": string;
|
|
4177
|
+
"layers": Array<{
|
|
4178
|
+
"layer": string;
|
|
4179
|
+
"touched": number;
|
|
4180
|
+
"healthy": number;
|
|
4181
|
+
"broke": number;
|
|
4182
|
+
}>;
|
|
4183
|
+
"positioning": {
|
|
4184
|
+
"yes": number;
|
|
4185
|
+
"depends": number;
|
|
4186
|
+
"no": number;
|
|
4187
|
+
"none": number;
|
|
4188
|
+
"byQuestionType": Array<{
|
|
4189
|
+
"type": string;
|
|
4190
|
+
"question": string;
|
|
4191
|
+
"yes": number;
|
|
4192
|
+
"depends": number;
|
|
4193
|
+
"no": number;
|
|
4194
|
+
"none": number;
|
|
4195
|
+
}>;
|
|
4196
|
+
};
|
|
4197
|
+
"agents": Array<{
|
|
4198
|
+
"agent": string;
|
|
4199
|
+
"runs": number;
|
|
4200
|
+
"conclusive": number;
|
|
4201
|
+
"visibleRate": number | null;
|
|
4202
|
+
"recommendedRate": number | null;
|
|
4203
|
+
"citedRate": number | null;
|
|
4204
|
+
}>;
|
|
4205
|
+
"you": {
|
|
4206
|
+
"recommended": number;
|
|
4207
|
+
"mentioned": number;
|
|
4208
|
+
} | null;
|
|
4209
|
+
"competitors": Array<{
|
|
4210
|
+
"name": string;
|
|
4211
|
+
"domain": string | null;
|
|
4212
|
+
"recommended": number;
|
|
4213
|
+
"mentioned": number;
|
|
4214
|
+
}>;
|
|
4215
|
+
"sources": {
|
|
4216
|
+
"answers": number;
|
|
4217
|
+
"answersCitingYou": number;
|
|
4218
|
+
"top": Array<{
|
|
4219
|
+
"domain": string;
|
|
4220
|
+
"ownership": string;
|
|
4221
|
+
"citations": number;
|
|
4222
|
+
"answers": number;
|
|
4223
|
+
"pages": number;
|
|
4224
|
+
}>;
|
|
4225
|
+
};
|
|
4226
|
+
"recent": Array<{
|
|
4227
|
+
"measurementId": string;
|
|
4228
|
+
"startedAt": string;
|
|
4229
|
+
"runs": number;
|
|
4230
|
+
"complete": boolean;
|
|
4231
|
+
"discovery": number | null;
|
|
4232
|
+
"access": number | null;
|
|
4233
|
+
"use": number | null;
|
|
4234
|
+
"answerScore": number | null;
|
|
4235
|
+
"answered": {
|
|
4236
|
+
"done": number;
|
|
4237
|
+
"of": number;
|
|
4238
|
+
} | null;
|
|
4239
|
+
}>;
|
|
4240
|
+
"links": {
|
|
4241
|
+
"studio": string | null;
|
|
4242
|
+
};
|
|
4243
|
+
};
|
|
4244
|
+
};
|
|
2908
4245
|
export type IntentsGenerateResponse = {
|
|
2909
4246
|
"success": true;
|
|
2910
4247
|
"data": Array<{
|
|
@@ -2981,10 +4318,174 @@ export type IntentsGenerateResponse = {
|
|
|
2981
4318
|
"started": true;
|
|
2982
4319
|
} | {
|
|
2983
4320
|
"started": false;
|
|
2984
|
-
"reason": "no_attributable_member";
|
|
4321
|
+
"reason": "no_attributable_member" | "deferred";
|
|
4322
|
+
};
|
|
4323
|
+
}>;
|
|
4324
|
+
};
|
|
4325
|
+
export type GoalsReportResponse = {
|
|
4326
|
+
"success": true;
|
|
4327
|
+
"data": {
|
|
4328
|
+
"intentId": string;
|
|
4329
|
+
"window": "7d" | "30d" | "90d";
|
|
4330
|
+
"since": string;
|
|
4331
|
+
"goals": {
|
|
4332
|
+
"goals": Array<{
|
|
4333
|
+
"verdicts": Record<string, unknown>;
|
|
4334
|
+
"scored": number;
|
|
4335
|
+
"met": number;
|
|
4336
|
+
"metRate": number | null;
|
|
4337
|
+
"goalId": string;
|
|
4338
|
+
"kind": "target_match" | "state_assertion" | "answer_check" | null;
|
|
4339
|
+
"title": string | null;
|
|
4340
|
+
"isActive": boolean;
|
|
4341
|
+
"judgedBy": Array<string>;
|
|
4342
|
+
}>;
|
|
4343
|
+
"expectations": Array<{
|
|
4344
|
+
"verdicts": Record<string, unknown>;
|
|
4345
|
+
"scored": number;
|
|
4346
|
+
"met": number;
|
|
4347
|
+
"metRate": number | null;
|
|
4348
|
+
"promptId": string | null;
|
|
4349
|
+
}>;
|
|
4350
|
+
};
|
|
4351
|
+
"criteria": {
|
|
4352
|
+
"latest": {
|
|
4353
|
+
"measuredAt": string;
|
|
4354
|
+
"measurementKind": string;
|
|
4355
|
+
} | null;
|
|
4356
|
+
"previous": {
|
|
4357
|
+
"measuredAt": string;
|
|
4358
|
+
"measurementKind": string;
|
|
4359
|
+
} | null;
|
|
4360
|
+
"groups": Array<{
|
|
4361
|
+
"passed": number;
|
|
4362
|
+
"judged": number;
|
|
4363
|
+
"group": "discover" | "choose" | "verify" | "inform" | "guide" | "act";
|
|
4364
|
+
"before": {
|
|
4365
|
+
"passed": number;
|
|
4366
|
+
"judged": number;
|
|
4367
|
+
} | null;
|
|
4368
|
+
}>;
|
|
4369
|
+
"criteria": Array<{
|
|
4370
|
+
"passed": number;
|
|
4371
|
+
"judged": number;
|
|
4372
|
+
"goalId": string;
|
|
4373
|
+
"group": "discover" | "choose" | "verify" | "inform" | "guide" | "act";
|
|
4374
|
+
"text": string;
|
|
4375
|
+
"before": {
|
|
4376
|
+
"passed": number;
|
|
4377
|
+
"judged": number;
|
|
4378
|
+
} | null;
|
|
4379
|
+
"byAgent": Record<string, unknown>;
|
|
4380
|
+
"byPrompt": Record<string, unknown>;
|
|
4381
|
+
"beforeByPrompt": Record<string, unknown> | null;
|
|
4382
|
+
}>;
|
|
4383
|
+
"scores": {
|
|
4384
|
+
"latest": {
|
|
4385
|
+
"runs": number;
|
|
4386
|
+
"sum": number;
|
|
4387
|
+
"byGroup": Record<string, unknown>;
|
|
4388
|
+
} | null;
|
|
4389
|
+
"previous": {
|
|
4390
|
+
"runs": number;
|
|
4391
|
+
"sum": number;
|
|
4392
|
+
"byGroup": Record<string, unknown>;
|
|
4393
|
+
} | null;
|
|
4394
|
+
};
|
|
4395
|
+
};
|
|
4396
|
+
"grid": {
|
|
4397
|
+
"measurementId": string;
|
|
4398
|
+
"measuredAt": string;
|
|
4399
|
+
"prompts": Array<{
|
|
4400
|
+
"promptId": string;
|
|
4401
|
+
"text": string;
|
|
4402
|
+
}>;
|
|
4403
|
+
"agents": Array<{
|
|
4404
|
+
"setupKey": string;
|
|
4405
|
+
"label": string;
|
|
4406
|
+
"passed": number;
|
|
4407
|
+
"judged": number;
|
|
4408
|
+
}>;
|
|
4409
|
+
"cells": Array<{
|
|
4410
|
+
"promptId": string;
|
|
4411
|
+
"setupKey": string;
|
|
4412
|
+
"passed": number;
|
|
4413
|
+
"judged": number;
|
|
4414
|
+
"link": string | null;
|
|
4415
|
+
}>;
|
|
4416
|
+
} | null;
|
|
4417
|
+
"links": {
|
|
4418
|
+
"studio": string | null;
|
|
2985
4419
|
};
|
|
4420
|
+
};
|
|
4421
|
+
};
|
|
4422
|
+
export type GoalsListResponse = {
|
|
4423
|
+
"success": true;
|
|
4424
|
+
"data": Array<{
|
|
4425
|
+
"id": string;
|
|
4426
|
+
"intentId": string;
|
|
4427
|
+
"kind": "target_match" | "state_assertion" | "answer_check";
|
|
4428
|
+
"criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
|
|
4429
|
+
"isDrafted": boolean;
|
|
4430
|
+
"title": string;
|
|
4431
|
+
"statement": string | null;
|
|
4432
|
+
"config": unknown;
|
|
4433
|
+
"isActive": boolean;
|
|
4434
|
+
"position": number;
|
|
4435
|
+
"createdBy": string | null;
|
|
4436
|
+
"createdAt": string;
|
|
4437
|
+
"updatedAt": string;
|
|
2986
4438
|
}>;
|
|
2987
4439
|
};
|
|
4440
|
+
export type GoalsCreateRequest = {
|
|
4441
|
+
"kind": "target_match" | "state_assertion" | "answer_check";
|
|
4442
|
+
"criterionGroup"?: "discover" | "choose" | "verify" | "inform" | "guide" | "act";
|
|
4443
|
+
"title": string;
|
|
4444
|
+
"statement"?: string | null;
|
|
4445
|
+
"config"?: unknown;
|
|
4446
|
+
"isActive"?: boolean;
|
|
4447
|
+
};
|
|
4448
|
+
export type GoalsCreateResponse = {
|
|
4449
|
+
"success": true;
|
|
4450
|
+
"data": {
|
|
4451
|
+
"id": string;
|
|
4452
|
+
"intentId": string;
|
|
4453
|
+
"kind": "target_match" | "state_assertion" | "answer_check";
|
|
4454
|
+
"criterionGroup": "discover" | "choose" | "verify" | "inform" | "guide" | "act" | null;
|
|
4455
|
+
"isDrafted": boolean;
|
|
4456
|
+
"title": string;
|
|
4457
|
+
"statement": string | null;
|
|
4458
|
+
"config": unknown;
|
|
4459
|
+
"isActive": boolean;
|
|
4460
|
+
"position": number;
|
|
4461
|
+
"createdBy": string | null;
|
|
4462
|
+
"createdAt": string;
|
|
4463
|
+
"updatedAt": string;
|
|
4464
|
+
};
|
|
4465
|
+
};
|
|
4466
|
+
export type IntentsHistoryResponse = {
|
|
4467
|
+
"success": true;
|
|
4468
|
+
"data": {
|
|
4469
|
+
"intentId": string;
|
|
4470
|
+
"measurements": Array<{
|
|
4471
|
+
"measurementId": string;
|
|
4472
|
+
"startedAt": string;
|
|
4473
|
+
"runs": number;
|
|
4474
|
+
"complete": boolean;
|
|
4475
|
+
"discovery": number | null;
|
|
4476
|
+
"access": number | null;
|
|
4477
|
+
"use": number | null;
|
|
4478
|
+
"answerScore": number | null;
|
|
4479
|
+
"answered": {
|
|
4480
|
+
"done": number;
|
|
4481
|
+
"of": number;
|
|
4482
|
+
} | null;
|
|
4483
|
+
}>;
|
|
4484
|
+
"links": {
|
|
4485
|
+
"studio": string | null;
|
|
4486
|
+
};
|
|
4487
|
+
};
|
|
4488
|
+
};
|
|
2988
4489
|
export type IntentsSetIcpRequest = {
|
|
2989
4490
|
"icpId": string | null;
|
|
2990
4491
|
};
|
|
@@ -2994,6 +4495,252 @@ export type IntentsSetIcpResponse = {
|
|
|
2994
4495
|
"icpId": string | null;
|
|
2995
4496
|
};
|
|
2996
4497
|
};
|
|
4498
|
+
export type IntentsInsightsResponse = {
|
|
4499
|
+
"success": true;
|
|
4500
|
+
"data": {
|
|
4501
|
+
"intentId": string;
|
|
4502
|
+
"measurementId": string | null;
|
|
4503
|
+
"measuredAt": string | null;
|
|
4504
|
+
"change": {
|
|
4505
|
+
"previousMeasurementId": string;
|
|
4506
|
+
"previousMeasuredAt": string;
|
|
4507
|
+
"answerScore": {
|
|
4508
|
+
"now": number | null;
|
|
4509
|
+
"before": number | null;
|
|
4510
|
+
};
|
|
4511
|
+
"answered": {
|
|
4512
|
+
"now": {
|
|
4513
|
+
"done": number;
|
|
4514
|
+
"of": number;
|
|
4515
|
+
};
|
|
4516
|
+
"before": {
|
|
4517
|
+
"done": number;
|
|
4518
|
+
"of": number;
|
|
4519
|
+
};
|
|
4520
|
+
};
|
|
4521
|
+
"toolCalls": {
|
|
4522
|
+
"now": {
|
|
4523
|
+
"done": number;
|
|
4524
|
+
"of": number;
|
|
4525
|
+
};
|
|
4526
|
+
"before": {
|
|
4527
|
+
"done": number;
|
|
4528
|
+
"of": number;
|
|
4529
|
+
};
|
|
4530
|
+
"newFailures": Array<string>;
|
|
4531
|
+
"fixed": Array<string>;
|
|
4532
|
+
};
|
|
4533
|
+
"failedPages": {
|
|
4534
|
+
"now": number;
|
|
4535
|
+
"before": number;
|
|
4536
|
+
"newFailures": Array<string>;
|
|
4537
|
+
"fixed": Array<string>;
|
|
4538
|
+
};
|
|
4539
|
+
"flipped": Array<{
|
|
4540
|
+
"prompt": string;
|
|
4541
|
+
"agent": string;
|
|
4542
|
+
"before": string;
|
|
4543
|
+
"now": string;
|
|
4544
|
+
"link": string | null;
|
|
4545
|
+
}>;
|
|
4546
|
+
} | null;
|
|
4547
|
+
"issues": Array<{
|
|
4548
|
+
"title": string;
|
|
4549
|
+
"stage": string;
|
|
4550
|
+
"observation": string;
|
|
4551
|
+
"whyItMatters": string | null;
|
|
4552
|
+
"recommendation": string | null;
|
|
4553
|
+
"recommendationType": string;
|
|
4554
|
+
"affected": {
|
|
4555
|
+
"count": number;
|
|
4556
|
+
"of": number;
|
|
4557
|
+
"unit": string;
|
|
4558
|
+
};
|
|
4559
|
+
"agents": Array<string>;
|
|
4560
|
+
"page": string | null;
|
|
4561
|
+
"evidence": Array<{
|
|
4562
|
+
"label": string;
|
|
4563
|
+
"value": string;
|
|
4564
|
+
}>;
|
|
4565
|
+
"prompts": Array<string>;
|
|
4566
|
+
"runs": Array<string>;
|
|
4567
|
+
"quote": string | null;
|
|
4568
|
+
"alternatives": Array<string>;
|
|
4569
|
+
"steps": Array<string>;
|
|
4570
|
+
}>;
|
|
4571
|
+
"failedPages": Array<{
|
|
4572
|
+
"url": string;
|
|
4573
|
+
"status": number | null;
|
|
4574
|
+
"cause": string;
|
|
4575
|
+
"failures": number;
|
|
4576
|
+
"agents": Array<string>;
|
|
4577
|
+
"prompts": number;
|
|
4578
|
+
"link": string | null;
|
|
4579
|
+
}>;
|
|
4580
|
+
"tools": Array<{
|
|
4581
|
+
"tool": string;
|
|
4582
|
+
"calls": number;
|
|
4583
|
+
"failed": number;
|
|
4584
|
+
"causes": Record<string, unknown>;
|
|
4585
|
+
"error": string | null;
|
|
4586
|
+
"retried": number;
|
|
4587
|
+
"agents": Array<string>;
|
|
4588
|
+
"usage"?: Array<{
|
|
4589
|
+
"kind": string;
|
|
4590
|
+
"label": string;
|
|
4591
|
+
"title": string;
|
|
4592
|
+
"quote": string | null;
|
|
4593
|
+
"fix": string | null;
|
|
4594
|
+
"details": Array<{
|
|
4595
|
+
"key": string;
|
|
4596
|
+
"label": string;
|
|
4597
|
+
"value": string;
|
|
4598
|
+
}>;
|
|
4599
|
+
"runs": number;
|
|
4600
|
+
"agents": Array<string>;
|
|
4601
|
+
"link": string | null;
|
|
4602
|
+
}>;
|
|
4603
|
+
}>;
|
|
4604
|
+
"toolDescriptions": Array<{
|
|
4605
|
+
"server": string;
|
|
4606
|
+
"tool": string | null;
|
|
4607
|
+
"severity": string;
|
|
4608
|
+
"title": string;
|
|
4609
|
+
"fix": string | null;
|
|
4610
|
+
}>;
|
|
4611
|
+
"answers": Array<{
|
|
4612
|
+
"prompt": string;
|
|
4613
|
+
"answers": Array<{
|
|
4614
|
+
"agent": string;
|
|
4615
|
+
"verdict": string | null;
|
|
4616
|
+
"reason": string | null;
|
|
4617
|
+
"quote": string | null;
|
|
4618
|
+
"bottomLine": string | null;
|
|
4619
|
+
"failedChecks": Array<{
|
|
4620
|
+
"check": string;
|
|
4621
|
+
"reason": string;
|
|
4622
|
+
"quote": string | null;
|
|
4623
|
+
}>;
|
|
4624
|
+
"link": string | null;
|
|
4625
|
+
}>;
|
|
4626
|
+
}>;
|
|
4627
|
+
"links": {
|
|
4628
|
+
"studio": string | null;
|
|
4629
|
+
};
|
|
4630
|
+
};
|
|
4631
|
+
};
|
|
4632
|
+
export type IntentsMeasureRequest = {
|
|
4633
|
+
"kind"?: "manual" | "diagnostic" | "verification";
|
|
4634
|
+
};
|
|
4635
|
+
export type IntentsMeasureResponse = {
|
|
4636
|
+
"success": true;
|
|
4637
|
+
"data": {
|
|
4638
|
+
"prompts": number;
|
|
4639
|
+
"cycleId": string | null;
|
|
4640
|
+
"cycleKind": "baseline" | "monitoring" | "manual" | "diagnostic" | "verification";
|
|
4641
|
+
"journeys": Array<{
|
|
4642
|
+
"promptId": string;
|
|
4643
|
+
"journeyId": string;
|
|
4644
|
+
"runIds": Array<string>;
|
|
4645
|
+
"failed": Array<{
|
|
4646
|
+
"harness": string;
|
|
4647
|
+
"site"?: string;
|
|
4648
|
+
"reason": string;
|
|
4649
|
+
}>;
|
|
4650
|
+
}>;
|
|
4651
|
+
"intentId"?: string;
|
|
4652
|
+
"links"?: {
|
|
4653
|
+
"studio": string | null;
|
|
4654
|
+
};
|
|
4655
|
+
"streamUrl"?: string;
|
|
4656
|
+
"statusUrl"?: string;
|
|
4657
|
+
};
|
|
4658
|
+
};
|
|
4659
|
+
export type IntentsMeasureStatusResponse = {
|
|
4660
|
+
"success": true;
|
|
4661
|
+
"data": {
|
|
4662
|
+
"measurementId": string;
|
|
4663
|
+
"intentId": string;
|
|
4664
|
+
"kind": string;
|
|
4665
|
+
"status": "running" | "completed" | "failed" | "partial";
|
|
4666
|
+
"done": boolean;
|
|
4667
|
+
"startedAt": string;
|
|
4668
|
+
"completedAt": string | null;
|
|
4669
|
+
"prompts": number;
|
|
4670
|
+
"runs": {
|
|
4671
|
+
"total": number;
|
|
4672
|
+
"settled": number;
|
|
4673
|
+
"succeeded": number;
|
|
4674
|
+
};
|
|
4675
|
+
"items": Array<{
|
|
4676
|
+
"runId": string;
|
|
4677
|
+
"journeyId": string | null;
|
|
4678
|
+
"promptId": string | null;
|
|
4679
|
+
"prompt": string;
|
|
4680
|
+
"agent": string;
|
|
4681
|
+
"status": string;
|
|
4682
|
+
"settled": boolean;
|
|
4683
|
+
"link": string | null;
|
|
4684
|
+
}>;
|
|
4685
|
+
"links": {
|
|
4686
|
+
"studio": string | null;
|
|
4687
|
+
};
|
|
4688
|
+
"streamUrl": string;
|
|
4689
|
+
"statusUrl": string;
|
|
4690
|
+
};
|
|
4691
|
+
};
|
|
4692
|
+
export type IntentsMeasurementPolicyRequest = {
|
|
4693
|
+
"cadence"?: "daily" | "weekly" | "monthly" | "manual";
|
|
4694
|
+
"mcp_server_ids"?: Array<string>;
|
|
4695
|
+
"agents"?: Array<{
|
|
4696
|
+
"harness": string;
|
|
4697
|
+
"model": string;
|
|
4698
|
+
"mcp_server_ids"?: Array<string>;
|
|
4699
|
+
"skill_ids"?: Array<string>;
|
|
4700
|
+
"browser"?: {
|
|
4701
|
+
"webdriver"?: boolean;
|
|
4702
|
+
"webmcp"?: boolean;
|
|
4703
|
+
"webmcpTargetUrl"?: string;
|
|
4704
|
+
"webmcpSurface"?: "native" | "shim";
|
|
4705
|
+
};
|
|
4706
|
+
}>;
|
|
4707
|
+
"skill_ids"?: Array<string>;
|
|
4708
|
+
"competitors"?: Array<string>;
|
|
4709
|
+
};
|
|
4710
|
+
export type IntentsMeasurementPolicyResponse = {
|
|
4711
|
+
"success": true;
|
|
4712
|
+
"data": {
|
|
4713
|
+
"policy": {
|
|
4714
|
+
"cadence": "daily" | "weekly" | "monthly" | "manual";
|
|
4715
|
+
"mcp_server_ids": Array<string>;
|
|
4716
|
+
"agents": Array<{
|
|
4717
|
+
"harness": string;
|
|
4718
|
+
"model": string;
|
|
4719
|
+
"mcp_server_ids": Array<string>;
|
|
4720
|
+
"skill_ids": Array<string>;
|
|
4721
|
+
"browser"?: {
|
|
4722
|
+
"webdriver"?: boolean;
|
|
4723
|
+
"webmcp"?: boolean;
|
|
4724
|
+
"webmcpTargetUrl"?: string;
|
|
4725
|
+
"webmcpSurface"?: "native" | "shim";
|
|
4726
|
+
};
|
|
4727
|
+
}>;
|
|
4728
|
+
"skill_ids": Array<string>;
|
|
4729
|
+
"browser"?: {
|
|
4730
|
+
"webdriver"?: boolean;
|
|
4731
|
+
"webmcp"?: boolean;
|
|
4732
|
+
"webmcpTargetUrl"?: string;
|
|
4733
|
+
"webmcpSurface"?: "native" | "shim";
|
|
4734
|
+
};
|
|
4735
|
+
"competitors": Array<string>;
|
|
4736
|
+
};
|
|
4737
|
+
"rescheduled": Array<string>;
|
|
4738
|
+
"failed": Array<{
|
|
4739
|
+
"promptId": string;
|
|
4740
|
+
"reason": string;
|
|
4741
|
+
}>;
|
|
4742
|
+
};
|
|
4743
|
+
};
|
|
2997
4744
|
export type IntentsMeasurementsPauseResponse = {
|
|
2998
4745
|
"success": true;
|
|
2999
4746
|
"data": {
|
|
@@ -3017,6 +4764,7 @@ export type IntentsMeasurementsStatusByIdResponse = {
|
|
|
3017
4764
|
};
|
|
3018
4765
|
};
|
|
3019
4766
|
export type IntentsAddPromptRequest = {
|
|
4767
|
+
"startMeasurement"?: boolean;
|
|
3020
4768
|
"text": string;
|
|
3021
4769
|
"category"?: string;
|
|
3022
4770
|
"persona"?: string;
|
|
@@ -3098,7 +4846,7 @@ export type IntentsAddPromptResponse = {
|
|
|
3098
4846
|
"started": true;
|
|
3099
4847
|
} | {
|
|
3100
4848
|
"started": false;
|
|
3101
|
-
"reason": "no_attributable_member";
|
|
4849
|
+
"reason": "no_attributable_member" | "deferred";
|
|
3102
4850
|
};
|
|
3103
4851
|
};
|
|
3104
4852
|
};
|
|
@@ -3145,6 +4893,7 @@ export type IntentsRepresentationResponse = {
|
|
|
3145
4893
|
"persona": string | null;
|
|
3146
4894
|
};
|
|
3147
4895
|
};
|
|
4896
|
+
export type IntentsStreamResponse = unknown;
|
|
3148
4897
|
export type JourneysListResponse = {
|
|
3149
4898
|
"success": true;
|
|
3150
4899
|
"data": {
|
|
@@ -3344,8 +5093,7 @@ export type StudioRunsCreateRequest = {
|
|
|
3344
5093
|
"model"?: string;
|
|
3345
5094
|
"mode"?: "task" | "session";
|
|
3346
5095
|
"addons"?: Record<string, unknown>;
|
|
3347
|
-
"
|
|
3348
|
-
"execution_kind"?: "harness" | "direct";
|
|
5096
|
+
"execution_kind"?: "harness";
|
|
3349
5097
|
"tools"?: "default" | "none" | {
|
|
3350
5098
|
"tools": Array<string>;
|
|
3351
5099
|
};
|
|
@@ -3362,16 +5110,10 @@ export type StudioRunsCreateRequest = {
|
|
|
3362
5110
|
"reasoningEffort"?: "low" | "medium" | "high";
|
|
3363
5111
|
"thinkingBudgetTokens"?: number;
|
|
3364
5112
|
};
|
|
3365
|
-
"wait"?: boolean;
|
|
3366
5113
|
};
|
|
3367
5114
|
export type StudioRunsCreateResponse = {
|
|
3368
5115
|
"runId": string;
|
|
3369
|
-
"status": "
|
|
3370
|
-
"answer"?: string;
|
|
3371
|
-
"signals"?: unknown;
|
|
3372
|
-
} | {
|
|
3373
|
-
"runId": string;
|
|
3374
|
-
"status": "error" | "pending" | "queued";
|
|
5116
|
+
"status": "pending" | "queued";
|
|
3375
5117
|
"streamUrl": string;
|
|
3376
5118
|
"harness"?: string;
|
|
3377
5119
|
"model"?: string;
|
|
@@ -3392,31 +5134,6 @@ export type StudioRunsCancelResponse = {
|
|
|
3392
5134
|
"status": string;
|
|
3393
5135
|
"alreadyTerminal": boolean;
|
|
3394
5136
|
};
|
|
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
5137
|
export type StudioRunsInsightResponse = unknown;
|
|
3421
5138
|
export type StudioRunsRawTraceResponse = unknown;
|
|
3422
5139
|
export type StudioRunsSpansResponse = unknown;
|
|
@@ -3430,7 +5147,7 @@ export type StudyAddonsListResponse = {
|
|
|
3430
5147
|
"displayName": string;
|
|
3431
5148
|
"description": string;
|
|
3432
5149
|
"configSchema": Record<string, unknown>;
|
|
3433
|
-
"surfaces": Array<"run" | "session">;
|
|
5150
|
+
"surfaces": Array<"run" | "session" | "managed">;
|
|
3434
5151
|
"harnesses": Array<string>;
|
|
3435
5152
|
"multiInstance"?: boolean;
|
|
3436
5153
|
"credentialSourceFields"?: Array<string>;
|
|
@@ -4575,8 +6292,7 @@ export type StudyRunsCreateRequest = {
|
|
|
4575
6292
|
"model"?: string;
|
|
4576
6293
|
"mode"?: "task" | "session";
|
|
4577
6294
|
"addons"?: Record<string, unknown>;
|
|
4578
|
-
"
|
|
4579
|
-
"execution_kind"?: "harness" | "direct";
|
|
6295
|
+
"execution_kind"?: "harness";
|
|
4580
6296
|
"tools"?: "default" | "none" | {
|
|
4581
6297
|
"tools": Array<string>;
|
|
4582
6298
|
};
|
|
@@ -4593,16 +6309,10 @@ export type StudyRunsCreateRequest = {
|
|
|
4593
6309
|
"reasoningEffort"?: "low" | "medium" | "high";
|
|
4594
6310
|
"thinkingBudgetTokens"?: number;
|
|
4595
6311
|
};
|
|
4596
|
-
"wait"?: boolean;
|
|
4597
6312
|
};
|
|
4598
6313
|
export type StudyRunsCreateResponse = {
|
|
4599
6314
|
"runId": string;
|
|
4600
|
-
"status": "
|
|
4601
|
-
"answer"?: string;
|
|
4602
|
-
"signals"?: unknown;
|
|
4603
|
-
} | {
|
|
4604
|
-
"runId": string;
|
|
4605
|
-
"status": "error" | "pending" | "queued";
|
|
6315
|
+
"status": "pending" | "queued";
|
|
4606
6316
|
"streamUrl": string;
|
|
4607
6317
|
"harness"?: string;
|
|
4608
6318
|
"model"?: string;
|
|
@@ -4623,31 +6333,6 @@ export type StudyRunsCancelResponse = {
|
|
|
4623
6333
|
"status": string;
|
|
4624
6334
|
"alreadyTerminal": boolean;
|
|
4625
6335
|
};
|
|
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
6336
|
export type StudyRunsInsightResponse = unknown;
|
|
4652
6337
|
export type StudyRunsRawTraceResponse = unknown;
|
|
4653
6338
|
export type StudyRunsSpansResponse = unknown;
|
|
@@ -4669,6 +6354,7 @@ export type StudySkillsListResponse = {
|
|
|
4669
6354
|
"gitRef"?: string;
|
|
4670
6355
|
"subpath"?: string;
|
|
4671
6356
|
"updatedAt"?: string;
|
|
6357
|
+
"contentSha256"?: string;
|
|
4672
6358
|
}>;
|
|
4673
6359
|
};
|
|
4674
6360
|
export type StudySkillsCreateRequest = {
|
|
@@ -4700,6 +6386,7 @@ export type StudySkillsCreateResponse = {
|
|
|
4700
6386
|
"gitRef"?: string;
|
|
4701
6387
|
"subpath"?: string;
|
|
4702
6388
|
"updatedAt"?: string;
|
|
6389
|
+
"contentSha256"?: string;
|
|
4703
6390
|
};
|
|
4704
6391
|
};
|
|
4705
6392
|
export type StudySkillsUpdateRequest = {
|
|
@@ -4726,6 +6413,7 @@ export type StudySkillsUpdateResponse = {
|
|
|
4726
6413
|
"gitRef"?: string;
|
|
4727
6414
|
"subpath"?: string;
|
|
4728
6415
|
"updatedAt"?: string;
|
|
6416
|
+
"contentSha256"?: string;
|
|
4729
6417
|
};
|
|
4730
6418
|
};
|
|
4731
6419
|
export type StudySkillsDeleteResponse = unknown;
|
|
@@ -4733,6 +6421,10 @@ export type StudyListResponse = {
|
|
|
4733
6421
|
"studies": Array<{
|
|
4734
6422
|
"id": string;
|
|
4735
6423
|
"executiveSummary"?: string | null;
|
|
6424
|
+
"executiveSummaryDraft"?: string | null;
|
|
6425
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
6426
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
6427
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
4736
6428
|
"plannedRunCount": number;
|
|
4737
6429
|
"organizationId": string;
|
|
4738
6430
|
"createdBy": string | null;
|
|
@@ -5032,6 +6724,10 @@ export type StudyCreateResponse = {
|
|
|
5032
6724
|
"study": {
|
|
5033
6725
|
"id": string;
|
|
5034
6726
|
"executiveSummary"?: string | null;
|
|
6727
|
+
"executiveSummaryDraft"?: string | null;
|
|
6728
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
6729
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
6730
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
5035
6731
|
"plannedRunCount": number;
|
|
5036
6732
|
"organizationId": string;
|
|
5037
6733
|
"createdBy": string | null;
|
|
@@ -5432,6 +7128,10 @@ export type StudyGetResponse = {
|
|
|
5432
7128
|
"study": {
|
|
5433
7129
|
"id": string;
|
|
5434
7130
|
"executiveSummary"?: string | null;
|
|
7131
|
+
"executiveSummaryDraft"?: string | null;
|
|
7132
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
7133
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
7134
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
5435
7135
|
"plannedRunCount": number;
|
|
5436
7136
|
"organizationId": string;
|
|
5437
7137
|
"createdBy": string | null;
|
|
@@ -6867,6 +8567,7 @@ export type StudyGetResponse = {
|
|
|
6867
8567
|
};
|
|
6868
8568
|
"shareUrl"?: string | null;
|
|
6869
8569
|
"canManageSharing"?: boolean;
|
|
8570
|
+
"shareLinkKept"?: boolean;
|
|
6870
8571
|
};
|
|
6871
8572
|
export type StudyUpdateDetailsRequest = {
|
|
6872
8573
|
"name"?: string;
|
|
@@ -6876,6 +8577,10 @@ export type StudyUpdateDetailsResponse = {
|
|
|
6876
8577
|
"study": {
|
|
6877
8578
|
"id": string;
|
|
6878
8579
|
"executiveSummary"?: string | null;
|
|
8580
|
+
"executiveSummaryDraft"?: string | null;
|
|
8581
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
8582
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
8583
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
6879
8584
|
"plannedRunCount": number;
|
|
6880
8585
|
"organizationId": string;
|
|
6881
8586
|
"createdBy": string | null;
|
|
@@ -7114,6 +8819,7 @@ export type StudyAddAgentsResponse = {
|
|
|
7114
8819
|
};
|
|
7115
8820
|
export type StudyRegenerateSummaryResponse = {
|
|
7116
8821
|
"status": "queued";
|
|
8822
|
+
"target": "live" | "draft";
|
|
7117
8823
|
};
|
|
7118
8824
|
export type StudyGenerateRequest = {
|
|
7119
8825
|
"proposeExpectations"?: boolean;
|
|
@@ -7122,6 +8828,10 @@ export type StudyGenerateResponse = {
|
|
|
7122
8828
|
"study": {
|
|
7123
8829
|
"id": string;
|
|
7124
8830
|
"executiveSummary"?: string | null;
|
|
8831
|
+
"executiveSummaryDraft"?: string | null;
|
|
8832
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
8833
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
8834
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
7125
8835
|
"plannedRunCount": number;
|
|
7126
8836
|
"organizationId": string;
|
|
7127
8837
|
"createdBy": string | null;
|
|
@@ -7279,6 +8989,10 @@ export type StudyLaunchResponse = {
|
|
|
7279
8989
|
"study": {
|
|
7280
8990
|
"id": string;
|
|
7281
8991
|
"executiveSummary"?: string | null;
|
|
8992
|
+
"executiveSummaryDraft"?: string | null;
|
|
8993
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
8994
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
8995
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
7282
8996
|
"plannedRunCount": number;
|
|
7283
8997
|
"organizationId": string;
|
|
7284
8998
|
"createdBy": string | null;
|
|
@@ -7439,6 +9153,10 @@ export type StudyUpdateLensesResponse = {
|
|
|
7439
9153
|
"study": {
|
|
7440
9154
|
"id": string;
|
|
7441
9155
|
"executiveSummary"?: string | null;
|
|
9156
|
+
"executiveSummaryDraft"?: string | null;
|
|
9157
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
9158
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
9159
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
7442
9160
|
"plannedRunCount": number;
|
|
7443
9161
|
"organizationId": string;
|
|
7444
9162
|
"createdBy": string | null;
|
|
@@ -8876,12 +10594,17 @@ export type StudyPreviewResponse = {
|
|
|
8876
10594
|
export type StudyPublishRequest = {
|
|
8877
10595
|
"slug"?: string;
|
|
8878
10596
|
"visibility"?: "private" | "org" | "link" | "public";
|
|
10597
|
+
"expectPublished"?: boolean;
|
|
8879
10598
|
"skillNames"?: "withheld" | "named";
|
|
8880
10599
|
};
|
|
8881
10600
|
export type StudyPublishResponse = {
|
|
8882
10601
|
"study": {
|
|
8883
10602
|
"id": string;
|
|
8884
10603
|
"executiveSummary"?: string | null;
|
|
10604
|
+
"executiveSummaryDraft"?: string | null;
|
|
10605
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
10606
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
10607
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
8885
10608
|
"plannedRunCount": number;
|
|
8886
10609
|
"organizationId": string;
|
|
8887
10610
|
"createdBy": string | null;
|
|
@@ -9040,6 +10763,10 @@ export type StudyRegradeResponse = {
|
|
|
9040
10763
|
"study": {
|
|
9041
10764
|
"id": string;
|
|
9042
10765
|
"executiveSummary"?: string | null;
|
|
10766
|
+
"executiveSummaryDraft"?: string | null;
|
|
10767
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
10768
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
10769
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9043
10770
|
"plannedRunCount": number;
|
|
9044
10771
|
"organizationId": string;
|
|
9045
10772
|
"createdBy": string | null;
|
|
@@ -9280,6 +11007,10 @@ export type StudyRotateShareTokenResponse = {
|
|
|
9280
11007
|
"study": {
|
|
9281
11008
|
"id": string;
|
|
9282
11009
|
"executiveSummary"?: string | null;
|
|
11010
|
+
"executiveSummaryDraft"?: string | null;
|
|
11011
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
11012
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
11013
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9283
11014
|
"plannedRunCount": number;
|
|
9284
11015
|
"organizationId": string;
|
|
9285
11016
|
"createdBy": string | null;
|
|
@@ -9425,6 +11156,7 @@ export type StudyRotateShareTokenResponse = {
|
|
|
9425
11156
|
"modeOptions"?: Record<string, unknown>;
|
|
9426
11157
|
};
|
|
9427
11158
|
"shareUrl": string | null;
|
|
11159
|
+
"shareLinkKept": boolean;
|
|
9428
11160
|
};
|
|
9429
11161
|
export type StudyStreamResponse = unknown;
|
|
9430
11162
|
export type StudyUpdateTaskRequest = {
|
|
@@ -9517,6 +11249,10 @@ export type StudyUnpublishResponse = {
|
|
|
9517
11249
|
"study": {
|
|
9518
11250
|
"id": string;
|
|
9519
11251
|
"executiveSummary"?: string | null;
|
|
11252
|
+
"executiveSummaryDraft"?: string | null;
|
|
11253
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
11254
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
11255
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9520
11256
|
"plannedRunCount": number;
|
|
9521
11257
|
"organizationId": string;
|
|
9522
11258
|
"createdBy": string | null;
|
|
@@ -9669,6 +11405,10 @@ export type StudySetVisibilityResponse = {
|
|
|
9669
11405
|
"study": {
|
|
9670
11406
|
"id": string;
|
|
9671
11407
|
"executiveSummary"?: string | null;
|
|
11408
|
+
"executiveSummaryDraft"?: string | null;
|
|
11409
|
+
"executiveSummaryRequest"?: "live" | "draft" | null;
|
|
11410
|
+
"executiveSummaryRequestedAt"?: string | null;
|
|
11411
|
+
"executiveSummaryUnavailableAt"?: string | null;
|
|
9672
11412
|
"plannedRunCount": number;
|
|
9673
11413
|
"organizationId": string;
|
|
9674
11414
|
"createdBy": string | null;
|
|
@@ -9814,6 +11554,7 @@ export type StudySetVisibilityResponse = {
|
|
|
9814
11554
|
"modeOptions"?: Record<string, unknown>;
|
|
9815
11555
|
};
|
|
9816
11556
|
"shareUrl": string | null;
|
|
11557
|
+
"shareLinkKept": boolean;
|
|
9817
11558
|
};
|
|
9818
11559
|
export type TunnelsListResponse = {
|
|
9819
11560
|
"tunnels": Array<{
|