mirror of
https://github.com/ComposioHQ/composio.git
synced 2026-09-22 11:46:35 +08:00
24e647fa16
This PR: - builds on top of https://github.com/ComposioHQ/composio/pull/3495 - adds a Node.js `current` e2e suite for `@composio/claude-agent-sdk` - exercises the packaged provider through Claude Agent SDK `createSdkMcpServer` / `query()` with a deterministic local tool - forwards `ANTHROPIC_API_KEY` through Turbo, Docker e2e env passthrough, and the Node e2e workflow
84 lines
2.4 KiB
JSON
84 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
// pnpm is pinned solely by mise (`npm:pnpm` in mise.toml). We intentionally
|
|
// omit the root `packageManager` field rather than duplicate that version, so
|
|
// mise stays the single source of truth. Turbo then infers pnpm from
|
|
// pnpm-lock.yaml for workspace resolution.
|
|
"dangerouslyDisablePackageManagerCheck": true,
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
"tsdown.config.ts",
|
|
// for core
|
|
"../../../tsdown.config.base.ts",
|
|
// for providers
|
|
"../../../../tsdown.config.base.ts"
|
|
],
|
|
"outputs": ["dist/"]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/"]
|
|
},
|
|
"test:e2e": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["ANTHROPIC_API_KEY", "COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "OPENAI_API_KEY"],
|
|
"cache": false
|
|
},
|
|
"test:e2e:node": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["ANTHROPIC_API_KEY", "COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "COMPOSIO_E2E_NODE_VERSION", "OPENAI_API_KEY"],
|
|
"cache": false
|
|
},
|
|
"test:e2e:deno": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "COMPOSIO_E2E_DENO_VERSION", "OPENAI_API_KEY"],
|
|
"cache": false
|
|
},
|
|
"test:e2e:cli": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "COMPOSIO_E2E_CLI_VERSION", "OPENAI_API_KEY"],
|
|
"cache": false
|
|
},
|
|
"test:e2e:cloudflare": {
|
|
"dependsOn": ["^build"],
|
|
"env": ["COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "OPENAI_API_KEY"],
|
|
"cache": false
|
|
},
|
|
"install:binary": {
|
|
"dependsOn": ["build:binary"],
|
|
"cache": false
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false
|
|
},
|
|
"typecheck:tsc": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false
|
|
},
|
|
"//#clean": {
|
|
"cache": false
|
|
},
|
|
"record": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"src/**",
|
|
"scripts/record.ts",
|
|
"recordings/recordings.yaml"
|
|
],
|
|
"outputs": [
|
|
"recordings/tapes/**",
|
|
"recordings/svgs/**",
|
|
"recordings/ascii/**"
|
|
],
|
|
"env": ["COMPOSIO_API_KEY"]
|
|
}
|
|
}
|
|
}
|