17d56d0e01
Clean break, no compatibility alias. Renames the product name, the CLI binary (`ccam` -> `agenthub`), the env var prefix (`CCAM_` -> `AGENTHUB_`), the Prometheus metric namespace (`ccam_*` -> `agenthub_*`), the tmux session prefix (`ccam-lane-<id>` -> `agenthub-lane-<id>`), the per-repo runtime profile directory (`.ccam/profile` -> `.agenthub/profile`), the lanes state root (`~/.claude/ccam-lanes` -> `~/.claude/agenthub-lanes`), the bundled plugins (`plugins/ccam*` -> `plugins/agenthub*`) and their slash commands (`/ccam-doctor` -> `/agenthub-doctor`, `/ccam:*` -> `/agenthub:*`). Because there is no alias, an existing install has to be updated by hand: rename its `.ccam/profile` directory and any `CCAM_*` variables, and reinstall the plugin under its new name. Two other name families are deliberately left alone here, since they are not just strings: the `Claude-Code-Monitor` repository/marketplace name, and the `agent-dashboard` npm package plus its `~/.claude/agent-dashboard` runtime directory, which holds the live database and needs a migration rather than a rename. Verified: server 1406/1406, client 459/459, `grep -i ccam` clean across tracked files, `openapi.yaml` regenerated (95 paths, unchanged count).
40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"name": "agent-dashboard-mcp-server",
|
|
"version": "1.0.0",
|
|
"description": "Local MCP server for AgentHub",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"agent-dashboard-mcp": "./build/index.js"
|
|
},
|
|
"scripts": {
|
|
"clean": "node -e \"require('node:fs').rmSync('build',{recursive:true,force:true})\"",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"build": "npm run clean && npm run typecheck && esbuild src/index.ts --bundle --platform=node --format=esm --target=node18 --outfile=build/index.js",
|
|
"start": "node build/index.js",
|
|
"start:http": "node build/index.js --transport=http",
|
|
"start:repl": "node build/index.js --transport=repl",
|
|
"test": "node --import tsx --test __tests__/*.test.ts",
|
|
"dev": "tsx src/index.ts",
|
|
"dev:http": "tsx src/index.ts --transport=http",
|
|
"dev:repl": "tsx src/index.ts --transport=repl",
|
|
"docker:build": "docker build -f Dockerfile -t agent-dashboard-mcp:local ..",
|
|
"podman:build": "podman build -f Dockerfile -t localhost/agent-dashboard-mcp:local .."
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
"agent-dashboard": "file:..",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^22.18.0",
|
|
"esbuild": "^0.24.0",
|
|
"tsx": "^4.20.5",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.18.0"
|
|
}
|
|
}
|