@glrs-dev/cli 2.2.0 → 2.4.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/CHANGELOG.md +4 -0
- package/dist/{chunk-EM4MJBOD.js → chunk-2AZKRWC6.js} +4 -4
- package/dist/{chunk-UXBOTMDY.js → chunk-2P3ETOT2.js} +2 -2
- package/dist/chunk-2VMFXAJH.js +795 -0
- package/dist/chunk-5ZVUFNCP.js +140 -0
- package/dist/{chunk-W37UX3U2.js → chunk-6Y27RQQL.js} +2 -2
- package/dist/{chunk-RZWOWTKF.js → chunk-EKNRKZWR.js} +4 -4
- package/dist/{chunk-YGNDPKIW.js → chunk-HQUCVJ4G.js} +3 -1
- package/dist/{chunk-OABVEBWW.js → chunk-MBEVC327.js} +1 -1
- package/dist/{chunk-SB3MLROC.js → chunk-MCM47HH4.js} +8 -3
- package/dist/{chunk-F3AFRUT2.js → chunk-PTIO556V.js} +2 -2
- package/dist/{chunk-E2UNZIZT.js → chunk-R2WXQ54P.js} +1 -1
- package/dist/{chunk-I2KUXY3I.js → chunk-SMDIOB5B.js} +2 -2
- package/dist/{chunk-SPULDN7P.js → chunk-YY7EWHMA.js} +5 -3
- package/dist/cli.js +31 -20
- package/dist/commands/autopilot-interactive.d.ts +89 -0
- package/dist/commands/autopilot-interactive.js +248 -0
- package/dist/commands/autopilot-raw.d.ts +1 -0
- package/dist/commands/autopilot-raw.js +368 -0
- package/dist/commands/autopilot-tui.d.ts +7 -0
- package/dist/commands/autopilot-tui.js +7 -0
- package/dist/commands/autopilot.d.ts +39 -0
- package/dist/commands/autopilot.js +395 -0
- package/dist/commands/cleanup.js +3 -3
- package/dist/commands/create.js +4 -4
- package/dist/commands/dashboard.d.ts +3 -0
- package/dist/commands/dashboard.js +1549 -0
- package/dist/commands/debrief.d.ts +57 -0
- package/dist/commands/debrief.js +9 -0
- package/dist/commands/delete.js +3 -3
- package/dist/commands/go.js +2 -2
- package/dist/commands/list.js +3 -3
- package/dist/commands/loop.d.ts +42 -0
- package/dist/commands/loop.js +133 -0
- package/dist/commands/plan-picker.d.ts +15 -0
- package/dist/commands/plan-picker.js +76 -0
- package/dist/commands/scoper.d.ts +54 -0
- package/dist/commands/scoper.js +341 -0
- package/dist/commands/switch.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/lib/auto-update.js +1 -1
- package/dist/lib/config.d.ts +3 -2
- package/dist/lib/config.js +1 -1
- package/dist/lib/registry.d.ts +2 -0
- package/dist/lib/registry.js +1 -1
- package/dist/lib/worktree.js +3 -3
- package/dist/vendor/harness-opencode/dist/agents/prompts/build.md +16 -0
- package/dist/vendor/harness-opencode/dist/agents/prompts/code-reviewer-thorough.md +6 -7
- package/dist/vendor/harness-opencode/dist/agents/prompts/debriefer.md +55 -0
- package/dist/vendor/harness-opencode/dist/agents/prompts/plan-reviewer.md +2 -1
- package/dist/vendor/harness-opencode/dist/agents/prompts/plan.md +104 -7
- package/dist/vendor/harness-opencode/dist/agents/prompts/prime.md +4 -2
- package/dist/vendor/harness-opencode/dist/agents/prompts/scoper.md +129 -0
- package/dist/vendor/harness-opencode/dist/agents/prompts/spec-reviewer.md +0 -1
- package/dist/vendor/harness-opencode/dist/agents/prompts/spec-reviewer.open.md +0 -1
- package/dist/vendor/harness-opencode/dist/chunk-GILWWWMB.js +66 -0
- package/dist/vendor/harness-opencode/dist/cli.js +328 -687
- package/dist/vendor/harness-opencode/dist/index.js +123 -20
- package/dist/vendor/harness-opencode/dist/plugin-check-GJRD2OK6.js +14 -0
- package/dist/vendor/harness-opencode/dist/skills/spear-protocol/SKILL.md +2 -1
- package/dist/vendor/harness-opencode/package.json +1 -1
- package/package.json +10 -2
- package/dist/vendor/harness-opencode/dist/autopilot/prompt-template.md +0 -80
- package/dist/vendor/harness-opencode/dist/bin/plan-check.sh +0 -255
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorktree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PTIO556V.js";
|
|
4
4
|
import {
|
|
5
5
|
spawnShell
|
|
6
6
|
} from "./chunk-LMRDQ4GW.js";
|
|
7
7
|
import {
|
|
8
8
|
loadRegistry
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YY7EWHMA.js";
|
|
10
10
|
import {
|
|
11
11
|
info
|
|
12
12
|
} from "./chunk-YBCA3IP6.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import { command, positional, option, optional, string } from "cmd-ts";
|
|
19
19
|
import * as path from "path";
|
|
20
20
|
import * as os from "os";
|
|
21
|
-
var INDEX_DIR = path.join(os.homedir(), ".
|
|
21
|
+
var INDEX_DIR = path.join(os.homedir(), ".glrs");
|
|
22
22
|
var INDEX_FILE = path.join(INDEX_DIR, "repos.json");
|
|
23
23
|
function existsSync(filePath) {
|
|
24
24
|
const { existsSync: _fs } = __require("fs");
|
|
@@ -100,7 +100,7 @@ function resolveRepoPath(repo) {
|
|
|
100
100
|
if (scanned) return scanned;
|
|
101
101
|
throw new Error(
|
|
102
102
|
`No repo named '${repo}' found.
|
|
103
|
-
Looked in worktree registry, ~/.
|
|
103
|
+
Looked in worktree registry, ~/.glrs/repos.json, and scan roots.
|
|
104
104
|
Fix: run 'glrs wt new' from inside the repo once.`
|
|
105
105
|
);
|
|
106
106
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isProtected
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6Y27RQQL.js";
|
|
4
4
|
import {
|
|
5
5
|
defaultBranch,
|
|
6
6
|
git,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-LMRDQ4GW.js";
|
|
12
12
|
import {
|
|
13
13
|
unregisterWorktree
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YY7EWHMA.js";
|
|
15
15
|
import {
|
|
16
16
|
bold,
|
|
17
17
|
dim,
|