Skip to content

The open source coding agent.

TypeScript

fix: stop auto execute on sendText vscode extension (#5994)

Shpetim64f898601b2a
diff --git a/sdks/vscode/src/extension.ts b/sdks/vscode/src/extension.ts
index 63d8d332e40..105ab0293a8 100644
--- a/sdks/vscode/src/extension.ts
+++ b/sdks/vscode/src/extension.ts
@@ -35,7 +35,7 @@ export function activate(context: vscode.ExtensionContext) {
if (terminal.name === TERMINAL_NAME) {
// @ts-ignore
const port = terminal.creationOptions.env?.["_EXTENSION_OPENCODE_PORT"]
- port ? await appendPrompt(parseInt(port), fileRef) : terminal.sendText(fileRef)
+ port ? await appendPrompt(parseInt(port), fileRef) : terminal.sendText(fileRef, false)
terminal.show()
}
})