@aiyiran/myclaw 1.1.145 → 1.1.146
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.
|
@@ -1173,7 +1173,8 @@
|
|
|
1173
1173
|
iframe.focus();
|
|
1174
1174
|
// HTML 作品已由服务端注入 debug probe,挂上调试记录收集器开始录制。
|
|
1175
1175
|
// 其余类型(图片/视频/PDF…)不录制。collector 不存在时静默跳过。
|
|
1176
|
-
|
|
1176
|
+
var isDebugFile = asset.path && asset.path.replace(/\\/g, '/').indexOf('debug/') === 0;
|
|
1177
|
+
if (isHtml && !isDebugFile && typeof window.startDebugRecord === 'function') {
|
|
1177
1178
|
var debugContext = {
|
|
1178
1179
|
claw: lastKnownClawName,
|
|
1179
1180
|
workspace: getWorkspaceId(),
|