@agent-link/server 0.1.11 → 0.1.13

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/web/app.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-link/server",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "AgentLink relay server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/web/app.js CHANGED
@@ -940,7 +940,7 @@ const App = {
940
940
  id: ++messageIdCounter, role: 'tool',
941
941
  toolId: h.toolId || '', toolName: h.toolName || 'unknown',
942
942
  toolInput: h.toolInput || '', hasResult: true,
943
- expanded: false, timestamp: h.timestamp ? new Date(h.timestamp) : new Date(),
943
+ expanded: h.toolName === 'Edit', timestamp: h.timestamp ? new Date(h.timestamp) : new Date(),
944
944
  });
945
945
  }
946
946
  }
@@ -1010,7 +1010,7 @@ const App = {
1010
1010
  id: ++messageIdCounter, role: 'tool',
1011
1011
  toolId: tool.id, toolName: tool.name || 'unknown',
1012
1012
  toolInput: tool.input ? JSON.stringify(tool.input, null, 2) : '',
1013
- hasResult: false, expanded: false, timestamp: new Date(),
1013
+ hasResult: false, expanded: (tool.name === 'Edit'), timestamp: new Date(),
1014
1014
  });
1015
1015
  }
1016
1016
  scrollToBottom();