footprintjs 8.0.0 → 8.1.0

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.
@@ -107,6 +107,16 @@ export declare class FlowChartExecutor<TOut = any, TScope = any> {
107
107
  * scope. See `test/lib/pause/cross-executor-resume.test.ts`.
108
108
  */
109
109
  private _hasRunBefore;
110
+ /**
111
+ * Re-entrancy guard. `run()` and `resume()` mutate per-run instance state
112
+ * (traverser, runId, execution counter, checkpoint) and clear attached
113
+ * recorders — a second concurrent entry on the SAME executor would
114
+ * interleave runIds and cross-contaminate recorder/narrative state, and
115
+ * `getCheckpoint()` would return whichever run paused last. One executor =
116
+ * one in-flight execution; create an executor per concurrent run.
117
+ * See docs/guides/execution-model.md.
118
+ */
119
+ private _isExecuting;
110
120
  private readonly flowChartArgs;
111
121
  /**
112
122
  * Create a FlowChartExecutor.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "footprintjs",
3
- "version": "8.0.0",
3
+ "version": "8.1.0",
4
4
  "description": "Explainable backend flows — automatic causal traces, decision evidence, and MCP tool generation for AI agents",
5
5
  "license": "MIT",
6
6
  "author": "Sanjay Krishna Anbalagan",