hephaestus/crates/heph-tui/src
Erich Blume ae2eff401c feat(tui): heph-tui T2b — nvim context handoff (§8.1)
`o` on a task suspends the TUI, opens its canonical-context doc in the owner's
nvim via heph.nvim's live buffer surface (+lua require('heph.node').open), then
restores the alternate screen and reloads to pick up edits. The child nvim is
pointed at the same daemon via $HEPH_SOCKET, so it works under a custom
--socket too. This is the KB↔task fusion — edit the description/checklist in
the real editor and return straight to triage.

handle_key now returns an Action the event loop performs (the suspend/spawn is
terminal-owning, kept out of App). nvim arg builder unit-tested; the actual
suspend/spawn is interactive so it's exercised manually.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 07:11:47 -07:00
..
app.rs feat(tui): heph-tui T2b — nvim context handoff (§8.1) 2026-06-03 07:11:47 -07:00
backend.rs feat(tui): heph-tui T1 — read-only 3-pane agenda (§8.1) 2026-06-03 07:06:48 -07:00
editor.rs feat(tui): heph-tui T2b — nvim context handoff (§8.1) 2026-06-03 07:11:47 -07:00
fmt.rs feat(tui): heph-tui T1 — read-only 3-pane agenda (§8.1) 2026-06-03 07:06:48 -07:00
lib.rs feat(tui): heph-tui T2b — nvim context handoff (§8.1) 2026-06-03 07:11:47 -07:00
main.rs feat(tui): heph-tui T2b — nvim context handoff (§8.1) 2026-06-03 07:11:47 -07:00
ui.rs feat(tui): heph-tui T2b — nvim context handoff (§8.1) 2026-06-03 07:11:47 -07:00