@six5536/smllm-wasm 0.4.0 → 0.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@six5536/smllm-wasm",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "smllm's engine as WebAssembly: run smllm state machines that drive an LLM agent, in a browser or Node.",
|
|
5
5
|
"homepage": "https://github.com/six5536/smllm#readme",
|
|
6
6
|
"repository": {
|
|
@@ -370,7 +370,7 @@ export function __wbg_Error_30c8987f7c2ed4e2(arg0, arg1) {
|
|
|
370
370
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
371
371
|
return addHeapObject(ret);
|
|
372
372
|
}
|
|
373
|
-
export function
|
|
373
|
+
export function __wbg_String_21dd8e4cadac6119(arg0, arg1) {
|
|
374
374
|
const ret = String(getObject(arg1));
|
|
375
375
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
376
376
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -380,43 +380,43 @@ export function __wbg_String_50e8e7e5340432bd(arg0, arg1) {
|
|
|
380
380
|
export function __wbg___wbindgen_throw_41e9ee4f547fc59a(arg0, arg1) {
|
|
381
381
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
382
382
|
}
|
|
383
|
-
export function
|
|
383
|
+
export function __wbg_check_5d89c03ece031583() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
384
384
|
const ret = getObject(arg0).check(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6), getStringFromWasm0(arg7, arg8));
|
|
385
385
|
return ret;
|
|
386
386
|
}, arguments); }
|
|
387
|
-
export function
|
|
387
|
+
export function __wbg_history_42d22e18a421fc7d() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
388
388
|
getObject(arg0).history(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
389
389
|
}, arguments); }
|
|
390
|
-
export function
|
|
390
|
+
export function __wbg_isMatch_5d8e08e35003826a() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
391
391
|
const ret = getObject(arg0).isMatch(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
392
392
|
return ret;
|
|
393
393
|
}, arguments); }
|
|
394
|
-
export function
|
|
394
|
+
export function __wbg_now_ed16405009815575() { return handleError(function (arg0) {
|
|
395
395
|
const ret = getObject(arg0).now();
|
|
396
396
|
return ret;
|
|
397
397
|
}, arguments); }
|
|
398
|
-
export function
|
|
398
|
+
export function __wbg_put_28f8c3f506bccce6() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
399
399
|
getObject(arg0).put(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
400
400
|
}, arguments); }
|
|
401
|
-
export function
|
|
401
|
+
export function __wbg_random_e53c67f802ca9858() { return handleError(function (arg0) {
|
|
402
402
|
const ret = getObject(arg0).random();
|
|
403
403
|
return ret;
|
|
404
404
|
}, arguments); }
|
|
405
|
-
export function
|
|
405
|
+
export function __wbg_read_374ef6082863ec13() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
406
406
|
const ret = getObject(arg1).read(getStringFromWasm0(arg2, arg3));
|
|
407
407
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
408
408
|
var len1 = WASM_VECTOR_LEN;
|
|
409
409
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
410
410
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
411
411
|
}, arguments); }
|
|
412
|
-
export function
|
|
412
|
+
export function __wbg_run_14928847c1b306ed() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
413
413
|
const ret = getObject(arg1).run(getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9));
|
|
414
414
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
415
415
|
const len1 = WASM_VECTOR_LEN;
|
|
416
416
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
417
417
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
418
418
|
}, arguments); }
|
|
419
|
-
export function
|
|
419
|
+
export function __wbg_supports_3c4bd0fa0766d31a() { return handleError(function (arg0, arg1, arg2) {
|
|
420
420
|
const ret = getObject(arg0).supports(getStringFromWasm0(arg1, arg2));
|
|
421
421
|
return ret;
|
|
422
422
|
}, arguments); }
|
|
Binary file
|
package/wasm/web/smllm_wasm.js
CHANGED
|
@@ -375,7 +375,7 @@ function __wbg_get_imports() {
|
|
|
375
375
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
376
376
|
return addHeapObject(ret);
|
|
377
377
|
},
|
|
378
|
-
|
|
378
|
+
__wbg_String_21dd8e4cadac6119: function(arg0, arg1) {
|
|
379
379
|
const ret = String(getObject(arg1));
|
|
380
380
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
381
381
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -385,43 +385,43 @@ function __wbg_get_imports() {
|
|
|
385
385
|
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
|
|
386
386
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
387
387
|
},
|
|
388
|
-
|
|
388
|
+
__wbg_check_5d89c03ece031583: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
389
389
|
const ret = getObject(arg0).check(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6), getStringFromWasm0(arg7, arg8));
|
|
390
390
|
return ret;
|
|
391
391
|
}, arguments); },
|
|
392
|
-
|
|
392
|
+
__wbg_history_42d22e18a421fc7d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
393
393
|
getObject(arg0).history(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
394
394
|
}, arguments); },
|
|
395
|
-
|
|
395
|
+
__wbg_isMatch_5d8e08e35003826a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
396
396
|
const ret = getObject(arg0).isMatch(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
397
397
|
return ret;
|
|
398
398
|
}, arguments); },
|
|
399
|
-
|
|
399
|
+
__wbg_now_ed16405009815575: function() { return handleError(function (arg0) {
|
|
400
400
|
const ret = getObject(arg0).now();
|
|
401
401
|
return ret;
|
|
402
402
|
}, arguments); },
|
|
403
|
-
|
|
403
|
+
__wbg_put_28f8c3f506bccce6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
404
404
|
getObject(arg0).put(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
405
405
|
}, arguments); },
|
|
406
|
-
|
|
406
|
+
__wbg_random_e53c67f802ca9858: function() { return handleError(function (arg0) {
|
|
407
407
|
const ret = getObject(arg0).random();
|
|
408
408
|
return ret;
|
|
409
409
|
}, arguments); },
|
|
410
|
-
|
|
410
|
+
__wbg_read_374ef6082863ec13: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
411
411
|
const ret = getObject(arg1).read(getStringFromWasm0(arg2, arg3));
|
|
412
412
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
413
413
|
var len1 = WASM_VECTOR_LEN;
|
|
414
414
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
415
415
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
416
416
|
}, arguments); },
|
|
417
|
-
|
|
417
|
+
__wbg_run_14928847c1b306ed: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
418
418
|
const ret = getObject(arg1).run(getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9));
|
|
419
419
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
420
420
|
const len1 = WASM_VECTOR_LEN;
|
|
421
421
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
422
422
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
423
423
|
}, arguments); },
|
|
424
|
-
|
|
424
|
+
__wbg_supports_3c4bd0fa0766d31a: function() { return handleError(function (arg0, arg1, arg2) {
|
|
425
425
|
const ret = getObject(arg0).supports(getStringFromWasm0(arg1, arg2));
|
|
426
426
|
return ret;
|
|
427
427
|
}, arguments); },
|
|
Binary file
|