@netnodeag/kraftwerk 0.46.0 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,7 +24,10 @@ function persist(items) {
|
|
|
24
24
|
writeChain = writeChain
|
|
25
25
|
.then(async () => {
|
|
26
26
|
await fs.mkdir(getOutputDir(), { recursive: true });
|
|
27
|
-
|
|
27
|
+
// Write-then-rename: a reader (the UI, a test) never sees a half-written file.
|
|
28
|
+
const tmp = `${file()}.${process.pid}.tmp`;
|
|
29
|
+
await fs.writeFile(tmp, JSON.stringify(items, null, 2));
|
|
30
|
+
await fs.rename(tmp, file());
|
|
28
31
|
})
|
|
29
32
|
.catch(() => { });
|
|
30
33
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netnodeag/kraftwerk",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"description": "Open-source agentic workspace for teams — where people and AI agents get work done together: agents (Claude Code, Codex, Pi), skills, shared knowledge, repeatable workflows, and deterministic verification",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|