M1: agent loop, tools, sessions, context, skills
ci / check (push) Canceled after 0s

- hx-core: Tool trait + registry (schema validation, parallel calls), event bus with Block/Mutate/Inject hooks,
  agent loop (abort, max turns, AgentEnd inject), JSONL session tree (fork, resume, torn-line tolerant),
  AGENTS.md/CLAUDE.md hierarchy, skills index (bodies on demand)
- hx-tools: read (ranges, binary, images, caps), write/edit (exact match, ambiguity, CRLF, diff, read-guard), bash (merged output, timeout kills process group, tail truncation to temp file)
- hx-cli: -p runs full agent loop, --session / --continue, Ctrl-C abort, HX_BASE_URL override
- tests/e2e.sh: scripted fake Anthropic server drives write -> bash -> answer

Closes #6, closes #7, closes #8, closes #9, closes #10, closes #11, closes #12, closes #13, closes #14
This commit is contained in:
hermes committed 2026-09-30 09:36:16 +00:00
1 parent da9d5d1ae0
commit 21d4d2bb3d
15 files changed
+1752 -52

No files matched your search

+4 -2
View File
@@ -10,10 +10,12 @@ path = "src/main.rs"
[dependencies]
anyhow = "1.0.104"
async-trait = "0.1.92"
clap = { version = "4.6.7", features = ["derive", "env"] }
futures = "0.3.34"
hx-ai = { version = "0.1.0", path = "../hx-ai" }
tokio = { version = "1.53.1", features = ["rt-multi-thread", "macros"] }
hx-core = { version = "0.1.0", path = "../hx-core" }
hx-tools = { version = "0.1.0", path = "../hx-tools" }
tokio = { version = "1.53.1", features = ["rt-multi-thread", "macros", "signal"] }
[lints]
workspace = true