opencode-skills-collection 4.0.69 → 4.0.70

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.
Files changed (185) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +39 -1
  2. package/bundled-skills/api-integration-architect/SKILL.md +241 -0
  3. package/bundled-skills/apify-generate-output-schema/SKILL.md +438 -0
  4. package/bundled-skills/apify-integration-development/SKILL.md +168 -0
  5. package/bundled-skills/apify-integration-development/references/ai-framework-package.md +158 -0
  6. package/bundled-skills/apify-integration-development/references/ai-harness-plugin.md +192 -0
  7. package/bundled-skills/apify-integration-development/references/sdk-integration.md +236 -0
  8. package/bundled-skills/apify-integration-development/references/workflow-automation.md +163 -0
  9. package/bundled-skills/architecture-review/README.md +42 -0
  10. package/bundled-skills/architecture-review/SKILL.md +77 -0
  11. package/bundled-skills/architecture-review/examples.md +11 -0
  12. package/bundled-skills/architecture-review/reference/best-practices.md +7 -0
  13. package/bundled-skills/architecture-review/reference/capabilities.md +20 -0
  14. package/bundled-skills/architecture-review/reference/fallbacks.md +11 -0
  15. package/bundled-skills/architecture-review/reference/graph.md +15 -0
  16. package/bundled-skills/architecture-review/reference/mcp.md +14 -0
  17. package/bundled-skills/architecture-review/reference/workflow.md +15 -0
  18. package/bundled-skills/architecture-review/templates/architecture-review.md +21 -0
  19. package/bundled-skills/code-review-sensei/SKILL.md +177 -0
  20. package/bundled-skills/codebase-onboarding/README.md +42 -0
  21. package/bundled-skills/codebase-onboarding/SKILL.md +77 -0
  22. package/bundled-skills/codebase-onboarding/examples.md +11 -0
  23. package/bundled-skills/codebase-onboarding/reference/best-practices.md +7 -0
  24. package/bundled-skills/codebase-onboarding/reference/capabilities.md +20 -0
  25. package/bundled-skills/codebase-onboarding/reference/fallbacks.md +11 -0
  26. package/bundled-skills/codebase-onboarding/reference/graph.md +15 -0
  27. package/bundled-skills/codebase-onboarding/reference/mcp.md +14 -0
  28. package/bundled-skills/codebase-onboarding/reference/workflow.md +15 -0
  29. package/bundled-skills/codebase-onboarding/templates/repository-onboarding.md +21 -0
  30. package/bundled-skills/connection-auth-rules/SKILL.md +199 -0
  31. package/bundled-skills/connection-auth-rules/fetch_schema.py +320 -0
  32. package/bundled-skills/dependency-analysis/README.md +42 -0
  33. package/bundled-skills/dependency-analysis/SKILL.md +76 -0
  34. package/bundled-skills/dependency-analysis/examples.md +11 -0
  35. package/bundled-skills/dependency-analysis/reference/best-practices.md +7 -0
  36. package/bundled-skills/dependency-analysis/reference/capabilities.md +20 -0
  37. package/bundled-skills/dependency-analysis/reference/fallbacks.md +11 -0
  38. package/bundled-skills/dependency-analysis/reference/graph.md +15 -0
  39. package/bundled-skills/dependency-analysis/reference/mcp.md +14 -0
  40. package/bundled-skills/dependency-analysis/reference/workflow.md +15 -0
  41. package/bundled-skills/dependency-analysis/templates/dependency-review.md +21 -0
  42. package/bundled-skills/devops-pipeline-builder/SKILL.md +200 -0
  43. package/bundled-skills/eas-app-stores/SKILL.md +197 -0
  44. package/bundled-skills/eas-app-stores/agents/openai.yaml +4 -0
  45. package/bundled-skills/eas-app-stores/references/app-store-metadata.md +497 -0
  46. package/bundled-skills/eas-app-stores/references/ios-app-store.md +376 -0
  47. package/bundled-skills/eas-app-stores/references/native-ios.md +167 -0
  48. package/bundled-skills/eas-app-stores/references/play-store.md +244 -0
  49. package/bundled-skills/eas-app-stores/references/testflight.md +62 -0
  50. package/bundled-skills/eas-app-stores/references/workflows.md +120 -0
  51. package/bundled-skills/eas-hosting/SKILL.md +448 -0
  52. package/bundled-skills/eas-hosting/agents/openai.yaml +4 -0
  53. package/bundled-skills/eas-observe/SKILL.md +75 -0
  54. package/bundled-skills/eas-observe/agents/openai.yaml +4 -0
  55. package/bundled-skills/eas-observe/references/metrics.md +98 -0
  56. package/bundled-skills/eas-observe/references/queries.md +403 -0
  57. package/bundled-skills/eas-observe/references/setup.md +476 -0
  58. package/bundled-skills/eas-observe/references/third-party.md +136 -0
  59. package/bundled-skills/eas-simulator/SKILL.md +251 -0
  60. package/bundled-skills/eas-simulator/agents/openai.yaml +4 -0
  61. package/bundled-skills/eas-simulator/references/controllers.md +135 -0
  62. package/bundled-skills/eas-simulator/references/run-your-app.md +240 -0
  63. package/bundled-skills/eas-simulator/references/troubleshooting.md +47 -0
  64. package/bundled-skills/eas-workflows/SKILL.md +119 -0
  65. package/bundled-skills/eas-workflows/agents/openai.yaml +4 -0
  66. package/bundled-skills/eas-workflows/scripts/fetch.js +109 -0
  67. package/bundled-skills/expo-animation/LICENSE +21 -0
  68. package/bundled-skills/expo-animation/RECIPES.md +385 -0
  69. package/bundled-skills/expo-animation/SKILL.md +295 -0
  70. package/bundled-skills/expo-animation/agents/openai.yaml +4 -0
  71. package/bundled-skills/fact-check-x-unified/SKILL.md +178 -0
  72. package/bundled-skills/fact-check-x-unified/agents/openai.yaml +4 -0
  73. package/bundled-skills/fact-check-x-unified/references/acceptance-criteria.md +44 -0
  74. package/bundled-skills/fact-check-x-unified/references/contracts.md +39 -0
  75. package/bundled-skills/fact-check-x-unified/scripts/common.py +31 -0
  76. package/bundled-skills/fact-check-x-unified/scripts/fact_check_x.py +1832 -0
  77. package/bundled-skills/fact-check-x-unified/scripts/trusted_search_config.py +324 -0
  78. package/bundled-skills/fact-check-x-unified/tests/anchor_downgrade_test.py +90 -0
  79. package/bundled-skills/fact-check-x-unified/tests/multi_platform_test.py +369 -0
  80. package/bundled-skills/fact-check-x-unified/tests/smoke_test.py +740 -0
  81. package/bundled-skills/fact-check-x-unified/tests/stage_checkpoint_test.py +103 -0
  82. package/bundled-skills/fact-check-x-unified/tests/trusted_search_config_test.py +156 -0
  83. package/bundled-skills/gpt-taste/SKILL.md +8 -1
  84. package/bundled-skills/hf-cli/SKILL.md +263 -0
  85. package/bundled-skills/huggingface-community-evals/SKILL.md +228 -0
  86. package/bundled-skills/huggingface-community-evals/examples/.env.example +3 -0
  87. package/bundled-skills/huggingface-community-evals/examples/USAGE_EXAMPLES.md +101 -0
  88. package/bundled-skills/huggingface-community-evals/scripts/inspect_eval_uv.py +104 -0
  89. package/bundled-skills/huggingface-community-evals/scripts/inspect_vllm_uv.py +306 -0
  90. package/bundled-skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py +297 -0
  91. package/bundled-skills/huggingface-datasets/SKILL.md +130 -0
  92. package/bundled-skills/jev-social/SKILL.md +182 -0
  93. package/bundled-skills/longbridge-derivatives/SKILL.md +117 -0
  94. package/bundled-skills/longbridge-derivatives/references/option.md +36 -0
  95. package/bundled-skills/longbridge-derivatives/references/options-advanced.md +101 -0
  96. package/bundled-skills/longbridge-derivatives/references/options-pnl.md +74 -0
  97. package/bundled-skills/longbridge-derivatives/references/options-strategy.md +82 -0
  98. package/bundled-skills/longbridge-derivatives/references/options-volatility.md +70 -0
  99. package/bundled-skills/longbridge-derivatives/references/warrant.md +12 -0
  100. package/bundled-skills/longbridge-quant/SKILL.md +151 -0
  101. package/bundled-skills/longbridge-quant/references/correlation.md +51 -0
  102. package/bundled-skills/longbridge-quant/references/execution-model.md +68 -0
  103. package/bundled-skills/longbridge-quant/references/factor-research.md +95 -0
  104. package/bundled-skills/longbridge-quant/references/factor-screen.md +101 -0
  105. package/bundled-skills/longbridge-quant/references/hedging.md +136 -0
  106. package/bundled-skills/longbridge-quant/references/ml-strategy.md +77 -0
  107. package/bundled-skills/longbridge-quant/references/multifactor.md +68 -0
  108. package/bundled-skills/longbridge-quant/references/pairs-trading.md +61 -0
  109. package/bundled-skills/longbridge-quant/references/quant-cli.md +133 -0
  110. package/bundled-skills/longbridge-quant/references/quant-stats.md +150 -0
  111. package/bundled-skills/longbridge-quant/references/seasonality.md +50 -0
  112. package/bundled-skills/longbridge-quant/references/strategy-optimizer.md +68 -0
  113. package/bundled-skills/longbridge-quant/references/volatility-strategy.md +52 -0
  114. package/bundled-skills/longbridge-research/SKILL.md +187 -0
  115. package/bundled-skills/longbridge-research/references/company-profile.md +96 -0
  116. package/bundled-skills/longbridge-research/references/company-tearsheet.md +82 -0
  117. package/bundled-skills/longbridge-research/references/competitive-analysis.md +81 -0
  118. package/bundled-skills/longbridge-research/references/consensus.md +92 -0
  119. package/bundled-skills/longbridge-research/references/coverage-initiation.md +76 -0
  120. package/bundled-skills/longbridge-research/references/defi-yield.md +60 -0
  121. package/bundled-skills/longbridge-research/references/finance-calendar.md +165 -0
  122. package/bundled-skills/longbridge-research/references/financial-planning.md +77 -0
  123. package/bundled-skills/longbridge-research/references/forecast-eps.md +39 -0
  124. package/bundled-skills/longbridge-research/references/fund-holder.md +44 -0
  125. package/bundled-skills/longbridge-research/references/hkipo-analysis.md +101 -0
  126. package/bundled-skills/longbridge-research/references/industry-peers.md +46 -0
  127. package/bundled-skills/longbridge-research/references/industry-rank.md +62 -0
  128. package/bundled-skills/longbridge-research/references/insider-trades.md +48 -0
  129. package/bundled-skills/longbridge-research/references/institution-rating.md +62 -0
  130. package/bundled-skills/longbridge-research/references/investment-ideas.md +69 -0
  131. package/bundled-skills/longbridge-research/references/investment-proposal.md +95 -0
  132. package/bundled-skills/longbridge-research/references/investors.md +87 -0
  133. package/bundled-skills/longbridge-research/references/onchain.md +70 -0
  134. package/bundled-skills/longbridge-research/references/post-investment.md +76 -0
  135. package/bundled-skills/longbridge-research/references/shareholder.md +72 -0
  136. package/bundled-skills/longbridge-research/references/short-positions.md +50 -0
  137. package/bundled-skills/longbridge-research/references/short-trades.md +50 -0
  138. package/bundled-skills/longbridge-research/references/stock-research.md +61 -0
  139. package/bundled-skills/longbridge-research/references/thesis-tracker.md +64 -0
  140. package/bundled-skills/makepad-2-0-animation/SKILL.md +318 -0
  141. package/bundled-skills/makepad-2-0-animation/references/animator-reference.md +433 -0
  142. package/bundled-skills/makepad-2-0-dsl/SKILL.md +492 -0
  143. package/bundled-skills/makepad-2-0-dsl/references/dsl-syntax-reference.md +511 -0
  144. package/bundled-skills/makepad-2-0-dsl/references/extended-guide.md +56 -0
  145. package/bundled-skills/makepad-2-0-dsl/references/property-system.md +757 -0
  146. package/bundled-skills/makepad-2-0-events/SKILL.md +497 -0
  147. package/bundled-skills/makepad-2-0-events/references/event-patterns.md +802 -0
  148. package/bundled-skills/makepad-2-0-events/references/extended-guide.md +590 -0
  149. package/bundled-skills/makepad-2-0-layout/SKILL.md +499 -0
  150. package/bundled-skills/makepad-2-0-layout/references/extended-guide.md +243 -0
  151. package/bundled-skills/makepad-2-0-layout/references/layout-patterns.md +881 -0
  152. package/bundled-skills/makepad-2-0-widgets/SKILL.md +261 -0
  153. package/bundled-skills/makepad-2-0-widgets/references/widget-advanced.md +648 -0
  154. package/bundled-skills/makepad-2-0-widgets/references/widget-catalog.md +547 -0
  155. package/bundled-skills/meeting-distiller-pro/SKILL.md +120 -0
  156. package/bundled-skills/monte-carlo-analyze-root-cause/SKILL.md +12 -1
  157. package/bundled-skills/monte-carlo-asset-health/SKILL.md +12 -1
  158. package/bundled-skills/monte-carlo-context-detection/SKILL.md +170 -0
  159. package/bundled-skills/monte-carlo-context-detection/references/signal-definitions.md +46 -0
  160. package/bundled-skills/remotion-captions/SKILL.md +57 -0
  161. package/bundled-skills/remotion-captions/agents/openai.yaml +7 -0
  162. package/bundled-skills/remotion-captions/assets/remotion-icon.svg +4 -0
  163. package/bundled-skills/remotion-captions/display-captions.md +190 -0
  164. package/bundled-skills/remotion-captions/import-srt-captions.md +73 -0
  165. package/bundled-skills/remotion-captions/transcribe-captions.md +70 -0
  166. package/bundled-skills/remotion-create/SKILL.md +106 -0
  167. package/bundled-skills/remotion-create/agents/openai.yaml +7 -0
  168. package/bundled-skills/remotion-create/assets/remotion-icon.svg +4 -0
  169. package/bundled-skills/remotion-create/tailwind.md +11 -0
  170. package/bundled-skills/remotion-create/video-layout.md +9 -0
  171. package/bundled-skills/remotion-docs/SKILL.md +67 -0
  172. package/bundled-skills/remotion-docs/agents/openai.yaml +7 -0
  173. package/bundled-skills/remotion-docs/assets/remotion-icon.svg +4 -0
  174. package/bundled-skills/remotion-interactivity/SKILL.md +270 -0
  175. package/bundled-skills/remotion-interactivity/agents/openai.yaml +7 -0
  176. package/bundled-skills/remotion-interactivity/assets/remotion-icon.svg +4 -0
  177. package/bundled-skills/remotion-render/SKILL.md +48 -0
  178. package/bundled-skills/remotion-render/agents/openai.yaml +7 -0
  179. package/bundled-skills/remotion-render/assets/remotion-icon.svg +4 -0
  180. package/bundled-skills/remotion-render/transparent-videos.md +106 -0
  181. package/bundled-skills/saas-pricing-strategist/SKILL.md +169 -0
  182. package/bundled-skills/score-eval/SKILL.md +35 -0
  183. package/bundled-skills/writing-guidelines/SKILL.md +60 -0
  184. package/package.json +1 -1
  185. package/skills_index.json +980 -3
@@ -0,0 +1,403 @@
1
+ # EAS Observe CLI
2
+
3
+ EAS Observe collects app performance telemetry and custom events from Expo apps and exposes them through six EAS CLI commands. Pass the `--help` flag to any command for the latest API — the flags below were verified against `eas-cli` 21.8.0.
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
+
18
+ > Older published docs list only `metrics-summary`, `metrics`, `events`, and `versions`. All six are on the [Querying with EAS CLI](https://docs.expo.dev/eas/observe/eas-cli/) page; run `--help` to confirm them on your installed version.
19
+
20
+ All six commands share these flags:
21
+
22
+ - `--start <ISO date>` and `--end <ISO date>` — explicit time range
23
+ - `--days <N>` — show data from the last N days (mutually exclusive with `--start`/`--end`, minimum 1)
24
+ - `--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.
25
+ - `--json` — machine-readable output (implies `--non-interactive`)
26
+ - `--non-interactive` — fail instead of prompting
27
+
28
+ `--platform ios` / `--platform android` (default: both) is on every command **except `observe:session`**, which is scoped to one session already.
29
+
30
+ Default time range is the last 60 days when none of `--days`, `--start`, `--end` is given.
31
+
32
+ **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.
33
+
34
+ ## Supported Metrics
35
+
36
+ ### App-startup metrics
37
+
38
+ | Alias | Full name | Display |
39
+ |-------|-----------|---------|
40
+ | `tti` | `expo.app_startup.tti` | Startup TTI (time to interactive) |
41
+ | `ttr` | `expo.app_startup.ttr` | Startup TTR (time to render) |
42
+ | `cold_launch` | `expo.app_startup.cold_launch_time` | Cold Launch |
43
+ | `warm_launch` | `expo.app_startup.warm_launch_time` | Warm Launch |
44
+ | `bundle_load` | `expo.app_startup.bundle_load_time` | Bundle Load |
45
+ | `update_download` | `expo.updates.download_time` | Update Download |
46
+
47
+ ### Navigation metrics
48
+
49
+ Emitted only when a navigation integration is enabled (SDK 56+). Measured per route name.
50
+
51
+ | Alias | Full name | Display |
52
+ |-------|-----------|---------|
53
+ | `nav_cold_ttr` | `expo.navigation.cold_ttr` | Nav Cold TTR |
54
+ | `nav_warm_ttr` | `expo.navigation.warm_ttr` | Nav Warm TTR |
55
+ | `nav_tti` | `expo.navigation.tti` | Nav TTI |
56
+
57
+ **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.
58
+
59
+ `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.
60
+
61
+ ## `eas observe:metrics-summary`
62
+
63
+ Shows per-version statistical aggregates for one or more metrics, with separate tables per platform.
64
+
65
+ ```bash
66
+ # All default metrics, last 60 days, both platforms
67
+ eas observe:metrics-summary
68
+
69
+ # Single metric
70
+ eas observe:metrics-summary --metric tti
71
+
72
+ # Multiple metrics — each renders as its own table
73
+ eas observe:metrics-summary --metric tti --metric cold_launch
74
+
75
+ # Navigation metrics aggregate per version here, per route in observe:routes
76
+ eas observe:metrics-summary --metric nav_tti
77
+
78
+ # Choose which statistics to display
79
+ eas observe:metrics-summary --metric tti --stat median --stat p90 --stat eventCount
80
+
81
+ # Narrow time range and platform
82
+ eas observe:metrics-summary --metric tti --days 14 --platform ios
83
+ ```
84
+
85
+ **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`).
86
+
87
+ **Default stats:** `median` + `eventCount` in the table; all eight in JSON.
88
+
89
+ This command has no `--limit`, `--after`, `--app-version`, or `--update-id`. It always aggregates every version in the time range.
90
+
91
+ **Table layout:**
92
+ - One table per metric (with merged value + event count cells, e.g. `0.45s (150)`)
93
+ - Each table shows iOS and Android in separate sections
94
+ - App Version column includes build numbers in parentheses (e.g. `1.2.0 (42)`)
95
+ - Footer row per platform shows total events per metric
96
+ - **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
97
+
98
+ **JSON output shape:**
99
+ ```json
100
+ {
101
+ "versions": [
102
+ {
103
+ "appVersion": "1.2.0",
104
+ "platform": "IOS",
105
+ "buildNumbers": ["42"],
106
+ "updateIds": ["abc-def-...", "..."],
107
+ "metrics": {
108
+ "expo.app_startup.tti": { "median": 0.45, "p90": 0.9, "...": "..." }
109
+ }
110
+ }
111
+ ],
112
+ "totalEventCounts": {
113
+ "expo.app_startup.tti": { "IOS": 1234, "ANDROID": 890 }
114
+ }
115
+ }
116
+ ```
117
+
118
+ ## `eas observe:metrics`
119
+
120
+ 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.
121
+
122
+ ```bash
123
+ # Interactive: prompts for metric
124
+ eas observe:metrics
125
+
126
+ # Specify metric as positional arg
127
+ eas observe:metrics tti
128
+
129
+ # Navigation metrics work here too
130
+ eas observe:metrics nav_tti --sort slowest
131
+
132
+ # Filter by version or update, sort by slowest
133
+ eas observe:metrics tti --app-version 1.2.0 --sort slowest --limit 20
134
+
135
+ # Pagination — pass the endCursor from the previous run
136
+ eas observe:metrics tti --after <cursor>
137
+ ```
138
+
139
+ **Sample-specific flags:**
140
+ - `--sort <oldest|newest|slowest|fastest>` — defaults to `oldest`
141
+ - `--limit <N>` — samples per page (default 10, max 100)
142
+ - `--after <cursor>` — pagination cursor from the previous run
143
+ - `--app-version <version>` — filter by app version string
144
+ - `--update-id <id>` — filter by EAS update ID
145
+
146
+ **Table layout:**
147
+ - 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`)
148
+ - Columns: Value, App Version (with build number), Update (only when any sample has one), Platform, Device, Country, Timestamp
149
+ - When `hasNextPage` is true, prints `Next page: --after <endCursor>` hint below the table
150
+ - JSON output also includes `sessionId`, `easClientId`, and a `customParams` object per sample
151
+
152
+ ## `eas observe:routes`
153
+
154
+ Shows per-route statistical aggregates for navigation metrics (Cold TTR, Warm TTR, Nav TTI), grouped by route name with separate sections per platform.
155
+
156
+ ```bash
157
+ # All three navigation metrics, default stats, last 60 days, both platforms
158
+ eas observe:routes
159
+
160
+ # Single metric, last 7 days, iOS only
161
+ eas observe:routes --metric nav_tti --days 7 --platform ios
162
+
163
+ # Multiple metrics and stats
164
+ eas observe:routes --metric nav_cold_ttr --metric nav_warm_ttr --stat median --stat p90 --stat count
165
+
166
+ # Filter to a single build
167
+ eas observe:routes --app-version 1.2.0 --build-number 42
168
+
169
+ # Narrow to specific routes (repeat the flag for multiple routes)
170
+ eas observe:routes --route-name /new --route-name /settings
171
+
172
+ # Pagination — each platform has its own cursor; pass the relevant endCursor
173
+ eas observe:routes --after <cursor>
174
+ ```
175
+
176
+ **Routes-specific flags:**
177
+ - `--metric <nav_cold_ttr|nav_warm_ttr|nav_tti>` — navigation metric(s) to display, can be repeated. Defaults to all three.
178
+ - `--stat <median|p90|count>` — statistic(s) per metric. Aliases: `med` → `median`, `event_count` / `eventCount` → `count`.
179
+ - `--limit <N>` — routes per page (default **50**, max **200**, different from `metrics`/`events` which default to 10).
180
+ - `--after <cursor>` — pagination cursor from the previous run.
181
+ - `--app-version <version>` — filter by app version string.
182
+ - `--build-number <number>` — filter by app build number (routes-only).
183
+ - `--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.
184
+ - `--update-id <id>` — filter by EAS update ID.
185
+
186
+ **Default stats:** `median` + `count` in the table; `median`, `p90`, `count` in JSON.
187
+
188
+ **Table layout:**
189
+ - Summary header with the chosen stats and time range, e.g. `Med, P90 values (navigation count) for the last 7 days`.
190
+ - Separate iOS and Android sections.
191
+ - First column is **Route**, followed by one column per metric/stat. With both display stats and `count`, cells are merged like `0.32s (1240)`.
192
+ - Each platform has its own pagination hint: `Next page (iOS): --after <endCursor>`.
193
+
194
+ **JSON output shape:**
195
+ ```json
196
+ {
197
+ "routes": [
198
+ {
199
+ "routeName": "(tabs)/home",
200
+ "platform": "IOS",
201
+ "metrics": {
202
+ "expo.navigation.cold_ttr": { "median": 0.32, "p90": 0.85, "count": 1240 },
203
+ "expo.navigation.tti": { "median": 0.55, "p90": 1.10, "count": 1240 }
204
+ }
205
+ }
206
+ ],
207
+ "pageInfoByPlatform": {
208
+ "IOS": { "hasNextPage": true, "endCursor": "..." },
209
+ "ANDROID": { "hasNextPage": false, "endCursor": null }
210
+ }
211
+ }
212
+ ```
213
+
214
+ ## `eas observe:events`
215
+
216
+ Shows custom events emitted by the app via the `logEvent` API in `expo-observe`. Behavior depends on what is passed:
217
+
218
+ | Invocation | Result |
219
+ |---|---|
220
+ | `observe:events` | Summary table of available event names with counts |
221
+ | `observe:events --all-events` | Full list of events across **all** event names |
222
+ | `observe:events <event-name>` | Full list of events filtered by that event name |
223
+
224
+ ```bash
225
+ # List the available custom event names and their counts (last 60 days)
226
+ eas observe:events
227
+
228
+ # All events across all names, last 7 days, iOS only
229
+ eas observe:events --all-events --days 7 --platform ios
230
+
231
+ # Only events with the given name
232
+ eas observe:events login_failed --limit 50
233
+
234
+ # Drill into a single session
235
+ eas observe:events --all-events --session-id <session-id>
236
+
237
+ # Pagination
238
+ eas observe:events login_failed --after <cursor>
239
+ ```
240
+
241
+ **Events-specific flags:**
242
+ - `--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.
243
+ - `--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`.
244
+ - `--app-version <version>` — filter by app version string
245
+ - `--update-id <id>` — filter by EAS update ID
246
+ - `--limit <N>` — events per page (default 10, max 100)
247
+ - `--after <cursor>` — pagination cursor
248
+
249
+ **Table layout (event listings):**
250
+ - Summary header: `<event-name> events <time range>` or `Custom events <time range>` for `--all-events`, with a total event count when available
251
+ - 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
252
+ - `Next page: --after <endCursor>` hint below the table when there is a next page
253
+
254
+ **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.
255
+
256
+ **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.
257
+
258
+ **JSON output shape (event listing):**
259
+ ```json
260
+ {
261
+ "events": [
262
+ {
263
+ "id": "...",
264
+ "eventName": "login_failed",
265
+ "timestamp": "2026-...",
266
+ "sessionId": "...",
267
+ "severityNumber": 13,
268
+ "severityText": "WARN",
269
+ "properties": [{ "key": "reason", "value": "bad_password", "type": "string" }],
270
+ "appVersion": "1.2.0",
271
+ "appBuildNumber": "42",
272
+ "appUpdateId": null,
273
+ "appEasBuildId": null,
274
+ "deviceModel": "...",
275
+ "deviceOs": "iOS",
276
+ "deviceOsVersion": "17.4",
277
+ "countryCode": "US",
278
+ "environment": "production",
279
+ "easClientId": "..."
280
+ }
281
+ ],
282
+ "pageInfo": { "hasNextPage": true, "endCursor": "..." }
283
+ }
284
+ ```
285
+
286
+ The name-summary mode returns `{ "names": [{ "eventName": "...", "count": 123 }], "isTruncated": false }`.
287
+
288
+ ## `eas observe:session`
289
+
290
+ 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.
291
+
292
+ ```bash
293
+ # Interactive: pick a metric, then pick a session from the candidate list
294
+ eas observe:session
295
+
296
+ # Inspect a known session
297
+ eas observe:session <session-id>
298
+
299
+ # Pick a session from the slowest TTI events in the last 7 days
300
+ eas observe:session --event-name tti --sort slowest --days 7
301
+ ```
302
+
303
+ **Session-specific flags:**
304
+ - `[SESSIONID]` — positional. Omit it in interactive mode to choose from a list. **Required in non-interactive mode**, including under `--json`.
305
+ - `--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.
306
+ - `--sort <slowest|fastest|newest|oldest>` — orders the candidate events. Prompts when omitted in interactive mode. No default, unlike `observe:metrics`.
307
+
308
+ **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.
309
+
310
+ This command has no `--platform`, `--limit`, or `--after` flag. It takes the shared time-range, `--project-id`, `--json`, and `--non-interactive` flags.
311
+
312
+ **JSON output shape:**
313
+ ```json
314
+ {
315
+ "sessionId": "...",
316
+ "metadata": { "...": "..." },
317
+ "entries": [{ "...": "..." }],
318
+ "hasMoreMetricEvents": false,
319
+ "hasMoreLogEvents": false
320
+ }
321
+ ```
322
+
323
+ `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.
324
+
325
+ ## `eas observe:versions`
326
+
327
+ Shows app version hierarchy with build numbers, OTA update IDs, and event counts per version.
328
+
329
+ ```bash
330
+ # Both platforms, last 60 days
331
+ eas observe:versions
332
+
333
+ # iOS only, last 14 days
334
+ eas observe:versions --days 14 --platform ios
335
+ ```
336
+
337
+ No metric-related flags. Output shows separate iOS and Android tables with columns: **App Version, First Seen, Events, Users, Builds (count), Updates (count)**.
338
+
339
+ JSON output returns the full nested hierarchy with `buildNumbers[].easBuilds[]` and `updates[].easBuilds[]`, including `firstSeenAt`, `eventCount`, and `uniqueUserCount` at every level.
340
+
341
+ ## Common Workflows
342
+
343
+ **"What are my app's startup times right now?"**
344
+ ```bash
345
+ eas observe:metrics-summary --days 7 --stat median --stat p90
346
+ ```
347
+
348
+ **"Which TTI samples were slowest this week?"**
349
+ ```bash
350
+ eas observe:metrics tti --sort slowest --days 7 --limit 20
351
+ ```
352
+
353
+ **"How fast are over-the-air updates downloading in the field?"**
354
+ ```bash
355
+ eas observe:metrics-summary --metric update_download --days 7
356
+ ```
357
+
358
+ **"Which screens are slowest to navigate to?"**
359
+ ```bash
360
+ eas observe:routes --metric nav_tti --stat median --stat p90 --days 7
361
+ ```
362
+
363
+ **"What happened during that one slow session?"**
364
+ ```bash
365
+ eas observe:metrics tti --sort slowest --days 7 --json # read sessionId from a sample
366
+ eas observe:session <session-id>
367
+ ```
368
+
369
+ **"How does navigation perform on just the routes I care about?"**
370
+ ```bash
371
+ eas observe:routes --route-name /home --route-name /checkout --days 7
372
+ ```
373
+
374
+ **"What custom events is my app emitting?"**
375
+ ```bash
376
+ eas observe:events --days 7
377
+ ```
378
+
379
+ **"Show me every error event from one user's session."**
380
+ ```bash
381
+ eas observe:events --all-events --session-id <session-id>
382
+ ```
383
+
384
+ **"What versions of my app are in the field?"**
385
+ ```bash
386
+ eas observe:versions
387
+ ```
388
+
389
+ **"Show me metrics for a specific project without needing to be in the repo"**
390
+ ```bash
391
+ eas observe:metrics-summary --project-id <uuid> --metric tti
392
+ ```
393
+
394
+ **"Get JSON for scripting"**
395
+ ```bash
396
+ eas observe:metrics-summary --metric tti --json --non-interactive
397
+ ```
398
+
399
+ ## Notes
400
+
401
+ - Requires the user to be logged in (`eas login`).
402
+ - 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.
403
+ - `observe:metrics-summary` does not print update IDs in the table but still returns them in JSON for scripting or piping into other commands.