gsxdsm
9149121bb6
FN-6401: add built-in Z.ai GLM-5.2 support
Add Z.ai's built-in provider registration so GLM-5.2 is selectable across Fusion model settings.
- Define and export a shared Z.ai provider registration with existing GLM models plus GLM-5.2.
- Register the built-in provider for CLI server and engine pi model registries.
- Cover provider availability and CLI auth-provider wrapping with focused tests.
- Document Z.ai model selection and add a minor changeset.
Files changed:
.changeset/FN-6401-glm-5-2.md | 5 +
docs/settings-reference.md | 2 +
packages/cli/src/commands/__tests__/daemon.test.ts | 11 ++
.../cli/src/commands/__tests__/dashboard.test.ts | 13 +++
packages/cli/src/commands/__tests__/serve.test.ts | 11 ++
packages/cli/src/commands/daemon.ts | 8 ++
packages/cli/src/commands/dashboard.ts | 8 ++
packages/cli/src/commands/serve.ts | 8 ++
packages/core/src/__tests__/zai-provider.test.ts | 48 ++++++++
packages/core/src/index.ts | 2 +
packages/core/src/zai-provider.ts | 125 +++++++++++++++++++++
.../src/__tests__/pi-create-fn-agent.test.ts | 5 +-
packages/engine/src/pi.ts | 20 +++-
13 files changed, 264 insertions(+), 2 deletions(-)
Fusion-Task-Id: FN-6401
Fusion-Task-Lineage: e1f7a90d-0614-4d9f-826f-015605a08baa
2026-06-13 16:30:29 -07:00
..
2026-06-13 09:14:02 -07:00
2026-06-13 16:30:29 -07:00
2026-06-03 13:02:23 -07:00
2026-06-04 22:10:20 -07:00
2026-04-23 23:02:35 -07:00
2026-05-01 05:04:05 -07:00
2026-06-13 06:12:09 -07:00
2026-06-12 21:50:49 -07:00
2026-06-10 01:07:48 -07:00
2026-05-01 23:35:44 -07:00
2026-05-23 11:49:23 -07:00
2026-04-29 07:54:45 -07:00