@remembrance-ai/opencode-plugin 0.1.49 → 0.1.51
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.
|
|
9
|
+
"@remembrance-ai/mcp-server@0.1.51"
|
|
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.
|
|
18
|
+
"@remembrance-ai/opencode-plugin@0.1.51"
|
|
19
19
|
]
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -4688,11 +4688,21 @@ function pluginLifecycleCheck(pluginHealth, issues) {
|
|
|
4688
4688
|
);
|
|
4689
4689
|
}
|
|
4690
4690
|
if (pluginHealth.status === "partial") {
|
|
4691
|
+
const codex = stringValue(pluginHealth.surface) === "codex";
|
|
4691
4692
|
return warning(
|
|
4692
4693
|
"plugin_lifecycle",
|
|
4693
4694
|
"The core native lifecycle is active; tool or completion events have not occurred yet.",
|
|
4694
4695
|
"exercise_plugin_lifecycle",
|
|
4695
|
-
"Use one Remembrance tool, complete one turn, and rerun the doctor.",
|
|
4696
|
+
codex ? "Use one Remembrance tool, complete one turn, and rerun the doctor. If this warning remains, open /hooks; confirm the Remembrance PostToolUse and Stop hooks are Active, trust any marked Needs review, restart Codex, and retry." : "Use one Remembrance tool, complete one turn, and rerun the doctor.",
|
|
4697
|
+
issues
|
|
4698
|
+
);
|
|
4699
|
+
}
|
|
4700
|
+
if (stringValue(pluginHealth.surface) === "codex") {
|
|
4701
|
+
return warning(
|
|
4702
|
+
"plugin_lifecycle",
|
|
4703
|
+
"The Codex plugin lifecycle is not active.",
|
|
4704
|
+
"review_codex_hook_trust",
|
|
4705
|
+
"In Codex, open /hooks. Confirm the Remembrance SessionStart, UserPromptSubmit, PostToolUse, and Stop hooks are Active; trust any marked Needs review. Codex skips new or changed hook definitions until they are trusted again. If the hooks are absent, update or reinstall Remembrance. Then fully quit and reopen Codex, submit one prompt, and rerun the doctor.",
|
|
4696
4706
|
issues
|
|
4697
4707
|
);
|
|
4698
4708
|
}
|
|
@@ -5930,7 +5940,7 @@ var seedSkills = [
|
|
|
5930
5940
|
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.",
|
|
5931
5941
|
status: "active",
|
|
5932
5942
|
visibility: "public",
|
|
5933
|
-
version: "0.1.
|
|
5943
|
+
version: "0.1.11",
|
|
5934
5944
|
domains: ["agent-skills", "mcp", "resource-discovery"],
|
|
5935
5945
|
tags: [
|
|
5936
5946
|
"remembrance",
|
|
@@ -5981,7 +5991,7 @@ var seedSkills = [
|
|
|
5981
5991
|
"gemini",
|
|
5982
5992
|
"rest"
|
|
5983
5993
|
],
|
|
5984
|
-
version: "0.1.
|
|
5994
|
+
version: "0.1.11",
|
|
5985
5995
|
status: "active",
|
|
5986
5996
|
visibility: "public",
|
|
5987
5997
|
providers: ["codex", "claude", "cursor", "openclaw", "generic"],
|
|
@@ -6160,16 +6170,25 @@ claude plugin install remembrance@remembrance
|
|
|
6160
6170
|
Codex:
|
|
6161
6171
|
|
|
6162
6172
|
~~~bash
|
|
6163
|
-
|
|
6164
|
-
|
|
6173
|
+
CODEX_CLI="\${CODEX_CLI:-$(command -v codex || true)}"
|
|
6174
|
+
[ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/ChatGPT.app/Contents/Resources/codex"
|
|
6175
|
+
[ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/Codex.app/Contents/Resources/codex"
|
|
6176
|
+
[ -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; }
|
|
6177
|
+
"$CODEX_CLI" plugin marketplace add dreamarkinc/remembrance-skills &&
|
|
6178
|
+
"$CODEX_CLI" plugin marketplace upgrade remembrance &&
|
|
6179
|
+
"$CODEX_CLI" plugin add remembrance@remembrance
|
|
6165
6180
|
~~~
|
|
6166
6181
|
|
|
6167
|
-
|
|
6182
|
+
This command handles both first install and update. If zsh says
|
|
6183
|
+
"codex: command not found", it discovers the current ChatGPT desktop bundle or
|
|
6184
|
+
the legacy Codex app bundle without requiring a shell alias.
|
|
6168
6185
|
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6186
|
+
Codex will not execute plugin hooks until their exact definitions are trusted.
|
|
6187
|
+
After installing or updating, fully open Codex, enter \`/hooks\`, and confirm the
|
|
6188
|
+
Remembrance \`SessionStart\`, \`UserPromptSubmit\`, \`PostToolUse\`, and \`Stop\` hooks
|
|
6189
|
+
all show **Active**. Trust any marked **Needs review**. Changed hook definitions
|
|
6190
|
+
require review again; never use
|
|
6191
|
+
the automation-only trust bypass for normal installation.
|
|
6173
6192
|
|
|
6174
6193
|
OpenClaw:
|
|
6175
6194
|
|
|
@@ -6227,8 +6246,9 @@ Integrations & MCP**, and verify query, invocation, feedback, and contribution
|
|
|
6227
6246
|
receipts in both local and cloud runs.
|
|
6228
6247
|
|
|
6229
6248
|
After installing any native plugin, restart the agent app/session and approve
|
|
6230
|
-
the
|
|
6231
|
-
|
|
6249
|
+
the runtime's trust request. For Codex, use the exact \`/hooks\` check above;
|
|
6250
|
+
changed hook definitions require review again. A currently running Codex or
|
|
6251
|
+
Claude thread usually cannot hot-load newly installed plugin tools.
|
|
6232
6252
|
|
|
6233
6253
|
## Enterprise/org key setup
|
|
6234
6254
|
|
|
@@ -6815,8 +6835,9 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
|
|
|
6815
6835
|
## Troubleshooting matrix
|
|
6816
6836
|
|
|
6817
6837
|
- "Plugin installed, but no tools": restart the agent app/session; confirm the
|
|
6818
|
-
plugin is enabled
|
|
6819
|
-
|
|
6838
|
+
plugin is enabled and contains the runtime-specific manifest. In Codex, open
|
|
6839
|
+
\`/hooks\`, confirm all four Remembrance hooks show **Active**, and trust any
|
|
6840
|
+
marked **Needs review**; updates that change hooks require review again.
|
|
6820
6841
|
- "Agent has tools but does not use them": first verify a concrete query receipt,
|
|
6821
6842
|
then test a short contextual follow-up such as "fix these issues". Native
|
|
6822
6843
|
prompt hooks should inject a full-conversation query reminder, and completion
|
|
@@ -6826,9 +6847,9 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
|
|
|
6826
6847
|
standing instructions proactively. If tools are still not visible, use the
|
|
6827
6848
|
REST fallback and emit REMEMBRANCE_SUBMISSION_PAYLOAD only when the API is
|
|
6828
6849
|
unavailable.
|
|
6829
|
-
- "codex: command not found": use
|
|
6830
|
-
"/Applications/
|
|
6831
|
-
|
|
6850
|
+
- "codex: command not found": use the complete Codex setup above. It checks
|
|
6851
|
+
the current "/Applications/ChatGPT.app/Contents/Resources/codex" bundle,
|
|
6852
|
+
then the legacy "/Applications/Codex.app/Contents/Resources/codex" path.
|
|
6832
6853
|
- "401 or 403": the key is missing, expired, revoked, scoped to a different
|
|
6833
6854
|
environment, or not visible to the agent process. Check config file vs env
|
|
6834
6855
|
precedence and regenerate a key from the dashboard if needed.
|
|
@@ -9729,7 +9750,10 @@ function localPluginLifecycleHealth(options) {
|
|
|
9729
9750
|
issues: [
|
|
9730
9751
|
{
|
|
9731
9752
|
code: "invalid_lifecycle_marker",
|
|
9732
|
-
action:
|
|
9753
|
+
action: nativeLifecycleRepairAction(
|
|
9754
|
+
surface,
|
|
9755
|
+
"get_connection_status"
|
|
9756
|
+
)
|
|
9733
9757
|
}
|
|
9734
9758
|
]
|
|
9735
9759
|
};
|
|
@@ -9755,26 +9779,26 @@ function localPluginLifecycleHealth(options) {
|
|
|
9755
9779
|
if (!components.session_start.observed) {
|
|
9756
9780
|
issues.push({
|
|
9757
9781
|
code: "session_start_not_observed",
|
|
9758
|
-
action:
|
|
9782
|
+
action: nativeLifecycleRepairAction(surface, "get_connection_status")
|
|
9759
9783
|
});
|
|
9760
9784
|
}
|
|
9761
9785
|
if (!components.prompt_hook.observed) {
|
|
9762
9786
|
issues.push({
|
|
9763
9787
|
code: "prompt_hook_not_observed",
|
|
9764
|
-
action: "The native prompt hook did not run before this health check. Update or reinstall the plugin, fully restart the host, and verify prompt hooks are enabled."
|
|
9788
|
+
action: surface === "codex" ? nativeLifecycleRepairAction(surface, "get_connection_status") : "The native prompt hook did not run before this health check. Update or reinstall the plugin, fully restart the host, and verify prompt hooks are enabled."
|
|
9765
9789
|
});
|
|
9766
9790
|
}
|
|
9767
9791
|
const coreLifecycleObserved = components.session_start.observed && components.prompt_hook.observed;
|
|
9768
9792
|
if (coreLifecycleObserved && !components.tool_observer.observed) {
|
|
9769
9793
|
issues.push({
|
|
9770
9794
|
code: "tool_observer_not_observed",
|
|
9771
|
-
action: "No native tool observer has run in this session yet. Use a Remembrance MCP tool, then call get_connection_status again."
|
|
9795
|
+
action: surface === "codex" ? "Use a Remembrance MCP tool, then call get_connection_status again. If this remains missing, open /hooks; confirm the Remembrance PostToolUse hook is Active, trust it if marked Needs review, restart Codex, and retry." : "No native tool observer has run in this session yet. Use a Remembrance MCP tool, then call get_connection_status again."
|
|
9772
9796
|
});
|
|
9773
9797
|
}
|
|
9774
9798
|
if (coreLifecycleObserved && !components.completion_hook.observed) {
|
|
9775
9799
|
issues.push({
|
|
9776
9800
|
code: "completion_hook_not_observed",
|
|
9777
|
-
action: "No native completion hook has run in this session yet. Complete one turn, then call get_connection_status again."
|
|
9801
|
+
action: surface === "codex" ? "Complete one turn, then call get_connection_status again. If this remains missing, open /hooks; confirm the Remembrance Stop hook is Active, trust it if marked Needs review, restart Codex, and retry." : "No native completion hook has run in this session yet. Complete one turn, then call get_connection_status again."
|
|
9778
9802
|
});
|
|
9779
9803
|
}
|
|
9780
9804
|
const lastSeenMs = validLifecycleTimestamp(marker.last_seen_at, nowMs);
|
|
@@ -9852,11 +9876,17 @@ function missingPluginLifecycleHealth(surface) {
|
|
|
9852
9876
|
issues: [
|
|
9853
9877
|
{
|
|
9854
9878
|
code: "native_hooks_not_observed",
|
|
9855
|
-
action:
|
|
9879
|
+
action: nativeLifecycleRepairAction(surface, "get_connection_status")
|
|
9856
9880
|
}
|
|
9857
9881
|
]
|
|
9858
9882
|
};
|
|
9859
9883
|
}
|
|
9884
|
+
function nativeLifecycleRepairAction(surface, followupTool) {
|
|
9885
|
+
if (surface === "codex") {
|
|
9886
|
+
return `In Codex, open /hooks. Confirm the Remembrance SessionStart, UserPromptSubmit, PostToolUse, and Stop hooks are Active; trust any marked Needs review. Codex skips new or changed hook definitions until they are trusted again. If the hooks are absent, update or reinstall Remembrance. Then fully quit and reopen Codex, submit one prompt, and call ${followupTool} again.`;
|
|
9887
|
+
}
|
|
9888
|
+
return `Update or reinstall the Remembrance plugin, fully restart the host, and confirm native hooks are enabled. Then call ${followupTool} again. MCP-only access remains available.`;
|
|
9889
|
+
}
|
|
9860
9890
|
function emptyPluginComponents() {
|
|
9861
9891
|
return Object.fromEntries(
|
|
9862
9892
|
PLUGIN_HEALTH_COMPONENTS.map((component) => [
|
|
@@ -9981,7 +10011,7 @@ var apiConfiguration = resolveApiConfiguration();
|
|
|
9981
10011
|
var apiBase = apiConfiguration.baseUrl;
|
|
9982
10012
|
var MAX_REMOTE_RESPONSE_BYTES = 4 * 1024 * 1024;
|
|
9983
10013
|
var DOCTOR_PROBE_TIMEOUT_MS = 7500;
|
|
9984
|
-
var SERVER_VERSION = true ? "0.1.
|
|
10014
|
+
var SERVER_VERSION = true ? "0.1.51" : "0.0.0-dev";
|
|
9985
10015
|
var tools = toolDefinitions;
|
|
9986
10016
|
var doctorCliRequested = process.argv[2] === "doctor";
|
|
9987
10017
|
var inputBuffer = Buffer.alloc(0);
|
|
@@ -108,16 +108,25 @@ claude plugin install remembrance@remembrance
|
|
|
108
108
|
Codex:
|
|
109
109
|
|
|
110
110
|
~~~bash
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
CODEX_CLI="${CODEX_CLI:-$(command -v codex || true)}"
|
|
112
|
+
[ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/ChatGPT.app/Contents/Resources/codex"
|
|
113
|
+
[ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/Codex.app/Contents/Resources/codex"
|
|
114
|
+
[ -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; }
|
|
115
|
+
"$CODEX_CLI" plugin marketplace add dreamarkinc/remembrance-skills &&
|
|
116
|
+
"$CODEX_CLI" plugin marketplace upgrade remembrance &&
|
|
117
|
+
"$CODEX_CLI" plugin add remembrance@remembrance
|
|
113
118
|
~~~
|
|
114
119
|
|
|
115
|
-
|
|
120
|
+
This command handles both first install and update. If zsh says
|
|
121
|
+
"codex: command not found", it discovers the current ChatGPT desktop bundle or
|
|
122
|
+
the legacy Codex app bundle without requiring a shell alias.
|
|
116
123
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
124
|
+
Codex will not execute plugin hooks until their exact definitions are trusted.
|
|
125
|
+
After installing or updating, fully open Codex, enter `/hooks`, and confirm the
|
|
126
|
+
Remembrance `SessionStart`, `UserPromptSubmit`, `PostToolUse`, and `Stop` hooks
|
|
127
|
+
all show **Active**. Trust any marked **Needs review**. Changed hook definitions
|
|
128
|
+
require review again; never use
|
|
129
|
+
the automation-only trust bypass for normal installation.
|
|
121
130
|
|
|
122
131
|
OpenClaw:
|
|
123
132
|
|
|
@@ -175,8 +184,9 @@ Integrations & MCP**, and verify query, invocation, feedback, and contribution
|
|
|
175
184
|
receipts in both local and cloud runs.
|
|
176
185
|
|
|
177
186
|
After installing any native plugin, restart the agent app/session and approve
|
|
178
|
-
the
|
|
179
|
-
|
|
187
|
+
the runtime's trust request. For Codex, use the exact `/hooks` check above;
|
|
188
|
+
changed hook definitions require review again. A currently running Codex or
|
|
189
|
+
Claude thread usually cannot hot-load newly installed plugin tools.
|
|
180
190
|
|
|
181
191
|
## Enterprise/org key setup
|
|
182
192
|
|
|
@@ -828,8 +838,9 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
|
|
|
828
838
|
## Troubleshooting matrix
|
|
829
839
|
|
|
830
840
|
- "Plugin installed, but no tools": restart the agent app/session; confirm the
|
|
831
|
-
plugin is enabled
|
|
832
|
-
|
|
841
|
+
plugin is enabled and contains the runtime-specific manifest. In Codex, open
|
|
842
|
+
`/hooks`, confirm all four Remembrance hooks show **Active**, and trust any
|
|
843
|
+
marked **Needs review**; updates that change hooks require review again.
|
|
833
844
|
- "Agent has tools but does not use them": first verify a concrete query receipt,
|
|
834
845
|
then test a short contextual follow-up such as "fix these issues". Native
|
|
835
846
|
prompt hooks should inject a full-conversation query reminder, and completion
|
|
@@ -839,9 +850,9 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
|
|
|
839
850
|
standing instructions proactively. If tools are still not visible, use the
|
|
840
851
|
REST fallback and emit REMEMBRANCE_SUBMISSION_PAYLOAD only when the API is
|
|
841
852
|
unavailable.
|
|
842
|
-
- "codex: command not found": use
|
|
843
|
-
"/Applications/
|
|
844
|
-
|
|
853
|
+
- "codex: command not found": use the complete Codex setup above. It checks
|
|
854
|
+
the current "/Applications/ChatGPT.app/Contents/Resources/codex" bundle,
|
|
855
|
+
then the legacy "/Applications/Codex.app/Contents/Resources/codex" path.
|
|
845
856
|
- "401 or 403": the key is missing, expired, revoked, scoped to a different
|
|
846
857
|
environment, or not visible to the agent process. Check config file vs env
|
|
847
858
|
precedence and regenerate a key from the dashboard if needed.
|