move Claude Code-specific code from thalamus/ to claude/
Separates the Claude-specific daemon (idle timer, tmux pane detection, prompt injection, RPC server, session hooks) from the universal infrastructure (channels, supervisor, notify, daemon protocol). thalamus/ now contains only substrate-independent code: the channel client/supervisor, notification system, daemon_capnp protocol, and shared helpers (now(), home()). claude/ contains: idle.rs, tmux.rs, context.rs, rpc.rs, config.rs, hook.rs (moved from subconscious/), plus the daemon CLI and server startup code from thalamus/mod.rs. All re-exports preserved for backward compatibility. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
36afa90cdb
commit
dd7f1e3f86
19 changed files with 627 additions and 612 deletions
22
Cargo.toml
22
Cargo.toml
|
|
@ -73,18 +73,14 @@ capnpc = "0.20"
|
|||
name = "poc_memory"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "consciousness"
|
||||
path = "src/bin/consciousness.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "poc-memory"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "memory-search"
|
||||
path = "src/bin/memory-search.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "poc-hook"
|
||||
path = "src/bin/poc-hook.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "merge-logs"
|
||||
path = "src/bin/merge-logs.rs"
|
||||
|
|
@ -98,9 +94,13 @@ name = "find-deleted"
|
|||
path = "src/bin/find-deleted.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "consciousness"
|
||||
path = "src/bin/consciousness.rs"
|
||||
name = "poc-hook"
|
||||
path = "src/claude/poc-hook.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "poc-daemon"
|
||||
path = "src/bin/poc-daemon.rs"
|
||||
path = "src/claude/poc-daemon.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "memory-search"
|
||||
path = "src/claude/memory-search.rs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue