mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-16 20:13:04 +00:00
1.5 KiB
1.5 KiB
OPS100 — Worktree model flags --glm and --free
Date: 2026-08-27 Issue: — (direto do humano, config-only) Type: ops, config
Summary
Two new model flags in the pnpm worktree per-invocation menu (next/plan/new/fix): --glm → opencode-go/glm-5.3-flash (GLM-5.3-Flash via provider Opencode Go) and --free → openrouter/openrouter/free (Free Models Router via OpenRouter). Menu goes from 5 to 7 named flags; same mechanism (edit the constant/map, OPS26/OPS93), no behavior change without flags.
Changes
Scripts
scripts/lib/worktree.mjs—WORKTREE_MODEL_MAPgainsglmandfreeentries; conflict error message inresolveWorktreeModellists the two new flags; docblocks updatedscripts/worktree.mjs— docblock +--helpflag lists synchronized (pipe and slash forms) with the two new model IDs in the map prose
Tests
tests/unit/worktree.unit.spec.ts— map pin updated (7-flag map +WORKTREE_MODEL_FLAGSpin + single-flag resolution forglm/free)
Documentation
.agents/shell/worktree.sh,.agents/skills/worktree-next-issue/SKILL.md,.agents/skills/local-database/SKILL.md,.opencode/commands/worktree.md— flag lists and per-flag model values synchronized
Verification
opencode models— confirmsopencode-go/glm-5.3-flashandopenrouter/openrouter/freeexist (models.dev display names: "GLM-5.3-Flash (2x usage)" / "Free Models Router")pnpm gate:fast— green (lint, format, typecheck, unit)