Skip to content

Tags

Tags

v0.4.0

Toggle v0.4.0's commit message
feat(settings): move the Muse Code sign-in into a settings page

Replace the Settings > Models footer card with a dedicated Muse Code OAuth settings section built on the public DSH design tokens. The section shows the live sign-in state, the device code while Meta waits, the Meta page link, and the /muse-login fallback; the login and status routes are unchanged.

Rename the shipped meta route label to muse-code-oauth and migrate the legacy display name on the next boot, leaving a hand-edited name untouched. Update the client package dependency, the tests, the README, the docs, and the changelog, and bump the package to 0.4.0.

v0.3.0

Toggle v0.3.0's commit message
feat(adapter): keep subscription traffic in Muse Code wire shape

Add the local wire adapter in front of api.meta.ai, point the meta route at it, and restore the aliased tool names in responses. The adapter pins the 40-name Muse builtin catalog plus a one-shot full-aliasing retry, so Meta's 2026-10-29 client restriction no longer takes the subscription down.

Document the wire rules in ADAPTER_CONTRACT.md v3, align AUTH_CONTRACT, CITATION and README, and bump the package to 0.3.0.

v0.2.4

Toggle v0.2.4's commit message
fix(errors): report Meta's client restriction as a policy block

Preserve the subscription refusal instead of showing an invalid API key, require the browser OAuth method for sign-in, and align the sign-in copy with Meta's policy. Add regression tests for the stream middleware, the login page, and the session command.

Bump the package to 0.2.4.

v0.2.3

Toggle v0.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(settings): sign out when the Muse Code route is deleted (#8)

The Models page Delete only unsets the user-layer route. For a
plugin-managed provider that left a green credential dot behind with no row,
so the plugin now watches its settings section and treats that removal as a
sign-out: it deletes the `llm-pi-ai/meta` OAuth record and clears the mirrored
`MUSE_CODE_SUB_TOKEN` reference. The row is re-declared with a red dot on the
next refresh or restart.

Also records the measured cache window in the docs: same-key entries still hit
after 12 minutes, a fresh key reports zero, and `prompt_cache_retention: 24h`
made no difference in that window.

Co-authored-by: Michael Gasperini <[email protected]>

v0.2.2

Toggle v0.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(login): keep the credential reference fresh for the native row dot (

#7)

The Models row paints its credential dot only for a route that names a
credential reference, so the `meta` route now declares
`apiKeyEnv: MUSE_CODE_SUB_TOKEN`. An explicit reference is also DSH's
highest-priority auth override, so the plugin mirrors the OAuth record's
minted key into that reference and re-mints it ahead of Meta's ~24 h expiry
(preserving the non-renewable identity token when the record is replaced by a
fresh sign-in).

Also fixes the live catalog sync treating the empty `models` array that the
Settings form projects as a user-owned list, which would have kept Muse Wonder
out of the route; documents the Meta prompt-cache keying and the meaning of the
generic Edit/Delete row actions.

Co-authored-by: Michael Gasperini <[email protected]>

v0.2.1

Toggle v0.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(login): sync the live catalog and report the sign-in status (#6)

- read GET https://api.meta.ai/v1/models with the stored subscription key and
  declare the chat catalog on the `meta` route, so Muse Wonder and future chat
  models appear in the picker; non-chat families are filtered and a model list
  edited by the user is never overwritten
- add GET /muse-code/status (pending/authorized/failed/idle) and rebuild the
  Settings > Models card: coloured status dot, monospace code badge, primary and
  secondary actions, and live polling that flips to "Signed in"
- /muse-login now waits for Meta's confirmation and answers with the final
  state instead of leaving the chat on "sign-in started"
- unref the status poll timer so the chain cannot pin a Node process open

Co-authored-by: Michael Gasperini <[email protected]>

v0.2.0

Toggle v0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(meta): integrate Muse Code through the shipped Meta provider (#5)

DeepSeek Harness already ships the `meta` pi-ai route and its device-code
flow, so the bundle now integrates them instead of inserting a second
`@deepseek-ai/dsh-llm-pi-ai` instance, which cannot activate because every
instance declares the whole provider catalog.

- declare the `meta` route in the `llm-pi-ai` settings section so the
  provider appears under Settings > Models and in the model picker
- add the `/muse-login` command and a Sign in control under Settings > Models,
  backed by an exact local `POST/GET /muse-code/login` route
- open the Meta verification page in the default browser and show the code
- read the authorization seam's neutral notice shape (`message`/`url`/`code`)
- ship the Client half as a browser classic script; the ESM `export {}` that
  tsc emitted aborted the Web boot
- drop the hand-written route, `MUSE_CODE_SUB_TOKEN` handling, and the
  `muse-wonder` ids that DSH's catalog does not serve

BREAKING CHANGE: 0.1.x embeddings and their credentials are replaced; see
CHANGELOG and README for the 0.2.0 upgrade note.

Co-authored-by: Michael Gasperini <[email protected]>

v0.1.1

Toggle v0.1.1's commit message
chore(release): 0.1.1

Validate the npm trusted publisher with a patch release; no functional changes.

v0.1.0

Toggle v0.1.0's commit message
feat: add Muse Code subscription provider for DSH

- Add a second pi-ai adapter route for api.meta.ai over the Responses API.
- Add a native device-code authorization flow that stores the minted key under MUSE_CODE_SUB_TOKEN.
- Pin the shared auth contract and cover the flow with offline tests.
- Include the required risk notice and provenance publishing workflow.