feat(providers): add local ZCode ACP backend - #10184
Conversation
|
Thanks for this — nice, self-contained addition. I reviewed the diff and validated it independently:
The provider/executor/no-auth registration mirrors the existing One thing worth being aware of going forward (not blocking): No mandatory changes from my side. Looks merge-ready. |
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>
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>
diegosouzapw#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>
|
Validated in local merge-train |
…8.50 Sync the fork deployment branch to upstream tip (108 commits), including the local ZCode ACP backend (diegosouzapw#10184). Conflicts resolved: providers.ts (getProviderConnectionFamilyIds), visionBridge getComboVisionBridgeDecision (fork's {decision,hasConfirmedVision} shape + upstream's no-vision state), radar routes (upstream Cache-Control/validateRadarSyncBody/featureAvailable), docs counts (148 migrations, 109 MCP tools/33 scopes). Fork-local quota fetcher work preserved.
…(341) Run `npm run gen:provider-reference` to pick up the local ZCode ACP backend provider added by upstream PR diegosouzapw#10184 (local noauth provider). Regeneration reconciles the canonical provider count (340 cloud providers) with the provider-modules total (341), resolving all 6 STRICT docs-counts drifts inherited from the v3.8.50 merge: - docs/reference/PROVIDER_REFERENCE.md — stale provider total 340 → 341 - docs/diagrams/{readme-hero,promise-pillars,comparison-table,cli-terminal}.svg — " 340 providers " → 341 - README.md — CLI tools 33 → matches live count - AGENTS.md / MCP-SERVER.md — MCP tools/scopes refresh 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 > Inspired-by: diegosouzapw#10184
Regenerate PROVIDER_REFERENCE (npm run gen:provider-reference) to pick up the local ZCode ACP backend provider (PR diegosouzapw#10184). Update README.md, AGENTS.md, llm.txt (root + 42 i18n mirrors), 4 hero/pillar SVGs and package.json description to reflect the canonical 341 provider count and the live 34 CLI tools count. This resolves all STRICT docs-counts drifts inherited from the v3.8.50 upstream sync (Wave 0 of the 18-PR port batch). Inspired-by: diegosouzapw#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 diegosouzapw#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>
* 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 diegosouzapw#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>
Summary
zcodeprovider that invokes the authenticated ZCode app-server over its native framed stdio protocolValidation
node --import tsx/esm --test tests/unit/zcode-executor.test.ts tests/unit/zcode-protocol.test.ts tests/unit/zcode-provider.test.ts(5 passing; isolatedDATA_DIR)zcode/glm-5.2-> providerzcode, HTTP 200Scope
Upstream note
The base currently imports a missing
open-sse/config/providers/registry/github/models/index.ts; that independent base defect prevents loading the full global registry in this checkout and is deliberately not included in this feature PR.