@dunnewold-labs/mr-manager 0.4.42 → 0.4.44

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.
Files changed (2) hide show
  1. package/dist/index.mjs +7 -14
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -185,7 +185,7 @@ import { fileURLToPath } from "url";
185
185
  // cli/package.json
186
186
  var package_default = {
187
187
  name: "@dunnewold-labs/mr-manager",
188
- version: "0.4.42",
188
+ version: "0.4.44",
189
189
  description: "Mr. Manager - Task and project management CLI",
190
190
  bin: {
191
191
  mr: "./dist/index.mjs"
@@ -2800,7 +2800,7 @@ var watchCommand = new Command9("watch").description(
2800
2800
  paint("magenta", ` \u2551\u2551\u2551\u2560\u2566\u255D \u2551\u2551\u2551\u2560\u2550\u2563 \u2551 \u2551 \u2560\u2550\u2563`),
2801
2801
  paint("magenta", ` \u2569 \u2569\u2569\u255A\u2550 \u255A\u2569\u255D\u2569 \u2569 \u2569 \u255A\u2550\u255D\u2569 \u2569`),
2802
2802
  paint("dim", ` \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500`),
2803
- paint("dim", ` autonomous task runner \xB7 powered by ${agent}`),
2803
+ paint("dim", ` autonomous task runner \xB7 v${CLI_VERSION} \xB7 powered by ${agent}`),
2804
2804
  ``
2805
2805
  ].join("\n");
2806
2806
  console.log(banner);
@@ -3121,19 +3121,12 @@ var watchCommand = new Command9("watch").description(
3121
3121
  if (code === 0) {
3122
3122
  try {
3123
3123
  const noMrPath = resolve2(executionDir, ".mr-no-mr");
3124
- let noMrRequested = false;
3124
+ const noMrRequested = existsSync7(noMrPath);
3125
3125
  let noMrDescription;
3126
- if (existsSync7(noMrPath)) {
3127
- const noMrMtime = statSync(noMrPath).mtimeMs;
3128
- if (noMrMtime >= activeEntry.startedAt) {
3129
- noMrRequested = true;
3130
- noMrDescription = readFileSync5(noMrPath, "utf-8").trim();
3131
- unlinkSync(noMrPath);
3132
- logSuccess(prefix, `No ${vcs === "gitlab" ? "MR" : "PR"} needed \u2014 ${noMrDescription}`);
3133
- } else {
3134
- unlinkSync(noMrPath);
3135
- logWarn(prefix, `Ignoring stale .mr-no-mr left in ${executionDir} (written before this run)`);
3136
- }
3126
+ if (noMrRequested) {
3127
+ noMrDescription = readFileSync5(noMrPath, "utf-8").trim();
3128
+ unlinkSync(noMrPath);
3129
+ logSuccess(prefix, `No ${vcs === "gitlab" ? "MR" : "PR"} needed \u2014 ${noMrDescription}`);
3137
3130
  }
3138
3131
  const prLabel = vcs === "gitlab" ? "MR" : "PR";
3139
3132
  let prUrl = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dunnewold-labs/mr-manager",
3
- "version": "0.4.42",
3
+ "version": "0.4.44",
4
4
  "description": "Mr. Manager - Task and project management CLI",
5
5
  "bin": {
6
6
  "mr": "./dist/index.mjs"