@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.js
CHANGED
|
@@ -16973,10 +16973,9 @@ function hasSafeNativeHistoryMapping(args) {
|
|
|
16973
16973
|
const text = typeof m?.content === "string" ? m.content : JSON.stringify(m?.content || "");
|
|
16974
16974
|
return text.includes("mesh_send_task") || text.includes("mesh_status") || text.includes("mesh_read_chat");
|
|
16975
16975
|
});
|
|
16976
|
-
|
|
16977
|
-
return false;
|
|
16978
|
-
}
|
|
16976
|
+
return ptyHasCoordinator;
|
|
16979
16977
|
}
|
|
16978
|
+
return false;
|
|
16980
16979
|
}
|
|
16981
16980
|
const workspace = String(args.workspace || "").trim();
|
|
16982
16981
|
if (!workspace) return false;
|
|
@@ -17585,8 +17584,7 @@ async function handleChatHistory(h, args) {
|
|
|
17585
17584
|
limit: limit || 30,
|
|
17586
17585
|
excludeRecentCount,
|
|
17587
17586
|
historyBehavior: provider?.historyBehavior,
|
|
17588
|
-
scripts: provider?.scripts
|
|
17589
|
-
exactSessionScoped: exactNativeHistoryScope
|
|
17587
|
+
scripts: provider?.scripts
|
|
17590
17588
|
}) : readProviderChatHistory(agentStr, {
|
|
17591
17589
|
canonicalHistory: provider?.canonicalHistory,
|
|
17592
17590
|
historySessionId,
|
|
@@ -17691,8 +17689,7 @@ async function handleReadChat(h, args) {
|
|
|
17691
17689
|
limit: nativeHistoryLimit,
|
|
17692
17690
|
excludeRecentCount: 0,
|
|
17693
17691
|
historyBehavior: provider?.historyBehavior,
|
|
17694
|
-
scripts: provider?.scripts
|
|
17695
|
-
exactSessionScoped: exactNativeHistoryScope
|
|
17692
|
+
scripts: provider?.scripts
|
|
17696
17693
|
});
|
|
17697
17694
|
} catch (error) {
|
|
17698
17695
|
const fallbackReason = `native_history_error:${error?.message || String(error)}`;
|
|
@@ -17823,8 +17820,7 @@ async function handleReadChat(h, args) {
|
|
|
17823
17820
|
limit: historyLimit,
|
|
17824
17821
|
excludeRecentCount: 0,
|
|
17825
17822
|
historyBehavior: provider?.historyBehavior,
|
|
17826
|
-
scripts: provider?.scripts
|
|
17827
|
-
exactSessionScoped: exactNativeHistoryScope
|
|
17823
|
+
scripts: provider?.scripts
|
|
17828
17824
|
}) : readProviderChatHistory(agentStr, {
|
|
17829
17825
|
canonicalHistory: provider?.canonicalHistory,
|
|
17830
17826
|
historySessionId,
|