Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Bump pi-ai to 0.73.0; refresh GPT-5.x model registry

claw2dff4be84a401
diff --git a/package-lock.json b/package-lock.json
index 958daf5d..d860d7b0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
- "@mariozechner/pi-ai": "^0.68.1",
+ "@mariozechner/pi-ai": "^0.73.0",
"async-mutex": "^0.5.0",
"better-sqlite3": "^12.9.0",
"electron-log": "^5.4.3",
@@ -34,7 +34,9 @@
}
},
"node_modules/@anthropic-ai/sdk": {
- "version": "0.90.0",
+ "version": "0.91.1",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.91.1.tgz",
+ "integrity": "sha512-LAmu761tSN9r66ixvmciswUj/ZC+1Q4iAfpedTfSVLeswRwnY3n2Nb6Tsk+cLPP28aLOPWeMgIuTuCcMC6W/iw==",
"license": "MIT",
"dependencies": {
"json-schema-to-ts": "^3.1.1"
@@ -729,6 +731,8 @@
},
"node_modules/@babel/runtime": {
"version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",
+ "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
@@ -1700,22 +1704,20 @@
"license": "MIT"
},
"node_modules/@mariozechner/pi-ai": {
- "version": "0.68.1",
- "resolved": "https://registry.npmjs.org/@mariozechner/pi-ai/-/pi-ai-0.68.1.tgz",
- "integrity": "sha512-z52kMOZK1/fxzKu7nTwdfOCHhOE/G5GwGsxzR98X6LX7yAz384iqwG4DoXn7nI05ETH7jXLET6wUrYIHMo91Qw==",
+ "version": "0.73.0",
+ "resolved": "https://registry.npmjs.org/@mariozechner/pi-ai/-/pi-ai-0.73.0.tgz",
+ "integrity": "sha512-phKOpcde/ssz6UYszkmaGJ9LF9mgt/AP8LrtSwsfap+kMSeFfSQ2/mCSBT1mLJ2BqVuff9uXs1/+op1aQeaafQ==",
"license": "MIT",
"dependencies": {
- "@anthropic-ai/sdk": "^0.90.0",
+ "@anthropic-ai/sdk": "^0.91.1",
"@aws-sdk/client-bedrock-runtime": "^3.1030.0",
"@google/genai": "^1.40.0",
"@mistralai/mistralai": "^2.2.0",
- "@sinclair/typebox": "^0.34.41",
- "ajv": "^8.17.1",
- "ajv-formats": "^3.0.1",
"chalk": "^5.6.2",
"openai": "6.26.0",
"partial-json": "^0.1.7",
"proxy-agent": "^6.5.0",
+ "typebox": "^1.1.24",
"undici": "^7.19.1",
"zod-to-json-schema": "^3.24.6"
},
@@ -2345,10 +2347,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@sinclair/typebox": {
- "version": "0.34.49",
- "license": "MIT"
- },
"node_modules/@sindresorhus/is": {
"version": "4.6.0",
"dev": true,
@@ -3185,35 +3183,6 @@
"node": ">= 14"
}
},
- "node_modules/ajv": {
- "version": "8.18.0",
- "license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.3",
- "fast-uri": "^3.0.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/ajv-formats": {
- "version": "3.0.1",
- "license": "MIT",
- "dependencies": {
- "ajv": "^8.0.0"
- },
- "peerDependencies": {
- "ajv": "^8.0.0"
- },
- "peerDependenciesMeta": {
- "ajv": {
- "optional": true
- }
- }
- },
"node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
@@ -3836,24 +3805,6 @@
"@types/yauzl": "^2.9.1"
}
},
- "node_modules/fast-deep-equal": {
- "version": "3.1.3",
- "license": "MIT"
- },
- "node_modules/fast-uri": {
- "version": "3.1.0",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/fastify"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/fastify"
- }
- ],
- "license": "BSD-3-Clause"
- },
"node_modules/fast-xml-builder": {
"version": "1.1.5",
"funding": [
@@ -4465,6 +4416,8 @@
},
"node_modules/json-schema-to-ts": {
"version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-3.1.1.tgz",
+ "integrity": "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.18.3",
@@ -4474,10 +4427,6 @@
"node": ">=16"
}
},
- "node_modules/json-schema-traverse": {
- "version": "1.0.0",
- "license": "MIT"
- },
"node_modules/json-stringify-safe": {
"version": "5.0.1",
"license": "ISC"
@@ -5489,13 +5438,6 @@
"node": ">= 6"
}
},
- "node_modules/require-from-string": {
- "version": "2.0.2",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/resolve-alpn": {
"version": "1.2.1",
"dev": true,
@@ -6013,6 +5955,8 @@
},
"node_modules/ts-algebra": {
"version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-2.0.0.tgz",
+ "integrity": "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==",
"license": "MIT"
},
"node_modules/tslib": {
@@ -6056,6 +6000,12 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/typebox": {
+ "version": "1.1.38",
+ "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.1.38.tgz",
+ "integrity": "sha512-pZ0aQPmMmXoUvSbeuWf/Hzsc+avNw/Zd6VeE8CFgkVGWyuHPJvqeJJDeJqLve+K70LvjYIoleGcoJHPT17cWoA==",
+ "license": "MIT"
+ },
"node_modules/typescript": {
"version": "6.0.3",
"dev": true,
diff --git a/package.json b/package.json
index ef46291f..a84fc318 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"vitest": "^4.1.5"
},
"dependencies": {
- "@mariozechner/pi-ai": "^0.68.1",
+ "@mariozechner/pi-ai": "^0.73.0",
"async-mutex": "^0.5.0",
"better-sqlite3": "^12.9.0",
"electron-log": "^5.4.3",
diff --git a/src/main/features/local_agents/models.ts b/src/main/features/local_agents/models.ts
index 9973980a..6e5cd5c7 100644
--- a/src/main/features/local_agents/models.ts
+++ b/src/main/features/local_agents/models.ts
@@ -33,9 +33,10 @@ const CATALOG: Record<LocalCliType, LocalModel[]> = {
{ id: 'claude-sonnet-4-5', label: 'Claude Sonnet 4.5' },
],
codex: [
- { id: 'gpt-5.4', label: 'GPT-5.4', default: true },
+ { id: 'gpt-5.5', label: 'GPT-5.5', default: true },
+ { id: 'gpt-5.5-pro', label: 'GPT-5.5 Pro' },
+ { id: 'gpt-5.4', label: 'GPT-5.4' },
{ id: 'gpt-5.4-mini', label: 'GPT-5.4 mini' },
- { id: 'gpt-5.3-codex', label: 'GPT-5.3 Codex' },
{ id: 'gpt-5', label: 'GPT-5' },
{ id: 'o3', label: 'o3' },
{ id: 'o3-mini', label: 'o3-mini' },
diff --git a/src/main/model/provider_catalog.ts b/src/main/model/provider_catalog.ts
index cb451614..b40eeb17 100644
--- a/src/main/model/provider_catalog.ts
+++ b/src/main/model/provider_catalog.ts
@@ -113,19 +113,23 @@ export const CURATED_MODELS: Readonly<Record<string, readonly { id: string; name
// https://chatgpt.com/backend-api/codex/responses. Most codex variants
// pi-ai lists (-codex-spark / -mini / -max / gpt-5.1 / gpt-5.2-codex)
// are rejected by OpenAI with "not supported when using Codex with a
- // ChatGPT account". Only these two are currently accepted:
+ // ChatGPT account". gpt-5.5 was added 2026-05-06 alongside the pi-ai
+ // 0.73.0 bump — re-probe before relying on it in production; if the
+ // Codex backend rejects it, drop the entry like the other 5.x variants.
'openai-codex': [
- { id: 'gpt-5.4', name: 'GPT-5.4' },
- { id: 'gpt-5.3-codex', name: 'GPT-5.3 Codex' },
+ { id: 'gpt-5.5', name: 'GPT-5.5' },
+ { id: 'gpt-5.4', name: 'GPT-5.4' },
],
- // OpenAI 直连。pi-ai 0.68.1 没有 `gpt-5.3` 纯 chat id(只有
- // gpt-5.3-codex / gpt-5.3-codex-spark),已剔除。
+ // OpenAI direct. pi-ai 0.73.0 ships gpt-5.5 / 5.5-pro. The 5.3 family
+ // (only -codex / -codex-spark exist, no plain chat id) was dropped on
+ // 2026-05-06 — keep this list to the 5.4 + 5.5 generations only.
openai: [
- { id: 'gpt-5.4', name: 'GPT-5.4' },
- { id: 'gpt-5.4-pro', name: 'GPT-5.4 Pro' },
- { id: 'gpt-5.4-mini', name: 'GPT-5.4 Mini' },
- { id: 'gpt-5.3-codex', name: 'GPT-5.3 Codex' },
+ { id: 'gpt-5.5', name: 'GPT-5.5' },
+ { id: 'gpt-5.5-pro', name: 'GPT-5.5 Pro' },
+ { id: 'gpt-5.4', name: 'GPT-5.4' },
+ { id: 'gpt-5.4-pro', name: 'GPT-5.4 Pro' },
+ { id: 'gpt-5.4-mini', name: 'GPT-5.4 Mini' },
],
// Google Gemini 直连。pi-ai 0.68.1 的 provider="google" 只列出带 -preview
@@ -200,20 +204,22 @@ export const CURATED_MODELS: Readonly<Record<string, readonly { id: string; name
{ id: 'doubao-seed-2-0-lite-260215', name: 'Doubao Seed 2.0 Lite' },
],
- // OpenRouter 聚合。pi-ai 0.68.1 下 openrouter 没有
- // anthropic/claude-sonnet-4.7 / haiku-4.7 / google/gemini-3.1-pro(无 preview
- // 后缀)这几个 id —— 已换成真实存在的。
- // 2026-04-28 升级:deepseek/v3.2 + r1 换成 v4-pro + v4-flash(v4 系列已发布);
- // 加入 xiaomi/mimo-v2.5 系列。pi-ai 0.68.1 还没把这些 id 收进 generated registry,
- // 但 OpenRouter API /v1/models 实测都存在,下次 pi-ai 升级时核对。
+ // OpenRouter aggregator. Notes against pi-ai 0.73.0 (2026-05-06):
+ // - openai/gpt-5.5 / 5.5-pro added; openai/gpt-5.3-codex dropped.
+ // - anthropic/claude-sonnet-4.7 / haiku-4.7 and google/gemini-3.1-pro
+ // (no -preview suffix) still aren't in pi-ai's generated registry —
+ // keep using the real ids below.
+ // - xiaomi/mimo-v2.5 series is now registered in pi-ai 0.73.0
+ // (previously kept ahead-of-registry against OpenRouter /v1/models).
openrouter: [
{ id: 'anthropic/claude-opus-4.7', name: 'Claude Opus 4.7' },
{ id: 'anthropic/claude-opus-4.6-fast', name: 'Claude Opus 4.6 Fast' },
{ id: 'anthropic/claude-sonnet-4.6', name: 'Claude Sonnet 4.6' },
{ id: 'anthropic/claude-haiku-4.5', name: 'Claude Haiku 4.5' },
+ { id: 'openai/gpt-5.5', name: 'GPT-5.5' },
+ { id: 'openai/gpt-5.5-pro', name: 'GPT-5.5 Pro' },
{ id: 'openai/gpt-5.4', name: 'GPT-5.4' },
{ id: 'openai/gpt-5.4-pro', name: 'GPT-5.4 Pro' },
- { id: 'openai/gpt-5.3-codex', name: 'GPT-5.3 Codex' },
{ id: 'google/gemini-3.1-pro-preview', name: 'Gemini 3.1 Pro (preview)' },
{ id: 'google/gemini-3-pro-preview', name: 'Gemini 3 Pro (preview)' },
{ id: 'deepseek/deepseek-v4-pro', name: 'DeepSeek V4 Pro' },