@remembrance-ai/opencode-plugin 0.1.48 → 0.1.50
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.50"
|
|
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.50"
|
|
19
19
|
]
|
|
20
20
|
}
|
package/package.json
CHANGED
package/scripts/hook-core.mjs
CHANGED
|
@@ -2288,9 +2288,20 @@ export function contributeDisabled(value) {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
|
|
2290
2290
|
function pluginHealthDir(env = process.env) {
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2291
|
+
if (env?.REMEMBRANCE_PLUGIN_HEALTH_DIR) {
|
|
2292
|
+
return String(env.REMEMBRANCE_PLUGIN_HEALTH_DIR);
|
|
2293
|
+
}
|
|
2294
|
+
// Hook adapters are exercised directly by several Vitest suites. Keep those
|
|
2295
|
+
// observations out of the real user health directory even when a test passes
|
|
2296
|
+
// a deliberately minimal env object that omits Vitest's process variables.
|
|
2297
|
+
if (process.env.VITEST) {
|
|
2298
|
+
return join(
|
|
2299
|
+
tmpdir(),
|
|
2300
|
+
"remembrance-plugin-health-tests",
|
|
2301
|
+
String(process.pid),
|
|
2302
|
+
);
|
|
2303
|
+
}
|
|
2304
|
+
return join(homedir(), ".cache", "remembrance", "plugin-health");
|
|
2294
2305
|
}
|
|
2295
2306
|
|
|
2296
2307
|
function normalizedPluginHealthSurface(value) {
|
|
@@ -2362,6 +2373,28 @@ export function recordPluginLifecycleHealth(
|
|
|
2362
2373
|
) {
|
|
2363
2374
|
return false;
|
|
2364
2375
|
}
|
|
2376
|
+
// Codex currently gives SessionStart a thread identifier while prompt/tool/
|
|
2377
|
+
// completion hooks use turn identifiers. Preserve the specific startup
|
|
2378
|
+
// marker for diagnostics, but also publish a generic startup observation so
|
|
2379
|
+
// the first turn-specific marker can inherit it. Other hosts with stable
|
|
2380
|
+
// session ids remain correct and gain the same conservative fallback.
|
|
2381
|
+
if (
|
|
2382
|
+
normalizedComponent === "session_start" &&
|
|
2383
|
+
sessionId &&
|
|
2384
|
+
sessionId !== "unknown"
|
|
2385
|
+
) {
|
|
2386
|
+
recordPluginLifecycleHealth(
|
|
2387
|
+
{
|
|
2388
|
+
surface: normalizedSurface,
|
|
2389
|
+
component: normalizedComponent,
|
|
2390
|
+
pluginVersion,
|
|
2391
|
+
hostVersion,
|
|
2392
|
+
credentialSource,
|
|
2393
|
+
sessionId: null,
|
|
2394
|
+
},
|
|
2395
|
+
env,
|
|
2396
|
+
);
|
|
2397
|
+
}
|
|
2365
2398
|
const path = pluginHealthSessionPath(normalizedSurface, sessionId, env);
|
|
2366
2399
|
if (!path) return false;
|
|
2367
2400
|
const now = new Date().toISOString();
|
|
@@ -5930,7 +5930,7 @@ var seedSkills = [
|
|
|
5930
5930
|
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
5931
|
status: "active",
|
|
5932
5932
|
visibility: "public",
|
|
5933
|
-
version: "0.1.
|
|
5933
|
+
version: "0.1.10",
|
|
5934
5934
|
domains: ["agent-skills", "mcp", "resource-discovery"],
|
|
5935
5935
|
tags: [
|
|
5936
5936
|
"remembrance",
|
|
@@ -5981,7 +5981,7 @@ var seedSkills = [
|
|
|
5981
5981
|
"gemini",
|
|
5982
5982
|
"rest"
|
|
5983
5983
|
],
|
|
5984
|
-
version: "0.1.
|
|
5984
|
+
version: "0.1.10",
|
|
5985
5985
|
status: "active",
|
|
5986
5986
|
visibility: "public",
|
|
5987
5987
|
providers: ["codex", "claude", "cursor", "openclaw", "generic"],
|
|
@@ -6160,16 +6160,18 @@ claude plugin install remembrance@remembrance
|
|
|
6160
6160
|
Codex:
|
|
6161
6161
|
|
|
6162
6162
|
~~~bash
|
|
6163
|
-
|
|
6164
|
-
|
|
6163
|
+
CODEX_CLI="\${CODEX_CLI:-$(command -v codex || true)}"
|
|
6164
|
+
[ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/ChatGPT.app/Contents/Resources/codex"
|
|
6165
|
+
[ -x "$CODEX_CLI" ] || CODEX_CLI="/Applications/Codex.app/Contents/Resources/codex"
|
|
6166
|
+
[ -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; }
|
|
6167
|
+
"$CODEX_CLI" plugin marketplace add dreamarkinc/remembrance-skills &&
|
|
6168
|
+
"$CODEX_CLI" plugin marketplace upgrade remembrance &&
|
|
6169
|
+
"$CODEX_CLI" plugin add remembrance@remembrance
|
|
6165
6170
|
~~~
|
|
6166
6171
|
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
/Applications/Codex.app/Contents/Resources/codex plugin marketplace add dreamarkinc/remembrance-skills
|
|
6171
|
-
/Applications/Codex.app/Contents/Resources/codex plugin add remembrance@remembrance
|
|
6172
|
-
~~~
|
|
6172
|
+
This command handles both first install and update. If zsh says
|
|
6173
|
+
"codex: command not found", it discovers the current ChatGPT desktop bundle or
|
|
6174
|
+
the legacy Codex app bundle without requiring a shell alias.
|
|
6173
6175
|
|
|
6174
6176
|
OpenClaw:
|
|
6175
6177
|
|
|
@@ -6826,9 +6828,9 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
|
|
|
6826
6828
|
standing instructions proactively. If tools are still not visible, use the
|
|
6827
6829
|
REST fallback and emit REMEMBRANCE_SUBMISSION_PAYLOAD only when the API is
|
|
6828
6830
|
unavailable.
|
|
6829
|
-
- "codex: command not found": use
|
|
6830
|
-
"/Applications/
|
|
6831
|
-
|
|
6831
|
+
- "codex: command not found": use the complete Codex setup above. It checks
|
|
6832
|
+
the current "/Applications/ChatGPT.app/Contents/Resources/codex" bundle,
|
|
6833
|
+
then the legacy "/Applications/Codex.app/Contents/Resources/codex" path.
|
|
6832
6834
|
- "401 or 403": the key is missing, expired, revoked, scoped to a different
|
|
6833
6835
|
environment, or not visible to the agent process. Check config file vs env
|
|
6834
6836
|
precedence and regenerate a key from the dashboard if needed.
|
|
@@ -9981,7 +9983,7 @@ var apiConfiguration = resolveApiConfiguration();
|
|
|
9981
9983
|
var apiBase = apiConfiguration.baseUrl;
|
|
9982
9984
|
var MAX_REMOTE_RESPONSE_BYTES = 4 * 1024 * 1024;
|
|
9983
9985
|
var DOCTOR_PROBE_TIMEOUT_MS = 7500;
|
|
9984
|
-
var SERVER_VERSION = true ? "0.1.
|
|
9986
|
+
var SERVER_VERSION = true ? "0.1.50" : "0.0.0-dev";
|
|
9985
9987
|
var tools = toolDefinitions;
|
|
9986
9988
|
var doctorCliRequested = process.argv[2] === "doctor";
|
|
9987
9989
|
var inputBuffer = Buffer.alloc(0);
|
|
@@ -108,16 +108,18 @@ 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
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
/Applications/Codex.app/Contents/Resources/codex plugin marketplace add dreamarkinc/remembrance-skills
|
|
119
|
-
/Applications/Codex.app/Contents/Resources/codex plugin add remembrance@remembrance
|
|
120
|
-
~~~
|
|
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.
|
|
121
123
|
|
|
122
124
|
OpenClaw:
|
|
123
125
|
|
|
@@ -839,9 +841,9 @@ be copied to ".agents/skills/remembrancer/SKILL.md" for compatible providers.
|
|
|
839
841
|
standing instructions proactively. If tools are still not visible, use the
|
|
840
842
|
REST fallback and emit REMEMBRANCE_SUBMISSION_PAYLOAD only when the API is
|
|
841
843
|
unavailable.
|
|
842
|
-
- "codex: command not found": use
|
|
843
|
-
"/Applications/
|
|
844
|
-
|
|
844
|
+
- "codex: command not found": use the complete Codex setup above. It checks
|
|
845
|
+
the current "/Applications/ChatGPT.app/Contents/Resources/codex" bundle,
|
|
846
|
+
then the legacy "/Applications/Codex.app/Contents/Resources/codex" path.
|
|
845
847
|
- "401 or 403": the key is missing, expired, revoked, scoped to a different
|
|
846
848
|
environment, or not visible to the agent process. Check config file vs env
|
|
847
849
|
precedence and regenerate a key from the dashboard if needed.
|