create-disposabl-app 0.10.3 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/dist/disposabl.js +218 -133
- package/dist/index.js +212 -47
- package/dist/templates/default/.github/scripts/apple.sh +60 -0
- package/dist/templates/default/.github/scripts/mobile.sh +10 -2
- package/dist/templates/default/.github/scripts/platforms.sh +32 -13
- package/dist/templates/default/.github/scripts/release.sh +2 -1
- package/dist/templates/default/.github/workflows/pipeline.yml +105 -44
- package/dist/templates/default/AGENTS.md +10 -2
- package/dist/templates/default/apps/desktop/README.md +5 -45
- package/dist/templates/default/apps/desktop/package.json +6 -6
- package/dist/templates/default/apps/docs/README.md +2 -4
- package/dist/templates/default/apps/docs/build.ts +10 -0
- package/dist/templates/default/apps/docs/content/backend.mdx +39 -0
- package/dist/templates/default/apps/docs/content/desktop.mdx +10 -0
- package/dist/templates/default/apps/docs/content/getting-started.mdx +26 -0
- package/dist/templates/default/apps/docs/content/index.mdx +27 -5
- package/dist/templates/default/apps/docs/content/mobile.mdx +18 -0
- package/dist/templates/default/apps/docs/content/web.mdx +14 -0
- package/dist/templates/default/apps/docs/dev.ts +40 -0
- package/dist/templates/default/apps/docs/package.json +15 -14
- package/dist/templates/default/apps/docs/press.config.ts +13 -1
- package/dist/templates/default/apps/docs/vite.config.ts +1 -0
- package/dist/templates/default/apps/mobile/.agents/skills/agent-device/SKILL.md +3 -1
- package/dist/templates/default/apps/mobile/.agents/skills/android-emulator/SKILL.md +2 -0
- package/dist/templates/default/apps/mobile/.agents/skills/dogfood/SKILL.md +1 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-app-stores/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-hosting/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/SKILL.md +7 -4
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/references/library-integrations.md +116 -0
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/references/queries.md +27 -0
- package/dist/templates/default/apps/mobile/.agents/skills/eas-observe/references/setup.md +3 -2
- package/dist/templates/default/apps/mobile/.agents/skills/eas-simulator/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-update/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-update-insights/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/eas-workflows/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-animation/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-data-fetching/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-design-system/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-dev-client/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-dom/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-examples/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/SKILL.md +25 -21
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/references/compatibility.md +136 -60
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/references/example.md +17 -16
- package/dist/templates/default/apps/mobile/.agents/skills/expo-migrate-module/references/migration-map.md +132 -50
- package/dist/templates/default/apps/mobile/.agents/skills/expo-module/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-native-ui/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-overview/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-project-structure/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-router/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-skill-eval/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-ui/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-upgrade/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/expo-web-to-native/SKILL.md +0 -1
- package/dist/templates/default/apps/mobile/.agents/skills/ios-simulator/SKILL.md +2 -0
- package/dist/templates/default/apps/mobile/.claude/skills/agent-device/SKILL.md +24 -0
- package/dist/templates/default/apps/mobile/.claude/skills/android-emulator/SKILL.md +34 -0
- package/dist/templates/default/apps/mobile/.claude/skills/dogfood/SKILL.md +27 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/SKILL.md +175 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/app-store-metadata.md +497 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/ios-app-store.md +376 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/native-ios.md +167 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/play-store.md +244 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/testflight.md +62 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-app-stores/references/workflows.md +120 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-hosting/SKILL.md +430 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-hosting/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/SKILL.md +49 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/library-integrations.md +116 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/metrics.md +98 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/queries.md +471 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/setup.md +530 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-observe/references/third-party.md +136 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/SKILL.md +236 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/controllers.md +139 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/logs-and-crashes.md +101 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/run-your-app.md +256 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-simulator/references/troubleshooting.md +56 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update/SKILL.md +145 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/SKILL.md +237 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-update-insights/references/update-insights-schema.md +69 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/SKILL.md +98 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/scripts/fetch.js +109 -0
- package/dist/templates/default/apps/mobile/.claude/skills/eas-workflows/scripts/package.json +6 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/LICENSE +21 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/RECIPES.md +385 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/SKILL.md +273 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-animation/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-app-clip/SKILL.md +290 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-app-clip/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-app-clip/references/native-module.md +96 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/SKILL.md +69 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/brownfield-integrated.md +551 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/brownfield-isolated.md +449 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/comparison.md +63 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/feature-integration.md +163 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/troubleshooting.md +88 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-brownfield/references/version-compatibility.md +40 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/SKILL.md +477 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/references/expo-router-loaders.md +341 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-data-fetching/references/offline-and-cancellation.md +68 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/SKILL.md +375 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/references/audit.md +190 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-design-system/references/native-slop.md +74 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dev-client/SKILL.md +183 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dev-client/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dom/SKILL.md +424 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-dom/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-examples/SKILL.md +105 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-examples/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-examples/references/catalog.md +105 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/SKILL.md +128 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/references/compatibility.md +206 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/references/example.md +213 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-migrate-module/references/migration-map.md +539 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/SKILL.md +150 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/config-plugin.md +90 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/create-expo-module.md +206 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/lifecycle.md +127 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/module-config.md +48 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/native-module.md +286 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-module/references/native-view.md +171 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/SKILL.md +200 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/controls.md +231 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/gradients.md +106 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/icons.md +232 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/media.md +193 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/storage.md +121 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/visual-effects.md +198 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-native-ui/references/webgpu-three.md +605 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-overview/SKILL.md +119 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-overview/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-overview/references/launch-without-dev-menu.md +24 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-project-structure/SKILL.md +113 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-project-structure/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/SKILL.md +239 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/form-sheet.md +253 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/route-structure.md +229 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/search.md +248 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/tabs.md +433 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/toolbar-and-headers.md +284 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-router/references/zoom-transitions.md +158 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/SKILL.md +313 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/agents/visual-grader.md +52 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/references/design-rubric.md +45 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/references/runtime-matrix.md +34 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/check-static.sh +64 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/clean-fixture.sh +56 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/generate_viewer.py +450 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/latest-sdk.sh +46 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/make-fixture.sh +95 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/make-workspace.sh +31 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/snapshot-android.sh +284 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/snapshot-ios.sh +132 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-skill-eval/scripts/snapshot-web.sh +61 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/SKILL.md +100 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/drop-in-replacements.md +27 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/jetpack-compose.md +73 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/swift-ui.md +73 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/references/universal.md +104 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-ui/scripts/list-components.js +193 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/SKILL.md +149 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/expo-av-to-audio.md +132 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/expo-av-to-video.md +160 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/native-tabs.md +124 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/new-architecture.md +79 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/react-19.md +79 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/react-compiler.md +59 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-upgrade/references/react-navigation-to-expo-router.md +61 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/SKILL.md +90 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/false-friends.md +119 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/native-patterns.md +39 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/run-as-goal.md +48 -0
- package/dist/templates/default/apps/mobile/.claude/skills/expo-web-to-native/references/verify-on-device.md +45 -0
- package/dist/templates/default/apps/mobile/.claude/skills/ios-simulator/SKILL.md +34 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/POWER.md +172 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/SKILL.md +238 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/agents/openai.yaml +4 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-analyze-app.md +208 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-analyze-js.md +264 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-barrel-exports.md +250 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-code-splitting.md +255 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-hermes-mmap.md +167 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-library-size.md +164 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-native-assets.md +208 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-r8-android.md +231 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/bundle-tree-shaking.md +215 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/bundle-treemap-source-map-explorer.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/controlled-textinput-pingpong.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/devtools-flamegraph.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/emerge-xray-ios.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/expo-atlas-treemap.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/flashlight-flatlist-vs-flashlist.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/fps-drop-graph.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/memory-heap-snapshot.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/tti-warm-start-diagram.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/view-hierarchy-flattening.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/xcode-instruments-templates.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/images/xcode-thread-view.png +0 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-animations-reanimated.md +273 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-atomic-state.md +190 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-bottomsheet.md +339 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-concurrent-react.md +238 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-lists-flatlist-flashlist.md +223 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-measure-fps.md +178 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-memory-leaks.md +168 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-profile-react.md +138 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-react-compiler.md +261 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/js-uncontrolled-components.md +219 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-android-16kb-alignment.md +114 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-measure-tti.md +221 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-memory-leaks.md +206 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-memory-patterns.md +240 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-platform-setup.md +112 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-profiling.md +140 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-sdks-over-polyfills.md +192 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-threading-model.md +230 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-turbo-modules.md +210 -0
- package/dist/templates/default/apps/mobile/.claude/skills/react-native-best-practices/references/native-view-flattening.md +180 -0
- package/dist/templates/default/apps/mobile/AGENTS.md +39 -10
- package/dist/templates/default/apps/mobile/README.md +32 -8
- package/dist/templates/default/apps/mobile/app.config.js +35 -6
- package/dist/templates/default/apps/mobile/metro.config.js +6 -0
- package/dist/templates/default/apps/mobile/nativewind-env.d.ts +2 -0
- package/dist/templates/default/apps/mobile/package.json +28 -16
- package/dist/templates/default/apps/mobile/postcss.config.mjs +1 -0
- package/dist/templates/default/apps/mobile/skills-lock.json +27 -27
- package/dist/templates/default/apps/mobile/src/app/(auth)/forgot-password.tsx +1 -0
- package/dist/templates/default/apps/mobile/src/app/(authenticated)/change-password.tsx +1 -0
- package/dist/templates/default/apps/mobile/src/app/_layout.tsx +1 -0
- package/dist/templates/default/apps/mobile/tsconfig.json +2 -1
- package/dist/templates/default/apps/web/.claude/skills/frontend-design/SKILL.md +71 -0
- package/dist/templates/default/apps/web/.claude/skills/web-design-guidelines/SKILL.md +39 -0
- package/dist/templates/default/apps/web/package.json +16 -16
- package/dist/templates/default/apps/web/site.json +10 -0
- package/dist/templates/default/apps/web/src/routeTree.gen.ts +260 -9
- package/dist/templates/default/apps/web/src/router/__root.tsx +44 -7
- package/dist/templates/default/apps/web/src/router/_authenticated/dashboard.tsx +2 -4
- package/dist/templates/default/apps/web/src/router/index.tsx +101 -20
- package/dist/templates/default/apps/web/vite.config.ts +53 -8
- package/dist/templates/default/bun.lock +5290 -27243
- package/dist/templates/default/bunfig.toml +4 -0
- package/dist/templates/default/disposabl.json +1 -1
- package/dist/templates/default/gitignore +1 -0
- package/dist/templates/default/package.json +13 -7
- package/dist/templates/default/packages/backend/.claude/skills/convex/SKILL.md +69 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-add/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-advisor/SKILL.md +32 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-agent/SKILL.md +25 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-auth/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-authz/SKILL.md +36 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-backup/SKILL.md +33 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-billing/SKILL.md +69 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-cost/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/SKILL.md +325 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/agents/openai.yaml +14 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/assets/icon.svg +3 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/advanced-patterns.md +146 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/hybrid-components.md +38 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/local-components.md +39 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-create-component/references/packaged-components.md +54 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-crons/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-deploy-guard/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-design/SKILL.md +30 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-docs/SKILL.md +31 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-domains/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-env/SKILL.md +24 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-expert/SKILL.md +38 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-explain-app/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-improve-convex-plugin/SKILL.md +24 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-insights/SKILL.md +32 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-launch-readiness/SKILL.md +35 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-migrate/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-migrate-rehearse/SKILL.md +31 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-monitor/SKILL.md +22 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-optimize/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-quickstart/SKILL.md +29 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-quickstart/agents/openai.yaml +14 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-quickstart/assets/icon.svg +4 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-reviewer/SKILL.md +26 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-seed/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-self-heal/SKILL.md +38 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-sentinel/SKILL.md +25 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-suggest/SKILL.md +27 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-test/SKILL.md +23 -0
- package/dist/templates/default/packages/backend/.claude/skills/convex-verify/SKILL.md +34 -0
- package/dist/templates/default/packages/backend/README.md +23 -2
- package/dist/templates/default/packages/backend/convex/_generated/api.d.ts +15 -6
- package/dist/templates/default/packages/backend/convex/_generated/server.d.ts +17 -0
- package/dist/templates/default/packages/backend/convex/auth.ts +90 -3
- package/dist/templates/default/packages/backend/convex/authEmail.ts +45 -0
- package/dist/templates/default/packages/backend/convex/authSetup.ts +4 -0
- package/dist/templates/default/packages/backend/convex/billing.ts +5 -0
- package/dist/templates/default/packages/backend/convex/convex.config.ts +38 -1
- package/dist/templates/default/packages/backend/convex/emails.ts +10 -0
- package/dist/templates/default/packages/backend/convex/files/index.ts +6 -0
- package/dist/templates/default/packages/backend/convex/files/internal.ts +5 -0
- package/dist/templates/default/packages/backend/convex/http.ts +9 -1
- package/dist/templates/default/packages/backend/convex/schema.ts +20 -19
- package/dist/templates/default/packages/backend/convex/telemetry.ts +84 -0
- package/dist/templates/default/packages/backend/convex/users/internal.ts +66 -10
- package/dist/templates/default/packages/backend/convex/users/validator.ts +14 -0
- package/dist/templates/default/packages/backend/generated/pages.json +36 -0
- package/dist/templates/default/packages/backend/package.json +8 -7
- package/dist/templates/default/packages/cli/README.md +3 -1
- package/dist/templates/default/packages/cli/auth.ts +6 -1
- package/dist/templates/default/packages/cli/client.ts +213 -0
- package/dist/templates/default/packages/cli/commands.ts +1 -293
- package/dist/templates/default/packages/cli/package.json +1 -1
- package/dist/templates/default/packages/disposabl-kit/GOOGLE_AUTH.md +37 -0
- package/dist/templates/default/packages/disposabl-kit/PAYMENTS.md +31 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/google-sign-in.tsx +78 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/legal-page.tsx +116 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/password-auth-form.tsx +221 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/password-page.tsx +37 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/ui/log-out.tsx +28 -9
- package/dist/templates/default/packages/disposabl-kit/client/lib/prerender.ts +3 -1
- package/dist/templates/default/packages/disposabl-kit/client/lib/telemetry.ts +32 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/forgot-password.tsx +92 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/login.tsx +4 -149
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/reset-password.tsx +118 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/signUp.tsx +4 -159
- package/dist/templates/default/packages/disposabl-kit/client/routes/_auth-pages/verify-email.tsx +49 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/_authenticated/change-password.tsx +123 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/delete-account.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/index.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/privacy-request.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/privacy.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/terms.tsx +7 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/pricing.tsx +223 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/route.tsx +66 -14
- package/dist/templates/default/packages/disposabl-kit/client/vite.config.ts +27 -1
- package/dist/templates/default/packages/disposabl-kit/feature-options.ts +44 -0
- package/dist/templates/default/packages/disposabl-kit/features.ts +3 -0
- package/dist/templates/default/packages/disposabl-kit/legal/README.md +7 -0
- package/dist/templates/default/packages/disposabl-kit/legal/config.ts +55 -0
- package/dist/templates/default/packages/disposabl-kit/legal/documents/privacy.ts +69 -0
- package/dist/templates/default/packages/disposabl-kit/legal/documents/terms.ts +66 -0
- package/dist/templates/default/packages/disposabl-kit/legal/index.ts +40 -0
- package/dist/templates/default/packages/disposabl-kit/legal/types.ts +6 -0
- package/dist/templates/default/packages/disposabl-kit/lib/auth-errors.ts +47 -0
- package/dist/templates/default/packages/disposabl-kit/lib/auth-session.ts +15 -0
- package/dist/templates/default/packages/disposabl-kit/lib/google-logo.png +0 -0
- package/dist/templates/default/packages/disposabl-kit/lib/indexing.ts +26 -0
- package/dist/templates/default/packages/disposabl-kit/lib/mobile-auth.ts +44 -0
- package/dist/templates/default/packages/disposabl-kit/lib/starter.ts +57 -0
- package/dist/templates/default/packages/disposabl-kit/lib/telemetry.ts +30 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/account-billing.tsx +216 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/session.ts +73 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/account-profile.tsx +128 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/appearance-settings.tsx +128 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/auth-form.tsx +168 -68
- package/dist/templates/default/packages/disposabl-kit/mobile/components/auth-ui.tsx +52 -8
- package/dist/templates/default/packages/disposabl-kit/mobile/components/email-verification.tsx +77 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/google-button.tsx +66 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/google-sign-in.tsx +121 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/settings-links.tsx +53 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/components/settings-page.tsx +58 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/accent.ts +31 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/avatar.tsx +38 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/brand-mark.tsx +18 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/native-button.tsx +20 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/preferences.tsx +234 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/primitives.tsx +229 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/theme-provider.tsx +198 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/theme.ts +13 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/themed-text.tsx +61 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/design/use-theme.ts +27 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/expo-plugin.cjs +28 -5
- package/dist/templates/default/packages/disposabl-kit/mobile/global.css +165 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/index.ts +3 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/layout.tsx +156 -23
- package/dist/templates/default/packages/disposabl-kit/mobile/lib/auth-return.ts +10 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/lib/logo-dark.png +0 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/lib/logo-light.png +0 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/account.tsx +171 -39
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/change-password.tsx +147 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/forgot-password.tsx +158 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/screens/home.tsx +162 -54
- package/dist/templates/default/packages/disposabl-kit/mobile/updates/current-update.ts +19 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/updates/foreground-check.ts +19 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/updates/update-prompt.tsx +201 -0
- package/dist/templates/default/packages/disposabl-kit/package.json +62 -22
- package/dist/templates/default/packages/disposabl-kit/payments/autumn.config.example +13 -0
- package/dist/templates/default/packages/disposabl-kit/server/billing-functions.ts +93 -0
- package/dist/templates/default/packages/disposabl-kit/server/billing.ts +119 -0
- package/dist/templates/default/packages/disposabl-kit/server/files-functions.ts +196 -0
- package/dist/templates/default/packages/disposabl-kit/server/files.ts +133 -0
- package/dist/templates/default/packages/disposabl-kit/server/google.ts +95 -0
- package/dist/templates/default/packages/disposabl-kit/server/http.ts +68 -18
- package/dist/templates/default/packages/disposabl-kit/server/lib/platform-spec.ts +99 -16
- package/dist/templates/default/packages/disposabl-kit/server/lib/static.ts +36 -5
- package/dist/templates/default/packages/disposabl-kit/server/lib/telemetry.ts +139 -0
- package/dist/templates/default/packages/sdk/package.json +1 -1
- package/dist/templates/default/packages/sdk/src/config.ts +1 -0
- package/dist/templates/default/packages/skill/SKILL.md +22 -4
- package/dist/templates/default/packages/skill/references/agent.md +28 -0
- package/dist/templates/default/packages/skill/references/delivery.md +4 -1
- package/dist/templates/default/packages/skill/references/design.md +2 -0
- package/dist/templates/default/packages/skill/references/iphone-preview.md +114 -0
- package/dist/templates/default/packages/skill/scripts/sign-iphone.py +126 -0
- package/dist/templates/default/packages/tests/README.md +63 -0
- package/dist/templates/default/packages/tests/billing.test.ts +77 -0
- package/dist/templates/default/packages/tests/components/mobile-google.test.mjs +142 -0
- package/dist/templates/default/packages/tests/components/mobile-settings.test.mjs +118 -0
- package/dist/templates/default/packages/tests/components/mobile-theme.test.mjs +122 -0
- package/dist/templates/default/packages/tests/components/mobile-updates.test.mjs +139 -0
- package/dist/templates/default/packages/tests/e2e.config.ts +90 -0
- package/dist/templates/default/packages/tests/files.test.ts +234 -0
- package/dist/templates/default/packages/tests/flows/api.e2e.ts +14 -0
- package/dist/templates/default/packages/tests/flows/backend.e2e.ts +24 -0
- package/dist/templates/default/packages/tests/flows/email-delivery.e2e.ts +93 -0
- package/dist/templates/default/packages/tests/flows/files.e2e.ts +97 -0
- package/dist/templates/default/packages/tests/flows/legal.e2e.ts +38 -0
- package/dist/templates/default/packages/tests/flows/mcp.e2e.ts +120 -0
- package/dist/templates/default/packages/tests/flows/mobile-auth-disabled.e2e.ts +33 -0
- package/dist/templates/default/packages/tests/flows/mobile.e2e.ts +12 -0
- package/dist/templates/default/packages/tests/flows/password-backend.e2e.ts +58 -0
- package/dist/templates/default/packages/tests/flows/passwords.e2e.ts +206 -0
- package/dist/templates/default/packages/tests/flows/seo.e2e.ts +34 -0
- package/dist/templates/default/packages/tests/flows/web.e2e.ts +67 -0
- package/dist/templates/default/packages/tests/helpers/mobile.ts +31 -0
- package/dist/templates/default/packages/tests/ios-ota.test.ts +267 -0
- package/dist/templates/default/packages/tests/mobile-google.test.ts +100 -0
- package/dist/templates/default/packages/tests/mobile-settings.test.ts +21 -0
- package/dist/templates/default/packages/tests/mobile-theme.test.ts +13 -0
- package/dist/templates/default/packages/tests/mobile-updates-component.test.ts +14 -0
- package/dist/templates/default/packages/tests/mobile-updates.test.ts +122 -0
- package/dist/templates/default/packages/tests/native-billing.test.ts +138 -0
- package/dist/templates/default/packages/tests/package.json +24 -0
- package/dist/templates/default/packages/tests/project.ts +35 -0
- package/dist/templates/default/packages/tests/seo-config.test.ts +17 -0
- package/dist/templates/default/packages/tests/telemetry.test.ts +188 -0
- package/dist/templates/default/packages/tests/tsconfig.json +13 -0
- package/dist/templates/default/patches/react-native-css@3.1.0-rc.1.patch +42 -0
- package/dist/templates/default/vendor/README.md +27 -23
- package/dist/templates/default/vendor/convex-auth-437831bd-disposabl.1.tgz +0 -0
- package/package.json +8 -8
- package/dist/templates/default/.github/README.md +0 -15
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/README.md +0 -42
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/internal.ts +0 -153
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/provision.ts +0 -102
- package/dist/templates/default/packages/backend/convex/mcpEnterprise/validator.ts +0 -35
- package/dist/templates/default/packages/cli/delete.ts +0 -48
- package/dist/templates/default/packages/cli/preview.ts +0 -234
- package/dist/templates/default/packages/disposabl-kit/server/mcp/enterprise.ts +0 -267
- package/dist/templates/default/packages/disposabl-kit/server/mcp/identity.ts +0 -33
- package/dist/templates/default/vendor/convex-auth-6c0ebf3f.tgz +0 -0
- /package/dist/templates/default/apps/mobile/src/app/{(authenticated)/account.tsx → settings.tsx} +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# EAS Observe metrics — interpretation cheatsheet
|
|
2
|
+
|
|
3
|
+
Quick reference for reading EAS Observe dashboards and CLI output.
|
|
4
|
+
|
|
5
|
+
> Source: https://docs.expo.dev/eas/observe/reference/metrics/ — this is the canonical reference for metrics. Consult this page for the latest guidance, full prose definitions, optimization tips, and rationale.
|
|
6
|
+
|
|
7
|
+
All durations are in seconds. Metric data is retained for a minimum of 60 days. By default, every installation dispatches all of its events; high-volume apps can sample per installation with `configure({ sampleRate })` — see [Sampling](https://docs.expo.dev/eas/observe/configuration/#sampling).
|
|
8
|
+
|
|
9
|
+
## Target thresholds
|
|
10
|
+
|
|
11
|
+
| Metric | Full name | Target | Auto-collected? |
|
|
12
|
+
|---|---|---|---|
|
|
13
|
+
| Cold launch | `expo.app_startup.cold_launch_time` | **< 1.5s** | Yes (native-only — JS code does not affect it) |
|
|
14
|
+
| Warm launch | `expo.app_startup.warm_launch_time` | **< 0.5s** | Yes (OS decides when warm vs cold happens) |
|
|
15
|
+
| Bundle load | `expo.app_startup.bundle_load_time` | **< 0.3s** | Yes (JS load + evaluation, before `runApplication`) |
|
|
16
|
+
| Time to first render (TTR) | `expo.app_startup.ttr` | **< 2s** incl. cold launch | Yes when root is wrapped with `AppMetricsRoot` (SDK 55) / `ObserveRoot` (SDK 56+) |
|
|
17
|
+
| Time to interactive (TTI) | `expo.app_startup.tti` | **< 3s** incl. cold launch | **No** — call `markInteractive()` once the screen is genuinely usable |
|
|
18
|
+
|
|
19
|
+
Both TTR and TTI are measured *from native launch* through the React render, so the cold-launch portion counts against them.
|
|
20
|
+
|
|
21
|
+
## Interpreting TTI events (automatic params)
|
|
22
|
+
|
|
23
|
+
Every TTI event carries automatic params in three groups: frame rate, device state, and network state. Read the frame-rate group to classify *what kind* of slowness you're seeing, then read the device and network groups to decide whether the cause is the code or the conditions.
|
|
24
|
+
|
|
25
|
+
### Frame rate — what kind of slowness
|
|
26
|
+
|
|
27
|
+
| Param | Definition | What it indicates |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| `expo.frameRate.slowFrames` | Count of frames ≥ 17ms | Main thread consistently busy during launch (heavy layout, sync bridge calls, too many components rendering) |
|
|
30
|
+
| `expo.frameRate.frozenFrames` | Count of frames ≥ 700ms | Hard freezes. Even one during startup is a serious issue (sync I/O, large JSON parsing, blocking network) |
|
|
31
|
+
| `expo.frameRate.totalDelay` | Total accumulated time (seconds) frames exceeded their target duration | Best single "smoothness" number — compare to TTI |
|
|
32
|
+
|
|
33
|
+
**Diagnostic patterns:**
|
|
34
|
+
|
|
35
|
+
- **High TTI + low totalDelay** → slow but smooth. The launch sequence itself is long. Optimize bundle size, data-fetch waterfalls, initialization chains.
|
|
36
|
+
- **High TTI + high totalDelay + many slowFrames** → main-thread contention. Offload work, simplify the initial render tree.
|
|
37
|
+
- **High TTI + high totalDelay + any frozenFrames** → something is blocking hard. Look for synchronous I/O, large JSON parsing, or blocking network calls.
|
|
38
|
+
|
|
39
|
+
### Device state — is the regression environmental?
|
|
40
|
+
|
|
41
|
+
| Param | Type | What it indicates |
|
|
42
|
+
|---|---|---|
|
|
43
|
+
| `expo.device.lowPowerMode` | boolean | OS power saver was active (Low Power Mode on iOS, Battery Saver on Android). It throttles CPU, GPU, and background work. A regression that disappears when you filter this out is environmental, not a code change. |
|
|
44
|
+
| `expo.device.thermalState` | `nominal` \| `fair` \| `serious` \| `critical` \| `unknown` | Sustained `serious`/`critical` means the OS is throttling. Startup slows independently of any app change. |
|
|
45
|
+
| `expo.device.batteryLevel` | number, 0–1 | Fractional charge at TTI. Rules out throttling on devices that manage performance aggressively at low charge. Omitted when the OS reports no value. |
|
|
46
|
+
| `expo.device.batteryCharging` | boolean | Charging raises sustained CPU ceilings on iOS and some Android OEMs. Non-charging samples are the more conservative population. |
|
|
47
|
+
|
|
48
|
+
### Network state — is startup network-bound?
|
|
49
|
+
|
|
50
|
+
| Param | Type | What it indicates |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| `expo.network.connected` | boolean | If TTI degrades only when `true`, startup is network-bound. If it degrades when `false`, the app does too much before showing cached content. |
|
|
53
|
+
| `expo.network.type` | `wifi` \| `cellular` \| `ethernet` \| `none` \| `other` \| `unknown` | Compare cellular against Wi-Fi. A large gap points to network-bound startup work. VPN traffic reports the underlying transport. The value set is identical on both platforms, so dashboards need no per-platform branching. |
|
|
54
|
+
| `expo.network.isExpensive` | boolean | Both platforms. The OS considers the connection metered (cellular, hotspot). Present only when a network exists. |
|
|
55
|
+
| `expo.network.isConstrained` | boolean | **iOS only.** Low Data Mode is on for this path, so the system defers background transfers. |
|
|
56
|
+
| `expo.network.dataSaverEnabled` | boolean | **Android only.** Data Saver is on. It is the nearest equivalent of Low Data Mode, but process-wide rather than per-path, hence the separate key. |
|
|
57
|
+
|
|
58
|
+
### Network requests — was the network the cause?
|
|
59
|
+
|
|
60
|
+
TTI events summarize the HTTP requests made during launch, from the end of the native launch to the `markInteractive()` call. Traffic is observed automatically — `URLSession` on iOS, `OkHttpClient` on Android, which covers `fetch` — and Observe's own uploads are excluded. All of these are omitted when the window held no requests.
|
|
61
|
+
|
|
62
|
+
| Param | Unit | What it indicates |
|
|
63
|
+
|---|---|---|
|
|
64
|
+
| `expo.network.requests.count` | count | Requests that finished in the window. A request still in flight when the app became interactive is not counted anywhere in this table. |
|
|
65
|
+
| `expo.network.requests.failed` | count | Errored, returned 4xx/5xx, never got a response, or broke partway through the body. Redirects are not failures. |
|
|
66
|
+
| `expo.network.requests.bytesReceived` / `.bytesSent` | bytes | On-the-wire totals for the window. |
|
|
67
|
+
| `expo.network.requests.totalDuration` | seconds | Sum of every request duration, failures included. Exceeds wall-clock when requests overlap; one timeout contributes the client's full timeout interval. |
|
|
68
|
+
| `expo.network.requests.throughputBytesPerSecond` | bytes/sec | Received bytes over the time bytes were actually moving (union of transfer windows, measured from each first byte). Excludes DNS, connect, server think time, cache hits, and failures. Requests the OS did not clearly identify as network loads are excluded too. Omitted when nothing was received. |
|
|
69
|
+
| `expo.network.requests.slowest.duration` | seconds | The single longest **completed** request. Requests that never produced a response are excluded, since a timeout measures the client's own setting. |
|
|
70
|
+
| `expo.network.requests.slowest.host` | string | Host of that request. |
|
|
71
|
+
| `expo.network.requests.slowest.statusCode` | number | Explains an empty response: `bytesReceived` of 0 is routine on a 304, a problem on a 200. |
|
|
72
|
+
| `expo.network.requests.slowest.timeToFirstByte` | seconds | Includes server processing, so treat it as a proxy for network quality, not a measurement of it. |
|
|
73
|
+
| `expo.network.requests.slowest.bytesReceived` | bytes | Separates "slow because it moved a lot of data" from "slow while idle". |
|
|
74
|
+
|
|
75
|
+
**Diagnostic patterns:**
|
|
76
|
+
|
|
77
|
+
- **`slowest.duration` mostly `timeToFirstByte`** → the server was slow to answer. Optimize the endpoint, or stop blocking startup on it.
|
|
78
|
+
- **Small `timeToFirstByte` + large `bytesReceived`** → the transfer itself was slow. Shrink the payload or defer it.
|
|
79
|
+
- **High `failed` + high `totalDuration`** → the launch burned time on requests that never arrived. Add timeouts and render cached content first.
|
|
80
|
+
- **Low `throughputBytesPerSecond` on `wifi`** → suspect the population, not the code; cross-check `isExpensive` and `isConstrained` / `dataSaverEnabled`.
|
|
81
|
+
|
|
82
|
+
> The summary is bounded by an in-memory ring buffer of the 200 most recent requests. A launch that makes more undercounts, so read these as a sample of a very busy window.
|
|
83
|
+
|
|
84
|
+
### Custom params
|
|
85
|
+
|
|
86
|
+
You can attach your own params to the TTI event, and override the route name it is tagged with. See [`./setup.md`](./setup.md) for the call syntax.
|
|
87
|
+
|
|
88
|
+
## Dispatch caveats
|
|
89
|
+
|
|
90
|
+
- **Debug builds** (native debug OR JS bundle with `__DEV__` = true) do **not** dispatch metrics unless `configure({ dispatchInDebug: true })` is set.
|
|
91
|
+
- The `environment` tag (defaults to `process.env.NODE_ENV`) is metadata only — it does not gate dispatch by itself.
|
|
92
|
+
- Offline events are buffered on-device and flushed when the app backgrounds or `Observe.dispatchEvents()` is called.
|
|
93
|
+
|
|
94
|
+
## Cross-references
|
|
95
|
+
|
|
96
|
+
- Full metric definitions and optimization guidance: https://docs.expo.dev/eas/observe/reference/metrics/
|
|
97
|
+
- Setup steps (`AppMetricsRoot` / `ObserveRoot`, `markInteractive`): see [`./setup.md`](./setup.md).
|
|
98
|
+
- Querying metrics via the EAS CLI: see [`./queries.md`](./queries.md).
|
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
# EAS Observe CLI
|
|
2
|
+
|
|
3
|
+
EAS Observe collects app performance telemetry and custom events from Expo apps and exposes them through the `eas observe:*` commands. The CLI changes between releases, so treat `--help` as the source of truth: run `eas observe --help` to list the commands the installed CLI has, and `eas observe:<command> --help` for a command's current flags.
|
|
4
|
+
|
|
5
|
+
> Source: https://docs.expo.dev/eas/observe/eas-cli/ — the canonical CLI page. This reference adds table layouts, JSON output shapes, and pagination details that the docs page does not cover.
|
|
6
|
+
|
|
7
|
+
## Commands Overview
|
|
8
|
+
|
|
9
|
+
| Command | Purpose |
|
|
10
|
+
|---------|---------|
|
|
11
|
+
| `eas observe:metrics-summary` | Per-version statistical aggregates for startup and navigation metrics (median, p90, etc.) |
|
|
12
|
+
| `eas observe:metrics` | Individual metric samples ordered by value or timestamp (paginated) |
|
|
13
|
+
| `eas observe:routes` | Per-route statistical aggregates for navigation metrics (Nav Cold TTR, Nav Warm TTR, Nav TTI) |
|
|
14
|
+
| `eas observe:events` | Custom events emitted by the app via `logEvent` — name summary, all events, or filtered by event name (paginated) |
|
|
15
|
+
| `eas observe:session` | Full timeline of metric and log events for one session |
|
|
16
|
+
| `eas observe:versions` | App version hierarchy with build numbers, OTA update IDs, and event counts |
|
|
17
|
+
| `eas observe:errors` | Error groups by fingerprint; `--fingerprint <id>` lists one group's occurrences with stack traces |
|
|
18
|
+
| `eas observe:event` | One metric, log, or error event by its ID, taken from the `--json` output of `observe:session`, `observe:metrics`, or `observe:events`, or from the occurrences listed by `observe:errors --fingerprint` |
|
|
19
|
+
|
|
20
|
+
All commands take these flags:
|
|
21
|
+
|
|
22
|
+
- `--project-id <id>` — run against a specific project without needing a project directory. When passed, the command will not try to create a new EAS project where one is unneeded.
|
|
23
|
+
- `--json` — machine-readable output (implies `--non-interactive`)
|
|
24
|
+
- `--non-interactive` — fail instead of prompting
|
|
25
|
+
|
|
26
|
+
All commands **except `observe:event`** also take these flags:
|
|
27
|
+
|
|
28
|
+
- `--start <ISO date>` and `--end <ISO date>` — explicit time range
|
|
29
|
+
- `--days <N>` — show data from the last N days (mutually exclusive with `--start`/`--end`, minimum 1)
|
|
30
|
+
- `--environment <name>` — filter by environment, for example `production` or `development`
|
|
31
|
+
|
|
32
|
+
`--platform <android|ios|ipados|macos|tvos|apple>` (default: all) is on every command **except `observe:session` and `observe:event`**, which are scoped to one session or one event already. `apple` covers iOS, iPadOS, tvOS, and macOS.
|
|
33
|
+
|
|
34
|
+
Default time range is the last 60 days when none of `--days`, `--start`, `--end` is given.
|
|
35
|
+
|
|
36
|
+
**Plan gating.** Observe is a paid feature, and the server rejects queries the account's plan does not include (`EAS_OBSERVE_PLAN_UPGRADE_REQUIRED` or `EAS_OBSERVE_FEATURE_NOT_AVAILABLE_IN_FREE_TIER`). The CLI surfaces the server's upgrade message, which links to the account's billing page. Session timelines in particular are checked before the interactive picker runs. A plan-gate failure is not a bug in the command or its flags.
|
|
37
|
+
|
|
38
|
+
## Expo MCP Server tools
|
|
39
|
+
|
|
40
|
+
> Source: https://docs.expo.dev/eas/observe/mcp/
|
|
41
|
+
|
|
42
|
+
The Expo MCP Server has read-only tools that return the same data as the CLI. When the `observe_*` tools are available, use them instead of the CLI: they use the Expo account that the MCP client signed in with, so they need no EAS CLI install and no access token. The queries, metric names, and workflows in this file apply to both.
|
|
43
|
+
|
|
44
|
+
| Tool | CLI equivalent |
|
|
45
|
+
|---|---|
|
|
46
|
+
| `observe_versions` | `eas observe:versions` |
|
|
47
|
+
| `observe_metrics_summary` | `eas observe:metrics-summary` |
|
|
48
|
+
| `observe_metrics` | `eas observe:metrics` |
|
|
49
|
+
| `observe_routes` | `eas observe:routes` |
|
|
50
|
+
| `observe_event_names` | `eas observe:events` (name summary) |
|
|
51
|
+
| `observe_events` | `eas observe:events <name>`, or `--all-events` without `eventName` |
|
|
52
|
+
| `observe_session` | `eas observe:session` |
|
|
53
|
+
|
|
54
|
+
Differences from the CLI:
|
|
55
|
+
|
|
56
|
+
- **No error-group tools.** For error groups and stack traces, use `eas observe:errors` and `eas observe:event`. `observe_session` includes the errors of one session. An empty result from the other MCP tools does not mean that the app has no errors.
|
|
57
|
+
- **Project:** pass `appId` or `appFullName` (such as `@owner/my-app`). In a project directory, read the project ID from the app config.
|
|
58
|
+
- **Platform:** `platform` takes `ANDROID`, `IOS`, `IPADOS`, `MACOS`, or `TVOS`. There is no `apple` value. As in the CLI, `observe_versions`, `observe_metrics_summary`, and `observe_routes` return separate Android and iOS results without `platform`, and `observe_metrics`, `observe_event_names`, and `observe_events` return results from all platforms.
|
|
59
|
+
- **Environment:** only `observe_event_names` and `observe_events` take `environment`. `observe_versions`, `observe_metrics_summary`, `observe_metrics`, and `observe_routes` have no environment input, unlike the CLI's `--environment` flag.
|
|
60
|
+
- **Time range:** `days` (up to 365), or `start` and `end`. The default is the last 60 days. `start` and `end` must be ISO 8601 date-times with a timezone, such as `2026-10-01T00:00:00Z`. A date-only value fails. Unlike the CLI, `end` does not need `start`. `observe_session` takes no time range.
|
|
61
|
+
- **Pagination:** pass `pageInfo.endCursor` from a response back as `nextCursor`. For `observe_metrics`, `observe_events`, and `observe_routes`, also pass the returned `startTime` and `endTime` as `start` and `end`, and keep the other inputs the same. Routes paginate per platform. Session timelines paginate metrics and logs separately.
|
|
62
|
+
- **Plan gating and usage:** plan limits are the same as for the CLI. Each tool call counts toward the account's Expo MCP Server usage.
|
|
63
|
+
- **Defaults and limits:** `observe_metrics` sorts `newest` first by default. The CLI's `--sort` defaults to `oldest`. `observe_routes` takes a `limit` of up to 100, and the CLI takes up to 200. `observe_events` takes `sort`, and the CLI's `observe:events` has no `--sort`.
|
|
64
|
+
|
|
65
|
+
## Supported Metrics
|
|
66
|
+
|
|
67
|
+
### App-startup metrics
|
|
68
|
+
|
|
69
|
+
| Alias | Full name | Display |
|
|
70
|
+
|-------|-----------|---------|
|
|
71
|
+
| `tti` | `expo.app_startup.tti` | Startup TTI (time to interactive) |
|
|
72
|
+
| `ttr` | `expo.app_startup.ttr` | Startup TTR (time to render) |
|
|
73
|
+
| `cold_launch` | `expo.app_startup.cold_launch_time` | Cold Launch |
|
|
74
|
+
| `warm_launch` | `expo.app_startup.warm_launch_time` | Warm Launch |
|
|
75
|
+
| `bundle_load` | `expo.app_startup.bundle_load_time` | Bundle Load |
|
|
76
|
+
| `update_download` | `expo.updates.download_time` | Update Download |
|
|
77
|
+
|
|
78
|
+
### Navigation metrics
|
|
79
|
+
|
|
80
|
+
Emitted only when a navigation integration is enabled (SDK 56+). Measured per route name.
|
|
81
|
+
|
|
82
|
+
| Alias | Full name | Display |
|
|
83
|
+
|-------|-----------|---------|
|
|
84
|
+
| `nav_cold_ttr` | `expo.navigation.cold_ttr` | Nav Cold TTR |
|
|
85
|
+
| `nav_warm_ttr` | `expo.navigation.warm_ttr` | Nav Warm TTR |
|
|
86
|
+
| `nav_tti` | `expo.navigation.tti` | Nav TTI |
|
|
87
|
+
|
|
88
|
+
**Which command takes which alias.** `observe:metrics` (positional argument) and `observe:metrics-summary --metric` accept **all nine** aliases — startup and navigation. `observe:routes --metric` accepts only the three navigation aliases. Use the `nav_` prefix everywhere; there are no bare `cold_ttr` / `warm_ttr` aliases.
|
|
89
|
+
|
|
90
|
+
`observe:metrics` also accepts a full metric name in place of an alias, for example `eas observe:metrics expo.app_startup.tti`. `observe:routes` accepts full navigation names the same way. The `--metric` flags on `metrics-summary` and `routes` are strict oclif options, so they take aliases only.
|
|
91
|
+
|
|
92
|
+
## `eas observe:metrics-summary`
|
|
93
|
+
|
|
94
|
+
Shows per-version statistical aggregates for one or more metrics, with separate tables per platform.
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# All default metrics, last 60 days, both platforms
|
|
98
|
+
eas observe:metrics-summary
|
|
99
|
+
|
|
100
|
+
# Single metric
|
|
101
|
+
eas observe:metrics-summary --metric tti
|
|
102
|
+
|
|
103
|
+
# Multiple metrics — each renders as its own table
|
|
104
|
+
eas observe:metrics-summary --metric tti --metric cold_launch
|
|
105
|
+
|
|
106
|
+
# Navigation metrics aggregate per version here, per route in observe:routes
|
|
107
|
+
eas observe:metrics-summary --metric nav_tti
|
|
108
|
+
|
|
109
|
+
# Choose which statistics to display
|
|
110
|
+
eas observe:metrics-summary --metric tti --stat median --stat p90 --stat eventCount
|
|
111
|
+
|
|
112
|
+
# Narrow time range and platform
|
|
113
|
+
eas observe:metrics-summary --metric tti --days 14 --platform ios
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
**Stat flags:** exactly `min`, `median`, `max`, `average`, `p80`, `p90`, `p99`, `eventCount`. This command takes **no aliases** — `med`, `avg`, and `count` are rejected here (they work only on `observe:routes`).
|
|
117
|
+
|
|
118
|
+
**Default stats:** `median` + `eventCount` in the table; all eight in JSON.
|
|
119
|
+
|
|
120
|
+
This command has no `--limit`, `--after`, `--app-version`, `--build-number`, or `--update-id`. It always aggregates every version in the time range.
|
|
121
|
+
|
|
122
|
+
**Table layout:**
|
|
123
|
+
- One table per metric (with merged value + event count cells, e.g. `0.45s (150)`)
|
|
124
|
+
- Each table shows iOS and Android in separate sections
|
|
125
|
+
- App Version column includes build numbers in parentheses (e.g. `1.2.0 (42)`)
|
|
126
|
+
- Footer row per platform shows total events per metric
|
|
127
|
+
- **Update IDs are omitted from the table** to keep output readable when a version has many updates; they are included in the JSON output as an array per version
|
|
128
|
+
|
|
129
|
+
**JSON output shape:**
|
|
130
|
+
```json
|
|
131
|
+
{
|
|
132
|
+
"versions": [
|
|
133
|
+
{
|
|
134
|
+
"appVersion": "1.2.0",
|
|
135
|
+
"platform": "IOS",
|
|
136
|
+
"buildNumbers": ["42"],
|
|
137
|
+
"updateIds": ["abc-def-...", "..."],
|
|
138
|
+
"metrics": {
|
|
139
|
+
"expo.app_startup.tti": { "median": 0.45, "p90": 0.9, "...": "..." }
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"totalEventCounts": {
|
|
144
|
+
"expo.app_startup.tti": { "IOS": 1234, "ANDROID": 890 }
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## `eas observe:metrics`
|
|
150
|
+
|
|
151
|
+
Shows individual performance metric samples, paginated. The metric is a positional argument, not a flag. If omitted and running interactively, prompts for selection; in non-interactive mode it throws an error.
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
# Interactive: prompts for metric
|
|
155
|
+
eas observe:metrics
|
|
156
|
+
|
|
157
|
+
# Specify metric as positional arg
|
|
158
|
+
eas observe:metrics tti
|
|
159
|
+
|
|
160
|
+
# Navigation metrics work here too
|
|
161
|
+
eas observe:metrics nav_tti --sort slowest
|
|
162
|
+
|
|
163
|
+
# Filter by version or update, sort by slowest
|
|
164
|
+
eas observe:metrics tti --app-version 1.2.0 --sort slowest --limit 20
|
|
165
|
+
|
|
166
|
+
# Pagination — pass the endCursor from the previous run
|
|
167
|
+
eas observe:metrics tti --after <cursor>
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
**Sample-specific flags:**
|
|
171
|
+
- `--sort <oldest|newest|slowest|fastest>` — defaults to `oldest`
|
|
172
|
+
- `--limit <N>` — samples per page (default 10, max 100)
|
|
173
|
+
- `--after <cursor>` — pagination cursor from the previous run
|
|
174
|
+
- `--app-version <version>` — filter by app version string
|
|
175
|
+
- `--build-number <number>` — filter by app build number
|
|
176
|
+
- `--update-id <id>` — filter by EAS update ID
|
|
177
|
+
|
|
178
|
+
**Table layout:**
|
|
179
|
+
- Summary header shows the metric name, time range, and total sample count across all versions (e.g. `TTI samples for the last 60 days — 1,234 total events`)
|
|
180
|
+
- Columns: Value, App Version (with build number), Update (only when any sample has one), Platform, Device, Country, Timestamp
|
|
181
|
+
- When `hasNextPage` is true, prints `Next page: --after <endCursor>` hint below the table
|
|
182
|
+
- JSON output also includes `sessionId`, `easClientId`, and a `customParams` object per sample
|
|
183
|
+
|
|
184
|
+
## `eas observe:routes`
|
|
185
|
+
|
|
186
|
+
Shows per-route statistical aggregates for navigation metrics (Cold TTR, Warm TTR, Nav TTI), grouped by route name with separate sections per platform.
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
# All three navigation metrics, default stats, last 60 days, both platforms
|
|
190
|
+
eas observe:routes
|
|
191
|
+
|
|
192
|
+
# Single metric, last 7 days, iOS only
|
|
193
|
+
eas observe:routes --metric nav_tti --days 7 --platform ios
|
|
194
|
+
|
|
195
|
+
# Multiple metrics and stats
|
|
196
|
+
eas observe:routes --metric nav_cold_ttr --metric nav_warm_ttr --stat median --stat p90 --stat count
|
|
197
|
+
|
|
198
|
+
# Filter to a single build
|
|
199
|
+
eas observe:routes --app-version 1.2.0 --build-number 42
|
|
200
|
+
|
|
201
|
+
# Narrow to specific routes (repeat the flag for multiple routes)
|
|
202
|
+
eas observe:routes --route-name /new --route-name /settings
|
|
203
|
+
|
|
204
|
+
# Pagination — each platform has its own cursor; pass the relevant endCursor
|
|
205
|
+
eas observe:routes --after <cursor>
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**Routes-specific flags:**
|
|
209
|
+
- `--metric <nav_cold_ttr|nav_warm_ttr|nav_tti>` — navigation metric(s) to display, can be repeated. Defaults to all three.
|
|
210
|
+
- `--stat <median|p90|count>` — statistic(s) per metric. Aliases: `med` → `median`, `event_count` / `eventCount` → `count`.
|
|
211
|
+
- `--limit <N>` — routes per page (default **50**, max **200**, different from `metrics`/`events` which default to 10).
|
|
212
|
+
- `--after <cursor>` — pagination cursor from the previous run.
|
|
213
|
+
- `--app-version <version>` — filter by app version string.
|
|
214
|
+
- `--build-number <number>` — filter by app build number.
|
|
215
|
+
- `--route-name <name>` — filter by route name. Repeatable; only the listed routes are returned across both platforms. Duplicates are de-duplicated; omitting the flag returns all routes.
|
|
216
|
+
- `--update-id <id>` — filter by EAS update ID.
|
|
217
|
+
|
|
218
|
+
**Default stats:** `median` + `count` in the table; `median`, `p90`, `count` in JSON.
|
|
219
|
+
|
|
220
|
+
**Table layout:**
|
|
221
|
+
- Summary header with the chosen stats and time range, e.g. `Med, P90 values (navigation count) for the last 7 days`.
|
|
222
|
+
- Separate iOS and Android sections.
|
|
223
|
+
- First column is **Route**, followed by one column per metric/stat. With both display stats and `count`, cells are merged like `0.32s (1240)`.
|
|
224
|
+
- Each platform has its own pagination hint: `Next page (iOS): --after <endCursor>`.
|
|
225
|
+
|
|
226
|
+
**JSON output shape:**
|
|
227
|
+
```json
|
|
228
|
+
{
|
|
229
|
+
"routes": [
|
|
230
|
+
{
|
|
231
|
+
"routeName": "(tabs)/home",
|
|
232
|
+
"platform": "IOS",
|
|
233
|
+
"metrics": {
|
|
234
|
+
"expo.navigation.cold_ttr": { "median": 0.32, "p90": 0.85, "count": 1240 },
|
|
235
|
+
"expo.navigation.tti": { "median": 0.55, "p90": 1.10, "count": 1240 }
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"pageInfoByPlatform": {
|
|
240
|
+
"IOS": { "hasNextPage": true, "endCursor": "..." },
|
|
241
|
+
"ANDROID": { "hasNextPage": false, "endCursor": null }
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
## `eas observe:events`
|
|
247
|
+
|
|
248
|
+
Shows custom events emitted by the app via the `logEvent` API in `expo-observe`. Behavior depends on what is passed:
|
|
249
|
+
|
|
250
|
+
| Invocation | Result |
|
|
251
|
+
|---|---|
|
|
252
|
+
| `observe:events` | Summary table of available event names with counts |
|
|
253
|
+
| `observe:events --all-events` | Full list of events across **all** event names |
|
|
254
|
+
| `observe:events <event-name>` | Full list of events filtered by that event name |
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
# List the available custom event names and their counts (last 60 days)
|
|
258
|
+
eas observe:events
|
|
259
|
+
|
|
260
|
+
# All events across all names, last 7 days, iOS only
|
|
261
|
+
eas observe:events --all-events --days 7 --platform ios
|
|
262
|
+
|
|
263
|
+
# Only events with the given name
|
|
264
|
+
eas observe:events login_failed --limit 50
|
|
265
|
+
|
|
266
|
+
# Drill into a single session
|
|
267
|
+
eas observe:events --all-events --session-id <session-id>
|
|
268
|
+
|
|
269
|
+
# Pagination
|
|
270
|
+
eas observe:events login_failed --after <cursor>
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
**Events-specific flags:**
|
|
274
|
+
- `--all-events` — when no event name argument is given, list all events instead of the name summary. Cannot be combined with an event name argument.
|
|
275
|
+
- `--session-id <id>` — filter to events from a single session (events-only). With no event name argument, this lists the session's events instead of the event-name summary. For the full timeline — metrics as well as log events — use `observe:session`.
|
|
276
|
+
- `--app-version <version>` — filter by app version string
|
|
277
|
+
- `--build-number <number>` — filter by app build number
|
|
278
|
+
- `--update-id <id>` — filter by EAS update ID
|
|
279
|
+
- `--limit <N>` — events per page (default 10, max 100)
|
|
280
|
+
- `--after <cursor>` — pagination cursor
|
|
281
|
+
|
|
282
|
+
**Table layout (event listings):**
|
|
283
|
+
- Summary header: `<event-name> events <time range>` or `Custom events <time range>` for `--all-events`, with a total event count when available
|
|
284
|
+
- Columns: Timestamp, Event (only when listing across multiple names), Severity (only when at least one event in the page has a severity), App Version (with build number), Platform, Device, Country
|
|
285
|
+
- `Next page: --after <endCursor>` hint below the table when there is a next page
|
|
286
|
+
|
|
287
|
+
**Empty-result helper:** if a specific event name is queried and returns no events, the command prints a yellow `No events found matching "<name>"` warning followed by the available event names + counts in the same time range — useful for fixing typos.
|
|
288
|
+
|
|
289
|
+
**Truncation note:** the event-names summary may flag `Result is truncated; not all event names are shown.` when there are more names than the server returns in a single response.
|
|
290
|
+
|
|
291
|
+
**JSON output shape (event listing):**
|
|
292
|
+
```json
|
|
293
|
+
{
|
|
294
|
+
"events": [
|
|
295
|
+
{
|
|
296
|
+
"id": "...",
|
|
297
|
+
"eventName": "login_failed",
|
|
298
|
+
"timestamp": "2026-...",
|
|
299
|
+
"sessionId": "...",
|
|
300
|
+
"severityNumber": 13,
|
|
301
|
+
"severityText": "WARN",
|
|
302
|
+
"properties": [{ "key": "reason", "value": "bad_password", "type": "string" }],
|
|
303
|
+
"appVersion": "1.2.0",
|
|
304
|
+
"appBuildNumber": "42",
|
|
305
|
+
"appUpdateId": null,
|
|
306
|
+
"appEasBuildId": null,
|
|
307
|
+
"deviceModel": "...",
|
|
308
|
+
"deviceOs": "iOS",
|
|
309
|
+
"deviceOsVersion": "17.4",
|
|
310
|
+
"countryCode": "US",
|
|
311
|
+
"environment": "production",
|
|
312
|
+
"easClientId": "..."
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"pageInfo": { "hasNextPage": true, "endCursor": "..." }
|
|
316
|
+
}
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
The name-summary mode returns `{ "names": [{ "eventName": "...", "count": 123 }], "isTruncated": false }`.
|
|
320
|
+
|
|
321
|
+
## `eas observe:session`
|
|
322
|
+
|
|
323
|
+
Shows the full timeline of metric and log events for a single session — the CLI equivalent of the dashboard's session view. Use it after `observe:metrics` surfaces a slow sample: take that sample's `sessionId` (present in `--json` output) and replay everything that session recorded.
|
|
324
|
+
|
|
325
|
+
```bash
|
|
326
|
+
# Interactive: pick a metric, then pick a session from the candidate list
|
|
327
|
+
eas observe:session
|
|
328
|
+
|
|
329
|
+
# Inspect a known session
|
|
330
|
+
eas observe:session <session-id>
|
|
331
|
+
|
|
332
|
+
# Pick a session from the slowest TTI events in the last 7 days
|
|
333
|
+
eas observe:session --event-name tti --sort slowest --days 7
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
**Session-specific flags:**
|
|
337
|
+
- `[SESSIONID]` — positional. Omit it in interactive mode to choose from a list. **Required in non-interactive mode**, including under `--json`.
|
|
338
|
+
- `--event-name <name>` — metric or log event used to build the candidate session list (for example `tti`, `cold_launch`, `login_pressed`). Prompts when omitted in interactive mode.
|
|
339
|
+
- `--sort <slowest|fastest|newest|oldest>` — orders the candidate events. Prompts when omitted in interactive mode. No default, unlike `observe:metrics`.
|
|
340
|
+
|
|
341
|
+
**The picker flags and the session ID are mutually exclusive.** `--event-name`, `--sort`, `--days`, `--start`, and `--end` describe how to *find* a session, so passing any of them together with a session ID throws. Query a known session with the ID alone.
|
|
342
|
+
|
|
343
|
+
This command has no `--platform`, `--limit`, or `--after` flag. It takes the shared time-range, `--environment`, `--project-id`, `--json`, and `--non-interactive` flags.
|
|
344
|
+
|
|
345
|
+
**JSON output shape:**
|
|
346
|
+
```json
|
|
347
|
+
{
|
|
348
|
+
"sessionId": "...",
|
|
349
|
+
"metadata": { "...": "..." },
|
|
350
|
+
"entries": [{ "...": "..." }],
|
|
351
|
+
"hasMoreMetricEvents": false,
|
|
352
|
+
"hasMoreLogEvents": false
|
|
353
|
+
}
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
`entries` interleaves metric and log events for the session. The two `hasMore*` flags report truncation per event kind; there is no cursor to page with.
|
|
357
|
+
|
|
358
|
+
## `eas observe:errors`
|
|
359
|
+
|
|
360
|
+
Shows error and exception groups, grouped by fingerprint, with event, user, and session counts for each group. The fingerprint is in the first column. Pass `--fingerprint` to list the occurrences of one group, with stack traces, instead of the grouped summary. Error reporting setup is in [`./setup.md`](./setup.md).
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
# Error groups, last 7 days
|
|
364
|
+
eas observe:errors --days 7
|
|
365
|
+
|
|
366
|
+
# Only fatal errors on Android
|
|
367
|
+
eas observe:errors --severity fatal --platform android
|
|
368
|
+
|
|
369
|
+
# Occurrences of one group, with stack traces
|
|
370
|
+
eas observe:errors --fingerprint <fingerprint>
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
**Errors-specific flags:**
|
|
374
|
+
- `--fingerprint <value>` — show the occurrences of this error group instead of the grouped summary
|
|
375
|
+
- `--severity <fatal|error>` — filter by severity (ignored when `--fingerprint` is set)
|
|
376
|
+
- `--app-version <version>`, `--build-number <number>`, `--update-id <id>` — filter by version, build, or EAS update
|
|
377
|
+
- `--limit <N>` — occurrences per page (default 10, max 100). Requires `--fingerprint`.
|
|
378
|
+
- `--after <cursor>` — pagination cursor. Requires `--fingerprint`.
|
|
379
|
+
|
|
380
|
+
`--limit` or `--after` without `--fingerprint` fails with an error. The grouped summary has no pagination.
|
|
381
|
+
|
|
382
|
+
## `eas observe:event`
|
|
383
|
+
|
|
384
|
+
Shows one metric, log, or error event by its ID. Event IDs are in the `--json` output of `observe:metrics`, `observe:events`, and `observe:session`, and in the occurrences from `observe:errors --fingerprint`.
|
|
385
|
+
|
|
386
|
+
```bash
|
|
387
|
+
eas observe:event <event-id>
|
|
388
|
+
eas observe:event <event-id> --json
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
`ID` is a required positional argument. The command takes only `--project-id`, `--json`, and `--non-interactive`.
|
|
392
|
+
|
|
393
|
+
## `eas observe:versions`
|
|
394
|
+
|
|
395
|
+
Shows app version hierarchy with build numbers, OTA update IDs, and event counts per version.
|
|
396
|
+
|
|
397
|
+
```bash
|
|
398
|
+
# Both platforms, last 60 days
|
|
399
|
+
eas observe:versions
|
|
400
|
+
|
|
401
|
+
# iOS only, last 14 days
|
|
402
|
+
eas observe:versions --days 14 --platform ios
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
No metric-related flags. Output shows separate iOS and Android tables with columns: **App Version, First Seen, Events, Users, Builds (count), Updates (count)**.
|
|
406
|
+
|
|
407
|
+
JSON output returns the full nested hierarchy with `buildNumbers[].easBuilds[]` and `updates[].easBuilds[]`, including `firstSeenAt`, `eventCount`, and `uniqueUserCount` at every level.
|
|
408
|
+
|
|
409
|
+
## Common Workflows
|
|
410
|
+
|
|
411
|
+
**"What are my app's startup times right now?"**
|
|
412
|
+
```bash
|
|
413
|
+
eas observe:metrics-summary --days 7 --stat median --stat p90
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
**"Which TTI samples were slowest this week?"**
|
|
417
|
+
```bash
|
|
418
|
+
eas observe:metrics tti --sort slowest --days 7 --limit 20
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
**"How fast are over-the-air updates downloading in the field?"**
|
|
422
|
+
```bash
|
|
423
|
+
eas observe:metrics-summary --metric update_download --days 7
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
**"Which screens are slowest to navigate to?"**
|
|
427
|
+
```bash
|
|
428
|
+
eas observe:routes --metric nav_tti --stat median --stat p90 --days 7
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
**"What happened during that one slow session?"**
|
|
432
|
+
```bash
|
|
433
|
+
eas observe:metrics tti --sort slowest --days 7 --json # read sessionId from a sample
|
|
434
|
+
eas observe:session <session-id>
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
**"How does navigation perform on just the routes I care about?"**
|
|
438
|
+
```bash
|
|
439
|
+
eas observe:routes --route-name /home --route-name /checkout --days 7
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
**"What custom events is my app emitting?"**
|
|
443
|
+
```bash
|
|
444
|
+
eas observe:events --days 7
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
**"Show me every error event from one user's session."**
|
|
448
|
+
```bash
|
|
449
|
+
eas observe:events --all-events --session-id <session-id>
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
**"What versions of my app are in the field?"**
|
|
453
|
+
```bash
|
|
454
|
+
eas observe:versions
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
**"Show me metrics for a specific project without needing to be in the repo"**
|
|
458
|
+
```bash
|
|
459
|
+
eas observe:metrics-summary --project-id <uuid> --metric tti
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
**"Get JSON for scripting"**
|
|
463
|
+
```bash
|
|
464
|
+
eas observe:metrics-summary --metric tti --json --non-interactive
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
## Notes
|
|
468
|
+
|
|
469
|
+
- Requires the user to be logged in (`eas login`).
|
|
470
|
+
- When `--project-id` is provided, the command does not require running inside an EAS project directory; otherwise the project ID is read from the local `app.config` / `app.json`. If using this option, ensure that you are logged in as a user that has access to the specified project.
|
|
471
|
+
- `observe:metrics-summary` does not print update IDs in the table but still returns them in JSON for scripting or piping into other commands.
|