@karmaniverous/jeeves-meta-openclaw 0.14.0 → 0.15.0-1

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/README.md CHANGED
@@ -1,16 +1,14 @@
1
1
  # @karmaniverous/jeeves-meta-openclaw
2
2
 
3
- OpenClaw plugin for [jeeves-meta](../service/). A thin HTTP client that registers interactive tools and uses [`@karmaniverous/jeeves`](https://github.com/karmaniverous/jeeves) core for managed TOOLS.md content writing and platform maintenance.
3
+ OpenClaw plugin for [jeeves-meta](https://github.com/karmaniverous/jeeves-meta/tree/main/packages/service). A standard OpenClaw plugin and thin HTTP client that registers interactive tools on top of the [`@karmaniverous/jeeves`](https://github.com/karmaniverous/jeeves) core SDK. It writes no workspace files: static platform content is rendered by `jeeves install`, and live state is served by the tools.
4
4
 
5
5
  ## Features
6
6
 
7
7
  - **Twelve tools** — standard: `meta_status`, `meta_config`, `meta_config_apply`, `meta_service`; custom: `meta_list`, `meta_detail`, `meta_trigger`, `meta_preview`, `meta_seed`, `meta_unlock`, `meta_queue` (list/clear/abort), `meta_update`
8
8
  - **MetaServiceClient** — typed HTTP client delegating all operations to the running service
9
- - **TOOLS.md injection** — periodic refresh of entity stats, phase-state summary, failed-phase alerts, and next-phase indicator via `ComponentWriter` from `@karmaniverous/jeeves` (73-second prime interval)
10
9
  - **Phase-state awareness** — tools expose per-meta `_phaseState`, `owedPhase`, and phase-state summary from the service's phase-state machine
11
- - **Cleanup escalation** — passes `gatewayUrl` into `ComponentWriter` so managed-content cleanup can request a gateway session when needed
12
- - **Dependency health** — shows warnings when watcher/gateway are degraded
13
- - **Consumer skill** — `SKILL.md` for agent integration
10
+ - **Lazy config** — registers with no config; `configRoot` is resolved when a tool needs it
11
+ - **Consumer skill** — `jeeves-meta` skill shipped through the plugin manifest
14
12
 
15
13
  ## Plugin Lifecycle
16
14
 
@@ -18,24 +16,28 @@ OpenClaw plugin for [jeeves-meta](../service/). A thin HTTP client that register
18
16
 
19
17
  ## Install
20
18
 
19
+ Install with the Jeeves CLI, which runs the OpenClaw install and writes the plugin config:
20
+
21
21
  ```bash
22
- npm install @karmaniverous/jeeves-meta-openclaw
22
+ jeeves install meta --config-root j:/config
23
23
  ```
24
24
 
25
- Then run the CLI installer to register with the OpenClaw gateway:
25
+ Or install it as a standard OpenClaw plugin and configure it yourself:
26
26
 
27
27
  ```bash
28
- npx @karmaniverous/jeeves-meta-openclaw install
28
+ openclaw plugins install npm:@karmaniverous/jeeves-meta-openclaw@<version> --pin --accept-capabilities
29
29
  ```
30
30
 
31
+ Restart the gateway afterwards. There is no plugin-specific installer (the `npx @karmaniverous/jeeves-meta-openclaw install` CLI was removed in favour of `jeeves install`).
32
+
31
33
  ## Configuration
32
34
 
33
- The plugin resolves settings via a three-step fallback chain: plugin config → environment variable → default.
35
+ The plugin resolves settings via a fallback chain: plugin config → environment variable → default.
34
36
 
35
37
  | Setting | Plugin Config Key | Env Var | Default |
36
- |---------|-------------------|---------|---------|
38
+ | --- | --- | --- | --- |
37
39
  | Service URL | `apiUrl` | `JEEVES_META_URL` | `http://127.0.0.1:1938` |
38
- | Config Root | `configRoot` | `JEEVES_CONFIG_ROOT` | `j:/config` |
40
+ | Config Root | `configRoot` | `JEEVES_CONFIG_ROOT` | _none_ |
39
41
 
40
42
  ```json
41
43
  {
@@ -53,14 +55,21 @@ The plugin resolves settings via a three-step fallback chain: plugin config →
53
55
  }
54
56
  ```
55
57
 
56
- The `configRoot` setting tells `@karmaniverous/jeeves` core where to find the platform config directory. Core derives `{configRoot}/jeeves-meta/` for component-specific configuration.
58
+ The `configRoot` setting tells `@karmaniverous/jeeves` core where to find the platform config directory. Core derives `{configRoot}/jeeves-meta/` for component-specific configuration. It has no default: `jeeves install --config-root <path>` writes it.
59
+
60
+ `configRoot` is resolved **lazily**. Registration always succeeds without it (with a running gateway, `openclaw plugins install` activates the plugin before `jeeves install` writes its config), logging one warning:
61
+
62
+ ```text
63
+ [jeeves-meta] configRoot not configured yet — meta_service install will be unavailable until it is set in plugin config or JEEVES_CONFIG_ROOT
64
+ ```
65
+
66
+ Only `meta_service` with `action: "install"` reads it (core resolves the service config path from it); invoked without it, that call returns an error naming both ways to set it. Core `init()` runs the first time `configRoot` resolves. The other `meta_service` actions (`status`, `start`, `stop`, `restart`, `uninstall`) address the OS service by name, and every other tool only talks HTTP to the service at `apiUrl`, so all of them work without it.
57
67
 
58
68
  ## Documentation
59
69
 
60
70
  - **[Plugin Setup](guides/plugin-setup.md)** — installation, config, lifecycle
61
71
  - **[Tools Reference](guides/tools-reference.md)** — 12 tools: standard (meta_status, meta_config, meta_config_apply, meta_service) + custom (meta_list, meta_detail, meta_trigger, meta_preview, meta_seed, meta_unlock, meta_queue, meta_update)
62
72
  - **[Virtual Rules](guides/virtual-rules.md)** — watcher inference rules
63
- - **[TOOLS.md Injection](guides/tools-injection.md)** — dynamic prompt generation
64
73
 
65
74
  ## License
66
75