Skip to content

1.6.1#68

Merged
liftaris merged 5 commits into
mainfrom
dev
May 19, 2026
Merged

1.6.1#68
liftaris merged 5 commits into
mainfrom
dev

Conversation

@liftaris
Copy link
Copy Markdown
Owner

Config

  • Regenerate config schema from Hermes Agent 1335ce996, including auxiliary, compression, Discord, and Kanban config keys. (Hermes 1335 parity #67)

Kanban

  • Add scheduled task status parity and render new task metadata: branch, model override, session id, and heartbeat. (Hermes 1335 parity #67)

Chat

  • Sanitize ANSI and control bytes at system, tool, subagent, and error render boundaries while preserving markdown punctuation and normal whitespace. (Hermes 1335 parity #67)

Tests

  • bunx tsc --noEmit
  • bun test
  • bun run build

github-actions Bot and others added 5 commits May 18, 2026 06:57
- STATUSES gains 'scheduled' between 'todo' and 'ready' (upstream
  e3823657d). Column renders with muted tint to read as parked/delayed
  vs blocked (warning) or running (success).
- Task type / SELECT add schema-tolerant reads for branch_name
  (1733cb3a1), model_override (79f6654d1/f01ee0b57), session_id
  (31fe22903), and last_heartbeat_at (used by stale detection in
  e286e6875). All four are NULL-fallback on prior-version DBs.
- SidePane renders Branch, Model, Session rows when populated, and
  Heartbeat (ago format) only for running tasks with a recent beat.
  Workspace stays adjacent to Branch so worktree+branch read together.
- unblock() handles both 'blocked' and 'scheduled' per upstream
  unblock_task semantics; 'u' shortcut and the 'Unblock' action surface
  for either state. editStatus picker gains a 'scheduled' transition
  via the new `hermes kanban schedule` verb.
- Tests: new "scheduled status + new fields parity" block seeds a
  board exercising every new column and asserts boardOf/SidePane render.
  Pre-existing nav tests adjusted to account for the extra column.

Skipped (per task scope): drag/drop affordances, worker visibility
endpoints (02efad704 — herm doesn't have a corresponding interaction
pattern), filter-by-run-outcome (341912c22 — orthogonal to current
filter chip model).
Strip ANSI escape sequences (CSI, OSC, DCS, SOS, PM, APC, dangling
introducers) and C0/C1 control bytes from gateway-, provider-, and
tool-sourced strings at the reducer chokepoint. OpenTUI's <text>
renders these as literal cells or, worse, lets the terminal interpret
mouse-mode/cursor escapes that leaked through tool output.

New helper src/utils/sanitize.ts is applied at every wire boundary in
turnReducer (system/error/interrupt text, message delta + complete,
tool start/progress/complete preview+result+summary+inline_diff, thinking,
subagent start/tool/complete/progress, transcript hydration).

DiffBlock and DiffTabs swap their per-file ad-hoc SGR regexes for the
shared helper so there is one place to update the byte vocabulary.

Composer input is untouched (per task constraint).

15 new tests in test/sanitize.test.tsx cover dangling CSI, SGR color,
OSC (BEL- and ST-terminated + unterminated), DCS/APC sixel-style, C0
keep-tab/LF/CR, C1+DEL, plus reducer-level coverage of every entry
point and a Tool/MessageList render-frame assertion that no control
bytes leak into the rendered cells.
@liftaris liftaris merged commit 099f984 into main May 19, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant