@askexenow/exe-os 0.8.78 → 0.8.80
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/cli.js
CHANGED
|
@@ -3010,9 +3010,11 @@ async function cloudSync(config) {
|
|
|
3010
3010
|
}
|
|
3011
3011
|
} catch {
|
|
3012
3012
|
}
|
|
3013
|
+
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
3013
3014
|
return {
|
|
3014
3015
|
pushed,
|
|
3015
3016
|
pulled,
|
|
3017
|
+
totalMemories,
|
|
3016
3018
|
behaviors: behaviorsResult,
|
|
3017
3019
|
graphrag: graphragResult,
|
|
3018
3020
|
tasks: tasksResult,
|
|
@@ -25424,13 +25426,13 @@ async function runCloudSync() {
|
|
|
25424
25426
|
try {
|
|
25425
25427
|
const result = await cloudSync2(config.cloud);
|
|
25426
25428
|
console.log("");
|
|
25427
|
-
console.log(` Memories:
|
|
25428
|
-
console.log(` Behaviors:
|
|
25429
|
+
console.log(` Memories: ${result.totalMemories} total (\u2191 ${result.pushed} pushed, \u2193 ${result.pulled} pulled)`);
|
|
25430
|
+
console.log(` Behaviors: ${result.behaviors.pushed} total (\u2193 ${result.behaviors.pulled} pulled)`);
|
|
25429
25431
|
console.log(` Roster: ${result.roster.employees} employees, ${result.roster.identities} identities`);
|
|
25430
|
-
console.log(` Tasks:
|
|
25431
|
-
console.log(` Conversations:
|
|
25432
|
-
console.log(` Documents:
|
|
25433
|
-
console.log(` GraphRAG:
|
|
25432
|
+
console.log(` Tasks: ${result.tasks.pushed} total (\u2193 ${result.tasks.pulled} pulled)`);
|
|
25433
|
+
console.log(` Conversations: ${result.conversations.pushed} total (\u2193 ${result.conversations.pulled} pulled)`);
|
|
25434
|
+
console.log(` Documents: ${result.documents.pushed} total (\u2193 ${result.documents.pulled} pulled)`);
|
|
25435
|
+
console.log(` GraphRAG: ${result.graphrag.pushed} entities`);
|
|
25434
25436
|
console.log("\n\x1B[32mSync complete.\x1B[0m");
|
|
25435
25437
|
} catch (err) {
|
|
25436
25438
|
console.error(`Sync failed: ${err instanceof Error ? err.message : String(err)}`);
|
package/dist/bin/exe-boot.js
CHANGED
|
@@ -6074,9 +6074,11 @@ async function cloudSync(config) {
|
|
|
6074
6074
|
}
|
|
6075
6075
|
} catch {
|
|
6076
6076
|
}
|
|
6077
|
+
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
6077
6078
|
return {
|
|
6078
6079
|
pushed,
|
|
6079
6080
|
pulled,
|
|
6081
|
+
totalMemories,
|
|
6080
6082
|
behaviors: behaviorsResult,
|
|
6081
6083
|
graphrag: graphragResult,
|
|
6082
6084
|
tasks: tasksResult,
|
|
@@ -2989,9 +2989,9 @@ function getKnownAgents() {
|
|
|
2989
2989
|
try {
|
|
2990
2990
|
return loadEmployeesSync().map((e) => e.name);
|
|
2991
2991
|
} catch (err) {
|
|
2992
|
-
process.stderr.write(`[exe-launch-agent] roster load failed
|
|
2992
|
+
process.stderr.write(`[exe-launch-agent] roster load failed: ${err instanceof Error ? err.message : String(err)}
|
|
2993
2993
|
`);
|
|
2994
|
-
return [
|
|
2994
|
+
return [];
|
|
2995
2995
|
}
|
|
2996
2996
|
}
|
|
2997
2997
|
function parseBasename(basename) {
|
|
@@ -3020,12 +3020,14 @@ function resolveAgent(argv) {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
async function isKnownAgent(agent) {
|
|
3022
3022
|
const knownAgents = getKnownAgents();
|
|
3023
|
+
if (knownAgents.length === 0) return true;
|
|
3023
3024
|
if (knownAgents.some((a) => a.toLowerCase() === agent.toLowerCase())) return true;
|
|
3024
3025
|
try {
|
|
3025
3026
|
const employees = await loadEmployees();
|
|
3027
|
+
if (employees.length === 0) return true;
|
|
3026
3028
|
return employees.some((e) => e.name.toLowerCase() === agent.toLowerCase());
|
|
3027
3029
|
} catch {
|
|
3028
|
-
return
|
|
3030
|
+
return true;
|
|
3029
3031
|
}
|
|
3030
3032
|
}
|
|
3031
3033
|
function identityPathFor(agent) {
|
|
@@ -3203,8 +3205,7 @@ async function main() {
|
|
|
3203
3205
|
\u26A0\uFE0F Not inside tmux \u2014 employee spawning and session management won't work.
|
|
3204
3206
|
For full exe-os (multi-agent, daemon, employee orchestration):
|
|
3205
3207
|
|
|
3206
|
-
|
|
3207
|
-
${agent === "exe" ? "exe" : agent}
|
|
3208
|
+
${agent}1
|
|
3208
3209
|
|
|
3209
3210
|
Continuing in limited mode (memory + MCP tools work, spawning doesn't).
|
|
3210
3211
|
|
package/dist/bin/exe-link.js
CHANGED
|
@@ -969,9 +969,11 @@ async function cloudSync(config) {
|
|
|
969
969
|
}
|
|
970
970
|
} catch {
|
|
971
971
|
}
|
|
972
|
+
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
972
973
|
return {
|
|
973
974
|
pushed,
|
|
974
975
|
pulled,
|
|
976
|
+
totalMemories,
|
|
975
977
|
behaviors: behaviorsResult,
|
|
976
978
|
graphrag: graphragResult,
|
|
977
979
|
tasks: tasksResult,
|
package/dist/bin/setup.js
CHANGED
|
@@ -1842,9 +1842,11 @@ async function cloudSync(config) {
|
|
|
1842
1842
|
}
|
|
1843
1843
|
} catch {
|
|
1844
1844
|
}
|
|
1845
|
+
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
1845
1846
|
return {
|
|
1846
1847
|
pushed,
|
|
1847
1848
|
pulled,
|
|
1849
|
+
totalMemories,
|
|
1848
1850
|
behaviors: behaviorsResult,
|
|
1849
1851
|
graphrag: graphragResult,
|
|
1850
1852
|
tasks: tasksResult,
|
|
@@ -3685,9 +3685,11 @@ async function cloudSync(config) {
|
|
|
3685
3685
|
}
|
|
3686
3686
|
} catch {
|
|
3687
3687
|
}
|
|
3688
|
+
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
3688
3689
|
return {
|
|
3689
3690
|
pushed,
|
|
3690
3691
|
pulled,
|
|
3692
|
+
totalMemories,
|
|
3691
3693
|
behaviors: behaviorsResult,
|
|
3692
3694
|
graphrag: graphragResult,
|
|
3693
3695
|
tasks: tasksResult,
|
package/dist/lib/cloud-sync.js
CHANGED
|
@@ -747,9 +747,11 @@ async function cloudSync(config) {
|
|
|
747
747
|
}
|
|
748
748
|
} catch {
|
|
749
749
|
}
|
|
750
|
+
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
750
751
|
return {
|
|
751
752
|
pushed,
|
|
752
753
|
pulled,
|
|
754
|
+
totalMemories,
|
|
753
755
|
behaviors: behaviorsResult,
|
|
754
756
|
graphrag: graphragResult,
|
|
755
757
|
tasks: tasksResult,
|
package/package.json
CHANGED