dsh-plugin-sessiongraph-native 0.1.15 → 0.1.17
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/lib/index.d.ts
CHANGED
|
@@ -76,12 +76,16 @@ export interface NativeIndexReport {
|
|
|
76
76
|
/** The loaded native module's surface. */
|
|
77
77
|
export interface NativeKernel {
|
|
78
78
|
/**
|
|
79
|
-
* Build or refresh one index,
|
|
79
|
+
* Build or refresh one index, off the JavaScript thread.
|
|
80
|
+
*
|
|
81
|
+
* Answers a promise because the kernel's body runs on libuv's thread pool. It used to be a
|
|
82
|
+
* synchronous export — which held the host's event loop for the whole run and froze the UI even
|
|
83
|
+
* though the call arrived through the job registry, measured at 1294 ms on one 17 MB session log.
|
|
80
84
|
* @param options - roots and scope switches.
|
|
81
85
|
* @returns what the run did.
|
|
82
86
|
* @throws when the index cannot be written; parse failures are reported, not thrown.
|
|
83
87
|
*/
|
|
84
|
-
indexSessions(options: NativeIndexOptions): NativeIndexReport
|
|
88
|
+
indexSessions(options: NativeIndexOptions): Promise<NativeIndexReport>;
|
|
85
89
|
}
|
|
86
90
|
/**
|
|
87
91
|
* Load the native kernel, or report that this machine has none.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-sessiongraph-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "Native Rust index kernel for DeepSeek Harness sessiongraph — scan, multi-frame zstd decode, JSONL parse and SQLite write, exposed to Node through napi-rs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
Binary file
|