@kybernesis/brain-core 0.8.0 → 0.8.1
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/sleep/db.d.ts +9 -8
- package/dist/sleep/db.d.ts.map +1 -1
- package/dist/sleep/db.js +9 -8
- package/dist/sleep/db.js.map +1 -1
- package/package.json +6 -6
package/dist/sleep/db.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sleep DB schema helpers — public re-export surface.
|
|
3
3
|
*
|
|
4
|
-
* Storage untangle (U4, decision A): the implementations
|
|
4
|
+
* Storage untangle (U4, decision A): the implementations live in
|
|
5
5
|
* brain-storage-sqlite (the storage package, where raw DB handles are allowed),
|
|
6
|
-
* so brain-core/src holds ZERO raw handles — the done-signal for 0.6.0.
|
|
7
|
-
* public API is unchanged:
|
|
8
|
-
* `ensureSleepSchema` still returns the sleep `Database` (kept for parity; the
|
|
9
|
-
* sleep engine no longer consumes it — every step routes through the seam), and
|
|
10
|
-
* `recoverStaleSleepRuns` / `resetSleepSchemaCache` keep their signatures.
|
|
6
|
+
* so brain-core/src holds ZERO raw handles — the done-signal for 0.6.0.
|
|
11
7
|
*
|
|
12
|
-
*
|
|
8
|
+
* `ensureSleepSchema` (which returned a raw sqlite handle) was removed from
|
|
9
|
+
* brain-core's public API in 0.7.0 — consumers use the void
|
|
10
|
+
* `repositories.sleep.ensureSchema(t)`, plus the storage package's raw-handle
|
|
11
|
+
* accessor for inspection. We re-export only the handle-free helpers here.
|
|
12
|
+
*
|
|
13
|
+
* The schema DDL itself is identical to KAD (port-faithful), owned by
|
|
13
14
|
* brain-storage-sqlite/sleep-store.ts.
|
|
14
15
|
*/
|
|
15
|
-
export {
|
|
16
|
+
export { recoverStaleSleepRuns, resetSleepSchemaCache, } from '@kybernesis/brain-storage-sqlite';
|
|
16
17
|
//# sourceMappingURL=db.d.ts.map
|
package/dist/sleep/db.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../src/sleep/db.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../src/sleep/db.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,kCAAkC,CAAC"}
|
package/dist/sleep/db.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sleep DB schema helpers — public re-export surface.
|
|
3
3
|
*
|
|
4
|
-
* Storage untangle (U4, decision A): the implementations
|
|
4
|
+
* Storage untangle (U4, decision A): the implementations live in
|
|
5
5
|
* brain-storage-sqlite (the storage package, where raw DB handles are allowed),
|
|
6
|
-
* so brain-core/src holds ZERO raw handles — the done-signal for 0.6.0.
|
|
7
|
-
* public API is unchanged:
|
|
8
|
-
* `ensureSleepSchema` still returns the sleep `Database` (kept for parity; the
|
|
9
|
-
* sleep engine no longer consumes it — every step routes through the seam), and
|
|
10
|
-
* `recoverStaleSleepRuns` / `resetSleepSchemaCache` keep their signatures.
|
|
6
|
+
* so brain-core/src holds ZERO raw handles — the done-signal for 0.6.0.
|
|
11
7
|
*
|
|
12
|
-
*
|
|
8
|
+
* `ensureSleepSchema` (which returned a raw sqlite handle) was removed from
|
|
9
|
+
* brain-core's public API in 0.7.0 — consumers use the void
|
|
10
|
+
* `repositories.sleep.ensureSchema(t)`, plus the storage package's raw-handle
|
|
11
|
+
* accessor for inspection. We re-export only the handle-free helpers here.
|
|
12
|
+
*
|
|
13
|
+
* The schema DDL itself is identical to KAD (port-faithful), owned by
|
|
13
14
|
* brain-storage-sqlite/sleep-store.ts.
|
|
14
15
|
*/
|
|
15
|
-
export {
|
|
16
|
+
export { recoverStaleSleepRuns, resetSleepSchemaCache, } from '@kybernesis/brain-storage-sqlite';
|
|
16
17
|
//# sourceMappingURL=db.js.map
|
package/dist/sleep/db.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.js","sourceRoot":"","sources":["../../src/sleep/db.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"db.js","sourceRoot":"","sources":["../../src/sleep/db.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,kCAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kybernesis/brain-core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Kernel brain methods — timeline, entity-graph, facts, vectors, retrieval, sleep",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "David Cruwys (AppyDave)",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@kybernesis/brain-contracts": "0.8.
|
|
31
|
-
"@kybernesis/brain-storage-sqlite": "0.8.
|
|
30
|
+
"@kybernesis/brain-contracts": "0.8.1",
|
|
31
|
+
"@kybernesis/brain-storage-sqlite": "0.8.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@kybernesis/brain-storage-vec": "0.8.
|
|
34
|
+
"@kybernesis/brain-storage-vec": "0.8.1"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@kybernesis/brain-storage-vec": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@kybernesis/brain-
|
|
43
|
-
"@kybernesis/brain-
|
|
42
|
+
"@kybernesis/brain-storage-vec": "0.8.1",
|
|
43
|
+
"@kybernesis/brain-testkit": "0.8.1"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|