mirror of
https://github.com/open-multi-agent/open-multi-agent.git
synced 2026-10-19 01:31:07 -05:00
packages/core/tsconfig.json excludes `examples`, and no CI job compiled them, so the only automated coverage for 63 catalogued examples was catalog metadata and file existence. An example could reference a removed option or a changed constructor signature and stay green forever. Core's `lint` script now runs against a new `tsconfig.lint.json` that compiles `src/` and `examples/` together. The existing CI `lint` job and the documented `npm run lint -w @open-multi-agent/core` step both pick it up with no workflow change. Turning the gate on surfaced six examples that no longer compiled: - patterns/cross-provider-reasoning.ts called `new Agent(config)`; the constructor takes `(config, registry, executor)`. - integrations/external-agent-acp.ts passed `onProgress` through `RunTeamOptions`, where it does not exist. It belongs on `OrchestratorConfig`. - cookbook/contract-review-dag.ts and cookbook/incident-postmortem-dag.ts declared `dependsOn?: readonly string[]`, not assignable to `RunTaskSpec.dependsOn`. - cookbook/paper-replication-triage.ts built a header object whose union type was not assignable to `Record<string, string>`. - integrations/with-engram/engram-store.ts assigned `res.json()` (`unknown`) straight to `EngramFact[]`. `examples/fixtures/` is agent input rather than compiled code, and the self-contained example projects resolve `@open-multi-agent/core` from the built package, so both are excluded from the pass.
151 lines
3.8 KiB
JSON
151 lines
3.8 KiB
JSON
{
|
|
"name": "@open-multi-agent/core",
|
|
"version": "1.16.0",
|
|
"description": "TypeScript multi-agent framework: one runTeam() call from goal to result. Auto task decomposition and parallel execution for multi-step LLM jobs. Deploys anywhere Node.js runs.",
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"oma": "dist/cli/oma.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./observability": {
|
|
"types": "./dist/observability/index.d.ts",
|
|
"import": "./dist/observability/index.js"
|
|
},
|
|
"./observability/file": {
|
|
"types": "./dist/observability/file.d.ts",
|
|
"import": "./dist/observability/file.js"
|
|
},
|
|
"./acp": {
|
|
"types": "./dist/acp.d.ts",
|
|
"import": "./dist/acp.js"
|
|
},
|
|
"./process": {
|
|
"types": "./dist/process.d.ts",
|
|
"import": "./dist/process.js"
|
|
},
|
|
"./mcp": {
|
|
"types": "./dist/mcp.d.ts",
|
|
"import": "./dist/mcp.js"
|
|
},
|
|
"./ai-sdk": {
|
|
"types": "./dist/ai-sdk.d.ts",
|
|
"import": "./dist/ai-sdk.js"
|
|
},
|
|
"./classifiers": {
|
|
"types": "./dist/classifiers.d.ts",
|
|
"import": "./dist/classifiers.js"
|
|
},
|
|
"./shell": {
|
|
"types": "./dist/shell.d.ts",
|
|
"import": "./dist/shell.js"
|
|
},
|
|
"./eval": {
|
|
"types": "./dist/eval/index.d.ts",
|
|
"import": "./dist/eval/index.js"
|
|
},
|
|
"./eval/file": {
|
|
"types": "./dist/eval/file.d.ts",
|
|
"import": "./dist/eval/file.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"lint": "tsc --noEmit -p tsconfig.lint.json",
|
|
"test:e2e": "RUN_E2E=1 vitest run tests/e2e/",
|
|
"test:e2e:deepseek": "RUN_E2E=1 vitest run tests/e2e/deepseek-e2e.test.ts",
|
|
"test:semantic-routing-shadow": "RUN_E2E=1 vitest run --reporter=dot tests/e2e/semantic-routing-shadow.test.ts",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"agent",
|
|
"multi-agent",
|
|
"orchestration",
|
|
"llm",
|
|
"claude",
|
|
"openai",
|
|
"mcp",
|
|
"tool-use",
|
|
"agent-framework"
|
|
],
|
|
"author": {
|
|
"name": "open-multi-agent",
|
|
"url": "https://github.com/open-multi-agent"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/open-multi-agent/open-multi-agent.git",
|
|
"directory": "packages/core"
|
|
},
|
|
"homepage": "https://github.com/open-multi-agent/open-multi-agent#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/open-multi-agent/open-multi-agent/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.52.0",
|
|
"openai": "^6.49.0",
|
|
"zod": "^3.23.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@agentclientprotocol/sdk": "^1.2.0",
|
|
"@aws-sdk/client-bedrock-runtime": "^3.700.0",
|
|
"@google/genai": "^1.48.0",
|
|
"@modelcontextprotocol/sdk": "^1.18.0",
|
|
"ai": "^5.0.0 || ^6.0.0 || ^7.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@agentclientprotocol/sdk": {
|
|
"optional": true
|
|
},
|
|
"@aws-sdk/client-bedrock-runtime": {
|
|
"optional": true
|
|
},
|
|
"@google/genai": {
|
|
"optional": true
|
|
},
|
|
"@modelcontextprotocol/sdk": {
|
|
"optional": true
|
|
},
|
|
"ai": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@agentclientprotocol/sdk": "^1.2.1",
|
|
"@ai-sdk/openai": "^4.0.0",
|
|
"@ai-sdk/provider": "^4.0.0",
|
|
"@aws-sdk/client-bedrock-runtime": "^3.1040.0",
|
|
"@google/genai": "^1.48.0",
|
|
"@modelcontextprotocol/sdk": "^1.18.0",
|
|
"@types/node": "^22.0.0",
|
|
"@vitest/coverage-v8": "^2.1.9",
|
|
"ai": "^7.0.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.6.0",
|
|
"vitest": "^2.1.0"
|
|
}
|
|
}
|