e972267a42
The ten `agenthub-*` plugins were listed by the marketplace but could never be
installed — two schema mistakes present since the entries were first authored
(57dc915), both invisible until you actually run `claude plugin install`:
- marketplace entries used `"path": "plugins/<name>"`; the CLI only accepts
`"source"`, so every one failed with
`This plugin's marketplace entry is invalid: source: Invalid input`
- each `plugin.json` carried npm's `"repository": { "type", "url" }` object;
the schema wants a plain string, so the next attempt failed with
`Validation errors: repository: Invalid input`
Verified by installing all 11 entries into a throwaway CLAUDE_CONFIG_DIR:
1/11 before, 11/11 after. `plugins-marketplace.test.js` was asserting the
broken shape, which is why CI stayed green — it now asserts `source` and
rejects `path`.
Marketplace renamed `claude-code-agent-monitor-plugins` -> `agenthub`, so the
install line is `agenthub@agenthub`. ARCHITECTURE.md documented a marketplace
name (`smartgift-claude-code-monitor`) that never existed in any revision.
The documented `/plugin marketplace add Smartgift-AI/Claude-Code-Monitor` also
never worked: the `owner/repo` shorthand resolves to github.com only, and this
repo is self-hosted on Gitea. Confirmed the CLI rejects `host/owner/repo` and
ignores GH_HOST / GITHUB_HOST / CLAUDE_CODE_MARKETPLACE_URL, so the full
https:// clone URL is the only supported form. Same GitHub-habit class fixed
elsewhere: raw.githubusercontent.com icon URLs (404, and the repo ships
favicon.svg not favicon.ico — the client had the same dead /favicon.ico),
a smartgift.github.io docs link (404), and Gitea `/blob/<ref>/` paths that
must be `/src/branch/<ref>/`.
Repository renamed to Smartgift-AI/AgentHub throughout. Gitea 301-redirects
the old name, so these were stale rather than broken; `docs/superpowers/`
keeps the old name because those are dated decision records.
Adds `repo-links.test.js` to guard both classes (it runs under the existing
pre-commit gate) plus an openapi.yaml drift check — the committed spec had
silently fallen a minor version behind package.json. `generate-openapi-yaml.js`
now exports `render()` so the test compares against one definition of the dump
options instead of a second copy.
101 lines
3.0 KiB
JSON
101 lines
3.0 KiB
JSON
{
|
|
"name": "agenthub",
|
|
"version": "1.5.0",
|
|
"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",
|
|
"statusline",
|
|
"README.md"
|
|
],
|
|
"author": "Nguyễn Ngọc Trí Vĩ",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.smartgift.io.vn/Smartgift-AI/AgentHub.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://git.smartgift.io.vn/Smartgift-AI/AgentHub/issues"
|
|
},
|
|
"license": "UNLICENSED",
|
|
"homepage": "https://git.smartgift.io.vn/Smartgift-AI/AgentHub#readme",
|
|
"keywords": [
|
|
"claude",
|
|
"claude-code",
|
|
"anthropic",
|
|
"agent",
|
|
"dashboard",
|
|
"real-time",
|
|
"monitoring",
|
|
"activity-tracking",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|