Files
w3cjandClaude Opus 5.5 f3052e5a8e feat(upgrade): releases checked by two of three release keys, bridged from the old key
devvm upgrade and install.sh accept a release's SHA256SUMS when any two
of three release keys signed it (CI's, the co-signer's and an offline
recovery key's), each in SHA256SUMS.<role>.minisig, checked only against
its own role's key, with the trusted comment devvm-release <version>
compared exactly; one signer counts once. While releases bridge from it,
the old release key's single SHA256SUMS.minisig (devvm <version>) still
passes alone, so 0.1 and 0.2 keep upgrading and --to/--version can
install them; install.sh now checks that key's trusted comment too.

The keys themselves aren't made yet, so packaging/keys holds none and
install.sh's three key lines are empty: a devvm built so checks each
release with the old release key alone, and a release that only the
release keys signed is refused. Releases go out as before, signed with
the old key, until the keys are made and added, all three at once.

- internal/minisign: the one owner of signature checks (moved from
  internal/upgrade): ParsePublicKey, PublicKey.Check (comment always
  compared), Role (CI, Cosign, Recovery), Kind (Release, Base),
  Kind.Comment, SigName, KeyFile, Keys/NewKeys/Keys.Check (two of three,
  distinct keys and key IDs). minisigntest/ signs for tests. Stdlib and
  blake2b only (depguard), a leaf; FuzzCheck, FuzzKeysCheck,
  FuzzParsePublicKey.
- The structure test's signatures rule: outside internal/minisign no
  code calls ed25519/rsa/ecdsa's Verify functions or imports blake2b,
  but signatureFree's files (ubuntu/pgp.go, proxy/nixcache.go).
- internal/upgrade: Source.Keys, checkSums (signatures.go); the bridge
  in legacy.go (checkLegacy, legacyKey, Source.Key); FuzzSumOf.
- packaging/keys/release-{ci,cosign,recovery}.pub, none yet;
  packaging.Key ("" without one). TestReleaseKeys (checkReleaseKeys:
  none, or three distinct minisign keys, none the old key),
  TestCheckReleaseKeys (fixture keys from minisigntest),
  TestInstallScriptKeys (checkInstallScriptKeys: one line per role,
  empty without keys), TestReleaseRefusesPlaceholders (no key in keys/
  marked PLACEHOLDER).
- scripts/release.sh (a tag, --check, --tag; never a snapshot) needs
  none or all three of packaging/keys' release keys. With none,
  install.sh's release_<role>_key lines are empty or missing; with all
  three, each is a minisign key, distinct, not the old release key, not
  marked PLACEHOLDER (placeholder), and equal to its install.sh line.
- install.sh checks with minisign -VHQm: prehashed signatures only.
- The structure guard also flags dot imports of the verifier packages
  and calls of x509's CheckSignature* method names.
- install.sh: release_<role>_key lines, download_signatures (a role's
  signature only when the script has its key), check_signature,
  signed_by_two, check_legacy; plainer warning without minisign, with
  the commands to check by hand.
- Tests: signatures_test.go (TestFetchWithoutReleaseKeys among them),
  upgrade.txtar (-legacy, -keys, and the keys built in, none),
  install.txtar (stub minisign with -Q; NO_KEYS), install_minisign.txtar
  (real minisign), release.txtar (none, nolines, nokeyline, old, marked
  and the rest); DEVVM_RELEASE_KEYS override.
- Docs: internals/install.md, using/upgrading.md, maintaining.md's
  Release keys, structure, tests, testing, SECURITY.md, CHANGELOG,
  releases/0.2.0.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 21:36:37 -07:00

7004 lines
382 KiB
Go
Generated

// Code generated by go generate ./internal/msg from locales/en.toml. DO NOT EDIT.
package msg
import (
"strconv"
"github.com/devvmhq/devvm/internal/vmname"
)
// AddItNow is [add_it_now]: "Add it now?"
func AddItNow() M {
return M{id: "add_it_now"}
}
// AdoptClone is [adopt_clone]: "{{.vm}} keeps its own clone of its repo at {{.dir}}, so devvm can't move it to another folder."
func AdoptClone(dir string, vm vmname.VM) M {
return M{id: "adopt_clone", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// AdoptFailed is [adopt_failed]: "Adopting this folder's VM failed: {{.reason}}."
func AdoptFailed(reason string) M {
return M{id: "adopt_failed", vals: []val{{"reason", reason}}}
}
// AdoptFolderThere is [adopt_folder_there]: "{{.vm}} belongs to {{.dir}}, which is still there, so devvm won't move it here."
func AdoptFolderThere(dir string, vm vmname.VM) M {
return M{id: "adopt_folder_there", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// AdoptHasVM is [adopt_has_vm]: "This folder has a VM of its own, {{.vm}}, so devvm won't move another one here. To delete it first, run devvm rm."
func AdoptHasVM(vm vmname.VM) M {
return M{id: "adopt_has_vm", vals: []val{{"vm", string(vm)}}}
}
// AdoptMoveRefused is [adopt_move_refused]: "To move {{.vm}} to this folder, run devvm adopt {{.vm}} in a terminal without --no-input to confirm, or devvm adopt {{.vm}} --force."
func AdoptMoveRefused(vm vmname.VM) M {
return M{id: "adopt_move_refused", vals: []val{{"vm", string(vm)}}}
}
// AdoptMoveVM is [adopt_move_vm]: "{{.vm}} was made for {{.was}}.\nMove the VM to this folder, with its files, secrets and allowlist? If it's running, it stops first."
func AdoptMoveVM(vm vmname.VM, was string) M {
return M{id: "adopt_move_vm", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// AdoptVM is [adopt_vm]: "This folder's VM, {{.vm}}, was made for an earlier folder at {{.was}}, which was deleted or replaced.\nUse that VM here, with its files, secrets and allowlist?"
func AdoptVM(vm vmname.VM, was string) M {
return M{id: "adopt_vm", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// AgentConfirmNeedsAskpass is [agent_confirm_needs_askpass]: "The --confirm flag needs an ssh-askpass program to ask with, and macOS doesn't include one. Put one on your PATH, or set SSH_ASKPASS to it."
func AgentConfirmNeedsAskpass() M {
return M{id: "agent_confirm_needs_askpass"}
}
// AgentDevvmRisk is [agent_devvm_risk]: "While you're connected, anything in {{.vm}} can use the keys in devvm's SSH agent. Run devvm ssh-agent to list them."
func AgentDevvmRisk(vm vmname.VM) M {
return M{id: "agent_devvm_risk", vals: []val{{"vm", string(vm)}}}
}
// AgentDirComma is [agent_dir_comma]: "The agent folder {{.path}} isn't mounted, because devvm doesn't mount a path with a comma."
func AgentDirComma(path string) M {
return M{id: "agent_dir_comma", vals: []val{{"path", path}}}
}
// AgentDirsAdded is [agent_dirs_added]: "devvm's agent store has new folders for {{.vm}}: {{.dirs}}."
func AgentDirsAdded(dirs string, vm vmname.VM) M {
return M{id: "agent_dirs_added", vals: []val{{"dirs", dirs}, {"vm", string(vm)}}}
}
// AgentDirsRemoved is [agent_dirs_removed]: "These agent folders for {{.vm}} are gone from devvm's agent store: {{.dirs}}."
func AgentDirsRemoved(dirs string, vm vmname.VM) M {
return M{id: "agent_dirs_removed", vals: []val{{"dirs", dirs}, {"vm", string(vm)}}}
}
// AgentHolds is [agent_holds]: "devvm's SSH agent holds: {{.keys}}"
func AgentHolds(keys string) M {
return M{id: "agent_holds", vals: []val{{"keys", keys}}}
}
// AgentHoldsNote is [agent_holds_note]: "VMs set to devvm ssh-agent devvm can use these keys while you're connected, and devvm loads them again after a reboot."
func AgentHoldsNote() M {
return M{id: "agent_holds_note"}
}
// AgentImportFailed is [agent_import_failed]: "Importing the agents' settings and logins failed: {{.reason}}."
func AgentImportFailed(reason string) M {
return M{id: "agent_import_failed", vals: []val{{"reason", reason}}}
}
// AgentImportFollow is [agent_import_follow]: "Copy what these links lead to into devvm's agent store, for every VM with the agent?"
func AgentImportFollow() M {
return M{id: "agent_import_follow"}
}
// AgentImportLink is [agent_import_link]: "{{.path}} leads to {{.target}}."
func AgentImportLink(path string, target string) M {
return M{id: "agent_import_link", vals: []val{{"path", path}, {"target", target}}}
}
// AgentImportLinkFollowed is [agent_import_link_followed]: "devvm copies what the link {{.path}} leads to, {{.target}}."
func AgentImportLinkFollowed(path string, target string) M {
return M{id: "agent_import_link_followed", vals: []val{{"path", path}, {"target", target}}}
}
// AgentImportLinkLeftOut is [agent_import_link_left_out]: "devvm left out the link {{.path}}, because it leads to a folder, to nothing, or out of the folder devvm reads it in."
func AgentImportLinkLeftOut(path string) M {
return M{id: "agent_import_link_left_out", vals: []val{{"path", path}}}
}
// AgentImportLinkNotFollowed is [agent_import_link_not_followed]: "devvm left out the link {{.path}} to {{.target}}, which is outside the agent's folder. To copy what it leads to, run devvm agent import --follow-links."
func AgentImportLinkNotFollowed(path string, target string) M {
return M{id: "agent_import_link_not_followed", vals: []val{{"path", path}, {"target", target}}}
}
// AgentImportLinkNotSetting is [agent_import_link_not_setting]: "devvm left out the link {{.path}}, because it leads to {{.target}}, which isn't one of the agent's settings."
func AgentImportLinkNotSetting(path string, target string) M {
return M{id: "agent_import_link_not_setting", vals: []val{{"path", path}, {"target", target}}}
}
// AgentImportLinkProject is [agent_import_link_project]: "The link {{.path}} leads into {{.vm}}'s project folder, so {{.vm}} can change what every VM's agent reads. Follow links into it only when you trust {{.vm}}."
func AgentImportLinkProject(path string, vm vmname.VM) M {
return M{id: "agent_import_link_project", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentImportLinkRefused is [agent_import_link_refused]: "devvm left out the link {{.path}}, because it leads to {{.target}}, and devvm never copies your home folder, secrets, agents' logins and history, or its own files."
func AgentImportLinkRefused(path string, target string) M {
return M{id: "agent_import_link_refused", vals: []val{{"path", path}, {"target", target}}}
}
// AgentImportLinkTooBig is [agent_import_link_too_big]: "devvm left out the link {{.path}}, because what it leads to is more than one import copies through links: 20,000 files and folders, 128 MiB, or a file of 16 MiB."
func AgentImportLinkTooBig(path string) M {
return M{id: "agent_import_link_too_big", vals: []val{{"path", path}}}
}
// AgentImportLinkUnreadState is [agent_import_link_unread_state]: "devvm left out {{.path}}, because it leads through a link and devvm couldn't read {{.state}}, so it can't tell whether a VM's project folder holds the link. Run devvm doctor, which names what's wrong, then run devvm agent import again."
func AgentImportLinkUnreadState(path string, state string) M {
return M{id: "agent_import_link_unread_state", vals: []val{{"path", path}, {"state", state}}}
}
// AgentImportLinkViaVM is [agent_import_link_via_vm]: "devvm left out the link {{.path}}, because it leads through a link in {{.vm}}'s project folder to a place outside it, which {{.vm}} could have chosen."
func AgentImportLinkViaVM(path string, vm vmname.VM) M {
return M{id: "agent_import_link_via_vm", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentImportNamesCollide is [agent_import_names_collide]: "The volume that holds devvm's agent store reads {{.a}} and {{.b}} as one name, as when it ignores case, so devvm imported nothing. Rename one of them, then run devvm agent import again."
func AgentImportNamesCollide(a string, b string) M {
return M{id: "agent_import_names_collide", vals: []val{{"a", a}, {"b", b}}}
}
// AgentImportNone is [agent_import_none]: "There's nothing of {{.agent}} to import, because this machine has neither its settings nor its login."
func AgentImportNone(agent string) M {
return M{id: "agent_import_none", vals: []val{{"agent", agent}}}
}
// AgentImportNothing is [agent_import_nothing]: "There's nothing to import, because this machine has no settings or logins of the coding agents devvm supports."
func AgentImportNothing() M {
return M{id: "agent_import_nothing"}
}
// AgentImportOpencodeFailed is [agent_import_opencode_failed]: "Reading opencode's logins with opencode auth export failed: {{.reason}}."
func AgentImportOpencodeFailed(reason string) M {
return M{id: "agent_import_opencode_failed", vals: []val{{"reason", reason}}}
}
// AgentImportOpencodeSkipped is [agent_import_opencode_skipped]: "devvm left out opencode's {{.label}} login for {{.provider}}, because VMs can't use it. Log in from a VM with devvm agent login opencode instead."
func AgentImportOpencodeSkipped(label string, provider string) M {
return M{id: "agent_import_opencode_skipped", vals: []val{{"label", label}, {"provider", provider}}}
}
// AgentImportProjectInside is [agent_import_project_inside]: "{{.vm}}'s project folder, {{.dir}}, overlaps {{.folder}}, so {{.vm}} can change the settings that devvm agent import copies for every VM. Keep the project somewhere else unless you trust {{.vm}}."
func AgentImportProjectInside(dir string, folder string, vm vmname.VM) M {
return M{id: "agent_import_project_inside", vals: []val{{"dir", dir}, {"folder", folder}, {"vm", string(vm)}}}
}
// AgentImportReadFailed is [agent_import_read_failed]: "{{.file}} couldn't be read ({{.why}}), so it isn't imported. If it changed while devvm read it, run devvm agent import again."
func AgentImportReadFailed(file string, why string) M {
return M{id: "agent_import_read_failed", vals: []val{{"file", file}, {"why", why}}}
}
// AgentImportReading is [agent_import_reading]: "reading this machine's agent settings and logins"
func AgentImportReading() M {
return M{id: "agent_import_reading"}
}
// AgentImportReplace is [agent_import_replace]: "Replace what devvm's agent store has of {{.agents}} with this machine's settings and logins?"
func AgentImportReplace(agents string) M {
return M{id: "agent_import_replace", vals: []val{{"agents", agents}}}
}
// AgentImportRootRefused is [agent_import_root_refused]: "The folder {{.dir}} in config.toml's follow-links is, holds or is inside {{.place}}, so devvm never copies from it. Take it out of follow-links."
func AgentImportRootRefused(dir string, place string) M {
return M{id: "agent_import_root_refused", vals: []val{{"dir", dir}, {"place", place}}}
}
// AgentImportStatesUnread is [agent_import_states_unread]: "Reading {{.path}} failed ({{.why}}), so devvm can't tell whether a VM's project folder overlaps an agent's folder it imports. Run devvm doctor, which names what's wrong with it."
func AgentImportStatesUnread(path string, why string) M {
return M{id: "agent_import_states_unread", vals: []val{{"path", path}, {"why", why}}}
}
// AgentImportTooMuch is [agent_import_too_much]: "{{.folder}} holds more of {{.agent}}'s settings than one import copies, 20,000 files, folders and links, 128 MiB, a file of 16 MiB, folders 128 deep or a path of 4,096 bytes, so devvm imported nothing. Take out what the folder doesn't need, such as a plugin's build files, then run devvm agent import again."
func AgentImportTooMuch(agent string, folder string) M {
return M{id: "agent_import_too_much", vals: []val{{"agent", agent}, {"folder", folder}}}
}
// AgentImportUndoFailed is [agent_import_undo_failed]: "Putting {{.stores}} back as they were failed ({{.undo}}) after the import failed ({{.why}}), so they may hold some of the new settings. Copy what you need from {{.dirs}}, which the next import or save deletes, then run devvm agent import again."
func AgentImportUndoFailed(dirs string, stores string, undo string, why string) M {
return M{id: "agent_import_undo_failed", vals: []val{{"dirs", dirs}, {"stores", stores}, {"undo", undo}, {"why", why}}}
}
// AgentKeyChanged is [agent_key_changed]: "{{.key}} isn't the key you added to devvm's SSH agent any more, so devvm didn't load it. If you replaced it, run devvm ssh-agent add {{.key}}."
func AgentKeyChanged(key string) M {
return M{id: "agent_key_changed", vals: []val{{"key", key}}}
}
// AgentKeyCopyFailed is [agent_key_copy_failed]: "Giving {{.vm}} its copy of {{.agent}}'s login failed, though devvm saved the API key. Run devvm in the VM's folder to give it the copy."
func AgentKeyCopyFailed(agent string, vm vmname.VM) M {
return M{id: "agent_key_copy_failed", vals: []val{{"agent", agent}, {"vm", string(vm)}}}
}
// AgentKeyEmpty is [agent_key_empty]: "There's no API key to save, because the answer was empty."
func AgentKeyEmpty() M {
return M{id: "agent_key_empty"}
}
// AgentKeyHowto is [agent_key_howto]: "Paste the {{.provider}} API key for {{.agent}}. devvm keeps it on this machine, and VMs get a placeholder."
func AgentKeyHowto(agent string, provider string) M {
return M{id: "agent_key_howto", vals: []val{{"agent", agent}, {"provider", provider}}}
}
// AgentKeyMounted is [agent_key_mounted]: "{{.key}} is in a folder that {{.vm}} mounts, so that VM can read it. Keep keys for devvm's SSH agent outside project folders."
func AgentKeyMounted(key string, vm vmname.VM) M {
return M{id: "agent_key_mounted", vals: []val{{"key", key}, {"vm", string(vm)}}}
}
// AgentKeyNoFingerprint is [agent_key_no_fingerprint]: "{{.key}} is an encrypted PEM key, so devvm can't read its fingerprint without its passphrase. Convert it with ssh-keygen -p -f {{.key}}."
func AgentKeyNoFingerprint(key string) M {
return M{id: "agent_key_no_fingerprint", vals: []val{{"key", key}}}
}
// AgentKeyNotFound is [agent_key_not_found]: "There's no key file {{.key}}."
func AgentKeyNotFound(key string) M {
return M{id: "agent_key_not_found", vals: []val{{"key", key}}}
}
// AgentKeyNotRecorded is [agent_key_not_recorded]: "{{.key}} isn't a key you added to devvm's SSH agent. Run devvm ssh-agent to list them."
func AgentKeyNotRecorded(key string) M {
return M{id: "agent_key_not_recorded", vals: []val{{"key", key}}}
}
// AgentKeyPrompt is [agent_key_prompt]: "API key:"
func AgentKeyPrompt() M {
return M{id: "agent_key_prompt"}
}
// AgentKeyRemoved is [agent_key_removed]: "devvm removed {{.key}} from its SSH agent and won't load it again."
func AgentKeyRemoved(key string) M {
return M{id: "agent_key_removed", vals: []val{{"key", key}}}
}
// AgentKeySaved is [agent_key_saved]: "devvm saved {{.agent}}'s {{.provider}} API key in its agent store, and {{.vm}} uses it now. Every VM with {{.agent}} gets it from its next launch."
func AgentKeySaved(agent string, provider string, vm vmname.VM) M {
return M{id: "agent_key_saved", vals: []val{{"agent", agent}, {"provider", provider}, {"vm", string(vm)}}}
}
// AgentKeyUnpinned is [agent_key_unpinned]: "{{.key}} has no fingerprint that devvm recorded, so devvm didn't load the key. Run devvm ssh-agent add {{.key}} to add it again."
func AgentKeyUnpinned(key string) M {
return M{id: "agent_key_unpinned", vals: []val{{"key", key}}}
}
// AgentKeysFailed is [agent_keys_failed]: "Using devvm's SSH agent failed: {{.reason}}."
func AgentKeysFailed(reason string) M {
return M{id: "agent_keys_failed", vals: []val{{"reason", reason}}}
}
// AgentLoadFailed is [agent_load_failed]: "Loading {{.key}} into devvm's SSH agent failed."
func AgentLoadFailed(key string) M {
return M{id: "agent_load_failed", vals: []val{{"key", key}}}
}
// AgentLoginExited is [agent_login_exited]: "{{.agent}}'s login in {{.vm}} failed, and its output above says why."
func AgentLoginExited(agent string, vm vmname.VM) M {
return M{id: "agent_login_exited", vals: []val{{"agent", agent}, {"vm", string(vm)}}}
}
// AgentLoginFailed is [agent_login_failed]: "Logging the agent in failed: {{.reason}}."
func AgentLoginFailed(reason string) M {
return M{id: "agent_login_failed", vals: []val{{"reason", reason}}}
}
// AgentLoginFlag is [agent_login_flag]: "{{.flag}} doesn't go with devvm agent login {{.agent}}, because {{.agent}} has no login that takes it. Run devvm agent login {{.agent}} without it."
func AgentLoginFlag(agent string, flag string) M {
return M{id: "agent_login_flag", vals: []val{{"agent", agent}, {"flag", flag}}}
}
// AgentLoginFlagOrToken is [agent_login_flag_or_token]: "{{.flag}} doesn't go with devvm agent login {{.agent}}, because {{.agent}} has no login that takes it. Run devvm agent login {{.agent}}, or devvm agent login {{.agent}} --setup-token."
func AgentLoginFlagOrToken(agent string, flag string) M {
return M{id: "agent_login_flag_or_token", vals: []val{{"agent", agent}, {"flag", flag}}}
}
// AgentLoginForward is [agent_login_forward]: "Open the address {{.agent}} shows in a browser on this machine: devvm forwards localhost:{{.port}} to {{.vm}} until the login ends."
func AgentLoginForward(agent string, port string, vm vmname.VM) M {
return M{id: "agent_login_forward", vals: []val{{"agent", agent}, {"port", port}, {"vm", string(vm)}}}
}
// AgentLoginImported is [agent_login_imported]: "devvm imported {{.agent}}'s login into {{.file}}."
func AgentLoginImported(agent string, file string) M {
return M{id: "agent_login_imported", vals: []val{{"agent", agent}, {"file", file}}}
}
// AgentLoginKeyOnly is [agent_login_key_only]: "devvm keeps only API keys for {{.agent}}, not a login of {{.agent}}'s own. Run devvm agent login {{.agent}} --api-key --provider PROVIDER."
func AgentLoginKeyOnly(agent string) M {
return M{id: "agent_login_key_only", vals: []val{{"agent", agent}}}
}
// AgentLoginNoAgent is [agent_login_no_agent]: "{{.vm}} has no {{.agent}} to log in with. Run devvm tools add {{.agent}}, then devvm agent login {{.agent}}."
func AgentLoginNoAgent(agent string, vm vmname.VM) M {
return M{id: "agent_login_no_agent", vals: []val{{"agent", agent}, {"vm", string(vm)}}}
}
// AgentLoginNotSaved is [agent_login_not_saved]: "{{.agent}}'s login in {{.vm}} ended, but no new login reached devvm's agent store. devvm network log shows each login the VM's proxy saved."
func AgentLoginNotSaved(agent string, vm vmname.VM) M {
return M{id: "agent_login_not_saved", vals: []val{{"agent", agent}, {"vm", string(vm)}}}
}
// AgentLoginPaste is [agent_login_paste]: "Open the address {{.display}} shows in a browser on any machine and approve the login, then paste the code the browser shows here."
func AgentLoginPaste(display string) M {
return M{id: "agent_login_paste", vals: []val{{"display", display}}}
}
// AgentLoginPortTaken is [agent_login_port_taken]: "A program on this machine has port {{.port}}, which the browser comes back to as you log in. Stop that program, or run devvm agent login {{.agent}} --device-code."
func AgentLoginPortTaken(agent string, port string) M {
return M{id: "agent_login_port_taken", vals: []val{{"agent", agent}, {"port", port}}}
}
// AgentLoginProviderAlone is [agent_login_provider_alone]: "--provider goes with --api-key, for {{.agents}}. Run devvm agent login AGENT --api-key --provider PROVIDER."
func AgentLoginProviderAlone(agents string) M {
return M{id: "agent_login_provider_alone", vals: []val{{"agents", agents}}}
}
// AgentLoginProviderNeeded is [agent_login_provider_needed]: "devvm agent login {{.agent}} --api-key needs --provider, one of {{.providers}}."
func AgentLoginProviderNeeded(agent string, providers string) M {
return M{id: "agent_login_provider_needed", vals: []val{{"agent", agent}, {"providers", providers}}}
}
// AgentLoginReadFailed is [agent_login_read_failed]: "Reading the login in {{.file}} failed: {{.reason}}."
func AgentLoginReadFailed(file string, reason string) M {
return M{id: "agent_login_read_failed", vals: []val{{"file", file}, {"reason", reason}}}
}
// AgentLoginSaved is [agent_login_saved]: "devvm saved {{.agent}}'s ChatGPT login in its agent store, and {{.vm}} uses it now. Every VM with {{.agent}} gets it from its next launch."
func AgentLoginSaved(agent string, vm vmname.VM) M {
return M{id: "agent_login_saved", vals: []val{{"agent", agent}, {"vm", string(vm)}}}
}
// AgentLoginSavedFor is [agent_login_saved_for]: "devvm saved {{.agent}}'s ChatGPT login for {{.email}} in its agent store, and {{.vm}} uses it now. Every VM with {{.agent}} gets it from its next launch."
func AgentLoginSavedFor(agent string, email string, vm vmname.VM) M {
return M{id: "agent_login_saved_for", vals: []val{{"agent", agent}, {"email", email}, {"vm", string(vm)}}}
}
// AgentLoginStdinAlone is [agent_login_stdin_alone]: "--stdin goes with --api-key. Run devvm agent login {{.agent}} --api-key --stdin."
func AgentLoginStdinAlone(agent string) M {
return M{id: "agent_login_stdin_alone", vals: []val{{"agent", agent}}}
}
// AgentLoginWaiting is [agent_login_waiting]: "waiting for another devvm or a VM's proxy to finish with {{.agent}}'s login"
func AgentLoginWaiting(agent string) M {
return M{id: "agent_login_waiting", vals: []val{{"agent", agent}}}
}
// AgentNoKeys is [agent_no_keys]: "The SSH agent devvm runs has no keys, so git over SSH won't work in VMs that use it. Run devvm ssh-agent add KEY_FILE to add one."
func AgentNoKeys() M {
return M{id: "agent_no_keys"}
}
// AgentOnRisk is [agent_on_risk]: "While you're connected, anything in {{.vm}} can use the keys in your SSH agent."
func AgentOnRisk(vm vmname.VM) M {
return M{id: "agent_on_risk", vals: []val{{"vm", string(vm)}}}
}
// AgentOwnLoginSaved is [agent_own_login_saved]: "devvm saved {{.display}}'s login in its agent store, and {{.vm}} uses it now. Every VM with {{.display}} gets it from its next launch."
func AgentOwnLoginSaved(display string, vm vmname.VM) M {
return M{id: "agent_own_login_saved", vals: []val{{"display", display}, {"vm", string(vm)}}}
}
// AgentProviderRefreshFailed is [agent_provider_refresh_failed]: "Refreshing {{.display}}'s {{.provider}} login in devvm's agent store failed: {{.reason}}. Run devvm agent login {{.agent}} in a VM's folder to log in again."
func AgentProviderRefreshFailed(agent string, display string, provider string, reason string) M {
return M{id: "agent_provider_refresh_failed", vals: []val{{"agent", agent}, {"display", display}, {"provider", provider}, {"reason", reason}}}
}
// AgentRawOld is [agent_raw_old]: "{{.vm}} still runs with the SSH agent as an older devvm forwarded it, so anything in it can add or remove the agent's keys or lock the agent. Run devvm restart in its folder to give it devvm's relay of the agent."
func AgentRawOld(vm vmname.VM) M {
return M{id: "agent_raw_old", vals: []val{{"vm", string(vm)}}}
}
// AgentRefreshFailed is [agent_refresh_failed]: "Refreshing {{.display}}'s login in devvm's agent store failed: {{.reason}}. Run devvm agent login {{.agent}} in a VM's folder to log in again."
func AgentRefreshFailed(agent string, display string, reason string) M {
return M{id: "agent_refresh_failed", vals: []val{{"agent", agent}, {"display", display}, {"reason", reason}}}
}
// AgentSaveAsk is [agent_save_ask]: "Save these settings from {{.vm}} into devvm's agent store, for every VM with these agents?"
func AgentSaveAsk(vm vmname.VM) M {
return M{id: "agent_save_ask", vals: []val{{"vm", string(vm)}}}
}
// AgentSaveComparing is [agent_save_comparing]: "comparing {{.vm}}'s agent settings with devvm's agent store"
func AgentSaveComparing(vm vmname.VM) M {
return M{id: "agent_save_comparing", vals: []val{{"vm", string(vm)}}}
}
// AgentSaveFailed is [agent_save_failed]: "Saving the agents' settings failed: {{.reason}}."
func AgentSaveFailed(reason string) M {
return M{id: "agent_save_failed", vals: []val{{"reason", reason}}}
}
// AgentSaveKindLeftOut is [agent_save_kind_left_out]: "devvm left out {{.path}} in {{.vm}}, because it saves only files, folders and links to files."
func AgentSaveKindLeftOut(path string, vm vmname.VM) M {
return M{id: "agent_save_kind_left_out", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSaveLinkLeftOut is [agent_save_link_left_out]: "devvm left out the link {{.path}} in {{.vm}}, because it saves only links to files inside the same settings folder."
func AgentSaveLinkLeftOut(path string, vm vmname.VM) M {
return M{id: "agent_save_link_left_out", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSaveNamesCollide is [agent_save_names_collide]: "The volume that holds devvm's agent store reads {{.a}} and {{.b}} in {{.vm}} as one name, as when it ignores case, so devvm saved nothing. Rename one of them in {{.vm}}, then run devvm agent save again."
func AgentSaveNamesCollide(a string, b string, vm vmname.VM) M {
return M{id: "agent_save_names_collide", vals: []val{{"a", a}, {"b", b}, {"vm", string(vm)}}}
}
// AgentSaveNoAgent is [agent_save_no_agent]: "{{.vm}} has no agent, so there are no settings to save."
func AgentSaveNoAgent(vm vmname.VM) M {
return M{id: "agent_save_no_agent", vals: []val{{"vm", string(vm)}}}
}
// AgentSaveNone is [agent_save_none]: "{{.vm}} doesn't have {{.agent}}, so devvm saves nothing of it."
func AgentSaveNone(agent string, vm vmname.VM) M {
return M{id: "agent_save_none", vals: []val{{"agent", agent}, {"vm", string(vm)}}}
}
// AgentSaveNotRead is [agent_save_not_read]: "Reading the agents' settings from {{.vm}} failed."
func AgentSaveNotRead(vm vmname.VM) M {
return M{id: "agent_save_not_read", vals: []val{{"vm", string(vm)}}}
}
// AgentSaveNothing is [agent_save_nothing]: "The settings of {{.vm}}'s agents are the same as devvm's agent store has."
func AgentSaveNothing(vm vmname.VM) M {
return M{id: "agent_save_nothing", vals: []val{{"vm", string(vm)}}}
}
// AgentSavePlaceholder is [agent_save_placeholder]: "devvm left out {{.path}} in {{.vm}}, because it holds a placeholder for a secret that devvm can't put back. Change the file in devvm's agent store instead."
func AgentSavePlaceholder(path string, vm vmname.VM) M {
return M{id: "agent_save_placeholder", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSaveReading is [agent_save_reading]: "reading {{.vm}}'s agent settings"
func AgentSaveReading(vm vmname.VM) M {
return M{id: "agent_save_reading", vals: []val{{"vm", string(vm)}}}
}
// AgentSaveRefused is [agent_save_refused]: "devvm agent save shows what changed and asks before it saves. Run it in a terminal without --no-input."
func AgentSaveRefused() M {
return M{id: "agent_save_refused"}
}
// AgentSaveRuns is [agent_save_runs]: "Every VM with these agents runs the hooks, the MCP servers' commands and the plugins you save."
func AgentSaveRuns() M {
return M{id: "agent_save_runs"}
}
// AgentSaveStoreChanged is [agent_save_store_changed]: "The agent store changed after devvm showed what differs, so nothing of {{.vm}}'s was saved. Run devvm agent save again to see what differs now."
func AgentSaveStoreChanged(vm vmname.VM) M {
return M{id: "agent_save_store_changed", vals: []val{{"vm", string(vm)}}}
}
// AgentSaveStoreFile is [agent_save_store_file]: "devvm's agent store has a file at {{.path}}, where {{.vm}} has a folder, so devvm saved nothing. Move the store's file aside, then run devvm agent save again."
func AgentSaveStoreFile(path string, vm vmname.VM) M {
return M{id: "agent_save_store_file", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSaveStoreFolder is [agent_save_store_folder]: "devvm's agent store has a folder at {{.path}}, where {{.vm}} has a file, so devvm saved nothing. Move the store's folder aside, then run devvm agent save again."
func AgentSaveStoreFolder(path string, vm vmname.VM) M {
return M{id: "agent_save_store_folder", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSaveTooMuch is [agent_save_too_much]: "{{.vm}} sent more than devvm saves at once, 20,000 files, folders and links, 128 MiB, a file of 16 MiB, folders 128 deep or a path of 4,096 bytes, so devvm saved nothing. Take out what the agents' settings folders don't need, such as a plugin's build files."
func AgentSaveTooMuch(vm vmname.VM) M {
return M{id: "agent_save_too_much", vals: []val{{"vm", string(vm)}}}
}
// AgentSaveUndoFailed is [agent_save_undo_failed]: "Putting {{.stores}} back as they were failed ({{.undo}}) after saving {{.vm}}'s settings failed ({{.why}}), so they may hold some of them. Copy what you need from {{.dirs}}, which the next import or save deletes, then run devvm agent save again."
func AgentSaveUndoFailed(dirs string, stores string, undo string, vm vmname.VM, why string) M {
return M{id: "agent_save_undo_failed", vals: []val{{"dirs", dirs}, {"stores", stores}, {"undo", undo}, {"vm", string(vm)}, {"why", why}}}
}
// AgentSaveUnparsed is [agent_save_unparsed]: "devvm left out {{.path}} in {{.vm}}, because it isn't a settings file devvm can read."
func AgentSaveUnparsed(path string, vm vmname.VM) M {
return M{id: "agent_save_unparsed", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSaveUnsafe is [agent_save_unsafe]: "{{.vm}} sent {{.path}}, which isn't among the agents' settings, so devvm saved nothing."
func AgentSaveUnsafe(path string, vm vmname.VM) M {
return M{id: "agent_save_unsafe", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSaveWithheld is [agent_save_withheld]: "devvm left out {{.path}} in {{.vm}}, because no VM gets that file from devvm's agent store. Change the store's file instead."
func AgentSaveWithheld(path string, vm vmname.VM) M {
return M{id: "agent_save_withheld", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// AgentSeedCleanFailed is [agent_seed_clean_failed]: "Entries of {{.dir}} in devvm's agent store that are this machine's own couldn't be taken out ({{.why}}), and every VM with {{.agent}} would read them. Take them out yourself, so that it holds only {{.keep}}."
func AgentSeedCleanFailed(agent string, dir string, keep string, why string) M {
return M{id: "agent_seed_clean_failed", vals: []val{{"agent", agent}, {"dir", dir}, {"keep", keep}, {"why", why}}}
}
// AgentSeedCleaned is [agent_seed_cleaned]: "{{.entries}} are out of {{.dir}} in devvm's agent store now, because they're this machine's own, such as each plugin's data, which every VM with {{.agent}} could read. Your own folder in your home folder is left as it is."
func AgentSeedCleaned(agent string, dir string, entries string) M {
return M{id: "agent_seed_cleaned", vals: []val{{"agent", agent}, {"dir", dir}, {"entries", entries}}}
}
// AgentSeedLink is [agent_seed_link]: "{{.link}} is a link, which every VM with {{.agent}} would follow to read {{.dir}} in devvm's agent store. Replace the link with a folder of its own, so that {{.dir}} holds only {{.keep}}."
func AgentSeedLink(agent string, dir string, keep string, link string) M {
return M{id: "agent_seed_link", vals: []val{{"agent", agent}, {"dir", dir}, {"keep", keep}, {"link", link}}}
}
// AgentSettingsImported is [agent_settings_imported]: "devvm imported {{.agent}}'s settings into {{.dir}}."
func AgentSettingsImported(agent string, dir string) M {
return M{id: "agent_settings_imported", vals: []val{{"agent", agent}, {"dir", dir}}}
}
// AgentSettingsSaved is [agent_settings_saved]: "devvm saved {{.agent}}'s settings from {{.vm}} into {{.dir}}."
func AgentSettingsSaved(agent string, dir string, vm vmname.VM) M {
return M{id: "agent_settings_saved", vals: []val{{"agent", agent}, {"dir", dir}, {"vm", string(vm)}}}
}
// AgentStartFailed is [agent_start_failed]: "The SSH agent devvm runs didn't start at {{.sock}}."
func AgentStartFailed(sock string) M {
return M{id: "agent_start_failed", vals: []val{{"sock", sock}}}
}
// AgentStoreLink is [agent_store_link]: "{{.link}} is a link, and devvm never writes its agent store through a link. Replace the link with a folder of its own, then run the command again."
func AgentStoreLink(link string) M {
return M{id: "agent_store_link", vals: []val{{"link", link}}}
}
// AgentStoreOwnCleanFailed is [agent_store_own_clean_failed]: "Taking {{.own}} out of {{.dir}} in devvm's agent store failed, because {{.why}}. No VM gets these files, but delete them from that folder yourself."
func AgentStoreOwnCleanFailed(dir string, own string, why string) M {
return M{id: "agent_store_own_clean_failed", vals: []val{{"dir", dir}, {"own", own}, {"why", why}}}
}
// AgentStoreOwnCleaned is [agent_store_own_cleaned]: "This machine's {{.agent}} service settings, {{.entries}}, are out of {{.dir}} in devvm's agent store now, because they hold its service password. Run devvm restart in the folder of each running VM that has {{.agent}}, so its service makes a password of its own."
func AgentStoreOwnCleaned(agent string, dir string, entries string) M {
return M{id: "agent_store_own_cleaned", vals: []val{{"agent", agent}, {"dir", dir}, {"entries", entries}}}
}
// AgentStoreSaving is [agent_store_saving]: "saving into devvm's agent store"
func AgentStoreSaving() M {
return M{id: "agent_store_saving"}
}
// AgentStoreWaiting is [agent_store_waiting]: "waiting for another devvm to finish writing devvm's agent store"
func AgentStoreWaiting() M {
return M{id: "agent_store_waiting"}
}
// AgentTreeDetached is [agent_tree_detached]: "{{.agent}}'s worktree {{.path}} in the VM has commits on its detached HEAD that no branch has, which will be lost. To keep them, run git switch -c NAME in that worktree first."
func AgentTreeDetached(agent string, path string) M {
return M{id: "agent_tree_detached", vals: []val{{"agent", agent}, {"path", path}}}
}
// AgentTreeDirty is [agent_tree_dirty]: "{{.agent}}'s worktree {{.path}} in the VM has uncommitted changes, which will be lost:"
func AgentTreeDirty(agent string, path string) M {
return M{id: "agent_tree_dirty", vals: []val{{"agent", agent}, {"path", path}}}
}
// AgentTreeUnread is [agent_tree_unread]: "git couldn't read {{.agent}}'s worktree {{.path}} in the VM, so devvm can't tell whether it has uncommitted changes, which would be lost."
func AgentTreeUnread(agent string, path string) M {
return M{id: "agent_tree_unread", vals: []val{{"agent", agent}, {"path", path}}}
}
// AgentTreesUnchecked is [agent_trees_unchecked]: "The VM has more than {{.max}} of the agents' worktrees, and devvm checked only the first {{.max}} for uncommitted changes."
func AgentTreesUnchecked(max string) M {
return M{id: "agent_trees_unchecked", vals: []val{{"max", max}}}
}
// AgentUnloadFailed is [agent_unload_failed]: "Removing {{.key}} from devvm's SSH agent failed, so devvm kept it on the list of keys it loads. Run devvm ssh-agent rm {{.key}} again."
func AgentUnloadFailed(key string) M {
return M{id: "agent_unload_failed", vals: []val{{"key", key}}}
}
// AgentsHelp is [agents_help]: "Pick the coding agents new VMs get. Use up and down to move, space to toggle and enter to confirm."
func AgentsHelp() M {
return M{id: "agents_help"}
}
// AlreadyStopped is [already_stopped]: "{{.vm}} is already stopped"
func AlreadyStopped(vm vmname.VM) M {
return M{id: "already_stopped", vals: []val{{"vm", string(vm)}}}
}
// ArgBlank is [arg_blank]: "One of the arguments of {{.command}} is empty, and no command takes one. Give it a value, or leave it out."
func ArgBlank(command string) M {
return M{id: "arg_blank", vals: []val{{"command", command}}}
}
// ArgMissing is [arg_missing]: "{{.args}} is missing from {{.command}}."
func ArgMissing(args string, command string) M {
return M{id: "arg_missing", vals: []val{{"args", args}, {"command", command}}}
}
// ArgNotChoice is [arg_not_choice]: "{{.given}} isn't one of the values {{.command}} takes: {{.choices}}."
func ArgNotChoice(choices string, command string, given string) M {
return M{id: "arg_not_choice", vals: []val{{"choices", choices}, {"command", command}, {"given", given}}}
}
// ArgsNone is [args_none]: "The command {{.command}} takes no arguments, not {{.given}}."
func ArgsNone(command string, given string) M {
return M{id: "args_none", vals: []val{{"command", command}, {"given", given}}}
}
// ArgsTooMany is [args_too_many]: "The command {{.command}} takes {{.args}}, not {{.given}}."
func ArgsTooMany(args string, command string, given string) M {
return M{id: "args_too_many", vals: []val{{"args", args}, {"command", command}, {"given", given}}}
}
// BackendLacks is [backend_lacks]: "{{.what}} needs {{.feature}}, and the {{.backend}} backend doesn't have it. Run devvm doctor to see the features it has."
func BackendLacks(backend string, feature string, what string) M {
return M{id: "backend_lacks", vals: []val{{"backend", backend}, {"feature", feature}, {"what", what}}}
}
// BackendUnknownVM is [backend_unknown_vm]: "{{.vm}} runs on the {{.backend}} backend, which this devvm doesn't have. Use the devvm that made it."
func BackendUnknownVM(backend string, vm vmname.VM) M {
return M{id: "backend_unknown_vm", vals: []val{{"backend", backend}, {"vm", string(vm)}}}
}
// BackendUnreviewed is [backend_unreviewed]: "{{.what}} needs {{.feature}}, and the {{.backend}} backend only emulates it without a review. Run devvm doctor to see the features it has."
func BackendUnreviewed(backend string, feature string, what string) M {
return M{id: "backend_unreviewed", vals: []val{{"backend", backend}, {"feature", feature}, {"what", what}}}
}
// BackendUnreviewedUsed is [backend_unreviewed_used]: "{{.what}} uses the {{.backend}} backend's unreviewed {{.feature}}, because DEVVM_UNREVIEWED asks for it. Use this only for testing."
func BackendUnreviewedUsed(backend string, feature string, what string) M {
return M{id: "backend_unreviewed_used", vals: []val{{"backend", backend}, {"feature", feature}, {"what", what}}}
}
// BadDuration is [bad_duration]: "{{.value}} isn't a duration devvm takes. Give a whole number and m, h, d or w, such as 30m, 12h, 30d or 2w."
func BadDuration(value string) M {
return M{id: "bad_duration", vals: []val{{"value", value}}}
}
// BadFrom is [bad_from]: "{{.from}} isn't a container image reference. Give --from one such as node:24, or ghcr.io/org/image@sha256:… with a digest."
func BadFrom(from string) M {
return M{id: "bad_from", vals: []val{{"from", from}}}
}
// BadMethods is [bad_methods]: "{{.given}} isn't a list of methods. Give some of {{.methods}}, joined with commas, such as GET,HEAD."
func BadMethods(given string, methods string) M {
return M{id: "bad_methods", vals: []val{{"given", given}, {"methods", methods}}}
}
// BadPath is [bad_path]: "The path {{.dir}} has a comma or a control character, so devvm can't mount it into a VM."
func BadPath(dir string) M {
return M{id: "bad_path", vals: []val{{"dir", dir}}}
}
// BadRequestPath is [bad_request_path]: "{{.given}} isn't a path. Give one that starts with a slash, such as /api/ for everything below /api/ or /repos/*/*/issues, with no . or .. part, doubled slash, space, %, backslash, ;, ? or #."
func BadRequestPath(given string) M {
return M{id: "bad_request_path", vals: []val{{"given", given}}}
}
// BadSecretEnv is [bad_secret_env]: "{{.given}} can't hold a secret's placeholder, because it isn't a variable's name, or devvm or the shell sets it. Give another name, such as STRIPE_API_KEY."
func BadSecretEnv(given string) M {
return M{id: "bad_secret_env", vals: []val{{"given", given}}}
}
// BadSecretHeader is [bad_secret_header]: "A secret can't go in the header {{.given}}. Give a header name such as Authorization or X-Api-Key, but not Host, Cookie or a header that the proxy sets or drops."
func BadSecretHeader(given string) M {
return M{id: "bad_secret_header", vals: []val{{"given", given}}}
}
// BadSecretHost is [bad_secret_host]: "A secret can't go to {{.given}}. Give a host name such as api.example.com, with no wildcard, address, internal name or port other than 443."
func BadSecretHost(given string) M {
return M{id: "bad_secret_host", vals: []val{{"given", given}}}
}
// BadSecretName is [bad_secret_name]: "{{.given}} can't name a secret. A name has lowercase letters, digits and dashes, at most {{.most}} of them, and starts and ends with a letter or a digit."
func BadSecretName(given string, most string) M {
return M{id: "bad_secret_name", vals: []val{{"given", given}, {"most", most}}}
}
// BadSecretPrefix is [bad_secret_prefix]: "{{.given}} can't start a placeholder. Give at most {{.most}} letters, digits, dots, dashes or underscores, such as sk_."
func BadSecretPrefix(given string, most string) M {
return M{id: "bad_secret_prefix", vals: []val{{"given", given}, {"most", most}}}
}
// BadSecretScheme is [bad_secret_scheme]: "{{.given}} can't be a secret's own scheme. Give one such as ApiKey, of letters, digits, dots, dashes or underscores, but not Basic, Digest, Bearer or Token, which devvm handles itself."
func BadSecretScheme(given string) M {
return M{id: "bad_secret_scheme", vals: []val{{"given", given}}}
}
// BadSecretService is [bad_secret_service]: "DEVVM_SECRET_SERVICE can only have letters, digits, '.', '_' and '-'."
func BadSecretService() M {
return M{id: "bad_secret_service"}
}
// BaseBuildTime is [base_build_time]: " This takes a few minutes, and the first time, devvm also downloads Ubuntu's cloud image."
func BaseBuildTime() M {
return M{id: "base_build_time"}
}
// BaseFeatures is [base_features]: "The base image has these features: {{.features}}. To change them, run devvm setup."
func BaseFeatures(features string) M {
return M{id: "base_features", vals: []val{{"features", features}}}
}
// BaseFeaturesNone is [base_features_none]: "The base image has no features. To choose some, run devvm setup."
func BaseFeaturesNone() M {
return M{id: "base_features_none"}
}
// BaseFitted is [base_fitted]: "This machine has less than base asks for, so base and its VMs get {{.cpus}} CPUs and {{.memory}} GiB of memory unless you give them a size. devvm size -g sets the size new VMs get."
func BaseFitted(cpus string, memory string) M {
return M{id: "base_fitted", vals: []val{{"cpus", cpus}, {"memory", memory}}}
}
// BaseWillRebuild is [base_will_rebuild]: "The base image and the images built on it rebuild with these features when you next use them."
func BaseWillRebuild() M {
return M{id: "base_will_rebuild"}
}
// BranchNamesInvalid is [branch_names_invalid]: "These branches have names git refuses, so devvm skips them in the VM: {{.refs}}."
func BranchNamesInvalid(refs string) M {
return M{id: "branch_names_invalid", vals: []val{{"refs", refs}}}
}
// BuildFailed is [build_failed]: "Building {{.image}} failed: {{.reason}}."
func BuildFailed(image string, reason string) M {
return M{id: "build_failed", vals: []val{{"image", image}, {"reason", reason}}}
}
// BuildSourcesUnreachable is [build_sources_unreachable]: "{{.script}} in {{.vm}} reached no package source, neither the mirror you set nor Ubuntu's archive. Check that you're online, then run the command again."
func BuildSourcesUnreachable(script string, vm vmname.VM) M {
return M{id: "build_sources_unreachable", vals: []val{{"script", script}, {"vm", string(vm)}}}
}
// BuildingImage is [building_image]: "building image {{.image}} ({{.key}})"
func BuildingImage(image string, key string) M {
return M{id: "building_image", vals: []val{{"image", image}, {"key", key}}}
}
// BuildingImageFrom is [building_image_from]: "building image {{.image}} ({{.key}}) from {{.from}}"
func BuildingImageFrom(from string, image string, key string) M {
return M{id: "building_image_from", vals: []val{{"from", from}, {"image", image}, {"key", key}}}
}
// BuildingTool is [building_tool]: "building {{.tool}}"
func BuildingTool(tool string) M {
return M{id: "building_tool", vals: []val{{"tool", tool}}}
}
// BuildingTools is [building_tools]: "building shared tools: {{.tools}}"
func BuildingTools(tools string) M {
return M{id: "building_tools", vals: []val{{"tools", tools}}}
}
// BuildingToolsTogether is [building_tools_together]: "building shared tools side by side: {{.tools}}"
func BuildingToolsTogether(tools string) M {
return M{id: "building_tools_together", vals: []val{{"tools", tools}}}
}
// CAFolderLink is [ca_folder_link]: "{{.dir}}, devvm's CA folder, is a link, and devvm doesn't follow it. Replace it with a folder that holds copies of the CA certificates."
func CAFolderLink(dir string) M {
return M{id: "ca_folder_link", vals: []val{{"dir", dir}}}
}
// CAFolderUnreadable is [ca_folder_unreadable]: "{{.dir}}, devvm's CA folder, can't be read. Check that it's a folder you can read."
func CAFolderUnreadable(dir string) M {
return M{id: "ca_folder_unreadable", vals: []val{{"dir", dir}}}
}
// CAInvalid is [ca_invalid]: "{{.file}} holds a certificate that devvm can't read. Replace it with the CA's certificate in PEM."
func CAInvalid(file string) M {
return M{id: "ca_invalid", vals: []val{{"file", file}}}
}
// CALink is [ca_link]: "{{.file}} is a link, and devvm doesn't follow links in its CA folder. Replace it with a copy of the CA's certificate."
func CALink(file string) M {
return M{id: "ca_link", vals: []val{{"file", file}}}
}
// CANotCA is [ca_not_ca]: "{{.file}} holds a certificate that isn't a CA's, and VMs trust only CA certificates. Take the file out of devvm's CA folder."
func CANotCA(file string) M {
return M{id: "ca_not_ca", vals: []val{{"file", file}}}
}
// CANotCertificate is [ca_not_certificate]: "{{.file}} holds something other than certificates, such as a private key, and devvm sends only CA certificates to VMs. Take the file out of devvm's CA folder."
func CANotCertificate(file string) M {
return M{id: "ca_not_certificate", vals: []val{{"file", file}}}
}
// CAUnreadable is [ca_unreadable]: "{{.file}} in devvm's CA folder can't be read. Fix it, or take it out of the folder."
func CAUnreadable(file string) M {
return M{id: "ca_unreadable", vals: []val{{"file", file}}}
}
// CAWaiting is [ca_waiting]: "waiting for another devvm to finish readying the VM's CA"
func CAWaiting() M {
return M{id: "ca_waiting"}
}
// CheckingBackend is [checking_backend]: "checking {{.name}}"
func CheckingBackend(name string) M {
return M{id: "checking_backend", vals: []val{{"name", name}}}
}
// CheckingImage is [checking_image]: "checking image {{.image}}"
func CheckingImage(image string) M {
return M{id: "checking_image", vals: []val{{"image", image}}}
}
// CheckingNetwork is [checking_network]: "checking {{.vm}}'s network"
func CheckingNetwork(vm vmname.VM) M {
return M{id: "checking_network", vals: []val{{"vm", string(vm)}}}
}
// CheckingTools is [checking_tools]: "checking for newer shared tools"
func CheckingTools() M {
return M{id: "checking_tools"}
}
// CheckingVM is [checking_vm]: "checking {{.vm}}"
func CheckingVM(vm vmname.VM) M {
return M{id: "checking_vm", vals: []val{{"vm", string(vm)}}}
}
// ClaimsWaiting is [claims_waiting]: "waiting for another devvm to finish choosing a VM's name or ports"
func ClaimsWaiting() M {
return M{id: "claims_waiting"}
}
// ClaudeEnvTokenWins is [claude_env_token_wins]: "CLAUDE_CODE_OAUTH_TOKEN is set in devvm's environment, so VMs get that token, not the login devvm saved. Unset it to use the saved login."
func ClaudeEnvTokenWins() M {
return M{id: "claude_env_token_wins"}
}
// ClaudeNoLogin is [claude_no_login]: "devvm has no Claude Code login any more, so the VM's proxy has none to put in. Run devvm agent login claude in the VM's folder."
func ClaudeNoLogin() M {
return M{id: "claude_no_login"}
}
// ClaudeSetupTokenSaved is [claude_setup_token_saved]: "devvm saved the Claude Code token from claude setup-token with its secrets, and {{.vm}} uses it now. Every VM with Claude Code gets it from its next launch."
func ClaudeSetupTokenSaved(vm vmname.VM) M {
return M{id: "claude_setup_token_saved", vals: []val{{"vm", string(vm)}}}
}
// ClaudeTokenHowto is [claude_token_howto]: "Paste the Claude Code token that claude setup-token printed, which starts with sk-ant-oat01-, not the code the browser shows.\ndevvm agent login claude --setup-token runs it in a VM and saves the token without this step."
func ClaudeTokenHowto() M {
return M{id: "claude_token_howto"}
}
// ClaudeTokenInvalid is [claude_token_invalid]: "The Claude Code token isn't one from claude setup-token, which starts with sk-ant-oat01-, so VMs don't get it. Run devvm agent login claude to log in again."
func ClaudeTokenInvalid() M {
return M{id: "claude_token_invalid"}
}
// CloneAddAlready is [clone_add_already]: "{{.vm}} has its own clone of {{.path}} already."
func CloneAddAlready(path string, vm vmname.VM) M {
return M{id: "clone_add_already", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// CloneAddFailed is [clone_add_failed]: "Copying the repo into this folder's VM failed: {{.reason}}."
func CloneAddFailed(reason string) M {
return M{id: "clone_add_failed", vals: []val{{"reason", reason}}}
}
// CloneAddMissing is [clone_add_missing]: "There's no folder {{.dir}} to copy into the VM."
func CloneAddMissing(dir string) M {
return M{id: "clone_add_missing", vals: []val{{"dir", dir}}}
}
// CloneAddMounted is [clone_add_mounted]: "{{.vm}} mounts this folder, so it has no clone to add a repo to, and the repos in the folder are in the VM already."
func CloneAddMounted(vm vmname.VM) M {
return M{id: "clone_add_mounted", vals: []val{{"vm", string(vm)}}}
}
// CloneAddName is [clone_add_name]: "devvm clone add takes a repo whose folder's name has only characters a terminal can show, and no line break. Rename the folder, then run it again."
func CloneAddName() M {
return M{id: "clone_add_name"}
}
// CloneAddOutside is [clone_add_outside]: "devvm clone add copies a repo in {{.folder}}, the VM's folder, and {{.dir}} is outside it."
func CloneAddOutside(dir string, folder string) M {
return M{id: "clone_add_outside", vals: []val{{"dir", dir}, {"folder", folder}}}
}
// CloneAdded is [clone_added]: "The VM has its own clone of {{.path}} now, and the repo has the remote {{.remote}} for it."
func CloneAdded(path string, remote string) M {
return M{id: "clone_added", vals: []val{{"path", path}, {"remote", remote}}}
}
// CloneAdding is [clone_adding]: "adding {{.path}} to {{.vm}}'s clone"
func CloneAdding(path string, vm vmname.VM) M {
return M{id: "clone_adding", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// CloneAlternates is [clone_alternates]: "--clone copies only a repo's own objects, and {{.path}} borrows objects from another repo. Run git repack -a -d, delete that file, then run devvm --clone again."
func CloneAlternates(path string) M {
return M{id: "clone_alternates", vals: []val{{"path", path}}}
}
// CloneCheckFailed is [clone_check_failed]: "Reading the clone in {{.vm}} failed, so devvm kept the VM as it is. To go ahead without the check, losing the clone's unfetched commits and uncommitted changes, run {{.command}} --no-clone-check."
func CloneCheckFailed(command string, vm vmname.VM) M {
return M{id: "clone_check_failed", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// CloneCheckNotStarted is [clone_check_not_started]: "{{.vm}} didn't start for the clone check, so devvm kept the VM as it is. To go ahead without the check, losing the clone's unfetched commits and uncommitted changes, run {{.command}} --no-clone-check."
func CloneCheckNotStarted(command string, vm vmname.VM) M {
return M{id: "clone_check_not_started", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// CloneCheckRepoChanged is [clone_check_repo_changed]: "{{.path}} isn't the repo on this machine that {{.vm}} has a clone of any more, so devvm kept the VM as it is. Put it back, or run {{.command}} --no-clone-check to go ahead without the check."
func CloneCheckRepoChanged(command string, path string, vm vmname.VM) M {
return M{id: "clone_check_repo_changed", vals: []val{{"command", command}, {"path", path}, {"vm", string(vm)}}}
}
// CloneCheckSkipped is [clone_check_skipped]: "Without the clone check, {{.command}} loses the commits on {{.vm}}'s clone that this repo hasn't fetched, and the clone's uncommitted changes."
func CloneCheckSkipped(command string, vm vmname.VM) M {
return M{id: "clone_check_skipped", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// CloneChecking is [clone_checking]: "checking for work in {{.vm}}"
func CloneChecking(vm vmname.VM) M {
return M{id: "clone_checking", vals: []val{{"vm", string(vm)}}}
}
// CloneDirty is [clone_dirty]: "The VM's clone has uncommitted changes, which will be lost:"
func CloneDirty() M {
return M{id: "clone_dirty"}
}
// CloneFetchFailed is [clone_fetch_failed]: "Fetching the branches of {{.path}} in {{.vm}} failed. Run devvm clone fetch again to retry."
func CloneFetchFailed(path string, vm vmname.VM) M {
return M{id: "clone_fetch_failed", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// CloneFetchMounted is [clone_fetch_mounted]: "{{.vm}} mounts this folder, so it has no clone to fetch from, and its work is in the folder already."
func CloneFetchMounted(vm vmname.VM) M {
return M{id: "clone_fetch_mounted", vals: []val{{"vm", string(vm)}}}
}
// CloneFetchPartial is [clone_fetch_partial]: "{{.path}} is a partial clone, so the VM's clone may lack an object its work needs, and git there won't fetch one just to send it. In the VM's clone, run a command that reads the work's objects, such as git show of its commits, then fetch again."
func CloneFetchPartial(path string) M {
return M{id: "clone_fetch_partial", vals: []val{{"path", path}}}
}
// CloneFetchRunFailed is [clone_fetch_run_failed]: "Fetching the work of this folder's VM failed: {{.reason}}."
func CloneFetchRunFailed(reason string) M {
return M{id: "clone_fetch_run_failed", vals: []val{{"reason", reason}}}
}
// CloneFetchedNone is [clone_fetched_none]: "The VM has no new or moved branches."
func CloneFetchedNone() M {
return M{id: "clone_fetched_none"}
}
// CloneFetchedReview is [clone_fetched_review]: "Review each branch in its repo before you merge it, such as with git log -p main..{{.remote}}/main."
func CloneFetchedReview(remote string) M {
return M{id: "clone_fetched_review", vals: []val{{"remote", remote}}}
}
// CloneFetching is [clone_fetching]: "fetching {{.vm}}'s branches"
func CloneFetching(vm vmname.VM) M {
return M{id: "clone_fetching", vals: []val{{"vm", string(vm)}}}
}
// CloneFilteredKept is [clone_filtered_kept]: "{{.count}} files in {{.dir}}, such as {{.files}}, go through a git filter, such as git-crypt's, so the VM has them as git stores them, and changes you haven't committed to them stay on this machine."
func CloneFilteredKept(count int, dir string, files string) M {
return M{id: "clone_filtered_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"files", files}}}
}
// CloneFolderMounted is [clone_folder_mounted]: "{{.vm}} mounts {{.dir}}, so code in it could swap the repo under the git commands --clone runs here. Delete that VM, or run devvm --clone in a folder no other VM mounts."
func CloneFolderMounted(dir string, vm vmname.VM) M {
return M{id: "clone_folder_mounted", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// CloneGitElsewhere is [clone_git_elsewhere]: "--clone takes only a repo of the folder's own or a git worktree of one, and {{.path}} points into another repo. Run devvm --clone in that repo's own folder."
func CloneGitElsewhere(path string) M {
return M{id: "clone_git_elsewhere", vals: []val{{"path", path}}}
}
// CloneGrafts is [clone_grafts]: "--clone copies a repo's commits with their own parents, and {{.path}} gives some of them others. Run git replace --convert-graft-file, then run devvm --clone again."
func CloneGrafts(path string) M {
return M{id: "clone_grafts", vals: []val{{"path", path}}}
}
// CloneHooksDirKept is [clone_hooks_dir_kept]: "No hook of {{.dir}} goes to its clone in the VM, because its hooks folder, {{.path}}, is missing, a link or unreadable."
func CloneHooksDirKept(dir string, path string) M {
return M{id: "clone_hooks_dir_kept", vals: []val{{"dir", dir}, {"path", path}}}
}
// CloneHooksKept is [clone_hooks_kept]: "{{.count}} hooks in {{.dir}}, such as {{.hooks}}, stay on this machine, because they aren't files, or they're bigger than devvm copies."
func CloneHooksKept(count int, dir string, hooks string) M {
return M{id: "clone_hooks_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"hooks", hooks}}}
}
// CloneHooksPathKept is [clone_hooks_path_kept]: "The hooks in {{.path}}, which {{.dir}} runs through core.hooksPath, stay on this machine, because that folder isn't inside the repo, or a file the repo's config includes sets it."
func CloneHooksPathKept(dir string, path string) M {
return M{id: "clone_hooks_path_kept", vals: []val{{"dir", dir}, {"path", path}}}
}
// CloneKeptBranches is [clone_kept_branches]: "The VM has commits of its own on {{.count}} branches in {{.dir}}, such as {{.branches}}, so devvm left them as they are instead of moving them to this machine's."
func CloneKeptBranches(branches string, count int, dir string) M {
return M{id: "clone_kept_branches", plural: true, count: count, vals: []val{{"branches", branches}, {"count", strconv.Itoa(count)}, {"dir", dir}}}
}
// CloneKeptFiles is [clone_kept_files]: "The VM had its own copies of {{.count}} tracked files in {{.dir}}, such as {{.files}}, so devvm kept them, and git status in the VM shows how they differ."
func CloneKeptFiles(count int, dir string, files string) M {
return M{id: "clone_kept_files", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"files", files}}}
}
// CloneKeptHead is [clone_kept_head]: "HEAD in the VM's clone of {{.dir}} stays where the VM put it, not where it is on this machine, because the VM moved it or checked out something else."
func CloneKeptHead(dir string) M {
return M{id: "clone_kept_head", vals: []val{{"dir", dir}}}
}
// CloneLfsBad is [clone_lfs_bad]: "{{.count}} Git LFS objects in {{.path}}, such as {{.objects}}, aren't what their pointers name, so they stay on this machine, and their files are only pointers in the VM."
func CloneLfsBad(count int, objects string, path string) M {
return M{id: "clone_lfs_bad", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"objects", objects}, {"path", path}}}
}
// CloneLfsFailed is [clone_lfs_failed]: "Bringing back the Git LFS objects of the VM's work in {{.path}} failed, so some of its files may be only pointers here. Run devvm clone fetch again, and the run log has the reason."
func CloneLfsFailed(path string) M {
return M{id: "clone_lfs_failed", vals: []val{{"path", path}}}
}
// CloneLfsKept is [clone_lfs_kept]: "{{.count}} Git LFS objects that the VM's work in {{.path}} names, such as {{.objects}}, didn't come back, so those files are only pointers here. The VM's clone may lack them, or what it sent wasn't what their pointers name."
func CloneLfsKept(count int, objects string, path string) M {
return M{id: "clone_lfs_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"objects", objects}, {"path", path}}}
}
// CloneLfsLarge is [clone_lfs_large]: "The Git LFS objects that the VM's work in {{.path}} names come to {{.size}} GiB. Bring them all to this machine?"
func CloneLfsLarge(path string, size string) M {
return M{id: "clone_lfs_large", vals: []val{{"path", path}, {"size", size}}}
}
// CloneLfsSetupFailed is [clone_lfs_setup_failed]: "Setting up Git LFS in the VM's clone of {{.path}} failed, so its LFS files may be pointers there, and git status there may show them as changed. Run git lfs install --local in the VM's clone."
func CloneLfsSetupFailed(path string) M {
return M{id: "clone_lfs_setup_failed", vals: []val{{"path", path}}}
}
// CloneLfsStorage is [clone_lfs_storage]: "{{.path}} keeps its Git LFS objects outside .git, as its lfs.storage setting says, so devvm copies none of them between it and the VM."
func CloneLfsStorage(path string) M {
return M{id: "clone_lfs_storage", vals: []val{{"path", path}}}
}
// CloneLfsUnfetched is [clone_lfs_unfetched]: "The VM's clone of {{.path}} has {{.count}} Git LFS objects that its work names and this machine lacks, such as {{.objects}}. devvm clone fetch brings them here."
func CloneLfsUnfetched(count int, objects string, path string) M {
return M{id: "clone_lfs_unfetched", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"objects", objects}, {"path", path}}}
}
// CloneNeedsGit is [clone_needs_git]: "--clone needs git, and git isn't installed on this machine."
func CloneNeedsGit() M {
return M{id: "clone_needs_git"}
}
// CloneNeedsNewVM is [clone_needs_new_vm]: "{{.vm}} mounts this folder, so --clone doesn't change it. To give it its own clone of the repo, run devvm clone on."
func CloneNeedsNewVM(vm vmname.VM) M {
return M{id: "clone_needs_new_vm", vals: []val{{"vm", string(vm)}}}
}
// CloneNoCommits is [clone_no_commits]: "--clone needs a commit, and this repo has none yet. Make a first commit, then run devvm --clone again."
func CloneNoCommits() M {
return M{id: "clone_no_commits"}
}
// CloneNotTop is [clone_not_top]: "--clone needs the top folder of a git repo, and {{.dir}} isn't one. Run devvm --clone in the repo's top folder."
func CloneNotTop(dir string) M {
return M{id: "clone_not_top", vals: []val{{"dir", dir}}}
}
// ClonePartialBlocked is [clone_partial_blocked]: "{{.dir}} is a partial clone, and the VM's allowlist blocks {{.host}}, where {{.remote}} is, so git there can't fetch the objects it lacks. To allow it, run devvm network allow {{.host}}."
func ClonePartialBlocked(dir string, host string, remote string) M {
return M{id: "clone_partial_blocked", vals: []val{{"dir", dir}, {"host", host}, {"remote", remote}}}
}
// ClonePartialBlockedNone is [clone_partial_blocked_none]: "{{.dir}} is a partial clone, and the VM's none tier blocks {{.host}}, where {{.remote}} is, so git there can't fetch the objects it lacks. To reach it, run devvm network allowlist, then devvm network allow {{.host}}."
func ClonePartialBlockedNone(dir string, host string, remote string) M {
return M{id: "clone_partial_blocked_none", vals: []val{{"dir", dir}, {"host", host}, {"remote", remote}}}
}
// ClonePartialDenied is [clone_partial_denied]: "{{.dir}} is a partial clone, and the VM can't reach {{.host}}, where {{.remote}} is, as a deny rule blocks it or it's a private address, so git there can't fetch the objects it lacks."
func ClonePartialDenied(dir string, host string, remote string) M {
return M{id: "clone_partial_denied", vals: []val{{"dir", dir}, {"host", host}, {"remote", remote}}}
}
// ClonePartialPromisorKept is [clone_partial_promisor_kept]: "{{.dir}} is a partial clone, and {{.count}} remotes with the objects it lacks, such as {{.remotes}}, stay on this machine, so git in the VM can't fetch them."
func ClonePartialPromisorKept(count int, dir string, remotes string) M {
return M{id: "clone_partial_promisor_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"remotes", remotes}}}
}
// ClonePartialRefsKept is [clone_partial_refs_kept]: "{{.count}} refs in {{.dir}}, such as {{.refs}}, point to objects this partial clone hasn't fetched, so the VM's clone doesn't get them."
func ClonePartialRefsKept(count int, dir string, refs string) M {
return M{id: "clone_partial_refs_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"refs", refs}}}
}
// ClonePartialUnreachable is [clone_partial_unreachable]: "{{.dir}} is a partial clone, and {{.remote}} is {{.url}} on this machine, which the VM can't reach, so git there can't fetch the objects it lacks."
func ClonePartialUnreachable(dir string, remote string, url string) M {
return M{id: "clone_partial_unreachable", vals: []val{{"dir", dir}, {"remote", remote}, {"url", url}}}
}
// ClonePlanning is [clone_planning]: "reading the repos in {{.dir}}"
func ClonePlanning(dir string) M {
return M{id: "clone_planning", vals: []val{{"dir", dir}}}
}
// ClonePushUrlsKept is [clone_push_urls_kept]: "The push URLs of {{.count}} remotes in {{.dir}}, such as {{.remotes}}, stay on this machine, because none is of a kind devvm copies, so git push to them from the VM's clone goes to their URLs instead."
func ClonePushUrlsKept(count int, dir string, remotes string) M {
return M{id: "clone_push_urls_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"remotes", remotes}}}
}
// CloneReading is [clone_reading]: "reading the repo at {{.path}}"
func CloneReading(path string) M {
return M{id: "clone_reading", vals: []val{{"path", path}}}
}
// CloneReady is [clone_ready]: "The VM has its own clone of your branches, without untracked or ignored files.\nTo get its work, run git fetch {{.remote}}, then review it with git log -p {{.branch}}..{{.remote}}/{{.branch}} before you merge."
func CloneReady(branch string, remote string) M {
return M{id: "clone_ready", vals: []val{{"branch", branch}, {"remote", remote}}}
}
// CloneReadyDetached is [clone_ready_detached]: "The VM has its own clone of your branches, detached at the commit you have checked out, without untracked or ignored files.\nTo get its work, run devvm clone fetch, which fetches its branches as {{.remote}}/<branch>, and its detached HEAD's own commits too, then review them with git log -p before you merge."
func CloneReadyDetached(remote string) M {
return M{id: "clone_ready_detached", vals: []val{{"remote", remote}}}
}
// CloneRefNoObject is [clone_ref_no_object]: "{{.ref}} points to an object the repo doesn't have, and it isn't a partial clone, so the repo is broken. Run git fsck there to see what's missing."
func CloneRefNoObject(ref string) M {
return M{id: "clone_ref_no_object", vals: []val{{"ref", ref}}}
}
// CloneRemoteElsewhere is [clone_remote_elsewhere]: "The remote {{.remote}} of {{.path}} doesn't point at the VM now, so devvm clone fetch didn't fetch into it. Run git remote remove {{.remote}} in that repo, and devvm clone fetch adds it again."
func CloneRemoteElsewhere(path string, remote string) M {
return M{id: "clone_remote_elsewhere", vals: []val{{"path", path}, {"remote", remote}}}
}
// CloneRepoChanged is [clone_repo_changed]: "{{.path}} isn't the repo on this machine that the VM has a clone of any more, so devvm left it alone. Run devvm clone add {{.path}} to see why."
func CloneRepoChanged(path string) M {
return M{id: "clone_repo_changed", vals: []val{{"path", path}}}
}
// CloneRepoDirty is [clone_repo_dirty]: "The VM's clone of {{.repo}} has uncommitted changes, which will be lost:"
func CloneRepoDirty(repo string) M {
return M{id: "clone_repo_dirty", vals: []val{{"repo", repo}}}
}
// CloneRepoFormat is [clone_repo_format]: "An older devvm made an empty repo at {{.paths}} in {{.vm}} that can't take this repo's SHA-256 objects.\nDelete that empty repo's .git and make it again?"
func CloneRepoFormat(paths string, vm vmname.VM) M {
return M{id: "clone_repo_format", vals: []val{{"paths", paths}, {"vm", string(vm)}}}
}
// CloneRepoFormatKept is [clone_repo_format_kept]: "The empty repo at {{.paths}} in {{.vm}} stays as it is, so it has none of your branches. Run devvm in a terminal to make it again, or run devvm rm, then devvm --clone."
func CloneRepoFormatKept(paths string, vm vmname.VM) M {
return M{id: "clone_repo_format_kept", vals: []val{{"paths", paths}, {"vm", string(vm)}}}
}
// CloneRepoGone is [clone_repo_gone]: "The VM's clone of {{.repo}} isn't at its path, so devvm can't check it, and whatever the VM moved it to will be lost."
func CloneRepoGone(repo string) M {
return M{id: "clone_repo_gone", vals: []val{{"repo", repo}}}
}
// CloneRepoMounted is [clone_repo_mounted]: "{{.vm}} mounts {{.path}}, so code in it could swap that repo under devvm's git, and devvm leaves it alone. Delete that VM, or move the repo out of its folder, then run the command again."
func CloneRepoMounted(path string, vm vmname.VM) M {
return M{id: "clone_repo_mounted", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// CloneRepoUnchecked is [clone_repo_unchecked]: "{{.vm}} mounts {{.path}}, so devvm leaves this machine's repo alone and can't fetch the VM's work in it, which will be lost."
func CloneRepoUnchecked(path string, vm vmname.VM) M {
return M{id: "clone_repo_unchecked", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// CloneSeedFailed is [clone_seed_failed]: "Copying the repo's branches into {{.vm}} failed. Run devvm again to retry."
func CloneSeedFailed(vm vmname.VM) M {
return M{id: "clone_seed_failed", vals: []val{{"vm", string(vm)}}}
}
// CloneShowFailed is [clone_show_failed]: "Showing whether this folder's VM has its own clone of the repo failed: {{.reason}}."
func CloneShowFailed(reason string) M {
return M{id: "clone_show_failed", vals: []val{{"reason", reason}}}
}
// CloneSkipWorktreeKept is [clone_skip_worktree_kept]: "{{.count}} files in {{.dir}}, such as {{.files}}, are marked skip-worktree, so the VM has them as git's index has them, and your edits to them stay on this machine."
func CloneSkipWorktreeKept(count int, dir string, files string) M {
return M{id: "clone_skip_worktree_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"files", files}}}
}
// CloneStashAllKept is [clone_stash_all_kept]: "{{.count}} stash entries in {{.dir}}, such as {{.entries}}, stay on this machine, because they may hold files git ignores, as git stash --all makes."
func CloneStashAllKept(count int, dir string, entries string) M {
return M{id: "clone_stash_all_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"entries", entries}}}
}
// CloneStashFetchFailed is [clone_stash_fetch_failed]: "devvm couldn't fetch the VM's stash entry {{.entry}}, so it's still only in the VM."
func CloneStashFetchFailed(entry string) M {
return M{id: "clone_stash_fetch_failed", vals: []val{{"entry", entry}}}
}
// CloneStashOverKept is [clone_stash_over_kept]: "{{.count}} stash entries in {{.dir}}, such as {{.entries}}, stay on this machine, because devvm copies only the newest {{.max}}."
func CloneStashOverKept(count int, dir string, entries string, max string) M {
return M{id: "clone_stash_over_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"entries", entries}, {"max", max}}}
}
// CloneStashUntracked is [clone_stash_untracked]: "The VM's stash entry {{.branch}} also held {{.count}} untracked files, such as {{.files}}, which devvm saved apart as {{.untracked}}, so git stash apply won't write them. Look at them with git show {{.untracked}} before you use them."
func CloneStashUntracked(branch string, count int, files string, untracked string) M {
return M{id: "clone_stash_untracked", plural: true, count: count, vals: []val{{"branch", branch}, {"count", strconv.Itoa(count)}, {"files", files}, {"untracked", untracked}}}
}
// CloneStashUntrackedIgnored is [clone_stash_untracked_ignored]: "Of those, {{.count}} files in {{.untracked}}, such as {{.files}}, are files git ignores here, which a tool may run on its own, such as a virtualenv's, so check them before you copy them in."
func CloneStashUntrackedIgnored(count int, files string, untracked string) M {
return M{id: "clone_stash_untracked_ignored", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"files", files}, {"untracked", untracked}}}
}
// CloneSubmoduleKept is [clone_submodule_kept]: "The submodule {{.path}} stays on this machine, because devvm couldn't copy it, so its folder in the VM is empty."
func CloneSubmoduleKept(path string) M {
return M{id: "clone_submodule_kept", vals: []val{{"path", path}}}
}
// CloneSubmoduleUnchecked is [clone_submodule_unchecked]: "The submodule {{.path}} isn't a repo of its own here any more, such as after git submodule deinit, so devvm can't fetch from its clone in the VM or check it for work you haven't fetched. To do either, run git submodule update --init {{.path}} first."
func CloneSubmoduleUnchecked(path string) M {
return M{id: "clone_submodule_unchecked", vals: []val{{"path", path}}}
}
// CloneSubmodulesKept is [clone_submodules_kept]: "The submodules of {{.path}} stay on this machine, because devvm couldn't read which are initialised, so their folders in the VM are empty."
func CloneSubmodulesKept(path string) M {
return M{id: "clone_submodules_kept", vals: []val{{"path", path}}}
}
// CloneSwitchOff is [clone_switch_off]: "devvm makes {{.vm}} again with this folder mounted instead of its own clone, and removes the clone's git remote before the new VM starts."
func CloneSwitchOff(vm vmname.VM) M {
return M{id: "clone_switch_off", vals: []val{{"vm", string(vm)}}}
}
// CloneSwitchOn is [clone_switch_on]: "devvm makes {{.vm}} again with its own clone of the repo instead of this folder mounted, and copies the repo's branches into it as it starts."
func CloneSwitchOn(vm vmname.VM) M {
return M{id: "clone_switch_on", vals: []val{{"vm", string(vm)}}}
}
// CloneTodoMissing is [clone_todo_missing]: "The VM's clone of {{.dir}} lacks {{.count}} commits, such as {{.commits}}, which its rebase or cherry-pick still has to pick, so those steps will fail there. Push or fetch them into the VM's clone first, or skip them."
func CloneTodoMissing(commits string, count int, dir string) M {
return M{id: "clone_todo_missing", plural: true, count: count, vals: []val{{"commits", commits}, {"count", strconv.Itoa(count)}, {"dir", dir}}}
}
// CloneTypechangeKept is [clone_typechange_kept]: "{{.count}} paths in {{.dir}}, such as {{.files}}, are tracked as files but aren't ones of that kind here, such as folders, so the VM doesn't have them, nor anything in them."
func CloneTypechangeKept(count int, dir string, files string) M {
return M{id: "clone_typechange_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"files", files}}}
}
// CloneUncommittedKept is [clone_uncommitted_kept]: "The uncommitted changes in {{.dir}} stay on this machine, because HEAD in the VM's clone isn't where it is here, so they'd apply to something else. To give them to the VM, commit them, then run git push to the VM's remote."
func CloneUncommittedKept(dir string) M {
return M{id: "clone_uncommitted_kept", vals: []val{{"dir", dir}}}
}
// CloneUrlsKept is [clone_urls_kept]: "URLs of {{.count}} remotes in {{.dir}}, such as {{.remotes}}, stay on this machine, because they aren't of a kind devvm copies: http, https, ssh or file URLs or paths, with no token in them, that don't reach a devvm VM."
func CloneUrlsKept(count int, dir string, remotes string) M {
return M{id: "clone_urls_kept", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"remotes", remotes}}}
}
// CloneUrlsUnread is [clone_urls_unread]: "git couldn't give the URLs of {{.count}} remotes in {{.dir}}, such as {{.remotes}}, so its clone in the VM doesn't have them."
func CloneUrlsUnread(count int, dir string, remotes string) M {
return M{id: "clone_urls_unread", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"remotes", remotes}}}
}
// CloneVMGitOld is [clone_vm_git_old]: "This repo names its objects with SHA-256, which needs git 2.29 or newer in the VM, and {{.vm}} has {{.version}}. Run devvm rm, then make the VM again from an image with a newer git."
func CloneVMGitOld(version string, vm vmname.VM) M {
return M{id: "clone_vm_git_old", vals: []val{{"version", version}, {"vm", string(vm)}}}
}
// CloneWorktreeDetached is [clone_worktree_detached]: "The worktree {{.path}} in the VM's clone has commits on its detached HEAD that no branch has, which will be lost. To keep them, run git switch -c NAME in that worktree, then fetch the branch."
func CloneWorktreeDetached(path string) M {
return M{id: "clone_worktree_detached", vals: []val{{"path", path}}}
}
// CloneWorktreeDirty is [clone_worktree_dirty]: "The worktree {{.path}} in the VM's clone has uncommitted changes, which will be lost:"
func CloneWorktreeDirty(path string) M {
return M{id: "clone_worktree_dirty", vals: []val{{"path", path}}}
}
// CloneWorktreeTips is [clone_worktree_tips]: "This folder is a git worktree, so its clone in the VM gets its own branch, the default branch, the remote-tracking branches and the tags, but not the repo's other local branches or its stash."
func CloneWorktreeTips() M {
return M{id: "clone_worktree_tips"}
}
// CloneWorktreesUnchecked is [clone_worktrees_unchecked]: "The VM's clone has more than {{.max}} worktrees, and devvm checked only the first {{.max}} for uncommitted changes."
func CloneWorktreesUnchecked(max string) M {
return M{id: "clone_worktrees_unchecked", vals: []val{{"max", max}}}
}
// CloningForTools is [cloning_for_tools]: "cloning base for {{.tool}}"
func CloningForTools(tool string) M {
return M{id: "cloning_for_tools", vals: []val{{"tool", tool}}}
}
// CloningImage is [cloning_image]: "cloning {{.parent}}'s image"
func CloningImage(parent string) M {
return M{id: "cloning_image", vals: []val{{"parent", parent}}}
}
// CodeFailed is [code_failed]: "Opening this folder's VM in VS Code failed: {{.reason}}."
func CodeFailed(reason string) M {
return M{id: "code_failed", vals: []val{{"reason", reason}}}
}
// CodexNoChatgpt is [codex_no_chatgpt]: "The Codex login in devvm's agent store isn't a ChatGPT login any more, so the VM's proxy has none to put in. Run devvm agent login codex in the VM's folder."
func CodexNoChatgpt() M {
return M{id: "codex_no_chatgpt"}
}
// CodexNoKey is [codex_no_key]: "The Codex login in devvm's agent store has no API key any more, so the VM's proxy has none to put in. Run devvm agent login codex --api-key in the VM's folder."
func CodexNoKey() M {
return M{id: "codex_no_key"}
}
// ConfigNotCopied is [config_not_copied]: "{{.vm}} doesn't get a copy of {{.file}}, because devvm couldn't read it to take its secrets out."
func ConfigNotCopied(file string, vm vmname.VM) M {
return M{id: "config_not_copied", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// ConfigRedacted is [config_redacted]: "devvm redacted {{.keys}} in {{.vm}}'s copy of {{.file}}, because devvm keeps secrets on this machine, whatever the VM's network tier."
func ConfigRedacted(file string, keys string, vm vmname.VM) M {
return M{id: "config_redacted", vals: []val{{"file", file}, {"keys", keys}, {"vm", string(vm)}}}
}
// Configuring is [configuring]: "configuring {{.what}}"
func Configuring(what string) M {
return M{id: "configuring", vals: []val{{"what", what}}}
}
// Continue is [continue]: "Continue?"
func Continue() M {
return M{id: "continue"}
}
// ConvertBadOutput is [convert_bad_output]: "Converting {{.from}} wrote an unexpected {{.file}}, so devvm didn't use it. The container image may be hostile."
func ConvertBadOutput(file string, from string) M {
return M{id: "convert_bad_output", vals: []val{{"file", file}, {"from", from}}}
}
// ConvertFailed is [convert_failed]: "Converting {{.from}} into a disk failed."
func ConvertFailed(from string) M {
return M{id: "convert_failed", vals: []val{{"from", from}}}
}
// Converting is [converting]: "converting {{.from}}"
func Converting(from string) M {
return M{id: "converting", vals: []val{{"from", from}}}
}
// ConvertingInVM is [converting_in_vm]: "converting {{.from}} into a disk, in a throwaway VM ({{.vm}})"
func ConvertingInVM(from string, vm vmname.VM) M {
return M{id: "converting_in_vm", vals: []val{{"from", from}, {"vm", string(vm)}}}
}
// CopyingBranches is [copying_branches]: "copying the repo's branches into the VM"
func CopyingBranches() M {
return M{id: "copying_branches"}
}
// CopyingRepo is [copying_repo]: "copying {{.path}}'s branches into the VM"
func CopyingRepo(path string) M {
return M{id: "copying_repo", vals: []val{{"path", path}}}
}
// CopyingSubmodule is [copying_submodule]: "copying the submodule {{.path}} into the VM"
func CopyingSubmodule(path string) M {
return M{id: "copying_submodule", vals: []val{{"path", path}}}
}
// CpusNotNumber is [cpus_not_number]: "{{.flag}} takes a whole number of CPUs, not {{.value}}."
func CpusNotNumber(flag string, value string) M {
return M{id: "cpus_not_number", vals: []val{{"flag", flag}, {"value", value}}}
}
// CreateRunning is [create_running]: "Another devvm is making {{.vm}}. Run the command again once it has finished."
func CreateRunning(vm vmname.VM) M {
return M{id: "create_running", vals: []val{{"vm", string(vm)}}}
}
// Creating is [creating]: "creating {{.vm}}"
func Creating(vm vmname.VM) M {
return M{id: "creating", vals: []val{{"vm", string(vm)}}}
}
// CreatingFrom is [creating_from]: "creating {{.vm}} from {{.image}}"
func CreatingFrom(image string, vm vmname.VM) M {
return M{id: "creating_from", vals: []val{{"image", image}, {"vm", string(vm)}}}
}
// CreatingFromUbuntu is [creating_from_ubuntu]: "creating {{.vm}} from Ubuntu's cloud image"
func CreatingFromUbuntu(vm vmname.VM) M {
return M{id: "creating_from_ubuntu", vals: []val{{"vm", string(vm)}}}
}
// CursorAgentInVM is [cursor_agent_in_vm]: "Cursor's Agent will run in the VM with your Cursor sign-in. Adding \"cursorAgentHost.remoteInferenceRoute\": \"always\" to {{.file}} sends Agent's requests through the Cursor app here, but the VM's Cursor server still signs in to Cursor either way, so open only VMs you trust."
func CursorAgentInVM(file string) M {
return M{id: "cursor_agent_in_vm", vals: []val{{"file", file}}}
}
// CursorFailed is [cursor_failed]: "Opening this folder's VM in Cursor failed: {{.reason}}."
func CursorFailed(reason string) M {
return M{id: "cursor_failed", vals: []val{{"reason", reason}}}
}
// CustomLayerRemove is [custom_layer_remove]: "{{.layer}} is one of {{.vm}}'s layers, not a shared tool. To take it out, run devvm layer rm {{.layer}}."
func CustomLayerRemove(layer string, vm vmname.VM) M {
return M{id: "custom_layer_remove", vals: []val{{"layer", layer}, {"vm", string(vm)}}}
}
// CustomSecretHowto is [custom_secret_howto]: "Paste the value of {{.secret}}, which VMs that use it send to {{.hosts}}.\nThe VMs that use it can reach those hosts on port 443."
func CustomSecretHowto(hosts string, secret string) M {
return M{id: "custom_secret_howto", vals: []val{{"hosts", hosts}, {"secret", secret}}}
}
// CustomSecretRefused is [custom_secret_refused]: "The entry for {{.secret}} in {{.path}} breaks the rules for a secret of yours. Fix the entry, or delete it and save the secret again."
func CustomSecretRefused(path string, secret string) M {
return M{id: "custom_secret_refused", vals: []val{{"path", path}, {"secret", secret}}}
}
// CustomSecretUsed is [custom_secret_used]: "{{.vm}} uses the {{.secret}} secret from its next launch, and its allowlist has {{.hosts}} on port 443."
func CustomSecretUsed(hosts string, secret string, vm vmname.VM) M {
return M{id: "custom_secret_used", vals: []val{{"hosts", hosts}, {"secret", secret}, {"vm", string(vm)}}}
}
// CustomSecretsUnreadable is [custom_secrets_unreadable]: "Reading your secrets' list in {{.path}} failed: {{.reason}}."
func CustomSecretsUnreadable(path string, reason string) M {
return M{id: "custom_secrets_unreadable", vals: []val{{"path", path}, {"reason", reason}}}
}
// CustomSecretsWaiting is [custom_secrets_waiting]: "waiting for another devvm to finish changing your secrets"
func CustomSecretsWaiting() M {
return M{id: "custom_secrets_waiting"}
}
// DefaultAgents is [default_agents]: "New VMs get these coding agents: {{.agents}}. To change them, run devvm setup --agents."
func DefaultAgents(agents string) M {
return M{id: "default_agents", vals: []val{{"agents", agents}}}
}
// DefaultAgentsNone is [default_agents_none]: "New VMs get no coding agents. To choose some, run devvm setup --agents."
func DefaultAgentsNone() M {
return M{id: "default_agents_none"}
}
// DefaultLayerGone is [default_layer_gone]: "{{.vm}} doesn't get the default layer {{.layer}}, because {{.dir}} has no script for it. To change new VMs' layers, run devvm setup --layers."
func DefaultLayerGone(dir string, layer string, vm vmname.VM) M {
return M{id: "default_layer_gone", vals: []val{{"dir", dir}, {"layer", layer}, {"vm", string(vm)}}}
}
// DefaultLayerLacks is [default_layer_lacks]: "{{.vm}} can't get the default layer {{.layer}}, because the {{.backend}} backend doesn't have {{.feature}}. Give it other layers with --layers, or change new VMs' layers with devvm setup --layers."
func DefaultLayerLacks(backend string, feature string, layer string, vm vmname.VM) M {
return M{id: "default_layer_lacks", vals: []val{{"backend", backend}, {"feature", feature}, {"layer", layer}, {"vm", string(vm)}}}
}
// DefaultLayers is [default_layers]: "New VMs get these layers: {{.layers}}, and VMs you already have keep theirs. To change them, run devvm setup --layers."
func DefaultLayers(layers string) M {
return M{id: "default_layers", vals: []val{{"layers", layers}}}
}
// DefaultLayersNone is [default_layers_none]: "New VMs get no layers, and VMs you already have keep theirs. To choose some, run devvm setup --layers."
func DefaultLayersNone() M {
return M{id: "default_layers_none"}
}
// DeleteAnyway is [delete_anyway]: "Delete anyway?"
func DeleteAnyway() M {
return M{id: "delete_anyway"}
}
// DeleteFailed is [delete_failed]: "Deleting {{.vm}} failed."
func DeleteFailed(vm vmname.VM) M {
return M{id: "delete_failed", vals: []val{{"vm", string(vm)}}}
}
// DeleteGoneFolderVM is [delete_gone_folder_vm]: "{{.vm}} was made for {{.dir}}, which is gone. It may hold that project's work. Delete it?"
func DeleteGoneFolderVM(dir string, vm vmname.VM) M {
return M{id: "delete_gone_folder_vm", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// DeleteNotConnectedFolderVM is [delete_not_connected_folder_vm]: "{{.vm}} was made for {{.dir}}, which is on a disk that isn't connected. It may hold that project's work. Delete it anyway?"
func DeleteNotConnectedFolderVM(dir string, vm vmname.VM) M {
return M{id: "delete_not_connected_folder_vm", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// DeleteOtherFolderVM is [delete_other_folder_vm]: "{{.vm}} was made for an earlier folder at {{.was}}, which was deleted or replaced. It may hold that project's work. Delete it?"
func DeleteOtherFolderVM(vm vmname.VM, was string) M {
return M{id: "delete_other_folder_vm", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// DeleteParentVM is [delete_parent_vm]: "{{.vm}} was made for {{.dir}}, which this folder is inside, and may hold that project's work. Delete it?"
func DeleteParentVM(dir string, vm vmname.VM) M {
return M{id: "delete_parent_vm", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// Deleted is [deleted]: "deleted {{.vm}}"
func Deleted(vm vmname.VM) M {
return M{id: "deleted", vals: []val{{"vm", string(vm)}}}
}
// DeletedCache is [deleted_cache]: "deleted {{.count}} entries of {{.backend}}'s cache"
func DeletedCache(backend string, count int) M {
return M{id: "deleted_cache", plural: true, count: count, vals: []val{{"backend", backend}, {"count", strconv.Itoa(count)}}}
}
// DeletedHistory is [deleted_history]: "deleted {{.count}} exports of agents' history"
func DeletedHistory(count int) M {
return M{id: "deleted_history", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// DeletedImage is [deleted_image]: "deleted image {{.image}} ({{.key}})"
func DeletedImage(image string, key string) M {
return M{id: "deleted_image", vals: []val{{"image", image}, {"key", key}}}
}
// DeletedLinkSockets is [deleted_link_sockets]: "deleted {{.count}} sockets of link sessions, port forwarders or proxies"
func DeletedLinkSockets(count int) M {
return M{id: "deleted_link_sockets", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// DeletedMise is [deleted_mise]: "deleted {{.count}} older versions of devvm's mise"
func DeletedMise(count int) M {
return M{id: "deleted_mise", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// DeletedNixCache is [deleted_nix_cache]: "deleted {{.count}} files of the shared Nix cache ({{.size}})"
func DeletedNixCache(count int, size string) M {
return M{id: "deleted_nix_cache", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"size", size}}}
}
// DeletedOldImage is [deleted_old_image]: "deleted the old image {{.image}} ({{.key}})"
func DeletedOldImage(image string, key string) M {
return M{id: "deleted_old_image", vals: []val{{"image", image}, {"key", key}}}
}
// DeletedPackages is [deleted_packages]: "deleted {{.count}} package files from devvm's package cache"
func DeletedPackages(count int) M {
return M{id: "deleted_packages", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// DeletedTools is [deleted_tools]: "deleted {{.count}} unused tool images"
func DeletedTools(count int) M {
return M{id: "deleted_tools", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// DeletedToolsNoVM is [deleted_tools_no_vm]: "deleted {{.count}} tool images no VM had"
func DeletedToolsNoVM(count int) M {
return M{id: "deleted_tools_no_vm", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// DeletedUnfinishedBuild is [deleted_unfinished_build]: "deleted {{.key}}, left over from a failed build"
func DeletedUnfinishedBuild(key string) M {
return M{id: "deleted_unfinished_build", vals: []val{{"key", key}}}
}
// Deleting is [deleting]: "deleting {{.what}}"
func Deleting(what string) M {
return M{id: "deleting", vals: []val{{"what", what}}}
}
// DesktopFailed is [desktop_failed]: "Opening this folder's VM's desktop failed: {{.reason}}."
func DesktopFailed(reason string) M {
return M{id: "desktop_failed", vals: []val{{"reason", reason}}}
}
// DesktopNoLayer is [desktop_no_layer]: "{{.vm}} has no desktop, because its image has no desktop layer. Run devvm layer add desktop to make it again with one."
func DesktopNoLayer(vm vmname.VM) M {
return M{id: "desktop_no_layer", vals: []val{{"vm", string(vm)}}}
}
// DesktopOpenFailed is [desktop_open_failed]: "Screen Sharing didn't open. Open {{.url}} in a VNC viewer instead."
func DesktopOpenFailed(url string) M {
return M{id: "desktop_open_failed", vals: []val{{"url", url}}}
}
// DesktopReady is [desktop_ready]: "{{.vm}}'s desktop is at\nvnc://{{.address}}\nPassword: {{.password}}\nIt stays there until you press Ctrl+C."
func DesktopReady(address string, password string, vm vmname.VM) M {
return M{id: "desktop_ready", vals: []val{{"address", address}, {"password", password}, {"vm", string(vm)}}}
}
// DesktopStartFailed is [desktop_start_failed]: "{{.vm}}'s desktop didn't start."
func DesktopStartFailed(vm vmname.VM) M {
return M{id: "desktop_start_failed", vals: []val{{"vm", string(vm)}}}
}
// DesktopVMStopped is [desktop_vm_stopped]: "{{.vm}} stopped, and its desktop with it."
func DesktopVMStopped(vm vmname.VM) M {
return M{id: "desktop_vm_stopped", vals: []val{{"vm", string(vm)}}}
}
// DevcontainerBadValue is [devcontainer_bad_value]: "{{.file}} has a value for {{.key}} that devcontainer.json doesn't allow. Fix it, or run devvm --no-devcontainer."
func DevcontainerBadValue(file string, key string) M {
return M{id: "devcontainer_bad_value", vals: []val{{"file", file}, {"key", key}}}
}
// DevcontainerBuild is [devcontainer_build]: "{{.file}} builds its container with {{.key}}, and devvm starts only from a container image. Run devvm --no-devcontainer."
func DevcontainerBuild(file string, key string) M {
return M{id: "devcontainer_build", vals: []val{{"file", file}, {"key", key}}}
}
// DevcontainerChanged is [devcontainer_changed]: "{{.vm}} was made from another version of {{.file}}, and the file changes an existing VM only when devvm makes it again. To make the VM again as the file says now, run devvm update."
func DevcontainerChanged(file string, vm vmname.VM) M {
return M{id: "devcontainer_changed", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// DevcontainerCommandFailed is [devcontainer_command_failed]: "{{.command}} failed in {{.vm}}."
func DevcontainerCommandFailed(command string, vm vmname.VM) M {
return M{id: "devcontainer_command_failed", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// DevcontainerDockerOutside is [devcontainer_docker_outside]: "The feature {{.feature}} in {{.file}} gives the VM this machine's Docker, which devvm never does. Use docker-in-docker, or run devvm --no-devcontainer."
func DevcontainerDockerOutside(feature string, file string) M {
return M{id: "devcontainer_docker_outside", vals: []val{{"feature", feature}, {"file", file}}}
}
// DevcontainerEnvName is [devcontainer_env_name]: "{{.name}} in {{.file}} isn't an environment variable's name. Fix it, or run devvm --no-devcontainer."
func DevcontainerEnvName(file string, name string) M {
return M{id: "devcontainer_env_name", vals: []val{{"file", file}, {"name", name}}}
}
// DevcontainerFeature is [devcontainer_feature]: "There's no layer for the feature {{.feature}} in {{.file}}. Remove it, or run devvm --no-devcontainer."
func DevcontainerFeature(feature string, file string) M {
return M{id: "devcontainer_feature", vals: []val{{"feature", feature}, {"file", file}}}
}
// DevcontainerFeatureOptions is [devcontainer_feature_options]: "{{.file}} gives options to {{.features}}, and devvm ignores them."
func DevcontainerFeatureOptions(features string, file string) M {
return M{id: "devcontainer_feature_options", vals: []val{{"features", features}, {"file", file}}}
}
// DevcontainerFlagWins is [devcontainer_flag_wins]: "You gave --{{.flag}}, so devvm ignores {{.key}} in {{.file}}."
func DevcontainerFlagWins(file string, flag string, key string) M {
return M{id: "devcontainer_flag_wins", vals: []val{{"file", file}, {"flag", flag}, {"key", key}}}
}
// DevcontainerGone is [devcontainer_gone]: "{{.file}} is gone, so devvm makes {{.vm}} again without it."
func DevcontainerGone(file string, vm vmname.VM) M {
return M{id: "devcontainer_gone", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// DevcontainerIgnored is [devcontainer_ignored]: "{{.file}} has properties that devvm ignores: {{.keys}}."
func DevcontainerIgnored(file string, keys string) M {
return M{id: "devcontainer_ignored", vals: []val{{"file", file}, {"keys", keys}}}
}
// DevcontainerImageNotPublic is [devcontainer_image_not_public]: "The container image {{.from}} in {{.file}} isn't public in its registry, and devvm uses only public images from a project's file. Run devvm --from {{.from}} to use it anyway."
func DevcontainerImageNotPublic(file string, from string) M {
return M{id: "devcontainer_image_not_public", vals: []val{{"file", file}, {"from", from}}}
}
// DevcontainerInitialize is [devcontainer_initialize]: "The initializeCommand in {{.file}} never runs, because it would run on this machine."
func DevcontainerInitialize(file string) M {
return M{id: "devcontainer_initialize", vals: []val{{"file", file}}}
}
// DevcontainerInvalid is [devcontainer_invalid]: "{{.file}} isn't valid JSON at line {{.line}}, column {{.column}}. Fix it, or run devvm --no-devcontainer."
func DevcontainerInvalid(column string, file string, line string) M {
return M{id: "devcontainer_invalid", vals: []val{{"column", column}, {"file", file}, {"line", line}}}
}
// DevcontainerLocalEnv is [devcontainer_local_env]: "{{.file}} uses {{.variable}}, and devvm never puts this machine's environment in a VM. Remove it, or run devvm --no-devcontainer."
func DevcontainerLocalEnv(file string, variable string) M {
return M{id: "devcontainer_local_env", vals: []val{{"file", file}, {"variable", variable}}}
}
// DevcontainerNew is [devcontainer_new]: "{{.vm}} was made without {{.file}}, and the file changes an existing VM only when devvm makes it again. To make the VM again as the file says, run devvm update."
func DevcontainerNew(file string, vm vmname.VM) M {
return M{id: "devcontainer_new", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// DevcontainerPortsIgnored is [devcontainer_ports_ignored]: "The forwardPorts {{.ports}} in {{.file}} have no effect, because a VM's ports reach only this machine's localhost."
func DevcontainerPortsIgnored(file string, ports string) M {
return M{id: "devcontainer_ports_ignored", vals: []val{{"file", file}, {"ports", ports}}}
}
// DevcontainerReread is [devcontainer_reread]: "devvm makes {{.vm}} again as {{.file}} says now."
func DevcontainerReread(file string, vm vmname.VM) M {
return M{id: "devcontainer_reread", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// DevcontainerUnknown is [devcontainer_unknown]: "{{.file}} has properties devvm doesn't know, so devvm ignores them: {{.keys}}."
func DevcontainerUnknown(file string, keys string) M {
return M{id: "devcontainer_unknown", vals: []val{{"file", file}, {"keys", keys}}}
}
// DevcontainerUnreadable is [devcontainer_unreadable]: "Reading {{.file}} failed. Fix it, or run devvm --no-devcontainer."
func DevcontainerUnreadable(file string) M {
return M{id: "devcontainer_unreadable", vals: []val{{"file", file}}}
}
// DevcontainerVariable is [devcontainer_variable]: "{{.file}} uses {{.variable}}, which devvm doesn't fill in. Remove it, or run devvm --no-devcontainer."
func DevcontainerVariable(file string, variable string) M {
return M{id: "devcontainer_variable", vals: []val{{"file", file}, {"variable", variable}}}
}
// DevvmOtherFirst is [devvm_other_first]: "Another devvm comes first on PATH, so devvm runs {{.first}} instead of this one at {{.self}}. Uninstall one of them."
func DevvmOtherFirst(first string, self string) M {
return M{id: "devvm_other_first", vals: []val{{"first", first}, {"self", self}}}
}
// DiskFreeUnknown is [disk_free_unknown]: "couldn't read the free space on the disk holding {{.dir}}"
func DiskFreeUnknown(dir string) M {
return M{id: "disk_free_unknown", vals: []val{{"dir", dir}}}
}
// DiskLow is [disk_low]: "{{.name}} needs {{.need}} GiB free on the disk holding {{.dir}}, which has {{.free}} GiB: devvm gc deletes stale images, and devvm images and devvm ls show what else you could delete"
func DiskLow(dir string, free string, name string, need string) M {
return M{id: "disk_low", vals: []val{{"dir", dir}, {"free", free}, {"name", name}, {"need", need}}}
}
// DiskLowWarning is [disk_low_warning]: "the disk holding {{.dir}} has {{.free}} GiB free, less than the {{.need}} GiB building base needs: devvm gc deletes stale images"
func DiskLowWarning(dir string, free string, need string) M {
return M{id: "disk_low_warning", vals: []val{{"dir", dir}, {"free", free}, {"need", need}}}
}
// DiskShrink is [disk_shrink]: "{{.vm}}'s disk is {{.have}} GiB, and a disk can't shrink to {{.want}} GiB."
func DiskShrink(have string, vm vmname.VM, want string) M {
return M{id: "disk_shrink", vals: []val{{"have", have}, {"vm", string(vm)}, {"want", want}}}
}
// DockerExportFailed is [docker_export_failed]: "Exporting {{.from}} from Docker failed."
func DockerExportFailed(from string) M {
return M{id: "docker_export_failed", vals: []val{{"from", from}}}
}
// DockerFound is [docker_found]: "Docker is installed, so --from can use container images only Docker has."
func DockerFound() M {
return M{id: "docker_found"}
}
// DockerImageChanged is [docker_image_changed]: "{{.from}} changed in Docker while devvm built from it, perhaps because of a rebuild. Run devvm again."
func DockerImageChanged(from string) M {
return M{id: "docker_image_changed", vals: []val{{"from", from}}}
}
// DockerMissing is [docker_missing]: "Docker isn't installed. Only --from with a container image only Docker has needs it."
func DockerMissing() M {
return M{id: "docker_missing"}
}
// DockerOnly is [docker_only]: "{{.from}} is a container image only Docker has, such as one built and never pushed, or a private one. Start Docker and try again."
func DockerOnly(from string) M {
return M{id: "docker_only", vals: []val{{"from", from}}}
}
// DoctorChecking is [doctor_checking]: "checking this machine"
func DoctorChecking() M {
return M{id: "doctor_checking"}
}
// DoctorFailed is [doctor_failed]: "Checking what devvm needs failed: {{.reason}}."
func DoctorFailed(reason string) M {
return M{id: "doctor_failed", vals: []val{{"reason", reason}}}
}
// DoctorGitBare is [doctor_git_bare]: "Tip: run git config --global safe.bareRepository explicit, so git on this machine uses a bare repo only when you name it. Then a folder that a VM makes look like a git folder can't take over git in the folders below it."
func DoctorGitBare() M {
return M{id: "doctor_git_bare"}
}
// DoctorLatestRelease is [doctor_latest_release]: "The newest devvm release is {{.latest}}, as of {{.date}}."
func DoctorLatestRelease(date string, latest string) M {
return M{id: "doctor_latest_release", vals: []val{{"date", date}, {"latest", latest}}}
}
// DoctorOK is [doctor_ok]: "This is devvm {{.version}}, and the {{.backend}} backend has everything it needs."
func DoctorOK(backend string, version string) M {
return M{id: "doctor_ok", vals: []val{{"backend", backend}, {"version", version}}}
}
// DoctorPinsApparmor is [doctor_pins_apparmor]: "AppArmor on this machine keeps devvm out of the user namespace it locks .git in, so devvm only watches .git here. To keep a VM out of .git, use devvm --clone."
func DoctorPinsApparmor() M {
return M{id: "doctor_pins_apparmor"}
}
// DoctorPinsFailed is [doctor_pins_failed]: "devvm couldn't lock a test file in a user namespace ({{.reason}}), so it only watches .git on this machine."
func DoctorPinsFailed(reason string) M {
return M{id: "doctor_pins_failed", vals: []val{{"reason", reason}}}
}
// DoctorPinsMax is [doctor_pins_max]: "user.max_user_namespaces is 0 on this machine, so devvm can't lock .git in a user namespace and only watches it. Run sudo sysctl user.max_user_namespaces=15000 to let devvm lock it."
func DoctorPinsMax() M {
return M{id: "doctor_pins_max"}
}
// DoctorPinsSysctl is [doctor_pins_sysctl]: "kernel.unprivileged_userns_clone is 0 on this machine, so devvm can't lock .git in a user namespace and only watches it. Run sudo sysctl kernel.unprivileged_userns_clone=1 to let devvm lock it."
func DoctorPinsSysctl() M {
return M{id: "doctor_pins_sysctl"}
}
// DoctorProxyCA is [doctor_proxy_ca]: "HTTPS_PROXY is set, and {{.dir}} has no CA certificates. If the proxy inspects TLS, put its CA's certificate there."
func DoctorProxyCA(dir string) M {
return M{id: "doctor_proxy_ca", vals: []val{{"dir", dir}}}
}
// DownloadingMise is [downloading_mise]: "downloading mise {{.version}}"
func DownloadingMise(version string) M {
return M{id: "downloading_mise", vals: []val{{"version", version}}}
}
// DownloadingUbuntu is [downloading_ubuntu]: "downloading Ubuntu's cloud image {{.release}}"
func DownloadingUbuntu(release string) M {
return M{id: "downloading_ubuntu", vals: []val{{"release", release}}}
}
// ExportFailed is [export_failed]: "Exporting the agent history of this folder's VM failed: {{.reason}}."
func ExportFailed(reason string) M {
return M{id: "export_failed", vals: []val{{"reason", reason}}}
}
// ExportFailedKept is [export_failed_kept]: "Exporting {{.vm}}'s agent history failed, so devvm kept the VM as it was. Run {{.command}} --no-export to go ahead without exporting."
func ExportFailedKept(command string, vm vmname.VM) M {
return M{id: "export_failed_kept", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// Exported is [exported]: "exported {{.vm}}'s agent history to {{.file}}"
func Exported(file string, vm vmname.VM) M {
return M{id: "exported", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// ExportingDocker is [exporting_docker]: "exporting {{.from}} from Docker"
func ExportingDocker(from string) M {
return M{id: "exporting_docker", vals: []val{{"from", from}}}
}
// FeaturesHelp is [features_help]: "Pick the base image features. Use up and down to move, space to toggle and enter to confirm."
func FeaturesHelp() M {
return M{id: "features_help"}
}
// FetchBeforeDelete is [fetch_before_delete]: "Fetch them into local branches {{.prefix}}/* before the clone goes?"
func FetchBeforeDelete(prefix string) M {
return M{id: "fetch_before_delete", vals: []val{{"prefix", prefix}}}
}
// FetchBeforeDeleteRepos is [fetch_before_delete_repos]: "Fetch them into local branches saved/REMOTE/* of each of those {{.count}} repos before the clone goes?"
func FetchBeforeDeleteRepos(count int) M {
return M{id: "fetch_before_delete_repos", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// FetchFailed is [fetch_failed]: "Fetching the branches in {{.vm}} failed, so devvm kept the VM as it is. Run {{.command}} again to retry."
func FetchFailed(command string, vm vmname.VM) M {
return M{id: "fetch_failed", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// FetchUntil is [fetch_until]: "Until ~/.ssh/config includes devvm's ssh config, fetch the VM's work with GIT_SSH_COMMAND='ssh -F {{.file}}' git fetch {{.remote}}."
func FetchUntil(file string, remote string) M {
return M{id: "fetch_until", vals: []val{{"file", file}, {"remote", remote}}}
}
// Fetching is [fetching]: "fetching the VM's branches into {{.prefix}}/*"
func Fetching(prefix string) M {
return M{id: "fetching", vals: []val{{"prefix", prefix}}}
}
// FetchingRepo is [fetching_repo]: "fetching {{.path}}'s branches from the VM"
func FetchingRepo(path string) M {
return M{id: "fetching_repo", vals: []val{{"path", path}}}
}
// FindingVM is [finding_vm]: "finding the VM"
func FindingVM() M {
return M{id: "finding_vm"}
}
// FirstRunDefaults is [first_run_defaults]: "These first questions set devvm's defaults for every new VM and its base image."
func FirstRunDefaults() M {
return M{id: "first_run_defaults"}
}
// FlagBadSwitch is [flag_bad_switch]: "{{.flag}} takes true or false, not {{.value}}."
func FlagBadSwitch(flag string, value string) M {
return M{id: "flag_bad_switch", vals: []val{{"flag", flag}, {"value", value}}}
}
// FlagBadValue is [flag_bad_value]: "{{.flag}} takes {{.form}}, not {{.value}}."
func FlagBadValue(flag string, form string, value string) M {
return M{id: "flag_bad_value", vals: []val{{"flag", flag}, {"form", form}, {"value", value}}}
}
// FlagBlank is [flag_blank]: "The --{{.flag}} flag got an empty value, and no flag takes one. Give it a value, such as none or off where it takes one, or leave the flag out."
func FlagBlank(flag string) M {
return M{id: "flag_blank", vals: []val{{"flag", flag}}}
}
// FlagNeedsFlag is [flag_needs_flag]: "{{.flag}} goes only with {{.needs}}."
func FlagNeedsFlag(flag string, needs string) M {
return M{id: "flag_needs_flag", vals: []val{{"flag", flag}, {"needs", needs}}}
}
// FlagNeedsValue is [flag_needs_value]: "{{.flag}} needs a value: {{.form}}."
func FlagNeedsValue(flag string, form string) M {
return M{id: "flag_needs_value", vals: []val{{"flag", flag}, {"form", form}}}
}
// FlagUnknown is [flag_unknown]: "There's no flag {{.flag}} for {{.command}}."
func FlagUnknown(command string, flag string) M {
return M{id: "flag_unknown", vals: []val{{"command", command}, {"flag", flag}}}
}
// FlagsExclusive is [flags_exclusive]: "{{.flag}} and {{.other}} can't be given together."
func FlagsExclusive(flag string, other string) M {
return M{id: "flags_exclusive", vals: []val{{"flag", flag}, {"other", other}}}
}
// FoldersNotPrivate is [folders_not_private]: "The folders {{.data}} and {{.config}} can't be made yours alone, so others may be able to read devvm's files in them. Check that you own both folders."
func FoldersNotPrivate(config string, data string) M {
return M{id: "folders_not_private", vals: []val{{"config", config}, {"data", data}}}
}
// FollowLinksInvalid is [follow_links_invalid]: "{{.setting}} names {{.dir}}, which isn't a folder devvm can follow links into. Write each folder as an absolute path, or one that starts with ~/, such as ~/dotfiles."
func FollowLinksInvalid(dir string, setting string) M {
return M{id: "follow_links_invalid", vals: []val{{"dir", dir}, {"setting", setting}}}
}
// ForgotOrphan is [forgot_orphan]: "deleted what devvm kept for {{.vm}}"
func ForgotOrphan(vm vmname.VM) M {
return M{id: "forgot_orphan", vals: []val{{"vm", string(vm)}}}
}
// ForwarderFailed is [forwarder_failed]: "The port forwarder failed: {{.reason}}."
func ForwarderFailed(reason string) M {
return M{id: "forwarder_failed", vals: []val{{"reason", reason}}}
}
// ForwarderWaiting is [forwarder_waiting]: "waiting for another devvm to finish with {{.vm}}'s port forwarder"
func ForwarderWaiting(vm vmname.VM) M {
return M{id: "forwarder_waiting", vals: []val{{"vm", string(vm)}}}
}
// FromCachedNotFound is [from_cached_not_found]: "{{.host}} doesn't have {{.from}}, or it's private, so devvm uses the digest it last saw."
func FromCachedNotFound(from string, host string) M {
return M{id: "from_cached_not_found", vals: []val{{"from", from}, {"host", host}}}
}
// FromCachedUnreachable is [from_cached_unreachable]: "{{.host}} didn't answer when devvm looked up {{.from}}, so devvm uses the digest it last saw."
func FromCachedUnreachable(from string, host string) M {
return M{id: "from_cached_unreachable", vals: []val{{"from", from}, {"host", host}}}
}
// FromNotFound is [from_not_found]: "{{.host}} doesn't have {{.from}}, or it's private. devvm takes only public images and images that Docker has."
func FromNotFound(from string, host string) M {
return M{id: "from_not_found", vals: []val{{"from", from}, {"host", host}}}
}
// FromUnreachable is [from_unreachable]: "{{.host}} didn't answer when devvm looked up {{.from}}. Check that you're online."
func FromUnreachable(from string, host string) M {
return M{id: "from_unreachable", vals: []val{{"from", from}, {"host", host}}}
}
// GCBackendSkipped is [gc_backend_skipped]: "The {{.backend}} backend can't list its images, so devvm gc leaves its images, shared tools, leftovers and caches alone. Run devvm doctor to see why."
func GCBackendSkipped(backend string) M {
return M{id: "gc_backend_skipped", vals: []val{{"backend", backend}}}
}
// GCCache is [gc_cache]: "{{.count}} entries of {{.backend}}'s own cache that devvm's builds put there and nothing of devvm's needs ({{.size}}):"
func GCCache(backend string, count int, size string) M {
return M{id: "gc_cache", plural: true, count: count, vals: []val{{"backend", backend}, {"count", strconv.Itoa(count)}, {"size", size}}}
}
// GCCacheConfirm is [gc_cache_confirm]: "Your own entries in {{.backend}}'s cache stay. Delete these?"
func GCCacheConfirm(backend string) M {
return M{id: "gc_cache_confirm", vals: []val{{"backend", backend}}}
}
// GCCacheEntry is [gc_cache_entry]: " {{.what}} ({{.size}})"
func GCCacheEntry(size string, what string) M {
return M{id: "gc_cache_entry", vals: []val{{"size", size}, {"what", what}}}
}
// GCConfirm is [gc_confirm]: "Your VMs stay as they are. Delete these?"
func GCConfirm() M {
return M{id: "gc_confirm"}
}
// GCDeadLink is [gc_dead_link]: " {{.vm}}'s link {{.name}}:{{.port}} to {{.target}}"
func GCDeadLink(name string, port string, target string, vm vmname.VM) M {
return M{id: "gc_dead_link", vals: []val{{"name", name}, {"port", port}, {"target", target}, {"vm", string(vm)}}}
}
// GCDeadLinks is [gc_dead_links]: "{{.count}} links to VMs that are gone:"
func GCDeadLinks(count int) M {
return M{id: "gc_dead_links", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// GCFailed is [gc_failed]: "Cleaning up failed: {{.reason}}."
func GCFailed(reason string) M {
return M{id: "gc_failed", vals: []val{{"reason", reason}}}
}
// GCHistory is [gc_history]: "{{.count}} exports of agents' history ({{.size}}), the only copy of a deleted VM's:"
func GCHistory(count int, size string) M {
return M{id: "gc_history", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"size", size}}}
}
// GCHistoryExport is [gc_history_export]: " {{.vm}}, {{.date}} ({{.size}})"
func GCHistoryExport(date string, size string, vm vmname.VM) M {
return M{id: "gc_history_export", vals: []val{{"date", date}, {"size", size}, {"vm", string(vm)}}}
}
// GCImage is [gc_image]: " {{.image}} ({{.key}})"
func GCImage(image string, key string) M {
return M{id: "gc_image", vals: []val{{"image", image}, {"key", key}}}
}
// GCImages is [gc_images]: "Stale and unfinished images:"
func GCImages() M {
return M{id: "gc_images"}
}
// GCLinkSockets is [gc_link_sockets]: "{{.count}} sockets are left from link sessions, port forwarders or proxies that ended."
func GCLinkSockets(count int) M {
return M{id: "gc_link_sockets", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// GCMise is [gc_mise]: "{{.count}} older versions of the mise devvm runs on this machine are left ({{.size}})."
func GCMise(count int, size string) M {
return M{id: "gc_mise", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"size", size}}}
}
// GCNamesNeedTools is [gc_names_need_tools]: "Tool names such as {{.tool}} go with --tool-images. Run devvm gc --tool-images {{.tool}}."
func GCNamesNeedTools(tool string) M {
return M{id: "gc_names_need_tools", vals: []val{{"tool", tool}}}
}
// GCNixCache is [gc_nix_cache]: "The shared Nix cache holds {{.count}} files ({{.size}}), which VMs download again when they need them."
func GCNixCache(count int, size string) M {
return M{id: "gc_nix_cache", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"size", size}}}
}
// GCNixCacheOver is [gc_nix_cache_over]: "The shared Nix cache takes {{.size}}, more than its cap of {{.cap}}, so its least recently used files go until it fits."
func GCNixCacheOver(cap string, size string) M {
return M{id: "gc_nix_cache_over", vals: []val{{"cap", cap}, {"size", size}}}
}
// GCOldHint is [gc_old_hint]: "After they rebuild, run devvm gc to delete the old ones."
func GCOldHint() M {
return M{id: "gc_old_hint"}
}
// GCOlderThanNeedsHistory is [gc_older_than_needs_history]: "--older-than goes with --history. Run devvm gc --history --older-than DURATION."
func GCOlderThanNeedsHistory() M {
return M{id: "gc_older_than_needs_history"}
}
// GCOrphan is [gc_orphan]: " {{.vm}} ({{.backend}}), for {{.dir}}"
func GCOrphan(backend string, dir string, vm vmname.VM) M {
return M{id: "gc_orphan", vals: []val{{"backend", backend}, {"dir", dir}, {"vm", string(vm)}}}
}
// GCOrphanElsewhere is [gc_orphan_elsewhere]: "{{.vm}} was made in another Lima home or HOME than this run's, so its state stays."
func GCOrphanElsewhere(vm vmname.VM) M {
return M{id: "gc_orphan_elsewhere", vals: []val{{"vm", string(vm)}}}
}
// GCOrphanRecent is [gc_orphan_recent]: "{{.vm}}'s state changed in the last hour, so it stays in case the VM is still being made."
func GCOrphanRecent(vm vmname.VM) M {
return M{id: "gc_orphan_recent", vals: []val{{"vm", string(vm)}}}
}
// GCOrphans is [gc_orphans]: "What devvm keeps for {{.count}} VMs their backend no longer has:"
func GCOrphans(count int) M {
return M{id: "gc_orphans", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// GCOrphansUnknown is [gc_orphans_unknown]: "The {{.backend}} backend didn't answer, so devvm gc --orphans leaves its VMs' state alone."
func GCOrphansUnknown(backend string) M {
return M{id: "gc_orphans_unknown", vals: []val{{"backend", backend}}}
}
// GCPackages is [gc_packages]: "{{.count}} package files that no base needs are left in devvm's package cache ({{.size}})."
func GCPackages(count int, size string) M {
return M{id: "gc_packages", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"size", size}}}
}
// GCTools is [gc_tools]: "{{.count}} shared tool images are unused ({{.size}})."
func GCTools(count int, size string) M {
return M{id: "gc_tools", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"size", size}}}
}
// GCToolsMaking is [gc_tools_making]: "{{.count}} current shared tool images no VM has stay because a VM is being made or is getting new shared tools: {{.tools}}. Run devvm gc --tool-images again once that's done."
func GCToolsMaking(count int, tools string) M {
return M{id: "gc_tools_making", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"tools", tools}}}
}
// GCToolsNoVM is [gc_tools_no_vm]: "{{.count}} current shared tool images no VM has ({{.size}}): {{.tools}}."
func GCToolsNoVM(count int, size string, tools string) M {
return M{id: "gc_tools_no_vm", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"size", size}, {"tools", tools}}}
}
// GCUnfinished is [gc_unfinished]: " {{.key}}, left over from a failed build"
func GCUnfinished(key string) M {
return M{id: "gc_unfinished", vals: []val{{"key", key}}}
}
// GitAppeared is [git_appeared]: "A git repo appeared in this folder after its VM was made. If you didn't make it, check its hooks and config before you run git here."
func GitAppeared() M {
return M{id: "git_appeared"}
}
// GitChanged is [git_changed]: "WARNING: {{.paths}} changed since devvm last checked, perhaps by {{.vm}}, and git on this machine runs what they hold. devvm can tell you only after the fact, so if you didn't change them, check them before you run git here."
func GitChanged(paths string, vm vmname.VM) M {
return M{id: "git_changed", vals: []val{{"paths", paths}, {"vm", string(vm)}}}
}
// GitChangedMore is [git_changed_more]: "WARNING: {{.paths}} and {{.count}} more paths changed since devvm last checked, perhaps by {{.vm}}, and git on this machine runs what they hold. devvm can tell you only after the fact, so if you didn't change them, check them before you run git here."
func GitChangedMore(count int, paths string, vm vmname.VM) M {
return M{id: "git_changed_more", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"paths", paths}, {"vm", string(vm)}}}
}
// GitCommondir is [git_commondir]: "WARNING: If you didn't make {{.git}}/commondir, check it before you run git here. It makes git read config from {{.target}}."
func GitCommondir(git string, target string) M {
return M{id: "git_commondir", vals: []val{{"git", git}, {"target", target}}}
}
// GitEmbeddedNew is [git_embedded_new]: "WARNING: A submodule appeared with its git folder at {{.git}}, inside the project, and git on this machine may already have run what its config says. If you didn't add it, check its hooks and config before you run git here."
func GitEmbeddedNew(git string) M {
return M{id: "git_embedded_new", vals: []val{{"git", git}}}
}
// GitGitdirNotGit is [git_gitdir_not_git]: "WARNING: The submodule {{.sub}} names {{.git}} as its git folder, but that isn't a git folder, so devvm locked nothing in it. If you didn't add this submodule, check it before you run git here."
func GitGitdirNotGit(git string, sub string) M {
return M{id: "git_gitdir_not_git", vals: []val{{"git", git}, {"sub", sub}}}
}
// GitGitdirOutside is [git_gitdir_outside]: "The submodule {{.sub}} keeps its git folder outside the project, at {{.git}}, so devvm can't lock it. git status on this machine still reads its config."
func GitGitdirOutside(git string, sub string) M {
return M{id: "git_gitdir_outside", vals: []val{{"git", git}, {"sub", sub}}}
}
// GitHookLinkInside is [git_hook_link_inside]: "{{.hook}} links to {{.target}}, which is inside the project folder, so the VM can edit that hook, and it runs on this machine."
func GitHookLinkInside(hook string, target string) M {
return M{id: "git_hook_link_inside", vals: []val{{"hook", hook}, {"target", target}}}
}
// GitHooksPath is [git_hooks_path]: "core.hooksPath is {{.path}}, which is inside the project folder, so the VM can edit those hooks, and they run on this machine."
func GitHooksPath(path string) M {
return M{id: "git_hooks_path", vals: []val{{"path", path}}}
}
// GitHooksUnlocked is [git_hooks_unlocked]: "WARNING: Hooks appeared in {{.hooks}}, a folder devvm hadn't locked, since devvm last ran. If you didn't add them, check them before you run git here."
func GitHooksUnlocked(hooks string) M {
return M{id: "git_hooks_unlocked", vals: []val{{"hooks", hooks}}}
}
// GitIncludeInside is [git_include_inside]: "{{.config}} includes {{.path}}, which is inside the project folder, so the VM can edit that file, and git on this machine reads it."
func GitIncludeInside(config string, path string) M {
return M{id: "git_include_inside", vals: []val{{"config", config}, {"path", path}}}
}
// GitKeptLocked is [git_kept_locked]: "Some of .git's locks stay on, as {{.vm}}'s .git protection covers the same repos. Run devvm git-protect off in that VM's folder to take them off too."
func GitKeptLocked(vm vmname.VM) M {
return M{id: "git_kept_locked", vals: []val{{"vm", string(vm)}}}
}
// GitKeptUnread is [git_kept_unread]: "Some of .git's locks stay on, as devvm can't read {{.state}}, the state of a VM that may protect the same repos. Fix or remove that VM's state, then run this again."
func GitKeptUnread(state string) M {
return M{id: "git_kept_unread", vals: []val{{"state", state}}}
}
// GitLockLater is [git_lock_later]: "This folder has no .git yet. devvm locks it for {{.vm}} when one appears."
func GitLockLater(vm vmname.VM) M {
return M{id: "git_lock_later", vals: []val{{"vm", string(vm)}}}
}
// GitLockRaced is [git_lock_raced]: "{{.path}} moved while devvm was locking it, so devvm left it unlocked and undid the lock where it landed. Check .git before you run git here."
func GitLockRaced(path string) M {
return M{id: "git_lock_raced", vals: []val{{"path", path}}}
}
// GitLockWaiting is [git_lock_waiting]: "waiting for another devvm to finish protecting a VM's .git"
func GitLockWaiting() M {
return M{id: "git_lock_waiting"}
}
// GitLocked is [git_locked]: "devvm locked the hooks and config in .git for {{.vm}}. git on this machine still runs what a submodule or repo the VM adds says until devvm stop or the next launch names it, and only devvm clone on keeps the VM's code away from git here."
func GitLocked(vm vmname.VM) M {
return M{id: "git_locked", vals: []val{{"vm", string(vm)}}}
}
// GitLocksLeft is [git_locks_left]: "WARNING: devvm locked the .git of the git repos at {{.repos}}, which aren't in this folder any more, so it can't take their locks off. If you moved them, run chflags -R nouchg on their .git/hooks and .git/config."
func GitLocksLeft(repos string) M {
return M{id: "git_locks_left", vals: []val{{"repos", repos}}}
}
// GitNestedAppeared is [git_nested_appeared]: "WARNING: A git repo appeared at {{.repo}} while {{.vm}} could write this folder, so the VM may have made it. devvm protects it from now on, but check its hooks and config before you run git there."
func GitNestedAppeared(repo string, vm vmname.VM) M {
return M{id: "git_nested_appeared", vals: []val{{"repo", repo}, {"vm", string(vm)}}}
}
// GitNestedAppearedRuns is [git_nested_appeared_runs]: "WARNING: A git repo appeared at {{.repo}} while {{.vm}} could write this folder, and its {{.runs}} run programs on this machine. devvm protects it as it is from now on, so check them before you run git there."
func GitNestedAppearedRuns(repo string, runs string, vm vmname.VM) M {
return M{id: "git_nested_appeared_runs", vals: []val{{"repo", repo}, {"runs", runs}, {"vm", string(vm)}}}
}
// GitNestedBare is [git_nested_bare]: "WARNING: {{.dirs}} in this folder look like git folders, which git run below them can take for its repo, and {{.vm}} can change them. Check them before you run git there, and see devvm doctor for git's safe.bareRepository."
func GitNestedBare(dirs string, vm vmname.VM) M {
return M{id: "git_nested_bare", vals: []val{{"dirs", dirs}, {"vm", string(vm)}}}
}
// GitNestedDevices is [git_nested_devices]: "WARNING: devvm doesn't look for git repos in {{.count}} folders of this folder that are on another disk, so {{.vm}} can change the hooks and config of any repo there. Check them before you run git there."
func GitNestedDevices(count int, vm vmname.VM) M {
return M{id: "git_nested_devices", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"vm", string(vm)}}}
}
// GitNestedGitdirOutside is [git_nested_gitdir_outside]: "The git repo at {{.repo}} keeps its git folder outside the project, at {{.git}}, so devvm can't lock it. git on this machine still reads its config there."
func GitNestedGitdirOutside(git string, repo string) M {
return M{id: "git_nested_gitdir_outside", vals: []val{{"git", git}, {"repo", repo}}}
}
// GitNestedGone is [git_nested_gone]: "WARNING: The git repo at {{.repo}} that devvm protected is gone or moved, perhaps by {{.vm}}. If you didn't move it, check where it went before you run git there."
func GitNestedGone(repo string, vm vmname.VM) M {
return M{id: "git_nested_gone", vals: []val{{"repo", repo}, {"vm", string(vm)}}}
}
// GitNestedPastBound is [git_nested_past_bound]: "WARNING: .git protection covers the first 100 git repos nested in this folder, and not {{.count}} more, such as {{.repos}}, so {{.vm}} can change their hooks and config, which git on this machine runs. Move the repos you don't use out of this folder."
func GitNestedPastBound(count int, repos string, vm vmname.VM) M {
return M{id: "git_nested_past_bound", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"repos", repos}, {"vm", string(vm)}}}
}
// GitNestedProtectable is [git_nested_protectable]: "WARNING: {{.vm}}'s .git protection doesn't cover the git repos nested in this folder at {{.repos}}, so the VM can change their hooks and config, which git on this machine runs. Run devvm git-protect on to protect them too, as devvm does for new VMs."
func GitNestedProtectable(repos string, vm vmname.VM) M {
return M{id: "git_nested_protectable", vals: []val{{"repos", repos}, {"vm", string(vm)}}}
}
// GitNestedProtectableMore is [git_nested_protectable_more]: "WARNING: {{.vm}}'s .git protection doesn't cover the git repos nested in this folder at {{.repos}} and {{.count}} more folders, so the VM can change their hooks and config, which git on this machine runs. Run devvm git-protect on to protect them too, as devvm does for new VMs."
func GitNestedProtectableMore(count int, repos string, vm vmname.VM) M {
return M{id: "git_nested_protectable_more", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"repos", repos}, {"vm", string(vm)}}}
}
// GitNestedSkipped is [git_nested_skipped]: "WARNING: devvm doesn't protect {{.count}} git repos in this folder, as they're deeper than four folders or in folders such as node_modules, so {{.vm}} can change their hooks and config. Check them before you run git there."
func GitNestedSkipped(count int, vm vmname.VM) M {
return M{id: "git_nested_skipped", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"vm", string(vm)}}}
}
// GitNestedUnprotected is [git_nested_unprotected]: "WARNING: .git protection doesn't cover the git repos nested in this folder at {{.repos}}, so {{.vm}} can change their hooks and config, which git on this machine runs. Check them before you run git there."
func GitNestedUnprotected(repos string, vm vmname.VM) M {
return M{id: "git_nested_unprotected", vals: []val{{"repos", repos}, {"vm", string(vm)}}}
}
// GitNestedUnprotectedMore is [git_nested_unprotected_more]: "WARNING: .git protection doesn't cover the git repos nested in this folder at {{.repos}} and {{.count}} more folders, so {{.vm}} can change their hooks and config, which git on this machine runs. Check them before you run git there."
func GitNestedUnprotectedMore(count int, repos string, vm vmname.VM) M {
return M{id: "git_nested_unprotected_more", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"repos", repos}, {"vm", string(vm)}}}
}
// GitNotLocked is [git_not_locked]: "WARNING: If you didn't make {{.path}}, check it before you run git here. It's a symlink or under one, so devvm can't lock it."
func GitNotLocked(path string) M {
return M{id: "git_not_locked", vals: []val{{"path", path}}}
}
// GitPinAgain is [git_pin_again]: "WARNING: {{.path}} was replaced on this machine while {{.vm}} ran, and {{.vm}} could change the new file until devvm locked it again. Check it before you run git here."
func GitPinAgain(path string, vm vmname.VM) M {
return M{id: "git_pin_again", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// GitPinEventsKept is [git_pin_events_kept]: "devvm couldn't delete {{.file}}, so it names what's in it again at the next check."
func GitPinEventsKept(file string) M {
return M{id: "git_pin_events_kept", vals: []val{{"file", file}}}
}
// GitPinLinked is [git_pin_linked]: "{{.path}} has another name in the project folder, which devvm can't lock in the VM's view, so devvm didn't start {{.vm}}. Make it a file of its own (copy it, then move the copy over it), and run devvm again."
func GitPinLinked(path string, vm vmname.VM) M {
return M{id: "git_pin_linked", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// GitPinLinkedRun is [git_pin_linked_run]: "WARNING: {{.path}} got another name while {{.vm}} ran, so devvm couldn't lock it again, and {{.vm}} could change it. Check it before you run git here, and make it a file of its own."
func GitPinLinkedRun(path string, vm vmname.VM) M {
return M{id: "git_pin_linked_run", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// GitPinLost is [git_pin_lost]: "WARNING: devvm couldn't lock {{.path}} again after it changed while {{.vm}} ran, so {{.vm}} could change it. Check it before you run git here."
func GitPinLost(path string, vm vmname.VM) M {
return M{id: "git_pin_lost", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// GitPinsMissing is [git_pins_missing]: "WARNING: {{.vm}} runs without .git locked on {{.paths}}, so it can change them, and git on this machine runs what they hold. Run devvm restart to lock them again."
func GitPinsMissing(paths string, vm vmname.VM) M {
return M{id: "git_pins_missing", vals: []val{{"paths", paths}, {"vm", string(vm)}}}
}
// GitPinsNone is [git_pins_none]: "{{.vm}}'s .git protection is on, but devvm found nothing in .git it could lock, so {{.vm}} runs without it."
func GitPinsNone(vm vmname.VM) M {
return M{id: "git_pins_none", vals: []val{{"vm", string(vm)}}}
}
// GitPinsUnrecorded is [git_pins_unrecorded]: "WARNING: devvm couldn't record whether {{.vm}}'s .git locks held while it ran, so {{.vm}} may have changed what they cover. Check .git's hooks and config before you run git here."
func GitPinsUnrecorded(vm vmname.VM) M {
return M{id: "git_pins_unrecorded", vals: []val{{"vm", string(vm)}}}
}
// GitProtectAvailable is [git_protect_available]: ".git protection is off for {{.vm}}, and this machine can lock .git now. Run devvm git-protect on to lock it, or devvm git-protect off to stop this warning."
func GitProtectAvailable(vm vmname.VM) M {
return M{id: "git_protect_available", vals: []val{{"vm", string(vm)}}}
}
// GitProtectClone is [git_protect_clone]: "{{.vm}} is a --clone VM, so it mounts no .git to protect."
func GitProtectClone(vm vmname.VM) M {
return M{id: "git_protect_clone", vals: []val{{"vm", string(vm)}}}
}
// GitProtectFailed is [git_protect_failed]: "Showing or changing .git protection failed: {{.reason}}."
func GitProtectFailed(reason string) M {
return M{id: "git_protect_failed", vals: []val{{"reason", reason}}}
}
// GitProtectNextStop is [git_protect_next_stop]: "{{.vm}} is running, so devvm turns its .git protection {{.mode}} when the VM next stops. Run devvm stop or devvm restart to apply it now."
func GitProtectNextStop(mode string, vm vmname.VM) M {
return M{id: "git_protect_next_stop", vals: []val{{"mode", mode}, {"vm", string(vm)}}}
}
// GitProtectOnNeedsLocks is [git_protect_on_needs_locks]: "This machine can't lock .git, and devvm doctor says why. To keep a VM out of .git, use devvm --clone."
func GitProtectOnNeedsLocks() M {
return M{id: "git_protect_on_needs_locks"}
}
// GitProtectStrictRefused is [git_protect_strict_refused]: "Strict .git protection can't keep git on this machine out of submodules the VM adds, so devvm git-protect takes only on or off. To keep the VM's code away from git on this machine, use devvm clone on."
func GitProtectStrictRefused() M {
return M{id: "git_protect_strict_refused"}
}
// GitProtecting is [git_protecting]: "setting {{.vm}}'s .git protection"
func GitProtecting(vm vmname.VM) M {
return M{id: "git_protecting", vals: []val{{"vm", string(vm)}}}
}
// GitReplaced is [git_replaced]: "WARNING: Something replaced {{.git}} after devvm locked it, possibly the VM. Check its hooks and config before you run git here."
func GitReplaced(git string) M {
return M{id: "git_replaced", vals: []val{{"git", git}}}
}
// GitScanBounded is [git_scan_bounded]: "WARNING: devvm stopped following the submodules of {{.git}} after 1,000 git folders, so it doesn't lock the rest. Check them before you run git there, or move the repos you don't use out of this folder."
func GitScanBounded(git string) M {
return M{id: "git_scan_bounded", vals: []val{{"git", git}}}
}
// GitStrictConverted is [git_strict_converted]: "Strict .git protection can't keep git on this machine out of submodules the VM adds, so {{.vm}}'s protection is on now. To keep the VM's code away from git on this machine, use devvm clone on."
func GitStrictConverted(vm vmname.VM) M {
return M{id: "git_strict_converted", vals: []val{{"vm", string(vm)}}}
}
// GitStrictKept is [git_strict_kept]: "{{.config}} keeps the diff.ignoreSubmodules = all that strict .git protection set, because {{.vm}}'s .git protection also keeps that file locked. Run devvm stop here and in {{.vm}}'s folder, then chflags nouchg '{{.config}}' on macOS and git config --file '{{.config}}' --unset-all diff.ignoreSubmodules '^all$', and the next launch of either VM locks it again."
func GitStrictKept(config string, vm vmname.VM) M {
return M{id: "git_strict_kept", vals: []val{{"config", config}, {"vm", string(vm)}}}
}
// GitStrictLeft is [git_strict_left]: "Taking diff.ignoreSubmodules = all, which strict .git protection set, out of {{.config}} failed, so git status and git diff on this machine still skip that repo's submodules."
func GitStrictLeft(config string) M {
return M{id: "git_strict_left", vals: []val{{"config", config}}}
}
// GitStrictUnknown is [git_strict_unknown]: "{{.config}} sets diff.ignoreSubmodules = all in a .git that isn't the one devvm recorded, so devvm left it, as it can't tell whether strict .git protection set it. If you didn't set it, run devvm stop and devvm git-protect off, then git config --file '{{.config}}' --unset-all diff.ignoreSubmodules '^all$' and devvm git-protect on."
func GitStrictUnknown(config string) M {
return M{id: "git_strict_unknown", vals: []val{{"config", config}}}
}
// GitUnlocked is [git_unlocked]: "devvm unlocked .git, so {{.vm}} can change its hooks and config, which run on this machine. To lock it again, run devvm git-protect on."
func GitUnlocked(vm vmname.VM) M {
return M{id: "git_unlocked", vals: []val{{"vm", string(vm)}}}
}
// GitUnprotected is [git_unprotected]: "This machine can't lock .git (devvm doctor says why), so {{.vm}} can change the hooks and config in .git, which run on this machine. To keep a VM out of .git, use devvm --clone, or run devvm git-protect off to stop this warning."
func GitUnprotected(vm vmname.VM) M {
return M{id: "git_unprotected", vals: []val{{"vm", string(vm)}}}
}
// GitUnprotectedQuiet is [git_unprotected_quiet]: "devvm stops warning about .git at each launch of {{.vm}}, and it still names the hooks and config in .git that change."
func GitUnprotectedQuiet(vm vmname.VM) M {
return M{id: "git_unprotected_quiet", vals: []val{{"vm", string(vm)}}}
}
// GitWatchBlind is [git_watch_blind]: "WARNING: Each of {{.paths}} is a symlink, under one, or past what devvm reads, so the VM can change what git on this machine runs from it without devvm naming the change. Check them before you run git here, or use devvm --clone."
func GitWatchBlind(paths string) M {
return M{id: "git_watch_blind", vals: []val{{"paths", paths}}}
}
// GitWatchBlindMore is [git_watch_blind_more]: "WARNING: Each of {{.paths}} and {{.count}} more paths is a symlink, under one, or past what devvm reads, so the VM can change what git on this machine runs from it without devvm naming the change. Check them before you run git here, or use devvm --clone."
func GitWatchBlindMore(count int, paths string) M {
return M{id: "git_watch_blind_more", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"paths", paths}}}
}
// GitWorktreeStray is [git_worktree_stray]: "WARNING: If you didn't change {{.wt}}/commondir, check it before you run git in that linked worktree. It doesn't lead back to this repo, so git there reads config and hooks from somewhere else."
func GitWorktreeStray(wt string) M {
return M{id: "git_worktree_stray", vals: []val{{"wt", wt}}}
}
// GithubTokenHowto is [github_token_howto]: "Paste a fine-grained GitHub token that can reach only the repos your VMs need."
func GithubTokenHowto() M {
return M{id: "github_token_howto"}
}
// GroupAlready is [group_already]: "{{.vm}} is in the group {{.group}} already."
func GroupAlready(group string, vm vmname.VM) M {
return M{id: "group_already", vals: []val{{"group", group}, {"vm", string(vm)}}}
}
// GroupFailed is [group_failed]: "Showing or changing the group failed: {{.reason}}."
func GroupFailed(reason string) M {
return M{id: "group_failed", vals: []val{{"reason", reason}}}
}
// GroupGone is [group_gone]: "The group {{.group}} has no VMs left, so it's gone."
func GroupGone(group string) M {
return M{id: "group_gone", vals: []val{{"group", group}}}
}
// GroupJoinLearning is [group_join_learning]: "{{.vm}} is learning the hosts it needs, and the group {{.group}}'s VMs are all on one tier, so it can't join until it's locked. Run devvm network lock first."
func GroupJoinLearning(group string, vm vmname.VM) M {
return M{id: "group_join_learning", vals: []val{{"group", group}, {"vm", string(vm)}}}
}
// GroupJoined is [group_joined]: "{{.vm}} is in the group {{.group}}."
func GroupJoined(group string, vm vmname.VM) M {
return M{id: "group_joined", vals: []val{{"group", group}, {"vm", string(vm)}}}
}
// GroupLeft is [group_left]: "{{.vm}} isn't in the group {{.group}} any more."
func GroupLeft(group string, vm vmname.VM) M {
return M{id: "group_left", vals: []val{{"group", group}, {"vm", string(vm)}}}
}
// GroupLinkNameClash is [group_link_name_clash]: "{{.vm}} has a link of its own called {{.name}}, so it gets none of the group's links to {{.target}}. To get them, remove that link with devvm link rm."
func GroupLinkNameClash(name string, target string, vm vmname.VM) M {
return M{id: "group_link_name_clash", vals: []val{{"name", name}, {"target", target}, {"vm", string(vm)}}}
}
// GroupLinksAdded is [group_links_added]: "{{.vm}} reaches {{.links}} through the group {{.group}}."
func GroupLinksAdded(group string, links string, vm vmname.VM) M {
return M{id: "group_links_added", vals: []val{{"group", group}, {"links", links}, {"vm", string(vm)}}}
}
// GroupLinksRemoved is [group_links_removed]: "{{.vm}} doesn't reach {{.links}} through the group {{.group}} any more."
func GroupLinksRemoved(group string, links string, vm vmname.VM) M {
return M{id: "group_links_removed", vals: []val{{"group", group}, {"links", links}, {"vm", string(vm)}}}
}
// GroupMade is [group_made]: "{{.vm}} is the first VM in the new group {{.group}}."
func GroupMade(group string, vm vmname.VM) M {
return M{id: "group_made", vals: []val{{"group", group}, {"vm", string(vm)}}}
}
// GroupNameHost is [group_name_host]: "The name localhost means each VM itself, so it can't name {{.vm}} in a group. Give the VM another name with --as NAME."
func GroupNameHost(vm vmname.VM) M {
return M{id: "group_name_host", vals: []val{{"vm", string(vm)}}}
}
// GroupNameHostname is [group_name_hostname]: "{{.name}} names {{.member}} in the group {{.group}} and is {{.vm}}'s own hostname, so {{.vm}} couldn't reach it by that name. Have {{.member}} leave the group and join again with another --as NAME, or use a folder with another name."
func GroupNameHostname(group string, member string, name string, vm vmname.VM) M {
return M{id: "group_name_hostname", vals: []val{{"group", group}, {"member", member}, {"name", name}, {"vm", string(vm)}}}
}
// GroupNameInvalid is [group_name_invalid]: "{{.name}} isn't a group name. Use lowercase letters, digits and dashes, such as web, starting and ending with a letter or digit and not all digits."
func GroupNameInvalid(name string) M {
return M{id: "group_name_invalid", vals: []val{{"name", name}}}
}
// GroupNameTaken is [group_name_taken]: "{{.name}} already names {{.member}} in the group {{.group}}. Give this VM another name with --as NAME."
func GroupNameTaken(group string, member string, name string) M {
return M{id: "group_name_taken", vals: []val{{"group", group}, {"member", member}, {"name", name}}}
}
// GroupNamed is [group_named]: "{{.vm}} is in the group {{.group}} already, as {{.name}}. To give it another name, run devvm group leave, then join again with --as NAME."
func GroupNamed(group string, name string, vm vmname.VM) M {
return M{id: "group_named", vals: []val{{"group", group}, {"name", name}, {"vm", string(vm)}}}
}
// GroupNone is [group_none]: "{{.vm}} isn't in a group. Run devvm group join NAME to join one."
func GroupNone(vm vmname.VM) M {
return M{id: "group_none", vals: []val{{"vm", string(vm)}}}
}
// GroupOther is [group_other]: "{{.vm}} is in the group {{.group}}, and a VM is in one group at a time. Run devvm group leave first."
func GroupOther(group string, vm vmname.VM) M {
return M{id: "group_other", vals: []val{{"group", group}, {"vm", string(vm)}}}
}
// GroupTierFixed is [group_tier_fixed]: "{{.vm}} is in the group {{.group}}, whose VMs are all on one tier, so its tier can't change. Run devvm group leave first."
func GroupTierFixed(group string, vm vmname.VM) M {
return M{id: "group_tier_fixed", vals: []val{{"group", group}, {"vm", string(vm)}}}
}
// GroupTierMismatch is [group_tier_mismatch]: "The group {{.group}} has a VM on the {{.tier}} tier and {{.vm}} is on {{.vm_tier}}, and a group's VMs are all on one tier. Give {{.vm}} the group's tier first, or join another group."
func GroupTierMismatch(group string, tier string, vm vmname.VM, vmTier string) M {
return M{id: "group_tier_mismatch", vals: []val{{"group", group}, {"tier", tier}, {"vm", string(vm)}, {"vm_tier", vmTier}}}
}
// GroupTrust is [group_trust]: "The group {{.group}} joins the trust of all its VMs. Code in any of them can often run code in the others through the ports they publish, and then has whatever that VM has."
func GroupTrust(group string) M {
return M{id: "group_trust", vals: []val{{"group", group}}}
}
// GroupWaiting is [group_waiting]: "waiting for another devvm to finish changing a group"
func GroupWaiting() M {
return M{id: "group_waiting"}
}
// HasLayers is [has_layers]: "{{.vm}} has {{.layers}} already"
func HasLayers(layers string, vm vmname.VM) M {
return M{id: "has_layers", vals: []val{{"layers", layers}, {"vm", string(vm)}}}
}
// HasTools is [has_tools]: "{{.vm}} has {{.tools}} already"
func HasTools(tools string, vm vmname.VM) M {
return M{id: "has_tools", vals: []val{{"tools", tools}, {"vm", string(vm)}}}
}
// HistoryExporting is [history_exporting]: "exporting the agents' history from {{.vm}}"
func HistoryExporting(vm vmname.VM) M {
return M{id: "history_exporting", vals: []val{{"vm", string(vm)}}}
}
// HistoryFailed is [history_failed]: "Listing the exports of agents' history failed: {{.reason}}."
func HistoryFailed(reason string) M {
return M{id: "history_failed", vals: []val{{"reason", reason}}}
}
// HistoryImportAsk is [history_import_ask]: "devvm saved this folder's agent history in {{.file}}.\nImport it into {{.vm}}?"
func HistoryImportAsk(file string, vm vmname.VM) M {
return M{id: "history_import_ask", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// HistoryImportLater is [history_import_later]: "devvm saved this folder's agent history in {{.file}}. Run devvm history import in this folder to put it into {{.vm}}."
func HistoryImportLater(file string, vm vmname.VM) M {
return M{id: "history_import_later", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// HistoryImportLessStrict is [history_import_less_strict]: "{{.file}} comes from a VM on the {{.from}} tier, less strict than {{.vm}}'s {{.tier}}, so credentials and data its agents read there may come along."
func HistoryImportLessStrict(file string, from string, tier string, vm vmname.VM) M {
return M{id: "history_import_less_strict", vals: []val{{"file", file}, {"from", from}, {"tier", tier}, {"vm", string(vm)}}}
}
// HistoryImportTierUnknown is [history_import_tier_unknown]: "{{.file}} has no record of the network tier it comes from, so credentials and data its agents read on a less strict tier than {{.vm}}'s {{.tier}} may come along."
func HistoryImportTierUnknown(file string, tier string, vm vmname.VM) M {
return M{id: "history_import_tier_unknown", vals: []val{{"file", file}, {"tier", tier}, {"vm", string(vm)}}}
}
// HistoryImportUnsafe is [history_import_unsafe]: "{{.file}} holds paths outside the agents' history folders, so devvm imported nothing from it."
func HistoryImportUnsafe(file string) M {
return M{id: "history_import_unsafe", vals: []val{{"file", file}}}
}
// HistoryImporting is [history_importing]: "importing the agents' history into {{.vm}}"
func HistoryImporting(vm vmname.VM) M {
return M{id: "history_importing", vals: []val{{"vm", string(vm)}}}
}
// HistoryNoExport is [history_no_export]: "There's no export of agents' history for {{.dir}}. Give devvm history import the FILE to import."
func HistoryNoExport(dir string) M {
return M{id: "history_no_export", vals: []val{{"dir", dir}}}
}
// HistoryNotExported is [history_not_exported]: "Exporting {{.vm}}'s agent history failed."
func HistoryNotExported(vm vmname.VM) M {
return M{id: "history_not_exported", vals: []val{{"vm", string(vm)}}}
}
// HistoryNotImported is [history_not_imported]: "Importing the agent history in {{.file}} into {{.vm}} failed."
func HistoryNotImported(file string, vm vmname.VM) M {
return M{id: "history_not_imported", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// HistoryTooLarge is [history_too_large]: "{{.vm}}'s agent history is over 2 GiB, more than an export holds, so devvm kept no export of it."
func HistoryTooLarge(vm vmname.VM) M {
return M{id: "history_too_large", vals: []val{{"vm", string(vm)}}}
}
// HomeNotAbsolute is [home_not_absolute]: "HOME isn't an absolute path. Set it to your home folder."
func HomeNotAbsolute() M {
return M{id: "home_not_absolute"}
}
// HostCpusFew is [host_cpus_few]: "This machine has {{.have}} CPUs, fewer than the {{.want}} devvm recommends, so a VM gets all of them unless you give it a size."
func HostCpusFew(have string, want string) M {
return M{id: "host_cpus_few", vals: []val{{"have", have}, {"want", want}}}
}
// HostMemoryLow is [host_memory_low]: "This machine has {{.have}} GiB of memory, less than the {{.want}} GiB devvm recommends, so a VM gets half of it unless you give it a size."
func HostMemoryLow(have string, want string) M {
return M{id: "host_memory_low", vals: []val{{"have", have}, {"want", want}}}
}
// ImageBuildWaiting is [image_build_waiting]: "waiting for another devvm to finish building {{.image}}"
func ImageBuildWaiting(image string) M {
return M{id: "image_build_waiting", vals: []val{{"image", image}}}
}
// ImageBuilding is [image_building]: "Another devvm is building image {{.key}}, so devvm leaves it. Run the command again once that build ends."
func ImageBuilding(key string) M {
return M{id: "image_building", vals: []val{{"key", key}}}
}
// ImageFrom is [image_from]: "{{.image}} (from {{.from}})"
func ImageFrom(from string, image string) M {
return M{id: "image_from", vals: []val{{"from", from}, {"image", image}}}
}
// ImageInUse is [image_in_use]: "Image {{.key}} can't be deleted, because these VMs use its disk: {{.vms}}."
func ImageInUse(key string, vms string) M {
return M{id: "image_in_use", vals: []val{{"key", key}, {"vms", vms}}}
}
// ImageLeftover is [image_leftover]: "Image {{.key}} is left over from a failed build of {{.image}}, so devvm builds it again."
func ImageLeftover(image string, key string) M {
return M{id: "image_leftover", vals: []val{{"image", image}, {"key", key}}}
}
// ImageMissing is [image_missing]: "Image {{.key}} is missing. Run devvm build to build it again."
func ImageMissing(key string) M {
return M{id: "image_missing", vals: []val{{"key", key}}}
}
// ImageReady is [image_ready]: "image {{.image}} ready"
func ImageReady(image string) M {
return M{id: "image_ready", vals: []val{{"image", image}}}
}
// ImagesFailed is [images_failed]: "Listing the images failed: {{.reason}}."
func ImagesFailed(reason string) M {
return M{id: "images_failed", vals: []val{{"reason", reason}}}
}
// ImagesNixCache is [images_nix_cache]: "The shared Nix cache takes {{.size}} of its {{.cap}} cap. Run devvm gc --nix-cache to empty it."
func ImagesNixCache(cap string, size string) M {
return M{id: "images_nix_cache", vals: []val{{"cap", cap}, {"size", size}}}
}
// ImagesRmConfirm is [images_rm_confirm]: "Delete {{.images}}? VMs made from them keep working."
func ImagesRmConfirm(images string) M {
return M{id: "images_rm_confirm", vals: []val{{"images", images}}}
}
// ImagesRmFailed is [images_rm_failed]: "Deleting the images failed: {{.reason}}."
func ImagesRmFailed(reason string) M {
return M{id: "images_rm_failed", vals: []val{{"reason", reason}}}
}
// ImagesStaleNote is [images_stale_note]: "{{.count}} images are stale or unfinished. Run devvm gc to delete them."
func ImagesStaleNote(count int) M {
return M{id: "images_stale_note", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// ImagesTotal is [images_total]: "These images and shared tools take {{.size}}. Run devvm space to see everything devvm keeps."
func ImagesTotal(size string) M {
return M{id: "images_total", vals: []val{{"size", size}}}
}
// ImagesUnused is [images_unused]: "Unused shared tool images take {{.size}}. Run devvm gc to free it."
func ImagesUnused(size string) M {
return M{id: "images_unused", vals: []val{{"size", size}}}
}
// ImportFailed is [import_failed]: "Importing agent history into this folder's VM failed: {{.reason}}."
func ImportFailed(reason string) M {
return M{id: "import_failed", vals: []val{{"reason", reason}}}
}
// Imported is [imported]: "imported the agent history in {{.file}} into {{.vm}}"
func Imported(file string, vm vmname.VM) M {
return M{id: "imported", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// ImportingUbuntu is [importing_ubuntu]: "copying Ubuntu's cloud image {{.release}} from Lima's cache"
func ImportingUbuntu(release string) M {
return M{id: "importing_ubuntu", vals: []val{{"release", release}}}
}
// InterruptedImage is [interrupted_image]: "interrupted: deleting the unfinished image {{.vm}}"
func InterruptedImage(vm vmname.VM) M {
return M{id: "interrupted_image", vals: []val{{"vm", string(vm)}}}
}
// InterruptedStart is [interrupted_start]: "interrupted: stopping {{.vm}}, which hadn't finished starting confined to its proxy"
func InterruptedStart(vm vmname.VM) M {
return M{id: "interrupted_start", vals: []val{{"vm", string(vm)}}}
}
// InterruptedVM is [interrupted_vm]: "interrupted: deleting {{.vm}}, which wasn't ready yet"
func InterruptedVM(vm vmname.VM) M {
return M{id: "interrupted_vm", vals: []val{{"vm", string(vm)}}}
}
// JSONShowsOnly is [json_shows_only]: "{{.command}} --json only shows, so it takes no value. Run it without --json to change the setting."
func JSONShowsOnly(command string) M {
return M{id: "json_shows_only", vals: []val{{"command", command}}}
}
// Kept is [kept]: "kept {{.vm}}"
func Kept(vm vmname.VM) M {
return M{id: "kept", vals: []val{{"vm", string(vm)}}}
}
// KeyLoaded is [key_loaded]: "The key is loaded. To load it automatically after a reboot, add this to ~/.ssh/config:\n Host *\n AddKeysToAgent yes"
func KeyLoaded() M {
return M{id: "key_loaded"}
}
// KeyLoadedKeychain is [key_loaded_keychain]: "The key is loaded. To load it automatically after a reboot, add this to ~/.ssh/config:\n Host *\n AddKeysToAgent yes\n UseKeychain yes"
func KeyLoadedKeychain() M {
return M{id: "key_loaded_keychain"}
}
// KeychainSaveFailed is [keychain_save_failed]: "Saving the {{.secret}} secret in the Keychain failed."
func KeychainSaveFailed(secret string) M {
return M{id: "keychain_save_failed", vals: []val{{"secret", secret}}}
}
// KVMAccess is [kvm_access]: "You can't open /dev/kvm. Run {{.fix}}, then log in again."
func KVMAccess(fix string) M {
return M{id: "kvm_access", vals: []val{{"fix", fix}}}
}
// LacksLayers is [lacks_layers]: "{{.vm}} doesn't have {{.layers}}"
func LacksLayers(layers string, vm vmname.VM) M {
return M{id: "lacks_layers", vals: []val{{"layers", layers}, {"vm", string(vm)}}}
}
// LayerCreated is [layer_created]: "devvm created {{.script}} and its allowlist {{.policy}}. Edit them, then run devvm build {{.layer}} to build the image, or devvm --layers {{.layer}} to make a VM with it."
func LayerCreated(layer string, policy string, script string) M {
return M{id: "layer_created", vals: []val{{"layer", layer}, {"policy", policy}, {"script", script}}}
}
// LayerExists is [layer_exists]: "{{.file}} already exists. Edit it, or choose another name."
func LayerExists(file string) M {
return M{id: "layer_exists", vals: []val{{"file", file}}}
}
// LayerNameInvalid is [layer_name_invalid]: "{{.layer}} can't be a layer's name. Use lowercase letters, digits and dashes, starting with a letter or a digit."
func LayerNameInvalid(layer string) M {
return M{id: "layer_name_invalid", vals: []val{{"layer", layer}}}
}
// LayerNameReserved is [layer_name_reserved]: "{{.layer}} is the name of base, a built-in layer or a shared tool. Choose another name for your layer."
func LayerNameReserved(layer string) M {
return M{id: "layer_name_reserved", vals: []val{{"layer", layer}}}
}
// LayerNewFailed is [layer_new_failed]: "Creating the layer failed: {{.reason}}."
func LayerNewFailed(reason string) M {
return M{id: "layer_new_failed", vals: []val{{"reason", reason}}}
}
// LayersHelp is [layers_help]: "Pick the layers new VMs get. Use up and down to move, space to toggle and enter to confirm."
func LayersHelp() M {
return M{id: "layers_help"}
}
// LayoutMigrating is [layout_migrating]: "updating devvm's folders to this version's layout"
func LayoutMigrating() M {
return M{id: "layout_migrating"}
}
// LayoutNewer is [layout_newer]: "{{.path}} says devvm's folders have layout version {{.version}}, newer than this devvm's {{.current}}, so a newer devvm changed them. Run that devvm, or upgrade this one."
func LayoutNewer(current string, path string, version string) M {
return M{id: "layout_newer", vals: []val{{"current", current}, {"path", path}, {"version", version}}}
}
// LayoutUnchecked is [layout_unchecked]: "Checking the layout version of devvm's folders failed: {{.reason}}. Fix the file it names, or delete it."
func LayoutUnchecked(reason string) M {
return M{id: "layout_unchecked", vals: []val{{"reason", reason}}}
}
// LayoutWaiting is [layout_waiting]: "waiting for another devvm to finish checking devvm's folders"
func LayoutWaiting() M {
return M{id: "layout_waiting"}
}
// LimaArchUnsupported is [lima_arch_unsupported]: "The lima backend doesn't run on {{.arch}}. Use an arm64 or x86_64 machine."
func LimaArchUnsupported(arch string) M {
return M{id: "lima_arch_unsupported", vals: []val{{"arch", arch}}}
}
// LimaEditFailed is [lima_edit_failed]: "Changing {{.vm}}'s Lima settings failed."
func LimaEditFailed(vm vmname.VM) M {
return M{id: "lima_edit_failed", vals: []val{{"vm", string(vm)}}}
}
// LimaGlobalConfig is [lima_global_config]: "Lima would add {{.files}} to every VM devvm starts. Move them out of devvm's Lima home."
func LimaGlobalConfig(files string) M {
return M{id: "lima_global_config", vals: []val{{"files", files}}}
}
// LimaHomeTooLong is [lima_home_too_long]: "The path to devvm's Lima home {{.home}} is too long for {{.vm}}'s name. Set DEVVM_LIMA_HOME to a shorter folder."
func LimaHomeTooLong(home string, vm vmname.VM) M {
return M{id: "lima_home_too_long", vals: []val{{"home", home}, {"vm", string(vm)}}}
}
// LimaHostUnsupported is [lima_host_unsupported]: "The lima backend doesn't run on {{.os}}. Use macOS or Linux."
func LimaHostUnsupported(os string) M {
return M{id: "lima_host_unsupported", vals: []val{{"os", os}}}
}
// LimaLogUnredacted is [lima_log_unredacted]: "Taking proxy passwords out of Lima's log {{.file}} failed: {{.reason}}. Delete the file if it holds a password."
func LimaLogUnredacted(file string, reason string) M {
return M{id: "lima_log_unredacted", vals: []val{{"file", file}, {"reason", reason}}}
}
// LimactlFailed is [limactl_failed]: "Running limactl failed: {{.reason}}."
func LimactlFailed(reason string) M {
return M{id: "limactl_failed", vals: []val{{"reason", reason}}}
}
// LinkAdded is [link_added]: "{{.vm}} reaches {{.target}}'s port {{.port}} as {{.name}}:{{.port}} and {{.name}}.devvm.internal:{{.port}}."
func LinkAdded(name string, port string, target string, vm vmname.VM) M {
return M{id: "link_added", vals: []val{{"name", name}, {"port", port}, {"target", target}, {"vm", string(vm)}}}
}
// LinkAmbiguousTarget is [link_ambiguous_target]: "More than one VM has a folder called {{.target}}: {{.vms}}. Give the VM's name or its folder's path instead."
func LinkAmbiguousTarget(target string, vms string) M {
return M{id: "link_ambiguous_target", vals: []val{{"target", target}, {"vms", vms}}}
}
// LinkExists is [link_exists]: "{{.vm}} reaches {{.name}}:{{.port}} already."
func LinkExists(name string, port string, vm vmname.VM) M {
return M{id: "link_exists", vals: []val{{"name", name}, {"port", port}, {"vm", string(vm)}}}
}
// LinkFailed is [link_failed]: "Showing or changing the links failed: {{.reason}}."
func LinkFailed(reason string) M {
return M{id: "link_failed", vals: []val{{"reason", reason}}}
}
// LinkFromGroup is [link_from_group]: "{{.name}}:{{.port}} is one of the links that the group {{.group}} gives {{.vm}}, so devvm link rm doesn't remove it. To remove the group's links, run devvm group leave."
func LinkFromGroup(group string, name string, port string, vm vmname.VM) M {
return M{id: "link_from_group", vals: []val{{"group", group}, {"name", name}, {"port", port}, {"vm", string(vm)}}}
}
// LinkNameHost is [link_name_host]: "{{.name}} already names {{.vm}} itself inside it. Give the link another name with --as NAME."
func LinkNameHost(name string, vm vmname.VM) M {
return M{id: "link_name_host", vals: []val{{"name", name}, {"vm", string(vm)}}}
}
// LinkNameInvalid is [link_name_invalid]: "{{.name}} isn't a link name. Use lowercase letters, digits and dashes, such as db, starting and ending with a letter or digit and not all digits."
func LinkNameInvalid(name string) M {
return M{id: "link_name_invalid", vals: []val{{"name", name}}}
}
// LinkNameTaken is [link_name_taken]: "{{.name}} already names {{.vm}}'s link to {{.target}}. Give this link another name with --as NAME."
func LinkNameTaken(name string, target string, vm vmname.VM) M {
return M{id: "link_name_taken", vals: []val{{"name", name}, {"target", target}, {"vm", string(vm)}}}
}
// LinkNotFound is [link_not_found]: "{{.vm}} has no link to {{.target}} on port {{.port}}. Run devvm link to list its links."
func LinkNotFound(port string, target string, vm vmname.VM) M {
return M{id: "link_not_found", vals: []val{{"port", port}, {"target", target}, {"vm", string(vm)}}}
}
// LinkNotPublished is [link_not_published]: "{{.vm}} doesn't publish port {{.port}}. Run devvm link publish {{.port}} in its folder first."
func LinkNotPublished(port string, vm vmname.VM) M {
return M{id: "link_not_published", vals: []val{{"port", port}, {"vm", string(vm)}}}
}
// LinkPortInvalid is [link_port_invalid]: "{{.value}} isn't a port. Give one port from 1 to 65535, such as 5432."
func LinkPortInvalid(value string) M {
return M{id: "link_port_invalid", vals: []val{{"value", value}}}
}
// LinkPortTaken is [link_port_taken]: "{{.name}}:{{.port}} doesn't work in {{.vm}}, because a program in it already listens on that link's address and port. Stop that program, then run devvm restart."
func LinkPortTaken(name string, port string, vm vmname.VM) M {
return M{id: "link_port_taken", vals: []val{{"name", name}, {"port", port}, {"vm", string(vm)}}}
}
// LinkRemoved is [link_removed]: "{{.vm}} doesn't reach {{.name}}:{{.port}} any more."
func LinkRemoved(name string, port string, vm vmname.VM) M {
return M{id: "link_removed", vals: []val{{"name", name}, {"port", port}, {"vm", string(vm)}}}
}
// LinkSelf is [link_self]: "{{.vm}} is this folder's VM, and a VM can't link to itself. Programs in it reach its own ports on localhost."
func LinkSelf(vm vmname.VM) M {
return M{id: "link_self", vals: []val{{"vm", string(vm)}}}
}
// LinkSessionFailed is [link_session_failed]: "Carrying the VM's links failed: {{.reason}}."
func LinkSessionFailed(reason string) M {
return M{id: "link_session_failed", vals: []val{{"reason", reason}}}
}
// LinkSetupInvalid is [link_setup_invalid]: "Setting up {{.vm}} stopped, because its link {{.name}} at {{.address}} isn't one devvm makes."
func LinkSetupInvalid(address string, name string, vm vmname.VM) M {
return M{id: "link_setup_invalid", vals: []val{{"address", address}, {"name", name}, {"vm", string(vm)}}}
}
// LinkTargetNamed is [link_target_named]: "{{.vm}} reaches {{.target}} as {{.name}} already, and it has one name for each VM it links to. Leave out --as, or run devvm link rm for those links first."
func LinkTargetNamed(name string, target string, vm vmname.VM) M {
return M{id: "link_target_named", vals: []val{{"name", name}, {"target", target}, {"vm", string(vm)}}}
}
// LinkTargetStopped is [link_target_stopped]: "{{.vm}}'s links to {{.target}} don't work until {{.target}} runs, because devvm never starts a VM for a link. To start it, run devvm in its folder."
func LinkTargetStopped(target string, vm vmname.VM) M {
return M{id: "link_target_stopped", vals: []val{{"target", target}, {"vm", string(vm)}}}
}
// LinkTargetUnenforced is [link_target_unenforced]: "{{.vm}}'s links to {{.target}} don't work until {{.target}} starts again, because its network tier isn't in force as it runs. To start it again, run devvm restart in its folder."
func LinkTargetUnenforced(target string, vm vmname.VM) M {
return M{id: "link_target_unenforced", vals: []val{{"target", target}, {"vm", string(vm)}}}
}
// LinkTargetUnusable is [link_target_unusable]: "{{.vm}}'s links to {{.target}} don't work, because {{.target}}'s backend can't carry links."
func LinkTargetUnusable(target string, vm vmname.VM) M {
return M{id: "link_target_unusable", vals: []val{{"target", target}, {"vm", string(vm)}}}
}
// LinkTierMismatch is [link_tier_mismatch]: "{{.vm}} is on the {{.tier}} tier and {{.target}} on {{.target_tier}}, a lower one, so a link would let {{.vm}} reach more through it. Give {{.target}} the {{.tier}} tier or a stricter one first."
func LinkTierMismatch(target string, targetTier string, tier string, vm vmname.VM) M {
return M{id: "link_tier_mismatch", vals: []val{{"target", target}, {"target_tier", targetTier}, {"tier", tier}, {"vm", string(vm)}}}
}
// LinkTrust is [link_trust]: "A link joins the two VMs' trust. Code in {{.vm}} can often run code in {{.target}} through the service it reaches, and then has whatever {{.target}} has."
func LinkTrust(target string, vm vmname.VM) M {
return M{id: "link_trust", vals: []val{{"target", target}, {"vm", string(vm)}}}
}
// LinkUnknownTarget is [link_unknown_target]: "There's no VM for {{.target}}. Give a folder's name or path, or a VM's name, as devvm ls lists them."
func LinkUnknownTarget(target string) M {
return M{id: "link_unknown_target", vals: []val{{"target", target}}}
}
// LinksApplying is [links_applying]: "giving {{.vm}} its links"
func LinksApplying(vm vmname.VM) M {
return M{id: "links_applying", vals: []val{{"vm", string(vm)}}}
}
// LinksTargetGone is [links_target_gone]: "{{.vms}} have no links to {{.vm}} any more."
func LinksTargetGone(count int, vm vmname.VM, vms string) M {
return M{id: "links_target_gone", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"vm", string(vm)}, {"vms", vms}}}
}
// LinksUpdateFailed is [links_update_failed]: "Updating {{.vm}}'s links failed, so it gets them when it next starts."
func LinksUpdateFailed(vm vmname.VM) M {
return M{id: "links_update_failed", vals: []val{{"vm", string(vm)}}}
}
// LoadKey is [load_key]: "Run {{.cmd}} now to load {{.key}} into your SSH agent?"
func LoadKey(cmd string, key string) M {
return M{id: "load_key", vals: []val{{"cmd", cmd}, {"key", key}}}
}
// LoadKeyWith is [load_key_with]: "To load your key, run {{.cmd}}."
func LoadKeyWith(cmd string) M {
return M{id: "load_key_with", vals: []val{{"cmd", cmd}}}
}
// LogDetails is [log_details]: "(details: {{.file}})"
func LogDetails(file string) M {
return M{id: "log_details", vals: []val{{"file", file}}}
}
// LogEmpty is [log_empty]: "{{.vm}}'s network log is empty so far."
func LogEmpty(vm vmname.VM) M {
return M{id: "log_empty", vals: []val{{"vm", string(vm)}}}
}
// LogEnd is [log_end]: "the end of {{.file}}:"
func LogEnd(file string) M {
return M{id: "log_end", vals: []val{{"file", file}}}
}
// LogFailed is [log_failed]: "Reading this folder's VM's network log failed: {{.reason}}."
func LogFailed(reason string) M {
return M{id: "log_failed", vals: []val{{"reason", reason}}}
}
// LoginCaptureRefused is [login_capture_refused]: "{{.vm}} doesn't have {{.agent}}, so devvm didn't save the {{.agent}} login it sent. Log {{.agent}} in from a VM that has it."
func LoginCaptureRefused(agent string, vm vmname.VM) M {
return M{id: "login_capture_refused", vals: []val{{"agent", agent}, {"vm", string(vm)}}}
}
// LoginCopyFailed is [login_copy_failed]: "Making {{.vm}}'s copy of {{.agent}}'s login failed: {{.reason}}."
func LoginCopyFailed(agent string, reason string, vm vmname.VM) M {
return M{id: "login_copy_failed", vals: []val{{"agent", agent}, {"reason", reason}, {"vm", string(vm)}}}
}
// LoginFieldsWithheld is [login_fields_withheld]: "The VM gets {{.agent}}'s {{.file}} without {{.keys}}, because devvm doesn't know what they're for."
func LoginFieldsWithheld(agent string, file string, keys string) M {
return M{id: "login_fields_withheld", vals: []val{{"agent", agent}, {"file", file}, {"keys", keys}}}
}
// LoginPassBound is [login_pass_bound]: "The VM's proxy puts in {{.agent}}'s {{.providers}} API key itself, so the VM gets its placeholder, and you can take the provider out of {{.name}} in config.toml's [pass-keys]. A key that a VM was given as it was before still works wherever the VM copied it, so make a new one if you don't trust that VM."
func LoginPassBound(agent string, name string, providers string) M {
return M{id: "login_pass_bound", vals: []val{{"agent", agent}, {"name", name}, {"providers", providers}}}
}
// LoginPassed is [login_passed]: "The VM gets {{.agent}}'s {{.providers}} login unchanged, as config.toml's [pass-keys] asks."
func LoginPassed(agent string, providers string) M {
return M{id: "login_passed", vals: []val{{"agent", agent}, {"providers", providers}}}
}
// LoginReadFailed is [login_read_failed]: "Reading the login in {{.file}} for the VM's proxy failed: {{.reason}}."
func LoginReadFailed(file string, reason string) M {
return M{id: "login_read_failed", vals: []val{{"file", file}, {"reason", reason}}}
}
// LoginWithheld is [login_withheld]: "The VM gets {{.agent}}'s {{.providers}} login without its keys or tokens. To give the VM one provider's API key as it is, such as a local model server's, list the provider under {{.name}} in config.toml's [pass-keys]."
func LoginWithheld(agent string, name string, providers string) M {
return M{id: "login_withheld", vals: []val{{"agent", agent}, {"name", name}, {"providers", providers}}}
}
// LookingUpVolume is [looking_up_volume]: "looking up the disk at {{.dir}}"
func LookingUpVolume(dir string) M {
return M{id: "looking_up_volume", vals: []val{{"dir", dir}}}
}
// LsFailed is [ls_failed]: "Listing the VMs failed: {{.reason}}."
func LsFailed(reason string) M {
return M{id: "ls_failed", vals: []val{{"reason", reason}}}
}
// MakingWaiting is [making_waiting]: "waiting for another devvm to finish deleting shared tools"
func MakingWaiting() M {
return M{id: "making_waiting"}
}
// MarketplaceSecret is [marketplace_secret]: "The marketplace {{.name}} that devvm copied has a password or an access token in {{.file}} ({{.why}}), which every VM with Claude Code can read. Take it out of that file and of the marketplace on this machine, and let a credential helper keep it."
func MarketplaceSecret(file string, name string, why string) M {
return M{id: "marketplace_secret", vals: []val{{"file", file}, {"name", name}, {"why", why}}}
}
// MarketplaceUnchecked is [marketplace_unchecked]: "{{.file}}, of the marketplace {{.name}}, couldn't be checked for a password or an access token ({{.why}}), and every VM with Claude Code can read it. Look at the file yourself."
func MarketplaceUnchecked(file string, name string, why string) M {
return M{id: "marketplace_unchecked", vals: []val{{"file", file}, {"name", name}, {"why", why}}}
}
// MiseChecksum is [mise_checksum]: "The mise {{.version}} download doesn't match its checksum, so devvm didn't use it."
func MiseChecksum(version string) M {
return M{id: "mise_checksum", vals: []val{{"version", version}}}
}
// MiseDownloadFailed is [mise_download_failed]: "The download of mise {{.version}} failed, and devvm needs mise to resolve the shared tools' versions. Check that you're online."
func MiseDownloadFailed(version string) M {
return M{id: "mise_download_failed", vals: []val{{"version", version}}}
}
// MiseWaiting is [mise_waiting]: "waiting for another devvm to finish downloading mise {{.version}}"
func MiseWaiting(version string) M {
return M{id: "mise_waiting", vals: []val{{"version", version}}}
}
// MountCacheClone is [mount_cache_clone]: "{{.vm}} is a --clone VM, so it mounts no project folder to cache. It uses {{.mode}} once devvm clone off mounts the folder."
func MountCacheClone(mode string, vm vmname.VM) M {
return M{id: "mount_cache_clone", vals: []val{{"mode", mode}, {"vm", string(vm)}}}
}
// MountCacheFailed is [mount_cache_failed]: "Showing or changing the cache mode failed: {{.reason}}."
func MountCacheFailed(reason string) M {
return M{id: "mount_cache_failed", vals: []val{{"reason", reason}}}
}
// MountCacheInvalid is [mount_cache_invalid]: "{{.value}} isn't a cache mode. Use none, the only one devvm sets."
func MountCacheInvalid(value string) M {
return M{id: "mount_cache_invalid", vals: []val{{"value", value}}}
}
// MountCacheNoChoice is [mount_cache_no_choice]: "{{.vm}} doesn't mount its project folder with 9p, so it has no cache mode to choose."
func MountCacheNoChoice(vm vmname.VM) M {
return M{id: "mount_cache_no_choice", vals: []val{{"vm", string(vm)}}}
}
// MountCachePending is [mount_cache_pending]: "{{.vm}} caches its project folder with {{.mode}} from its next start."
func MountCachePending(mode string, vm vmname.VM) M {
return M{id: "mount_cache_pending", vals: []val{{"mode", mode}, {"vm", string(vm)}}}
}
// MountCacheRemountFailed is [mount_cache_remount_failed]: "{{.vm}}'s project folder is still mounted with {{.has}} instead of {{.want}}, which can lose writes there. Something the VM starts at boot may be holding the folder."
func MountCacheRemountFailed(has string, vm vmname.VM, want string) M {
return M{id: "mount_cache_remount_failed", vals: []val{{"has", has}, {"vm", string(vm)}, {"want", want}}}
}
// MountCacheUnchecked is [mount_cache_unchecked]: "Checking that {{.vm}}'s project folder is mounted after its cache mode changed failed, even after a restart, so devvm stopped the VM before anything could write there. Its console log may say why."
func MountCacheUnchecked(vm vmname.VM) M {
return M{id: "mount_cache_unchecked", vals: []val{{"vm", string(vm)}}}
}
// MountCacheUnchosen is [mount_cache_unchosen]: "{{.vm}} caches its project folder with {{.mode}}, which can lose writes and breaks SQLite and Gradle there. Run devvm mount-cache none to stop it."
func MountCacheUnchosen(mode string, vm vmname.VM) M {
return M{id: "mount_cache_unchosen", vals: []val{{"mode", mode}, {"vm", string(vm)}}}
}
// MountCacheUnmounted is [mount_cache_unmounted]: "{{.vm}}'s project folder wasn't mounted after its cache mode changed, even after a restart, so devvm stopped the VM before anything could write there. Its console log may say why."
func MountCacheUnmounted(vm vmname.VM) M {
return M{id: "mount_cache_unmounted", vals: []val{{"vm", string(vm)}}}
}
// MountComma is [mount_comma]: "Lima can't mount {{.path}} because its path has a comma."
func MountComma(path string) M {
return M{id: "mount_comma", vals: []val{{"path", path}}}
}
// MountsUpdated is [mounts_updated]: "updated {{.vm}}'s agent folder mounts"
func MountsUpdated(vm vmname.VM) M {
return M{id: "mounts_updated", vals: []val{{"vm", string(vm)}}}
}
// MoveFolderChanged is [move_folder_changed]: "The folder at {{.dir}} changed while devvm asked, so devvm didn't move {{.vm}} here. Run the command again."
func MoveFolderChanged(dir string, vm vmname.VM) M {
return M{id: "move_folder_changed", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// MoveVM is [move_vm]: "{{.vm}} was made for {{.was}}, and that folder moved here.\nMove the VM here, with its files, secrets and allowlist? If it's running, it stops first."
func MoveVM(vm vmname.VM, was string) M {
return M{id: "move_vm", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// MsgBadCount is [msg_bad_count]: "The count must be a whole number, not {{.value}}."
func MsgBadCount(value string) M {
return M{id: "msg_bad_count", vals: []val{{"value", value}}}
}
// MsgMissingValue is [msg_missing_value]: "{{.name}} needs a {{.key}}= value."
func MsgMissingValue(key string, name string) M {
return M{id: "msg_missing_value", vals: []val{{"key", key}, {"name", name}}}
}
// MsgNotPair is [msg_not_pair]: "{{.arg}} isn't name=value."
func MsgNotPair(arg string) M {
return M{id: "msg_not_pair", vals: []val{{"arg", arg}}}
}
// MsgRepeatedValue is [msg_repeated_value]: "{{.key}}= is given twice."
func MsgRepeatedValue(key string) M {
return M{id: "msg_repeated_value", vals: []val{{"key", key}}}
}
// MsgUnexpectedValue is [msg_unexpected_value]: "{{.name}} takes no {{.key}}= value."
func MsgUnexpectedValue(key string, name string) M {
return M{id: "msg_unexpected_value", vals: []val{{"key", key}, {"name", name}}}
}
// MsgUnknown is [msg_unknown]: "There's no message {{.name}}."
func MsgUnknown(name string) M {
return M{id: "msg_unknown", vals: []val{{"name", name}}}
}
// NetAllowsUnused is [net_allows_unused]: "{{.vm}} is on the {{.tier}} tier, where only your denies apply, so this allow changes nothing until it's on the allowlist tier."
func NetAllowsUnused(tier string, vm vmname.VM) M {
return M{id: "net_allows_unused", vals: []val{{"tier", tier}, {"vm", string(vm)}}}
}
// NetChoiceLearn is [net_choice_learn]: "reaches any public host while it learns which it needs, until devvm network lock"
func NetChoiceLearn() M {
return M{id: "net_choice_learn"}
}
// NetDefaultFailed is [net_default_failed]: "Reading or saving new VMs' network tier failed: {{.reason}}."
func NetDefaultFailed(reason string) M {
return M{id: "net_default_failed", vals: []val{{"reason", reason}}}
}
// NetDirectRoute is [net_direct_route]: "{{.vm}} reached the internet without going through its proxy, so devvm stopped it. Something outside devvm may have given it another network."
func NetDirectRoute(vm vmname.VM) M {
return M{id: "net_direct_route", vals: []val{{"vm", string(vm)}}}
}
// NetLearnNotGlobal is [net_learn_not_global]: "New VMs can't learn by default, because each VM learns the hosts it needs on its own. Make one learn with devvm --network learn, or with devvm network learn in its folder."
func NetLearnNotGlobal() M {
return M{id: "net_learn_not_global"}
}
// NetLearnStarted is [net_learn_started]: "{{.vm}} learns the hosts it reaches from now on, with the internet tier's access. To lock it to the hosts you choose, run devvm network lock."
func NetLearnStarted(vm vmname.VM) M {
return M{id: "net_learn_started", vals: []val{{"vm", string(vm)}}}
}
// NetLearnStopped is [net_learn_stopped]: "{{.vm}} stopped learning the hosts it reaches."
func NetLearnStopped(vm vmname.VM) M {
return M{id: "net_learn_stopped", vals: []val{{"vm", string(vm)}}}
}
// NetLearnedHost is [net_learned_host]: "{{.count}} connections, User-Agent: {{.agent}}"
func NetLearnedHost(agent string, count int) M {
return M{id: "net_learned_host", plural: true, count: count, vals: []val{{"agent", agent}, {"count", strconv.Itoa(count)}}}
}
// NetLearnedHostAnon is [net_learned_host_anon]: "{{.count}} connections"
func NetLearnedHostAnon(count int) M {
return M{id: "net_learned_host_anon", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// NetLearnedNoProxyHeading is [net_learned_no_proxy_heading]: "Reached only by tools without proxy settings, which the VM's names sent to its proxy:"
func NetLearnedNoProxyHeading() M {
return M{id: "net_learned_no_proxy_heading"}
}
// NetLearnedPartial is [net_learned_partial]: "{{.vm}}'s network log no longer goes back to {{.since}}, when it started learning, so hosts it reached early on may be missing. To allow one later, run devvm network allow."
func NetLearnedPartial(since string, vm vmname.VM) M {
return M{id: "net_learned_partial", vals: []val{{"since", since}, {"vm", string(vm)}}}
}
// NetLearnedRiskyHeading is [net_learned_risky_heading]: "Risky, each an easy way to send data out:"
func NetLearnedRiskyHeading() M {
return M{id: "net_learned_risky_heading"}
}
// NetLearning is [net_learning]: "{{.vm}} is learning the hosts it reaches, with internet access, and since {{.since}} it has reached {{.count}} hosts beyond its allowlist. To lock it to the hosts you choose, run devvm network lock."
func NetLearning(count int, since string, vm vmname.VM) M {
return M{id: "net_learning", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"since", since}, {"vm", string(vm)}}}
}
// NetLearningLock is [net_learning_lock]: "{{.vm}} is learning the hosts it reaches, so devvm network lock puts it on the allowlist tier with the hosts you choose. To add none of them, run devvm network lock --none."
func NetLearningLock(vm vmname.VM) M {
return M{id: "net_learning_lock", vals: []val{{"vm", string(vm)}}}
}
// NetLearningSince is [net_learning_since]: "{{.vm}} has been learning the hosts it reaches, with internet access, since {{.since}}. To lock it to the hosts you choose, run devvm network lock."
func NetLearningSince(since string, vm vmname.VM) M {
return M{id: "net_learning_since", vals: []val{{"since", since}, {"vm", string(vm)}}}
}
// NetLockChanged is [net_lock_changed]: "{{.vm}}'s network tier changed while devvm network lock was asking, so it changed nothing. To lock it, run devvm network lock again."
func NetLockChanged(vm vmname.VM) M {
return M{id: "net_lock_changed", vals: []val{{"vm", string(vm)}}}
}
// NetLockContext is [net_lock_context]: "Since {{.since}} the VM could reach any public host, so this list can hold a host that a compromised dependency reached. Only a host on port 443 of a package registry or vendor devvm knows starts ticked, so read the others before you tick them."
func NetLockContext(since string) M {
return M{id: "net_lock_context", vals: []val{{"since", since}}}
}
// NetLockContextMany is [net_lock_context_many]: "Since {{.since}} the VM could reach any public host, so this list of {{.count}} hosts can hold one that a compromised dependency reached. None starts ticked in a list this long, and devvm network lock --json lists them to read first."
func NetLockContextMany(count int, since string) M {
return M{id: "net_lock_context_many", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"since", since}}}
}
// NetLockHelp is [net_lock_help]: "Choose the hosts {{.vm}} keeps. Use up and down to move, space to toggle, a to toggle them all and enter to confirm."
func NetLockHelp(vm vmname.VM) M {
return M{id: "net_lock_help", vals: []val{{"vm", string(vm)}}}
}
// NetLocked is [net_locked]: "Added {{.count}} hosts to {{.vm}}'s own rules, and gave it the allowlist tier."
func NetLocked(count int, vm vmname.VM) M {
return M{id: "net_locked", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"vm", string(vm)}}}
}
// NetNotLearning is [net_not_learning]: "{{.vm}} isn't learning the hosts it reaches, so there's nothing to lock. To start, run devvm network learn."
func NetNotLearning(vm vmname.VM) M {
return M{id: "net_not_learning", vals: []val{{"vm", string(vm)}}}
}
// NetOpenLog is [net_open_log]: "{{.vm}} is open, so devvm logs only what goes through its proxy, not what it reaches directly."
func NetOpenLog(vm vmname.VM) M {
return M{id: "net_open_log", vals: []val{{"vm", string(vm)}}}
}
// NetOpenPolicy is [net_open_policy]: "{{.vm}} is open, so no rule applies to it. To have its rules apply, run devvm network allowlist."
func NetOpenPolicy(vm vmname.VM) M {
return M{id: "net_open_policy", vals: []val{{"vm", string(vm)}}}
}
// NetProxyDownStopped is [net_proxy_down_stopped]: "{{.vm}}'s proxy couldn't start, so devvm stopped the VM, which doesn't run without it. devvm starts both again at the VM's next launch."
func NetProxyDownStopped(vm vmname.VM) M {
return M{id: "net_proxy_down_stopped", vals: []val{{"vm", string(vm)}}}
}
// NetProxyKept is [net_proxy_kept]: "devvm left {{.vm}} and its proxy running as they were."
func NetProxyKept(vm vmname.VM) M {
return M{id: "net_proxy_kept", vals: []val{{"vm", string(vm)}}}
}
// NetProxyUnreachable is [net_proxy_unreachable]: "{{.vm}}'s proxy doesn't answer it, so its tools that use the proxy fail. To start both again, run devvm restart."
func NetProxyUnreachable(vm vmname.VM) M {
return M{id: "net_proxy_unreachable", vals: []val{{"vm", string(vm)}}}
}
// NetTierAllowlist is [net_tier_allowlist]: "reaches only the hosts you allow (recommended)"
func NetTierAllowlist() M {
return M{id: "net_tier_allowlist"}
}
// NetTierBackend is [net_tier_backend]: "The {{.backend}} backend can't confine {{.vm}} to its proxy here, so the VM can only be open. Make it with --network open."
func NetTierBackend(backend string, vm vmname.VM) M {
return M{id: "net_tier_backend", vals: []val{{"backend", backend}, {"vm", string(vm)}}}
}
// NetTierHelp is [net_tier_help]: "Network tier for {{.vm}} (up/down to choose, enter to confirm):"
func NetTierHelp(vm vmname.VM) M {
return M{id: "net_tier_help", vals: []val{{"vm", string(vm)}}}
}
// NetTierInternet is [net_tier_internet]: "reaches any public host"
func NetTierInternet() M {
return M{id: "net_tier_internet"}
}
// NetTierNone is [net_tier_none]: "reaches only its agents' and secrets' hosts and its links"
func NetTierNone() M {
return M{id: "net_tier_none"}
}
// NetTierOpen is [net_tier_open]: "reaches anything this machine can"
func NetTierOpen() M {
return M{id: "net_tier_open"}
}
// NetTransparentFailed is [net_transparent_failed]: "Showing or changing transparent mode failed: {{.reason}}."
func NetTransparentFailed(reason string) M {
return M{id: "net_transparent_failed", vals: []val{{"reason", reason}}}
}
// NetTransparentSet is [net_transparent_set]: "devvm turns transparent mode {{.mode}} for {{.vm}} at its next launch, and it applies while the VM is on a confined tier."
func NetTransparentSet(mode string, vm vmname.VM) M {
return M{id: "net_transparent_set", vals: []val{{"mode", mode}, {"vm", string(vm)}}}
}
// NetUnenforced is [net_unenforced]: "WARNING: {{.vm}} reaches the network directly, so its network tier isn't enforced until devvm starts it again. To enforce it now, run devvm restart."
func NetUnenforced(vm vmname.VM) M {
return M{id: "net_unenforced", vals: []val{{"vm", string(vm)}}}
}
// NetUnenforcedRestart is [net_unenforced_restart]: "{{.vm}} wasn't started confined to its proxy, so its network tier isn't enforced. Restart it confined?"
func NetUnenforcedRestart(vm vmname.VM) M {
return M{id: "net_unenforced_restart", vals: []val{{"vm", string(vm)}}}
}
// NetUnenforcedStop is [net_unenforced_stop]: "{{.vm}} wasn't started confined to its proxy, so its network tier wasn't enforced and devvm stopped it. devvm starts it confined at its next launch."
func NetUnenforcedStop(vm vmname.VM) M {
return M{id: "net_unenforced_stop", vals: []val{{"vm", string(vm)}}}
}
// NetworkDefault is [network_default]: "new VMs' network tier is {{.mode}}"
func NetworkDefault(mode string) M {
return M{id: "network_default", vals: []val{{"mode", mode}}}
}
// NetworkDefaultHelp is [network_default_help]: "Network tier for new VMs (up/down to choose, enter to confirm):"
func NetworkDefaultHelp() M {
return M{id: "network_default_help"}
}
// NetworkFailed is [network_failed]: "Reading or changing the network tier of this folder's VM failed: {{.reason}}."
func NetworkFailed(reason string) M {
return M{id: "network_failed", vals: []val{{"reason", reason}}}
}
// NewVMAgentFrom is [new_vm_agent_from]: " agent {{.agent}}, from {{.from}}"
func NewVMAgentFrom(agent string, from string) M {
return M{id: "new_vm_agent_from", vals: []val{{"agent", agent}, {"from", from}}}
}
// NewVMAgentsNone is [new_vm_agents_none]: " agents: none"
func NewVMAgentsNone() M {
return M{id: "new_vm_agents_none"}
}
// NewVMChoose is [new_vm_choose]: "To choose others, give --tools, --agents, --layers, --network, --ports, --cpus, --memory or --disk."
func NewVMChoose() M {
return M{id: "new_vm_choose"}
}
// NewVMCpusPrompt is [new_vm_cpus_prompt]: "CPUs for the VM [{{.cpus}}]:"
func NewVMCpusPrompt(cpus string) M {
return M{id: "new_vm_cpus_prompt", vals: []val{{"cpus", cpus}}}
}
// NewVMCustomize is [new_vm_customize]: "Customize it?"
func NewVMCustomize() M {
return M{id: "new_vm_customize"}
}
// NewVMDevcontainer is [new_vm_devcontainer]: " devcontainer.json: {{.file}}, which devvm --no-devcontainer skips"
func NewVMDevcontainer(file string) M {
return M{id: "new_vm_devcontainer", vals: []val{{"file", file}}}
}
// NewVMDiskPrompt is [new_vm_disk_prompt]: "Disk for the VM in GiB [{{.disk}}]:"
func NewVMDiskPrompt(disk string) M {
return M{id: "new_vm_disk_prompt", vals: []val{{"disk", disk}}}
}
// NewVMDiskQuestion is [new_vm_disk_question]: "The disk can grow later with devvm size --disk but never shrink, and it takes only the space the VM writes."
func NewVMDiskQuestion() M {
return M{id: "new_vm_disk_question"}
}
// NewVMFlagsIgnored is [new_vm_flags_ignored]: "Only a new VM takes {{.flags}}, so {{.vm}} keeps its own settings."
func NewVMFlagsIgnored(flags string, vm vmname.VM) M {
return M{id: "new_vm_flags_ignored", vals: []val{{"flags", flags}, {"vm", string(vm)}}}
}
// NewVMFlagsIgnoredRun is [new_vm_flags_ignored_run]: "Only a new VM takes {{.flags}}, so {{.vm}} keeps its own settings. To change them, run {{.command}}."
func NewVMFlagsIgnoredRun(command string, flags string, vm vmname.VM) M {
return M{id: "new_vm_flags_ignored_run", vals: []val{{"command", command}, {"flags", flags}, {"vm", string(vm)}}}
}
// NewVMLayerFor is [new_vm_layer_for]: " layer {{.layer}}, for {{.file}}"
func NewVMLayerFor(file string, layer string) M {
return M{id: "new_vm_layer_for", vals: []val{{"file", file}, {"layer", layer}}}
}
// NewVMLayerFrom is [new_vm_layer_from]: " layer {{.layer}}, from {{.from}}"
func NewVMLayerFrom(from string, layer string) M {
return M{id: "new_vm_layer_from", vals: []val{{"from", from}, {"layer", layer}}}
}
// NewVMLayersNone is [new_vm_layers_none]: " layers: none"
func NewVMLayersNone() M {
return M{id: "new_vm_layers_none"}
}
// NewVMMemoryPrompt is [new_vm_memory_prompt]: "Memory for the VM in GiB [{{.memory}}]:"
func NewVMMemoryPrompt(memory string) M {
return M{id: "new_vm_memory_prompt", vals: []val{{"memory", memory}}}
}
// NewVMNetwork is [new_vm_network]: " network tier: {{.tier}}"
func NewVMNetwork(tier string) M {
return M{id: "new_vm_network", vals: []val{{"tier", tier}}}
}
// NewVMNetworkLearn is [new_vm_network_learn]: " network tier: internet, while it learns the hosts it needs, until devvm network lock"
func NewVMNetworkLearn() M {
return M{id: "new_vm_network_learn"}
}
// NewVMPorts is [new_vm_ports]: " ports: {{.ports}}"
func NewVMPorts(ports string) M {
return M{id: "new_vm_ports", vals: []val{{"ports", ports}}}
}
// NewVMPortsAll is [new_vm_ports_all]: "Forward every port (automatic)"
func NewVMPortsAll() M {
return M{id: "new_vm_ports_all"}
}
// NewVMPortsHelp is [new_vm_ports_help]: "Ports {{.vm}} forwards (up/down to choose, enter to confirm):"
func NewVMPortsHelp(vm vmname.VM) M {
return M{id: "new_vm_ports_help", vals: []val{{"vm", string(vm)}}}
}
// NewVMPortsList is [new_vm_ports_list]: "These ports…"
func NewVMPortsList() M {
return M{id: "new_vm_ports_list"}
}
// NewVMPortsNone is [new_vm_ports_none]: "Forward none (add them later with devvm ports add)"
func NewVMPortsNone() M {
return M{id: "new_vm_ports_none"}
}
// NewVMPortsPrompt is [new_vm_ports_prompt]: "Ports to forward, such as 5173,8000-8010 [{{.ports}}]:"
func NewVMPortsPrompt(ports string) M {
return M{id: "new_vm_ports_prompt", vals: []val{{"ports", ports}}}
}
// NewVMSize is [new_vm_size]: " size: {{.cpus}} CPUs, {{.memory}} GiB of memory and a {{.disk}} GiB disk"
func NewVMSize(cpus string, disk string, memory string) M {
return M{id: "new_vm_size", vals: []val{{"cpus", cpus}, {"disk", disk}, {"memory", memory}}}
}
// NewVMSizeQuestion is [new_vm_size_question]: "This machine has {{.have_cpus}} CPUs and {{.have_memory}} GiB of memory. Type the CPUs and memory the VM gets, or press Enter to keep the size in brackets."
func NewVMSizeQuestion(haveCpus string, haveMemory string) M {
return M{id: "new_vm_size_question", vals: []val{{"have_cpus", haveCpus}, {"have_memory", haveMemory}}}
}
// NewVMSummary is [new_vm_summary]: "This folder's new VM, {{.vm}}, gets:"
func NewVMSummary(vm vmname.VM) M {
return M{id: "new_vm_summary", vals: []val{{"vm", string(vm)}}}
}
// NewVMToolchainFor is [new_vm_toolchain_for]: " toolchain {{.tool}}, for {{.file}}"
func NewVMToolchainFor(file string, tool string) M {
return M{id: "new_vm_toolchain_for", vals: []val{{"file", file}, {"tool", tool}}}
}
// NewVMToolchainFrom is [new_vm_toolchain_from]: " toolchain {{.tool}}, from {{.from}}"
func NewVMToolchainFrom(from string, tool string) M {
return M{id: "new_vm_toolchain_from", vals: []val{{"from", from}, {"tool", tool}}}
}
// NewVMToolchainsNone is [new_vm_toolchains_none]: " toolchains: none"
func NewVMToolchainsNone() M {
return M{id: "new_vm_toolchains_none"}
}
// NewerTools is [newer_tools]: "There are newer shared tools: {{.tools}}. Run devvm update to move this VM to them."
func NewerTools(tools string) M {
return M{id: "newer_tools", vals: []val{{"tools", tools}}}
}
// NextStart is [next_start]: "{{.vm}} is running, so it gets the changes when it next starts. To apply them now, run devvm restart."
func NextStart(count int, vm vmname.VM) M {
return M{id: "next_start", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"vm", string(vm)}}}
}
// NextStartAgent is [next_start_agent]: "{{.vm}}'s SSH agent forwarding changes only when it starts."
func NextStartAgent(vm vmname.VM) M {
return M{id: "next_start_agent", vals: []val{{"vm", string(vm)}}}
}
// NextStartFolder is [next_start_folder]: "{{.vm}} mounts its project folder at {{.dir}} only when it starts."
func NextStartFolder(dir string, vm vmname.VM) M {
return M{id: "next_start_folder", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// NextStartMore is [next_start_more]: "{{.count}} more changes wait for that too."
func NextStartMore(count int) M {
return M{id: "next_start_more", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// NextStartMountCache is [next_start_mount_cache]: "{{.vm}} gets its new cache mode only when it starts."
func NextStartMountCache(vm vmname.VM) M {
return M{id: "next_start_mount_cache", vals: []val{{"vm", string(vm)}}}
}
// NextStartMounts is [next_start_mounts]: "{{.vm}}'s agent folder mounts change only when it starts."
func NextStartMounts(vm vmname.VM) M {
return M{id: "next_start_mounts", vals: []val{{"vm", string(vm)}}}
}
// NextStartNetOff is [next_start_net_off]: "{{.vm}} leaves its proxy's confinement for the open tier only when it starts."
func NextStartNetOff(vm vmname.VM) M {
return M{id: "next_start_net_off", vals: []val{{"vm", string(vm)}}}
}
// NextStartSize is [next_start_size]: "{{.vm}} gets its new size only when it starts."
func NextStartSize(vm vmname.VM) M {
return M{id: "next_start_size", vals: []val{{"vm", string(vm)}}}
}
// NixCacheLocked is [nix_cache_locked]: "A VM's proxy held the shared Nix cache's lock too long, so devvm didn't trim it this time."
func NixCacheLocked() M {
return M{id: "nix_cache_locked"}
}
// NoClaudeToken is [no_claude_token]: "{{.vm}} has no Claude Code login. Run devvm agent login claude in its folder."
func NoClaudeToken(vm vmname.VM) M {
return M{id: "no_claude_token", vals: []val{{"vm", string(vm)}}}
}
// NoCodeCommand is [no_code_command]: "VS Code's code command isn't on PATH. Connect to {{.host}} with Remote-SSH instead."
func NoCodeCommand(host string) M {
return M{id: "no_code_command", vals: []val{{"host", host}}}
}
// NoCommand is [no_command]: "There's no command devvm {{.word}}. Run devvm --help to see the commands."
func NoCommand(word string) M {
return M{id: "no_command", vals: []val{{"word", word}}}
}
// NoCommandLike is [no_command_like]: "There's no command devvm {{.word}}. Did you mean devvm {{.command}}?"
func NoCommandLike(command string, word string) M {
return M{id: "no_command_like", vals: []val{{"command", command}, {"word", word}}}
}
// NoCommandPart is [no_command_part]: "There's no command devvm {{.word}}. To make a new VM with {{.word}}, run devvm {{.flags}}."
func NoCommandPart(flags string, word string) M {
return M{id: "no_command_part", vals: []val{{"flags", flags}, {"word", word}}}
}
// NoCursorCommand is [no_cursor_command]: "Cursor's cursor command isn't on PATH. Connect to {{.host}} with Remote-SSH instead."
func NoCursorCommand(host string) M {
return M{id: "no_cursor_command", vals: []val{{"host", host}}}
}
// NoDigest is [no_digest]: "{{.from}} has no digest that devvm recorded."
func NoDigest(from string) M {
return M{id: "no_digest", vals: []val{{"from", from}}}
}
// NoFeature is [no_feature]: "There's no feature {{.feature}}. Choose from {{.features}}."
func NoFeature(feature string, features string) M {
return M{id: "no_feature", vals: []val{{"feature", feature}, {"features", features}}}
}
// NoGithubToken is [no_github_token]: "{{.vm}} uses github, but no GitHub token is saved. Run devvm secret set github."
func NoGithubToken(vm vmname.VM) M {
return M{id: "no_github_token", vals: []val{{"vm", string(vm)}}}
}
// NoImageNamed is [no_image_named]: "There's no image {{.image}}. Run devvm images to list them."
func NoImageNamed(image string) M {
return M{id: "no_image_named", vals: []val{{"image", image}}}
}
// NoImageNamedFrom is [no_image_named_from]: "There's no image {{.image}} from {{.from}}. Run devvm images to list them."
func NoImageNamedFrom(from string, image string) M {
return M{id: "no_image_named_from", vals: []val{{"from", from}, {"image", image}}}
}
// NoInput is [no_input]: "This question can't be asked without a terminal, after the input ends, or with --no-input. Use {{.answer}} to answer it instead."
func NoInput(answer string) M {
return M{id: "no_input", vals: []val{{"answer", answer}}}
}
// NoKVM is [no_kvm]: "/dev/kvm doesn't exist. Turn on virtualization in the firmware, or nested virtualization if this machine is a VM."
func NoKVM() M {
return M{id: "no_kvm"}
}
// NoParentVM is [no_parent_vm]: "No folder that {{.dir}} is inside has a VM. Leave out --parent to use this folder's own."
func NoParentVM(dir string) M {
return M{id: "no_parent_vm", vals: []val{{"dir", dir}}}
}
// NoSecret is [no_secret]: "There's no secret {{.secret}}."
func NoSecret(secret string) M {
return M{id: "no_secret", vals: []val{{"secret", secret}}}
}
// NoSSHAgent is [no_ssh_agent]: "No SSH agent is running, so git over SSH won't work in the VM."
func NoSSHAgent() M {
return M{id: "no_ssh_agent"}
}
// NoSubcommand is [no_subcommand]: "There's no command {{.command}} {{.given}}. The commands under {{.command}} are {{.commands}}."
func NoSubcommand(command string, commands string, given string) M {
return M{id: "no_subcommand", vals: []val{{"command", command}, {"commands", commands}, {"given", given}}}
}
// NoTerminalDelete is [no_terminal_delete]: "Going ahead loses the uncommitted changes in the VM's clone, which can't be confirmed here. Run {{.command}} in a terminal without --no-input to confirm."
func NoTerminalDelete(command string) M {
return M{id: "no_terminal_delete", vals: []val{{"command", command}}}
}
// NoTerminalDeleteTrees is [no_terminal_delete_trees]: "Going ahead loses the uncommitted changes in the agents' worktrees in the VM, which can't be confirmed here. Run {{.command}} in a terminal without --no-input to confirm, or {{.command}} --no-worktree-check to go ahead without the check."
func NoTerminalDeleteTrees(command string) M {
return M{id: "no_terminal_delete_trees", vals: []val{{"command", command}}}
}
// NoTerminalFetch is [no_terminal_fetch]: "There's no way to ask here whether to fetch the clone's work, so devvm kept the VM as it is. Run devvm clone fetch first, or {{.command}} in a terminal without --no-input to choose."
func NoTerminalFetch(command string) M {
return M{id: "no_terminal_fetch", vals: []val{{"command", command}}}
}
// NoTerminalFetchRepos is [no_terminal_fetch_repos]: "There's no way to ask here whether to fetch the clone's work, so devvm kept the VM as it is. Run devvm clone fetch first, or {{.command}} in a terminal without --no-input to choose."
func NoTerminalFetchRepos(command string) M {
return M{id: "no_terminal_fetch_repos", vals: []val{{"command", command}}}
}
// NoTerminalLfsLarge is [no_terminal_lfs_large]: "There's no way to ask here whether to bring {{.size}} GiB of Git LFS objects back from the VM's clone of {{.path}}, so devvm brought none of them. Run devvm clone fetch in a terminal."
func NoTerminalLfsLarge(path string, size string) M {
return M{id: "no_terminal_lfs_large", vals: []val{{"path", path}, {"size", size}}}
}
// NoToken is [no_token]: "You didn't give a secret, so devvm saved nothing."
func NoToken() M {
return M{id: "no_token"}
}
// NoUbuntuImage is [no_ubuntu_image]: "Finding Ubuntu {{.version}}'s cloud image {{.release}} at {{.url}} failed. Check that you're online, then try again."
func NoUbuntuImage(release string, url string, version string) M {
return M{id: "no_ubuntu_image", vals: []val{{"release", release}, {"url", url}, {"version", version}}}
}
// NoUbuntuRelease is [no_ubuntu_release]: "{{.url}} lists no release of Ubuntu {{.version}}'s cloud image with an image for this machine, so devvm can't build base."
func NoUbuntuRelease(url string, version string) M {
return M{id: "no_ubuntu_release", vals: []val{{"url", url}, {"version", version}}}
}
// NoVM is [no_vm]: "There's no VM for {{.dir}}. Run devvm to make one."
func NoVM(dir string) M {
return M{id: "no_vm", vals: []val{{"dir", dir}}}
}
// NoVMGitProtect is [no_vm_git_protect]: "There's no VM for {{.dir}}. Run devvm to make one, or devvm --no-git-protect to make one without .git protection."
func NoVMGitProtect(dir string) M {
return M{id: "no_vm_git_protect", vals: []val{{"dir", dir}}}
}
// NoVMGroup is [no_vm_group]: "There's no VM for {{.dir}}, so it isn't in a group. Run devvm to make one."
func NoVMGroup(dir string) M {
return M{id: "no_vm_group", vals: []val{{"dir", dir}}}
}
// NoVMMountCache is [no_vm_mount_cache]: "There's no VM for {{.dir}}. Run devvm to make one, which caches its project folder with none."
func NoVMMountCache(dir string) M {
return M{id: "no_vm_mount_cache", vals: []val{{"dir", dir}}}
}
// NoVMPolicy is [no_vm_policy]: "There's no VM for {{.dir}}. Run devvm to make one, or add -g to change every VM's rules."
func NoVMPolicy(dir string) M {
return M{id: "no_vm_policy", vals: []val{{"dir", dir}}}
}
// NoVMPorts is [no_vm_ports]: "There's no VM for {{.dir}}. Run devvm --ports PORTS to make one that forwards only those ports, or devvm ports -g to set what new VMs forward."
func NoVMPorts(dir string) M {
return M{id: "no_vm_ports", vals: []val{{"dir", dir}}}
}
// NoVMSize is [no_vm_size]: "There's no VM for {{.dir}}. Run devvm --cpus N to make one with a size, or devvm size -g to set the size new VMs get."
func NoVMSize(dir string) M {
return M{id: "no_vm_size", vals: []val{{"dir", dir}}}
}
// NoVMSSHAgent is [no_vm_ssh_agent]: "There's no VM for {{.dir}}. Run devvm to make one, or devvm --ssh-agent to make one that forwards your SSH agent."
func NoVMSSHAgent(dir string) M {
return M{id: "no_vm_ssh_agent", vals: []val{{"dir", dir}}}
}
// NotARule is [not_a_rule]: "{{.rule}} isn't a rule."
func NotARule(rule string) M {
return M{id: "not_a_rule", vals: []val{{"rule", rule}}}
}
// NotAnImage is [not_an_image]: "{{.name}} isn't an image, so devvm won't delete it."
func NotAnImage(name string) M {
return M{id: "not_an_image", vals: []val{{"name", name}}}
}
// NotSetupToken is [not_setup_token]: "That isn't a Claude Code token, which starts with sk-ant-oat01-, so devvm saved nothing. Run devvm agent login claude --setup-token to get one."
func NotSetupToken() M {
return M{id: "not_setup_token"}
}
// NothingChanged is [nothing_changed]: "nothing changed"
func NothingChanged() M {
return M{id: "nothing_changed"}
}
// NothingDeleted is [nothing_deleted]: "nothing deleted"
func NothingDeleted() M {
return M{id: "nothing_deleted"}
}
// NothingImported is [nothing_imported]: "nothing imported"
func NothingImported() M {
return M{id: "nothing_imported"}
}
// NothingSaved is [nothing_saved]: "nothing saved"
func NothingSaved() M {
return M{id: "nothing_saved"}
}
// NothingToClean is [nothing_to_clean]: "nothing to clean up"
func NothingToClean() M {
return M{id: "nothing_to_clean"}
}
// OCIWaiting is [oci_waiting]: "waiting for another devvm's --from conversion to finish"
func OCIWaiting() M {
return M{id: "oci_waiting"}
}
// OpencodeImportFailed is [opencode_import_failed]: "opencode in {{.vm}} refused devvm's login for {{.providers}}, though devvm saved the API key. Run devvm in the VM's folder to try again."
func OpencodeImportFailed(providers string, vm vmname.VM) M {
return M{id: "opencode_import_failed", vals: []val{{"providers", providers}, {"vm", string(vm)}}}
}
// OpencodeImportTooMuch is [opencode_import_too_much]: "opencode in {{.vm}} printed more than devvm reads while it imported devvm's logins, so devvm stopped it. Run devvm in the VM's folder to try again."
func OpencodeImportTooMuch(vm vmname.VM) M {
return M{id: "opencode_import_too_much", vals: []val{{"vm", string(vm)}}}
}
// OriginNoBoot is [origin_no_boot]: "base didn't boot from Ubuntu's cloud image {{.origin}}, so devvm tries the release before it."
func OriginNoBoot(origin string) M {
return M{id: "origin_no_boot", vals: []val{{"origin", origin}}}
}
// OriginPinned is [origin_pinned]: "base starts from Ubuntu's cloud image {{.origin}}"
func OriginPinned(origin string) M {
return M{id: "origin_pinned", vals: []val{{"origin", origin}}}
}
// OutputFailed is [output_failed]: "Writing the command's output failed: {{.reason}}."
func OutputFailed(reason string) M {
return M{id: "output_failed", vals: []val{{"reason", reason}}}
}
// PackagesListsMissing is [packages_lists_missing]: "Base's build didn't give back all of {{.suite}}'s signed package lists, so devvm can't check that it got the newest packages and keeps none of them. Run the command again."
func PackagesListsMissing(suite string) M {
return M{id: "packages_lists_missing", vals: []val{{"suite", suite}}}
}
// PackagesMissing is [packages_missing]: "devvm's package cache doesn't have {{.name}} {{.version}}, which this base recorded, so devvm can't build it again. Run devvm rebuild base to record base's packages again."
func PackagesMissing(name string, version string) M {
return M{id: "packages_missing", vals: []val{{"name", name}, {"version", version}}}
}
// PackagesNotNewest is [packages_not_newest]: "Base's build got {{.name}} {{.version}}, but {{.suite}} has {{.newer}}, which apt installs instead, so devvm keeps none of its packages. Check that no feature asks apt for an older version, then run the command again."
func PackagesNotNewest(name string, newer string, suite string, version string) M {
return M{id: "packages_not_newest", vals: []val{{"name", name}, {"newer", newer}, {"suite", suite}, {"version", version}}}
}
// PackagesRefused is [packages_refused]: "devvm refused the packages base's build gave back, so it keeps none of them: {{.why}}."
func PackagesRefused(why string) M {
return M{id: "packages_refused", vals: []val{{"why", why}}}
}
// PackagesSendFailed is [packages_send_failed]: "Sending base's recorded packages into {{.vm}} failed."
func PackagesSendFailed(vm vmname.VM) M {
return M{id: "packages_send_failed", vals: []val{{"vm", string(vm)}}}
}
// PackagesStale is [packages_stale]: "Ubuntu's archive gave base's build {{.suite}} as of {{.date}}, older than the cloud image {{.release}}, so devvm keeps none of its packages. Check that nothing between you and Ubuntu's archive serves an old copy, then run the command again."
func PackagesStale(date string, release string, suite string) M {
return M{id: "packages_stale", vals: []val{{"date", date}, {"release", release}, {"suite", suite}}}
}
// PackagesStaleMirror is [packages_stale_mirror]: "The mirror {{.mirror}} gave base's build {{.suite}} as of {{.date}}, older than the cloud image {{.release}}, so devvm keeps none of its packages. Set ubuntu-mirror in config.toml to a mirror that's up to date, or remove it, then run the command again."
func PackagesStaleMirror(date string, mirror string, release string, suite string) M {
return M{id: "packages_stale_mirror", vals: []val{{"date", date}, {"mirror", mirror}, {"release", release}, {"suite", suite}}}
}
// PackagesTakeFailed is [packages_take_failed]: "Taking the packages base downloaded out of {{.vm}} failed."
func PackagesTakeFailed(vm vmname.VM) M {
return M{id: "packages_take_failed", vals: []val{{"vm", string(vm)}}}
}
// PackagesWaiting is [packages_waiting]: "waiting for another devvm to finish with the package cache"
func PackagesWaiting() M {
return M{id: "packages_waiting"}
}
// PartNoneAlone is [part_none_alone]: "{{.flag}} takes none alone, or a list of names without it."
func PartNoneAlone(flag string) M {
return M{id: "part_none_alone", vals: []val{{"flag", flag}}}
}
// PartOtherFlag is [part_other_flag]: "There's no {{.given}} for {{.flag}}. It goes in {{.other}}, as in devvm {{.other}} {{.given}}."
func PartOtherFlag(flag string, given string, other string) M {
return M{id: "part_other_flag", vals: []val{{"flag", flag}, {"given", given}, {"other", other}}}
}
// PasswordPrompt is [password_prompt]: "Password:"
func PasswordPrompt() M {
return M{id: "password_prompt"}
}
// PasteCopyFailed is [paste_copy_failed]: "Copying the path to the clipboard failed. Paste {{.path}} into the agent yourself."
func PasteCopyFailed(path string) M {
return M{id: "paste_copy_failed", vals: []val{{"path", path}}}
}
// PasteCountFailed is [paste_count_failed]: "Counting the pasted files in {{.dir}} in {{.vm}} failed."
func PasteCountFailed(dir string, vm vmname.VM) M {
return M{id: "paste_count_failed", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// PasteDirInvalid is [paste_dir_invalid]: "{{.setting}} isn't a folder devvm paste can use. Set it as an absolute path of letters, digits, dots, dashes and _, such as /tmp/devvm-paste."
func PasteDirInvalid(setting string) M {
return M{id: "paste_dir_invalid", vals: []val{{"setting", setting}}}
}
// PasteFailed is [paste_failed]: "Sending the clipboard to this folder's VM failed: {{.reason}}."
func PasteFailed(reason string) M {
return M{id: "paste_failed", vals: []val{{"reason", reason}}}
}
// PasteFileAsk is [paste_file_ask]: "Anything in {{.vm}} can read what you send.\nSend {{.file}} from this machine?"
func PasteFileAsk(file string, vm vmname.VM) M {
return M{id: "paste_file_ask", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// PasteFileGone is [paste_file_gone]: "The file on the clipboard is gone, so devvm sent nothing. Copy the file again, then run devvm paste again."
func PasteFileGone() M {
return M{id: "paste_file_gone"}
}
// PasteFileLink is [paste_file_link]: "{{.file}} is a symbolic link, or has one on its path, so devvm sent nothing. Copy the file from the folder it's really in."
func PasteFileLink(file string) M {
return M{id: "paste_file_link", vals: []val{{"file", file}}}
}
// PasteFileOutside is [paste_file_outside]: "{{.file}} is outside {{.dir}}, the folder the VM already reads, so devvm sends it only after you say yes in a terminal. --send-file sends only a file in that folder."
func PasteFileOutside(dir string, file string) M {
return M{id: "paste_file_outside", vals: []val{{"dir", dir}, {"file", file}}}
}
// PasteFileThroughLink is [paste_file_through_link]: "{{.file}} is reached through a symbolic link, so it may not be where its path says, and devvm sends it only after you say yes in a terminal. --send-file sends only a file in the project folder with no link on its path."
func PasteFileThroughLink(file string) M {
return M{id: "paste_file_through_link", vals: []val{{"file", file}}}
}
// PasteLaunchAsk is [paste_launch_ask]: "{{.vm}} still has {{.count}} pasted files in {{.dir}} from before it stopped.\nDelete them?"
func PasteLaunchAsk(count int, dir string, vm vmname.VM) M {
return M{id: "paste_launch_ask", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"vm", string(vm)}}}
}
// PasteManyFiles is [paste_many_files]: "{{.count}} files are on the clipboard, and devvm paste sends one. Copy one file, then run it again."
func PasteManyFiles(count int) M {
return M{id: "paste_many_files", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// PasteNeedsTool is [paste_needs_tool]: "{{.tool}} isn't installed, and devvm paste reads and writes the clipboard with it. Install it, then run devvm paste again."
func PasteNeedsTool(tool string) M {
return M{id: "paste_needs_tool", vals: []val{{"tool", tool}}}
}
// PasteNoSession is [paste_no_session]: "Neither WAYLAND_DISPLAY nor DISPLAY is set, so there's no clipboard to read. Run devvm paste from a terminal in your desktop session."
func PasteNoSession() M {
return M{id: "paste_no_session"}
}
// PasteNotFile is [paste_not_file]: "{{.file}} isn't a regular file, so devvm sent nothing. Copy a file, not a folder."
func PasteNotFile(file string) M {
return M{id: "paste_not_file", vals: []val{{"file", file}}}
}
// PasteNotSent is [paste_not_sent]: "Writing {{.path}} in {{.vm}} failed."
func PasteNotSent(path string, vm vmname.VM) M {
return M{id: "paste_not_sent", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// PasteNothing is [paste_nothing]: "There's no image, PDF or copied file on the clipboard. Copy one, then run devvm paste again."
func PasteNothing() M {
return M{id: "paste_nothing"}
}
// PasteOsascriptFailed is [paste_osascript_failed]: "Reading the clipboard with osascript failed: {{.reason}}. Run devvm paste in a terminal on the Mac you're logged in to, not over ssh."
func PasteOsascriptFailed(reason string) M {
return M{id: "paste_osascript_failed", vals: []val{{"reason", reason}}}
}
// PastePut is [paste_put]: "put {{.path}} into {{.vm}}"
func PastePut(path string, vm vmname.VM) M {
return M{id: "paste_put", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// PasteRmAsk is [paste_rm_ask]: "Delete {{.count}} pasted files in {{.dir}} in {{.vm}}?"
func PasteRmAsk(count int, dir string, vm vmname.VM) M {
return M{id: "paste_rm_ask", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"vm", string(vm)}}}
}
// PasteRmDone is [paste_rm_done]: "deleted {{.count}} pasted files from {{.dir}} in {{.vm}}"
func PasteRmDone(count int, dir string, vm vmname.VM) M {
return M{id: "paste_rm_done", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"dir", dir}, {"vm", string(vm)}}}
}
// PasteRmFailed is [paste_rm_failed]: "Deleting the pasted files in this folder's VM failed: {{.reason}}."
func PasteRmFailed(reason string) M {
return M{id: "paste_rm_failed", vals: []val{{"reason", reason}}}
}
// PasteRmNone is [paste_rm_none]: "There are no pasted files in {{.dir}} in {{.vm}}."
func PasteRmNone(dir string, vm vmname.VM) M {
return M{id: "paste_rm_none", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// PasteRmNotDone is [paste_rm_not_done]: "Deleting the pasted files in {{.dir}} in {{.vm}} failed."
func PasteRmNotDone(dir string, vm vmname.VM) M {
return M{id: "paste_rm_not_done", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// PasteSent is [paste_sent]: "put {{.path}} into {{.vm}} and copied the path, for your terminal's paste shortcut"
func PasteSent(path string, vm vmname.VM) M {
return M{id: "paste_sent", vals: []val{{"path", path}, {"vm", string(vm)}}}
}
// PasteTooLarge is [paste_too_large]: "The image, PDF or file is over {{.max}}, the most devvm paste sends."
func PasteTooLarge(max string) M {
return M{id: "paste_too_large", vals: []val{{"max", max}}}
}
// PasteToolFailed is [paste_tool_failed]: "Reading the clipboard with {{.tool}} failed: {{.reason}}. Run devvm paste from a terminal in your current desktop session."
func PasteToolFailed(reason string, tool string) M {
return M{id: "paste_tool_failed", vals: []val{{"reason", reason}, {"tool", tool}}}
}
// PasteToolSlow is [paste_tool_slow]: "The app you copied from didn't hand over the clipboard within {{.count}} seconds. Copy it again, or wait until that app responds, then run devvm paste again."
func PasteToolSlow(count int) M {
return M{id: "paste_tool_slow", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// PasteUnsupported is [paste_unsupported]: "Reading the clipboard works only on macOS and Linux."
func PasteUnsupported() M {
return M{id: "paste_unsupported"}
}
// PiSettingsDropped is [pi_settings_dropped]: "The copy of pi's settings.json in {{.vm}} leaves out {{.keys}}, because devvm sets those in VMs."
func PiSettingsDropped(keys string, vm vmname.VM) M {
return M{id: "pi_settings_dropped", vals: []val{{"keys", keys}, {"vm", string(vm)}}}
}
// PiTrustsAll is [pi_trusts_all]: "pi's settings.json sets defaultProjectTrust to always, so pi in {{.vm}} loads a project folder's own .pi extensions and settings without asking. Set it to ask in devvm's agent store to have pi ask again."
func PiTrustsAll(vm vmname.VM) M {
return M{id: "pi_trusts_all", vals: []val{{"vm", string(vm)}}}
}
// PickAgents is [pick_agents]: "Coding agents, which you start in the VM's shell"
func PickAgents() M {
return M{id: "pick_agents"}
}
// PickCalledFor is [pick_called_for]: "for {{.file}}"
func PickCalledFor(file string) M {
return M{id: "pick_called_for", vals: []val{{"file", file}}}
}
// PickFailed is [pick_failed]: "The list couldn't show or was cut short, because devvm couldn't read keys from the terminal, so nothing was chosen: {{.reason}}."
func PickFailed(reason string) M {
return M{id: "pick_failed", vals: []val{{"reason", reason}}}
}
// PickFromFlag is [pick_from_flag]: "from {{.flag}}"
func PickFromFlag(flag string) M {
return M{id: "pick_from_flag", vals: []val{{"flag", flag}}}
}
// PickFromSetup is [pick_from_setup]: "from devvm setup"
func PickFromSetup() M {
return M{id: "pick_from_setup"}
}
// PickLayerDesktop is [pick_layer_desktop]: "an Xfce desktop, which devvm desktop opens"
func PickLayerDesktop() M {
return M{id: "pick_layer_desktop"}
}
// PickLayerDocker is [pick_layer_docker]: "Docker's engine, CLI, BuildKit and Compose"
func PickLayerDocker() M {
return M{id: "pick_layer_docker"}
}
// PickLayerNix is [pick_layer_nix]: "Nix, direnv and nix-direnv"
func PickLayerNix() M {
return M{id: "pick_layer_nix"}
}
// PickLayerYours is [pick_layer_yours]: "your layer"
func PickLayerYours() M {
return M{id: "pick_layer_yours"}
}
// PickLayers is [pick_layers]: "Layers: extra software built into the VM's image, such as docker, nix or desktop"
func PickLayers() M {
return M{id: "pick_layers"}
}
// PickLayersFixed is [pick_layers_fixed]: "Layers: extra software built into the VM's image, which devvm layer add and devvm layer rm change"
func PickLayersFixed() M {
return M{id: "pick_layers_fixed"}
}
// PickMore is [pick_more]: "{{.count}} more"
func PickMore(count int) M {
return M{id: "pick_more", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// PickNewHelp is [pick_new_help]: "Choose what {{.vm}} gets. Use up and down to move, space to toggle and enter to confirm."
func PickNewHelp(vm vmname.VM) M {
return M{id: "pick_new_help", vals: []val{{"vm", string(vm)}}}
}
// PickTooSmall is [pick_too_small]: "The terminal has only {{.lines}} lines, too few to show the list. Make it taller, or answer with the command's flags."
func PickTooSmall(lines string) M {
return M{id: "pick_too_small", vals: []val{{"lines", lines}}}
}
// PickToolchains is [pick_toolchains]: "Toolchains"
func PickToolchains() M {
return M{id: "pick_toolchains"}
}
// PickVMHelp is [pick_vm_help]: "Choose {{.vm}}'s shared tools. Its layers are greyed out, and devvm layer add and devvm layer rm change them. Use up and down to move, space to toggle and enter to confirm."
func PickVMHelp(vm vmname.VM) M {
return M{id: "pick_vm_help", vals: []val{{"vm", string(vm)}}}
}
// PolicyBrokenDeny is [policy_broken_deny]: "Line {{.line}} of {{.file}}, {{.rule}}, reads as a deny but isn't a rule, so every VM whose proxy reads that file denies everything until it's fixed. Fix the line or remove it."
func PolicyBrokenDeny(file string, line string, rule string) M {
return M{id: "policy_broken_deny", vals: []val{{"file", file}, {"line", line}, {"rule", rule}}}
}
// PolicyFailed is [policy_failed]: "Reading or changing the network rules failed: {{.reason}}."
func PolicyFailed(reason string) M {
return M{id: "policy_failed", vals: []val{{"reason", reason}}}
}
// PolicyNotRule is [policy_not_rule]: "Line {{.line}} of {{.file}}, {{.rule}}, isn't a rule, so VMs' proxies skip it. Fix the line or remove it."
func PolicyNotRule(file string, line string, rule string) M {
return M{id: "policy_not_rule", vals: []val{{"file", file}, {"line", line}, {"rule", rule}}}
}
// PolicyQuietNotOwn is [policy_quiet_not_own]: "Line {{.line}} of {{.file}}, {{.rule}}, marks a host quiet, which only devvm's own policies can do, so VMs' proxies skip it. Remove the line."
func PolicyQuietNotOwn(file string, line string, rule string) M {
return M{id: "policy_quiet_not_own", vals: []val{{"file", file}, {"line", line}, {"rule", rule}}}
}
// PortInvalid is [port_invalid]: "{{.value}} isn't a port list. Use all, none, or ports and ranges such as 5173,8000-8010."
func PortInvalid(value string) M {
return M{id: "port_invalid", vals: []val{{"value", value}}}
}
// PortNotListed is [port_not_listed]: "{{.port}} isn't forwarded. The forwarded ports are {{.ports}}."
func PortNotListed(port string, ports string) M {
return M{id: "port_not_listed", vals: []val{{"port", port}, {"ports", ports}}}
}
// PortNotPublished is [port_not_published]: "{{.port}} isn't published. The published ports are {{.ports}}."
func PortNotPublished(port string, ports string) M {
return M{id: "port_not_published", vals: []val{{"port", port}, {"ports", ports}}}
}
// PortsAllAlready is [ports_all_already]: "Every port is already forwarded."
func PortsAllAlready() M {
return M{id: "ports_all_already"}
}
// PortsDefault is [ports_default]: "new VMs forward {{.ports}}"
func PortsDefault(ports string) M {
return M{id: "ports_default", vals: []val{{"ports", ports}}}
}
// PortsFailed is [ports_failed]: "Showing or changing the forwarded ports failed: {{.reason}}."
func PortsFailed(reason string) M {
return M{id: "ports_failed", vals: []val{{"reason", reason}}}
}
// PortsForwardFailed is [ports_forward_failed]: "Forwarding {{.vm}}'s ports didn't start. Check {{.log}} for the reason."
func PortsForwardFailed(log string, vm vmname.VM) M {
return M{id: "ports_forward_failed", vals: []val{{"log", log}, {"vm", string(vm)}}}
}
// PortsForwarding is [ports_forwarding]: "From now on, {{.vm}} forwards {{.ports}}. devvm closed the connections that were open to its ports."
func PortsForwarding(ports string, vm vmname.VM) M {
return M{id: "ports_forwarding", vals: []val{{"ports", ports}, {"vm", string(vm)}}}
}
// PortsHeld is [ports_held]: "{{.vm}} forwards ports {{.ports}} once {{.other}} stops forwarding them."
func PortsHeld(count int, other string, ports string, vm vmname.VM) M {
return M{id: "ports_held", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"other", other}, {"ports", ports}, {"vm", string(vm)}}}
}
// PortsLimit is [ports_limit]: "{{.vm}} doesn't forward ports {{.ports}} for now because it already forwards {{.limit}} ports, the most it can at once."
func PortsLimit(count int, limit string, ports string, vm vmname.VM) M {
return M{id: "ports_limit", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"limit", limit}, {"ports", ports}, {"vm", string(vm)}}}
}
// PortsListNeeded is [ports_list_needed]: "{{.value}} isn't a list of ports. Give ports and ranges, such as 5173,8000-8010."
func PortsListNeeded(value string) M {
return M{id: "ports_list_needed", vals: []val{{"value", value}}}
}
// PortsNow is [ports_now]: "{{.vm}} forwards {{.ports}}"
func PortsNow(ports string, vm vmname.VM) M {
return M{id: "ports_now", vals: []val{{"ports", ports}, {"vm", string(vm)}}}
}
// PortsRefused is [ports_refused]: "{{.vm}} doesn't forward ports {{.ports}} because this machine doesn't let devvm use them, as with ports below 1024 on Linux."
func PortsRefused(count int, ports string, vm vmname.VM) M {
return M{id: "ports_refused", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"ports", ports}, {"vm", string(vm)}}}
}
// PortsRestarting is [ports_restarting]: "starting {{.vm}}'s port forwarder again"
func PortsRestarting(vm vmname.VM) M {
return M{id: "ports_restarting", vals: []val{{"vm", string(vm)}}}
}
// PortsRmAll is [ports_rm_all]: "Every port is forwarded, so none can be removed. Set the ones to keep instead, as in devvm ports 5173,8000-8010."
func PortsRmAll() M {
return M{id: "ports_rm_all"}
}
// PortsSSHLimit is [ports_ssh_limit]: "No more VMs can start, because {{.held}} of the {{.limit}} ports VMs' ssh can use are in use by {{.vms}}, and the other {{.others}} are taken on this machine. Stop one of those VMs first, with devvm stop in its folder."
func PortsSSHLimit(held string, limit string, others string, vms string) M {
return M{id: "ports_ssh_limit", vals: []val{{"held", held}, {"limit", limit}, {"others", others}, {"vms", vms}}}
}
// PortsSSHLimitAll is [ports_ssh_limit_all]: "No more VMs can start, because all {{.limit}} ports VMs' ssh can use are in use by {{.vms}}. Stop one of those VMs first, with devvm stop in its folder."
func PortsSSHLimitAll(limit string, vms string) M {
return M{id: "ports_ssh_limit_all", vals: []val{{"limit", limit}, {"vms", vms}}}
}
// PortsSSHLimitOthers is [ports_ssh_limit_others]: "No more VMs can start, because all {{.limit}} ports VMs' ssh can use are taken on this machine, by VMs starting or building, by ports a running VM lists to forward, or by other programs. Wait for the builds to finish, take the ports out of the VM's list with devvm ports, or end the programs that have them."
func PortsSSHLimitOthers(limit string) M {
return M{id: "ports_ssh_limit_others", vals: []val{{"limit", limit}}}
}
// PortsSSHListed is [ports_ssh_listed]: "Ports {{.ports}} are among the ports browsers refuse, which devvm keeps for VMs' ssh. No browser opens them, and while a VM forwards them, fewer VMs can start."
func PortsSSHListed(count int, ports string) M {
return M{id: "ports_ssh_listed", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"ports", ports}}}
}
// PortsSSHOld is [ports_ssh_old]: "{{.vms}} still run with ssh on a port browsers don't refuse, which an older devvm chose. Run devvm stop in each one's folder, and its next start moves it."
func PortsSSHOld(vms string) M {
return M{id: "ports_ssh_old", vals: []val{{"vms", vms}}}
}
// PortsTaken is [ports_taken]: "{{.vm}} doesn't forward ports {{.ports}} for now because they're in use on this machine."
func PortsTaken(count int, ports string, vm vmname.VM) M {
return M{id: "ports_taken", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"ports", ports}, {"vm", string(vm)}}}
}
// ProgramBroken is [program_broken]: "{{.name}} is installed, but {{.command}} fails. Reinstall {{.name}}."
func ProgramBroken(command string, name string) M {
return M{id: "program_broken", vals: []val{{"command", command}, {"name", name}}}
}
// ProgramBrokenFix is [program_broken_fix]: "{{.name}} is installed, but {{.command}} fails. Run {{.fix}} to reinstall it."
func ProgramBrokenFix(command string, fix string, name string) M {
return M{id: "program_broken_fix", vals: []val{{"command", command}, {"fix", fix}, {"name", name}}}
}
// ProgramMissing is [program_missing]: "{{.program}} isn't installed. Install {{.name}}."
func ProgramMissing(name string, program string) M {
return M{id: "program_missing", vals: []val{{"name", name}, {"program", program}}}
}
// ProgramMissingFix is [program_missing_fix]: "{{.program}} isn't installed. Run {{.fix}} to install {{.name}}."
func ProgramMissingFix(fix string, name string, program string) M {
return M{id: "program_missing_fix", vals: []val{{"fix", fix}, {"name", name}, {"program", program}}}
}
// ProgramOld is [program_old]: "{{.name}} {{.version}} is too old. Upgrade to {{.name}} {{.min}} or newer."
func ProgramOld(min string, name string, version string) M {
return M{id: "program_old", vals: []val{{"min", min}, {"name", name}, {"version", version}}}
}
// ProgramOldFix is [program_old_fix]: "{{.name}} {{.version}} is too old. Run {{.fix}} to upgrade it."
func ProgramOldFix(fix string, name string, version string) M {
return M{id: "program_old_fix", vals: []val{{"fix", fix}, {"name", name}, {"version", version}}}
}
// ProjectAgentFolder is [project_agent_folder]: "{{.dir}} overlaps {{.folders}}, so code in the VM can change your coding agents' settings on this machine. Keep the project somewhere else unless you trust it."
func ProjectAgentFolder(dir string, folders string) M {
return M{id: "project_agent_folder", vals: []val{{"dir", dir}, {"folders", folders}}}
}
// ProjectFolderChanged is [project_folder_changed]: "{{.dir}} became a link or another folder after devvm found {{.vm}}, so devvm didn't start the VM, which would have mounted it. Find what replaced it and put the project folder back, then run the command again."
func ProjectFolderChanged(dir string, vm vmname.VM) M {
return M{id: "project_folder_changed", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// ProjectFolderChangedStopped is [project_folder_changed_stopped]: "{{.dir}} became a link or another folder while {{.vm}} started, so devvm stopped the VM, which may have mounted it. Find what replaced it and put the project folder back, then run the command again."
func ProjectFolderChangedStopped(dir string, vm vmname.VM) M {
return M{id: "project_folder_changed_stopped", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// ProjectInVMFolder is [project_in_vm_folder]: "{{.dir}} is inside the folder that {{.vm}} mounts, so code in that VM can change this project's files and replace its folder. To keep the two projects apart, move this one out of that folder."
func ProjectInVMFolder(dir string, vm vmname.VM) M {
return M{id: "project_in_vm_folder", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// ProjectUnchecked is [project_unchecked]: "Checking that {{.vm}}'s project folder is mounted in the VM failed, so devvm didn't open a shell in it. Run devvm restart to mount the folder again."
func ProjectUnchecked(vm vmname.VM) M {
return M{id: "project_unchecked", vals: []val{{"vm", string(vm)}}}
}
// ProjectUnmounted is [project_unmounted]: "{{.vm}}'s project folder isn't mounted in the VM, so what's written there goes to the VM's own disk. Run devvm restart to mount it again."
func ProjectUnmounted(vm vmname.VM) M {
return M{id: "project_unmounted", vals: []val{{"vm", string(vm)}}}
}
// ProxyApplyingTier is [proxy_applying_tier]: "giving {{.vm}}'s proxy its new network tier"
func ProxyApplyingTier(vm vmname.VM) M {
return M{id: "proxy_applying_tier", vals: []val{{"vm", string(vm)}}}
}
// ProxyCAFailed is [proxy_ca_failed]: "Creating the proxy's CA in {{.dir}} failed."
func ProxyCAFailed(dir string) M {
return M{id: "proxy_ca_failed", vals: []val{{"dir", dir}}}
}
// ProxyConfinementUnknown is [proxy_confinement_unknown]: "Whether {{.vm}}'s proxy runs in its sandbox can't be told, as devvm can't read when the proxy started ({{.why}}). Run devvm restart in the VM's folder, and report a bug if this warning stays."
func ProxyConfinementUnknown(vm vmname.VM, why string) M {
return M{id: "proxy_confinement_unknown", vals: []val{{"vm", string(vm)}, {"why", why}}}
}
// ProxyFailed is [proxy_failed]: "The VM's proxy failed: {{.reason}}."
func ProxyFailed(reason string) M {
return M{id: "proxy_failed", vals: []val{{"reason", reason}}}
}
// ProxyOld is [proxy_old]: "{{.vm}}'s proxy runs as one process, without a sandbox, because an older devvm started it. Run devvm in the VM's folder to start it again."
func ProxyOld(vm vmname.VM) M {
return M{id: "proxy_old", vals: []val{{"vm", string(vm)}}}
}
// ProxyOtherBinary is [proxy_other_binary]: "{{.vm}}'s proxy is from another devvm binary, which denies the VM everything while it has a deny by method and path, and skips an allow by method and path, until it starts again. Run devvm in the VM's folder to start its proxy again."
func ProxyOtherBinary(vm vmname.VM) M {
return M{id: "proxy_other_binary", vals: []val{{"vm", string(vm)}}}
}
// ProxyPasswordHowto is [proxy_password_howto]: "Type the company proxy's password for the user that config.toml's proxy names. Only devvm's proxies on this machine send it, and only to the company proxy."
func ProxyPasswordHowto() M {
return M{id: "proxy_password_howto"}
}
// ProxyPasswordInConfig is [proxy_password_in_config]: "{{.key}} holds a password, and config.toml never keeps one. Leave only the user in the URL, as http://user@host:port, and save the password with devvm secret set proxy."
func ProxyPasswordInConfig(key string) M {
return M{id: "proxy_password_in_config", vals: []val{{"key", key}}}
}
// ProxyPasswordMissing is [proxy_password_missing]: "config.toml's proxy names a user, and no password for it is saved. Save it with devvm secret set proxy."
func ProxyPasswordMissing() M {
return M{id: "proxy_password_missing"}
}
// ProxyPortTaken is [proxy_port_taken]: "Another program took port {{.port}}, which {{.vm}}'s network goes through. devvm picks another port when it next starts {{.vm}}."
func ProxyPortTaken(port string, vm vmname.VM) M {
return M{id: "proxy_port_taken", vals: []val{{"port", port}, {"vm", string(vm)}}}
}
// ProxyStartFailed is [proxy_start_failed]: "{{.vm}}'s proxy didn't start. Check {{.log}} for why."
func ProxyStartFailed(log string, vm vmname.VM) M {
return M{id: "proxy_start_failed", vals: []val{{"log", log}, {"vm", string(vm)}}}
}
// ProxyStopFailed is [proxy_stop_failed]: "{{.vm}}'s proxy didn't stop, so devvm couldn't start it again with new settings. Run devvm stop, then devvm."
func ProxyStopFailed(vm vmname.VM) M {
return M{id: "proxy_stop_failed", vals: []val{{"vm", string(vm)}}}
}
// ProxyUnconfined is [proxy_unconfined]: "{{.vm}}'s proxy isn't confined to only what it needs ({{.confinement}}). Check {{.log}} for why."
func ProxyUnconfined(confinement string, log string, vm vmname.VM) M {
return M{id: "proxy_unconfined", vals: []val{{"confinement", confinement}, {"log", log}, {"vm", string(vm)}}}
}
// ProxyUnconfinedCheckFailed is [proxy_unconfined_check_failed]: "{{.vm}}'s proxy runs without a sandbox, because its sandbox let it open a file it mustn't. Check {{.log}} for more."
func ProxyUnconfinedCheckFailed(log string, vm vmname.VM) M {
return M{id: "proxy_unconfined_check_failed", vals: []val{{"log", log}, {"vm", string(vm)}}}
}
// ProxyUnconfinedNoKernel is [proxy_unconfined_no_kernel]: "{{.vm}}'s proxy runs without a sandbox, because this kernel has neither Landlock nor seccomp filters."
func ProxyUnconfinedNoKernel(vm vmname.VM) M {
return M{id: "proxy_unconfined_no_kernel", vals: []val{{"vm", string(vm)}}}
}
// ProxyUnconfinedNoLandlock is [proxy_unconfined_no_landlock]: "{{.vm}}'s proxy can read and write your files, because this kernel has no Landlock, or one older than ABI 2. Its seccomp filter still keeps it from your unix sockets."
func ProxyUnconfinedNoLandlock(vm vmname.VM) M {
return M{id: "proxy_unconfined_no_landlock", vals: []val{{"vm", string(vm)}}}
}
// ProxyUnconfinedNoSandbox is [proxy_unconfined_no_sandbox]: "{{.vm}}'s proxy runs without a sandbox, because macOS's sandbox-exec is missing."
func ProxyUnconfinedNoSandbox(vm vmname.VM) M {
return M{id: "proxy_unconfined_no_sandbox", vals: []val{{"vm", string(vm)}}}
}
// ProxyUnconfinedNoSeccomp is [proxy_unconfined_no_seccomp]: "{{.vm}}'s proxy runs without its seccomp filter, because this kernel has none, so only Landlock confines it."
func ProxyUnconfinedNoSeccomp(vm vmname.VM) M {
return M{id: "proxy_unconfined_no_seccomp", vals: []val{{"vm", string(vm)}}}
}
// ProxyUnconfinedOldPorts is [proxy_unconfined_old_ports]: "This kernel's Landlock is older than ABI 4, so {{.vm}}'s proxy could bind a port, such as another VM's proxy port, and signal your other processes."
func ProxyUnconfinedOldPorts(vm vmname.VM) M {
return M{id: "proxy_unconfined_old_ports", vals: []val{{"vm", string(vm)}}}
}
// ProxyUnconfinedOldSignals is [proxy_unconfined_old_signals]: "This kernel's Landlock can't keep {{.vm}}'s proxy from signalling your other processes."
func ProxyUnconfinedOldSignals(vm vmname.VM) M {
return M{id: "proxy_unconfined_old_signals", vals: []val{{"vm", string(vm)}}}
}
// ProxyUnconfinedSandboxFailed is [proxy_unconfined_sandbox_failed]: "{{.vm}}'s proxy runs without a sandbox, because sandbox-exec couldn't start it. Check {{.log}} for why."
func ProxyUnconfinedSandboxFailed(log string, vm vmname.VM) M {
return M{id: "proxy_unconfined_sandbox_failed", vals: []val{{"log", log}, {"vm", string(vm)}}}
}
// ProxyUnconfinedUnsupported is [proxy_unconfined_unsupported]: "{{.vm}}'s proxy runs without a sandbox, because devvm can't confine it on this system yet."
func ProxyUnconfinedUnsupported(vm vmname.VM) M {
return M{id: "proxy_unconfined_unsupported", vals: []val{{"vm", string(vm)}}}
}
// Published is [published]: "{{.vm}} offers {{.ports}} to links from your other VMs."
func Published(ports string, vm vmname.VM) M {
return M{id: "published", vals: []val{{"ports", ports}, {"vm", string(vm)}}}
}
// QEMUConnectsFull is [qemu_connects_full]: "The VM already has {{.limit}} connections to its proxy open, the most devvm carries at once, so devvm refused another. Connections it refuses in the next minute aren't logged."
func QEMUConnectsFull(limit string) M {
return M{id: "qemu_connects_full", vals: []val{{"limit", limit}}}
}
// QEMUPinsFailed is [qemu_pins_failed]: "devvm couldn't pin .git's hooks and config for the VM ({{.reason}}), so devvm didn't start QEMU."
func QEMUPinsFailed(reason string) M {
return M{id: "qemu_pins_failed", vals: []val{{"reason", reason}}}
}
// QEMUPinsInvalid is [qemu_pins_invalid]: "devvm can't pin {{.path}} in the VM's project folder, so devvm didn't start QEMU."
func QEMUPinsInvalid(path string) M {
return M{id: "qemu_pins_invalid", vals: []val{{"path", path}}}
}
// QEMURefused is [qemu_refused]: "The arguments for QEMU don't have exactly one -netdev user,id=net0,… for devvm to restrict, so devvm didn't start it."
func QEMURefused() M {
return M{id: "qemu_refused"}
}
// ReadingHostKeys is [reading_host_keys]: "reading {{.vm}}'s host keys"
func ReadingHostKeys(vm vmname.VM) M {
return M{id: "reading_host_keys", vals: []val{{"vm", string(vm)}}}
}
// ReadingImages is [reading_images]: "reading images and shared tools"
func ReadingImages() M {
return M{id: "reading_images"}
}
// ReadingPasted is [reading_pasted]: "reading the pasted files in {{.dir}} in {{.vm}}"
func ReadingPasted(dir string, vm vmname.VM) M {
return M{id: "reading_pasted", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// ReadingSpace is [reading_space]: "reading what devvm keeps"
func ReadingSpace() M {
return M{id: "reading_space"}
}
// ReadingVMs is [reading_vms]: "reading the VMs"
func ReadingVMs() M {
return M{id: "reading_vms"}
}
// RebuildReplaces is [rebuild_replaces]: "Rebuilding {{.image}} replaces it and deletes the images built on it: {{.above}}.\ndevvm builds them again when they're next needed, and VMs keep the images they have."
func RebuildReplaces(above string, image string) M {
return M{id: "rebuild_replaces", vals: []val{{"above", above}, {"image", image}}}
}
// RebuildsWaiting is [rebuilds_waiting]: "waiting for another devvm to finish changing a rebuild counter"
func RebuildsWaiting() M {
return M{id: "rebuilds_waiting"}
}
// Remade is [remade]: "made {{.vm}} again from {{.image}}"
func Remade(image string, vm vmname.VM) M {
return M{id: "remade", vals: []val{{"image", image}, {"vm", string(vm)}}}
}
// RemakeAnyway is [remake_anyway]: "Make it again anyway?"
func RemakeAnyway() M {
return M{id: "remake_anyway"}
}
// RemakeClone is [remake_clone]: "{{.vm}} keeps its clone of the repo on its own disk, so devvm can't make it again. Run devvm clone off first, which offers to fetch the clone's work into this repo."
func RemakeClone(vm vmname.VM) M {
return M{id: "remake_clone", vals: []val{{"vm", string(vm)}}}
}
// RemakeConfirm is [remake_confirm]: "devvm makes {{.vm}} again from {{.image}}, keeping its home folder, the project folder and its settings. Everything else on its disk is lost, such as packages you installed, Docker's images and the Nix store. Make it again?"
func RemakeConfirm(image string, vm vmname.VM) M {
return M{id: "remake_confirm", vals: []val{{"image", image}, {"vm", string(vm)}}}
}
// RemakeConfirmCleanHome is [remake_confirm_clean_home]: "devvm makes {{.vm}} again from {{.image}}, keeping the project folder and its settings. Everything else on its disk is lost, its home folder included. Make it again?"
func RemakeConfirmCleanHome(image string, vm vmname.VM) M {
return M{id: "remake_confirm_clean_home", vals: []val{{"image", image}, {"vm", string(vm)}}}
}
// RemakeFailed is [remake_failed]: "Making this folder's VM again failed: {{.reason}}."
func RemakeFailed(reason string) M {
return M{id: "remake_failed", vals: []val{{"reason", reason}}}
}
// RemakeHomeFailed is [remake_home_failed]: "Saving {{.vm}}'s home folder failed, so devvm kept the VM as it was. Run {{.command}} --clean-home to go ahead without it."
func RemakeHomeFailed(command string, vm vmname.VM) M {
return M{id: "remake_home_failed", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// RemakeHomeLost is [remake_home_lost]: "{{.vm}}'s saved home folder is gone, so its new disk has the image's home folder."
func RemakeHomeLost(vm vmname.VM) M {
return M{id: "remake_home_lost", vals: []val{{"vm", string(vm)}}}
}
// RemakeParentVM is [remake_parent_vm]: "{{.vm}} was made for {{.dir}}, which this folder is inside. To make it again, run {{.command}} in {{.dir}}, or here in a terminal without --no-input to confirm."
func RemakeParentVM(command string, dir string, vm vmname.VM) M {
return M{id: "remake_parent_vm", vals: []val{{"command", command}, {"dir", dir}, {"vm", string(vm)}}}
}
// RemakeParentVMAsk is [remake_parent_vm_ask]: "{{.vm}} was made for {{.dir}}, which this folder is inside, and may hold that project's work. Make it again?"
func RemakeParentVMAsk(dir string, vm vmname.VM) M {
return M{id: "remake_parent_vm_ask", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RemakePending is [remake_pending]: "Making {{.vm}} again didn't finish. Run devvm in {{.dir}} to finish it."
func RemakePending(dir string, vm vmname.VM) M {
return M{id: "remake_pending", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RemakeRestoreFailed is [remake_restore_failed]: "Copying {{.vm}}'s home folder onto its new disk failed."
func RemakeRestoreFailed(vm vmname.VM) M {
return M{id: "remake_restore_failed", vals: []val{{"vm", string(vm)}}}
}
// RemakeResuming is [remake_resuming]: "finishing making {{.vm}} again from {{.image}}"
func RemakeResuming(image string, vm vmname.VM) M {
return M{id: "remake_resuming", vals: []val{{"image", image}, {"vm", string(vm)}}}
}
// RemakeRunning is [remake_running]: "Another devvm is making {{.vm}} again. Run the command again once it has finished."
func RemakeRunning(vm vmname.VM) M {
return M{id: "remake_running", vals: []val{{"vm", string(vm)}}}
}
// RemakeUndoFailed is [remake_undo_failed]: "Putting {{.vm}} back as it was failed. Run devvm in {{.dir}} to finish making it again."
func RemakeUndoFailed(dir string, vm vmname.VM) M {
return M{id: "remake_undo_failed", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RemakeUndone is [remake_undone]: "putting {{.vm}} back as it was"
func RemakeUndone(vm vmname.VM) M {
return M{id: "remake_undone", vals: []val{{"vm", string(vm)}}}
}
// RemakeUnfinished is [remake_unfinished]: "Creating {{.vm}} didn't finish, so nothing of yours is in it.\nDelete {{.vm}} and make it again?"
func RemakeUnfinished(vm vmname.VM) M {
return M{id: "remake_unfinished", vals: []val{{"vm", string(vm)}}}
}
// RemoteAddFailed is [remote_add_failed]: "Adding the git remote {{.remote}} failed. Run devvm again to retry."
func RemoteAddFailed(remote string) M {
return M{id: "remote_add_failed", vals: []val{{"remote", remote}}}
}
// RemoteKept is [remote_kept]: "Keeping the branches fetched from the git remote {{.remote}} as local branches failed, so devvm left the remote in place."
func RemoteKept(remote string) M {
return M{id: "remote_kept", vals: []val{{"remote", remote}}}
}
// RemotesTaken is [remotes_taken]: "This repo already has other git remotes named devvm, devvm-{{.slug}} and {{.vm}}. Remove one, then run devvm again."
func RemotesTaken(slug string, vm vmname.VM) M {
return M{id: "remotes_taken", vals: []val{{"slug", slug}, {"vm", string(vm)}}}
}
// RemountRestarting is [remount_restarting]: "restarting {{.vm}} to mount its project folder"
func RemountRestarting(vm vmname.VM) M {
return M{id: "remount_restarting", vals: []val{{"vm", string(vm)}}}
}
// Remounting is [remounting]: "mounting {{.vm}}'s project folder again"
func Remounting(vm vmname.VM) M {
return M{id: "remounting", vals: []val{{"vm", string(vm)}}}
}
// RemovedRemote is [removed_remote]: "removed git remote {{.remote}}"
func RemovedRemote(remote string) M {
return M{id: "removed_remote", vals: []val{{"remote", remote}}}
}
// RenameFailed is [rename_failed]: "Renaming {{.vm}} to {{.to}} failed."
func RenameFailed(to string, vm vmname.VM) M {
return M{id: "rename_failed", vals: []val{{"to", to}, {"vm", string(vm)}}}
}
// Renaming is [renaming]: "renaming {{.vm}} to {{.to}}"
func Renaming(to string, vm vmname.VM) M {
return M{id: "renaming", vals: []val{{"to", to}, {"vm", string(vm)}}}
}
// ReposNotWorkspace is [repos_not_workspace]: "--repos chooses the repos of a folder of repos, and {{.dir}} has none that --clone can copy besides its own. Run devvm --clone without --repos."
func ReposNotWorkspace(dir string) M {
return M{id: "repos_not_workspace", vals: []val{{"dir", dir}}}
}
// ReposValue is [repos_value]: "--repos takes all, none, or a comma-separated list of repos' folders relative to this folder, such as frontend,backend, and not {{.value}}."
func ReposValue(value string) M {
return M{id: "repos_value", vals: []val{{"value", value}}}
}
// ResolvingTools is [resolving_tools]: "resolving the shared tools' versions"
func ResolvingTools() M {
return M{id: "resolving_tools"}
}
// RestartNow is [restart_now]: "Restarting {{.vm}} applies the changes now, and anything running in it stops. Restart it now?"
func RestartNow(count int, vm vmname.VM) M {
return M{id: "restart_now", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"vm", string(vm)}}}
}
// RestoringHome is [restoring_home]: "copying {{.vm}}'s home folder onto its new disk"
func RestoringHome(vm vmname.VM) M {
return M{id: "restoring_home", vals: []val{{"vm", string(vm)}}}
}
// Retaining is [retaining]: "applying the retention settings"
func Retaining() M {
return M{id: "retaining"}
}
// RetentionBad is [retention_bad]: "That retention setting is refused, and nothing changed: {{.reason}}."
func RetentionBad(reason string) M {
return M{id: "retention_bad", vals: []val{{"reason", reason}}}
}
// RetentionBusy is [retention_busy]: "Another devvm is applying the retention settings. Run devvm gc --retention again once it's done."
func RetentionBusy() M {
return M{id: "retention_busy"}
}
// RetentionDeleted is [retention_deleted]: "retention deleted {{.exports}} exports, {{.tools}} shared tool images no VM has, what devvm kept for {{.orphans}} VMs gone from their backend, and {{.nix_files}} files of the shared Nix cache"
func RetentionDeleted(exports string, nixFiles string, orphans string, tools string) M {
return M{id: "retention_deleted", vals: []val{{"exports", exports}, {"nix_files", nixFiles}, {"orphans", orphans}, {"tools", tools}}}
}
// RetentionFailed is [retention_failed]: "Applying the retention settings failed. Run devvm gc --retention to see why."
func RetentionFailed() M {
return M{id: "retention_failed"}
}
// RetentionOff is [retention_off]: "no retention setting is on"
func RetentionOff() M {
return M{id: "retention_off"}
}
// RetentionSaved is [retention_saved]: "saved the retention settings in {{.file}}"
func RetentionSaved(file string) M {
return M{id: "retention_saved", vals: []val{{"file", file}}}
}
// RetentionSettingsFailed is [retention_settings_failed]: "Reading or changing the retention settings failed: {{.reason}}."
func RetentionSettingsFailed(reason string) M {
return M{id: "retention_settings_failed", vals: []val{{"reason", reason}}}
}
// RetentionUnreadable is [retention_unreadable]: "The retention settings can't be read, so devvm applies none. Fix or delete the line it names, then run devvm retention to check them."
func RetentionUnreadable() M {
return M{id: "retention_unreadable"}
}
// RmConfirm is [rm_confirm]: "Delete {{.vm}}, with everything in it?"
func RmConfirm(vm vmname.VM) M {
return M{id: "rm_confirm", vals: []val{{"vm", string(vm)}}}
}
// RmFailed is [rm_failed]: "Deleting this folder's VM failed: {{.reason}}."
func RmFailed(reason string) M {
return M{id: "rm_failed", vals: []val{{"reason", reason}}}
}
// RmGoneClone is [rm_gone_clone]: "{{.vm}}'s repo {{.dir}} is gone, so devvm can't fetch the clone's work into it. Run devvm rm {{.vm}} --no-clone-check to delete the VM and that work with it."
func RmGoneClone(dir string, vm vmname.VM) M {
return M{id: "rm_gone_clone", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RmGoneStopped is [rm_gone_stopped]: "{{.vm}} is stopped, and starting it to export its agents' history would make {{.dir}} again. Run devvm rm {{.vm}} --no-export to delete it without exporting."
func RmGoneStopped(dir string, vm vmname.VM) M {
return M{id: "rm_gone_stopped", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RmGoneStoppedTrees is [rm_gone_stopped_trees]: "{{.vm}} is stopped, and starting it to check its agents' worktrees for uncommitted changes would make {{.dir}} again. Run devvm rm {{.vm}} --no-export --no-worktree-check to delete it without starting it."
func RmGoneStoppedTrees(dir string, vm vmname.VM) M {
return M{id: "rm_gone_stopped_trees", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RmParentVM is [rm_parent_vm]: "{{.vm}} was made for {{.dir}}, which this folder is inside. To delete it, run devvm rm in {{.dir}}, or here in a terminal without --no-input to confirm."
func RmParentVM(dir string, vm vmname.VM) M {
return M{id: "rm_parent_vm", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RmUnknownVM is [rm_unknown_vm]: "There's no VM named {{.name}}. Give a VM's name, as devvm ls lists them, or its ssh alias."
func RmUnknownVM(name string) M {
return M{id: "rm_unknown_vm", vals: []val{{"name", name}}}
}
// RmVMFailed is [rm_vm_failed]: "Deleting {{.name}} failed: {{.reason}}."
func RmVMFailed(name string, reason string) M {
return M{id: "rm_vm_failed", vals: []val{{"name", name}, {"reason", reason}}}
}
// RmVMFolderFlag is [rm_vm_folder_flag]: "devvm rm VM deletes the VM you name, so it takes no {{.flag}}."
func RmVMFolderFlag(flag string) M {
return M{id: "rm_vm_folder_flag", vals: []val{{"flag", flag}}}
}
// RmVMFolderThere is [rm_vm_folder_there]: "{{.vm}} was made for {{.dir}}, which is still there. To delete it, run devvm rm in {{.dir}}."
func RmVMFolderThere(dir string, vm vmname.VM) M {
return M{id: "rm_vm_folder_there", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RmVMLost is [rm_vm_lost]: "{{.vm}}'s backend no longer has it. Run devvm gc --orphans to delete what devvm keeps for it."
func RmVMLost(vm vmname.VM) M {
return M{id: "rm_vm_lost", vals: []val{{"vm", string(vm)}}}
}
// RmVMNotConnected is [rm_vm_not_connected]: "{{.vm}} was made for {{.dir}}, which is on a disk that isn't connected. Connect the disk, or to delete the VM anyway, run devvm rm {{.vm}} in a terminal without --no-input."
func RmVMNotConnected(dir string, vm vmname.VM) M {
return M{id: "rm_vm_not_connected", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// RuleAdded is [rule_added]: "devvm added {{.rule}} to {{.vm}}'s rules."
func RuleAdded(rule string, vm vmname.VM) M {
return M{id: "rule_added", vals: []val{{"rule", rule}, {"vm", string(vm)}}}
}
// RuleAddedGlobal is [rule_added_global]: "devvm added {{.rule}} to every VM's rules."
func RuleAddedGlobal(rule string) M {
return M{id: "rule_added_global", vals: []val{{"rule", rule}}}
}
// RuleMissing is [rule_missing]: "{{.rule}} isn't in {{.file}}."
func RuleMissing(file string, rule string) M {
return M{id: "rule_missing", vals: []val{{"file", file}, {"rule", rule}}}
}
// RuleNarrows is [rule_narrows]: "The proxy now decrypts {{.host}}'s HTTPS on port 443 to check each request, so a tool that doesn't trust the VM's CA fails there, and a new tunnel to it on another port is refused. Tunnels to it that are open already carry on unchecked until they close."
func RuleNarrows(host string) M {
return M{id: "rule_narrows", vals: []val{{"host", host}}}
}
// RuleNarrowsHTTPOnly is [rule_narrows_http_only]: "{{.rule}} narrows only plain HTTP on port 80 on {{.vms}}, because another rule there already allows {{.host}}:443 whole, and allows add up. To keep a VM from some of its HTTPS requests there, deny them instead, such as devvm network deny {{.host}} --method POST,PUT,PATCH,DELETE."
func RuleNarrowsHTTPOnly(host string, rule string, vms string) M {
return M{id: "rule_narrows_http_only", vals: []val{{"host", host}, {"rule", rule}, {"vms", vms}}}
}
// RuleNarrowsNothing is [rule_narrows_nothing]: "{{.rule}} narrows nothing on {{.vms}}, because another rule there already allows {{.host}} whole, and allows add up. To keep a VM from some of its requests there, deny them instead, such as devvm network deny {{.host}} --method POST,PUT,PATCH,DELETE."
func RuleNarrowsNothing(host string, rule string, vms string) M {
return M{id: "rule_narrows_nothing", vals: []val{{"host", host}, {"rule", rule}, {"vms", vms}}}
}
// RuleNarrowsUnknown is [rule_narrows_unknown]: "Reading {{.vm}}'s rules failed, so devvm can't tell whether the allow narrows anything there: {{.reason}}."
func RuleNarrowsUnknown(reason string, vm vmname.VM) M {
return M{id: "rule_narrows_unknown", vals: []val{{"reason", reason}, {"vm", string(vm)}}}
}
// RuleNotNarrowable is [rule_not_narrowable]: "{{.rule}} can't take --method or --path, because an address, a CIDR or ** names no host whose HTTPS the proxy could decrypt. Give a host name instead, such as api.github.com or *.example.com."
func RuleNotNarrowable(rule string) M {
return M{id: "rule_not_narrowable", vals: []val{{"rule", rule}}}
}
// RulePresent is [rule_present]: "{{.rule}} is already in {{.file}}."
func RulePresent(file string, rule string) M {
return M{id: "rule_present", vals: []val{{"file", file}, {"rule", rule}}}
}
// RuleRemoved is [rule_removed]: "devvm removed {{.rule}} from {{.vm}}'s rules."
func RuleRemoved(rule string, vm vmname.VM) M {
return M{id: "rule_removed", vals: []val{{"rule", rule}, {"vm", string(vm)}}}
}
// RuleRemovedGlobal is [rule_removed_global]: "devvm removed {{.rule}} from every VM's rules."
func RuleRemovedGlobal(rule string) M {
return M{id: "rule_removed_global", vals: []val{{"rule", rule}}}
}
// RunLogFailed is [run_log_failed]: "Writing the run log in {{.dir}} failed: {{.reason}}."
func RunLogFailed(dir string, reason string) M {
return M{id: "run_log_failed", vals: []val{{"dir", dir}, {"reason", reason}}}
}
// RunningScript is [running_script]: "running {{.script}} in {{.what}}"
func RunningScript(script string, what string) M {
return M{id: "running_script", vals: []val{{"script", script}, {"what", what}}}
}
// SavedBranches is [saved_branches]: "devvm kept the VM's branches as the local branches {{.branches}}."
func SavedBranches(branches string) M {
return M{id: "saved_branches", vals: []val{{"branches", branches}}}
}
// SavedNamesTaken is [saved_names_taken]: "This repo has no free branch names from saved/{{.remote}}/* to saved/{{.remote}}-99/* to keep the VM's branches under, so devvm kept {{.vm}} as it is. Rename or delete some of those branches, then run {{.command}} again."
func SavedNamesTaken(command string, remote string, vm vmname.VM) M {
return M{id: "saved_names_taken", vals: []val{{"command", command}, {"remote", remote}, {"vm", string(vm)}}}
}
// SavedNamesTakenFetch is [saved_names_taken_fetch]: "This repo has no free branch names from saved/{{.remote}}/* to saved/{{.remote}}-99/* to keep the commits of the VM's detached HEAD under. Rename or delete some of those branches, then run devvm clone fetch again."
func SavedNamesTakenFetch(remote string) M {
return M{id: "saved_names_taken_fetch", vals: []val{{"remote", remote}}}
}
// SavingHome is [saving_home]: "saving {{.vm}}'s home folder"
func SavingHome(vm vmname.VM) M {
return M{id: "saving_home", vals: []val{{"vm", string(vm)}}}
}
// ScriptFailed is [script_failed]: "{{.script}} failed in {{.vm}}, and devvm keeps it stopped until the next build or devvm gc deletes it. To look inside, run devvm limactl shell --start {{.vm}}."
func ScriptFailed(script string, vm vmname.VM) M {
return M{id: "script_failed", vals: []val{{"script", script}, {"vm", string(vm)}}}
}
// SecretBindingChanged is [secret_binding_changed]: "The VM's proxy has a binding of {{.secret}} that isn't the secret as it's saved now, so it put nothing in. The VM's next launch writes its bindings again."
func SecretBindingChanged(secret string) M {
return M{id: "secret_binding_changed", vals: []val{{"secret", secret}}}
}
// SecretEnvTaken is [secret_env_taken]: "Your {{.secret}} secret already gives VMs its placeholder in {{.env}}. Give this one another variable with --env."
func SecretEnvTaken(env string, secret string) M {
return M{id: "secret_env_taken", vals: []val{{"env", env}, {"secret", secret}}}
}
// SecretFailed is [secret_failed]: "Reading or changing the saved secrets failed: {{.reason}}."
func SecretFailed(reason string) M {
return M{id: "secret_failed", vals: []val{{"reason", reason}}}
}
// SecretFixed is [secret_fixed]: "The {{.secret}} secret's hosts, header and variable are devvm's own, so devvm secret set {{.secret}} takes no --host, --header, --env or --prefix."
func SecretFixed(secret string) M {
return M{id: "secret_fixed", vals: []val{{"secret", secret}}}
}
// SecretHostOnly is [secret_host_only]: "VMs never get the {{.secret}} secret, because only devvm's proxies on this machine send it to the company proxy."
func SecretHostOnly(secret string) M {
return M{id: "secret_host_only", vals: []val{{"secret", secret}}}
}
// SecretHostsChanged is [secret_hosts_changed]: "{{.vms}} use the {{.secret}} secret, which now goes only to {{.hosts}} on port 443."
func SecretHostsChanged(count int, hosts string, secret string, vms string) M {
return M{id: "secret_hosts_changed", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"hosts", hosts}, {"secret", secret}, {"vms", vms}}}
}
// SecretHostsGrown is [secret_hosts_grown]: "{{.vms}} keep sending the {{.secret}} secret to the hosts each had. Run devvm secret use {{.secret}} in a VM's folder to give it the new ones."
func SecretHostsGrown(count int, secret string, vms string) M {
return M{id: "secret_hosts_grown", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"secret", secret}, {"vms", vms}}}
}
// SecretNameTaken is [secret_name_taken]: "{{.given}} is a name of devvm's own, or starts with a coding agent's, so it can't name a secret of yours. Give it another name."
func SecretNameTaken(given string) M {
return M{id: "secret_name_taken", vals: []val{{"given", given}}}
}
// SecretNeedsEnv is [secret_needs_env]: "The {{.secret}} secret needs the variable VMs find its placeholder in. Give it with --env, such as --env STRIPE_API_KEY."
func SecretNeedsEnv(secret string) M {
return M{id: "secret_needs_env", vals: []val{{"secret", secret}}}
}
// SecretNeedsHost is [secret_needs_host]: "The {{.secret}} secret isn't saved yet, so it needs the hosts it goes to and its variable. Give them with --host and --env, such as --host api.example.com --env EXAMPLE_API_KEY."
func SecretNeedsHost(secret string) M {
return M{id: "secret_needs_host", vals: []val{{"secret", secret}}}
}
// SecretNewLike is [secret_new_like]: "There's no secret {{.given}} yet, but there's {{.like}}. To save a new secret of yours, give it --host and --env."
func SecretNewLike(given string, like string) M {
return M{id: "secret_new_like", vals: []val{{"given", given}, {"like", like}}}
}
// SecretNotSaved is [secret_not_saved]: "{{.vm}} uses the {{.secret}} secret, but no value is saved for it. Run devvm secret set {{.secret}}."
func SecretNotSaved(secret string, vm vmname.VM) M {
return M{id: "secret_not_saved", vals: []val{{"secret", secret}, {"vm", string(vm)}}}
}
// SecretRemoved is [secret_removed]: "devvm deleted the {{.secret}} secret."
func SecretRemoved(secret string) M {
return M{id: "secret_removed", vals: []val{{"secret", secret}}}
}
// SecretRmConfirm is [secret_rm_confirm]: "Delete the secret {{.name}}? The VMs that use it lose it."
func SecretRmConfirm(name string) M {
return M{id: "secret_rm_confirm", vals: []val{{"name", name}}}
}
// SecretRmUsers is [secret_rm_users]: "{{.vms}} use the {{.secret}} secret, and stop using it once it's deleted."
func SecretRmUsers(count int, secret string, vms string) M {
return M{id: "secret_rm_users", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"secret", secret}, {"vms", vms}}}
}
// SecretSaved is [secret_saved]: "devvm saved the {{.secret}} secret in {{.file}}."
func SecretSaved(file string, secret string) M {
return M{id: "secret_saved", vals: []val{{"file", file}, {"secret", secret}}}
}
// SecretSavedKeychain is [secret_saved_keychain]: "devvm saved the {{.secret}} secret in the Keychain."
func SecretSavedKeychain(secret string) M {
return M{id: "secret_saved_keychain", vals: []val{{"secret", secret}}}
}
// SecretSchemeHeader is [secret_scheme_header]: "The {{.secret}} secret's --scheme and --basic-user go with the Authorization header alone. Leave --header out, or them."
func SecretSchemeHeader(secret string) M {
return M{id: "secret_scheme_header", vals: []val{{"secret", secret}}}
}
// SecretStale is [secret_stale]: "{{.vm}} was bound to an earlier secret named {{.secret}}, so it gets nothing of this one. Run devvm secret use {{.secret}} to bind it again, or devvm secret unuse {{.secret}}."
func SecretStale(secret string, vm vmname.VM) M {
return M{id: "secret_stale", vals: []val{{"secret", secret}, {"vm", string(vm)}}}
}
// SecretTooManyHosts is [secret_too_many_hosts]: "The {{.secret}} secret has more than {{.most}} hosts. Give it fewer, or save another secret for the rest."
func SecretTooManyHosts(most string, secret string) M {
return M{id: "secret_too_many_hosts", vals: []val{{"most", most}, {"secret", secret}}}
}
// SecretUnused is [secret_unused]: "{{.vm}} doesn't use the {{.secret}} secret any more."
func SecretUnused(secret string, vm vmname.VM) M {
return M{id: "secret_unused", vals: []val{{"secret", secret}, {"vm", string(vm)}}}
}
// SecretUsed is [secret_used]: "{{.vm}} uses the {{.secret}} secret from its next launch."
func SecretUsed(secret string, vm vmname.VM) M {
return M{id: "secret_used", vals: []val{{"secret", secret}, {"vm", string(vm)}}}
}
// SecretWithClaude is [secret_with_claude]: "{{.vm}} has Claude Code, so the VM always uses the Claude Code token. To stop it, run devvm tools rm claude."
func SecretWithClaude(vm vmname.VM) M {
return M{id: "secret_with_claude", vals: []val{{"vm", string(vm)}}}
}
// SecretsOtherBinary is [secrets_other_binary]: "{{.vm}}'s proxy is from another devvm binary, which puts none of the VM's secrets in now that one of them goes in by method or by a path pattern, until it starts again. Run devvm in the VM's folder to start its proxy again."
func SecretsOtherBinary(vm vmname.VM) M {
return M{id: "secrets_other_binary", vals: []val{{"vm", string(vm)}}}
}
// SetInConfig is [set_in_config]: "{{.file}} sets {{.key}}, and devvm never changes that file. To change it, edit {{.key}} there, or delete it to let devvm's commands set it."
func SetInConfig(file string, key string) M {
return M{id: "set_in_config", vals: []val{{"file", file}, {"key", key}}}
}
// SetidFiles is [setid_files]: "The project folder has set-user-id or set-group-id files, which run as their owner for anyone who runs them: {{.files}}. To clear the bits, run chmod u-s,g-s FILE on each one."
func SetidFiles(files string) M {
return M{id: "setid_files", vals: []val{{"files", files}}}
}
// SetidRootFiles is [setid_root_files]: "The project folder has set-id files owned by root, which run as root for anyone who runs them: {{.files}}. Don't run them, and delete them with sudo rm FILE."
func SetidRootFiles(files string) M {
return M{id: "setid_root_files", vals: []val{{"files", files}}}
}
// SettingAlready is [setting_already]: "{{.vm}} is that way already, so {{.command}} changes nothing."
func SettingAlready(command string, vm vmname.VM) M {
return M{id: "setting_already", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// SettingApplied is [setting_applied]: "{{.vm}} is running, and it has the change now."
func SettingApplied(vm vmname.VM) M {
return M{id: "setting_applied", vals: []val{{"vm", string(vm)}}}
}
// SettingSet is [setting_set]: "{{.vm}} isn't running, so it gets the change when it next starts."
func SettingSet(vm vmname.VM) M {
return M{id: "setting_set", vals: []val{{"vm", string(vm)}}}
}
// SettingUpVM is [setting_up_vm]: "setting up {{.vm}}"
func SettingUpVM(vm vmname.VM) M {
return M{id: "setting_up_vm", vals: []val{{"vm", string(vm)}}}
}
// SetupFailed is [setup_failed]: "Saving the settings failed: {{.reason}}."
func SetupFailed(reason string) M {
return M{id: "setup_failed", vals: []val{{"reason", reason}}}
}
// SetupInConfig is [setup_in_config]: "{{.file}} sets {{.key}}, so devvm setup doesn't ask for it"
func SetupInConfig(file string, key string) M {
return M{id: "setup_in_config", vals: []val{{"file", file}, {"key", key}}}
}
// SetupTokenNoTerminal is [setup_token_no_terminal]: "devvm's input or output isn't a terminal, so the setup token's login in the VM gets none, and it may show nothing and wait. Run devvm agent login {{.agent}} --setup-token in a terminal."
func SetupTokenNoTerminal(agent string) M {
return M{id: "setup_token_no_terminal", vals: []val{{"agent", agent}}}
}
// ShareWaiting is [share_waiting]: "waiting for another devvm to finish with {{.dir}}"
func ShareWaiting(dir string) M {
return M{id: "share_waiting", vals: []val{{"dir", dir}}}
}
// SizeCpusPrompt is [size_cpus_prompt]: "CPUs for new VMs [{{.cpus}}]:"
func SizeCpusPrompt(cpus string) M {
return M{id: "size_cpus_prompt", vals: []val{{"cpus", cpus}}}
}
// SizeDefaults is [size_defaults]: "new VMs get {{.size}}"
func SizeDefaults(size string) M {
return M{id: "size_defaults", vals: []val{{"size", size}}}
}
// SizeFailed is [size_failed]: "Showing or changing the size failed: {{.reason}}."
func SizeFailed(reason string) M {
return M{id: "size_failed", vals: []val{{"reason", reason}}}
}
// SizeMemoryPrompt is [size_memory_prompt]: "Memory for new VMs in GiB [{{.memory}}]:"
func SizeMemoryPrompt(memory string) M {
return M{id: "size_memory_prompt", vals: []val{{"memory", memory}}}
}
// SizeNotGib is [size_not_gib]: "{{.flag}} takes a size in GiB, such as 16, 16G or 16GiB, not {{.value}}."
func SizeNotGib(flag string, value string) M {
return M{id: "size_not_gib", vals: []val{{"flag", flag}, {"value", value}}}
}
// SizePending is [size_pending]: "{{.vm}} gets {{.size}} when it next starts."
func SizePending(size string, vm vmname.VM) M {
return M{id: "size_pending", vals: []val{{"size", size}, {"vm", string(vm)}}}
}
// SizePendingRunning is [size_pending_running]: "{{.vm}} gets {{.size}} when it next starts. Run devvm restart to apply it now."
func SizePendingRunning(size string, vm vmname.VM) M {
return M{id: "size_pending_running", vals: []val{{"size", size}, {"vm", string(vm)}}}
}
// SizeQuestion is [size_question]: "This machine has {{.have_cpus}} CPUs and {{.have_memory}} GiB of memory. Type the CPUs and memory new VMs get, or press Enter to keep the size in brackets."
func SizeQuestion(haveCpus string, haveMemory string) M {
return M{id: "size_question", vals: []val{{"have_cpus", haveCpus}, {"have_memory", haveMemory}}}
}
// SizeStoredInvalid is [size_stored_invalid]: "{{.vm}}'s state file sets its {{.key}} to {{.value}}, which isn't a size devvm can use. Set it again with devvm size --{{.key}}."
func SizeStoredInvalid(key string, value string, vm vmname.VM) M {
return M{id: "size_stored_invalid", vals: []val{{"key", key}, {"value", value}, {"vm", string(vm)}}}
}
// SpaceBackendUnknown is [space_backend_unknown]: "The {{.backend}} backend didn't answer, so its VMs and images aren't counted."
func SpaceBackendUnknown(backend string) M {
return M{id: "space_backend_unknown", vals: []val{{"backend", backend}}}
}
// SpaceCachesNote is [space_caches_note]: "Lima's caches can also hold your own downloads, so devvm counts them apart."
func SpaceCachesNote() M {
return M{id: "space_caches_note"}
}
// SpaceFailed is [space_failed]: "Reading what devvm keeps failed: {{.reason}}."
func SpaceFailed(reason string) M {
return M{id: "space_failed", vals: []val{{"reason", reason}}}
}
// SpaceFolderGone is [space_folder_gone]: "{{.vm}} was made for {{.dir}}, which is gone. Run devvm rm {{.vm}} to delete the VM."
func SpaceFolderGone(dir string, vm vmname.VM) M {
return M{id: "space_folder_gone", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// SpaceFolderNotConnected is [space_folder_not_connected]: "{{.vm}} was made for {{.dir}}, which is on a disk that isn't connected. Connect the disk to use the VM."
func SpaceFolderNotConnected(dir string, vm vmname.VM) M {
return M{id: "space_folder_not_connected", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// SpaceStray is [space_stray]: "The {{.backend}} backend has {{.vm}}, a VM of the devvm with data folder {{.data}}, which this devvm has no state for. devvm never deletes it."
func SpaceStray(backend string, data string, vm vmname.VM) M {
return M{id: "space_stray", vals: []val{{"backend", backend}, {"data", data}, {"vm", string(vm)}}}
}
// SSHAgentEmpty is [ssh_agent_empty]: "Your SSH agent has no keys, so git over SSH won't work in the VM."
func SSHAgentEmpty() M {
return M{id: "ssh_agent_empty"}
}
// SSHAgentFailed is [ssh_agent_failed]: "Showing or changing the SSH agent forwarding of this folder's VM failed: {{.reason}}."
func SSHAgentFailed(reason string) M {
return M{id: "ssh_agent_failed", vals: []val{{"reason", reason}}}
}
// SSHFailed is [ssh_failed]: "Getting this folder's VM ready for ssh failed: {{.reason}}."
func SSHFailed(reason string) M {
return M{id: "ssh_failed", vals: []val{{"reason", reason}}}
}
// SSHHostInfo is [ssh_host_info]: "Connect with ssh {{.host}}, or with Remote-SSH: Connect to Host in VS Code or Cursor.\nThe project folder in the VM is {{.dir}}."
func SSHHostInfo(dir string, host string) M {
return M{id: "ssh_host_info", vals: []val{{"dir", dir}, {"host", host}}}
}
// SSHIncludeAdded is [ssh_include_added]: "added to ~/.ssh/config"
func SSHIncludeAdded() M {
return M{id: "ssh_include_added"}
}
// SSHIncludeNeeded is [ssh_include_needed]: "To reach VMs by name with ssh or VS Code's Remote-SSH, ~/.ssh/config needs this line at the top:\n {{.line}}"
func SSHIncludeNeeded(line string) M {
return M{id: "ssh_include_needed", vals: []val{{"line", line}}}
}
// SSHIncludeYourself is [ssh_include_yourself]: "devvm couldn't ask here, so it didn't add the line. Add it yourself, or run the command again with --ssh-config."
func SSHIncludeYourself() M {
return M{id: "ssh_include_yourself"}
}
// SSHRemoteHint is [ssh_remote_hint]: "The origin remote uses SSH, but {{.vm}} has no SSH agent, so git over SSH won't work in it. Run devvm ssh-agent on to forward yours."
func SSHRemoteHint(vm vmname.VM) M {
return M{id: "ssh_remote_hint", vals: []val{{"vm", string(vm)}}}
}
// StartFailed is [start_failed]: "{{.vm}} didn't start."
func StartFailed(vm vmname.VM) M {
return M{id: "start_failed", vals: []val{{"vm", string(vm)}}}
}
// StartNoSSH is [start_no_ssh]: "{{.vm}} didn't start because it doesn't answer over ssh. Check its console logs, {{.console}}."
func StartNoSSH(console string, vm vmname.VM) M {
return M{id: "start_no_ssh", vals: []val{{"console", console}, {"vm", string(vm)}}}
}
// StartedWithWarnings is [started_with_warnings]: "{{.vm}} started with warnings, and devvm carries on."
func StartedWithWarnings(vm vmname.VM) M {
return M{id: "started_with_warnings", vals: []val{{"vm", string(vm)}}}
}
// Starting is [starting]: "starting {{.what}}"
func Starting(what string) M {
return M{id: "starting", vals: []val{{"what", what}}}
}
// StopFailed is [stop_failed]: "{{.vm}} didn't stop."
func StopFailed(vm vmname.VM) M {
return M{id: "stop_failed", vals: []val{{"vm", string(vm)}}}
}
// StopVMFailed is [stop_vm_failed]: "Stopping this folder's VM failed: {{.reason}}."
func StopVMFailed(reason string) M {
return M{id: "stop_vm_failed", vals: []val{{"reason", reason}}}
}
// Stopped is [stopped]: "stopped {{.vm}}"
func Stopped(vm vmname.VM) M {
return M{id: "stopped", vals: []val{{"vm", string(vm)}}}
}
// Stopping is [stopping]: "stopping {{.vm}}"
func Stopping(vm vmname.VM) M {
return M{id: "stopping", vals: []val{{"vm", string(vm)}}}
}
// SyncFailed is [sync_failed]: "Setting up {{.vm}} failed."
func SyncFailed(vm vmname.VM) M {
return M{id: "sync_failed", vals: []val{{"vm", string(vm)}}}
}
// TierLinkedClients is [tier_linked_clients]: "{{.vms}} link to {{.vm}} from a stricter tier than {{.tier}}, so it keeps its tier. Remove those links with devvm link rm in their folders first."
func TierLinkedClients(tier string, vm vmname.VM, vms string) M {
return M{id: "tier_linked_clients", vals: []val{{"tier", tier}, {"vm", string(vm)}, {"vms", vms}}}
}
// TierLinkedTargets is [tier_linked_targets]: "{{.vm}} links to {{.targets}}, on a lower tier than {{.tier}}, so it can't have that tier. Remove those links with devvm link rm first, or give each of them that tier or a stricter one."
func TierLinkedTargets(targets string, tier string, vm vmname.VM) M {
return M{id: "tier_linked_targets", vals: []val{{"targets", targets}, {"tier", tier}, {"vm", string(vm)}}}
}
// TokenIsPlaceholder is [token_is_placeholder]: "The secret you gave holds a VM's placeholder, not the real value, so devvm didn't save it. Copy the value from where you made it."
func TokenIsPlaceholder() M {
return M{id: "token_is_placeholder"}
}
// TokenNotAscii is [token_not_ascii]: "The secret you gave has a character that isn't printable ASCII, such as an accented letter, so devvm didn't save it."
func TokenNotAscii() M {
return M{id: "token_not_ascii"}
}
// TokenPrompt is [token_prompt]: "Token:"
func TokenPrompt() M {
return M{id: "token_prompt"}
}
// TokenQuotes is [token_quotes]: "The secret you gave has a quote, a backslash or a control character, so devvm didn't save it."
func TokenQuotes() M {
return M{id: "token_quotes"}
}
// TokenTooLong is [token_too_long]: "The secret you gave is longer than {{.most}} bytes, so devvm didn't save it, and the one saved before stays."
func TokenTooLong(most string) M {
return M{id: "token_too_long", vals: []val{{"most", most}}}
}
// TooManyCpus is [too_many_cpus]: "This machine has {{.have}} CPUs, fewer than --cpus {{.want}} asks for."
func TooManyCpus(have string, want string) M {
return M{id: "too_many_cpus", vals: []val{{"have", have}, {"want", want}}}
}
// TooMuchMemory is [too_much_memory]: "This machine has {{.have}} GiB of memory, so a VM can have at most {{.max}} GiB, and --memory {{.want}} asks for more."
func TooMuchMemory(have string, max string, want string) M {
return M{id: "too_much_memory", vals: []val{{"have", have}, {"max", max}, {"want", want}}}
}
// ToolBadOutput is [tool_bad_output]: "The shared tools' build wrote {{.file}} as something other than a plain file, so devvm didn't use it."
func ToolBadOutput(file string) M {
return M{id: "tool_bad_output", vals: []val{{"file", file}}}
}
// ToolBadVersion is [tool_bad_version]: "The tools lock has {{.tool}} at version {{.version}}, which isn't a version. Run devvm tools update to resolve the shared tools again."
func ToolBadVersion(tool string, version string) M {
return M{id: "tool_bad_version", vals: []val{{"tool", tool}, {"version", version}}}
}
// ToolGlibcOnly is [tool_glibc_only]: "{{.tool}} has no build for musl, so a VM from an Alpine-based container image can't run it. Leave {{.tool}} out, or make the VM --from a Debian- or Ubuntu-based image."
func ToolGlibcOnly(tool string) M {
return M{id: "tool_glibc_only", vals: []val{{"tool", tool}}}
}
// ToolNeedsGlibc is [tool_needs_glibc]: "{{.tool}} {{.version}} needs glibc {{.needs}} or newer, but this VM's container image has glibc {{.has}}. Start it from a newer container image with --from."
func ToolNeedsGlibc(has string, needs string, tool string, version string) M {
return M{id: "tool_needs_glibc", vals: []val{{"has", has}, {"needs", needs}, {"tool", tool}, {"version", version}}}
}
// ToolNoDownload is [tool_no_download]: "{{.tool}} {{.version}} isn't published for every platform, and neither are the versions before it. The next daily check tries again."
func ToolNoDownload(tool string, version string) M {
return M{id: "tool_no_download", vals: []val{{"tool", tool}, {"version", version}}}
}
// ToolNotLayer is [tool_not_layer]: "{{.tool}} is a shared tool, and an image holds only base and layers. Choose a VM's shared tools when devvm makes it, or add them with devvm tools add."
func ToolNotLayer(tool string) M {
return M{id: "tool_not_layer", vals: []val{{"tool", tool}}}
}
// ToolNotLocked is [tool_not_locked]: "The tools lock {{.lock}} has no version of {{.tool}}. Run devvm tools update to resolve the shared tools again."
func ToolNotLocked(lock string, tool string) M {
return M{id: "tool_not_locked", vals: []val{{"lock", lock}, {"tool", tool}}}
}
// ToolSteppedBack is [tool_stepped_back]: "{{.tool}} {{.version}} isn't published for every platform yet, so devvm uses {{.tool}} {{.older}}."
func ToolSteppedBack(older string, tool string, version string) M {
return M{id: "tool_stepped_back", vals: []val{{"older", older}, {"tool", tool}, {"version", version}}}
}
// ToolUnbuilt is [tool_unbuilt]: "{{.tool}} {{.version}} is a new release with no download for this VM's platform yet. Try again tomorrow."
func ToolUnbuilt(tool string, version string) M {
return M{id: "tool_unbuilt", vals: []val{{"tool", tool}, {"version", version}}}
}
// ToolsBuildFailed is [tools_build_failed]: "Building the shared tools failed."
func ToolsBuildFailed() M {
return M{id: "tools_build_failed"}
}
// ToolsBuildVM is [tools_build_vm]: "the build VM for {{.tool}}"
func ToolsBuildVM(tool string) M {
return M{id: "tools_build_vm", vals: []val{{"tool", tool}}}
}
// ToolsBuildVMsDeleted is [tools_build_vms_deleted]: "deleted {{.count}} build VMs a killed or failed tools build left: {{.vms}}"
func ToolsBuildVMsDeleted(count int, vms string) M {
return M{id: "tools_build_vms_deleted", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"vms", vms}}}
}
// ToolsChanged is [tools_changed]: "The shared tools' versions changed while devvm waited. Run the command again."
func ToolsChanged() M {
return M{id: "tools_changed"}
}
// ToolsCheckFailed is [tools_check_failed]: "The check for newer shared tools failed, so devvm uses the versions it last found."
func ToolsCheckFailed() M {
return M{id: "tools_check_failed"}
}
// ToolsFailed is [tools_failed]: "Reading the shared tools of this folder's VM failed: {{.reason}}."
func ToolsFailed(reason string) M {
return M{id: "tools_failed", vals: []val{{"reason", reason}}}
}
// ToolsJoined is [tools_joined]: "{{.given}} joins shared tools with +. Give them as separate words, such as devvm tools {{.cmd}} node claude."
func ToolsJoined(cmd string, given string) M {
return M{id: "tools_joined", vals: []val{{"cmd", cmd}, {"given", given}}}
}
// ToolsNeedOwnBase is [tools_need_own_base]: "Shared tools for a VM on a Debian or Ubuntu container image build in devvm's own Ubuntu base, so devvm builds that first."
func ToolsNeedOwnBase() M {
return M{id: "tools_need_own_base"}
}
// ToolsNeedResolve is [tools_need_resolve]: "Resolving the shared tools' versions failed, and devvm has to do it once, online. Try again when you're online."
func ToolsNeedResolve() M {
return M{id: "tools_need_resolve"}
}
// ToolsNewest is [tools_newest]: "{{.vm}} has the newest shared tools."
func ToolsNewest(vm vmname.VM) M {
return M{id: "tools_newest", vals: []val{{"vm", string(vm)}}}
}
// ToolsResolveFailed is [tools_resolve_failed]: "Resolving the shared tools' versions failed. Check that you're online."
func ToolsResolveFailed() M {
return M{id: "tools_resolve_failed"}
}
// ToolsSwitch is [tools_switch]: "{{.vm}} moves to the newest shared tools on this launch."
func ToolsSwitch(vm vmname.VM) M {
return M{id: "tools_switch", vals: []val{{"vm", string(vm)}}}
}
// ToolsUnmounted is [tools_unmounted]: "{{.vm}} couldn't mount its shared tools {{.tools}}. Run devvm tools update to build the missing ones."
func ToolsUnmounted(tools string, vm vmname.VM) M {
return M{id: "tools_unmounted", vals: []val{{"tools", tools}, {"vm", string(vm)}}}
}
// ToolsUntrusted is [tools_untrusted]: "Resolving the shared tools' versions failed because this machine doesn't trust a server's certificate. A network that inspects TLS needs its CA in this machine's store, or on Linux in {{.dir}}."
func ToolsUntrusted(dir string) M {
return M{id: "tools_untrusted", vals: []val{{"dir", dir}}}
}
// ToolsWrongBase is [tools_wrong_base]: "Image {{.key}} isn't the base these shared tools are built for, so devvm didn't build them in it. Run the command again."
func ToolsWrongBase(key string) M {
return M{id: "tools_wrong_base", vals: []val{{"key", key}}}
}
// TreesCheckFailed is [trees_check_failed]: "Reading the agents' worktrees in {{.vm}} failed, so devvm kept the VM as it is. To go ahead without the check, losing their uncommitted changes, run {{.command}} --no-worktree-check."
func TreesCheckFailed(command string, vm vmname.VM) M {
return M{id: "trees_check_failed", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// TreesCheckNotStarted is [trees_check_not_started]: "{{.vm}} didn't start for the check of the agents' worktrees, so devvm kept the VM as it is. To go ahead without the check, losing their uncommitted changes, run {{.command}} --no-worktree-check."
func TreesCheckNotStarted(command string, vm vmname.VM) M {
return M{id: "trees_check_not_started", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// TreesCheckSkipped is [trees_check_skipped]: "Without the check, {{.command}} loses the uncommitted changes in the agents' worktrees in {{.vm}}."
func TreesCheckSkipped(command string, vm vmname.VM) M {
return M{id: "trees_check_skipped", vals: []val{{"command", command}, {"vm", string(vm)}}}
}
// UbuntuBadCertificate is [ubuntu_bad_certificate]: "The certificate of the server at {{.url}} is out of date or for another host, so devvm didn't fetch Ubuntu's cloud image from it. Check that this machine's date and time are right and that nothing on this network answers for that host."
func UbuntuBadCertificate(url string) M {
return M{id: "ubuntu_bad_certificate", vals: []val{{"url", url}}}
}
// UbuntuBadSignature is [ubuntu_bad_signature]: "Ubuntu's checksums for {{.release}} at {{.url}} don't have a valid signature from Ubuntu's cloud image key, so devvm didn't use them."
func UbuntuBadSignature(release string, url string) M {
return M{id: "ubuntu_bad_signature", vals: []val{{"release", release}, {"url", url}}}
}
// UbuntuCertificateInvalid is [ubuntu_certificate_invalid]: "The certificate of the server at {{.url}} isn't valid ({{.reason}}), so devvm didn't fetch Ubuntu's cloud image from it. Trying again gets the same answer, so check what answers for that host on this network."
func UbuntuCertificateInvalid(reason string, url string) M {
return M{id: "ubuntu_certificate_invalid", vals: []val{{"reason", reason}, {"url", url}}}
}
// UbuntuDownloadFailed is [ubuntu_download_failed]: "Downloading Ubuntu's cloud image {{.release}} from {{.url}} failed. Check that you're online, and run the command again to go on from where this one stopped."
func UbuntuDownloadFailed(release string, url string) M {
return M{id: "ubuntu_download_failed", vals: []val{{"release", release}, {"url", url}}}
}
// UbuntuImageChecksum is [ubuntu_image_checksum]: "Ubuntu's cloud image {{.release}} from {{.url}} doesn't match the SHA-256 Ubuntu signed, so devvm didn't use it. Try again later."
func UbuntuImageChecksum(release string, url string) M {
return M{id: "ubuntu_image_checksum", vals: []val{{"release", release}, {"url", url}}}
}
// UbuntuImageWaiting is [ubuntu_image_waiting]: "waiting for another devvm to finish downloading Ubuntu's image"
func UbuntuImageWaiting() M {
return M{id: "ubuntu_image_waiting"}
}
// UbuntuMirrorInvalid is [ubuntu_mirror_invalid]: "{{.setting}} isn't a mirror's address devvm can use. Set it as http://host/path or https://host/path, without a user, a query or spaces."
func UbuntuMirrorInvalid(setting string) M {
return M{id: "ubuntu_mirror_invalid", vals: []val{{"setting", setting}}}
}
// UbuntuNewestOlder is [ubuntu_newest_older]: "Ubuntu's list of cloud images ends at {{.newest}}, older than {{.pinned}}, which base starts from, so devvm keeps {{.pinned}}."
func UbuntuNewestOlder(newest string, pinned string) M {
return M{id: "ubuntu_newest_older", vals: []val{{"newest", newest}, {"pinned", pinned}}}
}
// UbuntuPinWaiting is [ubuntu_pin_waiting]: "waiting for another devvm to finish pinning Ubuntu's image"
func UbuntuPinWaiting() M {
return M{id: "ubuntu_pin_waiting"}
}
// UbuntuReleaseGone is [ubuntu_release_gone]: "Ubuntu's cloud image {{.release}} is no longer at {{.url}}. Run devvm rebuild base to build base from Ubuntu's newest release."
func UbuntuReleaseGone(release string, url string) M {
return M{id: "ubuntu_release_gone", vals: []val{{"release", release}, {"url", url}}}
}
// UbuntuUnreachable is [ubuntu_unreachable]: "devvm couldn't read the list of Ubuntu {{.version}}'s cloud images at {{.url}}. Check that you're online, then try again."
func UbuntuUnreachable(url string, version string) M {
return M{id: "ubuntu_unreachable", vals: []val{{"url", url}, {"version", version}}}
}
// UbuntuUntrusted is [ubuntu_untrusted]: "This machine doesn't trust the certificate of the server at {{.url}}, so devvm didn't fetch Ubuntu's cloud image from it. A network that inspects TLS needs its CA in this machine's store or in {{.dir}}."
func UbuntuUntrusted(dir string, url string) M {
return M{id: "ubuntu_untrusted", vals: []val{{"dir", dir}, {"url", url}}}
}
// UnfetchedCommits is [unfetched_commits]: "The VM has commits on {{.refs}} that this repo hasn't fetched."
func UnfetchedCommits(refs string) M {
return M{id: "unfetched_commits", vals: []val{{"refs", refs}}}
}
// UnfetchedCommitsIn is [unfetched_commits_in]: "The VM's clone of {{.repo}} has commits on {{.refs}} that the repo on this machine hasn't fetched."
func UnfetchedCommitsIn(refs string, repo string) M {
return M{id: "unfetched_commits_in", vals: []val{{"refs", refs}, {"repo", repo}}}
}
// UnfinishedImage is [unfinished_image]: "deleting the unfinished image {{.vm}}"
func UnfinishedImage(vm vmname.VM) M {
return M{id: "unfinished_image", vals: []val{{"vm", string(vm)}}}
}
// UnknownFeature is [unknown_feature]: "The feature {{.feature}} has no script, so devvm skips it."
func UnknownFeature(feature string) M {
return M{id: "unknown_feature", vals: []val{{"feature", feature}}}
}
// UnknownLayer is [unknown_layer]: "There's no layer {{.layer}}. Choose from {{.layers}}."
func UnknownLayer(layer string, layers string) M {
return M{id: "unknown_layer", vals: []val{{"layer", layer}, {"layers", layers}}}
}
// UnknownLayerLike is [unknown_layer_like]: "There's no layer {{.layer}}. Did you mean {{.like}}?"
func UnknownLayerLike(layer string, like string) M {
return M{id: "unknown_layer_like", vals: []val{{"layer", layer}, {"like", like}}}
}
// UnknownPart is [unknown_part]: "There's no {{.given}} for {{.flag}}. Choose from {{.names}}, or none."
func UnknownPart(flag string, given string, names string) M {
return M{id: "unknown_part", vals: []val{{"flag", flag}, {"given", given}, {"names", names}}}
}
// UnknownPartLike is [unknown_part_like]: "There's no {{.given}} for {{.flag}}. Did you mean {{.like}}?"
func UnknownPartLike(flag string, given string, like string) M {
return M{id: "unknown_part_like", vals: []val{{"flag", flag}, {"given", given}, {"like", like}}}
}
// UnknownTool is [unknown_tool]: "There's no shared tool named {{.tool}}. The names are {{.tools}}."
func UnknownTool(tool string, tools string) M {
return M{id: "unknown_tool", vals: []val{{"tool", tool}, {"tools", tools}}}
}
// Unpublished is [unpublished]: "{{.vm}} doesn't offer {{.ports}} to links any more."
func Unpublished(ports string, vm vmname.VM) M {
return M{id: "unpublished", vals: []val{{"ports", ports}, {"vm", string(vm)}}}
}
// UnpublishedLinked is [unpublished_linked]: "{{.vms}} link to those ports of {{.vm}}, so their next connections there are refused. To remove those links, run devvm link rm in their folders."
func UnpublishedLinked(vm vmname.VM, vms string) M {
return M{id: "unpublished_linked", vals: []val{{"vm", string(vm)}, {"vms", vms}}}
}
// UnsafeFolder is [unsafe_folder]: "{{.dir}} is or holds {{.holds}}, so the VM would get read-write access to it. Use a project folder inside {{.dir}}, use --clone, or pass --unsafe-folder if you mean it."
func UnsafeFolder(dir string, holds string) M {
return M{id: "unsafe_folder", vals: []val{{"dir", dir}, {"holds", holds}}}
}
// UnsafeFolderInside is [unsafe_folder_inside]: "{{.dir}} is inside {{.inside}}, one of devvm's own folders, so the VM would get read-write access to part of it. Keep the project somewhere else, or pass --unsafe-folder if you mean it."
func UnsafeFolderInside(dir string, inside string) M {
return M{id: "unsafe_folder_inside", vals: []val{{"dir", dir}, {"inside", inside}}}
}
// UnsafeFolderUsed is [unsafe_folder_used]: "You passed --unsafe-folder, so the VM gets read-write access to {{.dir}}, which overlaps {{.holds}}."
func UnsafeFolderUsed(dir string, holds string) M {
return M{id: "unsafe_folder_used", vals: []val{{"dir", dir}, {"holds", holds}}}
}
// UpFailed is [up_failed]: "Opening this folder's VM failed: {{.reason}}."
func UpFailed(reason string) M {
return M{id: "up_failed", vals: []val{{"reason", reason}}}
}
// UpgradeAlready is [upgrade_already]: "This is devvm {{.version}} already, so nothing was installed."
func UpgradeAlready(version string) M {
return M{id: "upgrade_already", vals: []val{{"version", version}}}
}
// UpgradeAlreadyLatest is [upgrade_already_latest]: "This is devvm {{.version}}, the newest release."
func UpgradeAlreadyLatest(version string) M {
return M{id: "upgrade_already_latest", vals: []val{{"version", version}}}
}
// UpgradeAvailable is [upgrade_available]: "devvm {{.latest}} is out, and this is devvm {{.current}}. Run devvm upgrade to install it."
func UpgradeAvailable(current string, latest string) M {
return M{id: "upgrade_available", vals: []val{{"current", current}, {"latest", latest}}}
}
// UpgradeAvailablePrerelease is [upgrade_available_prerelease]: "devvm {{.latest}}, a prerelease, is out, and this is devvm {{.current}}. Run devvm upgrade to install it."
func UpgradeAvailablePrerelease(current string, latest string) M {
return M{id: "upgrade_available_prerelease", vals: []val{{"current", current}, {"latest", latest}}}
}
// UpgradeBadArchive is [upgrade_bad_archive]: "The archive of devvm {{.version}} holds something other than devvm's files, so nothing was installed."
func UpgradeBadArchive(version string) M {
return M{id: "upgrade_bad_archive", vals: []val{{"version", version}}}
}
// UpgradeBadChecksum is [upgrade_bad_checksum]: "{{.archive}} doesn't match its checksum in devvm {{.version}}'s SHA256SUMS, so nothing was installed."
func UpgradeBadChecksum(archive string, version string) M {
return M{id: "upgrade_bad_checksum", vals: []val{{"archive", archive}, {"version", version}}}
}
// UpgradeBadSignature is [upgrade_bad_signature]: "The SHA256SUMS of devvm {{.version}} isn't signed with devvm's release keys, so nothing was installed."
func UpgradeBadSignature(version string) M {
return M{id: "upgrade_bad_signature", vals: []val{{"version", version}}}
}
// UpgradeBrewDone is [upgrade_brew_done]: "Homebrew upgraded devvm."
func UpgradeBrewDone() M {
return M{id: "upgrade_brew_done"}
}
// UpgradeBrewFailed is [upgrade_brew_failed]: "Homebrew's brew upgrade {{.formula}} failed, so its devvm stays as it was."
func UpgradeBrewFailed(formula string) M {
return M{id: "upgrade_brew_failed", vals: []val{{"formula", formula}}}
}
// UpgradeBrewStep is [upgrade_brew_step]: "running brew upgrade {{.formula}}"
func UpgradeBrewStep(formula string) M {
return M{id: "upgrade_brew_step", vals: []val{{"formula", formula}}}
}
// UpgradeBrewVersion is [upgrade_brew_version]: "Homebrew installed this devvm and installs only its newest version, so devvm upgrade can't take --to. Run devvm upgrade without it."
func UpgradeBrewVersion() M {
return M{id: "upgrade_brew_version"}
}
// UpgradeChecking is [upgrade_checking]: "checking for a new release"
func UpgradeChecking() M {
return M{id: "upgrade_checking"}
}
// UpgradeCheckoutBuild is [upgrade_checkout_build]: "This devvm, {{.version}}, was built from devvm's source, so devvm upgrade can't upgrade it. Build it again from the newest source instead."
func UpgradeCheckoutBuild(version string) M {
return M{id: "upgrade_checkout_build", vals: []val{{"version", version}}}
}
// UpgradeConfirm is [upgrade_confirm]: "Install devvm {{.version}} in place of devvm {{.current}}?"
func UpgradeConfirm(current string, version string) M {
return M{id: "upgrade_confirm", vals: []val{{"current", current}, {"version", version}}}
}
// UpgradeConfirmBrew is [upgrade_confirm_brew]: "Run brew upgrade {{.formula}} to install devvm {{.version}} in place of devvm {{.current}}?"
func UpgradeConfirmBrew(current string, formula string, version string) M {
return M{id: "upgrade_confirm_brew", vals: []val{{"current", current}, {"formula", formula}, {"version", version}}}
}
// UpgradeConfirmOlder is [upgrade_confirm_older]: "This is devvm {{.current}}, and devvm {{.version}} is older. Install it anyway?"
func UpgradeConfirmOlder(current string, version string) M {
return M{id: "upgrade_confirm_older", vals: []val{{"current", current}, {"version", version}}}
}
// UpgradeDone is [upgrade_done]: "Installed devvm {{.version}} at {{.link}}."
func UpgradeDone(link string, version string) M {
return M{id: "upgrade_done", vals: []val{{"link", link}, {"version", version}}}
}
// UpgradeDownloadFailed is [upgrade_download_failed]: "{{.file}} of devvm {{.version}} couldn't be downloaded, so nothing was installed. Check your connection, then run devvm upgrade again."
func UpgradeDownloadFailed(file string, version string) M {
return M{id: "upgrade_download_failed", vals: []val{{"file", file}, {"version", version}}}
}
// UpgradeDownloading is [upgrade_downloading]: "downloading devvm {{.version}}"
func UpgradeDownloading(version string) M {
return M{id: "upgrade_downloading", vals: []val{{"version", version}}}
}
// UpgradeFailed is [upgrade_failed]: "Installing devvm {{.version}} failed, so the devvm you have stays the one that runs."
func UpgradeFailed(version string) M {
return M{id: "upgrade_failed", vals: []val{{"version", version}}}
}
// UpgradeFailedReason is [upgrade_failed_reason]: "Upgrading devvm failed: {{.reason}}."
func UpgradeFailedReason(reason string) M {
return M{id: "upgrade_failed_reason", vals: []val{{"reason", reason}}}
}
// UpgradeGoInstall is [upgrade_go_install]: "This devvm {{.version}} was installed with go install, so devvm upgrade can't upgrade it. Run go install github.com/devvmhq/devvm/cmd/devvm@latest instead."
func UpgradeGoInstall(version string) M {
return M{id: "upgrade_go_install", vals: []val{{"version", version}}}
}
// UpgradeInstalling is [upgrade_installing]: "installing devvm {{.version}}"
func UpgradeInstalling(version string) M {
return M{id: "upgrade_installing", vals: []val{{"version", version}}}
}
// UpgradeKeptInUse is [upgrade_kept_in_use]: "devvm {{.version}} stays installed, because a running VM uses it."
func UpgradeKeptInUse(version string) M {
return M{id: "upgrade_kept_in_use", vals: []val{{"version", version}}}
}
// UpgradeLatestIs is [upgrade_latest_is]: "The newest release is devvm {{.latest}}."
func UpgradeLatestIs(latest string) M {
return M{id: "upgrade_latest_is", vals: []val{{"latest", latest}}}
}
// UpgradeLatestOlder is [upgrade_latest_older]: "The newest release, devvm {{.latest}}, is older than this devvm {{.current}}, so devvm upgrade installs nothing. To install it anyway, run devvm upgrade --to {{.latest}}."
func UpgradeLatestOlder(current string, latest string) M {
return M{id: "upgrade_latest_older", vals: []val{{"current", current}, {"latest", latest}}}
}
// UpgradeNewFailed is [upgrade_new_failed]: "The new devvm {{.version}} didn't run here, so the devvm you have stays the one that runs."
func UpgradeNewFailed(version string) M {
return M{id: "upgrade_new_failed", vals: []val{{"version", version}}}
}
// UpgradeNoArchive is [upgrade_no_archive]: "The SHA256SUMS of devvm {{.version}} has no {{.archive}}, so nothing was installed."
func UpgradeNoArchive(archive string, version string) M {
return M{id: "upgrade_no_archive", vals: []val{{"archive", archive}, {"version", version}}}
}
// UpgradeNoKey is [upgrade_no_key]: "This devvm has no release keys it can read to check a download's signatures with, so devvm upgrade can't install a release. Run the install script again to upgrade devvm."
func UpgradeNoKey() M {
return M{id: "upgrade_no_key"}
}
// UpgradeNoLatest is [upgrade_no_latest]: "The newest release at {{.url}}/releases couldn't be found. Check your connection, then run devvm upgrade again."
func UpgradeNoLatest(url string) M {
return M{id: "upgrade_no_latest", vals: []val{{"url", url}}}
}
// UpgradeNotVersion is [upgrade_not_version]: "--to takes a release's version, such as 0.2.0 or 0.2.0-rc.1, not {{.value}}."
func UpgradeNotVersion(value string) M {
return M{id: "upgrade_not_version", vals: []val{{"value", value}}}
}
// UpgradeNothingInstalled is [upgrade_nothing_installed]: "Nothing was installed."
func UpgradeNothingInstalled() M {
return M{id: "upgrade_nothing_installed"}
}
// UpgradeOtherInstall is [upgrade_other_install]: "This devvm, {{.path}}, wasn't installed by Homebrew or the install script, so devvm upgrade can't upgrade it. Upgrade it the way you installed it."
func UpgradeOtherInstall(path string) M {
return M{id: "upgrade_other_install", vals: []val{{"path", path}}}
}
// UpgradePrereleaseAhead is [upgrade_prerelease_ahead]: "This is devvm {{.current}}, a prerelease newer than the newest release, devvm {{.latest}}, so nothing was installed. To go back to that release, run devvm upgrade --to {{.latest}}."
func UpgradePrereleaseAhead(current string, latest string) M {
return M{id: "upgrade_prerelease_ahead", vals: []val{{"current", current}, {"latest", latest}}}
}
// UpgradeRollbackFailed is [upgrade_rollback_failed]: "The new devvm didn't run, and {{.link}} couldn't be put back, so it points at the new one. Run ln -sfn {{.old}} {{.link}} to put it back."
func UpgradeRollbackFailed(link string, old string) M {
return M{id: "upgrade_rollback_failed", vals: []val{{"link", link}, {"old", old}}}
}
// UpstreamProxyGone is [upstream_proxy_gone]: "{{.vm_name}}'s proxy went through a company proxy before, and this shell sets none, so it goes directly now. Set HTTPS_PROXY in this shell, or the [proxy] table in {{.file}}."
func UpstreamProxyGone(file string, vmName vmname.VM) M {
return M{id: "upstream_proxy_gone", vals: []val{{"file", file}, {"vm_name", string(vmName)}}}
}
// UpstreamProxyInvalid is [upstream_proxy_invalid]: "{{.setting}} isn't a proxy setting devvm can read. Set it as http://host:port, or unset it."
func UpstreamProxyInvalid(setting string) M {
return M{id: "upstream_proxy_invalid", vals: []val{{"setting", setting}}}
}
// UpstreamProxyScheme is [upstream_proxy_scheme]: "{{.setting}} names a {{.scheme}} proxy, and VMs' proxies and image builds go only through http:// proxies. Set {{.setting}} to the company proxy's http:// address, or unset it."
func UpstreamProxyScheme(scheme string, setting string) M {
return M{id: "upstream_proxy_scheme", vals: []val{{"scheme", scheme}, {"setting", setting}}}
}
// UsageError is [usage_error]: "The command line is refused: {{.reason}}."
func UsageError(reason string) M {
return M{id: "usage_error", vals: []val{{"reason", reason}}}
}
// UsageHelp is [usage_help]: "Run {{.command}} --help to see how to use it."
func UsageHelp(command string) M {
return M{id: "usage_help", vals: []val{{"command", command}}}
}
// UsingParentVM is [using_parent_vm]: "using {{.vm}}, made for {{.dir}}"
func UsingParentVM(dir string, vm vmname.VM) M {
return M{id: "using_parent_vm", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// VMAdopted is [vm_adopted]: "{{.vm}} belongs to {{.dir}} now."
func VMAdopted(dir string, vm vmname.VM) M {
return M{id: "vm_adopted", vals: []val{{"dir", dir}, {"vm", string(vm)}}}
}
// VMAlreadyHere is [vm_already_here]: "{{.vm}} already belongs to this folder."
func VMAlreadyHere(vm vmname.VM) M {
return M{id: "vm_already_here", vals: []val{{"vm", string(vm)}}}
}
// VMChanged is [vm_changed]: "{{.changed}} changed since {{.vm}} was made"
func VMChanged(changed string, vm vmname.VM) M {
return M{id: "vm_changed", vals: []val{{"changed", changed}, {"vm", string(vm)}}}
}
// VMCreateFailed is [vm_create_failed]: "Creating {{.vm}} failed."
func VMCreateFailed(vm vmname.VM) M {
return M{id: "vm_create_failed", vals: []val{{"vm", string(vm)}}}
}
// VMCurrent is [vm_current]: "{{.vm}} is current, because nothing in {{.image}} changed since devvm made it"
func VMCurrent(image string, vm vmname.VM) M {
return M{id: "vm_current", vals: []val{{"image", image}, {"vm", string(vm)}}}
}
// VMFolderStateless is [vm_folder_stateless]: "A devvm that stopped while making or deleting a VM left {{.path}}, which has no vm.json, so no VM uses it. Delete the folder."
func VMFolderStateless(path string) M {
return M{id: "vm_folder_stateless", vals: []val{{"path", path}}}
}
// VMFolderUnreadable is [vm_folder_unreadable]: "devvm can't read {{.dir}} ({{.why}}), so it can't tell whether {{.vm}} was made for this folder. Make the folder readable to you again, then run the command again."
func VMFolderUnreadable(dir string, vm vmname.VM, why string) M {
return M{id: "vm_folder_unreadable", vals: []val{{"dir", dir}, {"vm", string(vm)}, {"why", why}}}
}
// VMHasNetworks is [vm_has_networks]: "{{.vm}} has a network that devvm didn't give it. Remove the networks from {{.file}}."
func VMHasNetworks(file string, vm vmname.VM) M {
return M{id: "vm_has_networks", vals: []val{{"file", file}, {"vm", string(vm)}}}
}
// VMLacks is [vm_lacks]: "{{.vm}} doesn't have the shared tool {{.tool}}. Its shared tools are {{.has}}."
func VMLacks(has string, tool string, vm vmname.VM) M {
return M{id: "vm_lacks", vals: []val{{"has", has}, {"tool", tool}, {"vm", string(vm)}}}
}
// VMMountCache is [vm_mount_cache]: "{{.vm}} caches its project folder with {{.mode}}."
func VMMountCache(mode string, vm vmname.VM) M {
return M{id: "vm_mount_cache", vals: []val{{"mode", mode}, {"vm", string(vm)}}}
}
// VMMovedHere is [vm_moved_here]: "{{.vm}} was made for {{.was}}, and that folder moved here. To move the VM here, run devvm adopt in a terminal without --no-input to confirm, or devvm adopt --force."
func VMMovedHere(vm vmname.VM, was string) M {
return M{id: "vm_moved_here", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// VMNameNoRoom is [vm_name_no_room]: "The {{.backend}} backend's VM names have at most {{.max}} characters, which leaves no room for the folder's name."
func VMNameNoRoom(backend string, max string) M {
return M{id: "vm_name_no_room", vals: []val{{"backend", backend}, {"max", max}}}
}
// VMNotRunning is [vm_not_running]: "{{.vm}} isn't running. Start it first."
func VMNotRunning(vm vmname.VM) M {
return M{id: "vm_not_running", vals: []val{{"vm", string(vm)}}}
}
// VMOtherFolder is [vm_other_folder]: "{{.vm}} was made for an earlier folder at {{.was}}, which was deleted or replaced. Run devvm rm to delete the VM, or devvm adopt to use it here."
func VMOtherFolder(vm vmname.VM, was string) M {
return M{id: "vm_other_folder", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// VMOtherFolderAdopt is [vm_other_folder_adopt]: "{{.vm}} was made for an earlier folder at {{.was}}, which was deleted or replaced. To use it here, run devvm adopt in a terminal without --no-input to confirm, or devvm adopt --force."
func VMOtherFolderAdopt(vm vmname.VM, was string) M {
return M{id: "vm_other_folder_adopt", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// VMOtherFolderRm is [vm_other_folder_rm]: "{{.vm}} was made for an earlier folder at {{.was}}, which was deleted or replaced. To confirm that you want to delete it, run devvm rm in a terminal without --no-input."
func VMOtherFolderRm(vm vmname.VM, was string) M {
return M{id: "vm_other_folder_rm", vals: []val{{"vm", string(vm)}, {"was", was}}}
}
// VMOutdated is [vm_outdated]: "{{.changed}} changed since this VM was made, and the VM keeps the image it has. Run devvm update to make it again from the new image, keeping its home folder and settings."
func VMOutdated(changed string) M {
return M{id: "vm_outdated", vals: []val{{"changed", changed}}}
}
// VMSize is [vm_size]: "{{.vm}} has {{.size}}"
func VMSize(size string, vm vmname.VM) M {
return M{id: "vm_size", vals: []val{{"size", size}, {"vm", string(vm)}}}
}
// VMStateBroken is [vm_state_broken]: "The state of {{.name}} can't be read ({{.why}}), so devvm can't start or change that VM. Fix the file to use the VM again."
func VMStateBroken(name string, why string) M {
return M{id: "vm_state_broken", vals: []val{{"name", name}, {"why", why}}}
}
// VMStateUnreadable is [vm_state_unreadable]: "The VM state file {{.path}} can't be read, so devvm ls shows the VM's name and status alone, and commands on the VM fail. Fix the file to use the VM again."
func VMStateUnreadable(path string) M {
return M{id: "vm_state_unreadable", vals: []val{{"path", path}}}
}
// VMStateWaiting is [vm_state_waiting]: "waiting for another devvm to finish changing {{.vm}}"
func VMStateWaiting(vm vmname.VM) M {
return M{id: "vm_state_waiting", vals: []val{{"vm", string(vm)}}}
}
// VMToolsNow is [vm_tools_now]: "{{.vm}}'s shared tools are now {{.tools}}"
func VMToolsNow(tools string, vm vmname.VM) M {
return M{id: "vm_tools_now", vals: []val{{"tools", tools}, {"vm", string(vm)}}}
}
// VMUnfinished is [vm_unfinished]: "Creating {{.vm}} didn't finish, so nothing of yours is in it. Run devvm rm to delete it, then devvm to make it again."
func VMUnfinished(vm vmname.VM) M {
return M{id: "vm_unfinished", vals: []val{{"vm", string(vm)}}}
}
// VMsMovedHere is [vms_moved_here]: "These VMs were each made for this folder at another path, so devvm moves none of them here: {{.vms}}. To move one here, run devvm adopt VM."
func VMsMovedHere(vms string) M {
return M{id: "vms_moved_here", vals: []val{{"vms", vms}}}
}
// VMsStray is [vms_stray]: "{{.path}} isn't a VM's folder, so devvm doesn't use it. Move it out of {{.vms}}, or delete it."
func VMsStray(path string, vms string) M {
return M{id: "vms_stray", vals: []val{{"path", path}, {"vms", vms}}}
}
// VMsUnreadable is [vms_unreadable]: "devvm doctor can't read {{.path}}, so it didn't check what's in it. Check that you own it and can read it."
func VMsUnreadable(path string) M {
return M{id: "vms_unreadable", vals: []val{{"path", path}}}
}
// WidenParentVM is [widen_parent_vm]: "{{.vm}} was made for {{.dir}}, which this folder is inside, and {{.cmd}} gives it more access. Change it?"
func WidenParentVM(cmd string, dir string, vm vmname.VM) M {
return M{id: "widen_parent_vm", vals: []val{{"cmd", cmd}, {"dir", dir}, {"vm", string(vm)}}}
}
// WidenParentVMRefused is [widen_parent_vm_refused]: "{{.vm}} was made for {{.dir}}, which this folder is inside. To give it more access, run {{.cmd}} in {{.dir}}, or here in a terminal without --no-input to confirm."
func WidenParentVMRefused(cmd string, dir string, vm vmname.VM) M {
return M{id: "widen_parent_vm_refused", vals: []val{{"cmd", cmd}, {"dir", dir}, {"vm", string(vm)}}}
}
// WorkspaceDetached is [workspace_detached]: "HEAD is detached in {{.path}}, so its clone in the VM is detached at the same commit."
func WorkspaceDetached(path string) M {
return M{id: "workspace_detached", vals: []val{{"path", path}}}
}
// WorkspaceFilesFailed is [workspace_files_failed]: "Reading the files of {{.dir}} outside its repos, to copy them into the VM, failed. Run devvm again to retry."
func WorkspaceFilesFailed(dir string) M {
return M{id: "workspace_files_failed", vals: []val{{"dir", dir}}}
}
// WorkspaceFilesSkipped is [workspace_files_skipped]: "{{.count}} of this folder's files stay on this machine, as they're links that lead out of the folder, special files, or past the size limits."
func WorkspaceFilesSkipped(count int) M {
return M{id: "workspace_files_skipped", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// WorkspaceInsideRepo is [workspace_inside_repo]: "{{.dir}} is in the working tree of the repo {{.top}}, so a copy of its files would take that repo's. Run devvm --clone --repos LIST in {{.top}} to choose the repos in it, its own included or not."
func WorkspaceInsideRepo(dir string, top string) M {
return M{id: "workspace_inside_repo", vals: []val{{"dir", dir}, {"top", top}}}
}
// WorkspacePickCannot is [workspace_pick_cannot]: "--clone can't copy these repos:"
func WorkspacePickCannot() M {
return M{id: "workspace_pick_cannot"}
}
// WorkspacePickHelp is [workspace_pick_help]: "Choose the repos in {{.dir}} that the VM gets a clone of. Use up and down to move, space to toggle and enter to confirm."
func WorkspacePickHelp(dir string) M {
return M{id: "workspace_pick_help", vals: []val{{"dir", dir}}}
}
// WorkspaceReady is [workspace_ready]: "The VM has its own clone of {{.count}} repos, each with its current and default branches, without untracked or ignored files.\nTo get their work, run devvm clone fetch, then review each branch it lists before you merge it."
func WorkspaceReady(count int) M {
return M{id: "workspace_ready", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}}}
}
// WorkspaceReasonElsewhere is [workspace_reason_elsewhere]: "its .git reads another repo's objects or refs"
func WorkspaceReasonElsewhere() M {
return M{id: "workspace_reason_elsewhere"}
}
// WorkspaceReasonGrafts is [workspace_reason_grafts]: "a grafts file gives its commits other parents"
func WorkspaceReasonGrafts() M {
return M{id: "workspace_reason_grafts"}
}
// WorkspaceReasonMounted is [workspace_reason_mounted]: "{{.vm}} mounts it, and could swap it under devvm's git"
func WorkspaceReasonMounted(vm vmname.VM) M {
return M{id: "workspace_reason_mounted", vals: []val{{"vm", string(vm)}}}
}
// WorkspaceReasonName is [workspace_reason_name]: "its folder's name has a character a terminal can't show, such as a line break"
func WorkspaceReasonName() M {
return M{id: "workspace_reason_name"}
}
// WorkspaceReasonNoCommits is [workspace_reason_no_commits]: "no commits yet"
func WorkspaceReasonNoCommits() M {
return M{id: "workspace_reason_no_commits"}
}
// WorkspaceReasonNotRepo is [workspace_reason_not_repo]: "not the top folder of a git repo"
func WorkspaceReasonNotRepo() M {
return M{id: "workspace_reason_not_repo"}
}
// WorkspaceRepoDropped is [workspace_repo_dropped]: "{{.path}} no longer passes --clone's checks, or its remote names are all taken, so the VM doesn't get it. Run devvm clone add {{.path}} to see why."
func WorkspaceRepoDropped(path string) M {
return M{id: "workspace_repo_dropped", vals: []val{{"path", path}}}
}
// WorkspaceRepoUnknown is [workspace_repo_unknown]: "--repos names {{.path}}, which isn't a repo devvm found in {{.dir}}. Give each repo's folder relative to this folder, such as frontend,backend."
func WorkspaceRepoUnknown(dir string, path string) M {
return M{id: "workspace_repo_unknown", vals: []val{{"dir", dir}, {"path", path}}}
}
// WorkspaceReposPast is [workspace_repos_past]: "The picker lists at most {{.max}} repos, and this folder has {{.count}} more, which the VM doesn't get. Run devvm clone add PATH for each one you need once the VM is made."
func WorkspaceReposPast(count int, max string) M {
return M{id: "workspace_repos_past", plural: true, count: count, vals: []val{{"count", strconv.Itoa(count)}, {"max", max}}}
}
// WorkspaceSkipped is [workspace_skipped]: "--clone can't copy these repos, so the VM doesn't get them: {{.paths}}. In a terminal, the picker of devvm --clone says why beside each."
func WorkspaceSkipped(paths string) M {
return M{id: "workspace_skipped", vals: []val{{"paths", paths}}}
}
// WorkspaceWorktreeTips is [workspace_worktree_tips]: "{{.path}} is a git worktree, so its clone in the VM gets its own branch, the default branch, the remote-tracking branches and the tags, but not the repo's other local branches or its stash."
func WorkspaceWorktreeTips(path string) M {
return M{id: "workspace_worktree_tips", vals: []val{{"path", path}}}
}
// specs describes every message, by ID.
var specs = map[string]spec{
"add_it_now": {},
"adopt_clone": {fields: []string{"dir", "vm"}},
"adopt_failed": {fields: []string{"reason"}},
"adopt_folder_there": {fields: []string{"dir", "vm"}},
"adopt_has_vm": {fields: []string{"vm"}},
"adopt_move_refused": {fields: []string{"vm"}},
"adopt_move_vm": {fields: []string{"vm", "was"}},
"adopt_vm": {fields: []string{"vm", "was"}},
"agent_confirm_needs_askpass": {},
"agent_devvm_risk": {fields: []string{"vm"}},
"agent_dir_comma": {fields: []string{"path"}},
"agent_dirs_added": {fields: []string{"dirs", "vm"}},
"agent_dirs_removed": {fields: []string{"dirs", "vm"}},
"agent_holds": {fields: []string{"keys"}},
"agent_holds_note": {},
"agent_import_failed": {fields: []string{"reason"}},
"agent_import_follow": {},
"agent_import_link": {fields: []string{"path", "target"}},
"agent_import_link_followed": {fields: []string{"path", "target"}},
"agent_import_link_left_out": {fields: []string{"path"}},
"agent_import_link_not_followed": {fields: []string{"path", "target"}},
"agent_import_link_not_setting": {fields: []string{"path", "target"}},
"agent_import_link_project": {fields: []string{"path", "vm"}},
"agent_import_link_refused": {fields: []string{"path", "target"}},
"agent_import_link_too_big": {fields: []string{"path"}},
"agent_import_link_unread_state": {fields: []string{"path", "state"}},
"agent_import_link_via_vm": {fields: []string{"path", "vm"}},
"agent_import_names_collide": {fields: []string{"a", "b"}},
"agent_import_none": {fields: []string{"agent"}},
"agent_import_nothing": {},
"agent_import_opencode_failed": {fields: []string{"reason"}},
"agent_import_opencode_skipped": {fields: []string{"label", "provider"}},
"agent_import_project_inside": {fields: []string{"dir", "folder", "vm"}},
"agent_import_read_failed": {fields: []string{"file", "why"}},
"agent_import_reading": {},
"agent_import_replace": {fields: []string{"agents"}},
"agent_import_root_refused": {fields: []string{"dir", "place"}},
"agent_import_states_unread": {fields: []string{"path", "why"}},
"agent_import_too_much": {fields: []string{"agent", "folder"}},
"agent_import_undo_failed": {fields: []string{"dirs", "stores", "undo", "why"}},
"agent_key_changed": {fields: []string{"key"}},
"agent_key_copy_failed": {fields: []string{"agent", "vm"}},
"agent_key_empty": {},
"agent_key_howto": {fields: []string{"agent", "provider"}},
"agent_key_mounted": {fields: []string{"key", "vm"}},
"agent_key_no_fingerprint": {fields: []string{"key"}},
"agent_key_not_found": {fields: []string{"key"}},
"agent_key_not_recorded": {fields: []string{"key"}},
"agent_key_prompt": {},
"agent_key_removed": {fields: []string{"key"}},
"agent_key_saved": {fields: []string{"agent", "provider", "vm"}},
"agent_key_unpinned": {fields: []string{"key"}},
"agent_keys_failed": {fields: []string{"reason"}},
"agent_load_failed": {fields: []string{"key"}},
"agent_login_exited": {fields: []string{"agent", "vm"}},
"agent_login_failed": {fields: []string{"reason"}},
"agent_login_flag": {fields: []string{"agent", "flag"}},
"agent_login_flag_or_token": {fields: []string{"agent", "flag"}},
"agent_login_forward": {fields: []string{"agent", "port", "vm"}},
"agent_login_imported": {fields: []string{"agent", "file"}},
"agent_login_key_only": {fields: []string{"agent"}},
"agent_login_no_agent": {fields: []string{"agent", "vm"}},
"agent_login_not_saved": {fields: []string{"agent", "vm"}},
"agent_login_paste": {fields: []string{"display"}},
"agent_login_port_taken": {fields: []string{"agent", "port"}},
"agent_login_provider_alone": {fields: []string{"agents"}},
"agent_login_provider_needed": {fields: []string{"agent", "providers"}},
"agent_login_read_failed": {fields: []string{"file", "reason"}},
"agent_login_saved": {fields: []string{"agent", "vm"}},
"agent_login_saved_for": {fields: []string{"agent", "email", "vm"}},
"agent_login_stdin_alone": {fields: []string{"agent"}},
"agent_login_waiting": {fields: []string{"agent"}},
"agent_no_keys": {},
"agent_on_risk": {fields: []string{"vm"}},
"agent_own_login_saved": {fields: []string{"display", "vm"}},
"agent_provider_refresh_failed": {fields: []string{"agent", "display", "provider", "reason"}},
"agent_raw_old": {fields: []string{"vm"}},
"agent_refresh_failed": {fields: []string{"agent", "display", "reason"}},
"agent_save_ask": {fields: []string{"vm"}},
"agent_save_comparing": {fields: []string{"vm"}},
"agent_save_failed": {fields: []string{"reason"}},
"agent_save_kind_left_out": {fields: []string{"path", "vm"}},
"agent_save_link_left_out": {fields: []string{"path", "vm"}},
"agent_save_names_collide": {fields: []string{"a", "b", "vm"}},
"agent_save_no_agent": {fields: []string{"vm"}},
"agent_save_none": {fields: []string{"agent", "vm"}},
"agent_save_not_read": {fields: []string{"vm"}},
"agent_save_nothing": {fields: []string{"vm"}},
"agent_save_placeholder": {fields: []string{"path", "vm"}},
"agent_save_reading": {fields: []string{"vm"}},
"agent_save_refused": {},
"agent_save_runs": {},
"agent_save_store_changed": {fields: []string{"vm"}},
"agent_save_store_file": {fields: []string{"path", "vm"}},
"agent_save_store_folder": {fields: []string{"path", "vm"}},
"agent_save_too_much": {fields: []string{"vm"}},
"agent_save_undo_failed": {fields: []string{"dirs", "stores", "undo", "vm", "why"}},
"agent_save_unparsed": {fields: []string{"path", "vm"}},
"agent_save_unsafe": {fields: []string{"path", "vm"}},
"agent_save_withheld": {fields: []string{"path", "vm"}},
"agent_seed_clean_failed": {fields: []string{"agent", "dir", "keep", "why"}},
"agent_seed_cleaned": {fields: []string{"agent", "dir", "entries"}},
"agent_seed_link": {fields: []string{"agent", "dir", "keep", "link"}},
"agent_settings_imported": {fields: []string{"agent", "dir"}},
"agent_settings_saved": {fields: []string{"agent", "dir", "vm"}},
"agent_start_failed": {fields: []string{"sock"}},
"agent_store_link": {fields: []string{"link"}},
"agent_store_own_clean_failed": {fields: []string{"dir", "own", "why"}},
"agent_store_own_cleaned": {fields: []string{"agent", "dir", "entries"}},
"agent_store_saving": {},
"agent_store_waiting": {},
"agent_tree_detached": {fields: []string{"agent", "path"}},
"agent_tree_dirty": {fields: []string{"agent", "path"}},
"agent_tree_unread": {fields: []string{"agent", "path"}},
"agent_trees_unchecked": {fields: []string{"max"}},
"agent_unload_failed": {fields: []string{"key"}},
"agents_help": {},
"already_stopped": {fields: []string{"vm"}},
"arg_blank": {fields: []string{"command"}},
"arg_missing": {fields: []string{"args", "command"}},
"arg_not_choice": {fields: []string{"choices", "command", "given"}},
"args_none": {fields: []string{"command", "given"}},
"args_too_many": {fields: []string{"args", "command", "given"}},
"backend_lacks": {fields: []string{"backend", "feature", "what"}},
"backend_unknown_vm": {fields: []string{"backend", "vm"}},
"backend_unreviewed": {fields: []string{"backend", "feature", "what"}},
"backend_unreviewed_used": {fields: []string{"backend", "feature", "what"}},
"bad_duration": {fields: []string{"value"}},
"bad_from": {fields: []string{"from"}},
"bad_methods": {fields: []string{"given", "methods"}},
"bad_path": {fields: []string{"dir"}},
"bad_request_path": {fields: []string{"given"}},
"bad_secret_env": {fields: []string{"given"}},
"bad_secret_header": {fields: []string{"given"}},
"bad_secret_host": {fields: []string{"given"}},
"bad_secret_name": {fields: []string{"given", "most"}},
"bad_secret_prefix": {fields: []string{"given", "most"}},
"bad_secret_scheme": {fields: []string{"given"}},
"bad_secret_service": {},
"base_build_time": {},
"base_features": {fields: []string{"features"}},
"base_features_none": {},
"base_fitted": {fields: []string{"cpus", "memory"}},
"base_will_rebuild": {},
"branch_names_invalid": {fields: []string{"refs"}},
"build_failed": {fields: []string{"image", "reason"}},
"build_sources_unreachable": {fields: []string{"script", "vm"}},
"building_image": {fields: []string{"image", "key"}},
"building_image_from": {fields: []string{"from", "image", "key"}},
"building_tool": {fields: []string{"tool"}},
"building_tools": {fields: []string{"tools"}},
"building_tools_together": {fields: []string{"tools"}},
"ca_folder_link": {fields: []string{"dir"}},
"ca_folder_unreadable": {fields: []string{"dir"}},
"ca_invalid": {fields: []string{"file"}},
"ca_link": {fields: []string{"file"}},
"ca_not_ca": {fields: []string{"file"}},
"ca_not_certificate": {fields: []string{"file"}},
"ca_unreadable": {fields: []string{"file"}},
"ca_waiting": {},
"checking_backend": {fields: []string{"name"}},
"checking_image": {fields: []string{"image"}},
"checking_network": {fields: []string{"vm"}},
"checking_tools": {},
"checking_vm": {fields: []string{"vm"}},
"claims_waiting": {},
"claude_env_token_wins": {},
"claude_no_login": {},
"claude_setup_token_saved": {fields: []string{"vm"}},
"claude_token_howto": {},
"claude_token_invalid": {},
"clone_add_already": {fields: []string{"path", "vm"}},
"clone_add_failed": {fields: []string{"reason"}},
"clone_add_missing": {fields: []string{"dir"}},
"clone_add_mounted": {fields: []string{"vm"}},
"clone_add_name": {},
"clone_add_outside": {fields: []string{"dir", "folder"}},
"clone_added": {fields: []string{"path", "remote"}},
"clone_adding": {fields: []string{"path", "vm"}},
"clone_alternates": {fields: []string{"path"}},
"clone_check_failed": {fields: []string{"command", "vm"}},
"clone_check_not_started": {fields: []string{"command", "vm"}},
"clone_check_repo_changed": {fields: []string{"command", "path", "vm"}},
"clone_check_skipped": {fields: []string{"command", "vm"}},
"clone_checking": {fields: []string{"vm"}},
"clone_dirty": {},
"clone_fetch_failed": {fields: []string{"path", "vm"}},
"clone_fetch_mounted": {fields: []string{"vm"}},
"clone_fetch_partial": {fields: []string{"path"}},
"clone_fetch_run_failed": {fields: []string{"reason"}},
"clone_fetched_none": {},
"clone_fetched_review": {fields: []string{"remote"}},
"clone_fetching": {fields: []string{"vm"}},
"clone_filtered_kept": {plural: true, fields: []string{"count", "dir", "files"}},
"clone_folder_mounted": {fields: []string{"dir", "vm"}},
"clone_git_elsewhere": {fields: []string{"path"}},
"clone_grafts": {fields: []string{"path"}},
"clone_hooks_dir_kept": {fields: []string{"dir", "path"}},
"clone_hooks_kept": {plural: true, fields: []string{"count", "dir", "hooks"}},
"clone_hooks_path_kept": {fields: []string{"dir", "path"}},
"clone_kept_branches": {plural: true, fields: []string{"branches", "count", "dir"}},
"clone_kept_files": {plural: true, fields: []string{"count", "dir", "files"}},
"clone_kept_head": {fields: []string{"dir"}},
"clone_lfs_bad": {plural: true, fields: []string{"count", "objects", "path"}},
"clone_lfs_failed": {fields: []string{"path"}},
"clone_lfs_kept": {plural: true, fields: []string{"count", "objects", "path"}},
"clone_lfs_large": {fields: []string{"path", "size"}},
"clone_lfs_setup_failed": {fields: []string{"path"}},
"clone_lfs_storage": {fields: []string{"path"}},
"clone_lfs_unfetched": {plural: true, fields: []string{"count", "objects", "path"}},
"clone_needs_git": {},
"clone_needs_new_vm": {fields: []string{"vm"}},
"clone_no_commits": {},
"clone_not_top": {fields: []string{"dir"}},
"clone_partial_blocked": {fields: []string{"dir", "host", "remote"}},
"clone_partial_blocked_none": {fields: []string{"dir", "host", "remote"}},
"clone_partial_denied": {fields: []string{"dir", "host", "remote"}},
"clone_partial_promisor_kept": {plural: true, fields: []string{"count", "dir", "remotes"}},
"clone_partial_refs_kept": {plural: true, fields: []string{"count", "dir", "refs"}},
"clone_partial_unreachable": {fields: []string{"dir", "remote", "url"}},
"clone_planning": {fields: []string{"dir"}},
"clone_push_urls_kept": {plural: true, fields: []string{"count", "dir", "remotes"}},
"clone_reading": {fields: []string{"path"}},
"clone_ready": {fields: []string{"branch", "remote"}},
"clone_ready_detached": {fields: []string{"remote"}},
"clone_ref_no_object": {fields: []string{"ref"}},
"clone_remote_elsewhere": {fields: []string{"path", "remote"}},
"clone_repo_changed": {fields: []string{"path"}},
"clone_repo_dirty": {fields: []string{"repo"}},
"clone_repo_format": {fields: []string{"paths", "vm"}},
"clone_repo_format_kept": {fields: []string{"paths", "vm"}},
"clone_repo_gone": {fields: []string{"repo"}},
"clone_repo_mounted": {fields: []string{"path", "vm"}},
"clone_repo_unchecked": {fields: []string{"path", "vm"}},
"clone_seed_failed": {fields: []string{"vm"}},
"clone_show_failed": {fields: []string{"reason"}},
"clone_skip_worktree_kept": {plural: true, fields: []string{"count", "dir", "files"}},
"clone_stash_all_kept": {plural: true, fields: []string{"count", "dir", "entries"}},
"clone_stash_fetch_failed": {fields: []string{"entry"}},
"clone_stash_over_kept": {plural: true, fields: []string{"count", "dir", "entries", "max"}},
"clone_stash_untracked": {plural: true, fields: []string{"branch", "count", "files", "untracked"}},
"clone_stash_untracked_ignored": {plural: true, fields: []string{"count", "files", "untracked"}},
"clone_submodule_kept": {fields: []string{"path"}},
"clone_submodule_unchecked": {fields: []string{"path"}},
"clone_submodules_kept": {fields: []string{"path"}},
"clone_switch_off": {fields: []string{"vm"}},
"clone_switch_on": {fields: []string{"vm"}},
"clone_todo_missing": {plural: true, fields: []string{"commits", "count", "dir"}},
"clone_typechange_kept": {plural: true, fields: []string{"count", "dir", "files"}},
"clone_uncommitted_kept": {fields: []string{"dir"}},
"clone_urls_kept": {plural: true, fields: []string{"count", "dir", "remotes"}},
"clone_urls_unread": {plural: true, fields: []string{"count", "dir", "remotes"}},
"clone_vm_git_old": {fields: []string{"version", "vm"}},
"clone_worktree_detached": {fields: []string{"path"}},
"clone_worktree_dirty": {fields: []string{"path"}},
"clone_worktree_tips": {},
"clone_worktrees_unchecked": {fields: []string{"max"}},
"cloning_for_tools": {fields: []string{"tool"}},
"cloning_image": {fields: []string{"parent"}},
"code_failed": {fields: []string{"reason"}},
"codex_no_chatgpt": {},
"codex_no_key": {},
"config_not_copied": {fields: []string{"file", "vm"}},
"config_redacted": {fields: []string{"file", "keys", "vm"}},
"configuring": {fields: []string{"what"}},
"continue": {},
"convert_bad_output": {fields: []string{"file", "from"}},
"convert_failed": {fields: []string{"from"}},
"converting": {fields: []string{"from"}},
"converting_in_vm": {fields: []string{"from", "vm"}},
"copying_branches": {},
"copying_repo": {fields: []string{"path"}},
"copying_submodule": {fields: []string{"path"}},
"cpus_not_number": {fields: []string{"flag", "value"}},
"create_running": {fields: []string{"vm"}},
"creating": {fields: []string{"vm"}},
"creating_from": {fields: []string{"image", "vm"}},
"creating_from_ubuntu": {fields: []string{"vm"}},
"cursor_agent_in_vm": {fields: []string{"file"}},
"cursor_failed": {fields: []string{"reason"}},
"custom_layer_remove": {fields: []string{"layer", "vm"}},
"custom_secret_howto": {fields: []string{"hosts", "secret"}},
"custom_secret_refused": {fields: []string{"path", "secret"}},
"custom_secret_used": {fields: []string{"hosts", "secret", "vm"}},
"custom_secrets_unreadable": {fields: []string{"path", "reason"}},
"custom_secrets_waiting": {},
"default_agents": {fields: []string{"agents"}},
"default_agents_none": {},
"default_layer_gone": {fields: []string{"dir", "layer", "vm"}},
"default_layer_lacks": {fields: []string{"backend", "feature", "layer", "vm"}},
"default_layers": {fields: []string{"layers"}},
"default_layers_none": {},
"delete_anyway": {},
"delete_failed": {fields: []string{"vm"}},
"delete_gone_folder_vm": {fields: []string{"dir", "vm"}},
"delete_not_connected_folder_vm": {fields: []string{"dir", "vm"}},
"delete_other_folder_vm": {fields: []string{"vm", "was"}},
"delete_parent_vm": {fields: []string{"dir", "vm"}},
"deleted": {fields: []string{"vm"}},
"deleted_cache": {plural: true, fields: []string{"backend", "count"}},
"deleted_history": {plural: true, fields: []string{"count"}},
"deleted_image": {fields: []string{"image", "key"}},
"deleted_link_sockets": {plural: true, fields: []string{"count"}},
"deleted_mise": {plural: true, fields: []string{"count"}},
"deleted_nix_cache": {plural: true, fields: []string{"count", "size"}},
"deleted_old_image": {fields: []string{"image", "key"}},
"deleted_packages": {plural: true, fields: []string{"count"}},
"deleted_tools": {plural: true, fields: []string{"count"}},
"deleted_tools_no_vm": {plural: true, fields: []string{"count"}},
"deleted_unfinished_build": {fields: []string{"key"}},
"deleting": {fields: []string{"what"}},
"desktop_failed": {fields: []string{"reason"}},
"desktop_no_layer": {fields: []string{"vm"}},
"desktop_open_failed": {fields: []string{"url"}},
"desktop_ready": {fields: []string{"address", "password", "vm"}},
"desktop_start_failed": {fields: []string{"vm"}},
"desktop_vm_stopped": {fields: []string{"vm"}},
"devcontainer_bad_value": {fields: []string{"file", "key"}},
"devcontainer_build": {fields: []string{"file", "key"}},
"devcontainer_changed": {fields: []string{"file", "vm"}},
"devcontainer_command_failed": {fields: []string{"command", "vm"}},
"devcontainer_docker_outside": {fields: []string{"feature", "file"}},
"devcontainer_env_name": {fields: []string{"file", "name"}},
"devcontainer_feature": {fields: []string{"feature", "file"}},
"devcontainer_feature_options": {fields: []string{"features", "file"}},
"devcontainer_flag_wins": {fields: []string{"file", "flag", "key"}},
"devcontainer_gone": {fields: []string{"file", "vm"}},
"devcontainer_ignored": {fields: []string{"file", "keys"}},
"devcontainer_image_not_public": {fields: []string{"file", "from"}},
"devcontainer_initialize": {fields: []string{"file"}},
"devcontainer_invalid": {fields: []string{"column", "file", "line"}},
"devcontainer_local_env": {fields: []string{"file", "variable"}},
"devcontainer_new": {fields: []string{"file", "vm"}},
"devcontainer_ports_ignored": {fields: []string{"file", "ports"}},
"devcontainer_reread": {fields: []string{"file", "vm"}},
"devcontainer_unknown": {fields: []string{"file", "keys"}},
"devcontainer_unreadable": {fields: []string{"file"}},
"devcontainer_variable": {fields: []string{"file", "variable"}},
"devvm_other_first": {fields: []string{"first", "self"}},
"disk_free_unknown": {fields: []string{"dir"}},
"disk_low": {fields: []string{"dir", "free", "name", "need"}},
"disk_low_warning": {fields: []string{"dir", "free", "need"}},
"disk_shrink": {fields: []string{"have", "vm", "want"}},
"docker_export_failed": {fields: []string{"from"}},
"docker_found": {},
"docker_image_changed": {fields: []string{"from"}},
"docker_missing": {},
"docker_only": {fields: []string{"from"}},
"doctor_checking": {},
"doctor_failed": {fields: []string{"reason"}},
"doctor_git_bare": {},
"doctor_latest_release": {fields: []string{"date", "latest"}},
"doctor_ok": {fields: []string{"backend", "version"}},
"doctor_pins_apparmor": {},
"doctor_pins_failed": {fields: []string{"reason"}},
"doctor_pins_max": {},
"doctor_pins_sysctl": {},
"doctor_proxy_ca": {fields: []string{"dir"}},
"downloading_mise": {fields: []string{"version"}},
"downloading_ubuntu": {fields: []string{"release"}},
"export_failed": {fields: []string{"reason"}},
"export_failed_kept": {fields: []string{"command", "vm"}},
"exported": {fields: []string{"file", "vm"}},
"exporting_docker": {fields: []string{"from"}},
"features_help": {},
"fetch_before_delete": {fields: []string{"prefix"}},
"fetch_before_delete_repos": {plural: true, fields: []string{"count"}},
"fetch_failed": {fields: []string{"command", "vm"}},
"fetch_until": {fields: []string{"file", "remote"}},
"fetching": {fields: []string{"prefix"}},
"fetching_repo": {fields: []string{"path"}},
"finding_vm": {},
"first_run_defaults": {},
"flag_bad_switch": {fields: []string{"flag", "value"}},
"flag_bad_value": {fields: []string{"flag", "form", "value"}},
"flag_blank": {fields: []string{"flag"}},
"flag_needs_flag": {fields: []string{"flag", "needs"}},
"flag_needs_value": {fields: []string{"flag", "form"}},
"flag_unknown": {fields: []string{"command", "flag"}},
"flags_exclusive": {fields: []string{"flag", "other"}},
"folders_not_private": {fields: []string{"config", "data"}},
"follow_links_invalid": {fields: []string{"dir", "setting"}},
"forgot_orphan": {fields: []string{"vm"}},
"forwarder_failed": {fields: []string{"reason"}},
"forwarder_waiting": {fields: []string{"vm"}},
"from_cached_not_found": {fields: []string{"from", "host"}},
"from_cached_unreachable": {fields: []string{"from", "host"}},
"from_not_found": {fields: []string{"from", "host"}},
"from_unreachable": {fields: []string{"from", "host"}},
"gc_backend_skipped": {fields: []string{"backend"}},
"gc_cache": {plural: true, fields: []string{"backend", "count", "size"}},
"gc_cache_confirm": {fields: []string{"backend"}},
"gc_cache_entry": {fields: []string{"size", "what"}},
"gc_confirm": {},
"gc_dead_link": {fields: []string{"name", "port", "target", "vm"}},
"gc_dead_links": {plural: true, fields: []string{"count"}},
"gc_failed": {fields: []string{"reason"}},
"gc_history": {plural: true, fields: []string{"count", "size"}},
"gc_history_export": {fields: []string{"date", "size", "vm"}},
"gc_image": {fields: []string{"image", "key"}},
"gc_images": {},
"gc_link_sockets": {plural: true, fields: []string{"count"}},
"gc_mise": {plural: true, fields: []string{"count", "size"}},
"gc_names_need_tools": {fields: []string{"tool"}},
"gc_nix_cache": {plural: true, fields: []string{"count", "size"}},
"gc_nix_cache_over": {fields: []string{"cap", "size"}},
"gc_old_hint": {},
"gc_older_than_needs_history": {},
"gc_orphan": {fields: []string{"backend", "dir", "vm"}},
"gc_orphan_elsewhere": {fields: []string{"vm"}},
"gc_orphan_recent": {fields: []string{"vm"}},
"gc_orphans": {plural: true, fields: []string{"count"}},
"gc_orphans_unknown": {fields: []string{"backend"}},
"gc_packages": {plural: true, fields: []string{"count", "size"}},
"gc_tools": {plural: true, fields: []string{"count", "size"}},
"gc_tools_making": {plural: true, fields: []string{"count", "tools"}},
"gc_tools_no_vm": {plural: true, fields: []string{"count", "size", "tools"}},
"gc_unfinished": {fields: []string{"key"}},
"git_appeared": {},
"git_changed": {fields: []string{"paths", "vm"}},
"git_changed_more": {plural: true, fields: []string{"count", "paths", "vm"}},
"git_commondir": {fields: []string{"git", "target"}},
"git_embedded_new": {fields: []string{"git"}},
"git_gitdir_not_git": {fields: []string{"git", "sub"}},
"git_gitdir_outside": {fields: []string{"git", "sub"}},
"git_hook_link_inside": {fields: []string{"hook", "target"}},
"git_hooks_path": {fields: []string{"path"}},
"git_hooks_unlocked": {fields: []string{"hooks"}},
"git_include_inside": {fields: []string{"config", "path"}},
"git_kept_locked": {fields: []string{"vm"}},
"git_kept_unread": {fields: []string{"state"}},
"git_lock_later": {fields: []string{"vm"}},
"git_lock_raced": {fields: []string{"path"}},
"git_lock_waiting": {},
"git_locked": {fields: []string{"vm"}},
"git_locks_left": {fields: []string{"repos"}},
"git_nested_appeared": {fields: []string{"repo", "vm"}},
"git_nested_appeared_runs": {fields: []string{"repo", "runs", "vm"}},
"git_nested_bare": {fields: []string{"dirs", "vm"}},
"git_nested_devices": {plural: true, fields: []string{"count", "vm"}},
"git_nested_gitdir_outside": {fields: []string{"git", "repo"}},
"git_nested_gone": {fields: []string{"repo", "vm"}},
"git_nested_past_bound": {plural: true, fields: []string{"count", "repos", "vm"}},
"git_nested_protectable": {fields: []string{"repos", "vm"}},
"git_nested_protectable_more": {plural: true, fields: []string{"count", "repos", "vm"}},
"git_nested_skipped": {plural: true, fields: []string{"count", "vm"}},
"git_nested_unprotected": {fields: []string{"repos", "vm"}},
"git_nested_unprotected_more": {plural: true, fields: []string{"count", "repos", "vm"}},
"git_not_locked": {fields: []string{"path"}},
"git_pin_again": {fields: []string{"path", "vm"}},
"git_pin_events_kept": {fields: []string{"file"}},
"git_pin_linked": {fields: []string{"path", "vm"}},
"git_pin_linked_run": {fields: []string{"path", "vm"}},
"git_pin_lost": {fields: []string{"path", "vm"}},
"git_pins_missing": {fields: []string{"paths", "vm"}},
"git_pins_none": {fields: []string{"vm"}},
"git_pins_unrecorded": {fields: []string{"vm"}},
"git_protect_available": {fields: []string{"vm"}},
"git_protect_clone": {fields: []string{"vm"}},
"git_protect_failed": {fields: []string{"reason"}},
"git_protect_next_stop": {fields: []string{"mode", "vm"}},
"git_protect_on_needs_locks": {},
"git_protect_strict_refused": {},
"git_protecting": {fields: []string{"vm"}},
"git_replaced": {fields: []string{"git"}},
"git_scan_bounded": {fields: []string{"git"}},
"git_strict_converted": {fields: []string{"vm"}},
"git_strict_kept": {fields: []string{"config", "vm"}},
"git_strict_left": {fields: []string{"config"}},
"git_strict_unknown": {fields: []string{"config"}},
"git_unlocked": {fields: []string{"vm"}},
"git_unprotected": {fields: []string{"vm"}},
"git_unprotected_quiet": {fields: []string{"vm"}},
"git_watch_blind": {fields: []string{"paths"}},
"git_watch_blind_more": {plural: true, fields: []string{"count", "paths"}},
"git_worktree_stray": {fields: []string{"wt"}},
"github_token_howto": {},
"group_already": {fields: []string{"group", "vm"}},
"group_failed": {fields: []string{"reason"}},
"group_gone": {fields: []string{"group"}},
"group_join_learning": {fields: []string{"group", "vm"}},
"group_joined": {fields: []string{"group", "vm"}},
"group_left": {fields: []string{"group", "vm"}},
"group_link_name_clash": {fields: []string{"name", "target", "vm"}},
"group_links_added": {fields: []string{"group", "links", "vm"}},
"group_links_removed": {fields: []string{"group", "links", "vm"}},
"group_made": {fields: []string{"group", "vm"}},
"group_name_host": {fields: []string{"vm"}},
"group_name_hostname": {fields: []string{"group", "member", "name", "vm"}},
"group_name_invalid": {fields: []string{"name"}},
"group_name_taken": {fields: []string{"group", "member", "name"}},
"group_named": {fields: []string{"group", "name", "vm"}},
"group_none": {fields: []string{"vm"}},
"group_other": {fields: []string{"group", "vm"}},
"group_tier_fixed": {fields: []string{"group", "vm"}},
"group_tier_mismatch": {fields: []string{"group", "tier", "vm", "vm_tier"}},
"group_trust": {fields: []string{"group"}},
"group_waiting": {},
"has_layers": {fields: []string{"layers", "vm"}},
"has_tools": {fields: []string{"tools", "vm"}},
"history_exporting": {fields: []string{"vm"}},
"history_failed": {fields: []string{"reason"}},
"history_import_ask": {fields: []string{"file", "vm"}},
"history_import_later": {fields: []string{"file", "vm"}},
"history_import_less_strict": {fields: []string{"file", "from", "tier", "vm"}},
"history_import_tier_unknown": {fields: []string{"file", "tier", "vm"}},
"history_import_unsafe": {fields: []string{"file"}},
"history_importing": {fields: []string{"vm"}},
"history_no_export": {fields: []string{"dir"}},
"history_not_exported": {fields: []string{"vm"}},
"history_not_imported": {fields: []string{"file", "vm"}},
"history_too_large": {fields: []string{"vm"}},
"home_not_absolute": {},
"host_cpus_few": {fields: []string{"have", "want"}},
"host_memory_low": {fields: []string{"have", "want"}},
"image_build_waiting": {fields: []string{"image"}},
"image_building": {fields: []string{"key"}},
"image_from": {fields: []string{"from", "image"}},
"image_in_use": {fields: []string{"key", "vms"}},
"image_leftover": {fields: []string{"image", "key"}},
"image_missing": {fields: []string{"key"}},
"image_ready": {fields: []string{"image"}},
"images_failed": {fields: []string{"reason"}},
"images_nix_cache": {fields: []string{"cap", "size"}},
"images_rm_confirm": {fields: []string{"images"}},
"images_rm_failed": {fields: []string{"reason"}},
"images_stale_note": {plural: true, fields: []string{"count"}},
"images_total": {fields: []string{"size"}},
"images_unused": {fields: []string{"size"}},
"import_failed": {fields: []string{"reason"}},
"imported": {fields: []string{"file", "vm"}},
"importing_ubuntu": {fields: []string{"release"}},
"interrupted_image": {fields: []string{"vm"}},
"interrupted_start": {fields: []string{"vm"}},
"interrupted_vm": {fields: []string{"vm"}},
"json_shows_only": {fields: []string{"command"}},
"kept": {fields: []string{"vm"}},
"key_loaded": {},
"key_loaded_keychain": {},
"keychain_save_failed": {fields: []string{"secret"}},
"kvm_access": {fields: []string{"fix"}},
"lacks_layers": {fields: []string{"layers", "vm"}},
"layer_created": {fields: []string{"layer", "policy", "script"}},
"layer_exists": {fields: []string{"file"}},
"layer_name_invalid": {fields: []string{"layer"}},
"layer_name_reserved": {fields: []string{"layer"}},
"layer_new_failed": {fields: []string{"reason"}},
"layers_help": {},
"layout_migrating": {},
"layout_newer": {fields: []string{"current", "path", "version"}},
"layout_unchecked": {fields: []string{"reason"}},
"layout_waiting": {},
"lima_arch_unsupported": {fields: []string{"arch"}},
"lima_edit_failed": {fields: []string{"vm"}},
"lima_global_config": {fields: []string{"files"}},
"lima_home_too_long": {fields: []string{"home", "vm"}},
"lima_host_unsupported": {fields: []string{"os"}},
"lima_log_unredacted": {fields: []string{"file", "reason"}},
"limactl_failed": {fields: []string{"reason"}},
"link_added": {fields: []string{"name", "port", "target", "vm"}},
"link_ambiguous_target": {fields: []string{"target", "vms"}},
"link_exists": {fields: []string{"name", "port", "vm"}},
"link_failed": {fields: []string{"reason"}},
"link_from_group": {fields: []string{"group", "name", "port", "vm"}},
"link_name_host": {fields: []string{"name", "vm"}},
"link_name_invalid": {fields: []string{"name"}},
"link_name_taken": {fields: []string{"name", "target", "vm"}},
"link_not_found": {fields: []string{"port", "target", "vm"}},
"link_not_published": {fields: []string{"port", "vm"}},
"link_port_invalid": {fields: []string{"value"}},
"link_port_taken": {fields: []string{"name", "port", "vm"}},
"link_removed": {fields: []string{"name", "port", "vm"}},
"link_self": {fields: []string{"vm"}},
"link_session_failed": {fields: []string{"reason"}},
"link_setup_invalid": {fields: []string{"address", "name", "vm"}},
"link_target_named": {fields: []string{"name", "target", "vm"}},
"link_target_stopped": {fields: []string{"target", "vm"}},
"link_target_unenforced": {fields: []string{"target", "vm"}},
"link_target_unusable": {fields: []string{"target", "vm"}},
"link_tier_mismatch": {fields: []string{"target", "target_tier", "tier", "vm"}},
"link_trust": {fields: []string{"target", "vm"}},
"link_unknown_target": {fields: []string{"target"}},
"links_applying": {fields: []string{"vm"}},
"links_target_gone": {plural: true, fields: []string{"count", "vm", "vms"}},
"links_update_failed": {fields: []string{"vm"}},
"load_key": {fields: []string{"cmd", "key"}},
"load_key_with": {fields: []string{"cmd"}},
"log_details": {fields: []string{"file"}},
"log_empty": {fields: []string{"vm"}},
"log_end": {fields: []string{"file"}},
"log_failed": {fields: []string{"reason"}},
"login_capture_refused": {fields: []string{"agent", "vm"}},
"login_copy_failed": {fields: []string{"agent", "reason", "vm"}},
"login_fields_withheld": {fields: []string{"agent", "file", "keys"}},
"login_pass_bound": {fields: []string{"agent", "name", "providers"}},
"login_passed": {fields: []string{"agent", "providers"}},
"login_read_failed": {fields: []string{"file", "reason"}},
"login_withheld": {fields: []string{"agent", "name", "providers"}},
"looking_up_volume": {fields: []string{"dir"}},
"ls_failed": {fields: []string{"reason"}},
"making_waiting": {},
"marketplace_secret": {fields: []string{"file", "name", "why"}},
"marketplace_unchecked": {fields: []string{"file", "name", "why"}},
"mise_checksum": {fields: []string{"version"}},
"mise_download_failed": {fields: []string{"version"}},
"mise_waiting": {fields: []string{"version"}},
"mount_cache_clone": {fields: []string{"mode", "vm"}},
"mount_cache_failed": {fields: []string{"reason"}},
"mount_cache_invalid": {fields: []string{"value"}},
"mount_cache_no_choice": {fields: []string{"vm"}},
"mount_cache_pending": {fields: []string{"mode", "vm"}},
"mount_cache_remount_failed": {fields: []string{"has", "vm", "want"}},
"mount_cache_unchecked": {fields: []string{"vm"}},
"mount_cache_unchosen": {fields: []string{"mode", "vm"}},
"mount_cache_unmounted": {fields: []string{"vm"}},
"mount_comma": {fields: []string{"path"}},
"mounts_updated": {fields: []string{"vm"}},
"move_folder_changed": {fields: []string{"dir", "vm"}},
"move_vm": {fields: []string{"vm", "was"}},
"msg_bad_count": {fields: []string{"value"}},
"msg_missing_value": {fields: []string{"key", "name"}},
"msg_not_pair": {fields: []string{"arg"}},
"msg_repeated_value": {fields: []string{"key"}},
"msg_unexpected_value": {fields: []string{"key", "name"}},
"msg_unknown": {fields: []string{"name"}},
"net_allows_unused": {fields: []string{"tier", "vm"}},
"net_choice_learn": {},
"net_default_failed": {fields: []string{"reason"}},
"net_direct_route": {fields: []string{"vm"}},
"net_learn_not_global": {},
"net_learn_started": {fields: []string{"vm"}},
"net_learn_stopped": {fields: []string{"vm"}},
"net_learned_host": {plural: true, fields: []string{"agent", "count"}},
"net_learned_host_anon": {plural: true, fields: []string{"count"}},
"net_learned_no_proxy_heading": {},
"net_learned_partial": {fields: []string{"since", "vm"}},
"net_learned_risky_heading": {},
"net_learning": {plural: true, fields: []string{"count", "since", "vm"}},
"net_learning_lock": {fields: []string{"vm"}},
"net_learning_since": {fields: []string{"since", "vm"}},
"net_lock_changed": {fields: []string{"vm"}},
"net_lock_context": {fields: []string{"since"}},
"net_lock_context_many": {plural: true, fields: []string{"count", "since"}},
"net_lock_help": {fields: []string{"vm"}},
"net_locked": {plural: true, fields: []string{"count", "vm"}},
"net_not_learning": {fields: []string{"vm"}},
"net_open_log": {fields: []string{"vm"}},
"net_open_policy": {fields: []string{"vm"}},
"net_proxy_down_stopped": {fields: []string{"vm"}},
"net_proxy_kept": {fields: []string{"vm"}},
"net_proxy_unreachable": {fields: []string{"vm"}},
"net_tier_allowlist": {},
"net_tier_backend": {fields: []string{"backend", "vm"}},
"net_tier_help": {fields: []string{"vm"}},
"net_tier_internet": {},
"net_tier_none": {},
"net_tier_open": {},
"net_transparent_failed": {fields: []string{"reason"}},
"net_transparent_set": {fields: []string{"mode", "vm"}},
"net_unenforced": {fields: []string{"vm"}},
"net_unenforced_restart": {fields: []string{"vm"}},
"net_unenforced_stop": {fields: []string{"vm"}},
"network_default": {fields: []string{"mode"}},
"network_default_help": {},
"network_failed": {fields: []string{"reason"}},
"new_vm_agent_from": {fields: []string{"agent", "from"}},
"new_vm_agents_none": {},
"new_vm_choose": {},
"new_vm_cpus_prompt": {fields: []string{"cpus"}},
"new_vm_customize": {},
"new_vm_devcontainer": {fields: []string{"file"}},
"new_vm_disk_prompt": {fields: []string{"disk"}},
"new_vm_disk_question": {},
"new_vm_flags_ignored": {fields: []string{"flags", "vm"}},
"new_vm_flags_ignored_run": {fields: []string{"command", "flags", "vm"}},
"new_vm_layer_for": {fields: []string{"file", "layer"}},
"new_vm_layer_from": {fields: []string{"from", "layer"}},
"new_vm_layers_none": {},
"new_vm_memory_prompt": {fields: []string{"memory"}},
"new_vm_network": {fields: []string{"tier"}},
"new_vm_network_learn": {},
"new_vm_ports": {fields: []string{"ports"}},
"new_vm_ports_all": {},
"new_vm_ports_help": {fields: []string{"vm"}},
"new_vm_ports_list": {},
"new_vm_ports_none": {},
"new_vm_ports_prompt": {fields: []string{"ports"}},
"new_vm_size": {fields: []string{"cpus", "disk", "memory"}},
"new_vm_size_question": {fields: []string{"have_cpus", "have_memory"}},
"new_vm_summary": {fields: []string{"vm"}},
"new_vm_toolchain_for": {fields: []string{"file", "tool"}},
"new_vm_toolchain_from": {fields: []string{"from", "tool"}},
"new_vm_toolchains_none": {},
"newer_tools": {fields: []string{"tools"}},
"next_start": {plural: true, fields: []string{"count", "vm"}},
"next_start_agent": {fields: []string{"vm"}},
"next_start_folder": {fields: []string{"dir", "vm"}},
"next_start_more": {plural: true, fields: []string{"count"}},
"next_start_mount_cache": {fields: []string{"vm"}},
"next_start_mounts": {fields: []string{"vm"}},
"next_start_net_off": {fields: []string{"vm"}},
"next_start_size": {fields: []string{"vm"}},
"nix_cache_locked": {},
"no_claude_token": {fields: []string{"vm"}},
"no_code_command": {fields: []string{"host"}},
"no_command": {fields: []string{"word"}},
"no_command_like": {fields: []string{"command", "word"}},
"no_command_part": {fields: []string{"flags", "word"}},
"no_cursor_command": {fields: []string{"host"}},
"no_digest": {fields: []string{"from"}},
"no_feature": {fields: []string{"feature", "features"}},
"no_github_token": {fields: []string{"vm"}},
"no_image_named": {fields: []string{"image"}},
"no_image_named_from": {fields: []string{"from", "image"}},
"no_input": {fields: []string{"answer"}},
"no_kvm": {},
"no_parent_vm": {fields: []string{"dir"}},
"no_secret": {fields: []string{"secret"}},
"no_ssh_agent": {},
"no_subcommand": {fields: []string{"command", "commands", "given"}},
"no_terminal_delete": {fields: []string{"command"}},
"no_terminal_delete_trees": {fields: []string{"command"}},
"no_terminal_fetch": {fields: []string{"command"}},
"no_terminal_fetch_repos": {fields: []string{"command"}},
"no_terminal_lfs_large": {fields: []string{"path", "size"}},
"no_token": {},
"no_ubuntu_image": {fields: []string{"release", "url", "version"}},
"no_ubuntu_release": {fields: []string{"url", "version"}},
"no_vm": {fields: []string{"dir"}},
"no_vm_git_protect": {fields: []string{"dir"}},
"no_vm_group": {fields: []string{"dir"}},
"no_vm_mount_cache": {fields: []string{"dir"}},
"no_vm_policy": {fields: []string{"dir"}},
"no_vm_ports": {fields: []string{"dir"}},
"no_vm_size": {fields: []string{"dir"}},
"no_vm_ssh_agent": {fields: []string{"dir"}},
"not_a_rule": {fields: []string{"rule"}},
"not_an_image": {fields: []string{"name"}},
"not_setup_token": {},
"nothing_changed": {},
"nothing_deleted": {},
"nothing_imported": {},
"nothing_saved": {},
"nothing_to_clean": {},
"oci_waiting": {},
"opencode_import_failed": {fields: []string{"providers", "vm"}},
"opencode_import_too_much": {fields: []string{"vm"}},
"origin_no_boot": {fields: []string{"origin"}},
"origin_pinned": {fields: []string{"origin"}},
"output_failed": {fields: []string{"reason"}},
"packages_lists_missing": {fields: []string{"suite"}},
"packages_missing": {fields: []string{"name", "version"}},
"packages_not_newest": {fields: []string{"name", "newer", "suite", "version"}},
"packages_refused": {fields: []string{"why"}},
"packages_send_failed": {fields: []string{"vm"}},
"packages_stale": {fields: []string{"date", "release", "suite"}},
"packages_stale_mirror": {fields: []string{"date", "mirror", "release", "suite"}},
"packages_take_failed": {fields: []string{"vm"}},
"packages_waiting": {},
"part_none_alone": {fields: []string{"flag"}},
"part_other_flag": {fields: []string{"flag", "given", "other"}},
"password_prompt": {},
"paste_copy_failed": {fields: []string{"path"}},
"paste_count_failed": {fields: []string{"dir", "vm"}},
"paste_dir_invalid": {fields: []string{"setting"}},
"paste_failed": {fields: []string{"reason"}},
"paste_file_ask": {fields: []string{"file", "vm"}},
"paste_file_gone": {},
"paste_file_link": {fields: []string{"file"}},
"paste_file_outside": {fields: []string{"dir", "file"}},
"paste_file_through_link": {fields: []string{"file"}},
"paste_launch_ask": {plural: true, fields: []string{"count", "dir", "vm"}},
"paste_many_files": {plural: true, fields: []string{"count"}},
"paste_needs_tool": {fields: []string{"tool"}},
"paste_no_session": {},
"paste_not_file": {fields: []string{"file"}},
"paste_not_sent": {fields: []string{"path", "vm"}},
"paste_nothing": {},
"paste_osascript_failed": {fields: []string{"reason"}},
"paste_put": {fields: []string{"path", "vm"}},
"paste_rm_ask": {plural: true, fields: []string{"count", "dir", "vm"}},
"paste_rm_done": {plural: true, fields: []string{"count", "dir", "vm"}},
"paste_rm_failed": {fields: []string{"reason"}},
"paste_rm_none": {fields: []string{"dir", "vm"}},
"paste_rm_not_done": {fields: []string{"dir", "vm"}},
"paste_sent": {fields: []string{"path", "vm"}},
"paste_too_large": {fields: []string{"max"}},
"paste_tool_failed": {fields: []string{"reason", "tool"}},
"paste_tool_slow": {plural: true, fields: []string{"count"}},
"paste_unsupported": {},
"pi_settings_dropped": {fields: []string{"keys", "vm"}},
"pi_trusts_all": {fields: []string{"vm"}},
"pick_agents": {},
"pick_called_for": {fields: []string{"file"}},
"pick_failed": {fields: []string{"reason"}},
"pick_from_flag": {fields: []string{"flag"}},
"pick_from_setup": {},
"pick_layer_desktop": {},
"pick_layer_docker": {},
"pick_layer_nix": {},
"pick_layer_yours": {},
"pick_layers": {},
"pick_layers_fixed": {},
"pick_more": {plural: true, fields: []string{"count"}},
"pick_new_help": {fields: []string{"vm"}},
"pick_too_small": {fields: []string{"lines"}},
"pick_toolchains": {},
"pick_vm_help": {fields: []string{"vm"}},
"policy_broken_deny": {fields: []string{"file", "line", "rule"}},
"policy_failed": {fields: []string{"reason"}},
"policy_not_rule": {fields: []string{"file", "line", "rule"}},
"policy_quiet_not_own": {fields: []string{"file", "line", "rule"}},
"port_invalid": {fields: []string{"value"}},
"port_not_listed": {fields: []string{"port", "ports"}},
"port_not_published": {fields: []string{"port", "ports"}},
"ports_all_already": {},
"ports_default": {fields: []string{"ports"}},
"ports_failed": {fields: []string{"reason"}},
"ports_forward_failed": {fields: []string{"log", "vm"}},
"ports_forwarding": {fields: []string{"ports", "vm"}},
"ports_held": {plural: true, fields: []string{"count", "other", "ports", "vm"}},
"ports_limit": {plural: true, fields: []string{"count", "limit", "ports", "vm"}},
"ports_list_needed": {fields: []string{"value"}},
"ports_now": {fields: []string{"ports", "vm"}},
"ports_refused": {plural: true, fields: []string{"count", "ports", "vm"}},
"ports_restarting": {fields: []string{"vm"}},
"ports_rm_all": {},
"ports_ssh_limit": {fields: []string{"held", "limit", "others", "vms"}},
"ports_ssh_limit_all": {fields: []string{"limit", "vms"}},
"ports_ssh_limit_others": {fields: []string{"limit"}},
"ports_ssh_listed": {plural: true, fields: []string{"count", "ports"}},
"ports_ssh_old": {fields: []string{"vms"}},
"ports_taken": {plural: true, fields: []string{"count", "ports", "vm"}},
"program_broken": {fields: []string{"command", "name"}},
"program_broken_fix": {fields: []string{"command", "fix", "name"}},
"program_missing": {fields: []string{"name", "program"}},
"program_missing_fix": {fields: []string{"fix", "name", "program"}},
"program_old": {fields: []string{"min", "name", "version"}},
"program_old_fix": {fields: []string{"fix", "name", "version"}},
"project_agent_folder": {fields: []string{"dir", "folders"}},
"project_folder_changed": {fields: []string{"dir", "vm"}},
"project_folder_changed_stopped": {fields: []string{"dir", "vm"}},
"project_in_vm_folder": {fields: []string{"dir", "vm"}},
"project_unchecked": {fields: []string{"vm"}},
"project_unmounted": {fields: []string{"vm"}},
"proxy_applying_tier": {fields: []string{"vm"}},
"proxy_ca_failed": {fields: []string{"dir"}},
"proxy_confinement_unknown": {fields: []string{"vm", "why"}},
"proxy_failed": {fields: []string{"reason"}},
"proxy_old": {fields: []string{"vm"}},
"proxy_other_binary": {fields: []string{"vm"}},
"proxy_password_howto": {},
"proxy_password_in_config": {fields: []string{"key"}},
"proxy_password_missing": {},
"proxy_port_taken": {fields: []string{"port", "vm"}},
"proxy_start_failed": {fields: []string{"log", "vm"}},
"proxy_stop_failed": {fields: []string{"vm"}},
"proxy_unconfined": {fields: []string{"confinement", "log", "vm"}},
"proxy_unconfined_check_failed": {fields: []string{"log", "vm"}},
"proxy_unconfined_no_kernel": {fields: []string{"vm"}},
"proxy_unconfined_no_landlock": {fields: []string{"vm"}},
"proxy_unconfined_no_sandbox": {fields: []string{"vm"}},
"proxy_unconfined_no_seccomp": {fields: []string{"vm"}},
"proxy_unconfined_old_ports": {fields: []string{"vm"}},
"proxy_unconfined_old_signals": {fields: []string{"vm"}},
"proxy_unconfined_sandbox_failed": {fields: []string{"log", "vm"}},
"proxy_unconfined_unsupported": {fields: []string{"vm"}},
"published": {fields: []string{"ports", "vm"}},
"qemu_connects_full": {fields: []string{"limit"}},
"qemu_pins_failed": {fields: []string{"reason"}},
"qemu_pins_invalid": {fields: []string{"path"}},
"qemu_refused": {},
"reading_host_keys": {fields: []string{"vm"}},
"reading_images": {},
"reading_pasted": {fields: []string{"dir", "vm"}},
"reading_space": {},
"reading_vms": {},
"rebuild_replaces": {fields: []string{"above", "image"}},
"rebuilds_waiting": {},
"remade": {fields: []string{"image", "vm"}},
"remake_anyway": {},
"remake_clone": {fields: []string{"vm"}},
"remake_confirm": {fields: []string{"image", "vm"}},
"remake_confirm_clean_home": {fields: []string{"image", "vm"}},
"remake_failed": {fields: []string{"reason"}},
"remake_home_failed": {fields: []string{"command", "vm"}},
"remake_home_lost": {fields: []string{"vm"}},
"remake_parent_vm": {fields: []string{"command", "dir", "vm"}},
"remake_parent_vm_ask": {fields: []string{"dir", "vm"}},
"remake_pending": {fields: []string{"dir", "vm"}},
"remake_restore_failed": {fields: []string{"vm"}},
"remake_resuming": {fields: []string{"image", "vm"}},
"remake_running": {fields: []string{"vm"}},
"remake_undo_failed": {fields: []string{"dir", "vm"}},
"remake_undone": {fields: []string{"vm"}},
"remake_unfinished": {fields: []string{"vm"}},
"remote_add_failed": {fields: []string{"remote"}},
"remote_kept": {fields: []string{"remote"}},
"remotes_taken": {fields: []string{"slug", "vm"}},
"remount_restarting": {fields: []string{"vm"}},
"remounting": {fields: []string{"vm"}},
"removed_remote": {fields: []string{"remote"}},
"rename_failed": {fields: []string{"to", "vm"}},
"renaming": {fields: []string{"to", "vm"}},
"repos_not_workspace": {fields: []string{"dir"}},
"repos_value": {fields: []string{"value"}},
"resolving_tools": {},
"restart_now": {plural: true, fields: []string{"count", "vm"}},
"restoring_home": {fields: []string{"vm"}},
"retaining": {},
"retention_bad": {fields: []string{"reason"}},
"retention_busy": {},
"retention_deleted": {fields: []string{"exports", "nix_files", "orphans", "tools"}},
"retention_failed": {},
"retention_off": {},
"retention_saved": {fields: []string{"file"}},
"retention_settings_failed": {fields: []string{"reason"}},
"retention_unreadable": {},
"rm_confirm": {fields: []string{"vm"}},
"rm_failed": {fields: []string{"reason"}},
"rm_gone_clone": {fields: []string{"dir", "vm"}},
"rm_gone_stopped": {fields: []string{"dir", "vm"}},
"rm_gone_stopped_trees": {fields: []string{"dir", "vm"}},
"rm_parent_vm": {fields: []string{"dir", "vm"}},
"rm_unknown_vm": {fields: []string{"name"}},
"rm_vm_failed": {fields: []string{"name", "reason"}},
"rm_vm_folder_flag": {fields: []string{"flag"}},
"rm_vm_folder_there": {fields: []string{"dir", "vm"}},
"rm_vm_lost": {fields: []string{"vm"}},
"rm_vm_not_connected": {fields: []string{"dir", "vm"}},
"rule_added": {fields: []string{"rule", "vm"}},
"rule_added_global": {fields: []string{"rule"}},
"rule_missing": {fields: []string{"file", "rule"}},
"rule_narrows": {fields: []string{"host"}},
"rule_narrows_http_only": {fields: []string{"host", "rule", "vms"}},
"rule_narrows_nothing": {fields: []string{"host", "rule", "vms"}},
"rule_narrows_unknown": {fields: []string{"reason", "vm"}},
"rule_not_narrowable": {fields: []string{"rule"}},
"rule_present": {fields: []string{"file", "rule"}},
"rule_removed": {fields: []string{"rule", "vm"}},
"rule_removed_global": {fields: []string{"rule"}},
"run_log_failed": {fields: []string{"dir", "reason"}},
"running_script": {fields: []string{"script", "what"}},
"saved_branches": {fields: []string{"branches"}},
"saved_names_taken": {fields: []string{"command", "remote", "vm"}},
"saved_names_taken_fetch": {fields: []string{"remote"}},
"saving_home": {fields: []string{"vm"}},
"script_failed": {fields: []string{"script", "vm"}},
"secret_binding_changed": {fields: []string{"secret"}},
"secret_env_taken": {fields: []string{"env", "secret"}},
"secret_failed": {fields: []string{"reason"}},
"secret_fixed": {fields: []string{"secret"}},
"secret_host_only": {fields: []string{"secret"}},
"secret_hosts_changed": {plural: true, fields: []string{"count", "hosts", "secret", "vms"}},
"secret_hosts_grown": {plural: true, fields: []string{"count", "secret", "vms"}},
"secret_name_taken": {fields: []string{"given"}},
"secret_needs_env": {fields: []string{"secret"}},
"secret_needs_host": {fields: []string{"secret"}},
"secret_new_like": {fields: []string{"given", "like"}},
"secret_not_saved": {fields: []string{"secret", "vm"}},
"secret_removed": {fields: []string{"secret"}},
"secret_rm_confirm": {fields: []string{"name"}},
"secret_rm_users": {plural: true, fields: []string{"count", "secret", "vms"}},
"secret_saved": {fields: []string{"file", "secret"}},
"secret_saved_keychain": {fields: []string{"secret"}},
"secret_scheme_header": {fields: []string{"secret"}},
"secret_stale": {fields: []string{"secret", "vm"}},
"secret_too_many_hosts": {fields: []string{"most", "secret"}},
"secret_unused": {fields: []string{"secret", "vm"}},
"secret_used": {fields: []string{"secret", "vm"}},
"secret_with_claude": {fields: []string{"vm"}},
"secrets_other_binary": {fields: []string{"vm"}},
"set_in_config": {fields: []string{"file", "key"}},
"setid_files": {fields: []string{"files"}},
"setid_root_files": {fields: []string{"files"}},
"setting_already": {fields: []string{"command", "vm"}},
"setting_applied": {fields: []string{"vm"}},
"setting_set": {fields: []string{"vm"}},
"setting_up_vm": {fields: []string{"vm"}},
"setup_failed": {fields: []string{"reason"}},
"setup_in_config": {fields: []string{"file", "key"}},
"setup_token_no_terminal": {fields: []string{"agent"}},
"share_waiting": {fields: []string{"dir"}},
"size_cpus_prompt": {fields: []string{"cpus"}},
"size_defaults": {fields: []string{"size"}},
"size_failed": {fields: []string{"reason"}},
"size_memory_prompt": {fields: []string{"memory"}},
"size_not_gib": {fields: []string{"flag", "value"}},
"size_pending": {fields: []string{"size", "vm"}},
"size_pending_running": {fields: []string{"size", "vm"}},
"size_question": {fields: []string{"have_cpus", "have_memory"}},
"size_stored_invalid": {fields: []string{"key", "value", "vm"}},
"space_backend_unknown": {fields: []string{"backend"}},
"space_caches_note": {},
"space_failed": {fields: []string{"reason"}},
"space_folder_gone": {fields: []string{"dir", "vm"}},
"space_folder_not_connected": {fields: []string{"dir", "vm"}},
"space_stray": {fields: []string{"backend", "data", "vm"}},
"ssh_agent_empty": {},
"ssh_agent_failed": {fields: []string{"reason"}},
"ssh_failed": {fields: []string{"reason"}},
"ssh_host_info": {fields: []string{"dir", "host"}},
"ssh_include_added": {},
"ssh_include_needed": {fields: []string{"line"}},
"ssh_include_yourself": {},
"ssh_remote_hint": {fields: []string{"vm"}},
"start_failed": {fields: []string{"vm"}},
"start_no_ssh": {fields: []string{"console", "vm"}},
"started_with_warnings": {fields: []string{"vm"}},
"starting": {fields: []string{"what"}},
"stop_failed": {fields: []string{"vm"}},
"stop_vm_failed": {fields: []string{"reason"}},
"stopped": {fields: []string{"vm"}},
"stopping": {fields: []string{"vm"}},
"sync_failed": {fields: []string{"vm"}},
"tier_linked_clients": {fields: []string{"tier", "vm", "vms"}},
"tier_linked_targets": {fields: []string{"targets", "tier", "vm"}},
"token_is_placeholder": {},
"token_not_ascii": {},
"token_prompt": {},
"token_quotes": {},
"token_too_long": {fields: []string{"most"}},
"too_many_cpus": {fields: []string{"have", "want"}},
"too_much_memory": {fields: []string{"have", "max", "want"}},
"tool_bad_output": {fields: []string{"file"}},
"tool_bad_version": {fields: []string{"tool", "version"}},
"tool_glibc_only": {fields: []string{"tool"}},
"tool_needs_glibc": {fields: []string{"has", "needs", "tool", "version"}},
"tool_no_download": {fields: []string{"tool", "version"}},
"tool_not_layer": {fields: []string{"tool"}},
"tool_not_locked": {fields: []string{"lock", "tool"}},
"tool_stepped_back": {fields: []string{"older", "tool", "version"}},
"tool_unbuilt": {fields: []string{"tool", "version"}},
"tools_build_failed": {},
"tools_build_vm": {fields: []string{"tool"}},
"tools_build_vms_deleted": {plural: true, fields: []string{"count", "vms"}},
"tools_changed": {},
"tools_check_failed": {},
"tools_failed": {fields: []string{"reason"}},
"tools_joined": {fields: []string{"cmd", "given"}},
"tools_need_own_base": {},
"tools_need_resolve": {},
"tools_newest": {fields: []string{"vm"}},
"tools_resolve_failed": {},
"tools_switch": {fields: []string{"vm"}},
"tools_unmounted": {fields: []string{"tools", "vm"}},
"tools_untrusted": {fields: []string{"dir"}},
"tools_wrong_base": {fields: []string{"key"}},
"trees_check_failed": {fields: []string{"command", "vm"}},
"trees_check_not_started": {fields: []string{"command", "vm"}},
"trees_check_skipped": {fields: []string{"command", "vm"}},
"ubuntu_bad_certificate": {fields: []string{"url"}},
"ubuntu_bad_signature": {fields: []string{"release", "url"}},
"ubuntu_certificate_invalid": {fields: []string{"reason", "url"}},
"ubuntu_download_failed": {fields: []string{"release", "url"}},
"ubuntu_image_checksum": {fields: []string{"release", "url"}},
"ubuntu_image_waiting": {},
"ubuntu_mirror_invalid": {fields: []string{"setting"}},
"ubuntu_newest_older": {fields: []string{"newest", "pinned"}},
"ubuntu_pin_waiting": {},
"ubuntu_release_gone": {fields: []string{"release", "url"}},
"ubuntu_unreachable": {fields: []string{"url", "version"}},
"ubuntu_untrusted": {fields: []string{"dir", "url"}},
"unfetched_commits": {fields: []string{"refs"}},
"unfetched_commits_in": {fields: []string{"refs", "repo"}},
"unfinished_image": {fields: []string{"vm"}},
"unknown_feature": {fields: []string{"feature"}},
"unknown_layer": {fields: []string{"layer", "layers"}},
"unknown_layer_like": {fields: []string{"layer", "like"}},
"unknown_part": {fields: []string{"flag", "given", "names"}},
"unknown_part_like": {fields: []string{"flag", "given", "like"}},
"unknown_tool": {fields: []string{"tool", "tools"}},
"unpublished": {fields: []string{"ports", "vm"}},
"unpublished_linked": {fields: []string{"vm", "vms"}},
"unsafe_folder": {fields: []string{"dir", "holds"}},
"unsafe_folder_inside": {fields: []string{"dir", "inside"}},
"unsafe_folder_used": {fields: []string{"dir", "holds"}},
"up_failed": {fields: []string{"reason"}},
"upgrade_already": {fields: []string{"version"}},
"upgrade_already_latest": {fields: []string{"version"}},
"upgrade_available": {fields: []string{"current", "latest"}},
"upgrade_available_prerelease": {fields: []string{"current", "latest"}},
"upgrade_bad_archive": {fields: []string{"version"}},
"upgrade_bad_checksum": {fields: []string{"archive", "version"}},
"upgrade_bad_signature": {fields: []string{"version"}},
"upgrade_brew_done": {},
"upgrade_brew_failed": {fields: []string{"formula"}},
"upgrade_brew_step": {fields: []string{"formula"}},
"upgrade_brew_version": {},
"upgrade_checking": {},
"upgrade_checkout_build": {fields: []string{"version"}},
"upgrade_confirm": {fields: []string{"current", "version"}},
"upgrade_confirm_brew": {fields: []string{"current", "formula", "version"}},
"upgrade_confirm_older": {fields: []string{"current", "version"}},
"upgrade_done": {fields: []string{"link", "version"}},
"upgrade_download_failed": {fields: []string{"file", "version"}},
"upgrade_downloading": {fields: []string{"version"}},
"upgrade_failed": {fields: []string{"version"}},
"upgrade_failed_reason": {fields: []string{"reason"}},
"upgrade_go_install": {fields: []string{"version"}},
"upgrade_installing": {fields: []string{"version"}},
"upgrade_kept_in_use": {fields: []string{"version"}},
"upgrade_latest_is": {fields: []string{"latest"}},
"upgrade_latest_older": {fields: []string{"current", "latest"}},
"upgrade_new_failed": {fields: []string{"version"}},
"upgrade_no_archive": {fields: []string{"archive", "version"}},
"upgrade_no_key": {},
"upgrade_no_latest": {fields: []string{"url"}},
"upgrade_not_version": {fields: []string{"value"}},
"upgrade_nothing_installed": {},
"upgrade_other_install": {fields: []string{"path"}},
"upgrade_prerelease_ahead": {fields: []string{"current", "latest"}},
"upgrade_rollback_failed": {fields: []string{"link", "old"}},
"upstream_proxy_gone": {fields: []string{"file", "vm_name"}},
"upstream_proxy_invalid": {fields: []string{"setting"}},
"upstream_proxy_scheme": {fields: []string{"scheme", "setting"}},
"usage_error": {fields: []string{"reason"}},
"usage_help": {fields: []string{"command"}},
"using_parent_vm": {fields: []string{"dir", "vm"}},
"vm_adopted": {fields: []string{"dir", "vm"}},
"vm_already_here": {fields: []string{"vm"}},
"vm_changed": {fields: []string{"changed", "vm"}},
"vm_create_failed": {fields: []string{"vm"}},
"vm_current": {fields: []string{"image", "vm"}},
"vm_folder_stateless": {fields: []string{"path"}},
"vm_folder_unreadable": {fields: []string{"dir", "vm", "why"}},
"vm_has_networks": {fields: []string{"file", "vm"}},
"vm_lacks": {fields: []string{"has", "tool", "vm"}},
"vm_mount_cache": {fields: []string{"mode", "vm"}},
"vm_moved_here": {fields: []string{"vm", "was"}},
"vm_name_no_room": {fields: []string{"backend", "max"}},
"vm_not_running": {fields: []string{"vm"}},
"vm_other_folder": {fields: []string{"vm", "was"}},
"vm_other_folder_adopt": {fields: []string{"vm", "was"}},
"vm_other_folder_rm": {fields: []string{"vm", "was"}},
"vm_outdated": {fields: []string{"changed"}},
"vm_size": {fields: []string{"size", "vm"}},
"vm_state_broken": {fields: []string{"name", "why"}},
"vm_state_unreadable": {fields: []string{"path"}},
"vm_state_waiting": {fields: []string{"vm"}},
"vm_tools_now": {fields: []string{"tools", "vm"}},
"vm_unfinished": {fields: []string{"vm"}},
"vms_moved_here": {fields: []string{"vms"}},
"vms_stray": {fields: []string{"path", "vms"}},
"vms_unreadable": {fields: []string{"path"}},
"widen_parent_vm": {fields: []string{"cmd", "dir", "vm"}},
"widen_parent_vm_refused": {fields: []string{"cmd", "dir", "vm"}},
"workspace_detached": {fields: []string{"path"}},
"workspace_files_failed": {fields: []string{"dir"}},
"workspace_files_skipped": {plural: true, fields: []string{"count"}},
"workspace_inside_repo": {fields: []string{"dir", "top"}},
"workspace_pick_cannot": {},
"workspace_pick_help": {fields: []string{"dir"}},
"workspace_ready": {plural: true, fields: []string{"count"}},
"workspace_reason_elsewhere": {},
"workspace_reason_grafts": {},
"workspace_reason_mounted": {fields: []string{"vm"}},
"workspace_reason_name": {},
"workspace_reason_no_commits": {},
"workspace_reason_not_repo": {},
"workspace_repo_dropped": {fields: []string{"path"}},
"workspace_repo_unknown": {fields: []string{"dir", "path"}},
"workspace_repos_past": {plural: true, fields: []string{"count", "max"}},
"workspace_skipped": {fields: []string{"paths"}},
"workspace_worktree_tips": {fields: []string{"path"}},
}