automata-cli 0.1.0-009-codex-flag-implement-next.69 → 0.1.0-009-codex-flag-implement-next.73

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 +10 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -957,7 +957,12 @@ function handleSpawnError(error, toolName) {
957
957
  process.exit(1);
958
958
  }
959
959
  function handleExitCode(status, toolName) {
960
- if (status !== null && status !== 0) {
960
+ if (status === null) {
961
+ process.stderr.write(`Error: ${toolName} terminated abnormally (exit code is null, likely due to a signal).
962
+ `);
963
+ process.exit(1);
964
+ }
965
+ if (status !== 0) {
961
966
  process.stderr.write(`Error: ${toolName} exited with code ${status}.
962
967
  `);
963
968
  process.exit(status);
@@ -1168,18 +1173,18 @@ function summarizeCodexTool(name, input) {
1168
1173
  case "shell":
1169
1174
  return `running: ${truncate(String(input["cmd"] ?? input["command"] ?? ""), 80)}`;
1170
1175
  case "read_file":
1171
- return `reading ${input["path"] ?? "file"}`;
1176
+ return `reading ${String(input["path"] ?? "file")}`;
1172
1177
  case "write_file":
1173
- return `writing ${input["path"] ?? "file"}`;
1178
+ return `writing ${String(input["path"] ?? "file")}`;
1174
1179
  case "list_files":
1175
- return `listing files: ${input["path"] ?? "."}`;
1180
+ return `listing files: ${String(input["path"] ?? ".")}`;
1176
1181
  default:
1177
1182
  return `tool: ${name}`;
1178
1183
  }
1179
1184
  }
1180
1185
 
1181
1186
  // src/commands/getReady.ts
1182
- var implementNextCommand = new Command3("implement-next").description("Find the next open GitHub issue matching the configured filter, claim it, and invoke Claude Code").option("--json", "Output issue details as JSON").option("--no-claude", "Skip Claude Code invocation after claiming the issue").option("--codex", "Use Codex CLI instead of Claude Code").option("--query-only", "Print issue content and exit without claiming or invoking Claude").option("--yolo", "Launch with --dangerously-skip-permissions (Claude) or --dangerously-bypass-approvals-and-sandbox (Codex)").option("--verbose", "Show step-by-step progress summary and final result").option("--opus", "Use claude-opus-4-6").option("--sonnet", "Use claude-sonnet-4-6").option("--haiku", "Use claude-haiku-4-5-20251001").action(async (options) => {
1187
+ var implementNextCommand = new Command3("implement-next").description("Find the next open GitHub issue matching the configured filter, claim it, and invoke the AI code assistant (Claude or Codex)").option("--json", "Output issue details as JSON").option("--no-claude", "Skip all AI invocation (Claude or Codex) after claiming the issue").option("--codex", "Use Codex CLI instead of Claude Code").option("--query-only", "Print issue content and exit without claiming or invoking any AI tools").option("--yolo", "Launch with --dangerously-skip-permissions (Claude) or --dangerously-bypass-approvals-and-sandbox (Codex)").option("--verbose", "Show step-by-step progress summary and final result").option("--opus", "Use claude-opus-4-6").option("--sonnet", "Use claude-sonnet-4-6").option("--haiku", "Use claude-haiku-4-5-20251001").action(async (options) => {
1183
1188
  const config = readConfig();
1184
1189
  if (config.remoteType !== "gh") {
1185
1190
  process.stderr.write(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automata-cli",
3
- "version": "0.1.0-009-codex-flag-implement-next.69",
3
+ "version": "0.1.0-009-codex-flag-implement-next.73",
4
4
  "description": "Automata CLI tool",
5
5
  "type": "module",
6
6
  "bin": {