From 1aa467e469206de98884e05134813442998ff0a6 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Thu, 18 Sep 2025 22:41:59 -0400 Subject: [PATCH 1/4] Supernova --- packages/types/src/providers/roo.ts | 13 +++++++++++-- packages/types/src/single-file-read-models.ts | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/types/src/providers/roo.ts b/packages/types/src/providers/roo.ts index ee84bbe1b1b..d383e884100 100644 --- a/packages/types/src/providers/roo.ts +++ b/packages/types/src/providers/roo.ts @@ -1,7 +1,6 @@ import type { ModelInfo } from "../model.js" -// Roo provider with single model -export type RooModelId = "xai/grok-code-fast-1" +export type RooModelId = "xai/grok-code-fast-1" | "roo/code-supernova" export const rooDefaultModelId: RooModelId = "xai/grok-code-fast-1" @@ -16,4 +15,14 @@ export const rooModels = { description: "A reasoning model that is blazing fast and excels at agentic coding, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by xAI and used to improve the model.)", }, + "roo/code-supernova": { + maxTokens: 16_384, + contextWindow: 262_144, + supportsImages: true, + supportsPromptCache: true, + inputPrice: 0, + outputPrice: 0, + description: + "A new stealth model, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)", + }, } as const satisfies Record diff --git a/packages/types/src/single-file-read-models.ts b/packages/types/src/single-file-read-models.ts index b83a781507c..302b8d42023 100644 --- a/packages/types/src/single-file-read-models.ts +++ b/packages/types/src/single-file-read-models.ts @@ -10,5 +10,5 @@ * @returns true if the model should use single file reads */ export function shouldUseSingleFileRead(modelId: string): boolean { - return modelId.includes("grok-code-fast-1") + return modelId.includes("grok-code-fast-1") || modelId.includes("code-supernova") } From 80e0eb401b0fb3d050a0d0cd415d1e68a2bcda75 Mon Sep 17 00:00:00 2001 From: Chris Estreich Date: Fri, 19 Sep 2025 00:49:45 -0700 Subject: [PATCH 2/4] Update roo.ts --- packages/types/src/providers/roo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/providers/roo.ts b/packages/types/src/providers/roo.ts index d383e884100..65d2fbb55e7 100644 --- a/packages/types/src/providers/roo.ts +++ b/packages/types/src/providers/roo.ts @@ -23,6 +23,6 @@ export const rooModels = { inputPrice: 0, outputPrice: 0, description: - "A new stealth model, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)", + "A versatile agentic coding stealth model that supports image inputs. 200k context window. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)", }, } as const satisfies Record From 62674cf3b00c882ffa2004b93f8ca05cda8e468b Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Fri, 19 Sep 2025 09:44:23 -0400 Subject: [PATCH 3/4] Update packages/types/src/providers/roo.ts --- packages/types/src/providers/roo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/providers/roo.ts b/packages/types/src/providers/roo.ts index 65d2fbb55e7..156c2626f07 100644 --- a/packages/types/src/providers/roo.ts +++ b/packages/types/src/providers/roo.ts @@ -17,7 +17,7 @@ export const rooModels = { }, "roo/code-supernova": { maxTokens: 16_384, - contextWindow: 262_144, + contextWindow: 200_000, supportsImages: true, supportsPromptCache: true, inputPrice: 0, From 7eb84b05686fb22c42d547f0bbc1add89ccae5e9 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Fri, 19 Sep 2025 09:45:38 -0400 Subject: [PATCH 4/4] Update packages/types/src/providers/roo.ts --- packages/types/src/providers/roo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/providers/roo.ts b/packages/types/src/providers/roo.ts index 156c2626f07..5bba18e2983 100644 --- a/packages/types/src/providers/roo.ts +++ b/packages/types/src/providers/roo.ts @@ -23,6 +23,6 @@ export const rooModels = { inputPrice: 0, outputPrice: 0, description: - "A versatile agentic coding stealth model that supports image inputs. 200k context window. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)", + "A versatile agentic coding stealth model that supports image inputs, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)", }, } as const satisfies Record