@remembrance-ai/opencode-plugin 0.1.55 → 0.1.62
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 +37 -2
- package/opencode.json +4 -3
- package/package.json +1 -1
- package/scripts/hook-core.mjs +1477 -175
- package/servers/remembrance-mcp.mjs +984 -231
- package/skills/remembrancer/SKILL.md +64 -39
- package/skills/remembrancer/references/attestation-rest.md +43 -5
- package/skills/remembrancer/references/identity-preferences-topology.md +233 -0
- package/skills/remembrancer/references/remembrance-payloads.md +13 -8
- package/skills/remembrancer/references/remembrance-setup.md +20 -0
- package/src/index.mjs +29 -9
package/README.md
CHANGED
|
@@ -45,6 +45,39 @@ turn. Empty or unavailable queries never block the task. The plugin also
|
|
|
45
45
|
observes successful tool calls and prompts once for feedback after meaningful
|
|
46
46
|
use.
|
|
47
47
|
|
|
48
|
+
## Installation identity and preferences
|
|
49
|
+
|
|
50
|
+
The bundled local MCP automatically reuses the local TOFU key as one stable
|
|
51
|
+
installation principal and obtains a revocable 24-hour principal session.
|
|
52
|
+
A child runtime profile distinguishes this host surface without sending a
|
|
53
|
+
hostname, username, config path, or repository path. Runtime profiles do not
|
|
54
|
+
consume extra agent slots.
|
|
55
|
+
|
|
56
|
+
An optional single-use token from **Dashboard > Agents > Instances > Install on
|
|
57
|
+
this device** links the installation to the signed-in member so bounded working
|
|
58
|
+
preferences can follow that engineer. The token expires after ten
|
|
59
|
+
minutes and never belongs in reusable key-distribution instructions. Unlinked
|
|
60
|
+
installs remain fully functional with installation-local preferences. Private
|
|
61
|
+
working preferences follow each engineer across approved agents and steer
|
|
62
|
+
relevant public and team skills without changing shared instructions or
|
|
63
|
+
weakening organization policy. Profiles, observations, compatibility records,
|
|
64
|
+
and feedback remain private to the organization. Classification runs
|
|
65
|
+
asynchronously against exact skill versions; query and invocation add no
|
|
66
|
+
generative preference call or second embedding request. Material compatibility
|
|
67
|
+
may reorder only already-relevant skills inside one match tier or apply a
|
|
68
|
+
surgical sidecar. Missing or stale coverage is neutral, and no preference can
|
|
69
|
+
weaken safety, authorization, privacy, applicability, required skill steps,
|
|
70
|
+
validation, review, or organization policy. Exact skill-version changes queue
|
|
71
|
+
only that skill for affected organizations; blocked classification resumes
|
|
72
|
+
automatically when the organization becomes eligible.
|
|
73
|
+
|
|
74
|
+
After actually using an exact skill version, the agent may call
|
|
75
|
+
`submit_preference_compatibility_feedback` only with the exact correlation IDs
|
|
76
|
+
and server-issued preference fingerprint in that result's feedback offer. The
|
|
77
|
+
server verifies the fetch and active preference. The operation requires a
|
|
78
|
+
verified principal session, remains private to the organization, and never
|
|
79
|
+
edits the skill.
|
|
80
|
+
|
|
48
81
|
## Organization key
|
|
49
82
|
|
|
50
83
|
The MCP server reads the same Remembrance config as the native plugins, so one
|
|
@@ -91,10 +124,12 @@ link-local self-host also requires `REMEMBRANCE_ALLOW_PRIVATE_REGISTRY=true`.
|
|
|
91
124
|
| `chat.message` | Runs the fail-open query helper for the current user turn. |
|
|
92
125
|
| `experimental.chat.system.transform` | Adds bounded Remembrance guidance before model dispatch. |
|
|
93
126
|
| `tool.execute.after` | Correlates query, invocation, detail, and contribution calls. |
|
|
94
|
-
| `session.idle` | Shows
|
|
127
|
+
| `session.idle` | Shows a compact contribution nudge once per engagement. |
|
|
95
128
|
|
|
96
129
|
Set `REMEMBRANCE_AUTO_QUERY=0` to disable the query, or
|
|
97
|
-
`REMEMBRANCE_AUTO_CONTRIBUTE=0` to disable the completion nudge.
|
|
130
|
+
`REMEMBRANCE_AUTO_CONTRIBUTE=0` to disable the completion nudge. OpenCode's
|
|
131
|
+
current idle event exposes this compact instruction as a toast or structured
|
|
132
|
+
log rather than forcing another agent turn.
|
|
98
133
|
|
|
99
134
|
## Host policy
|
|
100
135
|
|
package/opencode.json
CHANGED
|
@@ -6,15 +6,16 @@
|
|
|
6
6
|
"command": [
|
|
7
7
|
"npx",
|
|
8
8
|
"-y",
|
|
9
|
-
"@remembrance-ai/mcp-server@0.1.
|
|
9
|
+
"@remembrance-ai/mcp-server@0.1.62"
|
|
10
10
|
],
|
|
11
11
|
"enabled": true,
|
|
12
12
|
"environment": {
|
|
13
|
-
"REMEMBRANCE_PLUGIN_HOST": "opencode"
|
|
13
|
+
"REMEMBRANCE_PLUGIN_HOST": "opencode",
|
|
14
|
+
"REMEMBRANCE_HOST_SURFACE": "cli"
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"plugin": [
|
|
18
|
-
"@remembrance-ai/opencode-plugin@0.1.
|
|
19
|
+
"@remembrance-ai/opencode-plugin@0.1.62"
|
|
19
20
|
]
|
|
20
21
|
}
|
package/package.json
CHANGED