@karmaniverous/jeeves-meta-openclaw 0.13.0 → 0.13.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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { resolvePluginSetting, fetchJson, postJson, ok, connectionFail, createPluginToolset, resolveWorkspacePath, init, loadWorkspaceConfig, WORKSPACE_CONFIG_DEFAULTS, createAsyncContentCache, jeevesComponentDescriptorSchema, getPackageVersion, createComponentWriter } from '@karmaniverous/jeeves';
1
+ import { resolvePluginSetting, resolveOptionalPluginSetting, fetchJson, postJson, ok, connectionFail, createPluginToolset, resolveWorkspacePath, init, loadWorkspaceConfig, WORKSPACE_CONFIG_DEFAULTS, createAsyncContentCache, jeevesComponentDescriptorSchema, getPackageVersion, createComponentWriter } from '@karmaniverous/jeeves';
2
2
  import { phaseNames, getEndpoint, META_COMPONENT } from '@karmaniverous/jeeves-meta-core';
3
3
 
4
4
  /**
@@ -20,7 +20,11 @@ function getServiceUrl(api) {
20
20
  }
21
21
  /** Resolve the platform config root. */
22
22
  function getConfigRoot(api) {
23
- return resolvePluginSetting(api, PLUGIN_ID, 'configRoot', 'JEEVES_CONFIG_ROOT', 'j:/config');
23
+ const value = resolveOptionalPluginSetting(api, PLUGIN_ID, 'configRoot', 'JEEVES_CONFIG_ROOT');
24
+ if (!value) {
25
+ throw new Error('configRoot not configured — set it in plugin config or via JEEVES_CONFIG_ROOT env var');
26
+ }
27
+ return value;
24
28
  }
25
29
 
26
30
  /**
@@ -110,7 +114,7 @@ async function generateMetaMenu(client) {
110
114
  }
111
115
  }
112
116
  const parts = [];
113
- for (const state of ['fresh', 'pending', 'running', 'failed']) {
117
+ for (const state of ['fresh', 'pending', 'running', 'stale', 'failed']) {
114
118
  if (totals[state]) {
115
119
  parts.push(totals[state].toString() + ' ' + state);
116
120
  }
@@ -132,7 +136,7 @@ async function generateMetaMenu(client) {
132
136
  }
133
137
  }
134
138
  if (failedParts.length > 0) {
135
- phaseLines.push('> Failed: ' +
139
+ phaseLines.push(' Failed: ' +
136
140
  failedParts.slice(0, 10).join(', ') +
137
141
  (failedParts.length > 10
138
142
  ? ' (+' + (failedParts.length - 10).toString() + ' more)'
@@ -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.13.0",
5
+ "version": "0.13.1",
6
6
  "skills": [
7
7
  "dist/skills/jeeves-meta"
8
8
  ],
package/package.json CHANGED
@@ -112,5 +112,5 @@
112
112
  },
113
113
  "type": "module",
114
114
  "types": "dist/index.d.ts",
115
- "version": "0.13.0"
115
+ "version": "0.13.1"
116
116
  }