@deepstrike/wasm-kernel 0.2.74 → 0.2.76
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/deepstrike_wasm.d.ts +6 -0
- package/deepstrike_wasm.js +1 -1
- package/deepstrike_wasm_bg.js +33 -0
- package/deepstrike_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/deepstrike_wasm.d.ts
CHANGED
|
@@ -313,6 +313,12 @@ export function contextVerifyJson(request: string): string;
|
|
|
313
313
|
*/
|
|
314
314
|
export function evolutionValidateJson(request: string): string;
|
|
315
315
|
|
|
316
|
+
/**
|
|
317
|
+
* §22.13 memory authority for a host with no live operation: write admission and the recall
|
|
318
|
+
* lifecycle, answered by the same kernel functions the in-operation paths use.
|
|
319
|
+
*/
|
|
320
|
+
export function memoryAuthorityJson(request: string): string;
|
|
321
|
+
|
|
316
322
|
/**
|
|
317
323
|
* Parse the evaluator LLM's JSON response into a structured `Verdict`.
|
|
318
324
|
*/
|
package/deepstrike_wasm.js
CHANGED
|
@@ -5,5 +5,5 @@ import { __wbg_set_wasm } from "./deepstrike_wasm_bg.js";
|
|
|
5
5
|
__wbg_set_wasm(wasm);
|
|
6
6
|
|
|
7
7
|
export {
|
|
8
|
-
CanonicalKernel, SignalRouter, buildEvalMessages, contextPrepareJson, contextVerifyJson, evolutionValidateJson, parseVerdict, verdictOutputSchema, verifiableOperationJson
|
|
8
|
+
CanonicalKernel, SignalRouter, buildEvalMessages, contextPrepareJson, contextVerifyJson, evolutionValidateJson, memoryAuthorityJson, parseVerdict, verdictOutputSchema, verifiableOperationJson
|
|
9
9
|
} from "./deepstrike_wasm_bg.js";
|
package/deepstrike_wasm_bg.js
CHANGED
|
@@ -510,6 +510,39 @@ export function evolutionValidateJson(request) {
|
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
+
/**
|
|
514
|
+
* §22.13 memory authority for a host with no live operation: write admission and the recall
|
|
515
|
+
* lifecycle, answered by the same kernel functions the in-operation paths use.
|
|
516
|
+
* @param {string} request
|
|
517
|
+
* @returns {string}
|
|
518
|
+
*/
|
|
519
|
+
export function memoryAuthorityJson(request) {
|
|
520
|
+
let deferred3_0;
|
|
521
|
+
let deferred3_1;
|
|
522
|
+
try {
|
|
523
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
524
|
+
const ptr0 = passStringToWasm0(request, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
525
|
+
const len0 = WASM_VECTOR_LEN;
|
|
526
|
+
wasm.memoryAuthorityJson(retptr, ptr0, len0);
|
|
527
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
528
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
529
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
530
|
+
var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
|
|
531
|
+
var ptr2 = r0;
|
|
532
|
+
var len2 = r1;
|
|
533
|
+
if (r3) {
|
|
534
|
+
ptr2 = 0; len2 = 0;
|
|
535
|
+
throw takeObject(r2);
|
|
536
|
+
}
|
|
537
|
+
deferred3_0 = ptr2;
|
|
538
|
+
deferred3_1 = len2;
|
|
539
|
+
return getStringFromWasm0(ptr2, len2);
|
|
540
|
+
} finally {
|
|
541
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
542
|
+
wasm.__wbindgen_export4(deferred3_0, deferred3_1, 1);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
513
546
|
/**
|
|
514
547
|
* Parse the evaluator LLM's JSON response into a structured `Verdict`.
|
|
515
548
|
* @param {string} content
|
package/deepstrike_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED