@tryarcanist/cli 0.1.86 → 0.1.87

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 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1421,6 +1421,7 @@ var ERROR_CODES = [
1421
1421
  "codex_session_create_timeout",
1422
1422
  "codex_prompt_dispatch_timeout",
1423
1423
  "codex_not_ready",
1424
+ "codex_transport_closed",
1424
1425
  "codex_unrecoverable",
1425
1426
  "unknown"
1426
1427
  ];
@@ -1454,6 +1455,7 @@ var ERROR_CODE_LABELS = {
1454
1455
  codex_session_create_timeout: "Codex session creation timed out",
1455
1456
  codex_prompt_dispatch_timeout: "Codex prompt dispatch timed out",
1456
1457
  codex_not_ready: "Codex did not become ready",
1458
+ codex_transport_closed: "Codex transport closed",
1457
1459
  codex_unrecoverable: "Codex unrecoverable failure",
1458
1460
  unknown: "Unknown failure"
1459
1461
  };
@@ -2187,7 +2189,6 @@ async function listSessionsCommand(options, command) {
2187
2189
  if (options.status) query.set("status", options.status);
2188
2190
  if (options.scope) query.set("scope", options.scope);
2189
2191
  if (options.search) query.set("q", options.search);
2190
- if (options.tag) query.set("tag", options.tag);
2191
2192
  if (options.repo) query.set("repo", options.repo);
2192
2193
  if (options.limit) query.set("limit", options.limit);
2193
2194
  if (options.cursor) query.set("cursor", options.cursor);
@@ -2207,9 +2208,7 @@ async function listSessionsCommand(options, command) {
2207
2208
  const id = String(session.id ?? session.sessionId ?? "");
2208
2209
  const status = String(session.status ?? "");
2209
2210
  const title = typeof session.title === "string" ? ` ${session.title}` : "";
2210
- const tags = Array.isArray(session.titleTags) ? session.titleTags.filter((tag) => typeof tag === "string") : [];
2211
- const tagText = tags.length > 0 ? ` tags: ${tags.join(", ")}` : "";
2212
- console.log(`${id} ${status}${title}${tagText}`);
2211
+ console.log(`${id} ${status}${title}`);
2213
2212
  }
2214
2213
  if (payload.nextCursor) console.log(`Next cursor: ${payload.nextCursor}`);
2215
2214
  }
@@ -2606,21 +2605,21 @@ Examples:
2606
2605
  arcanist sessions get <session-id> --json
2607
2606
  `
2608
2607
  ).action((sessionId, options, command) => getSessionCommand(sessionId, options, command));
2609
- sessions.command("list").description("List sessions").option("--status <status>", "Filter by session status").option("--scope <scope>", "Session scope: mine or business").option("--search <query>", "Search session titles, tags, and repo metadata").option("--tag <tag>", "Filter by generated session tag").option("--repo <repo>", "Filter by repo metadata").option("--limit <n>", "Maximum sessions to return").option("--cursor <cursor>", "Pagination cursor").addHelpText(
2608
+ sessions.command("list").description("List sessions").option("--status <status>", "Filter by session status").option("--scope <scope>", "Session scope: mine or business").option("--search <query>", "Search session titles and repo metadata").option("--repo <repo>", "Filter by repo metadata").option("--limit <n>", "Maximum sessions to return").option("--cursor <cursor>", "Pagination cursor").addHelpText(
2610
2609
  "after",
2611
2610
  `
2612
2611
  Examples:
2613
2612
  arcanist sessions list
2614
2613
  arcanist sessions list --status idle --json
2615
- arcanist sessions list --search "architect agent" --tag codex
2614
+ arcanist sessions list --search "architect agent" --repo owner/repo
2616
2615
  `
2617
2616
  ).action((options, command) => listSessionsCommand(options, command));
2618
- sessions.command("search").description("Search sessions by title, tag, and repo metadata").argument("<query>", "Search query").option("--status <status>", "Filter by session status").option("--scope <scope>", "Session scope: mine or business").option("--tag <tag>", "Filter by generated session tag").option("--repo <repo>", "Filter by repo metadata").option("--limit <n>", "Maximum sessions to return").option("--cursor <cursor>", "Pagination cursor").addHelpText(
2617
+ sessions.command("search").description("Search sessions by title and repo metadata").argument("<query>", "Search query").option("--status <status>", "Filter by session status").option("--scope <scope>", "Session scope: mine or business").option("--repo <repo>", "Filter by repo metadata").option("--limit <n>", "Maximum sessions to return").option("--cursor <cursor>", "Pagination cursor").addHelpText(
2619
2618
  "after",
2620
2619
  `
2621
2620
  Examples:
2622
2621
  arcanist sessions search "architect agent"
2623
- arcanist sessions search "mcp debugging" --tag codex --json
2622
+ arcanist sessions search "mcp debugging" --repo owner/repo --json
2624
2623
  `
2625
2624
  ).action((query, options, command) => searchSessionsCommand(query, options, command));
2626
2625
  sessions.command("events").description("Read or follow session replay events").argument("<session-id>", "Session ID").option("--after-sequence <n>", "Return events after this sequence").option("--after <n>", "Alias for --after-sequence").option("--before-sequence <n>", "Return events before this sequence").option("--before <n>", "Alias for --before-sequence").option("--prompt-id <id>", "Filter events by prompt ID").option("--limit <n>", "Maximum events to return").option("--follow", "Follow events until the session is idle").option("--poll-interval <ms>", "Polling interval in milliseconds", String(DEFAULT_WATCH_POLL_INTERVAL_MS)).addHelpText(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.86",
3
+ "version": "0.1.87",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {