beast-agent 0.25.4 → 0.25.5
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/package.json +1 -1
- package/src/main.js +5 -2
package/package.json
CHANGED
package/src/main.js
CHANGED
|
@@ -5322,12 +5322,15 @@ function runNpmGlobalInstall() {
|
|
|
5322
5322
|
});
|
|
5323
5323
|
}
|
|
5324
5324
|
|
|
5325
|
-
/* auth login etkileşimlidir (tarayıcı açar) — kullanıcı görsün diye ayrı pencere
|
|
5325
|
+
/* auth login etkileşimlidir (tarayıcı açar) — kullanıcı görsün diye ayrı pencere.
|
|
5326
|
+
-ExecutionPolicy Bypass: SADECE bu pencere için — Windows varsayılan "Restricted"
|
|
5327
|
+
politikası npm'in opencode.ps1 shim'ini bloklar ("running scripts is disabled")
|
|
5328
|
+
→ taze makinede tek tık kurulum patlamasın; sistem politikası DEĞİŞMEZ. */
|
|
5326
5329
|
function openZenAuthWindow() {
|
|
5327
5330
|
try {
|
|
5328
5331
|
spawn(
|
|
5329
5332
|
'cmd.exe',
|
|
5330
|
-
['/c', 'start', '', 'powershell.exe', '-NoExit', '-Command', 'opencode auth login'],
|
|
5333
|
+
['/c', 'start', '', 'powershell.exe', '-NoExit', '-ExecutionPolicy', 'Bypass', '-Command', 'opencode auth login'],
|
|
5331
5334
|
{ detached: true, windowsHide: false, stdio: 'ignore' }
|
|
5332
5335
|
).unref();
|
|
5333
5336
|
return true;
|