diff --git a/AGENTS.md b/AGENTS.md index 2bb1346..146bace 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -235,6 +235,11 @@ activity files in `activity/codex/` and its hook stamp in `hosts/codex.json`. Th a screen, and says nothing in a run that has none. A release therefore costs every person on the plugin one review: put what is ready into one release, and say in its notes that Codex will ask. Rule 16 is what the plugin does meanwhile. +- **`VERSION` in the script is the manifest's version, in every release.** Rule 16 knows the hooks + wait by comparing it with the version they last ran under. 0.5.1 changed words alone and left + the script at 0.5.0, so a person who had reviewed 0.5.0 got neither the notice nor the watcher + while 0.5.1 waited for its review; 0.5.2 names itself. The `User-Agent` and the recall tool's + server name it too. - **The hooks file is written once.** An edited definition changes that hook's first hash, and a renamed plugin or marketplace, a moved hooks file and a reordered entry change the key: each asks for a review where no release did. So `hooks/hooks.json` holds the five events and a mode each, diff --git a/plugins/past/.codex-plugin/plugin.json b/plugins/past/.codex-plugin/plugin.json index 315ebd2..c94f952 100644 --- a/plugins/past/.codex-plugin/plugin.json +++ b/plugins/past/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "past", - "version": "0.5.1", + "version": "0.5.2", "description": "One memory for every teammate and every agent on a project. Your Codex sessions go in, and each prompt gets what was decided before, with dated sources.", "author": { "name": "past.dev", "url": "https://past.dev" }, "homepage": "https://github.com/pastdotdev/codex-plugin", diff --git a/plugins/past/bin/past-hook.mjs b/plugins/past/bin/past-hook.mjs index deba864..c0de174 100755 --- a/plugins/past/bin/past-hook.mjs +++ b/plugins/past/bin/past-hook.mjs @@ -45,7 +45,7 @@ const MIN_SITTING_KILOBYTES = 10; const COMPACTION_RESEND_MS = 60 * 60000; const DEFAULT_API_URL = 'https://api.past.dev'; const MARKER = '=== past ยท recalled from memory ==='; -const VERSION = '0.5.0'; +const VERSION = '0.5.2'; // ---------------------------------------------------------------------------------------- Codex