Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Merge remote-tracking branch 'origin/feat/mobile-ios-android' into feat/mobile-ios-android

Dev jacob849aa82f181c
diff --cc backend/src/types/productHealthContract.ts
index 6beddfcfc,79d7edaec..09c293863
--- a/backend/src/types/productHealthContract.ts
+++ b/backend/src/types/productHealthContract.ts
@@@ -35,9 -35,8 +35,10 @@@ export type ResumeReason = typeof RESUM
export const PRODUCT_HEALTH_METRICS = [
...CLI_REPORT_FAILURES.map(reason => `health_cli_report_failure_${reason}` as const),
...HEALTH_SOURCES.flatMap(source => RESUME_REASONS.map(reason => `request_${source}_resume_reason_${reason}` as const)),
- ...(['cli', 'desktop'] as const).flatMap(surface => HEALTH_MEASURES.map(m => `health_${surface}_${m}` as const)),
+ // hn's (`tui`) come through its daemon's queue, under that daemon's context, never one of their own.
+ ...(['cli', 'desktop', 'tui'] as const).flatMap(surface => HEALTH_MEASURES.map(m => `health_${surface}_${m}` as const)),
+ // The phone reports only its coverage (the threshold its breakdowns need) and late deliveries.
+ 'health_phone_collector_days', 'health_phone_report_late',
...HEALTH_SOURCES.flatMap(source => HEALTH_ACTIONS.flatMap(action => [
...HEALTH_RESULTS.map(result => `request_${source}_${action}_${result}` as const),
...HEALTH_FAILURES.map(failure => `request_${source}_${action}_error_${failure}` as const),
diff --cc cli/src/lib/productHealthContract.ts
index 6beddfcfc,79d7edaec..09c293863
--- a/cli/src/lib/productHealthContract.ts
+++ b/cli/src/lib/productHealthContract.ts
@@@ -35,9 -35,8 +35,10 @@@ export type ResumeReason = typeof RESUM
export const PRODUCT_HEALTH_METRICS = [
...CLI_REPORT_FAILURES.map(reason => `health_cli_report_failure_${reason}` as const),
...HEALTH_SOURCES.flatMap(source => RESUME_REASONS.map(reason => `request_${source}_resume_reason_${reason}` as const)),
- ...(['cli', 'desktop'] as const).flatMap(surface => HEALTH_MEASURES.map(m => `health_${surface}_${m}` as const)),
+ // hn's (`tui`) come through its daemon's queue, under that daemon's context, never one of their own.
+ ...(['cli', 'desktop', 'tui'] as const).flatMap(surface => HEALTH_MEASURES.map(m => `health_${surface}_${m}` as const)),
+ // The phone reports only its coverage (the threshold its breakdowns need) and late deliveries.
+ 'health_phone_collector_days', 'health_phone_report_late',
...HEALTH_SOURCES.flatMap(source => HEALTH_ACTIONS.flatMap(action => [
...HEALTH_RESULTS.map(result => `request_${source}_${action}_${result}` as const),
...HEALTH_FAILURES.map(failure => `request_${source}_${action}_error_${failure}` as const),