@askexenow/exe-os 0.8.78 → 0.8.79
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 +8 -6
- package/dist/bin/exe-boot.js +2 -0
- package/dist/bin/exe-link.js +2 -0
- package/dist/bin/setup.js +2 -0
- package/dist/hooks/summary-worker.js +2 -0
- package/dist/lib/cloud-sync.js +2 -0
- package/package.json +1 -1
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,
|
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