Repository navigation
feat: add app-intel - #88
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Visual regression (codex)No visual changes from main. |
There was a problem hiding this comment.
🟡 Changes recommended
Several moderate active issues remain, including a missing destructive-action annotation, broken deep-link handling, unintended simulator backend startup, and stale project data overwriting newer selections.
4 open issues
What changed in this PR
Adds App Intelligence, a worker-backed static React Native analyzer with MCP tools, persistence, interactive dependency visualization, host integrations, telemetry, packaging, documentation, and tests.
Changes:
- Adds screen discovery, dependency analysis, lookup APIs, snapshots, cancellation, and App Intelligence MCP tools.
- Adds the App Intelligence workspace panel with project selection, filtering, graph visualization, grouping, deep-linking, and accessibility controls.
- Integrates App Intelligence across Codex, Claude, browser panels, macOS, runtime packaging, telemetry, skills, and test suites.
- Extracts a shared confirmation-button component for storage workflows.
Review findings include duplicate React Navigation screen names overwriting analyzer records (moderate, 1 vote); missing destructive metadata for app-intelligence clearing (moderate, 2 votes); incorrect cancellation telemetry (nit, 1 vote); browser-panel deep links dropping appIntelScreen (moderate, 4 votes); App Intelligence openings unnecessarily starting device infrastructure (moderate, 2 votes); stale panel responses overwriting newer project state (moderate, 2 votes); cancellation failures being reported as success (moderate, 1 vote); pin clicks toggling fold groups (moderate, 1 vote); and highlight buttons lacking accessible names (moderate, 1 vote).
| File | Summary |
|---|---|
tooling/server-bundle.mjs |
Adds the App Intelligence worker bundle entry. |
tooling/hosts/visual.spec.ts |
Includes App Intelligence in visual host coverage. |
tooling/hosts/hosts.spec.ts |
Verifies App Intelligence host tool selection. |
tooling/host-runtime.mjs |
Includes the worker in staged runtime files. |
test-codex-local.sh |
Adds local build, packaging, and App Intelligence smoke checks. |
packages/ui/test/ui-telemetry.test.ts |
Tests App Intelligence telemetry privacy and measurements. |
packages/ui/test/react-ui.test.ts |
Adds App Intelligence to workspace test fixtures. |
packages/ui/test/app-intelligence-view.test.ts |
Tests App Intelligence view interactions and states. |
packages/ui/test/app-intelligence-layout.test.ts |
Tests graph classification, grouping, layout, and geometry. |
packages/ui/src/workspace-tools.ts |
Registers and manages the App Intelligence panel. |
packages/ui/src/style.css |
Adds App Intelligence animation and reduced-motion styles. |
packages/ui/src/components/storage-view.tsx |
Uses the shared confirmation component. |
packages/ui/src/components/storage-parts.tsx |
Removes the duplicated confirmation component. |
packages/ui/src/components/storage-browse.tsx |
Uses the shared confirmation component. |
packages/ui/src/components/confirm-button.tsx |
Adds the shared confirmation popover component. |
packages/ui/src/components/app-intelligence-view.tsx |
Implements the App Intelligence visualization and controls. |
packages/ui/src/app-intelligence-panel.ts |
Manages App Intelligence state and server operations. |
packages/ui/src/app-intelligence-layout.ts |
Provides graph classification, traversal, grouping, and layout utilities. |
packages/skills/mobile-dev/SKILL.md |
Documents App Intelligence workflows. |
packages/shared/src/telemetry.ts |
Adds the app-intel telemetry surface. |
packages/shared/src/panel-target.ts |
Adds workspace-tool and App Intelligence screen targeting. |
packages/shared/src/app-intelligence.ts |
Defines App Intelligence snapshot, query, and tool contracts. |
packages/mcp-app/src/workspace-app.tsx |
Handles App Intelligence tool and screen selection. |
packages/mcp-app/src/components/workspace.tsx |
Renders and switches to the App Intelligence panel. |
packages/mcp-app/src/browser-panel.ts |
Supports App Intelligence browser-panel launches. |
packages/core/test/telemetry.test.ts |
Tests App Intelligence telemetry filtering. |
packages/core/test/plugin.test.ts |
Tests opening-tool registration and metadata. |
packages/core/test/browser-panel.test.ts |
Covers App Intelligence browser-panel behavior. |
packages/core/test/app-intelligence.test.ts |
Tests analysis, workers, aliases, packages, reachability, and preferences. |
packages/core/src/telemetry.ts |
Adds App Intelligence server metrics and context allowlisting. |
packages/core/src/profile-picker.ts |
Generalizes project-folder picker wording. |
packages/core/src/plugin.ts |
Registers App Intelligence services and tools. |
packages/core/src/panel-tools.ts |
Adds the mobile_open_app_intel opening tool. |
packages/core/src/app-intelligence/worker.ts |
Runs analysis in a worker thread. |
packages/core/src/app-intelligence/tools.ts |
Registers generation, query, project, snapshot, clear, status, and cancellation tools. |
packages/core/src/app-intelligence/storage.ts |
Persists project preferences and snapshots. |
packages/core/src/app-intelligence/service.ts |
Coordinates validation, worker runs, cancellation, and snapshot lifecycle. |
packages/core/src/app-intelligence/lookup.ts |
Implements paginated graph and dependency queries. |
packages/core/src/app-intelligence/analyzer.ts |
Discovers screens, resolves imports, builds graph edges, and computes reachability. |
package.json |
Adds Babel parser and enhanced-resolve dependencies. |
package-lock.json |
Locks the new and updated dependency graph. |
docs/telemetry.md |
Documents App Intelligence metrics and privacy boundaries. |
apps/mac/web/mac-workspace.tsx |
Adds App Intelligence rendering to the Mac workspace. |
apps/mac/Sources/MobileDev/Tool.swift |
Adds App Intelligence to the native Mac tool menu. |
apps/codex-plugin/tooling/smoke-package.mjs |
Verifies packaged App Intelligence UI controls. |
apps/codex-plugin/test/workspace-opening.test.ts |
Tests deep-linked App Intelligence screen selection. |
apps/claude/skills/mobile-dev/SKILL.md |
Documents App Intelligence workflows for Claude hosts. |
Review effort: Lite

Description
This introduces the app intel feature to the plugin.