JL (Windows, droid 0.240.0, Factory desktop 0.197.1, magpie 0.1.1226, plugin 0.1.24): droid and Factory desktop offer claude-haiku-5-5, droid through magpie didn't, as the plugin's model table didn't have it. How droid gets its models: its npm package (@factory/cli 0.240.0, the platform binary @factory/cli-darwin-arm64) bundles the model registry in bin/droid; the picker lists that registry (order `y`), gated by availableInCLI, unreleased, feature flags and legacy grouping. Diffing the registry of 0.233.0 (the release the plugin's table was last matched to) against 0.240.0 gives three new models: claude-haiku-5-5, mistral-large-4 and gpt-6-astra-ultrafast. - Haiku 5.5: Anthropic Messages, x-api-provider anthropic, context 872000 / output 128000 (contextLimits ce, as Sonnet 5.5 and Opus 5.5), efforts low..max (droid's "off" is the request without a level). - Mistral Large 4: generic chat completions, x-api-provider mistral, Droid Core (billingPool core), 524288 / 64000, images, effort high. - GPT-6 Astra Ultra Fast stays out: droid offers it only once the user has accepted Factory's high-cost terms (explicitOptInRequirement high_cost). models.test.mjs is new; its fixture (testdata/droid-0.240.0-models.txt) is the registry's own bytes: the picker order, the context helper and the three entries. It checks the two models as droid has them and that every model in droid's picker is offered or on a named list left out (router, Gemini, unreleased, opt-in, the older generations the plugin never offered). With the Haiku 5.5 line removed both tests fail. usage.test.mjs's Core list gains Mistral Large 4. Run: bun test in packages/factory (126 pass), bun scripts/check.mjs factory; a fake Factory saw /api/llm/a/v1/messages with x-api-provider anthropic for claude-haiku-5-5 and /api/llm/o/v1/chat/completions with mistral for mistral-large-4. Not tried against Factory itself (no Factory account here); droid itself was not run.
10 lines
4.0 KiB
Plaintext
10 lines
4.0 KiB
Plaintext
// Excerpts, byte for byte, of droid 0.240.0 (@factory/cli-darwin-arm64@0.240.0,
|
|
// bin/droid, its bundled model registry): the picker order, the context
|
|
// helpers, and the entries of the models new since 0.233.0.
|
|
var y=["auto","auto-fast","claude-fable-5.1","claude-fable-5","claude-opus-5-5","claude-opus-5-5-fast","claude-opus-5","claude-opus-5-fast","claude-opus-4-8","claude-opus-4-8-fast","claude-opus-4-7","claude-opus-4-7-fast","claude-opus-4-6","claude-opus-4-6-fast","claude-opus-4-5-20251101","claude-sonnet-5-5","claude-sonnet-5","claude-sonnet-4-6","claude-sonnet-4-5-20250929","claude-haiku-5-5","claude-haiku-4-5-20251001","gpt-6.1-sol","gpt-6-astra","gpt-6-astra-ultrafast","gpt-6-sol","gpt-6-luna","gpt-5.6-sol","gpt-5.6-sol-fast","gpt-5.6-terra","gpt-5.6-luna","gpt-5.5","gpt-5.5-fast","gpt-5.5-pro","gpt-5.4","gpt-5.4-fast","gpt-5.4-mini","gpt-5.4-mini-fast","gpt-5.3-codex","gpt-5.3-codex-fast","gpt-5.2","garnet-07-15","gemini-3.1-pro-preview","gemini-3.8-flash","gemini-3.7-flash","gemini-3.6-flash","gemini-3.5-flash","gemini-3-flash-preview","inkling","mistral-large-4","mistral-medium-3.5","glm-5.3-flash","glm-5.3","glm-5.2","glm-5.2-fast","kimi-k3","qwen3.8-max","nemotron-3-ultra","deepseek-v4.1-flash","deepseek-v4-flash-0731","deepseek-v4-pro","minimax-m3","grok-4.7","grok-4.6","grok-4.5","atlas-07-21","aster-07-15","minimax-m2.7","kimi-k2.5","gpt-5.2-codex","glm-5.1","glm-5","glm-4.7","gpt-5.1-codex-max"];
|
|
ce=te({thinkingConsumesContext:!1,maxInputTokens:872000,maxOutputTokens:128000})
|
|
function P(o,t){return R({maxInputTokens:o-t,maxOutputTokens:t})}
|
|
"claude-haiku-5-5":{id:"claude-haiku-5-5",name:"Haiku 5.5",shortName:"Haiku 5.5",provider:"anthropic",apiProviders:X,apiProviderConfig:{anthropic:{modelId:"claude-haiku-5-5"},vertex_anthropic:{modelId:"claude-haiku-5-5"},bedrock_anthropic:{modelId:"anthropic.claude-haiku-5-5"},azure_anthropic:{modelId:"claude-haiku-5-5"}},routingConfig:g.HAIKU_5_5,featureFlag:J.ClaudeHaiku55,reasoningEffort:{supported:["off","low","medium","high","xhigh","max"],default:"medium"},tier:"standard",pdf:!0,contextLimits:ce,thinking:(o)=>U(o,!0),compactThroughLatestSignedThinking:!0,supportsMidConversationToolChanges:!0,supportsMidConversationEffortChanges:!0,disabledForPilots:!1,cost:{tokenMultiplier:0.04,outputTokenMultiplier:5},matchPatterns:[/haiku[^a-z0-9]*5[.-]?5/i,/claude-haiku-5-5/i],newUntil:new Date("2026-10-12T00:00:00Z")}
|
|
"mistral-large-4":{id:"mistral-large-4",name:"Mistral Large 4",shortName:"Mistral Large 4",provider:"factory",apiModelProvider:"generic-chat-completion-api",apiProviders:["mistral"],apiProviderConfig:{mistral:{...Tt,modelId:"mistral-large-4"}},reasoningEffort:{supported:["off","high"],default:"high"},chatCompletionRequest:We(),tier:"standard",billingPool:"core",featureFlag:J.MistralLarge4,images:!0,pdf:!1,contextLimits:R({maxInputTokens:524288,maxOutputTokens:64000}),disabledForPilots:!1,cost:{tokenMultiplier:0.544,cacheReadTokenMultiplier:0.103,outputTokenMultiplier:3.08,promotions:[{discount:0.5,startsAt:new Date("2026-10-06T00:00:00Z"),expiresAt:new Date("2026-10-20T00:00:00Z"),label:"50% off, launch discount"}]},usesUSBasedInference:!1,regionOverrides:{eu:{apiProviders:["mistral"]},us:S},matchPatterns:[/mistral[^a-z0-9]*large[^a-z0-9]*4(?![.\d])/i],newUntil:new Date("2026-10-11T00:00:00Z")}
|
|
"gpt-6-astra-ultrafast":{id:"gpt-6-astra-ultrafast",name:"GPT-6 Astra Ultra Fast",shortName:"GPT-6 Astra Ultra Fast",provider:"openai",systemPromptReminders:["astra-autonomy"],apiProviders:["openai"],apiProviderConfig:{openai:{modelId:"gpt-6-astra"}},reasoningEffort:{supported:["low","medium","high","xhigh","max"],default:"medium"},tier:"premium",featureFlag:J.Gpt6AstraUltrafast,explicitOptInRequirement:{kind:"high_cost",modelFamily:"gpt-6-astra-ultrafast",tosVersion:gse},pdf:!0,supportsVerbosity:!0,supportsMidConversationToolChanges:!0,contextLimits:M,apiRequest:xi,disabledForPilots:!0,cost:{tokenMultiplier:24,outputTokenMultiplier:5},regionOverrides:{eu:{apiProviders:[]}},matchPatterns:[/gpt[^a-z0-9]*6[^a-z0-9]*astra[^a-z0-9]*ultra[^a-z0-9]*fast/i],newUntil:new Date("2026-10-05T00:00:00Z")}
|