@compozy/client 0.5.1 → 0.5.3
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 +14 -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 +14 -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 +206 -9
- 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 +5 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +192 -11
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +3 -0
- 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
|
@@ -502,6 +502,23 @@ export interface paths {
|
|
|
502
502
|
patch?: never;
|
|
503
503
|
trace?: never;
|
|
504
504
|
};
|
|
505
|
+
"/api/agents/activity": {
|
|
506
|
+
parameters: {
|
|
507
|
+
query?: never;
|
|
508
|
+
header?: never;
|
|
509
|
+
path?: never;
|
|
510
|
+
cookie?: never;
|
|
511
|
+
};
|
|
512
|
+
get?: never;
|
|
513
|
+
put?: never;
|
|
514
|
+
/** Read activity for up to 100 agent and workspace selections in request order */
|
|
515
|
+
post: operations["batchAgentActivity"];
|
|
516
|
+
delete?: never;
|
|
517
|
+
options?: never;
|
|
518
|
+
head?: never;
|
|
519
|
+
patch?: never;
|
|
520
|
+
trace?: never;
|
|
521
|
+
};
|
|
505
522
|
"/api/agents/aggregate": {
|
|
506
523
|
parameters: {
|
|
507
524
|
query?: never;
|
|
@@ -7839,11 +7856,22 @@ export interface components {
|
|
|
7839
7856
|
id: string;
|
|
7840
7857
|
value_id?: string;
|
|
7841
7858
|
};
|
|
7859
|
+
AgentActivityBatchRequest: {
|
|
7860
|
+
days?: number;
|
|
7861
|
+
items: components["schemas"]["AgentActivitySelection"][];
|
|
7862
|
+
};
|
|
7863
|
+
AgentActivityBatchResponse: {
|
|
7864
|
+
activities: components["schemas"]["AgentActivityResponse"][];
|
|
7865
|
+
};
|
|
7842
7866
|
AgentActivityResponse: {
|
|
7843
7867
|
busy_by_hour: components["schemas"]["ActivityHour"][];
|
|
7844
7868
|
cost_by_project: components["schemas"]["ActivityCost"][];
|
|
7845
7869
|
reports_by_day: components["schemas"]["ActivityDay"][];
|
|
7846
7870
|
};
|
|
7871
|
+
AgentActivitySelection: {
|
|
7872
|
+
name: string;
|
|
7873
|
+
workspaces: string[];
|
|
7874
|
+
};
|
|
7847
7875
|
AgentCapabilityPayload: {
|
|
7848
7876
|
id: string;
|
|
7849
7877
|
source?: string;
|
|
@@ -7916,6 +7944,7 @@ export interface components {
|
|
|
7916
7944
|
AgentEffectiveRuntimePayload: {
|
|
7917
7945
|
acp_options?: components["schemas"]["AgentACPOptionSelection"][];
|
|
7918
7946
|
model?: string;
|
|
7947
|
+
permissions?: string;
|
|
7919
7948
|
provider: string;
|
|
7920
7949
|
reasoning_effort?: string;
|
|
7921
7950
|
session_env?: {
|
|
@@ -7928,6 +7957,7 @@ export interface components {
|
|
|
7928
7957
|
};
|
|
7929
7958
|
AgentEffectiveRuntimeSources: {
|
|
7930
7959
|
model?: string;
|
|
7960
|
+
permissions?: string;
|
|
7931
7961
|
provider: string;
|
|
7932
7962
|
reasoning_effort?: string;
|
|
7933
7963
|
speed?: string;
|
|
@@ -8125,17 +8155,46 @@ export interface components {
|
|
|
8125
8155
|
max_spawn_depth: number;
|
|
8126
8156
|
spawn_blocked_reason?: string;
|
|
8127
8157
|
};
|
|
8158
|
+
AgentMCPServerInput: {
|
|
8159
|
+
args?: string[];
|
|
8160
|
+
auth?: components["schemas"]["SettingsMCPAuthConfigPayload"] | null;
|
|
8161
|
+
command?: string;
|
|
8162
|
+
env?: {
|
|
8163
|
+
[key: string]: string;
|
|
8164
|
+
};
|
|
8165
|
+
name: string;
|
|
8166
|
+
reference?: boolean;
|
|
8167
|
+
secret_env?: {
|
|
8168
|
+
[key: string]: string;
|
|
8169
|
+
};
|
|
8170
|
+
secret_env_values?: {
|
|
8171
|
+
[key: string]: string;
|
|
8172
|
+
};
|
|
8173
|
+
secret_header_values?: {
|
|
8174
|
+
[key: string]: string;
|
|
8175
|
+
};
|
|
8176
|
+
secret_headers?: {
|
|
8177
|
+
[key: string]: string;
|
|
8178
|
+
};
|
|
8179
|
+
transport?: string;
|
|
8180
|
+
url?: string;
|
|
8181
|
+
};
|
|
8128
8182
|
AgentMCPServerJSON: {
|
|
8129
8183
|
args?: string[];
|
|
8130
8184
|
auth?: components["schemas"]["SettingsMCPAuthConfigViewPayload"] | null;
|
|
8185
|
+
broken_reference?: boolean;
|
|
8131
8186
|
command?: string;
|
|
8132
8187
|
env?: {
|
|
8133
8188
|
[key: string]: string;
|
|
8134
8189
|
};
|
|
8135
8190
|
name: string;
|
|
8191
|
+
reference?: boolean;
|
|
8136
8192
|
secret_env?: {
|
|
8137
8193
|
[key: string]: string;
|
|
8138
8194
|
};
|
|
8195
|
+
secret_headers?: {
|
|
8196
|
+
[key: string]: string;
|
|
8197
|
+
};
|
|
8139
8198
|
transport?: string;
|
|
8140
8199
|
url?: string;
|
|
8141
8200
|
};
|
|
@@ -8808,7 +8867,12 @@ export interface components {
|
|
|
8808
8867
|
/** @enum {string} */
|
|
8809
8868
|
steer_capability: "steer_ext" | "concurrent_prompt" | "none";
|
|
8810
8869
|
/** @enum {string} */
|
|
8811
|
-
steer_delivery?:
|
|
8870
|
+
steer_delivery?:
|
|
8871
|
+
| "injected"
|
|
8872
|
+
| "pending_injection"
|
|
8873
|
+
| "pending_boundary"
|
|
8874
|
+
| "after_turn"
|
|
8875
|
+
| "interrupt_fallback";
|
|
8812
8876
|
};
|
|
8813
8877
|
CancelTaskRequest: {
|
|
8814
8878
|
metadata?: unknown;
|
|
@@ -9381,11 +9445,12 @@ export interface components {
|
|
|
9381
9445
|
display_name?: string | null;
|
|
9382
9446
|
fallback_chain?: components["schemas"]["AgentFallbackRoutePayload"][];
|
|
9383
9447
|
/**
|
|
9384
|
-
* @description Agent kind: on_demand (default) or always_on; fixed at creation.
|
|
9448
|
+
* @description Agent kind: on_demand (default) or always_on; fixed at creation.
|
|
9385
9449
|
* @enum {string}
|
|
9386
9450
|
*/
|
|
9387
|
-
kind?: "on_demand" | "always_on"
|
|
9451
|
+
kind?: "on_demand" | "always_on";
|
|
9388
9452
|
label?: string;
|
|
9453
|
+
mcp_servers?: components["schemas"]["AgentMCPServerInput"][];
|
|
9389
9454
|
model?: string;
|
|
9390
9455
|
name: string;
|
|
9391
9456
|
permission_rules?: components["schemas"]["AgentPermissionRulePayload"][];
|
|
@@ -9693,10 +9758,10 @@ export interface components {
|
|
|
9693
9758
|
description?: string | null;
|
|
9694
9759
|
display_name?: string | null;
|
|
9695
9760
|
/**
|
|
9696
|
-
* @description Agent kind: on_demand (default) or always_on; fixed at creation.
|
|
9761
|
+
* @description Agent kind: on_demand (default) or always_on; fixed at creation.
|
|
9697
9762
|
* @enum {string}
|
|
9698
9763
|
*/
|
|
9699
|
-
kind?: "on_demand" | "always_on"
|
|
9764
|
+
kind?: "on_demand" | "always_on";
|
|
9700
9765
|
model?: string;
|
|
9701
9766
|
permission_rules?: components["schemas"]["AgentPermissionRulePayload"][];
|
|
9702
9767
|
/** @enum {string} */
|
|
@@ -9717,10 +9782,10 @@ export interface components {
|
|
|
9717
9782
|
};
|
|
9718
9783
|
DuplicateAgentRequest: {
|
|
9719
9784
|
/**
|
|
9720
|
-
* @description Agent kind: on_demand (default) or always_on; fixed at creation.
|
|
9785
|
+
* @description Agent kind: on_demand (default) or always_on; fixed at creation.
|
|
9721
9786
|
* @enum {string}
|
|
9722
9787
|
*/
|
|
9723
|
-
kind?: "on_demand" | "always_on"
|
|
9788
|
+
kind?: "on_demand" | "always_on";
|
|
9724
9789
|
name: string;
|
|
9725
9790
|
overrides?: components["schemas"]["DuplicateAgentOverrides"] | null;
|
|
9726
9791
|
/** @enum {string} */
|
|
@@ -11171,9 +11236,11 @@ export interface components {
|
|
|
11171
11236
|
last_modified?: string | null;
|
|
11172
11237
|
line_count?: number;
|
|
11173
11238
|
name: string;
|
|
11239
|
+
path?: string;
|
|
11174
11240
|
sha256: string;
|
|
11175
11241
|
};
|
|
11176
11242
|
HeartbeatSourceStatus: {
|
|
11243
|
+
awaiting_approval?: boolean;
|
|
11177
11244
|
error?: components["schemas"]["Error"] | null;
|
|
11178
11245
|
/** Format: int64 */
|
|
11179
11246
|
failure_streak: number;
|
|
@@ -11185,6 +11252,8 @@ export interface components {
|
|
|
11185
11252
|
last_success_at?: string;
|
|
11186
11253
|
next_poll_at?: string;
|
|
11187
11254
|
script?: string;
|
|
11255
|
+
script_path?: string;
|
|
11256
|
+
script_sha256?: string;
|
|
11188
11257
|
status: string;
|
|
11189
11258
|
};
|
|
11190
11259
|
HeartbeatStatusResponse: {
|
|
@@ -13564,6 +13633,7 @@ export interface components {
|
|
|
13564
13633
|
balances: components["schemas"]["ProviderUsageBalance"][];
|
|
13565
13634
|
/** Format: date-time */
|
|
13566
13635
|
checked_at: string | null;
|
|
13636
|
+
collector_id?: string;
|
|
13567
13637
|
confidence: string;
|
|
13568
13638
|
error: components["schemas"]["ProviderUsageError"] | null;
|
|
13569
13639
|
/** Format: date-time */
|
|
@@ -13630,6 +13700,7 @@ export interface components {
|
|
|
13630
13700
|
};
|
|
13631
13701
|
PutSettingsMCPServerRequest: {
|
|
13632
13702
|
preserve_env?: string[];
|
|
13703
|
+
preserve_headers?: boolean;
|
|
13633
13704
|
preserve_secrets?: components["schemas"]["SettingsMCPSecretPreservationPayload"] | null;
|
|
13634
13705
|
secret_values?: components["schemas"]["SettingsMCPSecretValuesPayload"] | null;
|
|
13635
13706
|
server: components["schemas"]["SettingsMCPServerPayload"];
|
|
@@ -13976,6 +14047,7 @@ export interface components {
|
|
|
13976
14047
|
/** Format: date-time */
|
|
13977
14048
|
old_started_at: string;
|
|
13978
14049
|
operation_id: string;
|
|
14050
|
+
progress?: components["schemas"]["RestartProgress"] | null;
|
|
13979
14051
|
/** Format: date-time */
|
|
13980
14052
|
started_at: string;
|
|
13981
14053
|
/** @enum {string} */
|
|
@@ -13983,6 +14055,17 @@ export interface components {
|
|
|
13983
14055
|
/** Format: date-time */
|
|
13984
14056
|
updated_at: string;
|
|
13985
14057
|
};
|
|
14058
|
+
RestartProgress: {
|
|
14059
|
+
/** Format: int64 */
|
|
14060
|
+
completed: number;
|
|
14061
|
+
/** @enum {string} */
|
|
14062
|
+
phase: "migrating";
|
|
14063
|
+
stage: string;
|
|
14064
|
+
/** Format: int64 */
|
|
14065
|
+
total: number;
|
|
14066
|
+
/** Format: date-time */
|
|
14067
|
+
updated_at: string;
|
|
14068
|
+
};
|
|
13986
14069
|
ResumeSessionFromLaterRequest: {
|
|
13987
14070
|
with_children?: boolean;
|
|
13988
14071
|
};
|
|
@@ -14503,7 +14586,12 @@ export interface components {
|
|
|
14503
14586
|
reply_watch?: components["schemas"]["ReplyWatchRefPayload"] | null;
|
|
14504
14587
|
status: string;
|
|
14505
14588
|
/** @enum {string} */
|
|
14506
|
-
steer_delivery?:
|
|
14589
|
+
steer_delivery?:
|
|
14590
|
+
| "injected"
|
|
14591
|
+
| "pending_injection"
|
|
14592
|
+
| "pending_boundary"
|
|
14593
|
+
| "after_turn"
|
|
14594
|
+
| "interrupt_fallback";
|
|
14507
14595
|
target_session_id?: string;
|
|
14508
14596
|
target_workspace_id?: string;
|
|
14509
14597
|
turn_id?: string;
|
|
@@ -15113,7 +15201,12 @@ export interface components {
|
|
|
15113
15201
|
/** @enum {string} */
|
|
15114
15202
|
status: "queued" | "dispatching" | "sent" | "failed" | "canceled";
|
|
15115
15203
|
/** @enum {string} */
|
|
15116
|
-
steer_delivery?:
|
|
15204
|
+
steer_delivery?:
|
|
15205
|
+
| "injected"
|
|
15206
|
+
| "pending_injection"
|
|
15207
|
+
| "pending_boundary"
|
|
15208
|
+
| "after_turn"
|
|
15209
|
+
| "interrupt_fallback";
|
|
15117
15210
|
target_turn_id?: string;
|
|
15118
15211
|
text: string;
|
|
15119
15212
|
};
|
|
@@ -15451,6 +15544,8 @@ export interface components {
|
|
|
15451
15544
|
cause: string;
|
|
15452
15545
|
/** Format: date-time */
|
|
15453
15546
|
observed_at: string | null;
|
|
15547
|
+
/** Format: date-time */
|
|
15548
|
+
retry_after?: string | null;
|
|
15454
15549
|
stale: boolean;
|
|
15455
15550
|
/** @enum {string} */
|
|
15456
15551
|
state: "ok" | "pending" | "error" | "incomplete";
|
|
@@ -16347,6 +16442,7 @@ export interface components {
|
|
|
16347
16442
|
catalog_version?: string;
|
|
16348
16443
|
command?: string;
|
|
16349
16444
|
env_keys?: string[];
|
|
16445
|
+
headers_configured?: boolean;
|
|
16350
16446
|
name: string;
|
|
16351
16447
|
override?: components["schemas"]["SettingsMCPExtensionOverridePayload"] | null;
|
|
16352
16448
|
owner?: string;
|
|
@@ -19229,6 +19325,7 @@ export interface components {
|
|
|
19229
19325
|
total: number;
|
|
19230
19326
|
};
|
|
19231
19327
|
ToolApprovalGrantPayload: {
|
|
19328
|
+
access_scope?: string;
|
|
19232
19329
|
agent_name?: string;
|
|
19233
19330
|
/** Format: date-time */
|
|
19234
19331
|
created_at: string;
|
|
@@ -24622,6 +24719,106 @@ export interface operations {
|
|
|
24622
24719
|
};
|
|
24623
24720
|
};
|
|
24624
24721
|
};
|
|
24722
|
+
batchAgentActivity: {
|
|
24723
|
+
parameters: {
|
|
24724
|
+
query?: {
|
|
24725
|
+
/** @description Act as this profile by name */
|
|
24726
|
+
profile?: string;
|
|
24727
|
+
};
|
|
24728
|
+
header?: never;
|
|
24729
|
+
path?: never;
|
|
24730
|
+
cookie?: never;
|
|
24731
|
+
};
|
|
24732
|
+
/** @description JSON request body */
|
|
24733
|
+
requestBody: {
|
|
24734
|
+
content: {
|
|
24735
|
+
"application/json": components["schemas"]["AgentActivityBatchRequest"];
|
|
24736
|
+
};
|
|
24737
|
+
};
|
|
24738
|
+
responses: {
|
|
24739
|
+
/** @description Scoped activities in request order */
|
|
24740
|
+
200: {
|
|
24741
|
+
headers: {
|
|
24742
|
+
[name: string]: unknown;
|
|
24743
|
+
};
|
|
24744
|
+
content: {
|
|
24745
|
+
"application/json": components["schemas"]["AgentActivityBatchResponse"];
|
|
24746
|
+
};
|
|
24747
|
+
};
|
|
24748
|
+
/** @description Invalid profile selection */
|
|
24749
|
+
400: {
|
|
24750
|
+
headers: {
|
|
24751
|
+
[name: string]: unknown;
|
|
24752
|
+
};
|
|
24753
|
+
content: {
|
|
24754
|
+
"application/json": components["schemas"]["ProfileErrorPayload"];
|
|
24755
|
+
};
|
|
24756
|
+
};
|
|
24757
|
+
/** @description Request failed */
|
|
24758
|
+
403: {
|
|
24759
|
+
headers: {
|
|
24760
|
+
[name: string]: unknown;
|
|
24761
|
+
};
|
|
24762
|
+
content: {
|
|
24763
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
24764
|
+
};
|
|
24765
|
+
};
|
|
24766
|
+
/** @description Request failed */
|
|
24767
|
+
404: {
|
|
24768
|
+
headers: {
|
|
24769
|
+
[name: string]: unknown;
|
|
24770
|
+
};
|
|
24771
|
+
content: {
|
|
24772
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
24773
|
+
};
|
|
24774
|
+
};
|
|
24775
|
+
/** @description Request failed */
|
|
24776
|
+
409: {
|
|
24777
|
+
headers: {
|
|
24778
|
+
[name: string]: unknown;
|
|
24779
|
+
};
|
|
24780
|
+
content: {
|
|
24781
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
24782
|
+
};
|
|
24783
|
+
};
|
|
24784
|
+
/** @description Request failed */
|
|
24785
|
+
422: {
|
|
24786
|
+
headers: {
|
|
24787
|
+
[name: string]: unknown;
|
|
24788
|
+
};
|
|
24789
|
+
content: {
|
|
24790
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
24791
|
+
};
|
|
24792
|
+
};
|
|
24793
|
+
/** @description Request failed */
|
|
24794
|
+
429: {
|
|
24795
|
+
headers: {
|
|
24796
|
+
[name: string]: unknown;
|
|
24797
|
+
};
|
|
24798
|
+
content: {
|
|
24799
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
24800
|
+
};
|
|
24801
|
+
};
|
|
24802
|
+
/** @description Request failed */
|
|
24803
|
+
500: {
|
|
24804
|
+
headers: {
|
|
24805
|
+
[name: string]: unknown;
|
|
24806
|
+
};
|
|
24807
|
+
content: {
|
|
24808
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
24809
|
+
};
|
|
24810
|
+
};
|
|
24811
|
+
/** @description Request failed */
|
|
24812
|
+
503: {
|
|
24813
|
+
headers: {
|
|
24814
|
+
[name: string]: unknown;
|
|
24815
|
+
};
|
|
24816
|
+
content: {
|
|
24817
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
24818
|
+
};
|
|
24819
|
+
};
|
|
24820
|
+
};
|
|
24821
|
+
};
|
|
24625
24822
|
listAgentsAggregate: {
|
|
24626
24823
|
parameters: {
|
|
24627
24824
|
query?: {
|