beast-agent 2.46.0 → 2.46.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/package.json +1 -1
- package/src/renderer/index.html +18 -18
- package/src/renderer/renderer.js +4 -4
- package/src/renderer/style.css +1 -1
package/package.json
CHANGED
package/src/renderer/index.html
CHANGED
|
@@ -455,6 +455,24 @@
|
|
|
455
455
|
</div>
|
|
456
456
|
|
|
457
457
|
<div id="mcpRow">
|
|
458
|
+
<section id="mcpChat">
|
|
459
|
+
<div id="mcpChatHead">
|
|
460
|
+
<span id="mcpChatTitle">MCP SOHBET</span>
|
|
461
|
+
<select id="mcpChatHist" title="MCP sohbet geçmişi — ana sohbetten ayrıdır"></select>
|
|
462
|
+
<span class="file-spacer"></span>
|
|
463
|
+
<button id="mcpChatNew" title="Yeni sohbet (mevcut sohbet geçmişte kalır)">*</button>
|
|
464
|
+
</div>
|
|
465
|
+
<div id="mcpChatOut"></div>
|
|
466
|
+
<div id="mcpChatStatus" hidden></div>
|
|
467
|
+
<div id="mcpChatInputRow">
|
|
468
|
+
<textarea id="mcpChatInput" rows="1" spellcheck="false" autocomplete="off" placeholder="MCP sohbeti — sunucu araçları ajanın emrinde…"></textarea>
|
|
469
|
+
<button id="mcpChatSend" title="Gönder (Enter)"><svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="22" y1="2" x2="11" y2="13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/></svg></button>
|
|
470
|
+
<button id="mcpChatStop" title="Çalışan mesajı durdur" hidden data-i18n-title="bc_stop"><svg viewBox="0 0 24 24" width="13" height="13" fill="currentColor" stroke="none"><rect x="6" y="6" width="12" height="12" rx="2"/></svg></button>
|
|
471
|
+
</div>
|
|
472
|
+
</section>
|
|
473
|
+
|
|
474
|
+
<div id="mcpSplit" title="Sürükleyerek boyutlandır"></div>
|
|
475
|
+
|
|
458
476
|
<section id="mcpPanel">
|
|
459
477
|
<div id="mcpHead">
|
|
460
478
|
<span id="mcpTitle">BEAST MCP</span>
|
|
@@ -483,24 +501,6 @@
|
|
|
483
501
|
<textarea id="mcpJson" spellcheck="false"></textarea>
|
|
484
502
|
</div>
|
|
485
503
|
</section>
|
|
486
|
-
|
|
487
|
-
<div id="mcpSplit" title="Sürükleyerek boyutlandır"></div>
|
|
488
|
-
|
|
489
|
-
<section id="mcpChat">
|
|
490
|
-
<div id="mcpChatHead">
|
|
491
|
-
<span id="mcpChatTitle">MCP SOHBET</span>
|
|
492
|
-
<select id="mcpChatHist" title="MCP sohbet geçmişi — ana sohbetten ayrıdır"></select>
|
|
493
|
-
<span class="file-spacer"></span>
|
|
494
|
-
<button id="mcpChatNew" title="Yeni sohbet (mevcut sohbet geçmişte kalır)">*</button>
|
|
495
|
-
</div>
|
|
496
|
-
<div id="mcpChatOut"></div>
|
|
497
|
-
<div id="mcpChatStatus" hidden></div>
|
|
498
|
-
<div id="mcpChatInputRow">
|
|
499
|
-
<textarea id="mcpChatInput" rows="1" spellcheck="false" autocomplete="off" placeholder="MCP sohbeti — sunucu araçları ajanın emrinde…"></textarea>
|
|
500
|
-
<button id="mcpChatSend" title="Gönder (Enter)"><svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="22" y1="2" x2="11" y2="13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/></svg></button>
|
|
501
|
-
<button id="mcpChatStop" title="Çalışan mesajı durdur" hidden data-i18n-title="bc_stop"><svg viewBox="0 0 24 24" width="13" height="13" fill="currentColor" stroke="none"><rect x="6" y="6" width="12" height="12" rx="2"/></svg></button>
|
|
502
|
-
</div>
|
|
503
|
-
</section>
|
|
504
504
|
</div>
|
|
505
505
|
</main>
|
|
506
506
|
|
package/src/renderer/renderer.js
CHANGED
|
@@ -12674,7 +12674,7 @@ if (els.mcpAddBtn) els.mcpAddBtn.addEventListener('click', () => {
|
|
|
12674
12674
|
} catch {}
|
|
12675
12675
|
});
|
|
12676
12676
|
|
|
12677
|
-
/* ---------- MCP SOHBETİ (
|
|
12677
|
+
/* ---------- MCP SOHBETİ (sol panel): ana sohbetten AYRI oturum ----------
|
|
12678
12678
|
Oturum main'de bgTitle 'Beast MCP' ile yaşar; olaylar sessionId eşleşmesiyle
|
|
12679
12679
|
yalnız bu panele akar (onEvent yönlendirmesi). Geçmiş seçici eski MCP
|
|
12680
12680
|
sohbetlerini açar; '*' taze sohbet başlatır (eskisi geçmişte kalır). */
|
|
@@ -12906,7 +12906,7 @@ if (els.mcpChatInput) {
|
|
|
12906
12906
|
});
|
|
12907
12907
|
}
|
|
12908
12908
|
|
|
12909
|
-
/* ---------- MCP sohbet/detay ayırıcı (sandbox deseni, sohbet
|
|
12909
|
+
/* ---------- MCP sohbet/detay ayırıcı (sandbox deseni, sohbet SOLDA) ----------
|
|
12910
12910
|
Kaydedilen değer sohbet panelinin mcpRow içindeki payı (0-1). */
|
|
12911
12911
|
let mcpSplitFrac = 0;
|
|
12912
12912
|
|
|
@@ -12933,10 +12933,10 @@ if (els.mcpSplit) {
|
|
|
12933
12933
|
els.mcpSplit.addEventListener('mousedown', (e) => {
|
|
12934
12934
|
e.preventDefault();
|
|
12935
12935
|
els.mcpSplit.classList.add('dragging');
|
|
12936
|
-
const
|
|
12936
|
+
const leftEdge = els.mcpChat ? els.mcpChat.getBoundingClientRect().left : 0;
|
|
12937
12937
|
const rowW = Math.max(600, els.mcpRow && els.mcpRow.clientWidth ? els.mcpRow.clientWidth : window.innerWidth - 250);
|
|
12938
12938
|
const move = (ev) => {
|
|
12939
|
-
const w = Math.max(300, Math.min(
|
|
12939
|
+
const w = Math.max(300, Math.min(ev.clientX - leftEdge, rowW - 240));
|
|
12940
12940
|
mcpSplitFrac = Math.max(0.2, Math.min(w / rowW, 0.85));
|
|
12941
12941
|
document.body.style.setProperty('--mcpSplit', Math.round(w) + 'px');
|
|
12942
12942
|
};
|
package/src/renderer/style.css
CHANGED
|
@@ -4765,7 +4765,7 @@ body.mcp-mode #mcpRow { display: flex; flex-direction: row; }
|
|
|
4765
4765
|
white-space: pre;
|
|
4766
4766
|
}
|
|
4767
4767
|
|
|
4768
|
-
/* MCP
|
|
4768
|
+
/* MCP sol sohbet paneli: ana sohbetten TAMAMEN AYRI oturum (bgTitle 'Beast MCP') */
|
|
4769
4769
|
#mcpChat {
|
|
4770
4770
|
display: flex;
|
|
4771
4771
|
flex-direction: column;
|