beast-agent 0.19.0 → 0.20.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/bots.js +495 -0
- package/src/agent/engine.js +3303 -3118
- package/src/agent/memory.js +419 -383
- package/src/agent/mqueue.js +124 -0
- package/src/agent/skills.js +523 -522
- package/src/agent/store.js +378 -0
- package/src/agent/watext.js +76 -75
- package/src/main.js +4719 -3951
- package/src/preload.js +149 -128
- package/src/renderer/i18n.js +1073 -795
- package/src/renderer/index.html +288 -231
- package/src/renderer/renderer.js +4317 -3356
- package/src/renderer/style.css +1826 -1307
- package/store/skills.json +5 -0
- package/tests/bg-jobs.test.js +4 -3
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"_doc": "Skills Store topluluk indeksi. Her kayıt: { id, name, description, version, tags[], author{username,avatar,beastId}, image(dataURL), files{'SKILL.md': ...}, installs, likes, createdAt, updatedAt }. Yüklemeler buraya PR ile eklenir; app raw URL'den çeker.",
|
|
4
|
+
"skills": []
|
|
5
|
+
}
|
package/tests/bg-jobs.test.js
CHANGED
|
@@ -21,13 +21,13 @@ function tmpEngine() {
|
|
|
21
21
|
return { eng, events, dir };
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
test('CEO modu varsayılan
|
|
24
|
+
test('CEO modu varsayılan KAPALI; setCeoMode çalışır', () => {
|
|
25
25
|
const { eng } = tmpEngine();
|
|
26
|
-
assert.strictEqual(eng.ceoMode, true);
|
|
27
|
-
eng.setCeoMode(false);
|
|
28
26
|
assert.strictEqual(eng.ceoMode, false);
|
|
29
27
|
eng.setCeoMode(true);
|
|
30
28
|
assert.strictEqual(eng.ceoMode, true);
|
|
29
|
+
eng.setCeoMode(false);
|
|
30
|
+
assert.strictEqual(eng.ceoMode, false);
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
test('CEO yasaklı araç seti uygulayıcıları kapsar, yönetici araçlarını değil', () => {
|
|
@@ -44,6 +44,7 @@ test('CEO yasaklı araç seti uygulayıcıları kapsar, yönetici araçlarını
|
|
|
44
44
|
|
|
45
45
|
test('buildSystem CEO modunda CEO bloğu içerir; kapalıyken içermez', () => {
|
|
46
46
|
const { eng } = tmpEngine();
|
|
47
|
+
eng.setCeoMode(true);
|
|
47
48
|
const onSys = eng.buildSystem('merhaba');
|
|
48
49
|
assert.ok(onSys.includes('# CEO MODU'), 'ceo bloğu');
|
|
49
50
|
assert.ok(onSys.includes('PARALEL ajana devret'));
|