web-llm-runner 0.1.3 → 0.1.5
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.js +13275 -8
- package/lib/index.js.map +1 -1
- package/lib/wrapper/WebLLMWrapper.d.ts.map +1 -1
- package/package.json +3 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebLLMWrapper.d.ts","sourceRoot":"","sources":["../../src/wrapper/WebLLMWrapper.ts"],"names":[],"mappings":"AASA,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAmC;IACjD,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,QAAQ,CAAoC;IAC7C,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;;IAOrD,IAAW,gBAAgB,IAAI,MAAM,EAAE,CAEtC;IAEY,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIzD,cAAc,CACzB,QAAQ,EAAE,MAAM,EAChB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,EAE7C,SAAS,GAAE,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"WebLLMWrapper.d.ts","sourceRoot":"","sources":["../../src/wrapper/WebLLMWrapper.ts"],"names":[],"mappings":"AASA,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAmC;IACjD,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,QAAQ,CAAoC;IAC7C,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;;IAOrD,IAAW,gBAAgB,IAAI,MAAM,EAAE,CAEtC;IAEY,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIzD,cAAc,CACzB,QAAQ,EAAE,MAAM,EAChB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,EAE7C,SAAS,GAAE,MAAM,GAAG,GAAqB,GACxC,OAAO,CAAC,IAAI,CAAC;IAaT,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAI5B,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK5C,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC;IAqBnE,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAiBrD,UAAU,IAAI,IAAI;IAMX,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC;IAavE,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAWhE,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,WAAW;CASpB"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-llm-runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Hardware accelerated language model chats on browsers",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "rollup -c && ./cleanup-index-js.sh"
|
|
10
|
-
"lint": "npx eslint ./src/ ./tests/ ./examples/ && npx prettier ./src/ ./tests/ ./examples/ --check",
|
|
11
|
-
"test": "jest --coverage",
|
|
12
|
-
"format": "prettier --write \"./src/\" \"./examples/\" \"./tests/\"",
|
|
13
|
-
"prepare": "husky"
|
|
9
|
+
"build": "rollup -c && ./cleanup-index-js.sh"
|
|
14
10
|
},
|
|
15
11
|
"files": [
|
|
16
12
|
"lib"
|
|
@@ -22,39 +18,23 @@
|
|
|
22
18
|
],
|
|
23
19
|
"license": "Apache-2.0",
|
|
24
20
|
"devDependencies": {
|
|
25
|
-
"@eslint/eslintrc": "^3.3.1",
|
|
26
|
-
"@eslint/js": "^9.9.0",
|
|
27
21
|
"@mlc-ai/web-runtime": "^0.24.0-dev2",
|
|
28
22
|
"@mlc-ai/web-tokenizers": "^0.1.6",
|
|
29
23
|
"@mlc-ai/web-xgrammar": "0.1.27",
|
|
30
|
-
"@next/eslint-plugin-next": "^16.0.0",
|
|
31
24
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
32
25
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
33
26
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
34
27
|
"@types/chrome": "^0.0.266",
|
|
35
|
-
"@types/jest": "^30.0.0",
|
|
36
28
|
"@types/serviceworker": "^0.0.86",
|
|
37
29
|
"@webgpu/types": "^0.1.24",
|
|
38
30
|
"buffer": "^5.7.1",
|
|
39
|
-
"eslint": "^9.39.1",
|
|
40
|
-
"eslint-config-prettier": "^10.1.8",
|
|
41
|
-
"eslint-plugin-prettier": "^5.5.4",
|
|
42
|
-
"husky": "^9.0.11",
|
|
43
|
-
"jest": "^30.2.0",
|
|
44
|
-
"prettier": "3.6.2",
|
|
45
31
|
"process": "^0.11.10",
|
|
46
32
|
"rollup": "^4.53.3",
|
|
47
33
|
"rollup-plugin-ignore": "^1.0.10",
|
|
48
|
-
"ts-jest": "^29.4.6",
|
|
49
34
|
"tslib": "^2.3.1",
|
|
50
|
-
"typescript": "^5.9.3"
|
|
51
|
-
"typescript-eslint": "^8.47.0"
|
|
35
|
+
"typescript": "^5.9.3"
|
|
52
36
|
},
|
|
53
37
|
"dependencies": {
|
|
54
38
|
"loglevel": "^1.9.1"
|
|
55
|
-
},
|
|
56
|
-
"overrides": {
|
|
57
|
-
"test-exclude": "^7.0.1",
|
|
58
|
-
"glob": "^13.0.0"
|
|
59
39
|
}
|
|
60
40
|
}
|