{"_id":"@accidentally-awesome-labs/opencode-bestest","_rev":"7-925b4f4ba3e6ba8d20f511040ec85c71","name":"@accidentally-awesome-labs/opencode-bestest","dist-tags":{"latest":"0.8.0"},"versions":{"0.4.3":{"name":"@accidentally-awesome-labs/opencode-bestest","version":"0.4.3","license":"MIT","_id":"@accidentally-awesome-labs/opencode-bestest@0.4.3","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"bin":{"opencode-bestest":"bin/opencode-bestest"},"dist":{"shasum":"3c364fca5741372f5883b1245721fdabb20a6b5e","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/opencode-bestest/-/opencode-bestest-0.4.3.tgz","fileCount":45,"integrity":"sha512-3xYSXRKFnvvnMHOTXQG+Vbxzyfcnb67mr5tC48czceyojf+i5VmvRichB/mDL25MK9LqRVrJa0K+WxQa8gYGMA==","signatures":[{"sig":"MEYCIQDVN+iAwTl6cmDY/MVzaxNNDmV2afGBX6s8rtqPx9VxdAIhANv51R+BDHdOEVU5myoBnjXGhx7TGO/iQglvc4Lm8cgp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83736},"type":"module","exports":"./src/index.ts","gitHead":"df0f10a22619cb41fbe22784fde978ab3f528f19","scripts":{"test":"bun test","check":"bun x tsc --noEmit","prepack":"bash prepack.sh"},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"_npmVersion":"11.17.0","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.","directories":{},"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.14","typescript":"^5.9.0","@opencode-ai/plugin":"1.17.15"},"_npmOperationalInternal":{"tmp":"tmp/opencode-bestest_0.4.3_1783797056398_0.2472714867360648","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@accidentally-awesome-labs/opencode-bestest","version":"0.5.0","license":"MIT","_id":"@accidentally-awesome-labs/opencode-bestest@0.5.0","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"bin":{"opencode-bestest":"bin/opencode-bestest"},"dist":{"shasum":"a9a8572c5454de52eb1a5c713aa521d433e8ff2b","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/opencode-bestest/-/opencode-bestest-0.5.0.tgz","fileCount":46,"integrity":"sha512-Xf0IVimtZt0C4BO3DS7dAGCuvmPQ+fShdBdV9hlAo7YBE6M2LGTUbKWkHATVePubCNy5vwLarbUvmdvUBQ2urQ==","signatures":[{"sig":"MEQCIG4r8QIv8sHvwsndMRULmjlviV/TNBK0pAdiqVcqsk+RAiAKWPRoTGS2Hb4cA3oIxQdP90/DUhMAhJn1Y01HV1bK1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89691},"type":"module","exports":"./src/index.ts","gitHead":"3699a87d1979d58a7d8c54c52e476410ec98a5db","scripts":{"test":"bun test","check":"bun x tsc --noEmit","prepack":"bash prepack.sh"},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"_npmVersion":"11.17.0","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.","directories":{},"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.14","typescript":"^5.9.0","@opencode-ai/plugin":"1.17.15"},"_npmOperationalInternal":{"tmp":"tmp/opencode-bestest_0.5.0_1783806394612_0.8436752236711129","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@accidentally-awesome-labs/opencode-bestest","version":"0.6.0","license":"MIT","_id":"@accidentally-awesome-labs/opencode-bestest@0.6.0","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"bin":{"opencode-bestest":"bin/opencode-bestest"},"dist":{"shasum":"56a9af0d73bce2581397130ed4468d8f889b8720","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/opencode-bestest/-/opencode-bestest-0.6.0.tgz","fileCount":56,"integrity":"sha512-ni8LV2A0o7Gel14ZEhtF3b6hOcDOohGyNUvPaZ1ez1tVPFNWOy0IYb22PbZmAbKd7fBsvQ0zaZbP1DQUaT3VCQ==","signatures":[{"sig":"MEQCIBP3F9OLmJchjd4P7Q62NyET8qS3ub2w36ePjraLqt14AiB6eXYVqKxlEJRZ/g7hWcDQbAtEfdo+sr5GsdcwBwq6Uw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112420},"type":"module","exports":"./src/index.ts","gitHead":"8d24ed022ee3270b238ab5c004220641533e316c","scripts":{"test":"bun test","check":"bun x tsc --noEmit","prepack":"bash prepack.sh"},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"_npmVersion":"11.17.0","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.","directories":{},"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.14","typescript":"^5.9.0","@opencode-ai/plugin":"1.17.15"},"_npmOperationalInternal":{"tmp":"tmp/opencode-bestest_0.6.0_1783909614777_0.11688253503827628","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@accidentally-awesome-labs/opencode-bestest","version":"0.6.1","license":"MIT","_id":"@accidentally-awesome-labs/opencode-bestest@0.6.1","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"bin":{"opencode-bestest":"bin/opencode-bestest"},"dist":{"shasum":"261162355b8958957a07b64519f393bee2d3d45e","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/opencode-bestest/-/opencode-bestest-0.6.1.tgz","fileCount":56,"integrity":"sha512-vW173YQF4zy7xMSHnaRrP4nGYBCM6YGXkyaw7pGk3RyKfjl4ELbcF09XncRVaJZNK7yM33E0UjSYbmQB0d84ZQ==","signatures":[{"sig":"MEUCIC1FN8xLTI6qE/o2kJRJRokE75pI3/OhWfk0+zR/mBgTAiEAwQXOOm7vte5EHsbO9qLfHAive7qXoXT1Xpmd3qqQ4ZA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112459},"type":"module","exports":"./src/index.ts","gitHead":"ff351eaa18fe85ba0fef9f9eb5a2c89614c72e8c","scripts":{"test":"bun test","check":"bun x tsc --noEmit","prepack":"bash prepack.sh"},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"_npmVersion":"11.17.0","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.","directories":{},"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.14","typescript":"^5.9.0","@opencode-ai/plugin":"1.17.15"},"_npmOperationalInternal":{"tmp":"tmp/opencode-bestest_0.6.1_1783912541471_0.8822892408817298","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@accidentally-awesome-labs/opencode-bestest","version":"0.7.0","license":"MIT","_id":"@accidentally-awesome-labs/opencode-bestest@0.7.0","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"bin":{"opencode-bestest":"bin/opencode-bestest"},"dist":{"shasum":"95e6572921655eee2dab144fd636f0f7565744d6","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/opencode-bestest/-/opencode-bestest-0.7.0.tgz","fileCount":61,"integrity":"sha512-58TpxTQHCtPlxQo4awhu3Xhc8+mpA/q3V5+4/rxEv/4zEhYrTjGmxHsRYVdj0bQPxKle29JcXQ5Sq/x3TfYXdQ==","signatures":[{"sig":"MEQCIBwJzuzNnjnbPsI9FBp7b50FaScs1QQ1IghA1S2EP5ZtAiAbcsYPGJKLDS+RZdAx0VsdFwu1N2bvkQWEJLz4aVPZtw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":136972},"type":"module","exports":"./src/index.ts","gitHead":"87ad94a43efd81502eee43c2ff52b9b5da209769","scripts":{"test":"bun test","check":"bun x tsc --noEmit","prepack":"bash prepack.sh"},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"_npmVersion":"11.17.0","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.","directories":{},"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.14","typescript":"^5.9.0","@opencode-ai/plugin":"1.17.15"},"_npmOperationalInternal":{"tmp":"tmp/opencode-bestest_0.7.0_1783968706813_0.19117347671927232","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@accidentally-awesome-labs/opencode-bestest","version":"0.7.1","license":"MIT","_id":"@accidentally-awesome-labs/opencode-bestest@0.7.1","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"bin":{"opencode-bestest":"bin/opencode-bestest"},"dist":{"shasum":"a63f405b024a0be80bef0df25dbd08a0c2c04feb","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/opencode-bestest/-/opencode-bestest-0.7.1.tgz","fileCount":61,"integrity":"sha512-tgw5KsxeWQ3gGAuUbAci9D+2Yw4Rp0aA9gZDLRrxMd+YbyqvSksSv9Ap0R2bVc+c8qz7i/H6oI0lIsnSEOYesg==","signatures":[{"sig":"MEYCIQC8kvfzpbAxGYq6UGWV9N2gzWvosS7eoQ0ttA2LFgRf5AIhAPpk352xEaGrX8ovKGMlsOmdFQ94CmzLCYpekP+eWVCa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137235},"type":"module","exports":"./src/index.ts","gitHead":"ab81c9da024d11fac6d36847b0bdf49dfa1c383b","scripts":{"test":"bun test","check":"bun x tsc --noEmit","prepack":"bash prepack.sh"},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"_npmVersion":"11.17.0","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.","directories":{},"_nodeVersion":"26.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.3.14","typescript":"^5.9.0","@opencode-ai/plugin":"1.17.15"},"_npmOperationalInternal":{"tmp":"tmp/opencode-bestest_0.7.1_1783968974890_0.2579051434119153","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@accidentally-awesome-labs/opencode-bestest","version":"0.8.0","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.","license":"MIT","type":"module","exports":"./src/index.ts","bin":{"opencode-bestest":"bin/opencode-bestest"},"scripts":{"prepack":"bash prepack.sh","check":"bun x tsc --noEmit","test":"bun test"},"devDependencies":{"@opencode-ai/plugin":"1.17.15","bun-types":"^1.3.14","typescript":"^5.9.0"},"publishConfig":{"access":"public"},"gitHead":"986aaffd24cfab8214dd872d429d43adce113431","_id":"@accidentally-awesome-labs/opencode-bestest@0.8.0","_nodeVersion":"26.5.0","_npmVersion":"12.0.1","dist":{"integrity":"sha512-EcJpO8iw6gpAqZbxMVTbHQTaKB3mRzx8qe5dxu1122Fbq+02MqlqlLLDZfaEuspbewuQMriC9xkROhZZ1UqmTQ==","shasum":"3de876f05183d5d8fcab465c95d3f6aa483f27b3","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/opencode-bestest/-/opencode-bestest-0.8.0.tgz","fileCount":61,"unpackedSize":166454,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICpAjsKFnZE/q2fKKdoeMuO1zThFuZekfVvWKU8Eu9iEAiEA+RUjCmtAnNWKuew6IuPsdoJjt8hn5zlb9EG2x3//TI8="}]},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"directories":{},"maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencode-bestest_0.8.0_1784413341556_0.30870778648544195"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-11T19:10:56.081Z","modified":"2026-07-18T22:22:21.868Z","0.4.3":"2026-07-11T19:10:56.549Z","0.5.0":"2026-07-11T21:46:34.801Z","0.6.0":"2026-07-13T02:26:54.917Z","0.6.1":"2026-07-13T03:15:41.602Z","0.7.0":"2026-07-13T18:51:46.943Z","0.7.1":"2026-07-13T18:56:15.031Z","0.8.0":"2026-07-18T22:22:21.696Z"},"license":"MIT","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.","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"readme":"# opencode-bestest\n\nThe OpenCode head of [the bestest plugin](https://github.com/accidentally-awesome-labs/the-bestest-agent) — one compact lifecycle (P0 interrogate → P5 ship) with *physically enforced* gates: spec freeze, design-contract freeze (frozen `DESIGN.md` for anything with a visible interface), TDD test locks, destructive-command guard, and drift detection.\n\n## Install (per project)\n\n```bash\ncd your-project\nbunx @accidentally-awesome-labs/opencode-bestest init   # or npx\n```\n\n`init` is idempotent (re-run it to update) and supports `--dry-run` and `--global` (skills/agents/commands into `~/.config/opencode/`). It:\n\n- copies the lifecycle skills into `.opencode/skills/` (prefixed `bestest-*`)\n- installs the plan-checker / researcher / reviewer / builder agents (pointer stubs — their canonical bodies ride the payload, so `--global` installs need a project `init` before the roles resolve) and `/bestest-go` + `/bestest-status` commands\n- copies the runtime payload (guard scripts, `trace.sh` + `gate.sh`, templates, canonical agent bodies) to `.opencode/bestest/`\n- wires `opencode.json`: the `@accidentally-awesome-labs/opencode-bestest` plugin (enforcement) and an `instructions` entry that passively injects `.bestest/.context.md` — the plugin-maintained digest of STATE + LOCKS + active card + DRIFT notice\n\nThen open opencode and run `/bestest-go`.\n\n## Update\n\n```bash\nbunx @accidentally-awesome-labs/opencode-bestest@latest init\n```\n\nThe explicit `@latest` matters: bunx caches per-package manifests in `$TMPDIR`, and a stale one can make a freshly published version unresolvable (\"No version matching … but package exists\"); `bun pm cache rm` does **not** clear it — delete the `$TMPDIR/bunx-*` directory for this scope if you hit it. `init` is idempotent: it refreshes the skills, agents, commands, and runtime payload in place. Run it in **every** project using the plugin — the payload is vendored per project. After a version jump, check the repo's `MIGRATION-v*.md` for that release before resuming in-flight work.\n\n## What the plugin enforces\n\n| Tool call | Script | Outcome |\n|---|---|---|\n| `bash` | `guard.sh` | destructive commands (rm -rf /, git reset --hard, force-push to main, …) → blocked |\n| `write` / `edit` / `apply_patch` | `lock-guard.sh` | writes to the frozen SPEC/DESIGN.md or locked test files → blocked with the amendment path |\n| `session.idle` | `session-start.sh stop` | drift snapshot; next session's digest carries a DRIFT notice if the tree changed out-of-band |\n\nThe bash scripts are byte-identical to the ones the Claude Code and Codex heads run — one guard implementation, three harnesses. Guards **fail closed**: no bash (install Git Bash on Windows) means guarded tools are refused, not waved through.\n\nDev/source install (no npm): clone the repo, then in your project's `.opencode/plugins/bestest-dev.ts`:\n\n```ts\nexport { BestestPlugin } from \"/path/to/the-bestest-agent/adapters/opencode/src/index\"\n```\n","readmeFilename":"README.md"}