The open source coding agent.
TypeScript
Updated scroll_speed to allow any positive number (#4436)
opencode-agent[bot]a10fd8ca5c99
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.tsindex d9c45303815..5f0177d21df 100644--- a/packages/opencode/src/config/config.ts+++ b/packages/opencode/src/config/config.ts@@ -437,7 +437,7 @@ export namespace Config {})export const TUI = z.object({- scroll_speed: z.number().min(0.001).optional().default(1).describe("TUI scroll speed"),+ scroll_speed: z.number().positive().optional().default(1).describe("TUI scroll speed"),scroll_acceleration: z.object({enabled: z.boolean().describe("Enable scroll acceleration"),diff --git a/packages/plugin/package.json b/packages/plugin/package.jsonindex cbc5b39eea6..081a8ecdb97 100644--- a/packages/plugin/package.json+++ b/packages/plugin/package.json@@ -24,4 +24,4 @@"typescript": "catalog:","@typescript/native-preview": "catalog:"}-}\ No newline at end of file+}diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.jsonindex c3b85c1e487..2a1b735599e 100644--- a/packages/sdk/js/package.json+++ b/packages/sdk/js/package.json@@ -26,4 +26,4 @@"publishConfig": {"directory": "dist"}-}\ No newline at end of file+}