@tryarcanist/cli 0.1.290 → 0.1.291

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 +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8550,12 +8550,12 @@ async function egressValidateCommand(path = EGRESS_ALLOWLIST_SOURCE_PATH, option
8550
8550
  }
8551
8551
 
8552
8552
  // src/commands/hades.ts
8553
- async function hadesCommand(options = {}, command) {
8553
+ async function hadesCommand(repo, options = {}, command) {
8554
8554
  assertArcanistSessionMutationAllowed("hades");
8555
8555
  const { config } = resolveBusinessContext(command, options);
8556
8556
  const result = await apiFetch(config, "/api/hades-runs", {
8557
8557
  method: "POST",
8558
- body: "{}"
8558
+ body: JSON.stringify({ repo })
8559
8559
  });
8560
8560
  emit(command, options, result, (payload) => {
8561
8561
  console.log(`Started Hades run ${payload.runId} (${payload.jobId}).`);
@@ -12436,13 +12436,13 @@ The result is posted as a PR comment marked arcanist-anubis:v1.
12436
12436
  Anubis requires a write-scoped CLI token and repository write access.
12437
12437
  `
12438
12438
  ).action((prUrl, options, command) => anubisCommand(prUrl, options, command));
12439
- program.command("hades").description("Start an internal Hades adversarial Zeus probe").addHelpText(
12439
+ program.command("hades <repo>").description("Start an internal Hades adversarial Zeus probe against a Try Arcanist repository").addHelpText(
12440
12440
  "after",
12441
12441
  `
12442
- Hades is internal-only. It creates one proved adversarial patch in tryarcanist/arcanist;
12443
- the control plane opens the draft pull request and triggers Zeus.
12442
+ Hades is internal-only. It creates one proved adversarial patch in the selected
12443
+ tryarcanist repository; the control plane opens the draft pull request and triggers Zeus.
12444
12444
  `
12445
- ).action((options, command) => hadesCommand(options, command));
12445
+ ).action((repo, options, command) => hadesCommand(repo, options, command));
12446
12446
  sessions.command("stop").description("Stop the active run for a session").argument("<session-id>", "Session ID").addHelpText(
12447
12447
  "after",
12448
12448
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.290",
3
+ "version": "0.1.291",
4
4
  "description": "CLI for Arcanist - create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {