Switch from jobkit-daemon crate to jobkit with daemon feature. Wire up per-task log files for all daemon-spawned agent tasks. Changes: - Use jobkit::daemon:: instead of jobkit_daemon:: - All agent tasks get .log_dir() set to $data_dir/logs/ - Task log path shown in daemon status and TUI - New CLI: poc-memory agent daemon log --task NAME Finds the task's log path from status or daemon.log, tails the file - LLM backend selection logged to daemon.log via log_event - Targeted agent job names include the target key for debuggability - Logging architecture documented in doc/logging.md Two-level logging, no duplication: - daemon.log: lifecycle events with task log path for drill-down - per-task logs: full agent output via ctx.log_line() Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
60 lines
1.1 KiB
TOML
60 lines
1.1 KiB
TOML
[package]
|
|
name = "poc-memory"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
capnp = "0.20"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
bincode = "1"
|
|
regex = "1"
|
|
chrono = "0.4"
|
|
clap = { version = "4", features = ["derive"] }
|
|
libc = "0.2"
|
|
faer = "0.24.0"
|
|
rkyv = { version = "0.7", features = ["validation", "std"] }
|
|
memmap2 = "0.9"
|
|
rayon = "1"
|
|
peg = "0.8"
|
|
paste = "1"
|
|
jobkit = { path = "/home/kent/jobkit", features = ["daemon"] }
|
|
poc-agent = { path = "../poc-agent" }
|
|
tokio = { version = "1", features = ["rt-multi-thread"] }
|
|
redb = "2"
|
|
log = "0.4"
|
|
ratatui = "0.30"
|
|
skillratings = "0.28"
|
|
crossterm = { version = "0.28", features = ["event-stream"] }
|
|
|
|
[build-dependencies]
|
|
capnpc = "0.20"
|
|
|
|
[lib]
|
|
name = "poc_memory"
|
|
path = "src/lib.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"
|
|
|
|
[[bin]]
|
|
name = "diag-key"
|
|
path = "src/bin/diag-key.rs"
|
|
|
|
[[bin]]
|
|
name = "find-deleted"
|
|
path = "src/bin/find-deleted.rs"
|