Files
AgentHub/package.json
T
nntrivi2001 17d56d0e01 refactor!: rebrand CCAM to AgentHub
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).
2026-09-07 12:09:15 +07:00

117 lines
3.9 KiB
JSON

{
"name": "agent-dashboard",
"version": "1.4.6",
"bin": {
"agenthub": "bin/agenthub.js"
},
"description": "Local control surface for Claude Code agents - session monitoring, parallel lanes, terminal runs, and Claude Code configuration management",
"private": true,
"type": "commonjs",
"main": "server/index.js",
"files": [
"server",
"scripts",
"data",
"mcp",
"statusline",
"README.md"
],
"author": "Nguyễn Ngọc Trí Vĩ",
"repository": {
"type": "git",
"url": "git+https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor.git"
},
"bugs": {
"url": "https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor/issues"
},
"license": "UNLICENSED",
"homepage": "https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor#readme",
"keywords": [
"claude",
"claude-code",
"anthropic",
"agent",
"dashboard",
"real-time",
"monitoring",
"activity-tracking",
"mcp",
"model-context-protocol",
"nodejs",
"express",
"react",
"websocket",
"sqlite",
"better-sqlite3",
"web-push",
"vapid",
"notifications",
"productivity",
"developer-tools"
],
"scripts": {
"prepare": "git config core.hooksPath .husky || true",
"postinstall": "node scripts/postinstall.js",
"dev": "node scripts/dev.js",
"dev:raw": "concurrently -n server,client -c blue,green \"npm run dev:server\" \"npm run dev:client\"",
"dev:server": "node --watch server/index.js",
"dev:client": "cd client && npm run dev",
"build": "cd client && npm run build",
"start": "node server/index.js",
"setup": "npm install && (cd client && npm install) && (cd vscode-extension && npm install) && npm run link-cli",
"update:pull-setup": "git pull --ff-only && npm run setup",
"mcp:install": "npm --prefix mcp install",
"mcp:check-build": "node scripts/check-mcp-build.js",
"mcp:build": "npm --prefix mcp run build && node scripts/check-mcp-build.js --write",
"mcp:start": "npm --prefix mcp run start",
"mcp:start:http": "npm --prefix mcp run start:http",
"mcp:start:repl": "npm --prefix mcp run start:repl",
"mcp:dev": "npm --prefix mcp run dev",
"mcp:dev:http": "npm --prefix mcp run dev:http",
"mcp:dev:repl": "npm --prefix mcp run dev:repl",
"mcp:typecheck": "npm --prefix mcp run typecheck",
"mcp:docker:build": "docker build -f mcp/Dockerfile -t agent-dashboard-mcp:local .",
"mcp:podman:build": "podman build -f mcp/Dockerfile -t localhost/agent-dashboard-mcp:local .",
"install-hooks": "node scripts/install-hooks.js",
"seed": "node scripts/seed.js",
"import-history": "node scripts/import-history.js",
"reconcile-tokens": "node scripts/import-history.js --reconcile-tokens",
"clear-data": "node scripts/clear-data.js",
"test": "node --test server/__tests__/*.test.js && cd client && npm test",
"test:server": "node --test server/__tests__/*.test.js",
"test:client": "cd client && npm test",
"test:mcp": "npm --prefix mcp run test",
"format": "prettier --write .",
"format:check": "prettier --check .",
"openapi:yaml": "node scripts/generate-openapi-yaml.js",
"link-cli": "npm link || node -e \"console.warn('agenthub CLI not linked globally (no permission?). Link manually with: npm link')\"",
"docker:up": "docker compose up -d --build",
"docker:down": "docker compose down"
},
"dependencies": {
"@lydell/node-pty": "^1.2.0-beta.15",
"adm-zip": "^0.5.16",
"cors": "^2.8.5",
"cross-spawn": "^7.0.6",
"express": "^4.21.2",
"multer": "^2.0.0",
"redoc": "^2.5.3",
"swagger-ui-express": "^5.0.1",
"tar": "^7.4.3",
"uuid": "^11.1.0",
"web-push": "^3.6.7",
"ws": "^8.18.0"
},
"optionalDependencies": {
"better-sqlite3": "^12.0.0"
},
"devDependencies": {
"concurrently": "^9.1.2",
"js-yaml": "^4.1.0",
"prettier": "^3.8.1"
},
"engines": {
"node": ">=20.0.0"
}
}