@ouro.bot/cli 0.1.0-alpha.1141 → 0.1.0-alpha.1142

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/changelog.json CHANGED
@@ -1,6 +1,13 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.1142",
6
+ "changes": [
7
+ "When the Butler decides a message needs no reply, such as a heart reaction, it now stays quiet instead of sending an error note. A turn that really fails still tells you.",
8
+ "When a title isn't on the shelf, the Butler names it once instead of twice."
9
+ ]
10
+ },
4
11
  {
5
12
  "version": "0.1.0-alpha.1141",
6
13
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1141",
2
+ "runtimeVersion": "0.1.0-alpha.1142",
3
3
  "bundleSchemaVersion": 3,
4
4
  "lastUpdated": "2026-09-03T00:00:00.000Z"
5
5
  }
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0"?>
2
2
  <Container version="2">
3
3
  <Name>ouro-butler</Name>
4
- <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1141</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1142</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -22,8 +22,14 @@ function normalize(text) {
22
22
  function titlesFrom(records) {
23
23
  const onShelf = [];
24
24
  const offShelf = [];
25
- const add = (list, title) => { if (typeof title === "string" && normalize(title).trim().length >= MIN_TITLE_LENGTH)
26
- list.push({ name: title.trim(), key: normalize(title) }); };
25
+ // A lookup can name one title in several places (a result and a candidate); keep it once so the reply names it once.
26
+ const add = (list, title) => {
27
+ if (typeof title !== "string" || normalize(title).trim().length < MIN_TITLE_LENGTH)
28
+ return;
29
+ const key = normalize(title);
30
+ if (!list.some((known) => known.key === key))
31
+ list.push({ name: title.trim(), key });
32
+ };
27
33
  for (const record of records) {
28
34
  if (!LIBRARY_LOOKUP_TOOLS.has(record.name))
29
35
  continue;
@@ -753,8 +753,12 @@ async function runSenseTurnExclusive(options, owner) {
753
753
  const finalDeliveryAttempt = finalDeliveryAttemptIndex === undefined ? undefined : deliveryAttempts[finalDeliveryAttemptIndex];
754
754
  const responseDeliveryFailure = finalDeliveryAttempt && !finalDeliveryAttempt.delivered ? deliveryFailures.at(-1) : undefined;
755
755
  const responseCausalSessionEventId = finalDeliveryAttempt && !finalDeliveryAttempt.delivered ? finalCausalCoordinate?.eventId : undefined;
756
+ // settle(answer: "", intent: "complete") is the agent choosing to say nothing, for example after a reaction.
757
+ // A settle whose answer held only <think> reasoning is not a choice, so it still gets the diagnostic below.
758
+ const deliberateSilence = turnResult.turnOutcome === "settled" && turnResult.completion?.intent === "complete"
759
+ && typeof turnResult.completion.answer === "string" && turnResult.completion.answer.trim().length === 0;
756
760
  if (committedResponseText.length === 0) {
757
- if (!expectsOutwardResponse) {
761
+ if (!expectsOutwardResponse || deliberateSilence) {
758
762
  finalResponse = "";
759
763
  }
760
764
  else {
@@ -774,7 +778,7 @@ async function runSenseTurnExclusive(options, owner) {
774
778
  // came through and nothing else, surface a clear diagnostic message
775
779
  // instead of a blank response so the operator knows what happened.
776
780
  finalResponse = stripThinkBlocks(finalResponse);
777
- if (finalResponse.length === 0 && expectsOutwardResponse) {
781
+ if (finalResponse.length === 0 && expectsOutwardResponse && !deliberateSilence) {
778
782
  (0, runtime_1.emitNervesEvent)({
779
783
  level: "warn",
780
784
  component: "senses",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1141",
3
+ "version": "0.1.0-alpha.1142",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ouro.bot/cli",
9
- "version": "0.1.0-alpha.1141",
9
+ "version": "0.1.0-alpha.1142",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.78.0",
12
12
  "@ouro.bot/friends": "0.1.0-alpha.18",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1141",
3
+ "version": "0.1.0-alpha.1142",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },