@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tritard/waterbrother",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Waterbrother: Grok-powered coding CLI with local tools, sessions, operator modes, and approval controls",
5
5
  "type": "module",
6
6
  "bin": {
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";