@accidentally-awesome-labs/opencode-bestest 0.7.0 → 0.7.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/bin/init.ts CHANGED
@@ -37,12 +37,15 @@ const RENAME: Record<string, string> = {
37
37
  build: "bestest-build",
38
38
  ship: "bestest-ship",
39
39
  debug: "bestest-debug",
40
+ design: "bestest-design",
40
41
  "bestest-go": "bestest-go",
41
42
  "bestest-status": "bestest-status",
42
43
  }
43
44
  for (const dir of readdirSync(join(src, "skills"))) {
44
45
  const target = RENAME[dir]
45
- if (!target) continue
46
+ // A payload skill with no mapping must fail loudly: the silent `continue`
47
+ // shipped v0.7.0 with the design skill missing from every OpenCode install.
48
+ if (!target) throw new Error(`payload skill '${dir}' has no RENAME entry — add it to bin/init.ts`)
46
49
  doCopy(join(src, "skills", dir), join(base, "skills", target))
47
50
  if (!DRY && target !== dir) {
48
51
  const f = join(base, "skills", target, "SKILL.md")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accidentally-awesome-labs/opencode-bestest",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "OpenCode head for the bestest plugin: guard/lock/syntax enforcement shelling into the shared bash hooks, passive state injection, and an installer for skills/agents/commands.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/payload/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1