agent.libx.js 0.93.6 → 0.93.8
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 +1 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2897,6 +2897,7 @@ var Agent = class _Agent {
|
|
|
2897
2897
|
if (o.timeoutMs && Date.now() - start >= o.timeoutMs) return kill("timeout");
|
|
2898
2898
|
if (o.maxTokens && usage.totalTokens >= o.maxTokens) return kill("budget");
|
|
2899
2899
|
steps++;
|
|
2900
|
+
this.options.host?.notify?.({ kind: "turn_start", message: `step ${steps}` });
|
|
2900
2901
|
let res;
|
|
2901
2902
|
const sent = this.trimContext();
|
|
2902
2903
|
const frag = reasoningToChatFragment(o.model, o.reasoning);
|