agentgui 1.0.735 → 1.0.736
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
|
@@ -2192,8 +2192,8 @@ class StreamingRenderer {
|
|
|
2192
2192
|
const contentStr = typeof content === 'string' ? content : JSON.stringify(content, null, 2);
|
|
2193
2193
|
const isError = (block.is_error || false) && !contentStr.trimStart().startsWith('exec ran successfully.');
|
|
2194
2194
|
|
|
2195
|
-
toolUseEl.classList.remove('has-success', 'has-error');
|
|
2196
|
-
toolUseEl.classList.add(isError ? 'has-error tool-result-error' : '
|
|
2195
|
+
toolUseEl.classList.remove('has-success', 'has-error', 'tool-result-success', 'tool-result-error');
|
|
2196
|
+
toolUseEl.classList.add(isError ? 'has-error' : 'has-success', isError ? 'tool-result-error' : 'tool-result-success');
|
|
2197
2197
|
|
|
2198
2198
|
const summary = toolUseEl.querySelector(':scope > summary');
|
|
2199
2199
|
if (summary && !summary.querySelector('.folded-tool-status')) {
|