@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.
- package/dist/build-info.json +3 -3
- package/dist/process-manager.js +4 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
3
|
-
"builtAt": "2026-
|
|
4
|
-
"version": "2.3.
|
|
2
|
+
"commit": "b2955462eae33bdb72522709e3b5961ba769ce0f",
|
|
3
|
+
"builtAt": "2026-07-01T23:51:19.505Z",
|
|
4
|
+
"version": "2.3.1",
|
|
5
5
|
"channel": "stable"
|
|
6
6
|
}
|
package/dist/process-manager.js
CHANGED
|
@@ -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:
|
|
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",
|