ultrahope 0.1.7 → 0.1.9

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,37 +51,30 @@ 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:
54
+ If you run `git ultrahope commit` with no staged files, it exits immediately:
55
55
 
56
56
  ```bash
57
- # With staged changes:
58
- git add packages/cli/commands/commit.ts
59
- git ultrahope commit
60
-
61
57
  # Without staged changes:
62
58
  git ultrahope commit
63
- # prompts: No staged changes. Stage all files with `git add -A` and continue? (y/N)
59
+ Error: No staged changes. Stage files with `git add` first.
64
60
  ```
61
+ If no files are staged, the command exits immediately and requires `git add` to stage changes first.
65
62
 
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
-
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.
63
+ In interactive mode for `git ultrahope commit`, `ultrahope jj describe`, and `ultrahope translate --target vcs-commit-message`, use `r` to refine the generated results with additional instructions.
71
64
 
72
65
  #### Difference Between `guide` And Refine Instructions
73
66
 
74
67
  - `--guide`:
75
68
  - Supplemental intent outside the diff (for example: ticket ID, background, change intent)
76
- - `R refine`:
77
- - Review generated results and enter inline instructions for the next reroll
69
+ - `r refine`:
70
+ - Review generated results and enter inline instructions for the next refinement pass
78
71
  - Examples: "more formal", "shorter"
79
72
  - Press `Enter` with empty input to clear the previous refine instructions
80
73
  - If specified multiple times, the last one overwrites previous values
81
- - `R` means reroll with additional instructions (`refine`)
74
+ - `r` applies refinement instructions (`refine`)
82
75
  - At request time, refine instructions are merged into `guide` and sent to the API:
83
76
  - `--guide` only: `guide = "<guide>"`
84
- - `R refine` only: `guide = "<refine>"`
77
+ - `r refine` only: `guide = "<refine>"`
85
78
  - both: `guide = "<guide>\n\nRefinement: <refine>"`
86
79
 
87
80
  #### Targets