claude-bridge-cli 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/bridge.js +2 -1
  2. package/package.json +1 -1
package/lib/bridge.js CHANGED
@@ -347,7 +347,8 @@ function askClaude(config, { prompt, session_id, images, cwd, plan_mode, allow_t
347
347
  const tmpFile = path.join(os.tmpdir(), `claude-prompt-${Date.now()}-${Math.random().toString(36).slice(2)}.txt`);
348
348
  fs.writeFileSync(tmpFile, finalPrompt, "utf8");
349
349
 
350
- const args = ["-p", `@${tmpFile}`, "--output-format", "json"];
350
+ const args = ["-p", `@${tmpFile}`, "--output-format", "json",
351
+ "--permission-mode", "acceptEdits"];
351
352
  if (session_id) {
352
353
  const sessionExists = scanSessionFiles().some(s => s.id === session_id);
353
354
  args.push(sessionExists ? "--resume" : "--session-id", session_id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-bridge-cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Use Claude Code from your browser. Runs a local server that connects your browser tools to the Claude CLI.",
5
5
  "main": "lib/bridge.js",
6
6
  "bin": {