@compozy/client 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/sdk/sdk.gen.js +85 -1
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/sse/sdk.gen.js +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +85 -1
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/generated/sse/sdk.gen.js +2 -2
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +1551 -355
- package/dist/types/generated/sdk/index.d.ts +1 -1
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +32 -2
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +1047 -116
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/index.d.ts +1 -1
- package/dist/types/generated/sse/index.d.ts.map +1 -1
- package/dist/types/generated/sse/sdk.gen.d.ts +2 -2
- package/dist/types/generated/sse/types.gen.d.ts +47 -2
- package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -76,11 +76,22 @@ export type AgentACPOptionSelection = {
|
|
|
76
76
|
id: string;
|
|
77
77
|
value_id?: string;
|
|
78
78
|
};
|
|
79
|
+
export type AgentActivityBatchRequest = {
|
|
80
|
+
days?: number;
|
|
81
|
+
items: Array<AgentActivitySelection>;
|
|
82
|
+
};
|
|
83
|
+
export type AgentActivityBatchResponse = {
|
|
84
|
+
activities: Array<AgentActivityResponse>;
|
|
85
|
+
};
|
|
79
86
|
export type AgentActivityResponse = {
|
|
80
87
|
busy_by_hour: Array<ActivityHour>;
|
|
81
88
|
cost_by_project: Array<ActivityCost>;
|
|
82
89
|
reports_by_day: Array<ActivityDay>;
|
|
83
90
|
};
|
|
91
|
+
export type AgentActivitySelection = {
|
|
92
|
+
name: string;
|
|
93
|
+
workspaces: Array<string>;
|
|
94
|
+
};
|
|
84
95
|
export type AgentCapabilityPayload = {
|
|
85
96
|
id: string;
|
|
86
97
|
source?: string;
|
|
@@ -152,6 +163,7 @@ export type AgentDraftRuntime = {
|
|
|
152
163
|
export type AgentEffectiveRuntimePayload = {
|
|
153
164
|
acp_options?: Array<AgentACPOptionSelection>;
|
|
154
165
|
model?: string;
|
|
166
|
+
permissions?: string;
|
|
155
167
|
provider: string;
|
|
156
168
|
reasoning_effort?: string;
|
|
157
169
|
session_env?: {
|
|
@@ -163,6 +175,7 @@ export type AgentEffectiveRuntimePayload = {
|
|
|
163
175
|
};
|
|
164
176
|
export type AgentEffectiveRuntimeSources = {
|
|
165
177
|
model?: string;
|
|
178
|
+
permissions?: string;
|
|
166
179
|
provider: string;
|
|
167
180
|
reasoning_effort?: string;
|
|
168
181
|
speed?: string;
|
|
@@ -195,6 +208,7 @@ export type AgentInstanceAwayResponse = {
|
|
|
195
208
|
};
|
|
196
209
|
export type AgentInstanceCheckDigest = {
|
|
197
210
|
key: string;
|
|
211
|
+
source?: AgentInstanceProposalSource | null;
|
|
198
212
|
summary: string;
|
|
199
213
|
};
|
|
200
214
|
export type AgentInstanceCheckInPayload = {
|
|
@@ -215,6 +229,7 @@ export type AgentInstanceCheckResponse = {
|
|
|
215
229
|
digest: Array<AgentInstanceCheckDigest>;
|
|
216
230
|
gate?: string;
|
|
217
231
|
occurrence_id?: string;
|
|
232
|
+
sources?: Array<SourceOutcome>;
|
|
218
233
|
};
|
|
219
234
|
export type AgentInstanceCreateRequest = {
|
|
220
235
|
agent: string;
|
|
@@ -257,12 +272,14 @@ export type AgentInstancePayload = {
|
|
|
257
272
|
now: string;
|
|
258
273
|
pause_reason: string;
|
|
259
274
|
profile_id: string;
|
|
275
|
+
profile_name: string;
|
|
260
276
|
provider: string;
|
|
261
277
|
quiet_streak: number;
|
|
262
278
|
resolved_appearance: {
|
|
263
279
|
[key: string]: unknown;
|
|
264
280
|
};
|
|
265
281
|
scope: string;
|
|
282
|
+
sources: Array<HeartbeatSourceStatus>;
|
|
266
283
|
state: string;
|
|
267
284
|
unattended_turn_limit: number;
|
|
268
285
|
unattended_turns: number;
|
|
@@ -283,10 +300,14 @@ export type AgentInstanceProposal = {
|
|
|
283
300
|
};
|
|
284
301
|
export type AgentInstanceProposalSource = {
|
|
285
302
|
event_id: string;
|
|
303
|
+
item_key?: string;
|
|
286
304
|
kind: string;
|
|
287
305
|
received_at: string;
|
|
288
306
|
run_id: string;
|
|
307
|
+
source_id?: string;
|
|
308
|
+
source_ref?: string;
|
|
289
309
|
trigger_id: string;
|
|
310
|
+
url?: string;
|
|
290
311
|
};
|
|
291
312
|
export type AgentInstanceReportPayload = {
|
|
292
313
|
action?: string;
|
|
@@ -308,9 +329,13 @@ export type AgentInstanceReportPayload = {
|
|
|
308
329
|
};
|
|
309
330
|
export type AgentInstanceReportSource = {
|
|
310
331
|
event: string;
|
|
332
|
+
item_key?: string;
|
|
311
333
|
kind: string;
|
|
334
|
+
source_id?: string;
|
|
335
|
+
source_ref?: string;
|
|
312
336
|
summary?: string;
|
|
313
337
|
trigger_name: string;
|
|
338
|
+
url?: string;
|
|
314
339
|
};
|
|
315
340
|
export type AgentInstanceReportsResponse = {
|
|
316
341
|
next_cursor: string;
|
|
@@ -1395,7 +1420,10 @@ export type CreateAgentPayload = {
|
|
|
1395
1420
|
description?: string | null;
|
|
1396
1421
|
display_name?: string | null;
|
|
1397
1422
|
fallback_chain?: Array<AgentFallbackRoutePayload>;
|
|
1398
|
-
|
|
1423
|
+
/**
|
|
1424
|
+
* Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
|
|
1425
|
+
*/
|
|
1426
|
+
kind?: "on_demand" | "always_on" | "stays_on";
|
|
1399
1427
|
label?: string;
|
|
1400
1428
|
model?: string;
|
|
1401
1429
|
name: string;
|
|
@@ -1682,7 +1710,10 @@ export type DuplicateAgentOverrides = {
|
|
|
1682
1710
|
deny_tools?: Array<string>;
|
|
1683
1711
|
description?: string | null;
|
|
1684
1712
|
display_name?: string | null;
|
|
1685
|
-
|
|
1713
|
+
/**
|
|
1714
|
+
* Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
|
|
1715
|
+
*/
|
|
1716
|
+
kind?: "on_demand" | "always_on" | "stays_on";
|
|
1686
1717
|
model?: string;
|
|
1687
1718
|
permission_rules?: Array<AgentPermissionRulePayload>;
|
|
1688
1719
|
permissions?: "deny-all" | "approve-reads" | "approve-edits" | "auto" | "approve-all";
|
|
@@ -1700,7 +1731,10 @@ export type DuplicateAgentOverrides = {
|
|
|
1700
1731
|
workspace_access?: string;
|
|
1701
1732
|
};
|
|
1702
1733
|
export type DuplicateAgentRequest = {
|
|
1703
|
-
|
|
1734
|
+
/**
|
|
1735
|
+
* Agent kind: on_demand (default) or always_on; fixed at creation. stays_on is the deprecated v0.5.0 spelling of always_on and is removed in v0.5.2.
|
|
1736
|
+
*/
|
|
1737
|
+
kind?: "on_demand" | "always_on" | "stays_on";
|
|
1704
1738
|
name: string;
|
|
1705
1739
|
overrides?: DuplicateAgentOverrides | null;
|
|
1706
1740
|
scope?: "workspace" | "global";
|
|
@@ -1745,6 +1779,10 @@ export type Entry = {
|
|
|
1745
1779
|
sequence: number;
|
|
1746
1780
|
start_sequence: number;
|
|
1747
1781
|
};
|
|
1782
|
+
export type Error = {
|
|
1783
|
+
code: string;
|
|
1784
|
+
detail: string;
|
|
1785
|
+
};
|
|
1748
1786
|
export type ErrorPayload = {
|
|
1749
1787
|
blockers?: Array<WorkspaceArchiveBlocker>;
|
|
1750
1788
|
code?: string;
|
|
@@ -2693,6 +2731,7 @@ export type HeartbeatConfigSubsetPayload = {
|
|
|
2693
2731
|
};
|
|
2694
2732
|
export type HeartbeatContextProjectionPayload = {
|
|
2695
2733
|
include?: Array<string>;
|
|
2734
|
+
sources?: Array<Ref>;
|
|
2696
2735
|
};
|
|
2697
2736
|
export type HeartbeatDeleteByPathRequest = {
|
|
2698
2737
|
expected_digest: string;
|
|
@@ -2784,6 +2823,50 @@ export type HeartbeatRollbackByPathRequest = {
|
|
|
2784
2823
|
target_digest?: string;
|
|
2785
2824
|
workspace_id?: string;
|
|
2786
2825
|
};
|
|
2826
|
+
export type HeartbeatScriptApprovalPayload = {
|
|
2827
|
+
approved_at: string;
|
|
2828
|
+
script: string;
|
|
2829
|
+
sha256: string;
|
|
2830
|
+
};
|
|
2831
|
+
export type HeartbeatScriptApprovalRequest = {
|
|
2832
|
+
sha256: string;
|
|
2833
|
+
};
|
|
2834
|
+
export type HeartbeatSourceCatalogPayload = {
|
|
2835
|
+
agent: string;
|
|
2836
|
+
kinds: Array<KindDescriptor>;
|
|
2837
|
+
limits: HeartbeatSourceLimitsPayload;
|
|
2838
|
+
scripts: Array<HeartbeatSourceScriptPayload>;
|
|
2839
|
+
scripts_enabled: boolean;
|
|
2840
|
+
};
|
|
2841
|
+
export type HeartbeatSourceLimitsPayload = {
|
|
2842
|
+
max_items: number;
|
|
2843
|
+
max_per_agent: number;
|
|
2844
|
+
};
|
|
2845
|
+
export type HeartbeatSourceScriptPayload = {
|
|
2846
|
+
approved: boolean;
|
|
2847
|
+
approved_sha256: string | null;
|
|
2848
|
+
executable: boolean;
|
|
2849
|
+
last_modified?: string | null;
|
|
2850
|
+
line_count?: number;
|
|
2851
|
+
name: string;
|
|
2852
|
+
path?: string;
|
|
2853
|
+
sha256: string;
|
|
2854
|
+
};
|
|
2855
|
+
export type HeartbeatSourceStatus = {
|
|
2856
|
+
awaiting_approval?: boolean;
|
|
2857
|
+
error?: Error | null;
|
|
2858
|
+
failure_streak: number;
|
|
2859
|
+
id: string;
|
|
2860
|
+
kind?: string;
|
|
2861
|
+
last_item_count: number;
|
|
2862
|
+
last_polled_at?: string;
|
|
2863
|
+
last_success_at?: string;
|
|
2864
|
+
next_poll_at?: string;
|
|
2865
|
+
script?: string;
|
|
2866
|
+
script_path?: string;
|
|
2867
|
+
script_sha256?: string;
|
|
2868
|
+
status: string;
|
|
2869
|
+
};
|
|
2787
2870
|
export type HeartbeatStatusResponse = {
|
|
2788
2871
|
active: boolean;
|
|
2789
2872
|
agent_name: string;
|
|
@@ -2824,7 +2907,7 @@ export type HeartbeatWakeDecisionPayload = {
|
|
|
2824
2907
|
diagnostics?: Array<AuthoredContextDiagnosticPayload>;
|
|
2825
2908
|
policy_digest?: string;
|
|
2826
2909
|
policy_snapshot_id?: string;
|
|
2827
|
-
reason: "wake_sent" | "heartbeat_disabled" | "heartbeat_invalid" | "heartbeat_no_policy" | "heartbeat_rate_limited" | "heartbeat_no_eligible_session" | "cooldown_active" | "quiet_window" | "session_not_found" | "session_unhealthy" | "session_not_attachable" | "session_prompt_active" | "session_prompt_active_race" | "synthetic_prompt_failed" | "wake_coalesced";
|
|
2910
|
+
reason: "source_poll_in_flight" | "wake_sent" | "heartbeat_disabled" | "heartbeat_invalid" | "heartbeat_no_policy" | "heartbeat_rate_limited" | "heartbeat_no_eligible_session" | "cooldown_active" | "quiet_window" | "session_not_found" | "session_unhealthy" | "session_not_attachable" | "session_prompt_active" | "session_prompt_active_race" | "synthetic_prompt_failed" | "wake_coalesced";
|
|
2828
2911
|
result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
|
|
2829
2912
|
synthetic_prompt_id?: string;
|
|
2830
2913
|
wake_event_id?: string;
|
|
@@ -2836,7 +2919,7 @@ export type HeartbeatWakeEventPayload = {
|
|
|
2836
2919
|
expires_at: string;
|
|
2837
2920
|
id: string;
|
|
2838
2921
|
policy_snapshot_id?: string;
|
|
2839
|
-
reason: "wake_sent" | "heartbeat_disabled" | "heartbeat_invalid" | "heartbeat_no_policy" | "heartbeat_rate_limited" | "heartbeat_no_eligible_session" | "cooldown_active" | "quiet_window" | "session_not_found" | "session_unhealthy" | "session_not_attachable" | "session_prompt_active" | "session_prompt_active_race" | "synthetic_prompt_failed" | "wake_coalesced";
|
|
2922
|
+
reason: "source_poll_in_flight" | "wake_sent" | "heartbeat_disabled" | "heartbeat_invalid" | "heartbeat_no_policy" | "heartbeat_rate_limited" | "heartbeat_no_eligible_session" | "cooldown_active" | "quiet_window" | "session_not_found" | "session_unhealthy" | "session_not_attachable" | "session_prompt_active" | "session_prompt_active_race" | "synthetic_prompt_failed" | "wake_coalesced";
|
|
2840
2923
|
result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
|
|
2841
2924
|
session_id?: string;
|
|
2842
2925
|
source: "scheduler" | "manual" | "harness_reentry";
|
|
@@ -2849,7 +2932,7 @@ export type HeartbeatWakeResponse = {
|
|
|
2849
2932
|
export type HeartbeatWakeStatePayload = {
|
|
2850
2933
|
agent_name?: string;
|
|
2851
2934
|
coalesced_count: number;
|
|
2852
|
-
last_reason?: "wake_sent" | "heartbeat_disabled" | "heartbeat_invalid" | "heartbeat_no_policy" | "heartbeat_rate_limited" | "heartbeat_no_eligible_session" | "cooldown_active" | "quiet_window" | "session_not_found" | "session_unhealthy" | "session_not_attachable" | "session_prompt_active" | "session_prompt_active_race" | "synthetic_prompt_failed" | "wake_coalesced";
|
|
2935
|
+
last_reason?: "source_poll_in_flight" | "wake_sent" | "heartbeat_disabled" | "heartbeat_invalid" | "heartbeat_no_policy" | "heartbeat_rate_limited" | "heartbeat_no_eligible_session" | "cooldown_active" | "quiet_window" | "session_not_found" | "session_unhealthy" | "session_not_attachable" | "session_prompt_active" | "session_prompt_active_race" | "synthetic_prompt_failed" | "wake_coalesced";
|
|
2853
2936
|
last_result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
|
|
2854
2937
|
last_wake_at?: string | null;
|
|
2855
2938
|
next_allowed_at?: string | null;
|
|
@@ -3002,6 +3085,13 @@ export type JobsResponse = {
|
|
|
3002
3085
|
jobs: Array<JobPayload>;
|
|
3003
3086
|
page: CountedCursorPagePayload;
|
|
3004
3087
|
};
|
|
3088
|
+
export type KindDescriptor = {
|
|
3089
|
+
description?: string;
|
|
3090
|
+
extension: string;
|
|
3091
|
+
kind: string;
|
|
3092
|
+
params_schema?: unknown;
|
|
3093
|
+
title: string;
|
|
3094
|
+
};
|
|
3005
3095
|
export type LogEventPayload = {
|
|
3006
3096
|
actor_id?: string;
|
|
3007
3097
|
actor_kind?: string;
|
|
@@ -4012,6 +4102,15 @@ export type MoveSessionToLaterRequest = {
|
|
|
4012
4102
|
reason?: string;
|
|
4013
4103
|
return_at?: string | null;
|
|
4014
4104
|
};
|
|
4105
|
+
export type MoveSessionToProfileRequest = {
|
|
4106
|
+
target_profile: string;
|
|
4107
|
+
};
|
|
4108
|
+
export type MoveSessionToProfileResponse = {
|
|
4109
|
+
branch?: string;
|
|
4110
|
+
original: SessionPayload;
|
|
4111
|
+
session: SessionPayload;
|
|
4112
|
+
worktree_id?: string;
|
|
4113
|
+
};
|
|
4015
4114
|
export type MoveWorkspaceRequest = {
|
|
4016
4115
|
folder_id?: string;
|
|
4017
4116
|
workspace_id: string;
|
|
@@ -4751,6 +4850,12 @@ export type Redaction = {
|
|
|
4751
4850
|
path: string;
|
|
4752
4851
|
reason: "approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready";
|
|
4753
4852
|
};
|
|
4853
|
+
export type Ref = {
|
|
4854
|
+
id: string;
|
|
4855
|
+
kind?: string;
|
|
4856
|
+
script?: string;
|
|
4857
|
+
with?: unknown;
|
|
4858
|
+
};
|
|
4754
4859
|
export type Reference = {
|
|
4755
4860
|
effective_paused?: boolean;
|
|
4756
4861
|
id: string;
|
|
@@ -4914,10 +5019,18 @@ export type RestartActionStatus = {
|
|
|
4914
5019
|
old_socket_path: string;
|
|
4915
5020
|
old_started_at: string;
|
|
4916
5021
|
operation_id: string;
|
|
5022
|
+
progress?: RestartProgress | null;
|
|
4917
5023
|
started_at: string;
|
|
4918
5024
|
status: "pending" | "stopping" | "waiting_release" | "starting" | "ready" | "failed";
|
|
4919
5025
|
updated_at: string;
|
|
4920
5026
|
};
|
|
5027
|
+
export type RestartProgress = {
|
|
5028
|
+
completed: number;
|
|
5029
|
+
phase: "migrating";
|
|
5030
|
+
stage: string;
|
|
5031
|
+
total: number;
|
|
5032
|
+
updated_at: string;
|
|
5033
|
+
};
|
|
4921
5034
|
export type ResumeSessionFromLaterRequest = {
|
|
4922
5035
|
with_children?: boolean;
|
|
4923
5036
|
};
|
|
@@ -5949,6 +6062,7 @@ export type SessionPayload = {
|
|
|
5949
6062
|
attached_to?: string;
|
|
5950
6063
|
attention?: string;
|
|
5951
6064
|
attention_changed_at?: string | null;
|
|
6065
|
+
attention_dismissible?: boolean;
|
|
5952
6066
|
available_commands: Array<ACPAvailableCommandPayload>;
|
|
5953
6067
|
badge: "running" | "idle" | "unhealthy" | "hung" | "waiting-for-auth" | "waiting-for-input" | "done" | "stopped" | "failed" | "unknown" | "needs-attention" | "waiting";
|
|
5954
6068
|
board_column: "needs_you" | "working" | "waiting" | "in_review" | "done";
|
|
@@ -5999,6 +6113,7 @@ export type SessionPayload = {
|
|
|
5999
6113
|
updated_at: string;
|
|
6000
6114
|
verified?: boolean | null;
|
|
6001
6115
|
waiting_on?: "sessions" | "monitor";
|
|
6116
|
+
working_dir?: string;
|
|
6002
6117
|
workspace_id?: string;
|
|
6003
6118
|
workspace_path?: string;
|
|
6004
6119
|
worktree_binding?: WorktreeBindingAvailability | null;
|
|
@@ -6114,6 +6229,7 @@ export type SessionPullRequestErrorPayload = {
|
|
|
6114
6229
|
export type SessionPullRequestLookupPayload = {
|
|
6115
6230
|
cause: string;
|
|
6116
6231
|
observed_at: string | null;
|
|
6232
|
+
retry_after?: string | null;
|
|
6117
6233
|
stale: boolean;
|
|
6118
6234
|
state: "ok" | "pending" | "error" | "incomplete";
|
|
6119
6235
|
};
|
|
@@ -6191,6 +6307,7 @@ export type SessionRuntimeRecoveryPayload = {
|
|
|
6191
6307
|
last_error?: string;
|
|
6192
6308
|
max_attempts: number;
|
|
6193
6309
|
next_attempt_at?: string | null;
|
|
6310
|
+
reason?: "runtime_exit" | "provider_auth";
|
|
6194
6311
|
started_at: string;
|
|
6195
6312
|
};
|
|
6196
6313
|
export type SessionSkillInvocationPayload = {
|
|
@@ -6467,6 +6584,9 @@ export type SettingsDefaultsPayload = {
|
|
|
6467
6584
|
provider?: string;
|
|
6468
6585
|
reasoning_effort?: string;
|
|
6469
6586
|
};
|
|
6587
|
+
export type SettingsDesktopPayload = {
|
|
6588
|
+
editor_command: string;
|
|
6589
|
+
};
|
|
6470
6590
|
export type SettingsExtensionDevPayload = {
|
|
6471
6591
|
watch_interval: string;
|
|
6472
6592
|
};
|
|
@@ -6507,6 +6627,7 @@ export type SettingsGeneralActionsPayload = {
|
|
|
6507
6627
|
export type SettingsGeneralConfigPayload = {
|
|
6508
6628
|
busy_input?: SettingsBusyInputPayload | null;
|
|
6509
6629
|
daemon: SettingsDaemonPayload;
|
|
6630
|
+
desktop?: SettingsDesktopPayload | null;
|
|
6510
6631
|
http: SettingsHTTPPayload;
|
|
6511
6632
|
/**
|
|
6512
6633
|
* Idle time before a resumable idle session's agent process is released (session.supervision.idle_release_after); 0s disables it. Omit on update to keep the current value.
|
|
@@ -6812,6 +6933,7 @@ export type SettingsProviderAuthStatusPayload = {
|
|
|
6812
6933
|
code?: string;
|
|
6813
6934
|
env_policy: string;
|
|
6814
6935
|
home_policy: string;
|
|
6936
|
+
last_probe_at?: string | null;
|
|
6815
6937
|
login: ProviderLoginDescriptorPayload;
|
|
6816
6938
|
message?: string;
|
|
6817
6939
|
mode: string;
|
|
@@ -7493,6 +7615,14 @@ export type SnapConfig = {
|
|
|
7493
7615
|
exit_slack: number;
|
|
7494
7616
|
repeat_ratios: Array<number>;
|
|
7495
7617
|
};
|
|
7618
|
+
export type SourceOutcome = {
|
|
7619
|
+
duration_ms: number;
|
|
7620
|
+
error?: Error | null;
|
|
7621
|
+
id: string;
|
|
7622
|
+
items: number;
|
|
7623
|
+
more: boolean;
|
|
7624
|
+
result: string;
|
|
7625
|
+
};
|
|
7496
7626
|
export type SourceStatus = {
|
|
7497
7627
|
reason?: string;
|
|
7498
7628
|
source: string;
|
|
@@ -8790,6 +8920,7 @@ export type ToolApprovalGrantListResponse = {
|
|
|
8790
8920
|
total: number;
|
|
8791
8921
|
};
|
|
8792
8922
|
export type ToolApprovalGrantPayload = {
|
|
8923
|
+
access_scope?: string;
|
|
8793
8924
|
agent_name?: string;
|
|
8794
8925
|
created_at: string;
|
|
8795
8926
|
decision: "allow" | "reject";
|
|
@@ -8872,7 +9003,7 @@ export type ToolCallEventPayload = {
|
|
|
8872
9003
|
destructive: boolean;
|
|
8873
9004
|
display_title?: string;
|
|
8874
9005
|
duration_ms?: number;
|
|
8875
|
-
error_code?: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
9006
|
+
error_code?: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
8876
9007
|
input_digest?: string;
|
|
8877
9008
|
kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
|
|
8878
9009
|
open_world: boolean;
|
|
@@ -8924,7 +9055,7 @@ export type ToolDescriptorPayload = {
|
|
|
8924
9055
|
visibility: "internal" | "operator" | "session" | "model";
|
|
8925
9056
|
};
|
|
8926
9057
|
export type ToolErrorPayload = {
|
|
8927
|
-
code: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
9058
|
+
code: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
8928
9059
|
details?: {
|
|
8929
9060
|
[key: string]: unknown;
|
|
8930
9061
|
};
|
|
@@ -9852,13 +9983,21 @@ export type ListAgentInstancesData = {
|
|
|
9852
9983
|
*/
|
|
9853
9984
|
limit?: string;
|
|
9854
9985
|
/**
|
|
9855
|
-
*
|
|
9986
|
+
* Read one profile's rows by name
|
|
9856
9987
|
*/
|
|
9857
9988
|
profile?: string;
|
|
9989
|
+
/**
|
|
9990
|
+
* Read the owner-labeled all-profiles aggregate
|
|
9991
|
+
*/
|
|
9992
|
+
all_profiles?: boolean;
|
|
9858
9993
|
};
|
|
9859
9994
|
url: "/api/agent-instances";
|
|
9860
9995
|
};
|
|
9861
9996
|
export type ListAgentInstancesErrors = {
|
|
9997
|
+
/**
|
|
9998
|
+
* Invalid profile selection
|
|
9999
|
+
*/
|
|
10000
|
+
400: ProfileErrorPayload;
|
|
9862
10001
|
/**
|
|
9863
10002
|
* Request failed
|
|
9864
10003
|
*/
|
|
@@ -9911,6 +10050,10 @@ export type CreateAgentInstanceData = {
|
|
|
9911
10050
|
url: "/api/agent-instances";
|
|
9912
10051
|
};
|
|
9913
10052
|
export type CreateAgentInstanceErrors = {
|
|
10053
|
+
/**
|
|
10054
|
+
* Invalid profile selection
|
|
10055
|
+
*/
|
|
10056
|
+
400: ProfileErrorPayload;
|
|
9914
10057
|
/**
|
|
9915
10058
|
* Request failed
|
|
9916
10059
|
*/
|
|
@@ -9967,6 +10110,10 @@ export type AdoptAgentInstanceData = {
|
|
|
9967
10110
|
url: "/api/agent-instances/adopt";
|
|
9968
10111
|
};
|
|
9969
10112
|
export type AdoptAgentInstanceErrors = {
|
|
10113
|
+
/**
|
|
10114
|
+
* Invalid profile selection
|
|
10115
|
+
*/
|
|
10116
|
+
400: ProfileErrorPayload;
|
|
9970
10117
|
/**
|
|
9971
10118
|
* Request failed
|
|
9972
10119
|
*/
|
|
@@ -10021,6 +10168,10 @@ export type ArchiveAgentInstanceData = {
|
|
|
10021
10168
|
url: "/api/agent-instances/{id}";
|
|
10022
10169
|
};
|
|
10023
10170
|
export type ArchiveAgentInstanceErrors = {
|
|
10171
|
+
/**
|
|
10172
|
+
* Invalid profile selection
|
|
10173
|
+
*/
|
|
10174
|
+
400: ProfileErrorPayload;
|
|
10024
10175
|
/**
|
|
10025
10176
|
* Request failed
|
|
10026
10177
|
*/
|
|
@@ -10068,13 +10219,21 @@ export type GetAgentInstanceData = {
|
|
|
10068
10219
|
};
|
|
10069
10220
|
query?: {
|
|
10070
10221
|
/**
|
|
10071
|
-
*
|
|
10222
|
+
* Read one profile's rows by name
|
|
10072
10223
|
*/
|
|
10073
10224
|
profile?: string;
|
|
10225
|
+
/**
|
|
10226
|
+
* Read the owner-labeled all-profiles aggregate
|
|
10227
|
+
*/
|
|
10228
|
+
all_profiles?: boolean;
|
|
10074
10229
|
};
|
|
10075
10230
|
url: "/api/agent-instances/{id}";
|
|
10076
10231
|
};
|
|
10077
10232
|
export type GetAgentInstanceErrors = {
|
|
10233
|
+
/**
|
|
10234
|
+
* Invalid profile selection
|
|
10235
|
+
*/
|
|
10236
|
+
400: ProfileErrorPayload;
|
|
10078
10237
|
/**
|
|
10079
10238
|
* Request failed
|
|
10080
10239
|
*/
|
|
@@ -10132,6 +10291,10 @@ export type UpdateAgentInstanceData = {
|
|
|
10132
10291
|
url: "/api/agent-instances/{id}";
|
|
10133
10292
|
};
|
|
10134
10293
|
export type UpdateAgentInstanceErrors = {
|
|
10294
|
+
/**
|
|
10295
|
+
* Invalid profile selection
|
|
10296
|
+
*/
|
|
10297
|
+
400: ProfileErrorPayload;
|
|
10135
10298
|
/**
|
|
10136
10299
|
* Request failed
|
|
10137
10300
|
*/
|
|
@@ -10179,13 +10342,21 @@ export type GetAgentInstanceAwayData = {
|
|
|
10179
10342
|
};
|
|
10180
10343
|
query?: {
|
|
10181
10344
|
/**
|
|
10182
|
-
*
|
|
10345
|
+
* Read one profile's rows by name
|
|
10183
10346
|
*/
|
|
10184
10347
|
profile?: string;
|
|
10348
|
+
/**
|
|
10349
|
+
* Read the owner-labeled all-profiles aggregate
|
|
10350
|
+
*/
|
|
10351
|
+
all_profiles?: boolean;
|
|
10185
10352
|
};
|
|
10186
10353
|
url: "/api/agent-instances/{id}/away";
|
|
10187
10354
|
};
|
|
10188
10355
|
export type GetAgentInstanceAwayErrors = {
|
|
10356
|
+
/**
|
|
10357
|
+
* Invalid profile selection
|
|
10358
|
+
*/
|
|
10359
|
+
400: ProfileErrorPayload;
|
|
10189
10360
|
/**
|
|
10190
10361
|
* Request failed
|
|
10191
10362
|
*/
|
|
@@ -10240,6 +10411,10 @@ export type MarkAgentInstanceSeenData = {
|
|
|
10240
10411
|
url: "/api/agent-instances/{id}/away";
|
|
10241
10412
|
};
|
|
10242
10413
|
export type MarkAgentInstanceSeenErrors = {
|
|
10414
|
+
/**
|
|
10415
|
+
* Invalid profile selection
|
|
10416
|
+
*/
|
|
10417
|
+
400: ProfileErrorPayload;
|
|
10243
10418
|
/**
|
|
10244
10419
|
* Request failed
|
|
10245
10420
|
*/
|
|
@@ -10297,6 +10472,10 @@ export type CheckAgentInstanceData = {
|
|
|
10297
10472
|
url: "/api/agent-instances/{id}/check";
|
|
10298
10473
|
};
|
|
10299
10474
|
export type CheckAgentInstanceErrors = {
|
|
10475
|
+
/**
|
|
10476
|
+
* Invalid profile selection
|
|
10477
|
+
*/
|
|
10478
|
+
400: ProfileErrorPayload;
|
|
10300
10479
|
/**
|
|
10301
10480
|
* Request failed
|
|
10302
10481
|
*/
|
|
@@ -10356,13 +10535,21 @@ export type ListAgentInstanceCheckInsData = {
|
|
|
10356
10535
|
*/
|
|
10357
10536
|
limit?: number;
|
|
10358
10537
|
/**
|
|
10359
|
-
*
|
|
10538
|
+
* Read one profile's rows by name
|
|
10360
10539
|
*/
|
|
10361
10540
|
profile?: string;
|
|
10541
|
+
/**
|
|
10542
|
+
* Read the owner-labeled all-profiles aggregate
|
|
10543
|
+
*/
|
|
10544
|
+
all_profiles?: boolean;
|
|
10362
10545
|
};
|
|
10363
10546
|
url: "/api/agent-instances/{id}/check-ins";
|
|
10364
10547
|
};
|
|
10365
10548
|
export type ListAgentInstanceCheckInsErrors = {
|
|
10549
|
+
/**
|
|
10550
|
+
* Invalid profile selection
|
|
10551
|
+
*/
|
|
10552
|
+
400: ProfileErrorPayload;
|
|
10366
10553
|
/**
|
|
10367
10554
|
* Request failed
|
|
10368
10555
|
*/
|
|
@@ -10417,6 +10604,10 @@ export type EnsureAgentInstanceMainData = {
|
|
|
10417
10604
|
url: "/api/agent-instances/{id}/ensure-main";
|
|
10418
10605
|
};
|
|
10419
10606
|
export type EnsureAgentInstanceMainErrors = {
|
|
10607
|
+
/**
|
|
10608
|
+
* Invalid profile selection
|
|
10609
|
+
*/
|
|
10610
|
+
400: ProfileErrorPayload;
|
|
10420
10611
|
/**
|
|
10421
10612
|
* Request failed
|
|
10422
10613
|
*/
|
|
@@ -10468,13 +10659,21 @@ export type GetAgentInstanceOccurrenceData = {
|
|
|
10468
10659
|
};
|
|
10469
10660
|
query?: {
|
|
10470
10661
|
/**
|
|
10471
|
-
*
|
|
10662
|
+
* Read one profile's rows by name
|
|
10472
10663
|
*/
|
|
10473
10664
|
profile?: string;
|
|
10665
|
+
/**
|
|
10666
|
+
* Read the owner-labeled all-profiles aggregate
|
|
10667
|
+
*/
|
|
10668
|
+
all_profiles?: boolean;
|
|
10474
10669
|
};
|
|
10475
10670
|
url: "/api/agent-instances/{id}/occurrences/{occurrence}";
|
|
10476
10671
|
};
|
|
10477
10672
|
export type GetAgentInstanceOccurrenceErrors = {
|
|
10673
|
+
/**
|
|
10674
|
+
* Invalid profile selection
|
|
10675
|
+
*/
|
|
10676
|
+
400: ProfileErrorPayload;
|
|
10478
10677
|
/**
|
|
10479
10678
|
* Request failed
|
|
10480
10679
|
*/
|
|
@@ -10529,6 +10728,10 @@ export type PauseAgentInstanceData = {
|
|
|
10529
10728
|
url: "/api/agent-instances/{id}/pause";
|
|
10530
10729
|
};
|
|
10531
10730
|
export type PauseAgentInstanceErrors = {
|
|
10731
|
+
/**
|
|
10732
|
+
* Invalid profile selection
|
|
10733
|
+
*/
|
|
10734
|
+
400: ProfileErrorPayload;
|
|
10532
10735
|
/**
|
|
10533
10736
|
* Request failed
|
|
10534
10737
|
*/
|
|
@@ -10588,13 +10791,21 @@ export type ListAgentInstanceReportsData = {
|
|
|
10588
10791
|
*/
|
|
10589
10792
|
limit?: string;
|
|
10590
10793
|
/**
|
|
10591
|
-
*
|
|
10794
|
+
* Read one profile's rows by name
|
|
10592
10795
|
*/
|
|
10593
10796
|
profile?: string;
|
|
10797
|
+
/**
|
|
10798
|
+
* Read the owner-labeled all-profiles aggregate
|
|
10799
|
+
*/
|
|
10800
|
+
all_profiles?: boolean;
|
|
10594
10801
|
};
|
|
10595
10802
|
url: "/api/agent-instances/{id}/reports";
|
|
10596
10803
|
};
|
|
10597
10804
|
export type ListAgentInstanceReportsErrors = {
|
|
10805
|
+
/**
|
|
10806
|
+
* Invalid profile selection
|
|
10807
|
+
*/
|
|
10808
|
+
400: ProfileErrorPayload;
|
|
10598
10809
|
/**
|
|
10599
10810
|
* Request failed
|
|
10600
10811
|
*/
|
|
@@ -10649,6 +10860,10 @@ export type ResumeAgentInstanceData = {
|
|
|
10649
10860
|
url: "/api/agent-instances/{id}/resume";
|
|
10650
10861
|
};
|
|
10651
10862
|
export type ResumeAgentInstanceErrors = {
|
|
10863
|
+
/**
|
|
10864
|
+
* Invalid profile selection
|
|
10865
|
+
*/
|
|
10866
|
+
400: ProfileErrorPayload;
|
|
10652
10867
|
/**
|
|
10653
10868
|
* Request failed
|
|
10654
10869
|
*/
|
|
@@ -10718,6 +10933,10 @@ export type ListAgentSkillReviewsData = {
|
|
|
10718
10933
|
url: "/api/agent-skill-reviews";
|
|
10719
10934
|
};
|
|
10720
10935
|
export type ListAgentSkillReviewsErrors = {
|
|
10936
|
+
/**
|
|
10937
|
+
* Invalid profile selection
|
|
10938
|
+
*/
|
|
10939
|
+
400: ProfileErrorPayload;
|
|
10721
10940
|
/**
|
|
10722
10941
|
* Request failed
|
|
10723
10942
|
*/
|
|
@@ -10772,6 +10991,10 @@ export type GetAgentSkillReviewData = {
|
|
|
10772
10991
|
url: "/api/agent-skill-reviews/{id}";
|
|
10773
10992
|
};
|
|
10774
10993
|
export type GetAgentSkillReviewErrors = {
|
|
10994
|
+
/**
|
|
10995
|
+
* Invalid profile selection
|
|
10996
|
+
*/
|
|
10997
|
+
400: ProfileErrorPayload;
|
|
10775
10998
|
/**
|
|
10776
10999
|
* Request failed
|
|
10777
11000
|
*/
|
|
@@ -10829,6 +11052,10 @@ export type ApproveAgentSkillReviewData = {
|
|
|
10829
11052
|
url: "/api/agent-skill-reviews/{id}/approve";
|
|
10830
11053
|
};
|
|
10831
11054
|
export type ApproveAgentSkillReviewErrors = {
|
|
11055
|
+
/**
|
|
11056
|
+
* Invalid profile selection
|
|
11057
|
+
*/
|
|
11058
|
+
400: ProfileErrorPayload;
|
|
10832
11059
|
/**
|
|
10833
11060
|
* Request failed
|
|
10834
11061
|
*/
|
|
@@ -10886,6 +11113,10 @@ export type RejectAgentSkillReviewData = {
|
|
|
10886
11113
|
url: "/api/agent-skill-reviews/{id}/reject";
|
|
10887
11114
|
};
|
|
10888
11115
|
export type RejectAgentSkillReviewErrors = {
|
|
11116
|
+
/**
|
|
11117
|
+
* Invalid profile selection
|
|
11118
|
+
*/
|
|
11119
|
+
400: ProfileErrorPayload;
|
|
10889
11120
|
/**
|
|
10890
11121
|
* Request failed
|
|
10891
11122
|
*/
|
|
@@ -11711,91 +11942,147 @@ export type CreateAgentResponses = {
|
|
|
11711
11942
|
201: AgentResponse;
|
|
11712
11943
|
};
|
|
11713
11944
|
export type CreateAgentResponse = CreateAgentResponses[keyof CreateAgentResponses];
|
|
11714
|
-
export type
|
|
11715
|
-
|
|
11945
|
+
export type BatchAgentActivityData = {
|
|
11946
|
+
/**
|
|
11947
|
+
* JSON request body
|
|
11948
|
+
*/
|
|
11949
|
+
body: AgentActivityBatchRequest;
|
|
11716
11950
|
path?: never;
|
|
11717
11951
|
query?: {
|
|
11718
|
-
/**
|
|
11719
|
-
* Read all projects and User rows
|
|
11720
|
-
*/
|
|
11721
|
-
all_workspaces?: boolean;
|
|
11722
|
-
/**
|
|
11723
|
-
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
11724
|
-
*/
|
|
11725
|
-
workspace_ids?: Array<string>;
|
|
11726
|
-
/**
|
|
11727
|
-
* Group identical scoped definitions
|
|
11728
|
-
*/
|
|
11729
|
-
group?: "agent";
|
|
11730
|
-
/**
|
|
11731
|
-
* Exact agent name
|
|
11732
|
-
*/
|
|
11733
|
-
name?: string;
|
|
11734
|
-
/**
|
|
11735
|
-
* Case-insensitive agent name, label or category search
|
|
11736
|
-
*/
|
|
11737
|
-
q?: string;
|
|
11738
|
-
/**
|
|
11739
|
-
* Exact category path joined by slash separators
|
|
11740
|
-
*/
|
|
11741
|
-
category?: string;
|
|
11742
|
-
/**
|
|
11743
|
-
* Agent session status
|
|
11744
|
-
*/
|
|
11745
|
-
status?: "active" | "idle";
|
|
11746
|
-
/**
|
|
11747
|
-
* Opaque cursor bound to workspace and filters
|
|
11748
|
-
*/
|
|
11749
|
-
cursor?: string;
|
|
11750
|
-
/**
|
|
11751
|
-
* Agents per page (1-100; default 50)
|
|
11752
|
-
*/
|
|
11753
|
-
limit?: number;
|
|
11754
11952
|
/**
|
|
11755
11953
|
* Act as this profile by name
|
|
11756
11954
|
*/
|
|
11757
11955
|
profile?: string;
|
|
11758
11956
|
};
|
|
11759
|
-
url: "/api/agents/
|
|
11957
|
+
url: "/api/agents/activity";
|
|
11760
11958
|
};
|
|
11761
|
-
export type
|
|
11959
|
+
export type BatchAgentActivityErrors = {
|
|
11762
11960
|
/**
|
|
11763
|
-
* Invalid
|
|
11961
|
+
* Invalid profile selection
|
|
11764
11962
|
*/
|
|
11765
|
-
400:
|
|
11963
|
+
400: ProfileErrorPayload;
|
|
11766
11964
|
/**
|
|
11767
|
-
*
|
|
11965
|
+
* Request failed
|
|
11966
|
+
*/
|
|
11967
|
+
403: ErrorPayload;
|
|
11968
|
+
/**
|
|
11969
|
+
* Request failed
|
|
11768
11970
|
*/
|
|
11769
11971
|
404: ErrorPayload;
|
|
11770
11972
|
/**
|
|
11771
|
-
*
|
|
11973
|
+
* Request failed
|
|
11772
11974
|
*/
|
|
11773
|
-
|
|
11975
|
+
409: ErrorPayload;
|
|
11774
11976
|
/**
|
|
11775
|
-
*
|
|
11977
|
+
* Request failed
|
|
11978
|
+
*/
|
|
11979
|
+
422: ErrorPayload;
|
|
11980
|
+
/**
|
|
11981
|
+
* Request failed
|
|
11982
|
+
*/
|
|
11983
|
+
429: ErrorPayload;
|
|
11984
|
+
/**
|
|
11985
|
+
* Request failed
|
|
11776
11986
|
*/
|
|
11777
11987
|
500: ErrorPayload;
|
|
11778
11988
|
/**
|
|
11779
|
-
*
|
|
11989
|
+
* Request failed
|
|
11780
11990
|
*/
|
|
11781
11991
|
503: ErrorPayload;
|
|
11782
11992
|
};
|
|
11783
|
-
export type
|
|
11784
|
-
export type
|
|
11993
|
+
export type BatchAgentActivityError = BatchAgentActivityErrors[keyof BatchAgentActivityErrors];
|
|
11994
|
+
export type BatchAgentActivityResponses = {
|
|
11785
11995
|
/**
|
|
11786
|
-
*
|
|
11996
|
+
* Scoped activities in request order
|
|
11787
11997
|
*/
|
|
11788
|
-
200:
|
|
11998
|
+
200: AgentActivityBatchResponse;
|
|
11789
11999
|
};
|
|
11790
|
-
export type
|
|
11791
|
-
export type
|
|
12000
|
+
export type BatchAgentActivityResponse = BatchAgentActivityResponses[keyof BatchAgentActivityResponses];
|
|
12001
|
+
export type ListAgentsAggregateData = {
|
|
11792
12002
|
body?: never;
|
|
11793
12003
|
path?: never;
|
|
11794
12004
|
query?: {
|
|
11795
12005
|
/**
|
|
11796
|
-
*
|
|
12006
|
+
* Read all projects and User rows
|
|
11797
12007
|
*/
|
|
11798
|
-
|
|
12008
|
+
all_workspaces?: boolean;
|
|
12009
|
+
/**
|
|
12010
|
+
* Repeatable project IDs or @user; requires all_workspaces=true
|
|
12011
|
+
*/
|
|
12012
|
+
workspace_ids?: Array<string>;
|
|
12013
|
+
/**
|
|
12014
|
+
* Group identical scoped definitions
|
|
12015
|
+
*/
|
|
12016
|
+
group?: "agent";
|
|
12017
|
+
/**
|
|
12018
|
+
* Exact agent name
|
|
12019
|
+
*/
|
|
12020
|
+
name?: string;
|
|
12021
|
+
/**
|
|
12022
|
+
* Case-insensitive agent name, label or category search
|
|
12023
|
+
*/
|
|
12024
|
+
q?: string;
|
|
12025
|
+
/**
|
|
12026
|
+
* Exact category path joined by slash separators
|
|
12027
|
+
*/
|
|
12028
|
+
category?: string;
|
|
12029
|
+
/**
|
|
12030
|
+
* Agent session status
|
|
12031
|
+
*/
|
|
12032
|
+
status?: "active" | "idle";
|
|
12033
|
+
/**
|
|
12034
|
+
* Opaque cursor bound to workspace and filters
|
|
12035
|
+
*/
|
|
12036
|
+
cursor?: string;
|
|
12037
|
+
/**
|
|
12038
|
+
* Agents per page (1-100; default 50)
|
|
12039
|
+
*/
|
|
12040
|
+
limit?: number;
|
|
12041
|
+
/**
|
|
12042
|
+
* Act as this profile by name
|
|
12043
|
+
*/
|
|
12044
|
+
profile?: string;
|
|
12045
|
+
};
|
|
12046
|
+
url: "/api/agents/aggregate";
|
|
12047
|
+
};
|
|
12048
|
+
export type ListAgentsAggregateErrors = {
|
|
12049
|
+
/**
|
|
12050
|
+
* Invalid filter
|
|
12051
|
+
*/
|
|
12052
|
+
400: ErrorPayload;
|
|
12053
|
+
/**
|
|
12054
|
+
* Workspace not found
|
|
12055
|
+
*/
|
|
12056
|
+
404: ErrorPayload;
|
|
12057
|
+
/**
|
|
12058
|
+
* Workspace root missing
|
|
12059
|
+
*/
|
|
12060
|
+
410: ErrorPayload;
|
|
12061
|
+
/**
|
|
12062
|
+
* Internal server error
|
|
12063
|
+
*/
|
|
12064
|
+
500: ErrorPayload;
|
|
12065
|
+
/**
|
|
12066
|
+
* Workspace resolver unavailable
|
|
12067
|
+
*/
|
|
12068
|
+
503: ErrorPayload;
|
|
12069
|
+
};
|
|
12070
|
+
export type ListAgentsAggregateError = ListAgentsAggregateErrors[keyof ListAgentsAggregateErrors];
|
|
12071
|
+
export type ListAgentsAggregateResponses = {
|
|
12072
|
+
/**
|
|
12073
|
+
* OK
|
|
12074
|
+
*/
|
|
12075
|
+
200: AgentCatalogResponse;
|
|
12076
|
+
};
|
|
12077
|
+
export type ListAgentsAggregateResponse = ListAgentsAggregateResponses[keyof ListAgentsAggregateResponses];
|
|
12078
|
+
export type ListAgentCatalogData = {
|
|
12079
|
+
body?: never;
|
|
12080
|
+
path?: never;
|
|
12081
|
+
query?: {
|
|
12082
|
+
/**
|
|
12083
|
+
* Workspace id, name, or path; omit for Global definitions and cross-workspace session metrics
|
|
12084
|
+
*/
|
|
12085
|
+
workspace?: string;
|
|
11799
12086
|
/**
|
|
11800
12087
|
* Group identical scoped definitions
|
|
11801
12088
|
*/
|
|
@@ -12067,6 +12354,10 @@ export type GetAgentActivityData = {
|
|
|
12067
12354
|
url: "/api/agents/{name}/activity";
|
|
12068
12355
|
};
|
|
12069
12356
|
export type GetAgentActivityErrors = {
|
|
12357
|
+
/**
|
|
12358
|
+
* Invalid profile selection
|
|
12359
|
+
*/
|
|
12360
|
+
400: ProfileErrorPayload;
|
|
12070
12361
|
/**
|
|
12071
12362
|
* Request failed
|
|
12072
12363
|
*/
|
|
@@ -12428,6 +12719,163 @@ export type RollbackAgentHeartbeatResponses = {
|
|
|
12428
12719
|
200: HeartbeatMutationResponse;
|
|
12429
12720
|
};
|
|
12430
12721
|
export type RollbackAgentHeartbeatResponse = RollbackAgentHeartbeatResponses[keyof RollbackAgentHeartbeatResponses];
|
|
12722
|
+
export type RevokeAgentHeartbeatScriptData = {
|
|
12723
|
+
body?: never;
|
|
12724
|
+
path: {
|
|
12725
|
+
/**
|
|
12726
|
+
* Agent name
|
|
12727
|
+
*/
|
|
12728
|
+
name: string;
|
|
12729
|
+
/**
|
|
12730
|
+
* Script name
|
|
12731
|
+
*/
|
|
12732
|
+
script: string;
|
|
12733
|
+
};
|
|
12734
|
+
query?: {
|
|
12735
|
+
/**
|
|
12736
|
+
* Workspace id
|
|
12737
|
+
*/
|
|
12738
|
+
workspace_id?: string;
|
|
12739
|
+
/**
|
|
12740
|
+
* Act as this profile by name
|
|
12741
|
+
*/
|
|
12742
|
+
profile?: string;
|
|
12743
|
+
};
|
|
12744
|
+
url: "/api/agents/{name}/heartbeat/scripts/{script}/approve";
|
|
12745
|
+
};
|
|
12746
|
+
export type RevokeAgentHeartbeatScriptErrors = {
|
|
12747
|
+
/**
|
|
12748
|
+
* Operator required
|
|
12749
|
+
*/
|
|
12750
|
+
403: ErrorPayload;
|
|
12751
|
+
/**
|
|
12752
|
+
* Agent not found
|
|
12753
|
+
*/
|
|
12754
|
+
404: ErrorPayload;
|
|
12755
|
+
/**
|
|
12756
|
+
* Invalid source script request
|
|
12757
|
+
*/
|
|
12758
|
+
422: ErrorPayload;
|
|
12759
|
+
/**
|
|
12760
|
+
* Internal error
|
|
12761
|
+
*/
|
|
12762
|
+
500: ErrorPayload;
|
|
12763
|
+
/**
|
|
12764
|
+
* Source storage unavailable
|
|
12765
|
+
*/
|
|
12766
|
+
503: ErrorPayload;
|
|
12767
|
+
};
|
|
12768
|
+
export type RevokeAgentHeartbeatScriptError = RevokeAgentHeartbeatScriptErrors[keyof RevokeAgentHeartbeatScriptErrors];
|
|
12769
|
+
export type RevokeAgentHeartbeatScriptResponses = {
|
|
12770
|
+
/**
|
|
12771
|
+
* Script approval revoked
|
|
12772
|
+
*/
|
|
12773
|
+
204: void;
|
|
12774
|
+
};
|
|
12775
|
+
export type RevokeAgentHeartbeatScriptResponse = RevokeAgentHeartbeatScriptResponses[keyof RevokeAgentHeartbeatScriptResponses];
|
|
12776
|
+
export type ApproveAgentHeartbeatScriptData = {
|
|
12777
|
+
/**
|
|
12778
|
+
* JSON request body
|
|
12779
|
+
*/
|
|
12780
|
+
body: HeartbeatScriptApprovalRequest;
|
|
12781
|
+
path: {
|
|
12782
|
+
/**
|
|
12783
|
+
* Agent name
|
|
12784
|
+
*/
|
|
12785
|
+
name: string;
|
|
12786
|
+
/**
|
|
12787
|
+
* Script name
|
|
12788
|
+
*/
|
|
12789
|
+
script: string;
|
|
12790
|
+
};
|
|
12791
|
+
query?: {
|
|
12792
|
+
/**
|
|
12793
|
+
* Workspace id
|
|
12794
|
+
*/
|
|
12795
|
+
workspace_id?: string;
|
|
12796
|
+
/**
|
|
12797
|
+
* Act as this profile by name
|
|
12798
|
+
*/
|
|
12799
|
+
profile?: string;
|
|
12800
|
+
};
|
|
12801
|
+
url: "/api/agents/{name}/heartbeat/scripts/{script}/approve";
|
|
12802
|
+
};
|
|
12803
|
+
export type ApproveAgentHeartbeatScriptErrors = {
|
|
12804
|
+
/**
|
|
12805
|
+
* Operator required
|
|
12806
|
+
*/
|
|
12807
|
+
403: ErrorPayload;
|
|
12808
|
+
/**
|
|
12809
|
+
* Agent not found
|
|
12810
|
+
*/
|
|
12811
|
+
404: ErrorPayload;
|
|
12812
|
+
/**
|
|
12813
|
+
* Script changed
|
|
12814
|
+
*/
|
|
12815
|
+
409: ErrorPayload;
|
|
12816
|
+
/**
|
|
12817
|
+
* Invalid source script request
|
|
12818
|
+
*/
|
|
12819
|
+
422: ErrorPayload;
|
|
12820
|
+
/**
|
|
12821
|
+
* Internal error
|
|
12822
|
+
*/
|
|
12823
|
+
500: ErrorPayload;
|
|
12824
|
+
/**
|
|
12825
|
+
* Source storage unavailable
|
|
12826
|
+
*/
|
|
12827
|
+
503: ErrorPayload;
|
|
12828
|
+
};
|
|
12829
|
+
export type ApproveAgentHeartbeatScriptError = ApproveAgentHeartbeatScriptErrors[keyof ApproveAgentHeartbeatScriptErrors];
|
|
12830
|
+
export type ApproveAgentHeartbeatScriptResponses = {
|
|
12831
|
+
/**
|
|
12832
|
+
* Approved
|
|
12833
|
+
*/
|
|
12834
|
+
200: HeartbeatScriptApprovalPayload;
|
|
12835
|
+
};
|
|
12836
|
+
export type ApproveAgentHeartbeatScriptResponse = ApproveAgentHeartbeatScriptResponses[keyof ApproveAgentHeartbeatScriptResponses];
|
|
12837
|
+
export type GetAgentHeartbeatSourcesData = {
|
|
12838
|
+
body?: never;
|
|
12839
|
+
path: {
|
|
12840
|
+
/**
|
|
12841
|
+
* Agent name
|
|
12842
|
+
*/
|
|
12843
|
+
name: string;
|
|
12844
|
+
};
|
|
12845
|
+
query?: {
|
|
12846
|
+
/**
|
|
12847
|
+
* Workspace id
|
|
12848
|
+
*/
|
|
12849
|
+
workspace_id?: string;
|
|
12850
|
+
/**
|
|
12851
|
+
* Act as this profile by name
|
|
12852
|
+
*/
|
|
12853
|
+
profile?: string;
|
|
12854
|
+
};
|
|
12855
|
+
url: "/api/agents/{name}/heartbeat/sources";
|
|
12856
|
+
};
|
|
12857
|
+
export type GetAgentHeartbeatSourcesErrors = {
|
|
12858
|
+
/**
|
|
12859
|
+
* Agent not found
|
|
12860
|
+
*/
|
|
12861
|
+
404: ErrorPayload;
|
|
12862
|
+
/**
|
|
12863
|
+
* Internal error
|
|
12864
|
+
*/
|
|
12865
|
+
500: ErrorPayload;
|
|
12866
|
+
/**
|
|
12867
|
+
* Source storage unavailable
|
|
12868
|
+
*/
|
|
12869
|
+
503: ErrorPayload;
|
|
12870
|
+
};
|
|
12871
|
+
export type GetAgentHeartbeatSourcesError = GetAgentHeartbeatSourcesErrors[keyof GetAgentHeartbeatSourcesErrors];
|
|
12872
|
+
export type GetAgentHeartbeatSourcesResponses = {
|
|
12873
|
+
/**
|
|
12874
|
+
* OK
|
|
12875
|
+
*/
|
|
12876
|
+
200: HeartbeatSourceCatalogPayload;
|
|
12877
|
+
};
|
|
12878
|
+
export type GetAgentHeartbeatSourcesResponse = GetAgentHeartbeatSourcesResponses[keyof GetAgentHeartbeatSourcesResponses];
|
|
12431
12879
|
export type GetAgentHeartbeatStatusData = {
|
|
12432
12880
|
body?: never;
|
|
12433
12881
|
path: {
|
|
@@ -12634,7 +13082,7 @@ export type GetAgentMemoryErrors = {
|
|
|
12634
13082
|
*/
|
|
12635
13083
|
409: ErrorPayload;
|
|
12636
13084
|
/**
|
|
12637
|
-
*
|
|
13085
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
12638
13086
|
*/
|
|
12639
13087
|
422: ErrorPayload;
|
|
12640
13088
|
/**
|
|
@@ -12699,7 +13147,7 @@ export type PutAgentMemoryErrors = {
|
|
|
12699
13147
|
*/
|
|
12700
13148
|
409: ErrorPayload;
|
|
12701
13149
|
/**
|
|
12702
|
-
*
|
|
13150
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
12703
13151
|
*/
|
|
12704
13152
|
422: ErrorPayload;
|
|
12705
13153
|
/**
|
|
@@ -12764,7 +13212,7 @@ export type RemoveAgentMemoryErrors = {
|
|
|
12764
13212
|
*/
|
|
12765
13213
|
409: ErrorPayload;
|
|
12766
13214
|
/**
|
|
12767
|
-
*
|
|
13215
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
12768
13216
|
*/
|
|
12769
13217
|
422: ErrorPayload;
|
|
12770
13218
|
/**
|
|
@@ -12829,7 +13277,7 @@ export type ReplaceAgentMemoryErrors = {
|
|
|
12829
13277
|
*/
|
|
12830
13278
|
409: ErrorPayload;
|
|
12831
13279
|
/**
|
|
12832
|
-
*
|
|
13280
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
12833
13281
|
*/
|
|
12834
13282
|
422: ErrorPayload;
|
|
12835
13283
|
/**
|
|
@@ -12894,7 +13342,7 @@ export type AddAgentMemoryErrors = {
|
|
|
12894
13342
|
*/
|
|
12895
13343
|
409: ErrorPayload;
|
|
12896
13344
|
/**
|
|
12897
|
-
*
|
|
13345
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
12898
13346
|
*/
|
|
12899
13347
|
422: ErrorPayload;
|
|
12900
13348
|
/**
|
|
@@ -12956,7 +13404,7 @@ export type ListAgentMemoryHistoryErrors = {
|
|
|
12956
13404
|
*/
|
|
12957
13405
|
409: ErrorPayload;
|
|
12958
13406
|
/**
|
|
12959
|
-
*
|
|
13407
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
12960
13408
|
*/
|
|
12961
13409
|
422: ErrorPayload;
|
|
12962
13410
|
/**
|
|
@@ -13021,7 +13469,7 @@ export type RollbackAgentMemoryErrors = {
|
|
|
13021
13469
|
*/
|
|
13022
13470
|
409: ErrorPayload;
|
|
13023
13471
|
/**
|
|
13024
|
-
*
|
|
13472
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
13025
13473
|
*/
|
|
13026
13474
|
422: ErrorPayload;
|
|
13027
13475
|
/**
|
|
@@ -13086,7 +13534,7 @@ export type SearchAgentMemoryErrors = {
|
|
|
13086
13534
|
*/
|
|
13087
13535
|
409: ErrorPayload;
|
|
13088
13536
|
/**
|
|
13089
|
-
*
|
|
13537
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
13090
13538
|
*/
|
|
13091
13539
|
422: ErrorPayload;
|
|
13092
13540
|
/**
|
|
@@ -13151,7 +13599,7 @@ export type ValidateAgentMemoryErrors = {
|
|
|
13151
13599
|
*/
|
|
13152
13600
|
409: ErrorPayload;
|
|
13153
13601
|
/**
|
|
13154
|
-
*
|
|
13602
|
+
* agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
|
|
13155
13603
|
*/
|
|
13156
13604
|
422: ErrorPayload;
|
|
13157
13605
|
/**
|
|
@@ -14498,6 +14946,14 @@ export type ListCmdPaletteClientsData = {
|
|
|
14498
14946
|
* Workspace id, name, or path
|
|
14499
14947
|
*/
|
|
14500
14948
|
workspace: string;
|
|
14949
|
+
/**
|
|
14950
|
+
* Read one profile's rows by name
|
|
14951
|
+
*/
|
|
14952
|
+
profile?: string;
|
|
14953
|
+
/**
|
|
14954
|
+
* Read the owner-labeled all-profiles aggregate
|
|
14955
|
+
*/
|
|
14956
|
+
all_profiles?: boolean;
|
|
14501
14957
|
};
|
|
14502
14958
|
url: "/api/cmd-palette/clients";
|
|
14503
14959
|
};
|
|
@@ -15040,6 +15496,41 @@ export type OpenCmdPaletteViewSessionResponses = {
|
|
|
15040
15496
|
200: CmdPaletteViewSessionOpenResponse;
|
|
15041
15497
|
};
|
|
15042
15498
|
export type OpenCmdPaletteViewSessionResponse = OpenCmdPaletteViewSessionResponses[keyof OpenCmdPaletteViewSessionResponses];
|
|
15499
|
+
export type CaptureDaemonProfileData = {
|
|
15500
|
+
body?: never;
|
|
15501
|
+
path: {
|
|
15502
|
+
kind: "cpu" | "heap" | "allocs" | "goroutine" | "mutex" | "block" | "threadcreate";
|
|
15503
|
+
};
|
|
15504
|
+
query?: {
|
|
15505
|
+
/**
|
|
15506
|
+
* Capture window for cpu, mutex and block only; snapshot profiles reject this parameter
|
|
15507
|
+
*/
|
|
15508
|
+
seconds?: number;
|
|
15509
|
+
};
|
|
15510
|
+
url: "/api/daemon/profile/{kind}";
|
|
15511
|
+
};
|
|
15512
|
+
export type CaptureDaemonProfileErrors = {
|
|
15513
|
+
/**
|
|
15514
|
+
* daemon_profile_invalid: unsupported kind or duration
|
|
15515
|
+
*/
|
|
15516
|
+
400: ErrorPayload;
|
|
15517
|
+
/**
|
|
15518
|
+
* profile_busy: CPU or contention capture already active
|
|
15519
|
+
*/
|
|
15520
|
+
409: ErrorPayload;
|
|
15521
|
+
/**
|
|
15522
|
+
* profile_failed: capture canceled or failed
|
|
15523
|
+
*/
|
|
15524
|
+
500: ErrorPayload;
|
|
15525
|
+
};
|
|
15526
|
+
export type CaptureDaemonProfileError = CaptureDaemonProfileErrors[keyof CaptureDaemonProfileErrors];
|
|
15527
|
+
export type CaptureDaemonProfileResponses = {
|
|
15528
|
+
/**
|
|
15529
|
+
* Raw gzip-compressed pprof protobuf
|
|
15530
|
+
*/
|
|
15531
|
+
200: Blob | File;
|
|
15532
|
+
};
|
|
15533
|
+
export type CaptureDaemonProfileResponse = CaptureDaemonProfileResponses[keyof CaptureDaemonProfileResponses];
|
|
15043
15534
|
export type GetDoctorData = {
|
|
15044
15535
|
body?: never;
|
|
15045
15536
|
path?: never;
|
|
@@ -19998,7 +20489,7 @@ export type ListSessionsData = {
|
|
|
19998
20489
|
*/
|
|
19999
20490
|
skip_total?: boolean;
|
|
20000
20491
|
/**
|
|
20001
|
-
* Exclude
|
|
20492
|
+
* Exclude always-on main sessions from the page and its total
|
|
20002
20493
|
*/
|
|
20003
20494
|
exclude_instance_main?: boolean;
|
|
20004
20495
|
/**
|
|
@@ -20493,7 +20984,16 @@ export type GetSessionOwnerData = {
|
|
|
20493
20984
|
*/
|
|
20494
20985
|
session_id: string;
|
|
20495
20986
|
};
|
|
20496
|
-
query?:
|
|
20987
|
+
query?: {
|
|
20988
|
+
/**
|
|
20989
|
+
* Read one profile's rows by name
|
|
20990
|
+
*/
|
|
20991
|
+
profile?: string;
|
|
20992
|
+
/**
|
|
20993
|
+
* Read the owner-labeled all-profiles aggregate
|
|
20994
|
+
*/
|
|
20995
|
+
all_profiles?: boolean;
|
|
20996
|
+
};
|
|
20497
20997
|
url: "/api/sessions/{session_id}/owner";
|
|
20498
20998
|
};
|
|
20499
20999
|
export type GetSessionOwnerErrors = {
|
|
@@ -22540,6 +23040,14 @@ export type GetSettingsWindowManagerData = {
|
|
|
22540
23040
|
* Select the workspace id for workspace scope
|
|
22541
23041
|
*/
|
|
22542
23042
|
workspace_id?: string;
|
|
23043
|
+
/**
|
|
23044
|
+
* Select the shell attachment for shortcut statuses
|
|
23045
|
+
*/
|
|
23046
|
+
client_id?: string;
|
|
23047
|
+
/**
|
|
23048
|
+
* Select the shell profile without changing settings scope
|
|
23049
|
+
*/
|
|
23050
|
+
client_profile?: string;
|
|
22543
23051
|
};
|
|
22544
23052
|
url: "/api/settings/window-manager";
|
|
22545
23053
|
};
|
|
@@ -22580,6 +23088,14 @@ export type UpdateSettingsWindowManagerData = {
|
|
|
22580
23088
|
* Select the workspace id for workspace scope
|
|
22581
23089
|
*/
|
|
22582
23090
|
workspace_id?: string;
|
|
23091
|
+
/**
|
|
23092
|
+
* Select the shell attachment for shortcut statuses
|
|
23093
|
+
*/
|
|
23094
|
+
client_id?: string;
|
|
23095
|
+
/**
|
|
23096
|
+
* Select the shell profile without changing settings scope
|
|
23097
|
+
*/
|
|
23098
|
+
client_profile?: string;
|
|
22583
23099
|
};
|
|
22584
23100
|
url: "/api/settings/window-manager";
|
|
22585
23101
|
};
|
|
@@ -29744,7 +30260,7 @@ export type ListWorkspaceSessionsData = {
|
|
|
29744
30260
|
*/
|
|
29745
30261
|
skip_total?: boolean;
|
|
29746
30262
|
/**
|
|
29747
|
-
* Exclude
|
|
30263
|
+
* Exclude always-on main sessions from the page and its total
|
|
29748
30264
|
*/
|
|
29749
30265
|
exclude_instance_main?: boolean;
|
|
29750
30266
|
/**
|
|
@@ -30036,7 +30552,12 @@ export type ApproveSessionData = {
|
|
|
30036
30552
|
*/
|
|
30037
30553
|
session_id: string;
|
|
30038
30554
|
};
|
|
30039
|
-
query?:
|
|
30555
|
+
query?: {
|
|
30556
|
+
/**
|
|
30557
|
+
* Act as this profile by name
|
|
30558
|
+
*/
|
|
30559
|
+
profile?: string;
|
|
30560
|
+
};
|
|
30040
30561
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/approve";
|
|
30041
30562
|
};
|
|
30042
30563
|
export type ApproveSessionErrors = {
|
|
@@ -30138,7 +30659,12 @@ export type AttachSessionData = {
|
|
|
30138
30659
|
*/
|
|
30139
30660
|
session_id: string;
|
|
30140
30661
|
};
|
|
30141
|
-
query?:
|
|
30662
|
+
query?: {
|
|
30663
|
+
/**
|
|
30664
|
+
* Act as this profile by name
|
|
30665
|
+
*/
|
|
30666
|
+
profile?: string;
|
|
30667
|
+
};
|
|
30142
30668
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attach";
|
|
30143
30669
|
};
|
|
30144
30670
|
export type AttachSessionErrors = {
|
|
@@ -30188,7 +30714,12 @@ export type UploadSessionAttachmentData = {
|
|
|
30188
30714
|
*/
|
|
30189
30715
|
session_id: string;
|
|
30190
30716
|
};
|
|
30191
|
-
query?:
|
|
30717
|
+
query?: {
|
|
30718
|
+
/**
|
|
30719
|
+
* Act as this profile by name
|
|
30720
|
+
*/
|
|
30721
|
+
profile?: string;
|
|
30722
|
+
};
|
|
30192
30723
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attachments";
|
|
30193
30724
|
};
|
|
30194
30725
|
export type UploadSessionAttachmentErrors = {
|
|
@@ -30241,7 +30772,12 @@ export type DeleteSessionAttachmentData = {
|
|
|
30241
30772
|
*/
|
|
30242
30773
|
attachment_id: string;
|
|
30243
30774
|
};
|
|
30244
|
-
query?:
|
|
30775
|
+
query?: {
|
|
30776
|
+
/**
|
|
30777
|
+
* Act as this profile by name
|
|
30778
|
+
*/
|
|
30779
|
+
profile?: string;
|
|
30780
|
+
};
|
|
30245
30781
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attachments/{attachment_id}";
|
|
30246
30782
|
};
|
|
30247
30783
|
export type DeleteSessionAttachmentErrors = {
|
|
@@ -30286,7 +30822,16 @@ export type ReadSessionAttachmentBytesData = {
|
|
|
30286
30822
|
*/
|
|
30287
30823
|
attachment_id: string;
|
|
30288
30824
|
};
|
|
30289
|
-
query?:
|
|
30825
|
+
query?: {
|
|
30826
|
+
/**
|
|
30827
|
+
* Read one profile's rows by name
|
|
30828
|
+
*/
|
|
30829
|
+
profile?: string;
|
|
30830
|
+
/**
|
|
30831
|
+
* Read the owner-labeled all-profiles aggregate
|
|
30832
|
+
*/
|
|
30833
|
+
all_profiles?: boolean;
|
|
30834
|
+
};
|
|
30290
30835
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attachments/{attachment_id}/bytes";
|
|
30291
30836
|
};
|
|
30292
30837
|
export type ReadSessionAttachmentBytesErrors = {
|
|
@@ -30327,7 +30872,16 @@ export type ListSessionClarificationsData = {
|
|
|
30327
30872
|
*/
|
|
30328
30873
|
session_id: string;
|
|
30329
30874
|
};
|
|
30330
|
-
query?:
|
|
30875
|
+
query?: {
|
|
30876
|
+
/**
|
|
30877
|
+
* Read one profile's rows by name
|
|
30878
|
+
*/
|
|
30879
|
+
profile?: string;
|
|
30880
|
+
/**
|
|
30881
|
+
* Read the owner-labeled all-profiles aggregate
|
|
30882
|
+
*/
|
|
30883
|
+
all_profiles?: boolean;
|
|
30884
|
+
};
|
|
30331
30885
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/clarifications";
|
|
30332
30886
|
};
|
|
30333
30887
|
export type ListSessionClarificationsErrors = {
|
|
@@ -30367,7 +30921,12 @@ export type AnswerSessionClarificationData = {
|
|
|
30367
30921
|
*/
|
|
30368
30922
|
request_id: string;
|
|
30369
30923
|
};
|
|
30370
|
-
query?:
|
|
30924
|
+
query?: {
|
|
30925
|
+
/**
|
|
30926
|
+
* Act as this profile by name
|
|
30927
|
+
*/
|
|
30928
|
+
profile?: string;
|
|
30929
|
+
};
|
|
30371
30930
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/clarifications/{request_id}/answer";
|
|
30372
30931
|
};
|
|
30373
30932
|
export type AnswerSessionClarificationErrors = {
|
|
@@ -30408,7 +30967,12 @@ export type ClearSessionConversationData = {
|
|
|
30408
30967
|
*/
|
|
30409
30968
|
session_id: string;
|
|
30410
30969
|
};
|
|
30411
|
-
query?:
|
|
30970
|
+
query?: {
|
|
30971
|
+
/**
|
|
30972
|
+
* Act as this profile by name
|
|
30973
|
+
*/
|
|
30974
|
+
profile?: string;
|
|
30975
|
+
};
|
|
30412
30976
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/clear";
|
|
30413
30977
|
};
|
|
30414
30978
|
export type ClearSessionConversationErrors = {
|
|
@@ -30449,7 +31013,16 @@ export type GetSessionCommandsData = {
|
|
|
30449
31013
|
*/
|
|
30450
31014
|
session_id: string;
|
|
30451
31015
|
};
|
|
30452
|
-
query?:
|
|
31016
|
+
query?: {
|
|
31017
|
+
/**
|
|
31018
|
+
* Read one profile's rows by name
|
|
31019
|
+
*/
|
|
31020
|
+
profile?: string;
|
|
31021
|
+
/**
|
|
31022
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31023
|
+
*/
|
|
31024
|
+
all_profiles?: boolean;
|
|
31025
|
+
};
|
|
30453
31026
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/commands";
|
|
30454
31027
|
};
|
|
30455
31028
|
export type GetSessionCommandsErrors = {
|
|
@@ -30489,7 +31062,12 @@ export type CompactSessionData = {
|
|
|
30489
31062
|
*/
|
|
30490
31063
|
session_id: string;
|
|
30491
31064
|
};
|
|
30492
|
-
query?:
|
|
31065
|
+
query?: {
|
|
31066
|
+
/**
|
|
31067
|
+
* Act as this profile by name
|
|
31068
|
+
*/
|
|
31069
|
+
profile?: string;
|
|
31070
|
+
};
|
|
30493
31071
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/compact";
|
|
30494
31072
|
};
|
|
30495
31073
|
export type CompactSessionErrors = {
|
|
@@ -30533,7 +31111,12 @@ export type ContinueSessionData = {
|
|
|
30533
31111
|
*/
|
|
30534
31112
|
session_id: string;
|
|
30535
31113
|
};
|
|
30536
|
-
query?:
|
|
31114
|
+
query?: {
|
|
31115
|
+
/**
|
|
31116
|
+
* Act as this profile by name
|
|
31117
|
+
*/
|
|
31118
|
+
profile?: string;
|
|
31119
|
+
};
|
|
30537
31120
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/continue";
|
|
30538
31121
|
};
|
|
30539
31122
|
export type ContinueSessionErrors = {
|
|
@@ -30591,6 +31174,14 @@ export type PreviewSessionDeriveData = {
|
|
|
30591
31174
|
* Durable user message to cut through (fork from here)
|
|
30592
31175
|
*/
|
|
30593
31176
|
message_id?: string;
|
|
31177
|
+
/**
|
|
31178
|
+
* Read one profile's rows by name
|
|
31179
|
+
*/
|
|
31180
|
+
profile?: string;
|
|
31181
|
+
/**
|
|
31182
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31183
|
+
*/
|
|
31184
|
+
all_profiles?: boolean;
|
|
30594
31185
|
};
|
|
30595
31186
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/derive/preview";
|
|
30596
31187
|
};
|
|
@@ -30707,6 +31298,14 @@ export type ListSessionEventsData = {
|
|
|
30707
31298
|
* Select active, archived, or all events
|
|
30708
31299
|
*/
|
|
30709
31300
|
archive?: "active" | "archived" | "all";
|
|
31301
|
+
/**
|
|
31302
|
+
* Read one profile's rows by name
|
|
31303
|
+
*/
|
|
31304
|
+
profile?: string;
|
|
31305
|
+
/**
|
|
31306
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31307
|
+
*/
|
|
31308
|
+
all_profiles?: boolean;
|
|
30710
31309
|
};
|
|
30711
31310
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/events";
|
|
30712
31311
|
};
|
|
@@ -30805,7 +31404,12 @@ export type ForkSessionData = {
|
|
|
30805
31404
|
*/
|
|
30806
31405
|
session_id: string;
|
|
30807
31406
|
};
|
|
30808
|
-
query?:
|
|
31407
|
+
query?: {
|
|
31408
|
+
/**
|
|
31409
|
+
* Act as this profile by name
|
|
31410
|
+
*/
|
|
31411
|
+
profile?: string;
|
|
31412
|
+
};
|
|
30809
31413
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/fork";
|
|
30810
31414
|
};
|
|
30811
31415
|
export type ForkSessionErrors = {
|
|
@@ -30858,7 +31462,16 @@ export type GetSessionGoalData = {
|
|
|
30858
31462
|
*/
|
|
30859
31463
|
session_id: string;
|
|
30860
31464
|
};
|
|
30861
|
-
query?:
|
|
31465
|
+
query?: {
|
|
31466
|
+
/**
|
|
31467
|
+
* Read one profile's rows by name
|
|
31468
|
+
*/
|
|
31469
|
+
profile?: string;
|
|
31470
|
+
/**
|
|
31471
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31472
|
+
*/
|
|
31473
|
+
all_profiles?: boolean;
|
|
31474
|
+
};
|
|
30862
31475
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal";
|
|
30863
31476
|
};
|
|
30864
31477
|
export type GetSessionGoalErrors = {
|
|
@@ -30902,7 +31515,12 @@ export type MutateSessionGoalData = {
|
|
|
30902
31515
|
*/
|
|
30903
31516
|
session_id: string;
|
|
30904
31517
|
};
|
|
30905
|
-
query?:
|
|
31518
|
+
query?: {
|
|
31519
|
+
/**
|
|
31520
|
+
* Act as this profile by name
|
|
31521
|
+
*/
|
|
31522
|
+
profile?: string;
|
|
31523
|
+
};
|
|
30906
31524
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal";
|
|
30907
31525
|
};
|
|
30908
31526
|
export type MutateSessionGoalErrors = {
|
|
@@ -30959,7 +31577,16 @@ export type GetSessionHealthData = {
|
|
|
30959
31577
|
*/
|
|
30960
31578
|
session_id: string;
|
|
30961
31579
|
};
|
|
30962
|
-
query?:
|
|
31580
|
+
query?: {
|
|
31581
|
+
/**
|
|
31582
|
+
* Read one profile's rows by name
|
|
31583
|
+
*/
|
|
31584
|
+
profile?: string;
|
|
31585
|
+
/**
|
|
31586
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31587
|
+
*/
|
|
31588
|
+
all_profiles?: boolean;
|
|
31589
|
+
};
|
|
30963
31590
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/health";
|
|
30964
31591
|
};
|
|
30965
31592
|
export type GetSessionHealthErrors = {
|
|
@@ -31025,6 +31652,14 @@ export type GetSessionHistoryData = {
|
|
|
31025
31652
|
* Select active, archived, or all events
|
|
31026
31653
|
*/
|
|
31027
31654
|
archive?: "active" | "archived" | "all";
|
|
31655
|
+
/**
|
|
31656
|
+
* Read one profile's rows by name
|
|
31657
|
+
*/
|
|
31658
|
+
profile?: string;
|
|
31659
|
+
/**
|
|
31660
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31661
|
+
*/
|
|
31662
|
+
all_profiles?: boolean;
|
|
31028
31663
|
};
|
|
31029
31664
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/history";
|
|
31030
31665
|
};
|
|
@@ -31067,6 +31702,14 @@ export type InspectSessionData = {
|
|
|
31067
31702
|
* Include recent wake audit rows
|
|
31068
31703
|
*/
|
|
31069
31704
|
include_recent_wake_events?: boolean;
|
|
31705
|
+
/**
|
|
31706
|
+
* Read one profile's rows by name
|
|
31707
|
+
*/
|
|
31708
|
+
profile?: string;
|
|
31709
|
+
/**
|
|
31710
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31711
|
+
*/
|
|
31712
|
+
all_profiles?: boolean;
|
|
31070
31713
|
};
|
|
31071
31714
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/inspect";
|
|
31072
31715
|
};
|
|
@@ -31113,6 +31756,14 @@ export type ListSessionInteractionsData = {
|
|
|
31113
31756
|
* Filter by interaction status
|
|
31114
31757
|
*/
|
|
31115
31758
|
status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
|
|
31759
|
+
/**
|
|
31760
|
+
* Read one profile's rows by name
|
|
31761
|
+
*/
|
|
31762
|
+
profile?: string;
|
|
31763
|
+
/**
|
|
31764
|
+
* Read the owner-labeled all-profiles aggregate
|
|
31765
|
+
*/
|
|
31766
|
+
all_profiles?: boolean;
|
|
31116
31767
|
};
|
|
31117
31768
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/interactions";
|
|
31118
31769
|
};
|
|
@@ -31466,6 +32117,56 @@ export type RefreshSessionWorkLinkResponses = {
|
|
|
31466
32117
|
200: SessionLinkedWorkResponse;
|
|
31467
32118
|
};
|
|
31468
32119
|
export type RefreshSessionWorkLinkResponse = RefreshSessionWorkLinkResponses[keyof RefreshSessionWorkLinkResponses];
|
|
32120
|
+
export type MarkSessionSeenData = {
|
|
32121
|
+
body?: never;
|
|
32122
|
+
path: {
|
|
32123
|
+
/**
|
|
32124
|
+
* Workspace id
|
|
32125
|
+
*/
|
|
32126
|
+
workspace_id: string;
|
|
32127
|
+
/**
|
|
32128
|
+
* Session id
|
|
32129
|
+
*/
|
|
32130
|
+
session_id: string;
|
|
32131
|
+
};
|
|
32132
|
+
query?: {
|
|
32133
|
+
/**
|
|
32134
|
+
* Act as this profile by name
|
|
32135
|
+
*/
|
|
32136
|
+
profile?: string;
|
|
32137
|
+
};
|
|
32138
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/mark-seen";
|
|
32139
|
+
};
|
|
32140
|
+
export type MarkSessionSeenErrors = {
|
|
32141
|
+
/**
|
|
32142
|
+
* Conflicting profile selectors (profile_selection_conflict)
|
|
32143
|
+
*/
|
|
32144
|
+
400: ErrorPayload;
|
|
32145
|
+
/**
|
|
32146
|
+
* Session not found
|
|
32147
|
+
*/
|
|
32148
|
+
404: ErrorPayload;
|
|
32149
|
+
/**
|
|
32150
|
+
* The session still waits on an answer, a sign-in, or a stop, or a newer occurrence replaced the one checked
|
|
32151
|
+
*/
|
|
32152
|
+
409: ErrorPayload;
|
|
32153
|
+
/**
|
|
32154
|
+
* Internal server error
|
|
32155
|
+
*/
|
|
32156
|
+
500: ErrorPayload;
|
|
32157
|
+
/**
|
|
32158
|
+
* Service unavailable - dependent service missing
|
|
32159
|
+
*/
|
|
32160
|
+
503: ErrorPayload;
|
|
32161
|
+
};
|
|
32162
|
+
export type MarkSessionSeenError = MarkSessionSeenErrors[keyof MarkSessionSeenErrors];
|
|
32163
|
+
export type MarkSessionSeenResponses = {
|
|
32164
|
+
/**
|
|
32165
|
+
* OK
|
|
32166
|
+
*/
|
|
32167
|
+
200: SessionResponse;
|
|
32168
|
+
};
|
|
32169
|
+
export type MarkSessionSeenResponse = MarkSessionSeenResponses[keyof MarkSessionSeenResponses];
|
|
31469
32170
|
export type ListSessionMonitorsData = {
|
|
31470
32171
|
body?: never;
|
|
31471
32172
|
path: {
|
|
@@ -31619,6 +32320,63 @@ export type MoveSessionResponses = {
|
|
|
31619
32320
|
200: SessionFoldersResponse;
|
|
31620
32321
|
};
|
|
31621
32322
|
export type MoveSessionResponse = MoveSessionResponses[keyof MoveSessionResponses];
|
|
32323
|
+
export type MoveSessionToProfileData = {
|
|
32324
|
+
/**
|
|
32325
|
+
* JSON request body
|
|
32326
|
+
*/
|
|
32327
|
+
body: MoveSessionToProfileRequest;
|
|
32328
|
+
path: {
|
|
32329
|
+
/**
|
|
32330
|
+
* Workspace id
|
|
32331
|
+
*/
|
|
32332
|
+
workspace_id: string;
|
|
32333
|
+
/**
|
|
32334
|
+
* Session id
|
|
32335
|
+
*/
|
|
32336
|
+
session_id: string;
|
|
32337
|
+
};
|
|
32338
|
+
query?: {
|
|
32339
|
+
/**
|
|
32340
|
+
* Act as this profile by name
|
|
32341
|
+
*/
|
|
32342
|
+
profile?: string;
|
|
32343
|
+
};
|
|
32344
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/move-to-profile";
|
|
32345
|
+
};
|
|
32346
|
+
export type MoveSessionToProfileErrors = {
|
|
32347
|
+
/**
|
|
32348
|
+
* Invalid move request or target profile
|
|
32349
|
+
*/
|
|
32350
|
+
400: ErrorPayload;
|
|
32351
|
+
/**
|
|
32352
|
+
* The caller cannot write to the target profile
|
|
32353
|
+
*/
|
|
32354
|
+
403: ErrorPayload;
|
|
32355
|
+
/**
|
|
32356
|
+
* Session not found
|
|
32357
|
+
*/
|
|
32358
|
+
404: ErrorPayload;
|
|
32359
|
+
/**
|
|
32360
|
+
* Move refused by a rule; code names the rule
|
|
32361
|
+
*/
|
|
32362
|
+
409: ErrorPayload;
|
|
32363
|
+
/**
|
|
32364
|
+
* Internal server error
|
|
32365
|
+
*/
|
|
32366
|
+
500: ErrorPayload;
|
|
32367
|
+
/**
|
|
32368
|
+
* Session profile move unavailable
|
|
32369
|
+
*/
|
|
32370
|
+
503: ErrorPayload;
|
|
32371
|
+
};
|
|
32372
|
+
export type MoveSessionToProfileError = MoveSessionToProfileErrors[keyof MoveSessionToProfileErrors];
|
|
32373
|
+
export type MoveSessionToProfileResponses = {
|
|
32374
|
+
/**
|
|
32375
|
+
* OK
|
|
32376
|
+
*/
|
|
32377
|
+
200: MoveSessionToProfileResponse;
|
|
32378
|
+
};
|
|
32379
|
+
export type MoveSessionToProfileResponse2 = MoveSessionToProfileResponses[keyof MoveSessionToProfileResponses];
|
|
31622
32380
|
export type ClearSessionParentData = {
|
|
31623
32381
|
body?: never;
|
|
31624
32382
|
path: {
|
|
@@ -31743,6 +32501,14 @@ export type ListSessionPendingInteractionsData = {
|
|
|
31743
32501
|
* Filter by interaction status
|
|
31744
32502
|
*/
|
|
31745
32503
|
status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
|
|
32504
|
+
/**
|
|
32505
|
+
* Read one profile's rows by name
|
|
32506
|
+
*/
|
|
32507
|
+
profile?: string;
|
|
32508
|
+
/**
|
|
32509
|
+
* Read the owner-labeled all-profiles aggregate
|
|
32510
|
+
*/
|
|
32511
|
+
all_profiles?: boolean;
|
|
31746
32512
|
};
|
|
31747
32513
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/pending-interactions";
|
|
31748
32514
|
};
|
|
@@ -31791,7 +32557,12 @@ export type UpdateSessionPresenceData = {
|
|
|
31791
32557
|
*/
|
|
31792
32558
|
session_id: string;
|
|
31793
32559
|
};
|
|
31794
|
-
query?:
|
|
32560
|
+
query?: {
|
|
32561
|
+
/**
|
|
32562
|
+
* Act as this profile by name
|
|
32563
|
+
*/
|
|
32564
|
+
profile?: string;
|
|
32565
|
+
};
|
|
31795
32566
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/presence";
|
|
31796
32567
|
};
|
|
31797
32568
|
export type UpdateSessionPresenceErrors = {
|
|
@@ -31951,7 +32722,12 @@ export type CancelSessionPromptData = {
|
|
|
31951
32722
|
*/
|
|
31952
32723
|
session_id: string;
|
|
31953
32724
|
};
|
|
31954
|
-
query?:
|
|
32725
|
+
query?: {
|
|
32726
|
+
/**
|
|
32727
|
+
* Act as this profile by name
|
|
32728
|
+
*/
|
|
32729
|
+
profile?: string;
|
|
32730
|
+
};
|
|
31955
32731
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/cancel";
|
|
31956
32732
|
};
|
|
31957
32733
|
export type CancelSessionPromptErrors = {
|
|
@@ -31984,7 +32760,12 @@ export type ClearSessionInputsData = {
|
|
|
31984
32760
|
*/
|
|
31985
32761
|
session_id: string;
|
|
31986
32762
|
};
|
|
31987
|
-
query?:
|
|
32763
|
+
query?: {
|
|
32764
|
+
/**
|
|
32765
|
+
* Act as this profile by name
|
|
32766
|
+
*/
|
|
32767
|
+
profile?: string;
|
|
32768
|
+
};
|
|
31988
32769
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue";
|
|
31989
32770
|
};
|
|
31990
32771
|
export type ClearSessionInputsErrors = {
|
|
@@ -32021,7 +32802,16 @@ export type ListSessionInputsData = {
|
|
|
32021
32802
|
*/
|
|
32022
32803
|
session_id: string;
|
|
32023
32804
|
};
|
|
32024
|
-
query?:
|
|
32805
|
+
query?: {
|
|
32806
|
+
/**
|
|
32807
|
+
* Read one profile's rows by name
|
|
32808
|
+
*/
|
|
32809
|
+
profile?: string;
|
|
32810
|
+
/**
|
|
32811
|
+
* Read the owner-labeled all-profiles aggregate
|
|
32812
|
+
*/
|
|
32813
|
+
all_profiles?: boolean;
|
|
32814
|
+
};
|
|
32025
32815
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue";
|
|
32026
32816
|
};
|
|
32027
32817
|
export type ListSessionInputsErrors = {
|
|
@@ -32058,7 +32848,12 @@ export type CancelQueuedSessionPromptData = {
|
|
|
32058
32848
|
*/
|
|
32059
32849
|
queue_entry_id: string;
|
|
32060
32850
|
};
|
|
32061
|
-
query?:
|
|
32851
|
+
query?: {
|
|
32852
|
+
/**
|
|
32853
|
+
* Act as this profile by name
|
|
32854
|
+
*/
|
|
32855
|
+
profile?: string;
|
|
32856
|
+
};
|
|
32062
32857
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue/{queue_entry_id}";
|
|
32063
32858
|
};
|
|
32064
32859
|
export type CancelQueuedSessionPromptErrors = {
|
|
@@ -32098,7 +32893,12 @@ export type ReplaceSessionInputData = {
|
|
|
32098
32893
|
*/
|
|
32099
32894
|
queue_entry_id: string;
|
|
32100
32895
|
};
|
|
32101
|
-
query?:
|
|
32896
|
+
query?: {
|
|
32897
|
+
/**
|
|
32898
|
+
* Act as this profile by name
|
|
32899
|
+
*/
|
|
32900
|
+
profile?: string;
|
|
32901
|
+
};
|
|
32102
32902
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue/{queue_entry_id}";
|
|
32103
32903
|
};
|
|
32104
32904
|
export type ReplaceSessionInputErrors = {
|
|
@@ -32142,7 +32942,12 @@ export type PromoteSessionInputData = {
|
|
|
32142
32942
|
*/
|
|
32143
32943
|
queue_entry_id: string;
|
|
32144
32944
|
};
|
|
32145
|
-
query?:
|
|
32945
|
+
query?: {
|
|
32946
|
+
/**
|
|
32947
|
+
* Act as this profile by name
|
|
32948
|
+
*/
|
|
32949
|
+
profile?: string;
|
|
32950
|
+
};
|
|
32146
32951
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue/{queue_entry_id}/steer";
|
|
32147
32952
|
};
|
|
32148
32953
|
export type PromoteSessionInputErrors = {
|
|
@@ -32188,6 +32993,14 @@ export type GetSessionRecapData = {
|
|
|
32188
32993
|
* Maximum recent messages to include
|
|
32189
32994
|
*/
|
|
32190
32995
|
limit?: number;
|
|
32996
|
+
/**
|
|
32997
|
+
* Read one profile's rows by name
|
|
32998
|
+
*/
|
|
32999
|
+
profile?: string;
|
|
33000
|
+
/**
|
|
33001
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33002
|
+
*/
|
|
33003
|
+
all_profiles?: boolean;
|
|
32191
33004
|
};
|
|
32192
33005
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/recap";
|
|
32193
33006
|
};
|
|
@@ -32234,6 +33047,10 @@ export type RepairSessionData = {
|
|
|
32234
33047
|
* Allow repair for stopped sessions whose stop reason is not crash or error
|
|
32235
33048
|
*/
|
|
32236
33049
|
force?: boolean;
|
|
33050
|
+
/**
|
|
33051
|
+
* Act as this profile by name
|
|
33052
|
+
*/
|
|
33053
|
+
profile?: string;
|
|
32237
33054
|
};
|
|
32238
33055
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/repair";
|
|
32239
33056
|
};
|
|
@@ -32382,6 +33199,10 @@ export type ClearSessionRuntimeData = {
|
|
|
32382
33199
|
* Current runtime selection revision
|
|
32383
33200
|
*/
|
|
32384
33201
|
expected_revision: number;
|
|
33202
|
+
/**
|
|
33203
|
+
* Act as this profile by name
|
|
33204
|
+
*/
|
|
33205
|
+
profile?: string;
|
|
32385
33206
|
};
|
|
32386
33207
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/runtime";
|
|
32387
33208
|
};
|
|
@@ -32426,7 +33247,12 @@ export type SetSessionRuntimeData = {
|
|
|
32426
33247
|
*/
|
|
32427
33248
|
session_id: string;
|
|
32428
33249
|
};
|
|
32429
|
-
query?:
|
|
33250
|
+
query?: {
|
|
33251
|
+
/**
|
|
33252
|
+
* Act as this profile by name
|
|
33253
|
+
*/
|
|
33254
|
+
profile?: string;
|
|
33255
|
+
};
|
|
32430
33256
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/runtime";
|
|
32431
33257
|
};
|
|
32432
33258
|
export type SetSessionRuntimeErrors = {
|
|
@@ -32470,7 +33296,12 @@ export type RefreshSessionSoulData = {
|
|
|
32470
33296
|
*/
|
|
32471
33297
|
session_id: string;
|
|
32472
33298
|
};
|
|
32473
|
-
query?:
|
|
33299
|
+
query?: {
|
|
33300
|
+
/**
|
|
33301
|
+
* Act as this profile by name
|
|
33302
|
+
*/
|
|
33303
|
+
profile?: string;
|
|
33304
|
+
};
|
|
32474
33305
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/soul/refresh";
|
|
32475
33306
|
};
|
|
32476
33307
|
export type RefreshSessionSoulErrors = {
|
|
@@ -32515,7 +33346,16 @@ export type GetSessionStatusData = {
|
|
|
32515
33346
|
*/
|
|
32516
33347
|
session_id: string;
|
|
32517
33348
|
};
|
|
32518
|
-
query?:
|
|
33349
|
+
query?: {
|
|
33350
|
+
/**
|
|
33351
|
+
* Read one profile's rows by name
|
|
33352
|
+
*/
|
|
33353
|
+
profile?: string;
|
|
33354
|
+
/**
|
|
33355
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33356
|
+
*/
|
|
33357
|
+
all_profiles?: boolean;
|
|
33358
|
+
};
|
|
32519
33359
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/status";
|
|
32520
33360
|
};
|
|
32521
33361
|
export type GetSessionStatusErrors = {
|
|
@@ -32555,7 +33395,12 @@ export type SteerSessionPromptData = {
|
|
|
32555
33395
|
*/
|
|
32556
33396
|
session_id: string;
|
|
32557
33397
|
};
|
|
32558
|
-
query?:
|
|
33398
|
+
query?: {
|
|
33399
|
+
/**
|
|
33400
|
+
* Act as this profile by name
|
|
33401
|
+
*/
|
|
33402
|
+
profile?: string;
|
|
33403
|
+
};
|
|
32559
33404
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/steer";
|
|
32560
33405
|
};
|
|
32561
33406
|
export type SteerSessionPromptErrors = {
|
|
@@ -32678,6 +33523,14 @@ export type ListSessionSubagentsData = {
|
|
|
32678
33523
|
* Row order: newest first (default), or most urgent first (waiting, failed, working, queued, settled) then newest
|
|
32679
33524
|
*/
|
|
32680
33525
|
order?: "newest" | "urgency";
|
|
33526
|
+
/**
|
|
33527
|
+
* Read one profile's rows by name
|
|
33528
|
+
*/
|
|
33529
|
+
profile?: string;
|
|
33530
|
+
/**
|
|
33531
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33532
|
+
*/
|
|
33533
|
+
all_profiles?: boolean;
|
|
32681
33534
|
};
|
|
32682
33535
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/subagents";
|
|
32683
33536
|
};
|
|
@@ -32728,6 +33581,14 @@ export type ListSessionToolsData = {
|
|
|
32728
33581
|
* Effective agent name
|
|
32729
33582
|
*/
|
|
32730
33583
|
agent_name?: string;
|
|
33584
|
+
/**
|
|
33585
|
+
* Read one profile's rows by name
|
|
33586
|
+
*/
|
|
33587
|
+
profile?: string;
|
|
33588
|
+
/**
|
|
33589
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33590
|
+
*/
|
|
33591
|
+
all_profiles?: boolean;
|
|
32731
33592
|
};
|
|
32732
33593
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/tools";
|
|
32733
33594
|
};
|
|
@@ -32764,7 +33625,12 @@ export type SearchSessionToolsData = {
|
|
|
32764
33625
|
*/
|
|
32765
33626
|
session_id: string;
|
|
32766
33627
|
};
|
|
32767
|
-
query?:
|
|
33628
|
+
query?: {
|
|
33629
|
+
/**
|
|
33630
|
+
* Act as this profile by name
|
|
33631
|
+
*/
|
|
33632
|
+
profile?: string;
|
|
33633
|
+
};
|
|
32768
33634
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/tools/search";
|
|
32769
33635
|
};
|
|
32770
33636
|
export type SearchSessionToolsErrors = {
|
|
@@ -32810,6 +33676,14 @@ export type GetSessionTranscriptData = {
|
|
|
32810
33676
|
* Return entries whose stable start sequence is before this cursor
|
|
32811
33677
|
*/
|
|
32812
33678
|
before_sequence?: number;
|
|
33679
|
+
/**
|
|
33680
|
+
* Read one profile's rows by name
|
|
33681
|
+
*/
|
|
33682
|
+
profile?: string;
|
|
33683
|
+
/**
|
|
33684
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33685
|
+
*/
|
|
33686
|
+
all_profiles?: boolean;
|
|
32813
33687
|
};
|
|
32814
33688
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript";
|
|
32815
33689
|
};
|
|
@@ -32851,7 +33725,16 @@ export type GetSessionTranscriptOutlineData = {
|
|
|
32851
33725
|
*/
|
|
32852
33726
|
session_id: string;
|
|
32853
33727
|
};
|
|
32854
|
-
query?:
|
|
33728
|
+
query?: {
|
|
33729
|
+
/**
|
|
33730
|
+
* Read one profile's rows by name
|
|
33731
|
+
*/
|
|
33732
|
+
profile?: string;
|
|
33733
|
+
/**
|
|
33734
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33735
|
+
*/
|
|
33736
|
+
all_profiles?: boolean;
|
|
33737
|
+
};
|
|
32855
33738
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/outline";
|
|
32856
33739
|
};
|
|
32857
33740
|
export type GetSessionTranscriptOutlineErrors = {
|
|
@@ -32901,6 +33784,14 @@ export type SearchSessionTranscriptData = {
|
|
|
32901
33784
|
* Maximum matches; defaults to 200, capped at 1000; truncated reports omitted matches
|
|
32902
33785
|
*/
|
|
32903
33786
|
limit?: number;
|
|
33787
|
+
/**
|
|
33788
|
+
* Read one profile's rows by name
|
|
33789
|
+
*/
|
|
33790
|
+
profile?: string;
|
|
33791
|
+
/**
|
|
33792
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33793
|
+
*/
|
|
33794
|
+
all_profiles?: boolean;
|
|
32904
33795
|
};
|
|
32905
33796
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/search";
|
|
32906
33797
|
};
|
|
@@ -32984,7 +33875,16 @@ export type GetSessionUsageData = {
|
|
|
32984
33875
|
*/
|
|
32985
33876
|
session_id: string;
|
|
32986
33877
|
};
|
|
32987
|
-
query?:
|
|
33878
|
+
query?: {
|
|
33879
|
+
/**
|
|
33880
|
+
* Read one profile's rows by name
|
|
33881
|
+
*/
|
|
33882
|
+
profile?: string;
|
|
33883
|
+
/**
|
|
33884
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33885
|
+
*/
|
|
33886
|
+
all_profiles?: boolean;
|
|
33887
|
+
};
|
|
32988
33888
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/usage";
|
|
32989
33889
|
};
|
|
32990
33890
|
export type GetSessionUsageErrors = {
|
|
@@ -33017,7 +33917,16 @@ export type GetSessionUsageTurnsData = {
|
|
|
33017
33917
|
*/
|
|
33018
33918
|
session_id: string;
|
|
33019
33919
|
};
|
|
33020
|
-
query?:
|
|
33920
|
+
query?: {
|
|
33921
|
+
/**
|
|
33922
|
+
* Read one profile's rows by name
|
|
33923
|
+
*/
|
|
33924
|
+
profile?: string;
|
|
33925
|
+
/**
|
|
33926
|
+
* Read the owner-labeled all-profiles aggregate
|
|
33927
|
+
*/
|
|
33928
|
+
all_profiles?: boolean;
|
|
33929
|
+
};
|
|
33021
33930
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/usage/turns";
|
|
33022
33931
|
};
|
|
33023
33932
|
export type GetSessionUsageTurnsErrors = {
|
|
@@ -33053,7 +33962,12 @@ export type WaitForSessionData = {
|
|
|
33053
33962
|
*/
|
|
33054
33963
|
session_id: string;
|
|
33055
33964
|
};
|
|
33056
|
-
query?:
|
|
33965
|
+
query?: {
|
|
33966
|
+
/**
|
|
33967
|
+
* Act as this profile by name
|
|
33968
|
+
*/
|
|
33969
|
+
profile?: string;
|
|
33970
|
+
};
|
|
33057
33971
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/wait";
|
|
33058
33972
|
};
|
|
33059
33973
|
export type WaitForSessionErrors = {
|
|
@@ -33216,7 +34130,12 @@ export type ForkSessionToWorktreeData = {
|
|
|
33216
34130
|
*/
|
|
33217
34131
|
session_id: string;
|
|
33218
34132
|
};
|
|
33219
|
-
query?:
|
|
34133
|
+
query?: {
|
|
34134
|
+
/**
|
|
34135
|
+
* Act as this profile by name
|
|
34136
|
+
*/
|
|
34137
|
+
profile?: string;
|
|
34138
|
+
};
|
|
33220
34139
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/worktree-fork";
|
|
33221
34140
|
};
|
|
33222
34141
|
export type ForkSessionToWorktreeErrors = {
|
|
@@ -33494,9 +34413,13 @@ export type DownloadTerminalArtifactData = {
|
|
|
33494
34413
|
};
|
|
33495
34414
|
query?: {
|
|
33496
34415
|
/**
|
|
33497
|
-
*
|
|
34416
|
+
* Read one profile's rows by name
|
|
33498
34417
|
*/
|
|
33499
34418
|
profile?: string;
|
|
34419
|
+
/**
|
|
34420
|
+
* Read the owner-labeled all-profiles aggregate
|
|
34421
|
+
*/
|
|
34422
|
+
all_profiles?: boolean;
|
|
33500
34423
|
};
|
|
33501
34424
|
url: "/api/workspaces/{workspace_id}/terminals/artifacts/{id}";
|
|
33502
34425
|
};
|
|
@@ -33757,9 +34680,13 @@ export type DownloadTerminalRecordingData = {
|
|
|
33757
34680
|
};
|
|
33758
34681
|
query?: {
|
|
33759
34682
|
/**
|
|
33760
|
-
*
|
|
34683
|
+
* Read one profile's rows by name
|
|
33761
34684
|
*/
|
|
33762
34685
|
profile?: string;
|
|
34686
|
+
/**
|
|
34687
|
+
* Read the owner-labeled all-profiles aggregate
|
|
34688
|
+
*/
|
|
34689
|
+
all_profiles?: boolean;
|
|
33763
34690
|
};
|
|
33764
34691
|
url: "/api/workspaces/{workspace_id}/terminals/recordings/{id}";
|
|
33765
34692
|
};
|
|
@@ -33880,9 +34807,13 @@ export type GetTerminalData = {
|
|
|
33880
34807
|
};
|
|
33881
34808
|
query?: {
|
|
33882
34809
|
/**
|
|
33883
|
-
*
|
|
34810
|
+
* Read one profile's rows by name
|
|
33884
34811
|
*/
|
|
33885
34812
|
profile?: string;
|
|
34813
|
+
/**
|
|
34814
|
+
* Read the owner-labeled all-profiles aggregate
|
|
34815
|
+
*/
|
|
34816
|
+
all_profiles?: boolean;
|
|
33886
34817
|
};
|
|
33887
34818
|
url: "/api/workspaces/{workspace_id}/terminals/{id}";
|
|
33888
34819
|
};
|