refactor: 拆分 cockpit 為可個別安裝的 statusbar 與 companion #12

Merged
jiantw83 merged 1 commits from refactor/split-statusbar-companion into main 2026-10-12 05:57:51 +00:00
Contributor

變更

  • 將 cockpit 拆成兩個可個別安裝的外掛:
    • statusbar:輸入框上方狀態列,指令 /statusbar on | off | compact
    • companion:小說角色陪伴,指令 /companion status | switch | off | setup,自行渲染角色行
  • companion 資料目錄由 ~/.cockpit 改為 ~/.companion(不自動搬移舊資料)
  • 整併 M4(care、memory、todo、io)至 companion;M2 實作移至 hooks/companion/persona/
  • README 移除本機資料夾安裝,補上更新與移除指令

注意

  • 尚未實際跑測試與型別檢查(缺 claude-code 型別與測試框架)
  • 兩個外掛都在 AbovePrompt 渲染,採先 next(e) 再疊加的方式,需實機確認顯示與順序
  • M1 與 M2 兩套 companion 實作仍並存,register.tsx 目前接 M1,整合另案處理

🤖 Generated with Claude Code

## 變更 - 將 cockpit 拆成兩個可個別安裝的外掛: - `statusbar`:輸入框上方狀態列,指令 `/statusbar on | off | compact` - `companion`:小說角色陪伴,指令 `/companion status | switch | off | setup`,自行渲染角色行 - companion 資料目錄由 `~/.cockpit` 改為 `~/.companion`(不自動搬移舊資料) - 整併 M4(care、memory、todo、io)至 companion;M2 實作移至 `hooks/companion/persona/` - README 移除本機資料夾安裝,補上更新與移除指令 ## 注意 - 尚未實際跑測試與型別檢查(缺 `claude-code` 型別與測試框架) - 兩個外掛都在 `AbovePrompt` 渲染,採先 `next(e)` 再疊加的方式,需實機確認顯示與順序 - M1 與 M2 兩套 companion 實作仍並存,`register.tsx` 目前接 M1,整合另案處理 🤖 Generated with [Claude Code](https://claude.com/claude-code)
admin added 1 commit 2026-10-12 05:57:27 +00:00
- statusbar:輸入框上方狀態列,指令 /statusbar
- companion:小說角色陪伴,指令 /companion,自行渲染角色行
- companion 資料目錄改為 ~/.companion
- 整併 M4 檔案至 companion;M2 實作移至 hooks/companion/persona
- README 移除本機資料夾安裝,補上更新與移除指令

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
jiantw83 merged commit 6338b57df7 into main 2026-10-12 05:57:51 +00:00
jiantw83 deleted branch refactor/split-statusbar-companion 2026-10-12 05:57:51 +00:00
Author
Contributor

@admin notify:refactor: 拆分 cockpit 為可個別安裝的 statusbar 與 companion

@admin notify:refactor: 拆分 cockpit 為可個別安裝的 statusbar 與 companion
Author
Contributor

@admin notify:refactor: 拆分 cockpit 為可個別安裝的 statusbar 與 companion

@admin notify:refactor: 拆分 cockpit 為可個別安裝的 statusbar 與 companion
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jiantw83/jsc-marketplace#12