mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 15:01:34 +08:00
- hermes-ink: export `withInkSuspended()` + `useExternalProcess()` that pause/resume Ink around an arbitrary external process (built on the existing enterAlternateScreen/exitAlternateScreen plumbing) - tui: `launchHermesCommand(args)` spawns the `hermes` binary with inherited stdio, with `HERMES_BIN` override for non-standard launches - tui: `/model` and `/setup` slash commands invoke the CLI wizards in-place, then re-preflight `setup.status` and auto-start a session on success — no more exit-and-relaunch to finish first-run setup - setup panel now advertises those slashes instead of only pointing users back at the shell
18 lines
483 B
TypeScript
18 lines
483 B
TypeScript
import type { PanelSection } from '../types.js'
|
|
|
|
export const SETUP_REQUIRED_TITLE = 'Setup Required'
|
|
|
|
export const buildSetupRequiredSections = (): PanelSection[] => [
|
|
{
|
|
text: 'Hermes needs a model provider before the TUI can start a session.'
|
|
},
|
|
{
|
|
rows: [
|
|
['/model', 'configure provider + model in-place'],
|
|
['/setup', 'run full first-time setup wizard in-place'],
|
|
['Ctrl+C', 'exit and run `hermes setup` manually']
|
|
],
|
|
title: 'Actions'
|
|
}
|
|
]
|