trellis 3.1.13 → 3.1.19
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/CHANGELOG.md +8 -0
- package/LICENSE +2 -0
- package/README.md +12 -9
- package/bin/trellis.mjs +10 -2
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +405 -336
- package/dist/cli/repo-path.d.ts +12 -0
- package/dist/cli/repo-path.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Published package version (from package.json at repo root). */
|
|
2
|
+
export declare function cliVersion(): string;
|
|
3
|
+
/** Walk up from path (or cwd) and return the nearest Trellis repo root, if any. */
|
|
4
|
+
export declare function findRepoRoot(pathOpt?: string): string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Resolve a Trellis repo root from an explicit path or cwd.
|
|
7
|
+
* Walks up parent directories when the starting path is inside a repo
|
|
8
|
+
* (e.g. packages/opencode under a monorepo root with .trellis).
|
|
9
|
+
*/
|
|
10
|
+
export declare function resolveRepoRoot(pathOpt?: string): string;
|
|
11
|
+
export declare function failNotRepo(start: string, pathOpt?: string): never;
|
|
12
|
+
//# sourceMappingURL=repo-path.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repo-path.d.ts","sourceRoot":"","sources":["../../src/cli/repo-path.ts"],"names":[],"mappings":"AAQA,kEAAkE;AAClE,wBAAgB,UAAU,IAAI,MAAM,CASnC;AAED,mFAAmF;AACnF,wBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASjE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAKxD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAalE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trellis",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.19",
|
|
4
4
|
"description": "Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"mcp:docs": "bun run src/mcp/docs.ts",
|
|
118
118
|
"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/server/index.ts src/client/index.ts src/react/index.ts src/db/index.ts src/cli/index.ts src/cms/index.ts src/core/persist/sqljs-backend.ts src/core/persist/factory.ts src/server/node-adapter.ts --outdir dist --target bun --splitting --format esm --root src --external @xenova/transformers --external @huggingface/transformers --external react --external sql.js --external ws && mkdir -p dist/ui && cp src/ui/client.html dist/ui/client.html && tsc -p tsconfig.build.json --emitDeclarationOnly --noEmit false --noEmitOnError false && bun run build:inspector",
|
|
119
119
|
"build:inspector": "vite build --config vite.inspector.config.ts",
|
|
120
|
-
"test": "bun test test/core test/cms test/vcs test/git test/p2 test/p3 test/p4 test/p5 test/p6 test/p7 test/engine.test.ts",
|
|
120
|
+
"test": "bun test test/core test/cms test/vcs test/git test/p2 test/p3 test/p4 test/p5 test/p6 test/p7 test/engine.test.ts test/cli",
|
|
121
121
|
"test:all": "bun test",
|
|
122
122
|
"prepublishOnly": "npm run test && npm run build"
|
|
123
123
|
},
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"chalk": "^5.4.1",
|
|
128
128
|
"commander": "^13.1.0",
|
|
129
129
|
"opencode-ai": "^1.3.5",
|
|
130
|
-
"turtlecode": "^0.3.
|
|
130
|
+
"turtlecode": "^0.3.23",
|
|
131
131
|
"zod": "3"
|
|
132
132
|
},
|
|
133
133
|
"optionalDependencies": {
|