@netnodeag/kraftwerk 0.46.0 → 0.46.2

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.
package/README.md CHANGED
@@ -772,9 +772,9 @@ found nothing to do:
772
772
  ```
773
773
 
774
774
  Living examples:
775
- [`../agent-playground/src/workflows/tagline/`](../agent-playground/src/workflows/tagline/)
776
- and [`../agent-playground/src/workflows/pitch/`](../agent-playground/src/workflows/pitch/);
777
- `check` and `if` in [`../agent-playground/src/workflows/helpdesk-check/`](../agent-playground/src/workflows/helpdesk-check/).
775
+ [`../agent-playground/kraftwerk-data/workflows/tagline/`](../agent-playground/kraftwerk-data/workflows/tagline/)
776
+ and [`../agent-playground/kraftwerk-data/workflows/pitch/`](../agent-playground/kraftwerk-data/workflows/pitch/);
777
+ `check` and `if` in [`../agent-playground/kraftwerk-data/workflows/helpdesk-check/`](../agent-playground/kraftwerk-data/workflows/helpdesk-check/).
778
778
  v1 is deliberately linear. Approval loops and AGENTS.md-style context files
779
779
  stay on the roadmap, and skills exist in chat rather than in workflow runs.
780
780
  Anything non-linear is a TS workflow.
@@ -806,7 +806,7 @@ consumer's `package.json`. On claude the servers are passed hermetically with
806
806
  become `-c mcp_servers.*` overrides and the phase runs with `--approve-for-me`
807
807
  so headless MCP calls get approved. Combining `runs-on: pi` with `mcp` is
808
808
  rejected at validation time. Living example:
809
- [`../agent-playground/src/workflows/rechner/`](../agent-playground/src/workflows/rechner/).
809
+ [`../agent-playground/kraftwerk-data/workflows/rechner/`](../agent-playground/kraftwerk-data/workflows/rechner/).
810
810
 
811
811
  ### CLI grants
812
812
 
@@ -24,7 +24,10 @@ function persist(items) {
24
24
  writeChain = writeChain
25
25
  .then(async () => {
26
26
  await fs.mkdir(getOutputDir(), { recursive: true });
27
- await fs.writeFile(file(), JSON.stringify(items, null, 2));
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.0",
3
+ "version": "0.46.2",
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",