Commit Graph
9 Commits
Author SHA1 Message Date
Wayner Barrios fccd8763a8 Update the skills for OpenCode 2 and keep OpenCode 1 support 2026-10-19 01:48:34 -04:00
Yefta Sutanto 1c03388209 docs(opencode): document dual OpenCode 1 and 2 support
Record the 1.18.32 and 2.0.14 host inspections, describe the shared
plugin hook in the notices, and sync the lockfile after restoring the
1.18.7 engine floor.
2026-09-23 20:02:30 +10:00
Yefta Sutanto 3b04f7381d feat(opencode): port the plugin and behavioral evals to the OpenCode 2 plugin API
The OpenCode 2 plugin API replaces the V1 config hook, so the shipped
plugin no longer loads on 2.x. Port every OpenCode surface in one change:

- Register all bundled skills and the three specialist subagents through
  ctx.skill.transform and ctx.agent.transform, with ordered V2 permission
  rulesets and frontmatter-stripped skill content.
- Move the shared definitions helper to .opencode/lib so the plugin
  loader does not discover it as a plugin entrypoint.
- Rewrite the behavioral eval runner around opencode serve, the V2
  session API, and skill attachments; keep the grading, redaction, and
  snapshot evidence model unchanged.
- Port the smoke test to @opencode/cli 2.0.14 and verify registration
  through a companion plugin, and update CI to install dependencies.
- Require OpenCode >= 2.0.0 and depend on @opencode/plugin ^2.0.14.
2026-09-23 18:20:17 +10:00
Wayner Barrios 8a399d66e5 Prepare version 0.5.0 for the portable native sandbox release
Align npm and host plugin metadata, refresh the release workflow example, update the branded version marker, and record the final sandbox compatibility verification date.
2026-08-17 12:46:37 -05:00
Wayner Barrios 4a1cdf22a4 Keep sandbox runtime resources private while preserving portable Git inspection
Create upstream proxy sockets, generated certificates, and temporary files inside each command's disposable root, and disable mutable host system Git configuration without broadening filesystem access.
2026-08-17 01:05:31 -05:00
Wayner Barrios 932bd0314d Make native sandbox checks work across macOS temporary paths and Linux filtered network proxies
Add a narrow Seatbelt metadata grant for the /var symlink and force the loopback integration fixture through the runtime proxy.
2026-08-17 00:48:28 -05:00
Wayner Barrios f45f7cfc3d Complete portable script execution under native macOS containment
Add the missing Seatbelt interpreter permission through an exact-version, fail-closed compatibility shim so shell and env shebang commands work without weakening filesystem visibility. Align the Linux credential-directory test with its disposable tmpfs behavior and document when the temporary upstream compatibility layer can be removed.
2026-08-17 00:20:19 -05:00
Wayner Barrios ab74f6a2ce Add a fail-closed native sandbox runner for portable skill execution
Pin Anthropic's sandbox runtime and translate trusted skill profiles into lightweight, on-demand filesystem, network, credential, and process-tree restrictions. Add readiness diagnostics, secure command and Git workspace discovery, signal-safe cleanup, Linux and macOS integration coverage, packaged-runtime checks, and practical compatibility guidance for Codex, Claude Code, OpenCode, and Pi.
2026-08-16 13:43:54 -05:00
Wayner Barrios e0d54b1bd9 Add validation screenshots from a real frontend-design run
Output of running the rewritten frontend-design skill in OpenCode on a NEBULA
sci-fi magazine brief: a dark editorial aesthetic with an acid-green accent, a
condensed display face (not Inter/Roboto), and three distinct pricing tiers.
Concrete evidence the skill produces distinctive, non-generic UI. Linked from
the PR's Validation section.
2026-05-27 15:53:52 -04:00