@devrouter/cli 0.0.54 → 0.0.55
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/dist/devrouter.js +9 -4
- package/package.json +1 -1
- package/upgrade-prompts/0.0.55.md +23 -0
package/dist/devrouter.js
CHANGED
|
@@ -2693,7 +2693,7 @@ function loadRepoConfig(repoPath) {
|
|
|
2693
2693
|
const config = parseConfig(parsed ?? {}, configPath);
|
|
2694
2694
|
const requiredVersion = config.devrouter?.version;
|
|
2695
2695
|
if (requiredVersion && !hasWarnedVersionMismatch) {
|
|
2696
|
-
const cliVersion = true ? "0.0.
|
|
2696
|
+
const cliVersion = true ? "0.0.55" : "0.0.0-dev";
|
|
2697
2697
|
if (cliVersion !== "0.0.0-dev" && compareSemver(requiredVersion, cliVersion) > 0) {
|
|
2698
2698
|
hasWarnedVersionMismatch = true;
|
|
2699
2699
|
process.stderr.write(
|
|
@@ -8352,7 +8352,12 @@ function sameSet(left, right) {
|
|
|
8352
8352
|
return JSON.stringify([...left].sort()) === JSON.stringify([...right].sort());
|
|
8353
8353
|
}
|
|
8354
8354
|
function containerIdentity(container) {
|
|
8355
|
-
return JSON.stringify({
|
|
8355
|
+
return JSON.stringify({
|
|
8356
|
+
id: container.id,
|
|
8357
|
+
labels: container.labels,
|
|
8358
|
+
// Docker does not preserve mount-array order between inspections.
|
|
8359
|
+
mounts: container.mounts.map((mount) => JSON.stringify(mount)).sort()
|
|
8360
|
+
});
|
|
8356
8361
|
}
|
|
8357
8362
|
function stopRetainedManagedDevsyWorkspace(options) {
|
|
8358
8363
|
const { repoPath, devsyId } = options;
|
|
@@ -9600,7 +9605,7 @@ async function buildDoctorReport(options = {}) {
|
|
|
9600
9605
|
const config = runtimeConfig.config;
|
|
9601
9606
|
loadedConfig = config;
|
|
9602
9607
|
loadedWorkspace = runtimeConfig.workspace;
|
|
9603
|
-
const cliVersion = true ? "0.0.
|
|
9608
|
+
const cliVersion = true ? "0.0.55" : "0.0.0-dev";
|
|
9604
9609
|
const configVersion = config.devrouter?.version;
|
|
9605
9610
|
if (configVersion && cliVersion !== "0.0.0-dev" && compareSemver(configVersion, cliVersion) > 0) {
|
|
9606
9611
|
addCheck(checks, {
|
|
@@ -16873,7 +16878,7 @@ var init_version = __esm({
|
|
|
16873
16878
|
|
|
16874
16879
|
// src/cli.ts
|
|
16875
16880
|
var import_commander = require("commander");
|
|
16876
|
-
var CLI_VERSION = true ? "0.0.
|
|
16881
|
+
var CLI_VERSION = true ? "0.0.55" : "0.0.0-dev";
|
|
16877
16882
|
var VERSION_FLAGS = /* @__PURE__ */ new Set(["-V", "--version"]);
|
|
16878
16883
|
function withErrorHandling(action2) {
|
|
16879
16884
|
return async (...args) => {
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.0.55
|
|
2
|
+
|
|
3
|
+
Managed stop now compares retained mounts independently of the order returned
|
|
4
|
+
by Docker. Exact mount fields and all other retained-runtime guards remain
|
|
5
|
+
mandatory.
|
|
6
|
+
|
|
7
|
+
## Task
|
|
8
|
+
|
|
9
|
+
Install the published patch and update the consumer devrouter.version pin when
|
|
10
|
+
adopting it. No schema migration or generated configuration rewrite is required.
|
|
11
|
+
|
|
12
|
+
## Validation
|
|
13
|
+
|
|
14
|
+
With authorization for an exact runtime, run canonical stop and verify all
|
|
15
|
+
retained containers are stopped with zero exact routes. Preserve the original
|
|
16
|
+
Compose interpolation settings. Use guarded repair only for an eligible
|
|
17
|
+
retained degraded runtime and independently verify application readiness.
|
|
18
|
+
Do not bypass missing state, changed configuration or adapter side-effect gates.
|
|
19
|
+
|
|
20
|
+
## Report
|
|
21
|
+
|
|
22
|
+
Report installed/configured versions, exact checkout/profile, producing command,
|
|
23
|
+
container/route state, application proof and remaining blockers.
|