cloudaxe-opencode/packages/opencode
Simon Klee 489661f1f4
cli: add interactive split-footer mode to run
Add `run --interactive` (`-i`) which renders a split-screen
TUI inside the run command: scrollback output on top, input footer
on the bottom with prompt, permission, and question views.

This bridges the gap between headless `run` and the full TUI,
giving users an interactive experience without leaving the CLI
pipeline. Tool rendering, session data reduction, and stream
transport are extracted into run/ submodules to keep the
orchestration manageable.

*.shared.ts files contain shared logic for both run and the TUI, but
are intentionally kept in /run for now until later refactor
2026-04-13 12:04:45 +02:00
..
bin
migration
script app: remove min loading duration (#21655) 2026-04-09 16:29:46 +08:00
specs chore: generate 2026-04-12 00:03:01 +00:00
src cli: add interactive split-footer mode to run 2026-04-13 12:04:45 +02:00
test tweak: adjust session getUsage function to use more up to date LanguageModelUsage instead of LanguageModelV2Usage (#22224) 2026-04-12 21:39:06 -05:00
.gitignore
AGENTS.md
BUN_SHELL_MIGRATION_PLAN.md
bunfig.toml
Dockerfile
drizzle.config.ts
git
package.json feat: add alibaba pkg and cache support (#22248) 2026-04-13 00:08:07 -05:00
parsers-config.ts
README.md
sst-env.d.ts
tsconfig.json

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.