@ouro.bot/cli 0.1.0-alpha.33 → 0.1.0-alpha.34
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,9 +1,18 @@
|
|
|
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.34",
|
|
6
|
+
"changes": [
|
|
7
|
+
"BlueBubbles now starts typing immediately when a turn begins and no longer sends a redundant first visible 'working...' bubble when typing already covers that initial thinking phase.",
|
|
8
|
+
"BlueBubbles still surfaces later meaningful progress on longer turns, and its lane metadata/tool feedback now makes the difference between the turn default and an explicit reply-target override much clearer."
|
|
9
|
+
]
|
|
10
|
+
},
|
|
4
11
|
{
|
|
5
12
|
"version": "0.1.0-alpha.33",
|
|
6
13
|
"changes": [
|
|
14
|
+
"BlueBubbles now starts typing immediately when a turn begins and no longer sends a redundant first visible 'working...' bubble when typing already covers that initial thinking phase.",
|
|
15
|
+
"BlueBubbles still surfaces later meaningful progress on longer turns, and its lane metadata/tool feedback now makes the difference between the turn default and an explicit reply-target override much clearer.",
|
|
7
16
|
"Agent-owned runtime state now lives inside each bundle's `state/` directory instead of under `~/.agentstate/<agent>/...`, so sessions, logs, pending messages, coding session persistence, and BlueBubbles mutation logs stay co-located with the rest of the bundle.",
|
|
8
17
|
"Bundle-local state paths now stay durable on Azure too, and `state/` is treated as canonical bundle content while secrets continue to live in `~/.agentsecrets/<agent>/secrets.json`."
|
|
9
18
|
]
|
|
@@ -142,10 +142,10 @@ function buildConversationScopePrefix(event, existingMessages) {
|
|
|
142
142
|
const summaries = extractHistoricalLaneSummary(existingMessages);
|
|
143
143
|
const lines = [];
|
|
144
144
|
if (event.threadOriginatorGuid?.trim()) {
|
|
145
|
-
lines.push(`[conversation scope: existing chat trunk | current inbound lane: thread | current thread id: ${event.threadOriginatorGuid.trim()} | default outbound target: current_lane]`);
|
|
145
|
+
lines.push(`[conversation scope: existing chat trunk | current inbound lane: thread | current thread id: ${event.threadOriginatorGuid.trim()} | default outbound target for this turn: current_lane]`);
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
148
|
-
lines.push("[conversation scope: existing chat trunk | current inbound lane: top_level | default outbound target: top_level]");
|
|
148
|
+
lines.push("[conversation scope: existing chat trunk | current inbound lane: top_level | default outbound target for this turn: top_level]");
|
|
149
149
|
}
|
|
150
150
|
if (summaries.length > 0) {
|
|
151
151
|
lines.push("[recent active lanes]");
|
|
@@ -183,6 +183,7 @@ function buildInboundContent(event, existingMessages) {
|
|
|
183
183
|
];
|
|
184
184
|
}
|
|
185
185
|
function createReplyTargetController(event) {
|
|
186
|
+
const defaultTargetLabel = event.kind === "message" && event.threadOriginatorGuid?.trim() ? "current_lane" : "top_level";
|
|
186
187
|
let selection = event.kind === "message" && event.threadOriginatorGuid?.trim()
|
|
187
188
|
? { target: "current_lane" }
|
|
188
189
|
: { target: "top_level" };
|
|
@@ -199,12 +200,12 @@ function createReplyTargetController(event) {
|
|
|
199
200
|
setSelection(next) {
|
|
200
201
|
selection = next;
|
|
201
202
|
if (next.target === "top_level") {
|
|
202
|
-
return "bluebubbles reply target
|
|
203
|
+
return "bluebubbles reply target override: top_level";
|
|
203
204
|
}
|
|
204
205
|
if (next.target === "thread") {
|
|
205
|
-
return `bluebubbles reply target
|
|
206
|
+
return `bluebubbles reply target override: thread:${next.threadOriginatorGuid}`;
|
|
206
207
|
}
|
|
207
|
-
return
|
|
208
|
+
return `bluebubbles reply target: using default for this turn (${defaultTargetLabel})`;
|
|
208
209
|
},
|
|
209
210
|
};
|
|
210
211
|
}
|
|
@@ -214,6 +215,8 @@ function createBlueBubblesCallbacks(client, chat, replyTarget) {
|
|
|
214
215
|
const activity = (0, debug_activity_1.createDebugActivityController)({
|
|
215
216
|
thinkingPhrases: phrases.thinking,
|
|
216
217
|
followupPhrases: phrases.followup,
|
|
218
|
+
startTypingOnModelStart: true,
|
|
219
|
+
suppressInitialModelStatus: true,
|
|
217
220
|
transport: {
|
|
218
221
|
sendStatus: async (text) => {
|
|
219
222
|
const sent = await client.sendText({
|
|
@@ -36,6 +36,15 @@ function createDebugActivityController(options) {
|
|
|
36
36
|
lastPhrase = phrase;
|
|
37
37
|
return phrase;
|
|
38
38
|
}
|
|
39
|
+
function startTypingNow() {
|
|
40
|
+
if (typingActive) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
typingActive = true;
|
|
44
|
+
enqueue("typing_start", async () => {
|
|
45
|
+
await options.transport.setTyping(true);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
39
48
|
function setStatus(text) {
|
|
40
49
|
(0, runtime_1.emitNervesEvent)({
|
|
41
50
|
component: "senses",
|
|
@@ -65,6 +74,13 @@ function createDebugActivityController(options) {
|
|
|
65
74
|
return {
|
|
66
75
|
onModelStart() {
|
|
67
76
|
const pool = hadToolRun ? options.followupPhrases : options.thinkingPhrases;
|
|
77
|
+
if (options.startTypingOnModelStart) {
|
|
78
|
+
startTypingNow();
|
|
79
|
+
}
|
|
80
|
+
if (options.suppressInitialModelStatus && !statusMessageGuid && !hadToolRun) {
|
|
81
|
+
nextPhrase(pool);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
68
84
|
setStatus(`${nextPhrase(pool)}...`);
|
|
69
85
|
},
|
|
70
86
|
onToolStart(name, args) {
|