修复切换工作区后读数不跟随 / Fix: readout not following workspace switches
- Host 端:workspaceRegistry 改为使用时实时查找——apply 期一次性捕获与服务的异步激活存在竞速,捕获到 undefined 后永不再查,导致工作区聚合只包含一个组
- Host: the workspace registry is now looked up live; the apply-time capture raced the service's async activation and, once lost, never retried, collapsing the workspace aggregation to a single group
- 浏览器端:未记账的新会话按客户端工作区表归属(当前会话所在的工作区实体),不再依赖会话已有账单
- Browser: fresh sessions without billing now resolve their owning workspace from the client workspace table
- 读数行第二项始终显示当前工作区名与其累计费用;未归属时回退全局汇总
- The second readout always names the owning workspace and its totals, falling back to global totals when unattributed
- 安装 / Install: dsh plugin --profile add github:jianzhexu/dsh-token-billing#v0.4.1