Skip to content

feat(opencode-free): enable Mimo and DeepSeek free models by default - #2431

Merged
jackwener merged 1 commit into
mainfrom
feat/opencode-free-default-enabled-models
Aug 7, 2026
Merged

feat(opencode-free): enable Mimo and DeepSeek free models by default#2431
jackwener merged 1 commit into
mainfrom
feat/opencode-free-default-enabled-models

Conversation

@jackwener

Copy link
Copy Markdown
Member

Summary

  • OpenCode Free bootstrap now enables three free models by default: nemotron-3-ultra-free (still the default), mimo-v2.5-free, and deepseek-v4-flash-free.
  • Bootstrap version bumped to 3; untouched v1 (big-pickle only) and v2 (nemotron only) seeds migrate automatically. Any user customization fails closed.
  • CreateConnectionInput / connection store create accept an explicit enabledModelIds set so the seed can write the multi-model inventory.

Test plan

  • Fresh install shows OpenCode Free with the three models enabled; default remains Nemotron 3 Ultra Free
  • Existing untouched bootstrap (v1 or v2) upgrades to the three-model set on launch
  • User-customized OpenCode Free connections are left alone

Seed and migrate OpenCode Free bootstrap so the default inventory
includes nemotron-3-ultra-free, mimo-v2.5-free, and deepseek-v4-flash-free.
@jackwener
jackwener merged commit 37a8bd4 into main Aug 7, 2026
2 checks passed
jackwener added a commit that referenced this pull request Aug 7, 2026
main has been red on `knip --workspace apps/desktop` since #2425, with
`format:check` red alongside it, which drags every open PR's typecheck job
red too (PR CI runs the branch merged with main).

The knip half is leftovers, not new decisions:

- #2425 deleted the CSS-contract suites but kept their helpers, so
  `assertCssRuleDecls` and `parseCssBlocks` lost their only callers. Removing
  them orphans the whole scanning subtree behind them (`cssRuleBody`,
  `splitSelectorList`, `stripCssComments`, the postcss block walk and the
  `CssBlock` type), which goes with them; `postcss` was that subtree's only
  use in this workspace and leaves devDependencies. What the file still owes
  its callers is `REPO_ROOT` and `readAllRendererCss`, which stay.
- #2426 removed the Voice module end-to-end, but `provider-connection-dialog`
  was reachable only from the deleted `voice-settings-page` and survived it.

The format half is just the formatter over three files that landed without
it: `tool-free-model-call.ts`, and `bootstrap-connections.ts` +
`connection-store.test.ts` from #2431.

No behaviour change in any of this.
jackwener added a commit that referenced this pull request Aug 7, 2026
)

main has been red on `knip --workspace apps/desktop` since #2425, with
`format:check` red alongside it, which drags every open PR's typecheck job
red too (PR CI runs the branch merged with main).

The knip half is leftovers, not new decisions:

- #2425 deleted the CSS-contract suites but kept their helpers, so
  `assertCssRuleDecls` and `parseCssBlocks` lost their only callers. Removing
  them orphans the whole scanning subtree behind them (`cssRuleBody`,
  `splitSelectorList`, `stripCssComments`, the postcss block walk and the
  `CssBlock` type), which goes with them; `postcss` was that subtree's only
  use in this workspace and leaves devDependencies. What the file still owes
  its callers is `REPO_ROOT` and `readAllRendererCss`, which stay.
- #2426 removed the Voice module end-to-end, but `provider-connection-dialog`
  was reachable only from the deleted `voice-settings-page` and survived it.

The format half is just the formatter over three files that landed without
it: `tool-free-model-call.ts`, and `bootstrap-connections.ts` +
`connection-store.test.ts` from #2431.

No behaviour change in any of this.
Astro-Han added a commit that referenced this pull request Aug 7, 2026
Onboarding "保存供应商" (and any other create that only states
defaultModel) was collapsing OpenCode Free to a single enabled model,
while bootstrap and #2431's e2e contract expect the three free models.
Fill the omitted selection at the connection-store create seam.
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.

1 participant