拆分 cockpit 後 companion 只剩指令與狀態列,沒有任何 hook 把角色 內容送給模型,所以回覆沒有角色感。 - prompt.compose 在 system prompt 尾端加入角色區塊(人設、語氣、心情、 好感階段、招牌短語、記憶、待辦) - prompt.submit 以關鍵字更新心情與好感,檢索並寫入互動記憶,附加關心情境 - tool.call 記錄連續失敗;定時 tick 以 toast 提醒到期待辦 - 新增 /companion todo 與 quiet 指令 - 移除未引用的 persona/ 與 nodeFs,測試改成引擎可執行的寫法 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
46 lines
1.4 KiB
Markdown
46 lines
1.4 KiB
Markdown
# jsc-marketplace
|
||
|
||
JSC 自用 Claude Code mods。每個 mod 皆可單獨安裝、更新與移除。
|
||
|
||
| Mod | 說明 |
|
||
| --- | --- |
|
||
| [statusbar](plugins/statusbar) | 輸入框上方單行狀態列:模型、目錄、分支、5h/7d 額度與重置、context、CPU/記憶體/磁碟 |
|
||
| [companion](plugins/companion) | 小說角色陪伴:人設注入、語氣、心情與好感、互動記憶、主動關心與待辦,並可用 ingest skill 解析小說建立角色 |
|
||
|
||
## 安裝
|
||
|
||
先加入 marketplace,再依需要安裝個別 mod:
|
||
|
||
```bash
|
||
claude plugin marketplace add https://gitea.jsc.idv.tw/jiantw83/jsc-marketplace.git
|
||
claude plugin install statusbar@jsc-marketplace
|
||
claude plugin install companion@jsc-marketplace
|
||
```
|
||
|
||
## 指令
|
||
|
||
- `/statusbar on | off | compact`:切換狀態列
|
||
- `/companion status | switch <角色> | off | setup | todo | quiet`:角色陪伴控制(`todo add <內容> [due=YYYY-MM-DDTHH:MM]`、`todo done <編號>`、`quiet [分鐘]`)
|
||
|
||
## 更新
|
||
|
||
```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
|
||
```
|
||
|
||
## 授權
|
||
|
||
[MIT License](LICENSE)
|