beast-agent 2.65.0 → 2.66.0

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/package.json +1 -1
  2. package/src/main.js +11 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "beast-agent",
3
3
  "productName": "Beast Agent",
4
- "version": "2.65.0",
4
+ "version": "2.66.0",
5
5
  "description": "Ultra-fast local agent shell for Windows.",
6
6
  "author": "algokodcom (AlgoKod)",
7
7
  "license": "MIT",
package/src/main.js CHANGED
@@ -3818,6 +3818,17 @@ function ensureShortcuts() {
3818
3818
  /* TTS otomatik seslendirme: kullanıcı jesti olmadan Audio.play() çalışsın */
3819
3819
  app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');
3820
3820
 
3821
+ /* DAHİLİ TARAYICI CDP (HER AÇILIŞTA AÇIK): Jev (browser_agent) ve toollar
3822
+ (browser_js) daima DAHİLİ panelde çalışsın diye remote debug portu otomatik
3823
+ açılır — bat/argüman gerekmez. Chromium gerçek portu %APPDATA%\Beast Agent\
3824
+ DevToolsActivePort dosyasına yazar; browser_js önce o dosyayı okur, paneli
3825
+ bulamazsa zaten hata verir (yardımcı Chrome'a düşmez). Kullanıcı kendi
3826
+ --remote-debugging-port argümanını verdiyse ona dokunulmaz. */
3827
+ try {
3828
+ const hasPort = process.argv.some((a) => /^--remote-debugging-port(=|$)/.test(String(a)));
3829
+ if (!hasPort) app.commandLine.appendSwitch('remote-debugging-port', '9234');
3830
+ } catch {}
3831
+
3821
3832
  app.whenReady().then(() => {
3822
3833
  // Tailscale modu: paketli uygulamada Windows ile otomatik başlat (sessiz, tepside)
3823
3834
  if (app.isPackaged) {