Skip to content

0.4.2

Choose a tag to compare

@github-actions github-actions released this 15 Oct 03:02
· 3 commits to main since this release
c30ebb7

Motifcode 0.4.2 adds Morphfactory (BETA) as a selectable Motif-3 provider alongside Infron. Existing Infron settings and request/accounting behavior are preserved.

Provider selection

  • Choose Infron or Morphfactory (BETA) on first launch. Existing configured users keep their current provider.
  • Switch providers with /provider, the Provider row in /config, or /config provider; the selection persists across restarts.
  • Use --provider morphfactory for scripts, with explicit endpoint/model flags still taking precedence.
  • Keep provider credentials separate. Morphfactory uses MOTIF_MORPHFACTORY_API_KEY; Infron continues to use MOTIF_API_KEY. Switching back restores the matching credential, and logout affects only the selected provider.
  • Keep both credentials out of child-process environments and guard provider switches against in-flight login and batched-input races.

Implemented in #45 by @TaewoooPark; version preparation in #46.

Validation and scope

The release passed frozen install, typecheck, build, all 1,671 tests across 97 files, and tool-schema lint. CI also covers Node 20/22, Linux ARM64, Python, and generated goldens. Visible terminal checks covered first launch, existing-user provider changes, separate keys, narrow layouts, restart persistence, and clean exit.

Live Morphfactory checks exercised authentication, streaming and reasoning, tool calls, skills, subagents, MCP, compaction/recall, and cancellation followed by another successful request. Infron was unavailable, so its existing wiring was checked with deterministic tests rather than live requests.

Morphfactory does not currently expose /v1/completions (404), so the experimental raw/object completion path remains unavailable there. Token usage is supported for both providers; balance and credit-cost reporting remain Infron-specific.

Upgrade

npm install -g motifcode@0.4.2
motif version
# or: motifcode version

Requires Node.js 20.3 or later. Published through the existing GitHub Actions trusted-publishing workflow with npm provenance.

Package on npm · Full changelog