Commit Graph
63 Commits
Author SHA1 Message Date
hermes 99a0deff1a task: prompts[] fan-out, steer away from lone tasks, hx stats task report 2026-10-14 09:14:43 +00:00
hermes 1a027512e8 agent: retry empty replies once, never store them, then fail visibly 2026-10-12 21:32:45 +00:00
hermes 8e7c0bb89a Optional sandbox for bash, LSP servers and lens/test runners (bwrap, seatbelt) 2026-10-12 16:09:40 +00:00
hermes a30b3a3e73 Batching nudges: parallel-calls prompt line, codemode hint, tool-call count 2026-10-12 12:33:52 +00:00
hermes 8ccc189e9c Merge main 2026-10-09 19:35:46 +00:00
hermes be74dd9fec Session ops and ContextPolicy in hx-core 2026-10-09 19:34:59 +00:00
hermes 255819cbbc Merge pull request 'TUI redesign: Catppuccin Mocha + new layout' (#144) from feat/tui-design into main 2026-10-09 19:22:48 +00:00
hermes c57d238f7b tui: live bash output, token counter, structured lens view for side panel 2026-10-09 15:10:59 +00:00
hermes 199f337662 skills: skill tool, YAML frontmatter, disable-model-invocation, argument-hint 2026-10-09 14:49:38 +00:00
hermes 6c8d492ca5 Faster startup: parallel catalog (stale-while-revalidate), MCP overlaps catalog, parallel extensions, single prompt scan, 10s MCP connect timeout, HX_TRACE_STARTUP 2026-10-08 16:53:56 +00:00
hermes 63baad33a8 Merge pull request 'herdr support' (#136) from feat/herdr into main 2026-10-06 15:21:34 +00:00
hermes 21ff700426 Merge pull request 'Add /btw side question' (#137) from feat/btw-wt into main 2026-10-06 15:20:17 +00:00
hermes 28dff172f2 Add /btw: side question without tools, not saved, works mid-run 2026-10-06 15:17:57 +00:00
hermes 789ee75a27 herdr support: report idle/working/blocked, resume command, release 2026-10-06 15:15:22 +00:00
hermes a3b545d240 tui: left-align subagent list, hide finished agents after 20s 2026-10-06 15:02:06 +00:00
hermes e892fdda67 permit: quote-aware command chains, always-allow for pipelines 2026-10-06 13:34:51 +00:00
hermes c29df05e0b Merge pull request 'Guide models to read-only inspection' (#133) from feat/inspect-guidelines into main 2026-10-06 13:14:44 +00:00
hermes 37dfbc3102 Guide models to read-only inspection: prompt rules, pipes and find in the read-only gate, approval stats 2026-10-06 13:14:09 +00:00
hermes 9b6eb9bee1 Agent memory: MEMORY.md index in prompt, lazy topic files, memory_write/memory_forget 2026-10-06 12:57:26 +00:00
hermes 9cb95ac5b6 merge main 2026-10-06 12:53:24 +00:00
hermes 5eee541e62 permit: allow all edits per session, drop per-file always, add /yolo 2026-10-06 12:41:23 +00:00
hermes 19dc1563f4 Merge pull request 'Thinking levels: Tab cycles off/low/medium/high, /effort' (#130) from feat/thinking into main 2026-10-06 12:18:53 +00:00
hermes e1143f0b8b Remember thinking level in last.json too 2026-10-06 12:15:17 +00:00
hermes 8345d0f504 Merge pull request 'Ask parallel permission prompts one by one; allow all edits this session' (#129) from fix/permit-queue into main 2026-10-06 12:08:52 +00:00
hermes a0fb5ed7f7 Merge pull request 'tui: mouse selection + copy (OSC 52, /copy)' (#127) from feat/mouse-select into main 2026-10-06 12:08:36 +00:00
hermes 49be5673bd Ask parallel permission prompts one by one; add allow-all-edits option 2026-10-06 12:08:27 +00:00
hermes ab2af421a4 Thinking levels: Tab cycles off/low/medium/high, /effort 2026-10-06 12:05:29 +00:00
hermes 2c1d2a6c85 tui: drag-select text in chat, copy via OSC 52 (+ /copy) 2026-10-06 12:02:51 +00:00
hermes 2f1ce2c072 Remember last chosen provider/model in HX_HOME/last.json 2026-10-06 11:43:51 +00:00
hermes 48a808d526 Codex model list: show all models, surface fetch failures, hx models 2026-10-06 10:19:21 +00:00
hermes b5db6ce80a permissions: reads and read-only bash run free; secrets and writes ask
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
2026-10-03 22:03:42 +00:00
hermes cafdaaae5d input: shift-enter newline via keyboard protocol, tmux modifyOtherKeys, backslash-enter, wrapping, /keys
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
2026-10-02 23:04:14 +00:00
hermes 23dc8cd36e permissions: --yolo, command-aware allow rules, load allow.json
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
2026-10-02 21:37:49 +00:00
hermes 5fd7044a2f TUI: permission prompt, /diff review, /stats dashboard, lens/context/MCP side panel
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-02 23:31:55 +02:00
hermes cd52d409b2 Merge main into context-window: mask cap (#117) moves into ContextWindow
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
2026-10-02 15:04:41 +00:00
hermes 8dd6ce833b mask: start masking at min(compact_at/3, 60k) tokens
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
2026-10-02 14:59:18 +00:00
hermes 3070029c9e cargo fmt
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
2026-10-02 14:41:05 +00:00
johannes 8f4b1f1729 Deepen context-window management into ContextWindow
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
Token counting, the compaction trigger and the masking schedule lived in
Agent's private fields plus mask.rs, compact.rs, stats.rs and the TUI.
Move them behind one module with view/record/reset/tokens, so the
reset-together invariant and the mask-boundary rule have one owner.

- Agent holds a ContextWindow instead of compact_at/ctx/mask_boundary
- TUI shows Agent::context_tokens() (real reading + estimate), matching
  the compaction trigger instead of the bytes/4 guess
- stats replay goes through ContextWindow::masked
- ContextMeter/estimate_tokens move into the module; mask is crate-private
- tests at the ContextWindow interface replace the meter unit test
2026-10-02 16:36:50 +02:00
hermes 508a6839fb Subagent overview: list above footer, ctrl-g detail view, steer/continue agents, abort per agent, ctrl-s to main chat
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-02 14:14:01 +00:00
hermes 359a5058d7 Subagents: task tool (explore on cheap model, general), child sessions, usage roll-up, stats
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-02 11:57:59 +00:00
hermes c7341d3085 ask_user tool + choose popup: model asks the user to pick options or type an answer
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-02 11:18:22 +00:00
hermes c74b45cbeb mask: boundary kept in Agent, advances only when context > compact_at/3; recorded per request, stats replays it
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 22:35:47 +00:00
hermes 42384cf5e4 stats: list requests with large cache writes, report assistant-side bytes
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 22:27:55 +00:00
hermes ca72c890a8 stats: replay request masking so 'resent' reflects what was actually sent
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 22:23:09 +00:00
johannes eaa6e22fbd Deepen Agent, compaction, switching and TUI modules
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s
- Agent: make session/usage/provider/model/system/max_tokens/compact_at
  private; add set_provider, set_model, replace_session, fork, clear,
  fit_window. Fixes stale context-token reading after resume/new session.
- hx-core::compact: ContextMeter, plan/apply and estimate_tokens split out
  of agent.rs, testable without provider or session.
- hx-core::switch: Switcher shared by TUI and RPC for model/provider
  switches; RPC set_model now also refits the compaction threshold.
- hx-tui: status.rs (footer, /usage as pure functions), popup.rs, and
  Picker::key returning an Act.
- tests/tui_smoke.py: resolve the temp dir (macOS /var symlink) and match
  the resume via the OSC window title instead of split screen text.
2026-10-02 00:10:41 +02:00
hermes 80c0f83a68 tokens: mask old large tool results in requests; compact inside a single long tool loop
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 21:45:17 +00:00
hermes 4c5a0152ce skills index: state skill root once per directory, drop per-line paths
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 21:31:03 +00:00
hermes 2ed6fbc028 skills index: cap descriptions at 100 chars; hx prefix lists skills individually
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 21:21:34 +00:00
hermes c5420026b8 tokens: rolling cache breakpoints, real-usage compact trigger, smaller read/bash limits with head+tail
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 21:00:47 +00:00
hermes 1c69c8ed34 stats: log per-request usage in session, add 'hx stats <session>' token report
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-10-01 20:52:42 +00:00