Repository navigation
chore: prepare v0.1.0-alpha.30 - #2298
Conversation
`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
left a comment
There was a problem hiding this comment.
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:
- Document the published TypeScript plugin break. The Compatibility section does not mention that #2226 removes
BranchLifecycle.registerOpeningfrom both the generateddimcode/plugindeclarations 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. - 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 inProviderModel::modality_operationsstill 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.
|
Both points are addressed.
|
zerob13
left a comment
There was a problem hiding this comment.
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.
|
Catalog blocker fixed in Confirmed at The fix carries the correction through the sync path:
Verification:
One scope note: older AIHubMix media rows ( |
zerob13
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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
:batchentries 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-Nextand Fireworksaccounts/fireworks/models/nemotron-3-ultra-nvfp4rows. 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
left a comment
There was a problem hiding this comment.
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.
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:
chore(catalog): sync bundled provider catalog—node scripts/update-provider-catalog.ts --syncwith Node 24.21.0 from.node-version.chore: prepare v0.1.0-alpha.30— the version fields.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.30is the next alpha after0.1.0-alpha.29, the highest reserved on every channel:dimcode-alpha,dimcode-web, all six platform packages0.1.0-alpha.29v0.1.0-alpha.29(nightly tags are separate)v0.1.0-alpha.29(published prerelease)alpha.30is absent from every package (npm view ...@0.1.0-alpha.30returns E404 for all eight), tag and Release. The platform packages and legacydimcodealso carry the older0.5.xline; the newest of those is0.5.35, so the alpha stays below the legacy beta the packaging-script guard checks.Changed metadata
Cargo.toml[workspace.package].versionCargo.lockversionlines changed, anddim-agent-typeskeeps its own0.1.0npm/package.jsonversionand all seven exactoptionalDependenciesversionsruntime/package.jsonversionruntime/package-lock.jsonversionandpackages[""].versionThe npm template keeps the name
dimcodewith itsdim/dimcodebins; collection selectsdimcode-alpha/dimafor 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
defaultModelIdwith upstream.mindlab/macaron-*), tencent-hunyuan 2, tencent-token-plan 3.unbiased/pareto-*, qwen thinking and batch entries), aihubmix 1, zenmux 1, ppinfra 2, nvidia 10 (legacy and doubled-namespace entries).glm-4.6->glm-5.3-flash, moonshotkimi-k3.1-pro->kimi-k3, googlegemini-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 remainingdefaultModelIdresolves to an active model in its own bundle; no provider lost its default.tool_callfalse on eight models, qiniu grok-4-fast fixed to text/image with output 30000, huggingfaceDeepSeek-V3-0324131072, and openrouter output/context corrections.The sync did not change any provider's
apibase URL, add or remove a provider, and everydefaultModelIdresolves to a model in its own bundle and is not deprecated. The sync's override audit reports redundant override rows (for examplecustom-providerMiniMax-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 bundledmusic_v2_5,scribe_v2_medicalandscribe_v3with a chat kind even though their metadata describes a music or speech-transcription endpoint. The third commit names them as AIHubMix media models inprovider-sync.jsonand statesmusic-generation(text input, audio output) andspeech-transcription(audio and video input, text output). AIHubMix'sopenai-compatibledriver 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
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, finalUpdated catalog: ..., and the diff confined tocrates/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.cargo metadata --format-version 1 --locked --offline: pass, so the committed tree resolves under--locked.git diff --check: pass.defaultModelIdresolves it to one of its own non-deprecated models; nodefaultBaseUrlchanged; no provider added or removed; the three AIHubMix media entries carrymusic-generationandspeech-transcriptionkinds.node scripts/update-provider-catalog.ts --sync aihubmixafter the media correction reportsCatalog 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
mainbecause it is merged only into the #2266 branch, so no modality code change ships here.Features
session.tool_modereads the chosen mode and the mode in force, and an effective shell transition settles goals and withdraws queued goal inputs.hostPlatformserves shell tasks (start, write, resize, status, stop), output pages, output paths and removal, confined helpers, child paths, spawn and platform info; the separateexecHostface is withdrawn (Serve hostPlatform's data methods; withdraw the execHost face #2002)./resumeresolves Git worktrees on the selected App Server (Resolve /resume Git worktrees on the selected App Server #2295).sessions.callroutes a data-face call to a live Session or line by id, with distinct faults (no_session,no_line,no_service,routed, ...) per ADR 027 (feat(runtime): route calls by id to a live Session or line #2174, docs(adr): let the holder of an instance choose it by id in ADR 027 #2200); branch opening moves behind the branch-privateBranchOpeningkey (refactor(runtime): move branch opening to the branch-private BranchOpening key #2226); the narrative projection serves lines and blocks by id and reads a block body as one line (feat(collaboration): read a member's line through the narrative projection #2234, feat(narrative): tell readers every line opens by its id #2259, fix(narrative): tell a block's body without its closing tag, title turns by it #2263, feat(narrative): read a block's body as one line #2280).dimn(Provide dimn in the curl nightly installer #2178), and only the latest complete Nightly build is kept (Keep only the latest complete Nightly build #2212).Fixes
no_service.Compatibility
This window adds the by-id routed call
sessions.calland its declaration types, thehostPlatformdata face and its TypeScript exports,ToolMode/ToolModeStatein the client protocol, and a generatedSessionsErrorunion that keeps each code's details plus the envelope'sretryable;npm/branch-services.d.tsis regenerated accordingly.It also removes
BranchLifecycle.registerOpeningfrom the generateddimcode/plugindeclarations 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-privateBranchOpeningkey. 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.