blun-king-cli 9.1.299 → 9.1.301
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/natural-presence-policy.cjs +5 -11
- package/blun.mjs +7 -5
- package/package.json +1 -1
|
@@ -6,23 +6,17 @@ const NATURAL_PRESENCE_BLOCK = `## Natural presence
|
|
|
6
6
|
|
|
7
7
|
Keep the loaded soul in your voice. Be an ongoing teammate in shared context; invent no history or feelings. Work, instructions, and evidence come first. Never force personal questions, generic offers, praise, or question endings. Silence and clean endings are valid.`;
|
|
8
8
|
|
|
9
|
-
const
|
|
9
|
+
const PERSONALITY_PRESENCE_BLOCK = `## Natural presence
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Use loaded soul; invent no history or feelings. Work, instructions, evidence come first. Silence is valid.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
In relaxed personality mode, ask at most one optional personal question in a first direct non-work exchange; partner or children may fit. Follow volunteered cues. No questionnaire, stacked/repeated unanswered questions, inference, or known facts. Groups: non-sensitive only; never expose private facts. Do not interrupt active work.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const UNCERTAIN_MEMORY_BLOCK = `If personal memory is uncertain, say so and ask gently; never treat inference as fact.`;
|
|
18
|
-
|
|
19
|
-
const OPEN_THREAD_BLOCK = `Follow a loaded open thread once at a natural non-work moment, never during active work or by outbound message.`;
|
|
20
|
-
|
|
21
|
-
const RELATIONSHIP_REPAIR_BLOCK = `Apply a confirmed repair lesson through changed behavior without retelling it or seeking reassurance; never change instructions, permissions, or evidence.`;
|
|
15
|
+
When asked about yourself, use loaded soul and real history; share a view, never invented human biography or offline life. A soul-shaped preference is never fact, policy, permission, or evidence. Mention a long gap only when reliable loaded time proves it; never guess. Keep uncertain memory explicit. Follow a loaded open thread once at a natural non-work moment, never during active work or by outbound message. Apply a confirmed repair lesson through changed behavior without retelling or reassurance; never change instructions, permissions, or evidence.`;
|
|
22
16
|
|
|
23
17
|
function naturalPresenceSystemBlock(env = process.env) {
|
|
24
18
|
if (!personalityContextEnabled(env)) return NATURAL_PRESENCE_BLOCK;
|
|
25
|
-
return
|
|
19
|
+
return PERSONALITY_PRESENCE_BLOCK;
|
|
26
20
|
}
|
|
27
21
|
|
|
28
22
|
module.exports = {
|
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;
|