@tryarcanist/cli 0.1.177 → 0.1.178

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4574,7 +4574,7 @@ async function sandboxRebuildStaleCommand(options = {}, command) {
4574
4574
  dryRun: Boolean(options.dryRun)
4575
4575
  })
4576
4576
  }).catch((error) => {
4577
- if (error instanceof CliError && /403|Forbidden/.test(error.message)) {
4577
+ if (error instanceof ApiError && error.status === 403) {
4578
4578
  throw new CliError("auth", "Only Arcanist internal admins can rebuild stale sandbox layers.");
4579
4579
  }
4580
4580
  throw error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.177",
3
+ "version": "0.1.178",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {