@codebolt/agent 2.2.3 → 4.0.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.
@@ -196,6 +196,9 @@ class ResponseExecutor {
196
196
  }
197
197
  }
198
198
  }
199
+ else {
200
+ this.completed = true;
201
+ }
199
202
  if (taskCompletedBlock) {
200
203
  let [_, result] = await this.executeTool(taskCompletedBlock.function.name, JSON.parse(taskCompletedBlock.function.arguments || "{}"));
201
204
  if (result === "") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebolt/agent",
3
- "version": "2.2.3",
3
+ "version": "4.0.0",
4
4
  "description": "CodeBolt Agent utilities for building and managing AI agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -73,4 +73,4 @@
73
73
  "default": "./dist/unified/index.js"
74
74
  }
75
75
  }
76
- }
76
+ }