@memoryrelay/plugin-memoryrelay-ai 0.2.3 → 0.2.4
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/README.md +8 -0
- package/index.ts +18 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -396,6 +396,14 @@ MIT © 2026 MemoryRelay
|
|
|
396
396
|
|
|
397
397
|
## Changelog
|
|
398
398
|
|
|
399
|
+
### v0.2.4 (2026-02-13)
|
|
400
|
+
|
|
401
|
+
**Debug Logging:**
|
|
402
|
+
- Added detailed logging to diagnose config loading issues
|
|
403
|
+
- Logs pluginConfig type, keys, and specific missing fields
|
|
404
|
+
- Helps identify why apiKey/agentId aren't being read
|
|
405
|
+
- Better error messages for troubleshooting
|
|
406
|
+
|
|
399
407
|
### v0.2.3 (2026-02-13)
|
|
400
408
|
|
|
401
409
|
**Critical Fix:**
|
package/index.ts
CHANGED
|
@@ -152,9 +152,25 @@ function shouldCapture(text: string): boolean {
|
|
|
152
152
|
// ============================================================================
|
|
153
153
|
|
|
154
154
|
export default async function plugin(api: OpenClawPluginApi): Promise<void> {
|
|
155
|
+
// Debug: log what config we're receiving
|
|
156
|
+
api.logger.info(`memory-memoryrelay: plugin loaded, checking config...`);
|
|
157
|
+
api.logger.info(`memory-memoryrelay: pluginConfig type: ${typeof api.pluginConfig}`);
|
|
158
|
+
api.logger.info(`memory-memoryrelay: pluginConfig keys: ${api.pluginConfig ? Object.keys(api.pluginConfig).join(', ') : 'null'}`);
|
|
159
|
+
|
|
155
160
|
const cfg = api.pluginConfig as MemoryRelayConfig | undefined;
|
|
156
|
-
|
|
157
|
-
|
|
161
|
+
|
|
162
|
+
if (!cfg) {
|
|
163
|
+
api.logger.error("memory-memoryrelay: pluginConfig is null or undefined");
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
if (!cfg.apiKey) {
|
|
168
|
+
api.logger.error(`memory-memoryrelay: missing apiKey in config. Config keys: ${Object.keys(cfg).join(', ')}`);
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
if (!cfg.agentId) {
|
|
173
|
+
api.logger.error(`memory-memoryrelay: missing agentId in config. Config keys: ${Object.keys(cfg).join(', ')}`);
|
|
158
174
|
return;
|
|
159
175
|
}
|
|
160
176
|
|
package/openclaw.plugin.json
CHANGED