logicsrc/packages/agentswarm/package.json
Anthony Ettinger 6e7f44612a chore(agentswarm): make package publishable to npm
Add files/publishConfig(public)/repository/keywords + prepublishOnly build;
exclude *.test.ts from the tsc build so dist (and the published tarball) ships
only library code. Package size 17 kB, 38/38 tests still green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 17:57:32 +00:00

36 lines
1 KiB
JSON

{
"name": "@logicsrc/agentswarm",
"version": "0.1.0",
"description": "AgentSwarm: embeddable multi-agent swarm runtime for LogicSRC, wrapping deepagents. Mount it on your own route (e.g. /swarm).",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"license": "MIT",
"files": ["dist", "README.md"],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/profullstack/logicsrc.git",
"directory": "packages/agentswarm"
},
"keywords": ["agents", "deepagents", "swarm", "llm", "x402", "logicsrc"],
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run src --passWithNoTests",
"demo": "node examples/server.mjs",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"@langchain/langgraph": "*",
"deepagents": "^1.10.0"
},
"peerDependenciesMeta": {
"@langchain/langgraph": { "optional": true },
"deepagents": { "optional": true }
},
"devDependencies": {
"vitest": "^4.0.8"
}
}