@tryarcanist/cli 0.1.292 → 0.1.294

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.
Files changed (2) hide show
  1. package/dist/index.js +15 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7368,8 +7368,9 @@ import { Command } from "commander";
7368
7368
  import { createRequire } from "module";
7369
7369
 
7370
7370
  // ../../shared/utils/errors.ts
7371
- function stringifyError(error) {
7372
- return error instanceof Error ? error.message : String(error);
7371
+ function stringifyError(error, fallback = "") {
7372
+ const message = error instanceof Error ? error.message : String(error);
7373
+ return message || fallback;
7373
7374
  }
7374
7375
 
7375
7376
  // ../../shared/utils/url.ts
@@ -9317,7 +9318,12 @@ async function reviewCommand(prUrl, options = {}, command) {
9317
9318
  );
9318
9319
  if (status.status !== "completed") return null;
9319
9320
  assertSameAttempt(triggeredSessionId, status.sessionId, "PR review");
9320
- return { ...status, sessionId: status.sessionId ?? triggeredSessionId };
9321
+ return {
9322
+ ...status,
9323
+ status: "completed",
9324
+ sessionId: status.sessionId ?? triggeredSessionId,
9325
+ verdict: status.verdict ?? "unknown"
9326
+ };
9321
9327
  }
9322
9328
  });
9323
9329
  emit(command, options, result, (payload) => {
@@ -12554,11 +12560,14 @@ The result is posted as a PR comment marked arcanist-anubis:v1.
12554
12560
  Anubis requires a write-scoped CLI token and repository write access.
12555
12561
  `
12556
12562
  ).action((prUrl, options, command) => anubisCommand(prUrl, options, command));
12557
- program.command("hades <repo>").description("Start an internal Hades adversarial Zeus probe against a Try Arcanist repository").addHelpText(
12563
+ program.command("hades <repo>").description("Start an internal Hades run measuring Zeus's review capability on a Try Arcanist repository").addHelpText(
12558
12564
  "after",
12559
12565
  `
12560
- Hades is internal-only. It creates one proved adversarial patch in the selected
12561
- tryarcanist repository; the control plane opens the draft pull request and triggers Zeus.
12566
+ Hades is internal-only. It measures which classes of correctness regression Zeus
12567
+ identifies during normal review: it proves a small regression against an oracle in the
12568
+ selected tryarcanist repository, and the control plane opens each one as a throwaway
12569
+ draft pull request for Zeus to review. The drafts are closed and their branches deleted
12570
+ once reviewed.
12562
12571
  `
12563
12572
  ).action((repo, options, command) => hadesCommand(repo, options, command));
12564
12573
  sessions.command("stop").description("Stop the active run for a session").argument("<session-id>", "Session ID").addHelpText(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.292",
3
+ "version": "0.1.294",
4
4
  "description": "CLI for Arcanist - create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {