@adhdev/daemon-standalone 0.8.7 → 0.8.9
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 +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/{index-CGcC7g8q.js → index-CAoPFEXX.js} +3 -3
- package/public/index.html +1 -1
- package/vendor/session-host-daemon/index.js +55 -22
- package/vendor/session-host-daemon/index.js.map +1 -1
- package/vendor/session-host-daemon/index.mjs +55 -22
- package/vendor/session-host-daemon/index.mjs.map +1 -1
package/dist/index.js
CHANGED
|
@@ -27952,6 +27952,12 @@ var require_dist2 = __commonJS({
|
|
|
27952
27952
|
function getDateStr() {
|
|
27953
27953
|
return (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
27954
27954
|
}
|
|
27955
|
+
function getDaemonLogDir() {
|
|
27956
|
+
return LOG_DIR;
|
|
27957
|
+
}
|
|
27958
|
+
function getCurrentDaemonLogPath(date5 = /* @__PURE__ */ new Date()) {
|
|
27959
|
+
return path42.join(LOG_DIR, `daemon-${date5.toISOString().slice(0, 10)}.log`);
|
|
27960
|
+
}
|
|
27955
27961
|
function checkDateRotation() {
|
|
27956
27962
|
const today = getDateStr();
|
|
27957
27963
|
if (today !== currentDate) {
|
|
@@ -30096,6 +30102,8 @@ ${data.message || ""}`.trim();
|
|
|
30096
30102
|
forwardAgentStreamsToIdeInstance: () => forwardAgentStreamsToIdeInstance2,
|
|
30097
30103
|
getAIExtensions: () => getAIExtensions,
|
|
30098
30104
|
getAvailableIdeIds: () => getAvailableIdeIds,
|
|
30105
|
+
getCurrentDaemonLogPath: () => getCurrentDaemonLogPath,
|
|
30106
|
+
getDaemonLogDir: () => getDaemonLogDir,
|
|
30099
30107
|
getHostMemorySnapshot: () => getHostMemorySnapshot,
|
|
30100
30108
|
getLogLevel: () => getLogLevel,
|
|
30101
30109
|
getRecentActivity: () => getRecentActivity,
|