@remembrance-ai/opencode-plugin 0.1.52 → 0.1.55
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/README.md +21 -7
- package/opencode.json +2 -2
- package/package.json +1 -1
- package/scripts/hook-core.mjs +690 -21
- package/servers/remembrance-mcp.mjs +564 -67
- package/skills/remembrancer/references/remembrance-payloads.md +6 -4
- package/skills/remembrancer/references/remembrance-setup.md +48 -25
- package/src/index.mjs +84 -5
package/README.md
CHANGED
|
@@ -21,6 +21,17 @@ Restart opencode. Remembrance then appears in its tools list, adds bounded
|
|
|
21
21
|
matching guidance to eligible model turns, observes completed use, and asks once
|
|
22
22
|
for concise, redacted feedback.
|
|
23
23
|
|
|
24
|
+
At session creation, the plugin performs a bounded, credential-free release
|
|
25
|
+
check. If a newer verified version exists, opencode shows a notice and gives the
|
|
26
|
+
agent the locally bundled setup command. The agent must ask before running it,
|
|
27
|
+
and the user must restart opencode afterward. Remembrance never updates itself
|
|
28
|
+
silently. Set `REMEMBRANCE_CLIENT_UPDATE_CHECK=0` to disable the advisory check.
|
|
29
|
+
|
|
30
|
+
Older opencode installations that predate this startup check still learn about
|
|
31
|
+
a verified update on their next successful Remembrance query. The API places a
|
|
32
|
+
command-free notice first in the legacy contribution directive; only this
|
|
33
|
+
installed package supplies the trusted local setup command.
|
|
34
|
+
|
|
24
35
|
Use `npx -y @remembrance-ai/opencode-plugin setup --dry-run` to preview the merged
|
|
25
36
|
config. `opencode.json` in this package is a reference config for managed
|
|
26
37
|
deployments.
|
|
@@ -74,13 +85,13 @@ link-local self-host also requires `REMEMBRANCE_ALLOW_PRIVATE_REGISTRY=true`.
|
|
|
74
85
|
|
|
75
86
|
## What the plugin does
|
|
76
87
|
|
|
77
|
-
| Event | Behavior
|
|
78
|
-
| ------------------------------------ |
|
|
88
|
+
| Event | Behavior |
|
|
89
|
+
| ------------------------------------ | --------------------------------------------------------------- |
|
|
79
90
|
| `session.created` | Reports activation health and how to verify organization scope. |
|
|
80
|
-
| `chat.message` | Runs the fail-open query helper for the current user turn.
|
|
81
|
-
| `experimental.chat.system.transform` | Adds bounded Remembrance guidance before model dispatch.
|
|
82
|
-
| `tool.execute.after` | Correlates query, invocation, detail, and contribution calls.
|
|
83
|
-
| `session.idle` | Shows the contribution nudge once per engagement.
|
|
91
|
+
| `chat.message` | Runs the fail-open query helper for the current user turn. |
|
|
92
|
+
| `experimental.chat.system.transform` | Adds bounded Remembrance guidance before model dispatch. |
|
|
93
|
+
| `tool.execute.after` | Correlates query, invocation, detail, and contribution calls. |
|
|
94
|
+
| `session.idle` | Shows the contribution nudge once per engagement. |
|
|
84
95
|
|
|
85
96
|
Set `REMEMBRANCE_AUTO_QUERY=0` to disable the query, or
|
|
86
97
|
`REMEMBRANCE_AUTO_CONTRIBUTE=0` to disable the completion nudge.
|
|
@@ -90,7 +101,10 @@ Set `REMEMBRANCE_AUTO_QUERY=0` to disable the query, or
|
|
|
90
101
|
A tenant or privacy-policy denial in the host happens before Remembrance is
|
|
91
102
|
called, so it is not a Remembrance misconfiguration — the same boundary as a
|
|
92
103
|
Codex tenant/privacy-policy denial, which occurs before Remembrance is reached
|
|
93
|
-
and must not be reported as a Remembrance setup failure.
|
|
104
|
+
and must not be reported as a Remembrance setup failure. The plugin reports one
|
|
105
|
+
local, content-free alert: **Remembrance was blocked by host policy before
|
|
106
|
+
reaching Remembrance. Nothing was sent. Querying remains available.** It does
|
|
107
|
+
not retry or automatically create a handoff.
|
|
94
108
|
|
|
95
109
|
## Generated files
|
|
96
110
|
|
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.55"
|
|
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.55"
|
|
19
19
|
]
|
|
20
20
|
}
|
package/package.json
CHANGED