@askexenow/exe-os 0.8.91 → 0.8.93
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/bin/backfill-conversations.js +12 -3
- package/dist/bin/backfill-responses.js +12 -3
- package/dist/bin/backfill-vectors.js +12 -3
- package/dist/bin/cli.js +12 -3
- package/dist/bin/exe-assign.js +12 -3
- package/dist/bin/exe-boot.js +12 -3
- package/dist/bin/exe-gateway.js +12 -3
- package/dist/bin/exe-link.js +12 -3
- package/dist/bin/exe-rename.js +12 -3
- package/dist/bin/exe-search.js +12 -3
- package/dist/bin/exe-session-cleanup.js +12 -3
- package/dist/bin/git-sweep.js +12 -3
- package/dist/bin/scan-tasks.js +12 -3
- package/dist/bin/setup.js +12 -3
- package/dist/gateway/index.js +12 -3
- package/dist/hooks/commit-complete.js +12 -3
- package/dist/hooks/error-recall.js +12 -3
- package/dist/hooks/ingest-worker.js +12 -3
- package/dist/hooks/instructions-loaded.js +12 -3
- package/dist/hooks/notification.js +12 -3
- package/dist/hooks/post-compact.js +12 -3
- package/dist/hooks/pre-compact.js +12 -3
- package/dist/hooks/pre-tool-use.js +12 -3
- package/dist/hooks/prompt-ingest-worker.js +12 -3
- package/dist/hooks/prompt-submit.js +12 -3
- package/dist/hooks/response-ingest-worker.js +12 -3
- package/dist/hooks/session-end.js +12 -3
- package/dist/hooks/session-start.js +12 -3
- package/dist/hooks/stop.js +12 -3
- package/dist/hooks/subagent-stop.js +12 -3
- package/dist/hooks/summary-worker.js +12 -3
- package/dist/index.js +12 -3
- package/dist/lib/cloud-sync.js +12 -3
- package/dist/lib/database.js +12 -3
- package/dist/lib/db-daemon-client.js +12 -3
- package/dist/lib/device-registry.js +12 -3
- package/dist/lib/embedder.js +12 -3
- package/dist/lib/exe-daemon-client.js +12 -3
- package/dist/lib/exe-daemon.js +12 -3
- package/dist/lib/hybrid-search.js +12 -3
- package/dist/mcp/server.js +12 -3
- package/dist/runtime/index.js +12 -3
- package/dist/tui/App.js +12 -3
- package/package.json +1 -1
package/dist/tui/App.js
CHANGED
|
@@ -992,9 +992,16 @@ function findPackageRoot() {
|
|
|
992
992
|
function spawnDaemon() {
|
|
993
993
|
const freeGB = os5.freemem() / (1024 * 1024 * 1024);
|
|
994
994
|
const totalGB = os5.totalmem() / (1024 * 1024 * 1024);
|
|
995
|
-
if (
|
|
995
|
+
if (totalGB <= 8) {
|
|
996
996
|
process.stderr.write(
|
|
997
|
-
`[exed-client] SKIP:
|
|
997
|
+
`[exed-client] SKIP: ${totalGB.toFixed(0)}GB system \u2014 embedding daemon disabled. Using keyword search only. Minimum 16GB recommended for vector search.
|
|
998
|
+
`
|
|
999
|
+
);
|
|
1000
|
+
return;
|
|
1001
|
+
}
|
|
1002
|
+
if (totalGB <= 16 && freeGB < 4) {
|
|
1003
|
+
process.stderr.write(
|
|
1004
|
+
`[exed-client] SKIP: low memory (${freeGB.toFixed(1)}GB free / ${totalGB.toFixed(0)}GB total). Embedding daemon not started \u2014 using keyword search only.
|
|
998
1005
|
`
|
|
999
1006
|
);
|
|
1000
1007
|
return;
|
|
@@ -1019,7 +1026,9 @@ function spawnDaemon() {
|
|
|
1019
1026
|
stderrFd = openSync(logPath, "a");
|
|
1020
1027
|
} catch {
|
|
1021
1028
|
}
|
|
1022
|
-
const
|
|
1029
|
+
const heapCapMB = totalGB <= 8 ? 256 : 512;
|
|
1030
|
+
const nodeArgs = [`--max-old-space-size=${heapCapMB}`, resolvedPath];
|
|
1031
|
+
const child = spawn(process.execPath, nodeArgs, {
|
|
1023
1032
|
detached: true,
|
|
1024
1033
|
stdio: ["ignore", "ignore", stderrFd],
|
|
1025
1034
|
env: {
|
package/package.json
CHANGED