@compozy/client 0.3.0-beta.39 → 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 +20 -0
- 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 +20 -0
- 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 +291 -6
- 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 +9 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +168 -4
- 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;
|
|
@@ -5628,7 +5693,7 @@ export type SessionStatusResponse = {
|
|
|
5628
5693
|
agent_name: string;
|
|
5629
5694
|
attachable: boolean;
|
|
5630
5695
|
attention?: string;
|
|
5631
|
-
badge:
|
|
5696
|
+
badge: "running" | "idle" | "unhealthy" | "hung" | "waiting-for-auth" | "waiting-for-input" | "done" | "stopped" | "failed" | "unknown" | "needs-attention" | "waiting";
|
|
5632
5697
|
derivation?: SessionDerivationPayload | null;
|
|
5633
5698
|
eligible_for_wake: boolean;
|
|
5634
5699
|
escalated?: boolean | null;
|
|
@@ -6750,7 +6815,7 @@ export type SettingsWindowManagerSnapPayload = {
|
|
|
6750
6815
|
};
|
|
6751
6816
|
export type SignalSourceState = {
|
|
6752
6817
|
error?: string;
|
|
6753
|
-
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";
|
|
6754
6819
|
ref?: string;
|
|
6755
6820
|
state: string;
|
|
6756
6821
|
};
|
|
@@ -8831,7 +8896,7 @@ export type WindowManagerWindow = {
|
|
|
8831
8896
|
zoomed: boolean;
|
|
8832
8897
|
};
|
|
8833
8898
|
export type WorkSignal = {
|
|
8834
|
-
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";
|
|
8835
8900
|
ref?: string;
|
|
8836
8901
|
since: string;
|
|
8837
8902
|
};
|
|
@@ -17342,6 +17407,10 @@ export type ListSessionsData = {
|
|
|
17342
17407
|
* Subagent session visibility (default include)
|
|
17343
17408
|
*/
|
|
17344
17409
|
subagents?: "include" | "exclude" | "only";
|
|
17410
|
+
/**
|
|
17411
|
+
* Managed child visibility
|
|
17412
|
+
*/
|
|
17413
|
+
children?: "include" | "exclude";
|
|
17345
17414
|
/**
|
|
17346
17415
|
* Filter by exact parent session id
|
|
17347
17416
|
*/
|
|
@@ -17370,6 +17439,10 @@ export type ListSessionsData = {
|
|
|
17370
17439
|
* Only list sessions in the needs-you attention class
|
|
17371
17440
|
*/
|
|
17372
17441
|
attention?: boolean;
|
|
17442
|
+
/**
|
|
17443
|
+
* Repeatable board column filter: needs_you, working, in_review, done
|
|
17444
|
+
*/
|
|
17445
|
+
board_column?: Array<string>;
|
|
17373
17446
|
/**
|
|
17374
17447
|
* Filter by comma-separated exact session badges
|
|
17375
17448
|
*/
|
|
@@ -17531,6 +17604,10 @@ export type ListSessionFacetsData = {
|
|
|
17531
17604
|
* Subagent session visibility (default include)
|
|
17532
17605
|
*/
|
|
17533
17606
|
subagents?: "include" | "exclude" | "only";
|
|
17607
|
+
/**
|
|
17608
|
+
* Managed child visibility
|
|
17609
|
+
*/
|
|
17610
|
+
children?: "include" | "exclude";
|
|
17534
17611
|
/**
|
|
17535
17612
|
* Filter by exact parent session id
|
|
17536
17613
|
*/
|
|
@@ -17807,6 +17884,44 @@ export type GetSessionOwnerResponses = {
|
|
|
17807
17884
|
200: SessionOwner;
|
|
17808
17885
|
};
|
|
17809
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];
|
|
17810
17925
|
export type GetGlobalSessionStatusData = {
|
|
17811
17926
|
body?: never;
|
|
17812
17927
|
path: {
|
|
@@ -26607,6 +26722,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
26607
26722
|
* Subagent session visibility (default include)
|
|
26608
26723
|
*/
|
|
26609
26724
|
subagents?: "include" | "exclude" | "only";
|
|
26725
|
+
/**
|
|
26726
|
+
* Managed child visibility
|
|
26727
|
+
*/
|
|
26728
|
+
children?: "include" | "exclude";
|
|
26610
26729
|
/**
|
|
26611
26730
|
* Filter by exact parent session id
|
|
26612
26731
|
*/
|
|
@@ -26635,6 +26754,10 @@ export type ListWorkspaceSessionsData = {
|
|
|
26635
26754
|
* Only list sessions in the needs-you attention class
|
|
26636
26755
|
*/
|
|
26637
26756
|
attention?: boolean;
|
|
26757
|
+
/**
|
|
26758
|
+
* Repeatable board column filter: needs_you, working, in_review, done
|
|
26759
|
+
*/
|
|
26760
|
+
board_column?: Array<string>;
|
|
26638
26761
|
/**
|
|
26639
26762
|
* Filter by comma-separated exact session badges
|
|
26640
26763
|
*/
|
|
@@ -31697,6 +31820,47 @@ export type CancelWorktreeExitActionResponses = {
|
|
|
31697
31820
|
204: void;
|
|
31698
31821
|
};
|
|
31699
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];
|
|
31700
31864
|
export type GetWorktreeStatusData = {
|
|
31701
31865
|
body?: never;
|
|
31702
31866
|
path: {
|