trellis 2.0.6 → 2.0.7
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/cli/index.js
CHANGED
package/dist/embeddings/index.js
CHANGED
|
@@ -20,7 +20,7 @@ async function loadModel(config = DEFAULT_MODEL_CONFIG) {
|
|
|
20
20
|
return pipeline;
|
|
21
21
|
if (!loadPromise) {
|
|
22
22
|
loadPromise = (async () => {
|
|
23
|
-
const { pipeline: createPipeline } = await import("
|
|
23
|
+
const { pipeline: createPipeline } = await import("@xenova/transformers");
|
|
24
24
|
const opts = {};
|
|
25
25
|
if (config.cacheDir) {
|
|
26
26
|
opts.cache_dir = config.cacheDir;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trellis",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "Graph-native, code-first version control system — causal ops, semantic patching, wiki-links, embeddings, and decision traces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"dev": "bun run src/index.ts",
|
|
76
76
|
"cli": "bun run src/cli/index.ts",
|
|
77
77
|
"mcp": "bun run src/mcp/index.ts",
|
|
78
|
-
"build": "bun build src/index.ts src/core/index.ts src/vcs/index.ts src/embeddings/index.ts src/links/index.ts src/decisions/index.ts src/cli/index.ts --outdir dist --target bun --splitting --format esm --root src",
|
|
78
|
+
"build": "bun build src/index.ts src/core/index.ts src/vcs/index.ts src/embeddings/index.ts src/links/index.ts src/decisions/index.ts src/cli/index.ts --outdir dist --target bun --splitting --format esm --root src --external @xenova/transformers",
|
|
79
79
|
"test": "bun test test/vcs test/git test/p2 test/p3 test/p4 test/p5 test/p6 test/p7 test/engine.test.ts",
|
|
80
80
|
"test:all": "bun test",
|
|
81
81
|
"prepublishOnly": "npm run test && npm run build"
|