@deepraxis/sdk 0.1.1-dev.9037c29 → 0.1.1-dev.90f30ac
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/METHODS.md +28 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +50 -8
- package/dist/generated/sdk.gen.js +141 -7
- package/dist/generated/types.gen.d.ts +485 -305
- package/dist/operations.generated.js +173 -10
- package/dist/resources.generated.d.ts +68 -62
- package/dist/resources.generated.js +17 -0
- package/package.json +1 -1
|
@@ -1934,50 +1934,45 @@ export type AgentSseEvent = ({
|
|
|
1934
1934
|
*/
|
|
1935
1935
|
event?: 'user.tool_confirmation';
|
|
1936
1936
|
/**
|
|
1937
|
-
*
|
|
1937
|
+
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
1938
1938
|
*/
|
|
1939
|
-
data?: {
|
|
1939
|
+
data?: unknown & {
|
|
1940
1940
|
/**
|
|
1941
|
-
*
|
|
1941
|
+
* Unique identifier for this event.
|
|
1942
1942
|
*/
|
|
1943
1943
|
id: string;
|
|
1944
1944
|
/**
|
|
1945
|
-
*
|
|
1945
|
+
* UserToolConfirmationResult enum
|
|
1946
1946
|
*/
|
|
1947
|
-
|
|
1947
|
+
result: 'allow' | 'deny';
|
|
1948
1948
|
/**
|
|
1949
|
-
*
|
|
1949
|
+
* The id of the `agent.tool_use` or `agent.mcp_tool_use` event this result
|
|
1950
|
+
* corresponds to, which can be found in the last `session.status_idle`
|
|
1951
|
+
* [event's](https://platform.claude.com/docs/en/api/beta/sessions/events/list#beta_managed_agents_session_requires_action.event_ids)
|
|
1952
|
+
* `stop_reason.event_ids` field.
|
|
1950
1953
|
*/
|
|
1951
|
-
|
|
1954
|
+
tool_use_id: string;
|
|
1952
1955
|
/**
|
|
1953
|
-
* The
|
|
1956
|
+
* Always `user.tool_confirmation`. The user's decision to allow or deny a tool call that waits for approval.
|
|
1954
1957
|
*/
|
|
1955
|
-
|
|
1958
|
+
type: 'user.tool_confirmation';
|
|
1956
1959
|
/**
|
|
1957
|
-
*
|
|
1960
|
+
* Feedback for a deny result, at most 4000 characters. Appended to the model-visible refusal and persisted on the confirmation. Omit when no feedback is needed.
|
|
1958
1961
|
*/
|
|
1959
|
-
|
|
1962
|
+
deny_message?: string;
|
|
1960
1963
|
/**
|
|
1961
|
-
*
|
|
1964
|
+
* A timestamp in RFC 3339 format
|
|
1962
1965
|
*/
|
|
1963
|
-
|
|
1964
|
-
[key: string]: string;
|
|
1965
|
-
};
|
|
1966
|
+
processed_at?: null | string;
|
|
1966
1967
|
/**
|
|
1967
|
-
*
|
|
1968
|
+
* Set by the server to the subagent thread this confirmation was routed to.
|
|
1969
|
+
* Omitted when it was routed to the primary thread.
|
|
1968
1970
|
*/
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
preview?: string;
|
|
1975
|
-
/**
|
|
1976
|
-
* Free text the user added to their choice.
|
|
1977
|
-
*/
|
|
1978
|
-
notes?: string;
|
|
1979
|
-
};
|
|
1980
|
-
};
|
|
1971
|
+
session_thread_id?: null | string;
|
|
1972
|
+
/**
|
|
1973
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
1974
|
+
*/
|
|
1975
|
+
permission_mode?: 'yolo';
|
|
1981
1976
|
};
|
|
1982
1977
|
} | {
|
|
1983
1978
|
/**
|
|
@@ -16425,7 +16420,7 @@ export type DevopsTestPlan = {
|
|
|
16425
16420
|
failedPaths?: Array<string>;
|
|
16426
16421
|
};
|
|
16427
16422
|
/**
|
|
16428
|
-
* One page of the organization's delivery projects, newest first.
|
|
16423
|
+
* One page of the organization's delivery projects, newest first, and how many projects the organization has in total.
|
|
16429
16424
|
*/
|
|
16430
16425
|
export type DevopsProjectPage = {
|
|
16431
16426
|
/**
|
|
@@ -16436,6 +16431,10 @@ export type DevopsProjectPage = {
|
|
|
16436
16431
|
* Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished.
|
|
16437
16432
|
*/
|
|
16438
16433
|
nextPageToken: string;
|
|
16434
|
+
/**
|
|
16435
|
+
* How many undeleted projects the caller's own organization has: 0 means the organization has none yet, not that the read returned nothing. Visible means visible to the credential's organization — the count filters rows by organization_id and is not a permission check, so it says nothing about what the caller may be granted. It is the organization's total across all pages, never this page's length: while paging it is at least the length of items, and equal on the first page when every project fits. Always present, so items: [] together with visibleProjects: 0 is an answer rather than an empty response to guess at; an organization without projects still answers 200.
|
|
16436
|
+
*/
|
|
16437
|
+
visibleProjects: number;
|
|
16439
16438
|
};
|
|
16440
16439
|
/**
|
|
16441
16440
|
* One delivery project — the unit a release, a promotion and a flag all belong to.
|
|
@@ -19391,6 +19390,10 @@ export type MediaAsset = {
|
|
|
19391
19390
|
* Number of same-length segments the proxy video is cut into, so a frame can be requested at any second of a long asset; absent while one proxy answers every second.
|
|
19392
19391
|
*/
|
|
19393
19392
|
segments?: number;
|
|
19393
|
+
/**
|
|
19394
|
+
* Length of the proxy video in seconds. Shorter than the asset duration when the source picture ends before its sound; frames past it show the last frame. Absent on proxies made before this was recorded.
|
|
19395
|
+
*/
|
|
19396
|
+
duration?: number;
|
|
19394
19397
|
};
|
|
19395
19398
|
};
|
|
19396
19399
|
};
|
|
@@ -21531,7 +21534,7 @@ export type SandboxNewSandboxV2 = {
|
|
|
21531
21534
|
*/
|
|
21532
21535
|
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
21533
21536
|
/**
|
|
21534
|
-
* Own face, required: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots, mounts volumes). Leaving it out returns INVALID_PARAMS.
|
|
21537
|
+
* Own face, required unless sku is named: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots, mounts volumes). Leaving it out returns INVALID_PARAMS.
|
|
21535
21538
|
*/
|
|
21536
21539
|
ephemeral?: boolean;
|
|
21537
21540
|
/**
|
|
@@ -21558,6 +21561,10 @@ export type SandboxNewSandboxV2 = {
|
|
|
21558
21561
|
* Own face, persistent sandboxes only: whose activity resets idleTimeout. traffic (default) counts data-plane calls, preview traffic and live processes; caller counts only your own control-plane calls.
|
|
21559
21562
|
*/
|
|
21560
21563
|
idleActivity?: 'traffic' | 'caller';
|
|
21564
|
+
/**
|
|
21565
|
+
* Own face: a demand-profile SKU <kind>.<image>.<size>, such as run.document.medium (someone waits; starts fast), job.base.large (background work that must not be cut off), batch.base.large (retried work that may be reclaimed) or computer.base.medium (keeps its disk). It fixes ephemeral, interruptible, size and the template, so those may be left out; any of them you also send must agree with it, otherwise the create fails with INVALID_PARAMS naming the field. The sandbox answers it back as sku and as the read-only label praxis.sku.
|
|
21566
|
+
*/
|
|
21567
|
+
sku?: string;
|
|
21561
21568
|
/**
|
|
21562
21569
|
* Own face, ephemeral sandboxes only: true says this sandbox may be reclaimed while it runs (a build or test you retry), which lets it run on cheaper spot capacity. A reclaimed sandbox ends with PROVIDER_FAILED; create it again. Absent or false keeps the usual capacity.
|
|
21563
21570
|
*/
|
|
@@ -26364,49 +26371,44 @@ export type AgentSseData = {
|
|
|
26364
26371
|
* Praxis extension (MCP Apps, SEP-1865): `app` when the call was made by an MCP Apps view, `codemode` when a program run by the codemode tool called an MCP tool that declares a view (the event pair exists so a client can render that view; the model already has the result in the codemode tool result); absent for the model's own calls.
|
|
26365
26372
|
*/
|
|
26366
26373
|
source?: 'app' | 'codemode';
|
|
26367
|
-
} | {
|
|
26374
|
+
} | (unknown & {
|
|
26368
26375
|
/**
|
|
26369
|
-
*
|
|
26376
|
+
* Unique identifier for this event.
|
|
26370
26377
|
*/
|
|
26371
26378
|
id: string;
|
|
26372
26379
|
/**
|
|
26373
|
-
*
|
|
26380
|
+
* UserToolConfirmationResult enum
|
|
26374
26381
|
*/
|
|
26375
|
-
|
|
26382
|
+
result: 'allow' | 'deny';
|
|
26376
26383
|
/**
|
|
26377
|
-
*
|
|
26384
|
+
* The id of the `agent.tool_use` or `agent.mcp_tool_use` event this result
|
|
26385
|
+
* corresponds to, which can be found in the last `session.status_idle`
|
|
26386
|
+
* [event's](https://platform.claude.com/docs/en/api/beta/sessions/events/list#beta_managed_agents_session_requires_action.event_ids)
|
|
26387
|
+
* `stop_reason.event_ids` field.
|
|
26378
26388
|
*/
|
|
26379
|
-
|
|
26389
|
+
tool_use_id: string;
|
|
26380
26390
|
/**
|
|
26381
|
-
* The
|
|
26391
|
+
* Always `user.tool_confirmation`. The user's decision to allow or deny a tool call that waits for approval.
|
|
26382
26392
|
*/
|
|
26383
|
-
|
|
26393
|
+
type: 'user.tool_confirmation';
|
|
26384
26394
|
/**
|
|
26385
|
-
*
|
|
26395
|
+
* Feedback for a deny result, at most 4000 characters. Appended to the model-visible refusal and persisted on the confirmation. Omit when no feedback is needed.
|
|
26386
26396
|
*/
|
|
26387
|
-
|
|
26397
|
+
deny_message?: string;
|
|
26388
26398
|
/**
|
|
26389
|
-
*
|
|
26399
|
+
* A timestamp in RFC 3339 format
|
|
26390
26400
|
*/
|
|
26391
|
-
|
|
26392
|
-
[key: string]: string;
|
|
26393
|
-
};
|
|
26401
|
+
processed_at?: null | string;
|
|
26394
26402
|
/**
|
|
26395
|
-
*
|
|
26403
|
+
* Set by the server to the subagent thread this confirmation was routed to.
|
|
26404
|
+
* Omitted when it was routed to the primary thread.
|
|
26396
26405
|
*/
|
|
26397
|
-
|
|
26398
|
-
|
|
26399
|
-
|
|
26400
|
-
|
|
26401
|
-
|
|
26402
|
-
|
|
26403
|
-
/**
|
|
26404
|
-
* Free text the user added to their choice.
|
|
26405
|
-
*/
|
|
26406
|
-
notes?: string;
|
|
26407
|
-
};
|
|
26408
|
-
};
|
|
26409
|
-
} | {
|
|
26406
|
+
session_thread_id?: null | string;
|
|
26407
|
+
/**
|
|
26408
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
26409
|
+
*/
|
|
26410
|
+
permission_mode?: 'yolo';
|
|
26411
|
+
}) | {
|
|
26410
26412
|
/**
|
|
26411
26413
|
* Unique identifier for this event.
|
|
26412
26414
|
*/
|
|
@@ -37415,6 +37417,10 @@ export type MediaSearchAsset = {
|
|
|
37415
37417
|
* Number of same-length segments the proxy video is cut into, so a frame can be requested at any second of a long asset; absent while one proxy answers every second.
|
|
37416
37418
|
*/
|
|
37417
37419
|
segments?: number;
|
|
37420
|
+
/**
|
|
37421
|
+
* Length of the proxy video in seconds. Shorter than the asset duration when the source picture ends before its sound; frames past it show the last frame. Absent on proxies made before this was recorded.
|
|
37422
|
+
*/
|
|
37423
|
+
duration?: number;
|
|
37418
37424
|
};
|
|
37419
37425
|
};
|
|
37420
37426
|
};
|
|
@@ -47208,6 +47214,10 @@ export type MediaAssetWritable = {
|
|
|
47208
47214
|
* Number of same-length segments the proxy video is cut into, so a frame can be requested at any second of a long asset; absent while one proxy answers every second.
|
|
47209
47215
|
*/
|
|
47210
47216
|
segments?: number;
|
|
47217
|
+
/**
|
|
47218
|
+
* Length of the proxy video in seconds. Shorter than the asset duration when the source picture ends before its sound; frames past it show the last frame. Absent on proxies made before this was recorded.
|
|
47219
|
+
*/
|
|
47220
|
+
duration?: number;
|
|
47211
47221
|
};
|
|
47212
47222
|
};
|
|
47213
47223
|
};
|
|
@@ -47761,6 +47771,10 @@ export type MediaSearchAssetWritable = {
|
|
|
47761
47771
|
* Number of same-length segments the proxy video is cut into, so a frame can be requested at any second of a long asset; absent while one proxy answers every second.
|
|
47762
47772
|
*/
|
|
47763
47773
|
segments?: number;
|
|
47774
|
+
/**
|
|
47775
|
+
* Length of the proxy video in seconds. Shorter than the asset duration when the source picture ends before its sound; frames past it show the last frame. Absent on proxies made before this was recorded.
|
|
47776
|
+
*/
|
|
47777
|
+
duration?: number;
|
|
47764
47778
|
};
|
|
47765
47779
|
};
|
|
47766
47780
|
};
|
|
@@ -49020,48 +49034,6 @@ export type ListAgentEventsResponses = {
|
|
|
49020
49034
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
49021
49035
|
*/
|
|
49022
49036
|
processed_at: string;
|
|
49023
|
-
} | {
|
|
49024
|
-
/**
|
|
49025
|
-
* Event id, unique within the session.
|
|
49026
|
-
*/
|
|
49027
|
-
id: string;
|
|
49028
|
-
/**
|
|
49029
|
-
* Always `user.tool_confirmation`.
|
|
49030
|
-
*/
|
|
49031
|
-
type: 'user.tool_confirmation';
|
|
49032
|
-
/**
|
|
49033
|
-
* When the event was recorded, RFC 3339.
|
|
49034
|
-
*/
|
|
49035
|
-
processed_at: string;
|
|
49036
|
-
/**
|
|
49037
|
-
* The id of the AskUserQuestion `agent.tool_use` event this answers.
|
|
49038
|
-
*/
|
|
49039
|
-
tool_use_id: string;
|
|
49040
|
-
/**
|
|
49041
|
-
* Always `allow`.
|
|
49042
|
-
*/
|
|
49043
|
-
result: 'allow';
|
|
49044
|
-
/**
|
|
49045
|
-
* The user's answer to each question, keyed by the question text; empty when the questions were dismissed.
|
|
49046
|
-
*/
|
|
49047
|
-
answers: {
|
|
49048
|
-
[key: string]: string;
|
|
49049
|
-
};
|
|
49050
|
-
/**
|
|
49051
|
-
* Per-question notes, keyed by the question text.
|
|
49052
|
-
*/
|
|
49053
|
-
annotations?: {
|
|
49054
|
-
[key: string]: {
|
|
49055
|
-
/**
|
|
49056
|
-
* The preview of the option the user chose.
|
|
49057
|
-
*/
|
|
49058
|
-
preview?: string;
|
|
49059
|
-
/**
|
|
49060
|
-
* Free text the user added to their choice.
|
|
49061
|
-
*/
|
|
49062
|
-
notes?: string;
|
|
49063
|
-
};
|
|
49064
|
-
};
|
|
49065
49037
|
}>;
|
|
49066
49038
|
/**
|
|
49067
49039
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -49111,40 +49083,6 @@ export type SendAgentEventsData = {
|
|
|
49111
49083
|
* Id of the event this event refers to.
|
|
49112
49084
|
*/
|
|
49113
49085
|
event_id: string;
|
|
49114
|
-
} | {
|
|
49115
|
-
/**
|
|
49116
|
-
* Always `user.tool_confirmation`.
|
|
49117
|
-
*/
|
|
49118
|
-
type: 'user.tool_confirmation';
|
|
49119
|
-
/**
|
|
49120
|
-
* The id of the pending `agent.tool_use` event of the AskUserQuestion call.
|
|
49121
|
-
*/
|
|
49122
|
-
tool_use_id: string;
|
|
49123
|
-
/**
|
|
49124
|
-
* Always `allow`; the questions are answered, or dismissed with an empty `answers`.
|
|
49125
|
-
*/
|
|
49126
|
-
result: 'allow';
|
|
49127
|
-
/**
|
|
49128
|
-
* The user's answer to each question, keyed by the question text. A multi-select answer joins the chosen labels with a comma and a space; a free-text answer is the user's own words. A question left out was skipped.
|
|
49129
|
-
*/
|
|
49130
|
-
answers: {
|
|
49131
|
-
[key: string]: string;
|
|
49132
|
-
};
|
|
49133
|
-
/**
|
|
49134
|
-
* Optional per-question notes, keyed by the question text.
|
|
49135
|
-
*/
|
|
49136
|
-
annotations?: {
|
|
49137
|
-
[key: string]: {
|
|
49138
|
-
/**
|
|
49139
|
-
* The preview of the option the user chose.
|
|
49140
|
-
*/
|
|
49141
|
-
preview?: string;
|
|
49142
|
-
/**
|
|
49143
|
-
* Free text the user added to their choice.
|
|
49144
|
-
*/
|
|
49145
|
-
notes?: string;
|
|
49146
|
-
};
|
|
49147
|
-
};
|
|
49148
49086
|
}>;
|
|
49149
49087
|
};
|
|
49150
49088
|
path: {
|
|
@@ -49227,48 +49165,6 @@ export type SendAgentEventsResponses = {
|
|
|
49227
49165
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
49228
49166
|
*/
|
|
49229
49167
|
processed_at: string;
|
|
49230
|
-
} | {
|
|
49231
|
-
/**
|
|
49232
|
-
* Event id, unique within the session.
|
|
49233
|
-
*/
|
|
49234
|
-
id: string;
|
|
49235
|
-
/**
|
|
49236
|
-
* Always `user.tool_confirmation`.
|
|
49237
|
-
*/
|
|
49238
|
-
type: 'user.tool_confirmation';
|
|
49239
|
-
/**
|
|
49240
|
-
* When the event was recorded, RFC 3339.
|
|
49241
|
-
*/
|
|
49242
|
-
processed_at: string;
|
|
49243
|
-
/**
|
|
49244
|
-
* The id of the AskUserQuestion `agent.tool_use` event this answers.
|
|
49245
|
-
*/
|
|
49246
|
-
tool_use_id: string;
|
|
49247
|
-
/**
|
|
49248
|
-
* Always `allow`.
|
|
49249
|
-
*/
|
|
49250
|
-
result: 'allow';
|
|
49251
|
-
/**
|
|
49252
|
-
* The user's answer to each question, keyed by the question text; empty when the questions were dismissed.
|
|
49253
|
-
*/
|
|
49254
|
-
answers: {
|
|
49255
|
-
[key: string]: string;
|
|
49256
|
-
};
|
|
49257
|
-
/**
|
|
49258
|
-
* Per-question notes, keyed by the question text.
|
|
49259
|
-
*/
|
|
49260
|
-
annotations?: {
|
|
49261
|
-
[key: string]: {
|
|
49262
|
-
/**
|
|
49263
|
-
* The preview of the option the user chose.
|
|
49264
|
-
*/
|
|
49265
|
-
preview?: string;
|
|
49266
|
-
/**
|
|
49267
|
-
* Free text the user added to their choice.
|
|
49268
|
-
*/
|
|
49269
|
-
notes?: string;
|
|
49270
|
-
};
|
|
49271
|
-
};
|
|
49272
49168
|
}>;
|
|
49273
49169
|
};
|
|
49274
49170
|
};
|
|
@@ -53044,13 +52940,17 @@ export type AgentsPhoneRetrieveResponses = {
|
|
|
53044
52940
|
*/
|
|
53045
52941
|
configured: boolean;
|
|
53046
52942
|
/**
|
|
53047
|
-
* What the phone is doing now.
|
|
52943
|
+
* What the phone is doing now. A cloud phone: none means no phone built (or its instance is gone), so a later use builds one; starting, the sandbox is still creating the instance; booting, the instance is up and the phone program has not said hello yet; restoring, last time's app state is being put back on the instance; running, usable now; archiving, the app state is being packed before it is killed (a release begins here); releasing, a release was asked for and the cron has not finished archiving and killing it. A BYOD phone (the organization's own device) has two states instead: online and offline.
|
|
53048
52944
|
*/
|
|
53049
|
-
state: 'none' | 'starting' | 'booting' | 'restoring' | 'running' | 'archiving' | 'releasing';
|
|
52945
|
+
state: 'none' | 'starting' | 'booting' | 'restoring' | 'running' | 'archiving' | 'releasing' | 'online' | 'offline';
|
|
53050
52946
|
/**
|
|
53051
|
-
* The sandbox SKU
|
|
52947
|
+
* The sandbox SKU a cloud phone is built from (for example android-2c4g), or null when no phone is configured. A configuration change of the SKU releases the old device. Always null for a BYOD phone, which is never built.
|
|
53052
52948
|
*/
|
|
53053
52949
|
sku: string | null;
|
|
52950
|
+
/**
|
|
52951
|
+
* A BYOD phone's device id (byd_…), or null for a cloud phone. The device is the organization's own real phone; the platform drives it but never builds, archives or kills it.
|
|
52952
|
+
*/
|
|
52953
|
+
byod_device: string | null;
|
|
53054
52954
|
/**
|
|
53055
52955
|
* What people and the model call this phone, or null when no phone is configured.
|
|
53056
52956
|
*/
|
|
@@ -53130,13 +53030,17 @@ export type AgentsPhoneReleaseResponses = {
|
|
|
53130
53030
|
*/
|
|
53131
53031
|
configured: boolean;
|
|
53132
53032
|
/**
|
|
53133
|
-
* What the phone is doing now.
|
|
53033
|
+
* What the phone is doing now. A cloud phone: none means no phone built (or its instance is gone), so a later use builds one; starting, the sandbox is still creating the instance; booting, the instance is up and the phone program has not said hello yet; restoring, last time's app state is being put back on the instance; running, usable now; archiving, the app state is being packed before it is killed (a release begins here); releasing, a release was asked for and the cron has not finished archiving and killing it. A BYOD phone (the organization's own device) has two states instead: online and offline.
|
|
53134
53034
|
*/
|
|
53135
|
-
state: 'none' | 'starting' | 'booting' | 'restoring' | 'running' | 'archiving' | 'releasing';
|
|
53035
|
+
state: 'none' | 'starting' | 'booting' | 'restoring' | 'running' | 'archiving' | 'releasing' | 'online' | 'offline';
|
|
53136
53036
|
/**
|
|
53137
|
-
* The sandbox SKU
|
|
53037
|
+
* The sandbox SKU a cloud phone is built from (for example android-2c4g), or null when no phone is configured. A configuration change of the SKU releases the old device. Always null for a BYOD phone, which is never built.
|
|
53138
53038
|
*/
|
|
53139
53039
|
sku: string | null;
|
|
53040
|
+
/**
|
|
53041
|
+
* A BYOD phone's device id (byd_…), or null for a cloud phone. The device is the organization's own real phone; the platform drives it but never builds, archives or kills it.
|
|
53042
|
+
*/
|
|
53043
|
+
byod_device: string | null;
|
|
53140
53044
|
/**
|
|
53141
53045
|
* What people and the model call this phone, or null when no phone is configured.
|
|
53142
53046
|
*/
|
|
@@ -62933,7 +62837,7 @@ export type ListSessionRequestsResponses = {
|
|
|
62933
62837
|
*/
|
|
62934
62838
|
object: 'request';
|
|
62935
62839
|
/**
|
|
62936
|
-
* question
|
|
62840
|
+
* Always approval: a tool waits for permission. question is kept for compatibility and is never returned: the agent asks with a card or in words and the person answers with a message.
|
|
62937
62841
|
*/
|
|
62938
62842
|
kind: 'question' | 'approval';
|
|
62939
62843
|
/**
|
|
@@ -62941,11 +62845,11 @@ export type ListSessionRequestsResponses = {
|
|
|
62941
62845
|
*/
|
|
62942
62846
|
status: 'pending';
|
|
62943
62847
|
/**
|
|
62944
|
-
* The tool the agent called, such as
|
|
62848
|
+
* The tool the agent called, such as bash.
|
|
62945
62849
|
*/
|
|
62946
62850
|
tool_name: string;
|
|
62947
62851
|
/**
|
|
62948
|
-
* The tool call's input exactly as the agent.tool_use event shows it:
|
|
62852
|
+
* The tool call's input exactly as the agent.tool_use event shows it: the tool's arguments.
|
|
62949
62853
|
*/
|
|
62950
62854
|
input: unknown;
|
|
62951
62855
|
/**
|
|
@@ -75279,6 +75183,400 @@ export type RunSandboxCommandResponses = {
|
|
|
75279
75183
|
};
|
|
75280
75184
|
};
|
|
75281
75185
|
export type RunSandboxCommandResponse = RunSandboxCommandResponses[keyof RunSandboxCommandResponses];
|
|
75186
|
+
export type CreateByodPairingData = {
|
|
75187
|
+
body?: never;
|
|
75188
|
+
path?: never;
|
|
75189
|
+
query?: never;
|
|
75190
|
+
url: '/sandbox/v1/byod/pairings';
|
|
75191
|
+
};
|
|
75192
|
+
export type CreateByodPairingErrors = {
|
|
75193
|
+
/**
|
|
75194
|
+
* INVALID_PARAMS: a body field is missing, wrongly typed or out of range, for example a name outside 1 to 64 characters. Fix the field and resend; retrying unchanged fails the same way.
|
|
75195
|
+
*/
|
|
75196
|
+
400: unknown;
|
|
75197
|
+
/**
|
|
75198
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
75199
|
+
*/
|
|
75200
|
+
401: unknown;
|
|
75201
|
+
/**
|
|
75202
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
75203
|
+
*/
|
|
75204
|
+
503: unknown;
|
|
75205
|
+
};
|
|
75206
|
+
export type CreateByodPairingResponses = {
|
|
75207
|
+
/**
|
|
75208
|
+
* A pairing the caller started: the short code, its deadline and the string the phone's app scans.
|
|
75209
|
+
*/
|
|
75210
|
+
201: {
|
|
75211
|
+
/**
|
|
75212
|
+
* The 8-character pairing code, from ABCDEFGHJKLMNPQRSTUVWXYZ23456789 (I, O, 0 and 1 are left out). Show it or the QR payload to the phone; a code can be spent once, by one device.
|
|
75213
|
+
*/
|
|
75214
|
+
code: string;
|
|
75215
|
+
/**
|
|
75216
|
+
* When the code stops working, ten minutes after it was created, as an ISO-8601 timestamp. A code that is spent or past this time answers 404 to the device.
|
|
75217
|
+
*/
|
|
75218
|
+
expires_at: string;
|
|
75219
|
+
/**
|
|
75220
|
+
* The string the app scans: praxis://byod/pair?code=<code>&api=<api origin>. Render it as a QR code; the code can also be typed in.
|
|
75221
|
+
*/
|
|
75222
|
+
qr: string;
|
|
75223
|
+
};
|
|
75224
|
+
};
|
|
75225
|
+
export type CreateByodPairingResponse = CreateByodPairingResponses[keyof CreateByodPairingResponses];
|
|
75226
|
+
export type ListByodDevicesData = {
|
|
75227
|
+
body?: never;
|
|
75228
|
+
path?: never;
|
|
75229
|
+
query?: never;
|
|
75230
|
+
url: '/sandbox/v1/byod/devices';
|
|
75231
|
+
};
|
|
75232
|
+
export type ListByodDevicesErrors = {
|
|
75233
|
+
/**
|
|
75234
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
75235
|
+
*/
|
|
75236
|
+
401: unknown;
|
|
75237
|
+
/**
|
|
75238
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
75239
|
+
*/
|
|
75240
|
+
503: unknown;
|
|
75241
|
+
};
|
|
75242
|
+
export type ListByodDevicesResponses = {
|
|
75243
|
+
/**
|
|
75244
|
+
* The organization's BYOD devices.
|
|
75245
|
+
*/
|
|
75246
|
+
200: {
|
|
75247
|
+
/**
|
|
75248
|
+
* The organization's devices that are not disconnected, oldest first; a disconnected device is left out.
|
|
75249
|
+
*/
|
|
75250
|
+
data: Array<{
|
|
75251
|
+
/**
|
|
75252
|
+
* Resource type; always "byod_device".
|
|
75253
|
+
*/
|
|
75254
|
+
object: 'byod_device';
|
|
75255
|
+
/**
|
|
75256
|
+
* Device id, `byd_` followed by 26 lowercase hex characters. Pass it wherever a use face takes a sandbox id, such as POST /sandbox/v1/sandboxes/{id}/act; every lifecycle operation on it answers CAPABILITY_UNSUPPORTED.
|
|
75257
|
+
*/
|
|
75258
|
+
id: string;
|
|
75259
|
+
/**
|
|
75260
|
+
* The device's platform, which decides the use faces it answers. Android today; linux, macos and windows arrive with the desktop module.
|
|
75261
|
+
*/
|
|
75262
|
+
platform: 'android';
|
|
75263
|
+
/**
|
|
75264
|
+
* Display name of the device, 1 to 64 characters. Change it with updateByodDevice; it is not an identifier.
|
|
75265
|
+
*/
|
|
75266
|
+
name: string;
|
|
75267
|
+
/**
|
|
75268
|
+
* Device model the phone's app reported when it claimed the pairing, such as 23127PN0CC; empty when the app sent none.
|
|
75269
|
+
*/
|
|
75270
|
+
model: string;
|
|
75271
|
+
/**
|
|
75272
|
+
* Operating-system version the app reported, such as 16; empty when the app sent none. Not the device's model.
|
|
75273
|
+
*/
|
|
75274
|
+
os_version: string;
|
|
75275
|
+
/**
|
|
75276
|
+
* True while the device holds its one control connection; false when it is paired but not connected. An act on an offline device answers 503 DEVICE_NOT_READY.
|
|
75277
|
+
*/
|
|
75278
|
+
online: boolean;
|
|
75279
|
+
/**
|
|
75280
|
+
* When the device last said hello or answered a ping, as an ISO-8601 timestamp; null until it first connects.
|
|
75281
|
+
*/
|
|
75282
|
+
last_seen_at: string | null;
|
|
75283
|
+
/**
|
|
75284
|
+
* When the device was paired, as an ISO-8601 timestamp; the list is ordered by it, oldest first.
|
|
75285
|
+
*/
|
|
75286
|
+
created_at: string;
|
|
75287
|
+
}>;
|
|
75288
|
+
};
|
|
75289
|
+
};
|
|
75290
|
+
export type ListByodDevicesResponse = ListByodDevicesResponses[keyof ListByodDevicesResponses];
|
|
75291
|
+
export type GetByodDeviceData = {
|
|
75292
|
+
body?: never;
|
|
75293
|
+
path: {
|
|
75294
|
+
/**
|
|
75295
|
+
* Device id from the claim or from listByodDevices, `byd_` followed by 26 lowercase hex characters. An unknown id and another organization's device both answer 404.
|
|
75296
|
+
*/
|
|
75297
|
+
deviceID: string;
|
|
75298
|
+
};
|
|
75299
|
+
query?: never;
|
|
75300
|
+
url: '/sandbox/v1/byod/devices/{deviceID}';
|
|
75301
|
+
};
|
|
75302
|
+
export type GetByodDeviceErrors = {
|
|
75303
|
+
/**
|
|
75304
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
75305
|
+
*/
|
|
75306
|
+
401: unknown;
|
|
75307
|
+
/**
|
|
75308
|
+
* NOT_FOUND: no such device for this organization. The device was disconnected, never existed, or belongs to another organization; the three are indistinguishable.
|
|
75309
|
+
*/
|
|
75310
|
+
404: unknown;
|
|
75311
|
+
/**
|
|
75312
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
75313
|
+
*/
|
|
75314
|
+
503: unknown;
|
|
75315
|
+
};
|
|
75316
|
+
export type GetByodDeviceResponses = {
|
|
75317
|
+
/**
|
|
75318
|
+
* One BYOD device: a phone the organization paired and the platform did not build.
|
|
75319
|
+
*/
|
|
75320
|
+
200: {
|
|
75321
|
+
/**
|
|
75322
|
+
* Resource type; always "byod_device".
|
|
75323
|
+
*/
|
|
75324
|
+
object: 'byod_device';
|
|
75325
|
+
/**
|
|
75326
|
+
* Device id, `byd_` followed by 26 lowercase hex characters. Pass it wherever a use face takes a sandbox id, such as POST /sandbox/v1/sandboxes/{id}/act; every lifecycle operation on it answers CAPABILITY_UNSUPPORTED.
|
|
75327
|
+
*/
|
|
75328
|
+
id: string;
|
|
75329
|
+
/**
|
|
75330
|
+
* The device's platform, which decides the use faces it answers. Android today; linux, macos and windows arrive with the desktop module.
|
|
75331
|
+
*/
|
|
75332
|
+
platform: 'android';
|
|
75333
|
+
/**
|
|
75334
|
+
* Display name of the device, 1 to 64 characters. Change it with updateByodDevice; it is not an identifier.
|
|
75335
|
+
*/
|
|
75336
|
+
name: string;
|
|
75337
|
+
/**
|
|
75338
|
+
* Device model the phone's app reported when it claimed the pairing, such as 23127PN0CC; empty when the app sent none.
|
|
75339
|
+
*/
|
|
75340
|
+
model: string;
|
|
75341
|
+
/**
|
|
75342
|
+
* Operating-system version the app reported, such as 16; empty when the app sent none. Not the device's model.
|
|
75343
|
+
*/
|
|
75344
|
+
os_version: string;
|
|
75345
|
+
/**
|
|
75346
|
+
* True while the device holds its one control connection; false when it is paired but not connected. An act on an offline device answers 503 DEVICE_NOT_READY.
|
|
75347
|
+
*/
|
|
75348
|
+
online: boolean;
|
|
75349
|
+
/**
|
|
75350
|
+
* When the device last said hello or answered a ping, as an ISO-8601 timestamp; null until it first connects.
|
|
75351
|
+
*/
|
|
75352
|
+
last_seen_at: string | null;
|
|
75353
|
+
/**
|
|
75354
|
+
* When the device was paired, as an ISO-8601 timestamp; the list is ordered by it, oldest first.
|
|
75355
|
+
*/
|
|
75356
|
+
created_at: string;
|
|
75357
|
+
};
|
|
75358
|
+
};
|
|
75359
|
+
export type GetByodDeviceResponse = GetByodDeviceResponses[keyof GetByodDeviceResponses];
|
|
75360
|
+
export type UpdateByodDeviceData = {
|
|
75361
|
+
/**
|
|
75362
|
+
* The one field a rename may send.
|
|
75363
|
+
*/
|
|
75364
|
+
body: {
|
|
75365
|
+
/**
|
|
75366
|
+
* New display name for the device, 1 to 64 characters after trimming leading and trailing whitespace; it does not have to be unique.
|
|
75367
|
+
*/
|
|
75368
|
+
name: string;
|
|
75369
|
+
};
|
|
75370
|
+
path: {
|
|
75371
|
+
/**
|
|
75372
|
+
* Device id from the claim or from listByodDevices, `byd_` followed by 26 lowercase hex characters. An unknown id and another organization's device both answer 404.
|
|
75373
|
+
*/
|
|
75374
|
+
deviceID: string;
|
|
75375
|
+
};
|
|
75376
|
+
query?: never;
|
|
75377
|
+
url: '/sandbox/v1/byod/devices/{deviceID}';
|
|
75378
|
+
};
|
|
75379
|
+
export type UpdateByodDeviceErrors = {
|
|
75380
|
+
/**
|
|
75381
|
+
* INVALID_PARAMS: a body field is missing, wrongly typed or out of range, for example a name outside 1 to 64 characters. Fix the field and resend; retrying unchanged fails the same way.
|
|
75382
|
+
*/
|
|
75383
|
+
400: unknown;
|
|
75384
|
+
/**
|
|
75385
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
75386
|
+
*/
|
|
75387
|
+
401: unknown;
|
|
75388
|
+
/**
|
|
75389
|
+
* NOT_FOUND: no such device for this organization. The device was disconnected, never existed, or belongs to another organization; the three are indistinguishable.
|
|
75390
|
+
*/
|
|
75391
|
+
404: unknown;
|
|
75392
|
+
/**
|
|
75393
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
75394
|
+
*/
|
|
75395
|
+
503: unknown;
|
|
75396
|
+
};
|
|
75397
|
+
export type UpdateByodDeviceResponses = {
|
|
75398
|
+
/**
|
|
75399
|
+
* One BYOD device: a phone the organization paired and the platform did not build.
|
|
75400
|
+
*/
|
|
75401
|
+
200: {
|
|
75402
|
+
/**
|
|
75403
|
+
* Resource type; always "byod_device".
|
|
75404
|
+
*/
|
|
75405
|
+
object: 'byod_device';
|
|
75406
|
+
/**
|
|
75407
|
+
* Device id, `byd_` followed by 26 lowercase hex characters. Pass it wherever a use face takes a sandbox id, such as POST /sandbox/v1/sandboxes/{id}/act; every lifecycle operation on it answers CAPABILITY_UNSUPPORTED.
|
|
75408
|
+
*/
|
|
75409
|
+
id: string;
|
|
75410
|
+
/**
|
|
75411
|
+
* The device's platform, which decides the use faces it answers. Android today; linux, macos and windows arrive with the desktop module.
|
|
75412
|
+
*/
|
|
75413
|
+
platform: 'android';
|
|
75414
|
+
/**
|
|
75415
|
+
* Display name of the device, 1 to 64 characters. Change it with updateByodDevice; it is not an identifier.
|
|
75416
|
+
*/
|
|
75417
|
+
name: string;
|
|
75418
|
+
/**
|
|
75419
|
+
* Device model the phone's app reported when it claimed the pairing, such as 23127PN0CC; empty when the app sent none.
|
|
75420
|
+
*/
|
|
75421
|
+
model: string;
|
|
75422
|
+
/**
|
|
75423
|
+
* Operating-system version the app reported, such as 16; empty when the app sent none. Not the device's model.
|
|
75424
|
+
*/
|
|
75425
|
+
os_version: string;
|
|
75426
|
+
/**
|
|
75427
|
+
* True while the device holds its one control connection; false when it is paired but not connected. An act on an offline device answers 503 DEVICE_NOT_READY.
|
|
75428
|
+
*/
|
|
75429
|
+
online: boolean;
|
|
75430
|
+
/**
|
|
75431
|
+
* When the device last said hello or answered a ping, as an ISO-8601 timestamp; null until it first connects.
|
|
75432
|
+
*/
|
|
75433
|
+
last_seen_at: string | null;
|
|
75434
|
+
/**
|
|
75435
|
+
* When the device was paired, as an ISO-8601 timestamp; the list is ordered by it, oldest first.
|
|
75436
|
+
*/
|
|
75437
|
+
created_at: string;
|
|
75438
|
+
};
|
|
75439
|
+
};
|
|
75440
|
+
export type UpdateByodDeviceResponse = UpdateByodDeviceResponses[keyof UpdateByodDeviceResponses];
|
|
75441
|
+
export type DisconnectByodDeviceData = {
|
|
75442
|
+
body?: never;
|
|
75443
|
+
path: {
|
|
75444
|
+
/**
|
|
75445
|
+
* Device id from the claim or from listByodDevices, `byd_` followed by 26 lowercase hex characters. An unknown id and another organization's device both answer 404.
|
|
75446
|
+
*/
|
|
75447
|
+
deviceID: string;
|
|
75448
|
+
};
|
|
75449
|
+
query?: never;
|
|
75450
|
+
url: '/sandbox/v1/byod/devices/{deviceID}/disconnect';
|
|
75451
|
+
};
|
|
75452
|
+
export type DisconnectByodDeviceErrors = {
|
|
75453
|
+
/**
|
|
75454
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
75455
|
+
*/
|
|
75456
|
+
401: unknown;
|
|
75457
|
+
/**
|
|
75458
|
+
* NOT_FOUND: no such device for this organization. The device was disconnected, never existed, or belongs to another organization; the three are indistinguishable.
|
|
75459
|
+
*/
|
|
75460
|
+
404: unknown;
|
|
75461
|
+
/**
|
|
75462
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
75463
|
+
*/
|
|
75464
|
+
503: unknown;
|
|
75465
|
+
};
|
|
75466
|
+
export type DisconnectByodDeviceResponses = {
|
|
75467
|
+
/**
|
|
75468
|
+
* The disconnected device.
|
|
75469
|
+
*/
|
|
75470
|
+
200: {
|
|
75471
|
+
/**
|
|
75472
|
+
* Id of the device that was disconnected.
|
|
75473
|
+
*/
|
|
75474
|
+
id: string;
|
|
75475
|
+
/**
|
|
75476
|
+
* Resource type; always "byod_device".
|
|
75477
|
+
*/
|
|
75478
|
+
object: 'byod_device';
|
|
75479
|
+
/**
|
|
75480
|
+
* Always true: the credential is revoked and the connection closed.
|
|
75481
|
+
*/
|
|
75482
|
+
disconnected: true;
|
|
75483
|
+
};
|
|
75484
|
+
};
|
|
75485
|
+
export type DisconnectByodDeviceResponse = DisconnectByodDeviceResponses[keyof DisconnectByodDeviceResponses];
|
|
75486
|
+
export type GetByodPairingData = {
|
|
75487
|
+
body?: never;
|
|
75488
|
+
path: {
|
|
75489
|
+
/**
|
|
75490
|
+
* The 8-character pairing code returned by createByodPairing. An unknown, spent or expired code answers 404.
|
|
75491
|
+
*/
|
|
75492
|
+
code: string;
|
|
75493
|
+
};
|
|
75494
|
+
query?: never;
|
|
75495
|
+
url: '/sandbox/v1/byod/pairings/{code}';
|
|
75496
|
+
};
|
|
75497
|
+
export type GetByodPairingErrors = {
|
|
75498
|
+
/**
|
|
75499
|
+
* NOT_FOUND: no such pairing. The code is unknown, was already claimed, or has expired; the three are indistinguishable, so start a new pairing in the organization.
|
|
75500
|
+
*/
|
|
75501
|
+
404: unknown;
|
|
75502
|
+
};
|
|
75503
|
+
export type GetByodPairingResponses = {
|
|
75504
|
+
/**
|
|
75505
|
+
* What the Allow screen reads.
|
|
75506
|
+
*/
|
|
75507
|
+
200: {
|
|
75508
|
+
/**
|
|
75509
|
+
* Display name of the organization that started the pairing. Empty when the caller created it without a name; show a neutral label then.
|
|
75510
|
+
*/
|
|
75511
|
+
organization_name: string;
|
|
75512
|
+
/**
|
|
75513
|
+
* When the code stops working, as an ISO-8601 timestamp; the app should refuse to claim once it has passed.
|
|
75514
|
+
*/
|
|
75515
|
+
expires_at: string;
|
|
75516
|
+
};
|
|
75517
|
+
};
|
|
75518
|
+
export type GetByodPairingResponse = GetByodPairingResponses[keyof GetByodPairingResponses];
|
|
75519
|
+
export type ClaimByodPairingData = {
|
|
75520
|
+
/**
|
|
75521
|
+
* What the phone's app knows about itself when it claims the pairing.
|
|
75522
|
+
*/
|
|
75523
|
+
body: {
|
|
75524
|
+
/**
|
|
75525
|
+
* The device's platform. Android is the only accepted value; anything else answers INVALID_PARAMS.
|
|
75526
|
+
*/
|
|
75527
|
+
platform: 'android';
|
|
75528
|
+
/**
|
|
75529
|
+
* Display name to register the device with, 1 to 64 characters; omitted or empty becomes the placeholder My device, which the caller can change later.
|
|
75530
|
+
*/
|
|
75531
|
+
name?: string;
|
|
75532
|
+
/**
|
|
75533
|
+
* The device model the app reports, at most 128 characters; it is display only and can be omitted.
|
|
75534
|
+
*/
|
|
75535
|
+
model?: string;
|
|
75536
|
+
/**
|
|
75537
|
+
* The operating-system version the app reports, at most 64 characters; it is display only and can be omitted.
|
|
75538
|
+
*/
|
|
75539
|
+
os_version?: string;
|
|
75540
|
+
};
|
|
75541
|
+
path: {
|
|
75542
|
+
/**
|
|
75543
|
+
* The 8-character pairing code returned by createByodPairing. An unknown, spent or expired code answers 404.
|
|
75544
|
+
*/
|
|
75545
|
+
code: string;
|
|
75546
|
+
};
|
|
75547
|
+
query?: never;
|
|
75548
|
+
url: '/sandbox/v1/byod/pairings/{code}/claim';
|
|
75549
|
+
};
|
|
75550
|
+
export type ClaimByodPairingErrors = {
|
|
75551
|
+
/**
|
|
75552
|
+
* INVALID_PARAMS: the body is missing or platform is not android. Fix the body and resend; the code is not spent by a refused claim.
|
|
75553
|
+
*/
|
|
75554
|
+
400: unknown;
|
|
75555
|
+
/**
|
|
75556
|
+
* NOT_FOUND: no such pairing. The code is unknown, was already claimed, or has expired; the three are indistinguishable, so start a new pairing in the organization.
|
|
75557
|
+
*/
|
|
75558
|
+
404: unknown;
|
|
75559
|
+
};
|
|
75560
|
+
export type ClaimByodPairingResponses = {
|
|
75561
|
+
/**
|
|
75562
|
+
* The device's registration and its one-time credential.
|
|
75563
|
+
*/
|
|
75564
|
+
201: {
|
|
75565
|
+
/**
|
|
75566
|
+
* Device id, `byd_` followed by 26 lowercase hex characters; the caller uses it from now on wherever a sandbox id is used.
|
|
75567
|
+
*/
|
|
75568
|
+
device_id: string;
|
|
75569
|
+
/**
|
|
75570
|
+
* The device credential, 32 random bytes as base64url, shown exactly once; store it in the phone's keystore and send it as Authorization: Bearer when dialing socket_url. A lost credential cannot be re-read: disconnect and pair again.
|
|
75571
|
+
*/
|
|
75572
|
+
credential: string;
|
|
75573
|
+
/**
|
|
75574
|
+
* The control socket to dial, wss://49982-byd<hex>--sbx[-<env>].praxisusercontent.com/; connect with the credential in an Authorization: Bearer header. The connection carries the phone channel's frames.
|
|
75575
|
+
*/
|
|
75576
|
+
socket_url: string;
|
|
75577
|
+
};
|
|
75578
|
+
};
|
|
75579
|
+
export type ClaimByodPairingResponse = ClaimByodPairingResponses[keyof ClaimByodPairingResponses];
|
|
75282
75580
|
export type SessionsDeleteData = {
|
|
75283
75581
|
body?: never;
|
|
75284
75582
|
path: {
|
|
@@ -77098,7 +77396,7 @@ export type AgentsCreateData = {
|
|
|
77098
77396
|
}>;
|
|
77099
77397
|
};
|
|
77100
77398
|
/**
|
|
77101
|
-
* Optional tool preset. minimal enables read, glob
|
|
77399
|
+
* Optional tool preset. minimal enables read, glob and grep; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
77102
77400
|
*/
|
|
77103
77401
|
preset?: 'minimal' | 'data-editor' | 'full';
|
|
77104
77402
|
/**
|
|
@@ -78965,7 +79263,7 @@ export type AgentsUpdateData = {
|
|
|
78965
79263
|
}>;
|
|
78966
79264
|
};
|
|
78967
79265
|
/**
|
|
78968
|
-
* Optional tool preset. minimal enables read, glob
|
|
79266
|
+
* Optional tool preset. minimal enables read, glob and grep; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
78969
79267
|
*/
|
|
78970
79268
|
preset?: 'minimal' | 'data-editor' | 'full';
|
|
78971
79269
|
/**
|
|
@@ -82675,48 +82973,6 @@ export type SessionsEventsListResponses = {
|
|
|
82675
82973
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
82676
82974
|
*/
|
|
82677
82975
|
processed_at: string;
|
|
82678
|
-
} | {
|
|
82679
|
-
/**
|
|
82680
|
-
* Event id, unique within the session.
|
|
82681
|
-
*/
|
|
82682
|
-
id: string;
|
|
82683
|
-
/**
|
|
82684
|
-
* Always `user.tool_confirmation`.
|
|
82685
|
-
*/
|
|
82686
|
-
type: 'user.tool_confirmation';
|
|
82687
|
-
/**
|
|
82688
|
-
* When the event was recorded, RFC 3339.
|
|
82689
|
-
*/
|
|
82690
|
-
processed_at: string;
|
|
82691
|
-
/**
|
|
82692
|
-
* The id of the AskUserQuestion `agent.tool_use` event this answers.
|
|
82693
|
-
*/
|
|
82694
|
-
tool_use_id: string;
|
|
82695
|
-
/**
|
|
82696
|
-
* Always `allow`.
|
|
82697
|
-
*/
|
|
82698
|
-
result: 'allow';
|
|
82699
|
-
/**
|
|
82700
|
-
* The user's answer to each question, keyed by the question text; empty when the questions were dismissed.
|
|
82701
|
-
*/
|
|
82702
|
-
answers: {
|
|
82703
|
-
[key: string]: string;
|
|
82704
|
-
};
|
|
82705
|
-
/**
|
|
82706
|
-
* Per-question notes, keyed by the question text.
|
|
82707
|
-
*/
|
|
82708
|
-
annotations?: {
|
|
82709
|
-
[key: string]: {
|
|
82710
|
-
/**
|
|
82711
|
-
* The preview of the option the user chose.
|
|
82712
|
-
*/
|
|
82713
|
-
preview?: string;
|
|
82714
|
-
/**
|
|
82715
|
-
* Free text the user added to their choice.
|
|
82716
|
-
*/
|
|
82717
|
-
notes?: string;
|
|
82718
|
-
};
|
|
82719
|
-
};
|
|
82720
82976
|
}>;
|
|
82721
82977
|
/**
|
|
82722
82978
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -82766,40 +83022,6 @@ export type SessionsEventsSendData = {
|
|
|
82766
83022
|
* Id of the event this event refers to.
|
|
82767
83023
|
*/
|
|
82768
83024
|
event_id: string;
|
|
82769
|
-
} | {
|
|
82770
|
-
/**
|
|
82771
|
-
* Always `user.tool_confirmation`.
|
|
82772
|
-
*/
|
|
82773
|
-
type: 'user.tool_confirmation';
|
|
82774
|
-
/**
|
|
82775
|
-
* The id of the pending `agent.tool_use` event of the AskUserQuestion call.
|
|
82776
|
-
*/
|
|
82777
|
-
tool_use_id: string;
|
|
82778
|
-
/**
|
|
82779
|
-
* Always `allow`; the questions are answered, or dismissed with an empty `answers`.
|
|
82780
|
-
*/
|
|
82781
|
-
result: 'allow';
|
|
82782
|
-
/**
|
|
82783
|
-
* The user's answer to each question, keyed by the question text. A multi-select answer joins the chosen labels with a comma and a space; a free-text answer is the user's own words. A question left out was skipped.
|
|
82784
|
-
*/
|
|
82785
|
-
answers: {
|
|
82786
|
-
[key: string]: string;
|
|
82787
|
-
};
|
|
82788
|
-
/**
|
|
82789
|
-
* Optional per-question notes, keyed by the question text.
|
|
82790
|
-
*/
|
|
82791
|
-
annotations?: {
|
|
82792
|
-
[key: string]: {
|
|
82793
|
-
/**
|
|
82794
|
-
* The preview of the option the user chose.
|
|
82795
|
-
*/
|
|
82796
|
-
preview?: string;
|
|
82797
|
-
/**
|
|
82798
|
-
* Free text the user added to their choice.
|
|
82799
|
-
*/
|
|
82800
|
-
notes?: string;
|
|
82801
|
-
};
|
|
82802
|
-
};
|
|
82803
83025
|
}>;
|
|
82804
83026
|
};
|
|
82805
83027
|
path: {
|
|
@@ -82894,48 +83116,6 @@ export type SessionsEventsSendResponses = {
|
|
|
82894
83116
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
82895
83117
|
*/
|
|
82896
83118
|
processed_at: string;
|
|
82897
|
-
} | {
|
|
82898
|
-
/**
|
|
82899
|
-
* Event id, unique within the session.
|
|
82900
|
-
*/
|
|
82901
|
-
id: string;
|
|
82902
|
-
/**
|
|
82903
|
-
* Always `user.tool_confirmation`.
|
|
82904
|
-
*/
|
|
82905
|
-
type: 'user.tool_confirmation';
|
|
82906
|
-
/**
|
|
82907
|
-
* When the event was recorded, RFC 3339.
|
|
82908
|
-
*/
|
|
82909
|
-
processed_at: string;
|
|
82910
|
-
/**
|
|
82911
|
-
* The id of the AskUserQuestion `agent.tool_use` event this answers.
|
|
82912
|
-
*/
|
|
82913
|
-
tool_use_id: string;
|
|
82914
|
-
/**
|
|
82915
|
-
* Always `allow`.
|
|
82916
|
-
*/
|
|
82917
|
-
result: 'allow';
|
|
82918
|
-
/**
|
|
82919
|
-
* The user's answer to each question, keyed by the question text; empty when the questions were dismissed.
|
|
82920
|
-
*/
|
|
82921
|
-
answers: {
|
|
82922
|
-
[key: string]: string;
|
|
82923
|
-
};
|
|
82924
|
-
/**
|
|
82925
|
-
* Per-question notes, keyed by the question text.
|
|
82926
|
-
*/
|
|
82927
|
-
annotations?: {
|
|
82928
|
-
[key: string]: {
|
|
82929
|
-
/**
|
|
82930
|
-
* The preview of the option the user chose.
|
|
82931
|
-
*/
|
|
82932
|
-
preview?: string;
|
|
82933
|
-
/**
|
|
82934
|
-
* Free text the user added to their choice.
|
|
82935
|
-
*/
|
|
82936
|
-
notes?: string;
|
|
82937
|
-
};
|
|
82938
|
-
};
|
|
82939
83119
|
}>;
|
|
82940
83120
|
};
|
|
82941
83121
|
};
|