chore: drop the ccam entry — AgentHub ships its own marketplace
The entry pointed at Smartgift-AI/Claude-Code-Monitor, a repo name that has since been renamed to AgentHub, and it duplicated an install path AgentHub already publishes from its own marketplace. Two routes to the same plugin means a double install runs two hook-ingestion sets in parallel. README now points at the AgentHub marketplace instead, and documents the migration: after the next 'marketplace update sg' an existing ccam@sg shows '✘ failed to load' and the dashboard stops receiving events until the user switches over.
This commit is contained in:
@@ -24,16 +24,6 @@
|
||||
"source": "./plugins/common",
|
||||
"description": "All staff — sg-prompt-sharpening skill for disambiguating requests before acting.",
|
||||
"category": "productivity"
|
||||
},
|
||||
{
|
||||
"name": "ccam",
|
||||
"source": {
|
||||
"source": "url",
|
||||
"url": "https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor.git",
|
||||
"ref": "main"
|
||||
},
|
||||
"description": "Claude Code Agent Monitor — the local-first dashboard as a plugin. Installs the event hooks, boots the dashboard server, puts the ccam CLI on PATH, and connects the MCP tools. No checkout, no npm run setup.",
|
||||
"category": "monitoring"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -9,9 +9,8 @@ Marketplace nội bộ chứa các skill Claude Code của Smartgift. Đăng ký
|
||||
| `sg-all` | **Mặc định — ai muốn tất cả** | `sg-md-writing` + `sg-prompt-sharpening` | Gói cả hai skill. Cài một cái là có tất cả. |
|
||||
| `sg-dev` | Team dev | `sg-md-writing` | Soạn & bảo trì file `CLAUDE.md` / `AGENTS.md` ràng buộc hành vi AI: routing map, reuse inventory, an toàn với model yếu, tự đề xuất cập nhật khi code đổi (hỏi confirm trước khi ghi). |
|
||||
| `sg-common` | Chung | `sg-prompt-sharpening` | Trước khi hành động với yêu cầu ngắn/mơ hồ, mở rộng thành các cách hiểu rõ ràng, nêu giả định, định nghĩa tiêu chí "xong". |
|
||||
| `ccam` | Ai muốn theo dõi session Claude Code | hooks + server + CLI + MCP | Claude Code Agent Monitor — dashboard local-first. Source lấy trực tiếp từ repo [Claude-Code-Monitor](https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor) (nhánh `main`), không phải code trong repo này. |
|
||||
|
||||
**Khuyến nghị: cài `sg-all`.** Đã cài `sg-all` thì **KHÔNG cần** cài thêm `sg-dev` hay `sg-common` — cài trùng sẽ nạp lặp skill. Chỉ cài `sg-dev`/`sg-common` riêng nếu có lý do muốn giới hạn phạm vi. `ccam` độc lập, cài kèm `sg-all`/`sg-dev`/`sg-common` không xung đột.
|
||||
**Khuyến nghị: cài `sg-all`.** Đã cài `sg-all` thì **KHÔNG cần** cài thêm `sg-dev` hay `sg-common` — cài trùng sẽ nạp lặp skill. Chỉ cài `sg-dev`/`sg-common` riêng nếu có lý do muốn giới hạn phạm vi.
|
||||
|
||||
## Cài đặt
|
||||
|
||||
@@ -30,12 +29,34 @@ claude plugin install sg-dev@sg # chỉ sg-md-writing
|
||||
claude plugin install sg-common@sg # chỉ sg-prompt-sharpening
|
||||
```
|
||||
|
||||
Cài dashboard (độc lập với các plugin trên):
|
||||
Xem: `claude plugin list`. Gỡ: `claude plugin uninstall sg-all@sg` (hoặc `sg-dev@sg` / `sg-common@sg` tùy plugin đã cài).
|
||||
|
||||
## Dashboard AgentHub — marketplace riêng
|
||||
|
||||
Marketplace này chỉ chứa skill. Dashboard AgentHub tự phát hành marketplace của
|
||||
nó, cài trực tiếp từ đó:
|
||||
|
||||
```bash
|
||||
claude plugin install ccam@sg
|
||||
claude plugin marketplace add https://git.smartgift.io.vn/Smartgift-AI/AgentHub.git
|
||||
claude plugin install agenthub@agenthub
|
||||
```
|
||||
|
||||
Cần Node **>= 22.5** trên máy cài (server dùng `node:sqlite`, không có `better-sqlite3` native). Chi tiết bootstrap, các lệnh `/ccam-doctor` `/ccam-update` `/ccam-open`, và cách gỡ sạch: xem [docs/PLUGINS.md của Claude-Code-Monitor](https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor/src/branch/main/docs/PLUGINS.md).
|
||||
Cần Node **>= 22.5** trên máy cài (server dùng `node:sqlite`, không có
|
||||
`better-sqlite3` native). Chi tiết bootstrap, các lệnh `/agenthub-doctor`
|
||||
`/agenthub-update` `/agenthub-open`, và cách gỡ sạch: xem
|
||||
[docs/PLUGINS.md của AgentHub](https://git.smartgift.io.vn/Smartgift-AI/AgentHub/src/branch/main/docs/PLUGINS.md).
|
||||
|
||||
Xem: `claude plugin list`. Gỡ: `claude plugin uninstall sg-all@sg` (hoặc `sg-dev@sg` / `sg-common@sg` / `ccam@sg` tùy plugin đã cài).
|
||||
> Plugin này trước đây phát hành kèm ở marketplace `sg` dưới tên `ccam`. Entry đó
|
||||
> đã bị bỏ để AgentHub chỉ có một nguồn cài duy nhất — hai đường cài cùng một
|
||||
> plugin nghĩa là cài trùng sẽ chạy hai bộ hook ingestion song song.
|
||||
>
|
||||
> **Nếu đang cài bản cũ:** lần `claude plugin marketplace update sg` tới, `ccam@sg`
|
||||
> sẽ chuyển sang `✘ failed to load` trong `claude plugin list` (đúng như dự kiến —
|
||||
> entry nguồn không còn tồn tại), và **dashboard ngừng nhận event** cho tới khi bạn
|
||||
> chuyển sang marketplace mới:
|
||||
>
|
||||
> ```bash
|
||||
> claude plugin uninstall ccam@sg
|
||||
> claude plugin marketplace add https://git.smartgift.io.vn/Smartgift-AI/AgentHub.git
|
||||
> claude plugin install agenthub@agenthub
|
||||
> ```
|
||||
|
||||
Reference in New Issue
Block a user