node-llama-cpp 3.18.0 → 3.18.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/dist/bindings/AddonTypes.d.ts +2 -0
- package/dist/bindings/utils/getGpuTypesToUseForOption.d.ts +1 -1
- package/dist/cli/commands/ChatCommand.d.ts +3 -0
- package/dist/cli/commands/ChatCommand.js +33 -4
- package/dist/cli/commands/ChatCommand.js.map +1 -1
- package/dist/cli/commands/CompleteCommand.d.ts +3 -0
- package/dist/cli/commands/CompleteCommand.js +34 -4
- package/dist/cli/commands/CompleteCommand.js.map +1 -1
- package/dist/cli/commands/InfillCommand.d.ts +3 -0
- package/dist/cli/commands/InfillCommand.js +34 -4
- package/dist/cli/commands/InfillCommand.js.map +1 -1
- package/dist/cli/commands/OnPostInstallCommand.js +31 -4
- package/dist/cli/commands/OnPostInstallCommand.js.map +1 -1
- package/dist/cli/commands/inspect/commands/InspectEstimateCommand.d.ts +3 -0
- package/dist/cli/commands/inspect/commands/InspectEstimateCommand.js +28 -1
- package/dist/cli/commands/inspect/commands/InspectEstimateCommand.js.map +1 -1
- package/dist/cli/commands/inspect/commands/InspectGgufCommand.js +5 -0
- package/dist/cli/commands/inspect/commands/InspectGgufCommand.js.map +1 -1
- package/dist/cli/commands/inspect/commands/InspectMeasureCommand.d.ts +3 -0
- package/dist/cli/commands/inspect/commands/InspectMeasureCommand.js +46 -5
- package/dist/cli/commands/inspect/commands/InspectMeasureCommand.js.map +1 -1
- package/dist/cli/utils/interactivelyAskForModel.d.ts +4 -1
- package/dist/cli/utils/interactivelyAskForModel.js +21 -7
- package/dist/cli/utils/interactivelyAskForModel.js.map +1 -1
- package/dist/cli/utils/packageJsonConfig.d.ts +6 -0
- package/dist/cli/utils/packageJsonConfig.js +51 -0
- package/dist/cli/utils/packageJsonConfig.js.map +1 -0
- package/dist/cli/utils/packageManager.d.ts +1 -0
- package/dist/cli/utils/packageManager.js +15 -0
- package/dist/cli/utils/packageManager.js.map +1 -0
- package/dist/cli/utils/printCommonInfoLines.js +9 -0
- package/dist/cli/utils/printCommonInfoLines.js.map +1 -1
- package/dist/cli/utils/resolveCommandGgufPath.d.ts +4 -1
- package/dist/cli/utils/resolveCommandGgufPath.js +9 -2
- package/dist/cli/utils/resolveCommandGgufPath.js.map +1 -1
- package/dist/config.d.ts +3 -1
- package/dist/config.js +8 -1
- package/dist/config.js.map +1 -1
- package/dist/evaluator/LlamaContext/LlamaContext.d.ts +3 -0
- package/dist/evaluator/LlamaContext/LlamaContext.js +34 -2
- package/dist/evaluator/LlamaContext/LlamaContext.js.map +1 -1
- package/dist/evaluator/LlamaContext/types.d.ts +32 -1
- package/dist/evaluator/LlamaModel/LlamaModel.d.ts +33 -0
- package/dist/evaluator/LlamaModel/LlamaModel.js +24 -3
- package/dist/evaluator/LlamaModel/LlamaModel.js.map +1 -1
- package/dist/gguf/insights/GgufInsights.d.ts +9 -1
- package/dist/gguf/insights/GgufInsights.js +32 -13
- package/dist/gguf/insights/GgufInsights.js.map +1 -1
- package/dist/gguf/insights/GgufInsightsConfigurationResolver.d.ts +13 -4
- package/dist/gguf/insights/GgufInsightsConfigurationResolver.js +17 -5
- package/dist/gguf/insights/GgufInsightsConfigurationResolver.js.map +1 -1
- package/dist/gguf/insights/utils/resolveContextContextSizeOption.d.ts +4 -1
- package/dist/gguf/insights/utils/resolveContextContextSizeOption.js +7 -1
- package/dist/gguf/insights/utils/resolveContextContextSizeOption.js.map +1 -1
- package/dist/gguf/insights/utils/resolveModelGpuLayersOption.d.ts +4 -1
- package/dist/gguf/insights/utils/resolveModelGpuLayersOption.js +16 -4
- package/dist/gguf/insights/utils/resolveModelGpuLayersOption.js.map +1 -1
- package/dist/gguf/types/GgufMetadataTypes.d.ts +3 -1
- package/dist/gguf/types/GgufMetadataTypes.js +2 -0
- package/dist/gguf/types/GgufMetadataTypes.js.map +1 -1
- package/dist/gguf/types/GgufTensorInfoTypes.d.ts +4 -2
- package/dist/gguf/types/GgufTensorInfoTypes.js +11 -1
- package/dist/gguf/types/GgufTensorInfoTypes.js.map +1 -1
- package/dist/gguf/utils/getGgufFileTypeName.d.ts +1 -1
- package/dist/gguf/utils/ggufQuantNames.js +1 -0
- package/dist/gguf/utils/ggufQuantNames.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/utils/getBuildDefaults.d.ts +1 -1
- package/dist/utils/prettyPrintObject.js +1 -1
- package/dist/utils/prettyPrintObject.js.map +1 -1
- package/llama/addon/AddonContext.cpp +17 -3
- package/llama/binariesGithubRelease.json +1 -1
- package/llama/gitRelease.bundle +0 -0
- package/llama/llama.cpp.info.json +1 -1
- package/package.json +14 -14
package/llama/gitRelease.bundle
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-llama-cpp",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.1",
|
|
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",
|
|
@@ -224,18 +224,18 @@
|
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
"optionalDependencies": {
|
|
227
|
-
"@node-llama-cpp/linux-arm64": "3.18.
|
|
228
|
-
"@node-llama-cpp/linux-armv7l": "3.18.
|
|
229
|
-
"@node-llama-cpp/linux-x64": "3.18.
|
|
230
|
-
"@node-llama-cpp/linux-x64-cuda": "3.18.
|
|
231
|
-
"@node-llama-cpp/linux-x64-cuda-ext": "3.18.
|
|
232
|
-
"@node-llama-cpp/linux-x64-vulkan": "3.18.
|
|
233
|
-
"@node-llama-cpp/mac-arm64-metal": "3.18.
|
|
234
|
-
"@node-llama-cpp/mac-x64": "3.18.
|
|
235
|
-
"@node-llama-cpp/win-arm64": "3.18.
|
|
236
|
-
"@node-llama-cpp/win-x64": "3.18.
|
|
237
|
-
"@node-llama-cpp/win-x64-cuda": "3.18.
|
|
238
|
-
"@node-llama-cpp/win-x64-cuda-ext": "3.18.
|
|
239
|
-
"@node-llama-cpp/win-x64-vulkan": "3.18.
|
|
227
|
+
"@node-llama-cpp/linux-arm64": "3.18.1",
|
|
228
|
+
"@node-llama-cpp/linux-armv7l": "3.18.1",
|
|
229
|
+
"@node-llama-cpp/linux-x64": "3.18.1",
|
|
230
|
+
"@node-llama-cpp/linux-x64-cuda": "3.18.1",
|
|
231
|
+
"@node-llama-cpp/linux-x64-cuda-ext": "3.18.1",
|
|
232
|
+
"@node-llama-cpp/linux-x64-vulkan": "3.18.1",
|
|
233
|
+
"@node-llama-cpp/mac-arm64-metal": "3.18.1",
|
|
234
|
+
"@node-llama-cpp/mac-x64": "3.18.1",
|
|
235
|
+
"@node-llama-cpp/win-arm64": "3.18.1",
|
|
236
|
+
"@node-llama-cpp/win-x64": "3.18.1",
|
|
237
|
+
"@node-llama-cpp/win-x64-cuda": "3.18.1",
|
|
238
|
+
"@node-llama-cpp/win-x64-cuda-ext": "3.18.1",
|
|
239
|
+
"@node-llama-cpp/win-x64-vulkan": "3.18.1"
|
|
240
240
|
}
|
|
241
241
|
}
|