@tryarcanist/cli 0.1.128 → 0.1.130

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 +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3693,7 +3693,7 @@ async function getSessionCommand(sessionId, options, command) {
3693
3693
  }
3694
3694
  const session = payload.session && typeof payload.session === "object" ? payload.session : payload;
3695
3695
  console.log(`Session: ${String(session.sessionId ?? session.id ?? sessionId)}`);
3696
- console.log(`Status: ${String(session.status ?? "unknown")}`);
3696
+ console.log(`Status: ${String(session.phase ?? session.status ?? "unknown")}`);
3697
3697
  if (session.repoUrl) console.log(`Repo: ${String(session.repoUrl)}`);
3698
3698
  if (session.title) console.log(`Title: ${String(session.title)}`);
3699
3699
  }
@@ -3729,7 +3729,12 @@ async function sessionEventsCommand(sessionId, options, command) {
3729
3729
  writeJson(payload);
3730
3730
  return;
3731
3731
  }
3732
- const promptLabels = await fetchPromptLabels(config, sessionId).catch(() => /* @__PURE__ */ new Map());
3732
+ const promptLabels = await fetchPromptLabels(config, sessionId).catch((err) => {
3733
+ console.error(
3734
+ `Warning: failed to fetch prompt labels for session ${sessionId}: ${err instanceof Error ? err.message : String(err)}`
3735
+ );
3736
+ return /* @__PURE__ */ new Map();
3737
+ });
3733
3738
  const state = { promptLabels, toolCalls: /* @__PURE__ */ new Map() };
3734
3739
  let textOpen = false;
3735
3740
  for (const event of payload.events) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.128",
3
+ "version": "0.1.130",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {