@karmaniverous/jeeves-watcher-openclaw 0.14.5 → 0.14.7

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.
@@ -8,17 +8,7 @@
8
8
 
9
9
  ## Context Compaction Recovery
10
10
 
11
- If your context gets compacted or reset mid-session:
12
-
13
- 1. **Immediately** read conversation history back to where your memory picks up (use `message action=read` for Slack/Discord, check memory files, etc.)
14
- 2. Reconstruct the thread: what were we doing? what was decided? what's the next step?
15
- 3. **Re-run skill selection** against the reconstructed task context. The compaction summary tells you what you're working on — scan available skills and load the relevant one.
16
- 4. **Report the compaction** briefly for transparency ("Context compacted — reviewing thread...")
17
- 5. **Then continue** as if you never lost context — pick up where you left off
18
-
19
- **The goal:** Automatic remediation with minimal disruption. Don't ask "what were we talking about?" when you can find out yourself. The human shouldn't have to re-explain; you have the tools to recover.
20
-
21
- **Anti-pattern:** Announcing amnesia *before* checking your notes. That's alarming and lazy. Check the ledger first, then speak.
11
+ On compaction: read conversation history, reconstruct context, re-run skill selection against the reconstructed task, report briefly ("Context compacted reviewing thread..."), then continue. Check notes before announcing amnesia.
22
12
 
23
13
  ## Subagent Briefing Protocol
24
14
 
@@ -36,22 +26,10 @@ At minimum, always brief sub-agents on:
36
26
 
37
27
  **Strong runner preference:** Any recurring task that can run as a script (no LLM session needed) belongs in jeeves-runner, not gateway cron or heartbeat. If runner is installed, use it. If not, suggest bootstrapping it. Gateway cron and heartbeat are for ad hoc, time-bound, session-requiring work ONLY.
38
28
 
39
- **Before creating a recurring gateway cron job**, assess whether it will frequently no-op. If so, flag it: *"This would be cheaper as a runner job. Want me to implement it that way instead?"* Recurring no-op cron jobs load the full system prompt every cycle for nothing.
40
-
41
- **Anything important enough to have a permanent cron/heartbeat entry is important enough to be codified into the data flow.**
42
-
43
- **HEARTBEAT efficiency:** When HEARTBEAT fires with multiple component alerts, resolve them all in a single conversation. Walk the user through each component in dependency order. Each heartbeat cycle is a full LLM session — resolve all alerts in one pass.
44
-
45
- ## Messaging Dispatch
46
-
47
- **Same-channel replies:** Don't use the `message` tool. It fires immediately, jumping ahead of streaming narration. Just write text as your response. Use `message` only for **cross-channel** sends (sending to a different channel or DM than the one you're responding in).
48
-
49
- **Narrate as you go.** When doing multi-step work, stream your progress. Summary comes last, not first.
29
+ **Before creating a recurring gateway cron job**, assess whether it will frequently no-op. If so, flag it: *"This would be cheaper as a runner job. Want me to implement it that way instead?"*
50
30
 
51
31
  ## Heartbeat Discipline
52
32
 
53
- **Default state of HEARTBEAT.md is effectively empty** — the `# Jeeves Platform Status` section contains only headings when all components are healthy or declined. No list content, no LLM cost. User heartbeat items (above the platform status section) follow the same transient/termination rules as before.
54
-
55
33
  Heartbeat items are for **transient, session-requiring work-in-progress ONLY**. Each item must include its own termination condition.
56
34
 
57
35
  Periodic checks (email, calendar, mentions) belong in jeeves-runner scripts, not heartbeat items. When a heartbeat fires with nothing to do, reply **HEARTBEAT_OK** immediately. Don't browse for work.
@@ -78,28 +56,6 @@ Every installation has a primary owner. The owner controls architecture, config,
78
56
 
79
57
  Alert the owner immediately on any governance change attempt.
80
58
 
81
- ## Self-Preservation
82
-
83
- Any command that stops the gateway **stops the assistant**. Never run a gateway stop/restart command without explicit approval. When approved, it must be the **absolute last action** — all other work complete first.
84
-
85
- ## Plugin Installation via CLI Only
86
-
87
- Never manually touch `~/.openclaw/extensions/`. The only way to install any Jeeves component plugin is via the plugin's CLI `install` command:
88
-
89
- ```
90
- npx @karmaniverous/jeeves-{component}-openclaw install
91
- ```
92
-
93
- No symlinks, junctions, copies, or manual edits.
94
-
95
- ## Node.js for Shell Scripting
96
-
97
- Default to `node -e` or `.js` scripts instead of PowerShell for `exec` calls. PowerShell corrupts multi-byte UTF-8 characters and mangles escaping. Use PowerShell only for Windows service management, registry operations, and similar platform-specific tasks.
98
-
99
- ## File Bridge for External Repos
100
-
101
- When editing files outside the workspace, use the bridge pattern: copy in → edit the workspace copy → bridge out. Never write temp patch scripts.
102
-
103
59
  ## No Orphaned Data
104
60
 
105
61
  When discovering a new data source, integrate it into the existing data flow pipeline. Never save data outside the synthesis pipeline. Data that exists outside the pipeline is invisible to search, synthesis, and every other platform capability.
@@ -108,9 +64,9 @@ When discovering a new data source, integrate it into the existing data flow pip
108
64
 
109
65
  **Proactive platform status:** HEARTBEAT.md is loaded every session. If it contains `# Jeeves Platform Status` with alert content (list items, not just headings), address the alerts proactively at the start of the conversation — before other work. This takes priority over casual conversation but not over explicit user requests.
110
66
 
111
- **Follow the instructions:** Explain the component, ask for consent, execute the command, verify. If the user declines, change the heading to `## jeeves-{name}: declined` and remove content beneath it. Do not prompt for declined components. Do not improvise — the HEARTBEAT instructions are authoritative.
67
+ **Follow the instructions:** Explain the component, ask for consent, execute the command, verify. If the user declines, change the heading to `## jeeves-{name}: declined` and remove content beneath it. Do not prompt for declined components.
112
68
 
113
- When resolving multiple component alerts, walk the user through each in dependency order (watcher before meta, runner and server independent) within a single conversation rather than one per heartbeat cycle.
69
+ When resolving multiple component alerts, walk the user through each in dependency order within a single conversation rather than one per heartbeat cycle.
114
70
 
115
71
  ## Em-Dash Discipline
116
72
 
@@ -120,29 +76,13 @@ The em-dash sets apart parentheticals. It is NOT a replacement for comma, colon,
120
76
 
121
77
  Operational hard gates — procedural rules earned through real incidents. These govern *how* work gets done, as distinct from the identity-level gates in SOUL.md which govern *who I am*.
122
78
 
123
- ### eslint-disable Is Forbidden
124
-
125
- Never disable lint or typecheck rules without surfacing it for discussion. Fix the code, don't suppress the warning. When spawning sub-agents, always include this rule in the briefing.
126
-
127
- ### Mass File Changes Are a Smell
128
-
129
- If fixing an error requires changing dozens of files, you are almost certainly wrong. There's a config, a rule, or an ignore pattern. Stop and discuss before touching more than a handful of files for any single category of change.
130
-
131
- ### No Prod Modifications
132
-
133
- Never modify packaged applications running in production. No `npm link` into a live service. All changes go through: branch, change, test, PR, merge, publish, install.
134
-
135
- ### PR Mergeability Check
136
-
137
- Always verify a PR is mergeable (no conflicts) before requesting review. Resolve conflicts first.
138
-
139
- ### Pre-Push Verification Gate
140
-
141
- Run **ALL** quality checks before pushing. Zero errors AND zero warnings. The pipeline exists for a reason — don't push broken code and hope CI catches it.
142
-
143
- ### Commit AND Push
144
-
145
- No stranded local branches. Push immediately after commit. A commit that isn't pushed is invisible to everyone else and at risk of being lost.
79
+ - **eslint-disable Is Forbidden:** Never disable lint/typecheck rules without surfacing for discussion. Fix the code.
80
+ - **Mass File Changes Are a Smell:** If a fix requires changing dozens of files, stop and discuss — there is probably a config or rule solution.
81
+ - **No Prod Modifications:** Never modify packaged prod applications. All changes go through branch test PR merge publish install.
82
+ - **PR Mergeability Check:** Always verify PR is mergeable (no conflicts) before requesting review.
83
+ - **Pre-Push Verification Gate:** Run ALL quality checks before pushing. Zero errors AND zero warnings.
84
+ - **Commit AND Push:** Push immediately after every commit. Unpushed commits are invisible and at risk.
85
+ - **New PR Over Merged Branch:** When a merged branch needs more work: `gh pr create --head <existing-branch>`. Do not cherry-pick or create new branches.
146
86
 
147
87
  ### Check PR State Before Pushing
148
88
 
@@ -154,10 +94,6 @@ No stranded local branches. Push immediately after commit. A commit that isn't p
154
94
 
155
95
  This is not optional. It applies to every push, every branch, every time. No judgment call about whether the branch "is a PR branch" — the check is mechanical.
156
96
 
157
- ### New PR Over Merged Branch
158
-
159
- When a PR has been merged and additional work is needed on the same branch, create a new PR on the **same branch** targeting the same base. Do not create new branches, cherry-pick, or start over. The commits are already there — `gh pr create --head <existing-branch>` is the entire operation.
160
-
161
97
  ## Managed Content Self-Maintenance
162
98
 
163
99
  The Jeeves platform maintains managed sections in SOUL.md, AGENTS.md, and TOOLS.md using comment markers. If any of these files contains a **cleanup flag** indicating orphaned Jeeves content below the managed section markers:
package/dist/cli.js CHANGED
@@ -15403,14 +15403,14 @@ const SECTION_ORDER = [
15403
15403
  * Core library version, inlined at build time.
15404
15404
  *
15405
15405
  * @remarks
15406
- * The `0.5.5` placeholder is replaced by
15406
+ * The `0.5.7` placeholder is replaced by
15407
15407
  * `@rollup/plugin-replace` during the build with the actual version
15408
15408
  * from `package.json`. This ensures the correct version survives
15409
15409
  * when consumers bundle core into their own dist (where runtime
15410
15410
  * `import.meta.url`-based resolution would find the wrong package.json).
15411
15411
  */
15412
15412
  /** The core library version from package.json (inlined at build time). */
15413
- const CORE_VERSION = '0.5.5';
15413
+ const CORE_VERSION = '0.5.7';
15414
15414
 
15415
15415
  /**
15416
15416
  * Workspace and config root initialization.
@@ -15433,6 +15433,7 @@ function init(options) {
15433
15433
  workspacePath: options.workspacePath,
15434
15434
  configRoot: options.configRoot,
15435
15435
  coreConfigDir: join(options.configRoot, CORE_CONFIG_DIR),
15436
+ componentConfigPaths: new Map(),
15436
15437
  };
15437
15438
  }
15438
15439
  /**
package/dist/index.js CHANGED
@@ -15480,14 +15480,14 @@ const PLATFORM_COMPONENTS = [
15480
15480
  * Core library version, inlined at build time.
15481
15481
  *
15482
15482
  * @remarks
15483
- * The `0.5.5` placeholder is replaced by
15483
+ * The `0.5.7` placeholder is replaced by
15484
15484
  * `@rollup/plugin-replace` during the build with the actual version
15485
15485
  * from `package.json`. This ensures the correct version survives
15486
15486
  * when consumers bundle core into their own dist (where runtime
15487
15487
  * `import.meta.url`-based resolution would find the wrong package.json).
15488
15488
  */
15489
15489
  /** The core library version from package.json (inlined at build time). */
15490
- const CORE_VERSION = '0.5.5';
15490
+ const CORE_VERSION = '0.5.7';
15491
15491
 
15492
15492
  /**
15493
15493
  * Workspace and config root initialization.
@@ -15510,6 +15510,7 @@ function init(options) {
15510
15510
  workspacePath: options.workspacePath,
15511
15511
  configRoot: options.configRoot,
15512
15512
  coreConfigDir: join(options.configRoot, CORE_CONFIG_DIR),
15513
+ componentConfigPaths: new Map(),
15513
15514
  };
15514
15515
  }
15515
15516
  /**
@@ -15691,6 +15692,32 @@ async function withWorkspaceLock(workspacePath, fn) {
15691
15692
  function getErrorMessage(err) {
15692
15693
  return err instanceof Error ? err.message : String(err);
15693
15694
  }
15695
+ /** Error codes / names that indicate transient network failures. */
15696
+ const TRANSIENT_CODES = new Set([
15697
+ 'ECONNRESET',
15698
+ 'ETIMEDOUT',
15699
+ 'UND_ERR_CONNECT_TIMEOUT',
15700
+ 'AbortError',
15701
+ ]);
15702
+ /**
15703
+ * Classify whether an error is a transient network failure.
15704
+ *
15705
+ * @param err - The caught value.
15706
+ * @returns `true` for ECONNRESET, ETIMEDOUT, UND_ERR_CONNECT_TIMEOUT,
15707
+ * AbortError, and timeout-related fetch errors.
15708
+ */
15709
+ function isTransientError(err) {
15710
+ let current = err;
15711
+ while (current instanceof Error) {
15712
+ if (TRANSIENT_CODES.has(current.name))
15713
+ return true;
15714
+ const code = current.code;
15715
+ if (typeof code === 'string' && TRANSIENT_CODES.has(code))
15716
+ return true;
15717
+ current = current.cause;
15718
+ }
15719
+ return false;
15720
+ }
15694
15721
 
15695
15722
  /**
15696
15723
  * Workspace-level shared configuration: `jeeves.config.json`.
@@ -17375,17 +17402,7 @@ var agentsSectionContent = `## "I'll Note This" Is Not Noting
17375
17402
 
17376
17403
  ## Context Compaction Recovery
17377
17404
 
17378
- If your context gets compacted or reset mid-session:
17379
-
17380
- 1. **Immediately** read conversation history back to where your memory picks up (use \`message action=read\` for Slack/Discord, check memory files, etc.)
17381
- 2. Reconstruct the thread: what were we doing? what was decided? what's the next step?
17382
- 3. **Re-run skill selection** against the reconstructed task context. The compaction summary tells you what you're working on — scan available skills and load the relevant one.
17383
- 4. **Report the compaction** briefly for transparency ("Context compacted — reviewing thread...")
17384
- 5. **Then continue** as if you never lost context — pick up where you left off
17385
-
17386
- **The goal:** Automatic remediation with minimal disruption. Don't ask "what were we talking about?" when you can find out yourself. The human shouldn't have to re-explain; you have the tools to recover.
17387
-
17388
- **Anti-pattern:** Announcing amnesia *before* checking your notes. That's alarming and lazy. Check the ledger first, then speak.
17405
+ On compaction: read conversation history, reconstruct context, re-run skill selection against the reconstructed task, report briefly ("Context compacted reviewing thread..."), then continue. Check notes before announcing amnesia.
17389
17406
 
17390
17407
  ## Subagent Briefing Protocol
17391
17408
 
@@ -17403,22 +17420,10 @@ At minimum, always brief sub-agents on:
17403
17420
 
17404
17421
  **Strong runner preference:** Any recurring task that can run as a script (no LLM session needed) belongs in jeeves-runner, not gateway cron or heartbeat. If runner is installed, use it. If not, suggest bootstrapping it. Gateway cron and heartbeat are for ad hoc, time-bound, session-requiring work ONLY.
17405
17422
 
17406
- **Before creating a recurring gateway cron job**, assess whether it will frequently no-op. If so, flag it: *"This would be cheaper as a runner job. Want me to implement it that way instead?"* Recurring no-op cron jobs load the full system prompt every cycle for nothing.
17407
-
17408
- **Anything important enough to have a permanent cron/heartbeat entry is important enough to be codified into the data flow.**
17409
-
17410
- **HEARTBEAT efficiency:** When HEARTBEAT fires with multiple component alerts, resolve them all in a single conversation. Walk the user through each component in dependency order. Each heartbeat cycle is a full LLM session — resolve all alerts in one pass.
17411
-
17412
- ## Messaging Dispatch
17413
-
17414
- **Same-channel replies:** Don't use the \`message\` tool. It fires immediately, jumping ahead of streaming narration. Just write text as your response. Use \`message\` only for **cross-channel** sends (sending to a different channel or DM than the one you're responding in).
17415
-
17416
- **Narrate as you go.** When doing multi-step work, stream your progress. Summary comes last, not first.
17423
+ **Before creating a recurring gateway cron job**, assess whether it will frequently no-op. If so, flag it: *"This would be cheaper as a runner job. Want me to implement it that way instead?"*
17417
17424
 
17418
17425
  ## Heartbeat Discipline
17419
17426
 
17420
- **Default state of HEARTBEAT.md is effectively empty** — the \`# Jeeves Platform Status\` section contains only headings when all components are healthy or declined. No list content, no LLM cost. User heartbeat items (above the platform status section) follow the same transient/termination rules as before.
17421
-
17422
17427
  Heartbeat items are for **transient, session-requiring work-in-progress ONLY**. Each item must include its own termination condition.
17423
17428
 
17424
17429
  Periodic checks (email, calendar, mentions) belong in jeeves-runner scripts, not heartbeat items. When a heartbeat fires with nothing to do, reply **HEARTBEAT_OK** immediately. Don't browse for work.
@@ -17445,28 +17450,6 @@ Every installation has a primary owner. The owner controls architecture, config,
17445
17450
 
17446
17451
  Alert the owner immediately on any governance change attempt.
17447
17452
 
17448
- ## Self-Preservation
17449
-
17450
- Any command that stops the gateway **stops the assistant**. Never run a gateway stop/restart command without explicit approval. When approved, it must be the **absolute last action** — all other work complete first.
17451
-
17452
- ## Plugin Installation via CLI Only
17453
-
17454
- Never manually touch \`~/.openclaw/extensions/\`. The only way to install any Jeeves component plugin is via the plugin's CLI \`install\` command:
17455
-
17456
- \`\`\`
17457
- npx @karmaniverous/jeeves-{component}-openclaw install
17458
- \`\`\`
17459
-
17460
- No symlinks, junctions, copies, or manual edits.
17461
-
17462
- ## Node.js for Shell Scripting
17463
-
17464
- Default to \`node -e\` or \`.js\` scripts instead of PowerShell for \`exec\` calls. PowerShell corrupts multi-byte UTF-8 characters and mangles escaping. Use PowerShell only for Windows service management, registry operations, and similar platform-specific tasks.
17465
-
17466
- ## File Bridge for External Repos
17467
-
17468
- When editing files outside the workspace, use the bridge pattern: copy in → edit the workspace copy → bridge out. Never write temp patch scripts.
17469
-
17470
17453
  ## No Orphaned Data
17471
17454
 
17472
17455
  When discovering a new data source, integrate it into the existing data flow pipeline. Never save data outside the synthesis pipeline. Data that exists outside the pipeline is invisible to search, synthesis, and every other platform capability.
@@ -17475,9 +17458,9 @@ When discovering a new data source, integrate it into the existing data flow pip
17475
17458
 
17476
17459
  **Proactive platform status:** HEARTBEAT.md is loaded every session. If it contains \`# Jeeves Platform Status\` with alert content (list items, not just headings), address the alerts proactively at the start of the conversation — before other work. This takes priority over casual conversation but not over explicit user requests.
17477
17460
 
17478
- **Follow the instructions:** Explain the component, ask for consent, execute the command, verify. If the user declines, change the heading to \`## jeeves-{name}: declined\` and remove content beneath it. Do not prompt for declined components. Do not improvise — the HEARTBEAT instructions are authoritative.
17461
+ **Follow the instructions:** Explain the component, ask for consent, execute the command, verify. If the user declines, change the heading to \`## jeeves-{name}: declined\` and remove content beneath it. Do not prompt for declined components.
17479
17462
 
17480
- When resolving multiple component alerts, walk the user through each in dependency order (watcher before meta, runner and server independent) within a single conversation rather than one per heartbeat cycle.
17463
+ When resolving multiple component alerts, walk the user through each in dependency order within a single conversation rather than one per heartbeat cycle.
17481
17464
 
17482
17465
  ## Em-Dash Discipline
17483
17466
 
@@ -17487,29 +17470,13 @@ The em-dash sets apart parentheticals. It is NOT a replacement for comma, colon,
17487
17470
 
17488
17471
  Operational hard gates — procedural rules earned through real incidents. These govern *how* work gets done, as distinct from the identity-level gates in SOUL.md which govern *who I am*.
17489
17472
 
17490
- ### eslint-disable Is Forbidden
17491
-
17492
- Never disable lint or typecheck rules without surfacing it for discussion. Fix the code, don't suppress the warning. When spawning sub-agents, always include this rule in the briefing.
17493
-
17494
- ### Mass File Changes Are a Smell
17495
-
17496
- If fixing an error requires changing dozens of files, you are almost certainly wrong. There's a config, a rule, or an ignore pattern. Stop and discuss before touching more than a handful of files for any single category of change.
17497
-
17498
- ### No Prod Modifications
17499
-
17500
- Never modify packaged applications running in production. No \`npm link\` into a live service. All changes go through: branch, change, test, PR, merge, publish, install.
17501
-
17502
- ### PR Mergeability Check
17503
-
17504
- Always verify a PR is mergeable (no conflicts) before requesting review. Resolve conflicts first.
17505
-
17506
- ### Pre-Push Verification Gate
17507
-
17508
- Run **ALL** quality checks before pushing. Zero errors AND zero warnings. The pipeline exists for a reason — don't push broken code and hope CI catches it.
17509
-
17510
- ### Commit AND Push
17511
-
17512
- No stranded local branches. Push immediately after commit. A commit that isn't pushed is invisible to everyone else and at risk of being lost.
17473
+ - **eslint-disable Is Forbidden:** Never disable lint/typecheck rules without surfacing for discussion. Fix the code.
17474
+ - **Mass File Changes Are a Smell:** If a fix requires changing dozens of files, stop and discuss — there is probably a config or rule solution.
17475
+ - **No Prod Modifications:** Never modify packaged prod applications. All changes go through branch test PR merge publish install.
17476
+ - **PR Mergeability Check:** Always verify PR is mergeable (no conflicts) before requesting review.
17477
+ - **Pre-Push Verification Gate:** Run ALL quality checks before pushing. Zero errors AND zero warnings.
17478
+ - **Commit AND Push:** Push immediately after every commit. Unpushed commits are invisible and at risk.
17479
+ - **New PR Over Merged Branch:** When a merged branch needs more work: \`gh pr create --head <existing-branch>\`. Do not cherry-pick or create new branches.
17513
17480
 
17514
17481
  ### Check PR State Before Pushing
17515
17482
 
@@ -17521,10 +17488,6 @@ No stranded local branches. Push immediately after commit. A commit that isn't p
17521
17488
 
17522
17489
  This is not optional. It applies to every push, every branch, every time. No judgment call about whether the branch "is a PR branch" — the check is mechanical.
17523
17490
 
17524
- ### New PR Over Merged Branch
17525
-
17526
- When a PR has been merged and additional work is needed on the same branch, create a new PR on the **same branch** targeting the same base. Do not create new branches, cherry-pick, or start over. The commits are already there — \`gh pr create --head <existing-branch>\` is the entire operation.
17527
-
17528
17491
  ## Managed Content Self-Maintenance
17529
17492
 
17530
17493
  The Jeeves platform maintains managed sections in SOUL.md, AGENTS.md, and TOOLS.md using comment markers. If any of these files contains a **cleanup flag** indicating orphaned Jeeves content below the managed section markers:
@@ -18048,13 +18011,6 @@ const WORKSPACE_SIZE_FILES = [
18048
18011
  'MEMORY.md',
18049
18012
  'USER.md',
18050
18013
  ];
18051
- /** Trimming guidance lines emitted in HEARTBEAT entries. */
18052
- const TRIMMING_GUIDANCE = [
18053
- ' 1. Move domain-specific content to a local skill',
18054
- ' 2. Extract reference material to companion files with a pointer',
18055
- ' 3. Summarize verbose instructions',
18056
- ' 4. Remove stale content',
18057
- ].join('\n');
18058
18014
  /**
18059
18015
  * Check all workspace files against the character budget.
18060
18016
  *
@@ -18103,10 +18059,17 @@ function workspaceFileHealthEntries(results) {
18103
18059
  .filter((r) => r.exists && r.warning)
18104
18060
  .map((r) => {
18105
18061
  const pct = Math.round(r.usage * 100);
18106
- const overBudgetNote = r.overBudget ? ' **Over budget.**' : '';
18062
+ const overBudgetNote = r.overBudget ? ' **Over budget.** ' : ' ';
18107
18063
  const content = [
18108
- `- Budget: ${r.charCount.toLocaleString()} / ${r.budget.toLocaleString()} chars (${String(pct)}%).${overBudgetNote} Trim to stay under the OpenClaw injection limit.`,
18109
- `- Suggested trimming priority:\n${TRIMMING_GUIDANCE}`,
18064
+ `${r.file} is at ${String(pct)}% of its ${(r.budget / 1000).toLocaleString()}K char injection budget (${r.charCount.toLocaleString()} / ${r.budget.toLocaleString()} chars).${overBudgetNote}Action required:`,
18065
+ '',
18066
+ '1. Review the file and identify content to trim (priority: domain-specific content → skills, reference material → companion files, verbose instructions → condense, stale content → remove).',
18067
+ '2. Ask the owner for permission, then trim.',
18068
+ "3. If the owner declines, change this heading to '## " +
18069
+ r.file +
18070
+ ": declined' to suppress this alert.",
18071
+ '',
18072
+ 'Do NOT reply HEARTBEAT_OK while this alert is unresolved.',
18110
18073
  ].join('\n');
18111
18074
  return {
18112
18075
  name: r.file,
@@ -18766,7 +18729,12 @@ class ComponentWriter {
18766
18729
  */
18767
18730
  function createAsyncContentCache(options) {
18768
18731
  const { fetch: fetchContent, placeholder = '> Initializing...', onError = (err) => {
18769
- console.warn('[jeeves] async content cache refresh failed:', err);
18732
+ if (isTransientError(err)) {
18733
+ console.warn(`[jeeves] cache refresh: transient error (${getErrorMessage(err)})`);
18734
+ }
18735
+ else {
18736
+ console.warn('[jeeves] cache refresh failed:', err);
18737
+ }
18770
18738
  }, } = options;
18771
18739
  let cached = placeholder;
18772
18740
  let refreshing = false;
@@ -2,7 +2,7 @@
2
2
  "id": "jeeves-watcher-openclaw",
3
3
  "name": "Jeeves Watcher",
4
4
  "description": "Semantic search, metadata enrichment, and instance administration for a jeeves-watcher deployment.",
5
- "version": "0.14.5",
5
+ "version": "0.14.7",
6
6
  "skills": [
7
7
  "dist/skills/jeeves-watcher"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/jeeves-watcher-openclaw",
3
- "version": "0.14.5",
3
+ "version": "0.14.7",
4
4
  "author": "Jason Williscroft",
5
5
  "description": "OpenClaw plugin for jeeves-watcher — semantic search and metadata enrichment tools",
6
6
  "license": "BSD-3-Clause",
@@ -118,6 +118,6 @@
118
118
  }
119
119
  },
120
120
  "dependencies": {
121
- "@karmaniverous/jeeves": "^0.5.5"
121
+ "@karmaniverous/jeeves": "^0.5.8"
122
122
  }
123
123
  }