@agentforge/patterns 0.16.62 → 0.16.63

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 CHANGED
@@ -2876,9 +2876,7 @@ function wrapReActAgent(workerId, agent, verbose = false) {
2876
2876
  workerId,
2877
2877
  error: errorMessage
2878
2878
  });
2879
- const currentAssignment = state.activeAssignments.find(
2880
- (assignment) => assignment.workerId === workerId
2881
- );
2879
+ const currentAssignment = findCurrentAssignment(state, workerId);
2882
2880
  if (currentAssignment) {
2883
2881
  const errorResult = {
2884
2882
  assignmentId: currentAssignment.id,
package/dist/index.js CHANGED
@@ -2778,9 +2778,7 @@ function wrapReActAgent(workerId, agent, verbose = false) {
2778
2778
  workerId,
2779
2779
  error: errorMessage
2780
2780
  });
2781
- const currentAssignment = state.activeAssignments.find(
2782
- (assignment) => assignment.workerId === workerId
2783
- );
2781
+ const currentAssignment = findCurrentAssignment(state, workerId);
2784
2782
  if (currentAssignment) {
2785
2783
  const errorResult = {
2786
2784
  assignmentId: currentAssignment.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentforge/patterns",
3
- "version": "0.16.62",
3
+ "version": "0.16.63",
4
4
  "description": "Production-ready agent workflow patterns for TypeScript including ReAct and Planner-Executor, built on LangGraph.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -41,13 +41,13 @@
41
41
  "url": "https://github.com/TVScoundrel/agentforge/issues"
42
42
  },
43
43
  "dependencies": {
44
- "@agentforge/core": "0.16.62",
44
+ "@agentforge/core": "0.16.63",
45
45
  "@langchain/core": "^1.1.17",
46
46
  "@langchain/langgraph": "^1.1.2",
47
47
  "zod": "^3.23.8"
48
48
  },
49
49
  "devDependencies": {
50
- "@agentforge/testing": "0.16.62",
50
+ "@agentforge/testing": "0.16.63",
51
51
  "@eslint/js": "^9.17.0",
52
52
  "@types/node": "^22.10.2",
53
53
  "eslint": "^9.17.0",