No description
  • TypeScript 99.7%
  • Shell 0.3%
Find a file
Aisla Vue 554010f36a Add GLM-5.2 Go model with thinking-level map and multi-model injection
Inject glm-5.2 into the opencode-go provider via ensureIluPiModelsJson,
matching Z.AI official specs: 1M context window, 131072 max output tokens,
reasoning-only with high/max effort levels (off is unsupported). Refactor
pi-models.ts from single-model injection (qwen3.7-max only) to a loop over
OPENCODE_GO_INJECTED_MODELS so future models can be added by appending to
the array. The stale-entry check now uses full deep equality to catch
drift in any field, not just api/baseUrl.

Update agent-models.ts to register glm-5.2 in the picker at the correct
position with its 1M context window constant. Update ui-controller and
pi-adapter tests to cover the new model in selector lists, context
metadata, and registry resolution. Expand pi-models tests to cover both
injected models across all scenarios (first-run, idempotency, stale
update, preservation, corrupt JSON, missing providers, non-object
provider, and Pi registry resolution).

Verified against OpenCode upstream (anomalyco/opencode issues #32172 and
#32444) and the Pi SDK's built-in opencode-go model definitions.
2026-06-17 14:12:44 -04:00
.pi Update OpenCode Go Kimi model to k2.7-code and add multi-path grep 2026-06-16 23:56:58 -04:00
bin Share macOS-friendly launch helper 2026-05-04 12:58:10 -04:00
docs Update OpenCode Go Kimi model to k2.7-code and add multi-path grep 2026-06-16 23:56:58 -04:00
scripts Update Pi tool safety and package config 2026-06-03 21:55:23 -04:00
src Add GLM-5.2 Go model with thinking-level map and multi-model injection 2026-06-17 14:12:44 -04:00
test Add GLM-5.2 Go model with thinking-level map and multi-model injection 2026-06-17 14:12:44 -04:00
.gitignore Update Pi tool safety and package config 2026-06-03 21:55:23 -04:00
.prettierrc.json Prepare repo hygiene for v2 2026-05-03 06:08:28 -04:00
AGENTS.md Add login notice overlay, visual-width wrapping, and gamemaker skill 2026-05-25 21:31:44 -04:00
package-lock.json Update OpenCode Go Kimi model to k2.7-code and add multi-path grep 2026-06-16 23:56:58 -04:00
package.json Update OpenCode Go Kimi model to k2.7-code and add multi-path grep 2026-06-16 23:56:58 -04:00
tsconfig.json Bootstrap ILU terminal agent slice 2026-05-01 15:07:53 -04:00