refactor: 拆分 cockpit 為可個別安裝的 statusbar 與 companion
- statusbar:輸入框上方狀態列,指令 /statusbar - companion:小說角色陪伴,指令 /companion,自行渲染角色行 - companion 資料目錄改為 ~/.companion - 整併 M4 檔案至 companion;M2 實作移至 hooks/companion/persona - README 移除本機資料夾安裝,補上更新與移除指令 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
66fefa79a4
commit
ba5b50ad1d
@@ -1,31 +1,44 @@
|
||||
# jsc-marketplace
|
||||
|
||||
JSC 自用 Claude Code mods。
|
||||
JSC 自用 Claude Code mods。每個 mod 皆可單獨安裝、更新與移除。
|
||||
|
||||
| Mod | 說明 |
|
||||
| --- | --- |
|
||||
| [cockpit](plugins/cockpit) | Cockpit 外掛,內含 hud 模組(輸入框上方單行 HUD):模型、目錄、分支、5h/7d 額度與重置、context、CPU/記憶體/磁碟 |
|
||||
| [statusbar](plugins/statusbar) | 輸入框上方單行狀態列:模型、目錄、分支、5h/7d 額度與重置、context、CPU/記憶體/磁碟 |
|
||||
| [companion](plugins/companion) | 小說角色陪伴:人設注入、語氣、心情與好感、互動記憶、主動關心與待辦,並可用 ingest skill 解析小說建立角色 |
|
||||
|
||||
## 安裝
|
||||
|
||||
本機資料夾:
|
||||
|
||||
```bash
|
||||
claude plugin marketplace add /root/jsc-marketplace
|
||||
claude plugin install cockpit@jsc-marketplace
|
||||
```
|
||||
|
||||
或透過 Gitea 遠端:
|
||||
先加入 marketplace,再依需要安裝個別 mod:
|
||||
|
||||
```bash
|
||||
claude plugin marketplace add https://gitea.jsc.idv.tw/jiantw83/jsc-marketplace.git
|
||||
claude plugin install cockpit@jsc-marketplace
|
||||
claude plugin install statusbar@jsc-marketplace
|
||||
claude plugin install companion@jsc-marketplace
|
||||
```
|
||||
|
||||
## 指令
|
||||
|
||||
- `/cockpit hud on | off | compact`:切換狀態列
|
||||
- `/hud on | off | compact`:上述指令的別名
|
||||
- `/statusbar on | off | compact`:切換狀態列
|
||||
- `/companion status | switch <角色> | off | setup`:角色陪伴控制
|
||||
|
||||
## 更新
|
||||
|
||||
```bash
|
||||
claude plugin marketplace update jsc-marketplace
|
||||
claude plugin update statusbar@jsc-marketplace
|
||||
claude plugin update companion@jsc-marketplace
|
||||
```
|
||||
|
||||
更新後需重新啟動 Claude Code 才會生效。
|
||||
|
||||
## 移除
|
||||
|
||||
```bash
|
||||
claude plugin uninstall statusbar@jsc-marketplace
|
||||
claude plugin uninstall companion@jsc-marketplace
|
||||
claude plugin marketplace remove jsc-marketplace
|
||||
```
|
||||
|
||||
## 授權
|
||||
|
||||
|
||||
Reference in New Issue
Block a user