Skip to content

chore: prepare v0.1.0-alpha.30 - #2298

Merged
eric8810 merged 3 commits into
mainfrom
yyhhyyyyyy/release-alpha-30
Nov 28, 2026
Merged

eric8810 merged 3 commits into
mainfrom
yyhhyyyyyy/release-alpha-30

Conversation

@yyhhyyyyyy

@yyhhyyyyyy yyhhyyyyyy commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Refs #2270, the rolling priority map and the alpha.30 plan, and #2297, this release's tracking issue.

Prepares v0.1.0-alpha.30, the next alpha after v0.1.0-alpha.29. Three commits, in the release order:

  1. chore(catalog): sync bundled provider catalog — node scripts/update-provider-catalog.ts --sync with Node 24.21.0 from .node-version.
  2. chore: prepare v0.1.0-alpha.30 — the version fields.
  3. fix(catalog): keep AIHubMix music and transcription entries out of chat — the media declaration for three entries the sync added.

Release route: Version preparation and the release skill.

Version selection

0.1.0-alpha.30 is the next alpha after 0.1.0-alpha.29, the highest reserved on every channel:

Source Highest
npm dimcode-alpha, dimcode-web, all six platform packages 0.1.0-alpha.29
Git tags v0.1.0-alpha.29 (nightly tags are separate)
GitHub Releases v0.1.0-alpha.29 (published prerelease)
Open release PRs none

alpha.30 is absent from every package (npm view ...@0.1.0-alpha.30 returns E404 for all eight), tag and Release. The platform packages and legacy dimcode also carry the older 0.5.x line; the newest of those is 0.5.35, so the alpha stays below the legacy beta the packaging-script guard checks.

Changed metadata

File Fields
Cargo.toml [workspace.package].version
Cargo.lock The workspace packages inheriting the version; only version lines changed, and dim-agent-types keeps its own 0.1.0
npm/package.json version and all seven exact optionalDependencies versions
runtime/package.json version
runtime/package-lock.json Root version and packages[""].version

The npm template keeps the name dimcode with its dim/dimcode bins; collection selects dimcode-alpha/dima for an alpha. No Node, Rutis or unrelated dependency changed in the version commit.

Catalog churn

The sync re-read 128 providers and left the provider set at 128 with 3682 -> 3709 models: 41 provider bundles changed, 47 models added, 20 removed, 20 surviving models newly marked deprecated, and 19 providers moved defaultModelId with upstream.

  • Added: openai 4 healthcare models, openrouter 9, aihubmix 6 (media), zai 1, huggingface 9, fireworks 9, qwencloud 4 (mindlab/macaron-*), tencent-hunyuan 2, tencent-token-plan 3.
  • Removed upstream: openrouter 6 (retired unbiased/pareto-*, qwen thinking and batch entries), aihubmix 1, zenmux 1, ppinfra 2, nvidia 10 (legacy and doubled-namespace entries).
  • Defaults moved for 19 providers, for example zhipuai glm-4.6 -> glm-5.3-flash, moonshot kimi-k3.1-pro -> kimi-k3, google gemini-4-argon -> gemini-3.8-flash, the qwencloud/bailian token plans -> qwen3.7-plus, the tencent plans -> glm-5.3-flash. None of those providers states an upstream default, so the documented derivation follows upstream's ordering. Every remaining defaultModelId resolves to an active model in its own bundle; no provider lost its default.
  • Capability and limit changes carry upstream's fields in the same diff, for example zenmux tool_call false on eight models, qiniu grok-4-fast fixed to text/image with output 30000, huggingface DeepSeek-V3-0324 131072, and openrouter output/context corrections.

The sync did not change any provider's api base URL, add or remove a provider, and every defaultModelId resolves to a model in its own bundle and is not deprecated. The sync's override audit reports redundant override rows (for example custom-provider MiniMax-M2.7), which it leaves for their owners; no override file changed in this PR.

Upstream labeled three new AIHubMix media entries as chat, so the sync first bundled music_v2_5, scribe_v2_medical and scribe_v3 with a chat kind even though their metadata describes a music or speech-transcription endpoint. The third commit names them as AIHubMix media models in provider-sync.json and states music-generation (text input, audio output) and speech-transcription (audio and video input, text output). AIHubMix's openai-compatible driver marks a non-chat kind conversational-unavailable, so the entries stay out of conversational choices and an explicit chat selection is rejected, while its normal chat models remain selectable. Because the policy names them as media models, the sync keeps these declarations instead of restoring upstream's chat kind.

Design rule checklist

n/a. This PR changes no part, event, service, command, handover point, Timeline fact or assembly; it writes the release version into the product fields that Version preparation lists, plus a regenerated bundled provider catalog. Every item in the checklist concerns plugin or architecture behavior that the change does not touch.

Documentation

  • No accepted ADR is modified or deleted.
  • No module design is changed; the release guide already documents this route.
  • No delivery status added to an ADR, index or roadmap.

Verification

Metadata-only change, so no six-platform release build and no repeated full local test suite.

  • node scripts/update-provider-catalog.ts --sync: exit 0, final Updated catalog: ..., and the diff confined to crates/dim-app-server/resources/default-catalog.json.
  • node scripts/update-provider-catalog.ts (offline validation of the committed catalog): pass.
  • node --test scripts/*.test.mjs: 192 tests, 188 pass, 4 skipped, 0 fail (Node 24.21.0), including the catalog suite and the legacy-beta compatibility guard.
  • Version consistency check (workspace Cargo, npm wrapper and optional dependencies, runtime package and lockfile): pass.
  • cargo metadata --format-version 1 --locked --offline: pass, so the committed tree resolves under --locked.
  • git diff --check: pass.
  • Catalog audit over the committed file: every provider that states a defaultModelId resolves it to one of its own non-deprecated models; no defaultBaseUrl changed; no provider added or removed; the three AIHubMix media entries carry music-generation and speech-transcription kinds.
  • node scripts/update-provider-catalog.ts --sync aihubmix after the media correction reports Catalog is up to date, so the sync keeps the declarations.
  • cargo test --locked -p dim-app-server --test app_server_flow selectable_models_match_execution_and_hide_unavailable_models: pass, including the non-chat kind exclusion, the explicit-selection rejection and a normal chat model remaining selectable.

User-visible changes since v0.1.0-alpha.29

The alpha.30 plan in #2270 lists #2264, #2263, #2255, #2284, #2288, #2249, #2292, #2274, #2289, #2226 and #2295 as the PRs this release ships; the merged window also carries the runtime, host-platform and tool-mode work below. #2282 stays off main because it is merged only into the #2266 branch, so no modality code change ships here.

Features

Fixes

  • Goal: a pause settles only at the fold that decided it, an evaluation request commits under its head condition, and a change states the decision it settles.
  • App Server: a branch opens with its environment snapshots inside the opening; an interrupted read retries; a closed Session names its fault.
  • Files and host platform: an authorized root registers by the directory its path names, and the exec root is compared canonically.
  • Route: an uninstalled service answers no_service.
  • CLI: attachment drafts and destinations survive submission and device switches, and prompt-mode draft and palette-cursor behavior is preserved.
  • CI: PRs are gated on a linked accepted issue, partial issue-gate discovery fails closed, and Windows worktree refusal coverage runs on Windows CI.

Compatibility

This window adds the by-id routed call sessions.call and its declaration types, the hostPlatform data face and its TypeScript exports, ToolMode/ToolModeState in the client protocol, and a generated SessionsError union that keeps each code's details plus the envelope's retryable; npm/branch-services.d.ts is regenerated accordingly.

It also removes BranchLifecycle.registerOpening from the generated dimcode/plugin declarations and the runtime dispatch surface, with no cross-language replacement. A TypeScript plugin that registered an opening receipt fails with TS2339 and must remove the call; activated() is not a replacement because it resolves after publication, too late to delay or refuse an opening. Pre-publication opening receipts are Rust-only through the branch-private BranchOpening key. Branch opening hook compatibility records the migration, and the public release notes must carry it because #2226's title alone reads as a Rust refactor.

ADR 027 remains Proposed and gains the by-id holder rule. Rutis stays at 0.23.0 (@arcships/rutis ~0.23.0), the frozen event fixtures are unchanged, and the version commit itself introduces no interface change.

`node scripts/update-provider-catalog.ts --sync` with Node 24.21.0 from
`.node-version`. 46 of 128 providers changed and the bundled model count
moved from 3682 to 3709: 47 models added, 20 removed, 20 newly marked
deprecated, and 19 providers changed `defaultModelId` with upstream.

The changes follow upstream PublicProviderConf data: no provider was
added or removed, no `defaultBaseUrl` changed, and every remaining
`defaultModelId` resolves to an active model in its own bundle. Removals
are upstream's (openrouter retired six variants, nvidia ten models, ppinfra
two); capability and limit changes carry upstream's fields, for example
zenmux `tool_call` false on eight models, qiniu grok output 2000000 ->
30000, and huggingface DeepSeek-V3-0324 context 163840 -> 131072.
Synchronize the workspace version, the npm wrapper and its seven optional
dependencies, the plugin runtime and both lockfiles on the version the
release publishes.

@eric8810 eric8810 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version bump is consistent across the six changed files, and the candidate still pins Rust 1.100.0. I verified ancestry for the remote attachment and worktree changes, the history and compaction fixes, and #2226. The release summary needs two corrections before it can serve as the alpha.30 release record:

  1. Document the published TypeScript plugin break. The Compatibility section does not mention that #2226 removes BranchLifecycle.registerOpening from both the generated dimcode/plugin declarations and runtime dispatch. Existing TypeScript plugins using it hit TS2339 and must remove the call. activated() is not a replacement for code that needs to delay or refuse opening: it runs after publication. Please put this in the Compatibility section and carry it into the public draft notes; the migration wording already exists, but the workflow generates draft notes from PR titles and #2226's title describes a Rust refactor.
  2. Do not advertise recognition that is outside the candidate. The Providers bullet says modality handling now recognizes video, speech, and transcription. At aec7dc7, the fallback in ProviderModel::modality_operations still infers only image operations when the catalog does not explicitly list capabilities. #2282 merged into #2266's branch, and #2266 is not in the candidate's ancestry. Describe the catalog sync and the specific already-shipped bindings separately; please don't imply broader recognition ships in this release.

Static review of the exact candidate; the PR workflow was still running. No package build or publication was performed.

@yyhhyyyyyy

Copy link
Copy Markdown
Collaborator Author

Both points are addressed.

  1. Confirmed and documented. v0.1.0-alpha.29:npm/branch-services.d.ts declares registerOpening (line 850), and refactor(runtime): move branch opening to the branch-private BranchOpening key #2226 removes it from the declaration and from the runtime dispatch. The Compatibility section now states the TS2339 break, why activated() is not a replacement, the Rust-only BranchOpening replacement, links Branch opening hook compatibility, and asks that the public draft notes carry it because refactor(runtime): move branch opening to the branch-private BranchOpening key #2226's title reads as a Rust refactor. I will add that paragraph to the draft notes before publishing.
  2. The modality sentence was already removed when the PR was relinked to Open issue priority map and next release (rolling) #2270. The current Providers bullet claims only the catalog refresh, fix(app-server): project ChatGPT plan reasoning levels and vision #2220 (ChatGPT plan reasoning levels and vision) and fix: key the usage cache by the request and keep warm reads cheap #2239 (usage cache keyed by request), all on the candidate; feat(modality-aimux): recognize video, speech and transcription modalities and correct misdeclared relay media entries #2282 stays out with feat(modality): resolve media operations by protocol family #2266.

@zerob13 zerob13 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The alpha.30 version fields are consistent. The current PR description also corrects the provider scope and records the TypeScript registerOpening migration; please carry that migration into the public release notes as planned.

One catalog blocker remains. The new AIHubMix entries music_v2_5, scribe_v2_medical, and scribe_v3 advertise chat and text even though their metadata describes music or transcription endpoints. With AIHubMix enabled and configured, the conversational selector can offer them as chat models and resolve a conversational route they do not serve. Before merging, verify that these three IDs are absent from conversational choices and rejected by explicit chat selection, while a normal AIHubMix chat model remains selectable. The correction should persist through the catalog-sync path.

Verified by catalog/selector source and offline catalog validation; no live provider call or release build. Exact PR CI is separate.

The bundled catalog listed the new AIHubMix media entries as `chat`: upstream
rows `music_v2_5`, `scribe_v2_medical` and `scribe_v3` state `type: "chat"`
while their own metadata describes a music or speech-transcription endpoint.
AIHubMix's `openai-compatible` driver marks a non-chat kind
conversational-unavailable, so with the chat kind the conversational selector
offered them and an explicit chat selection could resolve a route they do not
serve.

Name the three entries as AIHubMix media models in `provider-sync.json`, so
the sync keeps the bundled declaration, and state their kinds and modalities:
`music_v2_5` is `music-generation` with text input and audio output;
`scribe_v2_medical` and `scribe_v3` are `speech-transcription` with audio and
video input and text output.
@yyhhyyyyyy
yyhhyyyyyy requested a review from zerob13 November 28, 2026 11:07
@yyhhyyyyyy

Copy link
Copy Markdown
Collaborator Author

Catalog blocker fixed in ffb9fe4.

Confirmed at aec7dc7: all three entries carried metadata.raw.type: "chat", and AIHubMix's driver is openai-compatible, so the non-chat-kind rule in ProviderModel could not exclude them; the conversational selector could offer them and an explicit selection could resolve a conversational route.

The fix carries the correction through the sync path:

  • provider-sync.json now names music_v2_5, scribe_v2_medical and scribe_v3 as AIHubMix mediaModels, so mediaOverlay keeps the bundled declaration instead of restoring upstream's chat kind.
  • default-catalog.json states music-generation for music_v2_5 (text input, audio output) and speech-transcription for both scribe entries (audio and video input, text output).

Verification:

  • node scripts/update-provider-catalog.ts --sync aihubmix → Catalog is up to date, so the sync keeps the declarations.
  • Offline validation and node --test scripts/provider-catalog.test.mjs (36 pass) pass.
  • cargo test --locked -p dim-app-server --test app_server_flow selectable_models_match_execution_and_hide_unavailable_models passes: a non-chat kind is absent from selectable_models, explicit selection answers Explicit model is unavailable, and a normal chat model stays selectable. AIHubMix chat models keep type: "chat", so they remain selectable.

One scope note: older AIHubMix media rows (music_v2, scribe_v2, the video entries) still carry upstream's chat kind and predate this candidate. I can open a follow-up issue for that class rather than enlarge this release PR.

@zerob13 zerob13 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prior AIHubMix blocker is resolved. The catalog and sync override retain the three corrected media kinds, so the shared filter excludes them both from the chat picker and explicit chat selection. An ordinary AIHubMix chat row remains selectable. Offline regeneration and the catalog suite passed. The current description also records the TypeScript migration and no longer claims unshipped modality behavior.

Approved for version preparation. The PR CI, issue gate, and other review decisions remain independent. Carry the migration into the public release notes when preparing the separately authorized release.

@eric8810 eric8810 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed ffb9fe4. The TypeScript migration and release scope in the description are corrected. The AIHubMix fix is also sound for chat eligibility: the sync policy preserves the three local media kinds, and the ordinary static model filter excludes those kinds from both list and explicit chat selection. That does not require bringing #2266 into the release.

Blocking: the catalog refresh also adds OpenRouter batch variants to the interactive chat picker. The catalog diff adds mistralai/codestral-2508:batch, mistralai/ministral-8b-2512:batch, mistralai/mistral-large-2512:batch, and mistralai/mistral-small-2603:batch as active, streaming chat models, beside the unsuffixed versions. With OpenRouter configured and routed, static chat eligibility does not distinguish them; explicit chat selection uses the same eligibility at provider.rs:2935–2950. The model's own API instructions show the unsuffixed ID submitted to the separate asynchronous Batch API, not a streaming chat call with the suffix. A chat-completions-shaped item inside that batch does not make the batch variant an interactive model.

Please exclude the newly added batch variants from conversational choices and direct chat selection through a sync-stable rule, or show that the exact suffixed IDs are supported by the ordinary streaming route Dim uses. Verify that an unsuffixed counterpart remains selectable. No batch execution feature is needed here. This is a source and provider-documentation check; I did not make a billable provider call. Exact PR CI was still running.

@zerob13 zerob13 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The AIHubMix correction still satisfies the previous acceptance. New provider-contract evidence and a full pass over the 47 added rows found another release blocker: newly added models can pass both interactive eligibility checks even though their configured route is not documented to serve them. This was missed in the initial catalog review, not introduced by the AIHubMix fix.

  • I independently confirmed Eric's OpenRouter finding. The four new :batch entries are selectable, and Dim would send the suffixed IDs to its ordinary streaming route. OpenRouter's variant documentation assigns those entries to its separate Batch API. Keep the batch variants out of interactive listing and explicit chat selection after sync; keep the ordinary variants available.
  • The same picker/explicit-selection check also admits the new Hugging Face Qwen/Qwen3.8-Flash-Next and Fireworks accounts/fireworks/models/nemotron-3-ultra-nvfp4 rows. The Hugging Face card does not establish a deployment through the configured Inference Providers route; the exact Fireworks model page says Serverless is not supported. Exclude these exact IDs from interactive selection after sync, or provide current support evidence for the exact built-in routes. Keep normal supported choices and the default intact.

This is source and vendor-documentation evidence; I made no provider request. No batch feature, broad cleanup of pre-existing entries, or release action is required for this review.

@eric8810 eric8810 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for alpha.30 version preparation at ffb9fe4. This supersedes my earlier request for changes. The version fields and PR description have been checked, the earlier AIHubMix correction is in place, and the exact PR CI is green.

The remaining OpenRouter, Fireworks, and Hugging Face findings are valid but are now tracked in #2302 as a separate upstream catalog and chat-route eligibility issue. They are not being treated as release blockers for this PR; this is not a claim that the underlying issue is fixed.

@zerob13, please update your review so those catalog findings are tracked in #2302 rather than blocking this release PR. If you still see a separate release-preparation blocker, please call it out on its own.

Please carry the registerOpening migration into the public release notes as planned.

@eric8810
eric8810 requested a review from zerob13 November 28, 2026 12:54
@eric8810
eric8810 merged commit e500748 into main Nov 28, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants