mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-16 20:22:21 +03:00
* 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>
15 lines
685 B
TypeScript
15 lines
685 B
TypeScript
import test from "node:test";
|
|
import assert from "node:assert/strict";
|
|
import { zcodeProvider } from "../../open-sse/config/providers/registry/zcode/index.ts";
|
|
|
|
test("ZCode provider registry exposes a local no-auth GLM Coding Plan backend", () => {
|
|
assert.equal(zcodeProvider.id, "zcode");
|
|
assert.equal(zcodeProvider.alias, "zc");
|
|
assert.equal(zcodeProvider.executor, "zcode");
|
|
assert.equal(zcodeProvider.format, "openai");
|
|
assert.equal(zcodeProvider.baseUrl, "zcode://app-server/stdio");
|
|
assert.equal(zcodeProvider.authType, "none");
|
|
assert.equal(zcodeProvider.authHeader, "none");
|
|
assert.equal(zcodeProvider.models.some((model) => model.id === "glm-5.2"), true);
|
|
});
|