@proagentstore/cli 0.4.33 → 0.4.34
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.
|
@@ -40,7 +40,11 @@ export function gitArgv(cmd, opts = {}) {
|
|
|
40
40
|
const clampN = Math.max(1, Math.min(200, Math.floor(opts.n ?? 20)));
|
|
41
41
|
switch (cmd) {
|
|
42
42
|
case "status":
|
|
43
|
-
|
|
43
|
+
// `--branch` adds ONE header line (`## main...origin/main [ahead 1]`). Without it a
|
|
44
|
+
// caller can learn a tree is dirty but never which branch it is dirty on, which is how
|
|
45
|
+
// a delegated run pushed a PR branch and left the checkout parked there unnoticed
|
|
46
|
+
// (#276). Additive: every existing consumer keeps the same file lines it always got.
|
|
47
|
+
return ["status", "--short", "--branch"];
|
|
44
48
|
case "diff":
|
|
45
49
|
return opts.relPath ? ["diff", "--", opts.relPath] : ["diff"];
|
|
46
50
|
case "diff-stat":
|