From 74b5c285cff820b79a27884fde4e989119acc47c Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 14 Dec 2025 17:04:46 -0500 Subject: [PATCH 1/5] disable app image --- packages/tauri/src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tauri/src-tauri/tauri.conf.json b/packages/tauri/src-tauri/tauri.conf.json index e6b089886a..a47b4a619e 100644 --- a/packages/tauri/src-tauri/tauri.conf.json +++ b/packages/tauri/src-tauri/tauri.conf.json @@ -19,7 +19,7 @@ }, "bundle": { "active": true, - "targets": ["deb", "rpm", "dmg", "nsis", "appimage"], + "targets": ["deb", "rpm", "dmg", "nsis"], "icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"], "externalBin": ["sidecars/opencode"], "createUpdaterArtifacts": true, From 0f9ef84d559ad0a6b5aced2080ffc27820741ef7 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 14 Dec 2025 22:05:28 +0000 Subject: [PATCH 2/5] chore: format code --- packages/plugin/package.json | 2 +- packages/sdk/js/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin/package.json b/packages/plugin/package.json index 7ec4aebe51..4a7841908c 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.json index a68dd76039..a180408302 100644 --- a/packages/sdk/js/package.json +++ b/packages/sdk/js/package.json @@ -29,4 +29,4 @@ "publishConfig": { "directory": "dist" } -} \ No newline at end of file +} From c8fc9105334bdfc80b9f773e4e8ad808b20b03af Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 14 Dec 2025 17:10:53 -0500 Subject: [PATCH 3/5] ignore: simplify download page to use GitHub latest redirect URLs --- .../console/app/src/routes/download/index.tsx | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/packages/console/app/src/routes/download/index.tsx b/packages/console/app/src/routes/download/index.tsx index 31ce49617b..a19b97aa0f 100644 --- a/packages/console/app/src/routes/download/index.tsx +++ b/packages/console/app/src/routes/download/index.tsx @@ -8,7 +8,6 @@ import { Faq } from "~/component/faq" import desktopAppIcon from "../../asset/lander/opencode-desktop-icon.png" import { Legal } from "~/component/legal" import { config } from "~/config" -import { github } from "~/lib/github" function CopyStatus() { return ( @@ -20,14 +19,7 @@ function CopyStatus() { } export default function Download() { - const githubData = createAsync(() => github(), { - deferStream: true, - }) - const download = () => { - const version = githubData()?.release.tag_name - if (!version) return null - return `https://github.com/sst/opencode/releases/download/${version}` - } + const downloadUrl = "https://github.com/sst/opencode/releases/latest/download" const handleCopyClick = (command: string) => (event: Event) => { const button = event.currentTarget as HTMLButtonElement navigator.clipboard.writeText(command) @@ -115,7 +107,7 @@ export default function Download() { macOS (Apple Silicon) - + Download @@ -131,7 +123,7 @@ export default function Download() { macOS (Intel) - + Download @@ -154,7 +146,7 @@ export default function Download() { Windows (x64) - + Download @@ -170,7 +162,7 @@ export default function Download() { Linux (.deb) - + Download @@ -186,7 +178,7 @@ export default function Download() { Linux (.rpm) - + Download From 7368342bab50f1ffc71be59a54348b8246893141 Mon Sep 17 00:00:00 2001 From: Martijn Baay Date: Mon, 15 Dec 2025 00:13:32 +0100 Subject: [PATCH 4/5] feat: add experimental.continue_loop_on_deny config option (#4729) Co-authored-by: Aiden Cline --- packages/opencode/src/config/config.ts | 1 + packages/opencode/src/session/processor.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts index 42f6b11e9f..333e198484 100644 --- a/packages/opencode/src/config/config.ts +++ b/packages/opencode/src/config/config.ts @@ -783,6 +783,7 @@ export namespace Config { .array(z.string()) .optional() .describe("Tools that should only be available to primary agents."), + continue_loop_on_deny: z.boolean().optional().describe("Continue the agent loop when a tool call is denied"), }) .optional(), }) diff --git a/packages/opencode/src/session/processor.ts b/packages/opencode/src/session/processor.ts index f1f7dd0964..a1244d1df5 100644 --- a/packages/opencode/src/session/processor.ts +++ b/packages/opencode/src/session/processor.ts @@ -12,6 +12,7 @@ import { SessionRetry } from "./retry" import { SessionStatus } from "./status" import { Plugin } from "@/plugin" import type { Provider } from "@/provider/provider" +import { Config } from "@/config/config" export namespace SessionProcessor { const DOOM_LOOP_THRESHOLD = 3 @@ -49,6 +50,7 @@ export namespace SessionProcessor { }, async process(streamInput: StreamInput) { log.info("process") + const shouldBreak = (await Config.get()).experimental?.continue_loop_on_deny !== true while (true) { try { let currentText: MessageV2.TextPart | undefined @@ -228,7 +230,7 @@ export namespace SessionProcessor { }) if (value.error instanceof Permission.RejectedError) { - blocked = true + blocked = shouldBreak } delete toolcalls[value.toolCallId] } From fc3ffb2bf9d194d05803aeae3fb766fe74bc4bf8 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 14 Dec 2025 23:14:05 +0000 Subject: [PATCH 5/5] chore: format code --- packages/sdk/js/src/v2/gen/types.gen.ts | 4 ++++ packages/sdk/openapi.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts index 9d0bbcc92c..9dc057ba5c 100644 --- a/packages/sdk/js/src/v2/gen/types.gen.ts +++ b/packages/sdk/js/src/v2/gen/types.gen.ts @@ -1518,6 +1518,10 @@ export type Config = { * Tools that should only be available to primary agents. */ primary_tools?: Array + /** + * Continue the agent loop when a tool call is denied + */ + continue_loop_on_deny?: boolean } } diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index 98c8b3586a..372b0a63db 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -8279,6 +8279,10 @@ "items": { "type": "string" } + }, + "continue_loop_on_deny": { + "description": "Continue the agent loop when a tool call is denied", + "type": "boolean" } } }