@compozy/client 0.5.0 → 0.5.1

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.
@@ -195,6 +195,7 @@ export type AgentInstanceAwayResponse = {
195
195
  };
196
196
  export type AgentInstanceCheckDigest = {
197
197
  key: string;
198
+ source?: AgentInstanceProposalSource | null;
198
199
  summary: string;
199
200
  };
200
201
  export type AgentInstanceCheckInPayload = {
@@ -215,6 +216,7 @@ export type AgentInstanceCheckResponse = {
215
216
  digest: Array<AgentInstanceCheckDigest>;
216
217
  gate?: string;
217
218
  occurrence_id?: string;
219
+ sources?: Array<SourceOutcome>;
218
220
  };
219
221
  export type AgentInstanceCreateRequest = {
220
222
  agent: string;
@@ -257,12 +259,14 @@ export type AgentInstancePayload = {
257
259
  now: string;
258
260
  pause_reason: string;
259
261
  profile_id: string;
262
+ profile_name: string;
260
263
  provider: string;
261
264
  quiet_streak: number;
262
265
  resolved_appearance: {
263
266
  [key: string]: unknown;
264
267
  };
265
268
  scope: string;
269
+ sources: Array<HeartbeatSourceStatus>;
266
270
  state: string;
267
271
  unattended_turn_limit: number;
268
272
  unattended_turns: number;
@@ -283,10 +287,14 @@ export type AgentInstanceProposal = {
283
287
  };
284
288
  export type AgentInstanceProposalSource = {
285
289
  event_id: string;
290
+ item_key?: string;
286
291
  kind: string;
287
292
  received_at: string;
288
293
  run_id: string;
294
+ source_id?: string;
295
+ source_ref?: string;
289
296
  trigger_id: string;
297
+ url?: string;
290
298
  };
291
299
  export type AgentInstanceReportPayload = {
292
300
  action?: string;
@@ -308,9 +316,13 @@ export type AgentInstanceReportPayload = {
308
316
  };
309
317
  export type AgentInstanceReportSource = {
310
318
  event: string;
319
+ item_key?: string;
311
320
  kind: string;
321
+ source_id?: string;
322
+ source_ref?: string;
312
323
  summary?: string;
313
324
  trigger_name: string;
325
+ url?: string;
314
326
  };
315
327
  export type AgentInstanceReportsResponse = {
316
328
  next_cursor: string;
@@ -1395,7 +1407,10 @@ export type CreateAgentPayload = {
1395
1407
  description?: string | null;
1396
1408
  display_name?: string | null;
1397
1409
  fallback_chain?: Array<AgentFallbackRoutePayload>;
1398
- kind?: "on_demand" | "stays_on";
1410
+ /**
1411
+ * 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.
1412
+ */
1413
+ kind?: "on_demand" | "always_on" | "stays_on";
1399
1414
  label?: string;
1400
1415
  model?: string;
1401
1416
  name: string;
@@ -1682,7 +1697,10 @@ export type DuplicateAgentOverrides = {
1682
1697
  deny_tools?: Array<string>;
1683
1698
  description?: string | null;
1684
1699
  display_name?: string | null;
1685
- kind?: string;
1700
+ /**
1701
+ * 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.
1702
+ */
1703
+ kind?: "on_demand" | "always_on" | "stays_on";
1686
1704
  model?: string;
1687
1705
  permission_rules?: Array<AgentPermissionRulePayload>;
1688
1706
  permissions?: "deny-all" | "approve-reads" | "approve-edits" | "auto" | "approve-all";
@@ -1700,7 +1718,10 @@ export type DuplicateAgentOverrides = {
1700
1718
  workspace_access?: string;
1701
1719
  };
1702
1720
  export type DuplicateAgentRequest = {
1703
- kind?: "on_demand" | "stays_on";
1721
+ /**
1722
+ * 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.
1723
+ */
1724
+ kind?: "on_demand" | "always_on" | "stays_on";
1704
1725
  name: string;
1705
1726
  overrides?: DuplicateAgentOverrides | null;
1706
1727
  scope?: "workspace" | "global";
@@ -1745,6 +1766,10 @@ export type Entry = {
1745
1766
  sequence: number;
1746
1767
  start_sequence: number;
1747
1768
  };
1769
+ export type Error = {
1770
+ code: string;
1771
+ detail: string;
1772
+ };
1748
1773
  export type ErrorPayload = {
1749
1774
  blockers?: Array<WorkspaceArchiveBlocker>;
1750
1775
  code?: string;
@@ -2693,6 +2718,7 @@ export type HeartbeatConfigSubsetPayload = {
2693
2718
  };
2694
2719
  export type HeartbeatContextProjectionPayload = {
2695
2720
  include?: Array<string>;
2721
+ sources?: Array<Ref>;
2696
2722
  };
2697
2723
  export type HeartbeatDeleteByPathRequest = {
2698
2724
  expected_digest: string;
@@ -2784,6 +2810,46 @@ export type HeartbeatRollbackByPathRequest = {
2784
2810
  target_digest?: string;
2785
2811
  workspace_id?: string;
2786
2812
  };
2813
+ export type HeartbeatScriptApprovalPayload = {
2814
+ approved_at: string;
2815
+ script: string;
2816
+ sha256: string;
2817
+ };
2818
+ export type HeartbeatScriptApprovalRequest = {
2819
+ sha256: string;
2820
+ };
2821
+ export type HeartbeatSourceCatalogPayload = {
2822
+ agent: string;
2823
+ kinds: Array<KindDescriptor>;
2824
+ limits: HeartbeatSourceLimitsPayload;
2825
+ scripts: Array<HeartbeatSourceScriptPayload>;
2826
+ scripts_enabled: boolean;
2827
+ };
2828
+ export type HeartbeatSourceLimitsPayload = {
2829
+ max_items: number;
2830
+ max_per_agent: number;
2831
+ };
2832
+ export type HeartbeatSourceScriptPayload = {
2833
+ approved: boolean;
2834
+ approved_sha256: string | null;
2835
+ executable: boolean;
2836
+ last_modified?: string | null;
2837
+ line_count?: number;
2838
+ name: string;
2839
+ sha256: string;
2840
+ };
2841
+ export type HeartbeatSourceStatus = {
2842
+ error?: Error | null;
2843
+ failure_streak: number;
2844
+ id: string;
2845
+ kind?: string;
2846
+ last_item_count: number;
2847
+ last_polled_at?: string;
2848
+ last_success_at?: string;
2849
+ next_poll_at?: string;
2850
+ script?: string;
2851
+ status: string;
2852
+ };
2787
2853
  export type HeartbeatStatusResponse = {
2788
2854
  active: boolean;
2789
2855
  agent_name: string;
@@ -2824,7 +2890,7 @@ export type HeartbeatWakeDecisionPayload = {
2824
2890
  diagnostics?: Array<AuthoredContextDiagnosticPayload>;
2825
2891
  policy_digest?: string;
2826
2892
  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";
2893
+ 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
2894
  result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
2829
2895
  synthetic_prompt_id?: string;
2830
2896
  wake_event_id?: string;
@@ -2836,7 +2902,7 @@ export type HeartbeatWakeEventPayload = {
2836
2902
  expires_at: string;
2837
2903
  id: string;
2838
2904
  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";
2905
+ 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
2906
  result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
2841
2907
  session_id?: string;
2842
2908
  source: "scheduler" | "manual" | "harness_reentry";
@@ -2849,7 +2915,7 @@ export type HeartbeatWakeResponse = {
2849
2915
  export type HeartbeatWakeStatePayload = {
2850
2916
  agent_name?: string;
2851
2917
  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";
2918
+ 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
2919
  last_result: "sent" | "skipped" | "coalesced" | "rate_limited" | "failed";
2854
2920
  last_wake_at?: string | null;
2855
2921
  next_allowed_at?: string | null;
@@ -3002,6 +3068,13 @@ export type JobsResponse = {
3002
3068
  jobs: Array<JobPayload>;
3003
3069
  page: CountedCursorPagePayload;
3004
3070
  };
3071
+ export type KindDescriptor = {
3072
+ description?: string;
3073
+ extension: string;
3074
+ kind: string;
3075
+ params_schema?: unknown;
3076
+ title: string;
3077
+ };
3005
3078
  export type LogEventPayload = {
3006
3079
  actor_id?: string;
3007
3080
  actor_kind?: string;
@@ -4012,6 +4085,15 @@ export type MoveSessionToLaterRequest = {
4012
4085
  reason?: string;
4013
4086
  return_at?: string | null;
4014
4087
  };
4088
+ export type MoveSessionToProfileRequest = {
4089
+ target_profile: string;
4090
+ };
4091
+ export type MoveSessionToProfileResponse = {
4092
+ branch?: string;
4093
+ original: SessionPayload;
4094
+ session: SessionPayload;
4095
+ worktree_id?: string;
4096
+ };
4015
4097
  export type MoveWorkspaceRequest = {
4016
4098
  folder_id?: string;
4017
4099
  workspace_id: string;
@@ -4751,6 +4833,12 @@ export type Redaction = {
4751
4833
  path: string;
4752
4834
  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
4835
  };
4836
+ export type Ref = {
4837
+ id: string;
4838
+ kind?: string;
4839
+ script?: string;
4840
+ with?: unknown;
4841
+ };
4754
4842
  export type Reference = {
4755
4843
  effective_paused?: boolean;
4756
4844
  id: string;
@@ -5949,6 +6037,7 @@ export type SessionPayload = {
5949
6037
  attached_to?: string;
5950
6038
  attention?: string;
5951
6039
  attention_changed_at?: string | null;
6040
+ attention_dismissible?: boolean;
5952
6041
  available_commands: Array<ACPAvailableCommandPayload>;
5953
6042
  badge: "running" | "idle" | "unhealthy" | "hung" | "waiting-for-auth" | "waiting-for-input" | "done" | "stopped" | "failed" | "unknown" | "needs-attention" | "waiting";
5954
6043
  board_column: "needs_you" | "working" | "waiting" | "in_review" | "done";
@@ -5999,6 +6088,7 @@ export type SessionPayload = {
5999
6088
  updated_at: string;
6000
6089
  verified?: boolean | null;
6001
6090
  waiting_on?: "sessions" | "monitor";
6091
+ working_dir?: string;
6002
6092
  workspace_id?: string;
6003
6093
  workspace_path?: string;
6004
6094
  worktree_binding?: WorktreeBindingAvailability | null;
@@ -6191,6 +6281,7 @@ export type SessionRuntimeRecoveryPayload = {
6191
6281
  last_error?: string;
6192
6282
  max_attempts: number;
6193
6283
  next_attempt_at?: string | null;
6284
+ reason?: "runtime_exit" | "provider_auth";
6194
6285
  started_at: string;
6195
6286
  };
6196
6287
  export type SessionSkillInvocationPayload = {
@@ -6467,6 +6558,9 @@ export type SettingsDefaultsPayload = {
6467
6558
  provider?: string;
6468
6559
  reasoning_effort?: string;
6469
6560
  };
6561
+ export type SettingsDesktopPayload = {
6562
+ editor_command: string;
6563
+ };
6470
6564
  export type SettingsExtensionDevPayload = {
6471
6565
  watch_interval: string;
6472
6566
  };
@@ -6507,6 +6601,7 @@ export type SettingsGeneralActionsPayload = {
6507
6601
  export type SettingsGeneralConfigPayload = {
6508
6602
  busy_input?: SettingsBusyInputPayload | null;
6509
6603
  daemon: SettingsDaemonPayload;
6604
+ desktop?: SettingsDesktopPayload | null;
6510
6605
  http: SettingsHTTPPayload;
6511
6606
  /**
6512
6607
  * 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 +6907,7 @@ export type SettingsProviderAuthStatusPayload = {
6812
6907
  code?: string;
6813
6908
  env_policy: string;
6814
6909
  home_policy: string;
6910
+ last_probe_at?: string | null;
6815
6911
  login: ProviderLoginDescriptorPayload;
6816
6912
  message?: string;
6817
6913
  mode: string;
@@ -7493,6 +7589,14 @@ export type SnapConfig = {
7493
7589
  exit_slack: number;
7494
7590
  repeat_ratios: Array<number>;
7495
7591
  };
7592
+ export type SourceOutcome = {
7593
+ duration_ms: number;
7594
+ error?: Error | null;
7595
+ id: string;
7596
+ items: number;
7597
+ more: boolean;
7598
+ result: string;
7599
+ };
7496
7600
  export type SourceStatus = {
7497
7601
  reason?: string;
7498
7602
  source: string;
@@ -8872,7 +8976,7 @@ export type ToolCallEventPayload = {
8872
8976
  destructive: boolean;
8873
8977
  display_title?: string;
8874
8978
  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";
8979
+ 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
8980
  input_digest?: string;
8877
8981
  kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
8878
8982
  open_world: boolean;
@@ -8924,7 +9028,7 @@ export type ToolDescriptorPayload = {
8924
9028
  visibility: "internal" | "operator" | "session" | "model";
8925
9029
  };
8926
9030
  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";
9031
+ 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
9032
  details?: {
8929
9033
  [key: string]: unknown;
8930
9034
  };
@@ -9852,13 +9956,21 @@ export type ListAgentInstancesData = {
9852
9956
  */
9853
9957
  limit?: string;
9854
9958
  /**
9855
- * Act as this profile by name
9959
+ * Read one profile's rows by name
9856
9960
  */
9857
9961
  profile?: string;
9962
+ /**
9963
+ * Read the owner-labeled all-profiles aggregate
9964
+ */
9965
+ all_profiles?: boolean;
9858
9966
  };
9859
9967
  url: "/api/agent-instances";
9860
9968
  };
9861
9969
  export type ListAgentInstancesErrors = {
9970
+ /**
9971
+ * Invalid profile selection
9972
+ */
9973
+ 400: ProfileErrorPayload;
9862
9974
  /**
9863
9975
  * Request failed
9864
9976
  */
@@ -9911,6 +10023,10 @@ export type CreateAgentInstanceData = {
9911
10023
  url: "/api/agent-instances";
9912
10024
  };
9913
10025
  export type CreateAgentInstanceErrors = {
10026
+ /**
10027
+ * Invalid profile selection
10028
+ */
10029
+ 400: ProfileErrorPayload;
9914
10030
  /**
9915
10031
  * Request failed
9916
10032
  */
@@ -9967,6 +10083,10 @@ export type AdoptAgentInstanceData = {
9967
10083
  url: "/api/agent-instances/adopt";
9968
10084
  };
9969
10085
  export type AdoptAgentInstanceErrors = {
10086
+ /**
10087
+ * Invalid profile selection
10088
+ */
10089
+ 400: ProfileErrorPayload;
9970
10090
  /**
9971
10091
  * Request failed
9972
10092
  */
@@ -10021,6 +10141,10 @@ export type ArchiveAgentInstanceData = {
10021
10141
  url: "/api/agent-instances/{id}";
10022
10142
  };
10023
10143
  export type ArchiveAgentInstanceErrors = {
10144
+ /**
10145
+ * Invalid profile selection
10146
+ */
10147
+ 400: ProfileErrorPayload;
10024
10148
  /**
10025
10149
  * Request failed
10026
10150
  */
@@ -10068,13 +10192,21 @@ export type GetAgentInstanceData = {
10068
10192
  };
10069
10193
  query?: {
10070
10194
  /**
10071
- * Act as this profile by name
10195
+ * Read one profile's rows by name
10072
10196
  */
10073
10197
  profile?: string;
10198
+ /**
10199
+ * Read the owner-labeled all-profiles aggregate
10200
+ */
10201
+ all_profiles?: boolean;
10074
10202
  };
10075
10203
  url: "/api/agent-instances/{id}";
10076
10204
  };
10077
10205
  export type GetAgentInstanceErrors = {
10206
+ /**
10207
+ * Invalid profile selection
10208
+ */
10209
+ 400: ProfileErrorPayload;
10078
10210
  /**
10079
10211
  * Request failed
10080
10212
  */
@@ -10132,6 +10264,10 @@ export type UpdateAgentInstanceData = {
10132
10264
  url: "/api/agent-instances/{id}";
10133
10265
  };
10134
10266
  export type UpdateAgentInstanceErrors = {
10267
+ /**
10268
+ * Invalid profile selection
10269
+ */
10270
+ 400: ProfileErrorPayload;
10135
10271
  /**
10136
10272
  * Request failed
10137
10273
  */
@@ -10179,13 +10315,21 @@ export type GetAgentInstanceAwayData = {
10179
10315
  };
10180
10316
  query?: {
10181
10317
  /**
10182
- * Act as this profile by name
10318
+ * Read one profile's rows by name
10183
10319
  */
10184
10320
  profile?: string;
10321
+ /**
10322
+ * Read the owner-labeled all-profiles aggregate
10323
+ */
10324
+ all_profiles?: boolean;
10185
10325
  };
10186
10326
  url: "/api/agent-instances/{id}/away";
10187
10327
  };
10188
10328
  export type GetAgentInstanceAwayErrors = {
10329
+ /**
10330
+ * Invalid profile selection
10331
+ */
10332
+ 400: ProfileErrorPayload;
10189
10333
  /**
10190
10334
  * Request failed
10191
10335
  */
@@ -10240,6 +10384,10 @@ export type MarkAgentInstanceSeenData = {
10240
10384
  url: "/api/agent-instances/{id}/away";
10241
10385
  };
10242
10386
  export type MarkAgentInstanceSeenErrors = {
10387
+ /**
10388
+ * Invalid profile selection
10389
+ */
10390
+ 400: ProfileErrorPayload;
10243
10391
  /**
10244
10392
  * Request failed
10245
10393
  */
@@ -10297,6 +10445,10 @@ export type CheckAgentInstanceData = {
10297
10445
  url: "/api/agent-instances/{id}/check";
10298
10446
  };
10299
10447
  export type CheckAgentInstanceErrors = {
10448
+ /**
10449
+ * Invalid profile selection
10450
+ */
10451
+ 400: ProfileErrorPayload;
10300
10452
  /**
10301
10453
  * Request failed
10302
10454
  */
@@ -10356,13 +10508,21 @@ export type ListAgentInstanceCheckInsData = {
10356
10508
  */
10357
10509
  limit?: number;
10358
10510
  /**
10359
- * Act as this profile by name
10511
+ * Read one profile's rows by name
10360
10512
  */
10361
10513
  profile?: string;
10514
+ /**
10515
+ * Read the owner-labeled all-profiles aggregate
10516
+ */
10517
+ all_profiles?: boolean;
10362
10518
  };
10363
10519
  url: "/api/agent-instances/{id}/check-ins";
10364
10520
  };
10365
10521
  export type ListAgentInstanceCheckInsErrors = {
10522
+ /**
10523
+ * Invalid profile selection
10524
+ */
10525
+ 400: ProfileErrorPayload;
10366
10526
  /**
10367
10527
  * Request failed
10368
10528
  */
@@ -10417,6 +10577,10 @@ export type EnsureAgentInstanceMainData = {
10417
10577
  url: "/api/agent-instances/{id}/ensure-main";
10418
10578
  };
10419
10579
  export type EnsureAgentInstanceMainErrors = {
10580
+ /**
10581
+ * Invalid profile selection
10582
+ */
10583
+ 400: ProfileErrorPayload;
10420
10584
  /**
10421
10585
  * Request failed
10422
10586
  */
@@ -10468,13 +10632,21 @@ export type GetAgentInstanceOccurrenceData = {
10468
10632
  };
10469
10633
  query?: {
10470
10634
  /**
10471
- * Act as this profile by name
10635
+ * Read one profile's rows by name
10472
10636
  */
10473
10637
  profile?: string;
10638
+ /**
10639
+ * Read the owner-labeled all-profiles aggregate
10640
+ */
10641
+ all_profiles?: boolean;
10474
10642
  };
10475
10643
  url: "/api/agent-instances/{id}/occurrences/{occurrence}";
10476
10644
  };
10477
10645
  export type GetAgentInstanceOccurrenceErrors = {
10646
+ /**
10647
+ * Invalid profile selection
10648
+ */
10649
+ 400: ProfileErrorPayload;
10478
10650
  /**
10479
10651
  * Request failed
10480
10652
  */
@@ -10529,6 +10701,10 @@ export type PauseAgentInstanceData = {
10529
10701
  url: "/api/agent-instances/{id}/pause";
10530
10702
  };
10531
10703
  export type PauseAgentInstanceErrors = {
10704
+ /**
10705
+ * Invalid profile selection
10706
+ */
10707
+ 400: ProfileErrorPayload;
10532
10708
  /**
10533
10709
  * Request failed
10534
10710
  */
@@ -10588,13 +10764,21 @@ export type ListAgentInstanceReportsData = {
10588
10764
  */
10589
10765
  limit?: string;
10590
10766
  /**
10591
- * Act as this profile by name
10767
+ * Read one profile's rows by name
10592
10768
  */
10593
10769
  profile?: string;
10770
+ /**
10771
+ * Read the owner-labeled all-profiles aggregate
10772
+ */
10773
+ all_profiles?: boolean;
10594
10774
  };
10595
10775
  url: "/api/agent-instances/{id}/reports";
10596
10776
  };
10597
10777
  export type ListAgentInstanceReportsErrors = {
10778
+ /**
10779
+ * Invalid profile selection
10780
+ */
10781
+ 400: ProfileErrorPayload;
10598
10782
  /**
10599
10783
  * Request failed
10600
10784
  */
@@ -10649,6 +10833,10 @@ export type ResumeAgentInstanceData = {
10649
10833
  url: "/api/agent-instances/{id}/resume";
10650
10834
  };
10651
10835
  export type ResumeAgentInstanceErrors = {
10836
+ /**
10837
+ * Invalid profile selection
10838
+ */
10839
+ 400: ProfileErrorPayload;
10652
10840
  /**
10653
10841
  * Request failed
10654
10842
  */
@@ -10718,6 +10906,10 @@ export type ListAgentSkillReviewsData = {
10718
10906
  url: "/api/agent-skill-reviews";
10719
10907
  };
10720
10908
  export type ListAgentSkillReviewsErrors = {
10909
+ /**
10910
+ * Invalid profile selection
10911
+ */
10912
+ 400: ProfileErrorPayload;
10721
10913
  /**
10722
10914
  * Request failed
10723
10915
  */
@@ -10772,6 +10964,10 @@ export type GetAgentSkillReviewData = {
10772
10964
  url: "/api/agent-skill-reviews/{id}";
10773
10965
  };
10774
10966
  export type GetAgentSkillReviewErrors = {
10967
+ /**
10968
+ * Invalid profile selection
10969
+ */
10970
+ 400: ProfileErrorPayload;
10775
10971
  /**
10776
10972
  * Request failed
10777
10973
  */
@@ -10829,6 +11025,10 @@ export type ApproveAgentSkillReviewData = {
10829
11025
  url: "/api/agent-skill-reviews/{id}/approve";
10830
11026
  };
10831
11027
  export type ApproveAgentSkillReviewErrors = {
11028
+ /**
11029
+ * Invalid profile selection
11030
+ */
11031
+ 400: ProfileErrorPayload;
10832
11032
  /**
10833
11033
  * Request failed
10834
11034
  */
@@ -10886,6 +11086,10 @@ export type RejectAgentSkillReviewData = {
10886
11086
  url: "/api/agent-skill-reviews/{id}/reject";
10887
11087
  };
10888
11088
  export type RejectAgentSkillReviewErrors = {
11089
+ /**
11090
+ * Invalid profile selection
11091
+ */
11092
+ 400: ProfileErrorPayload;
10889
11093
  /**
10890
11094
  * Request failed
10891
11095
  */
@@ -12067,6 +12271,10 @@ export type GetAgentActivityData = {
12067
12271
  url: "/api/agents/{name}/activity";
12068
12272
  };
12069
12273
  export type GetAgentActivityErrors = {
12274
+ /**
12275
+ * Invalid profile selection
12276
+ */
12277
+ 400: ProfileErrorPayload;
12070
12278
  /**
12071
12279
  * Request failed
12072
12280
  */
@@ -12428,6 +12636,163 @@ export type RollbackAgentHeartbeatResponses = {
12428
12636
  200: HeartbeatMutationResponse;
12429
12637
  };
12430
12638
  export type RollbackAgentHeartbeatResponse = RollbackAgentHeartbeatResponses[keyof RollbackAgentHeartbeatResponses];
12639
+ export type RevokeAgentHeartbeatScriptData = {
12640
+ body?: never;
12641
+ path: {
12642
+ /**
12643
+ * Agent name
12644
+ */
12645
+ name: string;
12646
+ /**
12647
+ * Script name
12648
+ */
12649
+ script: string;
12650
+ };
12651
+ query?: {
12652
+ /**
12653
+ * Workspace id
12654
+ */
12655
+ workspace_id?: string;
12656
+ /**
12657
+ * Act as this profile by name
12658
+ */
12659
+ profile?: string;
12660
+ };
12661
+ url: "/api/agents/{name}/heartbeat/scripts/{script}/approve";
12662
+ };
12663
+ export type RevokeAgentHeartbeatScriptErrors = {
12664
+ /**
12665
+ * Operator required
12666
+ */
12667
+ 403: ErrorPayload;
12668
+ /**
12669
+ * Agent not found
12670
+ */
12671
+ 404: ErrorPayload;
12672
+ /**
12673
+ * Invalid source script request
12674
+ */
12675
+ 422: ErrorPayload;
12676
+ /**
12677
+ * Internal error
12678
+ */
12679
+ 500: ErrorPayload;
12680
+ /**
12681
+ * Source storage unavailable
12682
+ */
12683
+ 503: ErrorPayload;
12684
+ };
12685
+ export type RevokeAgentHeartbeatScriptError = RevokeAgentHeartbeatScriptErrors[keyof RevokeAgentHeartbeatScriptErrors];
12686
+ export type RevokeAgentHeartbeatScriptResponses = {
12687
+ /**
12688
+ * Script approval revoked
12689
+ */
12690
+ 204: void;
12691
+ };
12692
+ export type RevokeAgentHeartbeatScriptResponse = RevokeAgentHeartbeatScriptResponses[keyof RevokeAgentHeartbeatScriptResponses];
12693
+ export type ApproveAgentHeartbeatScriptData = {
12694
+ /**
12695
+ * JSON request body
12696
+ */
12697
+ body: HeartbeatScriptApprovalRequest;
12698
+ path: {
12699
+ /**
12700
+ * Agent name
12701
+ */
12702
+ name: string;
12703
+ /**
12704
+ * Script name
12705
+ */
12706
+ script: string;
12707
+ };
12708
+ query?: {
12709
+ /**
12710
+ * Workspace id
12711
+ */
12712
+ workspace_id?: string;
12713
+ /**
12714
+ * Act as this profile by name
12715
+ */
12716
+ profile?: string;
12717
+ };
12718
+ url: "/api/agents/{name}/heartbeat/scripts/{script}/approve";
12719
+ };
12720
+ export type ApproveAgentHeartbeatScriptErrors = {
12721
+ /**
12722
+ * Operator required
12723
+ */
12724
+ 403: ErrorPayload;
12725
+ /**
12726
+ * Agent not found
12727
+ */
12728
+ 404: ErrorPayload;
12729
+ /**
12730
+ * Script changed
12731
+ */
12732
+ 409: ErrorPayload;
12733
+ /**
12734
+ * Invalid source script request
12735
+ */
12736
+ 422: ErrorPayload;
12737
+ /**
12738
+ * Internal error
12739
+ */
12740
+ 500: ErrorPayload;
12741
+ /**
12742
+ * Source storage unavailable
12743
+ */
12744
+ 503: ErrorPayload;
12745
+ };
12746
+ export type ApproveAgentHeartbeatScriptError = ApproveAgentHeartbeatScriptErrors[keyof ApproveAgentHeartbeatScriptErrors];
12747
+ export type ApproveAgentHeartbeatScriptResponses = {
12748
+ /**
12749
+ * Approved
12750
+ */
12751
+ 200: HeartbeatScriptApprovalPayload;
12752
+ };
12753
+ export type ApproveAgentHeartbeatScriptResponse = ApproveAgentHeartbeatScriptResponses[keyof ApproveAgentHeartbeatScriptResponses];
12754
+ export type GetAgentHeartbeatSourcesData = {
12755
+ body?: never;
12756
+ path: {
12757
+ /**
12758
+ * Agent name
12759
+ */
12760
+ name: string;
12761
+ };
12762
+ query?: {
12763
+ /**
12764
+ * Workspace id
12765
+ */
12766
+ workspace_id?: string;
12767
+ /**
12768
+ * Act as this profile by name
12769
+ */
12770
+ profile?: string;
12771
+ };
12772
+ url: "/api/agents/{name}/heartbeat/sources";
12773
+ };
12774
+ export type GetAgentHeartbeatSourcesErrors = {
12775
+ /**
12776
+ * Agent not found
12777
+ */
12778
+ 404: ErrorPayload;
12779
+ /**
12780
+ * Internal error
12781
+ */
12782
+ 500: ErrorPayload;
12783
+ /**
12784
+ * Source storage unavailable
12785
+ */
12786
+ 503: ErrorPayload;
12787
+ };
12788
+ export type GetAgentHeartbeatSourcesError = GetAgentHeartbeatSourcesErrors[keyof GetAgentHeartbeatSourcesErrors];
12789
+ export type GetAgentHeartbeatSourcesResponses = {
12790
+ /**
12791
+ * OK
12792
+ */
12793
+ 200: HeartbeatSourceCatalogPayload;
12794
+ };
12795
+ export type GetAgentHeartbeatSourcesResponse = GetAgentHeartbeatSourcesResponses[keyof GetAgentHeartbeatSourcesResponses];
12431
12796
  export type GetAgentHeartbeatStatusData = {
12432
12797
  body?: never;
12433
12798
  path: {
@@ -12634,7 +12999,7 @@ export type GetAgentMemoryErrors = {
12634
12999
  */
12635
13000
  409: ErrorPayload;
12636
13001
  /**
12637
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13002
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
12638
13003
  */
12639
13004
  422: ErrorPayload;
12640
13005
  /**
@@ -12699,7 +13064,7 @@ export type PutAgentMemoryErrors = {
12699
13064
  */
12700
13065
  409: ErrorPayload;
12701
13066
  /**
12702
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13067
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
12703
13068
  */
12704
13069
  422: ErrorPayload;
12705
13070
  /**
@@ -12764,7 +13129,7 @@ export type RemoveAgentMemoryErrors = {
12764
13129
  */
12765
13130
  409: ErrorPayload;
12766
13131
  /**
12767
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13132
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
12768
13133
  */
12769
13134
  422: ErrorPayload;
12770
13135
  /**
@@ -12829,7 +13194,7 @@ export type ReplaceAgentMemoryErrors = {
12829
13194
  */
12830
13195
  409: ErrorPayload;
12831
13196
  /**
12832
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13197
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
12833
13198
  */
12834
13199
  422: ErrorPayload;
12835
13200
  /**
@@ -12894,7 +13259,7 @@ export type AddAgentMemoryErrors = {
12894
13259
  */
12895
13260
  409: ErrorPayload;
12896
13261
  /**
12897
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13262
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
12898
13263
  */
12899
13264
  422: ErrorPayload;
12900
13265
  /**
@@ -12956,7 +13321,7 @@ export type ListAgentMemoryHistoryErrors = {
12956
13321
  */
12957
13322
  409: ErrorPayload;
12958
13323
  /**
12959
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13324
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
12960
13325
  */
12961
13326
  422: ErrorPayload;
12962
13327
  /**
@@ -13021,7 +13386,7 @@ export type RollbackAgentMemoryErrors = {
13021
13386
  */
13022
13387
  409: ErrorPayload;
13023
13388
  /**
13024
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13389
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13025
13390
  */
13026
13391
  422: ErrorPayload;
13027
13392
  /**
@@ -13086,7 +13451,7 @@ export type SearchAgentMemoryErrors = {
13086
13451
  */
13087
13452
  409: ErrorPayload;
13088
13453
  /**
13089
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13454
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13090
13455
  */
13091
13456
  422: ErrorPayload;
13092
13457
  /**
@@ -13151,7 +13516,7 @@ export type ValidateAgentMemoryErrors = {
13151
13516
  */
13152
13517
  409: ErrorPayload;
13153
13518
  /**
13154
- * agent_not_stays_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13519
+ * agent_not_always_on, agent_memory_entry_too_large, agent_memory_budget_exceeded or invalid input
13155
13520
  */
13156
13521
  422: ErrorPayload;
13157
13522
  /**
@@ -14498,6 +14863,14 @@ export type ListCmdPaletteClientsData = {
14498
14863
  * Workspace id, name, or path
14499
14864
  */
14500
14865
  workspace: string;
14866
+ /**
14867
+ * Read one profile's rows by name
14868
+ */
14869
+ profile?: string;
14870
+ /**
14871
+ * Read the owner-labeled all-profiles aggregate
14872
+ */
14873
+ all_profiles?: boolean;
14501
14874
  };
14502
14875
  url: "/api/cmd-palette/clients";
14503
14876
  };
@@ -15040,6 +15413,41 @@ export type OpenCmdPaletteViewSessionResponses = {
15040
15413
  200: CmdPaletteViewSessionOpenResponse;
15041
15414
  };
15042
15415
  export type OpenCmdPaletteViewSessionResponse = OpenCmdPaletteViewSessionResponses[keyof OpenCmdPaletteViewSessionResponses];
15416
+ export type CaptureDaemonProfileData = {
15417
+ body?: never;
15418
+ path: {
15419
+ kind: "cpu" | "heap" | "allocs" | "goroutine" | "mutex" | "block" | "threadcreate";
15420
+ };
15421
+ query?: {
15422
+ /**
15423
+ * Capture window for cpu, mutex and block only; snapshot profiles reject this parameter
15424
+ */
15425
+ seconds?: number;
15426
+ };
15427
+ url: "/api/daemon/profile/{kind}";
15428
+ };
15429
+ export type CaptureDaemonProfileErrors = {
15430
+ /**
15431
+ * daemon_profile_invalid: unsupported kind or duration
15432
+ */
15433
+ 400: ErrorPayload;
15434
+ /**
15435
+ * profile_busy: CPU or contention capture already active
15436
+ */
15437
+ 409: ErrorPayload;
15438
+ /**
15439
+ * profile_failed: capture canceled or failed
15440
+ */
15441
+ 500: ErrorPayload;
15442
+ };
15443
+ export type CaptureDaemonProfileError = CaptureDaemonProfileErrors[keyof CaptureDaemonProfileErrors];
15444
+ export type CaptureDaemonProfileResponses = {
15445
+ /**
15446
+ * Raw gzip-compressed pprof protobuf
15447
+ */
15448
+ 200: Blob | File;
15449
+ };
15450
+ export type CaptureDaemonProfileResponse = CaptureDaemonProfileResponses[keyof CaptureDaemonProfileResponses];
15043
15451
  export type GetDoctorData = {
15044
15452
  body?: never;
15045
15453
  path?: never;
@@ -19998,7 +20406,7 @@ export type ListSessionsData = {
19998
20406
  */
19999
20407
  skip_total?: boolean;
20000
20408
  /**
20001
- * Exclude stays-on main sessions from the page and its total
20409
+ * Exclude always-on main sessions from the page and its total
20002
20410
  */
20003
20411
  exclude_instance_main?: boolean;
20004
20412
  /**
@@ -20493,7 +20901,16 @@ export type GetSessionOwnerData = {
20493
20901
  */
20494
20902
  session_id: string;
20495
20903
  };
20496
- query?: never;
20904
+ query?: {
20905
+ /**
20906
+ * Read one profile's rows by name
20907
+ */
20908
+ profile?: string;
20909
+ /**
20910
+ * Read the owner-labeled all-profiles aggregate
20911
+ */
20912
+ all_profiles?: boolean;
20913
+ };
20497
20914
  url: "/api/sessions/{session_id}/owner";
20498
20915
  };
20499
20916
  export type GetSessionOwnerErrors = {
@@ -22540,6 +22957,14 @@ export type GetSettingsWindowManagerData = {
22540
22957
  * Select the workspace id for workspace scope
22541
22958
  */
22542
22959
  workspace_id?: string;
22960
+ /**
22961
+ * Select the shell attachment for shortcut statuses
22962
+ */
22963
+ client_id?: string;
22964
+ /**
22965
+ * Select the shell profile without changing settings scope
22966
+ */
22967
+ client_profile?: string;
22543
22968
  };
22544
22969
  url: "/api/settings/window-manager";
22545
22970
  };
@@ -22580,6 +23005,14 @@ export type UpdateSettingsWindowManagerData = {
22580
23005
  * Select the workspace id for workspace scope
22581
23006
  */
22582
23007
  workspace_id?: string;
23008
+ /**
23009
+ * Select the shell attachment for shortcut statuses
23010
+ */
23011
+ client_id?: string;
23012
+ /**
23013
+ * Select the shell profile without changing settings scope
23014
+ */
23015
+ client_profile?: string;
22583
23016
  };
22584
23017
  url: "/api/settings/window-manager";
22585
23018
  };
@@ -29744,7 +30177,7 @@ export type ListWorkspaceSessionsData = {
29744
30177
  */
29745
30178
  skip_total?: boolean;
29746
30179
  /**
29747
- * Exclude stays-on main sessions from the page and its total
30180
+ * Exclude always-on main sessions from the page and its total
29748
30181
  */
29749
30182
  exclude_instance_main?: boolean;
29750
30183
  /**
@@ -30036,7 +30469,12 @@ export type ApproveSessionData = {
30036
30469
  */
30037
30470
  session_id: string;
30038
30471
  };
30039
- query?: never;
30472
+ query?: {
30473
+ /**
30474
+ * Act as this profile by name
30475
+ */
30476
+ profile?: string;
30477
+ };
30040
30478
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/approve";
30041
30479
  };
30042
30480
  export type ApproveSessionErrors = {
@@ -30138,7 +30576,12 @@ export type AttachSessionData = {
30138
30576
  */
30139
30577
  session_id: string;
30140
30578
  };
30141
- query?: never;
30579
+ query?: {
30580
+ /**
30581
+ * Act as this profile by name
30582
+ */
30583
+ profile?: string;
30584
+ };
30142
30585
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attach";
30143
30586
  };
30144
30587
  export type AttachSessionErrors = {
@@ -30188,7 +30631,12 @@ export type UploadSessionAttachmentData = {
30188
30631
  */
30189
30632
  session_id: string;
30190
30633
  };
30191
- query?: never;
30634
+ query?: {
30635
+ /**
30636
+ * Act as this profile by name
30637
+ */
30638
+ profile?: string;
30639
+ };
30192
30640
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attachments";
30193
30641
  };
30194
30642
  export type UploadSessionAttachmentErrors = {
@@ -30241,7 +30689,12 @@ export type DeleteSessionAttachmentData = {
30241
30689
  */
30242
30690
  attachment_id: string;
30243
30691
  };
30244
- query?: never;
30692
+ query?: {
30693
+ /**
30694
+ * Act as this profile by name
30695
+ */
30696
+ profile?: string;
30697
+ };
30245
30698
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attachments/{attachment_id}";
30246
30699
  };
30247
30700
  export type DeleteSessionAttachmentErrors = {
@@ -30286,7 +30739,16 @@ export type ReadSessionAttachmentBytesData = {
30286
30739
  */
30287
30740
  attachment_id: string;
30288
30741
  };
30289
- query?: never;
30742
+ query?: {
30743
+ /**
30744
+ * Read one profile's rows by name
30745
+ */
30746
+ profile?: string;
30747
+ /**
30748
+ * Read the owner-labeled all-profiles aggregate
30749
+ */
30750
+ all_profiles?: boolean;
30751
+ };
30290
30752
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/attachments/{attachment_id}/bytes";
30291
30753
  };
30292
30754
  export type ReadSessionAttachmentBytesErrors = {
@@ -30327,7 +30789,16 @@ export type ListSessionClarificationsData = {
30327
30789
  */
30328
30790
  session_id: string;
30329
30791
  };
30330
- query?: never;
30792
+ query?: {
30793
+ /**
30794
+ * Read one profile's rows by name
30795
+ */
30796
+ profile?: string;
30797
+ /**
30798
+ * Read the owner-labeled all-profiles aggregate
30799
+ */
30800
+ all_profiles?: boolean;
30801
+ };
30331
30802
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/clarifications";
30332
30803
  };
30333
30804
  export type ListSessionClarificationsErrors = {
@@ -30367,7 +30838,12 @@ export type AnswerSessionClarificationData = {
30367
30838
  */
30368
30839
  request_id: string;
30369
30840
  };
30370
- query?: never;
30841
+ query?: {
30842
+ /**
30843
+ * Act as this profile by name
30844
+ */
30845
+ profile?: string;
30846
+ };
30371
30847
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/clarifications/{request_id}/answer";
30372
30848
  };
30373
30849
  export type AnswerSessionClarificationErrors = {
@@ -30408,7 +30884,12 @@ export type ClearSessionConversationData = {
30408
30884
  */
30409
30885
  session_id: string;
30410
30886
  };
30411
- query?: never;
30887
+ query?: {
30888
+ /**
30889
+ * Act as this profile by name
30890
+ */
30891
+ profile?: string;
30892
+ };
30412
30893
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/clear";
30413
30894
  };
30414
30895
  export type ClearSessionConversationErrors = {
@@ -30449,7 +30930,16 @@ export type GetSessionCommandsData = {
30449
30930
  */
30450
30931
  session_id: string;
30451
30932
  };
30452
- query?: never;
30933
+ query?: {
30934
+ /**
30935
+ * Read one profile's rows by name
30936
+ */
30937
+ profile?: string;
30938
+ /**
30939
+ * Read the owner-labeled all-profiles aggregate
30940
+ */
30941
+ all_profiles?: boolean;
30942
+ };
30453
30943
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/commands";
30454
30944
  };
30455
30945
  export type GetSessionCommandsErrors = {
@@ -30489,7 +30979,12 @@ export type CompactSessionData = {
30489
30979
  */
30490
30980
  session_id: string;
30491
30981
  };
30492
- query?: never;
30982
+ query?: {
30983
+ /**
30984
+ * Act as this profile by name
30985
+ */
30986
+ profile?: string;
30987
+ };
30493
30988
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/compact";
30494
30989
  };
30495
30990
  export type CompactSessionErrors = {
@@ -30533,7 +31028,12 @@ export type ContinueSessionData = {
30533
31028
  */
30534
31029
  session_id: string;
30535
31030
  };
30536
- query?: never;
31031
+ query?: {
31032
+ /**
31033
+ * Act as this profile by name
31034
+ */
31035
+ profile?: string;
31036
+ };
30537
31037
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/continue";
30538
31038
  };
30539
31039
  export type ContinueSessionErrors = {
@@ -30591,6 +31091,14 @@ export type PreviewSessionDeriveData = {
30591
31091
  * Durable user message to cut through (fork from here)
30592
31092
  */
30593
31093
  message_id?: string;
31094
+ /**
31095
+ * Read one profile's rows by name
31096
+ */
31097
+ profile?: string;
31098
+ /**
31099
+ * Read the owner-labeled all-profiles aggregate
31100
+ */
31101
+ all_profiles?: boolean;
30594
31102
  };
30595
31103
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/derive/preview";
30596
31104
  };
@@ -30707,6 +31215,14 @@ export type ListSessionEventsData = {
30707
31215
  * Select active, archived, or all events
30708
31216
  */
30709
31217
  archive?: "active" | "archived" | "all";
31218
+ /**
31219
+ * Read one profile's rows by name
31220
+ */
31221
+ profile?: string;
31222
+ /**
31223
+ * Read the owner-labeled all-profiles aggregate
31224
+ */
31225
+ all_profiles?: boolean;
30710
31226
  };
30711
31227
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/events";
30712
31228
  };
@@ -30805,7 +31321,12 @@ export type ForkSessionData = {
30805
31321
  */
30806
31322
  session_id: string;
30807
31323
  };
30808
- query?: never;
31324
+ query?: {
31325
+ /**
31326
+ * Act as this profile by name
31327
+ */
31328
+ profile?: string;
31329
+ };
30809
31330
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/fork";
30810
31331
  };
30811
31332
  export type ForkSessionErrors = {
@@ -30858,7 +31379,16 @@ export type GetSessionGoalData = {
30858
31379
  */
30859
31380
  session_id: string;
30860
31381
  };
30861
- query?: never;
31382
+ query?: {
31383
+ /**
31384
+ * Read one profile's rows by name
31385
+ */
31386
+ profile?: string;
31387
+ /**
31388
+ * Read the owner-labeled all-profiles aggregate
31389
+ */
31390
+ all_profiles?: boolean;
31391
+ };
30862
31392
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal";
30863
31393
  };
30864
31394
  export type GetSessionGoalErrors = {
@@ -30902,7 +31432,12 @@ export type MutateSessionGoalData = {
30902
31432
  */
30903
31433
  session_id: string;
30904
31434
  };
30905
- query?: never;
31435
+ query?: {
31436
+ /**
31437
+ * Act as this profile by name
31438
+ */
31439
+ profile?: string;
31440
+ };
30906
31441
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal";
30907
31442
  };
30908
31443
  export type MutateSessionGoalErrors = {
@@ -30959,7 +31494,16 @@ export type GetSessionHealthData = {
30959
31494
  */
30960
31495
  session_id: string;
30961
31496
  };
30962
- query?: never;
31497
+ query?: {
31498
+ /**
31499
+ * Read one profile's rows by name
31500
+ */
31501
+ profile?: string;
31502
+ /**
31503
+ * Read the owner-labeled all-profiles aggregate
31504
+ */
31505
+ all_profiles?: boolean;
31506
+ };
30963
31507
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/health";
30964
31508
  };
30965
31509
  export type GetSessionHealthErrors = {
@@ -31025,6 +31569,14 @@ export type GetSessionHistoryData = {
31025
31569
  * Select active, archived, or all events
31026
31570
  */
31027
31571
  archive?: "active" | "archived" | "all";
31572
+ /**
31573
+ * Read one profile's rows by name
31574
+ */
31575
+ profile?: string;
31576
+ /**
31577
+ * Read the owner-labeled all-profiles aggregate
31578
+ */
31579
+ all_profiles?: boolean;
31028
31580
  };
31029
31581
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/history";
31030
31582
  };
@@ -31067,6 +31619,14 @@ export type InspectSessionData = {
31067
31619
  * Include recent wake audit rows
31068
31620
  */
31069
31621
  include_recent_wake_events?: boolean;
31622
+ /**
31623
+ * Read one profile's rows by name
31624
+ */
31625
+ profile?: string;
31626
+ /**
31627
+ * Read the owner-labeled all-profiles aggregate
31628
+ */
31629
+ all_profiles?: boolean;
31070
31630
  };
31071
31631
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/inspect";
31072
31632
  };
@@ -31113,6 +31673,14 @@ export type ListSessionInteractionsData = {
31113
31673
  * Filter by interaction status
31114
31674
  */
31115
31675
  status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
31676
+ /**
31677
+ * Read one profile's rows by name
31678
+ */
31679
+ profile?: string;
31680
+ /**
31681
+ * Read the owner-labeled all-profiles aggregate
31682
+ */
31683
+ all_profiles?: boolean;
31116
31684
  };
31117
31685
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/interactions";
31118
31686
  };
@@ -31466,6 +32034,56 @@ export type RefreshSessionWorkLinkResponses = {
31466
32034
  200: SessionLinkedWorkResponse;
31467
32035
  };
31468
32036
  export type RefreshSessionWorkLinkResponse = RefreshSessionWorkLinkResponses[keyof RefreshSessionWorkLinkResponses];
32037
+ export type MarkSessionSeenData = {
32038
+ body?: never;
32039
+ path: {
32040
+ /**
32041
+ * Workspace id
32042
+ */
32043
+ workspace_id: string;
32044
+ /**
32045
+ * Session id
32046
+ */
32047
+ session_id: string;
32048
+ };
32049
+ query?: {
32050
+ /**
32051
+ * Act as this profile by name
32052
+ */
32053
+ profile?: string;
32054
+ };
32055
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/mark-seen";
32056
+ };
32057
+ export type MarkSessionSeenErrors = {
32058
+ /**
32059
+ * Conflicting profile selectors (profile_selection_conflict)
32060
+ */
32061
+ 400: ErrorPayload;
32062
+ /**
32063
+ * Session not found
32064
+ */
32065
+ 404: ErrorPayload;
32066
+ /**
32067
+ * The session still waits on an answer, a sign-in, or a stop, or a newer occurrence replaced the one checked
32068
+ */
32069
+ 409: ErrorPayload;
32070
+ /**
32071
+ * Internal server error
32072
+ */
32073
+ 500: ErrorPayload;
32074
+ /**
32075
+ * Service unavailable - dependent service missing
32076
+ */
32077
+ 503: ErrorPayload;
32078
+ };
32079
+ export type MarkSessionSeenError = MarkSessionSeenErrors[keyof MarkSessionSeenErrors];
32080
+ export type MarkSessionSeenResponses = {
32081
+ /**
32082
+ * OK
32083
+ */
32084
+ 200: SessionResponse;
32085
+ };
32086
+ export type MarkSessionSeenResponse = MarkSessionSeenResponses[keyof MarkSessionSeenResponses];
31469
32087
  export type ListSessionMonitorsData = {
31470
32088
  body?: never;
31471
32089
  path: {
@@ -31619,6 +32237,63 @@ export type MoveSessionResponses = {
31619
32237
  200: SessionFoldersResponse;
31620
32238
  };
31621
32239
  export type MoveSessionResponse = MoveSessionResponses[keyof MoveSessionResponses];
32240
+ export type MoveSessionToProfileData = {
32241
+ /**
32242
+ * JSON request body
32243
+ */
32244
+ body: MoveSessionToProfileRequest;
32245
+ path: {
32246
+ /**
32247
+ * Workspace id
32248
+ */
32249
+ workspace_id: string;
32250
+ /**
32251
+ * Session id
32252
+ */
32253
+ session_id: string;
32254
+ };
32255
+ query?: {
32256
+ /**
32257
+ * Act as this profile by name
32258
+ */
32259
+ profile?: string;
32260
+ };
32261
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/move-to-profile";
32262
+ };
32263
+ export type MoveSessionToProfileErrors = {
32264
+ /**
32265
+ * Invalid move request or target profile
32266
+ */
32267
+ 400: ErrorPayload;
32268
+ /**
32269
+ * The caller cannot write to the target profile
32270
+ */
32271
+ 403: ErrorPayload;
32272
+ /**
32273
+ * Session not found
32274
+ */
32275
+ 404: ErrorPayload;
32276
+ /**
32277
+ * Move refused by a rule; code names the rule
32278
+ */
32279
+ 409: ErrorPayload;
32280
+ /**
32281
+ * Internal server error
32282
+ */
32283
+ 500: ErrorPayload;
32284
+ /**
32285
+ * Session profile move unavailable
32286
+ */
32287
+ 503: ErrorPayload;
32288
+ };
32289
+ export type MoveSessionToProfileError = MoveSessionToProfileErrors[keyof MoveSessionToProfileErrors];
32290
+ export type MoveSessionToProfileResponses = {
32291
+ /**
32292
+ * OK
32293
+ */
32294
+ 200: MoveSessionToProfileResponse;
32295
+ };
32296
+ export type MoveSessionToProfileResponse2 = MoveSessionToProfileResponses[keyof MoveSessionToProfileResponses];
31622
32297
  export type ClearSessionParentData = {
31623
32298
  body?: never;
31624
32299
  path: {
@@ -31743,6 +32418,14 @@ export type ListSessionPendingInteractionsData = {
31743
32418
  * Filter by interaction status
31744
32419
  */
31745
32420
  status?: "pending" | "orphaned" | "resolved" | "timed_out" | "canceled";
32421
+ /**
32422
+ * Read one profile's rows by name
32423
+ */
32424
+ profile?: string;
32425
+ /**
32426
+ * Read the owner-labeled all-profiles aggregate
32427
+ */
32428
+ all_profiles?: boolean;
31746
32429
  };
31747
32430
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/pending-interactions";
31748
32431
  };
@@ -31791,7 +32474,12 @@ export type UpdateSessionPresenceData = {
31791
32474
  */
31792
32475
  session_id: string;
31793
32476
  };
31794
- query?: never;
32477
+ query?: {
32478
+ /**
32479
+ * Act as this profile by name
32480
+ */
32481
+ profile?: string;
32482
+ };
31795
32483
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/presence";
31796
32484
  };
31797
32485
  export type UpdateSessionPresenceErrors = {
@@ -31951,7 +32639,12 @@ export type CancelSessionPromptData = {
31951
32639
  */
31952
32640
  session_id: string;
31953
32641
  };
31954
- query?: never;
32642
+ query?: {
32643
+ /**
32644
+ * Act as this profile by name
32645
+ */
32646
+ profile?: string;
32647
+ };
31955
32648
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/cancel";
31956
32649
  };
31957
32650
  export type CancelSessionPromptErrors = {
@@ -31984,7 +32677,12 @@ export type ClearSessionInputsData = {
31984
32677
  */
31985
32678
  session_id: string;
31986
32679
  };
31987
- query?: never;
32680
+ query?: {
32681
+ /**
32682
+ * Act as this profile by name
32683
+ */
32684
+ profile?: string;
32685
+ };
31988
32686
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue";
31989
32687
  };
31990
32688
  export type ClearSessionInputsErrors = {
@@ -32021,7 +32719,16 @@ export type ListSessionInputsData = {
32021
32719
  */
32022
32720
  session_id: string;
32023
32721
  };
32024
- query?: never;
32722
+ query?: {
32723
+ /**
32724
+ * Read one profile's rows by name
32725
+ */
32726
+ profile?: string;
32727
+ /**
32728
+ * Read the owner-labeled all-profiles aggregate
32729
+ */
32730
+ all_profiles?: boolean;
32731
+ };
32025
32732
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue";
32026
32733
  };
32027
32734
  export type ListSessionInputsErrors = {
@@ -32058,7 +32765,12 @@ export type CancelQueuedSessionPromptData = {
32058
32765
  */
32059
32766
  queue_entry_id: string;
32060
32767
  };
32061
- query?: never;
32768
+ query?: {
32769
+ /**
32770
+ * Act as this profile by name
32771
+ */
32772
+ profile?: string;
32773
+ };
32062
32774
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue/{queue_entry_id}";
32063
32775
  };
32064
32776
  export type CancelQueuedSessionPromptErrors = {
@@ -32098,7 +32810,12 @@ export type ReplaceSessionInputData = {
32098
32810
  */
32099
32811
  queue_entry_id: string;
32100
32812
  };
32101
- query?: never;
32813
+ query?: {
32814
+ /**
32815
+ * Act as this profile by name
32816
+ */
32817
+ profile?: string;
32818
+ };
32102
32819
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue/{queue_entry_id}";
32103
32820
  };
32104
32821
  export type ReplaceSessionInputErrors = {
@@ -32142,7 +32859,12 @@ export type PromoteSessionInputData = {
32142
32859
  */
32143
32860
  queue_entry_id: string;
32144
32861
  };
32145
- query?: never;
32862
+ query?: {
32863
+ /**
32864
+ * Act as this profile by name
32865
+ */
32866
+ profile?: string;
32867
+ };
32146
32868
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/prompt/queue/{queue_entry_id}/steer";
32147
32869
  };
32148
32870
  export type PromoteSessionInputErrors = {
@@ -32188,6 +32910,14 @@ export type GetSessionRecapData = {
32188
32910
  * Maximum recent messages to include
32189
32911
  */
32190
32912
  limit?: number;
32913
+ /**
32914
+ * Read one profile's rows by name
32915
+ */
32916
+ profile?: string;
32917
+ /**
32918
+ * Read the owner-labeled all-profiles aggregate
32919
+ */
32920
+ all_profiles?: boolean;
32191
32921
  };
32192
32922
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/recap";
32193
32923
  };
@@ -32234,6 +32964,10 @@ export type RepairSessionData = {
32234
32964
  * Allow repair for stopped sessions whose stop reason is not crash or error
32235
32965
  */
32236
32966
  force?: boolean;
32967
+ /**
32968
+ * Act as this profile by name
32969
+ */
32970
+ profile?: string;
32237
32971
  };
32238
32972
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/repair";
32239
32973
  };
@@ -32382,6 +33116,10 @@ export type ClearSessionRuntimeData = {
32382
33116
  * Current runtime selection revision
32383
33117
  */
32384
33118
  expected_revision: number;
33119
+ /**
33120
+ * Act as this profile by name
33121
+ */
33122
+ profile?: string;
32385
33123
  };
32386
33124
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/runtime";
32387
33125
  };
@@ -32426,7 +33164,12 @@ export type SetSessionRuntimeData = {
32426
33164
  */
32427
33165
  session_id: string;
32428
33166
  };
32429
- query?: never;
33167
+ query?: {
33168
+ /**
33169
+ * Act as this profile by name
33170
+ */
33171
+ profile?: string;
33172
+ };
32430
33173
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/runtime";
32431
33174
  };
32432
33175
  export type SetSessionRuntimeErrors = {
@@ -32470,7 +33213,12 @@ export type RefreshSessionSoulData = {
32470
33213
  */
32471
33214
  session_id: string;
32472
33215
  };
32473
- query?: never;
33216
+ query?: {
33217
+ /**
33218
+ * Act as this profile by name
33219
+ */
33220
+ profile?: string;
33221
+ };
32474
33222
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/soul/refresh";
32475
33223
  };
32476
33224
  export type RefreshSessionSoulErrors = {
@@ -32515,7 +33263,16 @@ export type GetSessionStatusData = {
32515
33263
  */
32516
33264
  session_id: string;
32517
33265
  };
32518
- query?: never;
33266
+ query?: {
33267
+ /**
33268
+ * Read one profile's rows by name
33269
+ */
33270
+ profile?: string;
33271
+ /**
33272
+ * Read the owner-labeled all-profiles aggregate
33273
+ */
33274
+ all_profiles?: boolean;
33275
+ };
32519
33276
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/status";
32520
33277
  };
32521
33278
  export type GetSessionStatusErrors = {
@@ -32555,7 +33312,12 @@ export type SteerSessionPromptData = {
32555
33312
  */
32556
33313
  session_id: string;
32557
33314
  };
32558
- query?: never;
33315
+ query?: {
33316
+ /**
33317
+ * Act as this profile by name
33318
+ */
33319
+ profile?: string;
33320
+ };
32559
33321
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/steer";
32560
33322
  };
32561
33323
  export type SteerSessionPromptErrors = {
@@ -32678,6 +33440,14 @@ export type ListSessionSubagentsData = {
32678
33440
  * Row order: newest first (default), or most urgent first (waiting, failed, working, queued, settled) then newest
32679
33441
  */
32680
33442
  order?: "newest" | "urgency";
33443
+ /**
33444
+ * Read one profile's rows by name
33445
+ */
33446
+ profile?: string;
33447
+ /**
33448
+ * Read the owner-labeled all-profiles aggregate
33449
+ */
33450
+ all_profiles?: boolean;
32681
33451
  };
32682
33452
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/subagents";
32683
33453
  };
@@ -32728,6 +33498,14 @@ export type ListSessionToolsData = {
32728
33498
  * Effective agent name
32729
33499
  */
32730
33500
  agent_name?: string;
33501
+ /**
33502
+ * Read one profile's rows by name
33503
+ */
33504
+ profile?: string;
33505
+ /**
33506
+ * Read the owner-labeled all-profiles aggregate
33507
+ */
33508
+ all_profiles?: boolean;
32731
33509
  };
32732
33510
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/tools";
32733
33511
  };
@@ -32764,7 +33542,12 @@ export type SearchSessionToolsData = {
32764
33542
  */
32765
33543
  session_id: string;
32766
33544
  };
32767
- query?: never;
33545
+ query?: {
33546
+ /**
33547
+ * Act as this profile by name
33548
+ */
33549
+ profile?: string;
33550
+ };
32768
33551
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/tools/search";
32769
33552
  };
32770
33553
  export type SearchSessionToolsErrors = {
@@ -32810,6 +33593,14 @@ export type GetSessionTranscriptData = {
32810
33593
  * Return entries whose stable start sequence is before this cursor
32811
33594
  */
32812
33595
  before_sequence?: number;
33596
+ /**
33597
+ * Read one profile's rows by name
33598
+ */
33599
+ profile?: string;
33600
+ /**
33601
+ * Read the owner-labeled all-profiles aggregate
33602
+ */
33603
+ all_profiles?: boolean;
32813
33604
  };
32814
33605
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript";
32815
33606
  };
@@ -32851,7 +33642,16 @@ export type GetSessionTranscriptOutlineData = {
32851
33642
  */
32852
33643
  session_id: string;
32853
33644
  };
32854
- query?: never;
33645
+ query?: {
33646
+ /**
33647
+ * Read one profile's rows by name
33648
+ */
33649
+ profile?: string;
33650
+ /**
33651
+ * Read the owner-labeled all-profiles aggregate
33652
+ */
33653
+ all_profiles?: boolean;
33654
+ };
32855
33655
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/outline";
32856
33656
  };
32857
33657
  export type GetSessionTranscriptOutlineErrors = {
@@ -32901,6 +33701,14 @@ export type SearchSessionTranscriptData = {
32901
33701
  * Maximum matches; defaults to 200, capped at 1000; truncated reports omitted matches
32902
33702
  */
32903
33703
  limit?: number;
33704
+ /**
33705
+ * Read one profile's rows by name
33706
+ */
33707
+ profile?: string;
33708
+ /**
33709
+ * Read the owner-labeled all-profiles aggregate
33710
+ */
33711
+ all_profiles?: boolean;
32904
33712
  };
32905
33713
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/transcript/search";
32906
33714
  };
@@ -32984,7 +33792,16 @@ export type GetSessionUsageData = {
32984
33792
  */
32985
33793
  session_id: string;
32986
33794
  };
32987
- query?: never;
33795
+ query?: {
33796
+ /**
33797
+ * Read one profile's rows by name
33798
+ */
33799
+ profile?: string;
33800
+ /**
33801
+ * Read the owner-labeled all-profiles aggregate
33802
+ */
33803
+ all_profiles?: boolean;
33804
+ };
32988
33805
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/usage";
32989
33806
  };
32990
33807
  export type GetSessionUsageErrors = {
@@ -33017,7 +33834,16 @@ export type GetSessionUsageTurnsData = {
33017
33834
  */
33018
33835
  session_id: string;
33019
33836
  };
33020
- query?: never;
33837
+ query?: {
33838
+ /**
33839
+ * Read one profile's rows by name
33840
+ */
33841
+ profile?: string;
33842
+ /**
33843
+ * Read the owner-labeled all-profiles aggregate
33844
+ */
33845
+ all_profiles?: boolean;
33846
+ };
33021
33847
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/usage/turns";
33022
33848
  };
33023
33849
  export type GetSessionUsageTurnsErrors = {
@@ -33053,7 +33879,12 @@ export type WaitForSessionData = {
33053
33879
  */
33054
33880
  session_id: string;
33055
33881
  };
33056
- query?: never;
33882
+ query?: {
33883
+ /**
33884
+ * Act as this profile by name
33885
+ */
33886
+ profile?: string;
33887
+ };
33057
33888
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/wait";
33058
33889
  };
33059
33890
  export type WaitForSessionErrors = {
@@ -33216,7 +34047,12 @@ export type ForkSessionToWorktreeData = {
33216
34047
  */
33217
34048
  session_id: string;
33218
34049
  };
33219
- query?: never;
34050
+ query?: {
34051
+ /**
34052
+ * Act as this profile by name
34053
+ */
34054
+ profile?: string;
34055
+ };
33220
34056
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/worktree-fork";
33221
34057
  };
33222
34058
  export type ForkSessionToWorktreeErrors = {
@@ -33494,9 +34330,13 @@ export type DownloadTerminalArtifactData = {
33494
34330
  };
33495
34331
  query?: {
33496
34332
  /**
33497
- * Act as this profile by name
34333
+ * Read one profile's rows by name
33498
34334
  */
33499
34335
  profile?: string;
34336
+ /**
34337
+ * Read the owner-labeled all-profiles aggregate
34338
+ */
34339
+ all_profiles?: boolean;
33500
34340
  };
33501
34341
  url: "/api/workspaces/{workspace_id}/terminals/artifacts/{id}";
33502
34342
  };
@@ -33757,9 +34597,13 @@ export type DownloadTerminalRecordingData = {
33757
34597
  };
33758
34598
  query?: {
33759
34599
  /**
33760
- * Act as this profile by name
34600
+ * Read one profile's rows by name
33761
34601
  */
33762
34602
  profile?: string;
34603
+ /**
34604
+ * Read the owner-labeled all-profiles aggregate
34605
+ */
34606
+ all_profiles?: boolean;
33763
34607
  };
33764
34608
  url: "/api/workspaces/{workspace_id}/terminals/recordings/{id}";
33765
34609
  };
@@ -33880,9 +34724,13 @@ export type GetTerminalData = {
33880
34724
  };
33881
34725
  query?: {
33882
34726
  /**
33883
- * Act as this profile by name
34727
+ * Read one profile's rows by name
33884
34728
  */
33885
34729
  profile?: string;
34730
+ /**
34731
+ * Read the owner-labeled all-profiles aggregate
34732
+ */
34733
+ all_profiles?: boolean;
33886
34734
  };
33887
34735
  url: "/api/workspaces/{workspace_id}/terminals/{id}";
33888
34736
  };