chore: bump deps (oc 2.0.27)
CI / verify (pull_request) Successful in 10s

This commit is contained in:
2026-10-12 09:48:45 +02:00
parent d1c944f262
commit 64b2f96601
8 changed files with 147 additions and 155 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
// Opt-in real-host check: OPENCODE_2022=/absolute/path/to/2.0.22/opencode bun scripts/test-multi-work-host.ts
// Opt-in real-host check: OPENCODE_2027=/absolute/path/to/2.0.27/opencode bun scripts/test-multi-work-host.ts
// Only fake Herdr/model servers and fresh temporary repositories/databases are used.
import { mkdir, mkdtemp, writeFile, chmod, readFile, rm } from "node:fs/promises";
import { tmpdir } from "node:os";
@@ -8,9 +8,9 @@ import { OpenCode } from "@opencode/client";
import { command } from "../src/multi-work/herdr.js";
import { z } from "zod";
const binary = process.env["OPENCODE_2022"];
const binary = process.env["OPENCODE_2027"];
if (binary === undefined || binary === "")
throw new Error("Set OPENCODE_2022 to an isolated OpenCode 2.0.22 binary");
throw new Error("Set OPENCODE_2027 to an isolated OpenCode 2.0.27 binary");
const temp = await mkdtemp(join(tmpdir(), "native-multi-work-"));
try {
const root = join(temp, "root");
@@ -20,8 +20,8 @@ try {
const herdrCreation = join(temp, "herdr-creation.txt");
for (const path of [root, bin, config, join(temp, "plugin")]) await mkdir(path);
const signal = AbortSignal.timeout(120_000);
if ((await command([binary, "--version"], temp, signal)) !== "opencode v2.0.22")
throw new Error("Exact 2.0.22 binary required");
if ((await command([binary, "--version"], temp, signal)) !== "opencode v2.0.27")
throw new Error("Exact 2.0.27 binary required");
await command(["git", "init", "-b", "main"], root, signal);
await command(
[