@soat/sdk 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +66 -4
- package/dist/index.d.mts +66 -4
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -623,7 +623,7 @@ var Activity = class {
|
|
|
623
623
|
/**
|
|
624
624
|
* List activity feed entries
|
|
625
625
|
*
|
|
626
|
-
* Returns activity entries for a project, newest first, filterable by kind and
|
|
626
|
+
* Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.
|
|
627
627
|
*/
|
|
628
628
|
static listActivity(options) {
|
|
629
629
|
return (options?.client ?? client).get({
|
package/dist/index.d.cts
CHANGED
|
@@ -347,7 +347,7 @@ type ActivityEntry = {
|
|
|
347
347
|
*/
|
|
348
348
|
summary?: string;
|
|
349
349
|
/**
|
|
350
|
-
* Kind-specific structured context (tool, args digest, node id,
|
|
350
|
+
* Kind-specific structured context (tool, args digest, node id, guardrail policy version)
|
|
351
351
|
*/
|
|
352
352
|
detail?: {
|
|
353
353
|
[key: string]: unknown;
|
|
@@ -360,6 +360,10 @@ type ActivityEntry = {
|
|
|
360
360
|
* Associated agent, if any
|
|
361
361
|
*/
|
|
362
362
|
agent_id?: string | null;
|
|
363
|
+
/**
|
|
364
|
+
* The agent generation the entry was produced during, if any. Filter on it with the `generation_id` query parameter to read everything one turn did.
|
|
365
|
+
*/
|
|
366
|
+
generation_id?: string | null;
|
|
363
367
|
/**
|
|
364
368
|
* Producer-specific reference (the approval, exception, or trigger firing id the entry came from, or the executed tool's id)
|
|
365
369
|
*/
|
|
@@ -1538,6 +1542,10 @@ type ConversationRecord = {
|
|
|
1538
1542
|
* Actor ID associated with this conversation
|
|
1539
1543
|
*/
|
|
1540
1544
|
actor_id?: string | null;
|
|
1545
|
+
/**
|
|
1546
|
+
* Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`.
|
|
1547
|
+
*/
|
|
1548
|
+
retrieval?: 'embed' | 'none' | null;
|
|
1541
1549
|
};
|
|
1542
1550
|
type ConversationMessageRecord = {
|
|
1543
1551
|
/**
|
|
@@ -5004,6 +5012,10 @@ type OrchestrationRun = {
|
|
|
5004
5012
|
metadata?: {
|
|
5005
5013
|
[key: string]: unknown;
|
|
5006
5014
|
} | null;
|
|
5015
|
+
/**
|
|
5016
|
+
* The deduplication key the run was started under, unique within the project and claimed for as long as the run record exists. Null for a run started without one, which every platform-started run is.
|
|
5017
|
+
*/
|
|
5018
|
+
idempotency_key?: string | null;
|
|
5007
5019
|
/**
|
|
5008
5020
|
* The run whose node started this one — set only on a child a `loop` or `sub_orchestration` node spawned, null for a run a caller started. A child is its own run with its own usage events, so this is what makes a delegated run's spend attributable to the run that ordered it.
|
|
5009
5021
|
*/
|
|
@@ -5180,6 +5192,14 @@ type StartOrchestrationRunRequest = {
|
|
|
5180
5192
|
metadata?: {
|
|
5181
5193
|
[key: string]: unknown;
|
|
5182
5194
|
};
|
|
5195
|
+
/**
|
|
5196
|
+
* Deduplication key, unique within the project, that makes a retry of an ambiguous failure safe. The first request under a key starts the run and answers `201`; any later request carrying the same key answers `200` with that same run, whatever state it has reached — including a retry that arrives while the original is still running.
|
|
5197
|
+
*
|
|
5198
|
+
* The key is claimed by the run record and stays claimed for as long as the record exists, so it never silently expires and lets a second run through.
|
|
5199
|
+
*
|
|
5200
|
+
* `orchestration_id`, `input`, `tool_context` and `metadata` are the request the key names: reusing a key with any of them changed is `409 IDEMPOTENCY_KEY_REUSED` rather than a replay of a run that does something else. `wait` is not part of that comparison — it says how the caller waits, not what the run is — so a retry may flip it.
|
|
5201
|
+
*/
|
|
5202
|
+
idempotency_key?: string;
|
|
5183
5203
|
/**
|
|
5184
5204
|
* When true, block until the run reaches a terminal (succeeded/failed) or awaiting_input state and return the settled run. When false (default), return immediately with status "queued" and execute the run in the background.
|
|
5185
5205
|
*/
|
|
@@ -5251,6 +5271,10 @@ type ProjectRecord = {
|
|
|
5251
5271
|
* Whether `GET` requests naming this project are recorded in the audit log. `false` by default — v1 audits mutations only.
|
|
5252
5272
|
*/
|
|
5253
5273
|
audit_reads_enabled?: boolean;
|
|
5274
|
+
/**
|
|
5275
|
+
* What a conversation that names no `retrieval` of its own does. `none` by default.
|
|
5276
|
+
*/
|
|
5277
|
+
default_conversation_retrieval?: 'embed' | 'none';
|
|
5254
5278
|
/**
|
|
5255
5279
|
* Days of trace/generation content retention before the daily sweep purges it. `null` means retention is disabled (the default) and content is kept until purged on demand.
|
|
5256
5280
|
*/
|
|
@@ -5626,6 +5650,8 @@ type SubmitSessionToolOutputsRequest = {
|
|
|
5626
5650
|
};
|
|
5627
5651
|
/**
|
|
5628
5652
|
* Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.
|
|
5653
|
+
*
|
|
5654
|
+
* Keys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.
|
|
5629
5655
|
*/
|
|
5630
5656
|
type TagBag = {
|
|
5631
5657
|
[key: string]: string;
|
|
@@ -7141,6 +7167,18 @@ type ListActivityData = {
|
|
|
7141
7167
|
* Filter by severity
|
|
7142
7168
|
*/
|
|
7143
7169
|
severity?: 'info' | 'warning' | 'critical';
|
|
7170
|
+
/**
|
|
7171
|
+
* Filter to entries produced by one agent. Composable with every other filter — entries carry one agent, one generation and one run, so naming two narrows to the rows where both hold.
|
|
7172
|
+
*/
|
|
7173
|
+
agent_id?: string;
|
|
7174
|
+
/**
|
|
7175
|
+
* Filter to entries produced during one agent generation. This is what turns `tool_resolution_failed` from alertable into usable: the warning for a suspect turn is one query rather than a scan of the project's feed.
|
|
7176
|
+
*/
|
|
7177
|
+
generation_id?: string;
|
|
7178
|
+
/**
|
|
7179
|
+
* Filter to entries produced during one orchestration run.
|
|
7180
|
+
*/
|
|
7181
|
+
orchestration_run_id?: string;
|
|
7144
7182
|
/**
|
|
7145
7183
|
* Opaque cursor from a previous page's `next_cursor`
|
|
7146
7184
|
*/
|
|
@@ -9317,6 +9355,10 @@ type CreateConversationData = {
|
|
|
9317
9355
|
* Actor ID to associate with this conversation
|
|
9318
9356
|
*/
|
|
9319
9357
|
actor_id?: string | null;
|
|
9358
|
+
/**
|
|
9359
|
+
* Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`.
|
|
9360
|
+
*/
|
|
9361
|
+
retrieval?: 'embed' | 'none' | null;
|
|
9320
9362
|
};
|
|
9321
9363
|
path?: never;
|
|
9322
9364
|
query?: never;
|
|
@@ -9420,6 +9462,10 @@ type UpdateConversationData = {
|
|
|
9420
9462
|
* New conversation name
|
|
9421
9463
|
*/
|
|
9422
9464
|
name?: string | null;
|
|
9465
|
+
/**
|
|
9466
|
+
* Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`. Switching it on embeds the turns already in the conversation, so the whole conversation becomes retrievable rather than only what is said next.
|
|
9467
|
+
*/
|
|
9468
|
+
retrieval?: 'embed' | 'none' | null;
|
|
9423
9469
|
};
|
|
9424
9470
|
path: {
|
|
9425
9471
|
/**
|
|
@@ -9827,7 +9873,7 @@ type CreateDocumentData = {
|
|
|
9827
9873
|
project_id?: string;
|
|
9828
9874
|
content: string;
|
|
9829
9875
|
/**
|
|
9830
|
-
* Logical path within the project (e.g. /reports/q1.txt). Defaults to
|
|
9876
|
+
* Logical path within the project (e.g. /reports/q1.txt). Defaults to `/<filename>`, or to `/<document_id>.txt` when neither is given — a document with no path is reachable only by its id, since a prefix filter never matches null.
|
|
9831
9877
|
*/
|
|
9832
9878
|
path?: string;
|
|
9833
9879
|
filename?: string;
|
|
@@ -11435,6 +11481,10 @@ type ListFilesData = {
|
|
|
11435
11481
|
* Filter files by project ID
|
|
11436
11482
|
*/
|
|
11437
11483
|
project_id?: string;
|
|
11484
|
+
/**
|
|
11485
|
+
* Only files under this directory. The prefix is a path boundary, not a substring: `/reports` returns `/reports/q1.txt` and never `/reports-archive/q1.txt`, and `/` selects the whole project. A leading slash is optional and a trailing one is ignored, so `reports`, `/reports` and `/reports/` are the same filter. `%` and `_` are literal characters, not wildcards. Naming a directory under `/.system/` is what includes platform-written files, which a list without this parameter leaves out.
|
|
11486
|
+
*/
|
|
11487
|
+
path_prefix?: string;
|
|
11438
11488
|
/**
|
|
11439
11489
|
* Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
|
|
11440
11490
|
*
|
|
@@ -14852,7 +14902,7 @@ type StartOrchestrationRunData = {
|
|
|
14852
14902
|
};
|
|
14853
14903
|
type StartOrchestrationRunErrors = {
|
|
14854
14904
|
/**
|
|
14855
|
-
* Validation error (e.g. a `tool_context` key that cannot become a header,
|
|
14905
|
+
* Validation error (e.g. a `tool_context` key that cannot become a header, `metadata` that is not a JSON object, or an `idempotency_key` that is not a non-empty string of at most 255 characters). No run is created.
|
|
14856
14906
|
*/
|
|
14857
14907
|
400: unknown;
|
|
14858
14908
|
/**
|
|
@@ -14867,8 +14917,16 @@ type StartOrchestrationRunErrors = {
|
|
|
14867
14917
|
* Orchestration not found
|
|
14868
14918
|
*/
|
|
14869
14919
|
404: unknown;
|
|
14920
|
+
/**
|
|
14921
|
+
* `IDEMPOTENCY_KEY_REUSED` — the key is already claimed by a run started from a different request. No run is created.
|
|
14922
|
+
*/
|
|
14923
|
+
409: unknown;
|
|
14870
14924
|
};
|
|
14871
14925
|
type StartOrchestrationRunResponses = {
|
|
14926
|
+
/**
|
|
14927
|
+
* Duplicate request — the run the `idempotency_key` already names is returned and no second run is started.
|
|
14928
|
+
*/
|
|
14929
|
+
200: OrchestrationRun;
|
|
14872
14930
|
/**
|
|
14873
14931
|
* Run created and executed
|
|
14874
14932
|
*/
|
|
@@ -15401,6 +15459,10 @@ type UpdateProjectData = {
|
|
|
15401
15459
|
* Opt the project into read auditing. When true, `GET` requests that name this project are recorded in the audit log alongside mutations. Defaults to `false`.
|
|
15402
15460
|
*/
|
|
15403
15461
|
audit_reads_enabled?: boolean;
|
|
15462
|
+
/**
|
|
15463
|
+
* What a conversation that names no `retrieval` of its own does. `none` by default: a turn is embedded because someone asked for the conversation to be retrievable, never merely because it was said. Turns are stored and chunked on both settings.
|
|
15464
|
+
*/
|
|
15465
|
+
default_conversation_retrieval?: 'embed' | 'none';
|
|
15404
15466
|
/**
|
|
15405
15467
|
* How long trace and generation content is kept before the daily retention sweep content-purges it. `null` (the default) disables retention; otherwise an integer >= 1. The sweep uses the same purge path as `DELETE /traces/{trace_id}/content`, so the row survives as an auditable skeleton with `content_redacted_at` set.
|
|
15406
15468
|
*/
|
|
@@ -18699,7 +18761,7 @@ export declare class Activity {
|
|
|
18699
18761
|
/**
|
|
18700
18762
|
* List activity feed entries
|
|
18701
18763
|
*
|
|
18702
|
-
* Returns activity entries for a project, newest first, filterable by kind and
|
|
18764
|
+
* Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.
|
|
18703
18765
|
*/
|
|
18704
18766
|
static listActivity<ThrowOnError extends boolean = false>(options?: Options<ListActivityData, ThrowOnError>): RequestResult<ListActivityResponses, ListActivityErrors, ThrowOnError>;
|
|
18705
18767
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -347,7 +347,7 @@ type ActivityEntry = {
|
|
|
347
347
|
*/
|
|
348
348
|
summary?: string;
|
|
349
349
|
/**
|
|
350
|
-
* Kind-specific structured context (tool, args digest, node id,
|
|
350
|
+
* Kind-specific structured context (tool, args digest, node id, guardrail policy version)
|
|
351
351
|
*/
|
|
352
352
|
detail?: {
|
|
353
353
|
[key: string]: unknown;
|
|
@@ -360,6 +360,10 @@ type ActivityEntry = {
|
|
|
360
360
|
* Associated agent, if any
|
|
361
361
|
*/
|
|
362
362
|
agent_id?: string | null;
|
|
363
|
+
/**
|
|
364
|
+
* The agent generation the entry was produced during, if any. Filter on it with the `generation_id` query parameter to read everything one turn did.
|
|
365
|
+
*/
|
|
366
|
+
generation_id?: string | null;
|
|
363
367
|
/**
|
|
364
368
|
* Producer-specific reference (the approval, exception, or trigger firing id the entry came from, or the executed tool's id)
|
|
365
369
|
*/
|
|
@@ -1538,6 +1542,10 @@ type ConversationRecord = {
|
|
|
1538
1542
|
* Actor ID associated with this conversation
|
|
1539
1543
|
*/
|
|
1540
1544
|
actor_id?: string | null;
|
|
1545
|
+
/**
|
|
1546
|
+
* Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`.
|
|
1547
|
+
*/
|
|
1548
|
+
retrieval?: 'embed' | 'none' | null;
|
|
1541
1549
|
};
|
|
1542
1550
|
type ConversationMessageRecord = {
|
|
1543
1551
|
/**
|
|
@@ -5004,6 +5012,10 @@ type OrchestrationRun = {
|
|
|
5004
5012
|
metadata?: {
|
|
5005
5013
|
[key: string]: unknown;
|
|
5006
5014
|
} | null;
|
|
5015
|
+
/**
|
|
5016
|
+
* The deduplication key the run was started under, unique within the project and claimed for as long as the run record exists. Null for a run started without one, which every platform-started run is.
|
|
5017
|
+
*/
|
|
5018
|
+
idempotency_key?: string | null;
|
|
5007
5019
|
/**
|
|
5008
5020
|
* The run whose node started this one — set only on a child a `loop` or `sub_orchestration` node spawned, null for a run a caller started. A child is its own run with its own usage events, so this is what makes a delegated run's spend attributable to the run that ordered it.
|
|
5009
5021
|
*/
|
|
@@ -5180,6 +5192,14 @@ type StartOrchestrationRunRequest = {
|
|
|
5180
5192
|
metadata?: {
|
|
5181
5193
|
[key: string]: unknown;
|
|
5182
5194
|
};
|
|
5195
|
+
/**
|
|
5196
|
+
* Deduplication key, unique within the project, that makes a retry of an ambiguous failure safe. The first request under a key starts the run and answers `201`; any later request carrying the same key answers `200` with that same run, whatever state it has reached — including a retry that arrives while the original is still running.
|
|
5197
|
+
*
|
|
5198
|
+
* The key is claimed by the run record and stays claimed for as long as the record exists, so it never silently expires and lets a second run through.
|
|
5199
|
+
*
|
|
5200
|
+
* `orchestration_id`, `input`, `tool_context` and `metadata` are the request the key names: reusing a key with any of them changed is `409 IDEMPOTENCY_KEY_REUSED` rather than a replay of a run that does something else. `wait` is not part of that comparison — it says how the caller waits, not what the run is — so a retry may flip it.
|
|
5201
|
+
*/
|
|
5202
|
+
idempotency_key?: string;
|
|
5183
5203
|
/**
|
|
5184
5204
|
* When true, block until the run reaches a terminal (succeeded/failed) or awaiting_input state and return the settled run. When false (default), return immediately with status "queued" and execute the run in the background.
|
|
5185
5205
|
*/
|
|
@@ -5251,6 +5271,10 @@ type ProjectRecord = {
|
|
|
5251
5271
|
* Whether `GET` requests naming this project are recorded in the audit log. `false` by default — v1 audits mutations only.
|
|
5252
5272
|
*/
|
|
5253
5273
|
audit_reads_enabled?: boolean;
|
|
5274
|
+
/**
|
|
5275
|
+
* What a conversation that names no `retrieval` of its own does. `none` by default.
|
|
5276
|
+
*/
|
|
5277
|
+
default_conversation_retrieval?: 'embed' | 'none';
|
|
5254
5278
|
/**
|
|
5255
5279
|
* Days of trace/generation content retention before the daily sweep purges it. `null` means retention is disabled (the default) and content is kept until purged on demand.
|
|
5256
5280
|
*/
|
|
@@ -5626,6 +5650,8 @@ type SubmitSessionToolOutputsRequest = {
|
|
|
5626
5650
|
};
|
|
5627
5651
|
/**
|
|
5628
5652
|
* Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.
|
|
5653
|
+
*
|
|
5654
|
+
* Keys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.
|
|
5629
5655
|
*/
|
|
5630
5656
|
type TagBag = {
|
|
5631
5657
|
[key: string]: string;
|
|
@@ -7141,6 +7167,18 @@ type ListActivityData = {
|
|
|
7141
7167
|
* Filter by severity
|
|
7142
7168
|
*/
|
|
7143
7169
|
severity?: 'info' | 'warning' | 'critical';
|
|
7170
|
+
/**
|
|
7171
|
+
* Filter to entries produced by one agent. Composable with every other filter — entries carry one agent, one generation and one run, so naming two narrows to the rows where both hold.
|
|
7172
|
+
*/
|
|
7173
|
+
agent_id?: string;
|
|
7174
|
+
/**
|
|
7175
|
+
* Filter to entries produced during one agent generation. This is what turns `tool_resolution_failed` from alertable into usable: the warning for a suspect turn is one query rather than a scan of the project's feed.
|
|
7176
|
+
*/
|
|
7177
|
+
generation_id?: string;
|
|
7178
|
+
/**
|
|
7179
|
+
* Filter to entries produced during one orchestration run.
|
|
7180
|
+
*/
|
|
7181
|
+
orchestration_run_id?: string;
|
|
7144
7182
|
/**
|
|
7145
7183
|
* Opaque cursor from a previous page's `next_cursor`
|
|
7146
7184
|
*/
|
|
@@ -9317,6 +9355,10 @@ type CreateConversationData = {
|
|
|
9317
9355
|
* Actor ID to associate with this conversation
|
|
9318
9356
|
*/
|
|
9319
9357
|
actor_id?: string | null;
|
|
9358
|
+
/**
|
|
9359
|
+
* Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`.
|
|
9360
|
+
*/
|
|
9361
|
+
retrieval?: 'embed' | 'none' | null;
|
|
9320
9362
|
};
|
|
9321
9363
|
path?: never;
|
|
9322
9364
|
query?: never;
|
|
@@ -9420,6 +9462,10 @@ type UpdateConversationData = {
|
|
|
9420
9462
|
* New conversation name
|
|
9421
9463
|
*/
|
|
9422
9464
|
name?: string | null;
|
|
9465
|
+
/**
|
|
9466
|
+
* Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`. Switching it on embeds the turns already in the conversation, so the whole conversation becomes retrievable rather than only what is said next.
|
|
9467
|
+
*/
|
|
9468
|
+
retrieval?: 'embed' | 'none' | null;
|
|
9423
9469
|
};
|
|
9424
9470
|
path: {
|
|
9425
9471
|
/**
|
|
@@ -9827,7 +9873,7 @@ type CreateDocumentData = {
|
|
|
9827
9873
|
project_id?: string;
|
|
9828
9874
|
content: string;
|
|
9829
9875
|
/**
|
|
9830
|
-
* Logical path within the project (e.g. /reports/q1.txt). Defaults to
|
|
9876
|
+
* Logical path within the project (e.g. /reports/q1.txt). Defaults to `/<filename>`, or to `/<document_id>.txt` when neither is given — a document with no path is reachable only by its id, since a prefix filter never matches null.
|
|
9831
9877
|
*/
|
|
9832
9878
|
path?: string;
|
|
9833
9879
|
filename?: string;
|
|
@@ -11435,6 +11481,10 @@ type ListFilesData = {
|
|
|
11435
11481
|
* Filter files by project ID
|
|
11436
11482
|
*/
|
|
11437
11483
|
project_id?: string;
|
|
11484
|
+
/**
|
|
11485
|
+
* Only files under this directory. The prefix is a path boundary, not a substring: `/reports` returns `/reports/q1.txt` and never `/reports-archive/q1.txt`, and `/` selects the whole project. A leading slash is optional and a trailing one is ignored, so `reports`, `/reports` and `/reports/` are the same filter. `%` and `_` are literal characters, not wildcards. Naming a directory under `/.system/` is what includes platform-written files, which a list without this parameter leaves out.
|
|
11486
|
+
*/
|
|
11487
|
+
path_prefix?: string;
|
|
11438
11488
|
/**
|
|
11439
11489
|
* Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.
|
|
11440
11490
|
*
|
|
@@ -14852,7 +14902,7 @@ type StartOrchestrationRunData = {
|
|
|
14852
14902
|
};
|
|
14853
14903
|
type StartOrchestrationRunErrors = {
|
|
14854
14904
|
/**
|
|
14855
|
-
* Validation error (e.g. a `tool_context` key that cannot become a header,
|
|
14905
|
+
* Validation error (e.g. a `tool_context` key that cannot become a header, `metadata` that is not a JSON object, or an `idempotency_key` that is not a non-empty string of at most 255 characters). No run is created.
|
|
14856
14906
|
*/
|
|
14857
14907
|
400: unknown;
|
|
14858
14908
|
/**
|
|
@@ -14867,8 +14917,16 @@ type StartOrchestrationRunErrors = {
|
|
|
14867
14917
|
* Orchestration not found
|
|
14868
14918
|
*/
|
|
14869
14919
|
404: unknown;
|
|
14920
|
+
/**
|
|
14921
|
+
* `IDEMPOTENCY_KEY_REUSED` — the key is already claimed by a run started from a different request. No run is created.
|
|
14922
|
+
*/
|
|
14923
|
+
409: unknown;
|
|
14870
14924
|
};
|
|
14871
14925
|
type StartOrchestrationRunResponses = {
|
|
14926
|
+
/**
|
|
14927
|
+
* Duplicate request — the run the `idempotency_key` already names is returned and no second run is started.
|
|
14928
|
+
*/
|
|
14929
|
+
200: OrchestrationRun;
|
|
14872
14930
|
/**
|
|
14873
14931
|
* Run created and executed
|
|
14874
14932
|
*/
|
|
@@ -15401,6 +15459,10 @@ type UpdateProjectData = {
|
|
|
15401
15459
|
* Opt the project into read auditing. When true, `GET` requests that name this project are recorded in the audit log alongside mutations. Defaults to `false`.
|
|
15402
15460
|
*/
|
|
15403
15461
|
audit_reads_enabled?: boolean;
|
|
15462
|
+
/**
|
|
15463
|
+
* What a conversation that names no `retrieval` of its own does. `none` by default: a turn is embedded because someone asked for the conversation to be retrievable, never merely because it was said. Turns are stored and chunked on both settings.
|
|
15464
|
+
*/
|
|
15465
|
+
default_conversation_retrieval?: 'embed' | 'none';
|
|
15404
15466
|
/**
|
|
15405
15467
|
* How long trace and generation content is kept before the daily retention sweep content-purges it. `null` (the default) disables retention; otherwise an integer >= 1. The sweep uses the same purge path as `DELETE /traces/{trace_id}/content`, so the row survives as an auditable skeleton with `content_redacted_at` set.
|
|
15406
15468
|
*/
|
|
@@ -18699,7 +18761,7 @@ export declare class Activity {
|
|
|
18699
18761
|
/**
|
|
18700
18762
|
* List activity feed entries
|
|
18701
18763
|
*
|
|
18702
|
-
* Returns activity entries for a project, newest first, filterable by kind and
|
|
18764
|
+
* Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.
|
|
18703
18765
|
*/
|
|
18704
18766
|
static listActivity<ThrowOnError extends boolean = false>(options?: Options<ListActivityData, ThrowOnError>): RequestResult<ListActivityResponses, ListActivityErrors, ThrowOnError>;
|
|
18705
18767
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -622,7 +622,7 @@ var Activity = class {
|
|
|
622
622
|
/**
|
|
623
623
|
* List activity feed entries
|
|
624
624
|
*
|
|
625
|
-
* Returns activity entries for a project, newest first, filterable by kind and
|
|
625
|
+
* Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.
|
|
626
626
|
*/
|
|
627
627
|
static listActivity(options) {
|
|
628
628
|
return (options?.client ?? client).get({
|