@tryarcanist/cli 0.1.162 → 0.1.163
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -434,7 +434,7 @@ function randomIdempotencyKey() {
|
|
|
434
434
|
}
|
|
435
435
|
function assertArcanistSessionMutationAllowed(subcommand) {
|
|
436
436
|
const role = process.env.ARCANIST_AGENT_ROLE?.trim();
|
|
437
|
-
if (role !== "verification"
|
|
437
|
+
if (role !== "verification") return;
|
|
438
438
|
throw new CliError(
|
|
439
439
|
"user",
|
|
440
440
|
`\`arcanist sessions ${subcommand}\` is disabled inside ${role} sessions because nested Arcanist sessions are not observable to the verifier.`,
|