lighthouse-cli 0.20.0__tar.gz → 0.20.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. {lighthouse_cli-0.20.0/lighthouse_cli.egg-info → lighthouse_cli-0.20.1}/PKG-INFO +1 -1
  2. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/README.md +1 -1
  3. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/__init__.py +1 -1
  4. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/flags.py +1 -1
  5. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/i18n.py +7 -2
  6. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/ar.json +1 -1
  7. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/de.json +1 -1
  8. lighthouse_cli-0.20.1/lighthouse/locales/en-US.json +390 -0
  9. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/en.json +1 -1
  10. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/es.json +1 -1
  11. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/fr.json +1 -1
  12. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/ga.json +1 -1
  13. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/it.json +1 -1
  14. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/ja.json +1 -1
  15. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/nl.json +1 -1
  16. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/pt.json +1 -1
  17. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/zh-Hans.json +1 -1
  18. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/locales/zh-Hant.json +1 -1
  19. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/main.py +1 -1
  20. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1/lighthouse_cli.egg-info}/PKG-INFO +1 -1
  21. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse_cli.egg-info/SOURCES.txt +1 -0
  22. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/pyproject.toml +1 -1
  23. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_i18n.py +7 -0
  24. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/LICENSE +0 -0
  25. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/NOTICE +0 -0
  26. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/__main__.py +0 -0
  27. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/__init__.py +0 -0
  28. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/agents.py +0 -0
  29. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/builds.py +0 -0
  30. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/collectors.py +0 -0
  31. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/connect.py +0 -0
  32. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/connections.py +0 -0
  33. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/evals.py +0 -0
  34. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/kb.py +0 -0
  35. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/language.py +0 -0
  36. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/limits.py +0 -0
  37. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/login.py +0 -0
  38. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/models.py +0 -0
  39. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/offline.py +0 -0
  40. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/runs.py +0 -0
  41. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/spend.py +0 -0
  42. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/stack.py +0 -0
  43. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/terms.py +0 -0
  44. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/verify.py +0 -0
  45. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/commands/whoami.py +0 -0
  46. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/config.py +0 -0
  47. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/credentials.py +0 -0
  48. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/device.py +0 -0
  49. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/exits.py +0 -0
  50. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/http.py +0 -0
  51. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/out.py +0 -0
  52. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/py.typed +0 -0
  53. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse/sealing.py +0 -0
  54. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse_cli.egg-info/dependency_links.txt +0 -0
  55. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse_cli.egg-info/entry_points.txt +0 -0
  56. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse_cli.egg-info/requires.txt +0 -0
  57. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/lighthouse_cli.egg-info/top_level.txt +0 -0
  58. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/setup.cfg +0 -0
  59. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_ci_credential.py +0 -0
  60. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_collectors.py +0 -0
  61. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_commands.py +0 -0
  62. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_connect_erp_hr.py +0 -0
  63. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_connect_finav.py +0 -0
  64. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_connect_library.py +0 -0
  65. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_dev_surface.py +0 -0
  66. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_fixtures.py +0 -0
  67. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_golden.py +0 -0
  68. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_installers.py +0 -0
  69. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_offline.py +0 -0
  70. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_plumbing.py +0 -0
  71. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_sealing.py +0 -0
  72. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_stack.py +0 -0
  73. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_verify.py +0 -0
  74. {lighthouse_cli-0.20.0 → lighthouse_cli-0.20.1}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lighthouse-cli
3
- Version: 0.20.0
3
+ Version: 0.20.1
4
4
  Summary: The LightHouse command line: sign in, connect your estate, deploy agents, watch runs
5
5
  License-Expression: Apache-2.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -189,7 +189,7 @@ A rate limit (`429`) is waited out and retried by the CLI itself.
189
189
 
190
190
  **Language.** `--lang <tag>` (or `LIGHTHOUSE_LANG`) picks the language of help,
191
191
  prompts, errors and table headers for one run: `en` (British English, the
192
- default and the source), `fr`, `de`, `es`, `it`, `pt`, `nl`, `ga`, `ja`, `zh-Hans`, `zh-Hant` or `ar`. Without
192
+ default and the source), `en-US` (American spelling), `fr`, `de`, `es`, `it`, `pt`, `nl`, `ga`, `ja`, `zh-Hans`, `zh-Hant` or `ar`. Without
193
193
  either, the CLI uses the language you set in the portal (kept by `lighthouse-ai
194
194
  whoami` and `lighthouse-ai language`), then `LANG`. `--json` is never translated: its
195
195
  keys, values and the `error` code are the same in every language. The translations
@@ -3,4 +3,4 @@
3
3
  """The `lighthouse-ai` command line for LightHouse."""
4
4
  from __future__ import annotations
5
5
 
6
- __version__ = "0.20.0"
6
+ __version__ = "0.20.1"
@@ -25,7 +25,7 @@ HELP = {
25
25
  "no_input": "never ask a person anything; exit 7 instead",
26
26
  "yes": "answer yes to every confirmation",
27
27
  "timeout": "seconds for one request",
28
- "lang": "the language to speak: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant or ar (default: your setting, then LANG)",
28
+ "lang": "the language to speak: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant or ar (default: your setting, then LANG)",
29
29
  }
30
30
 
31
31
 
@@ -42,7 +42,7 @@ from typing import Any
42
42
 
43
43
  FALLBACK = "en"
44
44
  # The same list as the service's (aal_control/languages.py); a test holds the two equal.
45
- TAGS = ("en", "fr", "de", "es", "it", "pt", "nl", "ga", "ja", "zh-Hans", "zh-Hant", "ar")
45
+ TAGS = ("en", "en-US", "fr", "de", "es", "it", "pt", "nl", "ga", "ja", "zh-Hans", "zh-Hant", "ar")
46
46
  ENV_LANG = "LIGHTHOUSE_LANG"
47
47
  LOCALES = Path(__file__).parent / "locales"
48
48
  CACHE_FILE = "language.json"
@@ -65,7 +65,8 @@ def normalise(value: Any) -> str | None:
65
65
  the tag itself, or its primary subtag (`fr-CA`, `de_DE.UTF-8`, `ga_IE@euro`).
66
66
  Chinese keeps its script: `zh-Hant`, or a Taiwan, Hong Kong or Macao region
67
67
  (`zh_TW.UTF-8`), is `zh-Hant`; any other `zh` (`zh`, `zh-CN`, `zh_SG`,
68
- `zh-Hans-CN`) is `zh-Hans`. Case is ignored."""
68
+ `zh-Hans-CN`) is `zh-Hans`. English from the United States or Canada
69
+ (`en_US.UTF-8`, `en-CA`) is `en-US`; any other English is `en`. Case is ignored."""
69
70
  if not isinstance(value, str):
70
71
  return None
71
72
  parts = [p for p in re.split(r"[-_.@]", value.strip().lower()) if p]
@@ -78,6 +79,10 @@ def normalise(value: Any) -> str | None:
78
79
  if "hant" in rest or ("hans" not in rest and rest & {"tw", "hk", "mo"}):
79
80
  return "zh-Hant"
80
81
  return "zh-Hans"
82
+ if parts[0] == "en":
83
+ # English from the United States or Canada reads American spelling; any other English is `en`.
84
+ subtags = re.split(r"[.@]", value.strip().lower())[0].replace("_", "-").split("-")[1:]
85
+ return "en-US" if set(subtags) & {"us", "ca"} else "en"
81
86
  return parts[0] if parts[0] in TAGS else None
82
87
 
83
88
 
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "لا تسأل أي شخص أي شيء؛ اخرج بالرمز 7 بدلاً من ذلك",
82
82
  "help.yes": "أجب بنعم على كل تأكيد",
83
83
  "help.timeout": "ثوانٍ لطلب واحد",
84
- "help.lang": "اللغة المستخدمة: en أو fr أو de أو es أو it أو pt أو nl, ga, ja, zh-Hans, zh-Hant, ar (الافتراضي: إعدادك، ثم LANG)",
84
+ "help.lang": "اللغة المستخدمة: en أو en-US أو fr أو de أو es أو it أو pt أو nl, ga, ja, zh-Hans, zh-Hant, ar (الافتراضي: إعدادك، ثم LANG)",
85
85
  "help.login._help": "سجّل الدخول عبر المتصفح برمز جهاز",
86
86
  "help.logout._help": "ألغِ رمز هذا الجهاز وانسَه",
87
87
  "help.tokens._help": "رموزك المفوَّضة، وإلغاء أحدها",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "nie eine Person etwas fragen; stattdessen mit Code 7 beenden",
82
82
  "help.yes": "jede Bestätigung mit Ja beantworten",
83
83
  "help.timeout": "Sekunden für eine Anfrage",
84
- "help.lang": "die zu sprechende Sprache: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (Standard: Ihre Einstellung, dann LANG)",
84
+ "help.lang": "die zu sprechende Sprache: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (Standard: Ihre Einstellung, dann LANG)",
85
85
  "help.login._help": "über den Browser mit einem Gerätecode anmelden",
86
86
  "help.logout._help": "das Token dieses Rechners widerrufen und vergessen",
87
87
  "help.tokens._help": "Ihre delegierten Tokens und eines widerrufen",
@@ -0,0 +1,390 @@
1
+ {
2
+ "_comment": "machine-drafted, pending native review (American English: en.json with US spelling)",
3
+ "main.description": "LightHouse™ from the command line: sign in, connect your estate, deploy agents, watch runs and read cost.",
4
+ "main.epilog": "Exit codes: 0 ok, 1 failed, 2 usage, 3 not signed in, 4 forbidden, 5 retry later, 7 needs a person. LightHouse and Octy are trademarks of Atlantic Agentic Labs. Docs: https://docs.atlanticagenticlabs.com/cli/",
5
+ "out.error": "error",
6
+ "out.warning": "warning",
7
+ "out.nothing": "(nothing)",
8
+ "confirm.suffix": "[y/N]",
9
+ "confirm.yes": "y,yes",
10
+ "note.stopped": "stopped",
11
+ "note.waiting_for_approval": "waiting for approval…",
12
+ "prompt.open_browser": "Press Enter to open the browser, or Ctrl-C to stop…",
13
+ "prompt.revoke_token": "revoke token {token}?",
14
+ "err.not_signed_in": "not signed in",
15
+ "err.not_signed_in_for": "not signed in for {host}",
16
+ "hint.login": "run `lighthouse-ai login`",
17
+ "hint.login_again": "run `lighthouse-ai login` again",
18
+ "err.needs_a_person": "{what} needs a person at the keyboard",
19
+ "hint.needs_a_person": "run it without --no-input, or set the value on the command line",
20
+ "err.no_host": "no tenant host is set",
21
+ "hint.no_host": "pass --host <tenant-id>.atlanticagenticlabs.com, set LIGHTHOUSE_HOST, or run `lighthouse-ai login --host …` once",
22
+ "err.bad_host": "{given} is not a hostname",
23
+ "hint.bad_host": "use the tenant id, or the portal's hostname",
24
+ "err.bad_config": "{path} could not be read: {error}",
25
+ "hint.bad_config": "fix it, or delete it and run `lighthouse-ai login` again",
26
+ "err.pairing_expired": "the pairing code expired before it was approved",
27
+ "err.sign_in_declined": "the sign-in was declined in the portal",
28
+ "err.no_terminal": "there is no terminal to ask on",
29
+ "hint.no_terminal": "pass --yes to open the browser, or --no-browser",
30
+ "err.timeout": "{method} {path} timed out",
31
+ "err.unreachable": "could not reach {host}: {error}",
32
+ "hint.unreachable": "check the hostname and your network",
33
+ "err.not_json": "{method} {path}: the service answered something that is not JSON",
34
+ "err.exhausted": "{method} {path} did not succeed",
35
+ "err.service_answered": "the service answered {status}",
36
+ "hint.scope_required": "sign in again with the scope this needs, e.g. `lighthouse-ai login --scope \"telemetry:read agents:read {scope}\"`",
37
+ "err.access_state_wrong": "is wrong or has no access to this tenant",
38
+ "err.access_state_missing": "is missing",
39
+ "err.access_stopped": "Cloudflare Access stopped the request before it reached LightHouse: the Access service token {state}",
40
+ "hint.access_stopped": "set {id} and {secret} to the tenant's Access service token (or pass --access-client-id to `lighthouse-ai login`)",
41
+ "err.machine_key_refused": "the machine key in {env} was refused: it may have been revoked, or it belongs to another tenant",
42
+ "hint.machine_key_refused": "check the Keys page in the portal; a machine key is not refreshed and does not expire by time",
43
+ "err.delegated_token_refused": "the delegated token in {env} has expired or been revoked. A delegated token (lhat-...) lasts eight hours and is not refreshed in a pipeline",
44
+ "hint.delegated_token_refused": "for CI, create a machine key (aalcp-...) on the portal's Keys page and put that in {env}, with the tenant's Access service token",
45
+ "err.access_token_incomplete": "the Cloudflare Access service token is half set: {missing} is missing",
46
+ "hint.access_token_incomplete": "set both {id} and {secret}",
47
+ "err.access_secret_empty": "--access-client-secret-stdin was given but standard input was empty",
48
+ "err.access_id_missing": "the Access secret was read but there is no id to go with it",
49
+ "hint.access_id_missing": "pass --access-client-id or set {id}",
50
+ "err.access_secret_missing": "--access-client-id needs its secret",
51
+ "hint.access_secret_missing": "pipe it to --access-client-secret-stdin, or set {secret}. It is never a command-line argument",
52
+ "err.machine_key_no_tokens": "a machine key has no delegated tokens to list or revoke",
53
+ "hint.machine_key_no_tokens": "revoke a machine key on the portal's Keys page; `lighthouse-ai tokens` is for the delegated tokens people sign in with",
54
+ "err.not_revoked": "not revoked",
55
+ "err.no_tokens_to_list": "this credential has no delegated tokens to list",
56
+ "err.unsupported_language": "{lang} is not a supported language",
57
+ "hint.unsupported_language": "use one of: {tags}",
58
+ "err.language_both": "give a language or --clear, not both",
59
+ "login.pairing_code": "Your pairing code is: {code}",
60
+ "login.approve_at": "Approve it at {url}",
61
+ "login.asking_for": "asking for: {scope}",
62
+ "login.signed_in": "Signed in to {tenant} as {email} ({role}).",
63
+ "login.scopes": "scopes: {scopes}",
64
+ "login.no_scopes": "(none)",
65
+ "login.in_keychain": "the token is in your operating system keychain, not in any file",
66
+ "login.access_kept": "the Cloudflare Access service token is kept there with it",
67
+ "logout.nothing_stored": "{host}: nothing stored",
68
+ "logout.revoked": "{host}: revoked and forgotten",
69
+ "logout.forgotten": "{host}: forgotten here; it expires at the service on its own",
70
+ "logout.could_not_revoke": "{host}: could not revoke at the service ({error}); forgetting it here anyway",
71
+ "tokens.revoked": "revoked {token}",
72
+ "whoami.all_reach": "(all this role reaches)",
73
+ "whoami.machine_key": "machine key",
74
+ "whoami.delegated_token": "delegated token",
75
+ "whoami.never_by_time": "never by time",
76
+ "whoami.note_machine_key": "a machine key is never refreshed and does not expire by time; revoke it on the portal's Keys page",
77
+ "whoami.note_delegated_token": "a delegated token expires in eight hours and is not refreshed under LIGHTHOUSE_TOKEN; for CI use a machine key (aalcp-...) from the portal's Keys page",
78
+ "help.host": "the tenant's hostname or id",
79
+ "help.as_json": "one JSON document on standard output, nothing else",
80
+ "help.quiet": "no prose",
81
+ "help.no_input": "never ask a person anything; exit 7 instead",
82
+ "help.yes": "answer yes to every confirmation",
83
+ "help.timeout": "seconds for one request",
84
+ "help.lang": "the language to speak: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant or ar (default: your setting, then LANG)",
85
+ "help.login._help": "sign in through the browser with a device code",
86
+ "help.logout._help": "revoke this machine's token and forget it",
87
+ "help.tokens._help": "your delegated tokens, and revoke one",
88
+ "help.whoami._help": "who this CLI is signed in as, and with what reach",
89
+ "help.connect._help": "open a provider's own approval for this tenant",
90
+ "help.connections._help": "your connections' sync schedules, set one, or sync now",
91
+ "help.collectors._help": "ask Atlantic for a collector, and follow your requests",
92
+ "help.models._help": "the model library and its evidence scores",
93
+ "help.kb._help": "knowledge bases, their freshness, and ingesting into them",
94
+ "help.agents._help": "list, inspect, scaffold, deploy and roll back agents",
95
+ "help.builds._help": "agents built with the agent builder, and where each is",
96
+ "help.evals._help": "evaluation results, and running a set",
97
+ "help.runs._help": "what is running now, and what ran",
98
+ "help.spend._help": "what was spent, what it is heading for, what was saved",
99
+ "help.limits._help": "the spend limits in force, and whether the engines applied them",
100
+ "help.terms._help": "the commercial terms in force for this tenant",
101
+ "help.stack._help": "Get my stack: the files that run LightHouse where you chose",
102
+ "help.language._help": "your language, and the languages on offer",
103
+ "help.login.scope": "the scopes to ask for, space separated (default: telemetry:read agents:read)",
104
+ "help.login.no_browser": "print the URL instead of opening a browser",
105
+ "help.login.name": "how this sign-in is described in the portal and the audit log",
106
+ "help.login.access_client_id": "the tenant's Cloudflare Access service token id, to keep with the sign-in (the secret: --access-client-secret-stdin)",
107
+ "help.login.access_secret_stdin": "read the Access service token secret from one line of standard input",
108
+ "help.logout.every": "forget every host, not only the current one",
109
+ "help.tokens.revoke": "revoke one of your own tokens by its id",
110
+ "help.whoami.profiles": "list every host signed in on this machine as well",
111
+ "help.connect.provider": "the provider to connect; `list` (or nothing) to list them",
112
+ "help.connect.family": "with list: one family (google, microsoft, oracle, crm, ...)",
113
+ "help.connect.kind": "with list: what it holds (crm, mail, service-desk, ...)",
114
+ "help.connect.search": "with list: words to find in the name, family, kind or description (\"email\" finds Mail, \"tickets\" finds Service desk)",
115
+ "help.connect.state": "with list: only connectors in this state",
116
+ "help.connect.no_browser": "print the approval URL instead of opening it",
117
+ "help.connect.reuse_local": "offer to reuse a sign-in already on this machine (asks first)",
118
+ "help.connect.every": "with no provider: list the coming ones too",
119
+ "help.connect.credential_stdin": "connect an existing token, read from standard input, as yourself (needs `cloudflared access login https://<host>`)",
120
+ "help.connect.access": "with --credential-stdin: read (the default) or read_write",
121
+ "help.connect.target": "with --credential-stdin: what the connection points at (organization=..., instance_url=..., site=...); repeatable",
122
+ "help.connect.deployment": "with --credential-stdin: the deployment that keeps the credential, where the tenant has more than one",
123
+ "help.connect.deployment_key": "with --credential-stdin: pin the deployment's public key (base64 or PEM, as your infrastructure printed it); the token is sealed only to a sealing key that key signed (or LIGHTHOUSE_DEPLOYMENT_KEY)",
124
+ "help.connections.list._help": "every connection, its sync schedule and next sync (the default)",
125
+ "help.connections.schedule._help": "set how often a connection syncs (client_admin, as yourself)",
126
+ "help.connections.sync._help": "sync a connection now (client_admin, as yourself)",
127
+ "help.connections.schedule.connection": "the connection's id, cx-...",
128
+ "help.connections.schedule.mode": "off, every_15m, hourly, working_hours or daily",
129
+ "help.connections.schedule.at": "with --mode daily: the time, 24-hour HH:MM",
130
+ "help.connections.schedule.tz": "with working_hours or daily: a time zone, e.g. Europe/London",
131
+ "help.connections.schedule.card": "the source, <pack>:<card>, where the deployment reports more than one",
132
+ "help.connections.schedule.deployment": "the deployment, where the source runs in more than one",
133
+ "help.connections.schedule.reason": "why, for the audit log",
134
+ "help.connections.sync.connection": "the connection's id, cx-...",
135
+ "help.connections.sync.card": "the source, <pack>:<card>, where the deployment reports more than one",
136
+ "help.connections.sync.deployment": "the deployment, where the source runs in more than one",
137
+ "help.connections.sync.reason": "why, for the audit log",
138
+ "help.collectors.requests._help": "your tenant's collector requests and their stage (the default)",
139
+ "help.collectors.request._help": "ask Atlantic for a collector (handler or client_admin)",
140
+ "help.collectors.request.vendor": "who makes the system, e.g. 'Invented CRM'",
141
+ "help.collectors.request.product": "the product, e.g. 'Sales Suite'",
142
+ "help.collectors.request.reads": "what it should read",
143
+ "help.collectors.request.cloud": "where your deployment runs",
144
+ "help.collectors.request.kind": "what it reads, as a slug: crm, tickets, wiki, ...",
145
+ "help.collectors.request.access": "read (the default) or read_write",
146
+ "help.collectors.request.urgency": "low, normal (the default) or high",
147
+ "help.collectors.request.docs_url": "the vendor's public API documentation, https://",
148
+ "help.models.task": "accepted for compatibility; the library is not ranked per task by the service, so it changes nothing",
149
+ "help.models.provider": "only this provider's models",
150
+ "help.kb.list._help": "every knowledge base (the default)",
151
+ "help.kb.show._help": "one knowledge base",
152
+ "help.kb.ingest._help": "sync a connection into a knowledge base now (as yourself)",
153
+ "help.kb.upload._help": "upload a file straight to your deployment's own store",
154
+ "help.kb.show.index": "the index's name",
155
+ "help.kb.ingest.source": "a connection id (cx-...) or a connector: github, gitlab, confluence, jira, gdrive…",
156
+ "help.kb.ingest.repo": "narrow a connector to one connection by its label or target, e.g. owner/name",
157
+ "help.kb.ingest.reason": "why, for the audit log",
158
+ "help.kb.ingest.wait": "wait for the sync to finish",
159
+ "help.kb.ingest.wait_timeout": "seconds to wait at most (default 1800); then exit 5",
160
+ "help.kb.upload.file": "the file: .md, .txt, .csv, .pdf, .docx, .pptx, .xlsx…",
161
+ "help.kb.upload.deployment": "which deployment, where you have more than one",
162
+ "help.agents.list._help": "every agent (the default)",
163
+ "help.agents.show._help": "one agent's configuration and last runs",
164
+ "help.agents.init._help": "scaffold agent.toml in this directory",
165
+ "help.agents.logs._help": "an agent's runs, and one run's steps",
166
+ "help.agents.deploy._help": "make a released version of an agent current (deploy scope)",
167
+ "help.agents.rollback._help": "go back to an earlier released version (deploy scope)",
168
+ "help.agents.show.agent": "pack:card, e.g. research:summary",
169
+ "help.agents.init.name": "the agent's name",
170
+ "help.agents.init.file": "where to write it",
171
+ "help.agents.init.force": "overwrite an existing file",
172
+ "help.agents.logs.status": "only runs with this status",
173
+ "help.agents.logs.trace": "one run's spans instead",
174
+ "help.agents.deploy.agent": "pack:card, e.g. research:summary",
175
+ "help.agents.deploy.version": "the released version to make current",
176
+ "help.agents.deploy.deployment": "the deployment, where the tenant has more than one",
177
+ "help.agents.deploy.reason": "why, for the audit log",
178
+ "help.agents.deploy.wait": "wait until the deployment answers (and, if it waits for approval, for the decision)",
179
+ "help.agents.deploy.wait_timeout": "seconds to wait at most (default 900); then exit 5",
180
+ "help.agents.rollback.agent": "pack:card",
181
+ "help.agents.rollback.to": "the version to go back to (default: the last one that passed its gate before the current one)",
182
+ "help.agents.rollback.deployment": "the deployment, where the tenant has more than one",
183
+ "help.agents.rollback.reason": "why, for the audit log",
184
+ "help.agents.rollback.wait": "wait until the deployment answers (and, if it waits for approval, for the decision)",
185
+ "help.agents.rollback.wait_timeout": "seconds to wait at most (default 900); then exit 5",
186
+ "help.builds.status": "only proposals at this step, e.g. publish_requested",
187
+ "help.builds.show._help": "one proposal, with its scores and estimated cost",
188
+ "help.builds.show.proposal": "the proposal's id (32 hex characters)",
189
+ "help.evals.list._help": "the latest results (the default)",
190
+ "help.evals.run._help": "run an agent's evaluation once, under a spend cap",
191
+ "help.evals.list.fail_below": "exit 1 if any row's metric is below this, or has no such metric",
192
+ "help.evals.list.metric": "the metric --fail-below reads from each row's `metrics` (default: f1)",
193
+ "help.evals.run.agent": "pack:card, e.g. research:summary",
194
+ "help.evals.run.cap": "the most this run may spend, in US dollars",
195
+ "help.evals.run.eval_set": "one eval set (its eval card's id)",
196
+ "help.evals.run.deployment": "the deployment, where the tenant has more than one",
197
+ "help.evals.run.reason": "why, for the audit log",
198
+ "help.evals.run.wait": "wait for the evaluation's results, and gate on them",
199
+ "help.evals.run.wait_timeout": "seconds to wait at most (default 1800); then exit 5",
200
+ "help.evals.run.fail_below": "with --wait: exit 1 if a new row's metric is below this, or missing",
201
+ "help.evals.run.metric": "the metric --fail-below reads (default: f1)",
202
+ "help.runs.list._help": "the last runs (the default)",
203
+ "help.runs.show._help": "one run",
204
+ "help.runs.tail._help": "follow the live runs",
205
+ "help.runs.show.run": "its run_id_hash",
206
+ "help.runs.show.as_map": "the run map: every step, model call and retrieval",
207
+ "help.runs.tail.interval": "seconds between polls",
208
+ "help.runs.tail.once": "one snapshot, then stop",
209
+ "help.runs.tail.duration": "stop after this many seconds",
210
+ "help.runs.tail.deployment": "only this deployment's runs",
211
+ "help.runs.tail.fail_on_stall": "exit 1 if a run has stalled",
212
+ "help.runs.export._help": "one run's content-free export, as JSON or PDF",
213
+ "help.runs.export.run": "its run_id_hash",
214
+ "help.runs.export.export_format": "json (the default) or pdf",
215
+ "help.runs.export.output": "the file to write (default run-<hash>.<format>; - for standard output)",
216
+ "help.spend.by": "how to group",
217
+ "help.spend.month": "YYYY-MM; the current month by default",
218
+ "help.spend.forecast": "the month-end projection against the cap as well",
219
+ "help.spend.savings": "the estimated savings headline as well",
220
+ "help.limits.scope": "only limits of this scope kind",
221
+ "help.terms.term": "one term by its key",
222
+ "help.stack.cloud": "aws, azure, gcp or onprem (default: the one chosen)",
223
+ "help.stack.region": "the region (default: the one chosen)",
224
+ "help.stack.profile": "always_on or ephemeral (default: the one chosen)",
225
+ "help.stack.deployment": "which of your active deployments the files are for",
226
+ "help.stack.out": "write every file into this directory",
227
+ "help.stack.force": "overwrite files the stack names that already exist there",
228
+ "help.language.list_all": "only list the languages on offer",
229
+ "label.agent": "agent",
230
+ "label.pack": "pack",
231
+ "label.state": "state",
232
+ "label.models": "models",
233
+ "label.runs_month": "runs (month)",
234
+ "label.estimated_cost": "estimated cost",
235
+ "label.version": "version",
236
+ "label.status": "status",
237
+ "label.command": "command",
238
+ "label.span": "span",
239
+ "label.kind": "kind",
240
+ "label.starts_at_ms": "starts at (ms)",
241
+ "label.took_ms": "took (ms)",
242
+ "label.run": "run",
243
+ "label.started": "started",
244
+ "label.attempts": "attempts",
245
+ "label.trigger": "trigger",
246
+ "label.proposal": "proposal",
247
+ "label.evaluation": "evaluation",
248
+ "label.estimated_month": "estimated / month",
249
+ "label.deployment": "deployment",
250
+ "label.template": "template",
251
+ "label.problems": "problems",
252
+ "label.retrieval": "retrieval",
253
+ "label.estimated_per_run": "estimated per run",
254
+ "label.estimated_per_month": "estimated per month",
255
+ "label.request": "request",
256
+ "label.collector": "collector",
257
+ "label.stage": "stage",
258
+ "label.issue": "issue",
259
+ "label.clients_asking": "clients asking",
260
+ "label.asked": "asked",
261
+ "label.provider": "provider",
262
+ "label.what": "what",
263
+ "label.family": "family",
264
+ "label.read_only_scopes": "read-only scopes",
265
+ "label.approve_at": "approve at",
266
+ "label.sent_to_your_own_store": "sent to your own store",
267
+ "label.access": "access",
268
+ "label.connection": "connection",
269
+ "label.connected": "connected",
270
+ "label.syncing": "syncing",
271
+ "label.last_sync": "last sync",
272
+ "label.connector": "connector",
273
+ "label.schedule": "schedule",
274
+ "label.next_sync": "next sync",
275
+ "label.asked_for": "asked for",
276
+ "label.suite": "suite",
277
+ "label.passed": "passed",
278
+ "label.metrics": "metrics",
279
+ "label.measured": "measured",
280
+ "label.cap": "cap",
281
+ "label.index": "index",
282
+ "label.documents": "documents",
283
+ "label.chunks": "chunks",
284
+ "label.last_refreshed": "last refreshed",
285
+ "label.health": "health",
286
+ "label.backend": "backend",
287
+ "label.knowledge_base": "knowledge base",
288
+ "label.uploaded": "uploaded",
289
+ "label.bytes": "bytes",
290
+ "label.indexed": "indexed",
291
+ "label.tag": "tag",
292
+ "label.language": "language",
293
+ "label.your_language": "your language",
294
+ "label.your_organisation_s": "your organization's",
295
+ "label.in_use_now": "in use now",
296
+ "label.scope": "scope",
297
+ "label.period": "period",
298
+ "label.spent": "spent",
299
+ "label.used": "used %",
300
+ "label.alerts_at": "alerts at %",
301
+ "label.applied_by": "applied by",
302
+ "label.token": "token",
303
+ "label.client": "client",
304
+ "label.scopes": "scopes",
305
+ "label.issued": "issued",
306
+ "label.expires": "expires",
307
+ "label.last_used": "last used",
308
+ "label.step": "step",
309
+ "label.tokens_in_out": "tokens in/out",
310
+ "label.elapsed": "elapsed",
311
+ "label.calls": "calls",
312
+ "label.input_tokens": "input tokens",
313
+ "label.output_tokens": "output tokens",
314
+ "label.cost_usd": "cost (USD)",
315
+ "label.managed_charge": "managed charge",
316
+ "label.month": "month",
317
+ "label.total_cost_usd": "total cost (USD)",
318
+ "label.shown_in": "shown in",
319
+ "label.projected_month_end_estimated": "projected month end (estimated)",
320
+ "label.likely_range_estimated": "likely range (estimated)",
321
+ "label.against_the_cap": "against the cap",
322
+ "label.estimated_saving_this_month": "estimated saving this month",
323
+ "label.in_words": "in words",
324
+ "label.where": "where",
325
+ "label.profile": "profile",
326
+ "label.infrastructure": "infrastructure",
327
+ "label.written_to": "written to",
328
+ "label.file": "file",
329
+ "label.written": "written",
330
+ "label.term": "term",
331
+ "label.meaning": "meaning",
332
+ "label.set_by": "set by",
333
+ "label.direction": "direction",
334
+ "label.in_force_from": "in force from",
335
+ "label.tenant": "tenant",
336
+ "label.host": "host",
337
+ "label.person": "person",
338
+ "label.role": "role",
339
+ "label.signed_in_with": "signed in with",
340
+ "label.credential_from": "credential from",
341
+ "label.credential_kind": "credential kind",
342
+ "label.model": "model",
343
+ "label.evals": "evals",
344
+ "label.calls_month": "calls (month)",
345
+ "label.input_m": "input /M",
346
+ "label.output_m": "output /M",
347
+ "help.telemetry._help": "telemetry bundles from a deployment with no network path",
348
+ "help.commands._help": "command files for a deployment with no network path",
349
+ "help.telemetry.import._help": "upload a telemetry bundle from an offline deployment",
350
+ "help.telemetry.status._help": "the batches held for a deployment, and any missing",
351
+ "help.telemetry.import.file": "the bundle (.tar.gz), as the deployment wrote it",
352
+ "help.telemetry.import.deployment": "the deployment (default: the one the bundle names)",
353
+ "help.telemetry.status.deployment": "the deployment",
354
+ "help.commands.export._help": "write the waiting commands into a signed command file",
355
+ "help.commands.export.deployment": "the deployment",
356
+ "help.commands.export.out": "the file to write (- for standard output)",
357
+ "help.commands.export.force": "overwrite the file if it exists",
358
+ "help.commands.import-results._help": "upload the signed answers to a command file",
359
+ "help.commands.import-results.file": "the results file, as apply-file --results wrote it",
360
+ "help.commands.import-results.deployment": "the deployment (default: the one the file names)",
361
+ "label.epoch": "epoch",
362
+ "label.held_through": "held through",
363
+ "label.highest": "highest",
364
+ "label.missing": "missing",
365
+ "label.records_stored": "records stored",
366
+ "label.records_already_held": "records already held",
367
+ "label.spans": "spans",
368
+ "help.verify-answer._help": "check that an answer from Octy was signed by Atlantic Agentic and is unchanged",
369
+ "help.verify-answer.receipt": "the receipt file from the answer's evidence panel ('-' for standard input)",
370
+ "help.verify-answer.answer": "a file holding the answer's text, to check that it is the answer signed",
371
+ "help.verify-answer.keys": "the published keys, as an https URL or a saved file (default: Atlantic's well-known URL)",
372
+ "err.file_unreadable": "{name} could not be read",
373
+ "err.receipt_unreadable": "this is not an Octy receipt",
374
+ "err.receipt_issuer": "the receipt was not issued by Atlantic Agentic; give --keys to check it against other keys",
375
+ "err.keys_unavailable": "the published keys could not be read",
376
+ "err.receipt_key_unknown": "the key that signed this receipt is not published",
377
+ "err.receipt_invalid": "the signature does not match: the receipt has been changed or was not signed by Atlantic Agentic",
378
+ "err.receipt_answer_mismatch": "the answer does not match its receipt",
379
+ "verify.verified": "Signed by Atlantic Agentic · verified",
380
+ "verify.answer_matches": "matches the receipt",
381
+ "verify.answer_not_checked": "not checked (give --answer)",
382
+ "label.receipt": "receipt",
383
+ "label.passages": "passages",
384
+ "label.signed_with_key": "signed with key",
385
+ "label.answer": "answer",
386
+ "verify.verified_deployment": "The receipt verifies: Octy's signature is valid.",
387
+ "err.receipt_malformed": "a version 2 receipt must carry the model, tokens, escalations and cost, each of the right type",
388
+ "label.escalations": "escalations",
389
+ "label.cost": "cost"
390
+ }
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "never ask a person anything; exit 7 instead",
82
82
  "help.yes": "answer yes to every confirmation",
83
83
  "help.timeout": "seconds for one request",
84
- "help.lang": "the language to speak: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant or ar (default: your setting, then LANG)",
84
+ "help.lang": "the language to speak: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant or ar (default: your setting, then LANG)",
85
85
  "help.login._help": "sign in through the browser with a device code",
86
86
  "help.logout._help": "revoke this machine's token and forget it",
87
87
  "help.tokens._help": "your delegated tokens, and revoke one",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "no preguntar nunca nada a una persona; salir con el código 7",
82
82
  "help.yes": "responder sí a toda confirmación",
83
83
  "help.timeout": "segundos para una solicitud",
84
- "help.lang": "el idioma que usar: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (por defecto: su ajuste, luego LANG)",
84
+ "help.lang": "el idioma que usar: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (por defecto: su ajuste, luego LANG)",
85
85
  "help.login._help": "iniciar sesión con el navegador mediante un código de dispositivo",
86
86
  "help.logout._help": "revocar el token de este equipo y olvidarlo",
87
87
  "help.tokens._help": "sus tokens delegados, y revocar uno",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "ne jamais rien demander à une personne ; quitter avec le code 7 à la place",
82
82
  "help.yes": "répondre oui à toutes les confirmations",
83
83
  "help.timeout": "secondes pour une requête",
84
- "help.lang": "la langue à utiliser : en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (par défaut : votre réglage, puis LANG)",
84
+ "help.lang": "la langue à utiliser : en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (par défaut : votre réglage, puis LANG)",
85
85
  "help.login._help": "se connecter par le navigateur avec un code d'appareil",
86
86
  "help.logout._help": "révoquer le jeton de cette machine et l'oublier",
87
87
  "help.tokens._help": "vos jetons délégués, et en révoquer un",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "ná fiafraigh de dhuine faoi rud ar bith; scoir le cód 7 ina ionad",
82
82
  "help.yes": "freagair tá do gach deimhniú",
83
83
  "help.timeout": "soicind d'iarratas amháin",
84
- "help.lang": "an teanga le húsáid: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (réamhshocrú: do shocrú, ansin LANG)",
84
+ "help.lang": "an teanga le húsáid: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (réamhshocrú: do shocrú, ansin LANG)",
85
85
  "help.login._help": "sínigh isteach tríd an mbrabhsálaí le cód gléis",
86
86
  "help.logout._help": "cúlghair comhartha an mheaisín seo agus déan dearmad air",
87
87
  "help.tokens._help": "do chomharthaí tarmligthe, agus ceann amháin a chúlghairm",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "non chiedere mai nulla a una persona; esci con il codice 7",
82
82
  "help.yes": "rispondere sì a ogni conferma",
83
83
  "help.timeout": "secondi per una richiesta",
84
- "help.lang": "la lingua da usare: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (predefinita: la tua impostazione, poi LANG)",
84
+ "help.lang": "la lingua da usare: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (predefinita: la tua impostazione, poi LANG)",
85
85
  "help.login._help": "accedere tramite il browser con un codice dispositivo",
86
86
  "help.logout._help": "revocare il token di questa macchina e dimenticarlo",
87
87
  "help.tokens._help": "i tuoi token delegati, e revocarne uno",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "担当者への確認を行わず、代わりに終了コード7で終了します",
82
82
  "help.yes": "すべての確認に「はい」と回答します",
83
83
  "help.timeout": "1回のリクエストの秒数",
84
- "help.lang": "使用する言語:en、fr、de、es、it、pt、nl、ga、ja、zh-Hans、zh-Hant、ar(既定:設定値、次にLANG)",
84
+ "help.lang": "使用する言語:en、en-US、fr、de、es、it、pt、nl、ga、ja、zh-Hans、zh-Hant、ar(既定:設定値、次にLANG)",
85
85
  "help.login._help": "デバイスコードを使い、ブラウザーでサインインします",
86
86
  "help.logout._help": "このマシンのトークンを失効させて削除します",
87
87
  "help.tokens._help": "ご自身の委任トークンの一覧と、1件の失効",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "nooit iets aan een persoon vragen; in plaats daarvan afsluiten met code 7",
82
82
  "help.yes": "elke bevestiging met ja beantwoorden",
83
83
  "help.timeout": "seconden voor één verzoek",
84
- "help.lang": "de te gebruiken taal: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (standaard: je instelling, dan LANG)",
84
+ "help.lang": "de te gebruiken taal: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (standaard: je instelling, dan LANG)",
85
85
  "help.login._help": "aanmelden via de browser met een apparaatcode",
86
86
  "help.logout._help": "het token van deze machine intrekken en vergeten",
87
87
  "help.tokens._help": "je gedelegeerde tokens, en er een intrekken",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "nunca perguntar nada a uma pessoa; sair com o código 7",
82
82
  "help.yes": "responder sim a todas as confirmações",
83
83
  "help.timeout": "segundos para um pedido",
84
- "help.lang": "o idioma a usar: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (por omissão: a sua definição, depois LANG)",
84
+ "help.lang": "o idioma a usar: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar (por omissão: a sua definição, depois LANG)",
85
85
  "help.login._help": "iniciar sessão pelo navegador com um código de dispositivo",
86
86
  "help.logout._help": "revogar o token deste computador e esquecê-lo",
87
87
  "help.tokens._help": "os seus tokens delegados, e revogar um",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "绝不向人询问任何内容;改为以 7 退出",
82
82
  "help.yes": "对所有确认都回答是",
83
83
  "help.timeout": "单个请求的超时秒数",
84
- "help.lang": "使用的语言:en、fr、de、es、it、pt、nl、ga、ja、zh-Hans、zh-Hant、ar(默认:你的设置,然后是 LANG)",
84
+ "help.lang": "使用的语言:en、en-US、fr、de、es、it、pt、nl、ga、ja、zh-Hans、zh-Hant、ar(默认:你的设置,然后是 LANG)",
85
85
  "help.login._help": "通过浏览器使用设备码登录",
86
86
  "help.logout._help": "撤销本机的令牌并清除",
87
87
  "help.tokens._help": "你的委托令牌,以及撤销其中一个",
@@ -81,7 +81,7 @@
81
81
  "help.no_input": "絕不向人詢問任何內容;改為以 7 退出",
82
82
  "help.yes": "對所有確認都回答是",
83
83
  "help.timeout": "單個請求的超時秒數",
84
- "help.lang": "使用的語言:en、fr、de、es、it、pt、nl、ga、ja、zh-Hans、zh-Hant、ar(預設:你的設定,然後是 LANG)",
84
+ "help.lang": "使用的語言:en、en-US、fr、de、es、it、pt、nl、ga、ja、zh-Hans、zh-Hant、ar(預設:你的設定,然後是 LANG)",
85
85
  "help.login._help": "透過瀏覽器使用裝置碼登入",
86
86
  "help.logout._help": "撤銷本機的權杖並清除",
87
87
  "help.tokens._help": "你的委派權杖,以及撤銷其中一個",
@@ -17,7 +17,7 @@ Global options, accepted before or after the subcommand:
17
17
  --no-input never ask a person anything; exit 7 if it would have to
18
18
  --yes answer yes to every confirmation
19
19
  --timeout N seconds for one request (connect, read and write each)
20
- --lang TAG the language to speak (i18n.py: en, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar)
20
+ --lang TAG the language to speak (i18n.py: en, en-US, fr, de, es, it, pt, nl, ga, ja, zh-Hans, zh-Hant, ar)
21
21
  --version
22
22
 
23
23
  `main(argv)` returns the exit code and prints nothing that is not asked for, so
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lighthouse-cli
3
- Version: 0.20.0
3
+ Version: 0.20.1
4
4
  Summary: The LightHouse command line: sign in, connect your estate, deploy agents, watch runs
5
5
  License-Expression: Apache-2.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -36,6 +36,7 @@ lighthouse/commands/verify.py
36
36
  lighthouse/commands/whoami.py
37
37
  lighthouse/locales/ar.json
38
38
  lighthouse/locales/de.json
39
+ lighthouse/locales/en-US.json
39
40
  lighthouse/locales/en.json
40
41
  lighthouse/locales/es.json
41
42
  lighthouse/locales/fr.json
@@ -18,7 +18,7 @@ build-backend = "setuptools.build_meta"
18
18
 
19
19
  [project]
20
20
  name = "lighthouse-cli"
21
- version = "0.20.0"
21
+ version = "0.20.1"
22
22
  description = "The LightHouse command line: sign in, connect your estate, deploy agents, watch runs"
23
23
  requires-python = ">=3.11"
24
24
  license = "Apache-2.0"
@@ -73,6 +73,13 @@ def test_normalise_keeps_the_chinese_script():
73
73
  for x in ("zh-TW", "zh_TW.UTF-8", "zh-HK", "zh-MO", "zh-Hant", "ZH-hant", "zh-Hant-CN", "zh_TW@modifier"):
74
74
  assert i18n.normalise(x) == "zh-Hant", x
75
75
  assert i18n.choose(["--lang", "zh-hant"], {}) == "zh-Hant"
76
+ for x in ("en_US.UTF-8", "en-US", "EN-ca", "en_CA"):
77
+ assert i18n.normalise(x) == "en-US", x
78
+ for x in ("en", "en_GB.UTF-8", "en-IE", "en_AU", "en_IE@euro", "C"):
79
+ assert i18n.normalise(x) in ("en", None), x
80
+ assert i18n.choose([], {"LANG": "en_US.UTF-8"}) == "en-US"
81
+ assert i18n.choose([], {"LANG": "en_IE.UTF-8"}) == "en"
82
+ assert i18n.t("err.not_signed_in") and i18n.catalogue("en-US").keys() == i18n.catalogue("en").keys()
76
83
  assert i18n.choose([], {"LANG": "zh_TW.UTF-8"}) == "zh-Hant"
77
84
  assert i18n.choose([], {"LC_ALL": "zh_CN.UTF-8", "LANG": "en_GB.UTF-8"}) == "zh-Hans"
78
85
 
File without changes
File without changes