@mnmal-ai/cortext-opencode 1.0.0-alpha.0 → 1.0.0-alpha.1
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 +2 -3
- package/dist/plugin.js +1996 -4642
- package/instructions/substrate-conventions.md +3 -3
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- substrate-conventions vsynoptic-1.0.0-alpha.
|
|
1
|
+
<!-- substrate-conventions vsynoptic-1.0.0-alpha.1+99787976 — opencode skin; plugin-owned, do not edit. Edit your own AGENTS.md instead. Body is shared with the Claude skin's fragment (test/instructions-sync.test.ts enforces it). -->
|
|
2
2
|
|
|
3
3
|
# Substrate interaction conventions
|
|
4
4
|
|
|
@@ -183,10 +183,10 @@ Each row also carries that cold-start's own checks: `pinState`, `mcpJsonState`,
|
|
|
183
183
|
|
|
184
184
|
Memory is scoped by the `project` field on each row (repo basename), **not** by which directory the file sits in. Cross-cutting rows use `project: null`.
|
|
185
185
|
|
|
186
|
-
**Reading:** memory is **not preloaded
|
|
186
|
+
**Reading:** memory is **not preloaded**; the cold-start carries no memory section. When a task touches prior work, call `recall` with `namespace`, a topic `query` and `type: "Memory"` (or `"SessionLog"` / `"Decision"`; the tool defaults to Decision), scoped with `where: { project: { in: ["<repo>", null] } }`. Or query `<ns>/Memory` by `name`.
|
|
187
187
|
|
|
188
188
|
**Writing:** `cortext/createMemory`. Recall first: update an existing row covering the same fact rather than creating a duplicate.
|
|
189
189
|
|
|
190
190
|
## Cold-start
|
|
191
191
|
|
|
192
|
-
Each session begins with an injected
|
|
192
|
+
Each session begins with an injected rule index: every binding (`must`) and always-on (`pinned`) AgentRule as one line, `#<shortId> (<category>) <synopsis>`, then one line pointing at everything else (the remaining rules, current focus in `<ns>/AnchorIntent`, open work, memory, concepts), each a query away. Read it before acting, and fetch a rule's full text, rationale and triggers by shortId when you need them. Re-query AgentRules after `/compact` (compression evicts them).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mnmal-ai/cortext-opencode",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
4
|
"description": "Cortext — the OpenCode skin: cold-start injection via experimental.chat.system.transform, bundling the @mnmal-ai/synoptic host into a committed dist artifact. Installed as an OpenCode plugin (\"plugin\": [\"@mnmal-ai/cortext-opencode\"]). Published to npm, not the Claude marketplace.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@mnmal-ai/synoptic": "1.0.0-alpha.
|
|
28
|
+
"@mnmal-ai/synoptic": "1.0.0-alpha.1",
|
|
29
29
|
"@opencode-ai/plugin": "^1.18.35",
|
|
30
30
|
"@opencode/plugin": "^2.0.24",
|
|
31
31
|
"@types/node": "^26.6.4",
|