mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
3f2a0aaa92
Replace the legacy runNonInteractiveMode path (which used runAgenticLoop and the old CLI spinner/streaming display) with runNonInteractiveModeApp, which delegates directly to appInstance.RunOnce(ctx, prompt, os.Stdout). RunOnce never creates a tea.Program, so no intermediate spinner or tool-call output is produced — satisfying both the normal and --quiet non-interactive cases with the same codepath. When --no-exit is set, runNonInteractiveModeApp hands off to the interactive BubbleTea TUI via runInteractiveModeBubbleTea after the single step completes.