@empiricalrun/playwright-utils 0.66.1 → 0.66.3
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/CHANGELOG.md +16 -0
- package/dist/generated/api-worker-openapi.d.ts +236 -506
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/reporter/empirical-reporter.d.ts +1 -0
- package/dist/reporter/empirical-reporter.d.ts.map +1 -1
- package/dist/reporter/empirical-reporter.js +23 -10
- package/dist/reporter/harness.d.ts +2 -1
- package/dist/reporter/harness.d.ts.map +1 -1
- package/dist/reporter/harness.js +1 -0
- package/dist/reporter/util.d.ts +5 -0
- package/dist/reporter/util.d.ts.map +1 -1
- package/dist/reporter/util.js +8 -0
- package/package.json +4 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -2165,8 +2165,8 @@ export interface paths {
|
|
|
2165
2165
|
get: operations["listTasks"];
|
|
2166
2166
|
put?: never;
|
|
2167
2167
|
/**
|
|
2168
|
-
*
|
|
2169
|
-
* @description Creates a task for the scoped project.
|
|
2168
|
+
* 🛡️ Create a task
|
|
2169
|
+
* @description Creates a task for the scoped project. Only people and Empirical's own services create tasks; agents work on them. `created_by` defaults to the signed-in user. A service may leave it out, and the task is then owed to the platform. It does not start a chat session; use `POST /api/tasks/{id}/chat-sessions` for that.
|
|
2170
2170
|
*/
|
|
2171
2171
|
post: operations["createTask"];
|
|
2172
2172
|
delete?: never;
|
|
@@ -2190,7 +2190,7 @@ export interface paths {
|
|
|
2190
2190
|
put?: never;
|
|
2191
2191
|
post?: never;
|
|
2192
2192
|
/**
|
|
2193
|
-
*
|
|
2193
|
+
* 🛡️ Delete a task
|
|
2194
2194
|
* @description Permanently deletes a task.
|
|
2195
2195
|
*/
|
|
2196
2196
|
delete: operations["deleteTask"];
|
|
@@ -2198,11 +2198,51 @@ export interface paths {
|
|
|
2198
2198
|
head?: never;
|
|
2199
2199
|
/**
|
|
2200
2200
|
* 🤖 Update a task
|
|
2201
|
-
* @description Updates a task's title, description, or status. A
|
|
2201
|
+
* @description Updates a task's title, description, or status. A status change, and any `note`, is added to the task's activity.
|
|
2202
2202
|
*/
|
|
2203
2203
|
patch: operations["updateTask"];
|
|
2204
2204
|
trace?: never;
|
|
2205
2205
|
};
|
|
2206
|
+
"/api/tasks/{id}/activity": {
|
|
2207
|
+
parameters: {
|
|
2208
|
+
query?: never;
|
|
2209
|
+
header?: never;
|
|
2210
|
+
path?: never;
|
|
2211
|
+
cookie?: never;
|
|
2212
|
+
};
|
|
2213
|
+
/**
|
|
2214
|
+
* 🤖 List a task's activity
|
|
2215
|
+
* @description Returns the task's status changes and comments, oldest first.
|
|
2216
|
+
*/
|
|
2217
|
+
get: operations["listTaskActivity"];
|
|
2218
|
+
put?: never;
|
|
2219
|
+
post?: never;
|
|
2220
|
+
delete?: never;
|
|
2221
|
+
options?: never;
|
|
2222
|
+
head?: never;
|
|
2223
|
+
patch?: never;
|
|
2224
|
+
trace?: never;
|
|
2225
|
+
};
|
|
2226
|
+
"/api/tasks/{id}/comments": {
|
|
2227
|
+
parameters: {
|
|
2228
|
+
query?: never;
|
|
2229
|
+
header?: never;
|
|
2230
|
+
path?: never;
|
|
2231
|
+
cookie?: never;
|
|
2232
|
+
};
|
|
2233
|
+
get?: never;
|
|
2234
|
+
put?: never;
|
|
2235
|
+
/**
|
|
2236
|
+
* 🤖 Comment on a task
|
|
2237
|
+
* @description Adds a comment to the task's activity.
|
|
2238
|
+
*/
|
|
2239
|
+
post: operations["createTaskComment"];
|
|
2240
|
+
delete?: never;
|
|
2241
|
+
options?: never;
|
|
2242
|
+
head?: never;
|
|
2243
|
+
patch?: never;
|
|
2244
|
+
trace?: never;
|
|
2245
|
+
};
|
|
2206
2246
|
"/api/traces/compare": {
|
|
2207
2247
|
parameters: {
|
|
2208
2248
|
query?: never;
|
|
@@ -3943,7 +3983,7 @@ export interface paths {
|
|
|
3943
3983
|
};
|
|
3944
3984
|
/**
|
|
3945
3985
|
* List Hive agents
|
|
3946
|
-
* @description Returns the Hive agents a chat session can be created with, each at its `@latest` version. Prompts and tool lists stay in Hive.
|
|
3986
|
+
* @description Returns the Hive agents a chat session can be created with, each at its `@latest` version. Prompts and tool lists stay in Hive. With `x-project-id`, lists only the agents that project can start.
|
|
3947
3987
|
*/
|
|
3948
3988
|
get: operations["listHiveAgents"];
|
|
3949
3989
|
put?: never;
|
|
@@ -4910,26 +4950,6 @@ export interface paths {
|
|
|
4910
4950
|
patch?: never;
|
|
4911
4951
|
trace?: never;
|
|
4912
4952
|
};
|
|
4913
|
-
"/api/memories/classifications": {
|
|
4914
|
-
parameters: {
|
|
4915
|
-
query?: never;
|
|
4916
|
-
header?: never;
|
|
4917
|
-
path?: never;
|
|
4918
|
-
cookie?: never;
|
|
4919
|
-
};
|
|
4920
|
-
/**
|
|
4921
|
-
* 🛡️ Memory classifications across projects
|
|
4922
|
-
* @description Returns every stored JEV classification under one vocabulary version, for all versions of all memories (soft-deleted included). A memory's current labels are the row for its latest version; rows for older versions mean it was edited since.
|
|
4923
|
-
*/
|
|
4924
|
-
get: operations["listMemoryClassifications"];
|
|
4925
|
-
put?: never;
|
|
4926
|
-
post?: never;
|
|
4927
|
-
delete?: never;
|
|
4928
|
-
options?: never;
|
|
4929
|
-
head?: never;
|
|
4930
|
-
patch?: never;
|
|
4931
|
-
trace?: never;
|
|
4932
|
-
};
|
|
4933
4953
|
"/api/memories/usage": {
|
|
4934
4954
|
parameters: {
|
|
4935
4955
|
query?: never;
|
|
@@ -4938,8 +4958,8 @@ export interface paths {
|
|
|
4938
4958
|
cookie?: never;
|
|
4939
4959
|
};
|
|
4940
4960
|
/**
|
|
4941
|
-
* ⚙️ Most
|
|
4942
|
-
* @description Returns the scoped project's most
|
|
4961
|
+
* ⚙️ Most edited memories
|
|
4962
|
+
* @description Returns the scoped project's most edited memories over a recent window.
|
|
4943
4963
|
*/
|
|
4944
4964
|
get: operations["getMemoryUsage"];
|
|
4945
4965
|
put?: never;
|
|
@@ -6332,84 +6352,6 @@ export interface paths {
|
|
|
6332
6352
|
patch?: never;
|
|
6333
6353
|
trace?: never;
|
|
6334
6354
|
};
|
|
6335
|
-
"/api/sandbox-snapshots/sources/upsert": {
|
|
6336
|
-
parameters: {
|
|
6337
|
-
query?: never;
|
|
6338
|
-
header?: never;
|
|
6339
|
-
path?: never;
|
|
6340
|
-
cookie?: never;
|
|
6341
|
-
};
|
|
6342
|
-
get?: never;
|
|
6343
|
-
put?: never;
|
|
6344
|
-
/**
|
|
6345
|
-
* ⚙️ Upsert sandbox snapshot sources
|
|
6346
|
-
* @description Upserts one or more snapshot source rows; called by sandbox-template CI.
|
|
6347
|
-
*/
|
|
6348
|
-
post: operations["upsertSandboxSnapshotSources"];
|
|
6349
|
-
delete?: never;
|
|
6350
|
-
options?: never;
|
|
6351
|
-
head?: never;
|
|
6352
|
-
patch?: never;
|
|
6353
|
-
trace?: never;
|
|
6354
|
-
};
|
|
6355
|
-
"/api/system-messages": {
|
|
6356
|
-
parameters: {
|
|
6357
|
-
query?: never;
|
|
6358
|
-
header?: never;
|
|
6359
|
-
path?: never;
|
|
6360
|
-
cookie?: never;
|
|
6361
|
-
};
|
|
6362
|
-
/** 🛡️ List system messages with delivery and ack counts */
|
|
6363
|
-
get: operations["listSystemMessages"];
|
|
6364
|
-
put?: never;
|
|
6365
|
-
/**
|
|
6366
|
-
* 🛡️ Broadcast a system message to manager sessions
|
|
6367
|
-
* @description Persists the message and delivers it to project manager sessions. With `project_ids`, every listed project gets a recipient row, and one without an open manager is recorded as failed. Without it, the message goes to every project with an open manager, and active projects without one are returned in `skipped_project_ids` (not persisted). Delivery is attempted before responding. Managers acknowledge through `POST /api/system-messages/{id}/ack`.
|
|
6368
|
-
*/
|
|
6369
|
-
post: operations["createSystemMessage"];
|
|
6370
|
-
delete?: never;
|
|
6371
|
-
options?: never;
|
|
6372
|
-
head?: never;
|
|
6373
|
-
patch?: never;
|
|
6374
|
-
trace?: never;
|
|
6375
|
-
};
|
|
6376
|
-
"/api/system-messages/{id}": {
|
|
6377
|
-
parameters: {
|
|
6378
|
-
query?: never;
|
|
6379
|
-
header?: never;
|
|
6380
|
-
path?: never;
|
|
6381
|
-
cookie?: never;
|
|
6382
|
-
};
|
|
6383
|
-
/** 🛡️ Get a system message's per-project delivery and ack status */
|
|
6384
|
-
get: operations["getSystemMessage"];
|
|
6385
|
-
put?: never;
|
|
6386
|
-
post?: never;
|
|
6387
|
-
delete?: never;
|
|
6388
|
-
options?: never;
|
|
6389
|
-
head?: never;
|
|
6390
|
-
patch?: never;
|
|
6391
|
-
trace?: never;
|
|
6392
|
-
};
|
|
6393
|
-
"/api/system-messages/{id}/ack": {
|
|
6394
|
-
parameters: {
|
|
6395
|
-
query?: never;
|
|
6396
|
-
header?: never;
|
|
6397
|
-
path?: never;
|
|
6398
|
-
cookie?: never;
|
|
6399
|
-
};
|
|
6400
|
-
get?: never;
|
|
6401
|
-
put?: never;
|
|
6402
|
-
/**
|
|
6403
|
-
* Acknowledge a system message from a manager session
|
|
6404
|
-
* @description Records the calling manager session's acknowledgement for its project. Any manager session of the project may ack, so a successor can answer a message its predecessor received. Re-acking overwrites the previous status and note.
|
|
6405
|
-
*/
|
|
6406
|
-
post: operations["ackSystemMessage"];
|
|
6407
|
-
delete?: never;
|
|
6408
|
-
options?: never;
|
|
6409
|
-
head?: never;
|
|
6410
|
-
patch?: never;
|
|
6411
|
-
trace?: never;
|
|
6412
|
-
};
|
|
6413
6355
|
"/api/tasks/{id}/chat-sessions": {
|
|
6414
6356
|
parameters: {
|
|
6415
6357
|
query?: never;
|
|
@@ -6424,8 +6366,8 @@ export interface paths {
|
|
|
6424
6366
|
get: operations["listTaskChatSessions"];
|
|
6425
6367
|
put?: never;
|
|
6426
6368
|
/**
|
|
6427
|
-
*
|
|
6428
|
-
* @description Starts a
|
|
6369
|
+
* 🛡️ Create a chat session for a task
|
|
6370
|
+
* @description Starts a chat session that works on the task. Its first message points the agent at the task and the `empirical-tasks` skill, followed by any `initial_prompt`. A service's session belongs to the person the task is for, or to the platform.
|
|
6429
6371
|
*/
|
|
6430
6372
|
post: operations["createTaskChatSession"];
|
|
6431
6373
|
delete?: never;
|
|
@@ -6842,20 +6784,6 @@ export interface paths {
|
|
|
6842
6784
|
export type webhooks = Record<string, never>;
|
|
6843
6785
|
export interface components {
|
|
6844
6786
|
schemas: {
|
|
6845
|
-
AckSystemMessageRequest: {
|
|
6846
|
-
/** @enum {string} */
|
|
6847
|
-
status: "accepted" | "declined";
|
|
6848
|
-
note?: string;
|
|
6849
|
-
};
|
|
6850
|
-
AckSystemMessageResponse: {
|
|
6851
|
-
data: {
|
|
6852
|
-
system_message_id: number;
|
|
6853
|
-
project_id: number;
|
|
6854
|
-
/** @enum {string} */
|
|
6855
|
-
ack_status: "accepted" | "declined";
|
|
6856
|
-
acked_at: string;
|
|
6857
|
-
};
|
|
6858
|
-
};
|
|
6859
6787
|
ActivityDay: {
|
|
6860
6788
|
/** @description Local date, YYYY-MM-DD. */
|
|
6861
6789
|
date: string;
|
|
@@ -8343,16 +8271,9 @@ export interface components {
|
|
|
8343
8271
|
/** @description ID of the test run this snooze was created from, if applicable. */
|
|
8344
8272
|
created_from_test_run_id?: string | number;
|
|
8345
8273
|
};
|
|
8346
|
-
|
|
8274
|
+
CreateTaskCommentRequest: {
|
|
8275
|
+
/** @description Comment text (Markdown). */
|
|
8347
8276
|
body: string;
|
|
8348
|
-
project_ids?: number[];
|
|
8349
|
-
};
|
|
8350
|
-
CreateSystemMessageResponse: {
|
|
8351
|
-
data: {
|
|
8352
|
-
system_message: components["schemas"]["SystemMessage"];
|
|
8353
|
-
recipients: components["schemas"]["SystemMessageRecipient"][];
|
|
8354
|
-
skipped_project_ids: number[];
|
|
8355
|
-
};
|
|
8356
8277
|
};
|
|
8357
8278
|
CreateTaskError: {
|
|
8358
8279
|
/** @description Always null for error responses. */
|
|
@@ -8378,8 +8299,8 @@ export interface components {
|
|
|
8378
8299
|
* @description Initial status; defaults to `open`.
|
|
8379
8300
|
* @enum {string}
|
|
8380
8301
|
*/
|
|
8381
|
-
status?: "
|
|
8382
|
-
/** @description User ID of the person the task is for. Defaults to the signed-in user
|
|
8302
|
+
status?: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed";
|
|
8303
|
+
/** @description User ID of the person the task is for. Defaults to the signed-in user. A service may leave it out to make the task owed to the platform. */
|
|
8383
8304
|
created_by?: string;
|
|
8384
8305
|
};
|
|
8385
8306
|
CreateTaskResponse: {
|
|
@@ -10190,6 +10111,8 @@ export interface components {
|
|
|
10190
10111
|
runtime: "sandbox" | "worker";
|
|
10191
10112
|
/** @description Model the `@latest` version pins, before any override. */
|
|
10192
10113
|
model: string;
|
|
10114
|
+
/** @description Whether a session created without `agent` runs this agent, for the project in `x-project-id` (or the default project). */
|
|
10115
|
+
is_default: boolean;
|
|
10193
10116
|
};
|
|
10194
10117
|
HiveAgentsResponse: {
|
|
10195
10118
|
/** @description Response payload. */
|
|
@@ -11089,36 +11012,6 @@ export interface components {
|
|
|
11089
11012
|
summary: components["schemas"]["MemoryChangeSummary"];
|
|
11090
11013
|
};
|
|
11091
11014
|
};
|
|
11092
|
-
MemoryClassification: {
|
|
11093
|
-
memory_id: number;
|
|
11094
|
-
/** @description Memory version number the labels apply to (v1 = create). */
|
|
11095
|
-
version: number;
|
|
11096
|
-
vocabulary_version: number;
|
|
11097
|
-
project_id: number;
|
|
11098
|
-
/** @description JEV model that answered, e.g. "jev-1.13.0". */
|
|
11099
|
-
model: string;
|
|
11100
|
-
retention: string;
|
|
11101
|
-
retention_confidence: number;
|
|
11102
|
-
subject: string;
|
|
11103
|
-
subject_confidence: number;
|
|
11104
|
-
role: string;
|
|
11105
|
-
role_confidence: number;
|
|
11106
|
-
/** @description Per-option probabilities for each axis. */
|
|
11107
|
-
probabilities: {
|
|
11108
|
-
[key: string]: {
|
|
11109
|
-
[key: string]: number;
|
|
11110
|
-
};
|
|
11111
|
-
};
|
|
11112
|
-
/** @description ISO 8601 timestamp. */
|
|
11113
|
-
classified_at: string;
|
|
11114
|
-
};
|
|
11115
|
-
MemoryClassificationsResponse: {
|
|
11116
|
-
/** @description Response payload. */
|
|
11117
|
-
data: {
|
|
11118
|
-
vocabulary_version: number;
|
|
11119
|
-
classifications: components["schemas"]["MemoryClassification"][];
|
|
11120
|
-
};
|
|
11121
|
-
};
|
|
11122
11015
|
MemoryDeleteResponse: {
|
|
11123
11016
|
/** @description Response payload. */
|
|
11124
11017
|
data: {
|
|
@@ -11141,17 +11034,6 @@ export interface components {
|
|
|
11141
11034
|
};
|
|
11142
11035
|
pagination: components["schemas"]["Pagination"];
|
|
11143
11036
|
};
|
|
11144
|
-
MemoryReadUsage: {
|
|
11145
|
-
/** @description Live memory the name resolves to now, or null if it was renamed or deleted since. */
|
|
11146
|
-
memory_id: number | null;
|
|
11147
|
-
name: string;
|
|
11148
|
-
/** @description read_memory calls. */
|
|
11149
|
-
reads: number;
|
|
11150
|
-
/** @description Distinct sessions that read it. */
|
|
11151
|
-
sessions: number;
|
|
11152
|
-
/** @description UTC day, YYYY-MM-DD. */
|
|
11153
|
-
last_read: string;
|
|
11154
|
-
};
|
|
11155
11037
|
MemoryResponse: {
|
|
11156
11038
|
/** @description Response payload. */
|
|
11157
11039
|
data: {
|
|
@@ -11162,8 +11044,6 @@ export interface components {
|
|
|
11162
11044
|
/** @description Response payload. */
|
|
11163
11045
|
data: {
|
|
11164
11046
|
days: number;
|
|
11165
|
-
/** @description Most read memories (read_memory calls counted by Hive from agent sessions), or null when Hive is unavailable. */
|
|
11166
|
-
most_read: components["schemas"]["MemoryReadUsage"][] | null;
|
|
11167
11047
|
most_edited: components["schemas"]["MemoryEditUsage"][];
|
|
11168
11048
|
};
|
|
11169
11049
|
};
|
|
@@ -11252,13 +11132,10 @@ export interface components {
|
|
|
11252
11132
|
blocked: boolean;
|
|
11253
11133
|
reason: string;
|
|
11254
11134
|
model: string | null;
|
|
11255
|
-
vocabulary_version: number | null;
|
|
11256
11135
|
retention: string | null;
|
|
11257
11136
|
retention_confidence: number | null;
|
|
11258
11137
|
/** @description Probability of the failure/incident retention class; the write is rejected at or above the gate's threshold. */
|
|
11259
11138
|
failure_incident_probability: number | null;
|
|
11260
|
-
subject: string | null;
|
|
11261
|
-
role: string | null;
|
|
11262
11139
|
} | null;
|
|
11263
11140
|
};
|
|
11264
11141
|
};
|
|
@@ -11277,13 +11154,10 @@ export interface components {
|
|
|
11277
11154
|
blocked: boolean;
|
|
11278
11155
|
reason: string;
|
|
11279
11156
|
model: string | null;
|
|
11280
|
-
vocabulary_version: number | null;
|
|
11281
11157
|
retention: string | null;
|
|
11282
11158
|
retention_confidence: number | null;
|
|
11283
11159
|
/** @description Probability of the failure/incident retention class; the write is rejected at or above the gate's threshold. */
|
|
11284
11160
|
failure_incident_probability: number | null;
|
|
11285
|
-
subject: string | null;
|
|
11286
|
-
role: string | null;
|
|
11287
11161
|
};
|
|
11288
11162
|
MergeBranchesResponse: {
|
|
11289
11163
|
/** @description Response payload. */
|
|
@@ -13553,39 +13427,6 @@ export interface components {
|
|
|
13553
13427
|
/** @description Branch names the sandbox must not push to. */
|
|
13554
13428
|
branches: string[];
|
|
13555
13429
|
};
|
|
13556
|
-
SandboxSnapshot: {
|
|
13557
|
-
/** @description Snapshot row ID. */
|
|
13558
|
-
id: number;
|
|
13559
|
-
/** @description Project the snapshot belongs to, or null. */
|
|
13560
|
-
project_id: number | null;
|
|
13561
|
-
/** @description Sandbox provider (e.g. `e2b`). */
|
|
13562
|
-
provider: string;
|
|
13563
|
-
/** @description Snapshot source identifier. */
|
|
13564
|
-
source_name: string;
|
|
13565
|
-
/** @description Playwright version the snapshot was built with. */
|
|
13566
|
-
playwright_version: string;
|
|
13567
|
-
/** @description Hash of the package lockfile, if known. */
|
|
13568
|
-
package_lock_hash: string | null;
|
|
13569
|
-
/** @description Base branch the snapshot was built from. */
|
|
13570
|
-
base_branch: string | null;
|
|
13571
|
-
/** @description Base template the snapshot was built from. */
|
|
13572
|
-
base_template: string | null;
|
|
13573
|
-
/** @description Head commit SHA the snapshot was built from. */
|
|
13574
|
-
head_sha: string | null;
|
|
13575
|
-
/** @description ISO 8601 creation timestamp. */
|
|
13576
|
-
created_at: string;
|
|
13577
|
-
/** @description ISO 8601 last-update timestamp. */
|
|
13578
|
-
updated_at: string;
|
|
13579
|
-
} | null;
|
|
13580
|
-
SandboxSnapshotSourcesUpsertResponse: {
|
|
13581
|
-
/** @description Response payload. */
|
|
13582
|
-
data: {
|
|
13583
|
-
/** @description Number of sources upserted. */
|
|
13584
|
-
source_count: number;
|
|
13585
|
-
/** @description The upserted snapshot source rows. */
|
|
13586
|
-
sources: components["schemas"]["SandboxSnapshot"][];
|
|
13587
|
-
};
|
|
13588
|
-
};
|
|
13589
13430
|
ScheduleSnoozeExpiryRequest: {
|
|
13590
13431
|
/** @description ID of the snooze whose expiry alarm to register. */
|
|
13591
13432
|
snooze_id: number;
|
|
@@ -13875,14 +13716,6 @@ export interface components {
|
|
|
13875
13716
|
};
|
|
13876
13717
|
};
|
|
13877
13718
|
};
|
|
13878
|
-
} | {
|
|
13879
|
-
/** @enum {string} */
|
|
13880
|
-
kind: "system_message";
|
|
13881
|
-
delivery: {
|
|
13882
|
-
id: number;
|
|
13883
|
-
message: string;
|
|
13884
|
-
ack_instructions: string;
|
|
13885
|
-
};
|
|
13886
13719
|
};
|
|
13887
13720
|
rpcCommandId?: string;
|
|
13888
13721
|
};
|
|
@@ -14632,47 +14465,6 @@ export interface components {
|
|
|
14632
14465
|
}[];
|
|
14633
14466
|
};
|
|
14634
14467
|
};
|
|
14635
|
-
SystemMessage: {
|
|
14636
|
-
id: number;
|
|
14637
|
-
body: string;
|
|
14638
|
-
created_by: string | null;
|
|
14639
|
-
created_at: string;
|
|
14640
|
-
};
|
|
14641
|
-
SystemMessageDetailResponse: {
|
|
14642
|
-
data: {
|
|
14643
|
-
system_message: components["schemas"]["SystemMessage"];
|
|
14644
|
-
recipients: components["schemas"]["SystemMessageRecipient"][];
|
|
14645
|
-
};
|
|
14646
|
-
};
|
|
14647
|
-
SystemMessageListResponse: {
|
|
14648
|
-
data: {
|
|
14649
|
-
system_messages: components["schemas"]["SystemMessageSummary"][];
|
|
14650
|
-
};
|
|
14651
|
-
};
|
|
14652
|
-
SystemMessageRecipient: {
|
|
14653
|
-
project_id: number;
|
|
14654
|
-
chat_session_id: number | null;
|
|
14655
|
-
/** @enum {string} */
|
|
14656
|
-
delivery_status: "pending" | "delivered" | "failed";
|
|
14657
|
-
delivery_error: string | null;
|
|
14658
|
-
delivered_at: string | null;
|
|
14659
|
-
/** @enum {string|null} */
|
|
14660
|
-
ack_status: "accepted" | "declined" | null;
|
|
14661
|
-
ack_note: string | null;
|
|
14662
|
-
acked_at: string | null;
|
|
14663
|
-
acked_by_chat_session_id: number | null;
|
|
14664
|
-
session_is_closed: boolean | null;
|
|
14665
|
-
};
|
|
14666
|
-
SystemMessageSummary: {
|
|
14667
|
-
id: number;
|
|
14668
|
-
body: string;
|
|
14669
|
-
created_by: string | null;
|
|
14670
|
-
created_at: string;
|
|
14671
|
-
recipients: number;
|
|
14672
|
-
delivered: number;
|
|
14673
|
-
failed: number;
|
|
14674
|
-
acked: number;
|
|
14675
|
-
};
|
|
14676
14468
|
Task: {
|
|
14677
14469
|
/** @description Unique identifier for the task. */
|
|
14678
14470
|
id: number;
|
|
@@ -14687,13 +14479,78 @@ export interface components {
|
|
|
14687
14479
|
source: string;
|
|
14688
14480
|
/** @description Identifier of the task in its source system. */
|
|
14689
14481
|
source_identifier: string;
|
|
14690
|
-
/** @description User ID of the person the task is owed to. `null`
|
|
14482
|
+
/** @description User ID of the person the task is owed to. `null` means it is owed to the platform. */
|
|
14691
14483
|
created_by: string | null;
|
|
14692
14484
|
/** @description ISO 8601 timestamp of when the task was created. */
|
|
14693
14485
|
created_at: string;
|
|
14694
14486
|
/** @description ISO 8601 timestamp of when the task was last updated. */
|
|
14695
14487
|
updated_at: string;
|
|
14696
14488
|
};
|
|
14489
|
+
TaskActivity: {
|
|
14490
|
+
/** @description Activity entry ID. */
|
|
14491
|
+
id: number;
|
|
14492
|
+
/** @description Task the entry is on. */
|
|
14493
|
+
task_id: number;
|
|
14494
|
+
/** @description User who wrote it. `null` for an agent (see `created_by_chat_session_id`) or the platform. */
|
|
14495
|
+
created_by: string | null;
|
|
14496
|
+
/** @description Chat session of the agent that wrote it, if an agent did. */
|
|
14497
|
+
created_by_chat_session_id: number | null;
|
|
14498
|
+
/** @description Comment, or the note on a status change (Markdown). */
|
|
14499
|
+
body: string | null;
|
|
14500
|
+
/**
|
|
14501
|
+
* @description Status before the change; `null` for a plain comment.
|
|
14502
|
+
* @enum {string|null}
|
|
14503
|
+
*/
|
|
14504
|
+
status_from: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14505
|
+
/**
|
|
14506
|
+
* @description Status after the change; `null` for a plain comment.
|
|
14507
|
+
* @enum {string|null}
|
|
14508
|
+
*/
|
|
14509
|
+
status_to: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14510
|
+
/** @description ISO 8601 timestamp of when the entry was written. */
|
|
14511
|
+
created_at: string;
|
|
14512
|
+
};
|
|
14513
|
+
TaskActivityListResponse: {
|
|
14514
|
+
/** @description Response payload. */
|
|
14515
|
+
data: {
|
|
14516
|
+
activity: components["schemas"]["TaskActivityWithCreator"][];
|
|
14517
|
+
};
|
|
14518
|
+
};
|
|
14519
|
+
TaskActivityWithCreator: {
|
|
14520
|
+
/** @description Activity entry ID. */
|
|
14521
|
+
id: number;
|
|
14522
|
+
/** @description Task the entry is on. */
|
|
14523
|
+
task_id: number;
|
|
14524
|
+
/** @description User who wrote it. `null` for an agent (see `created_by_chat_session_id`) or the platform. */
|
|
14525
|
+
created_by: string | null;
|
|
14526
|
+
/** @description Chat session of the agent that wrote it, if an agent did. */
|
|
14527
|
+
created_by_chat_session_id: number | null;
|
|
14528
|
+
/** @description Comment, or the note on a status change (Markdown). */
|
|
14529
|
+
body: string | null;
|
|
14530
|
+
/**
|
|
14531
|
+
* @description Status before the change; `null` for a plain comment.
|
|
14532
|
+
* @enum {string|null}
|
|
14533
|
+
*/
|
|
14534
|
+
status_from: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14535
|
+
/**
|
|
14536
|
+
* @description Status after the change; `null` for a plain comment.
|
|
14537
|
+
* @enum {string|null}
|
|
14538
|
+
*/
|
|
14539
|
+
status_to: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14540
|
+
/** @description ISO 8601 timestamp of when the entry was written. */
|
|
14541
|
+
created_at: string;
|
|
14542
|
+
/** @description Details of the user who wrote it, when a user did. */
|
|
14543
|
+
created_by_user_detail?: {
|
|
14544
|
+
/** @description User ID. */
|
|
14545
|
+
id: string;
|
|
14546
|
+
/** @description User email address. */
|
|
14547
|
+
email: string;
|
|
14548
|
+
/** @description User display name. */
|
|
14549
|
+
name: string;
|
|
14550
|
+
/** @description URL to user avatar image. */
|
|
14551
|
+
picture: string;
|
|
14552
|
+
} | null;
|
|
14553
|
+
};
|
|
14697
14554
|
TaskChatSession: {
|
|
14698
14555
|
/** @description Chat session ID. */
|
|
14699
14556
|
id: number;
|
|
@@ -14770,6 +14627,12 @@ export interface components {
|
|
|
14770
14627
|
/** @description Chat sessions for the task. */
|
|
14771
14628
|
data: components["schemas"]["TaskChatSessionWithUser"][];
|
|
14772
14629
|
};
|
|
14630
|
+
TaskCommentResponse: {
|
|
14631
|
+
/** @description Response payload. */
|
|
14632
|
+
data: {
|
|
14633
|
+
activity: components["schemas"]["TaskActivity"];
|
|
14634
|
+
};
|
|
14635
|
+
};
|
|
14773
14636
|
TaskListResponse: {
|
|
14774
14637
|
/** @description The page of tasks. */
|
|
14775
14638
|
data: {
|
|
@@ -14790,10 +14653,10 @@ export interface components {
|
|
|
14790
14653
|
};
|
|
14791
14654
|
};
|
|
14792
14655
|
/**
|
|
14793
|
-
* @description
|
|
14656
|
+
* @description `open`: asked for, nobody is working on it yet. `in-progress`: someone is working on it. `blocked`: cannot continue without a person; say what is needed. `in-review`: the change is ready, e.g. a pull request is open. `resolved`: done, e.g. the pull request is merged. `closed`: dropped without doing it; say why. `resolved` and `closed` are terminal.
|
|
14794
14657
|
* @enum {string}
|
|
14795
14658
|
*/
|
|
14796
|
-
TaskStatus: "
|
|
14659
|
+
TaskStatus: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed";
|
|
14797
14660
|
TaskWithCreator: {
|
|
14798
14661
|
/** @description Unique identifier for the task. */
|
|
14799
14662
|
id: number;
|
|
@@ -14808,7 +14671,7 @@ export interface components {
|
|
|
14808
14671
|
source: string;
|
|
14809
14672
|
/** @description Identifier of the task in its source system. */
|
|
14810
14673
|
source_identifier: string;
|
|
14811
|
-
/** @description User ID of the person the task is owed to. `null`
|
|
14674
|
+
/** @description User ID of the person the task is owed to. `null` means it is owed to the platform. */
|
|
14812
14675
|
created_by: string | null;
|
|
14813
14676
|
/** @description ISO 8601 timestamp of when the task was created. */
|
|
14814
14677
|
created_at: string;
|
|
@@ -16530,10 +16393,12 @@ export interface components {
|
|
|
16530
16393
|
/** @description New task description (Markdown). */
|
|
16531
16394
|
description?: string;
|
|
16532
16395
|
/**
|
|
16533
|
-
* @description New task status.
|
|
16396
|
+
* @description New task status.
|
|
16534
16397
|
* @enum {string}
|
|
16535
16398
|
*/
|
|
16536
|
-
status?: "
|
|
16399
|
+
status?: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed";
|
|
16400
|
+
/** @description Why the status changed, shown in the task's activity. Say what is needed when moving to `blocked`, and why when moving to `closed`. */
|
|
16401
|
+
note?: string;
|
|
16537
16402
|
};
|
|
16538
16403
|
UpdateTestCaseTagsRequest: {
|
|
16539
16404
|
/** @description Array of tags to assign to the test case. */
|
|
@@ -16599,30 +16464,6 @@ export interface components {
|
|
|
16599
16464
|
/** @description Signing secret, if set. */
|
|
16600
16465
|
secret: string | null;
|
|
16601
16466
|
};
|
|
16602
|
-
UpsertSandboxSnapshotSourcesRequest: {
|
|
16603
|
-
/** @description Snapshot sources to upsert (at least one). */
|
|
16604
|
-
sources: {
|
|
16605
|
-
/** @description Project the source belongs to, or null if generic. */
|
|
16606
|
-
project_id: number | null;
|
|
16607
|
-
/**
|
|
16608
|
-
* @description Sandbox provider.
|
|
16609
|
-
* @enum {string}
|
|
16610
|
-
*/
|
|
16611
|
-
provider: "e2b" | "docker" | "vercel";
|
|
16612
|
-
/** @description Snapshot source identifier (e.g. template ID). */
|
|
16613
|
-
source_name: string;
|
|
16614
|
-
/** @description Playwright version the snapshot was built with. */
|
|
16615
|
-
playwright_version: string;
|
|
16616
|
-
/** @description Base template the source was built from. */
|
|
16617
|
-
base_template: string;
|
|
16618
|
-
/** @description Hash of the package lockfile, if known. */
|
|
16619
|
-
package_lock_hash?: string | null;
|
|
16620
|
-
/** @description Base branch the snapshot was built from, if known. */
|
|
16621
|
-
base_branch?: string | null;
|
|
16622
|
-
/** @description Head commit SHA the snapshot was built from. */
|
|
16623
|
-
head_sha?: string | null;
|
|
16624
|
-
}[];
|
|
16625
|
-
};
|
|
16626
16467
|
UpsertTriageStatusRequest: {
|
|
16627
16468
|
/** @description The run in which this failure was observed. */
|
|
16628
16469
|
test_run_id: number;
|
|
@@ -23431,7 +23272,7 @@ export interface operations {
|
|
|
23431
23272
|
"application/json": components["schemas"]["CreateTaskResponse"];
|
|
23432
23273
|
};
|
|
23433
23274
|
};
|
|
23434
|
-
/** @description Missing required fields,
|
|
23275
|
+
/** @description Missing required fields, or a created_by outside the project. */
|
|
23435
23276
|
400: {
|
|
23436
23277
|
headers: {
|
|
23437
23278
|
[name: string]: unknown;
|
|
@@ -23587,6 +23428,74 @@ export interface operations {
|
|
|
23587
23428
|
};
|
|
23588
23429
|
};
|
|
23589
23430
|
};
|
|
23431
|
+
listTaskActivity: {
|
|
23432
|
+
parameters: {
|
|
23433
|
+
query?: never;
|
|
23434
|
+
header?: never;
|
|
23435
|
+
path: {
|
|
23436
|
+
/** @description Task ID. */
|
|
23437
|
+
id: number;
|
|
23438
|
+
};
|
|
23439
|
+
cookie?: never;
|
|
23440
|
+
};
|
|
23441
|
+
requestBody?: never;
|
|
23442
|
+
responses: {
|
|
23443
|
+
/** @description The task's activity. */
|
|
23444
|
+
200: {
|
|
23445
|
+
headers: {
|
|
23446
|
+
[name: string]: unknown;
|
|
23447
|
+
};
|
|
23448
|
+
content: {
|
|
23449
|
+
"application/json": components["schemas"]["TaskActivityListResponse"];
|
|
23450
|
+
};
|
|
23451
|
+
};
|
|
23452
|
+
/** @description Task not found. */
|
|
23453
|
+
404: {
|
|
23454
|
+
headers: {
|
|
23455
|
+
[name: string]: unknown;
|
|
23456
|
+
};
|
|
23457
|
+
content: {
|
|
23458
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23459
|
+
};
|
|
23460
|
+
};
|
|
23461
|
+
};
|
|
23462
|
+
};
|
|
23463
|
+
createTaskComment: {
|
|
23464
|
+
parameters: {
|
|
23465
|
+
query?: never;
|
|
23466
|
+
header?: never;
|
|
23467
|
+
path: {
|
|
23468
|
+
/** @description Task ID. */
|
|
23469
|
+
id: number;
|
|
23470
|
+
};
|
|
23471
|
+
cookie?: never;
|
|
23472
|
+
};
|
|
23473
|
+
requestBody?: {
|
|
23474
|
+
content: {
|
|
23475
|
+
"application/json": components["schemas"]["CreateTaskCommentRequest"];
|
|
23476
|
+
};
|
|
23477
|
+
};
|
|
23478
|
+
responses: {
|
|
23479
|
+
/** @description The new comment. */
|
|
23480
|
+
201: {
|
|
23481
|
+
headers: {
|
|
23482
|
+
[name: string]: unknown;
|
|
23483
|
+
};
|
|
23484
|
+
content: {
|
|
23485
|
+
"application/json": components["schemas"]["TaskCommentResponse"];
|
|
23486
|
+
};
|
|
23487
|
+
};
|
|
23488
|
+
/** @description Task not found. */
|
|
23489
|
+
404: {
|
|
23490
|
+
headers: {
|
|
23491
|
+
[name: string]: unknown;
|
|
23492
|
+
};
|
|
23493
|
+
content: {
|
|
23494
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23495
|
+
};
|
|
23496
|
+
};
|
|
23497
|
+
};
|
|
23498
|
+
};
|
|
23590
23499
|
compareTraceAgainstPass: {
|
|
23591
23500
|
parameters: {
|
|
23592
23501
|
query?: never;
|
|
@@ -24905,7 +24814,7 @@ export interface operations {
|
|
|
24905
24814
|
content: {
|
|
24906
24815
|
"application/json": {
|
|
24907
24816
|
message?: string | null;
|
|
24908
|
-
/** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main@
|
|
24817
|
+
/** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main-worker@2`. Defaults to `main-worker`. Rejected with a 400 when Hive does not serve that agent or version, or when it runs on the retired sandbox runtime. The agent version decides the runtime, model, tools and prompt; `model` still overrides its model. List agents with `GET /api/hive/agents`. */
|
|
24909
24818
|
agent?: string | null;
|
|
24910
24819
|
/**
|
|
24911
24820
|
* @deprecated
|
|
@@ -28107,6 +28016,24 @@ export interface operations {
|
|
|
28107
28016
|
"application/json": components["schemas"]["HiveAgentsResponse"];
|
|
28108
28017
|
};
|
|
28109
28018
|
};
|
|
28019
|
+
/** @description The `x-project-id` header is invalid. */
|
|
28020
|
+
400: {
|
|
28021
|
+
headers: {
|
|
28022
|
+
[name: string]: unknown;
|
|
28023
|
+
};
|
|
28024
|
+
content: {
|
|
28025
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28026
|
+
};
|
|
28027
|
+
};
|
|
28028
|
+
/** @description The project in `x-project-id` was not found. */
|
|
28029
|
+
404: {
|
|
28030
|
+
headers: {
|
|
28031
|
+
[name: string]: unknown;
|
|
28032
|
+
};
|
|
28033
|
+
content: {
|
|
28034
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28035
|
+
};
|
|
28036
|
+
};
|
|
28110
28037
|
/** @description Hive is not configured or the request failed. */
|
|
28111
28038
|
500: {
|
|
28112
28039
|
headers: {
|
|
@@ -30654,46 +30581,12 @@ export interface operations {
|
|
|
30654
30581
|
};
|
|
30655
30582
|
};
|
|
30656
30583
|
};
|
|
30657
|
-
listMemoryClassifications: {
|
|
30658
|
-
parameters: {
|
|
30659
|
-
query?: {
|
|
30660
|
-
/** @description Limit to memories in this project. Defaults to all projects. */
|
|
30661
|
-
project_id?: number;
|
|
30662
|
-
/** @description Vocabulary version to read labels for. Defaults to the current vocabulary. */
|
|
30663
|
-
vocabulary_version?: number;
|
|
30664
|
-
};
|
|
30665
|
-
header?: never;
|
|
30666
|
-
path?: never;
|
|
30667
|
-
cookie?: never;
|
|
30668
|
-
};
|
|
30669
|
-
requestBody?: never;
|
|
30670
|
-
responses: {
|
|
30671
|
-
/** @description Memory classifications. */
|
|
30672
|
-
200: {
|
|
30673
|
-
headers: {
|
|
30674
|
-
[name: string]: unknown;
|
|
30675
|
-
};
|
|
30676
|
-
content: {
|
|
30677
|
-
"application/json": components["schemas"]["MemoryClassificationsResponse"];
|
|
30678
|
-
};
|
|
30679
|
-
};
|
|
30680
|
-
/** @description Invalid request. */
|
|
30681
|
-
400: {
|
|
30682
|
-
headers: {
|
|
30683
|
-
[name: string]: unknown;
|
|
30684
|
-
};
|
|
30685
|
-
content: {
|
|
30686
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
30687
|
-
};
|
|
30688
|
-
};
|
|
30689
|
-
};
|
|
30690
|
-
};
|
|
30691
30584
|
getMemoryUsage: {
|
|
30692
30585
|
parameters: {
|
|
30693
30586
|
query?: {
|
|
30694
30587
|
/** @description Window in days back from now. Defaults to 7. */
|
|
30695
30588
|
days?: number;
|
|
30696
|
-
/** @description Rows per list. Defaults to 10. */
|
|
30589
|
+
/** @description Rows per list, up to 500. Defaults to 10. */
|
|
30697
30590
|
limit?: number;
|
|
30698
30591
|
};
|
|
30699
30592
|
header?: never;
|
|
@@ -34276,178 +34169,6 @@ export interface operations {
|
|
|
34276
34169
|
};
|
|
34277
34170
|
};
|
|
34278
34171
|
};
|
|
34279
|
-
upsertSandboxSnapshotSources: {
|
|
34280
|
-
parameters: {
|
|
34281
|
-
query?: never;
|
|
34282
|
-
header?: never;
|
|
34283
|
-
path?: never;
|
|
34284
|
-
cookie?: never;
|
|
34285
|
-
};
|
|
34286
|
-
requestBody?: {
|
|
34287
|
-
content: {
|
|
34288
|
-
"application/json": components["schemas"]["UpsertSandboxSnapshotSourcesRequest"];
|
|
34289
|
-
};
|
|
34290
|
-
};
|
|
34291
|
-
responses: {
|
|
34292
|
-
/** @description The upserted sources. */
|
|
34293
|
-
200: {
|
|
34294
|
-
headers: {
|
|
34295
|
-
[name: string]: unknown;
|
|
34296
|
-
};
|
|
34297
|
-
content: {
|
|
34298
|
-
"application/json": components["schemas"]["SandboxSnapshotSourcesUpsertResponse"];
|
|
34299
|
-
};
|
|
34300
|
-
};
|
|
34301
|
-
/** @description Invalid request. */
|
|
34302
|
-
400: {
|
|
34303
|
-
headers: {
|
|
34304
|
-
[name: string]: unknown;
|
|
34305
|
-
};
|
|
34306
|
-
content: {
|
|
34307
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34308
|
-
};
|
|
34309
|
-
};
|
|
34310
|
-
};
|
|
34311
|
-
};
|
|
34312
|
-
listSystemMessages: {
|
|
34313
|
-
parameters: {
|
|
34314
|
-
query?: {
|
|
34315
|
-
limit?: number;
|
|
34316
|
-
};
|
|
34317
|
-
header?: never;
|
|
34318
|
-
path?: never;
|
|
34319
|
-
cookie?: never;
|
|
34320
|
-
};
|
|
34321
|
-
requestBody?: never;
|
|
34322
|
-
responses: {
|
|
34323
|
-
/** @description Recent system messages, newest first. */
|
|
34324
|
-
200: {
|
|
34325
|
-
headers: {
|
|
34326
|
-
[name: string]: unknown;
|
|
34327
|
-
};
|
|
34328
|
-
content: {
|
|
34329
|
-
"application/json": components["schemas"]["SystemMessageListResponse"];
|
|
34330
|
-
};
|
|
34331
|
-
};
|
|
34332
|
-
};
|
|
34333
|
-
};
|
|
34334
|
-
createSystemMessage: {
|
|
34335
|
-
parameters: {
|
|
34336
|
-
query?: never;
|
|
34337
|
-
header?: never;
|
|
34338
|
-
path?: never;
|
|
34339
|
-
cookie?: never;
|
|
34340
|
-
};
|
|
34341
|
-
requestBody?: {
|
|
34342
|
-
content: {
|
|
34343
|
-
"application/json": components["schemas"]["CreateSystemMessageRequest"];
|
|
34344
|
-
};
|
|
34345
|
-
};
|
|
34346
|
-
responses: {
|
|
34347
|
-
/** @description The message and its per-project delivery. */
|
|
34348
|
-
200: {
|
|
34349
|
-
headers: {
|
|
34350
|
-
[name: string]: unknown;
|
|
34351
|
-
};
|
|
34352
|
-
content: {
|
|
34353
|
-
"application/json": components["schemas"]["CreateSystemMessageResponse"];
|
|
34354
|
-
};
|
|
34355
|
-
};
|
|
34356
|
-
/** @description A listed project does not exist. */
|
|
34357
|
-
400: {
|
|
34358
|
-
headers: {
|
|
34359
|
-
[name: string]: unknown;
|
|
34360
|
-
};
|
|
34361
|
-
content: {
|
|
34362
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34363
|
-
};
|
|
34364
|
-
};
|
|
34365
|
-
/** @description Broadcast requested but no project has an open manager session. */
|
|
34366
|
-
422: {
|
|
34367
|
-
headers: {
|
|
34368
|
-
[name: string]: unknown;
|
|
34369
|
-
};
|
|
34370
|
-
content: {
|
|
34371
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34372
|
-
};
|
|
34373
|
-
};
|
|
34374
|
-
};
|
|
34375
|
-
};
|
|
34376
|
-
getSystemMessage: {
|
|
34377
|
-
parameters: {
|
|
34378
|
-
query?: never;
|
|
34379
|
-
header?: never;
|
|
34380
|
-
path: {
|
|
34381
|
-
id: number;
|
|
34382
|
-
};
|
|
34383
|
-
cookie?: never;
|
|
34384
|
-
};
|
|
34385
|
-
requestBody?: never;
|
|
34386
|
-
responses: {
|
|
34387
|
-
/** @description The message and its per-project status. */
|
|
34388
|
-
200: {
|
|
34389
|
-
headers: {
|
|
34390
|
-
[name: string]: unknown;
|
|
34391
|
-
};
|
|
34392
|
-
content: {
|
|
34393
|
-
"application/json": components["schemas"]["SystemMessageDetailResponse"];
|
|
34394
|
-
};
|
|
34395
|
-
};
|
|
34396
|
-
/** @description System message not found. */
|
|
34397
|
-
404: {
|
|
34398
|
-
headers: {
|
|
34399
|
-
[name: string]: unknown;
|
|
34400
|
-
};
|
|
34401
|
-
content: {
|
|
34402
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34403
|
-
};
|
|
34404
|
-
};
|
|
34405
|
-
};
|
|
34406
|
-
};
|
|
34407
|
-
ackSystemMessage: {
|
|
34408
|
-
parameters: {
|
|
34409
|
-
query?: never;
|
|
34410
|
-
header?: never;
|
|
34411
|
-
path: {
|
|
34412
|
-
id: number;
|
|
34413
|
-
};
|
|
34414
|
-
cookie?: never;
|
|
34415
|
-
};
|
|
34416
|
-
requestBody?: {
|
|
34417
|
-
content: {
|
|
34418
|
-
"application/json": components["schemas"]["AckSystemMessageRequest"];
|
|
34419
|
-
};
|
|
34420
|
-
};
|
|
34421
|
-
responses: {
|
|
34422
|
-
/** @description The recorded acknowledgement. */
|
|
34423
|
-
200: {
|
|
34424
|
-
headers: {
|
|
34425
|
-
[name: string]: unknown;
|
|
34426
|
-
};
|
|
34427
|
-
content: {
|
|
34428
|
-
"application/json": components["schemas"]["AckSystemMessageResponse"];
|
|
34429
|
-
};
|
|
34430
|
-
};
|
|
34431
|
-
/** @description Caller is not a manager chat session. */
|
|
34432
|
-
403: {
|
|
34433
|
-
headers: {
|
|
34434
|
-
[name: string]: unknown;
|
|
34435
|
-
};
|
|
34436
|
-
content: {
|
|
34437
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34438
|
-
};
|
|
34439
|
-
};
|
|
34440
|
-
/** @description System message was not sent to this project. */
|
|
34441
|
-
404: {
|
|
34442
|
-
headers: {
|
|
34443
|
-
[name: string]: unknown;
|
|
34444
|
-
};
|
|
34445
|
-
content: {
|
|
34446
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34447
|
-
};
|
|
34448
|
-
};
|
|
34449
|
-
};
|
|
34450
|
-
};
|
|
34451
34172
|
listTaskChatSessions: {
|
|
34452
34173
|
parameters: {
|
|
34453
34174
|
query?: never;
|
|
@@ -34502,9 +34223,9 @@ export interface operations {
|
|
|
34502
34223
|
requestBody?: {
|
|
34503
34224
|
content: {
|
|
34504
34225
|
"application/json": {
|
|
34505
|
-
/** @description
|
|
34226
|
+
/** @description The task's project. Optional; the session is always in the task's project. */
|
|
34506
34227
|
project_id?: (number | string) | null;
|
|
34507
|
-
/** @description
|
|
34228
|
+
/** @description Extra instructions added after the pointer to the task. */
|
|
34508
34229
|
initial_prompt?: string | null;
|
|
34509
34230
|
/** @description Model to use for the chat session. */
|
|
34510
34231
|
model?: string | null;
|
|
@@ -34521,7 +34242,7 @@ export interface operations {
|
|
|
34521
34242
|
"application/json": components["schemas"]["TaskSessionResponse"];
|
|
34522
34243
|
};
|
|
34523
34244
|
};
|
|
34524
|
-
/** @description
|
|
34245
|
+
/** @description Invalid input. */
|
|
34525
34246
|
400: {
|
|
34526
34247
|
headers: {
|
|
34527
34248
|
[name: string]: unknown;
|
|
@@ -34530,7 +34251,16 @@ export interface operations {
|
|
|
34530
34251
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
34531
34252
|
};
|
|
34532
34253
|
};
|
|
34533
|
-
/** @description
|
|
34254
|
+
/** @description The project's billing blocks new sessions. */
|
|
34255
|
+
402: {
|
|
34256
|
+
headers: {
|
|
34257
|
+
[name: string]: unknown;
|
|
34258
|
+
};
|
|
34259
|
+
content: {
|
|
34260
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
34261
|
+
};
|
|
34262
|
+
};
|
|
34263
|
+
/** @description Task not found, or not in the given project. */
|
|
34534
34264
|
404: {
|
|
34535
34265
|
headers: {
|
|
34536
34266
|
[name: string]: unknown;
|