Reviewed at cedd845b3. WSL (Bun 1.4.2, temp HOME): bun test in packages/agentcompass 141 pass, scripts/check.mjs agentcompass ok. Without Boolean(task.needs_visual) the new test fails; restored, 141/141. Generated files change only their Source line.
6.8 KiB
Changelog
One entry per version, newest first. This lists what a user has to know to upgrade.
0.2.1 - 2026-11-13
The engine follows AgentCompass 2844342 (v0.6.0 plus one routing rule).
- A
needs_visualtask requires image input at everytool_operationlevel. Before, the image-input gate applied only attool_operation3, so a task markedneeds_visual(orneeds_gui) with a lower level could be routed to a model whose public data says it takes no image input. Such a model now leaves the task, and a model with no cited modality leaves automatic routing; naming it still dispatches it with the data error. Nothing to change when upgrading.
0.2.0 - 2026-11-13
The engine is AgentCompass v0.6.0 (pinned at 974eb49, the v0.6.0 tag), ported module by module: four capability categories (divergence, coding, aesthetics, tool_operation) in place of the 6D/7D vectors and the 3D model profile, data gates, and the quota economy. The source repository compares the port with AgentCompass's allocator.plan on a committed sample of 1,451 rows, drawn from a grid of 58,016. How the engine scores is AgentCompass's (technical reference).
Upgrading
- The profile changed.
axis_demand,access,wants_fastandread_only_revieware required;context_scale,hallucination_risk,error_cost, the top-leveldivergenceandrealtime_loopare gone. A profile of the old shape is refused withinvalid_caller_profile; nothing reads it for compatibility. A valid one: reference. realtime_loopis removed (the option, the request field and therealtime_loopsession hold).- A family or unknown name has no scores.
claude-opus-9is no longer scored as a generic row or as an estimate of its family: automatic routing does not pick it, and naming it dispatches it with a data-error warning. - An account with no
planhas unknown capacity and is out of automatic routing: putplaninquotas. - No ability floor, over-qualification penalty or realtime step-down. The fit and the quota economy choose the effort.
- New option
userScores: your own category scores for a model, ahead of the maintainers' and measured ones. - Removed exports: from
catalog.js,DEFAULT_MODELS,DEFAULT_SCORING_POLICY,KIND_TRAITS,CANONICAL_ROUTES,EFFORT_CURVESandresolveModelSpec; fromindex.js,computeWindowCost,demandForecast,evaluateModelQuota,CANONICAL_ROUTESandhealthOnlyQuotas; fromcontinuity.js,effectiveRealtimeLoop.ROUTESis new.canonicalModelreturns a family or unknown name as it is. - Held sessions: the difficulty-driven raise on
capability_outgrownis gone; a request that needs images or a GUI outgrows a model that takes no images. - Bare names in a pool: when a provider has a table of efforts and the model is not in it, the row has no efforts, so a step-down never lands on an unverified effort;
antigravityandgeminino longer borrow another provider's table. - A quotas file broken for over 6 hours excludes only
pool/quotasinselectBestRoute;onAccountstill answers 503 when every candidate account is unavailable.
Not ported, because Magpie only routes: launching workers, harness order, and the launch side of fast mode.
The comparison with AgentCompass's allocator.plan and the Linux sandbox run stay in the source repository, akiiwa-games/magpie-agentcompass-router; this package's tests run on their own. The sandbox script was rewritten for this engine and ran on real Magpie 0.1.4026 (2026-11-13) with real Codex and Claude sign-ins: scenarios 1–10 and 12–15 passed, scenario 13 against both real upstreams included (no profile on the wire, the routes the engine gives, a real classifier, one valid account among invalid peers, every account unavailable). The record is docs/linux-sandbox-e2e-report-0.1.4026.json there.
0.1.6 - 2026-11-08
- Automatic routing needs a classifier or a caller's profile. The plugin stopped guessing a profile from regular expressions, word lists or message length. Mode A cannot reach a classifier, so a request to
agentcompassoragentcompass/*withoutbody.profileis no longer routed (Magpie's log says未路由:分类不可用; a JSON reply carriesagentcompass: { routed: false, notice, reason }). To keep routing: use Mode B with a scorer, sendbody.profileon every request, or setdefaultModelfor a fixed fallback.scorerType: "heuristic"andprefer_local_heuristicare gone and count as no classifier. See Without a profile. - Account states, plan-sized capacity and refusal codes. States
ready,plan_inactive,usage_failing,auth_failed,disabled; ausage_failingaccount keeps dispatching for 6 hours after its last good reading. A configured quotas file that cannot be read is reported aspool/quotas. When nothing can serve a request the plugin answers HTTP 503 with a code (no_route,accounts_unavailable,pin_not_in_pool,model_unhealthy,pin_unavailable,invalid_caller_profile) instead of picking an excluded candidate. See Quotas and accounts and refusals. /v1/systemoneanswers only the route unlessdecisionProviderDetails: true; accounts, quotas, the profile andwarningsgo to the local log, and a refused pin is alwayspin_unavailable.- Disabling an effort: a row with
disabled: truenext to the bare name orefforts[]row turns off that effort for the model (and the account, when the row names one). - Health and pins: a failure of a family name no longer takes down the flagship, and naming a model matches only that model's rows.
- Session holds:
affinityModeacceptscache,turn,session,strictandoff; a held effort that the pool no longer offers steps down or ends the hold (effort_gone); a session held 24 hours expires. - Old model aliases are gone. Names Magpie once aliased to the then-current flagships (
gpt-5.4,claude-3-5-sonnet, ...) are no longer in the catalog: each logscandidate name <name> is not in the catalogonce per runtime and is out of automatic routing. Use the names in AgentCompass'smodel-capabilities.md.
0.1.5 - 2026-11-08
- A request that lands on a pooled
moejsruntime that did not serve the earlier turn replays the anchor turn from the resent history (replayedState), so a session stays on its model across runtimes; a replayed state has no age, so incachemode it holds only inside a tool loop.