@tritard/waterbrother 0.16.58 → 0.16.60

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tritard/waterbrother",
3
- "version": "0.16.58",
3
+ "version": "0.16.60",
4
4
  "description": "Waterbrother: bring-your-own-model coding CLI with local tools, sessions, operator modes, and approval controls",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -5383,7 +5383,8 @@ async function runTextTurnInteractive({
5383
5383
  promptText,
5384
5384
  pendingInput,
5385
5385
  spinnerLabel = "thinking...",
5386
- extraExecutionContext = null
5386
+ extraExecutionContext = null,
5387
+ allowLocalConceptAnswer = true
5387
5388
  }) {
5388
5389
  await refreshSelfAwareness(context, currentSession).catch(() => {});
5389
5390
  const refreshedMemoryParts = [
@@ -5395,7 +5396,9 @@ async function runTextTurnInteractive({
5395
5396
  if (refreshedMemoryParts.length > 0) {
5396
5397
  agent.setMemory(refreshedMemoryParts.join("\n\n"));
5397
5398
  }
5398
- const localConceptAnswer = resolveLocalConceptQuestion(promptText, context.runtime.selfAwareness);
5399
+ const localConceptAnswer = allowLocalConceptAnswer
5400
+ ? resolveLocalConceptQuestion(promptText, context.runtime.selfAwareness)
5401
+ : null;
5399
5402
  if (localConceptAnswer) {
5400
5403
  printAssistantOutput(localConceptAnswer);
5401
5404
  await saveCurrentSession(currentSession, agent);
@@ -7611,6 +7614,7 @@ Be concrete about surfaces — name actual pages/flows. Choose the best stack fo
7611
7614
  promptText: remoteRequest.text || "",
7612
7615
  pendingInput: remoteRequest.text || "",
7613
7616
  spinnerLabel: "telegram working...",
7617
+ allowLocalConceptAnswer: !remoteRequest.explicitExecution,
7614
7618
  extraExecutionContext: buildTelegramExecutionContext({
7615
7619
  actor: remoteRequest.username || remoteRequest.displayName || "",
7616
7620
  userId: remoteRequest.userId || "",
@@ -31,8 +31,11 @@ function normalizeBridgeRequest(parsed = {}) {
31
31
  chatId: String(parsed?.chatId || "").trim(),
32
32
  userId: String(parsed?.userId || "").trim(),
33
33
  username: String(parsed?.username || "").trim(),
34
+ usernameHandle: String(parsed?.usernameHandle || "").trim(),
35
+ displayName: String(parsed?.displayName || "").trim(),
34
36
  sessionId: String(parsed?.sessionId || "").trim(),
35
37
  text: String(parsed?.text || "").trim(),
38
+ explicitExecution: parsed?.explicitExecution === true,
36
39
  runtimeProfile: String(parsed?.runtimeProfile || "").trim(),
37
40
  replyToMessageId: Number.isFinite(Number(parsed?.replyToMessageId)) ? Math.floor(Number(parsed.replyToMessageId)) : 0,
38
41
  requestedAt: String(parsed?.requestedAt || "").trim(),