@dvai-bridge/core 4.0.0
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/LICENSE +51 -0
- package/README.md +199 -0
- package/bin/dvai-bridge.js +72 -0
- package/dist/dvai-transformers.worker.js +48 -0
- package/dist/dvai-webllm.worker.js +89 -0
- package/dist/index.cjs +69 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1030 -0
- package/dist/index.d.ts +1030 -0
- package/dist/index.js +69 -0
- package/dist/index.js.map +1 -0
- package/package.json +75 -0
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dvai-bridge/core",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"registry": "https://registry.npmjs.org/",
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"description": "Core orchestration for local AI inference (WebLLM + Transformers.js + MSW)",
|
|
9
|
+
"main": "dist/index.cjs",
|
|
10
|
+
"module": "dist/index.js",
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"bin": {
|
|
21
|
+
"dvai-bridge": "./bin/dvai-bridge.js"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"bin",
|
|
26
|
+
"README.md",
|
|
27
|
+
"LICENSE"
|
|
28
|
+
],
|
|
29
|
+
"keywords": [
|
|
30
|
+
"ai",
|
|
31
|
+
"local",
|
|
32
|
+
"webllm",
|
|
33
|
+
"transformers",
|
|
34
|
+
"msw",
|
|
35
|
+
"edge",
|
|
36
|
+
"bridge",
|
|
37
|
+
"webgpu"
|
|
38
|
+
],
|
|
39
|
+
"author": "Deep Chakraborty <https://github.com/dk013>",
|
|
40
|
+
"license": "Custom (See LICENSE)",
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "https://github.com/westenets/dvai-bridge.git"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"msw": "^2.12.13",
|
|
47
|
+
"@noble/curves": "^1.6.0",
|
|
48
|
+
"jose": "^6.1.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"@huggingface/transformers": "^4.0.1",
|
|
52
|
+
"@mlc-ai/web-llm": "^0.2.78",
|
|
53
|
+
"node-llama-cpp": "^3.0.0",
|
|
54
|
+
"@dvai-bridge/capacitor": "4.0.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"@mlc-ai/web-llm": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"@huggingface/transformers": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"@dvai-bridge/capacitor": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"node-llama-cpp": {
|
|
67
|
+
"optional": true
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "tsup",
|
|
72
|
+
"dev": "tsup --watch",
|
|
73
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
74
|
+
}
|
|
75
|
+
}
|