beast-agent 2.10.0 → 2.12.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.
- package/package.json +1 -1
- package/src/agent/engine.js +24 -0
- package/src/agent/tools.js +15 -0
- package/src/main.js +556 -9
- package/src/preload.js +13 -0
- package/src/renderer/i18n.js +2 -0
- package/src/renderer/index.html +50 -3
- package/src/renderer/renderer.js +551 -9
- package/src/renderer/style.css +269 -0
package/src/renderer/index.html
CHANGED
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
</div>
|
|
83
83
|
</div>
|
|
84
84
|
<button id="studioBtn" class="dd-btn dd-icon-btn" title="Beast Studio — video yapma/düzenleme" data-i18n-title="tipStudio"><svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="6" width="13" height="12" rx="2"/><path d="M15 10l7-4v12l-7-4"/></svg></button>
|
|
85
|
+
<button id="sbBtn" class="dd-btn dd-icon-btn" title="Beast Sandbox — GitHub reposu indir & içinde çalış" data-i18n-title="tipSandbox"><svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/><polyline points="3.27 6.96 12 12.01 20.73 6.96"/><line x1="12" y1="22.08" x2="12" y2="12"/></svg></button>
|
|
85
86
|
<button id="railBtn" class="dd-btn dd-icon-btn" title="Paralel Ajan Konsolu" data-i18n-title="tipRail">▤</button>
|
|
86
87
|
<button id="watchBtn" class="dd-btn dd-icon-btn" title="İzleyiciler (Watchers)" data-i18n-title="tipWatch">◎</button>
|
|
87
88
|
<button id="cronBtn" class="dd-btn dd-icon-btn" title="Cron Görevler" data-i18n-title="tipCron">⏱︎</button>
|
|
@@ -212,9 +213,55 @@
|
|
|
212
213
|
<div id="stVideoEmpty">Soldaki klasörden bir video/ses seç<br>veya “Aç” ile dosya seç — ajanın ürettiği çıktılar da burada oynatılır</div>
|
|
213
214
|
<video id="stVideoEl" controls hidden></video>
|
|
214
215
|
</div>
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
</section>
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
<div id="sandboxRow">
|
|
220
|
+
<section id="sbPanel">
|
|
221
|
+
<div id="sbHead">
|
|
222
|
+
<span id="sbTitle">BEAST SANDBOX</span>
|
|
223
|
+
<select id="sbRepo" title="İndirilen repo seç"></select>
|
|
224
|
+
<span class="file-spacer"></span>
|
|
225
|
+
<button id="sbReveal" title="Klasörü aç (Explorer)"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z"/></svg></button>
|
|
226
|
+
<button id="sbRemove" title="Reposunu sil" data-i18n-title="cr_del">×</button>
|
|
227
|
+
<button id="sbNew" title="Bu reponun oturumunu sıfırla" data-i18n-title="bc_new">*</button>
|
|
228
|
+
</div>
|
|
229
|
+
<div id="sbCloneRow">
|
|
230
|
+
<input id="sbCloneInput" placeholder="github.com/owner/repo veya owner/repo" spellcheck="false" autocomplete="off" />
|
|
231
|
+
<button id="sbCloneBtn" title="İndir (git clone)"><svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg><span id="sbCloneLabel">İndir</span></button>
|
|
232
|
+
<button id="sbGhBtn" title="GitHub'da ara"><svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg></button>
|
|
233
|
+
</div>
|
|
234
|
+
<div id="sbOut"></div>
|
|
235
|
+
<div id="sbStatus" hidden></div>
|
|
236
|
+
<div id="sbInputRow">
|
|
237
|
+
<textarea id="sbInput" rows="1" spellcheck="false" autocomplete="off" placeholder="Sandbox mesajı — ajan bu repo klasöründe çalışır…"></textarea>
|
|
238
|
+
<button id="sbStop" 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>
|
|
239
|
+
</div>
|
|
240
|
+
</section>
|
|
241
|
+
|
|
242
|
+
<section id="sbRun">
|
|
243
|
+
<div id="sbRunHead">
|
|
244
|
+
<span id="sbRunTitle">ÇALIŞTIR</span>
|
|
245
|
+
<span id="sbRunCwd" title="">—</span>
|
|
246
|
+
</div>
|
|
247
|
+
<div id="sbRunBtns">
|
|
248
|
+
<button id="sbRunInstall" title="Ajana talimat: projeyi kur — doğru komutu ajan bulur"><svg viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align:-2px;margin-right:3px"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>Kur</button>
|
|
249
|
+
<button id="sbRunStart" title="Ajana talimat: projeyi çalıştır — uzun süreli süreç ÇALIŞTIR panelinde başlar"><svg viewBox="0 0 24 24" width="12" height="12" fill="currentColor" stroke="none" style="vertical-align:-2px;margin-right:3px"><polygon points="6 3 20 12 6 21 6 3"/></svg>Başlat</button>
|
|
250
|
+
<button id="sbRunDev" title="Ajana talimat: geliştirme modunda başlat (dev)"><svg viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align:-2px;margin-right:3px"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>Dev</button>
|
|
251
|
+
<button id="sbRunStop" title="Süreci durdur" hidden><svg viewBox="0 0 24 24" width="12" height="12" fill="currentColor" stroke="none" style="vertical-align:-2px;margin-right:3px"><rect x="6" y="6" width="12" height="12" rx="2"/></svg>Durdur</button>
|
|
252
|
+
</div>
|
|
253
|
+
<div id="sbRunCustom">
|
|
254
|
+
<input id="sbRunCmd" placeholder="özel komut: python main.py, cargo run, node index.js…" spellcheck="false" autocomplete="off" />
|
|
255
|
+
<button id="sbRunGo" title="Çalıştır"><svg viewBox="0 0 24 24" width="12" height="12" fill="currentColor" stroke="none"><polygon points="6 3 20 12 6 21 6 3"/></svg></button>
|
|
256
|
+
</div>
|
|
257
|
+
<div id="sbRunOut"></div>
|
|
258
|
+
<div id="sbRunFoot">
|
|
259
|
+
<button id="sbRunOpen" title="Ajana talimat: çalışma adresini bulup tarayıcıda açar" disabled><svg viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align:-2px;margin-right:3px"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg><span id="sbRunOpenLabel">Tarayıcıda aç</span></button>
|
|
260
|
+
<span id="sbRunUrl" title=""></span>
|
|
261
|
+
</div>
|
|
262
|
+
</section>
|
|
263
|
+
</div>
|
|
264
|
+
</main>
|
|
218
265
|
|
|
219
266
|
<aside id="rail">
|
|
220
267
|
<div id="railHead">
|