feat(providers): add local ZCode ACP backend (#10184)

* feat(providers): add local ZCode ACP backend

* test(snapshots): regenerate translate-path golden for zcode provider

The new local ZCode ACP backend (zcode://app-server/stdio) was added to the
provider catalog but the translate-path golden snapshot was not regenerated,
so the combined suite (provider-translate-path-golden.test.ts) failed on the
merged tip. Regenerate the snapshot to include the zcode translate-path entry.

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>

* docs(env): document ZCODE_* vars for the local zcode provider

Registers the 11 ZCODE_* env vars read by the zcode executor (.env.example
+ docs/reference/ENVIRONMENT.md) so the env-doc-sync gate stays green.

Co-authored-by: Diego Souza <8016841+diegosouzapw@users.noreply.github.com>

* test(autoCombo): include zcode in the glm-family provider set

#10184's local zcode backend advertises the full GLM_SHARED_MODELS
line-up (registry/zcode, authType none) — same documented case as auggie
and devin-cli-agentic. Update auto/glm provider-set assertion to include
it.

Co-authored-by: Diego Souza <8016841+diegosouzapw@users.noreply.github.com>

---------

Co-authored-by: roomhacker <roomhacker@bezrabotnyi.com>
Co-authored-by: adevwithpurpose <adevwithpurpose@users.noreply.github.com>
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
This commit is contained in:
Bezrabotnyi
2026-08-16 06:13:36 +03:00
committed by GitHub
parent aa5b77eb6e
commit 595d04dad9
18 changed files with 1243 additions and 1 deletions

View File

@@ -93,6 +93,17 @@ const CLI_TOOLS: Record<string, any> = {
},
},
},
zcode: {
defaultCommand: "zcode",
envBinKey: "ZCODE_BIN",
requiresBinary: true,
// The app-server performs a local runtime handshake and can be slower on
// the first launch while the user's ZCode profile is loaded.
healthcheckTimeoutMs: 15000,
paths: {
config: ".zcode",
},
},
cline: {
defaultCommand: "cline",
envBinKey: "CLI_CLINE_BIN",