cloudaxe-opencode/packages/opencode
Simon Klee 537160dbc0
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-09 19:42:25 +02:00
..
bin cache platform binary in postinstall for faster startup (#14467) 2026-02-20 12:19:17 -06:00
migration chore: generate 2026-03-25 14:48:44 +00:00
script app: remove min loading duration (#21655) 2026-04-09 16:29:46 +08:00
specs core: refactor tool system to remove agent context from initialization (#21052) 2026-04-07 19:48:12 -04:00
src opencode: lazy-load top-level CLI commands 2026-04-09 19:42:25 +02:00
test feat: add support for fast modes for claude and gpt models (that support it) (#21706) 2026-04-09 12:06:26 -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 sync 2026-02-25 01:48:10 -05:00
bunfig.toml tui plugins (#19347) 2026-03-27 15:00:26 +01:00
Dockerfile add ARM64 Docker image support (#5483) 2025-12-13 13:01:59 -06:00
drizzle.config.ts sqlite again (#10597) 2026-02-14 04:19:02 +00:00
git feat: interactive update flow for non-patch releases (#18662) 2026-03-22 23:12:40 +00:00
package.json release: v1.4.2 2026-04-09 16:24:43 +00:00
parsers-config.ts feat(tui): add syntax highlighting for kotlin, hcl, lua, toml (#18198) 2026-03-23 16:15:24 +01:00
README.md sync 2025-05-30 20:48:36 -04:00
sst-env.d.ts zen: update sst version 2026-02-18 13:54:23 -05:00
tsconfig.json chore: generate 2026-03-10 16:56:30 +00:00

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.