Commit Graph
16 Commits
Author SHA1 Message Date
taodengandClaude Opus 4.6 ddc472b63f chore: bump version to 2.2.0
v2.2.0 — first fully working plugin release:
- Fix: resolve workspace dir from hook context (_ctx), not api.runtime
- Fix: strip channel metadata from user messages before state extraction
- Both fixes are required for gateway/Telegram/Discord deployments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 15:05:56 +10:00
taodengandClaude Opus 4.6 53c75986fa fix: use _ctx.workspaceDir and strip channel metadata
- Hook callbacks now get workspace from _ctx.workspaceDir (the hook
  context parameter) instead of api.runtime.workspaceDir which is
  undefined in gateway mode. This was the root cause of the plugin
  silently doing nothing on all remote/gateway deployments.

- extractStateFromMessages now strips Telegram/Discord channel
  metadata ("Conversation info (untrusted metadata)") from user
  messages before saving to CURRENT_STATE.md, preventing garbage
  data in the Objective field.

Tested on: macOS local (GPT-5.4), Oracle Cloud (MiniMax M2.5)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 14:44:12 +10:00
taodengandClaude Opus 4.6 86d820af81 fix: add install record for provenance tracking
post-install.sh now writes plugins.installs with source:"path" so
OpenClaw recognizes the plugin origin. Eliminates both the allow-list
and provenance warnings on fresh install. Script is now fully
idempotent — always refreshes allow/installs/entries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 13:59:26 +10:00
taodengandClaude Opus 4.6 7d7e0e7bdb v2.1.0: fix provenance warnings, clean install experience
Add package.json with openclaw plugin metadata, configure plugins.allow
in post-install.sh, and add source field to plugin manifest. Fresh
installs now load without trust/provenance warnings in gateway logs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 13:51:19 +10:00
taodengandClaude Opus 4.6 61f2d34366 docs: add "Why this plugin?" section highlighting differentiators
Emphasize zero-dependency, plain-file, backup/migrate simplicity,
upgrade-proof design vs vector-DB-based memory plugins.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 14:18:06 +10:00
taodengandClaude Opus 4.6 7088d3d7d0 docs: update changelog and GitHub description for v2.0.0
Unify version references across all files. Update GitHub repo
description from "Draft skill" to "Lifecycle plugin".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 14:13:50 +10:00
taodengandClaude Opus 4.6 9ab2667aa3 feat: upgrade from skill to lifecycle plugin (v2.0.0)
Replace prompt-based skill approach with OpenClaw lifecycle hooks
(before_agent_start, agent_end, before_compaction, before_reset).
State injection now happens automatically at the hook level,
making it model-agnostic and reliable across all providers.

- Add index.js with 5 lifecycle hooks
- Add openclaw.plugin.json manifest
- Rewrite post-install.sh to handle plugin installation
- Update README with plugin architecture docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 14:11:14 +10:00
taodengandClaude Opus 4.6 38c1fe875d feat: add post-install script and troubleshooting guide
Add scripts/post-install.sh to clear stale skillsSnapshot cache from
existing sessions, ensuring the skill loads immediately after install.
Update README with corrected install path and post-install instructions.
Include detailed troubleshooting report documenting the snapshot cache
root cause analysis.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 12:36:12 +10:00
taodeng dcc9093182 docs: clarify discord continuity is unsupported in alpha 2026-03-13 10:05:32 +10:00
taodeng 9eb3347a5c release: prepare v0.3.0-probe notes 2026-03-13 08:10:33 +10:00
taodeng c4438d8129 fix: tighten lifecycle prototype parsing and probe markers 2026-03-13 05:45:06 +10:00
taodeng 7c52cfd025 feat: add lifecycle plugin prototype and hook validation notes 2026-03-13 05:28:15 +10:00
taodeng ffec85f66d docs: sync skill docs with lifecycle plugin plan 2026-03-13 05:11:07 +10:00
taodeng 993db79325 docs: rename continuity design doc to plugin design 2026-03-12 22:36:51 +10:00
taodeng d279264a53 docs: pivot memory continuity to lifecycle plugin design 2026-03-12 22:36:51 +10:00
taodeng e123a0b58a docs: add memory continuity scope and context engine design 2026-03-12 22:27:30 +10:00