Brooklyn Nicholson
68ecdb6e26
refactor(tui): store-driven turn state + slash registry + module split
...
Hoist turn state from a 286-line hook into $turnState atom + turnController
singleton. createGatewayEventHandler becomes a typed dispatch over the
controller; its ctx shrinks from 30 fields to 5. Event-handler refs and 16
threaded actions are gone.
Fold three createSlash*Handler factories into a data-driven SlashCommand[]
registry under slash/commands/{core,session,ops}.ts. Aliases are data;
findSlashCommand does name+alias lookup. Shared guarded/guardedErr combinator
in slash/guarded.ts.
Split constants.ts + app/helpers.ts into config/ (timing/limits/env),
content/ (faces/placeholders/hotkeys/verbs/charms/fortunes), domain/ (roles/
details/messages/paths/slash/viewport/usage), protocol/ (interpolation/paste).
Type every RPC response in gatewayTypes.ts (26 new interfaces); drop all
`(r: any)` across slash + main app.
Shrink useMainApp from 1216 -> 646 lines by extracting useSessionLifecycle,
useSubmission, useConfigSync. Add <Fg> themed primitive and strip ~50
`as any` color casts.
Tests: 50 passing. Build + type-check clean.
2026-04-16 12:34:45 -05:00
Brooklyn Nicholson
8e06db56fd
chore: uptick
2026-04-16 01:04:35 -05:00
Brooklyn Nicholson
cb31732c4f
chore: uptick
2026-04-15 23:29:00 -05:00
Brooklyn Nicholson
c9f78d110a
feat: good vibes indi
2026-04-15 17:43:38 -05:00
Brooklyn Nicholson
cb7b740e32
feat: add subagent details
2026-04-15 14:35:42 -05:00
Brooklyn Nicholson
4b4b4d47bc
feat: just more cleaning
2026-04-15 14:14:01 -05:00
Brooklyn Nicholson
9931d1d814
chore: cleanup
2026-04-15 10:35:08 -05:00
Brooklyn Nicholson
33c615504d
feat: add inline token count etc and fix venv
2026-04-15 10:20:56 -05:00
Brooklyn Nicholson
99d859ce4a
feat: refactor by splitting up app and doing proper state
2026-04-14 22:30:18 -05:00
Brooklyn Nicholson
4cbf54fb33
chore: uptick
2026-04-14 19:38:04 -05:00
Brooklyn Nicholson
3bc661ea29
fix: model et al selection on enter
2026-04-14 18:26:00 -05:00
Brooklyn Nicholson
52c11d172a
feat: add scrollbar and fix selection on scroll
2026-04-14 14:34:33 -05:00
Brooklyn Nicholson
9804aa7443
fix: scrolling while selecting
2026-04-14 12:50:22 -05:00
Brooklyn Nicholson
7aed09e1ba
fix: ctrlc
2026-04-14 12:07:29 -05:00
Brooklyn Nicholson
dd2b0b4775
chore: uptick
2026-04-14 11:53:55 -05:00
Brooklyn Nicholson
9a3a2925ed
feat: scroll aware sticky prompt
2026-04-14 11:49:32 -05:00
Brooklyn Nicholson
c189d5e98b
fix: pasting
2026-04-13 22:39:03 -05:00
Brooklyn Nicholson
bbc7316007
feat: add cur cwd
2026-04-13 21:46:08 -05:00
Brooklyn Nicholson
6d6b3b03ac
feat: add clicky handles
2026-04-13 21:20:55 -05:00
Brooklyn Nicholson
aeb53131f3
fix(ui-tui): harden TUI error handling, model validation, command UX parity, and gateway lifecycle
2026-04-13 18:29:24 -05:00
Brooklyn Nicholson
ebe3270430
fix: fake models
2026-04-13 14:57:42 -05:00
Brooklyn Nicholson
77b97b810a
chore: update how txt pasting ux feels
2026-04-13 14:49:10 -05:00
Brooklyn Nicholson
cac1b1b724
fix(ui-tui): surface RPC errors and guard invalid gateway responses
2026-04-13 14:17:52 -05:00
Brooklyn Nicholson
0642b6cc53
fix: clean newline paste thingy
2026-04-13 12:54:48 -05:00
Brooklyn Nicholson
eec1db36f7
chore: preserve commands
2026-04-13 10:43:42 -05:00
Brooklyn Nicholson
713a614ea8
chore: uptick
2026-04-13 10:22:44 -05:00
Brooklyn Nicholson
a2c0597ae4
feat: show thinking indicator while inferencing
2026-04-13 10:11:18 -05:00
Brooklyn Nicholson
0fd33a98cd
feat: ctrl t for diff thinking rendering types
2026-04-12 20:08:12 -05:00
Brooklyn Nicholson
ddb0871769
feat(tui): hierarchical tool progress with grouped parent/child rows and transient line pruning
2026-04-12 17:39:17 -05:00
Brooklyn Nicholson
e03bef684e
chore: fmt
2026-04-12 16:33:25 -05:00
Brooklyn Nicholson
4b026d6761
fix: little box typey thing
2026-04-12 16:31:30 -05:00
Brooklyn Nicholson
ef51bb0091
fix: tool drafting stuff
2026-04-12 16:06:39 -05:00
Austin Pickett
5552e1ffe1
Merge branch 'feat/ink-refactor' of github.com:NousResearch/hermes-agent into feat/ink-refactor
2026-04-11 22:10:11 -04:00
Austin Pickett
90890f8f04
feat: personality selector
2026-04-11 22:10:02 -04:00
Brooklyn Nicholson
32302c37dd
feat: fix types and add type checking plus lazybundle on launch andddd dev flag
2026-04-11 14:42:28 -05:00
Brooklyn Nicholson
acbf1794f2
Merge branch 'feat/ink-refactor' of github.com:NousResearch/hermes-agent into feat/ink-refactor
2026-04-11 14:05:17 -05:00
Brooklyn Nicholson
e2ea8934d4
feat: ensure feature parity once again
2026-04-11 14:02:36 -05:00
Austin Pickett
7e7f78f86c
Merge branch 'feat/ink-refactor' of github.com:NousResearch/hermes-agent into feat/ink-refactor
2026-04-11 15:00:28 -04:00
Austin Pickett
5fb6a4418b
feat: panels
2026-04-11 14:29:24 -04:00
Brooklyn Nicholson
3fd5cf6e3c
feat: fix img pasting in new ink plus newline after tools
2026-04-11 13:14:32 -05:00
Brooklyn Nicholson
7803d21bcc
Merge branch 'feat/ink-refactor' of github.com:NousResearch/hermes-agent into feat/ink-refactor
2026-04-11 11:39:19 -05:00
Brooklyn Nicholson
8760faf991
feat: fork ink and make it work nicely
2026-04-11 11:29:08 -05:00
jonny
cab6447d58
fix(tui): render tool trail consistently between live and resume
...
Resumed sessions showed raw JSON tool output in content boxes instead
of the compact trail lines seen during live use. The root cause was
two separate rendering paths with no shared code.
Extract buildToolTrailLine() into lib/text.ts as the single source
of truth for formatting tool trail lines. Both the live tool.complete
handler and toTranscriptMessages now call it.
Server-side, reconstruct tool name and args from the assistant
message's tool_calls field (tool_name column is unpopulated) and
pass them through _tool_ctx/build_tool_preview — the same path
the live tool.start callback uses.
2026-04-11 06:35:00 +00:00
jonny
90f0aa174d
fix(tui): support /resume <id> to bypass session picker
...
- Extract resumeById callback from inline onSelect handler
- /resume with no arg opens picker (unchanged behavior)
- /resume <id> resumes directly, skipping the picker
2026-04-10 11:00:08 +00:00
Austin Pickett
e1df13cf20
fix: menus
2026-04-10 00:01:37 -04:00
Brooklyn Nicholson
b85ff282bc
feat(ui-tui): slash command history/display, CoT fade, live skin switch, fix double reasoning
2026-04-09 19:08:47 -05:00
Brooklyn Nicholson
17ecdce936
feat: add slash commands to the history so it doesnt get lost
2026-04-09 18:51:17 -05:00
Brooklyn Nicholson
7e813a30e0
fix: sexier cots
2026-04-09 18:33:25 -05:00
Brooklyn Nicholson
6e24b9947e
feat(ui-tui): render tool calls inline in message flow instead of activity lane
2026-04-09 17:40:30 -05:00
Brooklyn Nicholson
99fd3b518d
feat: add /copy and /agents
2026-04-09 17:19:36 -05:00