{ "format_version": 1, "id": "device", "name": "Device", "plural": "Devices", "visibility": "owner", "title": "name", "columns": [ { "key": "device_id", "name": "Device id", "type": "text", "required": true, "indexed": true }, { "key": "name", "type": "text", "required": true, "name": "Name", "fact": false }, { "key": "platform", "type": "text", "readonly": true, "name": "Platform", "fact": true, "reading": "{value}", "labels": { "ios": "iPhone", "iphone": "iPhone", "ipad": "iPad", "ipados": "iPad", "mac": "Mac", "macos": "Mac", "android": "Android", "linux": "Linux", "windows": "Windows" } }, { "key": "app_version", "type": "text", "readonly": true, "name": "App version", "fact": false }, { "key": "host_version", "type": "text", "readonly": true, "name": "Server version", "fact": false }, { "key": "approved_at", "type": "date", "format": "calendar-datetime", "readonly": true, "name": "Paired", "fact": true, "reading": "joined {value}" }, { "key": "revoked_at", "type": "date", "readonly": true, "name": "Revoked", "fact": false, "shown_when": { "column": "status", "values": [ "revoked", "erased" ] } }, { "key": "revoked_reason", "type": "text", "readonly": true, "name": "Revoked because", "fact": false, "shown_when": { "column": "status", "values": [ "revoked", "erased" ] } }, { "key": "scope", "name": "Scope", "type": "choice", "choices": [ "full", "reader", "runner" ], "default": "full" }, { "key": "schema_version", "name": "Schema version", "type": "number" }, { "key": "sessions_cap", "type": "number", "name": "Sessions", "fact": false, "units": { "one": "session", "other": "sessions" }, "shown_when": { "column": "status", "values": [ "this device", "approved" ] } }, { "key": "sessions_running", "type": "number", "readonly": true, "name": "Sessions", "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "agents", "name": "Agents", "type": "longtext" }, { "key": "account_ids", "name": "Account ids", "type": "longtext" }, { "key": "repos", "name": "Repos", "type": "longtext" }, { "key": "chip", "type": "text", "readonly": true, "name": "Chip", "fact": true, "reading": "{value}", "shown_when": { "column": "status", "values": [ "approved" ] } }, { "key": "os_version", "type": "text", "readonly": true, "name": "OS version", "fact": true, "reading": "{value}", "shown_when": { "column": "status", "values": [ "approved" ] } }, { "key": "cpu_count", "type": "number", "readonly": true, "name": "Processor", "fact": true, "reading": "{value} cpus", "fact_join": ", ", "units": { "one": "CPU", "other": "CPUs" }, "shown_when": { "column": "status", "values": [ "approved" ] } }, { "key": "mem_total_gb", "type": "number", "readonly": true, "name": "Memory", "fact": true, "reading": "{value} GB", "fact_join": ", ", "units": { "one": "GB", "other": "GB" }, "shown_when": { "column": "status", "values": [ "approved" ] } }, { "key": "disk_total_gb", "type": "number", "readonly": true, "name": "Disk", "fact": false, "units": { "one": "GB", "other": "GB" } }, { "key": "sampled_at", "type": "date", "readonly": true, "name": "Last reading", "fact": false, "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "relay_identity_key", "name": "Relay identity key", "type": "text" }, { "key": "approved_by_device", "type": "text", "readonly": true, "name": "Approved by", "fact": true, "reading": "approved by {value}", "fact_join": ", " }, { "key": "revoked_by_device", "name": "Revoked by device", "type": "text" }, { "key": "push_authorization", "type": "text", "readonly": true, "name": "Notifications reported", "fact": false }, { "key": "mem_free_pct", "type": "number", "readonly": true, "name": "Memory free", "fact": false, "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "load1", "name": "Load1", "type": "number" }, { "key": "disk_free_gb", "type": "number", "readonly": true, "name": "Disk free", "fact": false, "units": { "one": "GB", "other": "GB" }, "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "build_lock_held", "name": "Build lock held", "type": "number" }, { "key": "mem_committed_gb", "type": "number", "readonly": true, "name": "Committed", "fact": false, "units": { "one": "GB", "other": "GB" }, "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "mem_budget_gb", "type": "number", "readonly": true, "name": "Memory budget", "fact": false, "units": { "one": "GB", "other": "GB" }, "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "session_peak_gb", "name": "Session peak gb", "type": "number" }, { "key": "session_peak_samples", "name": "Session peak samples", "type": "number" }, { "key": "serving_rank", "type": "number", "readonly": true, "name": "Serving rank", "fact": false }, { "key": "copy_as_of", "name": "Copy as of", "type": "text" }, { "key": "update_hold", "type": "text", "readonly": true, "name": "Update hold", "fact": false }, { "key": "runner_ordered_at", "type": "date", "readonly": true, "name": "Runner ordered", "fact": false }, { "key": "runner_confirmed_at", "type": "date", "readonly": true, "name": "Runner confirmed", "fact": false }, { "key": "runner_problem", "type": "longtext", "readonly": true, "name": "Runner owed", "fact": false }, { "key": "ai_holds", "name": "Ai holds", "type": "longtext" }, { "key": "ai_spend", "name": "Ai spend", "type": "longtext" }, { "key": "ai_day_cap_usd", "type": "number", "name": "API cap per day", "fact": false, "units": { "one": "USD", "other": "USD" }, "shown_when": { "column": "status", "values": [ "this device", "approved" ] } }, { "key": "reported_state", "name": "Reported state", "type": "longtext" }, { "key": "synced_at", "name": "Synced at", "type": "date", "format": "calendar-datetime", "readonly": true }, { "key": "sync_version", "name": "Sync version", "type": "number", "readonly": true }, { "key": "sync_rows_total", "name": "Sync rows total", "type": "number", "readonly": true }, { "key": "sync_rows_done", "name": "Sync rows done", "type": "number", "readonly": true }, { "key": "sync_bytes", "name": "Sync bytes", "type": "bytes" }, { "key": "caught_up", "name": "Caught up", "type": "bool", "readonly": true }, { "key": "stalled_at", "name": "Stalled at", "type": "date", "format": "calendar-datetime" }, { "key": "stalled_why", "name": "Why it stalled", "type": "text", "readonly": true }, { "key": "copy_remade_at", "name": "Copy made again", "type": "date", "format": "calendar-datetime" }, { "key": "media_waiting_bytes", "name": "Media to back up", "type": "bytes" }, { "key": "media_waiting", "name": "Files to back up", "type": "number" }, { "key": "media_failed", "name": "Files not backed up", "type": "number" }, { "key": "removal_state", "name": "Removal", "type": "choice", "choices": [ "waiting" ], "readonly": true, "fact": false, "reading": "{value}", "labels": { "waiting": "removal waiting for your Mac" } }, { "key": "has_access", "name": "Access", "type": "bool", "readonly": true, "fact": false }, { "key": "can_serve", "name": "Can serve", "type": "bool", "readonly": true, "fact": false }, { "key": "state", "name": "State", "type": "text", "readonly": true, "fact": false }, { "key": "build", "name": "Build", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "schema", "name": "Schema", "type": "text", "readonly": true, "live": true, "fact": false, "reading": "schema {value}", "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "last_answer", "name": "Last answer", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "serving_order", "name": "Serving order", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "calls_ports", "name": "Calls and ports", "type": "longtext", "readonly": true, "live": true, "fact": false }, { "key": "calls_range", "name": "Calls ports", "type": "text", "readonly": true, "fact": false, "reading": "calls · {value}" }, { "key": "calls", "name": "Calls", "type": "choice", "choices": [ "running", "not_running", "engine_missing", "database_unreadable", "vault_keys", "turn_credentials_missing", "turn_refused", "engine_start", "engine_silent", "keys_wait_for_calls", "no_public_address", "cloudflare_calls_permission" ], "readonly": true, "fact": false, "reading": " · {value}", "labels": { "running": "running on this Mac (not checked from outside the home network)", "not_running": "not running", "engine_missing": "not running: this Mac's app has no calling engine", "database_unreadable": "not running: the database could not be read", "vault_keys": "not running: its keys could not be read from the vault", "turn_credentials_missing": "one active Cloudflare connection with an API token is needed", "turn_refused": "not running: the media relay refused the TURN key", "engine_start": "not running: the engine would not start", "engine_silent": "not running: the engine does not answer", "keys_wait_for_calls": "paused: new keys wait for the calls in progress to end", "no_public_address": "not running: this Mac has no address a phone can reach", "cloudflare_calls_permission": "Cloudflare connection needs Calls Write permission" } }, { "key": "calls_failing_since", "name": "Calls stopped", "type": "date", "readonly": true, "fact": false, "reading": " since {value}" }, { "key": "unreachable_since", "name": "Unreachable since", "type": "date", "readonly": true, "live": true, "fact": false }, { "key": "placement_problems", "name": "Passwords", "type": "longtext", "readonly": true, "fact": false }, { "key": "ai_spend_line", "name": "Claude API today", "type": "text", "readonly": true, "fact": false }, { "key": "reported_state_lines", "name": "Reported", "type": "longtext", "readonly": true, "fact": false }, { "key": "kind", "name": "Kind", "type": "choice", "choices": [ "iPhone", "Android", "Mac", "Linux" ], "readonly": true, "fact": true, "reading": "{value}", "objects": { "iPhone": "phone", "Android": "phone", "Mac": "mac", "Linux": "linux" }, "labels": { "iPhone": "iPhone", "Android": "Android", "Mac": "Mac", "Linux": "Linux" } }, { "key": "machine", "name": "Runs the server", "type": "text", "readonly": true, "fact": false }, { "key": "asked_at", "name": "Asked", "type": "date", "readonly": true, "fact": false, "shown_when": { "column": "status", "values": [ "waiting" ] } }, { "key": "serving_place", "name": "Serving order", "type": "text", "readonly": true, "fact": false, "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "load", "name": "Free disk", "type": "text", "readonly": true, "fact": false, "format": "counted-pair", "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "load_1", "name": "Load", "type": "number", "readonly": true, "fact": false, "shown_when": { "column": "machine", "values": [ "yes" ] } }, { "key": "smooth_scrolling", "name": "Smooth scrolling", "type": "number", "readonly": true, "fact": false, "units": { "one": "%", "other": "%" } }, { "key": "hangs_today", "name": "Hangs today", "type": "number", "readonly": true, "fact": false }, { "key": "cpu_time_today", "name": "CPU time today", "type": "number", "readonly": true, "fact": false, "units": { "one": "s", "other": "s" }, "format": "duration" }, { "key": "peak_memory", "name": "Peak memory", "type": "number", "readonly": true, "fact": false, "format": "bytes" }, { "key": "host_answered_by", "name": "Settings said by", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "backup_answered_by", "name": "Backup said by", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "backup", "name": "Backup", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "backup_answered_by", "values": [ "this mac", "serving mac" ] } }, { "key": "backup_why", "name": "Why", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "backup_answered_by", "values": [ "this mac", "serving mac" ] } }, { "key": "session", "name": "Signed in", "type": "choice", "readonly": true, "choices": [ "signed_in", "signed_out" ], "shown_when": { "column": "status", "values": [ "this device" ] }, "fact": false }, { "key": "devices_route", "name": "All devices", "type": "url", "readonly": true, "fact": false }, { "key": "media_backup", "name": "Photos and files", "type": "text", "readonly": true, "fact": false, "shown_when": { "column": "backup_answered_by", "values": [ "this mac", "serving mac" ] } }, { "key": "push", "name": "Push", "type": "text", "readonly": true, "fact": true, "reading": "{value}", "shown_when": { "column": "status", "values": [ "approved" ] } }, { "key": "start_at_login", "name": "Start at login", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "host_answered_by", "values": [ "this mac" ] } }, { "key": "stay_awake", "name": "Stay awake", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "host_answered_by", "values": [ "this mac" ] } }, { "key": "error_reports", "name": "Error reports", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "host_answered_by", "values": [ "this mac" ] } }, { "key": "auto_updates", "name": "Updates", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "host_answered_by", "values": [ "this mac" ] } }, { "key": "error_reports_to", "name": "Error reports go to", "type": "text", "live": true, "fact": false, "shown_when": { "column": "host_answered_by", "values": [ "this mac" ] } }, { "key": "update_feed", "name": "Updates come from", "type": "text", "live": true, "fact": false, "shown_when": { "column": "host_answered_by", "values": [ "this mac" ] } }, { "key": "reach_answered_by", "name": "How it is reached said by", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "reached_through", "name": "Reached through", "type": "choice", "choices": [ "cotton_relay", "own_relay", "tailscale_funnel", "direct" ], "live": true, "fact": false, "shown_when": { "column": "reach_answered_by", "values": [ "household" ] }, "labels": { "cotton_relay": "Cotton relay", "own_relay": "Your own relay", "tailscale_funnel": "Tailscale Funnel", "direct": "Direct" } }, { "key": "keeps_answered_by", "name": "What it keeps said by", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "keep_mail", "name": "Mail", "type": "choice", "choices": [ "all", "days:30", "days:90", "days:365", "none" ], "live": true, "fact": false, "placeholder": "Cotton's default", "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "all": "Everything", "days:30": "1 month", "days:90": "3 months", "days:365": "1 year", "none": "Never" } }, { "key": "keep_statuses", "name": "Statuses", "type": "choice", "choices": [ "all", "days:30", "days:90", "days:365", "none" ], "live": true, "fact": false, "placeholder": "Cotton's default", "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "all": "Everything", "days:30": "1 month", "days:90": "3 months", "days:365": "1 year", "none": "Never" } }, { "key": "keep_files_whatsapp", "name": "WhatsApp media", "type": "choice", "choices": [ "all", "recent_90_days", "only_opened" ], "live": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "all": "Everything", "recent_90_days": "Last 3 months", "only_opened": "Only what I open" } }, { "key": "keep_files_instagram", "name": "Instagram media", "type": "choice", "choices": [ "all", "recent_90_days", "only_opened" ], "live": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "all": "Everything", "recent_90_days": "Last 3 months", "only_opened": "Only what I open" } }, { "key": "keep_files_photo", "name": "Photos", "type": "choice", "choices": [ "all", "recent_90_days", "only_opened" ], "live": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "all": "Everything", "recent_90_days": "Last 3 months", "only_opened": "Only what I open" } }, { "key": "keep_files_video", "name": "Videos", "type": "choice", "choices": [ "all", "recent_90_days", "only_opened" ], "live": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "all": "Everything", "recent_90_days": "Last 3 months", "only_opened": "Only what I open" } }, { "key": "keep_files_document", "name": "Documents", "type": "choice", "choices": [ "all", "recent_90_days", "only_opened" ], "live": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "all": "Everything", "recent_90_days": "Last 3 months", "only_opened": "Only what I open" } }, { "key": "kept_space_bytes", "name": "Space for kept things", "type": "choice", "choices": [ "1000000000", "2000000000", "5000000000", "10000000000", "none" ], "live": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] }, "labels": { "1000000000": "1 GB", "2000000000": "2 GB", "5000000000": "5 GB", "10000000000": "10 GB", "none": "No limit" } }, { "key": "keep_fetch_full", "name": "Kept things", "type": "text", "readonly": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] } }, { "key": "keep_fetch_coming", "name": "Kept on this phone", "type": "longtext", "readonly": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] } }, { "key": "keep_always", "name": "Always", "type": "longtext", "readonly": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "phone" ] } }, { "key": "keep_bytes", "name": "Files", "type": "choice", "choices": [ "everything", "rows_only" ], "fact": false, "toggle_on": [ "everything" ], "placeholder": "Set tool by tool in Storage", "hints": { "everything": "Keep files and rows on this Mac.", "rows_only": "No files are kept on this Mac; rows only." }, "shown_when": { "column": "keeps_answered_by", "values": [ "mac" ] }, "labels": { "everything": "Everything", "rows_only": "Rows only" }, "default": "everything" }, { "key": "runner_confirm", "name": "Serving Mac copy", "type": "choice", "choices": [ "waiting", "short", "confirmed" ], "readonly": true, "fact": false, "labels": { "waiting": "Waiting for the serving Mac", "short": "Still owed changes or files", "confirmed": "Confirmed" } }, { "key": "runner_drop", "name": "Drop copy and pair", "type": "choice", "choices": [ "waiting", "done" ], "readonly": true, "fact": false, "labels": { "waiting": "Waiting", "done": "Copies and backup identity dropped; paired as a runner" } }, { "key": "keep_bytes_note", "name": "While serving", "type": "text", "readonly": true, "fact": false, "shown_when": { "column": "keeps_answered_by", "values": [ "mac" ] } }, { "key": "status", "name": "Status", "type": "choice", "choices": [ "waiting", "this device", "approved", "revoked", "erased" ], "readonly": true, "fact": false, "labels": { "waiting": "Waiting", "this device": "This device", "approved": "Approved", "revoked": "Revoked", "erased": "Erased" } }, { "key": "digits", "name": "Code", "type": "text", "readonly": true, "fact": false, "shown_when": { "column": "status", "values": [ "waiting" ] } }, { "key": "rekey", "name": "Re-key", "type": "choice", "choices": [ "asking", "waiting", "finishing", "failed" ], "readonly": true, "fact": false, "labels": { "asking": "Asking for approval", "waiting": "Waiting for approval", "finishing": "Approved, switching to the new key", "failed": "Not approved; the current key is still in use" } }, { "key": "rekey_digits", "name": "Code to approve", "type": "text", "readonly": true, "fact": false, "shown_when": { "column": "rekey", "values": [ "waiting" ] } }, { "key": "rekeyed_at", "name": "Re-keyed", "type": "date", "readonly": true, "fact": true, "reading": "re-keyed {value}", "format": "calendar-datetime" }, { "key": "last_seen_at", "name": "Last seen", "type": "date", "readonly": true, "fact": true, "reading": "{value}", "format": "calendar-datetime" }, { "key": "refusal", "name": "Not serving", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "refusal_clearable", "name": "Can serve again", "type": "bool", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "ambient", "name": "Sync", "type": "choice", "choices": [ "up_to_date", "waiting_for_mac" ], "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] }, "labels": { "up_to_date": "Up to date", "waiting_for_mac": "Mac not heard yet" } }, { "key": "mac_heard_at", "name": "Mac heard", "type": "date", "readonly": true, "live": true, "fact": false, "units": { "one": "Mac heard {n}", "other": "Mac heard {n}" }, "format": "ago", "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "changes_waiting", "name": "Waiting to send", "type": "number", "readonly": true, "live": true, "fact": false, "units": { "one": "1 change waiting to send", "other": "{n} changes waiting to send" }, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "waiting_since", "name": "Mac not heard since", "type": "date", "readonly": true, "live": true, "fact": false, "reading": "Mac not heard since {datetime}", "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "last_synced", "name": "Synced", "type": "date", "readonly": true, "live": true, "fact": false, "units": { "one": "synced {n}", "other": "synced {n}" }, "format": "ago", "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "sync_trouble", "name": "Last try", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "sync_background", "name": "In the background", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "coming", "name": "Coming", "type": "longtext", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "search_index", "name": "Search index", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "has_server", "name": "Has a server", "type": "bool", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "backups", "name": "Backups", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "failed_files", "name": "Not backed up", "type": "longtext", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "notifications", "name": "Notifications", "type": "text", "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "notifications_permission", "name": "Allowed by the system", "type": "choice", "choices": [ "granted", "denied", "undetermined" ], "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "notify_system", "name": "Notifications", "type": "choice", "choices": [ "on", "declined" ], "readonly": true, "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] }, "labels": { "on": "On", "declined": "Declined in Settings" } }, { "key": "notifications_off", "name": "Notifications off", "type": "text", "readonly": true, "fact": false, "shown_when": { "column": "push_authorization", "values": [ "denied" ] } }, { "key": "notify", "name": "Notifications", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "notify_reminders", "name": "Todo reminders", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "notify_events", "name": "Events", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "notify_birthdays", "name": "Birthdays", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "notify_alarms", "name": "Alarms", "type": "bool", "live": true, "fact": false, "shown_when": { "column": "status", "values": [ "this device" ] } }, { "key": "sessions", "name": "Sessions", "type": "text", "readonly": true, "live": true, "fact": false, "format": "counted-pair", "shown_when": { "column": "status", "values": [ "this device", "approved" ] } }, { "key": "takes_placements", "name": "Takes placements", "type": "bool", "fact": false, "default": false }, { "key": "keep_free_bytes", "name": "Keep free", "type": "bytes", "fact": false, "placeholder": "15% of the disk" }, { "key": "keep_free_percent", "name": "Keep free", "type": "number", "readonly": true, "fact": false, "units": { "one": "keeps {n} % of the disk free · {keep_free_size}", "other": "keeps {n} % of the disk free · {keep_free_size}" } }, { "key": "keep_free_size", "name": "Kept free", "type": "text", "readonly": true, "fact": false }, { "key": "theme_change_id", "name": "Last theme change", "type": "text", "readonly": true, "live": true, "fact": false }, { "key": "theme_undo_available", "name": "Theme can be undone", "type": "bool", "readonly": true, "live": true, "fact": false }, { "key": "theme_changed_at", "name": "Theme changed", "type": "date", "readonly": true, "live": true, "fact": true, "reading": "theme changed {value}", "format": "calendar-datetime" }, { "key": "bytes_wanted", "name": "Still to fetch", "type": "bytes", "readonly": true, "live": true, "fact": true }, { "key": "held_until", "name": "AI paused until", "type": "date", "readonly": true, "fact": false, "reading": "Paused until {datetime}", "format": "calendar-datetime" }, { "key": "hold_reason", "name": "AI pause reason", "type": "choice", "choices": [ "anthropic_credits" ], "readonly": true, "fact": false, "labels": { "anthropic_credits": "Anthropic credits" } } ], "instructions": "A device is one of the owner's phones or Macs that has joined, each holding a full copy of the data, or one asking to join (status waiting, with the six digits it shows). The serving order says which Mac serves when several are on, and sessions_cap caps the coding sessions it runs at once (0 takes the Mac out of the household). The serving Mac's row says which kinds of Claude API work it has paused (ai_holds) and what it spent today (ai_spend_line); every device's row says what it reported of itself with its last exchange (reported_state_lines: last answer, unsent, build and schema, databases listed, the open problem, a copy in progress); ai_day_cap_usd is the owner's daily cap in US dollars, empty for the $5 default. Approving, declining, removing, erasing and making a Mac the server are the page's actions, never a column write; never approve or remove one without the owner. This device's own row also says what it is doing — how it syncs and what failed to back up, a refusal another Mac holds against it, and its notification switches and the system's permission for them — and its page offers Sync now, the writes that did not land, storage and Send a report (a redacted document in the personal database: state, last 500 log lines, registry files).", "tables": [], "picture": { "photo": "photo:d89f5c6c461b0d34c508c61f19091f0cd821288143a2598e0c5b8ac6e3d06e18", "object": "tool-devices" }, "builtin": true, "engine": "devices", "live_read": { "method": "device.facts", "bindings": { "deviceId": "$id" }, "fields": [ "build", "schema", "last_answer", "serving_order", "calls_ports", "unreachable_since", "host_answered_by", "backup", "backup_why", "backup_answered_by", "refusal", "refusal_clearable", "last_synced", "ambient", "changes_waiting", "waiting_since", "sync_trouble", "sync_background", "coming", "search_index", "has_server", "backups", "failed_files", "notifications", "notifications_permission", "keeps_answered_by", "reach_answered_by", "sessions_running", "sessions", "theme_change_id", "theme_undo_available", "theme_changed_at", "bytes_wanted", "notify_system" ] }, "date": null, "project": null, "order": null, "slip": { "title": "name", "with_names": false, "subtitle": [ "removal_state", "last_synced", "ambient", "mac_heard_at", "changes_waiting", "waiting_since", "held_until", "hold_reason", "placement_problems", "load" ], "trailing": null, "photo": null, "toggle": null, "caption": { "status": "state", "dates": [ "last_seen_at" ] } }, "tile": { "face": "slip-list" }, "page": [ { "heading": null, "columns": [ "removal_state", "held_until", "hold_reason", "ai_spend_line", "reported_state_lines", "placement_problems", "refusal", "ambient", "changes_waiting", "waiting_since", "last_synced", "sync_trouble", "sync_background", "search_index", "push", "backups", "failed_files", "bytes_wanted" ] }, { "heading": "What is coming", "columns": [ "coming", "keep_fetch_coming" ] }, { "heading": "Notifications", "columns": [ "notifications_off", "notifications", "notify", "notify_reminders", "notify_events", "notify_birthdays", "notify_alarms" ] }, { "heading": "What this Mac keeps", "columns": [ "keep_bytes", "keep_bytes_note" ] }, { "heading": "What this phone keeps", "columns": [ "keep_mail", "keep_statuses", "keep_files_whatsapp", "keep_files_instagram", "keep_files_photo", "keep_files_video", "keep_files_document", "kept_space_bytes", "keep_fetch_full", "keep_always" ] }, { "heading": "Identity and trust", "columns": [ "name", "digits", "asked_at", "approved_at", "rekeyed_at", "rekey", "rekey_digits", "approved_by_device", "revoked_at", "revoked_reason", "last_seen_at" ] }, { "heading": "Role", "columns": [ "serving_place", "sessions_cap", "ai_day_cap_usd", "backup", "backup_why", "media_backup" ] }, { "heading": "How the world reaches this household", "columns": [ "reached_through" ] }, { "heading": "This Mac", "columns": [ "start_at_login", "stay_awake", "error_reports", "error_reports_to", "auto_updates", "update_feed" ] }, { "heading": "How it is doing", "columns": [ "load_1", "sessions_running", "smooth_scrolling", "hangs_today", "cpu_time_today", "peak_memory" ] }, { "heading": "Capacity", "columns": [ "chip", "cpu_count", "mem_total_gb", "os_version", "update_hold", "keep_free_bytes" ] } ], "add": false, "list_route": "/devices", "setup": true, "screen_family": "devices", "polled": true, "group": { "column": "status", "sections": [ { "heading": "Asking to join", "values": [ "waiting" ], "note": "A new device joins by typing this database's name, then comparing six digits here." }, { "heading": "Joined", "values": [ "this device", "approved" ] }, { "heading": "Removed", "values": [ "revoked", "erased" ], "closed": true } ] }, "delete": false, "commands": [ { "id": "serve_from", "label": "Serve from this Mac", "kind": "update", "method": "device.serveFrom", "destructive": true, "confirm": "This Mac takes over serving this database.", "bindings": { "deviceId": "$id" }, "when": { "kind": "Mac", "status": "approved" }, "receipt": "This Mac is serving", "does": "moves", "object": "folder" }, { "id": "sign_in", "label": "Sign in", "object": "arrow", "kind": "update", "method": "settings.openFlow", "data": { "flow": "signIn", "origin_table": "device" }, "bindings": { "origin_id": "$id" }, "when": { "status": "this device", "session": "signed_out" }, "receipt": "Signing in" }, { "id": "sign_out", "label": "Sign out", "object": "send", "kind": "update", "method": "settings.openFlow", "data": { "flow": "signOut", "origin_table": "device" }, "bindings": { "origin_id": "$id" }, "when": { "status": "this device", "session": "signed_in" }, "receipt": "Signed out" }, { "id": "sync_now", "label": "Sync now", "kind": "update", "method": "sync.now", "when": { "status": "this device", "session": { "not": "signed_out" } }, "receipt": "Syncing", "object": "loop" }, { "id": "share_ink", "label": "Share ink", "object": "pencil", "kind": "update", "method": "settings.openFlow", "data": { "flow": "shareInk", "origin_table": "device" }, "bindings": { "origin_id": "$id" }, "when": { "status": "this device", "session": [ "signed_in", "signed_out" ] }, "receipt": "Sharing ink" }, { "id": "erase_here", "label": "Erase", "kind": "update", "method": "settings.openFlow", "data": { "flow": "eraseThisDevice", "origin_table": "device" }, "bindings": { "origin_id": "$id" }, "when": { "status": "this device", "session": [ "signed_in", "signed_out" ] }, "destructive": true, "receipt": "Asked before erasing", "does": "destroys", "object": "bin" }, { "id": "open_devices", "label": "All devices", "object": "device", "kind": "open", "when": { "status": "this device", "session": { "not": [ "signed_in", "signed_out" ] } }, "opens": "devices_route" }, { "id": "approve", "label": "Approve", "kind": "update", "method": "pairing.approve", "bindings": { "pairingId": "$id", "digits": "digits" }, "when": { "status": "waiting" }, "receipt": "Admitted {name}", "does": "completes", "object": "stamp" }, { "id": "remove", "label": "Remove", "object": "cross", "kind": "update", "method": "devices.revoke", "data": { "erase": false }, "destructive": true, "confirm": "It stops syncing at once and is taken out of this database. What it already holds stays on it; to join again it asks, and is approved again.", "bindings": { "deviceId": "$id" }, "when": { "status": "approved" }, "receipt": "Removed {name}", "does": "destroys" }, { "id": "erase", "label": "Erase", "kind": "update", "method": "devices.revoke", "data": { "erase": true }, "destructive": true, "confirm": "It is taken out of this database, and the next time it reaches any of your devices it erases what it holds of it. This cannot be undone.", "bindings": { "deviceId": "$id" }, "when": { "status": "approved" }, "receipt": "Removed {name}; it will erase itself", "does": "destroys", "object": "bin" }, { "id": "rekey", "label": "Re-key this device", "object": "clock", "kind": "update", "method": "device.rekey", "when": { "status": "this device", "session": { "not": [ "signed_in", "signed_out" ] } }, "receipt": "Waiting for approval", "does": "times" }, { "id": "send_report", "label": "Send a report", "kind": "update", "method": "diagnostics.report", "data": { "title": "Device report" }, "when": { "status": "this device", "session": { "not": [ "signed_in", "signed_out" ] } }, "receipt": "Report filed", "does": "moves", "object": "slip" }, { "id": "become_runner", "label": "Use as runner", "kind": "update", "method": "device.becomeRunner", "destructive": true, "confirm": "Once the serving Mac confirms it holds everything this Mac holds, this Mac drops its copy of every database and its backup identity, then only runs jobs and takes placements. Repository homes must be moved first.", "bindings": { "deviceId": "$id" }, "when": { "kind": "Mac", "status": "approved" }, "receipt": "This Mac becomes a runner", "does": "moves", "object": "folder" } ], "tool": { "views": [ { "id": "all", "label": "All", "visibility": "owner", "is_default": true, "read": { "table": "device" } } ], "name": "Devices", "purpose": "Your devices, their access and sync state.", "key": "devices", "icon": "monitor-smartphone", "card_stock": "tan", "route": "/devices" }, "parts": { "shape": "sheet", "head": { "facts": [ "platform", "last_seen_at" ], "state": "state" }, "links": [], "lists": [], "acts": { "main": "sign_out", "more": [ "sign_in", "sync_now", "send_report", "rekey", "approve", "share_ink" ], "away": "erase_here" }, "cards": [ { "column": "removal_state" }, { "column": "bytes_wanted" }, { "column": "ambient", "object": "words" }, { "column": "changes_waiting" }, { "column": "waiting_since", "label": "Mac away since" }, { "column": "last_synced" }, { "column": "sync_trouble" }, { "column": "refusal" }, { "column": "runner_problem" }, { "column": "kind", "object": "device" }, { "column": "notify", "object": "bell", "label": "Alerts", "switches": [ "notify", "notify_reminders", "notify_events", "notify_birthdays", "notify_alarms" ], "caption": "{on} of {total} on", "when": { "column": "notify_system", "values": [ "on" ] } }, { "column": "notify_system", "object": "bell", "label": "Alerts", "when": { "column": "notify_system", "values": [ "declined" ] } }, { "column": "sessions", "object": "figure", "when": { "column": "status", "values": [ "this device", "approved" ] } }, { "column": "keep_bytes", "object": "archive", "when": { "column": "status", "values": [ "approved" ] } }, { "column": "backup", "when": { "column": "backup_answered_by", "values": [ "this mac", "serving mac" ] } }, { "column": "backup_why", "when": { "column": "backup_answered_by", "values": [ "this mac", "serving mac" ] } }, { "column": "disk_free_gb", "width": "full", "object": "figure", "label": "Free disk", "when": { "column": "status", "values": [ "approved" ] } }, { "column": "keep_free_percent", "width": "full", "object": "figure", "when": { "column": "kind", "values": [ "Mac" ] } }, { "column": "keep_free_bytes", "object": "figure", "label": "Set keep free", "when": { "column": "kind", "values": [ "Mac" ] } }, { "column": "runner_confirm", "when": { "column": "runner_confirm", "values": [ "waiting", "short", "confirmed" ] } }, { "column": "runner_drop", "when": { "column": "runner_drop", "values": [ "waiting", "done" ] } }, { "column": "keep_mail", "object": "mail" }, { "column": "keep_statuses", "object": "message" }, { "column": "keep_files_whatsapp", "object": "chat" }, { "column": "keep_files_instagram", "object": "lens" }, { "column": "keep_files_photo", "object": "picture" }, { "column": "keep_files_video", "object": "picture" }, { "column": "keep_files_document", "object": "file" }, { "column": "kept_space_bytes", "object": "archive", "label": "Kept space" }, { "column": "reached_through", "object": "link" }, { "column": "start_at_login" }, { "column": "stay_awake" }, { "column": "error_reports" }, { "column": "auto_updates" } ], "strip": [] } }