@openclaw/llama-cpp-provider 2026.7.2-beta.1 → 2026.7.2-beta.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/dist/index.js CHANGED
@@ -26,13 +26,13 @@ function resolveLlamaCppModelIdentity(local, modelPath, outputDimensionality) {
26
26
  const modelCacheDir = normalizeOptionalString(local.modelCacheDir) ?? path.join(os.homedir(), ".node-llama-cpp", "models");
27
27
  const resolvedDefaultModelPath = path.resolve(modelCacheDir, DEFAULT_LLAMA_CPP_EMBEDDING_MODEL_CACHE_FILE_NAME);
28
28
  const resolvedModelPath = /^(?:hf:|https?:\/\/)/i.test(modelPath) ? void 0 : path.resolve(modelCacheDir, modelPath);
29
- if (modelPath !== "hf:ggml-org/embeddinggemma-300m-qat-q8_0-GGUF/embeddinggemma-300m-qat-Q8_0.gguf" && resolvedModelPath !== resolvedDefaultModelPath) return {
29
+ if (modelPath !== DEFAULT_LLAMA_CPP_EMBEDDING_MODEL && resolvedModelPath !== resolvedDefaultModelPath) return {
30
30
  model: modelPath,
31
31
  cacheKeyData: createLlamaCppCacheKeyData(modelPath, outputDimensionality),
32
32
  aliases: []
33
33
  };
34
34
  const aliasModels = /* @__PURE__ */ new Set([resolvedDefaultModelPath, DEFAULT_LLAMA_CPP_EMBEDDING_MODEL_CACHE_FILE_NAME]);
35
- if (modelPath !== "hf:ggml-org/embeddinggemma-300m-qat-q8_0-GGUF/embeddinggemma-300m-qat-Q8_0.gguf") aliasModels.add(modelPath);
35
+ if (modelPath !== DEFAULT_LLAMA_CPP_EMBEDDING_MODEL) aliasModels.add(modelPath);
36
36
  return {
37
37
  model: DEFAULT_LLAMA_CPP_EMBEDDING_MODEL,
38
38
  cacheKeyData: createLlamaCppCacheKeyData(DEFAULT_LLAMA_CPP_EMBEDDING_MODEL, outputDimensionality),
@@ -120,7 +120,7 @@ async function createLlamaCppEmbeddingProviderResult(options, runtimeOptions = {
120
120
  }
121
121
  function buildMemoryCreateOptions(options, outputDimensionality) {
122
122
  const local = readLocalOptions(options);
123
- const modelPath = normalizeOptionalString(local.modelPath) || "hf:ggml-org/embeddinggemma-300m-qat-q8_0-GGUF/embeddinggemma-300m-qat-Q8_0.gguf";
123
+ const modelPath = normalizeOptionalString(local.modelPath) || DEFAULT_LLAMA_CPP_EMBEDDING_MODEL;
124
124
  return {
125
125
  config: options.config,
126
126
  agentDir: options.agentDir,
@@ -155,7 +155,7 @@ const llamaCppEmbeddingProviderAdapter = {
155
155
  resolveIndexIdentity: (options) => {
156
156
  const createOptions = buildMemoryCreateOptions(options, options.dimensions);
157
157
  const local = readLocalOptions(createOptions);
158
- return resolveLlamaCppModelIdentity(local, normalizeOptionalString(local.modelPath) ?? "hf:ggml-org/embeddinggemma-300m-qat-q8_0-GGUF/embeddinggemma-300m-qat-Q8_0.gguf", createOptions.outputDimensionality);
158
+ return resolveLlamaCppModelIdentity(local, normalizeOptionalString(local.modelPath) ?? DEFAULT_LLAMA_CPP_EMBEDDING_MODEL, createOptions.outputDimensionality);
159
159
  },
160
160
  create: async (options) => await createLlamaCppEmbeddingProviderResult(options)
161
161
  };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/llama-cpp-provider",
3
- "version": "2026.7.2-beta.1",
3
+ "version": "2026.7.2-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/llama-cpp-provider",
9
- "version": "2026.7.2-beta.1",
9
+ "version": "2026.7.2-beta.2",
10
10
  "optionalDependencies": {
11
11
  "node-llama-cpp": "3.19.0"
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/llama-cpp-provider",
3
- "version": "2026.7.2-beta.1",
3
+ "version": "2026.7.2-beta.2",
4
4
  "description": "OpenClaw llama.cpp embedding provider plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,10 +23,10 @@
23
23
  "minHostVersion": ">=2026.6.2"
24
24
  },
25
25
  "compat": {
26
- "pluginApi": ">=2026.7.2-beta.1"
26
+ "pluginApi": ">=2026.7.2-beta.2"
27
27
  },
28
28
  "build": {
29
- "openclawVersion": "2026.7.2-beta.1"
29
+ "openclawVersion": "2026.7.2-beta.2"
30
30
  },
31
31
  "release": {
32
32
  "bundleRuntimeDependencies": false,
@@ -44,7 +44,7 @@
44
44
  "README.md"
45
45
  ],
46
46
  "peerDependencies": {
47
- "openclaw": ">=2026.7.2-beta.1"
47
+ "openclaw": ">=2026.7.2-beta.2"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "openclaw": {