trellis 2.0.6 → 2.0.8
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 +379 -29
- package/dist/core/index.js +5 -1
- package/dist/decisions/index.js +5 -2
- package/dist/embeddings/index.js +1 -1
- package/dist/{index-3s0eak0p.js → index-3ejh8k6v.js} +26 -3
- package/dist/{index-gkvhzm9f.js → index-5bhe57y9.js} +6 -1
- package/dist/{index-8pce39mh.js → index-65z0xfjw.js} +17 -3
- package/dist/{index-gnw8d7d6.js → index-k5kf7sd0.js} +32 -3
- package/dist/{index-1j1anhmr.js → index-s603ev6w.js} +489 -335
- package/dist/{index-fd4e26s4.js → index-v9b4hqa7.js} +23 -15
- package/dist/{index-cy9k1g6v.js → index-zf6htvnm.js} +1 -1
- package/dist/index.js +15 -7
- package/dist/ui/client.html +695 -0
- package/dist/vcs/index.js +3 -3
- package/package.json +2 -2
- package/src/cli/index.ts +78 -1
- package/src/engine.ts +45 -3
- package/src/ui/client.html +695 -0
- package/src/ui/server.ts +419 -0
- package/src/watcher/fs-watcher.ts +41 -3
- package/dist/transformers-m9je15kg.js +0 -32491
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
__esm
|
|
4
|
+
} from "./index-a76rekgs.js";
|
|
5
|
+
|
|
2
6
|
// src/vcs/ops.ts
|
|
3
7
|
async function createVcsOp(kind, params) {
|
|
4
8
|
const opBase = {
|
|
@@ -24,6 +28,7 @@ function isVcsOp(op) {
|
|
|
24
28
|
function isVcsOpKind(kind) {
|
|
25
29
|
return kind.startsWith("vcs:");
|
|
26
30
|
}
|
|
31
|
+
var init_ops = () => {};
|
|
27
32
|
|
|
28
33
|
// src/vcs/types.ts
|
|
29
34
|
function fileEntityId(path) {
|
|
@@ -51,19 +56,22 @@ function criterionEntityId(issueId, index) {
|
|
|
51
56
|
function decisionEntityId(id) {
|
|
52
57
|
return id.startsWith("decision:") ? id : `decision:${id}`;
|
|
53
58
|
}
|
|
54
|
-
var DEFAULT_CONFIG
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
var DEFAULT_CONFIG;
|
|
60
|
+
var init_types = __esm(() => {
|
|
61
|
+
DEFAULT_CONFIG = {
|
|
62
|
+
ignorePatterns: [
|
|
63
|
+
"node_modules",
|
|
64
|
+
".git",
|
|
65
|
+
".trellis",
|
|
66
|
+
"dist",
|
|
67
|
+
"build",
|
|
68
|
+
".DS_Store",
|
|
69
|
+
"*.log"
|
|
70
|
+
],
|
|
71
|
+
debounceMs: 300,
|
|
72
|
+
defaultBranch: "main",
|
|
73
|
+
dbPath: ".trellis/trellis.db"
|
|
74
|
+
};
|
|
75
|
+
});
|
|
68
76
|
|
|
69
|
-
export { createVcsOp, isVcsOp, isVcsOpKind, fileEntityId, dirEntityId, branchEntityId, milestoneEntityId, checkpointEntityId, issueEntityId, criterionEntityId, decisionEntityId, DEFAULT_CONFIG };
|
|
77
|
+
export { createVcsOp, isVcsOp, isVcsOpKind, init_ops, fileEntityId, dirEntityId, branchEntityId, milestoneEntityId, checkpointEntityId, issueEntityId, criterionEntityId, decisionEntityId, DEFAULT_CONFIG, init_types };
|
|
@@ -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/dist/index.js
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
VcsMiddleware
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-k5kf7sd0.js";
|
|
5
5
|
import {
|
|
6
6
|
FileWatcher,
|
|
7
7
|
Ingestion,
|
|
8
|
-
TrellisVcsEngine
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
TrellisVcsEngine,
|
|
9
|
+
init_engine,
|
|
10
|
+
init_fs_watcher,
|
|
11
|
+
init_ingestion
|
|
12
|
+
} from "./index-s603ev6w.js";
|
|
13
|
+
import"./index-5bhe57y9.js";
|
|
11
14
|
import {
|
|
12
15
|
BlobStore,
|
|
13
16
|
addCriterion,
|
|
@@ -46,8 +49,8 @@ import {
|
|
|
46
49
|
triageIssue,
|
|
47
50
|
unblockIssue,
|
|
48
51
|
updateIssue
|
|
49
|
-
} from "./index-
|
|
50
|
-
import"./index-
|
|
52
|
+
} from "./index-3ejh8k6v.js";
|
|
53
|
+
import"./index-65z0xfjw.js";
|
|
51
54
|
import {
|
|
52
55
|
DEFAULT_CONFIG,
|
|
53
56
|
branchEntityId,
|
|
@@ -61,8 +64,13 @@ import {
|
|
|
61
64
|
isVcsOpKind,
|
|
62
65
|
issueEntityId,
|
|
63
66
|
milestoneEntityId
|
|
64
|
-
} from "./index-
|
|
67
|
+
} from "./index-v9b4hqa7.js";
|
|
65
68
|
import"./index-a76rekgs.js";
|
|
69
|
+
|
|
70
|
+
// src/index.ts
|
|
71
|
+
init_engine();
|
|
72
|
+
init_fs_watcher();
|
|
73
|
+
init_ingestion();
|
|
66
74
|
export {
|
|
67
75
|
updateIssue,
|
|
68
76
|
unblockIssue,
|