GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(providers): add native Muse Code support on orchestration V2 by grodriguez-fr · Pull Request #15123 · pingdotgg/t3code

Conversation

@grodriguez-fr

@grodriguez-fr grodriguez-fr commented Oct 3, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Problem

T3 Code does not ship a native Muse Code provider. Earlier submissions were closed during the orchestration V2 rewrite or because their base/interface no longer matched main. This adds one opt-in Muse driver against the merged V2 implementation, based on main at fed41fa88bb27cb4325cb208d571393850bc63c2.

Change

Register Muse Code as a disabled-by-default beta provider, using the official @muse-code/sdk 1.4.2 and native muse serve protocol. Port the Muse V2 adapter and focused tests from @cristianuibar's #11392 onto the current services and provider-instance registry.

  • Translate native sessions, streamed messages/reasoning/tools, approvals, structured questions, steering, cancellation, compaction, history and recovery into V2 events. Batch text deltas and avoid logging every token delta.
  • Pass the thread-scoped T3 MCP endpoint and authorization into native session start/resume using the granted sessionMcp capability. Fail with update guidance if the runtime cannot accept it.
  • Discover the host's models and reasoning choices without opening a conversation. Keep authentication/billing status unknown when the protocol does not report it. Preserve saved CLI login and exclude the META_API_KEY override.
  • Add provider-instance settings, model defaults, text generation, recognized-installation update support and setup documentation. Muse's release revisions need an optional native comparator in the existing maintenance service; other providers retain the existing comparator.
  • Add Muse presentation/icons to the web UI shared with desktop and the separate mobile picker. The existing model picker, settings, server contracts and environment routing carry the new driver; credentials and processes remain on the selected host.

Native conversation rewind/fork boundaries, dedicated Plan mode, in-app install/login and T3-controlled native subagents are not advertised. Public forks use conversation-context handoff. CLI-history importing and usage/billing integration are outside this change.

Scope and approval

One problem: native Muse Code support on current orchestration V2. This credits and replaces the relevant Muse work from #11392 without carrying its stale branch history or unrelated providers.

Relevant maintainer direction:

  • #11258 closure: wait for V2, then submit a fresh implementation.
  • #11392 closure: stale/diverged base; rebuild a focused patch and confirm direction.
  • #14014 closure: V2 has merged; use ProviderAdapterV2 instead of the retired interface.
  • Existing proposal: [Feature]: Muse Code #6892.

These comments establish the migration context, not explicit approval of this implementation's direction and scope. Maintainer confirmation remains outstanding under CONTRIBUTING.md. Draft status does not waive that requirement.

Verification

Linux x86_64, Node 24.20.0. All checks were scoped to this change.

395 tests passed across 14 targeted files, including native protocol event ordering/recovery, approvals, cancellation, SDK cleanup, session MCP start/resume injection, missing-capability rejection, model-cache parsing, update revision comparison, settings and existing provider registry/UI model behavior:

vp test run \
  apps/server/src/orchestration-v2/Adapters/MuseAdapterV2.test.ts \
  apps/server/src/orchestration-v2/Adapters/MuseItemPresentation.test.ts \
  apps/server/src/provider/Layers/MuseProvider.test.ts \
  apps/server/src/provider/museSdk.test.ts \
  apps/server/src/provider/museProtocol.test.ts \
  apps/server/src/provider/museModelCatalog.test.ts \
  apps/server/src/provider/museMaintenance.test.ts \
  apps/server/src/textGeneration/MuseTextGeneration.test.ts \
  packages/contracts/src/settings.test.ts \
  apps/server/src/provider/Layers/ProviderInstanceRegistryLive.test.ts \
  apps/server/src/provider/Layers/ProviderRegistry.test.ts \
  apps/server/src/provider/providerMaintenance.test.ts \
  apps/web/src/components/settings/ProviderSettingsForm.test.ts \
  apps/web/src/providerModels.test.ts --maxWorkers=2 --pool=threads

Server, web and mobile TypeScript checks passed (tsc --noEmit -p apps/{server,web,mobile}/tsconfig.json, run separately); changed-file lint, formatting and git diff --check passed. The server compiler also emits existing Effect suggestions. Scoped server production Knip was inspected for new Muse dead code; unrelated existing findings remain.

Real local integration check: downloaded the official stable native runtime 1.4.2-R4684.1 and verified its published SHA-256. Its real SDK handshake returned protocol schema version 1 and granted sessionMcp. Started this checkout with vp run dev --home-dir /tmp/t3-muse-local-app --host 127.0.0.1, isolating both T3 state and Muse auth/config/data. Through authenticated HTTP pairing and the production Effect WebSocket RPC client:

  1. Created an isolated project and a Muse thread.
  2. Confirmed server.getConfig exposes the configured native Muse instance.
  3. Refreshed that instance against the real binary; T3 returned installed: true, version 1.4.2-R4684.1, status: warning, auth.status: unknown, zero models and the expected muse login guidance.
  4. Disabled and re-enabled the instance through server.updateSettings and confirmed each state through server.refreshProviders.
  5. Confirmed the local web entry returns HTTP 200. Also served the same isolated backend through a second web dev entry bound to the LAN (dev:web --port 13773 -- --host 0.0.0.0). Verified HTTP metadata/pairing and native Muse status over the production WebSocket RPC client through that web proxy; the user can inspect the UI from their own PC.

The catalog was initially empty in the isolated unauthenticated profile. After the user completed Meta device login, a fresh native probe returned four models and provider status ready. Sent one short message through the LAN web proxy and production orchestration RPC with muse-spark-1.3-contributor (low reasoning), then waited on the persisted thread event stream. The run completed and the assistant reply MUSE_OK was present in the thread projection. This exercised the real native adapter, thread-scoped MCP session configuration, streaming translation and persistence with an authenticated account.

Account billing and live native tool calls/approvals have not been verified. The live prompt requested no tools or filesystem changes; those interactive behaviors have focused transport tests.

Integrated web UI check: used the built-in Browser in T3 Code Desktop (Alpha 0.0.45) on Windows, connected over the LAN to the isolated Linux server. Confirmed Muse Code appears as Beta in Add provider, the configured native instance is Available, and all four discovered models are displayed. Opened the persisted real thread, composed and submitted a second message through the UI, and observed its completed assistant reply UI_MUSE_OK after 7.2 seconds with Muse Spark 1.3 Contributor / Low / Supervised selected.

Surfaces actually tested: web UI inside the Windows desktop Browser, backed by the Linux server. The installed desktop app's main renderer/IPC flow and native iOS/Android clients have not been tested. Web/server/mobile typechecks and focused tests passed as described above; they do not replace those native UI passes.

UI evidence

Unmodified Browser screenshots, 1000 × 1000 CSS pixels. Before uses main at fed41fa88bb27cb4325cb208d571393850bc63c2; after uses this PR at 8dd16711d45194e2e7e13c87c77bb9e2cb7c84cc. The isolated profiles differ in configured provider instances. Evidence is hosted as GitHub assets in the author's fork, outside the source tree.

Before: provider picker After: Muse Code Beta
Before: native providers without Muse After: Muse Code Beta available

Four models returned by the authenticated native runtime:

Muse model settings

Real native replies, including the second message submitted through the UI:

Muse conversation and selected runtime

The PR remains draft pending maintainer direction/scope confirmation and the untested native surfaces stated above.

Implemented with GPT-6.1-Sol through the Codex harness in T3 Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tomck reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@grodriguez-fr
feat(providers): add native Muse Code support on orchestration V2
8dd1671
@github-actions github-actions Bot added size:XXL 1,000+ changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list. labels Oct 3, 2026
@Archerkattri

Archerkattri commented Oct 3, 2026

Copy link
Copy Markdown

plz add this <3

tomck reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg t3dotgg mentioned this pull request Oct 8, 2026
feat(providers): run Muse Code as a native provider #17082
Merged
@grodriguez-fr

grodriguez-fr commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #17082, which keeps this commit and builds on it with fixes from live testing. Thanks @t3dotgg for taking it over! Closing in favor of that PR.

t3dotgg reacted with thumbs up emoji t3dotgg reacted with heart emoji
All reactions
  • 👍 1 reaction
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@grodriguez-fr grodriguez-fr closed this Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@grodriguez-fr @Archerkattri
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.