@karmaniverous/jeeves-meta-openclaw 0.9.2 → 0.9.3

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/dist/index.js CHANGED
@@ -18279,20 +18279,22 @@ async function generateMetaMenu(client) {
18279
18279
  ')'
18280
18280
  : 'n/a';
18281
18281
  // Service status + dependency health
18282
+ // The core SDK's createStatusHandler nests getHealth() under `health`.
18283
+ const { dependencies } = status.health;
18282
18284
  const depLines = [];
18283
- if (status.dependencies.watcher.status === 'indexing') {
18285
+ if (dependencies.watcher.status === 'indexing') {
18284
18286
  depLines.push('> ⏳ **Watcher indexing**: Initial filesystem scan in progress. Synthesis will resume when complete.');
18285
18287
  }
18286
- else if (status.dependencies.watcher.status !== 'ok' &&
18287
- status.dependencies.watcher.status !== 'indexing') {
18288
- depLines.push('> ⚠️ **Watcher**: ' + status.dependencies.watcher.status);
18288
+ else if (dependencies.watcher.status !== 'ok' &&
18289
+ dependencies.watcher.status !== 'indexing') {
18290
+ depLines.push('> ⚠️ **Watcher**: ' + dependencies.watcher.status);
18289
18291
  }
18290
- if (status.dependencies.watcher.rulesRegistered === false &&
18291
- status.dependencies.watcher.status === 'ok') {
18292
+ if (dependencies.watcher.rulesRegistered === false &&
18293
+ dependencies.watcher.status === 'ok') {
18292
18294
  depLines.push('> ⚠️ **Watcher rules not registered**: Meta files may not render properly in search/server.');
18293
18295
  }
18294
- if (status.dependencies.gateway.status !== 'ok') {
18295
- depLines.push('> ⚠️ **Gateway**: ' + status.dependencies.gateway.status);
18296
+ if (dependencies.gateway.status !== 'ok') {
18297
+ depLines.push('> ⚠️ **Gateway**: ' + dependencies.gateway.status);
18296
18298
  }
18297
18299
  return [
18298
18300
  'The jeeves-meta synthesis engine manages ' +
@@ -18718,6 +18720,11 @@ function register(api) {
18718
18720
  '-c',
18719
18721
  configPath,
18720
18722
  ],
18723
+ // Plugin-side descriptor is only used by ComponentWriter for managed
18724
+ // content. The real run callback lives in the service descriptor.
18725
+ run: () => {
18726
+ return Promise.reject(new Error('run() is not available on the plugin-side descriptor'));
18727
+ },
18721
18728
  sectionId: 'Meta',
18722
18729
  refreshIntervalSeconds: 73,
18723
18730
  generateToolsContent: getContent,
@@ -7,24 +7,38 @@
7
7
  *
8
8
  * @module serviceClient
9
9
  */
10
- /** Service status response from GET /status. */
10
+ /** Watcher dependency health within the status response. */
11
+ export interface WatcherDepHealth {
12
+ status: string;
13
+ rulesRegistered?: boolean;
14
+ indexing?: boolean;
15
+ }
16
+ /** Gateway dependency health within the status response. */
17
+ export interface GatewayDepHealth {
18
+ status: string;
19
+ }
20
+ /**
21
+ * Service status response from GET /status.
22
+ *
23
+ * The jeeves-core `createStatusHandler` wraps `getHealth()` output under
24
+ * a top-level `health` key. Dependency info lives at `health.dependencies`.
25
+ */
11
26
  export interface StatusResponse {
27
+ /** Service name. */
28
+ name: string;
12
29
  /** Service uptime in seconds. */
13
30
  uptime: number;
14
- /** Current service status (idle, synthesizing, stopping, degraded). */
31
+ /** Overall status (healthy, degraded, unhealthy). */
15
32
  status: string;
16
33
  /** Service version. */
17
34
  version?: string;
18
- /** Dependency health. */
19
- dependencies: {
20
- watcher: {
21
- status: string;
22
- rulesRegistered?: boolean;
23
- indexing?: boolean;
24
- };
25
- gateway: {
26
- status: string;
35
+ /** Component-specific health details from getHealth(). */
36
+ health: {
37
+ dependencies: {
38
+ watcher: WatcherDepHealth;
39
+ gateway: GatewayDepHealth;
27
40
  };
41
+ [key: string]: unknown;
28
42
  };
29
43
  }
30
44
  /** Summary block in the metas response. */
@@ -2,7 +2,7 @@
2
2
  "id": "jeeves-meta-openclaw",
3
3
  "name": "Jeeves Meta",
4
4
  "description": "Knowledge synthesis tools — trigger synthesis, view status, manage entities.",
5
- "version": "0.9.2",
5
+ "version": "0.9.3",
6
6
  "skills": [
7
7
  "dist/skills/jeeves-meta"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/jeeves-meta-openclaw",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "author": "Jason Williscroft",
5
5
  "description": "OpenClaw plugin for jeeves-meta — synthesis tools and virtual rule registration",
6
6
  "license": "BSD-3-Clause",