@deepraxis/sdk 0.2.0-dev.0ea50e2 → 0.2.0-dev.4379954
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.
|
@@ -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
|
/**
|
|
@@ -10584,6 +10618,10 @@ export type ApplicationCreateWorkerInput = {
|
|
|
10584
10618
|
labels?: {
|
|
10585
10619
|
[key: string]: string;
|
|
10586
10620
|
};
|
|
10621
|
+
/**
|
|
10622
|
+
* Who may open the application on its default host (ADR-206). Only the organization's owner (full authority) may change it; a credential limited to bound resources is refused with PERMISSION_DENIED. A change takes effect within 10 seconds.
|
|
10623
|
+
*/
|
|
10624
|
+
access?: 'public' | 'organization';
|
|
10587
10625
|
};
|
|
10588
10626
|
};
|
|
10589
10627
|
export type ApplicationWorker = {
|
|
@@ -10655,6 +10693,10 @@ export type ApplicationWorker = {
|
|
|
10655
10693
|
labels: {
|
|
10656
10694
|
[key: string]: string;
|
|
10657
10695
|
};
|
|
10696
|
+
/**
|
|
10697
|
+
* Who may open the application on its default host (ADR-206). Only the organization's owner (full authority) may change it; a credential limited to bound resources is refused with PERMISSION_DENIED. A change takes effect within 10 seconds.
|
|
10698
|
+
*/
|
|
10699
|
+
access: 'public' | 'organization';
|
|
10658
10700
|
/**
|
|
10659
10701
|
* When the Worker was deleted.
|
|
10660
10702
|
*/
|
|
@@ -10736,6 +10778,10 @@ export type ApplicationUpdateWorkerInput = {
|
|
|
10736
10778
|
labels?: {
|
|
10737
10779
|
[key: string]: string;
|
|
10738
10780
|
};
|
|
10781
|
+
/**
|
|
10782
|
+
* Who may open the application on its default host (ADR-206). Only the organization's owner (full authority) may change it; a credential limited to bound resources is refused with PERMISSION_DENIED. A change takes effect within 10 seconds.
|
|
10783
|
+
*/
|
|
10784
|
+
access?: 'public' | 'organization';
|
|
10739
10785
|
};
|
|
10740
10786
|
};
|
|
10741
10787
|
export type ApplicationVersionPage = {
|
|
@@ -29732,6 +29778,31 @@ export type AgentSseData = {
|
|
|
29732
29778
|
* 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
29779
|
*/
|
|
29734
29780
|
session_thread_id?: string | null;
|
|
29781
|
+
} | {
|
|
29782
|
+
/**
|
|
29783
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
29784
|
+
*/
|
|
29785
|
+
id: string;
|
|
29786
|
+
/**
|
|
29787
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
29788
|
+
*/
|
|
29789
|
+
type: 'session.status_preparing';
|
|
29790
|
+
/**
|
|
29791
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
29792
|
+
*/
|
|
29793
|
+
processed_at: string;
|
|
29794
|
+
/**
|
|
29795
|
+
* How far the start got.
|
|
29796
|
+
*/
|
|
29797
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
29798
|
+
/**
|
|
29799
|
+
* 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.
|
|
29800
|
+
*/
|
|
29801
|
+
message_id?: string;
|
|
29802
|
+
/**
|
|
29803
|
+
* 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.
|
|
29804
|
+
*/
|
|
29805
|
+
session_thread_id?: string | null;
|
|
29735
29806
|
} | {
|
|
29736
29807
|
/**
|
|
29737
29808
|
* Always `event_start`. Preview that an event of the requested delta types has started.
|
|
@@ -53577,6 +53648,31 @@ export type ListAgentEventsResponses = {
|
|
|
53577
53648
|
* 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
53649
|
*/
|
|
53579
53650
|
session_thread_id?: string | null;
|
|
53651
|
+
} | {
|
|
53652
|
+
/**
|
|
53653
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
53654
|
+
*/
|
|
53655
|
+
id: string;
|
|
53656
|
+
/**
|
|
53657
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
53658
|
+
*/
|
|
53659
|
+
type: 'session.status_preparing';
|
|
53660
|
+
/**
|
|
53661
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
53662
|
+
*/
|
|
53663
|
+
processed_at: string;
|
|
53664
|
+
/**
|
|
53665
|
+
* How far the start got.
|
|
53666
|
+
*/
|
|
53667
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
53668
|
+
/**
|
|
53669
|
+
* 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.
|
|
53670
|
+
*/
|
|
53671
|
+
message_id?: string;
|
|
53672
|
+
/**
|
|
53673
|
+
* 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.
|
|
53674
|
+
*/
|
|
53675
|
+
session_thread_id?: string | null;
|
|
53580
53676
|
}>;
|
|
53581
53677
|
/**
|
|
53582
53678
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -54007,32 +54103,33 @@ export type CreateAgentLoginIntentErrors = {
|
|
|
54007
54103
|
/**
|
|
54008
54104
|
* 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
54105
|
*/
|
|
54010
|
-
400:
|
|
54106
|
+
400: AgentError;
|
|
54011
54107
|
/**
|
|
54012
54108
|
* Authentication required: send the platform session's own credential.
|
|
54013
54109
|
*/
|
|
54014
|
-
401:
|
|
54110
|
+
401: AgentError;
|
|
54015
54111
|
/**
|
|
54016
54112
|
* 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
54113
|
*/
|
|
54018
|
-
403:
|
|
54114
|
+
403: AgentError;
|
|
54019
54115
|
/**
|
|
54020
54116
|
* AGENT_NOT_FOUND: the agent the credential names does not exist in this organization; check the agent the session was opened for.
|
|
54021
54117
|
*/
|
|
54022
|
-
404:
|
|
54118
|
+
404: AgentError;
|
|
54023
54119
|
/**
|
|
54024
54120
|
* 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
54121
|
*/
|
|
54026
|
-
409:
|
|
54122
|
+
409: AgentError;
|
|
54027
54123
|
/**
|
|
54028
54124
|
* UPSTREAM_UNAVAILABLE: the agent service or identity could not answer; retry once the service is back.
|
|
54029
54125
|
*/
|
|
54030
|
-
502:
|
|
54126
|
+
502: AgentError;
|
|
54031
54127
|
/**
|
|
54032
54128
|
* UNAVAILABLE: identity is not configured in this deployment.
|
|
54033
54129
|
*/
|
|
54034
|
-
503:
|
|
54130
|
+
503: AgentError;
|
|
54035
54131
|
};
|
|
54132
|
+
export type CreateAgentLoginIntentError = CreateAgentLoginIntentErrors[keyof CreateAgentLoginIntentErrors];
|
|
54036
54133
|
export type CreateAgentLoginIntentResponses = {
|
|
54037
54134
|
/**
|
|
54038
54135
|
* The one-time login code and when it stops working; the code is answered once and never again.
|
|
@@ -68777,7 +68874,7 @@ export type BrowserListSessionsErrors = {
|
|
|
68777
68874
|
*/
|
|
68778
68875
|
402: BrowserError;
|
|
68779
68876
|
/**
|
|
68780
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68877
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68781
68878
|
*/
|
|
68782
68879
|
403: BrowserError;
|
|
68783
68880
|
/**
|
|
@@ -68854,7 +68951,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
68854
68951
|
*/
|
|
68855
68952
|
402: BrowserError;
|
|
68856
68953
|
/**
|
|
68857
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68954
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68858
68955
|
*/
|
|
68859
68956
|
403: BrowserError;
|
|
68860
68957
|
/**
|
|
@@ -68932,7 +69029,7 @@ export type BrowserGetSessionErrors = {
|
|
|
68932
69029
|
*/
|
|
68933
69030
|
402: BrowserError;
|
|
68934
69031
|
/**
|
|
68935
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69032
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68936
69033
|
*/
|
|
68937
69034
|
403: BrowserError;
|
|
68938
69035
|
/**
|
|
@@ -69010,7 +69107,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69010
69107
|
*/
|
|
69011
69108
|
402: BrowserError;
|
|
69012
69109
|
/**
|
|
69013
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69110
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69014
69111
|
*/
|
|
69015
69112
|
403: BrowserError;
|
|
69016
69113
|
/**
|
|
@@ -69083,7 +69180,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69083
69180
|
*/
|
|
69084
69181
|
402: BrowserError;
|
|
69085
69182
|
/**
|
|
69086
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69183
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69087
69184
|
*/
|
|
69088
69185
|
403: BrowserError;
|
|
69089
69186
|
/**
|
|
@@ -69169,7 +69266,7 @@ export type BrowserListEventsErrors = {
|
|
|
69169
69266
|
*/
|
|
69170
69267
|
402: BrowserError;
|
|
69171
69268
|
/**
|
|
69172
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69269
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69173
69270
|
*/
|
|
69174
69271
|
403: BrowserError;
|
|
69175
69272
|
/**
|
|
@@ -69448,7 +69545,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69448
69545
|
*/
|
|
69449
69546
|
402: BrowserError;
|
|
69450
69547
|
/**
|
|
69451
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69548
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69452
69549
|
*/
|
|
69453
69550
|
403: BrowserError;
|
|
69454
69551
|
/**
|
|
@@ -69666,7 +69763,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
69666
69763
|
*/
|
|
69667
69764
|
402: BrowserError;
|
|
69668
69765
|
/**
|
|
69669
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69766
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69670
69767
|
*/
|
|
69671
69768
|
403: BrowserError;
|
|
69672
69769
|
/**
|
|
@@ -69739,7 +69836,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
69739
69836
|
*/
|
|
69740
69837
|
402: BrowserError;
|
|
69741
69838
|
/**
|
|
69742
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69839
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69743
69840
|
*/
|
|
69744
69841
|
403: BrowserError;
|
|
69745
69842
|
/**
|
|
@@ -69821,7 +69918,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
69821
69918
|
*/
|
|
69822
69919
|
402: BrowserError;
|
|
69823
69920
|
/**
|
|
69824
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69921
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69825
69922
|
*/
|
|
69826
69923
|
403: BrowserError;
|
|
69827
69924
|
/**
|
|
@@ -69899,7 +69996,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
69899
69996
|
*/
|
|
69900
69997
|
402: BrowserError;
|
|
69901
69998
|
/**
|
|
69902
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69999
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69903
70000
|
*/
|
|
69904
70001
|
403: BrowserError;
|
|
69905
70002
|
/**
|
|
@@ -69980,7 +70077,7 @@ export type BrowserListContextsErrors = {
|
|
|
69980
70077
|
*/
|
|
69981
70078
|
402: BrowserError;
|
|
69982
70079
|
/**
|
|
69983
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70080
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69984
70081
|
*/
|
|
69985
70082
|
403: BrowserError;
|
|
69986
70083
|
/**
|
|
@@ -70072,7 +70169,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70072
70169
|
*/
|
|
70073
70170
|
402: BrowserError;
|
|
70074
70171
|
/**
|
|
70075
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70172
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70076
70173
|
*/
|
|
70077
70174
|
403: BrowserError;
|
|
70078
70175
|
/**
|
|
@@ -70145,7 +70242,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70145
70242
|
*/
|
|
70146
70243
|
402: BrowserError;
|
|
70147
70244
|
/**
|
|
70148
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70245
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70149
70246
|
*/
|
|
70150
70247
|
403: BrowserError;
|
|
70151
70248
|
/**
|
|
@@ -70223,7 +70320,7 @@ export type BrowserGetContextErrors = {
|
|
|
70223
70320
|
*/
|
|
70224
70321
|
402: BrowserError;
|
|
70225
70322
|
/**
|
|
70226
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70323
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70227
70324
|
*/
|
|
70228
70325
|
403: BrowserError;
|
|
70229
70326
|
/**
|
|
@@ -70307,7 +70404,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70307
70404
|
*/
|
|
70308
70405
|
402: BrowserError;
|
|
70309
70406
|
/**
|
|
70310
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70407
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70311
70408
|
*/
|
|
70312
70409
|
403: BrowserError;
|
|
70313
70410
|
/**
|
|
@@ -70412,7 +70509,7 @@ export type BrowserConnectErrors = {
|
|
|
70412
70509
|
*/
|
|
70413
70510
|
402: BrowserError;
|
|
70414
70511
|
/**
|
|
70415
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70512
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70416
70513
|
*/
|
|
70417
70514
|
403: BrowserError;
|
|
70418
70515
|
/**
|
|
@@ -70487,7 +70584,7 @@ export type BrowserLiveViewErrors = {
|
|
|
70487
70584
|
*/
|
|
70488
70585
|
402: BrowserError;
|
|
70489
70586
|
/**
|
|
70490
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70587
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70491
70588
|
*/
|
|
70492
70589
|
403: BrowserError;
|
|
70493
70590
|
/**
|
|
@@ -70553,7 +70650,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
70553
70650
|
*/
|
|
70554
70651
|
402: BrowserError;
|
|
70555
70652
|
/**
|
|
70556
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70653
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70557
70654
|
*/
|
|
70558
70655
|
403: BrowserError;
|
|
70559
70656
|
/**
|
|
@@ -70626,7 +70723,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
70626
70723
|
*/
|
|
70627
70724
|
402: BrowserError;
|
|
70628
70725
|
/**
|
|
70629
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70726
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70630
70727
|
*/
|
|
70631
70728
|
403: BrowserError;
|
|
70632
70729
|
/**
|
|
@@ -71054,7 +71151,7 @@ export type FileCreateSignedUploadErrors = {
|
|
|
71054
71151
|
*/
|
|
71055
71152
|
401: unknown;
|
|
71056
71153
|
/**
|
|
71057
|
-
* PERMISSION_DENIED or
|
|
71154
|
+
* 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
71155
|
*/
|
|
71059
71156
|
403: unknown;
|
|
71060
71157
|
};
|
|
@@ -77963,10 +78060,18 @@ export type GetOrganizationNotificationsInboxData = {
|
|
|
77963
78060
|
url: '/organization/v1/notifications/inbox';
|
|
77964
78061
|
};
|
|
77965
78062
|
export type GetOrganizationNotificationsInboxErrors = {
|
|
78063
|
+
/**
|
|
78064
|
+
* `INVALID_PARAMS` from the service for a read it cannot answer (RFC 9457 problem).
|
|
78065
|
+
*/
|
|
78066
|
+
400: unknown;
|
|
77966
78067
|
/**
|
|
77967
78068
|
* Missing or invalid credential (RFC 9457 problem).
|
|
77968
78069
|
*/
|
|
77969
78070
|
401: unknown;
|
|
78071
|
+
/**
|
|
78072
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78073
|
+
*/
|
|
78074
|
+
502: unknown;
|
|
77970
78075
|
};
|
|
77971
78076
|
export type GetOrganizationNotificationsInboxResponses = {
|
|
77972
78077
|
/**
|
|
@@ -78009,13 +78114,17 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
78009
78114
|
};
|
|
78010
78115
|
export type ListOrganizationNotificationLettersErrors = {
|
|
78011
78116
|
/**
|
|
78012
|
-
*
|
|
78117
|
+
* A bad `status`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
78013
78118
|
*/
|
|
78014
78119
|
400: unknown;
|
|
78015
78120
|
/**
|
|
78016
78121
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78017
78122
|
*/
|
|
78018
78123
|
401: unknown;
|
|
78124
|
+
/**
|
|
78125
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78126
|
+
*/
|
|
78127
|
+
502: unknown;
|
|
78019
78128
|
};
|
|
78020
78129
|
export type ListOrganizationNotificationLettersResponses = {
|
|
78021
78130
|
/**
|
|
@@ -78118,7 +78227,7 @@ export type GetOrganizationNotificationLetterData = {
|
|
|
78118
78227
|
};
|
|
78119
78228
|
export type GetOrganizationNotificationLetterErrors = {
|
|
78120
78229
|
/**
|
|
78121
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78230
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78122
78231
|
*/
|
|
78123
78232
|
400: unknown;
|
|
78124
78233
|
/**
|
|
@@ -78126,9 +78235,13 @@ export type GetOrganizationNotificationLetterErrors = {
|
|
|
78126
78235
|
*/
|
|
78127
78236
|
401: unknown;
|
|
78128
78237
|
/**
|
|
78129
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
78238
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND`, the same answer for a letter that is not yours, is still scheduled, or never existed (RFC 9457 problem).
|
|
78130
78239
|
*/
|
|
78131
78240
|
404: unknown;
|
|
78241
|
+
/**
|
|
78242
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78243
|
+
*/
|
|
78244
|
+
502: unknown;
|
|
78132
78245
|
};
|
|
78133
78246
|
export type GetOrganizationNotificationLetterResponses = {
|
|
78134
78247
|
/**
|
|
@@ -78218,7 +78331,7 @@ export type ReadOrganizationNotificationLetterData = {
|
|
|
78218
78331
|
};
|
|
78219
78332
|
export type ReadOrganizationNotificationLetterErrors = {
|
|
78220
78333
|
/**
|
|
78221
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78334
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78222
78335
|
*/
|
|
78223
78336
|
400: unknown;
|
|
78224
78337
|
/**
|
|
@@ -78226,9 +78339,13 @@ export type ReadOrganizationNotificationLetterErrors = {
|
|
|
78226
78339
|
*/
|
|
78227
78340
|
401: unknown;
|
|
78228
78341
|
/**
|
|
78229
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
78342
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78230
78343
|
*/
|
|
78231
78344
|
404: unknown;
|
|
78345
|
+
/**
|
|
78346
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78347
|
+
*/
|
|
78348
|
+
502: unknown;
|
|
78232
78349
|
};
|
|
78233
78350
|
export type ReadOrganizationNotificationLetterResponses = {
|
|
78234
78351
|
/**
|
|
@@ -78255,13 +78372,17 @@ export type ReadAllOrganizationNotificationLettersData = {
|
|
|
78255
78372
|
};
|
|
78256
78373
|
export type ReadAllOrganizationNotificationLettersErrors = {
|
|
78257
78374
|
/**
|
|
78258
|
-
* The body is not a JSON object,
|
|
78375
|
+
* The body is not a JSON object, `kind` is unknown, or `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78259
78376
|
*/
|
|
78260
78377
|
400: unknown;
|
|
78261
78378
|
/**
|
|
78262
78379
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78263
78380
|
*/
|
|
78264
78381
|
401: unknown;
|
|
78382
|
+
/**
|
|
78383
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78384
|
+
*/
|
|
78385
|
+
502: unknown;
|
|
78265
78386
|
};
|
|
78266
78387
|
export type ReadAllOrganizationNotificationLettersResponses = {
|
|
78267
78388
|
/**
|
|
@@ -78288,7 +78409,7 @@ export type ArchiveOrganizationNotificationLetterData = {
|
|
|
78288
78409
|
};
|
|
78289
78410
|
export type ArchiveOrganizationNotificationLetterErrors = {
|
|
78290
78411
|
/**
|
|
78291
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78412
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78292
78413
|
*/
|
|
78293
78414
|
400: unknown;
|
|
78294
78415
|
/**
|
|
@@ -78296,9 +78417,13 @@ export type ArchiveOrganizationNotificationLetterErrors = {
|
|
|
78296
78417
|
*/
|
|
78297
78418
|
401: unknown;
|
|
78298
78419
|
/**
|
|
78299
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
78420
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78300
78421
|
*/
|
|
78301
78422
|
404: unknown;
|
|
78423
|
+
/**
|
|
78424
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78425
|
+
*/
|
|
78426
|
+
502: unknown;
|
|
78302
78427
|
};
|
|
78303
78428
|
export type ArchiveOrganizationNotificationLetterResponses = {
|
|
78304
78429
|
/**
|
|
@@ -78323,6 +78448,10 @@ export type GetOrganizationNotificationPreferencesErrors = {
|
|
|
78323
78448
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78324
78449
|
*/
|
|
78325
78450
|
401: unknown;
|
|
78451
|
+
/**
|
|
78452
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78453
|
+
*/
|
|
78454
|
+
502: unknown;
|
|
78326
78455
|
};
|
|
78327
78456
|
export type GetOrganizationNotificationPreferencesResponses = {
|
|
78328
78457
|
/**
|
|
@@ -78414,7 +78543,7 @@ export type UpdateOrganizationNotificationPreferencesData = {
|
|
|
78414
78543
|
};
|
|
78415
78544
|
export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
78416
78545
|
/**
|
|
78417
|
-
* Invalid switch, unknown category or unoffered channel (RFC 9457 problem).
|
|
78546
|
+
* Invalid switch, unknown category or unoffered channel — `INVALID_PARAMS`, `NOT_CONFIGURABLE` or `CRITICAL_CHANNELS_OFF` from the service (RFC 9457 problem).
|
|
78418
78547
|
*/
|
|
78419
78548
|
400: unknown;
|
|
78420
78549
|
/**
|
|
@@ -78422,9 +78551,13 @@ export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
|
78422
78551
|
*/
|
|
78423
78552
|
401: unknown;
|
|
78424
78553
|
/**
|
|
78425
|
-
* The organization does not let members change their own switches (
|
|
78554
|
+
* The organization does not let members change their own switches — `ORGANIZATION_LOCKED` from the service (RFC 9457 problem).
|
|
78426
78555
|
*/
|
|
78427
78556
|
403: unknown;
|
|
78557
|
+
/**
|
|
78558
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78559
|
+
*/
|
|
78560
|
+
502: unknown;
|
|
78428
78561
|
};
|
|
78429
78562
|
export type UpdateOrganizationNotificationPreferencesResponses = {
|
|
78430
78563
|
/**
|
|
@@ -78446,6 +78579,10 @@ export type GetOrganizationNotificationDefaultsErrors = {
|
|
|
78446
78579
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78447
78580
|
*/
|
|
78448
78581
|
401: unknown;
|
|
78582
|
+
/**
|
|
78583
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78584
|
+
*/
|
|
78585
|
+
502: unknown;
|
|
78449
78586
|
};
|
|
78450
78587
|
export type GetOrganizationNotificationDefaultsResponses = {
|
|
78451
78588
|
/**
|
|
@@ -78483,7 +78620,7 @@ export type UpdateOrganizationNotificationDefaultsData = {
|
|
|
78483
78620
|
};
|
|
78484
78621
|
export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
78485
78622
|
/**
|
|
78486
|
-
* Invalid default, unknown category or hidden critical category (RFC 9457 problem).
|
|
78623
|
+
* Invalid default, unknown category or hidden critical category (RFC 9457 problem, `INVALID_PARAMS`).
|
|
78487
78624
|
*/
|
|
78488
78625
|
400: unknown;
|
|
78489
78626
|
/**
|
|
@@ -78491,9 +78628,13 @@ export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
|
78491
78628
|
*/
|
|
78492
78629
|
401: unknown;
|
|
78493
78630
|
/**
|
|
78494
|
-
* The caller is not an owner or admin of this organization.
|
|
78631
|
+
* The caller is not an owner or admin of this organization — `PERMISSION_DENIED` from the service (RFC 9457 problem).
|
|
78495
78632
|
*/
|
|
78496
78633
|
403: unknown;
|
|
78634
|
+
/**
|
|
78635
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78636
|
+
*/
|
|
78637
|
+
502: unknown;
|
|
78497
78638
|
};
|
|
78498
78639
|
export type UpdateOrganizationNotificationDefaultsResponses = {
|
|
78499
78640
|
/**
|
|
@@ -78521,13 +78662,17 @@ export type ListOrganizationNotificationDeliveriesData = {
|
|
|
78521
78662
|
};
|
|
78522
78663
|
export type ListOrganizationNotificationDeliveriesErrors = {
|
|
78523
78664
|
/**
|
|
78524
|
-
* Invalid limit or page cursor (RFC 9457 problem).
|
|
78665
|
+
* Invalid limit, or `INVALID_PARAMS` from the service for a page cursor it did not issue (RFC 9457 problem).
|
|
78525
78666
|
*/
|
|
78526
78667
|
400: unknown;
|
|
78527
78668
|
/**
|
|
78528
78669
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78529
78670
|
*/
|
|
78530
78671
|
401: unknown;
|
|
78672
|
+
/**
|
|
78673
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78674
|
+
*/
|
|
78675
|
+
502: unknown;
|
|
78531
78676
|
};
|
|
78532
78677
|
export type ListOrganizationNotificationDeliveriesResponses = {
|
|
78533
78678
|
/**
|
|
@@ -90424,6 +90569,31 @@ export type SessionsEventsListResponses = {
|
|
|
90424
90569
|
* 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
90570
|
*/
|
|
90426
90571
|
session_thread_id?: string | null;
|
|
90572
|
+
} | {
|
|
90573
|
+
/**
|
|
90574
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
90575
|
+
*/
|
|
90576
|
+
id: string;
|
|
90577
|
+
/**
|
|
90578
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
90579
|
+
*/
|
|
90580
|
+
type: 'session.status_preparing';
|
|
90581
|
+
/**
|
|
90582
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
90583
|
+
*/
|
|
90584
|
+
processed_at: string;
|
|
90585
|
+
/**
|
|
90586
|
+
* How far the start got.
|
|
90587
|
+
*/
|
|
90588
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
90589
|
+
/**
|
|
90590
|
+
* 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.
|
|
90591
|
+
*/
|
|
90592
|
+
message_id?: string;
|
|
90593
|
+
/**
|
|
90594
|
+
* 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.
|
|
90595
|
+
*/
|
|
90596
|
+
session_thread_id?: string | null;
|
|
90427
90597
|
}>;
|
|
90428
90598
|
/**
|
|
90429
90599
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -92146,6 +92316,31 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
92146
92316
|
* 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
92317
|
*/
|
|
92148
92318
|
session_thread_id?: string | null;
|
|
92319
|
+
} | {
|
|
92320
|
+
/**
|
|
92321
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
92322
|
+
*/
|
|
92323
|
+
id: string;
|
|
92324
|
+
/**
|
|
92325
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
92326
|
+
*/
|
|
92327
|
+
type: 'session.status_preparing';
|
|
92328
|
+
/**
|
|
92329
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
92330
|
+
*/
|
|
92331
|
+
processed_at: string;
|
|
92332
|
+
/**
|
|
92333
|
+
* How far the start got.
|
|
92334
|
+
*/
|
|
92335
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
92336
|
+
/**
|
|
92337
|
+
* 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.
|
|
92338
|
+
*/
|
|
92339
|
+
message_id?: string;
|
|
92340
|
+
/**
|
|
92341
|
+
* 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.
|
|
92342
|
+
*/
|
|
92343
|
+
session_thread_id?: string | null;
|
|
92149
92344
|
}>;
|
|
92150
92345
|
/**
|
|
92151
92346
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|