@staff0rd/assist 0.140.0 → 0.141.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/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.140.0",
9
+ version: "0.141.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -2819,6 +2819,14 @@ async function run2(id) {
2819
2819
  if (!plan2) return;
2820
2820
  setStatus(id, "in-progress");
2821
2821
  const startPhase = item.currentPhase ?? 0;
2822
+ if (startPhase >= plan2.length) {
2823
+ setStatus(id, "done");
2824
+ console.log(
2825
+ chalk35.green(`All phases already complete for #${id}: ${item.name}`)
2826
+ );
2827
+ console.log(chalk35.dim("Review the changes, then use /commit when ready."));
2828
+ return;
2829
+ }
2822
2830
  console.log(chalk35.bold(`Running plan for #${id}: ${item.name}`));
2823
2831
  if (startPhase > 0) {
2824
2832
  console.log(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.140.0",
3
+ "version": "0.141.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {