@tryarcanist/cli 0.1.255 → 0.1.256

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 CHANGED
@@ -430,7 +430,7 @@ Creates a scheduled automation for a GitHub repo. Create/delete require a write-
430
430
  ```bash
431
431
  arcanist automations create your-org/your-repo "summarize new regressions" --cron "*/15 * * * *"
432
432
  arcanist automations create your-org/your-repo "audit N+1s" --cron "0 13 * * 5" --model gpt-5.5
433
- arcanist automations create your-org/your-repo "/audit-prod-docs https://docs.tryarcanist.com/" --cron "0 8 * * *" --slack-team-id T0123ABC --slack-channel-id C0456DEF
433
+ arcanist automations create your-org/your-repo "/your-repo-skill" --cron "0 8 * * *" --slack-team-id T0123ABC --slack-channel-id C0456DEF
434
434
  printf "summarize new regressions" | arcanist automations create your-org/your-repo --prompt-stdin --cron "*/15 * * * *" --json
435
435
  arcanist automations create https://github.com/your-org/your-repo - --cron "0 14 * * 1-5" --name "Weekday summary"
436
436
  ```
package/dist/index.js CHANGED
@@ -8725,7 +8725,7 @@ var AUTOMATION_ERROR_HINTS = {
8725
8725
  invalid_model: "Model is unknown or not selectable for its backend. Run `arcanist automations create --help` for allowed models.",
8726
8726
  repo_not_available: "Check that the token owner has GitHub access and Arcanist is installed for that repo.",
8727
8727
  duplicate_rule: "An enabled automation already exists for this repo, cron, and prompt.",
8728
- invalid_skill: "Use a leading slash skill that exists in the selected repo, for example: /audit-prod-docs",
8728
+ invalid_skill: "Use a leading slash skill that exists in the selected repo, for example: /your-repo-skill",
8729
8729
  invalid_slack_target: "Pass both --slack-team-id and --slack-channel-id to enable Slack delivery.",
8730
8730
  slack_workspace_not_connected: "Connect that Slack workspace to Arcanist before creating the automation.",
8731
8731
  slack_channel_unavailable: "Check the Slack channel ID and confirm the bot can see the channel.",
@@ -11549,6 +11549,13 @@ async function reviewCommand(prUrl, options = {}, command) {
11549
11549
  ...options.model !== void 0 ? { model: options.model } : {}
11550
11550
  })
11551
11551
  });
11552
+ if (trigger.skipped && trigger.reason === "duplicate_diff") {
11553
+ emit(command, options, trigger, (payload) => {
11554
+ const source = payload.sourcePrUrl ? sanitizeTerminalText(payload.sourcePrUrl) : "a prior pull request";
11555
+ console.log(`Zeus review skipped: this pull request has the same diff as ${source}.`);
11556
+ });
11557
+ return;
11558
+ }
11552
11559
  if (!options.wait || trigger.cached) {
11553
11560
  emit(command, options, trigger, (payload) => {
11554
11561
  if (payload.cached) console.log(`Zeus review already completed: ${payload.verdict ?? "unknown"}.`);
@@ -13318,7 +13325,7 @@ automations.command("create").description("Create a scheduled automation").argum
13318
13325
  Examples:
13319
13326
  arcanist automations create tryarcanist/arcanist "summarize regressions" --cron "*/15 * * * *"
13320
13327
  arcanist automations create tryarcanist/arcanist "audit N+1s" --cron "0 13 * * 5" --model gpt-5.5
13321
- arcanist automations create tryarcanist/arcanist "/audit-prod-docs https://docs.tryarcanist.com/" --cron "0 8 * * *" --slack-team-id T0123ABC --slack-channel-id C0456DEF
13328
+ arcanist automations create tryarcanist/arcanist "/audit-zeus-day yesterday" --cron "0 8 * * *" --slack-team-id T0123ABC --slack-channel-id C0456DEF
13322
13329
  printf "summarize regressions" | arcanist automations create tryarcanist/arcanist --prompt-stdin --cron "*/15 * * * *" --json
13323
13330
  `
13324
13331
  ).action((repoUrl, prompt, options, command) => createAutomationCommand(repoUrl, prompt, options, command));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.255",
3
+ "version": "0.1.256",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {