@tritard/waterbrother 0.15.2 → 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.
- package/package.json +1 -1
- package/src/agent.js +1 -1
- package/src/cli.js +1 -1
package/package.json
CHANGED
package/src/agent.js
CHANGED
|
@@ -124,7 +124,7 @@ const PROFILE_PROMPTS = {
|
|
|
124
124
|
planner: "Primary objective: break work into clear executable plans and milestones before implementation."
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
-
const MAX_TOOL_CALL_ITERATIONS =
|
|
127
|
+
const MAX_TOOL_CALL_ITERATIONS = 128;
|
|
128
128
|
const LOCAL_COMPACTION_TRANSCRIPT_CHARS = 400_000;
|
|
129
129
|
const LOCAL_COMPACTION_MESSAGE_PREVIEW_CHARS = 280;
|
|
130
130
|
const MAX_COMPACTION_CONSECUTIVE_FAILURES = 3;
|
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);
|