mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-04 02:21:47 +00:00
fix(tui): stream /browser connect progress as gateway events
Emit browser.progress JSON-RPC notifications during the connect work and render them in the TUI as system transcript lines, so users see the same step-by-step status the base CLI prints instead of nothing for ~1m followed by a final result.
This commit is contained in:
parent
7d39a45749
commit
e750829015
7 changed files with 148 additions and 33 deletions
|
|
@ -191,8 +191,12 @@ describe('createSlashHandler', () => {
|
|||
})
|
||||
|
||||
it.each([
|
||||
['/browser status', 'browser.manage', { action: 'status' }],
|
||||
['/browser connect', 'browser.manage', { action: 'connect', url: 'http://127.0.0.1:9222' }],
|
||||
['/browser status', 'browser.manage', { action: 'status', session_id: null }],
|
||||
[
|
||||
'/browser connect',
|
||||
'browser.manage',
|
||||
{ action: 'connect', session_id: null, url: 'http://127.0.0.1:9222' }
|
||||
],
|
||||
['/reload-mcp', 'reload.mcp', { session_id: null }],
|
||||
['/stop', 'process.stop', {}],
|
||||
['/fast status', 'config.get', { key: 'fast', session_id: null }],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue