@snarkipus/opencode-beads 1.1.0-beta.4 → 1.1.0-beta.5
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 +8 -4
- package/package.json +1 -1
- package/src/host.ts +2 -0
- package/src/workflows.ts +2 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
This is an independent project maintained by Matt Jackson under the MIT license. It began as a fork of [Josh Thomas's `opencode-beads`](https://github.com/joshuadavidthomas/opencode-beads), and the original work remains credited to its author. 1.0 rebuilt the plugin for OpenCode 2, and development now continues here independently. It vendors nothing from upstream Beads; instead, every Beads release is checked against the `bd` behavior the plugin relies on (see [Tracking upstream Beads](#tracking-upstream-beads)).
|
|
13
13
|
|
|
14
|
-
This release is **1.1.0-beta.
|
|
14
|
+
This release is **1.1.0-beta.5**, an opt-in beta targeting npm dist-tag `next`; its integration diagnostic command is `oc-beads:diagnostics`. Beta.1 used `oc-beads:status`; the rename is documented below. The beta's normal public entrypoint enables the eleven qualified operations in the native `beads` code-mode namespace on supported hosts: find, get, edges, memories, recall, claim, note, selected-field update, close, create and remember. No wrapper, internal dependency injection, manual skill copy or activation setting is needed. The opt-in is selecting the beta artifact. The published stable 1.0.2 package is unchanged.
|
|
15
15
|
|
|
16
16
|
The beta registers 29 `oc-beads:<stem>` workflows plus `oc-beads:diagnostics` through ordinary native command registration and owns its packaged `oc-beads` skill at the installed path, with all 15 corpus resources plus CODE_MODE and ADR (17 links). User configuration/file commands retain native precedence on load and rebuild; removing an override restores the package definition. Other plugin conflicts follow native ordering. Diagnostics reports observed registration and name/description mismatches; identical-description overrides and public owner identity remain unobservable.
|
|
17
17
|
|
|
@@ -45,7 +45,7 @@ The beta requires OpenCode `>=2.1.1 <2.2` and `bd` 1.3.1 or later. Exact OpenCod
|
|
|
45
45
|
|
|
46
46
|
```json
|
|
47
47
|
{
|
|
48
|
-
"plugins": ["@snarkipus/opencode-beads@1.1.0-beta.
|
|
48
|
+
"plugins": ["@snarkipus/opencode-beads@1.1.0-beta.5"]
|
|
49
49
|
}
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -63,7 +63,7 @@ Plugin options use the object form:
|
|
|
63
63
|
{
|
|
64
64
|
"plugins": [
|
|
65
65
|
{
|
|
66
|
-
"package": "@snarkipus/opencode-beads@1.1.0-beta.
|
|
66
|
+
"package": "@snarkipus/opencode-beads@1.1.0-beta.5",
|
|
67
67
|
"options": { "luna": true, "autoMigrate": false }
|
|
68
68
|
}
|
|
69
69
|
]
|
|
@@ -136,7 +136,11 @@ single-line free text inline and multiline text below, preserving whitespace.
|
|
|
136
136
|
Full static instructions live in durable `ocBeadsWorkflow` message metadata,
|
|
137
137
|
expanded by existing primary and compaction hooks; retained `ocBeadsSync` v1
|
|
138
138
|
history remains readable. Attachments/skills, prompt hooks and native delivery
|
|
139
|
-
remain normal inputs.
|
|
139
|
+
remain normal inputs. Starting with beta.5, diagnostics also uses compact history:
|
|
140
|
+
its dynamic observed report is captured once into the same metadata/hook path,
|
|
141
|
+
without adding store access. Its answer includes the loaded plugin name/version
|
|
142
|
+
from the installed package manifest alongside the observed OpenCode host version.
|
|
143
|
+
A version label alone is not a unique canary build fingerprint.
|
|
140
144
|
Plugin activation is required for expansion; summaries retain semantic context,
|
|
141
145
|
not guaranteed verbatim snapshots. Native storage/estimates can include copies or
|
|
142
146
|
miss hidden text; this is not a token-savings claim. See the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snarkipus/opencode-beads",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A maintained OpenCode V2 integration for the Beads issue tracker: bd prime context injection with a schema-migration guard, and a bounded task agent.",
|
|
6
6
|
"author": "Matt Jackson",
|
package/src/host.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Plugin } from "@opencode/plugin";
|
|
2
|
+
import packageManifest from "../package.json";
|
|
2
3
|
import { applyBeadsSkill, createBeadsCommands, expandBeadsWorkflowContext, loadBeadsSkill, type SkillLoadDependencies } from "./workflows";
|
|
3
4
|
import { applyBeadsAgents, beadsAgents, BEADS_TASK_AGENTS } from "./agents";
|
|
4
5
|
import { BEADS_COMPACTION_GUIDANCE, UNKNOWN_CAPABILITIES, type RequestCapabilities } from "./guidance";
|
|
@@ -254,6 +255,7 @@ export async function setupBeads(
|
|
|
254
255
|
try { effectiveSkills = ctx.skill ? (await ctx.skill.list()).data.map((entry) => String(entry.id)) : "unavailable"; }
|
|
255
256
|
catch { effectiveSkills = "unavailable: registry lookup failed"; }
|
|
256
257
|
return JSON.stringify({
|
|
258
|
+
plugin: { name: packageManifest.name, version: packageManifest.version },
|
|
257
259
|
host: hostVersion, admission: SUPPORTED_OPENCODE_RANGE, liveQualification: "not measured by diagnostics; see release acceptance evidence",
|
|
258
260
|
commands: {
|
|
259
261
|
registration: commandRegistration,
|
package/src/workflows.ts
CHANGED
|
@@ -151,7 +151,8 @@ export function createBeadsCommands(
|
|
|
151
151
|
if (signal?.aborted) throw new Error("Beads workflow unloaded");
|
|
152
152
|
await session.prompt({
|
|
153
153
|
...input.prompt, sessionID: input.sessionID, delivery: input.delivery,
|
|
154
|
-
text:
|
|
154
|
+
text: `/oc-beads:diagnostics${input.prompt.text ? `${/[\r\n]/.test(input.prompt.text) ? "\n" : " "}${input.prompt.text}` : ""}`,
|
|
155
|
+
metadata: { ocBeadsWorkflow: { version: 1, instructions: `Report these observed Beads diagnostics. This is read-only; do not run store-opening commands, change configuration or infer live qualification.\n${report}\nInclude the loaded plugin name/version and observed OpenCode host version near the start of your report. Preserve unavailable, withheld and uncertain observations; do not infer a unique build identity from a version label.` } },
|
|
155
156
|
});
|
|
156
157
|
},
|
|
157
158
|
});
|