@adhdev/daemon-core 0.9.82-rc.118 → 0.9.82-rc.119
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/dist/index.js +5 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/commands/chat-commands.ts +18 -7
package/dist/index.mjs
CHANGED
|
@@ -16707,10 +16707,9 @@ function hasSafeNativeHistoryMapping(args) {
|
|
|
16707
16707
|
const text = typeof m?.content === "string" ? m.content : JSON.stringify(m?.content || "");
|
|
16708
16708
|
return text.includes("mesh_send_task") || text.includes("mesh_status") || text.includes("mesh_read_chat");
|
|
16709
16709
|
});
|
|
16710
|
-
|
|
16711
|
-
return false;
|
|
16712
|
-
}
|
|
16710
|
+
return ptyHasCoordinator;
|
|
16713
16711
|
}
|
|
16712
|
+
return false;
|
|
16714
16713
|
}
|
|
16715
16714
|
const workspace = String(args.workspace || "").trim();
|
|
16716
16715
|
if (!workspace) return false;
|
|
@@ -17319,8 +17318,7 @@ async function handleChatHistory(h, args) {
|
|
|
17319
17318
|
limit: limit || 30,
|
|
17320
17319
|
excludeRecentCount,
|
|
17321
17320
|
historyBehavior: provider?.historyBehavior,
|
|
17322
|
-
scripts: provider?.scripts
|
|
17323
|
-
exactSessionScoped: exactNativeHistoryScope
|
|
17321
|
+
scripts: provider?.scripts
|
|
17324
17322
|
}) : readProviderChatHistory(agentStr, {
|
|
17325
17323
|
canonicalHistory: provider?.canonicalHistory,
|
|
17326
17324
|
historySessionId,
|
|
@@ -17425,8 +17423,7 @@ async function handleReadChat(h, args) {
|
|
|
17425
17423
|
limit: nativeHistoryLimit,
|
|
17426
17424
|
excludeRecentCount: 0,
|
|
17427
17425
|
historyBehavior: provider?.historyBehavior,
|
|
17428
|
-
scripts: provider?.scripts
|
|
17429
|
-
exactSessionScoped: exactNativeHistoryScope
|
|
17426
|
+
scripts: provider?.scripts
|
|
17430
17427
|
});
|
|
17431
17428
|
} catch (error) {
|
|
17432
17429
|
const fallbackReason = `native_history_error:${error?.message || String(error)}`;
|
|
@@ -17557,8 +17554,7 @@ async function handleReadChat(h, args) {
|
|
|
17557
17554
|
limit: historyLimit,
|
|
17558
17555
|
excludeRecentCount: 0,
|
|
17559
17556
|
historyBehavior: provider?.historyBehavior,
|
|
17560
|
-
scripts: provider?.scripts
|
|
17561
|
-
exactSessionScoped: exactNativeHistoryScope
|
|
17557
|
+
scripts: provider?.scripts
|
|
17562
17558
|
}) : readProviderChatHistory(agentStr, {
|
|
17563
17559
|
canonicalHistory: provider?.canonicalHistory,
|
|
17564
17560
|
historySessionId,
|