@agent-link/server 0.1.164 → 0.1.165

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.164",
3
+ "version": "0.1.165",
4
4
  "description": "AgentLink relay server",
5
5
  "license": "MIT",
6
6
  "repository": {
package/web/app.js CHANGED
@@ -1226,6 +1226,9 @@ const App = {
1226
1226
  <span v-if="previewFile && !memoryEditing" class="file-preview-mobile-size">
1227
1227
  {{ filePreview.formatFileSize(previewFile.totalSize) }}
1228
1228
  </span>
1229
+ <button v-if="previewFile && !memoryEditing" class="preview-refresh-btn" @click="filePreview.refreshPreview()" :title="t('sidebar.refresh')">
1230
+ <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
1231
+ </button>
1229
1232
  </div>
1230
1233
  </div>
1231
1234
  <div class="file-preview-mobile-filename" :title="previewFile?.filePath">
@@ -2513,6 +2516,9 @@ const App = {
2513
2516
  <span v-if="previewFile" class="preview-panel-size">
2514
2517
  {{ filePreview.formatFileSize(previewFile.totalSize) }}
2515
2518
  </span>
2519
+ <button v-if="previewFile && !memoryEditing" class="preview-refresh-btn" @click="filePreview.refreshPreview()" :title="t('sidebar.refresh')">
2520
+ <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
2521
+ </button>
2516
2522
  <button v-if="isMemoryPreview && previewFile && !memoryEditing"
2517
2523
  class="preview-edit-btn" @click="startMemoryEdit()" :title="t('memory.edit')">
2518
2524
  <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1.003 1.003 0 0 0 0-1.42l-2.34-2.34a1.003 1.003 0 0 0-1.42 0l-1.83 1.83 3.75 3.75 1.84-1.82z"/></svg>
package/web/css/loop.css CHANGED
@@ -644,6 +644,20 @@
644
644
  opacity: 0.5;
645
645
  cursor: not-allowed;
646
646
  }
647
+ .preview-refresh-btn {
648
+ display: inline-flex;
649
+ align-items: center;
650
+ background: none;
651
+ border: none;
652
+ color: var(--text-secondary);
653
+ padding: 2px;
654
+ border-radius: 4px;
655
+ cursor: pointer;
656
+ }
657
+ .preview-refresh-btn:hover {
658
+ background: var(--hover-bg);
659
+ color: var(--text-primary);
660
+ }
647
661
  .preview-edit-btn {
648
662
  display: inline-flex;
649
663
  align-items: center;