@livx.cc/agentx 0.99.33 → 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/index.js CHANGED
@@ -4067,8 +4067,7 @@ var Agent = class _Agent {
4067
4067
  const cursorPo = isCursorWithTools ? {
4068
4068
  toolExecutor: async (name, args) => {
4069
4069
  const tc = { id: `cursor-${Date.now()}`, type: "function", function: { name, arguments: JSON.stringify(args) } };
4070
- const raw = await this.dispatch(tc);
4071
- return typeof raw === "string" ? raw : raw.text;
4070
+ return await this.dispatch(tc);
4072
4071
  }
4073
4072
  } : void 0;
4074
4073
  const claudeSteerPo = o.model.startsWith("claude-code/") ? { steer: () => this.drainPendingSteers() } : void 0;