@empiricalrun/playwright-utils 0.66.0 → 0.66.2
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 +635 -459
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/test/constants.d.ts +1 -0
- package/dist/test/constants.d.ts.map +1 -1
- package/dist/test/constants.js +2 -1
- package/dist/test/cross-shard-locks.d.ts +1 -1
- package/dist/test/cross-shard-locks.d.ts.map +1 -1
- package/dist/test/cross-shard-locks.js +2 -2
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -462,11 +462,7 @@ export interface paths {
|
|
|
462
462
|
path?: never;
|
|
463
463
|
cookie?: never;
|
|
464
464
|
};
|
|
465
|
-
|
|
466
|
-
* ⚙️ Get a test run's delegated triage session
|
|
467
|
-
* @description Returns the newest delegated triage session whose source exactly matches the test run. Per-test fix sessions are excluded.
|
|
468
|
-
*/
|
|
469
|
-
get: operations["getTestRunTriageSession"];
|
|
465
|
+
get?: never;
|
|
470
466
|
put?: never;
|
|
471
467
|
/**
|
|
472
468
|
* ⚙️ Delegate a test run to triage
|
|
@@ -2169,8 +2165,8 @@ export interface paths {
|
|
|
2169
2165
|
get: operations["listTasks"];
|
|
2170
2166
|
put?: never;
|
|
2171
2167
|
/**
|
|
2172
|
-
*
|
|
2173
|
-
* @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.
|
|
2174
2170
|
*/
|
|
2175
2171
|
post: operations["createTask"];
|
|
2176
2172
|
delete?: never;
|
|
@@ -2194,7 +2190,7 @@ export interface paths {
|
|
|
2194
2190
|
put?: never;
|
|
2195
2191
|
post?: never;
|
|
2196
2192
|
/**
|
|
2197
|
-
*
|
|
2193
|
+
* 🛡️ Delete a task
|
|
2198
2194
|
* @description Permanently deletes a task.
|
|
2199
2195
|
*/
|
|
2200
2196
|
delete: operations["deleteTask"];
|
|
@@ -2202,11 +2198,51 @@ export interface paths {
|
|
|
2202
2198
|
head?: never;
|
|
2203
2199
|
/**
|
|
2204
2200
|
* 🤖 Update a task
|
|
2205
|
-
* @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.
|
|
2206
2202
|
*/
|
|
2207
2203
|
patch: operations["updateTask"];
|
|
2208
2204
|
trace?: never;
|
|
2209
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
|
+
};
|
|
2210
2246
|
"/api/traces/compare": {
|
|
2211
2247
|
parameters: {
|
|
2212
2248
|
query?: never;
|
|
@@ -2808,6 +2844,46 @@ export interface paths {
|
|
|
2808
2844
|
patch?: never;
|
|
2809
2845
|
trace?: never;
|
|
2810
2846
|
};
|
|
2847
|
+
"/api/chat-sessions/{id}/computers": {
|
|
2848
|
+
parameters: {
|
|
2849
|
+
query?: never;
|
|
2850
|
+
header?: never;
|
|
2851
|
+
path?: never;
|
|
2852
|
+
cookie?: never;
|
|
2853
|
+
};
|
|
2854
|
+
/**
|
|
2855
|
+
* ⚙️ List a session's computers
|
|
2856
|
+
* @description Lists the computers of a chat session that have a sandbox, with their lifecycle status. A computer appears once its sandbox is provisioned and disappears when it is destroyed.
|
|
2857
|
+
*/
|
|
2858
|
+
get: operations["listChatSessionComputers"];
|
|
2859
|
+
put?: never;
|
|
2860
|
+
post?: never;
|
|
2861
|
+
delete?: never;
|
|
2862
|
+
options?: never;
|
|
2863
|
+
head?: never;
|
|
2864
|
+
patch?: never;
|
|
2865
|
+
trace?: never;
|
|
2866
|
+
};
|
|
2867
|
+
"/api/chat-sessions/{id}/computers/{name}/control": {
|
|
2868
|
+
parameters: {
|
|
2869
|
+
query?: never;
|
|
2870
|
+
header?: never;
|
|
2871
|
+
path?: never;
|
|
2872
|
+
cookie?: never;
|
|
2873
|
+
};
|
|
2874
|
+
get?: never;
|
|
2875
|
+
put?: never;
|
|
2876
|
+
/**
|
|
2877
|
+
* ⚙️ Pause, resume, or reprovision a computer
|
|
2878
|
+
* @description Pauses, resumes, or reprovisions one computer of a chat session. A paused computer also resumes on its next tool call.
|
|
2879
|
+
*/
|
|
2880
|
+
post: operations["controlChatSessionComputer"];
|
|
2881
|
+
delete?: never;
|
|
2882
|
+
options?: never;
|
|
2883
|
+
head?: never;
|
|
2884
|
+
patch?: never;
|
|
2885
|
+
trace?: never;
|
|
2886
|
+
};
|
|
2811
2887
|
"/api/chat-sessions/{id}/costs": {
|
|
2812
2888
|
parameters: {
|
|
2813
2889
|
query?: never;
|
|
@@ -3978,6 +4054,26 @@ export interface paths {
|
|
|
3978
4054
|
patch?: never;
|
|
3979
4055
|
trace?: never;
|
|
3980
4056
|
};
|
|
4057
|
+
"/api/internal/project-blocks-sync": {
|
|
4058
|
+
parameters: {
|
|
4059
|
+
query?: never;
|
|
4060
|
+
header?: never;
|
|
4061
|
+
path?: never;
|
|
4062
|
+
cookie?: never;
|
|
4063
|
+
};
|
|
4064
|
+
get?: never;
|
|
4065
|
+
put?: never;
|
|
4066
|
+
/**
|
|
4067
|
+
* ⚙️ Enqueue project blocks syncs
|
|
4068
|
+
* @description Enqueues background jobs that regenerate agent prompt blocks from the default branch, for one project or every active project.
|
|
4069
|
+
*/
|
|
4070
|
+
post: operations["enqueueProjectBlocksSync"];
|
|
4071
|
+
delete?: never;
|
|
4072
|
+
options?: never;
|
|
4073
|
+
head?: never;
|
|
4074
|
+
patch?: never;
|
|
4075
|
+
trace?: never;
|
|
4076
|
+
};
|
|
3981
4077
|
"/api/internal/request-ingestion/jira/webhook": {
|
|
3982
4078
|
parameters: {
|
|
3983
4079
|
query?: never;
|
|
@@ -5386,6 +5482,26 @@ export interface paths {
|
|
|
5386
5482
|
patch: operations["updatePlan"];
|
|
5387
5483
|
trace?: never;
|
|
5388
5484
|
};
|
|
5485
|
+
"/api/plans/{id}/migrate": {
|
|
5486
|
+
parameters: {
|
|
5487
|
+
query?: never;
|
|
5488
|
+
header?: never;
|
|
5489
|
+
path?: never;
|
|
5490
|
+
cookie?: never;
|
|
5491
|
+
};
|
|
5492
|
+
get?: never;
|
|
5493
|
+
put?: never;
|
|
5494
|
+
/**
|
|
5495
|
+
* 🛡️ Move a plan's Dodo subscribers to another plan
|
|
5496
|
+
* @description Schedules a Dodo plan change for every live subscription on the plan, effective at each subscription's next billing date: nothing is charged now, and the renewal bills the new plan. When Dodo applies it, the subscription webhook moves the org's plan assignment from the start of that billing cycle. Re-running replaces any change already scheduled. A subscription Dodo refuses is reported as `failed`; the rest still go through.
|
|
5497
|
+
*/
|
|
5498
|
+
post: operations["migratePlanSubscribers"];
|
|
5499
|
+
delete?: never;
|
|
5500
|
+
options?: never;
|
|
5501
|
+
head?: never;
|
|
5502
|
+
patch?: never;
|
|
5503
|
+
trace?: never;
|
|
5504
|
+
};
|
|
5389
5505
|
"/api/platform-issues": {
|
|
5390
5506
|
parameters: {
|
|
5391
5507
|
query?: never;
|
|
@@ -5538,6 +5654,26 @@ export interface paths {
|
|
|
5538
5654
|
patch: operations["updateProject"];
|
|
5539
5655
|
trace?: never;
|
|
5540
5656
|
};
|
|
5657
|
+
"/api/projects/{id}/blocks-sync/trigger": {
|
|
5658
|
+
parameters: {
|
|
5659
|
+
query?: never;
|
|
5660
|
+
header?: never;
|
|
5661
|
+
path?: never;
|
|
5662
|
+
cookie?: never;
|
|
5663
|
+
};
|
|
5664
|
+
get?: never;
|
|
5665
|
+
put?: never;
|
|
5666
|
+
/**
|
|
5667
|
+
* ⚙️ Trigger a project blocks sync
|
|
5668
|
+
* @description Enqueues a background job that regenerates the project's agent prompt blocks from the default branch's latest commit.
|
|
5669
|
+
*/
|
|
5670
|
+
post: operations["triggerProjectBlocksSync"];
|
|
5671
|
+
delete?: never;
|
|
5672
|
+
options?: never;
|
|
5673
|
+
head?: never;
|
|
5674
|
+
patch?: never;
|
|
5675
|
+
trace?: never;
|
|
5676
|
+
};
|
|
5541
5677
|
"/api/projects/{id}/branch/rename": {
|
|
5542
5678
|
parameters: {
|
|
5543
5679
|
query?: never;
|
|
@@ -6236,84 +6372,6 @@ export interface paths {
|
|
|
6236
6372
|
patch?: never;
|
|
6237
6373
|
trace?: never;
|
|
6238
6374
|
};
|
|
6239
|
-
"/api/sandbox-snapshots/sources/upsert": {
|
|
6240
|
-
parameters: {
|
|
6241
|
-
query?: never;
|
|
6242
|
-
header?: never;
|
|
6243
|
-
path?: never;
|
|
6244
|
-
cookie?: never;
|
|
6245
|
-
};
|
|
6246
|
-
get?: never;
|
|
6247
|
-
put?: never;
|
|
6248
|
-
/**
|
|
6249
|
-
* ⚙️ Upsert sandbox snapshot sources
|
|
6250
|
-
* @description Upserts one or more snapshot source rows; called by sandbox-template CI.
|
|
6251
|
-
*/
|
|
6252
|
-
post: operations["upsertSandboxSnapshotSources"];
|
|
6253
|
-
delete?: never;
|
|
6254
|
-
options?: never;
|
|
6255
|
-
head?: never;
|
|
6256
|
-
patch?: never;
|
|
6257
|
-
trace?: never;
|
|
6258
|
-
};
|
|
6259
|
-
"/api/system-messages": {
|
|
6260
|
-
parameters: {
|
|
6261
|
-
query?: never;
|
|
6262
|
-
header?: never;
|
|
6263
|
-
path?: never;
|
|
6264
|
-
cookie?: never;
|
|
6265
|
-
};
|
|
6266
|
-
/** 🛡️ List system messages with delivery and ack counts */
|
|
6267
|
-
get: operations["listSystemMessages"];
|
|
6268
|
-
put?: never;
|
|
6269
|
-
/**
|
|
6270
|
-
* 🛡️ Broadcast a system message to manager sessions
|
|
6271
|
-
* @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`.
|
|
6272
|
-
*/
|
|
6273
|
-
post: operations["createSystemMessage"];
|
|
6274
|
-
delete?: never;
|
|
6275
|
-
options?: never;
|
|
6276
|
-
head?: never;
|
|
6277
|
-
patch?: never;
|
|
6278
|
-
trace?: never;
|
|
6279
|
-
};
|
|
6280
|
-
"/api/system-messages/{id}": {
|
|
6281
|
-
parameters: {
|
|
6282
|
-
query?: never;
|
|
6283
|
-
header?: never;
|
|
6284
|
-
path?: never;
|
|
6285
|
-
cookie?: never;
|
|
6286
|
-
};
|
|
6287
|
-
/** 🛡️ Get a system message's per-project delivery and ack status */
|
|
6288
|
-
get: operations["getSystemMessage"];
|
|
6289
|
-
put?: never;
|
|
6290
|
-
post?: never;
|
|
6291
|
-
delete?: never;
|
|
6292
|
-
options?: never;
|
|
6293
|
-
head?: never;
|
|
6294
|
-
patch?: never;
|
|
6295
|
-
trace?: never;
|
|
6296
|
-
};
|
|
6297
|
-
"/api/system-messages/{id}/ack": {
|
|
6298
|
-
parameters: {
|
|
6299
|
-
query?: never;
|
|
6300
|
-
header?: never;
|
|
6301
|
-
path?: never;
|
|
6302
|
-
cookie?: never;
|
|
6303
|
-
};
|
|
6304
|
-
get?: never;
|
|
6305
|
-
put?: never;
|
|
6306
|
-
/**
|
|
6307
|
-
* Acknowledge a system message from a manager session
|
|
6308
|
-
* @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.
|
|
6309
|
-
*/
|
|
6310
|
-
post: operations["ackSystemMessage"];
|
|
6311
|
-
delete?: never;
|
|
6312
|
-
options?: never;
|
|
6313
|
-
head?: never;
|
|
6314
|
-
patch?: never;
|
|
6315
|
-
trace?: never;
|
|
6316
|
-
};
|
|
6317
6375
|
"/api/tasks/{id}/chat-sessions": {
|
|
6318
6376
|
parameters: {
|
|
6319
6377
|
query?: never;
|
|
@@ -6328,8 +6386,8 @@ export interface paths {
|
|
|
6328
6386
|
get: operations["listTaskChatSessions"];
|
|
6329
6387
|
put?: never;
|
|
6330
6388
|
/**
|
|
6331
|
-
*
|
|
6332
|
-
* @description Starts a
|
|
6389
|
+
* 🛡️ Create a chat session for a task
|
|
6390
|
+
* @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.
|
|
6333
6391
|
*/
|
|
6334
6392
|
post: operations["createTaskChatSession"];
|
|
6335
6393
|
delete?: never;
|
|
@@ -6746,20 +6804,6 @@ export interface paths {
|
|
|
6746
6804
|
export type webhooks = Record<string, never>;
|
|
6747
6805
|
export interface components {
|
|
6748
6806
|
schemas: {
|
|
6749
|
-
AckSystemMessageRequest: {
|
|
6750
|
-
/** @enum {string} */
|
|
6751
|
-
status: "accepted" | "declined";
|
|
6752
|
-
note?: string;
|
|
6753
|
-
};
|
|
6754
|
-
AckSystemMessageResponse: {
|
|
6755
|
-
data: {
|
|
6756
|
-
system_message_id: number;
|
|
6757
|
-
project_id: number;
|
|
6758
|
-
/** @enum {string} */
|
|
6759
|
-
ack_status: "accepted" | "declined";
|
|
6760
|
-
acked_at: string;
|
|
6761
|
-
};
|
|
6762
|
-
};
|
|
6763
6807
|
ActivityDay: {
|
|
6764
6808
|
/** @description Local date, YYYY-MM-DD. */
|
|
6765
6809
|
date: string;
|
|
@@ -7284,7 +7328,7 @@ export interface components {
|
|
|
7284
7328
|
updated_at: string;
|
|
7285
7329
|
/** @description Owning project ID. */
|
|
7286
7330
|
project_id: number;
|
|
7287
|
-
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`).
|
|
7331
|
+
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
|
|
7288
7332
|
mode: string;
|
|
7289
7333
|
/**
|
|
7290
7334
|
* @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
|
|
@@ -7404,6 +7448,22 @@ export interface components {
|
|
|
7404
7448
|
};
|
|
7405
7449
|
};
|
|
7406
7450
|
};
|
|
7451
|
+
ChatSessionComputer: {
|
|
7452
|
+
/** @description Computer name. */
|
|
7453
|
+
name: string;
|
|
7454
|
+
/**
|
|
7455
|
+
* @description Lifecycle status of the computer's sandbox.
|
|
7456
|
+
* @enum {string}
|
|
7457
|
+
*/
|
|
7458
|
+
status: "none" | "creating" | "launching" | "ready" | "paused" | "resuming" | "destroyed" | "error";
|
|
7459
|
+
/** @description Provider sandbox ID. */
|
|
7460
|
+
sandbox_id: string;
|
|
7461
|
+
/** @description Sandbox provider. */
|
|
7462
|
+
provider: string;
|
|
7463
|
+
};
|
|
7464
|
+
ChatSessionComputerList: {
|
|
7465
|
+
computers: components["schemas"]["ChatSessionComputer"][];
|
|
7466
|
+
};
|
|
7407
7467
|
ChatSessionCostTotals: {
|
|
7408
7468
|
/** @description Main-agent cost. */
|
|
7409
7469
|
main: number;
|
|
@@ -7508,7 +7568,7 @@ export interface components {
|
|
|
7508
7568
|
updated_at: string;
|
|
7509
7569
|
/** @description Owning project ID. */
|
|
7510
7570
|
project_id: number;
|
|
7511
|
-
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`).
|
|
7571
|
+
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
|
|
7512
7572
|
mode: string;
|
|
7513
7573
|
/**
|
|
7514
7574
|
* @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
|
|
@@ -7661,7 +7721,7 @@ export interface components {
|
|
|
7661
7721
|
updated_at: string;
|
|
7662
7722
|
/** @description Owning project ID. */
|
|
7663
7723
|
project_id: number;
|
|
7664
|
-
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`).
|
|
7724
|
+
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
|
|
7665
7725
|
mode: string;
|
|
7666
7726
|
/**
|
|
7667
7727
|
* @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
|
|
@@ -8221,23 +8281,19 @@ export interface components {
|
|
|
8221
8281
|
snooze_until: string;
|
|
8222
8282
|
/** @description Optional description explaining why the tests are being snoozed. */
|
|
8223
8283
|
description?: string;
|
|
8224
|
-
/**
|
|
8284
|
+
/**
|
|
8285
|
+
* Format: uuid
|
|
8286
|
+
* @description User ID of the snooze creator, who must belong to the project's org. Ignored for dashboard users, who are recorded as the creator. Defaults to the person who started the calling agent session.
|
|
8287
|
+
*/
|
|
8225
8288
|
created_by?: string;
|
|
8226
8289
|
/** @description Environment ID to scope the snooze to. If omitted, applies to all environments. */
|
|
8227
8290
|
scoped_to_environment_id?: number;
|
|
8228
8291
|
/** @description ID of the test run this snooze was created from, if applicable. */
|
|
8229
8292
|
created_from_test_run_id?: string | number;
|
|
8230
8293
|
};
|
|
8231
|
-
|
|
8294
|
+
CreateTaskCommentRequest: {
|
|
8295
|
+
/** @description Comment text (Markdown). */
|
|
8232
8296
|
body: string;
|
|
8233
|
-
project_ids?: number[];
|
|
8234
|
-
};
|
|
8235
|
-
CreateSystemMessageResponse: {
|
|
8236
|
-
data: {
|
|
8237
|
-
system_message: components["schemas"]["SystemMessage"];
|
|
8238
|
-
recipients: components["schemas"]["SystemMessageRecipient"][];
|
|
8239
|
-
skipped_project_ids: number[];
|
|
8240
|
-
};
|
|
8241
8297
|
};
|
|
8242
8298
|
CreateTaskError: {
|
|
8243
8299
|
/** @description Always null for error responses. */
|
|
@@ -8263,8 +8319,8 @@ export interface components {
|
|
|
8263
8319
|
* @description Initial status; defaults to `open`.
|
|
8264
8320
|
* @enum {string}
|
|
8265
8321
|
*/
|
|
8266
|
-
status?: "
|
|
8267
|
-
/** @description User ID of the person the task is for. Defaults to the signed-in user
|
|
8322
|
+
status?: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed";
|
|
8323
|
+
/** @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. */
|
|
8268
8324
|
created_by?: string;
|
|
8269
8325
|
};
|
|
8270
8326
|
CreateTaskResponse: {
|
|
@@ -8806,6 +8862,17 @@ export interface components {
|
|
|
8806
8862
|
/** @description Add-on plan (kind='addon') this period bills against. Super admin only. */
|
|
8807
8863
|
plan_id?: number;
|
|
8808
8864
|
};
|
|
8865
|
+
EnqueueProjectBlocksSyncRequest: {
|
|
8866
|
+
/** @description Project to sync. Omit to sync every active project. */
|
|
8867
|
+
project_id?: number;
|
|
8868
|
+
};
|
|
8869
|
+
EnqueueProjectBlocksSyncResponse: {
|
|
8870
|
+
/** @description Response payload. */
|
|
8871
|
+
data: {
|
|
8872
|
+
/** @description Number of sync jobs enqueued. */
|
|
8873
|
+
queued: number;
|
|
8874
|
+
};
|
|
8875
|
+
};
|
|
8809
8876
|
EnqueueTestCasesSyncRequest: {
|
|
8810
8877
|
/** @description Project whose test cases should be synced. */
|
|
8811
8878
|
project_id: number;
|
|
@@ -9452,12 +9519,6 @@ export interface components {
|
|
|
9452
9519
|
};
|
|
9453
9520
|
};
|
|
9454
9521
|
};
|
|
9455
|
-
GetTestRunTriageSessionResponse: {
|
|
9456
|
-
/** @description Response payload. */
|
|
9457
|
-
data: {
|
|
9458
|
-
chat_session: components["schemas"]["ChatSession"] & unknown;
|
|
9459
|
-
};
|
|
9460
|
-
};
|
|
9461
9522
|
GetTestRunV2Response: {
|
|
9462
9523
|
/** @description Response payload. */
|
|
9463
9524
|
data: {
|
|
@@ -12310,6 +12371,13 @@ export interface components {
|
|
|
12310
12371
|
tokens: number;
|
|
12311
12372
|
credits: number;
|
|
12312
12373
|
};
|
|
12374
|
+
ProjectBlocksSyncTriggeredResponse: {
|
|
12375
|
+
/** @description Response payload. */
|
|
12376
|
+
data: {
|
|
12377
|
+
/** @description Whether the sync job was enqueued. */
|
|
12378
|
+
queued: boolean;
|
|
12379
|
+
};
|
|
12380
|
+
};
|
|
12313
12381
|
ProjectBranchesResponse: {
|
|
12314
12382
|
/** @description Response payload. */
|
|
12315
12383
|
data: {
|
|
@@ -13344,6 +13412,12 @@ export interface components {
|
|
|
13344
13412
|
runner_backend: components["schemas"]["RunnerBackend"];
|
|
13345
13413
|
};
|
|
13346
13414
|
};
|
|
13415
|
+
RunningBackgroundJob: {
|
|
13416
|
+
toolCallId: string;
|
|
13417
|
+
jobId: string;
|
|
13418
|
+
command: string;
|
|
13419
|
+
calledAt: string;
|
|
13420
|
+
};
|
|
13347
13421
|
SandboxActionSuccess: {
|
|
13348
13422
|
/** @description Always true when the action succeeded. */
|
|
13349
13423
|
success: boolean;
|
|
@@ -13420,39 +13494,6 @@ export interface components {
|
|
|
13420
13494
|
/** @description Branch names the sandbox must not push to. */
|
|
13421
13495
|
branches: string[];
|
|
13422
13496
|
};
|
|
13423
|
-
SandboxSnapshot: {
|
|
13424
|
-
/** @description Snapshot row ID. */
|
|
13425
|
-
id: number;
|
|
13426
|
-
/** @description Project the snapshot belongs to, or null. */
|
|
13427
|
-
project_id: number | null;
|
|
13428
|
-
/** @description Sandbox provider (e.g. `e2b`). */
|
|
13429
|
-
provider: string;
|
|
13430
|
-
/** @description Snapshot source identifier. */
|
|
13431
|
-
source_name: string;
|
|
13432
|
-
/** @description Playwright version the snapshot was built with. */
|
|
13433
|
-
playwright_version: string;
|
|
13434
|
-
/** @description Hash of the package lockfile, if known. */
|
|
13435
|
-
package_lock_hash: string | null;
|
|
13436
|
-
/** @description Base branch the snapshot was built from. */
|
|
13437
|
-
base_branch: string | null;
|
|
13438
|
-
/** @description Base template the snapshot was built from. */
|
|
13439
|
-
base_template: string | null;
|
|
13440
|
-
/** @description Head commit SHA the snapshot was built from. */
|
|
13441
|
-
head_sha: string | null;
|
|
13442
|
-
/** @description ISO 8601 creation timestamp. */
|
|
13443
|
-
created_at: string;
|
|
13444
|
-
/** @description ISO 8601 last-update timestamp. */
|
|
13445
|
-
updated_at: string;
|
|
13446
|
-
} | null;
|
|
13447
|
-
SandboxSnapshotSourcesUpsertResponse: {
|
|
13448
|
-
/** @description Response payload. */
|
|
13449
|
-
data: {
|
|
13450
|
-
/** @description Number of sources upserted. */
|
|
13451
|
-
source_count: number;
|
|
13452
|
-
/** @description The upserted snapshot source rows. */
|
|
13453
|
-
sources: components["schemas"]["SandboxSnapshot"][];
|
|
13454
|
-
};
|
|
13455
|
-
};
|
|
13456
13497
|
ScheduleSnoozeExpiryRequest: {
|
|
13457
13498
|
/** @description ID of the snooze whose expiry alarm to register. */
|
|
13458
13499
|
snooze_id: number;
|
|
@@ -13538,6 +13579,8 @@ export interface components {
|
|
|
13538
13579
|
};
|
|
13539
13580
|
SessionTranscript: {
|
|
13540
13581
|
rows: components["schemas"]["SessionTranscriptRow"][];
|
|
13582
|
+
/** @description Background jobs started by tool calls that have not ended as of last_seq. */
|
|
13583
|
+
background_jobs: components["schemas"]["RunningBackgroundJob"][];
|
|
13541
13584
|
/** @description Media referenced by user and assistant text, keyed by handle. */
|
|
13542
13585
|
media_refs: {
|
|
13543
13586
|
[key: string]: components["schemas"]["SessionMedia"];
|
|
@@ -13740,14 +13783,6 @@ export interface components {
|
|
|
13740
13783
|
};
|
|
13741
13784
|
};
|
|
13742
13785
|
};
|
|
13743
|
-
} | {
|
|
13744
|
-
/** @enum {string} */
|
|
13745
|
-
kind: "system_message";
|
|
13746
|
-
delivery: {
|
|
13747
|
-
id: number;
|
|
13748
|
-
message: string;
|
|
13749
|
-
ack_instructions: string;
|
|
13750
|
-
};
|
|
13751
13786
|
};
|
|
13752
13787
|
rpcCommandId?: string;
|
|
13753
13788
|
};
|
|
@@ -14316,7 +14351,7 @@ export interface components {
|
|
|
14316
14351
|
description: string | null;
|
|
14317
14352
|
/** @description ID of the test run that triggered the snooze creation, if applicable. */
|
|
14318
14353
|
created_from_test_run_id: number | null;
|
|
14319
|
-
/** @description User ID of the creator
|
|
14354
|
+
/** @description User ID of the creator, or `null` when no person is attributed. */
|
|
14320
14355
|
created_by: string | null;
|
|
14321
14356
|
/** @description ISO 8601 timestamp of when the snooze was created. */
|
|
14322
14357
|
created_at: string;
|
|
@@ -14497,47 +14532,6 @@ export interface components {
|
|
|
14497
14532
|
}[];
|
|
14498
14533
|
};
|
|
14499
14534
|
};
|
|
14500
|
-
SystemMessage: {
|
|
14501
|
-
id: number;
|
|
14502
|
-
body: string;
|
|
14503
|
-
created_by: string | null;
|
|
14504
|
-
created_at: string;
|
|
14505
|
-
};
|
|
14506
|
-
SystemMessageDetailResponse: {
|
|
14507
|
-
data: {
|
|
14508
|
-
system_message: components["schemas"]["SystemMessage"];
|
|
14509
|
-
recipients: components["schemas"]["SystemMessageRecipient"][];
|
|
14510
|
-
};
|
|
14511
|
-
};
|
|
14512
|
-
SystemMessageListResponse: {
|
|
14513
|
-
data: {
|
|
14514
|
-
system_messages: components["schemas"]["SystemMessageSummary"][];
|
|
14515
|
-
};
|
|
14516
|
-
};
|
|
14517
|
-
SystemMessageRecipient: {
|
|
14518
|
-
project_id: number;
|
|
14519
|
-
chat_session_id: number | null;
|
|
14520
|
-
/** @enum {string} */
|
|
14521
|
-
delivery_status: "pending" | "delivered" | "failed";
|
|
14522
|
-
delivery_error: string | null;
|
|
14523
|
-
delivered_at: string | null;
|
|
14524
|
-
/** @enum {string|null} */
|
|
14525
|
-
ack_status: "accepted" | "declined" | null;
|
|
14526
|
-
ack_note: string | null;
|
|
14527
|
-
acked_at: string | null;
|
|
14528
|
-
acked_by_chat_session_id: number | null;
|
|
14529
|
-
session_is_closed: boolean | null;
|
|
14530
|
-
};
|
|
14531
|
-
SystemMessageSummary: {
|
|
14532
|
-
id: number;
|
|
14533
|
-
body: string;
|
|
14534
|
-
created_by: string | null;
|
|
14535
|
-
created_at: string;
|
|
14536
|
-
recipients: number;
|
|
14537
|
-
delivered: number;
|
|
14538
|
-
failed: number;
|
|
14539
|
-
acked: number;
|
|
14540
|
-
};
|
|
14541
14535
|
Task: {
|
|
14542
14536
|
/** @description Unique identifier for the task. */
|
|
14543
14537
|
id: number;
|
|
@@ -14552,13 +14546,78 @@ export interface components {
|
|
|
14552
14546
|
source: string;
|
|
14553
14547
|
/** @description Identifier of the task in its source system. */
|
|
14554
14548
|
source_identifier: string;
|
|
14555
|
-
/** @description User ID of the person the task is owed to. `null`
|
|
14549
|
+
/** @description User ID of the person the task is owed to. `null` means it is owed to the platform. */
|
|
14556
14550
|
created_by: string | null;
|
|
14557
14551
|
/** @description ISO 8601 timestamp of when the task was created. */
|
|
14558
14552
|
created_at: string;
|
|
14559
14553
|
/** @description ISO 8601 timestamp of when the task was last updated. */
|
|
14560
14554
|
updated_at: string;
|
|
14561
14555
|
};
|
|
14556
|
+
TaskActivity: {
|
|
14557
|
+
/** @description Activity entry ID. */
|
|
14558
|
+
id: number;
|
|
14559
|
+
/** @description Task the entry is on. */
|
|
14560
|
+
task_id: number;
|
|
14561
|
+
/** @description User who wrote it. `null` for an agent (see `created_by_chat_session_id`) or the platform. */
|
|
14562
|
+
created_by: string | null;
|
|
14563
|
+
/** @description Chat session of the agent that wrote it, if an agent did. */
|
|
14564
|
+
created_by_chat_session_id: number | null;
|
|
14565
|
+
/** @description Comment, or the note on a status change (Markdown). */
|
|
14566
|
+
body: string | null;
|
|
14567
|
+
/**
|
|
14568
|
+
* @description Status before the change; `null` for a plain comment.
|
|
14569
|
+
* @enum {string|null}
|
|
14570
|
+
*/
|
|
14571
|
+
status_from: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14572
|
+
/**
|
|
14573
|
+
* @description Status after the change; `null` for a plain comment.
|
|
14574
|
+
* @enum {string|null}
|
|
14575
|
+
*/
|
|
14576
|
+
status_to: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14577
|
+
/** @description ISO 8601 timestamp of when the entry was written. */
|
|
14578
|
+
created_at: string;
|
|
14579
|
+
};
|
|
14580
|
+
TaskActivityListResponse: {
|
|
14581
|
+
/** @description Response payload. */
|
|
14582
|
+
data: {
|
|
14583
|
+
activity: components["schemas"]["TaskActivityWithCreator"][];
|
|
14584
|
+
};
|
|
14585
|
+
};
|
|
14586
|
+
TaskActivityWithCreator: {
|
|
14587
|
+
/** @description Activity entry ID. */
|
|
14588
|
+
id: number;
|
|
14589
|
+
/** @description Task the entry is on. */
|
|
14590
|
+
task_id: number;
|
|
14591
|
+
/** @description User who wrote it. `null` for an agent (see `created_by_chat_session_id`) or the platform. */
|
|
14592
|
+
created_by: string | null;
|
|
14593
|
+
/** @description Chat session of the agent that wrote it, if an agent did. */
|
|
14594
|
+
created_by_chat_session_id: number | null;
|
|
14595
|
+
/** @description Comment, or the note on a status change (Markdown). */
|
|
14596
|
+
body: string | null;
|
|
14597
|
+
/**
|
|
14598
|
+
* @description Status before the change; `null` for a plain comment.
|
|
14599
|
+
* @enum {string|null}
|
|
14600
|
+
*/
|
|
14601
|
+
status_from: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14602
|
+
/**
|
|
14603
|
+
* @description Status after the change; `null` for a plain comment.
|
|
14604
|
+
* @enum {string|null}
|
|
14605
|
+
*/
|
|
14606
|
+
status_to: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed" | null;
|
|
14607
|
+
/** @description ISO 8601 timestamp of when the entry was written. */
|
|
14608
|
+
created_at: string;
|
|
14609
|
+
/** @description Details of the user who wrote it, when a user did. */
|
|
14610
|
+
created_by_user_detail?: {
|
|
14611
|
+
/** @description User ID. */
|
|
14612
|
+
id: string;
|
|
14613
|
+
/** @description User email address. */
|
|
14614
|
+
email: string;
|
|
14615
|
+
/** @description User display name. */
|
|
14616
|
+
name: string;
|
|
14617
|
+
/** @description URL to user avatar image. */
|
|
14618
|
+
picture: string;
|
|
14619
|
+
} | null;
|
|
14620
|
+
};
|
|
14562
14621
|
TaskChatSession: {
|
|
14563
14622
|
/** @description Chat session ID. */
|
|
14564
14623
|
id: number;
|
|
@@ -14572,7 +14631,7 @@ export interface components {
|
|
|
14572
14631
|
updated_at: string;
|
|
14573
14632
|
/** @description Project ID. */
|
|
14574
14633
|
project_id: number;
|
|
14575
|
-
/** @description
|
|
14634
|
+
/** @description Hive agent ref the session runs (e.g. `main`). */
|
|
14576
14635
|
mode: string;
|
|
14577
14636
|
/** @description Model used for the session. */
|
|
14578
14637
|
model: string | null;
|
|
@@ -14600,7 +14659,7 @@ export interface components {
|
|
|
14600
14659
|
updated_at: string;
|
|
14601
14660
|
/** @description Project ID. */
|
|
14602
14661
|
project_id: number;
|
|
14603
|
-
/** @description
|
|
14662
|
+
/** @description Hive agent ref the session runs (e.g. `main`). */
|
|
14604
14663
|
mode: string;
|
|
14605
14664
|
/** @description Model used for the session. */
|
|
14606
14665
|
model: string | null;
|
|
@@ -14635,6 +14694,12 @@ export interface components {
|
|
|
14635
14694
|
/** @description Chat sessions for the task. */
|
|
14636
14695
|
data: components["schemas"]["TaskChatSessionWithUser"][];
|
|
14637
14696
|
};
|
|
14697
|
+
TaskCommentResponse: {
|
|
14698
|
+
/** @description Response payload. */
|
|
14699
|
+
data: {
|
|
14700
|
+
activity: components["schemas"]["TaskActivity"];
|
|
14701
|
+
};
|
|
14702
|
+
};
|
|
14638
14703
|
TaskListResponse: {
|
|
14639
14704
|
/** @description The page of tasks. */
|
|
14640
14705
|
data: {
|
|
@@ -14655,10 +14720,10 @@ export interface components {
|
|
|
14655
14720
|
};
|
|
14656
14721
|
};
|
|
14657
14722
|
/**
|
|
14658
|
-
* @description
|
|
14723
|
+
* @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.
|
|
14659
14724
|
* @enum {string}
|
|
14660
14725
|
*/
|
|
14661
|
-
TaskStatus: "
|
|
14726
|
+
TaskStatus: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed";
|
|
14662
14727
|
TaskWithCreator: {
|
|
14663
14728
|
/** @description Unique identifier for the task. */
|
|
14664
14729
|
id: number;
|
|
@@ -14673,7 +14738,7 @@ export interface components {
|
|
|
14673
14738
|
source: string;
|
|
14674
14739
|
/** @description Identifier of the task in its source system. */
|
|
14675
14740
|
source_identifier: string;
|
|
14676
|
-
/** @description User ID of the person the task is owed to. `null`
|
|
14741
|
+
/** @description User ID of the person the task is owed to. `null` means it is owed to the platform. */
|
|
14677
14742
|
created_by: string | null;
|
|
14678
14743
|
/** @description ISO 8601 timestamp of when the task was created. */
|
|
14679
14744
|
created_at: string;
|
|
@@ -15144,7 +15209,7 @@ export interface components {
|
|
|
15144
15209
|
updated_at: string;
|
|
15145
15210
|
/** @description Owning project ID. */
|
|
15146
15211
|
project_id: number;
|
|
15147
|
-
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`).
|
|
15212
|
+
/** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
|
|
15148
15213
|
mode: string;
|
|
15149
15214
|
/**
|
|
15150
15215
|
* @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
|
|
@@ -16383,6 +16448,11 @@ export interface components {
|
|
|
16383
16448
|
scoped_to_environment_id?: number | null;
|
|
16384
16449
|
/** @description Updated array of Playwright test IDs to snooze. */
|
|
16385
16450
|
test_ids?: string[];
|
|
16451
|
+
/**
|
|
16452
|
+
* Format: uuid
|
|
16453
|
+
* @description User ID of the snooze creator, who must belong to the project's org.
|
|
16454
|
+
*/
|
|
16455
|
+
created_by?: string;
|
|
16386
16456
|
};
|
|
16387
16457
|
UpdateTaskRequest: {
|
|
16388
16458
|
/** @description New task title. */
|
|
@@ -16390,10 +16460,12 @@ export interface components {
|
|
|
16390
16460
|
/** @description New task description (Markdown). */
|
|
16391
16461
|
description?: string;
|
|
16392
16462
|
/**
|
|
16393
|
-
* @description New task status.
|
|
16463
|
+
* @description New task status.
|
|
16394
16464
|
* @enum {string}
|
|
16395
16465
|
*/
|
|
16396
|
-
status?: "
|
|
16466
|
+
status?: "open" | "in-progress" | "blocked" | "in-review" | "resolved" | "closed";
|
|
16467
|
+
/** @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`. */
|
|
16468
|
+
note?: string;
|
|
16397
16469
|
};
|
|
16398
16470
|
UpdateTestCaseTagsRequest: {
|
|
16399
16471
|
/** @description Array of tags to assign to the test case. */
|
|
@@ -16459,30 +16531,6 @@ export interface components {
|
|
|
16459
16531
|
/** @description Signing secret, if set. */
|
|
16460
16532
|
secret: string | null;
|
|
16461
16533
|
};
|
|
16462
|
-
UpsertSandboxSnapshotSourcesRequest: {
|
|
16463
|
-
/** @description Snapshot sources to upsert (at least one). */
|
|
16464
|
-
sources: {
|
|
16465
|
-
/** @description Project the source belongs to, or null if generic. */
|
|
16466
|
-
project_id: number | null;
|
|
16467
|
-
/**
|
|
16468
|
-
* @description Sandbox provider.
|
|
16469
|
-
* @enum {string}
|
|
16470
|
-
*/
|
|
16471
|
-
provider: "e2b" | "docker" | "vercel";
|
|
16472
|
-
/** @description Snapshot source identifier (e.g. template ID). */
|
|
16473
|
-
source_name: string;
|
|
16474
|
-
/** @description Playwright version the snapshot was built with. */
|
|
16475
|
-
playwright_version: string;
|
|
16476
|
-
/** @description Base template the source was built from. */
|
|
16477
|
-
base_template: string;
|
|
16478
|
-
/** @description Hash of the package lockfile, if known. */
|
|
16479
|
-
package_lock_hash?: string | null;
|
|
16480
|
-
/** @description Base branch the snapshot was built from, if known. */
|
|
16481
|
-
base_branch?: string | null;
|
|
16482
|
-
/** @description Head commit SHA the snapshot was built from. */
|
|
16483
|
-
head_sha?: string | null;
|
|
16484
|
-
}[];
|
|
16485
|
-
};
|
|
16486
16534
|
UpsertTriageStatusRequest: {
|
|
16487
16535
|
/** @description The run in which this failure was observed. */
|
|
16488
16536
|
test_run_id: number;
|
|
@@ -17846,47 +17894,6 @@ export interface operations {
|
|
|
17846
17894
|
};
|
|
17847
17895
|
};
|
|
17848
17896
|
};
|
|
17849
|
-
getTestRunTriageSession: {
|
|
17850
|
-
parameters: {
|
|
17851
|
-
query?: never;
|
|
17852
|
-
header?: never;
|
|
17853
|
-
path: {
|
|
17854
|
-
/** @description Test run database ID. */
|
|
17855
|
-
id: number;
|
|
17856
|
-
};
|
|
17857
|
-
cookie?: never;
|
|
17858
|
-
};
|
|
17859
|
-
requestBody?: never;
|
|
17860
|
-
responses: {
|
|
17861
|
-
/** @description The newest triage session, if one exists. */
|
|
17862
|
-
200: {
|
|
17863
|
-
headers: {
|
|
17864
|
-
[name: string]: unknown;
|
|
17865
|
-
};
|
|
17866
|
-
content: {
|
|
17867
|
-
"application/json": components["schemas"]["GetTestRunTriageSessionResponse"];
|
|
17868
|
-
};
|
|
17869
|
-
};
|
|
17870
|
-
/** @description Invalid database test run ID. */
|
|
17871
|
-
400: {
|
|
17872
|
-
headers: {
|
|
17873
|
-
[name: string]: unknown;
|
|
17874
|
-
};
|
|
17875
|
-
content: {
|
|
17876
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
17877
|
-
};
|
|
17878
|
-
};
|
|
17879
|
-
/** @description Test run not found or inaccessible. */
|
|
17880
|
-
404: {
|
|
17881
|
-
headers: {
|
|
17882
|
-
[name: string]: unknown;
|
|
17883
|
-
};
|
|
17884
|
-
content: {
|
|
17885
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
17886
|
-
};
|
|
17887
|
-
};
|
|
17888
|
-
};
|
|
17889
|
-
};
|
|
17890
17897
|
createTestRunTriageSession: {
|
|
17891
17898
|
parameters: {
|
|
17892
17899
|
query?: never;
|
|
@@ -23332,7 +23339,7 @@ export interface operations {
|
|
|
23332
23339
|
"application/json": components["schemas"]["CreateTaskResponse"];
|
|
23333
23340
|
};
|
|
23334
23341
|
};
|
|
23335
|
-
/** @description Missing required fields,
|
|
23342
|
+
/** @description Missing required fields, or a created_by outside the project. */
|
|
23336
23343
|
400: {
|
|
23337
23344
|
headers: {
|
|
23338
23345
|
[name: string]: unknown;
|
|
@@ -23488,6 +23495,74 @@ export interface operations {
|
|
|
23488
23495
|
};
|
|
23489
23496
|
};
|
|
23490
23497
|
};
|
|
23498
|
+
listTaskActivity: {
|
|
23499
|
+
parameters: {
|
|
23500
|
+
query?: never;
|
|
23501
|
+
header?: never;
|
|
23502
|
+
path: {
|
|
23503
|
+
/** @description Task ID. */
|
|
23504
|
+
id: number;
|
|
23505
|
+
};
|
|
23506
|
+
cookie?: never;
|
|
23507
|
+
};
|
|
23508
|
+
requestBody?: never;
|
|
23509
|
+
responses: {
|
|
23510
|
+
/** @description The task's activity. */
|
|
23511
|
+
200: {
|
|
23512
|
+
headers: {
|
|
23513
|
+
[name: string]: unknown;
|
|
23514
|
+
};
|
|
23515
|
+
content: {
|
|
23516
|
+
"application/json": components["schemas"]["TaskActivityListResponse"];
|
|
23517
|
+
};
|
|
23518
|
+
};
|
|
23519
|
+
/** @description Task not found. */
|
|
23520
|
+
404: {
|
|
23521
|
+
headers: {
|
|
23522
|
+
[name: string]: unknown;
|
|
23523
|
+
};
|
|
23524
|
+
content: {
|
|
23525
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23526
|
+
};
|
|
23527
|
+
};
|
|
23528
|
+
};
|
|
23529
|
+
};
|
|
23530
|
+
createTaskComment: {
|
|
23531
|
+
parameters: {
|
|
23532
|
+
query?: never;
|
|
23533
|
+
header?: never;
|
|
23534
|
+
path: {
|
|
23535
|
+
/** @description Task ID. */
|
|
23536
|
+
id: number;
|
|
23537
|
+
};
|
|
23538
|
+
cookie?: never;
|
|
23539
|
+
};
|
|
23540
|
+
requestBody?: {
|
|
23541
|
+
content: {
|
|
23542
|
+
"application/json": components["schemas"]["CreateTaskCommentRequest"];
|
|
23543
|
+
};
|
|
23544
|
+
};
|
|
23545
|
+
responses: {
|
|
23546
|
+
/** @description The new comment. */
|
|
23547
|
+
201: {
|
|
23548
|
+
headers: {
|
|
23549
|
+
[name: string]: unknown;
|
|
23550
|
+
};
|
|
23551
|
+
content: {
|
|
23552
|
+
"application/json": components["schemas"]["TaskCommentResponse"];
|
|
23553
|
+
};
|
|
23554
|
+
};
|
|
23555
|
+
/** @description Task not found. */
|
|
23556
|
+
404: {
|
|
23557
|
+
headers: {
|
|
23558
|
+
[name: string]: unknown;
|
|
23559
|
+
};
|
|
23560
|
+
content: {
|
|
23561
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23562
|
+
};
|
|
23563
|
+
};
|
|
23564
|
+
};
|
|
23565
|
+
};
|
|
23491
23566
|
compareTraceAgainstPass: {
|
|
23492
23567
|
parameters: {
|
|
23493
23568
|
query?: never;
|
|
@@ -24824,6 +24899,7 @@ export interface operations {
|
|
|
24824
24899
|
model?: string | null;
|
|
24825
24900
|
/** @description Deprecated. Sessions start on the project default branch; a different branch is added to `message` as an instruction to work from it. */
|
|
24826
24901
|
base_branch?: string | null;
|
|
24902
|
+
/** Format: uuid */
|
|
24827
24903
|
created_by?: string | null;
|
|
24828
24904
|
/** @description When the caller is an agent session, wake it the next time this session waits for input (one-shot). Defaults to true; pass false for a fire-and-forget message. Ignored for other callers. */
|
|
24829
24905
|
subscribe?: boolean | null;
|
|
@@ -25083,6 +25159,109 @@ export interface operations {
|
|
|
25083
25159
|
};
|
|
25084
25160
|
};
|
|
25085
25161
|
};
|
|
25162
|
+
listChatSessionComputers: {
|
|
25163
|
+
parameters: {
|
|
25164
|
+
query?: never;
|
|
25165
|
+
header?: never;
|
|
25166
|
+
path: {
|
|
25167
|
+
/** @description Chat session ID. */
|
|
25168
|
+
id: number;
|
|
25169
|
+
};
|
|
25170
|
+
cookie?: never;
|
|
25171
|
+
};
|
|
25172
|
+
requestBody?: never;
|
|
25173
|
+
responses: {
|
|
25174
|
+
/** @description Session computers. */
|
|
25175
|
+
200: {
|
|
25176
|
+
headers: {
|
|
25177
|
+
[name: string]: unknown;
|
|
25178
|
+
};
|
|
25179
|
+
content: {
|
|
25180
|
+
"application/json": components["schemas"]["ChatSessionComputerList"];
|
|
25181
|
+
};
|
|
25182
|
+
};
|
|
25183
|
+
/** @description Invalid request. */
|
|
25184
|
+
400: {
|
|
25185
|
+
headers: {
|
|
25186
|
+
[name: string]: unknown;
|
|
25187
|
+
};
|
|
25188
|
+
content: {
|
|
25189
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
25190
|
+
};
|
|
25191
|
+
};
|
|
25192
|
+
/** @description Session not found. */
|
|
25193
|
+
404: {
|
|
25194
|
+
headers: {
|
|
25195
|
+
[name: string]: unknown;
|
|
25196
|
+
};
|
|
25197
|
+
content: {
|
|
25198
|
+
"application/json": components["schemas"]["SandboxErrorMessage"];
|
|
25199
|
+
};
|
|
25200
|
+
};
|
|
25201
|
+
};
|
|
25202
|
+
};
|
|
25203
|
+
controlChatSessionComputer: {
|
|
25204
|
+
parameters: {
|
|
25205
|
+
query?: never;
|
|
25206
|
+
header?: never;
|
|
25207
|
+
path: {
|
|
25208
|
+
/** @description Chat session ID. */
|
|
25209
|
+
id: number;
|
|
25210
|
+
/** @description Computer name. */
|
|
25211
|
+
name: string;
|
|
25212
|
+
};
|
|
25213
|
+
cookie?: never;
|
|
25214
|
+
};
|
|
25215
|
+
requestBody?: {
|
|
25216
|
+
content: {
|
|
25217
|
+
"application/json": {
|
|
25218
|
+
/**
|
|
25219
|
+
* @description Lifecycle action to apply to the sandbox. `reprovision` builds a fresh sandbox for a session whose previous one failed to start (only acts from an errored/absent sandbox).
|
|
25220
|
+
* @enum {string}
|
|
25221
|
+
*/
|
|
25222
|
+
action: "pause" | "resume" | "reprovision";
|
|
25223
|
+
};
|
|
25224
|
+
};
|
|
25225
|
+
};
|
|
25226
|
+
responses: {
|
|
25227
|
+
/** @description Action applied. */
|
|
25228
|
+
200: {
|
|
25229
|
+
headers: {
|
|
25230
|
+
[name: string]: unknown;
|
|
25231
|
+
};
|
|
25232
|
+
content: {
|
|
25233
|
+
"application/json": components["schemas"]["SandboxActionSuccess"];
|
|
25234
|
+
};
|
|
25235
|
+
};
|
|
25236
|
+
/** @description Invalid request. */
|
|
25237
|
+
400: {
|
|
25238
|
+
headers: {
|
|
25239
|
+
[name: string]: unknown;
|
|
25240
|
+
};
|
|
25241
|
+
content: {
|
|
25242
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
25243
|
+
};
|
|
25244
|
+
};
|
|
25245
|
+
/** @description Computer not found. */
|
|
25246
|
+
404: {
|
|
25247
|
+
headers: {
|
|
25248
|
+
[name: string]: unknown;
|
|
25249
|
+
};
|
|
25250
|
+
content: {
|
|
25251
|
+
"application/json": components["schemas"]["SandboxErrorMessage"];
|
|
25252
|
+
};
|
|
25253
|
+
};
|
|
25254
|
+
/** @description Lifecycle control failed. */
|
|
25255
|
+
502: {
|
|
25256
|
+
headers: {
|
|
25257
|
+
[name: string]: unknown;
|
|
25258
|
+
};
|
|
25259
|
+
content: {
|
|
25260
|
+
"application/json": components["schemas"]["SandboxErrorMessage"];
|
|
25261
|
+
};
|
|
25262
|
+
};
|
|
25263
|
+
};
|
|
25264
|
+
};
|
|
25086
25265
|
getChatSessionCosts: {
|
|
25087
25266
|
parameters: {
|
|
25088
25267
|
query?: never;
|
|
@@ -25532,6 +25711,7 @@ export interface operations {
|
|
|
25532
25711
|
message: string;
|
|
25533
25712
|
/** @enum {string} */
|
|
25534
25713
|
send_action: "steer" | "follow_up";
|
|
25714
|
+
/** Format: uuid */
|
|
25535
25715
|
created_by?: string | null;
|
|
25536
25716
|
rpc_command_id?: string;
|
|
25537
25717
|
/** @description When the caller is an agent session, wake it the next time this session waits for input (one-shot). Defaults to true; pass false for a fire-and-forget message. Ignored for other callers. */
|
|
@@ -26013,7 +26193,10 @@ export interface operations {
|
|
|
26013
26193
|
};
|
|
26014
26194
|
getChatSessionTranscript: {
|
|
26015
26195
|
parameters: {
|
|
26016
|
-
query?:
|
|
26196
|
+
query?: {
|
|
26197
|
+
/** @description When `false`, every tool call is its own `tool` row instead of being condensed into `tools` rows. Defaults to `true`. */
|
|
26198
|
+
group_tools?: "true" | "false";
|
|
26199
|
+
};
|
|
26017
26200
|
header?: never;
|
|
26018
26201
|
path: {
|
|
26019
26202
|
/** @description Chat session ID. */
|
|
@@ -28040,6 +28223,48 @@ export interface operations {
|
|
|
28040
28223
|
};
|
|
28041
28224
|
};
|
|
28042
28225
|
};
|
|
28226
|
+
enqueueProjectBlocksSync: {
|
|
28227
|
+
parameters: {
|
|
28228
|
+
query?: never;
|
|
28229
|
+
header?: never;
|
|
28230
|
+
path?: never;
|
|
28231
|
+
cookie?: never;
|
|
28232
|
+
};
|
|
28233
|
+
requestBody?: {
|
|
28234
|
+
content: {
|
|
28235
|
+
"application/json": components["schemas"]["EnqueueProjectBlocksSyncRequest"];
|
|
28236
|
+
};
|
|
28237
|
+
};
|
|
28238
|
+
responses: {
|
|
28239
|
+
/** @description The sync jobs were enqueued. */
|
|
28240
|
+
202: {
|
|
28241
|
+
headers: {
|
|
28242
|
+
[name: string]: unknown;
|
|
28243
|
+
};
|
|
28244
|
+
content: {
|
|
28245
|
+
"application/json": components["schemas"]["EnqueueProjectBlocksSyncResponse"];
|
|
28246
|
+
};
|
|
28247
|
+
};
|
|
28248
|
+
/** @description Invalid request. */
|
|
28249
|
+
400: {
|
|
28250
|
+
headers: {
|
|
28251
|
+
[name: string]: unknown;
|
|
28252
|
+
};
|
|
28253
|
+
content: {
|
|
28254
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28255
|
+
};
|
|
28256
|
+
};
|
|
28257
|
+
/** @description The jobs queue is not configured. */
|
|
28258
|
+
500: {
|
|
28259
|
+
headers: {
|
|
28260
|
+
[name: string]: unknown;
|
|
28261
|
+
};
|
|
28262
|
+
content: {
|
|
28263
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28264
|
+
};
|
|
28265
|
+
};
|
|
28266
|
+
};
|
|
28267
|
+
};
|
|
28043
28268
|
jiraWebhook: {
|
|
28044
28269
|
parameters: {
|
|
28045
28270
|
query?: never;
|
|
@@ -31224,6 +31449,8 @@ export interface operations {
|
|
|
31224
31449
|
page?: number;
|
|
31225
31450
|
/** @description Items per page (capped at 100). */
|
|
31226
31451
|
per_page?: number;
|
|
31452
|
+
/** @description Comma-separated user IDs. When set, only these users are returned, and ids that are not members are left out. */
|
|
31453
|
+
ids?: string;
|
|
31227
31454
|
};
|
|
31228
31455
|
header?: never;
|
|
31229
31456
|
path: {
|
|
@@ -31758,6 +31985,77 @@ export interface operations {
|
|
|
31758
31985
|
};
|
|
31759
31986
|
};
|
|
31760
31987
|
};
|
|
31988
|
+
migratePlanSubscribers: {
|
|
31989
|
+
parameters: {
|
|
31990
|
+
query?: never;
|
|
31991
|
+
header?: never;
|
|
31992
|
+
path: {
|
|
31993
|
+
/** @description Plan to move subscribers off. */
|
|
31994
|
+
id: number;
|
|
31995
|
+
};
|
|
31996
|
+
cookie?: never;
|
|
31997
|
+
};
|
|
31998
|
+
requestBody?: {
|
|
31999
|
+
content: {
|
|
32000
|
+
"application/json": {
|
|
32001
|
+
/** @description Active shared plan with a Dodo product. */
|
|
32002
|
+
to_plan_id: number;
|
|
32003
|
+
/**
|
|
32004
|
+
* @description List what would be scheduled without calling Dodo.
|
|
32005
|
+
* @default false
|
|
32006
|
+
*/
|
|
32007
|
+
dry_run?: boolean;
|
|
32008
|
+
};
|
|
32009
|
+
};
|
|
32010
|
+
};
|
|
32011
|
+
responses: {
|
|
32012
|
+
/** @description What was scheduled, per subscription. */
|
|
32013
|
+
200: {
|
|
32014
|
+
headers: {
|
|
32015
|
+
[name: string]: unknown;
|
|
32016
|
+
};
|
|
32017
|
+
content: {
|
|
32018
|
+
"application/json": {
|
|
32019
|
+
/** @description Response payload. */
|
|
32020
|
+
data: {
|
|
32021
|
+
subscriptions: {
|
|
32022
|
+
org_id: number;
|
|
32023
|
+
dodo_subscription_id: string;
|
|
32024
|
+
/** @description The subscription's next billing date, when Dodo applies the change. */
|
|
32025
|
+
effective_at: string;
|
|
32026
|
+
/** @enum {string} */
|
|
32027
|
+
status: "scheduled" | "would_schedule" | "failed";
|
|
32028
|
+
error: string | null;
|
|
32029
|
+
}[];
|
|
32030
|
+
/** @description Open assignments on the plan without a Dodo subscription. They are not moved; end them and assign the new plan through /api/plan-assignments. */
|
|
32031
|
+
manual_assignments: {
|
|
32032
|
+
assignment_id: number;
|
|
32033
|
+
org_id: number;
|
|
32034
|
+
}[];
|
|
32035
|
+
};
|
|
32036
|
+
};
|
|
32037
|
+
};
|
|
32038
|
+
};
|
|
32039
|
+
/** @description Payments are not configured, or the target plan is the same plan, not active, or has no Dodo product. */
|
|
32040
|
+
400: {
|
|
32041
|
+
headers: {
|
|
32042
|
+
[name: string]: unknown;
|
|
32043
|
+
};
|
|
32044
|
+
content: {
|
|
32045
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32046
|
+
};
|
|
32047
|
+
};
|
|
32048
|
+
/** @description Plan not found. */
|
|
32049
|
+
404: {
|
|
32050
|
+
headers: {
|
|
32051
|
+
[name: string]: unknown;
|
|
32052
|
+
};
|
|
32053
|
+
content: {
|
|
32054
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32055
|
+
};
|
|
32056
|
+
};
|
|
32057
|
+
};
|
|
32058
|
+
};
|
|
31761
32059
|
listPlatformIssues: {
|
|
31762
32060
|
parameters: {
|
|
31763
32061
|
query?: {
|
|
@@ -32239,6 +32537,47 @@ export interface operations {
|
|
|
32239
32537
|
};
|
|
32240
32538
|
};
|
|
32241
32539
|
};
|
|
32540
|
+
triggerProjectBlocksSync: {
|
|
32541
|
+
parameters: {
|
|
32542
|
+
query?: never;
|
|
32543
|
+
header?: never;
|
|
32544
|
+
path: {
|
|
32545
|
+
/** @description Project ID. */
|
|
32546
|
+
id: number;
|
|
32547
|
+
};
|
|
32548
|
+
cookie?: never;
|
|
32549
|
+
};
|
|
32550
|
+
requestBody?: never;
|
|
32551
|
+
responses: {
|
|
32552
|
+
/** @description Sync job enqueued. */
|
|
32553
|
+
202: {
|
|
32554
|
+
headers: {
|
|
32555
|
+
[name: string]: unknown;
|
|
32556
|
+
};
|
|
32557
|
+
content: {
|
|
32558
|
+
"application/json": components["schemas"]["ProjectBlocksSyncTriggeredResponse"];
|
|
32559
|
+
};
|
|
32560
|
+
};
|
|
32561
|
+
/** @description Project not found. */
|
|
32562
|
+
404: {
|
|
32563
|
+
headers: {
|
|
32564
|
+
[name: string]: unknown;
|
|
32565
|
+
};
|
|
32566
|
+
content: {
|
|
32567
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32568
|
+
};
|
|
32569
|
+
};
|
|
32570
|
+
/** @description Jobs queue is not configured. */
|
|
32571
|
+
500: {
|
|
32572
|
+
headers: {
|
|
32573
|
+
[name: string]: unknown;
|
|
32574
|
+
};
|
|
32575
|
+
content: {
|
|
32576
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32577
|
+
};
|
|
32578
|
+
};
|
|
32579
|
+
};
|
|
32580
|
+
};
|
|
32242
32581
|
renameProjectBranch: {
|
|
32243
32582
|
parameters: {
|
|
32244
32583
|
query?: never;
|
|
@@ -33913,178 +34252,6 @@ export interface operations {
|
|
|
33913
34252
|
};
|
|
33914
34253
|
};
|
|
33915
34254
|
};
|
|
33916
|
-
upsertSandboxSnapshotSources: {
|
|
33917
|
-
parameters: {
|
|
33918
|
-
query?: never;
|
|
33919
|
-
header?: never;
|
|
33920
|
-
path?: never;
|
|
33921
|
-
cookie?: never;
|
|
33922
|
-
};
|
|
33923
|
-
requestBody?: {
|
|
33924
|
-
content: {
|
|
33925
|
-
"application/json": components["schemas"]["UpsertSandboxSnapshotSourcesRequest"];
|
|
33926
|
-
};
|
|
33927
|
-
};
|
|
33928
|
-
responses: {
|
|
33929
|
-
/** @description The upserted sources. */
|
|
33930
|
-
200: {
|
|
33931
|
-
headers: {
|
|
33932
|
-
[name: string]: unknown;
|
|
33933
|
-
};
|
|
33934
|
-
content: {
|
|
33935
|
-
"application/json": components["schemas"]["SandboxSnapshotSourcesUpsertResponse"];
|
|
33936
|
-
};
|
|
33937
|
-
};
|
|
33938
|
-
/** @description Invalid request. */
|
|
33939
|
-
400: {
|
|
33940
|
-
headers: {
|
|
33941
|
-
[name: string]: unknown;
|
|
33942
|
-
};
|
|
33943
|
-
content: {
|
|
33944
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33945
|
-
};
|
|
33946
|
-
};
|
|
33947
|
-
};
|
|
33948
|
-
};
|
|
33949
|
-
listSystemMessages: {
|
|
33950
|
-
parameters: {
|
|
33951
|
-
query?: {
|
|
33952
|
-
limit?: number;
|
|
33953
|
-
};
|
|
33954
|
-
header?: never;
|
|
33955
|
-
path?: never;
|
|
33956
|
-
cookie?: never;
|
|
33957
|
-
};
|
|
33958
|
-
requestBody?: never;
|
|
33959
|
-
responses: {
|
|
33960
|
-
/** @description Recent system messages, newest first. */
|
|
33961
|
-
200: {
|
|
33962
|
-
headers: {
|
|
33963
|
-
[name: string]: unknown;
|
|
33964
|
-
};
|
|
33965
|
-
content: {
|
|
33966
|
-
"application/json": components["schemas"]["SystemMessageListResponse"];
|
|
33967
|
-
};
|
|
33968
|
-
};
|
|
33969
|
-
};
|
|
33970
|
-
};
|
|
33971
|
-
createSystemMessage: {
|
|
33972
|
-
parameters: {
|
|
33973
|
-
query?: never;
|
|
33974
|
-
header?: never;
|
|
33975
|
-
path?: never;
|
|
33976
|
-
cookie?: never;
|
|
33977
|
-
};
|
|
33978
|
-
requestBody?: {
|
|
33979
|
-
content: {
|
|
33980
|
-
"application/json": components["schemas"]["CreateSystemMessageRequest"];
|
|
33981
|
-
};
|
|
33982
|
-
};
|
|
33983
|
-
responses: {
|
|
33984
|
-
/** @description The message and its per-project delivery. */
|
|
33985
|
-
200: {
|
|
33986
|
-
headers: {
|
|
33987
|
-
[name: string]: unknown;
|
|
33988
|
-
};
|
|
33989
|
-
content: {
|
|
33990
|
-
"application/json": components["schemas"]["CreateSystemMessageResponse"];
|
|
33991
|
-
};
|
|
33992
|
-
};
|
|
33993
|
-
/** @description A listed project does not exist. */
|
|
33994
|
-
400: {
|
|
33995
|
-
headers: {
|
|
33996
|
-
[name: string]: unknown;
|
|
33997
|
-
};
|
|
33998
|
-
content: {
|
|
33999
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34000
|
-
};
|
|
34001
|
-
};
|
|
34002
|
-
/** @description Broadcast requested but no project has an open manager session. */
|
|
34003
|
-
422: {
|
|
34004
|
-
headers: {
|
|
34005
|
-
[name: string]: unknown;
|
|
34006
|
-
};
|
|
34007
|
-
content: {
|
|
34008
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34009
|
-
};
|
|
34010
|
-
};
|
|
34011
|
-
};
|
|
34012
|
-
};
|
|
34013
|
-
getSystemMessage: {
|
|
34014
|
-
parameters: {
|
|
34015
|
-
query?: never;
|
|
34016
|
-
header?: never;
|
|
34017
|
-
path: {
|
|
34018
|
-
id: number;
|
|
34019
|
-
};
|
|
34020
|
-
cookie?: never;
|
|
34021
|
-
};
|
|
34022
|
-
requestBody?: never;
|
|
34023
|
-
responses: {
|
|
34024
|
-
/** @description The message and its per-project status. */
|
|
34025
|
-
200: {
|
|
34026
|
-
headers: {
|
|
34027
|
-
[name: string]: unknown;
|
|
34028
|
-
};
|
|
34029
|
-
content: {
|
|
34030
|
-
"application/json": components["schemas"]["SystemMessageDetailResponse"];
|
|
34031
|
-
};
|
|
34032
|
-
};
|
|
34033
|
-
/** @description System message not found. */
|
|
34034
|
-
404: {
|
|
34035
|
-
headers: {
|
|
34036
|
-
[name: string]: unknown;
|
|
34037
|
-
};
|
|
34038
|
-
content: {
|
|
34039
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34040
|
-
};
|
|
34041
|
-
};
|
|
34042
|
-
};
|
|
34043
|
-
};
|
|
34044
|
-
ackSystemMessage: {
|
|
34045
|
-
parameters: {
|
|
34046
|
-
query?: never;
|
|
34047
|
-
header?: never;
|
|
34048
|
-
path: {
|
|
34049
|
-
id: number;
|
|
34050
|
-
};
|
|
34051
|
-
cookie?: never;
|
|
34052
|
-
};
|
|
34053
|
-
requestBody?: {
|
|
34054
|
-
content: {
|
|
34055
|
-
"application/json": components["schemas"]["AckSystemMessageRequest"];
|
|
34056
|
-
};
|
|
34057
|
-
};
|
|
34058
|
-
responses: {
|
|
34059
|
-
/** @description The recorded acknowledgement. */
|
|
34060
|
-
200: {
|
|
34061
|
-
headers: {
|
|
34062
|
-
[name: string]: unknown;
|
|
34063
|
-
};
|
|
34064
|
-
content: {
|
|
34065
|
-
"application/json": components["schemas"]["AckSystemMessageResponse"];
|
|
34066
|
-
};
|
|
34067
|
-
};
|
|
34068
|
-
/** @description Caller is not a manager chat session. */
|
|
34069
|
-
403: {
|
|
34070
|
-
headers: {
|
|
34071
|
-
[name: string]: unknown;
|
|
34072
|
-
};
|
|
34073
|
-
content: {
|
|
34074
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34075
|
-
};
|
|
34076
|
-
};
|
|
34077
|
-
/** @description System message was not sent to this project. */
|
|
34078
|
-
404: {
|
|
34079
|
-
headers: {
|
|
34080
|
-
[name: string]: unknown;
|
|
34081
|
-
};
|
|
34082
|
-
content: {
|
|
34083
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
34084
|
-
};
|
|
34085
|
-
};
|
|
34086
|
-
};
|
|
34087
|
-
};
|
|
34088
34255
|
listTaskChatSessions: {
|
|
34089
34256
|
parameters: {
|
|
34090
34257
|
query?: never;
|
|
@@ -34139,9 +34306,9 @@ export interface operations {
|
|
|
34139
34306
|
requestBody?: {
|
|
34140
34307
|
content: {
|
|
34141
34308
|
"application/json": {
|
|
34142
|
-
/** @description
|
|
34309
|
+
/** @description The task's project. Optional; the session is always in the task's project. */
|
|
34143
34310
|
project_id?: (number | string) | null;
|
|
34144
|
-
/** @description
|
|
34311
|
+
/** @description Extra instructions added after the pointer to the task. */
|
|
34145
34312
|
initial_prompt?: string | null;
|
|
34146
34313
|
/** @description Model to use for the chat session. */
|
|
34147
34314
|
model?: string | null;
|
|
@@ -34158,7 +34325,7 @@ export interface operations {
|
|
|
34158
34325
|
"application/json": components["schemas"]["TaskSessionResponse"];
|
|
34159
34326
|
};
|
|
34160
34327
|
};
|
|
34161
|
-
/** @description
|
|
34328
|
+
/** @description Invalid input. */
|
|
34162
34329
|
400: {
|
|
34163
34330
|
headers: {
|
|
34164
34331
|
[name: string]: unknown;
|
|
@@ -34167,7 +34334,16 @@ export interface operations {
|
|
|
34167
34334
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
34168
34335
|
};
|
|
34169
34336
|
};
|
|
34170
|
-
/** @description
|
|
34337
|
+
/** @description The project's billing blocks new sessions. */
|
|
34338
|
+
402: {
|
|
34339
|
+
headers: {
|
|
34340
|
+
[name: string]: unknown;
|
|
34341
|
+
};
|
|
34342
|
+
content: {
|
|
34343
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
34344
|
+
};
|
|
34345
|
+
};
|
|
34346
|
+
/** @description Task not found, or not in the given project. */
|
|
34171
34347
|
404: {
|
|
34172
34348
|
headers: {
|
|
34173
34349
|
[name: string]: unknown;
|