@ouro.bot/cli 0.1.0-alpha.800 → 0.1.0-alpha.801
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,12 @@
|
|
|
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.801",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Keep shared-turn empty-response diagnostics internal on Telegram so tool-only investigation steps do not appear as user-visible Butler messages."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.800",
|
|
6
12
|
"changes": [
|
|
@@ -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.
|
|
4
|
+
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.801</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
package/dist/senses/telegram.js
CHANGED
|
@@ -90,6 +90,11 @@ const pending_1 = require("../mind/pending");
|
|
|
90
90
|
const relationship_authorization_1 = require("../repertoire/relationship-authorization");
|
|
91
91
|
const telegram_admission_1 = require("./telegram-admission");
|
|
92
92
|
const telegram_effect_adapter_1 = require("./telegram-effect-adapter");
|
|
93
|
+
const EMPTY_SHARED_TURN_DIAGNOSTIC = "(agent responded but response was empty)";
|
|
94
|
+
function hasUserVisibleTurnResponse(response) {
|
|
95
|
+
const text = response.trim();
|
|
96
|
+
return text.length > 0 && text !== EMPTY_SHARED_TURN_DIAGNOSTIC;
|
|
97
|
+
}
|
|
93
98
|
function createFullVisibilityProgress() {
|
|
94
99
|
const progress = {};
|
|
95
100
|
return { progress, emptyResponseFallback: () => progress.fallback?.() };
|
|
@@ -1415,7 +1420,7 @@ function createTelegramSenseApp(options) {
|
|
|
1415
1420
|
turnEffects.push(await deliverButlerEffect(canonical, `turn:${subject}:${message.updateId}:delivery:${deliveryOrdinal++}`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }));
|
|
1416
1421
|
deliveryCount = 1;
|
|
1417
1422
|
}
|
|
1418
|
-
else if (deliveryCount === 0 && result.response
|
|
1423
|
+
else if (deliveryCount === 0 && hasUserVisibleTurnResponse(result.response)) {
|
|
1419
1424
|
const artifact = await deliverButlerEffect(result.response, `turn:${subject}:${message.updateId}:delivery:${deliveryOrdinal++}`, undefined, (messageId, chunk) => { deliveredMessageIds.push(messageId); deliveredChunks.push(chunk); }, exactDownloadCreditQuestion);
|
|
1420
1425
|
turnEffects.push(artifact);
|
|
1421
1426
|
responseFallbackArtifactId = artifact.id;
|
|
@@ -1435,7 +1440,7 @@ function createTelegramSenseApp(options) {
|
|
|
1435
1440
|
component: "senses",
|
|
1436
1441
|
event: "senses.telegram_turn_end",
|
|
1437
1442
|
message: "Telegram authorized turn completed",
|
|
1438
|
-
meta: lifecycleMeta("senses.telegram_turn_end", { agentName: options.agentName, subject, deliveryCount: Math.max(deliveryCount, result.response
|
|
1443
|
+
meta: lifecycleMeta("senses.telegram_turn_end", { agentName: options.agentName, subject, deliveryCount: Math.max(deliveryCount, hasUserVisibleTurnResponse(result.response) ? 1 : 0), ...acceptanceMeta, ...lifecycleCoordinates, ...(acceptanceMarker ? { outcome: "success", errorDigest: null } : {}) }, Math.max(Date.now(), lifecycleStartedAt + 1)),
|
|
1439
1444
|
});
|
|
1440
1445
|
}
|
|
1441
1446
|
catch (error) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.801",
|
|
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.
|
|
9
|
+
"version": "0.1.0-alpha.801",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
12
12
|
"@azure/identity": "^4.13.0",
|