Lines 35-75json
45 "why do we need to build before running tests / dev?": "We need the binary to be built so we run daemon commands which directly run the binary",
46 "typecheck": "tsc --noEmit --skipLibCheck 2>&1 | (grep -v 'node_modules/effect' | grep -v 'Symbol.dispose' || true)",
47 "build": "shx rm -rf dist && tsc --noEmit --skipLibCheck 2>&1 | (grep -v 'node_modules/effect' | grep -v 'Symbol.dispose' || true) && pkgroll && shx mkdir -p dist/sandbox && shx cp src/sandbox/node-proxy-boot.cjs dist/sandbox/ && shx mkdir -p dist/migrations && shx cp src/worker/history/migrations/*.sql dist/migrations/ && node scripts/minify-dist.mjs",
48 "prod": "node --env-file=.env ./bin/agentrix.mjs",
49 "test": "yarn build && tsx --env-file .env.integration-test \"$(yarn -s bin vitest)\" run",
50 "dev": "yarn build && tsx --env-file .env.dev src/index.ts",
51 "local": "yarn build && tsx --env-file .env.local src/index.ts",
52 "prod-local": "yarn build && tsx --env ./bin/agentrix.mjs",
53 "prepublishOnly": "yarn build && yarn test",
54 "release": "release-it",
55 "postinstall": "node scripts/ensure-better-sqlite3.cjs",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L55 56 "lint": "eslint 'src/**/*.{js,ts}' --fix"
63 "@agentrix/shared": "^2.43.0",
64 "@anthropic-ai/claude-agent-sdk": "^0.2.133",
65 "@anthropic-ai/sdk": "0.71.2",
66 "@larksuiteoapi/node-sdk": "^1.63.1",
67 "@modelcontextprotocol/sdk": "^1.15.1",
68 "@openai/codex-sdk": "^0.141.0",
69 "@stablelib/base64": "^2.0.1",
70 "@stablelib/hex": "^2.0.1",
71 "@types/better-sqlite3": "^7.6.13",
72 "@types/cross-spawn": "^6.0.6",
73 "@types/http-proxy": "^1.17.16",
74 "@types/ps-list": "^6.2.1",
75 "@types/qrcode-terminal": "^0.12.2",