@lgrammel/ds4-provider 0.0.1 → 0.0.2
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/README.md +9 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -18,6 +18,15 @@ Install requirements:
|
|
|
18
18
|
- Node.js 18 or newer.
|
|
19
19
|
- A working native build toolchain for `node-gyp`.
|
|
20
20
|
- A DS4-compatible DeepSeek V4 Flash GGUF.
|
|
21
|
+
- An ESM project, for example a `package.json` with `"type": "module"`.
|
|
22
|
+
|
|
23
|
+
If your pnpm version blocks dependency build scripts, approve the native addon
|
|
24
|
+
build after installing:
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
pnpm approve-builds @lgrammel/ds4-provider
|
|
28
|
+
pnpm rebuild @lgrammel/ds4-provider
|
|
29
|
+
```
|
|
21
30
|
|
|
22
31
|
Download a model using DS4's downloader:
|
|
23
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lgrammel/ds4-provider",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "DS4 provider for the Vercel AI SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"typescript": "^5.3.0"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
|
-
"
|
|
57
|
+
"install": "node scripts/postinstall.cjs",
|
|
58
58
|
"vendor:ds4": "node scripts/vendor-ds4.cjs",
|
|
59
59
|
"build:native": "node-gyp rebuild",
|
|
60
60
|
"build:ts": "tsc",
|