@deepraxis/sdk 0.2.0-dev.af2cf98 → 0.2.0-dev.ed8a023
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 +2 -1
- package/dist/core/retry.js +2 -0
- package/dist/core/transport.js +15 -3
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +10 -4
- package/dist/generated/sdk.gen.js +21 -3
- package/dist/generated/types.gen.d.ts +286 -34
- package/dist/operations.generated.js +21 -3
- package/dist/resources.generated.d.ts +47 -0
- package/dist/resources.generated.js +1 -0
- package/package.json +1 -1
|
@@ -1705,7 +1705,7 @@ export const fileRetrieveUpload = (options) => (options.client ?? client).get({
|
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Create a one-time upload URL
|
|
1707
1707
|
*
|
|
1708
|
-
* Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide filename (the stored basename), exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns
|
|
1708
|
+
* Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide filename (the stored basename), exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 201 with the same file, because a lost answer must not cost the file. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. An expired upload answers 410 UPLOAD_EXPIRED on its status_url and complete_url while the upload still exists in the caller's organization; revoked, invalid, cross-organization or unknown URLs return 404, including a link whose upload record no longer exists. A signed URL used for another action answers 403 CAPABILITY_MISMATCH, judged before expiry, so a status link posted to complete_url answers it and so does a completion link fetched as status_url. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {"filename":"photo.png","bytes":2048,"content_type":"image/png"}.
|
|
1709
1709
|
*/
|
|
1710
1710
|
export const fileCreateSignedUpload = (options) => (options.client ?? client).post({
|
|
1711
1711
|
security: [{
|
|
@@ -2127,7 +2127,7 @@ export const updateMediaPipeline = (options) => (options.client ?? client).patch
|
|
|
2127
2127
|
/**
|
|
2128
2128
|
* List a stream's re-broadcast targets
|
|
2129
2129
|
*
|
|
2130
|
-
* List every output of one stream, oldest first, with the status of each (idle, starting, broadcasting or errored) and the
|
|
2130
|
+
* List every output of one stream, oldest first, with the status of each (idle, starting, broadcasting or errored) and the reason of one that is errored or trying again. Use it to see at a glance which targets are live; to change one use streams.outputs.update and to follow status changes as they happen read streams.events.list. A stream has at most 5 outputs, so the list is one page. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs.
|
|
2131
2131
|
*/
|
|
2132
2132
|
export const listMediaStreamOutputs = (options) => (options.client ?? client).get({
|
|
2133
2133
|
security: [{
|
|
@@ -2185,7 +2185,7 @@ export const deleteMediaStreamOutput = (options) => (options.client ?? client).d
|
|
|
2185
2185
|
/**
|
|
2186
2186
|
* Read one re-broadcast target
|
|
2187
2187
|
*
|
|
2188
|
-
* Read one output: its address, whether a key is set (the key itself is never returned), its status and, when it is errored, why. Use it to check a target after streams.outputs.create or after an output.status event; status broadcasting means the target accepted the stream and is receiving it. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs/mso_zpnqd7a2kxwg3vhr5tj4bfm6ec.
|
|
2188
|
+
* Read one output: its address, whether a key is set (the key itself is never returned), its status and, when it is errored or trying again, why. Use it to check a target after streams.outputs.create or after an output.status event; status broadcasting means the target accepted the stream and is receiving it. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs/mso_zpnqd7a2kxwg3vhr5tj4bfm6ec.
|
|
2189
2189
|
*/
|
|
2190
2190
|
export const getMediaStreamOutput = (options) => (options.client ?? client).get({
|
|
2191
2191
|
security: [{
|
|
@@ -3182,6 +3182,24 @@ export const listOrganizationNotificationLetters = (options) => (options?.client
|
|
|
3182
3182
|
url: '/organization/v1/notifications/letters',
|
|
3183
3183
|
...options
|
|
3184
3184
|
});
|
|
3185
|
+
/**
|
|
3186
|
+
* Open one of your letters by its id
|
|
3187
|
+
*
|
|
3188
|
+
* One letter from your own mailbox in this organization, by id, as the notification center lists it: the same row the letters list gives, the same fields, the same copy written for you — and the organization the letter belongs to beside them. A link that arrives carrying an org can therefore check the letter's own organization instead of trusting the link. The mailbox is the credential's own, and the request names only the letter. A letter that is not in your mailbox in this organization, is still scheduled, or does not exist answers 404 the same way, without saying which. Nothing is marked read; use the :read action for that. Read-only; no usage charge.
|
|
3189
|
+
*/
|
|
3190
|
+
export const getOrganizationNotificationLetter = (options) => (options.client ?? client).get({
|
|
3191
|
+
security: [{
|
|
3192
|
+
key: 'BearerAuth',
|
|
3193
|
+
scheme: 'bearer',
|
|
3194
|
+
type: 'http'
|
|
3195
|
+
}, {
|
|
3196
|
+
key: 'ApiKeyAuth',
|
|
3197
|
+
name: 'X-API-Key',
|
|
3198
|
+
type: 'apiKey'
|
|
3199
|
+
}],
|
|
3200
|
+
url: '/organization/v1/notifications/letters/{id}',
|
|
3201
|
+
...options
|
|
3202
|
+
});
|
|
3185
3203
|
/**
|
|
3186
3204
|
* Mark one of your letters read
|
|
3187
3205
|
*
|
|
@@ -3407,6 +3407,40 @@ export type AgentSseEvent = ({
|
|
|
3407
3407
|
*/
|
|
3408
3408
|
session_thread_id?: string | null;
|
|
3409
3409
|
};
|
|
3410
|
+
} | {
|
|
3411
|
+
/**
|
|
3412
|
+
* Always `session.status_preparing`. SSE event name of this frame; its data is a session.status_preparing payload. A device session's local agent is starting; stage says how far it got.
|
|
3413
|
+
*/
|
|
3414
|
+
event?: 'session.status_preparing';
|
|
3415
|
+
/**
|
|
3416
|
+
* Praxis extension (#4737, own face only): a device session's local agent is starting. Only sessions that run on a person's own machine emit it.
|
|
3417
|
+
*/
|
|
3418
|
+
data?: {
|
|
3419
|
+
/**
|
|
3420
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
3421
|
+
*/
|
|
3422
|
+
id: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
3425
|
+
*/
|
|
3426
|
+
type: 'session.status_preparing';
|
|
3427
|
+
/**
|
|
3428
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
3429
|
+
*/
|
|
3430
|
+
processed_at: string;
|
|
3431
|
+
/**
|
|
3432
|
+
* How far the start got.
|
|
3433
|
+
*/
|
|
3434
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
3435
|
+
/**
|
|
3436
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
3437
|
+
*/
|
|
3438
|
+
message_id?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
3441
|
+
*/
|
|
3442
|
+
session_thread_id?: string | null;
|
|
3443
|
+
};
|
|
3410
3444
|
} | {
|
|
3411
3445
|
/**
|
|
3412
3446
|
* Always `event_start`. SSE event name of this frame; its data is a event_start payload. Preview that an event of the requested delta types has started.
|
|
@@ -3549,7 +3583,7 @@ export type AgentSseEvent = ({
|
|
|
3549
3583
|
/**
|
|
3550
3584
|
* Server-Sent Events event name of this frame.
|
|
3551
3585
|
*/
|
|
3552
|
-
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'system.notification_suppressed' | 'system.notification_recorded' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'cognition.surfaced' | 'cognition.intention_woken' | 'agent.operation_approval_requested' | 'agent.operation_approval_decided' | 'session.prompt_configuration_mismatch' | 'session.prompt_rev_changed' | 'session.computer_tier' | 'agent.artifact_delivered' | 'agent.image_generation' | 'session.image_labeled' | 'session.image_set_planned' | 'session.project_attached' | 'session.project_detached' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
3586
|
+
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'system.notification_suppressed' | 'system.notification_recorded' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'cognition.surfaced' | 'cognition.intention_woken' | 'agent.operation_approval_requested' | 'agent.operation_approval_decided' | 'session.prompt_configuration_mismatch' | 'session.prompt_rev_changed' | 'session.computer_tier' | 'agent.artifact_delivered' | 'agent.image_generation' | 'session.image_labeled' | 'session.image_set_planned' | 'session.project_attached' | 'session.project_detached' | 'session.status_preparing' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
3553
3587
|
data: AgentSseData;
|
|
3554
3588
|
};
|
|
3555
3589
|
/**
|
|
@@ -3830,7 +3864,7 @@ export type BrowserError = {
|
|
|
3830
3864
|
statusCode: number;
|
|
3831
3865
|
error: string;
|
|
3832
3866
|
message: string;
|
|
3833
|
-
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'QUOTA_EXHAUSTED' | 'ACCOUNT_SUSPENDED' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED' | 'SERVICE_UNAVAILABLE' | 'PARENT_NOT_FOUND' | 'INVALID_FILTER' | 'INVALID_PAGE_TOKEN' | 'ACTION_TAB_NOT_FOUND' | 'ACTION_NO_TAB' | 'ACTION_REF_STALE' | 'ACTION_FAILED' | 'ACTION_TIMEOUT' | 'ACTION_RESULT_TOO_LARGE';
|
|
3867
|
+
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | 'CONTEXT_READ_ONLY' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'QUOTA_EXHAUSTED' | 'ACCOUNT_SUSPENDED' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED' | 'SERVICE_UNAVAILABLE' | 'PARENT_NOT_FOUND' | 'INVALID_FILTER' | 'INVALID_PAGE_TOKEN' | 'ACTION_TAB_NOT_FOUND' | 'ACTION_NO_TAB' | 'ACTION_REF_STALE' | 'ACTION_FAILED' | 'ACTION_TIMEOUT' | 'ACTION_RESULT_TOO_LARGE';
|
|
3834
3868
|
};
|
|
3835
3869
|
export type BrowserSession = {
|
|
3836
3870
|
/**
|
|
@@ -4694,7 +4728,7 @@ export type OwnFileSignedUploadResponse = {
|
|
|
4694
4728
|
url: string;
|
|
4695
4729
|
}>;
|
|
4696
4730
|
/**
|
|
4697
|
-
* Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and
|
|
4731
|
+
* Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and a completion replay returns 201 with the same file, because a lost answer must not cost the file.
|
|
4698
4732
|
*/
|
|
4699
4733
|
complete_url: string;
|
|
4700
4734
|
/**
|
|
@@ -5192,7 +5226,7 @@ export type MediaStreamOutput = {
|
|
|
5192
5226
|
*/
|
|
5193
5227
|
status: 'idle' | 'starting' | 'broadcasting' | 'errored';
|
|
5194
5228
|
/**
|
|
5195
|
-
* Why the output is errored; null in every other status.
|
|
5229
|
+
* Why the last connection failed, while the output is errored or starting again after a failure; null in every other status.
|
|
5196
5230
|
*/
|
|
5197
5231
|
error: MediaStreamOutputError;
|
|
5198
5232
|
/**
|
|
@@ -29732,6 +29766,31 @@ export type AgentSseData = {
|
|
|
29732
29766
|
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
29733
29767
|
*/
|
|
29734
29768
|
session_thread_id?: string | null;
|
|
29769
|
+
} | {
|
|
29770
|
+
/**
|
|
29771
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
29772
|
+
*/
|
|
29773
|
+
id: string;
|
|
29774
|
+
/**
|
|
29775
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
29776
|
+
*/
|
|
29777
|
+
type: 'session.status_preparing';
|
|
29778
|
+
/**
|
|
29779
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
29780
|
+
*/
|
|
29781
|
+
processed_at: string;
|
|
29782
|
+
/**
|
|
29783
|
+
* How far the start got.
|
|
29784
|
+
*/
|
|
29785
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
29786
|
+
/**
|
|
29787
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
29788
|
+
*/
|
|
29789
|
+
message_id?: string;
|
|
29790
|
+
/**
|
|
29791
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
29792
|
+
*/
|
|
29793
|
+
session_thread_id?: string | null;
|
|
29735
29794
|
} | {
|
|
29736
29795
|
/**
|
|
29737
29796
|
* Always `event_start`. Preview that an event of the requested delta types has started.
|
|
@@ -30066,7 +30125,7 @@ export type MediaStreamEvent = {
|
|
|
30066
30125
|
*/
|
|
30067
30126
|
seq: number;
|
|
30068
30127
|
/**
|
|
30069
|
-
* stream.waiting: a pulled source is not live yet; stream.connected: the source connected; stream.active: media started flowing; stream.disconnected: the source dropped or was refused (data.reason says why, for example quota_exceeded); stream.idle: the broadcast ended; recording.ready: a recording became a Media asset (data.asset_id); recording.failed: it did not (data.reason). transcript.partial and transcript.final: speech as text (data.text, data.sentence_id, data.start_ms, data.end_ms); frame.described: one keyframe described (data.text); alert: an alert rule matched (data.matched, data.source_event_ids); pipeline.unsupported_audio: the audio cannot be transcribed yet (data.codec); pipeline.describe_failed: a frame description failed (data.step, data.message). output.status: a re-broadcast target changed status (data.output_id, data.status and, when errored, data.error).
|
|
30128
|
+
* stream.waiting: a pulled source is not live yet; stream.connected: the source connected; stream.active: media started flowing; stream.disconnected: the source dropped or was refused (data.reason says why, for example quota_exceeded); stream.idle: the broadcast ended; recording.ready: a recording became a Media asset (data.asset_id); recording.failed: it did not (data.reason). transcript.partial and transcript.final: speech as text (data.text, data.sentence_id, data.start_ms, data.end_ms); frame.described: one keyframe described (data.text); alert: an alert rule matched (data.matched, data.source_event_ids); pipeline.unsupported_audio: the audio cannot be transcribed yet (data.codec); pipeline.describe_failed: a frame description failed (data.step, data.message). output.status: a re-broadcast target changed status (data.output_id, data.status and, when it is errored or trying again after a failure, data.error with the reason).
|
|
30070
30129
|
*/
|
|
30071
30130
|
kind: 'stream.waiting' | 'stream.connected' | 'stream.active' | 'stream.disconnected' | 'stream.idle' | 'recording.ready' | 'recording.failed' | 'output.status' | 'transcript.partial' | 'transcript.final' | 'frame.described' | 'alert' | 'pipeline.unsupported_audio' | 'pipeline.describe_failed';
|
|
30072
30131
|
/**
|
|
@@ -30156,7 +30215,7 @@ export type MediaPipelineAlertRule = {
|
|
|
30156
30215
|
[key: string]: unknown;
|
|
30157
30216
|
};
|
|
30158
30217
|
/**
|
|
30159
|
-
* Why an errored
|
|
30218
|
+
* Why an output is errored, or is trying again after a failure.
|
|
30160
30219
|
*/
|
|
30161
30220
|
export type MediaStreamOutputError = {
|
|
30162
30221
|
/**
|
|
@@ -53577,6 +53636,31 @@ export type ListAgentEventsResponses = {
|
|
|
53577
53636
|
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
53578
53637
|
*/
|
|
53579
53638
|
session_thread_id?: string | null;
|
|
53639
|
+
} | {
|
|
53640
|
+
/**
|
|
53641
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
53642
|
+
*/
|
|
53643
|
+
id: string;
|
|
53644
|
+
/**
|
|
53645
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
53646
|
+
*/
|
|
53647
|
+
type: 'session.status_preparing';
|
|
53648
|
+
/**
|
|
53649
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
53650
|
+
*/
|
|
53651
|
+
processed_at: string;
|
|
53652
|
+
/**
|
|
53653
|
+
* How far the start got.
|
|
53654
|
+
*/
|
|
53655
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
53656
|
+
/**
|
|
53657
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
53658
|
+
*/
|
|
53659
|
+
message_id?: string;
|
|
53660
|
+
/**
|
|
53661
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
53662
|
+
*/
|
|
53663
|
+
session_thread_id?: string | null;
|
|
53580
53664
|
}>;
|
|
53581
53665
|
/**
|
|
53582
53666
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -54007,32 +54091,33 @@ export type CreateAgentLoginIntentErrors = {
|
|
|
54007
54091
|
/**
|
|
54008
54092
|
* INVALID_JSON: the body is not a JSON object. INVALID_PARAMS: the body names a field (agent, organization_id, place or any other) - the caller, its organization and its computer come from the credential, so resend with no field.
|
|
54009
54093
|
*/
|
|
54010
|
-
400:
|
|
54094
|
+
400: AgentError;
|
|
54011
54095
|
/**
|
|
54012
54096
|
* Authentication required: send the platform session's own credential.
|
|
54013
54097
|
*/
|
|
54014
|
-
401:
|
|
54098
|
+
401: AgentError;
|
|
54015
54099
|
/**
|
|
54016
54100
|
* PERMISSION_DENIED: this credential names no agent, or the member driving the session is not the agent's sponsor; open the code from the agent's own codemode session, driven by its sponsor.
|
|
54017
54101
|
*/
|
|
54018
|
-
403:
|
|
54102
|
+
403: AgentError;
|
|
54019
54103
|
/**
|
|
54020
54104
|
* AGENT_NOT_FOUND: the agent the credential names does not exist in this organization; check the agent the session was opened for.
|
|
54021
54105
|
*/
|
|
54022
|
-
404:
|
|
54106
|
+
404: AgentError;
|
|
54023
54107
|
/**
|
|
54024
54108
|
* FAILED_PRECONDITION: the agent has no platform computer of its own (a service agent runs nowhere to log in), or identity refused the create for a state it reports.
|
|
54025
54109
|
*/
|
|
54026
|
-
409:
|
|
54110
|
+
409: AgentError;
|
|
54027
54111
|
/**
|
|
54028
54112
|
* UPSTREAM_UNAVAILABLE: the agent service or identity could not answer; retry once the service is back.
|
|
54029
54113
|
*/
|
|
54030
|
-
502:
|
|
54114
|
+
502: AgentError;
|
|
54031
54115
|
/**
|
|
54032
54116
|
* UNAVAILABLE: identity is not configured in this deployment.
|
|
54033
54117
|
*/
|
|
54034
|
-
503:
|
|
54118
|
+
503: AgentError;
|
|
54035
54119
|
};
|
|
54120
|
+
export type CreateAgentLoginIntentError = CreateAgentLoginIntentErrors[keyof CreateAgentLoginIntentErrors];
|
|
54036
54121
|
export type CreateAgentLoginIntentResponses = {
|
|
54037
54122
|
/**
|
|
54038
54123
|
* The one-time login code and when it stops working; the code is answered once and never again.
|
|
@@ -68777,7 +68862,7 @@ export type BrowserListSessionsErrors = {
|
|
|
68777
68862
|
*/
|
|
68778
68863
|
402: BrowserError;
|
|
68779
68864
|
/**
|
|
68780
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68865
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68781
68866
|
*/
|
|
68782
68867
|
403: BrowserError;
|
|
68783
68868
|
/**
|
|
@@ -68854,7 +68939,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
68854
68939
|
*/
|
|
68855
68940
|
402: BrowserError;
|
|
68856
68941
|
/**
|
|
68857
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68942
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68858
68943
|
*/
|
|
68859
68944
|
403: BrowserError;
|
|
68860
68945
|
/**
|
|
@@ -68932,7 +69017,7 @@ export type BrowserGetSessionErrors = {
|
|
|
68932
69017
|
*/
|
|
68933
69018
|
402: BrowserError;
|
|
68934
69019
|
/**
|
|
68935
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69020
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68936
69021
|
*/
|
|
68937
69022
|
403: BrowserError;
|
|
68938
69023
|
/**
|
|
@@ -69010,7 +69095,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69010
69095
|
*/
|
|
69011
69096
|
402: BrowserError;
|
|
69012
69097
|
/**
|
|
69013
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69098
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69014
69099
|
*/
|
|
69015
69100
|
403: BrowserError;
|
|
69016
69101
|
/**
|
|
@@ -69083,7 +69168,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69083
69168
|
*/
|
|
69084
69169
|
402: BrowserError;
|
|
69085
69170
|
/**
|
|
69086
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69171
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69087
69172
|
*/
|
|
69088
69173
|
403: BrowserError;
|
|
69089
69174
|
/**
|
|
@@ -69169,7 +69254,7 @@ export type BrowserListEventsErrors = {
|
|
|
69169
69254
|
*/
|
|
69170
69255
|
402: BrowserError;
|
|
69171
69256
|
/**
|
|
69172
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69257
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69173
69258
|
*/
|
|
69174
69259
|
403: BrowserError;
|
|
69175
69260
|
/**
|
|
@@ -69448,7 +69533,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69448
69533
|
*/
|
|
69449
69534
|
402: BrowserError;
|
|
69450
69535
|
/**
|
|
69451
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69536
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69452
69537
|
*/
|
|
69453
69538
|
403: BrowserError;
|
|
69454
69539
|
/**
|
|
@@ -69666,7 +69751,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
69666
69751
|
*/
|
|
69667
69752
|
402: BrowserError;
|
|
69668
69753
|
/**
|
|
69669
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69754
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69670
69755
|
*/
|
|
69671
69756
|
403: BrowserError;
|
|
69672
69757
|
/**
|
|
@@ -69739,7 +69824,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
69739
69824
|
*/
|
|
69740
69825
|
402: BrowserError;
|
|
69741
69826
|
/**
|
|
69742
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69827
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69743
69828
|
*/
|
|
69744
69829
|
403: BrowserError;
|
|
69745
69830
|
/**
|
|
@@ -69821,7 +69906,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
69821
69906
|
*/
|
|
69822
69907
|
402: BrowserError;
|
|
69823
69908
|
/**
|
|
69824
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69909
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69825
69910
|
*/
|
|
69826
69911
|
403: BrowserError;
|
|
69827
69912
|
/**
|
|
@@ -69899,7 +69984,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
69899
69984
|
*/
|
|
69900
69985
|
402: BrowserError;
|
|
69901
69986
|
/**
|
|
69902
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69987
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69903
69988
|
*/
|
|
69904
69989
|
403: BrowserError;
|
|
69905
69990
|
/**
|
|
@@ -69980,7 +70065,7 @@ export type BrowserListContextsErrors = {
|
|
|
69980
70065
|
*/
|
|
69981
70066
|
402: BrowserError;
|
|
69982
70067
|
/**
|
|
69983
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70068
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69984
70069
|
*/
|
|
69985
70070
|
403: BrowserError;
|
|
69986
70071
|
/**
|
|
@@ -70072,7 +70157,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70072
70157
|
*/
|
|
70073
70158
|
402: BrowserError;
|
|
70074
70159
|
/**
|
|
70075
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70160
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70076
70161
|
*/
|
|
70077
70162
|
403: BrowserError;
|
|
70078
70163
|
/**
|
|
@@ -70145,7 +70230,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70145
70230
|
*/
|
|
70146
70231
|
402: BrowserError;
|
|
70147
70232
|
/**
|
|
70148
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70233
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70149
70234
|
*/
|
|
70150
70235
|
403: BrowserError;
|
|
70151
70236
|
/**
|
|
@@ -70223,7 +70308,7 @@ export type BrowserGetContextErrors = {
|
|
|
70223
70308
|
*/
|
|
70224
70309
|
402: BrowserError;
|
|
70225
70310
|
/**
|
|
70226
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70311
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70227
70312
|
*/
|
|
70228
70313
|
403: BrowserError;
|
|
70229
70314
|
/**
|
|
@@ -70307,7 +70392,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70307
70392
|
*/
|
|
70308
70393
|
402: BrowserError;
|
|
70309
70394
|
/**
|
|
70310
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70395
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70311
70396
|
*/
|
|
70312
70397
|
403: BrowserError;
|
|
70313
70398
|
/**
|
|
@@ -70412,7 +70497,7 @@ export type BrowserConnectErrors = {
|
|
|
70412
70497
|
*/
|
|
70413
70498
|
402: BrowserError;
|
|
70414
70499
|
/**
|
|
70415
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70500
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70416
70501
|
*/
|
|
70417
70502
|
403: BrowserError;
|
|
70418
70503
|
/**
|
|
@@ -70487,7 +70572,7 @@ export type BrowserLiveViewErrors = {
|
|
|
70487
70572
|
*/
|
|
70488
70573
|
402: BrowserError;
|
|
70489
70574
|
/**
|
|
70490
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70575
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70491
70576
|
*/
|
|
70492
70577
|
403: BrowserError;
|
|
70493
70578
|
/**
|
|
@@ -70553,7 +70638,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
70553
70638
|
*/
|
|
70554
70639
|
402: BrowserError;
|
|
70555
70640
|
/**
|
|
70556
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70641
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70557
70642
|
*/
|
|
70558
70643
|
403: BrowserError;
|
|
70559
70644
|
/**
|
|
@@ -70626,7 +70711,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
70626
70711
|
*/
|
|
70627
70712
|
402: BrowserError;
|
|
70628
70713
|
/**
|
|
70629
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70714
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70630
70715
|
*/
|
|
70631
70716
|
403: BrowserError;
|
|
70632
70717
|
/**
|
|
@@ -71054,7 +71139,7 @@ export type FileCreateSignedUploadErrors = {
|
|
|
71054
71139
|
*/
|
|
71055
71140
|
401: unknown;
|
|
71056
71141
|
/**
|
|
71057
|
-
* PERMISSION_DENIED or
|
|
71142
|
+
* PERMISSION_DENIED, BINDING_READ_ONLY or CAPABILITY_MISMATCH: the credential lacks create authority, or a signed upload URL was used for another action than the one it names.
|
|
71058
71143
|
*/
|
|
71059
71144
|
403: unknown;
|
|
71060
71145
|
};
|
|
@@ -78076,6 +78161,23 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
78076
78161
|
* Whether this person archived it. Archived letters are hidden unless archived=true is asked for.
|
|
78077
78162
|
*/
|
|
78078
78163
|
archived: boolean;
|
|
78164
|
+
/**
|
|
78165
|
+
* The organization the letter belongs to: its own. It is always an object with all three fields — `id`, `slug` and `name` — or `null`; a half-filled object never appears. `null` means the organization directory did not answer this time, so the display name could not be read: it does not mean the letter has no organization, and the letter's own organization is still the one behind the credential. Read it again and the value is normally there. The Console compares `id` with the organization it is showing, carries `slug` on a link, and shows `name` to a person.
|
|
78166
|
+
*/
|
|
78167
|
+
organization: {
|
|
78168
|
+
/**
|
|
78169
|
+
* The organization's id, from the directory.
|
|
78170
|
+
*/
|
|
78171
|
+
id: string;
|
|
78172
|
+
/**
|
|
78173
|
+
* The organization's readable slug (ADR-101), the one a Console link carries as org=.
|
|
78174
|
+
*/
|
|
78175
|
+
slug: string;
|
|
78176
|
+
/**
|
|
78177
|
+
* The organization's display name, as a person reads it.
|
|
78178
|
+
*/
|
|
78179
|
+
name: string;
|
|
78180
|
+
};
|
|
78079
78181
|
}>;
|
|
78080
78182
|
/**
|
|
78081
78183
|
* Pass unchanged as cursor for the next page; null at the end.
|
|
@@ -78088,6 +78190,106 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
78088
78190
|
};
|
|
78089
78191
|
};
|
|
78090
78192
|
export type ListOrganizationNotificationLettersResponse = ListOrganizationNotificationLettersResponses[keyof ListOrganizationNotificationLettersResponses];
|
|
78193
|
+
export type GetOrganizationNotificationLetterData = {
|
|
78194
|
+
body?: never;
|
|
78195
|
+
path: {
|
|
78196
|
+
/**
|
|
78197
|
+
* The letter's id, from the letters list.
|
|
78198
|
+
*/
|
|
78199
|
+
id: string;
|
|
78200
|
+
};
|
|
78201
|
+
query?: never;
|
|
78202
|
+
url: '/organization/v1/notifications/letters/{id}';
|
|
78203
|
+
};
|
|
78204
|
+
export type GetOrganizationNotificationLetterErrors = {
|
|
78205
|
+
/**
|
|
78206
|
+
* The id is not a letter id (RFC 9457 problem).
|
|
78207
|
+
*/
|
|
78208
|
+
400: unknown;
|
|
78209
|
+
/**
|
|
78210
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
78211
|
+
*/
|
|
78212
|
+
401: unknown;
|
|
78213
|
+
/**
|
|
78214
|
+
* No such letter in your mailbox (RFC 9457 problem).
|
|
78215
|
+
*/
|
|
78216
|
+
404: unknown;
|
|
78217
|
+
};
|
|
78218
|
+
export type GetOrganizationNotificationLetterResponses = {
|
|
78219
|
+
/**
|
|
78220
|
+
* The letter, as the list would show it.
|
|
78221
|
+
*/
|
|
78222
|
+
200: {
|
|
78223
|
+
/**
|
|
78224
|
+
* The letter's id.
|
|
78225
|
+
*/
|
|
78226
|
+
id: string;
|
|
78227
|
+
/**
|
|
78228
|
+
* The sender's display name. Never an address or an internal id; an address the directory does not know reads 「未知成员」.
|
|
78229
|
+
*/
|
|
78230
|
+
sender: string;
|
|
78231
|
+
/**
|
|
78232
|
+
* One line saying what the letter asks or tells, written for this reader.
|
|
78233
|
+
*/
|
|
78234
|
+
summary: string;
|
|
78235
|
+
/**
|
|
78236
|
+
* The whole letter, for the detail view, written for this reader.
|
|
78237
|
+
*/
|
|
78238
|
+
body: string;
|
|
78239
|
+
/**
|
|
78240
|
+
* The conversation the letter belongs to; a ticket letter uses ticket:<repository>:<number>. Null when the sender named none.
|
|
78241
|
+
*/
|
|
78242
|
+
thread: string;
|
|
78243
|
+
/**
|
|
78244
|
+
* The letter's kind (ADR-193 §2, #4107).
|
|
78245
|
+
*/
|
|
78246
|
+
kind: 'notice' | 'mention' | 'decision';
|
|
78247
|
+
/**
|
|
78248
|
+
* Where the letter came from (a ticket number, a comment, a change); null when the sender gave none.
|
|
78249
|
+
*/
|
|
78250
|
+
source: {
|
|
78251
|
+
[key: string]: unknown;
|
|
78252
|
+
};
|
|
78253
|
+
/**
|
|
78254
|
+
* Whether this person has read it.
|
|
78255
|
+
*/
|
|
78256
|
+
read: boolean;
|
|
78257
|
+
/**
|
|
78258
|
+
* When it arrived; null while still scheduled.
|
|
78259
|
+
*/
|
|
78260
|
+
deliveredAt: string;
|
|
78261
|
+
/**
|
|
78262
|
+
* When it was written.
|
|
78263
|
+
*/
|
|
78264
|
+
createTime: string;
|
|
78265
|
+
/**
|
|
78266
|
+
* Why it reached this person, in their words — 「在工单 #4109 的评论里 @ 了你」.
|
|
78267
|
+
*/
|
|
78268
|
+
reason: string;
|
|
78269
|
+
/**
|
|
78270
|
+
* Whether this person archived it.
|
|
78271
|
+
*/
|
|
78272
|
+
archived: boolean;
|
|
78273
|
+
/**
|
|
78274
|
+
* The organization the letter belongs to: its own. It is always an object with all three fields — `id`, `slug` and `name` — or `null`; a half-filled object never appears. `null` means the organization directory did not answer this time, so the display name could not be read: it does not mean the letter has no organization. Read it again and the value is normally there.
|
|
78275
|
+
*/
|
|
78276
|
+
organization: {
|
|
78277
|
+
/**
|
|
78278
|
+
* The organization's id, from the directory.
|
|
78279
|
+
*/
|
|
78280
|
+
id: string;
|
|
78281
|
+
/**
|
|
78282
|
+
* The organization's readable slug (ADR-101), the one a Console link carries as org=.
|
|
78283
|
+
*/
|
|
78284
|
+
slug: string;
|
|
78285
|
+
/**
|
|
78286
|
+
* The organization's display name, as a person reads it.
|
|
78287
|
+
*/
|
|
78288
|
+
name: string;
|
|
78289
|
+
};
|
|
78290
|
+
};
|
|
78291
|
+
};
|
|
78292
|
+
export type GetOrganizationNotificationLetterResponse = GetOrganizationNotificationLetterResponses[keyof GetOrganizationNotificationLetterResponses];
|
|
78091
78293
|
export type ReadOrganizationNotificationLetterData = {
|
|
78092
78294
|
body?: never;
|
|
78093
78295
|
path: {
|
|
@@ -90307,6 +90509,31 @@ export type SessionsEventsListResponses = {
|
|
|
90307
90509
|
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
90308
90510
|
*/
|
|
90309
90511
|
session_thread_id?: string | null;
|
|
90512
|
+
} | {
|
|
90513
|
+
/**
|
|
90514
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
90515
|
+
*/
|
|
90516
|
+
id: string;
|
|
90517
|
+
/**
|
|
90518
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
90519
|
+
*/
|
|
90520
|
+
type: 'session.status_preparing';
|
|
90521
|
+
/**
|
|
90522
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
90523
|
+
*/
|
|
90524
|
+
processed_at: string;
|
|
90525
|
+
/**
|
|
90526
|
+
* How far the start got.
|
|
90527
|
+
*/
|
|
90528
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
90529
|
+
/**
|
|
90530
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
90531
|
+
*/
|
|
90532
|
+
message_id?: string;
|
|
90533
|
+
/**
|
|
90534
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
90535
|
+
*/
|
|
90536
|
+
session_thread_id?: string | null;
|
|
90310
90537
|
}>;
|
|
90311
90538
|
/**
|
|
90312
90539
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -92029,6 +92256,31 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
92029
92256
|
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
92030
92257
|
*/
|
|
92031
92258
|
session_thread_id?: string | null;
|
|
92259
|
+
} | {
|
|
92260
|
+
/**
|
|
92261
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
92262
|
+
*/
|
|
92263
|
+
id: string;
|
|
92264
|
+
/**
|
|
92265
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
92266
|
+
*/
|
|
92267
|
+
type: 'session.status_preparing';
|
|
92268
|
+
/**
|
|
92269
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
92270
|
+
*/
|
|
92271
|
+
processed_at: string;
|
|
92272
|
+
/**
|
|
92273
|
+
* How far the start got.
|
|
92274
|
+
*/
|
|
92275
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
92276
|
+
/**
|
|
92277
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
92278
|
+
*/
|
|
92279
|
+
message_id?: string;
|
|
92280
|
+
/**
|
|
92281
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
92282
|
+
*/
|
|
92283
|
+
session_thread_id?: string | null;
|
|
92032
92284
|
}>;
|
|
92033
92285
|
/**
|
|
92034
92286
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|