Skip to content

docs(cli): update opencode.ts JSDoc to reflect 128k context fallback (#11035) - #11157

Merged
diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.50from
rqzbeh:docs/opencode-jsdoc-128k-fallback
Aug 22, 2026
Merged

diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.50from
rqzbeh:docs/opencode-jsdoc-128k-fallback

Conversation

@rqzbeh

@rqzbeh rqzbeh commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates JSDoc comments in src/lib/cli-helper/config-generator/opencode.ts to accurately describe the 128k context fallback behavior introduced in #11054 / #11035 instead of the legacy omitted behavior.

Key Changes

  • Updated JSDoc comments at lines ~285-297, ~410-419, and ~434-439 in src/lib/cli-helper/config-generator/opencode.ts to reflect the 128k context fallback for unknown models.

Verification

  • npm run typecheck:core (0 errors)
  • npx eslint src/lib/cli-helper/config-generator/opencode.ts (0 issues)
  • node --import tsx/esm --test tests/unit/opencode-v2-config-11070.test.ts (2/2 tests passed)

@rqzbeh
rqzbeh requested a review from diegosouzapw as a code owner August 22, 2026 20:00
@rqzbeh
rqzbeh force-pushed the docs/opencode-jsdoc-128k-fallback branch 4 times, most recently from 3d2f6cb to 3bd6d80 Compare August 22, 2026 22:24
@diegosouzapw
diegosouzapw force-pushed the docs/opencode-jsdoc-128k-fallback branch from 3bd6d80 to 875bf1d Compare August 22, 2026 23:07
@diegosouzapw
diegosouzapw merged commit 5818cfb into diegosouzapw:release/v3.8.50 Aug 22, 2026
4 of 7 checks passed
diegosouzapw pushed a commit that referenced this pull request Aug 23, 2026
…0964)

Merged after conflict triage: the six base-red repair files (vi.json, opencode.ts JSDoc, context-manager test, the three webhook dispatcher tests, the uncloseai orphan-test rename) were already drained on the tip by today's #11130/#11157/#11160/#11113 — those hunks resolved to the tip shape. What lands is the production-fix set: GLM transport-aware Anthropic headers, Claude Code-compatible model-listing rejection, combo live-test single-probe, zero-cost Auto-Combo interval normalization, recovery-clearing union handling, LLMLingua real-path compare, macOS netstat PID discovery, AI Horde R2 strict public-host validation. Sweep of every touched test file: 243/243 green; typecheck + file-size clean. (guide-settings-route's 4 reds reproduce on the pure tip — pre-existing drift from #11079, not from here.) Thank you @backryun!
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…iegosouzapw#11035) (diegosouzapw#11157)

Cherry-picked the JSDoc commit onto the current tip (authorship preserved), stripping the stale generated-count noise files. Focused: opencode-v2-config-11070 2/2. Comments now match the 128k fallback shipped in diegosouzapw#11035/diegosouzapw#11054. Thank you @rqzbeh!
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…egosouzapw#10964)

Merged after conflict triage: the six base-red repair files (vi.json, opencode.ts JSDoc, context-manager test, the three webhook dispatcher tests, the uncloseai orphan-test rename) were already drained on the tip by today's diegosouzapw#11130/diegosouzapw#11157/diegosouzapw#11160/diegosouzapw#11113 — those hunks resolved to the tip shape. What lands is the production-fix set: GLM transport-aware Anthropic headers, Claude Code-compatible model-listing rejection, combo live-test single-probe, zero-cost Auto-Combo interval normalization, recovery-clearing union handling, LLMLingua real-path compare, macOS netstat PID discovery, AI Horde R2 strict public-host validation. Sweep of every touched test file: 243/243 green; typecheck + file-size clean. (guide-settings-route's 4 reds reproduce on the pure tip — pre-existing drift from diegosouzapw#11079, not from here.) Thank you @backryun!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants