@polka-codes/cli 0.9.77 → 0.9.78

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37660,7 +37660,7 @@ var {
37660
37660
  Help
37661
37661
  } = import__.default;
37662
37662
  // package.json
37663
- var version = "0.9.77";
37663
+ var version = "0.9.78";
37664
37664
 
37665
37665
  // src/commands/code.ts
37666
37666
  import { readFile as readFile4 } from "node:fs/promises";
@@ -64066,6 +64066,14 @@ var agentWorkflow = async (input, { step, tools, logger }) => {
64066
64066
  value: `Tool '${toolCall.toolName}' not found.`
64067
64067
  }
64068
64068
  });
64069
+ toolResults.push({
64070
+ toolCallId: toolCall.toolCallId,
64071
+ toolName: toolCall.toolName,
64072
+ output: {
64073
+ type: "error-text",
64074
+ value: `Error: Tool '${toolCall.toolName}' not found.`
64075
+ }
64076
+ });
64069
64077
  continue;
64070
64078
  }
64071
64079
  await event(`event-tool-use-${toolCall.toolName}-${toolCall.toolCallId}`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli",
3
- "version": "0.9.77",
3
+ "version": "0.9.78",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",