feat: package Pi extensions as Bun workspaces

This commit is contained in:
jb
2026-09-01 17:24:46 -04:00
parent 90f8090f61
commit 118b5bee06
214 changed files with 19566 additions and 5876 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ test("artifact transcript keeps the initial prompt, marker, and newest entries",
});
test("live artifact persistence includes current agents and transcripts", () => {
const directory = mkdtempSync(join(tmpdir(), "pi-workflow-artifacts-"));
const directory = mkdtempSync(join(tmpdir(), "workflow-artifacts-"));
try {
const details = workflowDetails();
details.agents.push({
+1 -1
View File
@@ -226,7 +226,7 @@ function run(source, argsJson) {
};
const context = vm.createContext(sandbox, {
name: "pi-workflow",
name: "workflow",
codeGeneration: { strings: false, wasm: false },
});
new vm.Script(BOOTSTRAP, {
+1 -1
View File
@@ -27,7 +27,7 @@ test("safeStringify handles cycles, bigint, depth, and size", () => {
});
test("atomic writes leave complete readable content", () => {
const directory = mkdtempSync(join(tmpdir(), "pi-workflow-test-"));
const directory = mkdtempSync(join(tmpdir(), "workflow-test-"));
try {
const file = join(directory, "artifact.json");
writeFileAtomic(file, '{"value":1}');