@karmaniverous/jeeves-meta-openclaw 0.13.3 → 0.14.0

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.
@@ -213,8 +213,8 @@ Key settings:
213
213
  | `port` | 1938 | HTTP API listen port |
214
214
 
215
215
  | `schedule` | `*/30 * * * *` | Cron expression for automatic synthesis scheduling |
216
- | `serverBaseUrl` | (optional) | Public base URL of the service (e.g. `http://myhost:1938`). When set, progress reports include clickable entity links. |
217
- | `serverDriveRoots` | (optional) | Drive label to absolute path mapping for Linux path resolution in progress links (e.g. `{ "content": "/opt/jeeves/content" }`). |
216
+ | `serverUrl` | `http://127.0.0.1:1934` | jeeves-server base URL for progress report links |
217
+ | `templates` | (see docs) | Templates for phase start, end, and error progress reports |
218
218
  | `reportChannel` | (optional) | Gateway channel name (e.g. `slack`). Legacy: also used as target if `reportTarget` is unset. |
219
219
  | `reportTarget` | (optional) | Channel/user ID to send progress messages to |
220
220
  | `tier2ScanLimit` | 50 | Max all-fresh candidates to scan per tick in Tier 2 invalidation |
@@ -583,6 +583,8 @@ Recommended periodic checks:
583
583
  - **Phase health:** `/status` includes `phaseStateSummary` with aggregate
584
584
  counts per phase (`fresh`, `stale`, `pending`, `running`, `failed`) and
585
585
  `nextPhase` showing the next candidate.
586
+ - **Meta counts:** `/status` includes `health.metaCounts` with totals:
587
+ `total`, `enabled`, `disabled`, `neverSynthesized`, `stale`, `errors`, and `locked`.
586
588
  - **Service health:** `/status` endpoint (via `meta_list` summary or direct
587
589
  HTTP) includes dependency status for watcher and gateway
588
590
 
@@ -7,5 +7,6 @@
7
7
  * @packageDocumentation
8
8
  */
9
9
  import { type PluginApi } from '@karmaniverous/jeeves';
10
+ export { type PluginConfig, pluginConfigSchema } from './pluginConfigSchema.js';
10
11
  /** Register all jeeves-meta tools with the OpenClaw plugin API. */
11
12
  export default function register(api: PluginApi): void;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Zod schema for the jeeves-meta OpenClaw plugin configuration.
3
+ *
4
+ * This is the source of truth for the plugin configSchema.
5
+ * The build-time script `scripts/generate-plugin-schema.mjs` derives
6
+ * the JSON Schema in `openclaw.plugin.json` from this definition.
7
+ *
8
+ * @module pluginConfigSchema
9
+ */
10
+ import { z } from 'zod';
11
+ /** Zod schema for the jeeves-meta OpenClaw plugin configuration. */
12
+ export declare const pluginConfigSchema: z.ZodObject<{
13
+ apiUrl: z.ZodDefault<z.ZodString>;
14
+ configRoot: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ /** Inferred type for the plugin configuration. */
17
+ export type PluginConfig = z.infer<typeof pluginConfigSchema>;
@@ -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.13.3",
5
+ "version": "0.14.0",
6
6
  "skills": [
7
7
  "dist/skills/jeeves-meta"
8
8
  ],
@@ -10,15 +10,16 @@
10
10
  "type": "object",
11
11
  "properties": {
12
12
  "apiUrl": {
13
- "type": "string",
13
+ "default": "http://127.0.0.1:1938",
14
14
  "description": "URL of the jeeves-meta HTTP service. Falls back to JEEVES_META_URL env var.",
15
- "default": "http://127.0.0.1:1938"
15
+ "type": "string"
16
16
  },
17
17
  "configRoot": {
18
- "type": "string",
19
- "description": "Absolute path to the platform config root (e.g. j:/config). Used by @karmaniverous/jeeves core for config directory resolution."
18
+ "description": "Absolute path to the platform config root (e.g. j:/config). Used by @karmaniverous/jeeves core for config directory resolution.",
19
+ "type": "string"
20
20
  }
21
- }
21
+ },
22
+ "additionalProperties": false
22
23
  },
23
24
  "contracts": {
24
25
  "tools": [
package/package.json CHANGED
@@ -96,10 +96,11 @@
96
96
  "url": "git+https://github.com/karmaniverous/jeeves-meta.git"
97
97
  },
98
98
  "scripts": {
99
- "build": "npm run build:plugin && npm run build:skills && npm run build:content",
99
+ "build": "npm run build:plugin && npm run generate-schema && npm run build:skills && npm run build:content",
100
100
  "build:content": "node scripts/copy-content.mjs",
101
101
  "build:plugin": "rimraf dist && cross-env NO_COLOR=1 rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
102
102
  "build:skills": "node scripts/build-skills.mjs",
103
+ "generate-schema": "node scripts/generate-plugin-schema.mjs",
103
104
  "changelog": "git-cliff -o CHANGELOG.md",
104
105
  "diagrams": "cd diagrams && plantuml -tpng -o ../assets -r .",
105
106
  "knip": "knip",
@@ -112,5 +113,5 @@
112
113
  },
113
114
  "type": "module",
114
115
  "types": "dist/index.d.ts",
115
- "version": "0.13.3"
116
+ "version": "0.14.0"
116
117
  }