@karmaniverous/jeeves-server-openclaw 0.6.0 → 0.6.2
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 +10 -3
- package/dist/index.js +9 -3
- package/openclaw.plugin.json +2 -2
- package/package.json +4 -3
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.
|
|
@@ -16315,12 +16315,17 @@ object({
|
|
|
16315
16315
|
.optional(),
|
|
16316
16316
|
/**
|
|
16317
16317
|
* Returns command + args for launching the service process.
|
|
16318
|
-
* Consumed by `
|
|
16318
|
+
* Consumed by `service install`.
|
|
16319
16319
|
*/
|
|
16320
16320
|
startCommand: _function({
|
|
16321
16321
|
input: [string()],
|
|
16322
16322
|
output: array(string()),
|
|
16323
16323
|
}),
|
|
16324
|
+
/** In-process service entry point for the CLI `start` command. */
|
|
16325
|
+
run: _function({
|
|
16326
|
+
input: [string()],
|
|
16327
|
+
output: promise(_void()),
|
|
16328
|
+
}),
|
|
16324
16329
|
/** TOOLS.md section name (e.g., 'Watcher'). */
|
|
16325
16330
|
sectionId: string().min(1, 'sectionId must be a non-empty string'),
|
|
16326
16331
|
/** Refresh interval in seconds (must be a prime number). */
|
|
@@ -16408,6 +16413,8 @@ const PLUGIN_ID = 'jeeves-server-openclaw';
|
|
|
16408
16413
|
* @packageDocumentation
|
|
16409
16414
|
*/
|
|
16410
16415
|
const distDir = resolve(dirname(fileURLToPath(import.meta.url)));
|
|
16416
|
+
// Type assertion: core's bundled .d.ts doesn't fully resolve the Command
|
|
16417
|
+
// return type for eslint, but the runtime value is a Commander instance.
|
|
16411
16418
|
const program = createPluginCli({
|
|
16412
16419
|
pluginId: PLUGIN_ID,
|
|
16413
16420
|
distDir,
|
package/dist/index.js
CHANGED
|
@@ -15488,14 +15488,14 @@ const PLATFORM_COMPONENTS = [
|
|
|
15488
15488
|
* Core library version, inlined at build time.
|
|
15489
15489
|
*
|
|
15490
15490
|
* @remarks
|
|
15491
|
-
* The `0.4.
|
|
15491
|
+
* The `0.4.5` placeholder is replaced by
|
|
15492
15492
|
* `@rollup/plugin-replace` during the build with the actual version
|
|
15493
15493
|
* from `package.json`. This ensures the correct version survives
|
|
15494
15494
|
* when consumers bundle core into their own dist (where runtime
|
|
15495
15495
|
* `import.meta.url`-based resolution would find the wrong package.json).
|
|
15496
15496
|
*/
|
|
15497
15497
|
/** The core library version from package.json (inlined at build time). */
|
|
15498
|
-
const CORE_VERSION = '0.4.
|
|
15498
|
+
const CORE_VERSION = '0.4.5';
|
|
15499
15499
|
|
|
15500
15500
|
/**
|
|
15501
15501
|
* Workspace and config root initialization.
|
|
@@ -16169,12 +16169,17 @@ const jeevesComponentDescriptorSchema = object({
|
|
|
16169
16169
|
.optional(),
|
|
16170
16170
|
/**
|
|
16171
16171
|
* Returns command + args for launching the service process.
|
|
16172
|
-
* Consumed by `
|
|
16172
|
+
* Consumed by `service install`.
|
|
16173
16173
|
*/
|
|
16174
16174
|
startCommand: _function({
|
|
16175
16175
|
input: [string()],
|
|
16176
16176
|
output: array(string()),
|
|
16177
16177
|
}),
|
|
16178
|
+
/** In-process service entry point for the CLI `start` command. */
|
|
16179
|
+
run: _function({
|
|
16180
|
+
input: [string()],
|
|
16181
|
+
output: promise(_void()),
|
|
16182
|
+
}),
|
|
16178
16183
|
/** TOOLS.md section name (e.g., 'Watcher'). */
|
|
16179
16184
|
sectionId: string().min(1, 'sectionId must be a non-empty string'),
|
|
16180
16185
|
/** Refresh interval in seconds (must be a prime number). */
|
|
@@ -18600,6 +18605,7 @@ function createPluginDescriptor(generateToolsContent) {
|
|
|
18600
18605
|
configSchema: looseObject({}),
|
|
18601
18606
|
configFileName: 'config.json',
|
|
18602
18607
|
initTemplate: () => ({}),
|
|
18608
|
+
run: () => Promise.reject(new Error('Plugin-side descriptor does not support run()')),
|
|
18603
18609
|
startCommand: getServiceStartCommand,
|
|
18604
18610
|
sectionId: 'Server',
|
|
18605
18611
|
refreshIntervalSeconds: REFRESH_INTERVAL_SECONDS,
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "jeeves-server-openclaw",
|
|
3
3
|
"name": "Jeeves Server",
|
|
4
4
|
"description": "File browsing, document sharing, export, and event gateway tools for jeeves-server.",
|
|
5
|
-
"version": "0.6.
|
|
5
|
+
"version": "0.6.2",
|
|
6
6
|
"skills": [
|
|
7
7
|
"dist/skills/jeeves-server"
|
|
8
8
|
],
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
"placeholder": "j:/config"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karmaniverous/jeeves-server-openclaw",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"hooks": {
|
|
87
87
|
"after:bump": [
|
|
88
|
-
"node -e \"const f='openclaw.plugin.json';const j=JSON.parse(require('fs').readFileSync(f,'utf8'));j.version='${version}';require('fs').writeFileSync(f,JSON.stringify(j,null,2)+'
|
|
88
|
+
"node -e \"const f='openclaw.plugin.json';const j=JSON.parse(require('fs').readFileSync(f,'utf8'));j.version='${version}';require('fs').writeFileSync(f,JSON.stringify(j,null,2)+'')\""
|
|
89
89
|
],
|
|
90
90
|
"after:init": [
|
|
91
91
|
"npm run lint",
|
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
"hideCredit": true
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@karmaniverous/jeeves": "^0.4.
|
|
118
|
+
"@karmaniverous/jeeves": "^0.4.6",
|
|
119
|
+
"zod": "^4.3.0"
|
|
119
120
|
}
|
|
120
121
|
}
|