@compozy/client 0.3.0-beta.38 → 0.4.0
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 +45 -1
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +45 -1
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +487 -8
- 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 +18 -2
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +292 -7
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +2 -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
|
@@ -5041,8 +5041,15 @@ export type SessionAttentionSummaryPayload = {
|
|
|
5041
5041
|
finished: number;
|
|
5042
5042
|
needs_you: number;
|
|
5043
5043
|
};
|
|
5044
|
+
export type SessionBoardCountsPayload = {
|
|
5045
|
+
done: number;
|
|
5046
|
+
in_review: number;
|
|
5047
|
+
needs_you: number;
|
|
5048
|
+
working: number;
|
|
5049
|
+
};
|
|
5044
5050
|
export type SessionCatalogFacetsPayload = {
|
|
5045
5051
|
all: number;
|
|
5052
|
+
board: SessionBoardCountsPayload;
|
|
5046
5053
|
finished: number;
|
|
5047
5054
|
idle: number;
|
|
5048
5055
|
needs_you: number;
|
|
@@ -5064,6 +5071,13 @@ export type SessionCatalogResponse = {
|
|
|
5064
5071
|
page: SessionCatalogPagePayload;
|
|
5065
5072
|
sessions: Array<SessionPayload>;
|
|
5066
5073
|
};
|
|
5074
|
+
export type SessionChildrenPayload = {
|
|
5075
|
+
done: number;
|
|
5076
|
+
in_review: number;
|
|
5077
|
+
needs_you: number;
|
|
5078
|
+
total: number;
|
|
5079
|
+
working: number;
|
|
5080
|
+
};
|
|
5067
5081
|
export type SessionCommandPayload = {
|
|
5068
5082
|
available: boolean;
|
|
5069
5083
|
canonical_token: string;
|
|
@@ -5490,8 +5504,11 @@ export type SessionPayload = {
|
|
|
5490
5504
|
attention?: string;
|
|
5491
5505
|
attention_changed_at?: string | null;
|
|
5492
5506
|
available_commands: Array<ACPAvailableCommandPayload>;
|
|
5493
|
-
badge:
|
|
5507
|
+
badge: "running" | "idle" | "unhealthy" | "hung" | "waiting-for-auth" | "waiting-for-input" | "done" | "stopped" | "failed" | "unknown" | "needs-attention" | "waiting";
|
|
5508
|
+
board_column: "needs_you" | "working" | "in_review" | "done";
|
|
5509
|
+
branch?: string;
|
|
5494
5510
|
busy_input?: BusyInputState | null;
|
|
5511
|
+
children?: SessionChildrenPayload | null;
|
|
5495
5512
|
created_at: string;
|
|
5496
5513
|
derivation?: SessionDerivationPayload | null;
|
|
5497
5514
|
effective_workspace_access: string;
|
|
@@ -5503,6 +5520,7 @@ export type SessionPayload = {
|
|
|
5503
5520
|
lineage?: SessionLineagePayload | null;
|
|
5504
5521
|
monitor_summary?: SessionMonitorSummaryPayload | null;
|
|
5505
5522
|
name?: string;
|
|
5523
|
+
parent_title?: string;
|
|
5506
5524
|
pending_interactions: Array<PendingInteractionPayload>;
|
|
5507
5525
|
profile_archived?: boolean;
|
|
5508
5526
|
profile_color?: string;
|
|
@@ -5510,6 +5528,8 @@ export type SessionPayload = {
|
|
|
5510
5528
|
profile_icon?: string;
|
|
5511
5529
|
profile_id: string;
|
|
5512
5530
|
profile_name: string;
|
|
5531
|
+
pull_request: SessionPullRequestPayload | null;
|
|
5532
|
+
pull_request_lookup: SessionPullRequestLookupPayload | null;
|
|
5513
5533
|
queue?: SessionQueueSummaryPayload | null;
|
|
5514
5534
|
reply_watches?: Array<ReplyWatchPayload>;
|
|
5515
5535
|
runtime: SessionRuntimePayload;
|
|
@@ -5524,6 +5544,7 @@ export type SessionPayload = {
|
|
|
5524
5544
|
type?: "user" | "system" | "coordinator" | "spawned";
|
|
5525
5545
|
updated_at: string;
|
|
5526
5546
|
verified?: boolean | null;
|
|
5547
|
+
waiting_on?: "sessions" | "monitor";
|
|
5527
5548
|
workspace_id?: string;
|
|
5528
5549
|
workspace_path?: string;
|
|
5529
5550
|
worktree_id?: string;
|
|
@@ -5554,6 +5575,50 @@ export type SessionProviderOptionPayload = {
|
|
|
5554
5575
|
runtime_provider?: string;
|
|
5555
5576
|
runtime_strategy?: "session_config" | "launch_arg" | "provider_managed";
|
|
5556
5577
|
};
|
|
5578
|
+
export type SessionPullRequestChecksPayload = {
|
|
5579
|
+
failed: number;
|
|
5580
|
+
failed_names: Array<string>;
|
|
5581
|
+
passed: number;
|
|
5582
|
+
pending: number;
|
|
5583
|
+
state: "passing" | "failing" | "pending" | "none" | "unknown";
|
|
5584
|
+
};
|
|
5585
|
+
export type SessionPullRequestErrorPayload = {
|
|
5586
|
+
cause?: string;
|
|
5587
|
+
code?: string;
|
|
5588
|
+
config_path?: string;
|
|
5589
|
+
current_turn_id?: string;
|
|
5590
|
+
details?: {
|
|
5591
|
+
[key: string]: string;
|
|
5592
|
+
};
|
|
5593
|
+
diagnostic?: DiagnosticItem | null;
|
|
5594
|
+
error: string;
|
|
5595
|
+
message: string;
|
|
5596
|
+
unknown_keys?: Array<string>;
|
|
5597
|
+
};
|
|
5598
|
+
export type SessionPullRequestLookupPayload = {
|
|
5599
|
+
cause: string;
|
|
5600
|
+
observed_at: string | null;
|
|
5601
|
+
stale: boolean;
|
|
5602
|
+
state: "ok" | "pending" | "error" | "incomplete";
|
|
5603
|
+
};
|
|
5604
|
+
export type SessionPullRequestPayload = {
|
|
5605
|
+
checks: SessionPullRequestChecksPayload;
|
|
5606
|
+
draft: boolean | null;
|
|
5607
|
+
head_sha: string;
|
|
5608
|
+
mergeable: "mergeable" | "conflicting" | "unknown";
|
|
5609
|
+
number: number;
|
|
5610
|
+
provider: string;
|
|
5611
|
+
ready_to_merge: boolean;
|
|
5612
|
+
review_decision: "approved" | "changes_requested" | "review_required" | "none" | "unknown";
|
|
5613
|
+
state: "open" | "closed" | "merged";
|
|
5614
|
+
url: string;
|
|
5615
|
+
};
|
|
5616
|
+
export type SessionPullRequestResponse = {
|
|
5617
|
+
branch: string;
|
|
5618
|
+
pull_request: SessionPullRequestPayload | null;
|
|
5619
|
+
pull_request_lookup: SessionPullRequestLookupPayload | null;
|
|
5620
|
+
session_id: string;
|
|
5621
|
+
};
|
|
5557
5622
|
export type SessionQueueSummaryPayload = {
|
|
5558
5623
|
cap: number;
|
|
5559
5624
|
entries: number;
|
|
@@ -5596,6 +5661,7 @@ export type SessionRuntimePayload = {
|
|
|
5596
5661
|
generation?: number;
|
|
5597
5662
|
last_known?: RuntimeSelectionPayload | null;
|
|
5598
5663
|
recovery?: SessionRuntimeRecoveryPayload | null;
|
|
5664
|
+
requested?: PromptRuntimeSelectionPayload | null;
|
|
5599
5665
|
selected?: PromptRuntimeSelectionPayload | null;
|
|
5600
5666
|
selection_revision: number;
|
|
5601
5667
|
status: string;
|
|
@@ -5627,7 +5693,7 @@ export type SessionStatusResponse = {
|
|
|
5627
5693
|
agent_name: string;
|
|
5628
5694
|
attachable: boolean;
|
|
5629
5695
|
attention?: string;
|
|
5630
|
-
badge:
|
|
5696
|
+
badge: "running" | "idle" | "unhealthy" | "hung" | "waiting-for-auth" | "waiting-for-input" | "done" | "stopped" | "failed" | "unknown" | "needs-attention" | "waiting";
|
|
5631
5697
|
derivation?: SessionDerivationPayload | null;
|
|
5632
5698
|
eligible_for_wake: boolean;
|
|
5633
5699
|
escalated?: boolean | null;
|
|
@@ -5689,6 +5755,7 @@ export type SessionUsagePayload = {
|
|
|
5689
5755
|
total_cost?: number | null;
|
|
5690
5756
|
total_tokens?: number | null;
|
|
5691
5757
|
turn_count: number;
|
|
5758
|
+
work_time?: SessionWorkTimePayload | null;
|
|
5692
5759
|
};
|
|
5693
5760
|
export type SessionUsageResponse = {
|
|
5694
5761
|
usage: SessionUsagePayload;
|
|
@@ -5718,6 +5785,11 @@ export type SessionWaitResponse = {
|
|
|
5718
5785
|
until?: Array<string>;
|
|
5719
5786
|
waited_ms: number;
|
|
5720
5787
|
};
|
|
5788
|
+
export type SessionWorkTimePayload = {
|
|
5789
|
+
active_duration_ms: number;
|
|
5790
|
+
last_completed_turn_id?: string;
|
|
5791
|
+
turn_count: number;
|
|
5792
|
+
};
|
|
5721
5793
|
export type SessionWorkspaceFacetsPayload = {
|
|
5722
5794
|
facets: SessionCatalogFacetsPayload;
|
|
5723
5795
|
workspace_id: string;
|
|
@@ -5729,6 +5801,9 @@ export type SetExtensionEnablementRequest = {
|
|
|
5729
5801
|
export type SetExtensionSecretsRequest = {
|
|
5730
5802
|
bindings: Array<ExtensionSecretBindingInput>;
|
|
5731
5803
|
};
|
|
5804
|
+
export type SetSessionParentRequest = {
|
|
5805
|
+
parent_session_id: string;
|
|
5806
|
+
};
|
|
5732
5807
|
export type SetSessionRuntimeRequest = {
|
|
5733
5808
|
expected_revision: number | null;
|
|
5734
5809
|
runtime: PromptRuntimeSelectionPayload;
|
|
@@ -6740,7 +6815,7 @@ export type SettingsWindowManagerSnapPayload = {
|
|
|
6740
6815
|
};
|
|
6741
6816
|
export type SignalSourceState = {
|
|
6742
6817
|
error?: string;
|
|
6743
|
-
kind: "agent_progress" | "tool_running" | "active_child" | "loop_run" | "task_lease" | "scheduled_wait" | "awaiting_reply";
|
|
6818
|
+
kind: "agent_progress" | "tool_running" | "active_child" | "loop_run" | "task_lease" | "scheduled_wait" | "awaiting_reply" | "active_monitor";
|
|
6744
6819
|
ref?: string;
|
|
6745
6820
|
state: string;
|
|
6746
6821
|
};
|
|
@@ -8239,7 +8314,7 @@ export type ToolCallEventPayload = {
|
|
|
8239
8314
|
destructive: boolean;
|
|
8240
8315
|
display_title?: string;
|
|
8241
8316
|
duration_ms?: number;
|
|
8242
|
-
error_code?: "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_busy" | "slow_consumer" | "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";
|
|
8317
|
+
error_code?: "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" | "slow_consumer" | "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";
|
|
8243
8318
|
input_digest?: string;
|
|
8244
8319
|
kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
|
|
8245
8320
|
open_world: boolean;
|
|
@@ -8291,7 +8366,7 @@ export type ToolDescriptorPayload = {
|
|
|
8291
8366
|
visibility: "internal" | "operator" | "session" | "model";
|
|
8292
8367
|
};
|
|
8293
8368
|
export type ToolErrorPayload = {
|
|
8294
|
-
code: "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_busy" | "slow_consumer" | "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";
|
|
8369
|
+
code: "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" | "slow_consumer" | "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";
|
|
8295
8370
|
details?: {
|
|
8296
8371
|
[key: string]: unknown;
|
|
8297
8372
|
};
|
|
@@ -8821,7 +8896,7 @@ export type WindowManagerWindow = {
|
|
|
8821
8896
|
zoomed: boolean;
|
|
8822
8897
|
};
|
|
8823
8898
|
export type WorkSignal = {
|
|
8824
|
-
kind: "agent_progress" | "tool_running" | "active_child" | "loop_run" | "task_lease" | "scheduled_wait" | "awaiting_reply";
|
|
8899
|
+
kind: "agent_progress" | "tool_running" | "active_child" | "loop_run" | "task_lease" | "scheduled_wait" | "awaiting_reply" | "active_monitor";
|
|
8825
8900
|
ref?: string;
|
|
8826
8901
|
since: string;
|
|
8827
8902
|
};
|
|
@@ -17332,6 +17407,10 @@ export type ListSessionsData = {
|
|
|
17332
17407
|
* Subagent session visibility (default include)
|
|
17333
17408
|
*/
|
|
17334
17409
|
subagents?: "include" | "exclude" | "only";
|
|
17410
|
+
/**
|
|
17411
|
+
* Managed child visibility
|
|
17412
|
+
*/
|
|
17413
|
+
children?: "include" | "exclude";
|
|
17335
17414
|
/**
|
|
17336
17415
|
* Filter by exact parent session id
|
|
17337
17416
|
*/
|
|
@@ -17360,6 +17439,10 @@ export type ListSessionsData = {
|
|
|
17360
17439
|
* Only list sessions in the needs-you attention class
|
|
17361
17440
|
*/
|
|
17362
17441
|
attention?: boolean;
|
|
17442
|
+
/**
|
|
17443
|
+
* Repeatable board column filter: needs_you, working, in_review, done
|
|
17444
|
+
*/
|
|
17445
|
+
board_column?: Array<string>;
|
|
17363
17446
|
/**
|
|
17364
17447
|
* Filter by comma-separated exact session badges
|
|
17365
17448
|
*/
|
|
@@ -17521,6 +17604,10 @@ export type ListSessionFacetsData = {
|
|
|
17521
17604
|
* Subagent session visibility (default include)
|
|
17522
17605
|
*/
|
|
17523
17606
|
subagents?: "include" | "exclude" | "only";
|
|
17607
|
+
/**
|
|
17608
|
+
* Managed child visibility
|
|
17609
|
+
*/
|
|
17610
|
+
children?: "include" | "exclude";
|
|
17524
17611
|
/**
|
|
17525
17612
|
* Filter by exact parent session id
|
|
17526
17613
|
*/
|
|
@@ -17797,6 +17884,44 @@ export type GetSessionOwnerResponses = {
|
|
|
17797
17884
|
200: SessionOwner;
|
|
17798
17885
|
};
|
|
17799
17886
|
export type GetSessionOwnerResponse = GetSessionOwnerResponses[keyof GetSessionOwnerResponses];
|
|
17887
|
+
export type RefreshSessionPullRequestData = {
|
|
17888
|
+
body?: never;
|
|
17889
|
+
path: {
|
|
17890
|
+
/**
|
|
17891
|
+
* Session id
|
|
17892
|
+
*/
|
|
17893
|
+
session_id: string;
|
|
17894
|
+
};
|
|
17895
|
+
query?: {
|
|
17896
|
+
/**
|
|
17897
|
+
* Act as this profile by name
|
|
17898
|
+
*/
|
|
17899
|
+
profile?: string;
|
|
17900
|
+
};
|
|
17901
|
+
url: "/api/sessions/{session_id}/pull-request/refresh";
|
|
17902
|
+
};
|
|
17903
|
+
export type RefreshSessionPullRequestErrors = {
|
|
17904
|
+
/**
|
|
17905
|
+
* Session not found
|
|
17906
|
+
*/
|
|
17907
|
+
404: ErrorPayload;
|
|
17908
|
+
/**
|
|
17909
|
+
* Session branch unavailable
|
|
17910
|
+
*/
|
|
17911
|
+
409: SessionPullRequestErrorPayload;
|
|
17912
|
+
/**
|
|
17913
|
+
* Forge unavailable without cached facts
|
|
17914
|
+
*/
|
|
17915
|
+
502: SessionPullRequestErrorPayload;
|
|
17916
|
+
};
|
|
17917
|
+
export type RefreshSessionPullRequestError = RefreshSessionPullRequestErrors[keyof RefreshSessionPullRequestErrors];
|
|
17918
|
+
export type RefreshSessionPullRequestResponses = {
|
|
17919
|
+
/**
|
|
17920
|
+
* Refreshed or retained cached facts
|
|
17921
|
+
*/
|
|
17922
|
+
200: SessionPullRequestResponse;
|
|
17923
|
+
};
|
|
17924
|
+
export type RefreshSessionPullRequestResponse = RefreshSessionPullRequestResponses[keyof RefreshSessionPullRequestResponses];
|
|
17800
17925
|
export type GetGlobalSessionStatusData = {
|
|
17801
17926
|
body?: never;
|
|
17802
17927
|
path: {
|
|
@@ -26597,6 +26722,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
26597
26722
|
* Subagent session visibility (default include)
|
|
26598
26723
|
*/
|
|
26599
26724
|
subagents?: "include" | "exclude" | "only";
|
|
26725
|
+
/**
|
|
26726
|
+
* Managed child visibility
|
|
26727
|
+
*/
|
|
26728
|
+
children?: "include" | "exclude";
|
|
26600
26729
|
/**
|
|
26601
26730
|
* Filter by exact parent session id
|
|
26602
26731
|
*/
|
|
@@ -26625,6 +26754,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
26625
26754
|
* Only list sessions in the needs-you attention class
|
|
26626
26755
|
*/
|
|
26627
26756
|
attention?: boolean;
|
|
26757
|
+
/**
|
|
26758
|
+
* Repeatable board column filter: needs_you, working, in_review, done
|
|
26759
|
+
*/
|
|
26760
|
+
board_column?: Array<string>;
|
|
26628
26761
|
/**
|
|
26629
26762
|
* Filter by comma-separated exact session badges
|
|
26630
26763
|
*/
|
|
@@ -26872,6 +27005,10 @@ export type ArchiveSessionData = {
|
|
|
26872
27005
|
session_id: string;
|
|
26873
27006
|
};
|
|
26874
27007
|
query?: {
|
|
27008
|
+
/**
|
|
27009
|
+
* Stop a live session through the normal stop path before archiving it; a failed stop leaves it unarchived
|
|
27010
|
+
*/
|
|
27011
|
+
stop?: boolean;
|
|
26875
27012
|
/**
|
|
26876
27013
|
* Act as this profile by name
|
|
26877
27014
|
*/
|
|
@@ -26880,12 +27017,16 @@ export type ArchiveSessionData = {
|
|
|
26880
27017
|
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/archive";
|
|
26881
27018
|
};
|
|
26882
27019
|
export type ArchiveSessionErrors = {
|
|
27020
|
+
/**
|
|
27021
|
+
* Invalid archive request
|
|
27022
|
+
*/
|
|
27023
|
+
400: ErrorPayload;
|
|
26883
27024
|
/**
|
|
26884
27025
|
* Session not found
|
|
26885
27026
|
*/
|
|
26886
27027
|
404: ErrorPayload;
|
|
26887
27028
|
/**
|
|
26888
|
-
* Session must be stopped before archiving
|
|
27029
|
+
* Session must be stopped before archiving, or the requested stop failed
|
|
26889
27030
|
*/
|
|
26890
27031
|
409: ErrorPayload;
|
|
26891
27032
|
/**
|
|
@@ -28009,6 +28150,109 @@ export type MoveSessionResponses = {
|
|
|
28009
28150
|
200: SessionFoldersResponse;
|
|
28010
28151
|
};
|
|
28011
28152
|
export type MoveSessionResponse = MoveSessionResponses[keyof MoveSessionResponses];
|
|
28153
|
+
export type ClearSessionParentData = {
|
|
28154
|
+
body?: never;
|
|
28155
|
+
path: {
|
|
28156
|
+
/**
|
|
28157
|
+
* Workspace id
|
|
28158
|
+
*/
|
|
28159
|
+
workspace_id: string;
|
|
28160
|
+
/**
|
|
28161
|
+
* Session id
|
|
28162
|
+
*/
|
|
28163
|
+
session_id: string;
|
|
28164
|
+
};
|
|
28165
|
+
query?: {
|
|
28166
|
+
/**
|
|
28167
|
+
* Act as this profile by name
|
|
28168
|
+
*/
|
|
28169
|
+
profile?: string;
|
|
28170
|
+
};
|
|
28171
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/parent";
|
|
28172
|
+
};
|
|
28173
|
+
export type ClearSessionParentErrors = {
|
|
28174
|
+
/**
|
|
28175
|
+
* Invalid reparent request
|
|
28176
|
+
*/
|
|
28177
|
+
400: ErrorPayload;
|
|
28178
|
+
/**
|
|
28179
|
+
* Session not found
|
|
28180
|
+
*/
|
|
28181
|
+
404: ErrorPayload;
|
|
28182
|
+
/**
|
|
28183
|
+
* Reparent refused by a lineage rule; code names the rule
|
|
28184
|
+
*/
|
|
28185
|
+
409: ErrorPayload;
|
|
28186
|
+
/**
|
|
28187
|
+
* Internal server error
|
|
28188
|
+
*/
|
|
28189
|
+
500: ErrorPayload;
|
|
28190
|
+
/**
|
|
28191
|
+
* Session reparent unavailable
|
|
28192
|
+
*/
|
|
28193
|
+
503: ErrorPayload;
|
|
28194
|
+
};
|
|
28195
|
+
export type ClearSessionParentError = ClearSessionParentErrors[keyof ClearSessionParentErrors];
|
|
28196
|
+
export type ClearSessionParentResponses = {
|
|
28197
|
+
/**
|
|
28198
|
+
* OK
|
|
28199
|
+
*/
|
|
28200
|
+
200: SessionResponse;
|
|
28201
|
+
};
|
|
28202
|
+
export type ClearSessionParentResponse = ClearSessionParentResponses[keyof ClearSessionParentResponses];
|
|
28203
|
+
export type SetSessionParentData = {
|
|
28204
|
+
/**
|
|
28205
|
+
* JSON request body
|
|
28206
|
+
*/
|
|
28207
|
+
body: SetSessionParentRequest;
|
|
28208
|
+
path: {
|
|
28209
|
+
/**
|
|
28210
|
+
* Workspace id
|
|
28211
|
+
*/
|
|
28212
|
+
workspace_id: string;
|
|
28213
|
+
/**
|
|
28214
|
+
* Session id
|
|
28215
|
+
*/
|
|
28216
|
+
session_id: string;
|
|
28217
|
+
};
|
|
28218
|
+
query?: {
|
|
28219
|
+
/**
|
|
28220
|
+
* Act as this profile by name
|
|
28221
|
+
*/
|
|
28222
|
+
profile?: string;
|
|
28223
|
+
};
|
|
28224
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/parent";
|
|
28225
|
+
};
|
|
28226
|
+
export type SetSessionParentErrors = {
|
|
28227
|
+
/**
|
|
28228
|
+
* Invalid reparent request
|
|
28229
|
+
*/
|
|
28230
|
+
400: ErrorPayload;
|
|
28231
|
+
/**
|
|
28232
|
+
* Session not found
|
|
28233
|
+
*/
|
|
28234
|
+
404: ErrorPayload;
|
|
28235
|
+
/**
|
|
28236
|
+
* Reparent refused by a lineage rule; code names the rule
|
|
28237
|
+
*/
|
|
28238
|
+
409: ErrorPayload;
|
|
28239
|
+
/**
|
|
28240
|
+
* Internal server error
|
|
28241
|
+
*/
|
|
28242
|
+
500: ErrorPayload;
|
|
28243
|
+
/**
|
|
28244
|
+
* Session reparent unavailable
|
|
28245
|
+
*/
|
|
28246
|
+
503: ErrorPayload;
|
|
28247
|
+
};
|
|
28248
|
+
export type SetSessionParentError = SetSessionParentErrors[keyof SetSessionParentErrors];
|
|
28249
|
+
export type SetSessionParentResponses = {
|
|
28250
|
+
/**
|
|
28251
|
+
* OK
|
|
28252
|
+
*/
|
|
28253
|
+
200: SessionResponse;
|
|
28254
|
+
};
|
|
28255
|
+
export type SetSessionParentResponse = SetSessionParentResponses[keyof SetSessionParentResponses];
|
|
28012
28256
|
export type UpdateSessionPresenceData = {
|
|
28013
28257
|
/**
|
|
28014
28258
|
* JSON request body
|
|
@@ -31576,6 +31820,47 @@ export type CancelWorktreeExitActionResponses = {
|
|
|
31576
31820
|
204: void;
|
|
31577
31821
|
};
|
|
31578
31822
|
export type CancelWorktreeExitActionResponse = CancelWorktreeExitActionResponses[keyof CancelWorktreeExitActionResponses];
|
|
31823
|
+
export type PrepareWorktreeExitPlanData = {
|
|
31824
|
+
body?: never;
|
|
31825
|
+
path: {
|
|
31826
|
+
/**
|
|
31827
|
+
* Workspace id or path
|
|
31828
|
+
*/
|
|
31829
|
+
workspace_id: string;
|
|
31830
|
+
/**
|
|
31831
|
+
* Worktree id, name, or path
|
|
31832
|
+
*/
|
|
31833
|
+
worktree_id: string;
|
|
31834
|
+
};
|
|
31835
|
+
query?: never;
|
|
31836
|
+
url: "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/exit/prepare";
|
|
31837
|
+
};
|
|
31838
|
+
export type PrepareWorktreeExitPlanErrors = {
|
|
31839
|
+
/**
|
|
31840
|
+
* Worktree or workspace not found
|
|
31841
|
+
*/
|
|
31842
|
+
404: ErrorPayload;
|
|
31843
|
+
/**
|
|
31844
|
+
* Worktree exit plan is unavailable
|
|
31845
|
+
*/
|
|
31846
|
+
409: ErrorPayload;
|
|
31847
|
+
/**
|
|
31848
|
+
* Internal server error
|
|
31849
|
+
*/
|
|
31850
|
+
500: ErrorPayload;
|
|
31851
|
+
/**
|
|
31852
|
+
* Worktree service is unavailable
|
|
31853
|
+
*/
|
|
31854
|
+
503: ErrorPayload;
|
|
31855
|
+
};
|
|
31856
|
+
export type PrepareWorktreeExitPlanError = PrepareWorktreeExitPlanErrors[keyof PrepareWorktreeExitPlanErrors];
|
|
31857
|
+
export type PrepareWorktreeExitPlanResponses = {
|
|
31858
|
+
/**
|
|
31859
|
+
* OK
|
|
31860
|
+
*/
|
|
31861
|
+
200: WorktreeExitPlanResponse;
|
|
31862
|
+
};
|
|
31863
|
+
export type PrepareWorktreeExitPlanResponse = PrepareWorktreeExitPlanResponses[keyof PrepareWorktreeExitPlanResponses];
|
|
31579
31864
|
export type GetWorktreeStatusData = {
|
|
31580
31865
|
body?: never;
|
|
31581
31866
|
path: {
|