ultrahope 0.1.5 → 0.1.7

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 CHANGED
@@ -51,6 +51,22 @@ git add -A && git ultrahope commit --guide "GHSA-gq3j-xvxp-8hrf: override reason
51
51
  jj ultrahope describe --guide "GHSA-gq3j-xvxp-8hrf: override reason"
52
52
  ```
53
53
 
54
+ If you run `git ultrahope commit` with no staged files, interactive mode now asks whether to stage all changes:
55
+
56
+ ```bash
57
+ # With staged changes:
58
+ git add packages/cli/commands/commit.ts
59
+ git ultrahope commit
60
+
61
+ # Without staged changes:
62
+ git ultrahope commit
63
+ # prompts: No staged changes. Stage all files with `git add -A` and continue? (y/N)
64
+ ```
65
+
66
+ If you answer `y`, Ultrahope runs `git add -A` and continues with staged changes.
67
+ If you answer `n` (or leave the default), it exits with the existing staged-changes error.
68
+ In `--no-interactive` mode, no prompt is shown and it exits immediately when no staged changes exist.
69
+
54
70
  In interactive mode for `git ultrahope commit`, `ultrahope jj describe`, and `ultrahope translate --target vcs-commit-message`, use `r` to reroll and `R` (Shift+r) to reroll with additional instructions.
55
71
 
56
72
  #### Difference Between `guide` And Refine Instructions