@agent-link/server 0.1.117 → 0.1.118

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-link/server",
3
- "version": "0.1.117",
3
+ "version": "0.1.118",
4
4
  "description": "AgentLink relay server",
5
5
  "license": "MIT",
6
6
  "repository": {
package/web/app.js CHANGED
@@ -248,7 +248,7 @@ const App = {
248
248
  status, agentName, hostname, workDir, sessionId, error,
249
249
  serverVersion, agentVersion, latency,
250
250
  messages, isProcessing, isCompacting, visibleLimit, queuedMessages,
251
- historySessions, currentClaudeSessionId, loadingSessions, loadingHistory,
251
+ historySessions, currentClaudeSessionId, needsResume, loadingSessions, loadingHistory,
252
252
  folderPickerLoading, folderPickerEntries, folderPickerPath,
253
253
  authRequired, authPassword, authError, authAttempts, authLocked,
254
254
  streaming, sidebar, scrollToBottom,
@@ -15,7 +15,7 @@ export function createConnection(deps) {
15
15
  status, agentName, hostname, workDir, sessionId, error,
16
16
  serverVersion, agentVersion, latency,
17
17
  messages, isProcessing, isCompacting, visibleLimit, queuedMessages,
18
- historySessions, currentClaudeSessionId, loadingSessions, loadingHistory,
18
+ historySessions, currentClaudeSessionId, needsResume, loadingSessions, loadingHistory,
19
19
  folderPickerLoading, folderPickerEntries, folderPickerPath,
20
20
  authRequired, authPassword, authError, authAttempts, authLocked,
21
21
  streaming, sidebar,
@@ -205,6 +205,7 @@ export function createConnection(deps) {
205
205
  if (cache.toolMsgMap) cache.toolMsgMap.clear();
206
206
  processingConversations.value[convId] = false;
207
207
  if (msg.type === 'execution_cancelled') {
208
+ cache.needsResume = true;
208
209
  cache.messages.push({
209
210
  id: ++cache.messageIdCounter, role: 'system',
210
211
  content: 'Generation stopped.', timestamp: new Date(),
@@ -590,6 +591,7 @@ export function createConnection(deps) {
590
591
  processingConversations.value[currentConversationId.value] = false;
591
592
  }
592
593
  if (msg.type === 'execution_cancelled') {
594
+ needsResume.value = true;
593
595
  messages.value.push({
594
596
  id: streaming.nextId(), role: 'system',
595
597
  content: 'Generation stopped.', timestamp: new Date(),