vde-worktree 0.0.11 → 0.0.13
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.ja.md +4 -0
- package/README.md +4 -1
- package/dist/index.mjs +362 -64
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -111,6 +111,7 @@ autoload -Uz compinit && compinit
|
|
|
111
111
|
- `--verbose`: 詳細ログ
|
|
112
112
|
- `--no-hooks`: 今回のみ hook 無効化(`--allow-unsafe` 必須)
|
|
113
113
|
- `--allow-unsafe`: unsafe 操作の明示同意
|
|
114
|
+
- `--no-gh`: 今回の実行で `gh` による PR merged 判定を無効化
|
|
114
115
|
- `--hook-timeout-ms <ms>`: hook timeout 上書き
|
|
115
116
|
- `--lock-timeout-ms <ms>`: repo lock timeout 上書き
|
|
116
117
|
|
|
@@ -133,12 +134,14 @@ vw init
|
|
|
133
134
|
```bash
|
|
134
135
|
vw list
|
|
135
136
|
vw list --json
|
|
137
|
+
vw list --no-gh
|
|
136
138
|
```
|
|
137
139
|
|
|
138
140
|
機能:
|
|
139
141
|
|
|
140
142
|
- Git の porcelain 情報から worktree 一覧を取得
|
|
141
143
|
- branch/path/dirty/lock/merged/upstream を表示
|
|
144
|
+
- `--no-gh` 指定時は PR merged 判定をスキップ(`merged.byPR` は `null`)
|
|
142
145
|
- 対話ターミナルでは Catppuccin 風の ANSI 色で表示
|
|
143
146
|
|
|
144
147
|
### `status`
|
|
@@ -434,6 +437,7 @@ vw completion zsh --install
|
|
|
434
437
|
- `gh auth` 未設定
|
|
435
438
|
- API 失敗
|
|
436
439
|
- `git config vde-worktree.enableGh false`
|
|
440
|
+
- `--no-gh` を指定して実行
|
|
437
441
|
|
|
438
442
|
## JSON 契約
|
|
439
443
|
|
package/README.md
CHANGED
|
@@ -111,6 +111,7 @@ After `vw init`, the tool manages:
|
|
|
111
111
|
- `--verbose`: verbose logging
|
|
112
112
|
- `--no-hooks`: disable hooks for this run (requires `--allow-unsafe`)
|
|
113
113
|
- `--allow-unsafe`: explicit unsafe override
|
|
114
|
+
- `--no-gh`: disable GitHub CLI based PR merge checks for this run
|
|
114
115
|
- `--hook-timeout-ms <ms>`: hook timeout override
|
|
115
116
|
- `--lock-timeout-ms <ms>`: repository lock timeout override
|
|
116
117
|
|
|
@@ -133,12 +134,14 @@ What it does:
|
|
|
133
134
|
```bash
|
|
134
135
|
vw list
|
|
135
136
|
vw list --json
|
|
137
|
+
vw list --no-gh
|
|
136
138
|
```
|
|
137
139
|
|
|
138
140
|
What it does:
|
|
139
141
|
|
|
140
142
|
- Lists all worktrees from Git porcelain output
|
|
141
143
|
- Includes metadata such as branch, path, dirty, lock, merged, and upstream status
|
|
144
|
+
- With `--no-gh`, skips PR-based merge checks (`merged.byPR` becomes `null`)
|
|
142
145
|
- In interactive terminal, uses Catppuccin-style ANSI colors
|
|
143
146
|
|
|
144
147
|
### `status`
|
|
@@ -428,7 +431,7 @@ Overall policy:
|
|
|
428
431
|
- `byPR === false` => `overall = false`
|
|
429
432
|
- `byPR === null` => fallback to `byAncestry`
|
|
430
433
|
|
|
431
|
-
`byPR` becomes `null` when PR lookup is unavailable (for example: `gh` missing, auth missing, API error,
|
|
434
|
+
`byPR` becomes `null` when PR lookup is unavailable (for example: `gh` missing, auth missing, API error, `vde-worktree.enableGh=false`, or `--no-gh`).
|
|
432
435
|
|
|
433
436
|
## JSON Contract
|
|
434
437
|
|