You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit edef6bc
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(daemon): move the durable-capture admission family to capture-kit
The 19-module durable-capture admission family (durable-*, perf-*,
audio-*, screen-*) reached src/** only through SessionState,
SessionStore, and safeSessionName. Its SessionState slice is exactly
the three durable-capture slots it reads/replaces (perfCapture,
audioProbe, screenRecording); its SessionStore use is exactly
capture-kit's structural DurableCaptureSessionStore (set +
resolveSessionDir) — not the session spine. capture-kit's
durable-capture machinery is already generic over S, so the residue
retypes onto that slice with no behavior change: sessionSlot.replace
spreads S and sessionStore.set writes the runtime record back, so the
session type stays opaque behind S.
- safeSessionName + session path helpers move to
@agent-device/host-kit/session-paths (its only dep was host-kit/file).
- The family moves behind granular @agent-device/capture-kit subpaths,
one per module (session-resource, admission-ledger, resource-store,
recovery, and the durable-capture core/recovery). Each moved module is a
rename-tracked entry governed by the eager-closure no-growth rule, so no
façade and no over-ceiling exemption is needed. session-teardown reaches
finishLive* through the thin per-kind session-resource subpaths, keeping
the hub flat, and no symbol gets two import paths.
- app-log-* stay in the daemon and consume the relocated factory/ledger.
Closes#2544
Issue #2544
0 commit comments