feat(apes-sidebar): Phase 2 — per-tab state(tasks showInactive 持久化)
- useTasksPrefs:ctx.settings.register('apesSidebar.tasks') namespace,
uSES 观察 + update 写回,applies:'live' 跨 reload 持久化
- tasks 面板加 showInactive 开关:OFF 时只渲染 running 会话
- filterTasksRows 纯函数导出(hook 需渲染,过滤决策单测锁定)
- locales:tasks.showInactive zh/en
- tests/tabs.spec.ts:+4 个 per-tab state 过滤测试(25→29)
- AGENTS.md:Phase 2 更新(per-tab state 落地,scratch 冒烟 +
apps·msgs·profile feed 延后——better-sidebar 无对应数据源 + 无 dsh CLI)
门禁:typecheck rc=0 · build rc=0 · test 29/29
This commit is contained in:
1 parent
856d744139
commit
48e16c73c7
4 files changed
+145
-27
No files matched your search
@@ -133,9 +133,12 @@ cordis.patch.yml # plugin registration into the DSH profile
|
||||
(6 tests). The cordis scratch mount smoke (real DSH host process) is deferred
|
||||
to Phase 2 — it needs a live host and is outside the unit gate.
|
||||
- **Phase 2 (partial)**: badge counts + auto-collapse (visible-gated
|
||||
subscription pause) landed for `apes:tasks` / `apes:agents`. Per-tab state,
|
||||
the cordis scratch mount smoke, and wiring `apps` / `messages` / `profile`
|
||||
to real feeds are **deferred** — better-sidebar 0.18.0 exposes no
|
||||
meta-write API for plugin tab state, no workspace-apps / message-stream /
|
||||
model-provider host feeds for those three panels, and no local `dsh` CLI to
|
||||
drive a live scratch mount. See docs/ for the deferral rationale.
|
||||
subscription pause) + per-tab state landed for the information panels.
|
||||
`apes:tasks` / `apes:agents` show live count pills (running / subagent);
|
||||
`apes:tasks` persists a `showInactive` preference through the settings
|
||||
namespace (`apesSidebar.tasks`, `applies: 'live'`). The cordis scratch mount
|
||||
smoke and wiring `apps` / `messages` / `profile` to real feeds are **deferred**
|
||||
— better-sidebar 0.18.0 exposes no workspace-apps / message-stream /
|
||||
model-provider host feeds for those three panels, and a live scratch mount
|
||||
needs a `dsh` CLI (absent locally) plus a DOM harness the Phase 0 convention
|
||||
deliberately avoids. See docs/ for the deferral rationale.
|
||||
Reference in new issue
Block a user