blun-king-cli 9.1.8 → 9.1.10
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/bin/launcher-runtime.js +12 -3
- package/blun.mjs +4 -2
- package/package.json +1 -1
- package/standard-tools/manifest.json +13 -13
package/bin/launcher-runtime.js
CHANGED
|
@@ -306,15 +306,24 @@ async function runLauncher(options = {}) {
|
|
|
306
306
|
const cfgFile = path.join(blunDir, 'config.toml');
|
|
307
307
|
if (fs.existsSync(cfgFile)) securePrivateFile(cfgFile);
|
|
308
308
|
|
|
309
|
-
|
|
309
|
+
// --- 3. BLUN-Standard-MCPs additiv im Benutzerprofil einrichten ---------
|
|
310
|
+
const standardMcpNames = availableStandardToolNames({ packageRoot: PKG })
|
|
311
|
+
.filter((name) => name !== 'telegram');
|
|
312
|
+
seedStandardTools({
|
|
313
|
+
packageRoot: PKG,
|
|
314
|
+
blunDir,
|
|
315
|
+
names: standardMcpNames,
|
|
316
|
+
});
|
|
317
|
+
|
|
318
|
+
// --- 4. Eigenes BLUN-Grunddesign als einzigen Standard-Skill installieren
|
|
310
319
|
seedStandardDesignSkill({ packageRoot: PKG, blunDir });
|
|
311
320
|
|
|
312
|
-
// ---
|
|
321
|
+
// --- 5. Telegram-Plugin + Token-Vorlage (nur King) -----------------------
|
|
313
322
|
if (mode === LAUNCHER_MODES.KING) {
|
|
314
323
|
installTelegramForProfile(PKG, blunDir);
|
|
315
324
|
}
|
|
316
325
|
|
|
317
|
-
// ---
|
|
326
|
+
// --- 6. Start -----------------------------------------------------------
|
|
318
327
|
const env = createLauncherEnvironment(process.env, mode, readPackageVersion());
|
|
319
328
|
env.BLUN_HOME = blunDir;
|
|
320
329
|
env.BLUN_MODEL_MAX_COMPLETION_TOKENS = env.BLUN_MODEL_MAX_COMPLETION_TOKENS || '32768';
|
package/blun.mjs
CHANGED
|
@@ -1685,6 +1685,7 @@ var init_errors$10 = __esmMin((() => {
|
|
|
1685
1685
|
TIMEOUT_RE = /timed?\s*out|timeout|deadline/i;
|
|
1686
1686
|
CONTEXT_OVERFLOW_MESSAGE_PATTERNS = [
|
|
1687
1687
|
/context[ _-]?length/,
|
|
1688
|
+
/context[ _-]?size.*exceed/,
|
|
1688
1689
|
/(?:context[ _-]?window.*exceed|exceed.*context[ _-]?window)/,
|
|
1689
1690
|
/maximum context/,
|
|
1690
1691
|
/exceed(?:ed|s|ing)?\s+(?:the\s+)?max(?:imum)?\s+tokens?/,
|
|
@@ -412689,8 +412690,9 @@ function mountExperimentsPanel(host, features) {
|
|
|
412689
412690
|
}));
|
|
412690
412691
|
}
|
|
412691
412692
|
async function applyPermissionChoice(host, mode) {
|
|
412693
|
+
const displayMode = mode === "yolo" ? uiText("permission.god.label") : mode;
|
|
412692
412694
|
if (mode === host.state.appState.permissionMode) {
|
|
412693
|
-
host.showStatus(uiText("config.permission.unchanged", { mode }));
|
|
412695
|
+
host.showStatus(uiText("config.permission.unchanged", { mode: displayMode }));
|
|
412694
412696
|
return;
|
|
412695
412697
|
}
|
|
412696
412698
|
try {
|
|
@@ -412701,7 +412703,7 @@ async function applyPermissionChoice(host, mode) {
|
|
|
412701
412703
|
return;
|
|
412702
412704
|
}
|
|
412703
412705
|
host.setAppState({ permissionMode: mode });
|
|
412704
|
-
host.showNotice(uiText("config.permission.set", { mode }));
|
|
412706
|
+
host.showNotice(uiText("config.permission.set", { mode: displayMode }));
|
|
412705
412707
|
}
|
|
412706
412708
|
function showSettingsSelector(host) {
|
|
412707
412709
|
host.mountEditorReplacement(new SettingsSelectorComponent({
|
package/package.json
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
"version": 1,
|
|
3
3
|
"configOwner": "BLUN_HOME/mcp.json",
|
|
4
4
|
"tools": {
|
|
5
|
+
"agent-browser": {
|
|
6
|
+
"owner": "user-mcp",
|
|
7
|
+
"version": "0.31.2",
|
|
8
|
+
"detectTokens": ["agent-browser"],
|
|
9
|
+
"config": {
|
|
10
|
+
"transport": "stdio",
|
|
11
|
+
"command": "npx",
|
|
12
|
+
"args": ["-y", "agent-browser@0.31.2", "mcp"],
|
|
13
|
+
"enabled": false,
|
|
14
|
+
"startupTimeoutMs": 30000,
|
|
15
|
+
"toolTimeoutMs": 60000
|
|
16
|
+
}
|
|
17
|
+
},
|
|
5
18
|
"blun-language-guard": {
|
|
6
19
|
"owner": "user-mcp",
|
|
7
20
|
"version": "host-provisioned",
|
|
@@ -18,19 +31,6 @@
|
|
|
18
31
|
"toolTimeoutMs": 60000
|
|
19
32
|
}
|
|
20
33
|
},
|
|
21
|
-
"playwright": {
|
|
22
|
-
"owner": "user-mcp",
|
|
23
|
-
"version": "0.0.78",
|
|
24
|
-
"detectTokens": ["@playwright/mcp"],
|
|
25
|
-
"config": {
|
|
26
|
-
"transport": "stdio",
|
|
27
|
-
"command": "npx",
|
|
28
|
-
"args": ["-y", "@playwright/mcp@0.0.78", "--headless", "--isolated"],
|
|
29
|
-
"enabled": false,
|
|
30
|
-
"startupTimeoutMs": 30000,
|
|
31
|
-
"toolTimeoutMs": 60000
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
34
|
"telegram": {
|
|
35
35
|
"owner": "managed-plugin",
|
|
36
36
|
"version": "bundled",
|