@tpsdev-ai/openclaw-flair 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -271,7 +271,7 @@ export default {
271
271
 
272
272
  register(api: OpenClawPluginApi) {
273
273
  try {
274
- const cfg = api.pluginConfig as FlairMemoryConfig;
274
+ const cfg = (api.pluginConfig ?? {}) as FlairMemoryConfig;
275
275
  const isAutoMode = !cfg.agentId || cfg.agentId === "auto";
276
276
 
277
277
  // Client pool: one client per agentId, created lazily
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpsdev-ai/openclaw-flair",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "OpenClaw memory plugin for Flair — agent identity and semantic memory",
5
5
  "type": "module",
6
6
  "main": "index.ts",