researchclaw run --resume --auto-approve
Preflight check... FAILED — ACP session init failed: Failed to create ACP session: Failed to parse JSON message: Work seamlessly with GitHub from the command line. SyntaxError: Unexpected token 'W', "Work seaml"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: USAGE SyntaxError: Unexpected token 'U', "USAGE" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: gh <command> <subcommand> [flags] SyntaxError: Unexpected token 'g', "gh <comman"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: CORE COMMANDS SyntaxError: Unexpected token 'C', "CORE COMMANDS" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: auth: Authenticate gh and git with GitHub SyntaxError: Unexpected token 'a', "auth: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: browse: Open repositories, issues, pull requests, and more in the browser SyntaxError: Unexpected token 'b', "browse: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: codespace: Connect to and manage codespaces SyntaxError: Unexpected token 'c', "codespace:"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: gist: Manage gists SyntaxError: Unexpected token 'g', "gist: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: issue: Manage issues SyntaxError: Unexpected token 'i', "issue: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: org: Manage organizations SyntaxError: Unexpected token 'o', "org: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: pr: Manage pull requests SyntaxError: Unexpected token 'p', "pr: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: project: Work with GitHub Projects. SyntaxError: Unexpected token 'p', "project: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: release: Manage releases SyntaxError: Unexpected token 'r', "release: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: repo: Manage repositories SyntaxError: Unexpected token 'r', "repo: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: GITHUB ACTIONS COMMANDS SyntaxError: Unexpected token 'G', "GITHUB ACT"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: cache: Manage GitHub Actions caches SyntaxError: Unexpected token 'c', "cache: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: run: View details about workflow runs SyntaxError: Unexpected token 'r', "run: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: workflow: View details about GitHub Actions workflows SyntaxError: Unexpected token 'w', "workflow: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: ALIAS COMMANDS SyntaxError: Unexpected token 'A', "ALIAS COMMANDS" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: co: Alias for "pr checkout" SyntaxError: Unexpected token 'c', "co: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: ADDITIONAL COMMANDS SyntaxError: Unexpected token 'A', "ADDITIONAL COMMANDS" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: agent-task: Work with agent tasks (preview) SyntaxError: Unexpected token 'a', "agent-task"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: alias: Create command shortcuts SyntaxError: Unexpected token 'a', "alias: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: api: Make an authenticated GitHub API request SyntaxError: Unexpected token 'a', "api: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: attestation: Work with artifact attestations SyntaxError: Unexpected token 'a', "attestatio"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: completion: Generate shell completion scripts SyntaxError: Unexpected token 'c', "completion"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: config: Manage configuration for gh SyntaxError: Unexpected token 'c', "config: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: copilot: Run the GitHub Copilot CLI (preview) SyntaxError: Unexpected token 'c', "copilot: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: extension: Manage gh extensions SyntaxError: Unexpected token 'e', "extension:"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: gpg-key: Manage GPG keys SyntaxError: Unexpected token 'g', "gpg-key: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: label: Manage labels SyntaxError: Unexpected token 'l', "label: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: licenses: View third-party license information SyntaxError: Unexpected token 'l', "licenses: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: preview: Execute previews for gh features SyntaxError: Unexpected token 'p', "preview: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: ruleset: View info about repo rulesets SyntaxError: Unexpected token 'r', "ruleset: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: search: Search for repositories, issues, and pull requests SyntaxError: Unexpected token 's', "search: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: secret: Manage GitHub secrets SyntaxError: Unexpected token 's', "secret: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: ssh-key: Manage SSH keys SyntaxError: Unexpected token 's', "ssh-key: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: status: Print information about relevant issues, pull requests, and notifications across repositories SyntaxError: Unexpected token 's', "status: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: variable: Manage GitHub Actions variables SyntaxError: Unexpected token 'v', "variable: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: HELP TOPICS SyntaxError: Unexpected token 'H', "HELP TOPICS" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: accessibility: Learn about GitHub CLI's accessibility experiences SyntaxError: Unexpected token 'a', "accessibil"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: actions: Learn about working with GitHub Actions SyntaxError: Unexpected token 'a', "actions: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: environment: Environment variables that can be used with gh SyntaxError: Unexpected token 'e', "environmen"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: exit-codes: Exit codes used by gh SyntaxError: Unexpected token 'e', "exit-codes"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: formatting: Formatting options for JSON data exported from gh SyntaxError: Unexpected token 'o', "formatting:"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: mintty: Information about using gh with MinTTY SyntaxError: Unexpected token 'm', "mintty: "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: reference: A comprehensive reference of all gh commands SyntaxError: Unexpected token 'r', "reference:"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: FLAGS SyntaxError: Unexpected token 'F', "FLAGS" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: --help Show help for command SyntaxError: No number after minus sign in JSON at position 1 (line 1 column 2)
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: --version Show gh version SyntaxError: No number after minus sign in JSON at position 1 (line 1 column 2)
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: EXAMPLES SyntaxError: Unexpected token 'E', "EXAMPLES" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: $ gh issue create SyntaxError: Unexpected token '$', "$ gh issue create" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: $ gh repo clone cli/cli SyntaxError: Unexpected token '$', "$ gh repo "... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: $ gh pr checkout 321 SyntaxError: Unexpected token '$', "$ gh pr checkout 321" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: LEARN MORE SyntaxError: Unexpected token 'L', "LEARN MORE" is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: Use `gh <command> <subcommand> --help` for more information about a command. SyntaxError: Unexpected token 'U', "Use `gh <c"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: Read the manual at https://cli.github.com/manual SyntaxError: Unexpected token 'R', "Read the m"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: Learn about exit codes using `gh help exit-codes` SyntaxError: Unexpected token 'L', "Learn abou"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Failed to parse JSON message: Learn about accessibility experiences using `gh help accessibility` SyntaxError: Unexpected token 'L', "Learn abou"... is not valid JSON
at JSON.parse (<anonymous>)
at Object.start (file:///home/volk/.npm-global/lib/node_modules/acpx/dist/prompt-turn-CXMtXBl-.js:1855:29)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
ACP agent exited before initialize completed (exit=0, signal=null)
volk@fedora:~/vibeprojects/AutoResearchClaw$
My config
Error