@compozy/client 0.3.0-beta.39 → 0.4.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.
@@ -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: string;
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: string;
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
  };
@@ -9031,6 +9096,7 @@ export type WorktreePolicy = {
9031
9096
  export type WorktreeRemovalRefusalPayload = {
9032
9097
  code: string;
9033
9098
  downgrade: boolean;
9099
+ error?: string;
9034
9100
  risk: WorktreeRemovalRiskPayload;
9035
9101
  };
9036
9102
  export type WorktreeRemovalRiskPayload = {
@@ -9038,6 +9104,7 @@ export type WorktreeRemovalRiskPayload = {
9038
9104
  deletions: number;
9039
9105
  exists_on_remote: boolean;
9040
9106
  insertions: number;
9107
+ leftover_files: number;
9041
9108
  unpushed_commits: number;
9042
9109
  };
9043
9110
  export type WorktreeRepoPayload = {
@@ -17342,6 +17409,10 @@ export type ListSessionsData = {
17342
17409
  * Subagent session visibility (default include)
17343
17410
  */
17344
17411
  subagents?: "include" | "exclude" | "only";
17412
+ /**
17413
+ * Managed child visibility
17414
+ */
17415
+ children?: "include" | "exclude";
17345
17416
  /**
17346
17417
  * Filter by exact parent session id
17347
17418
  */
@@ -17370,6 +17441,10 @@ export type ListSessionsData = {
17370
17441
  * Only list sessions in the needs-you attention class
17371
17442
  */
17372
17443
  attention?: boolean;
17444
+ /**
17445
+ * Repeatable board column filter: needs_you, working, in_review, done
17446
+ */
17447
+ board_column?: Array<string>;
17373
17448
  /**
17374
17449
  * Filter by comma-separated exact session badges
17375
17450
  */
@@ -17531,6 +17606,10 @@ export type ListSessionFacetsData = {
17531
17606
  * Subagent session visibility (default include)
17532
17607
  */
17533
17608
  subagents?: "include" | "exclude" | "only";
17609
+ /**
17610
+ * Managed child visibility
17611
+ */
17612
+ children?: "include" | "exclude";
17534
17613
  /**
17535
17614
  * Filter by exact parent session id
17536
17615
  */
@@ -17807,6 +17886,44 @@ export type GetSessionOwnerResponses = {
17807
17886
  200: SessionOwner;
17808
17887
  };
17809
17888
  export type GetSessionOwnerResponse = GetSessionOwnerResponses[keyof GetSessionOwnerResponses];
17889
+ export type RefreshSessionPullRequestData = {
17890
+ body?: never;
17891
+ path: {
17892
+ /**
17893
+ * Session id
17894
+ */
17895
+ session_id: string;
17896
+ };
17897
+ query?: {
17898
+ /**
17899
+ * Act as this profile by name
17900
+ */
17901
+ profile?: string;
17902
+ };
17903
+ url: "/api/sessions/{session_id}/pull-request/refresh";
17904
+ };
17905
+ export type RefreshSessionPullRequestErrors = {
17906
+ /**
17907
+ * Session not found
17908
+ */
17909
+ 404: ErrorPayload;
17910
+ /**
17911
+ * Session branch unavailable
17912
+ */
17913
+ 409: SessionPullRequestErrorPayload;
17914
+ /**
17915
+ * Forge unavailable without cached facts
17916
+ */
17917
+ 502: SessionPullRequestErrorPayload;
17918
+ };
17919
+ export type RefreshSessionPullRequestError = RefreshSessionPullRequestErrors[keyof RefreshSessionPullRequestErrors];
17920
+ export type RefreshSessionPullRequestResponses = {
17921
+ /**
17922
+ * Refreshed or retained cached facts
17923
+ */
17924
+ 200: SessionPullRequestResponse;
17925
+ };
17926
+ export type RefreshSessionPullRequestResponse = RefreshSessionPullRequestResponses[keyof RefreshSessionPullRequestResponses];
17810
17927
  export type GetGlobalSessionStatusData = {
17811
17928
  body?: never;
17812
17929
  path: {
@@ -26607,6 +26724,10 @@ export type ListWorkspaceSessionsData = {
26607
26724
  * Subagent session visibility (default include)
26608
26725
  */
26609
26726
  subagents?: "include" | "exclude" | "only";
26727
+ /**
26728
+ * Managed child visibility
26729
+ */
26730
+ children?: "include" | "exclude";
26610
26731
  /**
26611
26732
  * Filter by exact parent session id
26612
26733
  */
@@ -26635,6 +26756,10 @@ export type ListWorkspaceSessionsData = {
26635
26756
  * Only list sessions in the needs-you attention class
26636
26757
  */
26637
26758
  attention?: boolean;
26759
+ /**
26760
+ * Repeatable board column filter: needs_you, working, in_review, done
26761
+ */
26762
+ board_column?: Array<string>;
26638
26763
  /**
26639
26764
  * Filter by comma-separated exact session badges
26640
26765
  */
@@ -27908,10 +28033,23 @@ export type ListSessionMonitorsData = {
27908
28033
  */
27909
28034
  session_id: string;
27910
28035
  };
27911
- query?: never;
28036
+ query?: {
28037
+ /**
28038
+ * Read one profile's rows by name
28039
+ */
28040
+ profile?: string;
28041
+ /**
28042
+ * Read the owner-labeled all-profiles aggregate
28043
+ */
28044
+ all_profiles?: boolean;
28045
+ };
27912
28046
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors";
27913
28047
  };
27914
28048
  export type ListSessionMonitorsErrors = {
28049
+ /**
28050
+ * Invalid profile selection
28051
+ */
28052
+ 400: ProfileErrorPayload;
27915
28053
  /**
27916
28054
  * Session or monitor not found
27917
28055
  */
@@ -27949,10 +28087,19 @@ export type CancelSessionMonitorData = {
27949
28087
  */
27950
28088
  monitor_id: string;
27951
28089
  };
27952
- query?: never;
28090
+ query?: {
28091
+ /**
28092
+ * Act as this profile by name
28093
+ */
28094
+ profile?: string;
28095
+ };
27953
28096
  url: "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors/{monitor_id}/cancel";
27954
28097
  };
27955
28098
  export type CancelSessionMonitorErrors = {
28099
+ /**
28100
+ * Invalid profile selection
28101
+ */
28102
+ 400: ProfileErrorPayload;
27956
28103
  /**
27957
28104
  * Session or monitor not found
27958
28105
  */
@@ -31697,6 +31844,47 @@ export type CancelWorktreeExitActionResponses = {
31697
31844
  204: void;
31698
31845
  };
31699
31846
  export type CancelWorktreeExitActionResponse = CancelWorktreeExitActionResponses[keyof CancelWorktreeExitActionResponses];
31847
+ export type PrepareWorktreeExitPlanData = {
31848
+ body?: never;
31849
+ path: {
31850
+ /**
31851
+ * Workspace id or path
31852
+ */
31853
+ workspace_id: string;
31854
+ /**
31855
+ * Worktree id, name, or path
31856
+ */
31857
+ worktree_id: string;
31858
+ };
31859
+ query?: never;
31860
+ url: "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/exit/prepare";
31861
+ };
31862
+ export type PrepareWorktreeExitPlanErrors = {
31863
+ /**
31864
+ * Worktree or workspace not found
31865
+ */
31866
+ 404: ErrorPayload;
31867
+ /**
31868
+ * Worktree exit plan is unavailable
31869
+ */
31870
+ 409: ErrorPayload;
31871
+ /**
31872
+ * Internal server error
31873
+ */
31874
+ 500: ErrorPayload;
31875
+ /**
31876
+ * Worktree service is unavailable
31877
+ */
31878
+ 503: ErrorPayload;
31879
+ };
31880
+ export type PrepareWorktreeExitPlanError = PrepareWorktreeExitPlanErrors[keyof PrepareWorktreeExitPlanErrors];
31881
+ export type PrepareWorktreeExitPlanResponses = {
31882
+ /**
31883
+ * OK
31884
+ */
31885
+ 200: WorktreeExitPlanResponse;
31886
+ };
31887
+ export type PrepareWorktreeExitPlanResponse = PrepareWorktreeExitPlanResponses[keyof PrepareWorktreeExitPlanResponses];
31700
31888
  export type GetWorktreeStatusData = {
31701
31889
  body?: never;
31702
31890
  path: {