Commit Graph
13 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
Wayner Barrios d3f8e1786f Update counts to 55 skills and register original humanizer with sandbox 2026-10-05 23:26:01 -04:00
Yefta Sutanto 4dfff60ff5 refactor(opencode): simplify the dual-host plugin and stop sharing agent state
- Drop the @opencode/plugin dependency: Plugin.define is an identity
  function, and both hosts load a plain { id, setup, server } object.
  This removes ~3,700 lockfile lines from every OpenCode 1 and 2 install.
- Remove the OpencodePowerPack named export. OpenCode 1.18.7+ uses the
  default export's server() and never scans named exports when it exists.
- Derive the OpenCode 2 rulesets from the OpenCode 1 permission maps so
  the read-only policy has a single source, and parse SKILL.md once.
- Build fresh agent definitions per hook call. OpenCode 2 appends global
  rules to agent permissions in place, and the shared module array leaked
  those rules between code-explorer and code-architect.
- Un-export eval runner helpers that nothing imports.
2026-09-24 10:39:25 +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 c26096550c Keep packaged installation tests independent from the publishing registry
Use the public npm registry for temporary consumer installations so release workflows can publish to GitHub Packages without redirecting test dependencies away from npmjs.
2026-08-17 14:00:15 -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 3be32f0563 Introduce a shared advisory sandbox policy contract for Codex, OpenCode, Claude Code, and Pi
Define versioned capability profiles for every bundled skill, add policy resolution and diagnostic commands, preserve sandbox metadata during selective installation, and cover the contract and packaged artifacts with tests.
2026-08-16 12:08:18 -05:00
Wayner Barrios 66eac6e8db feat: add Claude Code packaging and skill quality gates (#26)
- add native Claude Code plugin and marketplace manifests
- document Claude Code installation, invocation, updates, and removal
- reduce routing metadata and enforce a catalog budget
- validate Agent Skills and Claude manifests in CI
- remove wooyun-legacy from the package and provenance
- update package metadata and tests for the 54-skill catalog
2026-08-13 17:06:24 -04:00
Wayner Barrios 086e9bae2f Add selective npm skill installer and distinguish code review workflows
Adds selective skill installation, curated profiles, dependency expansion,
safe replacement, provenance preservation, distinct comprehensive and focused
code-review identities, complete documentation, and npm release preparation
for version 0.4.0.
2026-08-13 16:25:44 -04:00
Wayner Barrios 9a41e8621a Add Codex plugin distribution 2026-07-31 19:22:41 -04:00
Wayner Barrios d2e9b4ee88 Document behavioral evaluation workflow 2026-07-31 16:50:05 -04:00
Wayner Barrios 15a497f766 Correct project rules resolution 2026-07-28 15:38:42 -04:00
Wayner Barrios c753cd35ad Adopt native skill discovery 2026-07-27 14:32:22 -04:00