@almadar/workspace 0.11.10 → 0.11.11

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.
@@ -10,10 +10,14 @@
10
10
  */
11
11
  import type { EmbedderPort } from './types.js';
12
12
  /**
13
- * Production embedder backed by `@almadar/llm`'s `EmbeddingClient` on
14
- * the openrouter provider (bge-base-en-v1.5, 768-d) — same model the
15
- * catalog narrower uses, so vectors share an embedding space across
16
- * the workspace + catalog surfaces.
13
+ * Production embedder backed by `@almadar/llm`'s `EmbeddingClient`
14
+ * (bge-base-en-v1.5, 768-d) — same model + weights `@almadar-io/rabit`'s
15
+ * catalog narrower uses (`runtime/services/embedding.ts`), so vectors share
16
+ * an embedding space across the workspace + catalog surfaces. Provider
17
+ * comes from `resolveDefaultEmbeddingProvider()` — the one upstream
18
+ * decision point every consumer defers to. Defaults to `openrouter`
19
+ * (unchanged prod/cloud behavior); set `EMBEDDING_PROVIDER=lmstudio` in a
20
+ * given environment to route through a local LM Studio server instead.
17
21
  *
18
22
  * Construction is lazy: the `EmbeddingClient` (and its env-key check)
19
23
  * only fires when `embedBatch` is first called. A workspace that has
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/workspace",
3
- "version": "0.11.10",
3
+ "version": "0.11.11",
4
4
  "description": "Storage-agnostic workspace primitives shared by Almadar consumers. One service, six exports, hidden paths, single observer. See docs/Almadar_Workspace.md.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,13 +25,13 @@
25
25
  },
26
26
  "license": "BUSL-1.1",
27
27
  "dependencies": {
28
- "@almadar/core": "^10.70.0",
29
- "@almadar/llm": "^2.42.0",
28
+ "@almadar/core": "^10.71.0",
29
+ "@almadar/llm": "^2.45.0",
30
30
  "dugite": "^3.2.2",
31
31
  "typescript": "npm:@typescript/typescript6@^6.0.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@almadar/eslint-plugin": "^2.15.0",
34
+ "@almadar/eslint-plugin": "^2.16.0",
35
35
  "@types/node": "^22.0.0",
36
36
  "@typescript-eslint/parser": "8.65.0",
37
37
  "eslint": "^10.0.0",