Skip to content

Commit 0707083

Browse files
committed
Merge branch 'main' into add_api_key_env_vars
Signed-off-by: Geoff Wilson <[email protected]>
2 parents 0231f6f + 962df86 commit 0707083

File tree

84 files changed

+629
-440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+629
-440
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Roo Code Changelog
22

3+
## [3.25.13] - 2025-08-12
4+
5+
- Add Sonnet 1M context checkbox to Bedrock
6+
- Fix: add --no-messages flag to ripgrep to suppress file access errors (#6756 by @R-omk, PR by @app/roomote)
7+
- Add support for AGENT.md alongside AGENTS.md (#6912 by @Brendan-Z, PR by @app/roomote)
8+
- Remove deprecated GPT-4.5 Preview model (thanks @PeterDaveHello!)
9+
310
## [3.25.12] - 2025-08-12
411

512
- Update: Claude Sonnet 4 context window configurable to 1 million tokens in Anthropic provider (thanks @daniel-lxs!)

knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"webview-ui": {
1818
"entry": ["src/index.tsx"],
19-
"project": ["src/**/*.{ts,tsx}"]
19+
"project": ["src/**/*.{ts,tsx}", "../src/shared/*.ts"]
2020
},
2121
"packages/{build,cloud,evals,ipc,telemetry,types}": {
2222
"project": ["src/**/*.ts"]

packages/types/npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@roo-code/types",
3-
"version": "1.45.0",
3+
"version": "1.46.0",
44
"description": "TypeScript type definitions for Roo Code.",
55
"publishConfig": {
66
"access": "public",

packages/types/src/cloud.ts

Lines changed: 0 additions & 158 deletions
This file was deleted.

packages/types/src/global-settings.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ export const DEFAULT_WRITE_DELAY_MS = 1000
2929
*/
3030
export const DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT = 50_000
3131

32-
/**
33-
* Default timeout for background usage collection in milliseconds.
34-
* This timeout prevents the background task from running indefinitely
35-
* when collecting usage data from streaming API responses.
36-
*/
37-
export const DEFAULT_USAGE_COLLECTION_TIMEOUT_MS = 30_000
38-
3932
/**
4033
* GlobalSettings
4134
*/

packages/types/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export * from "./api.js"
2-
export * from "./cloud.js"
32
export * from "./codebase-index.js"
43
export * from "./constants.js"
54
export * from "./events.js"
@@ -14,7 +13,6 @@ export * from "./message.js"
1413
export * from "./mode.js"
1514
export * from "./model.js"
1615
export * from "./provider-settings.js"
17-
export * from "./sharing.js"
1816
export * from "./task.js"
1917
export * from "./todo.js"
2018
export * from "./telemetry.js"

packages/types/src/provider-settings.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import { z } from "zod"
33
import { reasoningEffortsSchema, verbosityLevelsSchema, modelInfoSchema } from "./model.js"
44
import { codebaseIndexProviderSchema } from "./codebase-index.js"
55

6+
// Bedrock Claude Sonnet 4 model ID that supports 1M context
7+
export const BEDROCK_CLAUDE_SONNET_4_MODEL_ID = "anthropic.claude-sonnet-4-20250514-v1:0"
8+
69
// Extended schema that includes "minimal" for GPT-5 models
710
export const extendedReasoningEffortsSchema = z.union([reasoningEffortsSchema, z.literal("minimal")])
811

@@ -138,6 +141,7 @@ const bedrockSchema = apiModelIdProviderModelSchema.extend({
138141
awsModelContextWindow: z.number().optional(),
139142
awsBedrockEndpointEnabled: z.boolean().optional(),
140143
awsBedrockEndpoint: z.string().optional(),
144+
awsBedrock1MContext: z.boolean().optional(), // Enable 'context-1m-2025-08-07' beta for 1M context window
141145
})
142146

143147
const vertexSchema = apiModelIdProviderModelSchema.extend({

packages/types/src/providers/openai.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,6 @@ export const openAiNativeModels = {
193193
outputPrice: 4.4,
194194
cacheReadsPrice: 0.55,
195195
},
196-
"gpt-4.5-preview": {
197-
maxTokens: 16_384,
198-
contextWindow: 128_000,
199-
supportsImages: true,
200-
supportsPromptCache: true,
201-
inputPrice: 75,
202-
outputPrice: 150,
203-
cacheReadsPrice: 37.5,
204-
},
205196
"gpt-4o": {
206197
maxTokens: 16_384,
207198
contextWindow: 128_000,

packages/types/src/sharing.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)