trellis 2.0.8 → 2.0.13

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.
Files changed (42) hide show
  1. package/README.md +279 -116
  2. package/dist/cli/index.js +655 -4
  3. package/dist/core/index.js +471 -2
  4. package/dist/embeddings/index.js +5 -1
  5. package/dist/{index-s603ev6w.js → index-5b01h414.js} +1 -1
  6. package/dist/index-5m0g9r0y.js +1100 -0
  7. package/dist/{index-zf6htvnm.js → index-7gvjxt27.js} +166 -2
  8. package/dist/index-hybgxe40.js +1174 -0
  9. package/dist/index.js +7 -2
  10. package/dist/transformers.node-bx3q9d7k.js +33130 -0
  11. package/package.json +9 -4
  12. package/src/cli/index.ts +939 -0
  13. package/src/core/agents/harness.ts +380 -0
  14. package/src/core/agents/index.ts +18 -0
  15. package/src/core/agents/types.ts +90 -0
  16. package/src/core/index.ts +85 -2
  17. package/src/core/kernel/trellis-kernel.ts +593 -0
  18. package/src/core/ontology/builtins.ts +248 -0
  19. package/src/core/ontology/index.ts +34 -0
  20. package/src/core/ontology/registry.ts +209 -0
  21. package/src/core/ontology/types.ts +124 -0
  22. package/src/core/ontology/validator.ts +382 -0
  23. package/src/core/persist/backend.ts +10 -0
  24. package/src/core/persist/sqlite-backend.ts +298 -0
  25. package/src/core/plugins/index.ts +17 -0
  26. package/src/core/plugins/registry.ts +322 -0
  27. package/src/core/plugins/types.ts +126 -0
  28. package/src/core/query/datalog.ts +188 -0
  29. package/src/core/query/engine.ts +370 -0
  30. package/src/core/query/index.ts +34 -0
  31. package/src/core/query/parser.ts +481 -0
  32. package/src/core/query/types.ts +200 -0
  33. package/src/embeddings/auto-embed.ts +248 -0
  34. package/src/embeddings/index.ts +7 -0
  35. package/src/embeddings/model.ts +21 -4
  36. package/src/embeddings/types.ts +8 -1
  37. package/src/index.ts +9 -0
  38. package/src/sync/http-transport.ts +144 -0
  39. package/src/sync/index.ts +11 -0
  40. package/src/sync/multi-repo.ts +200 -0
  41. package/src/sync/ws-transport.ts +145 -0
  42. package/dist/index-5bhe57y9.js +0 -326
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trellis",
3
- "version": "2.0.8",
4
- "description": "Graph-native, code-first version control systemcausal ops, semantic patching, wiki-links, embeddings, and decision traces",
3
+ "version": "2.0.13",
4
+ "description": "A comprehensive graph-native platform for code, knowledge, and collaborationversion control, semantic analysis, knowledge graphs, embeddings, and decision traces",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./src/index.ts",
@@ -21,6 +21,10 @@
21
21
  "ast",
22
22
  "wiki-links",
23
23
  "embeddings",
24
+ "knowledge-graph",
25
+ "decision-traces",
26
+ "collaboration",
27
+ "sync",
24
28
  "causal",
25
29
  "bun"
26
30
  ],
@@ -76,17 +80,18 @@
76
80
  "cli": "bun run src/cli/index.ts",
77
81
  "mcp": "bun run src/mcp/index.ts",
78
82
  "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 && mkdir -p dist/ui && cp src/ui/client.html dist/ui/client.html",
79
- "test": "bun test test/vcs test/git test/p2 test/p3 test/p4 test/p5 test/p6 test/p7 test/engine.test.ts",
83
+ "test": "bun test test/core test/vcs test/git test/p2 test/p3 test/p4 test/p5 test/p6 test/p7 test/engine.test.ts",
80
84
  "test:all": "bun test",
81
85
  "prepublishOnly": "npm run test && npm run build"
82
86
  },
83
87
  "dependencies": {
84
88
  "@modelcontextprotocol/sdk": "^1.28.0",
85
89
  "chalk": "^5.6.2",
86
- "commander": "^14.0.1",
90
+ "commander": "^14.0.3",
87
91
  "zod": "3"
88
92
  },
89
93
  "optionalDependencies": {
94
+ "@huggingface/transformers": "^3.0.0",
90
95
  "@xenova/transformers": "^2.17.2"
91
96
  },
92
97
  "devDependencies": {