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.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
Merge branch 'main' into feat/mobile-ios-android
Dev jacob4c2e6a994fe9
diff --cc backend/src/analytics/dailyProductReview.tsindex 7678bc087,2a11171c9..80464b6b6--- a/backend/src/analytics/dailyProductReview.ts+++ b/backend/src/analytics/dailyProductReview.ts@@@ -1,4 -1,4 +1,4 @@@- import { PRODUCT_FEEDBACK, PRODUCT_FEEDBACK_REASONS, PRODUCT_FEEDBACK_OUTCOMES, PRODUCT_USAGE_ACTIONS, PRODUCT_USAGE_AUTOMATIC_ACTIONS, PRODUCT_USAGE_FLOWS, PRODUCT_USAGE_SETUP_FLOWS, PRODUCT_USAGE_SURFACES } from '../types/productUsage.js'-import { PRODUCT_FEEDBACK, PRODUCT_FEEDBACK_REASONS, PRODUCT_FEEDBACK_OUTCOMES, PRODUCT_USAGE_ACTIONS, PRODUCT_USAGE_AUTOMATIC_ACTIONS, PRODUCT_USAGE_FLOWS, PRODUCT_USAGE_SURFACES, PRODUCT_USAGE_USER_OPENED_ACTIONS } from '../types/productUsage.js'++import { PRODUCT_FEEDBACK, PRODUCT_FEEDBACK_REASONS, PRODUCT_FEEDBACK_OUTCOMES, PRODUCT_USAGE_ACTIONS, PRODUCT_USAGE_AUTOMATIC_ACTIONS, PRODUCT_USAGE_FLOWS, PRODUCT_USAGE_SETUP_FLOWS, PRODUCT_USAGE_SURFACES, PRODUCT_USAGE_USER_OPENED_ACTIONS } from '../types/productUsage.js'import { DAILY_PRODUCT_METRICS } from './dailyProductUsage.js'type Row = { dayUtc: Date; metric: string; value: number }diff --cc backend/src/types/productUsage.tsindex ddf72bbf8,28ad0d5c5..7301152cb--- a/backend/src/types/productUsage.ts+++ b/backend/src/types/productUsage.ts@@@ -13,17 -13,13 +13,21 @@@ export const PRODUCT_USAGE_ACTIONS = ['* lists on connect, picker previews): measured for reliability, never as a feature someone used. */export const PRODUCT_USAGE_AUTOMATIC_ACTIONS: readonly typeof PRODUCT_USAGE_ACTIONS[number][] = ['history', 'history_page', 'store_list', 'model_list']export const PRODUCT_USAGE_FEATURE_MEASURES = ['installation_days', 'first_installations', 'repeat_installation_days'] as const+ /** Of those, the lists a person also opens (the Store, a model list): the request that opening sends+ * carries `userAction: true`, and only it counts their reach, under its own `_user_` names, because+ * clients released before the split still send the plain names for every automatic read. */+ export const PRODUCT_USAGE_USER_OPENED_ACTIONS = ['store_list', 'model_list'] as const satisfies typeof PRODUCT_USAGE_AUTOMATIC_ACTIONSexport const PRODUCT_USAGE_SURFACES = ['desktop', 'phone', 'web'] as const-export const PRODUCT_USAGE_FLOWS = ['setup', 'setup_harness', 'setup_tmux', 'setup_clipboard', 'sign_in',- 'workspace_connect', 'computer_link', 'remote_connect', 'viewer_open', 'update_check', 'update_stage', ...HEALTH_FLOWS] as const+/** Flows that can finish before an account exists, so a signed-out report may carry them. The+ * sign_in_<method> flows split the phone's welcome screen by the button used; sign_in stays the total. */+export const PRODUCT_USAGE_SETUP_FLOWS = ['setup', 'setup_harness', 'setup_tmux', 'setup_clipboard', 'sign_in',+ 'sign_in_scan', 'sign_in_google', 'sign_in_apple', 'sign_in_email'] as const+/** Phone onboarding after sign-in: waiting for a computer, opening its session, the first message+ * sent there and the notification prompt that follows. Counts and duration buckets only. */+export const PRODUCT_USAGE_ONBOARDING_FLOWS = ['computer_wait', 'session_open', 'first_message', 'notify_permission'] as const+export const PRODUCT_USAGE_FLOWS = [...PRODUCT_USAGE_SETUP_FLOWS,+ 'workspace_connect', 'computer_link', 'remote_connect', 'viewer_open', 'update_check', 'update_stage',+ ...HEALTH_FLOWS, ...PRODUCT_USAGE_ONBOARDING_FLOWS] as constexport const PRODUCT_USAGE_FLOW_MEASURES = ['started', 'ok', 'failed', 'cancelled', 'unknown','under_1s', '1s_to_10s', '10s_to_1m', 'over_1m'] as constexport const PRODUCT_USAGE_UI_METRICS = PRODUCT_USAGE_SURFACES.flatMap(surface =>diff --cc cli/src/lib/productUsageContract.tsindex ddf72bbf8,28ad0d5c5..7301152cb--- a/cli/src/lib/productUsageContract.ts+++ b/cli/src/lib/productUsageContract.ts@@@ -13,17 -13,13 +13,21 @@@ export const PRODUCT_USAGE_ACTIONS = ['* lists on connect, picker previews): measured for reliability, never as a feature someone used. */export const PRODUCT_USAGE_AUTOMATIC_ACTIONS: readonly typeof PRODUCT_USAGE_ACTIONS[number][] = ['history', 'history_page', 'store_list', 'model_list']export const PRODUCT_USAGE_FEATURE_MEASURES = ['installation_days', 'first_installations', 'repeat_installation_days'] as const+ /** Of those, the lists a person also opens (the Store, a model list): the request that opening sends+ * carries `userAction: true`, and only it counts their reach, under its own `_user_` names, because+ * clients released before the split still send the plain names for every automatic read. */+ export const PRODUCT_USAGE_USER_OPENED_ACTIONS = ['store_list', 'model_list'] as const satisfies typeof PRODUCT_USAGE_AUTOMATIC_ACTIONSexport const PRODUCT_USAGE_SURFACES = ['desktop', 'phone', 'web'] as const-export const PRODUCT_USAGE_FLOWS = ['setup', 'setup_harness', 'setup_tmux', 'setup_clipboard', 'sign_in',- 'workspace_connect', 'computer_link', 'remote_connect', 'viewer_open', 'update_check', 'update_stage', ...HEALTH_FLOWS] as const+/** Flows that can finish before an account exists, so a signed-out report may carry them. The+ * sign_in_<method> flows split the phone's welcome screen by the button used; sign_in stays the total. */+export const PRODUCT_USAGE_SETUP_FLOWS = ['setup', 'setup_harness', 'setup_tmux', 'setup_clipboard', 'sign_in',+ 'sign_in_scan', 'sign_in_google', 'sign_in_apple', 'sign_in_email'] as const+/** Phone onboarding after sign-in: waiting for a computer, opening its session, the first message+ * sent there and the notification prompt that follows. Counts and duration buckets only. */+export const PRODUCT_USAGE_ONBOARDING_FLOWS = ['computer_wait', 'session_open', 'first_message', 'notify_permission'] as const+export const PRODUCT_USAGE_FLOWS = [...PRODUCT_USAGE_SETUP_FLOWS,+ 'workspace_connect', 'computer_link', 'remote_connect', 'viewer_open', 'update_check', 'update_stage',+ ...HEALTH_FLOWS, ...PRODUCT_USAGE_ONBOARDING_FLOWS] as constexport const PRODUCT_USAGE_FLOW_MEASURES = ['started', 'ok', 'failed', 'cancelled', 'unknown','under_1s', '1s_to_10s', '10s_to_1m', 'over_1m'] as constexport const PRODUCT_USAGE_UI_METRICS = PRODUCT_USAGE_SURFACES.flatMap(surface =>