@devrouter/cli 0.1.3 → 0.3.0
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/README.md +12 -0
- package/dist/devrouter-lifecycle-worker.js +278 -192
- package/dist/devrouter.js +3380 -893
- package/package.json +2 -1
- package/upgrade-prompts/0.2.0.md +81 -0
- package/upgrade-prompts/0.3.0.md +59 -0
package/README.md
CHANGED
|
@@ -31,6 +31,11 @@ guide](./docs/REPO_ONBOARDING.md) before adapting an existing project.
|
|
|
31
31
|
|
|
32
32
|
## Five-minute first route
|
|
33
33
|
|
|
34
|
+
Install the agent skills (setup, onboarding, usage, worktree cleanup) with
|
|
35
|
+
`npx skills add rschlaefli/devrouter`, or add `-g` to install them for every
|
|
36
|
+
project. The `devrouter-setup` skill walks through the steps below on a new
|
|
37
|
+
machine.
|
|
38
|
+
|
|
34
39
|
Install the published CLI and prepare the machine:
|
|
35
40
|
|
|
36
41
|
```bash
|
|
@@ -111,6 +116,13 @@ Use devrouter lifecycle commands for managed environments. Raw DevPod or Devsy
|
|
|
111
116
|
Devrouter auto-detects the installed workspace runtime CLI (DevPod or Devsy) and
|
|
112
117
|
you can pin it with `DEVROUTER_WORKSPACE_RUNTIME=devpod|devsy`.
|
|
113
118
|
|
|
119
|
+
## Cleaning up worktrees
|
|
120
|
+
|
|
121
|
+
Agent sessions and devcontainers leave many worktrees, dependencies and Docker
|
|
122
|
+
stacks behind. `devrouter workspace cleanup --all-worktrees --check-merged`
|
|
123
|
+
reports which are safe to remove; removal applies only a list a person
|
|
124
|
+
approved by its SHA-256. See [Cleaning up worktrees](./docs/WORKTREE_CLEANUP.md).
|
|
125
|
+
|
|
114
126
|
## Agent onboarding
|
|
115
127
|
|
|
116
128
|
Generate the canonical, non-mutating onboarding prompt from a target repository:
|