@tryarcanist/cli 0.1.293 → 0.1.295
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 +0 -9
- package/dist/index.js +6 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -307,15 +307,6 @@ arcanist repos branches https://github.com/tryarcanist/arcanist --json
|
|
|
307
307
|
|
|
308
308
|
JSON mode returns `{branches}`.
|
|
309
309
|
|
|
310
|
-
### `arcanist repos skills [repo]`
|
|
311
|
-
|
|
312
|
-
```bash
|
|
313
|
-
arcanist repos skills tryarcanist/arcanist
|
|
314
|
-
arcanist repos skills https://github.com/tryarcanist/arcanist --json
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
JSON mode returns `{skills}`.
|
|
318
|
-
|
|
319
310
|
### `arcanist models list`
|
|
320
311
|
|
|
321
312
|
```bash
|
package/dist/index.js
CHANGED
|
@@ -9263,17 +9263,6 @@ async function repoBranchesCommand(repoArg, options = {}, command) {
|
|
|
9263
9263
|
for (const branch of data.branches) console.log(String(branch.name ?? branch.branch ?? ""));
|
|
9264
9264
|
});
|
|
9265
9265
|
}
|
|
9266
|
-
async function repoSkillsCommand(repoArg, options = {}, command) {
|
|
9267
|
-
const { config } = resolveBusinessContext(command, options);
|
|
9268
|
-
const repo = parseRepoArgOrCurrent(repoArg);
|
|
9269
|
-
const payload = await apiFetch(
|
|
9270
|
-
config,
|
|
9271
|
-
`/api/repos/${encodeURIComponent(repo.owner)}/${encodeURIComponent(repo.repo)}/skills`
|
|
9272
|
-
);
|
|
9273
|
-
emit(command, options, payload, (data) => {
|
|
9274
|
-
for (const skill of data.skills) console.log(`${String(skill.name ?? "")} ${String(skill.description ?? "")}`);
|
|
9275
|
-
});
|
|
9276
|
-
}
|
|
9277
9266
|
|
|
9278
9267
|
// src/commands/review.ts
|
|
9279
9268
|
var PR_REVIEW_POLL_INTERVAL_MS = 1e4;
|
|
@@ -12560,11 +12549,14 @@ The result is posted as a PR comment marked arcanist-anubis:v1.
|
|
|
12560
12549
|
Anubis requires a write-scoped CLI token and repository write access.
|
|
12561
12550
|
`
|
|
12562
12551
|
).action((prUrl, options, command) => anubisCommand(prUrl, options, command));
|
|
12563
|
-
program.command("hades <repo>").description("Start an internal Hades
|
|
12552
|
+
program.command("hades <repo>").description("Start an internal Hades run measuring Zeus's review capability on a Try Arcanist repository").addHelpText(
|
|
12564
12553
|
"after",
|
|
12565
12554
|
`
|
|
12566
|
-
Hades is internal-only. It
|
|
12567
|
-
|
|
12555
|
+
Hades is internal-only. It measures which classes of correctness regression Zeus
|
|
12556
|
+
identifies during normal review: it proves a small regression against an oracle in the
|
|
12557
|
+
selected tryarcanist repository, and the control plane opens each one as a throwaway
|
|
12558
|
+
draft pull request for Zeus to review. The drafts are closed and their branches deleted
|
|
12559
|
+
once reviewed.
|
|
12568
12560
|
`
|
|
12569
12561
|
).action((repo, options, command) => hadesCommand(repo, options, command));
|
|
12570
12562
|
sessions.command("stop").description("Stop the active run for a session").argument("<session-id>", "Session ID").addHelpText(
|
|
@@ -12673,13 +12665,6 @@ JSON:
|
|
|
12673
12665
|
JSON mode returns {branches}
|
|
12674
12666
|
`
|
|
12675
12667
|
).action((repo, options, command) => repoBranchesCommand(repo, options, command));
|
|
12676
|
-
repos.command("skills").description("List repository skills").argument("[repo]", "Repository owner/name; defaults to current git remote").addHelpText(
|
|
12677
|
-
"after",
|
|
12678
|
-
`
|
|
12679
|
-
JSON:
|
|
12680
|
-
JSON mode returns {skills}
|
|
12681
|
-
`
|
|
12682
|
-
).action((repo, options, command) => repoSkillsCommand(repo, options, command));
|
|
12683
12668
|
var environments = program.command("environments").description("Zeus environment setup commands");
|
|
12684
12669
|
environments.command("prepare").description("Prepare a repository for Zeus reviews").argument("[repo]", "Repository owner/name; defaults to current git remote").option("--wait", "Wait until setup is ready or needs attention").option("--poll-interval <ms>", "Polling interval while waiting (default 5000)").addHelpText(
|
|
12685
12670
|
"after",
|