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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.14
|
|
4
|
+
|
|
5
|
+
- CLI `trellis --version` now reports the real package version from `package.json` (was hardcoded `0.1.0`).
|
|
6
|
+
- CLI `-p` / cwd resolution walks up to the nearest `.trellis` repo root (monorepo subfolders work without passing the root path).
|
|
7
|
+
- Clearer "not a repository" errors: show looked-from path, cwd, and `-p` hint.
|
|
8
|
+
- `issue create` accepts `--description` as an alias for `--desc`.
|
|
9
|
+
- `bin/trellis.mjs` launcher finds Homebrew Bun when Node's `PATH` is minimal (`npx trellis` / agent shells).
|
|
10
|
+
|
|
3
11
|
## 3.1.2
|
|
4
12
|
|
|
5
13
|
- Fixed `trellis/cms` collection reads for inferred collections whose normalized key differs from the stored entity type casing, such as `blogpost` reading `BlogPost` entities.
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
Most agent frameworks focus on the _reasoning engine_ (the LLM) but treat _state_ as an afterthought. Trellis reverses this. It is the **System of Record for Decisions**, providing agents with a persistent, queryable, and auditable memory that compounds over time.
|
|
17
17
|
|
|
18
|
-
**[Read the story →](./THE-STORY.md)**
|
|
18
|
+
**[Read the story →](./docs/THE-STORY.md)**
|
|
19
19
|
|
|
20
20
|
- **Durable Memory**: Every thought, tool call, and file change is an immutable operation in a causal graph
|
|
21
21
|
- **Explainability by Default**: Decision traces don't just store _what_ happened, but _why_
|
|
@@ -37,8 +37,8 @@ trellis init
|
|
|
37
37
|
echo "# My Project" > README.md
|
|
38
38
|
|
|
39
39
|
# 4. Add structured entities
|
|
40
|
-
trellis issue create
|
|
41
|
-
trellis milestone "Initial Release"
|
|
40
|
+
trellis issue create -t "Bootstrap Visualization"
|
|
41
|
+
trellis milestone create -m "Initial Release"
|
|
42
42
|
|
|
43
43
|
# 5. Create coding session with trellis harness
|
|
44
44
|
trellis code
|
|
@@ -118,14 +118,17 @@ Ops are written to `.trellis/ops.json` and **never rewritten or deleted**.
|
|
|
118
118
|
|
|
119
119
|
## Documentation
|
|
120
120
|
|
|
121
|
-
- **[
|
|
121
|
+
- **[Documentation hub](./docs/README.md)** — Canonical docs index for Trellis
|
|
122
|
+
- **[The Story](./docs/THE-STORY.md)** — Why Trellis exists
|
|
122
123
|
- **[Vision](./docs/VISION.md)** — Local-first agentic OS framing
|
|
123
124
|
- **[Architecture](./docs/ARCHITECTURE.md)** — Current package layout and target runtime shape
|
|
124
|
-
- **[
|
|
125
|
+
- **[Five Pillars](./docs/PILLARS.md)** — Core architectural principles
|
|
126
|
+
- **[Design spec](./docs/DESIGN.md)** — Full architecture specification
|
|
127
|
+
- **[Roadmap](./docs/ROADMAP.md)** — Active Trellis issue and milestone sequence
|
|
128
|
+
- **[Agents guide](./docs/AGENTS.md)** — Building agents on Trellis
|
|
125
129
|
- **[Full documentation](https://trellis.computer)** — Published docs site
|
|
126
|
-
- **[CLI reference](./README-ARCHIVED.md#cli-overview)** — Command details (archived)
|
|
127
|
-
- **[API modules](./README-ARCHIVED.md#module--subpath-guide)** — Subpath imports (archived)
|
|
128
|
-
- **[DESIGN.md](./DESIGN.md)** — Architecture specification
|
|
130
|
+
- **[CLI reference](./docs/README-ARCHIVED.md#cli-overview)** — Command details (archived)
|
|
131
|
+
- **[API modules](./docs/README-ARCHIVED.md#module--subpath-guide)** — Subpath imports (archived)
|
|
129
132
|
|
|
130
133
|
---
|
|
131
134
|
|
|
@@ -162,4 +165,4 @@ bun run build
|
|
|
162
165
|
|
|
163
166
|
---
|
|
164
167
|
|
|
165
|
-
_For comprehensive documentation including detailed CLI commands, API examples, and subsystem guides, see [README-ARCHIVED.md](./README-ARCHIVED.md)._
|
|
168
|
+
_For comprehensive documentation including detailed CLI commands, API examples, and subsystem guides, see [docs/README-ARCHIVED.md](./docs/README-ARCHIVED.md)._
|
package/bin/trellis.mjs
CHANGED
|
@@ -17,7 +17,10 @@ const isWindows = process.platform === 'win32';
|
|
|
17
17
|
if (process.versions?.bun) {
|
|
18
18
|
await import('../dist/cli/index.js');
|
|
19
19
|
} else {
|
|
20
|
-
const bun =
|
|
20
|
+
const bun =
|
|
21
|
+
findOnPath('bun') ??
|
|
22
|
+
findUserBun() ??
|
|
23
|
+
(existsSync('/opt/homebrew/bin/bun') ? '/opt/homebrew/bin/bun' : null);
|
|
21
24
|
if (!bun) {
|
|
22
25
|
process.stderr.write(
|
|
23
26
|
[
|
|
@@ -38,8 +41,13 @@ if (process.versions?.bun) {
|
|
|
38
41
|
const here = fileURLToPath(import.meta.url);
|
|
39
42
|
const result = spawnSync(bun, [here, ...process.argv.slice(2)], {
|
|
40
43
|
stdio: 'inherit',
|
|
44
|
+
env: process.env,
|
|
41
45
|
});
|
|
42
|
-
|
|
46
|
+
const code = result.status ?? 1;
|
|
47
|
+
if (code !== 0 && result.error) {
|
|
48
|
+
process.stderr.write(`${result.error.message}\n`);
|
|
49
|
+
}
|
|
50
|
+
process.exit(code);
|
|
43
51
|
}
|
|
44
52
|
|
|
45
53
|
function findOnPath(cmd) {
|
package/dist/cli/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;AAyCH,MAAM,MAAM,OAAO,GACf,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,SAAS,GACT,OAAO,GACP,QAAQ,GACR,MAAM,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AACjE,MAAM,MAAM,aAAa,GACrB,OAAO,GACP,KAAK,GACL,QAAQ,GACR,MAAM,GACN,MAAM,GACN,UAAU,GACV,MAAM,GACN,KAAK,GACL,MAAM,GACN,KAAK,GACL,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,CAAC"}
|