feat: skills
CI / verify (pull_request) Successful in 10s

This commit is contained in:
2026-09-26 21:35:59 +02:00
parent 4f956effff
commit d132060697
14 changed files with 338 additions and 96 deletions
+7 -6
View File
@@ -35,8 +35,9 @@ creation. Creating/opening the root workspace remains a user action.
## Configuration
Use OpenCode **2.0.4**, the version this integration targets. At both the root and
destination locations, configure:
Use OpenCode **2.0.15**, the version this integration targets. The package
retains Effect `4.0.0-rc.112` because OpenCode 2.0.15's client requires that
exact peer version. At both the root and destination locations, configure:
```jsonc
{
@@ -136,7 +137,7 @@ The plugin composes the original **Effect executor** in place, preserving the
foreground results, background job handling, and completion notifications. It does
not create substitute top-level sessions or a separate job scheduler.
OpenCode 2.0.4 awaits a child-ID progress callback after child creation and before
OpenCode 2.0.15 awaits a child-ID progress callback after child creation and before
prompting. The wrapper uses that boundary to create the worktree, move the explicit
child ID, and confirm its actual session location before allowing the task prompt.
A move-request acknowledgement alone is insufficient. Confirmation is bounded to
@@ -166,15 +167,15 @@ run the exported plugin through the real Promise adapter, apply configuration af
both plugin transforms, replay twice, and test separate location registries sharing
disk-backed bindings across plugin scope restarts. Their executor is simulated.
An opt-in integration check runs the **real OpenCode 2.0.4 server and native
An opt-in integration check runs the **real OpenCode 2.0.15 server and native
subagent executor**:
```sh
OPENCODE_204=/absolute/path/to/2.0.4/opencode bun scripts/test-multi-work-host.ts
OPENCODE_2015=/absolute/path/to/2.0.15/opencode bun scripts/test-multi-work-host.ts
```
It requires the exact-version binary (for Linux x64, published as
`@opencode/cli-linux-x64@2.0.4`), uses fresh HOME/XDG/config/database paths under
`@opencode/cli-linux-x64@2.0.15`), uses fresh HOME/XDG/config/database paths under
`/tmp/opencode`, and starts only loopback services. Herdr is a fake CLI performing
real Git worktree operations in the fixture repository; the model is a deterministic
HTTP endpoint. Fixture resources and logs are retained at the printed path.