@tritard/waterbrother 0.15.3 → 0.15.4

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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tritard/waterbrother",
3
- "version": "0.15.3",
3
+ "version": "0.15.4",
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
@@ -4167,7 +4167,7 @@ async function runTextTurnInteractive({
4167
4167
  });
4168
4168
  finalReceipt = receipt || finalizedReceipt;
4169
4169
  }
4170
- if (finalReceipt) {
4170
+ if (finalReceipt?.id) {
4171
4171
  currentSession.lastReceiptId = finalReceipt.id;
4172
4172
  if (shouldPrintReceiptSummary(finalReceipt, context.runtime.receiptMode)) {
4173
4173
  printReceiptSummary(finalReceipt);