@karmaniverous/jeeves-meta-openclaw 0.9.1 → 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/cli.js +2 -2
- package/dist/index.js +17 -10
- package/dist/src/serviceClient.d.ts +25 -11
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -15307,14 +15307,14 @@ const SECTION_ORDER = [
|
|
|
15307
15307
|
* Core library version, inlined at build time.
|
|
15308
15308
|
*
|
|
15309
15309
|
* @remarks
|
|
15310
|
-
* The `0.4.
|
|
15310
|
+
* The `0.4.5` placeholder is replaced by
|
|
15311
15311
|
* `@rollup/plugin-replace` during the build with the actual version
|
|
15312
15312
|
* from `package.json`. This ensures the correct version survives
|
|
15313
15313
|
* when consumers bundle core into their own dist (where runtime
|
|
15314
15314
|
* `import.meta.url`-based resolution would find the wrong package.json).
|
|
15315
15315
|
*/
|
|
15316
15316
|
/** The core library version from package.json (inlined at build time). */
|
|
15317
|
-
const CORE_VERSION = '0.4.
|
|
15317
|
+
const CORE_VERSION = '0.4.5';
|
|
15318
15318
|
|
|
15319
15319
|
/**
|
|
15320
15320
|
* Workspace and config root initialization.
|
package/dist/index.js
CHANGED
|
@@ -15477,14 +15477,14 @@ const PLATFORM_COMPONENTS = [
|
|
|
15477
15477
|
* Core library version, inlined at build time.
|
|
15478
15478
|
*
|
|
15479
15479
|
* @remarks
|
|
15480
|
-
* The `0.4.
|
|
15480
|
+
* The `0.4.5` placeholder is replaced by
|
|
15481
15481
|
* `@rollup/plugin-replace` during the build with the actual version
|
|
15482
15482
|
* from `package.json`. This ensures the correct version survives
|
|
15483
15483
|
* when consumers bundle core into their own dist (where runtime
|
|
15484
15484
|
* `import.meta.url`-based resolution would find the wrong package.json).
|
|
15485
15485
|
*/
|
|
15486
15486
|
/** The core library version from package.json (inlined at build time). */
|
|
15487
|
-
const CORE_VERSION = '0.4.
|
|
15487
|
+
const CORE_VERSION = '0.4.5';
|
|
15488
15488
|
|
|
15489
15489
|
/**
|
|
15490
15490
|
* Workspace and config root initialization.
|
|
@@ -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 (
|
|
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 (
|
|
18287
|
-
|
|
18288
|
-
depLines.push('> ⚠️ **Watcher**: ' +
|
|
18288
|
+
else if (dependencies.watcher.status !== 'ok' &&
|
|
18289
|
+
dependencies.watcher.status !== 'indexing') {
|
|
18290
|
+
depLines.push('> ⚠️ **Watcher**: ' + dependencies.watcher.status);
|
|
18289
18291
|
}
|
|
18290
|
-
if (
|
|
18291
|
-
|
|
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 (
|
|
18295
|
-
depLines.push('> ⚠️ **Gateway**: ' +
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
31
|
+
/** Overall status (healthy, degraded, unhealthy). */
|
|
15
32
|
status: string;
|
|
16
33
|
/** Service version. */
|
|
17
34
|
version?: string;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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. */
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmaniverous/jeeves-meta-openclaw",
|
|
3
|
-
"version": "0.9.
|
|
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",
|
|
@@ -120,6 +120,6 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"dependencies": {
|
|
123
|
-
"@karmaniverous/jeeves": "^0.4.
|
|
123
|
+
"@karmaniverous/jeeves": "^0.4.6"
|
|
124
124
|
}
|
|
125
125
|
}
|