cloudaxe-opencode/packages/opencode
Simon Klee 75666b271b
opencode: lazy-load top-level CLI commands
The CLI imports every top-level command before argument parsing has
decided which handler will run. This makes simple invocations pay for
the full command graph up front and slows down the default startup path.

Parse the root argv first and load only the command module that matches
the selected top-level command. Keep falling back to the default TUI
path for non-command positionals, and preserve root help, version and
completion handling
2026-04-12 11:25:35 +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 opencode: lazy-load top-level CLI commands 2026-04-12 11:25:35 +02:00
test feat: make gh copilot use msgs api when available (#22106) 2026-04-11 23:06:35 -05:00
.gitignore fix(opencode): ignore generated models snapshot files (#19362) 2026-03-27 02:21:17 +00:00
AGENTS.md effectify Config service (#19139) 2026-03-26 13:07:01 -04:00
BUN_SHELL_MIGRATION_PLAN.md
bunfig.toml tui plugins (#19347) 2026-03-27 15:00:26 +01:00
Dockerfile
drizzle.config.ts
git
package.json refactor(server): simplify router middleware with next() (#21720) 2026-04-11 16:55:17 -04: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.