@composio/client 0.1.0-alpha.51 → 0.1.0-alpha.53
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/CHANGELOG.md +23 -0
- package/LICENSE +1 -1
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/project/config.d.mts +68 -0
- package/resources/project/config.d.mts.map +1 -0
- package/resources/project/config.d.ts +68 -0
- package/resources/project/config.d.ts.map +1 -0
- package/resources/project/config.js +33 -0
- package/resources/project/config.js.map +1 -0
- package/resources/project/config.mjs +29 -0
- package/resources/project/config.mjs.map +1 -0
- package/resources/project/index.d.mts +3 -0
- package/resources/project/index.d.mts.map +1 -0
- package/resources/project/index.d.ts +3 -0
- package/resources/project/index.d.ts.map +1 -0
- package/resources/project/index.js +9 -0
- package/resources/project/index.js.map +1 -0
- package/resources/project/index.mjs +4 -0
- package/resources/project/index.mjs.map +1 -0
- package/resources/project/project.d.mts +10 -0
- package/resources/project/project.d.mts.map +1 -0
- package/resources/project/project.d.ts +10 -0
- package/resources/project/project.d.ts.map +1 -0
- package/resources/project/project.js +17 -0
- package/resources/project/project.js.map +1 -0
- package/resources/project/project.mjs +12 -0
- package/resources/project/project.mjs.map +1 -0
- package/resources/project.d.mts +2 -0
- package/resources/project.d.mts.map +1 -0
- package/resources/project.d.ts +2 -0
- package/resources/project.d.ts.map +1 -0
- package/resources/project.js +6 -0
- package/resources/project.js.map +1 -0
- package/resources/project.mjs +3 -0
- package/resources/project.mjs.map +1 -0
- package/resources/tool-router/index.d.mts +1 -1
- package/resources/tool-router/index.d.mts.map +1 -1
- package/resources/tool-router/index.d.ts +1 -1
- package/resources/tool-router/index.d.ts.map +1 -1
- package/resources/tool-router/index.js.map +1 -1
- package/resources/tool-router/index.mjs.map +1 -1
- package/resources/tool-router/session.d.mts +168 -26
- package/resources/tool-router/session.d.mts.map +1 -1
- package/resources/tool-router/session.d.ts +168 -26
- package/resources/tool-router/session.d.ts.map +1 -1
- package/resources/tool-router/session.js +15 -0
- package/resources/tool-router/session.js.map +1 -1
- package/resources/tool-router/session.mjs +15 -0
- package/resources/tool-router/session.mjs.map +1 -1
- package/resources/tool-router/tool-router.d.mts +2 -2
- package/resources/tool-router/tool-router.d.mts.map +1 -1
- package/resources/tool-router/tool-router.d.ts +2 -2
- package/resources/tool-router/tool-router.d.ts.map +1 -1
- package/resources/tool-router/tool-router.js.map +1 -1
- package/resources/tool-router/tool-router.mjs.map +1 -1
- package/resources/toolkits.d.mts +8 -0
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +8 -0
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/tools.d.mts +53 -0
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +53 -0
- package/resources/tools.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +8 -2
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +8 -2
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/src/client.ts +5 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/project/config.ts +104 -0
- package/src/resources/project/index.ts +9 -0
- package/src/resources/project/project.ts +20 -0
- package/src/resources/project.ts +3 -0
- package/src/resources/tool-router/index.ts +2 -0
- package/src/resources/tool-router/session.ts +207 -23
- package/src/resources/tool-router/tool-router.ts +4 -0
- package/src/resources/toolkits.ts +10 -0
- package/src/resources/tools.ts +63 -0
- package/src/resources/trigger-instances/trigger-instances.ts +9 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class Config extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieves the current project configuration including 2FA settings.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const config = await client.project.config.retrieve();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
retrieve(options?: RequestOptions): APIPromise<ConfigRetrieveResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Updates the project configuration settings.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const config = await client.project.config.update({
|
|
20
|
+
* is_2FA_enabled: true,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
update(body?: ConfigUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ConfigUpdateResponse>;
|
|
25
|
+
}
|
|
26
|
+
export interface ConfigRetrieveResponse {
|
|
27
|
+
is_2FA_enabled: boolean;
|
|
28
|
+
log_visibility_setting: 'show_all' | 'dont_store_data';
|
|
29
|
+
mask_secret_keys_in_connected_account: boolean;
|
|
30
|
+
display_name?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Whether to enable composio link for managed authentication. This key will be
|
|
33
|
+
* deprecated in the future. Please don't use this key.
|
|
34
|
+
*/
|
|
35
|
+
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
36
|
+
logo_url?: string;
|
|
37
|
+
require_mcp_api_key?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface ConfigUpdateResponse {
|
|
40
|
+
is_2FA_enabled: boolean;
|
|
41
|
+
log_visibility_setting: 'show_all' | 'dont_store_data';
|
|
42
|
+
mask_secret_keys_in_connected_account: boolean;
|
|
43
|
+
display_name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether to enable composio link for managed authentication. This key will be
|
|
46
|
+
* deprecated in the future. Please don't use this key.
|
|
47
|
+
*/
|
|
48
|
+
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
49
|
+
logo_url?: string;
|
|
50
|
+
require_mcp_api_key?: boolean;
|
|
51
|
+
}
|
|
52
|
+
export interface ConfigUpdateParams {
|
|
53
|
+
display_name?: string;
|
|
54
|
+
is_2FA_enabled?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Whether to enable composio link for managed authentication. This key will be
|
|
57
|
+
* deprecated in the future. Please don't use this key.
|
|
58
|
+
*/
|
|
59
|
+
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
60
|
+
log_visibility_setting?: 'show_all' | 'dont_store_data';
|
|
61
|
+
logo_url?: string;
|
|
62
|
+
mask_secret_keys_in_connected_account?: boolean;
|
|
63
|
+
require_mcp_api_key?: boolean;
|
|
64
|
+
}
|
|
65
|
+
export declare namespace Config {
|
|
66
|
+
export { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigUpdateResponse as ConfigUpdateResponse, type ConfigUpdateParams as ConfigUpdateParams, };
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAItE;;;;;;;;;OASG;IACH,MAAM,CACJ,IAAI,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;CAGpC;AAED,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,OAAO,CAAC;IAExB,sBAAsB,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAEvD,qCAAqC,EAAE,OAAO,CAAC;IAE/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,yCAAyC,CAAC,EAAE,OAAO,CAAC;IAEpD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,OAAO,CAAC;IAExB,sBAAsB,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAEvD,qCAAqC,EAAE,OAAO,CAAC;IAE/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,yCAAyC,CAAC,EAAE,OAAO,CAAC;IAEpD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,yCAAyC,CAAC,EAAE,OAAO,CAAC;IAEpD,sBAAsB,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IAExD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAEhD,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Config = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
class Config extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the current project configuration including 2FA settings.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const config = await client.project.config.retrieve();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
retrieve(options) {
|
|
16
|
+
return this._client.get('/api/v3/org/project/config', options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Updates the project configuration settings.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const config = await client.project.config.update({
|
|
24
|
+
* is_2FA_enabled: true,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
update(body = {}, options) {
|
|
29
|
+
return this._client.patch('/api/v3/org/project/config', { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.Config = Config;
|
|
33
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,OAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AA7BD,wBA6BC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
export class Config extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves the current project configuration including 2FA settings.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const config = await client.project.config.retrieve();
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
retrieve(options) {
|
|
13
|
+
return this._client.get('/api/v3/org/project/config', options);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Updates the project configuration settings.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const config = await client.project.config.update({
|
|
21
|
+
* is_2FA_enabled: true,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
update(body = {}, options) {
|
|
26
|
+
return this._client.patch('/api/v3/org/project/config', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=config.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.mjs","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,OAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB;OACM,EAAE,OAAO,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB;OACM,EAAE,OAAO,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Project = exports.Config = void 0;
|
|
5
|
+
var config_1 = require("./config.js");
|
|
6
|
+
Object.defineProperty(exports, "Config", { enumerable: true, get: function () { return config_1.Config; } });
|
|
7
|
+
var project_1 = require("./project.js");
|
|
8
|
+
Object.defineProperty(exports, "Project", { enumerable: true, get: function () { return project_1.Project; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAKkB;AAJhB,gGAAA,MAAM,OAAA;AAKR,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAIP;OACM,EAAE,OAAO,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as ConfigAPI from "./config.mjs";
|
|
3
|
+
import { Config, ConfigRetrieveResponse, ConfigUpdateParams, ConfigUpdateResponse } from "./config.mjs";
|
|
4
|
+
export declare class Project extends APIResource {
|
|
5
|
+
config: ConfigAPI.Config;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Project {
|
|
8
|
+
export { Config as Config, type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigUpdateResponse as ConfigUpdateResponse, type ConfigUpdateParams as ConfigUpdateParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=project.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.mts","sourceRoot":"","sources":["../../src/resources/project/project.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;AAEnF,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as ConfigAPI from "./config.js";
|
|
3
|
+
import { Config, ConfigRetrieveResponse, ConfigUpdateParams, ConfigUpdateResponse } from "./config.js";
|
|
4
|
+
export declare class Project extends APIResource {
|
|
5
|
+
config: ConfigAPI.Config;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Project {
|
|
8
|
+
export { Config as Config, type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigUpdateResponse as ConfigUpdateResponse, type ConfigUpdateParams as ConfigUpdateParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/resources/project/project.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;AAEnF,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Project = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const ConfigAPI = tslib_1.__importStar(require("./config.js"));
|
|
8
|
+
const config_1 = require("./config.js");
|
|
9
|
+
class Project extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.config = new ConfigAPI.Config(this._client);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Project = Project;
|
|
16
|
+
Project.Config = config_1.Config;
|
|
17
|
+
//# sourceMappingURL=project.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/resources/project/project.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAoG;AAEpG,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAFD,0BAEC;AAED,OAAO,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as ConfigAPI from "./config.mjs";
|
|
4
|
+
import { Config } from "./config.mjs";
|
|
5
|
+
export class Project extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.config = new ConfigAPI.Config(this._client);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Project.Config = Config;
|
|
12
|
+
//# sourceMappingURL=project.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.mjs","sourceRoot":"","sources":["../../src/resources/project/project.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAoE;AAEnF,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.mts","sourceRoot":"","sources":["../src/resources/project.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../src/resources/project.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./project/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=project.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../src/resources/project.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.mjs","sourceRoot":"","sources":["../src/resources/project.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Session, type SessionCreateResponse, type SessionRetrieveResponse, type SessionExecuteResponse, type SessionExecuteMetaResponse, type SessionLinkResponse, type SessionToolkitsResponse, type SessionCreateParams, type SessionExecuteParams, type SessionExecuteMetaParams, type SessionLinkParams, type SessionToolkitsParams, } from "./session.mjs";
|
|
1
|
+
export { Session, type SessionCreateResponse, type SessionRetrieveResponse, type SessionExecuteResponse, type SessionExecuteMetaResponse, type SessionLinkResponse, type SessionToolkitsResponse, type SessionToolsResponse, type SessionCreateParams, type SessionExecuteParams, type SessionExecuteMetaParams, type SessionLinkParams, type SessionToolkitsParams, type SessionToolsParams, } from "./session.mjs";
|
|
2
2
|
export { ToolRouter, type ToolRouterCreateSessionResponse, type ToolRouterCreateSessionParams, } from "./tool-router.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB;OACM,EACL,UAAU,EACV,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Session, type SessionCreateResponse, type SessionRetrieveResponse, type SessionExecuteResponse, type SessionExecuteMetaResponse, type SessionLinkResponse, type SessionToolkitsResponse, type SessionCreateParams, type SessionExecuteParams, type SessionExecuteMetaParams, type SessionLinkParams, type SessionToolkitsParams, } from "./session.js";
|
|
1
|
+
export { Session, type SessionCreateResponse, type SessionRetrieveResponse, type SessionExecuteResponse, type SessionExecuteMetaResponse, type SessionLinkResponse, type SessionToolkitsResponse, type SessionToolsResponse, type SessionCreateParams, type SessionExecuteParams, type SessionExecuteMetaParams, type SessionLinkParams, type SessionToolkitsParams, type SessionToolsParams, } from "./session.js";
|
|
2
2
|
export { ToolRouter, type ToolRouterCreateSessionResponse, type ToolRouterCreateSessionParams, } from "./tool-router.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB;OACM,EACL,UAAU,EACV,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAemB;AAdjB,kGAAA,OAAO,OAAA;AAeT,gDAIuB;AAHrB,yGAAA,UAAU,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/tool-router/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAcR;OACM,EACL,UAAU,GAGX"}
|
|
@@ -84,6 +84,19 @@ export declare class Session extends APIResource {
|
|
|
84
84
|
* ```
|
|
85
85
|
*/
|
|
86
86
|
toolkits(sessionID: string, query?: SessionToolkitsParams | null | undefined, options?: RequestOptions): APIPromise<SessionToolkitsResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Returns the meta tools available in a tool router session with their complete
|
|
89
|
+
* schemas. This includes request and response schemas specific to the session
|
|
90
|
+
* context.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* ```ts
|
|
94
|
+
* const response = await client.toolRouter.session.tools(
|
|
95
|
+
* 'session_id',
|
|
96
|
+
* );
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
tools(sessionID: string, query?: SessionToolsParams | null | undefined, options?: RequestOptions): APIPromise<SessionToolsResponse>;
|
|
87
100
|
}
|
|
88
101
|
export interface SessionCreateResponse {
|
|
89
102
|
/**
|
|
@@ -98,7 +111,7 @@ export interface SessionCreateResponse {
|
|
|
98
111
|
/**
|
|
99
112
|
* List of available tools in this session
|
|
100
113
|
*/
|
|
101
|
-
tool_router_tools: Array<'COMPOSIO_SEARCH_TOOLS' | 'COMPOSIO_MULTI_EXECUTE_TOOL' | 'COMPOSIO_MANAGE_CONNECTIONS' | 'COMPOSIO_REMOTE_WORKBENCH' | 'COMPOSIO_REMOTE_BASH_TOOL' | 'COMPOSIO_GET_TOOL_SCHEMAS'>;
|
|
114
|
+
tool_router_tools: Array<'COMPOSIO_SEARCH_TOOLS' | 'COMPOSIO_MULTI_EXECUTE_TOOL' | 'COMPOSIO_MANAGE_CONNECTIONS' | 'COMPOSIO_REMOTE_WORKBENCH' | 'COMPOSIO_REMOTE_BASH_TOOL' | 'COMPOSIO_GET_TOOL_SCHEMAS' | 'COMPOSIO_UPSERT_RECIPE' | 'COMPOSIO_GET_RECIPE'>;
|
|
102
115
|
}
|
|
103
116
|
export declare namespace SessionCreateResponse {
|
|
104
117
|
/**
|
|
@@ -126,12 +139,11 @@ export declare namespace SessionCreateResponse {
|
|
|
126
139
|
*/
|
|
127
140
|
manage_connections?: Config.ManageConnections;
|
|
128
141
|
/**
|
|
129
|
-
* MCP tool annotation hints for filtering tools
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* openWorldHint: tool may interact with external entities.
|
|
142
|
+
* MCP tool annotation hints for filtering tools with enabled/disabled support.
|
|
143
|
+
* enabled: tags that the tool must have at least one of. disabled: tags that the
|
|
144
|
+
* tool must NOT have any of. Both conditions must be satisfied.
|
|
133
145
|
*/
|
|
134
|
-
tags?:
|
|
146
|
+
tags?: Config.Tags;
|
|
135
147
|
/**
|
|
136
148
|
* Toolkit configuration - either enabled list or disabled list
|
|
137
149
|
*/
|
|
@@ -161,6 +173,21 @@ export declare namespace SessionCreateResponse {
|
|
|
161
173
|
*/
|
|
162
174
|
enabled?: boolean;
|
|
163
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* MCP tool annotation hints for filtering tools with enabled/disabled support.
|
|
178
|
+
* enabled: tags that the tool must have at least one of. disabled: tags that the
|
|
179
|
+
* tool must NOT have any of. Both conditions must be satisfied.
|
|
180
|
+
*/
|
|
181
|
+
interface Tags {
|
|
182
|
+
/**
|
|
183
|
+
* Tags that the tool must NOT have any of
|
|
184
|
+
*/
|
|
185
|
+
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
186
|
+
/**
|
|
187
|
+
* Tags that the tool must have at least one of
|
|
188
|
+
*/
|
|
189
|
+
enabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
190
|
+
}
|
|
164
191
|
interface Enabled {
|
|
165
192
|
enabled: Array<string>;
|
|
166
193
|
}
|
|
@@ -174,7 +201,19 @@ export declare namespace SessionCreateResponse {
|
|
|
174
201
|
disabled: Array<string>;
|
|
175
202
|
}
|
|
176
203
|
interface Tags {
|
|
177
|
-
tags:
|
|
204
|
+
tags: Tags.Tags;
|
|
205
|
+
}
|
|
206
|
+
namespace Tags {
|
|
207
|
+
interface Tags {
|
|
208
|
+
/**
|
|
209
|
+
* Tags that the tool must NOT have any of
|
|
210
|
+
*/
|
|
211
|
+
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
212
|
+
/**
|
|
213
|
+
* Tags that the tool must have at least one of
|
|
214
|
+
*/
|
|
215
|
+
enabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
216
|
+
}
|
|
178
217
|
}
|
|
179
218
|
/**
|
|
180
219
|
* Workbench configuration
|
|
@@ -215,7 +254,7 @@ export interface SessionRetrieveResponse {
|
|
|
215
254
|
/**
|
|
216
255
|
* List of available tools in this session
|
|
217
256
|
*/
|
|
218
|
-
tool_router_tools: Array<'COMPOSIO_SEARCH_TOOLS' | 'COMPOSIO_MULTI_EXECUTE_TOOL' | 'COMPOSIO_MANAGE_CONNECTIONS' | 'COMPOSIO_REMOTE_WORKBENCH' | 'COMPOSIO_REMOTE_BASH_TOOL' | 'COMPOSIO_GET_TOOL_SCHEMAS'>;
|
|
257
|
+
tool_router_tools: Array<'COMPOSIO_SEARCH_TOOLS' | 'COMPOSIO_MULTI_EXECUTE_TOOL' | 'COMPOSIO_MANAGE_CONNECTIONS' | 'COMPOSIO_REMOTE_WORKBENCH' | 'COMPOSIO_REMOTE_BASH_TOOL' | 'COMPOSIO_GET_TOOL_SCHEMAS' | 'COMPOSIO_UPSERT_RECIPE' | 'COMPOSIO_GET_RECIPE'>;
|
|
219
258
|
}
|
|
220
259
|
export declare namespace SessionRetrieveResponse {
|
|
221
260
|
/**
|
|
@@ -243,12 +282,11 @@ export declare namespace SessionRetrieveResponse {
|
|
|
243
282
|
*/
|
|
244
283
|
manage_connections?: Config.ManageConnections;
|
|
245
284
|
/**
|
|
246
|
-
* MCP tool annotation hints for filtering tools
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* openWorldHint: tool may interact with external entities.
|
|
285
|
+
* MCP tool annotation hints for filtering tools with enabled/disabled support.
|
|
286
|
+
* enabled: tags that the tool must have at least one of. disabled: tags that the
|
|
287
|
+
* tool must NOT have any of. Both conditions must be satisfied.
|
|
250
288
|
*/
|
|
251
|
-
tags?:
|
|
289
|
+
tags?: Config.Tags;
|
|
252
290
|
/**
|
|
253
291
|
* Toolkit configuration - either enabled list or disabled list
|
|
254
292
|
*/
|
|
@@ -278,6 +316,21 @@ export declare namespace SessionRetrieveResponse {
|
|
|
278
316
|
*/
|
|
279
317
|
enabled?: boolean;
|
|
280
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* MCP tool annotation hints for filtering tools with enabled/disabled support.
|
|
321
|
+
* enabled: tags that the tool must have at least one of. disabled: tags that the
|
|
322
|
+
* tool must NOT have any of. Both conditions must be satisfied.
|
|
323
|
+
*/
|
|
324
|
+
interface Tags {
|
|
325
|
+
/**
|
|
326
|
+
* Tags that the tool must NOT have any of
|
|
327
|
+
*/
|
|
328
|
+
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
329
|
+
/**
|
|
330
|
+
* Tags that the tool must have at least one of
|
|
331
|
+
*/
|
|
332
|
+
enabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
333
|
+
}
|
|
281
334
|
interface Enabled {
|
|
282
335
|
enabled: Array<string>;
|
|
283
336
|
}
|
|
@@ -291,7 +344,19 @@ export declare namespace SessionRetrieveResponse {
|
|
|
291
344
|
disabled: Array<string>;
|
|
292
345
|
}
|
|
293
346
|
interface Tags {
|
|
294
|
-
tags:
|
|
347
|
+
tags: Tags.Tags;
|
|
348
|
+
}
|
|
349
|
+
namespace Tags {
|
|
350
|
+
interface Tags {
|
|
351
|
+
/**
|
|
352
|
+
* Tags that the tool must NOT have any of
|
|
353
|
+
*/
|
|
354
|
+
disabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
355
|
+
/**
|
|
356
|
+
* Tags that the tool must have at least one of
|
|
357
|
+
*/
|
|
358
|
+
enabled?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
359
|
+
}
|
|
295
360
|
}
|
|
296
361
|
/**
|
|
297
362
|
* Workbench configuration
|
|
@@ -463,6 +528,57 @@ export declare namespace SessionToolkitsResponse {
|
|
|
463
528
|
}
|
|
464
529
|
}
|
|
465
530
|
}
|
|
531
|
+
export interface SessionToolsResponse {
|
|
532
|
+
/**
|
|
533
|
+
* List of meta tools with their complete schemas
|
|
534
|
+
*/
|
|
535
|
+
items: Array<SessionToolsResponse.Item>;
|
|
536
|
+
}
|
|
537
|
+
export declare namespace SessionToolsResponse {
|
|
538
|
+
interface Item {
|
|
539
|
+
/**
|
|
540
|
+
* Description of what the tool does
|
|
541
|
+
*/
|
|
542
|
+
description: string;
|
|
543
|
+
/**
|
|
544
|
+
* JSON Schema for the tool input parameters
|
|
545
|
+
*/
|
|
546
|
+
input_parameters: {
|
|
547
|
+
[key: string]: unknown;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Human-readable name of the tool
|
|
551
|
+
*/
|
|
552
|
+
name: string;
|
|
553
|
+
/**
|
|
554
|
+
* JSON Schema for the tool output parameters
|
|
555
|
+
*/
|
|
556
|
+
output_parameters: {
|
|
557
|
+
[key: string]: unknown;
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Unique identifier for the tool
|
|
561
|
+
*/
|
|
562
|
+
slug: string;
|
|
563
|
+
/**
|
|
564
|
+
* Tags associated with the tool
|
|
565
|
+
*/
|
|
566
|
+
tags: Array<string>;
|
|
567
|
+
toolkit: Item.Toolkit;
|
|
568
|
+
}
|
|
569
|
+
namespace Item {
|
|
570
|
+
interface Toolkit {
|
|
571
|
+
/**
|
|
572
|
+
* Name of the toolkit
|
|
573
|
+
*/
|
|
574
|
+
name: string;
|
|
575
|
+
/**
|
|
576
|
+
* Slug of the toolkit this tool belongs to
|
|
577
|
+
*/
|
|
578
|
+
slug: string;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
466
582
|
export interface SessionCreateParams {
|
|
467
583
|
/**
|
|
468
584
|
* The identifier of the user who is initiating the session, ideally a unique
|
|
@@ -489,14 +605,12 @@ export interface SessionCreateParams {
|
|
|
489
605
|
*/
|
|
490
606
|
manage_connections?: SessionCreateParams.ManageConnections;
|
|
491
607
|
/**
|
|
492
|
-
* Global MCP tool annotation hints for filtering.
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
*
|
|
496
|
-
* override this. Toolkit enabled/disabled lists take precedence over tag
|
|
497
|
-
* filtering.
|
|
608
|
+
* Global MCP tool annotation hints for filtering. Array format is treated as
|
|
609
|
+
* enabled list. Object format supports both enabled (tool must have at least one)
|
|
610
|
+
* and disabled (tool must NOT have any) lists. Toolkit-level tags override this.
|
|
611
|
+
* Toolkit enabled/disabled lists take precedence over tag filtering.
|
|
498
612
|
*/
|
|
499
|
-
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'
|
|
613
|
+
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'> | SessionCreateParams.UnionMember1;
|
|
500
614
|
/**
|
|
501
615
|
* Toolkit configuration - specify either enable toolkits (allowlist) or disable
|
|
502
616
|
* toolkits (denylist). Mutually exclusive.
|
|
@@ -532,6 +646,16 @@ export declare namespace SessionCreateParams {
|
|
|
532
646
|
*/
|
|
533
647
|
enable?: boolean | null;
|
|
534
648
|
}
|
|
649
|
+
interface UnionMember1 {
|
|
650
|
+
/**
|
|
651
|
+
* Tags that the tool must NOT have any of
|
|
652
|
+
*/
|
|
653
|
+
disable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
654
|
+
/**
|
|
655
|
+
* Tags that the tool must have at least one of
|
|
656
|
+
*/
|
|
657
|
+
enable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
658
|
+
}
|
|
535
659
|
/**
|
|
536
660
|
* Enable only specific toolkits (allowlist)
|
|
537
661
|
*/
|
|
@@ -564,10 +688,22 @@ export declare namespace SessionCreateParams {
|
|
|
564
688
|
}
|
|
565
689
|
interface Tags {
|
|
566
690
|
/**
|
|
567
|
-
* MCP tags to filter tools
|
|
568
|
-
*
|
|
691
|
+
* MCP tags to filter tools. Array format is treated as enabled list. Object format
|
|
692
|
+
* supports both enabled and disabled lists.
|
|
569
693
|
*/
|
|
570
|
-
tags: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'
|
|
694
|
+
tags: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'> | Tags.UnionMember1;
|
|
695
|
+
}
|
|
696
|
+
namespace Tags {
|
|
697
|
+
interface UnionMember1 {
|
|
698
|
+
/**
|
|
699
|
+
* Tags that the tool must NOT have any of
|
|
700
|
+
*/
|
|
701
|
+
disable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
702
|
+
/**
|
|
703
|
+
* Tags that the tool must have at least one of
|
|
704
|
+
*/
|
|
705
|
+
enable?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
706
|
+
}
|
|
571
707
|
}
|
|
572
708
|
/**
|
|
573
709
|
* Configuration for workbench behavior
|
|
@@ -602,7 +738,7 @@ export interface SessionExecuteMetaParams {
|
|
|
602
738
|
/**
|
|
603
739
|
* The unique slug identifier of the meta tool to execute
|
|
604
740
|
*/
|
|
605
|
-
slug:
|
|
741
|
+
slug: 'COMPOSIO_SEARCH_TOOLS' | 'COMPOSIO_MULTI_EXECUTE_TOOL' | 'COMPOSIO_MANAGE_CONNECTIONS' | 'COMPOSIO_REMOTE_WORKBENCH' | 'COMPOSIO_REMOTE_BASH_TOOL' | 'COMPOSIO_GET_TOOL_SCHEMAS' | 'COMPOSIO_UPSERT_RECIPE' | 'COMPOSIO_GET_RECIPE';
|
|
606
742
|
/**
|
|
607
743
|
* The arguments required by the meta tool
|
|
608
744
|
*/
|
|
@@ -637,13 +773,19 @@ export interface SessionToolkitsParams {
|
|
|
637
773
|
* Number of items per page, max allowed is 1000
|
|
638
774
|
*/
|
|
639
775
|
limit?: number | null;
|
|
776
|
+
/**
|
|
777
|
+
* Search query to filter toolkits by name, slug, or description
|
|
778
|
+
*/
|
|
779
|
+
search?: string;
|
|
640
780
|
/**
|
|
641
781
|
* Optional comma-separated list of toolkit slugs to filter by. If provided, only
|
|
642
782
|
* these toolkits will be returned, overriding the session configuration.
|
|
643
783
|
*/
|
|
644
784
|
toolkits?: Array<string> | null;
|
|
645
785
|
}
|
|
786
|
+
export interface SessionToolsParams {
|
|
787
|
+
}
|
|
646
788
|
export declare namespace Session {
|
|
647
|
-
export { type SessionCreateResponse as SessionCreateResponse, type SessionRetrieveResponse as SessionRetrieveResponse, type SessionExecuteResponse as SessionExecuteResponse, type SessionExecuteMetaResponse as SessionExecuteMetaResponse, type SessionLinkResponse as SessionLinkResponse, type SessionToolkitsResponse as SessionToolkitsResponse, type SessionCreateParams as SessionCreateParams, type SessionExecuteParams as SessionExecuteParams, type SessionExecuteMetaParams as SessionExecuteMetaParams, type SessionLinkParams as SessionLinkParams, type SessionToolkitsParams as SessionToolkitsParams, };
|
|
789
|
+
export { type SessionCreateResponse as SessionCreateResponse, type SessionRetrieveResponse as SessionRetrieveResponse, type SessionExecuteResponse as SessionExecuteResponse, type SessionExecuteMetaResponse as SessionExecuteMetaResponse, type SessionLinkResponse as SessionLinkResponse, type SessionToolkitsResponse as SessionToolkitsResponse, type SessionToolsResponse as SessionToolsResponse, type SessionCreateParams as SessionCreateParams, type SessionExecuteParams as SessionExecuteParams, type SessionExecuteMetaParams as SessionExecuteMetaParams, type SessionLinkParams as SessionLinkParams, type SessionToolkitsParams as SessionToolkitsParams, type SessionToolsParams as SessionToolsParams, };
|
|
648
790
|
}
|
|
649
791
|
//# sourceMappingURL=session.d.mts.map
|