@deepraxis/sdk 0.2.0-dev.bc5a12b → 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.
@@ -640,7 +640,7 @@ export declare const fileRetrieveUpload: <ThrowOnError extends boolean = false>(
640
640
  /**
641
641
  * Create a one-time upload URL
642
642
  *
643
- * 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 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid or cross-organization URLs return 404, and so does a link whose upload record no longer exists. A URL that is authentic but names another action returns 403 CAPABILITY_MISMATCH: 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"}.
643
+ * 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"}.
644
644
  */
645
645
  export declare const fileCreateSignedUpload: <ThrowOnError extends boolean = false>(options: Options<FileCreateSignedUploadData, ThrowOnError>) => RequestResult<FileCreateSignedUploadResponses, FileCreateSignedUploadErrors, ThrowOnError>;
646
646
  /**
@@ -806,7 +806,7 @@ export declare const updateMediaPipeline: <ThrowOnError extends boolean = false>
806
806
  /**
807
807
  * List a stream's re-broadcast targets
808
808
  *
809
- * List every output of one stream, oldest first, with the status of each (idle, starting, broadcasting or errored) and the error of an errored one. 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.
809
+ * 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.
810
810
  */
811
811
  export declare const listMediaStreamOutputs: <ThrowOnError extends boolean = false>(options: Options<ListMediaStreamOutputsData, ThrowOnError>) => RequestResult<ListMediaStreamOutputsResponses, ListMediaStreamOutputsErrors, ThrowOnError>;
812
812
  /**
@@ -824,7 +824,7 @@ export declare const deleteMediaStreamOutput: <ThrowOnError extends boolean = fa
824
824
  /**
825
825
  * Read one re-broadcast target
826
826
  *
827
- * 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.
827
+ * 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.
828
828
  */
829
829
  export declare const getMediaStreamOutput: <ThrowOnError extends boolean = false>(options: Options<GetMediaStreamOutputData, ThrowOnError>) => RequestResult<GetMediaStreamOutputResponses, GetMediaStreamOutputErrors, ThrowOnError>;
830
830
  /**
@@ -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 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid or cross-organization URLs return 404, and so does a link whose upload record no longer exists. A URL that is authentic but names another action returns 403 CAPABILITY_MISMATCH: 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"}.
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 error of an errored one. 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.
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: [{
@@ -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 successful completion replays return 410 CAPABILITY_USED.
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 output stopped trying.
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: unknown;
54094
+ 400: AgentError;
54011
54095
  /**
54012
54096
  * Authentication required: send the platform session's own credential.
54013
54097
  */
54014
- 401: unknown;
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: unknown;
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: unknown;
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: unknown;
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: unknown;
54114
+ 502: AgentError;
54031
54115
  /**
54032
54116
  * UNAVAILABLE: identity is not configured in this deployment.
54033
54117
  */
54034
- 503: unknown;
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 BINDING_READ_ONLY: use a credential with the required create or file-write authority.
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
  };
@@ -90424,6 +90509,31 @@ export type SessionsEventsListResponses = {
90424
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.
90425
90510
  */
90426
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;
90427
90537
  }>;
90428
90538
  /**
90429
90539
  * Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
@@ -92146,6 +92256,31 @@ export type SessionsThreadsEventsListResponses = {
92146
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.
92147
92257
  */
92148
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;
92149
92284
  }>;
92150
92285
  /**
92151
92286
  * Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
@@ -18886,7 +18886,7 @@ export const operations = [
18886
18886
  "resource": "file.uploads",
18887
18887
  "method": "createSigned",
18888
18888
  "summary": "Create a one-time upload URL",
18889
- "description": "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 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid or cross-organization URLs return 404, and so does a link whose upload record no longer exists. A URL that is authentic but names another action returns 403 CAPABILITY_MISMATCH: 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\"}.",
18889
+ "description": "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\"}.",
18890
18890
  "http": "POST",
18891
18891
  "path": "/file/v1/uploads/signed",
18892
18892
  "streaming": "no",
@@ -22558,7 +22558,7 @@ export const operations = [
22558
22558
  "resource": "media.streams.outputs",
22559
22559
  "method": "list",
22560
22560
  "summary": "List a stream's re-broadcast targets",
22561
- "description": "List every output of one stream, oldest first, with the status of each (idle, starting, broadcasting or errored) and the error of an errored one. 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.",
22561
+ "description": "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.",
22562
22562
  "http": "GET",
22563
22563
  "path": "/media/v1/streams/{stream_id}/outputs",
22564
22564
  "streaming": "no",
@@ -22634,7 +22634,7 @@ export const operations = [
22634
22634
  "resource": "media.streams.outputs",
22635
22635
  "method": "retrieve",
22636
22636
  "summary": "Read one re-broadcast target",
22637
- "description": "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.",
22637
+ "description": "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.",
22638
22638
  "http": "GET",
22639
22639
  "path": "/media/v1/streams/{stream_id}/outputs/{output_id}",
22640
22640
  "streaming": "no",
@@ -833,6 +833,13 @@ export declare function createAgent(transport: Transport): {
833
833
  reason?: "project_removed";
834
834
  message_id?: string;
835
835
  session_thread_id?: string | null;
836
+ } | {
837
+ id: string;
838
+ type: "session.status_preparing";
839
+ processed_at: string;
840
+ stage: "launching" | "loading" | "ready";
841
+ message_id?: string;
842
+ session_thread_id?: string | null;
836
843
  }>;
837
844
  next_page: string | null;
838
845
  }>;
@@ -4080,6 +4087,13 @@ export declare function createAgent(transport: Transport): {
4080
4087
  reason?: "project_removed";
4081
4088
  message_id?: string;
4082
4089
  session_thread_id?: string | null;
4090
+ } | {
4091
+ id: string;
4092
+ type: "session.status_preparing";
4093
+ processed_at: string;
4094
+ stage: "launching" | "loading" | "ready";
4095
+ message_id?: string;
4096
+ session_thread_id?: string | null;
4083
4097
  }>;
4084
4098
  next_page: string | null;
4085
4099
  }>;
@@ -5810,6 +5824,13 @@ export declare function createAgent(transport: Transport): {
5810
5824
  reason?: "project_removed";
5811
5825
  message_id?: string;
5812
5826
  session_thread_id?: string | null;
5827
+ } | {
5828
+ id: string;
5829
+ type: "session.status_preparing";
5830
+ processed_at: string;
5831
+ stage: "launching" | "loading" | "ready";
5832
+ message_id?: string;
5833
+ session_thread_id?: string | null;
5813
5834
  }>;
5814
5835
  next_page: string | null;
5815
5836
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.2.0-dev.bc5a12b",
3
+ "version": "0.2.0-dev.ed8a023",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {