@livx.cc/agentx 0.99.34 → 0.99.35

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/cli.js CHANGED
@@ -4102,8 +4102,7 @@ var Agent = class _Agent {
4102
4102
  const cursorPo = isCursorWithTools ? {
4103
4103
  toolExecutor: async (name, args) => {
4104
4104
  const tc = { id: `cursor-${Date.now()}`, type: "function", function: { name, arguments: JSON.stringify(args) } };
4105
- const raw = await this.dispatch(tc);
4106
- return typeof raw === "string" ? raw : raw.text;
4105
+ return await this.dispatch(tc);
4107
4106
  }
4108
4107
  } : void 0;
4109
4108
  const claudeSteerPo = o.model.startsWith("claude-code/") ? { steer: () => this.drainPendingSteers() } : void 0;