Skip to content

Add machine-readable JSON output for AI agents - #18

Merged
itsflaid merged 1 commit into
mainfrom
codex/add-json-agent-output
Jun 15, 2026
Merged

Add machine-readable JSON output for AI agents#18
itsflaid merged 1 commit into
mainfrom
codex/add-json-agent-output

Conversation

@itsflaid

Copy link
Copy Markdown
Owner

Summary

  • add --json support to init, analyze, ask, doctor, and config model
  • emit exactly one parseable JSON document without ANSI or terminal decoration
  • return structured ask results with relevant files, model, and token usage
  • return structured doctor diagnostics and runtime errors
  • keep init JSON mode non-interactive for agent automation
  • document agent usage in generated DEVMAP.md, README, PRD, architecture, command, generated-file, and testing docs
  • include the updated README positioning and usage content
  • verify JSON behavior from the packed npm artifact

Verification

  • pnpm test:cli (62/62)
  • pnpm build:cli
  • pnpm test:package-e2e
  • git diff --check

Closes #17

Co-authored-by: devmap-agent <238585242+devmap-agent@users.noreply.github.com>
@itsflaid
itsflaid merged commit 5fa3ec8 into main Jun 15, 2026
9 checks passed
@itsflaid
itsflaid deleted the codex/add-json-agent-output branch June 15, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add machine-readable JSON output for AI agents

1 participant