feat: add TUI bootstrap start

This commit is contained in:
Peter Steinberger
2026-01-09 16:25:11 +01:00
parent 25babbfdc4
commit 7957196924
5 changed files with 66 additions and 22 deletions

View File

@@ -18,6 +18,7 @@ export function registerTuiCli(program: Command) {
)
.option("--deliver", "Deliver assistant replies", false)
.option("--thinking <level>", "Thinking level override")
.option("--message <text>", "Send an initial message after connecting")
.option("--timeout-ms <ms>", "Agent timeout in ms", "30000")
.option("--history-limit <n>", "History entries to load", "200")
.action(async (opts) => {
@@ -37,6 +38,7 @@ export function registerTuiCli(program: Command) {
session: opts.session as string | undefined,
deliver: Boolean(opts.deliver),
thinking: opts.thinking as string | undefined,
message: opts.message as string | undefined,
timeoutMs: Number.isNaN(timeoutMs) ? undefined : timeoutMs,
historyLimit: Number.isNaN(historyLimit) ? undefined : historyLimit,
});