@composio/client 0.1.0-alpha.5 → 0.1.0-alpha.51
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 +693 -0
- package/README.md +22 -35
- package/api-promise.js +2 -15
- package/api-promise.js.map +1 -1
- package/client.d.mts +44 -39
- package/client.d.mts.map +1 -1
- package/client.d.ts +44 -39
- package/client.d.ts.map +1 -1
- package/client.js +89 -96
- package/client.js.map +1 -1
- package/client.mjs +71 -55
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +0 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +0 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js +4 -14
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs +1 -11
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +0 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +0 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/error.js +2 -15
- package/error.js.map +1 -1
- package/internal/builtin-types.d.mts +0 -2
- package/internal/builtin-types.d.mts.map +1 -1
- package/internal/builtin-types.d.ts +0 -2
- package/internal/builtin-types.d.ts.map +1 -1
- package/internal/detect-platform.js +3 -3
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +3 -3
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/errors.d.mts.map +1 -1
- package/internal/errors.d.ts.map +1 -1
- package/internal/errors.js +2 -2
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.d.mts +1 -2
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts +1 -2
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js +7 -5
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +7 -5
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts +0 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +0 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +1 -2
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts +1 -0
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts +1 -0
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +43 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +43 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shim-types.d.mts +11 -22
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +11 -22
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/{src/resources/org.ts → internal/shim-types.mjs} +2 -2
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +2 -2
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +2 -2
- package/internal/shims.d.ts.map +1 -1
- package/internal/shims.js +5 -6
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -2
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts +1 -2
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js +5 -5
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs +4 -3
- package/internal/to-file.mjs.map +1 -1
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +8 -7
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +8 -7
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts +1 -3
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +1 -3
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js +17 -7
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +13 -4
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.d.mts.map +1 -1
- package/internal/utils/base64.d.ts.map +1 -1
- package/internal/utils/base64.js +12 -7
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +12 -7
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts.map +1 -1
- package/internal/utils/env.d.ts.map +1 -1
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts +0 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +0 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +3 -3
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.d.mts.map +1 -1
- package/internal/utils/path.d.ts.map +1 -1
- package/internal/utils/path.js +28 -7
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +27 -6
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/sleep.d.mts.map +1 -1
- package/internal/utils/sleep.d.ts.map +1 -1
- package/internal/utils/uuid.d.mts +1 -1
- package/internal/utils/uuid.d.mts.map +1 -1
- package/internal/utils/uuid.d.ts +1 -1
- package/internal/utils/uuid.d.ts.map +1 -1
- package/internal/utils/uuid.js +1 -2
- package/internal/utils/uuid.js.map +1 -1
- package/internal/utils/uuid.mjs +1 -2
- package/internal/utils/uuid.mjs.map +1 -1
- package/internal/utils/values.d.mts +2 -0
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts +2 -0
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +11 -8
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +5 -3
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.js +7 -20
- package/internal/utils.js.map +1 -1
- package/package.json +6 -14
- package/resource.js +2 -15
- package/resource.js.map +1 -1
- package/resources/auth-configs.d.mts +453 -54
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +453 -54
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +64 -0
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +64 -0
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/cli.d.mts +37 -65
- package/resources/cli.d.mts.map +1 -1
- package/resources/cli.d.ts +37 -65
- package/resources/cli.d.ts.map +1 -1
- package/resources/cli.js +13 -4
- package/resources/cli.js.map +1 -1
- package/resources/cli.mjs +13 -4
- package/resources/cli.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +8726 -233
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +8726 -233
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +77 -2
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +77 -2
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts +218 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +218 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +39 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +35 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +11 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -9
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -4
- package/resources/index.mjs.map +1 -1
- package/resources/link.d.mts +2017 -0
- package/resources/link.d.mts.map +1 -0
- package/resources/link.d.ts +2017 -0
- package/resources/link.d.ts.map +1 -0
- package/resources/link.js +16 -0
- package/resources/link.js.map +1 -0
- package/resources/link.mjs +12 -0
- package/resources/link.mjs.map +1 -0
- package/resources/mcp/custom.d.mts +102 -0
- package/resources/mcp/custom.d.mts.map +1 -0
- package/resources/mcp/custom.d.ts +102 -0
- package/resources/mcp/custom.d.ts.map +1 -0
- package/resources/mcp/custom.js +26 -0
- package/resources/mcp/custom.js.map +1 -0
- package/resources/mcp/custom.mjs +22 -0
- package/resources/mcp/custom.mjs.map +1 -0
- package/resources/mcp/generate.d.mts +59 -0
- package/resources/mcp/generate.d.mts.map +1 -0
- package/resources/mcp/generate.d.ts +59 -0
- package/resources/mcp/generate.d.ts.map +1 -0
- package/resources/mcp/generate.js +26 -0
- package/resources/mcp/generate.js.map +1 -0
- package/resources/mcp/generate.mjs +22 -0
- package/resources/mcp/generate.mjs.map +1 -0
- package/resources/mcp/index.d.mts +3 -2
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +3 -2
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js +5 -3
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs +2 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +447 -175
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +447 -175
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +89 -39
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +88 -16
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/mcp.js +2 -15
- package/resources/mcp.js.map +1 -1
- package/resources/migration.d.mts +32 -0
- package/resources/migration.d.mts.map +1 -0
- package/resources/migration.d.ts +32 -0
- package/resources/migration.d.ts.map +1 -0
- package/resources/migration.js +17 -0
- package/resources/migration.js.map +1 -0
- package/resources/migration.mjs +13 -0
- package/resources/migration.mjs.map +1 -0
- package/resources/tool-router/index.d.mts +3 -0
- package/resources/tool-router/index.d.mts.map +1 -0
- package/resources/tool-router/index.d.ts +3 -0
- package/resources/tool-router/index.d.ts.map +1 -0
- package/resources/tool-router/index.js +9 -0
- package/resources/tool-router/index.js.map +1 -0
- package/resources/tool-router/index.mjs +4 -0
- package/resources/tool-router/index.mjs.map +1 -0
- package/resources/tool-router/session.d.mts +649 -0
- package/resources/tool-router/session.d.mts.map +1 -0
- package/resources/tool-router/session.d.ts +649 -0
- package/resources/tool-router/session.d.ts.map +1 -0
- package/resources/tool-router/session.js +107 -0
- package/resources/tool-router/session.js.map +1 -0
- package/resources/tool-router/session.mjs +103 -0
- package/resources/tool-router/session.mjs.map +1 -0
- package/resources/tool-router/tool-router.d.mts +91 -0
- package/resources/tool-router/tool-router.d.mts.map +1 -0
- package/resources/tool-router/tool-router.d.ts +91 -0
- package/resources/tool-router/tool-router.d.ts.map +1 -0
- package/resources/tool-router/tool-router.js +46 -0
- package/resources/tool-router/tool-router.js.map +1 -0
- package/resources/tool-router/tool-router.mjs +41 -0
- package/resources/tool-router/tool-router.mjs.map +1 -0
- package/resources/tool-router.d.mts +2 -0
- package/resources/tool-router.d.mts.map +1 -0
- package/resources/tool-router.d.ts +2 -0
- package/resources/tool-router.d.ts.map +1 -0
- package/resources/tool-router.js +6 -0
- package/resources/tool-router.js.map +1 -0
- package/resources/{org.mjs → tool-router.mjs} +2 -2
- package/resources/tool-router.mjs.map +1 -0
- package/resources/toolkits.d.mts +286 -6
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +286 -6
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +20 -2
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +20 -2
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +1209 -41
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +1209 -41
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +73 -6
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +73 -6
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts +2 -2
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +2 -2
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/index.js +3 -3
- package/resources/trigger-instances/index.js.map +1 -1
- package/resources/trigger-instances/index.mjs +1 -1
- package/resources/trigger-instances/index.mjs.map +1 -1
- package/resources/trigger-instances/manage.d.mts +43 -0
- package/resources/trigger-instances/manage.d.mts.map +1 -0
- package/resources/trigger-instances/manage.d.ts +43 -0
- package/resources/trigger-instances/manage.d.ts.map +1 -0
- package/resources/trigger-instances/manage.js +33 -0
- package/resources/trigger-instances/manage.js.map +1 -0
- package/resources/trigger-instances/manage.mjs +29 -0
- package/resources/trigger-instances/manage.mjs.map +1 -0
- package/resources/trigger-instances/trigger-instances.d.mts +166 -40
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +166 -40
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +20 -35
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +19 -12
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/trigger-instances.js +2 -15
- package/resources/trigger-instances.js.map +1 -1
- package/resources/triggers-types.d.mts +145 -12
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +145 -12
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +14 -2
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +14 -2
- package/resources/triggers-types.mjs.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/client.ts +145 -114
- package/src/core/resource.ts +1 -1
- package/src/internal/detect-platform.ts +3 -3
- package/src/internal/headers.ts +9 -8
- package/src/internal/qs/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- package/src/internal/request-options.ts +54 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +2 -2
- package/src/internal/to-file.ts +5 -3
- package/src/internal/types.ts +9 -6
- package/src/internal/uploads.ts +17 -5
- package/src/internal/utils/base64.ts +13 -10
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/log.ts +1 -1
- package/src/internal/utils/path.ts +33 -8
- package/src/internal/utils/uuid.ts +1 -3
- package/src/internal/utils/values.ts +6 -3
- package/src/resources/auth-configs.ts +507 -67
- package/src/resources/cli.ts +39 -83
- package/src/resources/connected-accounts.ts +16471 -459
- package/src/resources/files.ts +281 -0
- package/src/resources/index.ts +24 -26
- package/src/resources/link.ts +3817 -0
- package/src/resources/mcp/custom.ts +122 -0
- package/src/resources/mcp/generate.ts +71 -0
- package/src/resources/mcp/index.ts +3 -3
- package/src/resources/mcp/mcp.ts +484 -200
- package/src/resources/migration.ts +46 -0
- package/src/resources/tool-router/index.ts +21 -0
- package/src/resources/tool-router/session.ts +795 -0
- package/src/resources/tool-router/tool-router.ts +141 -0
- package/src/resources/{org/project.ts → tool-router.ts} +1 -1
- package/src/resources/toolkits.ts +325 -8
- package/src/resources/tools.ts +1880 -60
- package/src/resources/trigger-instances/index.ts +5 -9
- package/src/resources/trigger-instances/manage.ts +63 -0
- package/src/resources/trigger-instances/trigger-instances.ts +179 -64
- package/src/resources/triggers-types.ts +149 -14
- package/src/version.ts +1 -1
- package/uploads.js +2 -15
- package/uploads.js.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/internal/shims/crypto.d.mts +0 -13
- package/internal/shims/crypto.d.mts.map +0 -1
- package/internal/shims/crypto.d.ts +0 -13
- package/internal/shims/crypto.d.ts.map +0 -1
- package/internal/shims/crypto.js +0 -13
- package/internal/shims/crypto.js.map +0 -1
- package/internal/shims/crypto.mjs +0 -9
- package/internal/shims/crypto.mjs.map +0 -1
- package/internal/shims/file.d.mts +0 -23
- package/internal/shims/file.d.mts.map +0 -1
- package/internal/shims/file.d.ts +0 -23
- package/internal/shims/file.d.ts.map +0 -1
- package/internal/shims/file.js +0 -16
- package/internal/shims/file.js.map +0 -1
- package/internal/shims/file.mjs +0 -12
- package/internal/shims/file.mjs.map +0 -1
- package/internal/shims/getBuiltinModule.d.mts +0 -11
- package/internal/shims/getBuiltinModule.d.mts.map +0 -1
- package/internal/shims/getBuiltinModule.d.ts +0 -11
- package/internal/shims/getBuiltinModule.d.ts.map +0 -1
- package/internal/shims/getBuiltinModule.js +0 -71
- package/internal/shims/getBuiltinModule.js.map +0 -1
- package/internal/shims/getBuiltinModule.mjs +0 -67
- package/internal/shims/getBuiltinModule.mjs.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.js +0 -5
- package/internal/shims/nullGetBuiltinModule.js.map +0 -1
- package/internal/shims/nullGetBuiltinModule.mjs +0 -2
- package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
- package/resources/action-execution.d.mts +0 -155
- package/resources/action-execution.d.mts.map +0 -1
- package/resources/action-execution.d.ts +0 -155
- package/resources/action-execution.d.ts.map +0 -1
- package/resources/action-execution.js +0 -19
- package/resources/action-execution.js.map +0 -1
- package/resources/action-execution.mjs +0 -15
- package/resources/action-execution.mjs.map +0 -1
- package/resources/mcp/command.d.mts +0 -34
- package/resources/mcp/command.d.mts.map +0 -1
- package/resources/mcp/command.d.ts +0 -34
- package/resources/mcp/command.d.ts.map +0 -1
- package/resources/mcp/command.js +0 -12
- package/resources/mcp/command.js.map +0 -1
- package/resources/mcp/command.mjs +0 -8
- package/resources/mcp/command.mjs.map +0 -1
- package/resources/org/api-key.d.mts +0 -17
- package/resources/org/api-key.d.mts.map +0 -1
- package/resources/org/api-key.d.ts +0 -17
- package/resources/org/api-key.d.ts.map +0 -1
- package/resources/org/api-key.js +0 -15
- package/resources/org/api-key.js.map +0 -1
- package/resources/org/api-key.mjs +0 -11
- package/resources/org/api-key.mjs.map +0 -1
- package/resources/org/index.d.mts +0 -4
- package/resources/org/index.d.mts.map +0 -1
- package/resources/org/index.d.ts +0 -4
- package/resources/org/index.d.ts.map +0 -1
- package/resources/org/index.js +0 -11
- package/resources/org/index.js.map +0 -1
- package/resources/org/index.mjs +0 -5
- package/resources/org/index.mjs.map +0 -1
- package/resources/org/org.d.mts +0 -14
- package/resources/org/org.d.mts.map +0 -1
- package/resources/org/org.d.ts +0 -14
- package/resources/org/org.d.ts.map +0 -1
- package/resources/org/org.js +0 -43
- package/resources/org/org.js.map +0 -1
- package/resources/org/org.mjs +0 -16
- package/resources/org/org.mjs.map +0 -1
- package/resources/org/project/api-keys.d.mts +0 -109
- package/resources/org/project/api-keys.d.mts.map +0 -1
- package/resources/org/project/api-keys.d.ts +0 -109
- package/resources/org/project/api-keys.d.ts.map +0 -1
- package/resources/org/project/api-keys.js +0 -23
- package/resources/org/project/api-keys.js.map +0 -1
- package/resources/org/project/api-keys.mjs +0 -19
- package/resources/org/project/api-keys.mjs.map +0 -1
- package/resources/org/project/index.d.mts +0 -5
- package/resources/org/project/index.d.mts.map +0 -1
- package/resources/org/project/index.d.ts +0 -5
- package/resources/org/project/index.d.ts.map +0 -1
- package/resources/org/project/index.js +0 -13
- package/resources/org/project/index.js.map +0 -1
- package/resources/org/project/index.mjs +0 -6
- package/resources/org/project/index.mjs.map +0 -1
- package/resources/org/project/project.d.mts +0 -90
- package/resources/org/project/project.d.mts.map +0 -1
- package/resources/org/project/project.d.ts +0 -90
- package/resources/org/project/project.d.ts.map +0 -1
- package/resources/org/project/project.js +0 -60
- package/resources/org/project/project.js.map +0 -1
- package/resources/org/project/project.mjs +0 -33
- package/resources/org/project/project.mjs.map +0 -1
- package/resources/org/project/trigger.d.mts +0 -51
- package/resources/org/project/trigger.d.mts.map +0 -1
- package/resources/org/project/trigger.d.ts +0 -51
- package/resources/org/project/trigger.d.ts.map +0 -1
- package/resources/org/project/trigger.js +0 -16
- package/resources/org/project/trigger.js.map +0 -1
- package/resources/org/project/trigger.mjs +0 -12
- package/resources/org/project/trigger.mjs.map +0 -1
- package/resources/org/project/webhook.d.mts +0 -92
- package/resources/org/project/webhook.d.mts.map +0 -1
- package/resources/org/project/webhook.d.ts +0 -92
- package/resources/org/project/webhook.d.ts.map +0 -1
- package/resources/org/project/webhook.js +0 -24
- package/resources/org/project/webhook.js.map +0 -1
- package/resources/org/project/webhook.mjs +0 -20
- package/resources/org/project/webhook.mjs.map +0 -1
- package/resources/org/project.d.mts +0 -2
- package/resources/org/project.d.mts.map +0 -1
- package/resources/org/project.d.ts +0 -2
- package/resources/org/project.d.ts.map +0 -1
- package/resources/org/project.js +0 -19
- package/resources/org/project.js.map +0 -1
- package/resources/org/project.mjs +0 -3
- package/resources/org/project.mjs.map +0 -1
- package/resources/org.d.mts +0 -2
- package/resources/org.d.mts.map +0 -1
- package/resources/org.d.ts +0 -2
- package/resources/org.d.ts.map +0 -1
- package/resources/org.js +0 -19
- package/resources/org.js.map +0 -1
- package/resources/org.mjs.map +0 -1
- package/resources/team-members.d.mts +0 -57
- package/resources/team-members.d.mts.map +0 -1
- package/resources/team-members.d.ts +0 -57
- package/resources/team-members.d.ts.map +0 -1
- package/resources/team-members.js +0 -22
- package/resources/team-members.js.map +0 -1
- package/resources/team-members.mjs +0 -18
- package/resources/team-members.mjs.map +0 -1
- package/resources/trigger-instances/handle.d.mts +0 -25
- package/resources/trigger-instances/handle.d.mts.map +0 -1
- package/resources/trigger-instances/handle.d.ts +0 -25
- package/resources/trigger-instances/handle.d.ts.map +0 -1
- package/resources/trigger-instances/handle.js +0 -18
- package/resources/trigger-instances/handle.js.map +0 -1
- package/resources/trigger-instances/handle.mjs +0 -14
- package/resources/trigger-instances/handle.mjs.map +0 -1
- package/resources/trigger.d.mts +0 -73
- package/resources/trigger.d.mts.map +0 -1
- package/resources/trigger.d.ts +0 -73
- package/resources/trigger.d.ts.map +0 -1
- package/resources/trigger.js +0 -12
- package/resources/trigger.js.map +0 -1
- package/resources/trigger.mjs +0 -8
- package/resources/trigger.mjs.map +0 -1
- package/src/internal/shim-types.d.ts +0 -28
- package/src/internal/shims/crypto.ts +0 -18
- package/src/internal/shims/file.ts +0 -32
- package/src/internal/shims/getBuiltinModule.ts +0 -66
- package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
- package/src/resources/action-execution.ts +0 -244
- package/src/resources/mcp/command.ts +0 -47
- package/src/resources/org/api-key.ts +0 -30
- package/src/resources/org/index.ts +0 -12
- package/src/resources/org/org.ts +0 -39
- package/src/resources/org/project/api-keys.ts +0 -156
- package/src/resources/org/project/index.ts +0 -35
- package/src/resources/org/project/project.ts +0 -206
- package/src/resources/org/project/trigger.ts +0 -95
- package/src/resources/org/project/webhook.ts +0 -131
- package/src/resources/team-members.ts +0 -111
- package/src/resources/trigger-instances/handle.ts +0 -45
- package/src/resources/trigger.ts +0 -108
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class Session extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new session for the tool router feature. This endpoint initializes a
|
|
7
|
+
* new session with specified toolkits and their authentication configurations. The
|
|
8
|
+
* session provides an isolated environment for testing and managing tool routing
|
|
9
|
+
* logic with scoped MCP server access.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const session = await client.toolRouter.session.create({
|
|
14
|
+
* user_id: 'user_123456789',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
create(body: SessionCreateParams, options?: RequestOptions): APIPromise<SessionCreateResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves an existing tool router session by its ID. Returns the session
|
|
21
|
+
* configuration, MCP server URL, and available tools.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const session = await client.toolRouter.session.retrieve(
|
|
26
|
+
* 'trs_123456789',
|
|
27
|
+
* );
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
retrieve(sessionID: string, options?: RequestOptions): APIPromise<SessionRetrieveResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Executes a specific tool within a tool router session. The toolkit is
|
|
33
|
+
* automatically inferred from the tool slug. The tool must belong to an allowed
|
|
34
|
+
* toolkit and must not be disabled in the session configuration. This endpoint
|
|
35
|
+
* validates permissions, resolves connected accounts, and executes the tool with
|
|
36
|
+
* the session context.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response = await client.toolRouter.session.execute(
|
|
41
|
+
* 'trs_LX9uJKBinWWr',
|
|
42
|
+
* { tool_slug: 'GITHUB_CREATE_ISSUE' },
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
execute(sessionID: string, body: SessionExecuteParams, options?: RequestOptions): APIPromise<SessionExecuteResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Executes a Composio meta tool (COMPOSIO\_\*) within a tool router session.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const response =
|
|
53
|
+
* await client.toolRouter.session.executeMeta(
|
|
54
|
+
* 'trs_LX9uJKBinWWr',
|
|
55
|
+
* { slug: 'COMPOSIO_MANAGE_CONNECTIONS' },
|
|
56
|
+
* );
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
executeMeta(sessionID: string, body: SessionExecuteMetaParams, options?: RequestOptions): APIPromise<SessionExecuteMetaResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Initiates an authentication link session for a specific toolkit within a tool
|
|
62
|
+
* router session. Returns a link token and redirect URL that users can use to
|
|
63
|
+
* complete the OAuth flow.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* const response = await client.toolRouter.session.link(
|
|
68
|
+
* 'trs_LX9uJKBinWWr',
|
|
69
|
+
* { toolkit: 'github' },
|
|
70
|
+
* );
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
link(sessionID: string, body: SessionLinkParams, options?: RequestOptions): APIPromise<SessionLinkResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves a cursor-paginated list of toolkits available in the tool router
|
|
76
|
+
* session. Includes toolkit metadata, composio-managed auth schemes, and connected
|
|
77
|
+
* accounts if available. Optionally filter by specific toolkit slugs.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const response = await client.toolRouter.session.toolkits(
|
|
82
|
+
* 'trs_123456789',
|
|
83
|
+
* );
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
toolkits(sessionID: string, query?: SessionToolkitsParams | null | undefined, options?: RequestOptions): APIPromise<SessionToolkitsResponse>;
|
|
87
|
+
}
|
|
88
|
+
export interface SessionCreateResponse {
|
|
89
|
+
/**
|
|
90
|
+
* The session configuration including user, toolkits, and overrides
|
|
91
|
+
*/
|
|
92
|
+
config: SessionCreateResponse.Config;
|
|
93
|
+
mcp: SessionCreateResponse.Mcp;
|
|
94
|
+
/**
|
|
95
|
+
* The identifier of the session
|
|
96
|
+
*/
|
|
97
|
+
session_id: string;
|
|
98
|
+
/**
|
|
99
|
+
* List of available tools in this session
|
|
100
|
+
*/
|
|
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'>;
|
|
102
|
+
}
|
|
103
|
+
export declare namespace SessionCreateResponse {
|
|
104
|
+
/**
|
|
105
|
+
* The session configuration including user, toolkits, and overrides
|
|
106
|
+
*/
|
|
107
|
+
interface Config {
|
|
108
|
+
/**
|
|
109
|
+
* User identifier for this session
|
|
110
|
+
*/
|
|
111
|
+
user_id: string;
|
|
112
|
+
/**
|
|
113
|
+
* Auth config overrides per toolkit
|
|
114
|
+
*/
|
|
115
|
+
auth_configs?: {
|
|
116
|
+
[key: string]: string;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Connected account overrides per toolkit
|
|
120
|
+
*/
|
|
121
|
+
connected_accounts?: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Manage connections configuration
|
|
126
|
+
*/
|
|
127
|
+
manage_connections?: Config.ManageConnections;
|
|
128
|
+
/**
|
|
129
|
+
* MCP tool annotation hints for filtering tools. readOnlyHint: tool does not
|
|
130
|
+
* modify environment. destructiveHint: tool may perform destructive updates.
|
|
131
|
+
* idempotentHint: repeated calls with same args have no additional effect.
|
|
132
|
+
* openWorldHint: tool may interact with external entities.
|
|
133
|
+
*/
|
|
134
|
+
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
135
|
+
/**
|
|
136
|
+
* Toolkit configuration - either enabled list or disabled list
|
|
137
|
+
*/
|
|
138
|
+
toolkits?: Config.Enabled | Config.Disabled;
|
|
139
|
+
/**
|
|
140
|
+
* Tool-level configuration per toolkit
|
|
141
|
+
*/
|
|
142
|
+
tools?: {
|
|
143
|
+
[key: string]: Config.Enabled | Config.Disabled | Config.Tags;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Workbench configuration
|
|
147
|
+
*/
|
|
148
|
+
workbench?: Config.Workbench;
|
|
149
|
+
}
|
|
150
|
+
namespace Config {
|
|
151
|
+
/**
|
|
152
|
+
* Manage connections configuration
|
|
153
|
+
*/
|
|
154
|
+
interface ManageConnections {
|
|
155
|
+
/**
|
|
156
|
+
* Custom callback URL for connected account auth flows
|
|
157
|
+
*/
|
|
158
|
+
callback_url?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Whether to enable the connection manager for automatic connection handling
|
|
161
|
+
*/
|
|
162
|
+
enabled?: boolean;
|
|
163
|
+
}
|
|
164
|
+
interface Enabled {
|
|
165
|
+
enabled: Array<string>;
|
|
166
|
+
}
|
|
167
|
+
interface Disabled {
|
|
168
|
+
disabled: Array<string>;
|
|
169
|
+
}
|
|
170
|
+
interface Enabled {
|
|
171
|
+
enabled: Array<string>;
|
|
172
|
+
}
|
|
173
|
+
interface Disabled {
|
|
174
|
+
disabled: Array<string>;
|
|
175
|
+
}
|
|
176
|
+
interface Tags {
|
|
177
|
+
tags: Array<string>;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Workbench configuration
|
|
181
|
+
*/
|
|
182
|
+
interface Workbench {
|
|
183
|
+
/**
|
|
184
|
+
* Character threshold after which tool execution response are saved to a file in
|
|
185
|
+
* workbench. Default is 20k.
|
|
186
|
+
*/
|
|
187
|
+
auto_offload_threshold?: number;
|
|
188
|
+
/**
|
|
189
|
+
* Whether proxy execution is enabled in the workbench
|
|
190
|
+
*/
|
|
191
|
+
proxy_execution_enabled?: boolean;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
interface Mcp {
|
|
195
|
+
/**
|
|
196
|
+
* The type of the MCP server. Can be http
|
|
197
|
+
*/
|
|
198
|
+
type: 'http';
|
|
199
|
+
/**
|
|
200
|
+
* The URL of the MCP server
|
|
201
|
+
*/
|
|
202
|
+
url: string;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
export interface SessionRetrieveResponse {
|
|
206
|
+
/**
|
|
207
|
+
* The session configuration including user, toolkits, and overrides
|
|
208
|
+
*/
|
|
209
|
+
config: SessionRetrieveResponse.Config;
|
|
210
|
+
mcp: SessionRetrieveResponse.Mcp;
|
|
211
|
+
/**
|
|
212
|
+
* The identifier of the session
|
|
213
|
+
*/
|
|
214
|
+
session_id: string;
|
|
215
|
+
/**
|
|
216
|
+
* List of available tools in this session
|
|
217
|
+
*/
|
|
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'>;
|
|
219
|
+
}
|
|
220
|
+
export declare namespace SessionRetrieveResponse {
|
|
221
|
+
/**
|
|
222
|
+
* The session configuration including user, toolkits, and overrides
|
|
223
|
+
*/
|
|
224
|
+
interface Config {
|
|
225
|
+
/**
|
|
226
|
+
* User identifier for this session
|
|
227
|
+
*/
|
|
228
|
+
user_id: string;
|
|
229
|
+
/**
|
|
230
|
+
* Auth config overrides per toolkit
|
|
231
|
+
*/
|
|
232
|
+
auth_configs?: {
|
|
233
|
+
[key: string]: string;
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Connected account overrides per toolkit
|
|
237
|
+
*/
|
|
238
|
+
connected_accounts?: {
|
|
239
|
+
[key: string]: string;
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* Manage connections configuration
|
|
243
|
+
*/
|
|
244
|
+
manage_connections?: Config.ManageConnections;
|
|
245
|
+
/**
|
|
246
|
+
* MCP tool annotation hints for filtering tools. readOnlyHint: tool does not
|
|
247
|
+
* modify environment. destructiveHint: tool may perform destructive updates.
|
|
248
|
+
* idempotentHint: repeated calls with same args have no additional effect.
|
|
249
|
+
* openWorldHint: tool may interact with external entities.
|
|
250
|
+
*/
|
|
251
|
+
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
252
|
+
/**
|
|
253
|
+
* Toolkit configuration - either enabled list or disabled list
|
|
254
|
+
*/
|
|
255
|
+
toolkits?: Config.Enabled | Config.Disabled;
|
|
256
|
+
/**
|
|
257
|
+
* Tool-level configuration per toolkit
|
|
258
|
+
*/
|
|
259
|
+
tools?: {
|
|
260
|
+
[key: string]: Config.Enabled | Config.Disabled | Config.Tags;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Workbench configuration
|
|
264
|
+
*/
|
|
265
|
+
workbench?: Config.Workbench;
|
|
266
|
+
}
|
|
267
|
+
namespace Config {
|
|
268
|
+
/**
|
|
269
|
+
* Manage connections configuration
|
|
270
|
+
*/
|
|
271
|
+
interface ManageConnections {
|
|
272
|
+
/**
|
|
273
|
+
* Custom callback URL for connected account auth flows
|
|
274
|
+
*/
|
|
275
|
+
callback_url?: string;
|
|
276
|
+
/**
|
|
277
|
+
* Whether to enable the connection manager for automatic connection handling
|
|
278
|
+
*/
|
|
279
|
+
enabled?: boolean;
|
|
280
|
+
}
|
|
281
|
+
interface Enabled {
|
|
282
|
+
enabled: Array<string>;
|
|
283
|
+
}
|
|
284
|
+
interface Disabled {
|
|
285
|
+
disabled: Array<string>;
|
|
286
|
+
}
|
|
287
|
+
interface Enabled {
|
|
288
|
+
enabled: Array<string>;
|
|
289
|
+
}
|
|
290
|
+
interface Disabled {
|
|
291
|
+
disabled: Array<string>;
|
|
292
|
+
}
|
|
293
|
+
interface Tags {
|
|
294
|
+
tags: Array<string>;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Workbench configuration
|
|
298
|
+
*/
|
|
299
|
+
interface Workbench {
|
|
300
|
+
/**
|
|
301
|
+
* Character threshold after which tool execution response are saved to a file in
|
|
302
|
+
* workbench. Default is 20k.
|
|
303
|
+
*/
|
|
304
|
+
auto_offload_threshold?: number;
|
|
305
|
+
/**
|
|
306
|
+
* Whether proxy execution is enabled in the workbench
|
|
307
|
+
*/
|
|
308
|
+
proxy_execution_enabled?: boolean;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
interface Mcp {
|
|
312
|
+
/**
|
|
313
|
+
* The type of the MCP server. Can be http
|
|
314
|
+
*/
|
|
315
|
+
type: 'http';
|
|
316
|
+
/**
|
|
317
|
+
* The URL of the MCP server
|
|
318
|
+
*/
|
|
319
|
+
url: string;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
export interface SessionExecuteResponse {
|
|
323
|
+
/**
|
|
324
|
+
* The data returned by the tool execution
|
|
325
|
+
*/
|
|
326
|
+
data: {
|
|
327
|
+
[key: string]: unknown;
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* Error message if the execution failed, null otherwise
|
|
331
|
+
*/
|
|
332
|
+
error: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* Unique identifier for the execution log
|
|
335
|
+
*/
|
|
336
|
+
log_id: string;
|
|
337
|
+
}
|
|
338
|
+
export interface SessionExecuteMetaResponse {
|
|
339
|
+
/**
|
|
340
|
+
* The data returned by the tool execution
|
|
341
|
+
*/
|
|
342
|
+
data: {
|
|
343
|
+
[key: string]: unknown;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Error message if the execution failed, null otherwise
|
|
347
|
+
*/
|
|
348
|
+
error: string | null;
|
|
349
|
+
/**
|
|
350
|
+
* Unique identifier for the execution log
|
|
351
|
+
*/
|
|
352
|
+
log_id: string;
|
|
353
|
+
}
|
|
354
|
+
export interface SessionLinkResponse {
|
|
355
|
+
/**
|
|
356
|
+
* The unique identifier for the connected account
|
|
357
|
+
*/
|
|
358
|
+
connected_account_id: string;
|
|
359
|
+
/**
|
|
360
|
+
* Token used to complete the authentication flow
|
|
361
|
+
*/
|
|
362
|
+
link_token: string;
|
|
363
|
+
/**
|
|
364
|
+
* The URL where users should be redirected to complete OAuth
|
|
365
|
+
*/
|
|
366
|
+
redirect_url: string;
|
|
367
|
+
}
|
|
368
|
+
export interface SessionToolkitsResponse {
|
|
369
|
+
current_page: number;
|
|
370
|
+
items: Array<SessionToolkitsResponse.Item>;
|
|
371
|
+
total_items: number;
|
|
372
|
+
total_pages: number;
|
|
373
|
+
next_cursor?: string | null;
|
|
374
|
+
}
|
|
375
|
+
export declare namespace SessionToolkitsResponse {
|
|
376
|
+
interface Item {
|
|
377
|
+
/**
|
|
378
|
+
* Available Composio-managed auth schemes
|
|
379
|
+
*/
|
|
380
|
+
composio_managed_auth_schemes: Array<string>;
|
|
381
|
+
/**
|
|
382
|
+
* Connected account if available
|
|
383
|
+
*/
|
|
384
|
+
connected_account: Item.ConnectedAccount | null;
|
|
385
|
+
/**
|
|
386
|
+
* Whether the toolkit is enabled
|
|
387
|
+
*/
|
|
388
|
+
enabled: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* Whether the toolkit is no-auth
|
|
391
|
+
*/
|
|
392
|
+
is_no_auth: boolean;
|
|
393
|
+
/**
|
|
394
|
+
* Toolkit metadata
|
|
395
|
+
*/
|
|
396
|
+
meta: Item.Meta;
|
|
397
|
+
/**
|
|
398
|
+
* Display name of the toolkit
|
|
399
|
+
*/
|
|
400
|
+
name: string;
|
|
401
|
+
/**
|
|
402
|
+
* Unique slug identifier
|
|
403
|
+
*/
|
|
404
|
+
slug: string;
|
|
405
|
+
}
|
|
406
|
+
namespace Item {
|
|
407
|
+
/**
|
|
408
|
+
* Connected account if available
|
|
409
|
+
*/
|
|
410
|
+
interface ConnectedAccount {
|
|
411
|
+
/**
|
|
412
|
+
* Connected account identifier
|
|
413
|
+
*/
|
|
414
|
+
id: string;
|
|
415
|
+
/**
|
|
416
|
+
* Auth config details
|
|
417
|
+
*/
|
|
418
|
+
auth_config: ConnectedAccount.AuthConfig;
|
|
419
|
+
/**
|
|
420
|
+
* Creation timestamp
|
|
421
|
+
*/
|
|
422
|
+
created_at: string;
|
|
423
|
+
/**
|
|
424
|
+
* Connection status
|
|
425
|
+
*/
|
|
426
|
+
status: string;
|
|
427
|
+
/**
|
|
428
|
+
* User identifier
|
|
429
|
+
*/
|
|
430
|
+
user_id: string;
|
|
431
|
+
}
|
|
432
|
+
namespace ConnectedAccount {
|
|
433
|
+
/**
|
|
434
|
+
* Auth config details
|
|
435
|
+
*/
|
|
436
|
+
interface AuthConfig {
|
|
437
|
+
/**
|
|
438
|
+
* Auth config identifier
|
|
439
|
+
*/
|
|
440
|
+
id: string;
|
|
441
|
+
/**
|
|
442
|
+
* Authentication scheme type
|
|
443
|
+
*/
|
|
444
|
+
auth_scheme: string;
|
|
445
|
+
/**
|
|
446
|
+
* Whether this is a Composio-managed auth config
|
|
447
|
+
*/
|
|
448
|
+
is_composio_managed: boolean;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Toolkit metadata
|
|
453
|
+
*/
|
|
454
|
+
interface Meta {
|
|
455
|
+
/**
|
|
456
|
+
* Description of the toolkit
|
|
457
|
+
*/
|
|
458
|
+
description: string;
|
|
459
|
+
/**
|
|
460
|
+
* URL to the toolkit logo
|
|
461
|
+
*/
|
|
462
|
+
logo: string;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
export interface SessionCreateParams {
|
|
467
|
+
/**
|
|
468
|
+
* The identifier of the user who is initiating the session, ideally a unique
|
|
469
|
+
* identifier from your database like a user ID or email address
|
|
470
|
+
*/
|
|
471
|
+
user_id: string;
|
|
472
|
+
/**
|
|
473
|
+
* The auth configs to use for the session. This will override the default behavior
|
|
474
|
+
* and use the given auth config when specific toolkits are being executed
|
|
475
|
+
*/
|
|
476
|
+
auth_configs?: {
|
|
477
|
+
[key: string]: string;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* The connected accounts to use for the session. This will override the default
|
|
481
|
+
* behaviour and use the given connected account when specific toolkits are being
|
|
482
|
+
* executed
|
|
483
|
+
*/
|
|
484
|
+
connected_accounts?: {
|
|
485
|
+
[key: string]: string;
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* Configuration for connection management settings
|
|
489
|
+
*/
|
|
490
|
+
manage_connections?: SessionCreateParams.ManageConnections;
|
|
491
|
+
/**
|
|
492
|
+
* Global MCP tool annotation hints for filtering. readOnlyHint: tool does not
|
|
493
|
+
* modify environment. destructiveHint: tool may perform destructive updates.
|
|
494
|
+
* idempotentHint: repeated calls with same args have no additional effect.
|
|
495
|
+
* openWorldHint: tool may interact with external entities. Toolkit-level tags
|
|
496
|
+
* override this. Toolkit enabled/disabled lists take precedence over tag
|
|
497
|
+
* filtering.
|
|
498
|
+
*/
|
|
499
|
+
tags?: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
500
|
+
/**
|
|
501
|
+
* Toolkit configuration - specify either enable toolkits (allowlist) or disable
|
|
502
|
+
* toolkits (denylist). Mutually exclusive.
|
|
503
|
+
*/
|
|
504
|
+
toolkits?: SessionCreateParams.Enable | SessionCreateParams.Disable;
|
|
505
|
+
/**
|
|
506
|
+
* Tool-level configuration per toolkit - either specify enable tools (whitelist),
|
|
507
|
+
* disable tools (blacklist), or filter by MCP tags for each toolkit
|
|
508
|
+
*/
|
|
509
|
+
tools?: {
|
|
510
|
+
[key: string]: SessionCreateParams.Enable | SessionCreateParams.Disable | SessionCreateParams.Tags;
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* Configuration for workbench behavior
|
|
514
|
+
*/
|
|
515
|
+
workbench?: SessionCreateParams.Workbench;
|
|
516
|
+
}
|
|
517
|
+
export declare namespace SessionCreateParams {
|
|
518
|
+
/**
|
|
519
|
+
* Configuration for connection management settings
|
|
520
|
+
*/
|
|
521
|
+
interface ManageConnections {
|
|
522
|
+
/**
|
|
523
|
+
* The URL to redirect to after a user completes authentication for a connected
|
|
524
|
+
* account. This allows you to handle the auth callback in your own application.
|
|
525
|
+
*/
|
|
526
|
+
callback_url?: string;
|
|
527
|
+
/**
|
|
528
|
+
* Whether to enable the connection manager for automatic connection handling. If
|
|
529
|
+
* true, we will provide a tool your agent can use to initiate connections to
|
|
530
|
+
* toolkits if it doesnt exist. If set to false, then you have to manage
|
|
531
|
+
* connections manually.
|
|
532
|
+
*/
|
|
533
|
+
enable?: boolean | null;
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* Enable only specific toolkits (allowlist)
|
|
537
|
+
*/
|
|
538
|
+
interface Enable {
|
|
539
|
+
/**
|
|
540
|
+
* Only these specific toolkits will be enabled
|
|
541
|
+
*/
|
|
542
|
+
enable: Array<string>;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Disable specific toolkits (denylist)
|
|
546
|
+
*/
|
|
547
|
+
interface Disable {
|
|
548
|
+
/**
|
|
549
|
+
* These specific toolkits will be disabled
|
|
550
|
+
*/
|
|
551
|
+
disable: Array<string>;
|
|
552
|
+
}
|
|
553
|
+
interface Enable {
|
|
554
|
+
/**
|
|
555
|
+
* Only these specific tools will be available for this toolkit
|
|
556
|
+
*/
|
|
557
|
+
enable: Array<string>;
|
|
558
|
+
}
|
|
559
|
+
interface Disable {
|
|
560
|
+
/**
|
|
561
|
+
* These specific tools will be disabled for this toolkit
|
|
562
|
+
*/
|
|
563
|
+
disable: Array<string>;
|
|
564
|
+
}
|
|
565
|
+
interface Tags {
|
|
566
|
+
/**
|
|
567
|
+
* MCP tags to filter tools for this toolkit. Only tools with these tags will be
|
|
568
|
+
* available.
|
|
569
|
+
*/
|
|
570
|
+
tags: Array<'readOnlyHint' | 'destructiveHint' | 'idempotentHint' | 'openWorldHint'>;
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Configuration for workbench behavior
|
|
574
|
+
*/
|
|
575
|
+
interface Workbench {
|
|
576
|
+
/**
|
|
577
|
+
* Character threshold for automatic offloading. When workbench response exceeds
|
|
578
|
+
* this threshold, it will be automatically offloaded. Default is picked
|
|
579
|
+
* automatically based on the response size.
|
|
580
|
+
*/
|
|
581
|
+
auto_offload_threshold?: number;
|
|
582
|
+
/**
|
|
583
|
+
* Whether proxy execution is enabled. When enabled, workbench can call URLs and
|
|
584
|
+
* APIs directly.
|
|
585
|
+
*/
|
|
586
|
+
enable_proxy_execution?: boolean;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
export interface SessionExecuteParams {
|
|
590
|
+
/**
|
|
591
|
+
* The unique slug identifier of the tool to execute
|
|
592
|
+
*/
|
|
593
|
+
tool_slug: string;
|
|
594
|
+
/**
|
|
595
|
+
* The arguments required by the tool
|
|
596
|
+
*/
|
|
597
|
+
arguments?: {
|
|
598
|
+
[key: string]: unknown;
|
|
599
|
+
};
|
|
600
|
+
}
|
|
601
|
+
export interface SessionExecuteMetaParams {
|
|
602
|
+
/**
|
|
603
|
+
* The unique slug identifier of the meta tool to execute
|
|
604
|
+
*/
|
|
605
|
+
slug: string;
|
|
606
|
+
/**
|
|
607
|
+
* The arguments required by the meta tool
|
|
608
|
+
*/
|
|
609
|
+
arguments?: {
|
|
610
|
+
[key: string]: unknown;
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
export interface SessionLinkParams {
|
|
614
|
+
/**
|
|
615
|
+
* The unique slug identifier of the toolkit to connect
|
|
616
|
+
*/
|
|
617
|
+
toolkit: string;
|
|
618
|
+
/**
|
|
619
|
+
* URL where users will be redirected after completing auth
|
|
620
|
+
*/
|
|
621
|
+
callback_url?: string;
|
|
622
|
+
}
|
|
623
|
+
export interface SessionToolkitsParams {
|
|
624
|
+
/**
|
|
625
|
+
* Cursor for pagination. The cursor is a base64 encoded string of the page and
|
|
626
|
+
* limit. The page is the page number and the limit is the number of items per
|
|
627
|
+
* page. The cursor is used to paginate through the items. The cursor is not
|
|
628
|
+
* required for the first page.
|
|
629
|
+
*/
|
|
630
|
+
cursor?: string;
|
|
631
|
+
/**
|
|
632
|
+
* Whether to filter by connected toolkits. If provided, only connected toolkits
|
|
633
|
+
* will be returned.
|
|
634
|
+
*/
|
|
635
|
+
is_connected?: boolean | null;
|
|
636
|
+
/**
|
|
637
|
+
* Number of items per page, max allowed is 1000
|
|
638
|
+
*/
|
|
639
|
+
limit?: number | null;
|
|
640
|
+
/**
|
|
641
|
+
* Optional comma-separated list of toolkit slugs to filter by. If provided, only
|
|
642
|
+
* these toolkits will be returned, overriding the session configuration.
|
|
643
|
+
*/
|
|
644
|
+
toolkits?: Array<string> | null;
|
|
645
|
+
}
|
|
646
|
+
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, };
|
|
648
|
+
}
|
|
649
|
+
//# sourceMappingURL=session.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.mts","sourceRoot":"","sources":["../../src/resources/tool-router/session.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAI1F;;;;;;;;;;;;;;OAcG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;;;;;;;;;;OAWG;IACH,WAAW,CACT,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAOzC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAGvC;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,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