Updates
Rolling release / release (push) Successful in 10m56s

This commit is contained in:
2026-09-11 21:06:12 -04:00
parent af9c490532
commit b39a60132a
2 changed files with 20 additions and 6 deletions
+10
View File
@@ -79,6 +79,16 @@ test('Reply finalizes a streaming row instead of duplicating [object Object]', (
assert.doesNotMatch(overlay.transcript.children[0].text, /object Object/);
});
test('final reply is shown after tool result rows', () => {
const { ArcOverlay } = harness();
const overlay = new ArcOverlay();
overlay.addToolCall('{"name":"runtime_status"}');
overlay.addToolResult('{"name":"runtime_status"}');
overlay.finalizeReply('Your computer is ready.');
assert.equal(overlay.transcript.children.length, 3);
assert.match(overlay.transcript.children[2].text, /Your computer is ready/);
});
test('addRow and token coerce objects to readable text', () => {
const { ArcOverlay } = harness();
const overlay = new ArcOverlay();