@compozy/client 0.7.3 → 0.7.4

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.
@@ -4192,13 +4192,30 @@ export type MCPReloadRecord = {
4192
4192
  outcome: string;
4193
4193
  reason: string;
4194
4194
  };
4195
+ export type MCPServerApproval = {
4196
+ definition_digest: string;
4197
+ reason?: string;
4198
+ };
4195
4199
  export type MCPServerRow = {
4200
+ approval?: MCPServerApproval | null;
4201
+ args?: Array<string>;
4196
4202
  callable_count: number;
4203
+ command?: string;
4197
4204
  name: string;
4198
4205
  owner: string;
4206
+ profile?: string;
4199
4207
  reason: string;
4208
+ scope?: string;
4209
+ source: MCPServerSource;
4200
4210
  state: string;
4201
4211
  tool_count: number;
4212
+ transport?: string;
4213
+ url?: string;
4214
+ workspace_id?: string;
4215
+ };
4216
+ export type MCPServerSource = {
4217
+ kind: string;
4218
+ path?: string;
4202
4219
  };
4203
4220
  export type MCPServerStatusPayload = {
4204
4221
  auth_status?: string;
@@ -7450,6 +7467,7 @@ export type SettingsMCPServerItemPayload = {
7450
7467
  catalog_entry?: string;
7451
7468
  catalog_version?: string;
7452
7469
  command?: string;
7470
+ definition_source?: string;
7453
7471
  env_keys?: Array<string>;
7454
7472
  headers_configured?: boolean;
7455
7473
  name: string;
@@ -9703,7 +9721,7 @@ export type ToolCallEventPayload = {
9703
9721
  destructive: boolean;
9704
9722
  display_title?: string;
9705
9723
  duration_ms?: number;
9706
- 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" | "provider_disabled" | "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";
9724
+ error_code?: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "daemon_starting" | "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" | "provider_disabled" | "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";
9707
9725
  input_digest?: string;
9708
9726
  kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
9709
9727
  open_world: boolean;
@@ -9759,7 +9777,7 @@ export type ToolDescriptorPayload = {
9759
9777
  };
9760
9778
  export type ToolErrorPayload = {
9761
9779
  client_message_id?: string;
9762
- 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" | "provider_disabled" | "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";
9780
+ code: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "daemon_starting" | "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" | "provider_disabled" | "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";
9763
9781
  details?: {
9764
9782
  [key: string]: unknown;
9765
9783
  };
@@ -23742,6 +23760,68 @@ export type GetSettingsMCPAuthStatusResponses = {
23742
23760
  200: SettingsMCPAuthStatusPayload;
23743
23761
  };
23744
23762
  export type GetSettingsMCPAuthStatusResponse = GetSettingsMCPAuthStatusResponses[keyof GetSettingsMCPAuthStatusResponses];
23763
+ export type CheckSettingsMCPServerData = {
23764
+ body?: never;
23765
+ path: {
23766
+ /**
23767
+ * Configured MCP server name
23768
+ */
23769
+ name: string;
23770
+ };
23771
+ query: {
23772
+ /**
23773
+ * Exact MCP settings scope
23774
+ */
23775
+ scope: "user" | "profile" | "workspace";
23776
+ /**
23777
+ * Required when scope is workspace
23778
+ */
23779
+ workspace_id?: string;
23780
+ /**
23781
+ * Required when scope is profile
23782
+ */
23783
+ profile?: string;
23784
+ /**
23785
+ * Definition owner: manual or extension:<name>; omitted owner selects manual
23786
+ */
23787
+ owner?: string;
23788
+ };
23789
+ url: "/api/settings/mcp-servers/{name}/check";
23790
+ };
23791
+ export type CheckSettingsMCPServerErrors = {
23792
+ /**
23793
+ * Invalid MCP check request or disabled source
23794
+ */
23795
+ 400: ErrorPayload;
23796
+ /**
23797
+ * Forbidden
23798
+ */
23799
+ 403: ErrorPayload;
23800
+ /**
23801
+ * MCP server or workspace not found
23802
+ */
23803
+ 404: ErrorPayload;
23804
+ /**
23805
+ * MCP check canceled by client
23806
+ */
23807
+ 499: ErrorPayload;
23808
+ /**
23809
+ * Internal server error
23810
+ */
23811
+ 500: ErrorPayload;
23812
+ /**
23813
+ * MCP check runtime unavailable
23814
+ */
23815
+ 503: ErrorPayload;
23816
+ };
23817
+ export type CheckSettingsMCPServerError = CheckSettingsMCPServerErrors[keyof CheckSettingsMCPServerErrors];
23818
+ export type CheckSettingsMCPServerResponses = {
23819
+ /**
23820
+ * MCP check result
23821
+ */
23822
+ 200: SettingsMCPServerItemPayload;
23823
+ };
23824
+ export type CheckSettingsMCPServerResponse = CheckSettingsMCPServerResponses[keyof CheckSettingsMCPServerResponses];
23745
23825
  export type GetSettingsObservabilityData = {
23746
23826
  body?: never;
23747
23827
  path?: never;
@@ -34778,6 +34858,68 @@ export type GetSessionMCPResponses = {
34778
34858
  200: SessionMCP;
34779
34859
  };
34780
34860
  export type GetSessionMCPResponse = GetSessionMCPResponses[keyof GetSessionMCPResponses];
34861
+ export type CheckSessionMCPData = {
34862
+ body?: never;
34863
+ path: {
34864
+ /**
34865
+ * Workspace id
34866
+ */
34867
+ workspace_id: string;
34868
+ /**
34869
+ * Session id
34870
+ */
34871
+ session_id: string;
34872
+ /**
34873
+ * Configured MCP server name
34874
+ */
34875
+ name: string;
34876
+ };
34877
+ query?: {
34878
+ /**
34879
+ * Definition owner; omitted owner selects manual
34880
+ */
34881
+ owner?: string;
34882
+ /**
34883
+ * Act as this profile by name
34884
+ */
34885
+ profile?: string;
34886
+ };
34887
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/mcp/servers/{name}/check";
34888
+ };
34889
+ export type CheckSessionMCPErrors = {
34890
+ /**
34891
+ * Invalid MCP check request or disabled source
34892
+ */
34893
+ 400: ErrorPayload;
34894
+ /**
34895
+ * Forbidden
34896
+ */
34897
+ 403: ErrorPayload;
34898
+ /**
34899
+ * MCP server or workspace not found
34900
+ */
34901
+ 404: ErrorPayload;
34902
+ /**
34903
+ * MCP check canceled by client
34904
+ */
34905
+ 499: ErrorPayload;
34906
+ /**
34907
+ * Internal server error
34908
+ */
34909
+ 500: ErrorPayload;
34910
+ /**
34911
+ * MCP check runtime unavailable
34912
+ */
34913
+ 503: ErrorPayload;
34914
+ };
34915
+ export type CheckSessionMCPError = CheckSessionMCPErrors[keyof CheckSessionMCPErrors];
34916
+ export type CheckSessionMCPResponses = {
34917
+ /**
34918
+ * MCP check result
34919
+ */
34920
+ 200: SessionMCP;
34921
+ };
34922
+ export type CheckSessionMCPResponse = CheckSessionMCPResponses[keyof CheckSessionMCPResponses];
34781
34923
  export type ListSessionMonitorsData = {
34782
34924
  body?: never;
34783
34925
  path: {