@tryarcanist/cli 0.1.83 → 0.1.84

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 +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -401,6 +401,9 @@ var TERMINAL_PHASES_ARRAY = [
401
401
  "archived"
402
402
  ];
403
403
  var TERMINAL_PHASES = new Set(TERMINAL_PHASES_ARRAY);
404
+ var TERMINAL_FOR_FALLBACK_POLLING_PHASES = new Set(
405
+ TERMINAL_PHASES_ARRAY.filter((phase) => phase !== "completed")
406
+ );
404
407
  function isTerminalPhase(phase, sessionKind) {
405
408
  if (TERMINAL_PHASES.has(phase)) return true;
406
409
  return phase === "idle" && !isRepoSession(sessionKind);
@@ -1367,6 +1370,7 @@ var ERROR_CODES = [
1367
1370
  "spawn_preconnect",
1368
1371
  "sandbox_terminated",
1369
1372
  "sandbox_disconnected",
1373
+ "session_archived",
1370
1374
  "sandbox_callback",
1371
1375
  "codex_startup_timeout",
1372
1376
  "codex_api_readiness_timeout",
@@ -1399,6 +1403,7 @@ var ERROR_CODE_LABELS = {
1399
1403
  spawn_preconnect: "Sandbox failed before connecting",
1400
1404
  sandbox_terminated: "Sandbox terminated",
1401
1405
  sandbox_disconnected: "Sandbox disconnected",
1406
+ session_archived: "Session archived while processing",
1402
1407
  sandbox_callback: "Sandbox callback failed",
1403
1408
  codex_startup_timeout: "Codex startup timed out",
1404
1409
  codex_api_readiness_timeout: "Codex API readiness timed out",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {