ai-hist-native 0.22.1 → 0.24.0

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/index.d.ts CHANGED
@@ -530,6 +530,14 @@ export interface HydrateSessionResult {
530
530
  presence: string
531
531
  indexedThrough: HydrationIndexedThrough
532
532
  evidence: HydrationEvidence
533
+ /**
534
+ * Bytes read from provider files by this hydration. About the size of
535
+ * the append when a live transcript grew, and small but **not zero** when
536
+ * the session was unchanged: deciding nothing changed means validating
537
+ * each cursor against a bounded window of the file it was written from.
538
+ * Zero is reserved for a pass that opened no provider file at all.
539
+ */
540
+ bytesRead: number
533
541
  /**
534
542
  * Evidence kinds this hydration can have indexed, as wire names
535
543
  * (`history`, `session_event`, `tool_call`, `file_edit`,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native-darwin-arm64",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "os": [
5
5
  "darwin"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native-darwin-x64",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "os": [
5
5
  "darwin"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native-linux-arm64-gnu",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native-linux-arm64-musl",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native-linux-x64-gnu",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native-linux-x64-musl",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native-win32-x64-msvc",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "os": [
5
5
  "win32"
6
6
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-hist-native",
3
- "version": "0.22.1",
3
+ "version": "0.24.0",
4
4
  "description": "Mandatory Node-API engine for RelayHistory.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -44,12 +44,12 @@
44
44
  "@napi-rs/cli": "^2.18.4"
45
45
  },
46
46
  "optionalDependencies": {
47
- "ai-hist-native-darwin-arm64": "0.22.1",
48
- "ai-hist-native-darwin-x64": "0.22.1",
49
- "ai-hist-native-linux-x64-gnu": "0.22.1",
50
- "ai-hist-native-linux-arm64-gnu": "0.22.1",
51
- "ai-hist-native-linux-x64-musl": "0.22.1",
52
- "ai-hist-native-linux-arm64-musl": "0.22.1",
53
- "ai-hist-native-win32-x64-msvc": "0.22.1"
47
+ "ai-hist-native-darwin-arm64": "0.24.0",
48
+ "ai-hist-native-darwin-x64": "0.24.0",
49
+ "ai-hist-native-linux-x64-gnu": "0.24.0",
50
+ "ai-hist-native-linux-arm64-gnu": "0.24.0",
51
+ "ai-hist-native-linux-x64-musl": "0.24.0",
52
+ "ai-hist-native-linux-arm64-musl": "0.24.0",
53
+ "ai-hist-native-win32-x64-msvc": "0.24.0"
54
54
  }
55
55
  }