diff --git a/internal/provider/factory.go b/internal/provider/factory.go index 35c43f5f..a8fb0450 100644 --- a/internal/provider/factory.go +++ b/internal/provider/factory.go @@ -66,7 +66,7 @@ const ( // factoryClientID is droid's WorkOS client, production. factoryClientID = "client_01HNM792M5G5G1A2THWPXKFMXB" // factoryVersion is the droid release magpie's requests say they are. - factoryVersion = "0.231.0" + factoryVersion = "0.233.0" // factoryRefreshLead is how long before an access token lapses it is // renewed; droid renews a minute ahead, magpie a little more. factoryRefreshLead = 2 * time.Minute diff --git a/internal/provider/factory_client_test.go b/internal/provider/factory_client_test.go index bf89f671..dc371662 100644 --- a/internal/provider/factory_client_test.go +++ b/internal/provider/factory_client_test.go @@ -185,7 +185,7 @@ func TestFactoryGLMFlashImages(t *testing.T) { if m, ok := factoryModelOf("glm-5.3-flash"); !ok || !m.images { t.Errorf("glm-5.3-flash: %+v", m) } - if factoryVersion != "0.231.0" { + if factoryVersion != "0.233.0" { t.Errorf("factoryVersion %s", factoryVersion) } if m, ok := factoryModelOf("gemini-3.1-pro-preview"); !ok || m.api != Gemini || m.upstream != "google" || factoryCore("gemini-3.1-pro-preview") { diff --git a/internal/provider/migrate_factory.go b/internal/provider/migrate_factory.go index 29a9b15e..426e7b58 100644 --- a/internal/provider/migrate_factory.go +++ b/internal/provider/migrate_factory.go @@ -13,7 +13,7 @@ import ( func init() { movers["factory"] = &mover{ pkg: "@magpie-community/opencode-factory-auth", - min: "0.1.14", // Claude Code 2.1.288's runtime context as a system message of text blocks (#658); a tool whose input_schema has anyOf/oneOf/allOf at its root (Codex's automation_update) wrapped for Claude models (#646); a failure's status and its sign-in mark as the built-in's; Claude 5's system-role metadata as Factory takes it; Claude Code's standalone model-switch system updates; tool results quoting Claude Code's fixed phrases, and Claude Code's directory updates carrying a model; the sign-in renewed ahead of time through auth.refresh; Claude Code with a global CLAUDE.md or a SessionStart hook, and Claude Desktop's model line (#634) + min: "0.1.16", // requests saying droid 0.233.0 (JL: every model 403); Claude Code 2.1.288's runtime context as a system message of text blocks (#658); a tool whose input_schema has anyOf/oneOf/allOf at its root (Codex's automation_update) wrapped for Claude models (#646); a failure's status and its sign-in mark as the built-in's; Claude 5's system-role metadata as Factory takes it; Claude Code's standalone model-switch system updates; tool results quoting Claude Code's fixed phrases, and Claude Code's directory updates carrying a model; the sign-in renewed ahead of time through auth.refresh; Claude Code with a global CLAUDE.md or a SessionStart hook, and Claude Desktop's model line (#634) agents: []string{"factory"}, out: func() ([]Moving, error) { ls := factoryLogins()