@aiyiran/myclaw 1.1.180 → 1.1.182

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.
@@ -817,7 +817,7 @@
817
817
  // CSP img-src 限制后续在服务端统一放行,此处不做 blob 绕行
818
818
  var img = document.createElement('img');
819
819
  img.src = isRemote()
820
- ? previewUrl + '?t=' + Date.now()
820
+ ? previewUrl
821
821
  : MYCLAW_API_BASE + '/api/file?path=' + encodeURIComponent(getWorkspaceId() + '/' + asset.path) + '&t=' + Date.now();
822
822
  img.alt = asset.name || asset.path;
823
823
  img.style.cssText = [
@@ -1177,7 +1177,7 @@
1177
1177
  video.controls = true;
1178
1178
  video.style.cssText = 'flex:1;width:100%;max-height:100%;background:#000;outline:none;';
1179
1179
  video.src = isRemote()
1180
- ? previewUrl + '?t=' + Date.now()
1180
+ ? previewUrl
1181
1181
  : MYCLAW_API_BASE + '/api/file?path=' + encodeURIComponent(getWorkspaceId() + '/' + asset.path);
1182
1182
  box.appendChild(video);
1183
1183
  overlay.appendChild(box);
@@ -2896,7 +2896,7 @@
2896
2896
 
2897
2897
  rightHeader.appendChild(infoSpan);
2898
2898
  rightHeader.appendChild(openNewBtn);
2899
- previewIframe.src = TEMPLATE_CDN_BASE + '/' + encodeURIComponent(tpl['文件夹名']) + '/' + (tpl['version'] || 'v1') + '/__student-view__.html?t=' + Date.now();
2899
+ previewIframe.src = TEMPLATE_CDN_BASE + '/' + encodeURIComponent(tpl['文件夹名']) + '/' + (tpl['version'] || 'v1') + '/__student-view__.html';
2900
2900
  }
2901
2901
 
2902
2902
  row.onclick = setActive;
@@ -29,7 +29,7 @@
29
29
  var injected = false;
30
30
  var stopping = false; // 正在等待最终识别结果(stopVoice 的等待窗口)
31
31
  var suppressNextClipboardCopy = false;
32
- var VOICE_STOP_WAIT_MS = 1000;
32
+ var VOICE_STOP_WAIT_MS = 1500;
33
33
  var VOICE_STOP_WAIT_SECONDS = VOICE_STOP_WAIT_MS / 1000;
34
34
 
35
35
  // ═══ 1. 右下角版本入口(打开快捷命令) ═══
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.1.180",
3
+ "version": "1.1.182",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {