agentgui 1.0.248 → 1.0.249
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
|
@@ -424,7 +424,9 @@ class StreamingRenderer {
|
|
|
424
424
|
'image': 9,
|
|
425
425
|
'plan': 10,
|
|
426
426
|
'usage': 11,
|
|
427
|
-
'premature': 8
|
|
427
|
+
'premature': 8,
|
|
428
|
+
'tool_status': 7,
|
|
429
|
+
'generic': 0
|
|
428
430
|
};
|
|
429
431
|
return typeColors[blockType] !== undefined ? typeColors[blockType] : 0;
|
|
430
432
|
}
|
|
@@ -1501,6 +1503,8 @@ class StreamingRenderer {
|
|
|
1501
1503
|
renderBlockGeneric(block, context) {
|
|
1502
1504
|
const div = document.createElement('div');
|
|
1503
1505
|
div.className = 'block-generic';
|
|
1506
|
+
const colorIndex = this._getBlockColorIndex('generic');
|
|
1507
|
+
div.style.borderLeft = `3px solid var(--block-color-${colorIndex})`;
|
|
1504
1508
|
|
|
1505
1509
|
// Show key-value pairs instead of raw JSON
|
|
1506
1510
|
const fieldsHtml = Object.entries(block)
|
|
@@ -1532,6 +1536,8 @@ class StreamingRenderer {
|
|
|
1532
1536
|
renderBlockError(block, error) {
|
|
1533
1537
|
const div = document.createElement('div');
|
|
1534
1538
|
div.className = 'block-error';
|
|
1539
|
+
const colorIndex = this._getBlockColorIndex('error');
|
|
1540
|
+
div.style.borderLeft = `3px solid var(--block-color-${colorIndex})`;
|
|
1535
1541
|
|
|
1536
1542
|
div.innerHTML = `
|
|
1537
1543
|
<div style="display:flex;align-items:flex-start;gap:0.625rem">
|