@goplausible/openclaw-algorand-plugin 1.8.8 → 1.8.9

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/index.ts CHANGED
@@ -539,6 +539,30 @@ export default function register(api: PluginApi) {
539
539
  { name: "algorand.post-install", description: "Show setup instructions on install" }
540
540
  );
541
541
 
542
+ // ─────────────────────────────────────────────────────────────
543
+ // Post-update hook
544
+ // ─────────────────────────────────────────────────────────────
545
+ api.registerHook(
546
+ "plugin:post-update",
547
+ async () => {
548
+ console.log("\n🔷 Algorand plugin updated!\n");
549
+
550
+ // Ensure MEMORY.md and memory files are up to date
551
+ const workspacePath = getWorkspacePath(api);
552
+ const memResult = writeMemoryFile(workspacePath);
553
+ if (memResult.success) {
554
+ console.log(` ✅ ${memResult.message}`);
555
+ }
556
+ const memIndexResult = ensureWorkspaceMemoryIndex(workspacePath);
557
+ if (memIndexResult.success) {
558
+ console.log(` ✅ ${memIndexResult.message}`);
559
+ }
560
+
561
+ console.log("\n Restart OpenClaw gateway to apply changes.\n");
562
+ },
563
+ { name: "algorand.post-update", description: "Update memory files on plugin update" }
564
+ );
565
+
542
566
  api.logger.info(`Algorand plugin registered (skills: 6, MCP: ${ALGORAND_MCP.name})`);
543
567
  }
544
568
 
@@ -2,7 +2,7 @@
2
2
  "id": "openclaw-algorand-plugin",
3
3
  "name": "Algorand Integration",
4
4
  "description": "Algorand blockchain integration with MCP and skills — by GoPlausible",
5
- "version": "1.8.8",
5
+ "version": "1.8.9",
6
6
  "skills": [
7
7
  "skills/algorand-development",
8
8
  "skills/algorand-typescript",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goplausible/openclaw-algorand-plugin",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },