@h-rig/cli 0.0.6-alpha.26 → 0.0.6-alpha.28
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/dist/bin/rig.js +1043 -596
- package/dist/src/commands/_cli-format.js +211 -6
- package/dist/src/commands/_connection-state.js +1 -1
- package/dist/src/commands/_doctor-checks.js +3 -3
- package/dist/src/commands/_help-catalog.js +231 -41
- package/dist/src/commands/_operator-view.js +1 -1
- package/dist/src/commands/_pi-frontend.js +1 -1
- package/dist/src/commands/_pi-worker-bridge-extension.js +1 -1
- package/dist/src/commands/_preflight.js +2 -2
- package/dist/src/commands/_server-client.js +1 -1
- package/dist/src/commands/_snapshot-upload.js +1 -1
- package/dist/src/commands/agent.js +7 -7
- package/dist/src/commands/browser.js +4 -4
- package/dist/src/commands/connect.js +5 -4
- package/dist/src/commands/dist.js +4 -4
- package/dist/src/commands/doctor.js +3 -3
- package/dist/src/commands/github.js +1 -1
- package/dist/src/commands/inbox.js +351 -29
- package/dist/src/commands/init.js +3 -3
- package/dist/src/commands/inspect.js +10 -10
- package/dist/src/commands/inspector.js +2 -2
- package/dist/src/commands/plugin.js +3 -3
- package/dist/src/commands/profile-and-review.js +8 -8
- package/dist/src/commands/queue.js +1 -1
- package/dist/src/commands/remote.js +18 -18
- package/dist/src/commands/repo-git-harness.js +4 -4
- package/dist/src/commands/run.js +157 -37
- package/dist/src/commands/server.js +6 -5
- package/dist/src/commands/setup.js +8 -8
- package/dist/src/commands/task-report-bug.js +5 -5
- package/dist/src/commands/task-run-driver.js +1 -1
- package/dist/src/commands/task.js +451 -45
- package/dist/src/commands/test.js +3 -3
- package/dist/src/commands/workspace.js +4 -4
- package/dist/src/commands.js +1043 -596
- package/dist/src/index.js +1043 -596
- package/dist/src/report-bug.js +3 -3
- package/package.json +6 -6
|
@@ -19,15 +19,15 @@ async function executeTest(context, args) {
|
|
|
19
19
|
const [command = "unit", ...rest] = args;
|
|
20
20
|
switch (command) {
|
|
21
21
|
case "unit":
|
|
22
|
-
requireNoExtraArgs(rest, "
|
|
22
|
+
requireNoExtraArgs(rest, "rig test unit");
|
|
23
23
|
await context.runCommand(["bun", "test", "tests/harness/", "--ignore", "tests/harness/e2e/**"]);
|
|
24
24
|
return { ok: true, group: "test", command };
|
|
25
25
|
case "e2e":
|
|
26
|
-
requireNoExtraArgs(rest, "
|
|
26
|
+
requireNoExtraArgs(rest, "rig test e2e");
|
|
27
27
|
await context.runCommand(["bun", "test", "tests/harness/e2e/"]);
|
|
28
28
|
return { ok: true, group: "test", command };
|
|
29
29
|
case "all":
|
|
30
|
-
requireNoExtraArgs(rest, "
|
|
30
|
+
requireNoExtraArgs(rest, "rig test all");
|
|
31
31
|
await context.runCommand(["bun", "test", "tests/harness/"]);
|
|
32
32
|
return { ok: true, group: "test", command };
|
|
33
33
|
default:
|
|
@@ -45,7 +45,7 @@ async function executeWorkspace(context, args) {
|
|
|
45
45
|
const [command = "summary", ...rest] = args;
|
|
46
46
|
switch (command) {
|
|
47
47
|
case "summary": {
|
|
48
|
-
requireNoExtraArgs(rest, "
|
|
48
|
+
requireNoExtraArgs(rest, "rig workspace summary");
|
|
49
49
|
const summary = await readWorkspaceSummary(context.projectRoot);
|
|
50
50
|
if (context.outputMode === "text") {
|
|
51
51
|
console.log("Workspace Summary");
|
|
@@ -70,7 +70,7 @@ Warnings:`);
|
|
|
70
70
|
return { ok: true, group: "workspace", command, details: summary };
|
|
71
71
|
}
|
|
72
72
|
case "topology": {
|
|
73
|
-
requireNoExtraArgs(rest, "
|
|
73
|
+
requireNoExtraArgs(rest, "rig workspace topology");
|
|
74
74
|
const topology = readWorkspaceTopology(context.projectRoot);
|
|
75
75
|
if (context.outputMode === "text") {
|
|
76
76
|
console.log(`Topology: ${topology.status}`);
|
|
@@ -83,7 +83,7 @@ Warnings:`);
|
|
|
83
83
|
return { ok: true, group: "workspace", command, details: topology };
|
|
84
84
|
}
|
|
85
85
|
case "remote-hosts": {
|
|
86
|
-
requireNoExtraArgs(rest, "
|
|
86
|
+
requireNoExtraArgs(rest, "rig workspace remote-hosts");
|
|
87
87
|
const fleet = readWorkspaceRemoteFleet(context.projectRoot);
|
|
88
88
|
if (context.outputMode === "text") {
|
|
89
89
|
console.log(`Remote Hosts: ${fleet.status}`);
|
|
@@ -98,7 +98,7 @@ Warnings:`);
|
|
|
98
98
|
let pending = serviceRest;
|
|
99
99
|
const services = takeOption(pending, "--service");
|
|
100
100
|
pending = services.rest;
|
|
101
|
-
requireNoExtraArgs(pending, "
|
|
101
|
+
requireNoExtraArgs(pending, "rig workspace service-fabric <status|up|verify|down> [--service <name>]");
|
|
102
102
|
if (action !== "status" && action !== "up" && action !== "verify" && action !== "down") {
|
|
103
103
|
throw new CliError2(`Unknown workspace service-fabric action: ${action}`);
|
|
104
104
|
}
|