@agentforge/patterns 0.6.1 → 0.6.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/dist/index.cjs +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -873,6 +873,9 @@ function createExecutorNode(config) {
|
|
|
873
873
|
result = { message: "Step completed without tool execution" };
|
|
874
874
|
}
|
|
875
875
|
} catch (execError) {
|
|
876
|
+
if (execError && typeof execError === "object" && "constructor" in execError && execError.constructor.name === "GraphInterrupt") {
|
|
877
|
+
throw execError;
|
|
878
|
+
}
|
|
876
879
|
success = false;
|
|
877
880
|
error = execError instanceof Error ? execError.message : "Unknown execution error";
|
|
878
881
|
result = null;
|
package/dist/index.js
CHANGED
|
@@ -774,6 +774,9 @@ function createExecutorNode(config) {
|
|
|
774
774
|
result = { message: "Step completed without tool execution" };
|
|
775
775
|
}
|
|
776
776
|
} catch (execError) {
|
|
777
|
+
if (execError && typeof execError === "object" && "constructor" in execError && execError.constructor.name === "GraphInterrupt") {
|
|
778
|
+
throw execError;
|
|
779
|
+
}
|
|
777
780
|
success = false;
|
|
778
781
|
error = execError instanceof Error ? execError.message : "Unknown execution error";
|
|
779
782
|
result = null;
|