@tritard/waterbrother 0.8.0 → 0.8.1
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/package.json +1 -1
- package/src/cli.js +6 -0
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -5886,6 +5886,12 @@ async function promptLoop(agent, session, context) {
|
|
|
5886
5886
|
handlers: {
|
|
5887
5887
|
signal: abortController?.signal,
|
|
5888
5888
|
onStateChange(state) { currentState = state; },
|
|
5889
|
+
onPlan(plan) {
|
|
5890
|
+
spinner.stop();
|
|
5891
|
+
console.log(formatPlanForDisplay(plan));
|
|
5892
|
+
printRailRewritten("executing");
|
|
5893
|
+
spinner.setLabel("executing plan...");
|
|
5894
|
+
},
|
|
5889
5895
|
onAssistantDelta() {},
|
|
5890
5896
|
onToolStart(toolCall) {
|
|
5891
5897
|
const toolName = toolCall?.function?.name || "tool";
|