@twsxtd/hapi-openclaw 0.1.4 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2294,6 +2294,10 @@ function createPluginApp(deps) {
2294
2294
 
2295
2295
  // src/index.ts
2296
2296
  function resolveRegisteredPluginConfig(api) {
2297
+ const runtimeConfigured = resolvePluginConfigFromOpenClawConfig(api.runtime?.config?.loadConfig?.());
2298
+ if (runtimeConfigured) {
2299
+ return runtimeConfigured;
2300
+ }
2297
2301
  const configured = resolvePluginConfigFromOpenClawConfig(api.config);
2298
2302
  if (configured) {
2299
2303
  return configured;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twsxtd/hapi-openclaw",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Native OpenClaw plugin that bridges HAPI to the OpenClaw Gateway route surface.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",