@tryarcanist/cli 0.1.127 → 0.1.129

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 +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -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.127",
3
+ "version": "0.1.129",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {