n8n/packages/@n8n/agents/package.json
Charlie Kolb c4d08ecb69
chore(eslint-config): Apply module boundary tags to all packages (spike, no-changelog)
Stamps boundaries: { type, scope } into all 71 workspace package.json files per
the assessment table, extends the rule's type set (runtime/nodes/sdk/tooling) to
cover the whole repo, and adds a validation harness that checks the real workspace
dependency graph against the matrices.

Harness output: 19 type + 21 scope violations, clustering on known smells
(n8n-workflow is types+runtime in one; design-system/workflow-sdk want 'shared'
scope; core->platform layering inversion). See scripts/spike-apply-boundaries.mjs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 13:40:58 +02:00

176 lines
5.2 KiB
JSON

{
"boundaries": { "type": "sdk", "scope": "ai" },
"name": "@n8n/agents",
"version": "0.15.0",
"description": "AI agent SDK for n8n's code-first execution engine",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"tool": [
"dist/sdk/tool.d.ts"
],
"catalog": [
"dist/sdk/catalog.d.ts"
],
"sandbox": [
"dist/workspace/sandbox/index.d.ts"
],
"vector-stores/postgres": [
"dist/vector-stores/postgres.d.ts"
],
"vector-stores/pinecone": [
"dist/vector-stores/pinecone.d.ts"
],
"vector-stores/qdrant": [
"dist/vector-stores/qdrant.d.ts"
],
"vector-stores/supabase": [
"dist/vector-stores/supabase.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./tool": {
"types": "./dist/sdk/tool.d.ts",
"default": "./dist/sdk/tool.js"
},
"./catalog": {
"types": "./dist/sdk/catalog.d.ts",
"default": "./dist/sdk/catalog.js"
},
"./sandbox": {
"types": "./dist/workspace/sandbox/index.d.ts",
"default": "./dist/workspace/sandbox/index.js"
},
"./vector-stores/postgres": {
"types": "./dist/vector-stores/postgres.d.ts",
"default": "./dist/vector-stores/postgres.js"
},
"./vector-stores/pinecone": {
"types": "./dist/vector-stores/pinecone.d.ts",
"default": "./dist/vector-stores/pinecone.js"
},
"./vector-stores/qdrant": {
"types": "./dist/vector-stores/qdrant.d.ts",
"default": "./dist/vector-stores/qdrant.js"
},
"./vector-stores/supabase": {
"types": "./dist/vector-stores/supabase.d.ts",
"default": "./dist/vector-stores/supabase.js"
}
},
"files": [
"dist/**/*"
],
"scripts": {
"clean": "rimraf dist .turbo",
"dev": "pnpm watch",
"typecheck": "tsc --noEmit",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"build:unchecked": "rimraf dist && tsc -p tsconfig.build.json --noCheck",
"format": "biome format --write src examples",
"format:check": "biome ci src examples",
"lint": "eslint . --quiet",
"lint:fix": "eslint . --fix",
"watch": "tsc -p tsconfig.build.json --watch",
"test": "vitest run",
"test:unit": "vitest run",
"test:dev": "vitest --silent=false",
"test:integration": "vitest run --config vitest.integration.config.mjs",
"test:integration:replay": "cross-env CI=1 vitest run --config vitest.integration.config.mjs",
"test:integration:record": "cross-env VCR_MODE=record vitest run --config vitest.integration.config.mjs",
"fixtures:generate": "tsx src/__tests__/fixtures/generate-bulk-vector-fixture.ts"
},
"dependencies": {
"@ai-sdk/amazon-bedrock": "catalog:",
"@ai-sdk/anthropic": "catalog:",
"@ai-sdk/azure": "catalog:",
"@ai-sdk/cohere": "catalog:",
"@ai-sdk/deepseek": "catalog:",
"@ai-sdk/gateway": "catalog:",
"@ai-sdk/google": "catalog:",
"@ai-sdk/groq": "catalog:",
"@ai-sdk/mistral": "catalog:",
"@ai-sdk/openai": "catalog:",
"@ai-sdk/openai-compatible": "catalog:",
"@ai-sdk/provider-utils": "catalog:",
"@ai-sdk/xai": "catalog:",
"@daytona/sdk": "catalog:",
"@modelcontextprotocol/sdk": "catalog:",
"@n8n/ai-utilities": "workspace:*",
"@n8n/sandbox-client": "0.0.4",
"@n8n/utils": "workspace:*",
"@openrouter/ai-sdk-provider": "catalog:",
"@opentelemetry/exporter-trace-otlp-http": ">=0.50.0",
"@opentelemetry/sdk-trace-base": ">=1.0.0",
"@opentelemetry/sdk-trace-node": ">=1.0.0",
"ai": "catalog:",
"ajv": "^8.18.0",
"langsmith": "catalog:",
"undici": "catalog:undici-v7",
"yaml": "catalog:",
"zod-to-json-schema": "catalog:"
},
"peerDependencies": {
"@pinecone-database/pinecone": "catalog:",
"@qdrant/js-client-rest": "catalog:",
"@supabase/supabase-js": "catalog:",
"pg": "catalog:",
"zod": "catalog:"
},
"peerDependenciesMeta": {
"langsmith": {
"optional": true
},
"@opentelemetry/sdk-trace-node": {
"optional": true
},
"@opentelemetry/sdk-trace-base": {
"optional": true
},
"@opentelemetry/exporter-trace-otlp-http": {
"optional": true
},
"pg": {
"optional": true
},
"@pinecone-database/pinecone": {
"optional": true
},
"@qdrant/js-client-rest": {
"optional": true
},
"@supabase/supabase-js": {
"optional": true
}
},
"devDependencies": {
"@n8n/typescript-config": "workspace:*",
"@n8n/vitest-config": "workspace:*",
"@pinecone-database/pinecone": "catalog:",
"@qdrant/js-client-rest": "catalog:",
"@supabase/supabase-js": "catalog:",
"@types/json-schema": "catalog:",
"@types/pg": "^8.15.6",
"@vitest/coverage-v8": "catalog:",
"dotenv": "catalog:",
"cross-env": "catalog:",
"nock": "catalog:",
"pg": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:typescript",
"vite": "catalog:",
"vitest": "catalog:",
"vitest-mock-extended": "catalog:",
"zod": "catalog:"
},
"license": "LicenseRef-n8n-sustainable-use"
}