Skip to content

feat(providers): default to OpenCode free models - #4

Merged
LAG-4 merged 1 commit into
litefrom
t3code/default-opencode-free-model
Sep 11, 2026
Merged

feat(providers): default to OpenCode free models#4
LAG-4 merged 1 commit into
litefrom
t3code/default-opencode-free-model

Conversation

@LAG-4

@LAG-4 LAG-4 commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Fresh installs centered on Codex/Claude: Codex was the hardcoded default provider and model everywhere, and OpenCode was opt-in and off.

This flips the product to OpenCode-first:

  • OpenCode installs itself on boot (npm first, official release download with curl when npm is missing - macOS and Windows covered) and stays enabled by default
  • New threads resolve to the free model: Big Pickle first, then any *-free Zen model, marked isDefault server-side with client-side preference
  • Codex and Claude become opt-in (existing usage restores from provider history); onboarding shows only OpenCode
  • Provider lists, pickers, fallbacks, docs, and marketing reordered OpenCode-first

Verification: ~700 tests green across 15 focused suites (incl. new free-model and install-fallback tests), typecheck clean on contracts/shared/server/web/mobile, lint clean. Full ProviderRegistry.test.ts passes (50/50); its real-spawner tests explicitly disable built-in probes again so the suite stays hermetic.

Also adds an AGENTS.md machine-safety rule (never detach background processes) learned from this branch's dev loop.

Built with Muse Spark (opencode-go/muse-spark) via T3 Code OpenCode harness.

Fresh installs previously centered on Codex/Claude: Codex was the hardcoded
default provider and model everywhere, and OpenCode was opt-in and off.
This flips the product to OpenCode-first: OpenCode installs itself on boot
(npm, or a curl release download when npm is missing), stays enabled by
default, and new threads resolve to the free model (Big Pickle first, then
any *-free Zen model). Codex and Claude become opt-in; onboarding shows
only OpenCode.

Built with Muse Spark (opencode-go/muse-spark) via T3 Code OpenCode harness.
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XL labels Sep 11, 2026
@LAG-4
LAG-4 merged commit b0eb895 into lite Sep 11, 2026
7 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant