dreamcontext 0.8.1 → 0.8.2
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 +1 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34695,6 +34695,7 @@ function freshDefaults() {
|
|
|
34695
34695
|
dashboard_changes: [],
|
|
34696
34696
|
compaction_log: [],
|
|
34697
34697
|
recall_mode: "haiku",
|
|
34698
|
+
consolidation_depth: null,
|
|
34698
34699
|
pendingMigrationNotices: []
|
|
34699
34700
|
};
|
|
34700
34701
|
}
|
|
@@ -34757,18 +34758,6 @@ function bumpKnowledgeAccess(state, slug) {
|
|
|
34757
34758
|
state.knowledge_access[slug].last_accessed = today();
|
|
34758
34759
|
state.knowledge_access[slug].count++;
|
|
34759
34760
|
}
|
|
34760
|
-
function getSleepinessLevel(debt) {
|
|
34761
|
-
if (debt <= 3) return "Alert";
|
|
34762
|
-
if (debt <= 6) return "Drowsy";
|
|
34763
|
-
if (debt <= 9) return "Sleepy";
|
|
34764
|
-
return "Must Sleep";
|
|
34765
|
-
}
|
|
34766
|
-
function getSleepinessRange(debt) {
|
|
34767
|
-
if (debt <= 3) return "0-3";
|
|
34768
|
-
if (debt <= 6) return "4-6";
|
|
34769
|
-
if (debt <= 9) return "7-9";
|
|
34770
|
-
return "10+";
|
|
34771
|
-
}
|
|
34772
34761
|
function registerSleepCommand(program2) {
|
|
34773
34762
|
const sleep2 = program2.command("sleep").description("Track sleep debt and consolidation state");
|
|
34774
34763
|
sleep2.command("status").description("Show current sleep debt level and history").action(() => {
|