Files
open-agent-sdk/package.json
T
idoubiandClaude Opus 4.6 627e213d2a fix: add turndown/sharp/image-processor-napi as optionalDependencies
These packages are dynamically imported but were not declared in
package.json, causing Next.js webpack builds to fail with "Module not
found" errors. Declaring them as optionalDependencies lets bundlers
know they exist while not requiring them for all consumers.

Users in Next.js should also add @shipany/open-agent-sdk to
serverExternalPackages in next.config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 01:24:48 +08:00

146 lines
3.8 KiB
JSON

{
"name": "@shipany/open-agent-sdk",
"author": {
"name": "ShipAny",
"url": "https://shipany.ai"
},
"homepage": "https://github.com/shipany-ai/open-agent-sdk",
"repository": {
"type": "git",
"url": "https://github.com/shipany-ai/open-agent-sdk.git"
},
"bugs": {
"url": "https://github.com/shipany-ai/open-agent-sdk/issues"
},
"version": "0.1.3",
"description": "Open-source Agent SDK inspired by @anthropic-ai/claude-agent-sdk. Runs the agent loop in-process — no local CLI required. Deploy anywhere: cloud, serverless, Docker, CI/CD.",
"type": "module",
"main": "./dist/sdk.js",
"types": "./dist/sdk.d.ts",
"exports": {
".": {
"types": "./dist/sdk.d.ts",
"import": "./dist/sdk.js"
},
"./types": {
"types": "./dist/entrypoints/agentSdkTypes.d.ts",
"import": "./dist/entrypoints/agentSdkTypes.js"
},
"./dist/*": "./dist/*"
},
"bin": {
"codeany": "./cli.mjs"
},
"scripts": {
"build": "tsc",
"build:cli": "node build.mjs",
"dev": "tsc --watch",
"test": "node --experimental-vm-modules node_modules/.bin/vitest run",
"lint": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@alcalzone/jsonl-db": "^4.0.2",
"@anthropic-ai/sdk": "^0.52.0",
"@commander-js/extra-typings": "^12.1.0",
"@growthbook/growthbook": "^1.6.5",
"@modelcontextprotocol/sdk": "^1.12.1",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/api-logs": "^0.214.0",
"@opentelemetry/core": "^2.6.1",
"@opentelemetry/resources": "^2.6.1",
"@opentelemetry/sdk-logs": "^0.214.0",
"@opentelemetry/sdk-metrics": "^2.6.1",
"@opentelemetry/sdk-trace-base": "^2.6.1",
"@opentelemetry/semantic-conventions": "^1.40.0",
"ajv": "^8.17.0",
"asciichart": "^1.5.25",
"auto-bind": "^5.0.1",
"axios": "^1.7.0",
"bidi-js": "^1.0.0",
"chalk": "^5.3.0",
"chokidar": "^4.0.0",
"cli-highlight": "^2.1.11",
"code-excerpt": "^4.0.0",
"commander": "^12.1.0",
"diff": "^7.0.0",
"emoji-regex": "^10.4.0",
"env-paths": "^3.0.0",
"execa": "^9.5.0",
"figures": "^6.0.0",
"fuse.js": "^7.0.0",
"get-east-asian-width": "^1.3.0",
"google-auth-library": "^9.14.0",
"highlight.js": "^11.10.0",
"https-proxy-agent": "^7.0.0",
"ignore": "^7.0.0",
"indent-string": "^5.0.0",
"ink": "^5.1.0",
"jsonc-parser": "^3.3.0",
"lodash-es": "^4.17.21",
"lru-cache": "^11.0.0",
"marked": "^15.0.0",
"p-map": "^7.0.0",
"picomatch": "^4.0.0",
"proper-lockfile": "^4.1.2",
"react": "^19.2.4",
"react-reconciler": "^0.32.0",
"semver": "^7.6.0",
"shell-quote": "^1.8.0",
"signal-exit": "^4.1.0",
"stack-utils": "^2.0.0",
"strip-ansi": "^7.1.0",
"supports-hyperlinks": "^3.1.0",
"tree-kill": "^1.2.2",
"type-fest": "^4.30.0",
"undici": "^7.0.0",
"usehooks-ts": "^3.1.1",
"vscode-jsonrpc": "^8.2.0",
"vscode-languageserver-protocol": "^3.17.0",
"wrap-ansi": "^9.0.0",
"ws": "^8.18.0",
"xss": "^1.0.0",
"zod": "^3.23.0",
"zod-to-json-schema": "^3.24.0"
},
"optionalDependencies": {
"image-processor-napi": "*",
"sharp": ">=0.33.0",
"turndown": ">=7.0.0"
},
"devDependencies": {
"@types/diff": "^7.0.0",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.0.0",
"@types/proper-lockfile": "^4.1.4",
"@types/react": "^19.2.14",
"@types/semver": "^7.5.0",
"@types/shell-quote": "^1.7.5",
"@types/ws": "^8.5.0",
"esbuild": "^0.27.4",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"files": [
"dist",
"README.md"
],
"license": "MIT",
"keywords": [
"open-agent-sdk",
"shipany",
"agent",
"sdk",
"claude",
"anthropic",
"ai",
"llm",
"tools",
"agentic",
"coding-agent"
]
}