107 lines
2.6 KiB
JSON
107 lines
2.6 KiB
JSON
{
|
|
"name": "dirac-cli",
|
|
"version": "0.3.2",
|
|
"description": "Autonomous coding agent CLI - capable of creating/editing files, running commands, using the browser, and more",
|
|
"files": [
|
|
"dist",
|
|
"man"
|
|
],
|
|
"main": "dist/lib.mjs",
|
|
"types": "dist/lib.d.ts",
|
|
"bin": {
|
|
"dirac": "./dist/cli.mjs"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/lib.mjs",
|
|
"types": "./dist/lib.d.ts"
|
|
}
|
|
},
|
|
"os": [
|
|
"darwin",
|
|
"linux",
|
|
"win32",
|
|
"freebsd",
|
|
"openbsd"
|
|
],
|
|
"cpu": [
|
|
"x64",
|
|
"arm64"
|
|
],
|
|
"man": "./man/dirac.1",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"scripts": {
|
|
"package:brew": "npx tsx ./scripts/update-brew-formula.mts",
|
|
"package": "npm pack --pack-destination ./dist",
|
|
"prepare": "npm run build",
|
|
"build": "npm run typecheck && npx tsx esbuild.mts && npm run build:types",
|
|
"build:production": "npm run typecheck && npx tsx esbuild.mts --production && npm run build:types",
|
|
"build:types": "(npx tsc -p tsconfig.lib.json || true) && cp dist/types/cli/src/exports.d.ts dist/lib.d.ts && mkdir -p dist/agent && cp dist/types/cli/src/agent/DiracAgent.d.ts dist/types/cli/src/agent/DiracSessionEmitter.d.ts dist/types/cli/src/agent/public-types.d.ts dist/agent/ && rm -rf dist/types",
|
|
"watch": "npx tsx esbuild.mts --watch",
|
|
"dev": "IS_DEV=true && npm run link && npm run watch ; npm run unlink",
|
|
"clean": "rimraf dist",
|
|
"typecheck": "npx tsc --noEmit",
|
|
"link": "npm run build && npm link",
|
|
"unlink": "npm unlink -g dirac-cli",
|
|
"test": "vitest",
|
|
"test:run": "vitest run"
|
|
},
|
|
"keywords": [
|
|
"dirac",
|
|
"claude",
|
|
"dev",
|
|
"openrouter",
|
|
"coding",
|
|
"agent",
|
|
"autonomous",
|
|
"chatgpt",
|
|
"sonnet",
|
|
"ai",
|
|
"llama",
|
|
"cli"
|
|
],
|
|
"author": {
|
|
"name": "Dirac Delta Labs"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/dirac-run/dirac"
|
|
},
|
|
"homepage": "https://dirac.run",
|
|
"bugs": {
|
|
"url": "https://github.com/dirac-run/dirac/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@types/marked": "^5.0.2",
|
|
"@types/node": "20.x",
|
|
"@types/prompts": "^2.4.9",
|
|
"@types/react": "^19.2.9",
|
|
"dotenv": "^16.4.5",
|
|
"esbuild": "^0.25.0",
|
|
"ink-testing-library": "^4.0.0",
|
|
"rimraf": "^6.0.1",
|
|
"typescript": "^5.4.5",
|
|
"vitest": "^4.0.17"
|
|
},
|
|
"dependencies": {
|
|
"@agentclientprotocol/sdk": "^0.13.1",
|
|
"@vscode/ripgrep": "^1.15.9",
|
|
"aws4fetch": "^1.0.20",
|
|
"chalk": "^5.3.0",
|
|
"commander": "^12.1.0",
|
|
"ink": "npm:@jrichman/ink@7.0.0",
|
|
"ink-picture": "^1.3.3",
|
|
"ink-spinner": "^5.0.0",
|
|
"marked": "^17.0.3",
|
|
"nanoid": "^5.1.6",
|
|
"ora": "^8.0.1",
|
|
"pino": "^10.0.0",
|
|
"pino-roll": "^4.0.0",
|
|
"prompts": "^2.4.2",
|
|
"react": "^19.2.3"
|
|
}
|
|
}
|