@co0ontty/wand 2.3.0 → 2.3.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "commit": "1b6bc9ff8e1060e94f23ddfa447289aefa32ed09",
3
- "builtAt": "2026-06-29T13:40:41.914Z",
4
- "version": "2.3.0",
2
+ "commit": "b2955462eae33bdb72522709e3b5961ba769ce0f",
3
+ "builtAt": "2026-07-01T23:51:19.505Z",
4
+ "version": "2.3.1",
5
5
  "channel": "stable"
6
6
  }
@@ -884,7 +884,7 @@ export class ProcessManager extends EventEmitter {
884
884
  cwd: resolvedCwd,
885
885
  env: buildChildEnv(this.config.inheritEnv !== false, {
886
886
  WAND_MODE: effectiveMode,
887
- WAND_AUTO_CONFIRM: effectiveMode === "full-access" ? "1" : "0",
887
+ WAND_AUTO_CONFIRM: record.autoApprovePermissions ? "1" : "0",
888
888
  WAND_AUTO_EDIT: effectiveMode === "auto-edit" ? "1" : "0"
889
889
  }),
890
890
  name: "xterm-color",
@@ -1250,6 +1250,9 @@ export class ProcessManager extends EventEmitter {
1250
1250
  const record = this.mustGet(id);
1251
1251
  record.mode = mode;
1252
1252
  record.autoApprovePermissions = this.shouldAutoApprovePermissions(record.command, mode, record.provider ?? "claude");
1253
+ if (record.ptyBridge) {
1254
+ record.ptyBridge.setAutoApprove(record.autoApprovePermissions);
1255
+ }
1253
1256
  this.persist(record);
1254
1257
  this.emitEvent({
1255
1258
  type: "status",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@co0ontty/wand",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "A web terminal for local CLI tools like Claude.",
5
5
  "type": "module",
6
6
  "bin": {