@adhdev/daemon-core 0.5.26 → 0.5.27
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 +1 -1
- package/providers/_builtin/extension/codex/scripts/1.0/send_message.js +1 -1
- package/providers/_builtin/ide/antigravity/scripts/1.106/read_chat.js +2 -1
- package/providers/_builtin/ide/antigravity/scripts/1.107/read_chat.js +2 -1
- package/providers/_builtin/ide/cursor/scripts/0.49/list_sessions.js +1 -1
- package/providers/_builtin/ide/cursor/scripts/0.49/read_chat.js +1 -1
- package/providers/_builtin/ide/windsurf/scripts/1.0/read_chat.js +2 -1
- package/providers/_builtin/registry.json +0 -11
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
editor.dispatchEvent(enterEvent);
|
|
56
56
|
}, 100);
|
|
57
57
|
|
|
58
|
-
return JSON.stringify({ success: true, message: message.substring(0, 100) });
|
|
58
|
+
return JSON.stringify({ sent: true, success: true, message: message.substring(0, 100) });
|
|
59
59
|
} catch (e) {
|
|
60
60
|
return JSON.stringify({ error: e.message || String(e) });
|
|
61
61
|
}
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
if (animMarkdown && animMarkdown.offsetWidth > 0) status = 'generating';
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
const
|
|
33
|
+
const titleParts = document.title.split(' \u2014 ');
|
|
34
|
+
const title = (titleParts.length >= 2 ? titleParts[titleParts.length - 1] : titleParts[0] || '').trim() || 'Active Session';
|
|
34
35
|
|
|
35
36
|
// ─── HTML → Markdown 변환기 (대시보드가 ReactMarkdown+remarkGfm 사용) ───
|
|
36
37
|
// extractCodeText: layout-independent code text extraction
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
if (animMarkdown && animMarkdown.offsetWidth > 0) status = 'generating';
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
const
|
|
33
|
+
const titleParts = document.title.split(' \u2014 ');
|
|
34
|
+
const title = (titleParts.length >= 2 ? titleParts[titleParts.length - 1] : titleParts[0] || '').trim() || 'Active Session';
|
|
34
35
|
|
|
35
36
|
// ─── HTML → Markdown 변환기 (대시보드가 ReactMarkdown+remarkGfm 사용) ───
|
|
36
37
|
// extractCodeText: layout-independent code text extraction
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
if (sessions.length === 0 && activeComposer) {
|
|
31
31
|
sessions.push({
|
|
32
32
|
id: activeId,
|
|
33
|
-
title: document.title.split(' — ')[0],
|
|
33
|
+
title: (() => { const p = document.title.split(' — '); return p.length >= 2 ? p[p.length - 1] : p[0]; })(),
|
|
34
34
|
active: true,
|
|
35
35
|
index: 0,
|
|
36
36
|
});
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
|
|
310
310
|
// ─── Title ───
|
|
311
311
|
const titleParts = document.title.split(' — ');
|
|
312
|
-
const projectTitle = (titleParts.length >= 2 ? titleParts[titleParts.length -
|
|
312
|
+
const projectTitle = (titleParts.length >= 2 ? titleParts[titleParts.length - 1] : titleParts[0] || '').trim();
|
|
313
313
|
|
|
314
314
|
return JSON.stringify({ id, status, title: projectTitle, messages, inputContent, activeModal });
|
|
315
315
|
} catch(e) {
|
|
@@ -83,7 +83,8 @@
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
const
|
|
86
|
+
const titleParts = document.title.split(' \u2014 ');
|
|
87
|
+
const title = (titleParts.length >= 2 ? titleParts[titleParts.length - 1] : titleParts[0] || '').trim() || 'Cascade';
|
|
87
88
|
|
|
88
89
|
// ─── 4. HTML → Markdown 변환기 ───
|
|
89
90
|
const BLOCK_TAGS = new Set(['DIV', 'P', 'BR', 'LI', 'TR', 'SECTION', 'ARTICLE', 'HEADER', 'FOOTER']);
|
|
@@ -221,17 +221,6 @@
|
|
|
221
221
|
}
|
|
222
222
|
]
|
|
223
223
|
},
|
|
224
|
-
"cursor": {
|
|
225
|
-
"providerVersion": "1.0.0",
|
|
226
|
-
"category": "ide",
|
|
227
|
-
"name": "Cursor",
|
|
228
|
-
"compatibility": [
|
|
229
|
-
{
|
|
230
|
-
"ideVersion": ">=0.49.0",
|
|
231
|
-
"scriptDir": "scripts/0.49"
|
|
232
|
-
}
|
|
233
|
-
]
|
|
234
|
-
},
|
|
235
224
|
"kiro": {
|
|
236
225
|
"providerVersion": "0.0.0",
|
|
237
226
|
"category": "ide",
|