@adecore/agents-react 0.27.1 → 0.27.3
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.
|
@@ -408,8 +408,8 @@ export function deriveTimelineRows(items, options) {
|
|
|
408
408
|
// The closing answer stays visible; the work after the last input folds behind the label.
|
|
409
409
|
const finalAssistant = lastAssistantRow(work);
|
|
410
410
|
const before = finalAssistant ? work.slice(0, work.indexOf(finalAssistant)) : work;
|
|
411
|
-
// Images remain a turn's visible result, and a workflow may still be running after its turn ends.
|
|
412
|
-
const standing = before.filter((row) => isImageRow(row) || (row.kind === 'workflow' && row.tool.state === 'running'));
|
|
411
|
+
// Images remain a turn's visible result, and a workflow or a background subagent may still be running after its turn ends.
|
|
412
|
+
const standing = before.filter((row) => isImageRow(row) || (row.kind === 'workflow' && row.tool.state === 'running') || (row.kind === 'subagent' && row.item.status === 'running'));
|
|
413
413
|
const folded = before.filter((row) => !standing.includes(row));
|
|
414
414
|
const expanded = options.expandedTurns.has(turnId);
|
|
415
415
|
if (folded.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adecore/agents-react",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.3",
|
|
4
4
|
"description": "React agent chat threads, composers, approvals, provider accounts and usage views.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"test:visuals": "bun --config=integration.bunfig.toml --conditions=source test ./src/chat/visual-viewport.integration.test.ts"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@adecore/agent-contracts": "0.27.
|
|
71
|
-
"@adecore/editor": "0.27.
|
|
72
|
-
"@adecore/editor-react": "0.27.
|
|
73
|
-
"@adecore/intelligent-ui": "0.27.
|
|
74
|
-
"@adecore/merge": "0.27.
|
|
70
|
+
"@adecore/agent-contracts": "0.27.3",
|
|
71
|
+
"@adecore/editor": "0.27.3",
|
|
72
|
+
"@adecore/editor-react": "0.27.3",
|
|
73
|
+
"@adecore/intelligent-ui": "0.27.3",
|
|
74
|
+
"@adecore/merge": "0.27.3",
|
|
75
75
|
"@codemirror/commands": "^6.11.1",
|
|
76
76
|
"@codemirror/language": "^6.12.4",
|
|
77
77
|
"@codemirror/state": "^6.7.6",
|
|
@@ -94,14 +94,14 @@
|
|
|
94
94
|
"zustand": "^5.0.15"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
|
-
"@adecore/ui": "^0.27.
|
|
97
|
+
"@adecore/ui": "^0.27.3",
|
|
98
98
|
"i18next": "^26.4.2",
|
|
99
99
|
"react": "^19.3.0",
|
|
100
100
|
"react-dom": "^19.3.0",
|
|
101
101
|
"react-i18next": "^17.0.15"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@adecore/ui": "0.27.
|
|
104
|
+
"@adecore/ui": "0.27.3",
|
|
105
105
|
"@types/bun": "^1.4.2",
|
|
106
106
|
"@types/react": "^19.3.0",
|
|
107
107
|
"@types/react-dom": "^19.3.0",
|
|
@@ -506,8 +506,10 @@ export function deriveTimelineRows(items: ChatItem[], options: TimelineOptions):
|
|
|
506
506
|
// The closing answer stays visible; the work after the last input folds behind the label.
|
|
507
507
|
const finalAssistant = lastAssistantRow(work);
|
|
508
508
|
const before = finalAssistant ? work.slice(0, work.indexOf(finalAssistant)) : work;
|
|
509
|
-
// Images remain a turn's visible result, and a workflow may still be running after its turn ends.
|
|
510
|
-
const standing = before.filter(
|
|
509
|
+
// Images remain a turn's visible result, and a workflow or a background subagent may still be running after its turn ends.
|
|
510
|
+
const standing = before.filter(
|
|
511
|
+
(row) => isImageRow(row) || (row.kind === 'workflow' && row.tool.state === 'running') || (row.kind === 'subagent' && row.item.status === 'running')
|
|
512
|
+
);
|
|
511
513
|
const folded = before.filter((row) => !standing.includes(row));
|
|
512
514
|
const expanded = options.expandedTurns.has(turnId);
|
|
513
515
|
if (folded.length > 0) {
|