@deepstrike/wasm-kernel 0.2.51 → 0.2.52
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 +5 -3
- package/deepstrike_wasm_bg.js +4 -32
- package/deepstrike_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/deepstrike_wasm.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
export type CanonicalRecordBytes = Uint8Array[];
|
|
5
|
+
|
|
6
|
+
|
|
3
7
|
/**
|
|
4
8
|
* Structured context for a provider call — emitted with `kind === \"call_llm\"`.
|
|
5
9
|
*/
|
|
@@ -236,8 +240,6 @@ export type CanonicalLifecycle = "created" | "configured" | "running" | "suspend
|
|
|
236
240
|
|
|
237
241
|
export type CanonicalPreparation = { status: "prepared"; prepareToken: string; stepSeq: string; expectedHead?: string; recordDigest: string; recordBytes: Uint8Array; plannedStepJson: string } | { status: "replayed"; stepSeq: string; expectedHead?: string; recordDigest: string; recordBytes?: Uint8Array; plannedStepJson?: string } | { status: "rejected"; faultJson: string };
|
|
238
242
|
|
|
239
|
-
export type CanonicalRecordBytes = Uint8Array[];
|
|
240
|
-
|
|
241
243
|
|
|
242
244
|
/**
|
|
243
245
|
* Durable canonical operation handle. It exposes no direct `step` method.
|
|
@@ -266,7 +268,7 @@ export class CanonicalKernel {
|
|
|
266
268
|
/**
|
|
267
269
|
* Replace this handle in place from checkpoint bytes plus post-checkpoint record bytes.
|
|
268
270
|
*/
|
|
269
|
-
restore(checkpoint_bytes: Uint8Array | null | undefined, record_bytes:
|
|
271
|
+
restore(checkpoint_bytes: Uint8Array | null | undefined, record_bytes: any): CanonicalRestoreCost;
|
|
270
272
|
terminalJson(): string | undefined;
|
|
271
273
|
}
|
|
272
274
|
|
package/deepstrike_wasm_bg.js
CHANGED
|
@@ -179,7 +179,7 @@ export class CanonicalKernel {
|
|
|
179
179
|
/**
|
|
180
180
|
* Replace this handle in place from checkpoint bytes plus post-checkpoint record bytes.
|
|
181
181
|
* @param {Uint8Array | null | undefined} checkpoint_bytes
|
|
182
|
-
* @param {
|
|
182
|
+
* @param {any} record_bytes
|
|
183
183
|
* @returns {CanonicalRestoreCost}
|
|
184
184
|
*/
|
|
185
185
|
restore(checkpoint_bytes, record_bytes) {
|
|
@@ -523,8 +523,8 @@ export function __wbg___wbindgen_in_07056af4f902c445(arg0, arg1) {
|
|
|
523
523
|
const ret = getObject(arg0) in getObject(arg1);
|
|
524
524
|
return ret;
|
|
525
525
|
}
|
|
526
|
-
export function
|
|
527
|
-
const ret =
|
|
526
|
+
export function __wbg___wbindgen_is_null_2042690d351e14f0(arg0) {
|
|
527
|
+
const ret = getObject(arg0) === null;
|
|
528
528
|
return ret;
|
|
529
529
|
}
|
|
530
530
|
export function __wbg___wbindgen_is_object_b4593df85baada48(arg0) {
|
|
@@ -557,14 +557,6 @@ export function __wbg___wbindgen_string_get_d109740c0d18f4d7(arg0, arg1) {
|
|
|
557
557
|
export function __wbg___wbindgen_throw_9c31b086c2b26051(arg0, arg1) {
|
|
558
558
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
559
559
|
}
|
|
560
|
-
export function __wbg_call_13665d9f14390edc() { return handleError(function (arg0, arg1) {
|
|
561
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
562
|
-
return addHeapObject(ret);
|
|
563
|
-
}, arguments); }
|
|
564
|
-
export function __wbg_done_54b8da57023b7ed2(arg0) {
|
|
565
|
-
const ret = getObject(arg0).done;
|
|
566
|
-
return ret;
|
|
567
|
-
}
|
|
568
560
|
export function __wbg_from_fa561fa561dc8031(arg0) {
|
|
569
561
|
const ret = Array.from(getObject(arg0));
|
|
570
562
|
return addHeapObject(ret);
|
|
@@ -572,11 +564,7 @@ export function __wbg_from_fa561fa561dc8031(arg0) {
|
|
|
572
564
|
export function __wbg_getRandomValues_ef12552bf5acd2fe() { return handleError(function (arg0, arg1) {
|
|
573
565
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
574
566
|
}, arguments); }
|
|
575
|
-
export function
|
|
576
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
577
|
-
return addHeapObject(ret);
|
|
578
|
-
}, arguments); }
|
|
579
|
-
export function __wbg_get_unchecked_1dfe6d05ad91d9b7(arg0, arg1) {
|
|
567
|
+
export function __wbg_get_98fdf51d029a75eb(arg0, arg1) {
|
|
580
568
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
581
569
|
return addHeapObject(ret);
|
|
582
570
|
}
|
|
@@ -612,10 +600,6 @@ export function __wbg_isSafeInteger_01e964d144ad3a55(arg0) {
|
|
|
612
600
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
613
601
|
return ret;
|
|
614
602
|
}
|
|
615
|
-
export function __wbg_iterator_1441b47f341dc34f() {
|
|
616
|
-
const ret = Symbol.iterator;
|
|
617
|
-
return addHeapObject(ret);
|
|
618
|
-
}
|
|
619
603
|
export function __wbg_length_2591a0f4f659a55c(arg0) {
|
|
620
604
|
const ret = getObject(arg0).length;
|
|
621
605
|
return ret;
|
|
@@ -636,14 +620,6 @@ export function __wbg_new_7ddec6de44ff8f5d(arg0) {
|
|
|
636
620
|
const ret = new Uint8Array(getObject(arg0));
|
|
637
621
|
return addHeapObject(ret);
|
|
638
622
|
}
|
|
639
|
-
export function __wbg_next_2a4e19f4f5083b0f(arg0) {
|
|
640
|
-
const ret = getObject(arg0).next;
|
|
641
|
-
return addHeapObject(ret);
|
|
642
|
-
}
|
|
643
|
-
export function __wbg_next_6429a146bf756f93() { return handleError(function (arg0) {
|
|
644
|
-
const ret = getObject(arg0).next();
|
|
645
|
-
return addHeapObject(ret);
|
|
646
|
-
}, arguments); }
|
|
647
623
|
export function __wbg_prototypesetcall_5f9bdc8d75e07276(arg0, arg1, arg2) {
|
|
648
624
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
649
625
|
}
|
|
@@ -653,10 +629,6 @@ export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
|
653
629
|
export function __wbg_set_78ea6a19f4818587(arg0, arg1, arg2) {
|
|
654
630
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
655
631
|
}
|
|
656
|
-
export function __wbg_value_9cc0518af87a489c(arg0) {
|
|
657
|
-
const ret = getObject(arg0).value;
|
|
658
|
-
return addHeapObject(ret);
|
|
659
|
-
}
|
|
660
632
|
export function __wbindgen_cast_0000000000000001(arg0) {
|
|
661
633
|
// Cast intrinsic for `F64 -> Externref`.
|
|
662
634
|
const ret = arg0;
|
package/deepstrike_wasm_bg.wasm
CHANGED
|
Binary file
|