@remembrance-ai/opencode-plugin 0.1.52 → 0.1.53

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/opencode.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "command": [
7
7
  "npx",
8
8
  "-y",
9
- "@remembrance-ai/mcp-server@0.1.52"
9
+ "@remembrance-ai/mcp-server@0.1.53"
10
10
  ],
11
11
  "enabled": true,
12
12
  "environment": {
@@ -15,6 +15,6 @@
15
15
  }
16
16
  },
17
17
  "plugin": [
18
- "@remembrance-ai/opencode-plugin@0.1.52"
18
+ "@remembrance-ai/opencode-plugin@0.1.53"
19
19
  ]
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remembrance-ai/opencode-plugin",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "license": "Apache-2.0",
5
5
  "description": "opencode plugin for Remembrance session hooks, tool observation, and contribution nudges.",
6
6
  "type": "module",
@@ -4488,7 +4488,7 @@ function isUnsafeDestinationHostname(hostname) {
4488
4488
  // ../core/src/connection-doctor.ts
4489
4489
  var CODEX_HOOK_REVIEW_COMMAND = `CODEX_CLI="\${CODEX_CLI:-$(command -v codex || true)}"; [ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/ChatGPT.app/Contents/Resources/codex"; [ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/Codex.app/Contents/Resources/codex"; [ -x "$CODEX_CLI" ] || { printf '%s\\n' "Codex CLI not found. Install the Codex CLI, or install or update the ChatGPT desktop app on macOS, then try again." >&2; exit 1; }; "$CODEX_CLI"`;
4490
4490
  function codexHookReviewAction(followupTool) {
4491
- return `Open Terminal and launch Codex with the command below. On the automatic Hooks need review screen, choose Review hooks and trust only the Remembrance SessionStart, UserPromptSubmit, PostToolUse, and Stop hooks. If the review screen does not appear, exit Codex, update or reinstall Remembrance, and launch the command again. Then fully restart Codex, submit one prompt, and call ${followupTool} again.`;
4491
+ return `Open Terminal and launch Codex with the command below. If Codex shows a Hooks need review screen, choose Review hooks and trust only the Remembrance SessionStart, UserPromptSubmit, PostToolUse, and Stop hooks. If no review screen appears, continue: Codex may be reusing an existing valid trust decision. Fully restart Codex, submit one prompt, use one Remembrance tool, complete one turn, and call ${followupTool} again. If the lifecycle warning remains, update or reinstall Remembrance and repeat this check.`;
4492
4492
  }
4493
4493
  function buildConnectionDoctorReport(input) {
4494
4494
  const status = record(input.connection_status);
@@ -5946,7 +5946,7 @@ var seedSkills = [
5946
5946
  summary: "Operational setup and troubleshooting workflow for Remembrance across Claude Code, Codex, OpenClaw, Cursor, Gemini, MCP, REST, skill-only installs, enterprise keys, and local agent identity.",
5947
5947
  status: "active",
5948
5948
  visibility: "public",
5949
- version: "0.1.13",
5949
+ version: "0.1.14",
5950
5950
  domains: ["agent-skills", "mcp", "resource-discovery"],
5951
5951
  tags: [
5952
5952
  "remembrance",
@@ -5997,7 +5997,7 @@ var seedSkills = [
5997
5997
  "gemini",
5998
5998
  "rest"
5999
5999
  ],
6000
- version: "0.1.13",
6000
+ version: "0.1.14",
6001
6001
  status: "active",
6002
6002
  visibility: "public",
6003
6003
  providers: ["codex", "claude", "cursor", "openclaw", "generic"],
@@ -6189,15 +6189,18 @@ CODEX_CLI="\${CODEX_CLI:-$(command -v codex || true)}"
6189
6189
  This command handles both first install and update. If zsh says
6190
6190
  "codex: command not found", it discovers the current ChatGPT desktop bundle or
6191
6191
  the legacy Codex app bundle without requiring a shell alias. The final command
6192
- opens Codex CLI so its secure hook review can be completed immediately.
6192
+ opens Codex CLI so its secure hook review can be completed immediately when
6193
+ Codex requires it.
6193
6194
 
6194
6195
  Codex will not execute plugin hooks until their exact definitions are trusted.
6195
- In the Codex window opened by the installer, choose **Review hooks** on the
6196
- automatic **Hooks need review** screen and trust only the Remembrance
6196
+ In the Codex window opened by the installer, if Codex shows a **Hooks need
6197
+ review** screen, choose **Review hooks** and trust only the Remembrance
6197
6198
  \`SessionStart\`, \`UserPromptSubmit\`, \`PostToolUse\`, and \`Stop\` hooks.
6198
- Changed hook definitions show the same review screen again; never use the
6199
- automation-only trust bypass for normal installation. Exit that window, then
6200
- fully restart Codex.
6199
+ If no review screen appears, continue: Codex may be reusing an existing valid
6200
+ trust decision. Changed hook definitions show the same review screen again;
6201
+ never use the automation-only trust bypass for normal installation. Fully
6202
+ restart Codex, submit one prompt, use one Remembrance tool, complete one turn,
6203
+ and run \`run_connection_doctor\`.
6201
6204
 
6202
6205
  OpenClaw:
6203
6206
 
@@ -6255,10 +6258,11 @@ Integrations & MCP**, and verify query, invocation, feedback, and contribution
6255
6258
  receipts in both local and cloud runs.
6256
6259
 
6257
6260
  After installing any native plugin, restart the agent app/session and approve
6258
- the runtime's trust request. For Codex, complete the automatic hook review
6259
- above; changed hook definitions show the same review screen again. A currently
6260
- running Codex or Claude thread usually cannot hot-load newly installed plugin
6261
- tools.
6261
+ the runtime's trust request when one appears. For Codex, complete the hook
6262
+ review above if Codex requests it; unchanged, previously trusted definitions
6263
+ may not show another review screen. Changed hook definitions show the review
6264
+ screen again. A currently running Codex or Claude thread usually cannot
6265
+ hot-load newly installed plugin tools.
6262
6266
 
6263
6267
  ## Enterprise/org key setup
6264
6268
 
@@ -6846,10 +6850,13 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
6846
6850
 
6847
6851
  - "Plugin installed, but no tools": restart the agent app/session; confirm the
6848
6852
  plugin is enabled and contains the runtime-specific manifest. For Codex,
6849
- launch the installer-provided command, choose **Review hooks** on the
6850
- automatic review screen, and trust only the listed Remembrance hooks. Exit
6851
- that window and fully restart Codex; updates that change hooks show the same
6852
- review screen again.
6853
+ launch the installer-provided command. If Codex shows a hook review, choose
6854
+ **Review hooks** and trust only the listed Remembrance hooks; if it does not,
6855
+ continue because Codex may be reusing an existing valid trust decision.
6856
+ Fully restart Codex, submit one prompt, use one Remembrance tool, complete one
6857
+ turn, and run \`run_connection_doctor\`. If the lifecycle remains incomplete,
6858
+ update or reinstall the plugin and repeat the check. Updates that change
6859
+ hooks show the review screen again.
6853
6860
  - "Agent has tools but does not use them": first verify a concrete query receipt,
6854
6861
  then test a short contextual follow-up such as "fix these issues". Native
6855
6862
  prompt hooks should inject a full-conversation query reminder, and completion
@@ -10020,7 +10027,7 @@ var apiConfiguration = resolveApiConfiguration();
10020
10027
  var apiBase = apiConfiguration.baseUrl;
10021
10028
  var MAX_REMOTE_RESPONSE_BYTES = 4 * 1024 * 1024;
10022
10029
  var DOCTOR_PROBE_TIMEOUT_MS = 7500;
10023
- var SERVER_VERSION = true ? "0.1.52" : "0.0.0-dev";
10030
+ var SERVER_VERSION = true ? "0.1.53" : "0.0.0-dev";
10024
10031
  var tools = toolDefinitions;
10025
10032
  var doctorCliRequested = process.argv[2] === "doctor";
10026
10033
  var inputBuffer = Buffer.alloc(0);
@@ -121,15 +121,18 @@ CODEX_CLI="${CODEX_CLI:-$(command -v codex || true)}"
121
121
  This command handles both first install and update. If zsh says
122
122
  "codex: command not found", it discovers the current ChatGPT desktop bundle or
123
123
  the legacy Codex app bundle without requiring a shell alias. The final command
124
- opens Codex CLI so its secure hook review can be completed immediately.
124
+ opens Codex CLI so its secure hook review can be completed immediately when
125
+ Codex requires it.
125
126
 
126
127
  Codex will not execute plugin hooks until their exact definitions are trusted.
127
- In the Codex window opened by the installer, choose **Review hooks** on the
128
- automatic **Hooks need review** screen and trust only the Remembrance
128
+ In the Codex window opened by the installer, if Codex shows a **Hooks need
129
+ review** screen, choose **Review hooks** and trust only the Remembrance
129
130
  `SessionStart`, `UserPromptSubmit`, `PostToolUse`, and `Stop` hooks.
130
- Changed hook definitions show the same review screen again; never use the
131
- automation-only trust bypass for normal installation. Exit that window, then
132
- fully restart Codex.
131
+ If no review screen appears, continue: Codex may be reusing an existing valid
132
+ trust decision. Changed hook definitions show the same review screen again;
133
+ never use the automation-only trust bypass for normal installation. Fully
134
+ restart Codex, submit one prompt, use one Remembrance tool, complete one turn,
135
+ and run `run_connection_doctor`.
133
136
 
134
137
  OpenClaw:
135
138
 
@@ -187,10 +190,11 @@ Integrations & MCP**, and verify query, invocation, feedback, and contribution
187
190
  receipts in both local and cloud runs.
188
191
 
189
192
  After installing any native plugin, restart the agent app/session and approve
190
- the runtime's trust request. For Codex, complete the automatic hook review
191
- above; changed hook definitions show the same review screen again. A currently
192
- running Codex or Claude thread usually cannot hot-load newly installed plugin
193
- tools.
193
+ the runtime's trust request when one appears. For Codex, complete the hook
194
+ review above if Codex requests it; unchanged, previously trusted definitions
195
+ may not show another review screen. Changed hook definitions show the review
196
+ screen again. A currently running Codex or Claude thread usually cannot
197
+ hot-load newly installed plugin tools.
194
198
 
195
199
  ## Enterprise/org key setup
196
200
 
@@ -843,10 +847,13 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
843
847
 
844
848
  - "Plugin installed, but no tools": restart the agent app/session; confirm the
845
849
  plugin is enabled and contains the runtime-specific manifest. For Codex,
846
- launch the installer-provided command, choose **Review hooks** on the
847
- automatic review screen, and trust only the listed Remembrance hooks. Exit
848
- that window and fully restart Codex; updates that change hooks show the same
849
- review screen again.
850
+ launch the installer-provided command. If Codex shows a hook review, choose
851
+ **Review hooks** and trust only the listed Remembrance hooks; if it does not,
852
+ continue because Codex may be reusing an existing valid trust decision.
853
+ Fully restart Codex, submit one prompt, use one Remembrance tool, complete one
854
+ turn, and run `run_connection_doctor`. If the lifecycle remains incomplete,
855
+ update or reinstall the plugin and repeat the check. Updates that change
856
+ hooks show the review screen again.
850
857
  - "Agent has tools but does not use them": first verify a concrete query receipt,
851
858
  then test a short contextual follow-up such as "fix these issues". Native
852
859
  prompt hooks should inject a full-conversation query reminder, and completion