dsh-seawork-usage:在 DSH 會話標題欄查看 Seawork 餘額與額度

dsh-seawork-usage 是 DSH bundle 客戶端插件,在會話標題欄只讀展示 Seawork 餘額、5 小時窗口額度與周額度。數據由宿主 host.mjs 憑 SEAWORK_TOKEN、profile 或 ~/.seawork/auth.json 調 api.seawork.ai,25 秒緩存;client.js 每 30 秒刷新並可強制更新。安裝使用 dsh --profile web plugin add file:<絕對路徑>,重啓 DSH 後生效。適合 Web 會話內盯額度且不願把 token 放進瀏覽器的開發者。

閱讀全文