@devrouter/cli 0.0.46 → 0.0.49
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 +11 -0
- package/dist/devrouter.js +1079 -337
- package/package.json +1 -1
- package/upgrade-prompts/0.0.48.md +44 -0
- package/upgrade-prompts/0.0.49.md +26 -0
package/package.json
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.0.48
|
|
2
|
+
|
|
3
|
+
Devrouter now owns deterministic Devsy agent readiness, exposes profile
|
|
4
|
+
resolution to automation, and proves that Traefik loaded managed routes before
|
|
5
|
+
declaring a runtime ready.
|
|
6
|
+
|
|
7
|
+
1. Install `@devrouter/cli@0.0.48` on the host and bump `.devrouter.yml` to
|
|
8
|
+
`devrouter.version: 0.0.48`.
|
|
9
|
+
2. When Devsy is selected, run
|
|
10
|
+
`devrouter setup --yes --workspace-runtime devsy` once. This acquires and
|
|
11
|
+
verifies the pinned official agent. An explicit `DEVSY_AGENT_BINARY` remains
|
|
12
|
+
authoritative and must match a pinned asset.
|
|
13
|
+
3. Run `devrouter doctor --repo <checkout> --json` and require
|
|
14
|
+
`global.devsy-agent` to report `ready` before starting a Devsy workspace.
|
|
15
|
+
Doctor remains network-free and does not expose the agent path.
|
|
16
|
+
4. Use `devrouter profile resolve --repo <checkout> --profile <selection> --json`
|
|
17
|
+
when CI or another tool needs exact apps, dependencies, readiness targets,
|
|
18
|
+
managed services, and process markers without runtime side effects. Reject
|
|
19
|
+
invalid selections and unknown report schemas instead of widening the
|
|
20
|
+
requested profile.
|
|
21
|
+
5. Keep using `devrouter ensure <checkout>`. Managed startup now proves exact
|
|
22
|
+
HTTP and TCP file-provider routers through Traefik's API. A missed hot reload
|
|
23
|
+
triggers one serialized Traefik-only restart; persistent absence fails closed
|
|
24
|
+
with the missing router names.
|
|
25
|
+
|
|
26
|
+
Verification:
|
|
27
|
+
|
|
28
|
+
- Run `devrouter -V --repo <checkout>` and confirm the installed CLI and local
|
|
29
|
+
repository report `0.0.48`.
|
|
30
|
+
- Run `devrouter doctor --repo <checkout> --json` and require zero errors plus
|
|
31
|
+
`global.devsy-agent: ready` when Devsy is selected.
|
|
32
|
+
- Run `devrouter profile resolve --repo <checkout> --profile <selection> --json`
|
|
33
|
+
with no workspace running and verify the schema-versioned exact resource set.
|
|
34
|
+
- Start one safe representative profile with `devrouter ensure`, verify its
|
|
35
|
+
expected routes and zero profile drift, then stop that exact checkout and
|
|
36
|
+
require zero remaining routes.
|
|
37
|
+
|
|
38
|
+
Report template:
|
|
39
|
+
|
|
40
|
+
- CLI/config version: `0.0.48`
|
|
41
|
+
- Devsy agent readiness: `<ready, not selected, or details>`
|
|
42
|
+
- Profile resolution: `<passed or details>`
|
|
43
|
+
- Representative route proof and stop: `<passed, deferred, or details>`
|
|
44
|
+
- Remaining blockers: `<none or details>`
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.0.49
|
|
2
|
+
|
|
3
|
+
Devrouter now checks a bounded 1,000-router view from both Traefik router APIs
|
|
4
|
+
when proving managed routes. This prevents Traefik's default 100-entry page
|
|
5
|
+
from hiding a valid route in a large shared installation.
|
|
6
|
+
|
|
7
|
+
1. Install `@devrouter/cli@0.0.49` on the host and bump `.devrouter.yml` to
|
|
8
|
+
`devrouter.version: 0.0.49`.
|
|
9
|
+
2. Keep using `devrouter ensure <checkout>`. Route naming, publication, and
|
|
10
|
+
restart-once recovery are unchanged.
|
|
11
|
+
3. If an expected router is absent from a full 1,000-entry API response,
|
|
12
|
+
Devrouter intentionally fails closed because the API view may be incomplete.
|
|
13
|
+
|
|
14
|
+
Verification:
|
|
15
|
+
|
|
16
|
+
- Run `devrouter -V --repo <checkout>` and confirm the installed CLI and local
|
|
17
|
+
repository report `0.0.49`.
|
|
18
|
+
- Start one safe representative managed profile with `devrouter ensure`, verify
|
|
19
|
+
its expected routes and zero profile drift, then stop that exact checkout and
|
|
20
|
+
require zero remaining routes.
|
|
21
|
+
|
|
22
|
+
Report template:
|
|
23
|
+
|
|
24
|
+
- CLI/config version: `0.0.49`
|
|
25
|
+
- Representative route proof and stop: `<passed, deferred, or details>`
|
|
26
|
+
- Remaining blockers: `<none or details>`
|