beast-agent 1.5.2 → 1.6.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/README.md +7 -0
- package/package.json +2 -1
- package/scripts/fix-electron.js +12 -0
- package/src/agent/engine.js +4904 -4904
- package/src/agent/memory.js +419 -419
- package/src/agent/skills.js +621 -621
- package/src/agent/watext.js +80 -80
- package/src/cron.js +11 -1
- package/src/main.js +7089 -7047
- package/src/preload.js +191 -191
- package/src/renderer/i18n.js +1222 -1221
- package/src/renderer/index.html +408 -408
- package/src/renderer/renderer.js +7420 -7419
- package/src/renderer/style.css +3392 -3392
package/README.md
CHANGED
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
  
|
|
6
6
|
|
|
7
|
+
> [!IMPORTANT]
|
|
8
|
+
> **This is a desktop app — it must be installed GLOBALLY:**
|
|
9
|
+
> ```bash
|
|
10
|
+
> npm install -g beast-agent
|
|
11
|
+
> ```
|
|
12
|
+
> ⚠️ The npm sidebar box (`npm i beast-agent`) performs a **local** install — the `beast-agent` command will NOT be on your PATH and the app won't start. If you already installed locally, either re-run the command above, or launch with `npx beast-agent`. Global install also sets up the desktop shortcut and Windows startup automatically on first launch.
|
|
13
|
+
|
|
7
14
|
**Website:** [beast.algokod.com](https://beast.algokod.com) · **AlgoKod:** [algokod.com](https://algokod.com)
|
|
8
15
|
|
|
9
16
|
Beast Agent is a personal AI agent that runs on your machine and connects to **any OpenAI-compatible provider**. Define all your models in a single `config.yaml`; Beast handles the rest.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beast-agent",
|
|
3
3
|
"productName": "Beast Agent",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.1",
|
|
5
5
|
"description": "Ultra-fast local agent shell for Windows.",
|
|
6
6
|
"author": "algokodcom (AlgoKod)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"openai"
|
|
25
25
|
],
|
|
26
26
|
"main": "src/main.js",
|
|
27
|
+
"preferGlobal": true,
|
|
27
28
|
"bin": {
|
|
28
29
|
"beast-agent": "bin/beast-agent.js",
|
|
29
30
|
"beast": "bin/beast-agent.js"
|
package/scripts/fix-electron.js
CHANGED
|
@@ -114,6 +114,18 @@ module.exports = { electronDir, status, repair };
|
|
|
114
114
|
elle çağrı → hata durumunda exit 1 */
|
|
115
115
|
if (require.main === module) {
|
|
116
116
|
const soft = process.argv.includes('--soft');
|
|
117
|
+
/* npm sitesindeki Install kutusu hep `npm i <isim>` yazar — lokal kurulumda
|
|
118
|
+
`beast-agent` komutu PATH'e girmez ve kullanıcı uygulama başlamadı sanır.
|
|
119
|
+
npm_config_global yalnız `npm i -g` kurulumlarında 'true' gelir → lokalse uyar. */
|
|
120
|
+
const isGlobal =
|
|
121
|
+
String(process.env.npm_config_global || process.env.NPM_CONFIG_GLOBAL || '').trim() === 'true';
|
|
122
|
+
if (soft && !isGlobal) {
|
|
123
|
+
console.log('');
|
|
124
|
+
console.log('\u26A0\uFE0F Beast Agent bu klas\u00F6re LOKAL kuruldu \u2014 `beast-agent` komutu \u00E7al\u0131\u015Fmaz (PATH\u2019te de\u011Fil).');
|
|
125
|
+
console.log(' Do\u011Fru kurulum (\u00F6nerilen): npm install -g beast-agent');
|
|
126
|
+
console.log(' Bu klas\u00F6rde denemek: npx beast-agent');
|
|
127
|
+
console.log('');
|
|
128
|
+
}
|
|
117
129
|
const r = repair({ quiet: false });
|
|
118
130
|
if (r.ok) {
|
|
119
131
|
console.log(r.skipped ? '\u2713 electron binary tamam' : '\u2713 electron binary onar\u0131ld\u0131');
|