@karmaniverous/jeeves-watcher-openclaw 0.17.0 → 0.18.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.
- package/README.md +18 -13
- package/dist/index.js +1118 -858
- package/dist/scripts/build-skills.d.ts +1 -1
- package/dist/skills/jeeves-watcher/SKILL.md +96 -44
- package/dist/src/auth.test.d.ts +1 -1
- package/dist/src/catalogTools.d.ts +96 -0
- package/dist/src/catalogTools.test.d.ts +5 -0
- package/dist/src/distSmoke.test.d.ts +5 -0
- package/dist/src/helpers.d.ts +3 -3
- package/dist/src/manifest.test.d.ts +1 -1
- package/dist/src/promptContext.d.ts +10 -10
- package/dist/src/skillFiles.d.ts +14 -0
- package/dist/src/test/distFreshness.d.ts +20 -0
- package/dist/src/test/distFreshness.test.d.ts +5 -0
- package/dist/src/test/surfaceDiff.d.ts +27 -0
- package/dist/src/test/toolRenames.d.ts +13 -0
- package/dist/src/toolGating.d.ts +6 -8
- package/dist/src/toolSurface.test.d.ts +5 -0
- package/dist/src/watcherComponent.d.ts +3 -4
- package/openclaw.plugin.json +11 -11
- package/package.json +14 -11
- package/dist/src/apiTool.d.ts +0 -45
- package/dist/src/configTools.d.ts +0 -14
- package/dist/src/configTools.test.d.ts +0 -5
- package/dist/src/http.d.ts +0 -19
- package/dist/src/http.test.d.ts +0 -5
- package/dist/src/toolTestHarness.d.ts +0 -23
- package/dist/src/vcsTools.d.ts +0 -7
- package/dist/src/vcsTools.test.d.ts +0 -1
- package/dist/src/watcherTools.d.ts +0 -21
- package/dist/src/watcherTools.test.d.ts +0 -1
- /package/dist/src/{apiTool.test.d.ts → skillFiles.test.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -11,15 +11,19 @@ A running [jeeves-watcher](https://www.npmjs.com/package/@karmaniverous/jeeves-w
|
|
|
11
11
|
The plugin is a standard OpenClaw plugin with no installer of its own. On a Jeeves box, `jeeves install` (from [`@karmaniverous/jeeves`](https://www.npmjs.com/package/@karmaniverous/jeeves) 0.6+) installs it and writes its config:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
jeeves install
|
|
14
|
+
jeeves install --workspace /srv/jeeves/workspace --config-root /srv/jeeves/config watcher
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
Without `--workspace`, `jeeves install` takes the current folder as the workspace and writes its platform files there.
|
|
18
|
+
|
|
17
19
|
Or install it directly with the OpenClaw CLI and set the config yourself:
|
|
18
20
|
|
|
19
21
|
```bash
|
|
20
|
-
openclaw plugins install npm:@karmaniverous/jeeves-watcher-openclaw@<version> --pin --accept-capabilities
|
|
22
|
+
openclaw plugins install npm:@karmaniverous/jeeves-watcher-openclaw@<version> --pin --accept-capabilities --force
|
|
21
23
|
```
|
|
22
24
|
|
|
25
|
+
`--force` confirms the npm source and replaces an installed version; without it a non-interactive install is cancelled.
|
|
26
|
+
|
|
23
27
|
The plugin registers an always-in-context rule set through OpenClaw's `before_prompt_build` hook, so it needs `plugins.entries.jeeves-watcher-openclaw.hooks.allowConversationAccess: true`. `jeeves install` / `jeeves update` grant this automatically (the hook is declared in `package.json` under `jeeves.conversationHooks`).
|
|
24
28
|
|
|
25
29
|
Restart the OpenClaw gateway to apply changes.
|
|
@@ -48,8 +52,9 @@ Plugin config lives in `openclaw.json` under `plugins.entries.jeeves-watcher-ope
|
|
|
48
52
|
|
|
49
53
|
## Jeeves Platform Integration
|
|
50
54
|
|
|
51
|
-
The plugin builds on [`@karmaniverous/jeeves`](https://www.npmjs.com/package/@karmaniverous/jeeves) 0.
|
|
55
|
+
The plugin builds on [`@karmaniverous/jeeves`](https://www.npmjs.com/package/@karmaniverous/jeeves) 0.8 (static-content core since 0.6). It writes **no** workspace files and starts no timers:
|
|
52
56
|
|
|
57
|
+
- **Tools from the endpoint catalog**: core's toolset builds every tool from `WATCHER_CATALOG` in watcher-core (0.18.0 renamed ten of them; see the [upgrading guide](../service/guides/upgrading.md#openclaw-plugin-0180)), so their parameters follow the service's request schemas. Each call waits up to 120 s; errors read `HTTP <status>: <body>`; see the [OpenClaw Integration guide](guides/openclaw-integration.md#errors).
|
|
53
58
|
- **Always-in-context rules**: the watcher escalation, scan-first and search-first rules and score guidance are injected on every turn via `before_prompt_build` (`registerPromptContext`). They replace the v0.x TOOLS.md `## Watcher` section.
|
|
54
59
|
- **Live state**: served by tools (`watcher_status`, `watcher_config`) rather than a refreshed file.
|
|
55
60
|
- **Skill**: `jeeves-watcher` ships in the package and is declared in `openclaw.plugin.json` (`skills`).
|
|
@@ -61,22 +66,22 @@ The plugin builds on [`@karmaniverous/jeeves`](https://www.npmjs.com/package/@ka
|
|
|
61
66
|
| --- | --- |
|
|
62
67
|
| `watcher_status` | Service health, uptime, and collection stats |
|
|
63
68
|
| `watcher_search` | Semantic search across indexed documents |
|
|
64
|
-
| `
|
|
69
|
+
| `watcher_set_metadata` | Set or update document metadata by file path |
|
|
65
70
|
| `watcher_config` | Query the effective runtime config via JSONPath |
|
|
66
71
|
| `watcher_walk` | List watched files matching globs |
|
|
67
|
-
| `
|
|
72
|
+
| `watcher_validate_config` | Validate a candidate config, optionally testing file paths |
|
|
68
73
|
| `watcher_config_apply` | Apply a config patch (response config redacted) |
|
|
69
74
|
| `watcher_reindex` | Trigger a scoped reindex with blast area plan |
|
|
70
75
|
| `watcher_scan` | Filter-only point query with cursor pagination |
|
|
71
|
-
| `
|
|
76
|
+
| `watcher_list_issues` | List processing issues (file paths and source references) |
|
|
72
77
|
| `watcher_service` | Manage watcher background service (install/uninstall/start/stop/restart/status) |
|
|
73
|
-
| `
|
|
74
|
-
| `
|
|
75
|
-
| `
|
|
76
|
-
| `
|
|
77
|
-
| `
|
|
78
|
-
| `
|
|
79
|
-
| `
|
|
78
|
+
| `watcher_get_vcs_status` | Version tracking health: enabled state, tracked roots, remote status |
|
|
79
|
+
| `watcher_list_vcs_history` | Query change history by path or glob with optional date range |
|
|
80
|
+
| `watcher_show_vcs_file` | Retrieve file content at a specific version |
|
|
81
|
+
| `watcher_diff_vcs` | Show changes between two versions, or between a version and current |
|
|
82
|
+
| `watcher_revert_vcs` | Undo changes by restoring files to a specific version |
|
|
83
|
+
| `watcher_exclude_vcs_path` | Exclude or re-include paths from version tracking |
|
|
84
|
+
| `watcher_check_vcs_exclusion` | Check whether a path is excluded from version tracking and why |
|
|
80
85
|
|
|
81
86
|
### Direct tools under OpenClaw Tool Search
|
|
82
87
|
|