@hasna/assistants 1.1.50 → 1.1.51
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 +10 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -88938,7 +88938,7 @@ Not a git repository or git not available.
|
|
|
88938
88938
|
context.setProjectContext(projectContext);
|
|
88939
88939
|
}
|
|
88940
88940
|
}
|
|
88941
|
-
var VERSION2 = "1.1.
|
|
88941
|
+
var VERSION2 = "1.1.51";
|
|
88942
88942
|
var init_builtin = __esm(async () => {
|
|
88943
88943
|
init_src2();
|
|
88944
88944
|
init_context3();
|
|
@@ -211101,6 +211101,9 @@ var init_loop = __esm(async () => {
|
|
|
211101
211101
|
init_hooks(),
|
|
211102
211102
|
init_commands(),
|
|
211103
211103
|
init_config(),
|
|
211104
|
+
init_database(),
|
|
211105
|
+
init_backup(),
|
|
211106
|
+
init_migrate(),
|
|
211104
211107
|
init_heartbeat2(),
|
|
211105
211108
|
init_energy2(),
|
|
211106
211109
|
init_store3(),
|
|
@@ -211273,6 +211276,9 @@ var init_loop = __esm(async () => {
|
|
|
211273
211276
|
ensureConfigDir(this.sessionId, this.storageDir)
|
|
211274
211277
|
]);
|
|
211275
211278
|
this.config = config2;
|
|
211279
|
+
const db = getDatabase();
|
|
211280
|
+
migrateIfNeeded(db, this.storageDir);
|
|
211281
|
+
backupIfNeeded(db, this.storageDir);
|
|
211276
211282
|
if (this.modelOverride) {
|
|
211277
211283
|
this.config = {
|
|
211278
211284
|
...this.config,
|
|
@@ -212866,6 +212872,7 @@ You are running in **autonomous mode**. You manage your own wakeup schedule.
|
|
|
212866
212872
|
this.memoryManager?.close();
|
|
212867
212873
|
this.memoryManager = null;
|
|
212868
212874
|
this.memoryInjector = null;
|
|
212875
|
+
closeDatabase();
|
|
212869
212876
|
}
|
|
212870
212877
|
async shutdownAsync(reason = "shutdown") {
|
|
212871
212878
|
await this.fireSessionEndHook(reason);
|
|
@@ -290793,7 +290800,7 @@ Interactive Mode:
|
|
|
290793
290800
|
// packages/terminal/src/index.tsx
|
|
290794
290801
|
var jsx_dev_runtime52 = __toESM(require_jsx_dev_runtime(), 1);
|
|
290795
290802
|
setRuntime(bunRuntime);
|
|
290796
|
-
var VERSION4 = "1.1.
|
|
290803
|
+
var VERSION4 = "1.1.51";
|
|
290797
290804
|
var SYNC_START = "\x1B[?2026h";
|
|
290798
290805
|
var SYNC_END = "\x1B[?2026l";
|
|
290799
290806
|
function enableSynchronizedOutput() {
|
|
@@ -290912,4 +290919,4 @@ export {
|
|
|
290912
290919
|
main
|
|
290913
290920
|
};
|
|
290914
290921
|
|
|
290915
|
-
//# debugId=
|
|
290922
|
+
//# debugId=AD7A84E56D81A61E64756E2164756E21
|