Skip to content

Commit 283be43

Browse files
chore(release): version packages (#43)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 86ae01d commit 283be43

File tree

10 files changed

+62
-81
lines changed

10 files changed

+62
-81
lines changed

.changeset/daemon-auto-restart.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/error-warning-counts.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/fix-inspect-hooks-and-numeric-ids.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/profile-diff.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/profile-export.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/profile-timeline-pagination.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/smart-tree-truncation.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.changeset/uninit-command.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/agent-react-devtools/CHANGELOG.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,66 @@
11
# agent-react-devtools
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- 0c307e2: Track and expose component error/warning counts
8+
9+
Components now track error and warning counts from the React DevTools protocol (`UPDATE_ERRORS_OR_WARNINGS` operations).
10+
11+
- New `errors` command lists components with non-zero error or warning counts
12+
- `get component` output includes error/warning counts when non-zero
13+
- Tree, search, and component output annotates affected components (e.g., `@c5 [fn] Form ⚠2 ✗1`)
14+
15+
- 65c391f: Add `profile diff <before.json> <after.json>` command
16+
17+
- Compares two profiling exports side by side
18+
- Shows regressed, improved, new, and removed components
19+
- Aggregates by display name, computes avg/max duration deltas
20+
- Configurable threshold filters noise from insignificant changes (default 5%, adjust with `--threshold`)
21+
- No daemon required - works purely on exported JSON files
22+
23+
- 5c5ace6: Add `profile export <file>` command
24+
25+
- Exports profiling session as a JSON file compatible with the React DevTools Profiler
26+
- Import the file in the browser extension's Profiler tab to visualize flame graphs, ranked charts, and commit timelines
27+
- Includes commit data, fiber durations, change descriptions, effect durations, and component snapshots
28+
29+
- b0e64b8: Pagination and sorting for `profile timeline`
30+
31+
Large profiling sessions no longer flood agent context with hundreds of commits:
32+
33+
- **Default limit of 20**: `profile timeline` returns at most 20 entries unless `--limit N` is specified.
34+
- **`--offset N` flag**: Skip the first N commits for pagination.
35+
- **`--sort duration`**: Sort commits by render duration (slowest first) instead of chronological order.
36+
- **Paginated header**: Output shows `Commit timeline (showing 1–20 of 87):` when paginated, or `Commit timeline (87 commits):` when all results fit on one page.
37+
38+
- a1bed65: Smart tree truncation and subtree extraction for large component trees
39+
40+
Large React apps (500-2000+ components) now produce much smaller `get tree` output:
41+
42+
- **Host filtering by default**: `<div>`, `<span>`, and other host components are hidden (use `--all` to show them). Host components with keys or custom element names are always shown.
43+
- **Sibling collapsing**: When a parent has many children with the same display name (e.g. list items), only the first 3 are shown with a `... +N more ComponentName` summary.
44+
- **Summary footer**: Output ends with `N components shown (M total)` so the agent knows how much was filtered.
45+
- **`--max-lines N` flag**: Hard cap on output lines to stay within context budgets.
46+
- **Subtree extraction**: `get tree @c5` shows only the subtree rooted at a specific component. Labels are re-assigned starting from `@c1` within the subtree. Combine with `--depth N` to limit depth within the subtree.
47+
48+
- c7127db: Add `uninit` command to reverse framework configuration
49+
50+
`agent-react-devtools uninit` removes the changes made by `init` — restoring your config files to their original state.
51+
52+
- Supports all frameworks: Vite, Next.js (Pages Router and App Router), CRA
53+
- `--dry-run` flag previews what would be removed without writing any files
54+
- Safe to run on projects not configured by `init` (no-op)
55+
56+
### Patch Changes
57+
58+
- 68bd0fc: Auto-restart daemon when CLI detects the binary has been rebuilt since the daemon started. Previously, rebuilding the package required manually stopping and restarting the daemon for changes to take effect.
59+
- 90d1344: Fix component inspection crash and unresolvable find results
60+
61+
- Fixed a crash in hook parsing that caused `get component` to silently time out on all components in affected apps
62+
- Components outside the labeled tree range now show a usable ID (e.g. `@c?(id:667)`) in `find` results
63+
364
## 0.3.0
465

566
### Minor Changes

packages/agent-react-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agent-react-devtools",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "CLI tool for AI agents to inspect React component trees and profile performance",
55
"type": "module",
66
"bin": {

0 commit comments

Comments
 (0)