mergestorm 0.3.1 → 0.3.2
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 +7 -3
- package/dist/cli.js +2 -0
- package/dist/ui/banner.js +3 -0
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -18,8 +18,12 @@ Or install directly with npm:
|
|
|
18
18
|
```bash
|
|
19
19
|
npm install -g mergestorm
|
|
20
20
|
mergestorm login
|
|
21
|
+
# or the short alias (same binary):
|
|
22
|
+
mg login
|
|
21
23
|
```
|
|
22
24
|
|
|
25
|
+
After install, both `mergestorm` and `mg` invoke the same CLI.
|
|
26
|
+
|
|
23
27
|
### From this monorepo (development / local UI testing)
|
|
24
28
|
|
|
25
29
|
You do **not** need to bump/publish npm to try shell layout changes. From the repo root:
|
|
@@ -44,13 +48,13 @@ mergestorm # uses your local build
|
|
|
44
48
|
On a TTY, bare `mergestorm` (or `mergestorm shell`) opens a branded REPL: a **full-width** welcome panel (logo + status on the left, tips / what's new on the right) and a **full-width** bordered input box with a live `/` slash-command dropdown. Non-TTY (CI/pipes) prints usage instead — no hanging prompt.
|
|
45
49
|
|
|
46
50
|
```
|
|
47
|
-
╭─ mergestorm v0.3.
|
|
51
|
+
╭─ mergestorm v0.3.2 ──────────────────────────────────────────────────────────╮
|
|
48
52
|
│ ▟██████████▛ Tips for getting started │
|
|
49
53
|
│ ▜████████▛ review review main...HEAD │
|
|
50
54
|
│ ▝▜████▛▘ branches pick a reviewed branch │
|
|
51
55
|
│ ▜██▛ /help list all commands │
|
|
52
56
|
│ ██ │
|
|
53
|
-
│ ▝▘ What's new in v0.3.
|
|
57
|
+
│ ▝▘ What's new in v0.3.2 │
|
|
54
58
|
│ ● msk… · maelstrom • Full-width welcome + input │
|
|
55
59
|
│ [████░░░░░░░░░░] 12% used │
|
|
56
60
|
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
@@ -138,5 +142,5 @@ Any `*.md` / `*.txt` files under `./.mergestorm/` (one level of nesting) are att
|
|
|
138
142
|
|
|
139
143
|
## See also
|
|
140
144
|
|
|
141
|
-
- [Review Jobs API reference](https://github.com/
|
|
145
|
+
- [Review Jobs API reference](https://github.com/marginsystems/mergestorm/blob/main/docs/review-jobs-api.md) — raw HTTP endpoints, webhook signing, thread chains, quota.
|
|
142
146
|
- [Docs — Review Jobs API & CLI](https://mergestorm.ai/docs#review-jobs-api) — product docs on the site.
|
package/dist/cli.js
CHANGED
|
@@ -30,6 +30,8 @@ function usage() {
|
|
|
30
30
|
mergestorm whoami [--json] Key + plan + API base
|
|
31
31
|
mergestorm thread <slug> Jobs in a review thread
|
|
32
32
|
|
|
33
|
+
mg is a short alias for mergestorm (same binary).
|
|
34
|
+
|
|
33
35
|
Env:
|
|
34
36
|
MERGESTORM_API_KEY API key (overrides config)
|
|
35
37
|
MERGESTORM_API_URL API base (default ${DEFAULT_API})
|
package/dist/ui/banner.js
CHANGED
|
@@ -32,6 +32,9 @@ const WHATS_NEW = {
|
|
|
32
32
|
"Two-column layout: status left, tips/what's new right",
|
|
33
33
|
"Ctrl+C twice at the prompt to exit",
|
|
34
34
|
],
|
|
35
|
+
"0.3.2": [
|
|
36
|
+
"`mg` short alias — same binary as `mergestorm`",
|
|
37
|
+
],
|
|
35
38
|
};
|
|
36
39
|
function formatStatusLines(me, key, barWidth) {
|
|
37
40
|
if (!key) {
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mergestorm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "MergeStorm CLI — interactive shell and one-shot review commands",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"mergestorm": "./dist/cli.js"
|
|
7
|
+
"mergestorm": "./dist/cli.js",
|
|
8
|
+
"mg": "./dist/cli.js"
|
|
8
9
|
},
|
|
9
10
|
"homepage": "https://mergestorm.ai/docs#review-jobs-api",
|
|
10
11
|
"repository": {
|
|
11
12
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
13
|
+
"url": "git+https://github.com/marginsystems/mergestorm.git",
|
|
13
14
|
"directory": "packages/mergestorm-cli"
|
|
14
15
|
},
|
|
15
16
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
17
|
+
"url": "https://github.com/marginsystems/mergestorm/issues"
|
|
17
18
|
},
|
|
18
19
|
"files": [
|
|
19
20
|
"dist"
|