feat: multi-work agent
CI / verify (pull_request) Failing after 9s

This commit is contained in:
2026-09-17 21:09:19 +02:00
parent ba9fddad9d
commit 5cf0beb74b
20 changed files with 2907 additions and 299 deletions
+2 -2
View File
@@ -113,7 +113,7 @@ async function install(
'await Bun.write(process.env.IMPORT_MARKER, "imported");\n' +
(mode === "legacy"
? 'export default { id: "stanp-opencode", async server() { return {}; } };\n'
: 'export default { id: "stanp-opencode", setup() { return "native-ready"; } };\n'),
: 'export default { id: "stanp-opencode", effect() { return "native-ready"; } };\n'),
),
writeFile(
join(fixture, "dist", "tui.js"),
@@ -207,7 +207,7 @@ test("installs an importable native plugin and default config under XDG without
[
process.execPath,
"-e",
"const { default: plugin } = await import(process.argv[1]); console.log(JSON.stringify([plugin.id, plugin.setup()]));",
"const { default: plugin } = await import(process.argv[1]); console.log(JSON.stringify([plugin.id, plugin.effect()]));",
join(config, "plugins", "stanp-opencode"),
],
directory,