opencode/packages
Kit Langton 5acc917591 refactor(test/cli): simplify pass on tier-A + prebuild
Applies findings from the third simplify pass:

1. \`cliArgv\` is a module-level const, not a function — prebuiltCli is
   read once at module init and never mutated, so the per-spawn function
   allocation was pure overhead.

2. Help-snapshot failures surface via \`Effect.fail\` instead of \`throw\`,
   symmetric with the \`Effect.fail\` already inside the partition above.
   Keeps the failure typed in the Effect channel rather than as a defect.

3. \`prebuild-test-cli.ts\` skips the build when the binary is already
   newer than every file in src/ — saves the 2.8s rebuild cost on every
   subsequent invocation. Pass --force to bypass.

4. \`prebuild-test-cli.ts\` verifies the built binary is executable before
   symlinking — catches a silently-failed build leaving stale output
   instead of letting tests fail with confusing exec errors later.

Verified: 331/331 CLI tests pass; typecheck clean; skip-if-fresh + --force
behave as documented.
2026-05-19 11:36:15 -04:00
..
app fix(app): invalidate provider queries after config update to show custom providers immediately (#28313) 2026-05-19 20:31:36 +08:00
console chore: generate 2026-05-19 06:47:00 +00:00
containers chore: Upgrade Bun to the final non-rust version (#27648) 2026-05-18 09:24:26 +10:00
core sync release versions for v1.15.5 2026-05-18 20:57:13 +00:00
desktop feat(i18n): add Ukrainian (uk) locale support (#28061) 2026-05-19 14:45:39 +08:00
docs fix(web): favicon rename again 2026-01-21 14:36:21 -06:00
enterprise sync release versions for v1.15.5 2026-05-18 20:57:13 +00:00
extensions/zed sync release versions for v1.15.5 2026-05-18 20:57:13 +00:00
function sync release versions for v1.15.5 2026-05-18 20:57:13 +00:00
http-recorder sync release versions for v1.15.5 2026-05-18 20:57:13 +00:00
identity chore: identity cleanup, vscode ext images 2025-12-08 06:47:57 -06:00
llm sync release versions for v1.15.5 2026-05-18 20:57:13 +00:00
opencode refactor(test/cli): simplify pass on tier-A + prebuild 2026-05-19 11:36:15 -04:00
plugin use keymap state for layer visibility (#26246) 2026-05-19 17:07:26 +02:00
script refactor: replace bun semver with npm semver package 2026-03-09 15:29:55 -04:00
sdk chore: generate 2026-05-19 06:13:16 +00:00
slack sync release versions for v1.15.5 2026-05-18 20:57:13 +00:00
storybook Remove unused app ID schema (#27105) 2026-05-12 13:09:23 -04:00
ui feat(i18n): add Ukrainian (uk) locale support (#28061) 2026-05-19 14:45:39 +08:00
web chore(docs): remove beta zen go (#28317) 2026-05-19 12:08:40 +02:00