Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ openabcode
To set up Route mode:

1. Run `/login` and configure the providers you want to use.
2. Run `/route-model` and select the authenticated model that classifies tasks. This does not change the active execution model.
3. Run `/model` and pick one specific model per family — e.g. `gpt-6-astra` for OpenAI, `gemini-3.8-flash` for Google, `claude-fable-5` for Anthropic. Route always executes tasks with the exact model you picked for the chosen family.
4. Run `/route` and select `on`.
2. Run `/route` to open the unified Route configuration dashboard (or run `/route on` directly).
- Authenticated family slots (**Claude**, **ChatGPT**, **Gemini**) and the **Classifier model** are automatically pre-populated with smart defaults when available.
- Select any family row or **Classifier model** in `/route` to customize the bound model, then select `on` to enable automatic routing.

When Route is on, the footer shows the configured execution models. Route works as long as at least two model families are configured — with a family missing, routing degrades to the available ones. Every completed routing decision is stored in the session JSONL for audit, and manually overriding a routed model is recorded as veto feedback.

Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

## [1.2.0] - 2026-10-29

## [1.1.2] - 2026-10-27

## [1.1.1] - 2026-10-18
Expand Down
4 changes: 2 additions & 2 deletions packages/agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openabcode/agent-core",
"version": "1.1.2",
"version": "1.2.0",
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@openabcode/ai": "^1.1.2",
"@openabcode/ai": "^1.2.0",
"ignore": "7.0.5",
"typebox": "1.1.38",
"yaml": "2.9.0"
Expand Down
2 changes: 2 additions & 0 deletions packages/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

## [1.2.0] - 2026-10-29

## [1.1.2] - 2026-10-27

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openabcode/ai",
"version": "1.1.2",
"version": "1.2.0",
"description": "Unified LLM API with automatic model discovery and provider configuration",
"type": "module",
"main": "./dist/index.js",
Expand Down
51 changes: 51 additions & 0 deletions packages/ai/src/providers/amazon-bedrock.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,23 @@ export const AMAZON_BEDROCK_MODELS = {
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
"global.openai.gpt-6.1-terra": {
id: "global.openai.gpt-6.1-terra",
name: "GPT-6.1 Terra (Global)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
reasoning: true,
input: ["text", "image"],
cost: {
input: 1,
output: 5,
cacheRead: 0.05,
cacheWrite: 1.25,
},
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
"global.xai.grok-4.6": {
id: "global.xai.grok-4.6",
name: "Grok 4.6 (Global)",
Expand Down Expand Up @@ -2309,6 +2326,23 @@ export const AMAZON_BEDROCK_MODELS = {
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
"openai.gpt-6.1-terra": {
id: "openai.gpt-6.1-terra",
name: "GPT-6.1 Terra",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
reasoning: true,
input: ["text", "image"],
cost: {
input: 1.1,
output: 5.5,
cacheRead: 0.055,
cacheWrite: 1.375,
},
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
"openai.gpt-oss-120b": {
id: "openai.gpt-oss-120b",
name: "gpt-oss-120b",
Expand Down Expand Up @@ -3170,6 +3204,23 @@ export const AMAZON_BEDROCK_MODELS = {
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
"us.openai.gpt-6.1-terra": {
id: "us.openai.gpt-6.1-terra",
name: "GPT-6.1 Terra (US)",
api: "bedrock-converse-stream",
provider: "amazon-bedrock",
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
reasoning: true,
input: ["text", "image"],
cost: {
input: 1.1,
output: 5.5,
cacheRead: 0.055,
cacheWrite: 1.375,
},
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"bedrock-converse-stream">,
"us.writer.palmyra-x4-v1:0": {
id: "us.writer.palmyra-x4-v1:0",
name: "Palmyra X4 (US)",
Expand Down
25 changes: 21 additions & 4 deletions packages/ai/src/providers/cloudflare-ai-gateway.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,10 +557,10 @@ export const CLOUDFLARE_AI_GATEWAY_MODELS = {
thinkingLevelMap: {"off":null,"xhigh":"xhigh","max":"max"},
input: ["text", "image"],
cost: {
input: 2,
output: 10,
cacheRead: 0.25,
cacheWrite: 3.125,
input: 4,
output: 20,
cacheRead: 0.4,
cacheWrite: 5,
},
contextWindow: 1050000,
maxTokens: 128000,
Expand Down Expand Up @@ -651,6 +651,23 @@ export const CLOUDFLARE_AI_GATEWAY_MODELS = {
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"openai-responses">,
"gpt-6.1-terra": {
id: "gpt-6.1-terra",
name: "GPT-6.1 Terra",
api: "openai-responses",
provider: "cloudflare-ai-gateway",
baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
reasoning: true,
input: ["text", "image"],
cost: {
input: 1,
output: 5,
cacheRead: 0.05,
cacheWrite: 1.25,
},
contextWindow: 1050000,
maxTokens: 128000,
} satisfies Model<"openai-responses">,
"o3": {
id: "o3",
name: "o3",
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/src/providers/cloudflare-workers-ai.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const CLOUDFLARE_WORKERS_AI_MODELS = {
} satisfies Model<"openai-completions">,
"@cf/deepseek-ai/deepseek-v4.1-flash-1017": {
id: "@cf/deepseek-ai/deepseek-v4.1-flash-1017",
name: "Deepseek V4.1 Flash 1017",
name: "DeepSeek V4.1 Flash 1017",
api: "openai-completions",
provider: "cloudflare-workers-ai",
baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
Expand Down
17 changes: 17 additions & 0 deletions packages/ai/src/providers/mistral.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,23 @@ export const MISTRAL_MODELS = {
contextWindow: 256000,
maxTokens: 4096,
} satisfies Model<"mistral-conversations">,
"deepseek-v4-1-flash-1017": {
id: "deepseek-v4-1-flash-1017",
name: "DeepSeek V4.1 Flash 1017",
api: "mistral-conversations",
provider: "mistral",
baseUrl: "https://api.mistral.ai",
reasoning: true,
input: ["text"],
cost: {
input: 0.3,
output: 1.2,
cacheRead: 0.007,
cacheWrite: 0,
},
contextWindow: 1048576,
maxTokens: 128000,
} satisfies Model<"mistral-conversations">,
"devstral-2512": {
id: "devstral-2512",
name: "Devstral 2",
Expand Down
19 changes: 0 additions & 19 deletions packages/ai/src/providers/nvidia.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,25 +385,6 @@ export const NVIDIA_MODELS = {
contextWindow: 1048576,
maxTokens: 1048576,
} satisfies Model<"openai-completions">,
"z-ai/glm-5.3": {
id: "z-ai/glm-5.3",
name: "GLM-5.3",
api: "openai-completions",
provider: "nvidia",
baseUrl: "https://integrate.api.nvidia.com/v1",
headers: {"NVCF-POLL-SECONDS":"3600"},
compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
reasoning: true,
input: ["text"],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 1000000,
maxTokens: 131072,
} satisfies Model<"openai-completions">,
"z-ai/glm-5.3-flash": {
id: "z-ai/glm-5.3-flash",
name: "GLM-5.3-Flash",
Expand Down
18 changes: 0 additions & 18 deletions packages/ai/src/providers/opencode.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1313,24 +1313,6 @@ export const OPENCODE_MODELS = {
contextWindow: 1048576,
maxTokens: 131072,
} satisfies Model<"openai-responses">,
"nemotron-3-ultra-free": {
id: "nemotron-3-ultra-free",
name: "Nemotron 3 Ultra Free",
api: "openai-completions",
provider: "opencode",
baseUrl: "https://opencode.ai/zen/v1",
compat: {"supportsStore":false,"supportsDeveloperRole":false,"maxTokensField":"max_tokens"},
reasoning: true,
input: ["text"],
cost: {
input: 0,
output: 0,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 1000000,
maxTokens: 128000,
} satisfies Model<"openai-completions">,
"nemotron-3.5-lightning-free": {
id: "nemotron-3.5-lightning-free",
name: "Nemotron 3.5 Lightning Free",
Expand Down
Loading
Loading