Skip to content

feat: add react devtools passthrough#435

Merged
thymikee merged 5 commits intomainfrom
codex/react-devtools-passthrough
Apr 24, 2026
Merged

feat: add react devtools passthrough#435
thymikee merged 5 commits intomainfrom
codex/react-devtools-passthrough

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

Summary

Adds agent-device react-devtools [...args] as a CLI-side passthrough to pinned agent-react-devtools@0.4.0 for React Native component tree inspection and render profiling.

Updates README, website docs, and bundled skills so React Native internals workflows are discoverable. Touched 20 files; scope stayed within the new command, tests, docs, and skills.

Validation

  • pnpm format
  • pnpm check:quick
  • pnpm test:unit -- src/__tests__/cli-react-devtools.test.ts src/__tests__/cli-help.test.ts src/utils/__tests__/args.test.ts
  • node --experimental-strip-types src/bin.ts react-devtools --help
  • node --experimental-strip-types src/bin.ts help react-devtools

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-24 22:54 UTC

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5687c8cafe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/utils/args.ts Outdated
Comment on lines +53 to +55
if (command === 'react-devtools') {
positionals.push(arg);
continue;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep global flags parseable after react-devtools command

This early return makes every token after react-devtools bypass flag parsing, so standard global options like --json, --debug, --config, or --session are no longer recognized when users place them after the command (the ordering used by other commands). For example, agent-device react-devtools status --json now forwards --json to the downstream tool instead of applying agent-device JSON behavior, which can break existing automation and contradict the command help’s global-flag contract. Parse global flags normally and only passthrough the remainder after an explicit boundary (or equivalent logic).

Useful? React with 👍 / 👎.

@thymikee thymikee merged commit b0813ca into main Apr 24, 2026
15 checks passed
@thymikee thymikee deleted the codex/react-devtools-passthrough branch April 24, 2026 22:54
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.

1 participant