@almadar/workspace 0.11.10 → 0.11.12
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`
|
|
14
|
-
*
|
|
15
|
-
* catalog narrower uses, so vectors share
|
|
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.
|
|
3
|
+
"version": "0.11.12",
|
|
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.
|
|
29
|
-
"@almadar/llm": "^2.
|
|
28
|
+
"@almadar/core": "^10.76.0",
|
|
29
|
+
"@almadar/llm": "^2.47.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.
|
|
34
|
+
"@almadar/eslint-plugin": "^2.17.0",
|
|
35
35
|
"@types/node": "^22.0.0",
|
|
36
36
|
"@typescript-eslint/parser": "8.65.0",
|
|
37
37
|
"eslint": "^10.0.0",
|