@karmaniverous/jeeves-meta-openclaw 0.12.7 → 0.12.8

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 CHANGED
@@ -10,8 +10,8 @@ import require$$4 from 'util';
10
10
  import require$$5 from 'assert';
11
11
  import require$$2 from 'events';
12
12
  import 'vm';
13
+ import require$$1, { execSync } from 'node:child_process';
13
14
  import require$$0$5 from 'node:events';
14
- import require$$1 from 'node:child_process';
15
15
  import process$2 from 'node:process';
16
16
  import { homedir } from 'node:os';
17
17
  import { fileURLToPath } from 'node:url';
@@ -24353,14 +24353,14 @@ const SECTION_ORDER = [
24353
24353
  * Core library version, inlined at build time.
24354
24354
  *
24355
24355
  * @remarks
24356
- * The `0.5.10` placeholder is replaced by
24356
+ * The `0.5.11` placeholder is replaced by
24357
24357
  * `@rollup/plugin-replace` during the build with the actual version
24358
24358
  * from `package.json`. This ensures the correct version survives
24359
24359
  * when consumers bundle core into their own dist (where runtime
24360
24360
  * `import.meta.url`-based resolution would find the wrong package.json).
24361
24361
  */
24362
24362
  /** The core library version from package.json (inlined at build time). */
24363
- const CORE_VERSION = '0.5.10';
24363
+ const CORE_VERSION = '0.5.11';
24364
24364
 
24365
24365
  /**
24366
24366
  * Workspace and config root initialization.
@@ -25993,9 +25993,8 @@ function createPluginCli(options) {
25993
25993
  const configPath = resolveConfigPath(openClawHome);
25994
25994
  // 1. Copy dist to extensions
25995
25995
  const extensionsDir = join(openClawHome, 'extensions', pluginId);
25996
- if (!existsSync(distDir)) {
25997
- throw new Error(`Plugin dist directory not found: ${distDir}. Ensure the plugin is built before installing.`);
25998
- }
25996
+ if (!existsSync(distDir))
25997
+ throw new Error(`Plugin dist directory not found: ${distDir}`);
25999
25998
  console.log(`Copying dist to ${extensionsDir}...`);
26000
25999
  copyDistFiles(distDir, join(extensionsDir, 'dist'));
26001
26000
  // Copy package.json and openclaw.plugin.json from package root
@@ -26006,6 +26005,20 @@ function createPluginCli(options) {
26006
26005
  }
26007
26006
  }
26008
26007
  console.log(' ✓ Dist files copied');
26008
+ // 1b. Install production dependencies
26009
+ console.log('Installing dependencies...');
26010
+ try {
26011
+ execSync('npm install --omit=dev', {
26012
+ cwd: extensionsDir,
26013
+ stdio: 'pipe',
26014
+ });
26015
+ }
26016
+ catch (err) {
26017
+ throw new Error(`npm install failed in ${extensionsDir}`, {
26018
+ cause: err,
26019
+ });
26020
+ }
26021
+ console.log(' ✓ Dependencies installed');
26009
26022
  // 2. Patch openclaw.json
26010
26023
  console.log('Patching OpenClaw config...');
26011
26024
  const config = readJsonFile(configPath);
@@ -26051,9 +26064,9 @@ function createPluginCli(options) {
26051
26064
  // 4. Write initial HEARTBEAT entry and seed jeeves skill
26052
26065
  try {
26053
26066
  const cfgRoot = opts.configRoot;
26054
- const agents = config.agents;
26055
- const defaults = agents?.defaults;
26056
- const ws = opts.workspace ?? defaults?.workspace;
26067
+ const ag = config.agents;
26068
+ const defs = ag?.defaults;
26069
+ const ws = opts.workspace ?? defs?.workspace;
26057
26070
  if (ws) {
26058
26071
  init({ workspacePath: ws, configRoot: cfgRoot });
26059
26072
  const heartbeatPath = join(ws, WORKSPACE_FILES.heartbeat);
@@ -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.12.7",
5
+ "version": "0.12.8",
6
6
  "skills": [
7
7
  "dist/skills/jeeves-meta"
8
8
  ],
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/karmaniverous/jeeves-meta/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@karmaniverous/jeeves": "^0.5.11",
10
+ "@karmaniverous/jeeves": "^0.5.12",
11
11
  "@karmaniverous/jeeves-meta-core": "^0.1.3"
12
12
  },
13
13
  "description": "OpenClaw plugin for jeeves-meta — synthesis tools and virtual rule registration",
@@ -112,5 +112,5 @@
112
112
  },
113
113
  "type": "module",
114
114
  "types": "dist/index.d.ts",
115
- "version": "0.12.7"
115
+ "version": "0.12.8"
116
116
  }