@devrouter/cli 0.5.3 → 0.5.4
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.
|
@@ -2752,7 +2752,7 @@ function assertManagedContainerConfigUnchanged(options) {
|
|
|
2752
2752
|
cwd: workingDirectory,
|
|
2753
2753
|
encoding: "utf-8",
|
|
2754
2754
|
env,
|
|
2755
|
-
input: rendered.stdout,
|
|
2755
|
+
input: rendered.stdout.replaceAll("$$", "$"),
|
|
2756
2756
|
stdio: ["pipe", "pipe", "ignore"],
|
|
2757
2757
|
timeout: COMPOSE_HASH_TIMEOUT_MS,
|
|
2758
2758
|
maxBuffer: 1024 * 1024
|
|
@@ -5397,7 +5397,7 @@ function retain(session, previous) {
|
|
|
5397
5397
|
|
|
5398
5398
|
// src/core/reliability-operation-store.ts
|
|
5399
5399
|
function installedCliVersion() {
|
|
5400
|
-
return true ? "0.5.
|
|
5400
|
+
return true ? "0.5.4" : "0.0.0-dev";
|
|
5401
5401
|
}
|
|
5402
5402
|
function compareCliVersions(left, right) {
|
|
5403
5403
|
const parts = (value) => value.split(".").map((part) => Number.parseInt(part, 10) || 0);
|
|
@@ -7407,7 +7407,7 @@ function loadRepoConfig(repoPath, read2 = (file) => import_node_fs19.default.rea
|
|
|
7407
7407
|
const config = parseConfig(parsed ?? {}, configPath);
|
|
7408
7408
|
const requiredVersion = config.devrouter?.version;
|
|
7409
7409
|
if (requiredVersion && !hasWarnedVersionMismatch) {
|
|
7410
|
-
const cliVersion = true ? "0.5.
|
|
7410
|
+
const cliVersion = true ? "0.5.4" : "0.0.0-dev";
|
|
7411
7411
|
if (cliVersion !== "0.0.0-dev" && compareSemver2(requiredVersion, cliVersion) > 0) {
|
|
7412
7412
|
hasWarnedVersionMismatch = true;
|
|
7413
7413
|
process.stderr.write(
|
package/dist/devrouter.js
CHANGED
|
@@ -4788,7 +4788,7 @@ function loadRepoConfig(repoPath, read2 = (file) => import_node_fs8.default.read
|
|
|
4788
4788
|
const config = parseConfig(parsed ?? {}, configPath);
|
|
4789
4789
|
const requiredVersion = config.devrouter?.version;
|
|
4790
4790
|
if (requiredVersion && !hasWarnedVersionMismatch) {
|
|
4791
|
-
const cliVersion = true ? "0.5.
|
|
4791
|
+
const cliVersion = true ? "0.5.4" : "0.0.0-dev";
|
|
4792
4792
|
if (cliVersion !== "0.0.0-dev" && compareSemver(requiredVersion, cliVersion) > 0) {
|
|
4793
4793
|
hasWarnedVersionMismatch = true;
|
|
4794
4794
|
process.stderr.write(
|
|
@@ -6787,7 +6787,7 @@ var init_reliability_contract = __esm({
|
|
|
6787
6787
|
|
|
6788
6788
|
// src/core/reliability-operation-store.ts
|
|
6789
6789
|
function installedCliVersion() {
|
|
6790
|
-
return true ? "0.5.
|
|
6790
|
+
return true ? "0.5.4" : "0.0.0-dev";
|
|
6791
6791
|
}
|
|
6792
6792
|
function compareCliVersions(left, right) {
|
|
6793
6793
|
const parts = (value) => value.split(".").map((part) => Number.parseInt(part, 10) || 0);
|
|
@@ -11399,7 +11399,7 @@ function assertManagedContainerConfigUnchanged(options) {
|
|
|
11399
11399
|
cwd: workingDirectory,
|
|
11400
11400
|
encoding: "utf-8",
|
|
11401
11401
|
env,
|
|
11402
|
-
input: rendered.stdout,
|
|
11402
|
+
input: rendered.stdout.replaceAll("$$", "$"),
|
|
11403
11403
|
stdio: ["pipe", "pipe", "ignore"],
|
|
11404
11404
|
timeout: COMPOSE_HASH_TIMEOUT_MS,
|
|
11405
11405
|
maxBuffer: 1024 * 1024
|
|
@@ -24523,7 +24523,7 @@ function probeInstalledCliVersion(executable) {
|
|
|
24523
24523
|
}
|
|
24524
24524
|
function buildCliPathCheck(options = {}) {
|
|
24525
24525
|
const id5 = "global.cli-path";
|
|
24526
|
-
const runningVersion = options.runningVersion ?? (true ? "0.5.
|
|
24526
|
+
const runningVersion = options.runningVersion ?? (true ? "0.5.4" : "0.0.0-dev");
|
|
24527
24527
|
if (runningVersion === "0.0.0-dev") {
|
|
24528
24528
|
return {
|
|
24529
24529
|
id: id5,
|
|
@@ -25419,7 +25419,7 @@ async function buildDoctorReport(options = {}) {
|
|
|
25419
25419
|
suggestion: `Remedy ${expansionNotice.remedy.code}: set a named default profile other than '${expansionNotice.profile}'${remedyCandidates}.`
|
|
25420
25420
|
});
|
|
25421
25421
|
}
|
|
25422
|
-
const cliVersion = true ? "0.5.
|
|
25422
|
+
const cliVersion = true ? "0.5.4" : "0.0.0-dev";
|
|
25423
25423
|
const configVersion = config.devrouter?.version;
|
|
25424
25424
|
const installedKnown = cliVersion !== "0.0.0-dev";
|
|
25425
25425
|
const versionComparison = installedKnown && configVersion ? compareSemver(configVersion, cliVersion) : void 0;
|
|
@@ -34082,7 +34082,7 @@ var init_version = __esm({
|
|
|
34082
34082
|
|
|
34083
34083
|
// src/cli.ts
|
|
34084
34084
|
var import_commander = require("commander");
|
|
34085
|
-
var CLI_VERSION = true ? "0.5.
|
|
34085
|
+
var CLI_VERSION = true ? "0.5.4" : "0.0.0-dev";
|
|
34086
34086
|
var VERSION_FLAGS = /* @__PURE__ */ new Set(["-V", "--version"]);
|
|
34087
34087
|
function withErrorHandling(action2) {
|
|
34088
34088
|
return async (...args) => {
|
package/package.json
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Upgrade to devrouter 0.5.4
|
|
2
|
+
|
|
3
|
+
This patch release fixes false Compose identity drift when provider-generated
|
|
4
|
+
entrypoints or configuration values contain literal dollar signs. Devrouter
|
|
5
|
+
undoes Compose serialization escaping before hashing the resolved configuration,
|
|
6
|
+
without another interpolation pass. There is no configuration schema migration.
|
|
7
|
+
|
|
8
|
+
## Task
|
|
9
|
+
|
|
10
|
+
Install the published 0.5.4 CLI. Remove any temporary local patch for the Compose
|
|
11
|
+
dollar-escaping fix in PR #146 by replacing it with the published package.
|
|
12
|
+
Bump a consumer's `devrouter.version` only when consumer source changes are
|
|
13
|
+
authorized. No generated configuration or agent artifacts require changes.
|
|
14
|
+
Preserve existing runtime ownership, containers, databases and dependency volumes.
|
|
15
|
+
|
|
16
|
+
## Validation
|
|
17
|
+
|
|
18
|
+
1. Run `devrouter -V` from the consumer checkout and confirm 0.5.4.
|
|
19
|
+
2. Run `devrouter doctor --json` and inspect runtime ownership and readiness.
|
|
20
|
+
3. Run `devrouter ensure .` with the intended profile and verify that an existing
|
|
21
|
+
app container is retained without a false Compose drift failure.
|
|
22
|
+
4. Run an existing application smoke test. If stop/resume is tested, confirm
|
|
23
|
+
the same container and volumes are retained. Do not replay destructive
|
|
24
|
+
bootstrap hooks or bypass lifecycle ownership checks to test an upgrade.
|
|
25
|
+
|
|
26
|
+
## Report
|
|
27
|
+
|
|
28
|
+
Report the installed version, selected runtime, tested profile, container
|
|
29
|
+
retention and functional results, and any remaining limitations.
|