Skip to content

Releases

v0.5.2

Choose a tag to compare

@TheStreamCode TheStreamCode released this 30 Oct 18:25

Documented

  • Troubleshooting now names the versions that matter: 0.5.1 or newer is required because 0.5.0 skipped the adapter for a plain meta API key, and opencode 2.2.4 or newer is required because 2.2.0 loads the plugin without invoking its V2 setup.

No code changes in this release.

v0.5.1

Choose a tag to compare

@TheStreamCode TheStreamCode released this 30 Oct 18:02

Fixed

  • Inference routing no longer depends on the V2 Muse OAuth credential. Every meta request now goes through the loopback adapter, so an existing meta API key keeps working after the update; the V2 OAuth token is still used to override Authorization when that sign-in is active.
  • The adapter hooks previously skipped requests when the active meta credential was not the V2 Muse OAuth connection, which sent them straight to api.meta.ai and left the client restriction in place.

Requirements

  • opencode 2.2.4 or newer for inference through the adapter: 2.2.0 loads the plugin but does not invoke its V2 setup.

Update

opencode plugin update

v0.5.0

Choose a tag to compare

@TheStreamCode TheStreamCode released this 30 Oct 17:26

What changed

  • Local loopback wire adapter for the V2 plugin API: it aliases the client tool names that collide with the 40-name Muse builtin catalog, restores them in streaming and JSON responses, and normalizes the Responses parameters.
  • The adapter's /v1 origin becomes the per-request base URL; on routes that ignore that override the plugin rewrites the assembled request onto the same origin.
  • If Meta still refuses the request, the adapter retries once with every tool aliased.
  • ADAPTER_CONTRACT.md v3 pins the rules; MUSE_CODE_ADAPTER=off keeps the proxy but disables the reshaping.

Notes

  • Working inference requires the V2 plugin API (opencode 2.x). The V1 server() export keeps authenticating but still receives Meta's 403.

Install

opencode plugin add opencode-muse-auth

v0.4.1: document Meta's client restriction

Choose a tag to compare

@TheStreamCode TheStreamCode released this 30 Oct 14:30

0.4.1

  • Document that a successful sign-in does not guarantee model access.
  • Explain the client_attestation_denied / Muse Code client-only 403, and why signing in again does not remove it.
  • Clarify the 401 guidance: a rejected request can be a rotated key or a client restriction.

v0.4.0: host credential store and safer login handling

Choose a tag to compare

@TheStreamCode TheStreamCode released this 21 Oct 07:48

0.4.0

  • Prefer the OpenCode auth store in the V1 loader; keep the legacy cache as a fallback.
  • Log sanitized login failures and surface V2 errors with a descriptive message.
  • Use a realistic credential expiry.
  • Document V1/V2 storage and removal; pin the shared auth contract.

v0.3.0: OpenCode V2 subscription auth

Choose a tag to compare

@TheStreamCode TheStreamCode released this 14 Oct 16:24

Registers the Muse Code subscription method through the OpenCode V2 setup() entrypoint (fixes #7, thanks @martonbtoth). Includes the root index.js entrypoint for local directory installs and the @opencode/plugin v2 runtime dependency.

v0.2.0 — opencode v2 plugin format

Choose a tag to compare

@TheStreamCode TheStreamCode released this 11 Oct 14:00

opencode v2 loads plugins from the module's default export, which must carry an id and the server plugin function; v1 named exports are no longer accepted and fail with PluginModule.LoadError on every startup.

  • default export { id: "muse-code-auth", server, setup() }
  • accepted by opencode 1.18.29+ and 2.x alike
  • devDependency @opencode-ai/plugin ^1.19.0 (v2-aligned types)

v0.1.2

Choose a tag to compare

@TheStreamCode TheStreamCode released this 27 Sep 20:08
26b9332

Security hardening: the credential cache no longer persists the Meta OAuth access token (apiKey/accountId/email only). Re-run /connect once to refresh pre-0.1.2 caches.

opencode-muse-auth v0.1.1

Choose a tag to compare

@TheStreamCode TheStreamCode released this 22 Sep 18:12

Release for tag v0.1.1. Routes Meta Muse Spark through the reader's Muse Code monthly subscription via device-code login (no API key; owner-only cached credential). See the repo README and SECURITY.md for setup and the 401 rotation story.