@compozy/client 0.7.5 → 0.7.6
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 +44 -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 +44 -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 +371 -5
- 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 +17 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +231 -5
- 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
|
@@ -2531,11 +2531,13 @@ export type GatewayIssuedCredentialPayload = {
|
|
|
2531
2531
|
export type GatewayPairingArtifactPayload = {
|
|
2532
2532
|
artifact: string;
|
|
2533
2533
|
expires_at: string;
|
|
2534
|
+
manual_code: string;
|
|
2534
2535
|
};
|
|
2535
2536
|
export type GatewayPairingRedeemRequest = {
|
|
2536
2537
|
actor_kind: string;
|
|
2537
|
-
artifact
|
|
2538
|
+
artifact?: string;
|
|
2538
2539
|
credential?: string;
|
|
2540
|
+
manual_code?: string;
|
|
2539
2541
|
name: string;
|
|
2540
2542
|
};
|
|
2541
2543
|
export type GatewayProviderEnableRequest = {
|
|
@@ -2557,6 +2559,11 @@ export type GatewayRefusalPayload = {
|
|
|
2557
2559
|
cause: string;
|
|
2558
2560
|
fix: string;
|
|
2559
2561
|
};
|
|
2562
|
+
export type GatewayRemovedDevicePayload = {
|
|
2563
|
+
canceled: number;
|
|
2564
|
+
device: GatewayDevicePayload;
|
|
2565
|
+
revoked: boolean;
|
|
2566
|
+
};
|
|
2560
2567
|
export type GatewayRevokePayload = {
|
|
2561
2568
|
canceled: number;
|
|
2562
2569
|
changed: boolean;
|
|
@@ -6697,6 +6704,7 @@ export type SessionPayload = {
|
|
|
6697
6704
|
parent_title?: string;
|
|
6698
6705
|
pending_interactions: Array<PendingInteractionPayload>;
|
|
6699
6706
|
permission_mode_degraded: boolean;
|
|
6707
|
+
pinned_at?: string | null;
|
|
6700
6708
|
process_summary?: SessionProcessSummaryPayload | null;
|
|
6701
6709
|
profile_archived?: boolean;
|
|
6702
6710
|
profile_color?: string;
|
|
@@ -7458,6 +7466,9 @@ export type SettingsMCPSecretValuesPayload = {
|
|
|
7458
7466
|
[key: string]: string;
|
|
7459
7467
|
};
|
|
7460
7468
|
};
|
|
7469
|
+
export type SettingsMCPServerEnabledRequest = {
|
|
7470
|
+
enabled: boolean;
|
|
7471
|
+
};
|
|
7461
7472
|
export type SettingsMCPServerItemPayload = {
|
|
7462
7473
|
approval: SettingsMCPApprovalStatePayload;
|
|
7463
7474
|
args?: Array<string>;
|
|
@@ -7468,6 +7479,7 @@ export type SettingsMCPServerItemPayload = {
|
|
|
7468
7479
|
catalog_version?: string;
|
|
7469
7480
|
command?: string;
|
|
7470
7481
|
definition_source?: string;
|
|
7482
|
+
disabled?: boolean;
|
|
7471
7483
|
env_keys?: Array<string>;
|
|
7472
7484
|
headers_configured?: boolean;
|
|
7473
7485
|
name: string;
|
|
@@ -17725,6 +17737,35 @@ export type RenameGatewayDeviceResponses = {
|
|
|
17725
17737
|
200: GatewayDevicePayload;
|
|
17726
17738
|
};
|
|
17727
17739
|
export type RenameGatewayDeviceResponse = RenameGatewayDeviceResponses[keyof RenameGatewayDeviceResponses];
|
|
17740
|
+
export type RemoveGatewayDeviceData = {
|
|
17741
|
+
body?: never;
|
|
17742
|
+
path: {
|
|
17743
|
+
/**
|
|
17744
|
+
* Gateway device id
|
|
17745
|
+
*/
|
|
17746
|
+
id: string;
|
|
17747
|
+
};
|
|
17748
|
+
query?: never;
|
|
17749
|
+
url: "/api/gateway/devices/{id}/record";
|
|
17750
|
+
};
|
|
17751
|
+
export type RemoveGatewayDeviceErrors = {
|
|
17752
|
+
/**
|
|
17753
|
+
* Gateway device not found
|
|
17754
|
+
*/
|
|
17755
|
+
404: ErrorPayload;
|
|
17756
|
+
/**
|
|
17757
|
+
* Internal server error
|
|
17758
|
+
*/
|
|
17759
|
+
500: ErrorPayload;
|
|
17760
|
+
};
|
|
17761
|
+
export type RemoveGatewayDeviceError = RemoveGatewayDeviceErrors[keyof RemoveGatewayDeviceErrors];
|
|
17762
|
+
export type RemoveGatewayDeviceResponses = {
|
|
17763
|
+
/**
|
|
17764
|
+
* Removed
|
|
17765
|
+
*/
|
|
17766
|
+
200: GatewayRemovedDevicePayload;
|
|
17767
|
+
};
|
|
17768
|
+
export type RemoveGatewayDeviceResponse = RemoveGatewayDeviceResponses[keyof RemoveGatewayDeviceResponses];
|
|
17728
17769
|
export type BindGatewayIngressData = {
|
|
17729
17770
|
/**
|
|
17730
17771
|
* JSON request body
|
|
@@ -18541,6 +18582,10 @@ export type GetMarketplaceCatalogEntryErrors = {
|
|
|
18541
18582
|
* Package bytes differ from the listed digest
|
|
18542
18583
|
*/
|
|
18543
18584
|
409: ExtensionOperationErrorPayload;
|
|
18585
|
+
/**
|
|
18586
|
+
* Invalid plugin manifest
|
|
18587
|
+
*/
|
|
18588
|
+
422: ExtensionValidationErrorPayload | ExtensionOperationErrorPayload;
|
|
18544
18589
|
/**
|
|
18545
18590
|
* Internal server error
|
|
18546
18591
|
*/
|
|
@@ -21757,9 +21802,13 @@ export type ListSessionsData = {
|
|
|
21757
21802
|
*/
|
|
21758
21803
|
later?: "exclude" | "only" | "include";
|
|
21759
21804
|
/**
|
|
21760
|
-
*
|
|
21805
|
+
* Visibility of pinned sessions; included by default
|
|
21761
21806
|
*/
|
|
21762
|
-
|
|
21807
|
+
pinned?: "exclude" | "only" | "include";
|
|
21808
|
+
/**
|
|
21809
|
+
* Stable session ordering; pinned (pin order, oldest first) requires pinned=only
|
|
21810
|
+
*/
|
|
21811
|
+
sort?: "recent" | "created" | "name" | "last_activity" | "attention" | "navigator" | "manual" | "pinned";
|
|
21763
21812
|
/**
|
|
21764
21813
|
* Opaque next_cursor from the previous page
|
|
21765
21814
|
*/
|
|
@@ -21957,6 +22006,10 @@ export type ListSessionFacetsData = {
|
|
|
21957
22006
|
* Visibility of sessions parked in Later; excluded by default
|
|
21958
22007
|
*/
|
|
21959
22008
|
later?: "exclude" | "only" | "include";
|
|
22009
|
+
/**
|
|
22010
|
+
* Visibility of pinned sessions; included by default
|
|
22011
|
+
*/
|
|
22012
|
+
pinned?: "exclude" | "only" | "include";
|
|
21960
22013
|
/**
|
|
21961
22014
|
* Read one profile's rows by name
|
|
21962
22015
|
*/
|
|
@@ -23822,6 +23875,75 @@ export type CheckSettingsMCPServerResponses = {
|
|
|
23822
23875
|
200: SettingsMCPServerItemPayload;
|
|
23823
23876
|
};
|
|
23824
23877
|
export type CheckSettingsMCPServerResponse = CheckSettingsMCPServerResponses[keyof CheckSettingsMCPServerResponses];
|
|
23878
|
+
export type SetSettingsMCPServerEnabledData = {
|
|
23879
|
+
/**
|
|
23880
|
+
* JSON request body
|
|
23881
|
+
*/
|
|
23882
|
+
body: SettingsMCPServerEnabledRequest;
|
|
23883
|
+
path: {
|
|
23884
|
+
/**
|
|
23885
|
+
* Configured MCP server name
|
|
23886
|
+
*/
|
|
23887
|
+
name: string;
|
|
23888
|
+
};
|
|
23889
|
+
query: {
|
|
23890
|
+
/**
|
|
23891
|
+
* Exact MCP settings scope
|
|
23892
|
+
*/
|
|
23893
|
+
scope: "user" | "profile" | "workspace";
|
|
23894
|
+
/**
|
|
23895
|
+
* Required when scope is workspace
|
|
23896
|
+
*/
|
|
23897
|
+
workspace_id?: string;
|
|
23898
|
+
/**
|
|
23899
|
+
* Required when scope is profile
|
|
23900
|
+
*/
|
|
23901
|
+
profile?: string;
|
|
23902
|
+
/**
|
|
23903
|
+
* Definition owner: manual or extension:<name>; omitted owner selects manual
|
|
23904
|
+
*/
|
|
23905
|
+
owner?: string;
|
|
23906
|
+
/**
|
|
23907
|
+
* Declaring file from the Settings MCP row. Selects one same-name definition in the requested scope.
|
|
23908
|
+
*/
|
|
23909
|
+
definition_source?: string;
|
|
23910
|
+
};
|
|
23911
|
+
url: "/api/settings/mcp-servers/{name}/enabled";
|
|
23912
|
+
};
|
|
23913
|
+
export type SetSettingsMCPServerEnabledErrors = {
|
|
23914
|
+
/**
|
|
23915
|
+
* Invalid MCP server owner, scope, or payload
|
|
23916
|
+
*/
|
|
23917
|
+
400: ErrorPayload;
|
|
23918
|
+
/**
|
|
23919
|
+
* Forbidden
|
|
23920
|
+
*/
|
|
23921
|
+
403: ErrorPayload;
|
|
23922
|
+
/**
|
|
23923
|
+
* MCP server or workspace not found
|
|
23924
|
+
*/
|
|
23925
|
+
404: ErrorPayload;
|
|
23926
|
+
/**
|
|
23927
|
+
* MCP server definition is ambiguous or cannot be edited
|
|
23928
|
+
*/
|
|
23929
|
+
409: ErrorPayload;
|
|
23930
|
+
/**
|
|
23931
|
+
* Internal server error
|
|
23932
|
+
*/
|
|
23933
|
+
500: ErrorPayload;
|
|
23934
|
+
/**
|
|
23935
|
+
* MCP server state could not be applied
|
|
23936
|
+
*/
|
|
23937
|
+
503: ErrorPayload;
|
|
23938
|
+
};
|
|
23939
|
+
export type SetSettingsMCPServerEnabledError = SetSettingsMCPServerEnabledErrors[keyof SetSettingsMCPServerEnabledErrors];
|
|
23940
|
+
export type SetSettingsMCPServerEnabledResponses = {
|
|
23941
|
+
/**
|
|
23942
|
+
* Updated server
|
|
23943
|
+
*/
|
|
23944
|
+
200: SettingsMCPServerResponse;
|
|
23945
|
+
};
|
|
23946
|
+
export type SetSettingsMCPServerEnabledResponse = SetSettingsMCPServerEnabledResponses[keyof SetSettingsMCPServerEnabledResponses];
|
|
23825
23947
|
export type GetSettingsObservabilityData = {
|
|
23826
23948
|
body?: never;
|
|
23827
23949
|
path?: never;
|
|
@@ -32323,9 +32445,13 @@ export type ListWorkspaceSessionsData = {
|
|
|
32323
32445
|
*/
|
|
32324
32446
|
later?: "exclude" | "only" | "include";
|
|
32325
32447
|
/**
|
|
32326
|
-
*
|
|
32448
|
+
* Visibility of pinned sessions; included by default
|
|
32327
32449
|
*/
|
|
32328
|
-
|
|
32450
|
+
pinned?: "exclude" | "only" | "include";
|
|
32451
|
+
/**
|
|
32452
|
+
* Stable session ordering; pinned (pin order, oldest first) requires pinned=only
|
|
32453
|
+
*/
|
|
32454
|
+
sort?: "recent" | "created" | "name" | "last_activity" | "attention" | "navigator" | "manual" | "pinned";
|
|
32329
32455
|
/**
|
|
32330
32456
|
* Opaque next_cursor from the previous page
|
|
32331
32457
|
*/
|
|
@@ -35295,6 +35421,106 @@ export type ListSessionPendingInteractionsResponses = {
|
|
|
35295
35421
|
200: SessionInteractionsResponse;
|
|
35296
35422
|
};
|
|
35297
35423
|
export type ListSessionPendingInteractionsResponse = ListSessionPendingInteractionsResponses[keyof ListSessionPendingInteractionsResponses];
|
|
35424
|
+
export type UnpinSessionData = {
|
|
35425
|
+
body?: never;
|
|
35426
|
+
path: {
|
|
35427
|
+
/**
|
|
35428
|
+
* Workspace id
|
|
35429
|
+
*/
|
|
35430
|
+
workspace_id: string;
|
|
35431
|
+
/**
|
|
35432
|
+
* Session id
|
|
35433
|
+
*/
|
|
35434
|
+
session_id: string;
|
|
35435
|
+
};
|
|
35436
|
+
query?: {
|
|
35437
|
+
/**
|
|
35438
|
+
* Act as this profile by name
|
|
35439
|
+
*/
|
|
35440
|
+
profile?: string;
|
|
35441
|
+
};
|
|
35442
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/pin";
|
|
35443
|
+
};
|
|
35444
|
+
export type UnpinSessionErrors = {
|
|
35445
|
+
/**
|
|
35446
|
+
* Conflicting profile selectors (profile_selection_conflict)
|
|
35447
|
+
*/
|
|
35448
|
+
400: ErrorPayload;
|
|
35449
|
+
/**
|
|
35450
|
+
* Session not found
|
|
35451
|
+
*/
|
|
35452
|
+
404: ErrorPayload;
|
|
35453
|
+
/**
|
|
35454
|
+
* Subagent sessions follow their parent and an always-on agent's main session lives in its avatar, so neither can be pinned
|
|
35455
|
+
*/
|
|
35456
|
+
409: ErrorPayload;
|
|
35457
|
+
/**
|
|
35458
|
+
* Internal server error
|
|
35459
|
+
*/
|
|
35460
|
+
500: ErrorPayload;
|
|
35461
|
+
/**
|
|
35462
|
+
* Service unavailable - dependent service missing
|
|
35463
|
+
*/
|
|
35464
|
+
503: ErrorPayload;
|
|
35465
|
+
};
|
|
35466
|
+
export type UnpinSessionError = UnpinSessionErrors[keyof UnpinSessionErrors];
|
|
35467
|
+
export type UnpinSessionResponses = {
|
|
35468
|
+
/**
|
|
35469
|
+
* OK
|
|
35470
|
+
*/
|
|
35471
|
+
200: SessionResponse;
|
|
35472
|
+
};
|
|
35473
|
+
export type UnpinSessionResponse = UnpinSessionResponses[keyof UnpinSessionResponses];
|
|
35474
|
+
export type PinSessionData = {
|
|
35475
|
+
body?: never;
|
|
35476
|
+
path: {
|
|
35477
|
+
/**
|
|
35478
|
+
* Workspace id
|
|
35479
|
+
*/
|
|
35480
|
+
workspace_id: string;
|
|
35481
|
+
/**
|
|
35482
|
+
* Session id
|
|
35483
|
+
*/
|
|
35484
|
+
session_id: string;
|
|
35485
|
+
};
|
|
35486
|
+
query?: {
|
|
35487
|
+
/**
|
|
35488
|
+
* Act as this profile by name
|
|
35489
|
+
*/
|
|
35490
|
+
profile?: string;
|
|
35491
|
+
};
|
|
35492
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/pin";
|
|
35493
|
+
};
|
|
35494
|
+
export type PinSessionErrors = {
|
|
35495
|
+
/**
|
|
35496
|
+
* Conflicting profile selectors (profile_selection_conflict)
|
|
35497
|
+
*/
|
|
35498
|
+
400: ErrorPayload;
|
|
35499
|
+
/**
|
|
35500
|
+
* Session not found
|
|
35501
|
+
*/
|
|
35502
|
+
404: ErrorPayload;
|
|
35503
|
+
/**
|
|
35504
|
+
* Subagent sessions follow their parent and an always-on agent's main session lives in its avatar, so neither can be pinned
|
|
35505
|
+
*/
|
|
35506
|
+
409: ErrorPayload;
|
|
35507
|
+
/**
|
|
35508
|
+
* Internal server error
|
|
35509
|
+
*/
|
|
35510
|
+
500: ErrorPayload;
|
|
35511
|
+
/**
|
|
35512
|
+
* Service unavailable - dependent service missing
|
|
35513
|
+
*/
|
|
35514
|
+
503: ErrorPayload;
|
|
35515
|
+
};
|
|
35516
|
+
export type PinSessionError = PinSessionErrors[keyof PinSessionErrors];
|
|
35517
|
+
export type PinSessionResponses = {
|
|
35518
|
+
/**
|
|
35519
|
+
* OK
|
|
35520
|
+
*/
|
|
35521
|
+
200: SessionResponse;
|
|
35522
|
+
};
|
|
35523
|
+
export type PinSessionResponse = PinSessionResponses[keyof PinSessionResponses];
|
|
35298
35524
|
export type UpdateSessionPresenceData = {
|
|
35299
35525
|
/**
|
|
35300
35526
|
* JSON request body
|