This repository has no description

[papyrus] Remove Claude Code hooks + live status; record fresh sessions via --session-id master

The plugin/status-hook path (claude-code-plugin/ -> POST /status-update) was buggy and Claude-specific, and it was the only mechanism recording a fresh session's real id into silverwood. Remove all hook usage and the live-status UI. Fresh + sessions now spawn 'claude --session-id <uuid>' and record the durable silverwood session + advisory lock at spawn (recordFreshSession), so the durable record no longer depends on a runtime callback. Runtime key equals the claude session id equals the silverwood key everywhere: drop the provisional-uuid reconciliation, Session.claudeSessionId, and the resolveRuntime scan. Also removed: --plugin-dir injection, the OPENUI_* env, the plugin auto-install, the WebSocket status frames, and all plugin transient/dead Session fields. Node and sidebar now show connection + checkout state only (no agent activity). Tab title is silverwood's session name, verbatim. The claude-code-plugin/ tree is left dormant in-repo (usage removed, not deleted). Verified: nix build .#default (client tsc strict + package) green; end-to-end against a live forest (projection, fresh-session record+lock with no hook, disconnect release). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>


Author Yuto Nishida Co-author Claude Opus 4.8 (1M context) Date Commit 1237770b Parent 41b8fcba Change ID pvpvzqnp
+137 -486
12 changed files