node-llama-cpp 3.14.1 → 3.14.3
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 +1 -1
- package/dist/ChatWrapper.js +7 -3
- package/dist/ChatWrapper.js.map +1 -1
- package/dist/bindings/AddonTypes.d.ts +1 -0
- package/dist/bindings/Llama.js +7 -3
- package/dist/bindings/Llama.js.map +1 -1
- package/dist/bindings/utils/compileLLamaCpp.js +11 -5
- package/dist/bindings/utils/compileLLamaCpp.js.map +1 -1
- package/dist/bindings/utils/getLlamaWithoutBackend.js +23 -10
- package/dist/bindings/utils/getLlamaWithoutBackend.js.map +1 -1
- package/dist/chatWrappers/QwenChatWrapper.d.ts +1 -0
- package/dist/chatWrappers/QwenChatWrapper.js +24 -3
- package/dist/chatWrappers/QwenChatWrapper.js.map +1 -1
- package/dist/cli/commands/inspect/commands/InspectMeasureCommand.js +2 -0
- package/dist/cli/commands/inspect/commands/InspectMeasureCommand.js.map +1 -1
- package/dist/cli/commands/source/commands/DownloadCommand.js +3 -1
- package/dist/cli/commands/source/commands/DownloadCommand.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.js +1 -0
- package/dist/config.js.map +1 -1
- package/dist/evaluator/LlamaContext/LlamaContext.js +6 -2
- package/dist/evaluator/LlamaContext/LlamaContext.js.map +1 -1
- package/dist/evaluator/LlamaContext/types.d.ts +5 -0
- package/dist/evaluator/LlamaContext/utils/padSafeContextSize.d.ts +1 -0
- package/dist/evaluator/LlamaContext/utils/padSafeContextSize.js +18 -0
- package/dist/evaluator/LlamaContext/utils/padSafeContextSize.js.map +1 -0
- package/dist/gguf/insights/GgufInsights.js +6 -4
- package/dist/gguf/insights/GgufInsights.js.map +1 -1
- package/dist/gguf/insights/GgufInsightsConfigurationResolver.js +10 -1
- package/dist/gguf/insights/GgufInsightsConfigurationResolver.js.map +1 -1
- package/dist/gguf/types/GgufMetadataTypes.d.ts +18 -0
- package/dist/gguf/types/GgufMetadataTypes.js +18 -0
- package/dist/gguf/types/GgufMetadataTypes.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/llama/addon/AddonContext.cpp +9 -2
- package/llama/addon/AddonGrammar.cpp +9 -1
- package/llama/addon/AddonGrammar.h +1 -1
- package/llama/addon/AddonSampler.cpp +19 -2
- package/llama/addon/addon.cpp +8 -0
- package/llama/addon/globals/addonLog.cpp +4 -0
- package/llama/addon/globals/addonLog.h +2 -0
- package/llama/binariesGithubRelease.json +1 -1
- package/llama/gitRelease.bundle +0 -0
- package/llama/llama.cpp.info.json +1 -1
- package/package.json +19 -19
- package/templates/packed/electron-typescript-react.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-llama-cpp",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.3",
|
|
4
4
|
"description": "Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
"@nolebase/vitepress-plugin-og-image": "^2.17.0",
|
|
144
144
|
"@resvg/resvg-js": "^2.6.2",
|
|
145
145
|
"@semantic-release/exec": "^7.1.0",
|
|
146
|
-
"@semantic-release/github": "
|
|
147
|
-
"@semantic-release/npm": "
|
|
146
|
+
"@semantic-release/github": "^12.0.2",
|
|
147
|
+
"@semantic-release/npm": "^13.1.2",
|
|
148
148
|
"@shikijs/vitepress-twoslash": "^3.4.0",
|
|
149
149
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
150
150
|
"@types/async-retry": "^1.4.9",
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"husky": "^9.1.7",
|
|
170
170
|
"rehype": "^13.0.2",
|
|
171
171
|
"rimraf": "^6.0.1",
|
|
172
|
-
"semantic-release": "
|
|
172
|
+
"semantic-release": "^25.0.2",
|
|
173
173
|
"sharp": "^0.34.1",
|
|
174
174
|
"tslib": "^2.8.1",
|
|
175
175
|
"typedoc": "^0.28.9",
|
|
@@ -185,12 +185,12 @@
|
|
|
185
185
|
"zx": "^8.5.4"
|
|
186
186
|
},
|
|
187
187
|
"dependencies": {
|
|
188
|
-
"@huggingface/jinja": "^0.5.
|
|
188
|
+
"@huggingface/jinja": "^0.5.3",
|
|
189
189
|
"async-retry": "^1.3.3",
|
|
190
190
|
"bytes": "^3.1.2",
|
|
191
191
|
"chalk": "^5.4.1",
|
|
192
192
|
"chmodrp": "^1.0.2",
|
|
193
|
-
"cmake-js": "^7.
|
|
193
|
+
"cmake-js": "^7.4.0",
|
|
194
194
|
"cross-spawn": "^7.0.6",
|
|
195
195
|
"env-var": "^7.5.0",
|
|
196
196
|
"filenamify": "^6.0.0",
|
|
@@ -224,18 +224,18 @@
|
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
"optionalDependencies": {
|
|
227
|
-
"@node-llama-cpp/linux-arm64": "3.14.
|
|
228
|
-
"@node-llama-cpp/linux-armv7l": "3.14.
|
|
229
|
-
"@node-llama-cpp/linux-x64": "3.14.
|
|
230
|
-
"@node-llama-cpp/linux-x64-cuda": "3.14.
|
|
231
|
-
"@node-llama-cpp/linux-x64-cuda-ext": "3.14.
|
|
232
|
-
"@node-llama-cpp/linux-x64-vulkan": "3.14.
|
|
233
|
-
"@node-llama-cpp/mac-arm64-metal": "3.14.
|
|
234
|
-
"@node-llama-cpp/mac-x64": "3.14.
|
|
235
|
-
"@node-llama-cpp/win-arm64": "3.14.
|
|
236
|
-
"@node-llama-cpp/win-x64": "3.14.
|
|
237
|
-
"@node-llama-cpp/win-x64-cuda": "3.14.
|
|
238
|
-
"@node-llama-cpp/win-x64-cuda-ext": "3.14.
|
|
239
|
-
"@node-llama-cpp/win-x64-vulkan": "3.14.
|
|
227
|
+
"@node-llama-cpp/linux-arm64": "3.14.3",
|
|
228
|
+
"@node-llama-cpp/linux-armv7l": "3.14.3",
|
|
229
|
+
"@node-llama-cpp/linux-x64": "3.14.3",
|
|
230
|
+
"@node-llama-cpp/linux-x64-cuda": "3.14.3",
|
|
231
|
+
"@node-llama-cpp/linux-x64-cuda-ext": "3.14.3",
|
|
232
|
+
"@node-llama-cpp/linux-x64-vulkan": "3.14.3",
|
|
233
|
+
"@node-llama-cpp/mac-arm64-metal": "3.14.3",
|
|
234
|
+
"@node-llama-cpp/mac-x64": "3.14.3",
|
|
235
|
+
"@node-llama-cpp/win-arm64": "3.14.3",
|
|
236
|
+
"@node-llama-cpp/win-x64": "3.14.3",
|
|
237
|
+
"@node-llama-cpp/win-x64-cuda": "3.14.3",
|
|
238
|
+
"@node-llama-cpp/win-x64-cuda-ext": "3.14.3",
|
|
239
|
+
"@node-llama-cpp/win-x64-vulkan": "3.14.3"
|
|
240
240
|
}
|
|
241
241
|
}
|