cloudaxe-opencode/packages/opencode/test
Kit Langton d3c7736ce6 fix(server): revert structured validation error wire format (#26457)
PR #26457 changed the 400 wire format on the HTTP API in three ways:
1. \`Effect.catch(HttpApiError.BadRequest)\` → \`{ data: {}, errors: [], success: false }\`
2. \`HttpApiSchemaError\` defect → same shape
3. \`normalizeEmptyBadRequest\` post-processor that rewrites ANY empty
   400 into the same shape

In v1.14.42 (post-Hono-deletion) at least one external plugin
(\`opencode-gemini-auth\`, per #26546 reports) makes an HTTP API call
during startup that hits one of these paths and breaks on the new
body shape — the unparseable JSON ends up printed to stdout and the
TUI never starts. \`opencode --pure\` works (no plugins), \`opencode run\`
works (no in-process server interaction), but \`opencode\` (TUI) crashes.

Revert all three changes from #26457. The default HttpApi serialization
of typed errors comes back, matching v1.14.41 wire format. We can
re-introduce structured validation responses behind an opt-in or
contract change once plugin authors have a chance to migrate.

Closes #26546.
2026-05-09 13:22:04 -04:00
..
account refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
acp ignore: fix typerrs on dev (#26544) 2026-05-09 12:08:00 -05:00
agent feat(core): add scout agent for repo research (#24149) 2026-05-08 20:20:08 +00:00
auth core: move cross-spawn-spawner to root and remove unused types 2026-04-25 14:30:16 -04:00
bus Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
cli flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
config flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
control-plane research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
effect fix(instance): run bootstrap from instance store (#25475) 2026-05-02 19:33:38 -04:00
fake refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
file Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
filesystem refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
fixture test(server): expand workspace routing fixed-id coverage (#26458) 2026-05-09 00:00:18 -04:00
format core: move cross-spawn-spawner to root and remove unused types 2026-04-25 14:30:16 -04:00
git fix(vcs): avoid unbounded diff memory usage (#25581) 2026-05-03 17:49:46 +05:30
ide
installation Refactor npm config handling (#24565) 2026-04-27 03:54:59 +00:00
lib chore: generate 2026-05-03 00:32:24 +00:00
lsp Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
mcp Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
memory feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741) 2026-04-15 23:27:32 -04:00
patch
permission Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
plugin feat(core): copy file changes when warping (#26190) 2026-05-07 10:24:17 -04:00
project research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
provider fix(provider): align Gemini thinking controls (#26279) 2026-05-08 10:22:45 -04:00
pty chore: generate 2026-05-04 02:57:18 +00:00
question Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
server fix(server): revert structured validation error wire format (#26457) 2026-05-09 13:22:04 -04:00
session feat(core): add scout agent for repo research (#24149) 2026-05-08 20:20:08 +00:00
share refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
shell refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
skill fix(skill): allow missing descriptions (#26391) 2026-05-08 18:50:06 +00:00
snapshot Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
storage refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
sync feat(core): session warping (#25768) 2026-05-04 21:28:38 -04:00
tool feat(core): add scout agent for repo research (#24149) 2026-05-08 20:20:08 +00:00
util fix(sdk+cli): surface real errors instead of bare {} when server returns empty body (#25592) 2026-05-03 13:17:06 +00:00
v2 Improve v2 session message rendering (#25634) 2026-05-05 02:35:21 +00:00
AGENTS.md chore: generate 2026-05-09 04:06:08 +00:00
permission-task.test.ts Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
preload.ts Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00