@karmaniverous/jeeves-watcher-openclaw 0.3.3 → 0.3.5
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 +3 -11
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,11 +11,7 @@ const DEFAULT_API_URL = 'http://127.0.0.1:3458';
|
|
|
11
11
|
const PLUGIN_SOURCE = 'jeeves-watcher-openclaw';
|
|
12
12
|
/** Normalize a path to forward slashes and lowercase drive letter on Windows. */
|
|
13
13
|
function normalizePath(p) {
|
|
14
|
-
|
|
15
|
-
if (/^[A-Z]:/.test(result)) {
|
|
16
|
-
result = result[0].toLowerCase() + result.slice(1);
|
|
17
|
-
}
|
|
18
|
-
return result;
|
|
14
|
+
return p.replace(/\\/g, '/');
|
|
19
15
|
}
|
|
20
16
|
/**
|
|
21
17
|
* Resolve the workspace path from gateway config.
|
|
@@ -102,12 +98,10 @@ function buildVirtualRules(workspace) {
|
|
|
102
98
|
name: 'openclaw-memory-longterm',
|
|
103
99
|
description: 'OpenClaw long-term memory file',
|
|
104
100
|
match: {
|
|
105
|
-
type: 'object',
|
|
106
101
|
properties: {
|
|
107
102
|
file: {
|
|
108
|
-
type: 'object',
|
|
109
103
|
properties: {
|
|
110
|
-
path: {
|
|
104
|
+
path: { glob: `${ws}/MEMORY.md` },
|
|
111
105
|
},
|
|
112
106
|
},
|
|
113
107
|
},
|
|
@@ -126,12 +120,10 @@ function buildVirtualRules(workspace) {
|
|
|
126
120
|
name: 'openclaw-memory-daily',
|
|
127
121
|
description: 'OpenClaw daily memory logs',
|
|
128
122
|
match: {
|
|
129
|
-
type: 'object',
|
|
130
123
|
properties: {
|
|
131
124
|
file: {
|
|
132
|
-
type: 'object',
|
|
133
125
|
properties: {
|
|
134
|
-
path: {
|
|
126
|
+
path: { glob: `${ws}/memory/**/*.md` },
|
|
135
127
|
},
|
|
136
128
|
},
|
|
137
129
|
},
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "jeeves-watcher-openclaw",
|
|
3
3
|
"name": "Jeeves Watcher",
|
|
4
4
|
"description": "Semantic search, metadata enrichment, and instance administration for a jeeves-watcher deployment.",
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.5",
|
|
6
6
|
"kind": "memory",
|
|
7
7
|
"skills": [
|
|
8
8
|
"dist/skills/jeeves-watcher"
|
package/package.json
CHANGED