Cotton code
119 lines · 5.4 KB · JSONRaw
{  "format_version": 1,  "id": "dispatch",  "mac": {    "said": "{name} {why}",    "revoked": "is not admitted to this database any more",    "never_reported": "has never reported — the session host is not running on it",    "not_seen": "has not reported in {minutes} minutes",    "at_cap": "is running {running} of its {cap}",    "memory_unknown": "has not said how much memory is free",    "low_memory": "has {free_pct}% memory free, under the {min_pct}% a session needs",    "no_room": "has {free_gb} GB free; a {job} needs {cost_gb}",    "tool_not_installed": "does not have {tool} installed",    "low_disk": "has {free_gb} GB of disk free; a lane needs {lane_gb} over the {reserve_gb} it keeps",    "not_signed_in": "is not signed in to {tool}",    "account_near_limit": "is signed in as {account}, which has used {pct}% of its five-hour window",    "repo_not_here": "does not have {repo} and holds no copy to make one from"  },  "household": {    "revoked": "No Mac is admitted to this database any more.",    "never_reported": "No Mac has reported — is CottonDB running on one?",    "not_seen": "No Mac has reported in the last {window} minutes — {names} may be asleep.",    "at_cap": {      "one": "{names} is full ({running} of {cap}).",      "other": "{names} are full ({running} of {cap})."    },    "memory_unknown": "No Mac has said how much memory is free.",    "low_memory": {      "one": "The one Mac is under {min_pct}% memory free.",      "other": "Every Mac is under {min_pct}% memory free."    },    "no_room": {      "one": "{names} is out of room: {free_gb} GB free, and a {job} needs {cost_gb}.",      "other": "{names} are out of room: {free_gb} GB free, and a {job} needs {cost_gb}."    },    "tool_not_installed": "No Mac has {tool} installed.",    "not_signed_in": "No Mac has {tool} signed in.",    "account_near_limit": {      "one": "The one Mac is signed in to a login past {pct}% of its five-hour window.",      "other": "Every Mac is signed in to a login past {pct}% of its five-hour window."    },    "repo_not_here": "No Mac has {repo}, or a copy to make one from.",    "low_disk": {      "one": "{names} is short of disk: {free_gb} GB free, and a lane needs {lane_gb} over the {reserve_gb} kept.",      "other": "{names} are short of disk: {free_gb} GB free, and a lane needs {lane_gb} over the {reserve_gb} kept."    }  },  "no_devices": "No Mac has joined this database yet, so there is nowhere to run a session.",  "no_own_database": "The Mac holding this database has no database of its own recorded, so it has no list of Macs to run a session on.",  "none_can": "No Mac can take it right now.",  "each_its_own": "No Mac can take it right now — {count} Macs, each for its own reason.",  "waiting": "Waiting for a free Mac: {body}.",  "waiting_more": "Waiting for a free Mac: {body} · and {more} more.",  "between": " · ",  "names": {    "two": "{first} and {second}",    "many": "{rest} and {last}",    "comma": ", "  },  "unclaimed": "{machine} has not picked it up — is CottonDB running there?",  "that_mac": "That Mac",  "jobs": {    "coding_session": "coding session",    "mcp_server": "MCP server",    "ios_simulator": "iOS simulator",    "build": "build",    "cargo_build": "cargo build",    "android_emulator": "Android emulator",    "job": "job"  },  "transcript": {    "started": "started on {who} · {clock}",    "ended": "ended · {clock}"  },  "session": {    "untitled": "Untitled session",    "repo_branch": "{repo} · {branch}",    "conversation": "Conversation",    "project_conversation": "{project} · conversation"  },  "session_table": {    "a_project_s_own": "A project’s own conversation stays with its project.",    "describe_the_task_before": "Describe the task before an agent starts on one of your Macs.",    "no_mac_has_started": "No Mac has started it yet, so it can still be taken back.",    "open_link": "Open {link}",    "open_the_terminal": "Open the terminal",    "resumed": "Resumed.",    "say_what_the_session": "Say what the session should do first.",    "start_a_codex_session": "Start a Codex session",    "start_a_session": "Start a session",    "the_session_list_came": "The session list came back without its quiet window.",    "the_session_was_not": "The session was not started.",    "what_should_it_do": "What should it do?",    "withdraw_this_session": "Withdraw this session?",    "withdrawn": "Withdrawn."  },  "cuts": {    "did_not_start": "Did not start",    "ended_with_code": "Ended with code {exit}",    "it_asked_you_a": "It asked you a question",    "no_state_reported": "No state reported",    "quiet_for": "Quiet for {span}",    "from_terminal_on": "Started from a terminal on {machine} — Cotton can read it and pass a reply when it next polls.",    "from_terminal": "Started from a terminal — Cotton can read it and pass a reply when it next polls.",    "starting_on": "Starting on {machine}",    "waiting_for_to_pick": "Waiting for {machine} to pick it up",    "waiting_for_a_mac": "Waiting for a Mac",    "waiting_for_a_permission": "Waiting for a permission",    "waiting_for_you_to": "Waiting for you to type",    "waiting_on_you": "Waiting on you",    "you_took_it_back": "You took it back"  },  "messages": {    "the_message_was_sent": "The message was sent, but Cotton did not say which row it is."  },  "vocabulary": {    "claude_code": "Claude Code"  }}