@compozy/client 0.7.2 → 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.
- package/dist/cjs/generated/sdk/sdk.gen.js +21 -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 +21 -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 +231 -1
- 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 +10 -2
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +148 -2
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1749,6 +1749,7 @@ export type DaemonIdentityPayload = {
|
|
|
1749
1749
|
http_host: string;
|
|
1750
1750
|
http_port: number;
|
|
1751
1751
|
pid: number;
|
|
1752
|
+
readiness?: DaemonReadinessPayload | null;
|
|
1752
1753
|
started_at: string;
|
|
1753
1754
|
user_home_dir: string;
|
|
1754
1755
|
version: string;
|
|
@@ -4191,13 +4192,30 @@ export type MCPReloadRecord = {
|
|
|
4191
4192
|
outcome: string;
|
|
4192
4193
|
reason: string;
|
|
4193
4194
|
};
|
|
4195
|
+
export type MCPServerApproval = {
|
|
4196
|
+
definition_digest: string;
|
|
4197
|
+
reason?: string;
|
|
4198
|
+
};
|
|
4194
4199
|
export type MCPServerRow = {
|
|
4200
|
+
approval?: MCPServerApproval | null;
|
|
4201
|
+
args?: Array<string>;
|
|
4195
4202
|
callable_count: number;
|
|
4203
|
+
command?: string;
|
|
4196
4204
|
name: string;
|
|
4197
4205
|
owner: string;
|
|
4206
|
+
profile?: string;
|
|
4198
4207
|
reason: string;
|
|
4208
|
+
scope?: string;
|
|
4209
|
+
source: MCPServerSource;
|
|
4199
4210
|
state: string;
|
|
4200
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;
|
|
4201
4219
|
};
|
|
4202
4220
|
export type MCPServerStatusPayload = {
|
|
4203
4221
|
auth_status?: string;
|
|
@@ -5623,6 +5641,9 @@ export type RunOutcome = {
|
|
|
5623
5641
|
actor_ref?: string;
|
|
5624
5642
|
at: string;
|
|
5625
5643
|
cause: string;
|
|
5644
|
+
message?: string;
|
|
5645
|
+
node_id?: string;
|
|
5646
|
+
reason_code?: string;
|
|
5626
5647
|
status: string;
|
|
5627
5648
|
};
|
|
5628
5649
|
export type RunPayload = {
|
|
@@ -7446,6 +7467,7 @@ export type SettingsMCPServerItemPayload = {
|
|
|
7446
7467
|
catalog_entry?: string;
|
|
7447
7468
|
catalog_version?: string;
|
|
7448
7469
|
command?: string;
|
|
7470
|
+
definition_source?: string;
|
|
7449
7471
|
env_keys?: Array<string>;
|
|
7450
7472
|
headers_configured?: boolean;
|
|
7451
7473
|
name: string;
|
|
@@ -9699,7 +9721,7 @@ export type ToolCallEventPayload = {
|
|
|
9699
9721
|
destructive: boolean;
|
|
9700
9722
|
display_title?: string;
|
|
9701
9723
|
duration_ms?: number;
|
|
9702
|
-
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";
|
|
9703
9725
|
input_digest?: string;
|
|
9704
9726
|
kind: "tool.call_started" | "tool.call_completed" | "tool.call_failed" | "tool.call_denied" | "tool.result_truncated";
|
|
9705
9727
|
open_world: boolean;
|
|
@@ -9755,7 +9777,7 @@ export type ToolDescriptorPayload = {
|
|
|
9755
9777
|
};
|
|
9756
9778
|
export type ToolErrorPayload = {
|
|
9757
9779
|
client_message_id?: string;
|
|
9758
|
-
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";
|
|
9759
9781
|
details?: {
|
|
9760
9782
|
[key: string]: unknown;
|
|
9761
9783
|
};
|
|
@@ -23738,6 +23760,68 @@ export type GetSettingsMCPAuthStatusResponses = {
|
|
|
23738
23760
|
200: SettingsMCPAuthStatusPayload;
|
|
23739
23761
|
};
|
|
23740
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];
|
|
23741
23825
|
export type GetSettingsObservabilityData = {
|
|
23742
23826
|
body?: never;
|
|
23743
23827
|
path?: never;
|
|
@@ -34774,6 +34858,68 @@ export type GetSessionMCPResponses = {
|
|
|
34774
34858
|
200: SessionMCP;
|
|
34775
34859
|
};
|
|
34776
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];
|
|
34777
34923
|
export type ListSessionMonitorsData = {
|
|
34778
34924
|
body?: never;
|
|
34779
34925
|
path: {
|