blun-king-cli 9.1.299 → 9.1.300
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/blun.mjs +7 -5
- package/package.json +1 -1
package/blun.mjs
CHANGED
|
@@ -295915,7 +295915,7 @@ var init_connection_manager = __esmMin((() => {
|
|
|
295915
295915
|
init_public_display();
|
|
295916
295916
|
init_types$1();
|
|
295917
295917
|
DEFAULT_STARTUP_TIMEOUT_MS$1 = 3e4;
|
|
295918
|
-
MCP_AUTO_RECONNECT_DELAYS_MS = [1e4];
|
|
295918
|
+
MCP_AUTO_RECONNECT_DELAYS_MS = [1e4, 1e4, 1e4];
|
|
295919
295919
|
McpConnectionManager = class {
|
|
295920
295920
|
options;
|
|
295921
295921
|
entries = /* @__PURE__ */ new Map();
|
|
@@ -507439,7 +507439,7 @@ var SessionEventHandler = class {
|
|
|
507439
507439
|
renderedMcpServerStatusKeys = /* @__PURE__ */ new Map();
|
|
507440
507440
|
mcpServerStatusSpinners = /* @__PURE__ */ new Map();
|
|
507441
507441
|
mcpServers = /* @__PURE__ */ new Map();
|
|
507442
|
-
|
|
507442
|
+
mcpInventorySignature;
|
|
507443
507443
|
goalCompletionAwaitingClear = false;
|
|
507444
507444
|
goalCompletionTurnEnded = false;
|
|
507445
507445
|
currentTurnHasAssistantText = false;
|
|
@@ -507461,7 +507461,7 @@ var SessionEventHandler = class {
|
|
|
507461
507461
|
this.renderedPluginCommandActivationIds.clear();
|
|
507462
507462
|
this.renderedMcpServerStatusKeys.clear();
|
|
507463
507463
|
this.mcpServers.clear();
|
|
507464
|
-
this.
|
|
507464
|
+
this.mcpInventorySignature = void 0;
|
|
507465
507465
|
this.goalCompletionAwaitingClear = false;
|
|
507466
507466
|
this.goalCompletionTurnEnded = false;
|
|
507467
507467
|
this.currentTurnHasAssistantText = false;
|
|
@@ -508252,10 +508252,12 @@ var SessionEventHandler = class {
|
|
|
508252
508252
|
}
|
|
508253
508253
|
}
|
|
508254
508254
|
logMcpInventoryIfReady(servers) {
|
|
508255
|
-
if (
|
|
508255
|
+
if (servers.some((server) => server.status === "pending")) return;
|
|
508256
508256
|
const inventory = mcpStartupInventory(servers);
|
|
508257
|
+
const signature = `${inventory.serverCount}:${inventory.toolCount}`;
|
|
508258
|
+
if (this.mcpInventorySignature === signature) return;
|
|
508257
508259
|
log.info("mcp startup inventory", inventory);
|
|
508258
|
-
this.
|
|
508260
|
+
this.mcpInventorySignature = signature;
|
|
508259
508261
|
}
|
|
508260
508262
|
showMcpServerStatusSpinner(name) {
|
|
508261
508263
|
const { state } = this.host;
|