threadroot 0.1.1 → 0.1.2
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 +13 -0
- package/README.md +23 -23
- package/dist/index.js +1462 -1212
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to Threadroot will be documented here.
|
|
|
4
4
|
|
|
5
5
|
Threadroot follows semantic versioning after the first public release. While `0.x`, minor versions may include breaking changes as the harness format settles.
|
|
6
6
|
|
|
7
|
+
## 0.1.2 - One-command bootstrap and session start
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `threadroot bootstrap` as the simple first-run command for global agent setup, local-only harness initialization, health checks, and initial context.
|
|
12
|
+
- `threadroot start "<task>"` as the daily agent-session command for doctor, status, task context, and Threadroot command discovery.
|
|
13
|
+
- Package smoke coverage for the new bootstrap/start flow.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- The generated agent bootstrap prompt now uses `threadroot bootstrap --yes` and `threadroot start "<task>"` instead of spelling out lower-level setup commands.
|
|
18
|
+
- README quickstart now leads with the simplified bootstrap/start flow.
|
|
19
|
+
|
|
7
20
|
## 0.1.1 - Clean setup and global agent bootstrap
|
|
8
21
|
|
|
9
22
|
### Changed
|
package/README.md
CHANGED
|
@@ -13,20 +13,17 @@ service.
|
|
|
13
13
|
Run Threadroot without adding it to your project:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx threadroot
|
|
17
|
-
npx threadroot setup --global
|
|
18
|
-
npx threadroot init
|
|
16
|
+
npx threadroot bootstrap --yes
|
|
19
17
|
# or
|
|
20
|
-
pnpm dlx threadroot
|
|
18
|
+
pnpm dlx threadroot bootstrap --yes
|
|
21
19
|
# or
|
|
22
|
-
npm exec --package=threadroot -- threadroot
|
|
20
|
+
npm exec --package=threadroot -- threadroot bootstrap --yes
|
|
23
21
|
```
|
|
24
22
|
|
|
25
23
|
After initialization:
|
|
26
24
|
|
|
27
25
|
```bash
|
|
28
|
-
threadroot
|
|
29
|
-
threadroot context "write tests"
|
|
26
|
+
threadroot start "write tests"
|
|
30
27
|
```
|
|
31
28
|
|
|
32
29
|
For local development on Threadroot itself:
|
|
@@ -40,11 +37,8 @@ node dist/index.js --help
|
|
|
40
37
|
## Quick start
|
|
41
38
|
|
|
42
39
|
```bash
|
|
43
|
-
tr
|
|
44
|
-
tr
|
|
45
|
-
tr status # authored objects and optional compiled outputs
|
|
46
|
-
tr context "write tests" # task-relevant skills, rules, tools, and memory
|
|
47
|
-
tr doctor # health check for harness validity, setup hints, tool trust
|
|
40
|
+
tr bootstrap --yes # one-time machine setup + local-only .threadroot/
|
|
41
|
+
tr start "write tests" # doctor, status, relevant context, and command map
|
|
48
42
|
tr expose codex # optional: write a thin project skill shim for Codex
|
|
49
43
|
```
|
|
50
44
|
|
|
@@ -53,6 +47,8 @@ tr expose codex # optional: write a thin project skill shim for Codex
|
|
|
53
47
|
## CLI surface
|
|
54
48
|
|
|
55
49
|
```bash
|
|
50
|
+
tr bootstrap [--yes] [--agent <list>] [--task <task>] [--mcp] [--expose <list>]
|
|
51
|
+
tr start ["<task>"]
|
|
56
52
|
tr setup --global [--agent <list>] [--dry-run] [--check] [--undo] [--mcp]
|
|
57
53
|
tr init [--force] [--no-import] [--profile <p>] [--adapters <list>] [--expose <list>]
|
|
58
54
|
tr expose [agent|all] [--dry-run] [--check] [--undo] [--force]
|
|
@@ -99,19 +95,23 @@ turns the harness into legacy vendor instruction formats only when adapters are
|
|
|
99
95
|
in `harness.yaml` or when you run `tr compile --adapter <name>`. Hand-authored prose in a
|
|
100
96
|
vendor file is preserved; Threadroot only owns the block it marks as generated.
|
|
101
97
|
|
|
102
|
-
##
|
|
98
|
+
## Bootstrap, global setup, and exposure
|
|
103
99
|
|
|
104
|
-
The
|
|
100
|
+
The simple path is:
|
|
105
101
|
|
|
106
102
|
```bash
|
|
107
|
-
tr
|
|
108
|
-
tr
|
|
109
|
-
tr init
|
|
103
|
+
tr bootstrap --yes
|
|
104
|
+
tr start "current task"
|
|
110
105
|
```
|
|
111
106
|
|
|
107
|
+
Without `--yes`, `tr bootstrap` prints a dry-run plan. With `--yes`, it installs global
|
|
108
|
+
agent bootstrap skills, initializes `.threadroot/` if needed, runs doctor, and prints
|
|
109
|
+
task context. It does not write provider-specific project files unless you pass
|
|
110
|
+
`--expose`.
|
|
111
|
+
|
|
112
112
|
Global setup installs a tiny `threadroot` skill into supported agent user-skill
|
|
113
|
-
directories so agents know to call `threadroot
|
|
114
|
-
when they see `.threadroot/`.
|
|
113
|
+
directories so agents know to call `threadroot bootstrap --yes` when setup is missing
|
|
114
|
+
and `threadroot start "<task>"` when they see `.threadroot/`.
|
|
115
115
|
|
|
116
116
|
Supported global skill targets:
|
|
117
117
|
|
|
@@ -246,8 +246,8 @@ Tools: `context`, `skills_list`, `skills_get`, `tools_list`, `tools_check`, `too
|
|
|
246
246
|
`memory_append`, `status`, `doctor`.
|
|
247
247
|
|
|
248
248
|
`tr mcp setup` also prints a copy/paste agent prompt that follows the real CLI flow:
|
|
249
|
-
check availability, run `threadroot
|
|
250
|
-
|
|
249
|
+
check availability, run `threadroot bootstrap --yes`, run `threadroot start "<task>"`,
|
|
250
|
+
and ask before writing project-local MCP config.
|
|
251
251
|
|
|
252
252
|
## Profiles
|
|
253
253
|
|
|
@@ -287,8 +287,8 @@ THREADROOT_ROOT="$(pwd)"
|
|
|
287
287
|
TMP_REPO="$(mktemp -d /tmp/threadroot-smoke.XXXXXX)"
|
|
288
288
|
rsync -a --exclude .git --exclude node_modules --exclude dist ./ "$TMP_REPO/"
|
|
289
289
|
cd "$TMP_REPO"
|
|
290
|
-
node "$THREADROOT_ROOT/dist/index.js"
|
|
291
|
-
HOME="$TMP_REPO/home" node "$THREADROOT_ROOT/dist/index.js"
|
|
290
|
+
HOME="$TMP_REPO/home" node "$THREADROOT_ROOT/dist/index.js" bootstrap --yes --agent codex --no-import
|
|
291
|
+
HOME="$TMP_REPO/home" node "$THREADROOT_ROOT/dist/index.js" start "write tests"
|
|
292
292
|
node "$THREADROOT_ROOT/dist/index.js" expose codex
|
|
293
293
|
node "$THREADROOT_ROOT/dist/index.js" status
|
|
294
294
|
node "$THREADROOT_ROOT/dist/index.js" context "write tests"
|