dw-mc 0.6.0 → 0.7.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/README.md +23 -19
- package/dist/bin.js +406 -45
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,14 +19,15 @@
|
|
|
19
19
|
$ dw-mc status
|
|
20
20
|
|
|
21
21
|
Needs me
|
|
22
|
-
|
|
22
|
+
↳ dominikwozniak/dw-mc#71 from Needs review run: 0 → 2 blocking findings
|
|
23
|
+
* ● dominikwozniak/dw-mc#71 │ feat(sweep): notice a head that moved under a run │ 2 blocking findings
|
|
23
24
|
|
|
24
25
|
Needs review run
|
|
25
26
|
◐ dominikwozniak/dw-mc#65 │ docs(agents): how a change becomes a release │ no review run on this head
|
|
26
27
|
◐ dominikwozniak/dw-mc#66 │ docs(skill): the CLI surface the skill actually has │ no review run on this head
|
|
27
28
|
|
|
28
29
|
Waiting on others
|
|
29
|
-
|
|
30
|
+
+ ○ dominikwozniak/dw-mc#68 │ fix(rebase): keep the lease on a head that moved │ CI is still running
|
|
30
31
|
|
|
31
32
|
Ready
|
|
32
33
|
◆ dominikwozniak/dw-mc#62 ✓ │ feat(comments): read a pull request's threads │ approved, green, mergeable
|
|
@@ -61,23 +62,24 @@ Every command that takes a pull request takes it as `62` inside the repository,
|
|
|
61
62
|
|
|
62
63
|
## Commands
|
|
63
64
|
|
|
64
|
-
| Command | Flags | What it does
|
|
65
|
-
| --------------------- | -------------------------------------------------------------------------------------------- |
|
|
66
|
-
| `dw-mc` | — | Opens the picker: every tracked pull request under its bucket, and what moves the one you choose.
|
|
67
|
-
| `dw-mc init` | `--effort`, `--base` | Sets this machine up and registers the repository you are in.
|
|
68
|
-
| `dw-mc sweep` | — | Refreshes what mission control knows about every tracked pull request. It only reads.
|
|
69
|
-
| `dw-mc status` | — | Shows which bucket every tracked pull request sits in,
|
|
70
|
-
| `dw-mc comments <pr>` | `--all`
|
|
71
|
-
| `dw-mc review <pr>` | `--command`, `--prompt`, `--effort`, `--model`, `--prompt-only`, `--command-only`, `--force` | Reviews one pull request on Claude Code, in a throwaway worktree.
|
|
72
|
-
| `dw-mc findings <pr>` | `--json` | Prints what the current review run found.
|
|
73
|
-
| `dw-mc fix <pr>` | `--print`, `--commit` | Opens a session on the findings you pick, in a worktree that outlives it.
|
|
74
|
-
| `dw-mc stamp <pr>` | `--withdraw` | Prints your stamp on a pull request, or withdraws it by hand.
|
|
75
|
-
| `dw-mc rebase <pr>` | — | Rebases a branch onto its base and pushes it with a lease.
|
|
76
|
-
| `dw-mc resolve <pr>` | `--print` | Opens a session on the conflict that stopped a rebase.
|
|
77
|
-
| `dw-mc rerun <pr>` | — | Runs a flaky red CI again, once per head.
|
|
78
|
-
| `dw-mc merge <pr>` | — | Squash-merges a Ready, stamped pull request of yours
|
|
79
|
-
| `dw-mc
|
|
80
|
-
| `dw-mc
|
|
65
|
+
| Command | Flags | What it does |
|
|
66
|
+
| --------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
67
|
+
| `dw-mc` | — | Opens the picker: every tracked pull request under its bucket, and what moves the one you choose. |
|
|
68
|
+
| `dw-mc init` | `--effort`, `--base` | Sets this machine up and registers the repository you are in. |
|
|
69
|
+
| `dw-mc sweep` | — | Refreshes what mission control knows about every tracked pull request. It only reads. |
|
|
70
|
+
| `dw-mc status` | — | Shows which bucket every tracked pull request sits in, which ones you have stamped, and what moved. |
|
|
71
|
+
| `dw-mc comments <pr>` | `--all`, `--ack` | Prints the conversation on a pull request, and with `--ack` records that nothing in it is yours to answer. |
|
|
72
|
+
| `dw-mc review <pr>` | `--command`, `--prompt`, `--effort`, `--model`, `--prompt-only`, `--command-only`, `--force` | Reviews one pull request on Claude Code, in a throwaway worktree. |
|
|
73
|
+
| `dw-mc findings <pr>` | `--json` | Prints what the current review run found. |
|
|
74
|
+
| `dw-mc fix <pr>` | `--print`, `--commit` | Opens a session on the findings you pick, in a worktree that outlives it. |
|
|
75
|
+
| `dw-mc stamp <pr>` | `--withdraw` | Prints your stamp on a pull request, or withdraws it by hand. |
|
|
76
|
+
| `dw-mc rebase <pr>` | — | Rebases a branch onto its base and pushes it with a lease. |
|
|
77
|
+
| `dw-mc resolve <pr>` | `--print` | Opens a session on the conflict that stopped a rebase. |
|
|
78
|
+
| `dw-mc rerun <pr>` | — | Runs a flaky red CI again, once per head. |
|
|
79
|
+
| `dw-mc merge <pr>` | — | Squash-merges a Ready, stamped pull request of yours, deletes its branch and forgets it. |
|
|
80
|
+
| `dw-mc forget <pr>` | — | Forgets everything kept about a pull request that closed another way. |
|
|
81
|
+
| `dw-mc cleanup` | `--yes` | Takes back the disk spent on clones and review worktrees, and keeps everything you decided. |
|
|
82
|
+
| `dw-mc uninstall` | `--config`, `--force`, `--yes` | Removes everything the tool wrote on this machine, and says how to remove the binary. |
|
|
81
83
|
|
|
82
84
|
`dw-mc <command> --help` prints the flags and what each one is worth.
|
|
83
85
|
|
|
@@ -143,6 +145,8 @@ pnpm remove -g dw-mc
|
|
|
143
145
|
|
|
144
146
|
Both print what they would take, with its weight, and ask before taking it; `--yes` answers for a machine with no terminal. `cleanup` keeps your configuration and every record, and keeps the clone of a repository a `fix` or `resolve` session still stands on, because that session's history lives inside it. `uninstall` keeps the configuration file too unless `--config` asks for it. A worktree a `fix` or `resolve` session left standing is yours: `cleanup` never touches one, and `uninstall` names what it still holds — uncommitted changes, or a commit your pull request's head does not have — and removes nothing until `--force`.
|
|
145
147
|
|
|
148
|
+
Neither forgets a pull request's records; being done is what does that. `dw-mc merge` forgets the pull request it merged, and `dw-mc forget <pr>` forgets one that closed another way. A sweep never forgets anything, because a pull request missing from one search is not one that is gone. A `fix` or `resolve` session's worktree survives both, and is named.
|
|
149
|
+
|
|
146
150
|
## The skill
|
|
147
151
|
|
|
148
152
|
An agent session can reach mission control's state through the `/dw-mc` skill, which lives in this repository and calls the CLI and nothing else:
|