11 Commits
Author SHA1 Message Date
rootandClaude Sonnet 5.5 ce1a75565c chore: companion 版本升至 0.0.3
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 16:15:50 +08:00
rootandClaude Sonnet 5.5 134e708d8a feat: companion 加入工作事件反應,並讓主動頻率依個性調整
- 測試指令失敗後轉通過、有用工具的回合結束時,以 toast 反應並提升心情
- 反應越常說越容易疲乏,冷卻拉長到暫停,休息後恢復
- 主動頻率與每日上限依屬性與外向性調整;待辦到期與額度警告不受影響
- core.json 可用 freq 覆寫各觸發倍率

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 16:15:03 +08:00
rootandClaude Sonnet 5.5 bb6366e2d9 feat: 白上吹雪預設帶入個性描述
persona 為原創的語氣描述,放進內建預設;舊的本機資料缺少個性欄位時
以內建值補上,本機已有的值優先。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:30:34 +08:00
rootandClaude Sonnet 5.5 473b7d720b feat: companion 注入角色語氣,並接上記憶、待辦與主動關心
拆分 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>
2026-10-12 14:28:57 +08:00
rootandClaude Sonnet 5.5 682a67b3d0 chore: statusbar 版本改為 0.0.1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:19:00 +08:00
rootandClaude Sonnet 5.5 cf97742f6a chore: companion 版本升至 0.0.2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:17:25 +08:00
rootandClaude Sonnet 5.5 1bc2a335ee fix: 助理列與狀態列之間補上一行間距
助理列到輸入框的間距由引擎固定留一行,狀態列到助理列原本沒有間距。
為助理列加上 marginTop,使兩段間距相同。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:16:46 +08:00
rootandClaude Sonnet 5.5 94143a1f51 fix: companion 改用 $.fs,修正 hooks 模組載入失敗
node-fs.ts 引用 node:fs/promises,hooks 沙箱不允許,導致 /companion 指令未註冊。
改為以引擎的 $.fs 包成 Fs adapter;rename 改為選用,無 rename 時直接覆寫。
版本號調整為 0.0.1。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:06:53 +08:00
rootandClaude Sonnet 5.5 ba5b50ad1d 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>
2026-10-12 13:57:24 +08:00
rootandClaude Sonnet 5.5 030c599208 feat: redesign icon as terminal with HUD bar
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 13:22:10 +08:00
rootandClaude Sonnet 5.5 89b793be27 feat: add transparent-background repo icon
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 13:21:00 +08:00