lighthouse-cli 0.20.7__tar.gz → 0.21.0__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 (76) hide show
  1. {lighthouse_cli-0.20.7/lighthouse_cli.egg-info → lighthouse_cli-0.21.0}/PKG-INFO +1 -1
  2. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/README.md +1 -0
  3. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/__init__.py +1 -1
  4. lighthouse_cli-0.21.0/lighthouse/commands/datasets.py +172 -0
  5. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/ar.json +27 -1
  6. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/de.json +27 -1
  7. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/en-US.json +27 -1
  8. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/en.json +27 -1
  9. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/es.json +27 -1
  10. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/fr.json +27 -1
  11. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/ga.json +27 -1
  12. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/it.json +27 -1
  13. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/ja.json +27 -1
  14. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/nl.json +27 -1
  15. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/pt.json +27 -1
  16. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/zh-Hans.json +27 -1
  17. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/locales/zh-Hant.json +27 -1
  18. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/main.py +2 -0
  19. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0/lighthouse_cli.egg-info}/PKG-INFO +1 -1
  20. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse_cli.egg-info/SOURCES.txt +2 -0
  21. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/pyproject.toml +1 -1
  22. lighthouse_cli-0.21.0/tests/test_datasets.py +96 -0
  23. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_golden.py +10 -0
  24. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/LICENSE +0 -0
  25. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/NOTICE +0 -0
  26. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/__main__.py +0 -0
  27. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/__init__.py +0 -0
  28. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/agents.py +0 -0
  29. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/builds.py +0 -0
  30. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/collectors.py +0 -0
  31. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/connect.py +0 -0
  32. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/connections.py +0 -0
  33. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/evals.py +0 -0
  34. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/kb.py +0 -0
  35. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/language.py +0 -0
  36. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/limits.py +0 -0
  37. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/login.py +0 -0
  38. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/models.py +0 -0
  39. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/offline.py +0 -0
  40. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/runs.py +0 -0
  41. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/spend.py +0 -0
  42. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/stack.py +0 -0
  43. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/terms.py +0 -0
  44. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/verify.py +0 -0
  45. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/commands/whoami.py +0 -0
  46. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/config.py +0 -0
  47. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/credentials.py +0 -0
  48. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/device.py +0 -0
  49. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/exits.py +0 -0
  50. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/flags.py +0 -0
  51. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/http.py +0 -0
  52. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/i18n.py +0 -0
  53. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/out.py +0 -0
  54. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/py.typed +0 -0
  55. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse/sealing.py +0 -0
  56. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse_cli.egg-info/dependency_links.txt +0 -0
  57. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse_cli.egg-info/entry_points.txt +0 -0
  58. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse_cli.egg-info/requires.txt +0 -0
  59. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/lighthouse_cli.egg-info/top_level.txt +0 -0
  60. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/setup.cfg +0 -0
  61. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_ci_credential.py +0 -0
  62. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_collectors.py +0 -0
  63. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_commands.py +0 -0
  64. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_connect_erp_hr.py +0 -0
  65. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_connect_finav.py +0 -0
  66. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_connect_library.py +0 -0
  67. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_dev_surface.py +0 -0
  68. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_fixtures.py +0 -0
  69. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_i18n.py +0 -0
  70. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_installers.py +0 -0
  71. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_offline.py +0 -0
  72. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_plumbing.py +0 -0
  73. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_sealing.py +0 -0
  74. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_stack.py +0 -0
  75. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/tests/test_verify.py +0 -0
  76. {lighthouse_cli-0.20.7 → lighthouse_cli-0.21.0}/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.7
3
+ Version: 0.21.0
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
@@ -146,6 +146,7 @@ a terminal, and when `CI`, `NO_COLOR` or `TERM=dumb` is set.
146
146
  | `connect [provider]` | what is connected; open a provider's own approval; with `--credential-stdin`, connect an existing token as yourself (read from standard input, `--access read_write` by choice; needs `cloudflared access login https://<host>`); with `--reuse-local`, offer the `gh`, `glab` or `DD_*` sign-in already on this machine, sent the same way only after you type `yes` at a terminal (never under `--yes` or `--no-input`) |
147
147
  | `connections`, `connections schedule <id> --mode ...`, `connections sync <id>` | each connection's sync schedule, last and next sync; set a schedule (`off`, `every_15m`, `hourly`, `working_hours --tz ...`, `daily --at HH:MM --tz ...`) or sync now, as yourself (a client administrator; needs `cloudflared access login https://<host>`; checked by the service exactly as on the card) |
148
148
  | `collectors`, `collectors request --vendor ... --product ... --reads ... --cloud ...` | your tenant's collector requests and their stage in Atlantic's backlog; ask for another (handler or client administrator; `--kind`, `--access read_write`, `--urgency`, `--docs-url` optional; at a terminal it asks for what is missing). The request becomes a public issue that never names your organisation |
149
+ | `datasets`, `datasets signals`, `datasets settings`, `datasets export --kind sft\|preference\|retrieval [--use-case ...]`, `datasets show <id>` | training datasets from Reinforcement signals: built in your deployment, redacted there and written to your own storage; LightHouse™ and this command see the manifest's counts and hashes, never a row. Exporting needs the handler role, exports switched on for the use case, `dataset.export` on, and a sign-in with the `datasets` scope |
149
150
  | `models` | the model library and its evidence scores |
150
151
  | `kb`, `kb show`, `kb ingest <index> --source <connection or connector> [--wait]` | knowledge bases and their freshness; sync a connection into one now (`connections sync` by another name, as yourself), and with `--wait` until the deployment reports the sync finished |
151
152
  | `agents`, `agents show`, `agents init`, `agents logs` | the agents, and scaffold one |
@@ -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.7"
6
+ __version__ = "0.21.0"
@@ -0,0 +1,172 @@
1
+ # Copyright 2026 Atlantic Agentic Labs. All Rights Reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ """`lighthouse-ai datasets`: training datasets from Reinforcement signals.
4
+
5
+ lighthouse-ai datasets # the recent exports (the default)
6
+ lighthouse-ai datasets signals [--since ... --until ... --agent pack[:card]]
7
+ lighthouse-ai datasets settings
8
+ lighthouse-ai datasets export --kind sft --use-case maintenance \\
9
+ [--since 2026-11-01T00:00:00Z] [--until ...] [--agent pack[:card]] \\
10
+ [--min-reviewers 2] [--eval-suite nightly] [--reason "..."]
11
+ lighthouse-ai datasets show <export id>
12
+
13
+ **The dataset is built in your deployment and written to your own storage**,
14
+ the destination your client administrator set (Reinforcement in the portal).
15
+ LightHouse receives the manifest's row counts, file names and hashes, never a
16
+ row, and so does this command: `show` prints the manifest's summary, and the
17
+ files are read from your storage.
18
+
19
+ Three kinds: `sft` (approved and edited answers as targets), `preference`
20
+ (chosen and rejected answers to the same input) and `retrieval` (queries
21
+ with cited passages and hard negatives). Every text is redacted in the
22
+ deployment before it is written.
23
+
24
+ **Exporting needs** exports switched on for the use case, `dataset.export`
25
+ switched on in your command settings and your deployment's policy, the
26
+ handler role, and a sign-in approved with the `datasets` scope
27
+ (`lighthouse-ai login --scope "telemetry:read datasets"`). A machine key
28
+ never can. Reading needs `telemetry:read`.
29
+ """
30
+ from __future__ import annotations
31
+
32
+ import argparse
33
+ from typing import Any
34
+
35
+ from lighthouse.exits import USAGE, CliError
36
+ from lighthouse.flags import inherited
37
+ from lighthouse.http import Refused
38
+ from lighthouse.main import Command, Context
39
+ from lighthouse.out import Out
40
+
41
+ BASE = "/api/v1/datasets"
42
+ KINDS = ("sft", "preference", "retrieval")
43
+
44
+
45
+ def _configure(ap: argparse.ArgumentParser) -> None:
46
+ sub = ap.add_subparsers(dest="datasets_command", metavar="<subcommand>")
47
+ sub.add_parser("exports", parents=[inherited()], help="the recent exports (the default)")
48
+ sub.add_parser("settings", parents=[inherited()],
49
+ help="whether exports are on, for which use cases, and where they go")
50
+ sig = sub.add_parser("signals", parents=[inherited()],
51
+ help="the signals recorded, and the most rows each kind could have")
52
+ sig.add_argument("--since", help="RFC 3339; default 90 days before --until")
53
+ sig.add_argument("--until", help="RFC 3339; default now")
54
+ sig.add_argument("--agent", help="a pack, or pack:card")
55
+ ex = sub.add_parser("export", parents=[inherited()],
56
+ help="export one dataset to your own storage (handler)")
57
+ ex.add_argument("--kind", choices=KINDS, required=True)
58
+ ex.add_argument("--use-case", dest="use_case", help="the use case, as the settings name it")
59
+ ex.add_argument("--since", help="RFC 3339")
60
+ ex.add_argument("--until", help="RFC 3339")
61
+ ex.add_argument("--agent", help="a pack, or pack:card")
62
+ ex.add_argument("--min-reviewers", dest="min_reviewers", type=int,
63
+ help="leave out approvals and edits with fewer reviewers (0 to 20)")
64
+ ex.add_argument("--eval-suite", dest="eval_suite", help="evaluation results from one suite")
65
+ ex.add_argument("--deployment", help="the deployment, where the tenant has more than one")
66
+ ex.add_argument("--reason", help="why, for the audit log")
67
+ show = sub.add_parser("show", parents=[inherited()], help="one export and its manifest")
68
+ show.add_argument("export_id")
69
+
70
+
71
+ def _manifest(m: dict[str, Any] | None) -> dict[str, Any] | None:
72
+ if not m:
73
+ return None
74
+ return {"rows": m.get("rows"), "files": m.get("files") or [],
75
+ "content_sha256": m.get("content_sha256"),
76
+ "manifest_sha256": m.get("manifest_sha256"),
77
+ "destination": m.get("destination"), "redaction": m.get("redaction")}
78
+
79
+
80
+ def _row(e: dict[str, Any]) -> dict[str, Any]:
81
+ return {"export_id": e.get("export_id"), "kind": e.get("kind"), "status": e.get("status"),
82
+ "reason": e.get("reason"), "about": e.get("about"), "deployment": e.get("deployment"),
83
+ "destination": e.get("destination"), "filters": e.get("filters"),
84
+ "issued_at": e.get("issued_at"), "issued_by": e.get("issued_by"),
85
+ "manifest": _manifest(e.get("manifest"))}
86
+
87
+
88
+ def _export(ctx: Context) -> dict[str, Any]:
89
+ a = ctx.args
90
+ body: dict[str, Any] = {"kind": a.kind}
91
+ for field in ("use_case", "since", "until", "agent", "min_reviewers", "eval_suite",
92
+ "deployment", "reason"):
93
+ value = getattr(a, field, None)
94
+ if value is not None:
95
+ body[field] = value
96
+ try:
97
+ got = ctx.client().request("POST", f"{BASE}/exports", json_body=body) or {}
98
+ except Refused as e:
99
+ if e.error in ("invalid", "bad_query"):
100
+ raise CliError(e.message, code=USAGE, error=e.error,
101
+ hint="see `lighthouse-ai datasets export --help`") from None
102
+ if e.error in ("datasets_disabled", "use_case_not_enabled", "commands_disabled"):
103
+ raise CliError(e.message, code=e.code, error=e.error,
104
+ hint="`lighthouse-ai datasets settings` shows what is switched on") from None
105
+ raise
106
+ return {"ok": True, "action": "export", **_row(got)}
107
+
108
+
109
+ def datasets(ctx: Context) -> dict[str, Any]:
110
+ sub = getattr(ctx.args, "datasets_command", None)
111
+ if sub == "export":
112
+ return _export(ctx)
113
+ if sub == "show":
114
+ return {"ok": True, "action": "show",
115
+ **_row(ctx.client().get(f"{BASE}/exports/{ctx.args.export_id}") or {})}
116
+ if sub == "settings":
117
+ s = ctx.client().get(f"{BASE}/settings") or {}
118
+ return {"ok": True, "action": "settings", "enabled": s.get("enabled"),
119
+ "use_cases": s.get("use_cases") or [], "destination": s.get("destination"),
120
+ "command_enabled": s.get("command_enabled"), "kinds": s.get("kinds") or []}
121
+ if sub == "signals":
122
+ a = ctx.args
123
+ s = ctx.client().get(f"{BASE}/signals", since=a.since, until=a.until, agent=a.agent) or {}
124
+ return {"ok": True, "action": "signals", "since": s.get("since"), "until": s.get("until"),
125
+ "agent": s.get("agent"), "signals": s.get("signals"), "available": s.get("available")}
126
+ body = ctx.client().get(f"{BASE}/exports") or {}
127
+ return {"ok": True, "action": "exports", "exports": [_row(e) for e in body.get("exports") or []]}
128
+
129
+
130
+ def _show(out: Out, body: dict[str, Any]) -> None:
131
+ action = body.get("action")
132
+ if action == "settings":
133
+ out.pairs([("status", "on" if body["enabled"] else "off"),
134
+ ("use cases", ", ".join(body["use_cases"]) or "-"),
135
+ ("destination", body["destination"] or "-"),
136
+ ("command", f"dataset.export {'on' if body['command_enabled'] else 'off'}")])
137
+ if not (body["enabled"] and body["command_enabled"]):
138
+ out.note("a client administrator switches exports on under Reinforcement, and "
139
+ "dataset.export in Command settings")
140
+ return
141
+ if action == "signals":
142
+ s, n = body["signals"] or {}, body["available"] or {}
143
+ ap, ev = s.get("approvals") or {}, s.get("eval_results") or {}
144
+ out.table(["signal", "count"],
145
+ [["approvals.approved", ap.get("approved", 0)],
146
+ ["approvals.rejected", ap.get("rejected", 0)],
147
+ ["edits", s.get("edits", 0)],
148
+ ["eval_results.passed", ev.get("passed", 0)],
149
+ ["eval_results.failed", ev.get("failed", 0)],
150
+ ["retrieval_feedback", s.get("retrieval_feedback", 0)]])
151
+ out.table(["kind", "rows, at most"], [[k, n.get(k, 0)] for k in KINDS])
152
+ out.note(f"{body['since']} to {body['until']}")
153
+ return
154
+ if action in ("export", "show"):
155
+ m = body.get("manifest") or {}
156
+ out.pairs([("export", body["export_id"]), ("kind", body["kind"]),
157
+ ("status", body["status"]), ("destination", body["destination"]),
158
+ ("rows", m.get("rows", "-")), ("files", len(m.get("files") or []) or "-"),
159
+ ("content sha256", m.get("content_sha256") or "-")])
160
+ out.note(body.get("about") or "")
161
+ if action == "export":
162
+ out.note(f"`lighthouse-ai datasets show {body['export_id']}` follows it")
163
+ return
164
+ out.table(["export", "kind", "status", "rows", "destination", "asked"],
165
+ [[e["export_id"], e["kind"], e["status"],
166
+ (e["manifest"] or {}).get("rows", "-"), e["destination"], e["issued_at"] or "-"]
167
+ for e in body["exports"]])
168
+ out.note("`lighthouse-ai datasets export --kind sft --use-case <use case>` exports another")
169
+
170
+
171
+ COMMANDS = (Command("datasets", "training datasets from Reinforcement signals, in your own storage",
172
+ _configure, datasets, _show),)
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "الإيصال صالح: توقيع Octy صحيح.",
387
387
  "err.receipt_malformed": "يجب أن يتضمن إيصال الإصدار 2 النموذج والرموز وعدد التصعيدات والتكلفة، كلٌّ بالنوع الصحيح",
388
388
  "label.escalations": "التصعيدات",
389
- "label.cost": "التكلفة"
389
+ "label.cost": "التكلفة",
390
+ "help.datasets._help": "مجموعات بيانات التدريب من إشارات Reinforcement، في وحدة التخزين الخاصة بك",
391
+ "help.datasets.exports._help": "عمليات التصدير الأخيرة (الافتراضي)",
392
+ "help.datasets.settings._help": "ما إذا كان التصدير مفعّلًا، ولأي حالات استخدام، وإلى أين يُكتب",
393
+ "help.datasets.signals._help": "الإشارات المسجّلة، وأقصى عدد من الصفوف لكل نوع",
394
+ "help.datasets.export._help": "تصدير مجموعة بيانات واحدة إلى وحدة التخزين الخاصة بك (handler)",
395
+ "help.datasets.show._help": "عملية تصدير واحدة وبيانها",
396
+ "help.datasets.signals.since": "RFC 3339؛ الافتراضي 90 يومًا قبل --until",
397
+ "help.datasets.signals.until": "RFC 3339؛ الافتراضي الآن",
398
+ "help.datasets.signals.agent": "حزمة، أو pack:card",
399
+ "help.datasets.export.use_case": "حالة الاستخدام كما تسمّيها الإعدادات",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "حزمة، أو pack:card",
403
+ "help.datasets.export.min_reviewers": "استبعاد الموافقات والتعديلات ذات المراجعين الأقل (0 إلى 20)",
404
+ "help.datasets.export.eval_suite": "نتائج التقييم من مجموعة واحدة",
405
+ "help.datasets.export.deployment": "عملية النشر، عندما يكون لدى المستأجر أكثر من واحدة",
406
+ "help.datasets.export.reason": "السبب، لسجل التدقيق",
407
+ "label.export": "تصدير",
408
+ "label.use_cases": "حالات الاستخدام",
409
+ "label.destination": "الوجهة",
410
+ "label.signal": "إشارة",
411
+ "label.count": "العدد",
412
+ "label.rows_at_most": "الصفوف، بحد أقصى",
413
+ "label.rows": "الصفوف",
414
+ "label.files": "الملفات",
415
+ "label.content_sha256": "sha256 للمحتوى"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "Die Quittung ist gültig: Octys Signatur ist korrekt.",
387
387
  "err.receipt_malformed": "ein Beleg der Version 2 muss Modell, Tokens, Eskalationen und Kosten im richtigen Typ enthalten",
388
388
  "label.escalations": "Eskalationen",
389
- "label.cost": "Kosten"
389
+ "label.cost": "Kosten",
390
+ "help.datasets._help": "Trainingsdatensätze aus Reinforcement-Signalen, in Ihrem eigenen Speicher",
391
+ "help.datasets.exports._help": "die letzten Exporte (Standard)",
392
+ "help.datasets.settings._help": "ob Exporte eingeschaltet sind, für welche Anwendungsfälle und wohin sie geschrieben werden",
393
+ "help.datasets.signals._help": "die erfassten Signale und die höchstmögliche Zeilenzahl je Art",
394
+ "help.datasets.export._help": "einen Datensatz in Ihren eigenen Speicher exportieren (handler)",
395
+ "help.datasets.show._help": "ein Export und sein Manifest",
396
+ "help.datasets.signals.since": "RFC 3339; Standard 90 Tage vor --until",
397
+ "help.datasets.signals.until": "RFC 3339; Standard jetzt",
398
+ "help.datasets.signals.agent": "ein Pack oder pack:card",
399
+ "help.datasets.export.use_case": "der Anwendungsfall, wie ihn die Einstellungen benennen",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "ein Pack oder pack:card",
403
+ "help.datasets.export.min_reviewers": "Freigaben und Bearbeitungen mit weniger Prüfern auslassen (0 bis 20)",
404
+ "help.datasets.export.eval_suite": "Evaluierungsergebnisse einer Suite",
405
+ "help.datasets.export.deployment": "die Bereitstellung, wenn der Mandant mehrere hat",
406
+ "help.datasets.export.reason": "warum, für das Auditprotokoll",
407
+ "label.export": "Export",
408
+ "label.use_cases": "Anwendungsfälle",
409
+ "label.destination": "Ziel",
410
+ "label.signal": "Signal",
411
+ "label.count": "Anzahl",
412
+ "label.rows_at_most": "Zeilen, höchstens",
413
+ "label.rows": "Zeilen",
414
+ "label.files": "Dateien",
415
+ "label.content_sha256": "SHA-256 des Inhalts"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "The receipt verifies: Octy's signature is valid.",
387
387
  "err.receipt_malformed": "a version 2 receipt must carry the model, tokens, escalations and cost, each of the right type",
388
388
  "label.escalations": "escalations",
389
- "label.cost": "cost"
389
+ "label.cost": "cost",
390
+ "help.datasets._help": "training datasets from Reinforcement signals, in your own storage",
391
+ "help.datasets.exports._help": "the recent exports (the default)",
392
+ "help.datasets.settings._help": "whether exports are on, for which use cases, and where they go",
393
+ "help.datasets.signals._help": "the signals recorded, and the most rows each kind could have",
394
+ "help.datasets.export._help": "export one dataset to your own storage (handler)",
395
+ "help.datasets.show._help": "one export and its manifest",
396
+ "help.datasets.signals.since": "RFC 3339; default 90 days before --until",
397
+ "help.datasets.signals.until": "RFC 3339; default now",
398
+ "help.datasets.signals.agent": "a pack, or pack:card",
399
+ "help.datasets.export.use_case": "the use case, as the settings name it",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "a pack, or pack:card",
403
+ "help.datasets.export.min_reviewers": "leave out approvals and edits with fewer reviewers (0 to 20)",
404
+ "help.datasets.export.eval_suite": "evaluation results from one suite",
405
+ "help.datasets.export.deployment": "the deployment, where the tenant has more than one",
406
+ "help.datasets.export.reason": "why, for the audit log",
407
+ "label.export": "export",
408
+ "label.use_cases": "use cases",
409
+ "label.destination": "destination",
410
+ "label.signal": "signal",
411
+ "label.count": "count",
412
+ "label.rows_at_most": "rows, at most",
413
+ "label.rows": "rows",
414
+ "label.files": "files",
415
+ "label.content_sha256": "content sha256"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "The receipt verifies: Octy's signature is valid.",
387
387
  "err.receipt_malformed": "a version 2 receipt must carry the model, tokens, escalations and cost, each of the right type",
388
388
  "label.escalations": "escalations",
389
- "label.cost": "cost"
389
+ "label.cost": "cost",
390
+ "help.datasets._help": "training datasets from Reinforcement signals, in your own storage",
391
+ "help.datasets.exports._help": "the recent exports (the default)",
392
+ "help.datasets.settings._help": "whether exports are on, for which use cases, and where they go",
393
+ "help.datasets.signals._help": "the signals recorded, and the most rows each kind could have",
394
+ "help.datasets.export._help": "export one dataset to your own storage (handler)",
395
+ "help.datasets.show._help": "one export and its manifest",
396
+ "help.datasets.signals.since": "RFC 3339; default 90 days before --until",
397
+ "help.datasets.signals.until": "RFC 3339; default now",
398
+ "help.datasets.signals.agent": "a pack, or pack:card",
399
+ "help.datasets.export.use_case": "the use case, as the settings name it",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "a pack, or pack:card",
403
+ "help.datasets.export.min_reviewers": "leave out approvals and edits with fewer reviewers (0 to 20)",
404
+ "help.datasets.export.eval_suite": "evaluation results from one suite",
405
+ "help.datasets.export.deployment": "the deployment, where the tenant has more than one",
406
+ "help.datasets.export.reason": "why, for the audit log",
407
+ "label.export": "export",
408
+ "label.use_cases": "use cases",
409
+ "label.destination": "destination",
410
+ "label.signal": "signal",
411
+ "label.count": "count",
412
+ "label.rows_at_most": "rows, at most",
413
+ "label.rows": "rows",
414
+ "label.files": "files",
415
+ "label.content_sha256": "content sha256"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "El recibo es válido: la firma de Octy es correcta.",
387
387
  "err.receipt_malformed": "un recibo de la versión 2 debe incluir el modelo, los tokens, las escalaciones y el coste, cada uno con el tipo correcto",
388
388
  "label.escalations": "escalaciones",
389
- "label.cost": "coste"
389
+ "label.cost": "coste",
390
+ "help.datasets._help": "conjuntos de datos de entrenamiento a partir de las señales de Reinforcement, en su propio almacenamiento",
391
+ "help.datasets.exports._help": "las exportaciones recientes (por defecto)",
392
+ "help.datasets.settings._help": "si las exportaciones están activadas, para qué casos de uso y adónde se escriben",
393
+ "help.datasets.signals._help": "las señales registradas y el máximo de filas que podría tener cada tipo",
394
+ "help.datasets.export._help": "exportar un conjunto de datos a su propio almacenamiento (handler)",
395
+ "help.datasets.show._help": "una exportación y su manifiesto",
396
+ "help.datasets.signals.since": "RFC 3339; por defecto 90 días antes de --until",
397
+ "help.datasets.signals.until": "RFC 3339; por defecto ahora",
398
+ "help.datasets.signals.agent": "un pack, o pack:card",
399
+ "help.datasets.export.use_case": "el caso de uso, tal como lo nombra la configuración",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "un pack, o pack:card",
403
+ "help.datasets.export.min_reviewers": "omitir aprobaciones y ediciones con menos revisores (0 a 20)",
404
+ "help.datasets.export.eval_suite": "resultados de evaluación de una sola suite",
405
+ "help.datasets.export.deployment": "el despliegue, cuando el cliente tiene más de uno",
406
+ "help.datasets.export.reason": "por qué, para el registro de auditoría",
407
+ "label.export": "exportación",
408
+ "label.use_cases": "casos de uso",
409
+ "label.destination": "destino",
410
+ "label.signal": "señal",
411
+ "label.count": "cantidad",
412
+ "label.rows_at_most": "filas, como máximo",
413
+ "label.rows": "filas",
414
+ "label.files": "archivos",
415
+ "label.content_sha256": "sha256 del contenido"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "Le reçu est valide : la signature d'Octy est correcte.",
387
387
  "err.receipt_malformed": "un reçu de version 2 doit contenir le modèle, les jetons, les escalades et le coût, chacun du bon type",
388
388
  "label.escalations": "escalades",
389
- "label.cost": "coût"
389
+ "label.cost": "coût",
390
+ "help.datasets._help": "jeux de données d'entraînement issus des signaux de Reinforcement, dans votre propre stockage",
391
+ "help.datasets.exports._help": "les exports récents (par défaut)",
392
+ "help.datasets.settings._help": "si les exports sont activés, pour quels cas d'usage, et où ils sont écrits",
393
+ "help.datasets.signals._help": "les signaux enregistrés, et le nombre maximal de lignes par type",
394
+ "help.datasets.export._help": "exporter un jeu de données dans votre propre stockage (handler)",
395
+ "help.datasets.show._help": "un export et son manifeste",
396
+ "help.datasets.signals.since": "RFC 3339 ; par défaut 90 jours avant --until",
397
+ "help.datasets.signals.until": "RFC 3339 ; par défaut maintenant",
398
+ "help.datasets.signals.agent": "un pack, ou pack:card",
399
+ "help.datasets.export.use_case": "le cas d'usage, tel que les paramètres le nomment",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "un pack, ou pack:card",
403
+ "help.datasets.export.min_reviewers": "écarter les approbations et modifications ayant moins de relecteurs (0 à 20)",
404
+ "help.datasets.export.eval_suite": "les résultats d'évaluation d'une seule suite",
405
+ "help.datasets.export.deployment": "le déploiement, lorsque le client en a plusieurs",
406
+ "help.datasets.export.reason": "pourquoi, pour le journal d'audit",
407
+ "label.export": "export",
408
+ "label.use_cases": "cas d'usage",
409
+ "label.destination": "destination",
410
+ "label.signal": "signal",
411
+ "label.count": "nombre",
412
+ "label.rows_at_most": "lignes, au plus",
413
+ "label.rows": "lignes",
414
+ "label.files": "fichiers",
415
+ "label.content_sha256": "sha256 du contenu"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "Tá an admháil bailí: tá síniú Octy ceart.",
387
387
  "err.receipt_malformed": "caithfidh an tsamhail, na comharthaí, na géaruithe agus an costas a bheith in admháil leagan 2, gach ceann den chineál ceart",
388
388
  "label.escalations": "géaruithe",
389
- "label.cost": "costas"
389
+ "label.cost": "costas",
390
+ "help.datasets._help": "tacair sonraí oiliúna ó chomharthaí Reinforcement, i do stóras féin",
391
+ "help.datasets.exports._help": "na heaspórtálacha le déanaí (an réamhshocrú)",
392
+ "help.datasets.settings._help": "an bhfuil easpórtálacha ar siúl, do na cásanna úsáide cé acu, agus cá dtéann siad",
393
+ "help.datasets.signals._help": "na comharthaí a taifeadadh, agus an líon is mó rónna a d'fhéadfadh a bheith ag gach cineál",
394
+ "help.datasets.export._help": "easpórtáil tacar sonraí amháin chuig do stóras féin (handler)",
395
+ "help.datasets.show._help": "easpórtáil amháin agus a lámhleabhar",
396
+ "help.datasets.signals.since": "RFC 3339; réamhshocrú 90 lá roimh --until",
397
+ "help.datasets.signals.until": "RFC 3339; réamhshocrú anois",
398
+ "help.datasets.signals.agent": "pacáiste, nó pack:card",
399
+ "help.datasets.export.use_case": "an cás úsáide, mar a ainmníonn na socruithe é",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "pacáiste, nó pack:card",
403
+ "help.datasets.export.min_reviewers": "fág ar lár formheasanna agus eagarthóireachtaí a bhfuil níos lú léirmheasóirí acu (0 go 20)",
404
+ "help.datasets.export.eval_suite": "torthaí measúnaithe ó shraith amháin",
405
+ "help.datasets.export.deployment": "an t-imscaradh, nuair atá níos mó ná ceann amháin ag an tionónta",
406
+ "help.datasets.export.reason": "cén fáth, don loga iniúchta",
407
+ "label.export": "easpórtáil",
408
+ "label.use_cases": "cásanna úsáide",
409
+ "label.destination": "ceann scríbe",
410
+ "label.signal": "comhartha",
411
+ "label.count": "líon",
412
+ "label.rows_at_most": "rónna, ar a mhéad",
413
+ "label.rows": "rónna",
414
+ "label.files": "comhaid",
415
+ "label.content_sha256": "sha256 an ábhair"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "La ricevuta è valida: la firma di Octy è corretta.",
387
387
  "err.receipt_malformed": "una ricevuta della versione 2 deve riportare modello, token, escalation e costo, ciascuno del tipo corretto",
388
388
  "label.escalations": "escalation",
389
- "label.cost": "costo"
389
+ "label.cost": "costo",
390
+ "help.datasets._help": "dataset di addestramento dai segnali di Reinforcement, nel vostro storage",
391
+ "help.datasets.exports._help": "le esportazioni recenti (predefinito)",
392
+ "help.datasets.settings._help": "se le esportazioni sono attive, per quali casi d'uso e dove vengono scritte",
393
+ "help.datasets.signals._help": "i segnali registrati e il numero massimo di righe per tipo",
394
+ "help.datasets.export._help": "esporta un dataset nel vostro storage (handler)",
395
+ "help.datasets.show._help": "un'esportazione e il suo manifest",
396
+ "help.datasets.signals.since": "RFC 3339; predefinito 90 giorni prima di --until",
397
+ "help.datasets.signals.until": "RFC 3339; predefinito adesso",
398
+ "help.datasets.signals.agent": "un pack, oppure pack:card",
399
+ "help.datasets.export.use_case": "il caso d'uso, come lo chiamano le impostazioni",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "un pack, oppure pack:card",
403
+ "help.datasets.export.min_reviewers": "escludi approvazioni e modifiche con meno revisori (da 0 a 20)",
404
+ "help.datasets.export.eval_suite": "i risultati di valutazione di una sola suite",
405
+ "help.datasets.export.deployment": "il deployment, quando il cliente ne ha più di uno",
406
+ "help.datasets.export.reason": "perché, per il registro di audit",
407
+ "label.export": "esportazione",
408
+ "label.use_cases": "casi d'uso",
409
+ "label.destination": "destinazione",
410
+ "label.signal": "segnale",
411
+ "label.count": "numero",
412
+ "label.rows_at_most": "righe, al massimo",
413
+ "label.rows": "righe",
414
+ "label.files": "file",
415
+ "label.content_sha256": "sha256 del contenuto"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "レシートは有効です: Octy の署名は正しいです。",
387
387
  "err.receipt_malformed": "バージョン 2 のレシートには、モデル、トークン、エスカレーション、コストを正しい型で含める必要があります",
388
388
  "label.escalations": "エスカレーション",
389
- "label.cost": "コスト"
389
+ "label.cost": "コスト",
390
+ "help.datasets._help": "Reinforcement のシグナルから作るトレーニングデータセット(お客様自身のストレージ内)",
391
+ "help.datasets.exports._help": "最近のエクスポート(既定)",
392
+ "help.datasets.settings._help": "エクスポートがオンか、対象のユースケース、書き込み先",
393
+ "help.datasets.signals._help": "記録されたシグナルと、種類ごとの最大行数",
394
+ "help.datasets.export._help": "データセットを 1 つお客様自身のストレージにエクスポート(handler)",
395
+ "help.datasets.show._help": "1 件のエクスポートとそのマニフェスト",
396
+ "help.datasets.signals.since": "RFC 3339。既定は --until の 90 日前",
397
+ "help.datasets.signals.until": "RFC 3339。既定は現在",
398
+ "help.datasets.signals.agent": "pack または pack:card",
399
+ "help.datasets.export.use_case": "設定で指定されたユースケース",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "pack または pack:card",
403
+ "help.datasets.export.min_reviewers": "レビュー担当者が少ない承認と編集を除外(0〜20)",
404
+ "help.datasets.export.eval_suite": "1 つのスイートの評価結果",
405
+ "help.datasets.export.deployment": "テナントに複数ある場合のデプロイメント",
406
+ "help.datasets.export.reason": "理由(監査ログ用)",
407
+ "label.export": "エクスポート",
408
+ "label.use_cases": "ユースケース",
409
+ "label.destination": "保存先",
410
+ "label.signal": "シグナル",
411
+ "label.count": "件数",
412
+ "label.rows_at_most": "最大行数",
413
+ "label.rows": "行数",
414
+ "label.files": "ファイル",
415
+ "label.content_sha256": "コンテンツの sha256"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "Het ontvangstbewijs is geldig: de handtekening van Octy klopt.",
387
387
  "err.receipt_malformed": "een ontvangstbewijs van versie 2 moet het model, de tokens, de escalaties en de kosten bevatten, elk van het juiste type",
388
388
  "label.escalations": "escalaties",
389
- "label.cost": "kosten"
389
+ "label.cost": "kosten",
390
+ "help.datasets._help": "trainingsdatasets uit Reinforcement-signalen, in uw eigen opslag",
391
+ "help.datasets.exports._help": "de recente exports (standaard)",
392
+ "help.datasets.settings._help": "of exports aanstaan, voor welke use cases, en waarheen ze worden geschreven",
393
+ "help.datasets.signals._help": "de vastgelegde signalen, en het hoogste aantal regels per soort",
394
+ "help.datasets.export._help": "één dataset naar uw eigen opslag exporteren (handler)",
395
+ "help.datasets.show._help": "één export en zijn manifest",
396
+ "help.datasets.signals.since": "RFC 3339; standaard 90 dagen vóór --until",
397
+ "help.datasets.signals.until": "RFC 3339; standaard nu",
398
+ "help.datasets.signals.agent": "een pack, of pack:card",
399
+ "help.datasets.export.use_case": "de use case, zoals de instellingen die noemen",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "een pack, of pack:card",
403
+ "help.datasets.export.min_reviewers": "goedkeuringen en bewerkingen met minder beoordelaars weglaten (0 tot 20)",
404
+ "help.datasets.export.eval_suite": "evaluatieresultaten van één suite",
405
+ "help.datasets.export.deployment": "de implementatie, als de tenant er meer dan één heeft",
406
+ "help.datasets.export.reason": "waarom, voor het auditlogboek",
407
+ "label.export": "export",
408
+ "label.use_cases": "use cases",
409
+ "label.destination": "bestemming",
410
+ "label.signal": "signaal",
411
+ "label.count": "aantal",
412
+ "label.rows_at_most": "regels, hoogstens",
413
+ "label.rows": "regels",
414
+ "label.files": "bestanden",
415
+ "label.content_sha256": "sha256 van de inhoud"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "O recibo é válido: a assinatura da Octy está correta.",
387
387
  "err.receipt_malformed": "um recibo da versão 2 tem de incluir o modelo, os tokens, as escalações e o custo, cada um do tipo correto",
388
388
  "label.escalations": "escalações",
389
- "label.cost": "custo"
389
+ "label.cost": "custo",
390
+ "help.datasets._help": "conjuntos de dados de treino a partir dos sinais de Reinforcement, no seu próprio armazenamento",
391
+ "help.datasets.exports._help": "as exportações recentes (predefinição)",
392
+ "help.datasets.settings._help": "se as exportações estão ativas, para que casos de utilização e para onde são escritas",
393
+ "help.datasets.signals._help": "os sinais registados e o máximo de linhas que cada tipo poderia ter",
394
+ "help.datasets.export._help": "exportar um conjunto de dados para o seu próprio armazenamento (handler)",
395
+ "help.datasets.show._help": "uma exportação e o seu manifesto",
396
+ "help.datasets.signals.since": "RFC 3339; predefinição 90 dias antes de --until",
397
+ "help.datasets.signals.until": "RFC 3339; predefinição agora",
398
+ "help.datasets.signals.agent": "um pack, ou pack:card",
399
+ "help.datasets.export.use_case": "o caso de utilização, como as definições o designam",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "um pack, ou pack:card",
403
+ "help.datasets.export.min_reviewers": "excluir aprovações e edições com menos revisores (0 a 20)",
404
+ "help.datasets.export.eval_suite": "resultados de avaliação de um só conjunto",
405
+ "help.datasets.export.deployment": "a implementação, quando o cliente tem mais de uma",
406
+ "help.datasets.export.reason": "porquê, para o registo de auditoria",
407
+ "label.export": "exportação",
408
+ "label.use_cases": "casos de utilização",
409
+ "label.destination": "destino",
410
+ "label.signal": "sinal",
411
+ "label.count": "contagem",
412
+ "label.rows_at_most": "linhas, no máximo",
413
+ "label.rows": "linhas",
414
+ "label.files": "ficheiros",
415
+ "label.content_sha256": "sha256 do conteúdo"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "回执有效:Octy 的签名正确。",
387
387
  "err.receipt_malformed": "第 2 版回执必须包含模型、令牌、升级次数和费用,且类型正确",
388
388
  "label.escalations": "升级次数",
389
- "label.cost": "费用"
389
+ "label.cost": "费用",
390
+ "help.datasets._help": "来自 Reinforcement 信号的训练数据集,保存在您自己的存储中",
391
+ "help.datasets.exports._help": "最近的导出(默认)",
392
+ "help.datasets.settings._help": "导出是否开启、适用哪些用例以及写入位置",
393
+ "help.datasets.signals._help": "已记录的信号,以及每种类型最多可生成的行数",
394
+ "help.datasets.export._help": "将一个数据集导出到您自己的存储(handler)",
395
+ "help.datasets.show._help": "一次导出及其清单",
396
+ "help.datasets.signals.since": "RFC 3339;默认为 --until 之前 90 天",
397
+ "help.datasets.signals.until": "RFC 3339;默认为现在",
398
+ "help.datasets.signals.agent": "一个 pack,或 pack:card",
399
+ "help.datasets.export.use_case": "用例,与设置中的名称一致",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "一个 pack,或 pack:card",
403
+ "help.datasets.export.min_reviewers": "排除审阅人数较少的审批和编辑(0 到 20)",
404
+ "help.datasets.export.eval_suite": "来自单个套件的评估结果",
405
+ "help.datasets.export.deployment": "部署(当租户有多个部署时)",
406
+ "help.datasets.export.reason": "原因,用于审计日志",
407
+ "label.export": "导出",
408
+ "label.use_cases": "用例",
409
+ "label.destination": "目标位置",
410
+ "label.signal": "信号",
411
+ "label.count": "数量",
412
+ "label.rows_at_most": "最多行数",
413
+ "label.rows": "行数",
414
+ "label.files": "文件",
415
+ "label.content_sha256": "内容 sha256"
390
416
  }
@@ -386,5 +386,31 @@
386
386
  "verify.verified_deployment": "收據有效:Octy 的簽章正確。",
387
387
  "err.receipt_malformed": "第 2 版回執必須包含模型、權杖、升級次數和費用,且類型正確",
388
388
  "label.escalations": "升級次數",
389
- "label.cost": "費用"
389
+ "label.cost": "費用",
390
+ "help.datasets._help": "來自 Reinforcement 訊號的訓練資料集,存放在您自己的儲存空間",
391
+ "help.datasets.exports._help": "最近的匯出(預設)",
392
+ "help.datasets.settings._help": "匯出是否開啟、適用哪些使用案例以及寫入位置",
393
+ "help.datasets.signals._help": "已記錄的訊號,以及每種類型最多可產生的列數",
394
+ "help.datasets.export._help": "將一個資料集匯出到您自己的儲存空間(handler)",
395
+ "help.datasets.show._help": "一次匯出及其清單",
396
+ "help.datasets.signals.since": "RFC 3339;預設為 --until 之前 90 天",
397
+ "help.datasets.signals.until": "RFC 3339;預設為現在",
398
+ "help.datasets.signals.agent": "一個 pack,或 pack:card",
399
+ "help.datasets.export.use_case": "使用案例,與設定中的名稱一致",
400
+ "help.datasets.export.since": "RFC 3339",
401
+ "help.datasets.export.until": "RFC 3339",
402
+ "help.datasets.export.agent": "一個 pack,或 pack:card",
403
+ "help.datasets.export.min_reviewers": "排除審閱人數較少的核准與編輯(0 到 20)",
404
+ "help.datasets.export.eval_suite": "來自單一套件的評估結果",
405
+ "help.datasets.export.deployment": "部署(當租戶有多個部署時)",
406
+ "help.datasets.export.reason": "原因,用於稽核記錄",
407
+ "label.export": "匯出",
408
+ "label.use_cases": "使用案例",
409
+ "label.destination": "目的地",
410
+ "label.signal": "訊號",
411
+ "label.count": "數量",
412
+ "label.rows_at_most": "最多列數",
413
+ "label.rows": "列數",
414
+ "label.files": "檔案",
415
+ "label.content_sha256": "內容 sha256"
390
416
  }
@@ -126,6 +126,7 @@ def commands() -> dict[str, Command]:
126
126
  collectors,
127
127
  connect,
128
128
  connections,
129
+ datasets,
129
130
  evals,
130
131
  kb,
131
132
  language,
@@ -142,6 +143,7 @@ def commands() -> dict[str, Command]:
142
143
  )
143
144
  out: dict[str, Command] = {}
144
145
  for module in (login, whoami, connect, connections, collectors, models, kb, agents, builds, evals,
146
+ datasets,
145
147
  runs, spend, limits, terms, stack, language, offline, verify):
146
148
  for command in module.COMMANDS:
147
149
  out[command.name] = command
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lighthouse-cli
3
- Version: 0.20.7
3
+ Version: 0.21.0
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
@@ -21,6 +21,7 @@ lighthouse/commands/builds.py
21
21
  lighthouse/commands/collectors.py
22
22
  lighthouse/commands/connect.py
23
23
  lighthouse/commands/connections.py
24
+ lighthouse/commands/datasets.py
24
25
  lighthouse/commands/evals.py
25
26
  lighthouse/commands/kb.py
26
27
  lighthouse/commands/language.py
@@ -59,6 +60,7 @@ tests/test_commands.py
59
60
  tests/test_connect_erp_hr.py
60
61
  tests/test_connect_finav.py
61
62
  tests/test_connect_library.py
63
+ tests/test_datasets.py
62
64
  tests/test_dev_surface.py
63
65
  tests/test_fixtures.py
64
66
  tests/test_golden.py
@@ -18,7 +18,7 @@ build-backend = "setuptools.build_meta"
18
18
 
19
19
  [project]
20
20
  name = "lighthouse-cli"
21
- version = "0.20.7"
21
+ version = "0.21.0"
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"
@@ -0,0 +1,96 @@
1
+ # Copyright 2026 Atlantic Agentic Labs. All Rights Reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ """`lighthouse-ai datasets`: training datasets from Reinforcement signals,
4
+ built in the deployment and written to the tenant's own storage. The service
5
+ is invented (routes); every name is too."""
6
+ from __future__ import annotations
7
+
8
+ import json
9
+ from typing import Any
10
+
11
+ import httpx
12
+
13
+ from lighthouse import exits
14
+ from tests.api_fixtures import load
15
+ from tests.conftest import HOST, Runner, routes
16
+ from tests.test_commands import signed_in
17
+
18
+ BASE = "/api/v1/datasets"
19
+ ONE = "0123456789abcdef0123456789abcd01"
20
+
21
+
22
+ def test_exports_list_each_with_its_rows_and_status(run: Runner):
23
+ signed_in(run)
24
+ run.transport = routes({("GET", f"{BASE}/exports"): load("datasets-exports")})
25
+ result = run(f"--host={HOST}", "datasets", "--json")
26
+ assert result.code == 0, result.stderr
27
+ (row,) = result.json["exports"]
28
+ assert row["manifest"]["rows"] == 412 and row["status"] == "applied"
29
+ shown = run(f"--host={HOST}", "datasets", "exports")
30
+ assert shown.code == 0 and "412" in shown.stdout and "s3://example-org-training" in shown.stdout
31
+
32
+
33
+ def test_export_sends_the_flags_and_never_a_destination(run: Runner):
34
+ signed_in(run)
35
+ seen: list[dict[str, Any]] = []
36
+
37
+ def post(request: httpx.Request) -> httpx.Response:
38
+ seen.append(json.loads(request.content))
39
+ return httpx.Response(202, json=load("dataset-export"))
40
+
41
+ run.transport = routes({("POST", f"{BASE}/exports"): post})
42
+ result = run(f"--host={HOST}", "datasets", "export", "--kind", "preference", "--use-case",
43
+ "maintenance", "--since", "2026-11-01T00:00:00Z", "--min-reviewers", "2",
44
+ "--eval-suite", "nightly", "--agent", "intel:brief", "--reason", "pilot", "--json")
45
+ assert result.code == 0, result.stderr
46
+ assert seen == [{"kind": "preference", "use_case": "maintenance", "since": "2026-11-01T00:00:00Z",
47
+ "agent": "intel:brief", "min_reviewers": 2, "eval_suite": "nightly",
48
+ "reason": "pilot"}]
49
+ assert result.json["action"] == "export" and result.json["status"] == "queued"
50
+ person = run(f"--host={HOST}", "datasets", "export", "--kind", "sft")
51
+ assert person.code == 0 and "datasets show" in person.stderr + person.stdout
52
+
53
+
54
+ def test_show_settings_and_signals_read_counts_only(run: Runner):
55
+ signed_in(run)
56
+ asked: list[dict[str, str]] = []
57
+
58
+ def signals(request: httpx.Request) -> Any:
59
+ asked.append(dict(request.url.params))
60
+ return load("datasets-signals")
61
+
62
+ run.transport = routes({("GET", f"{BASE}/exports/{ONE}"): load("dataset-export-one"),
63
+ ("GET", f"{BASE}/settings"): load("datasets-settings"),
64
+ ("GET", f"{BASE}/signals"): signals})
65
+ show = run(f"--host={HOST}", "datasets", "show", ONE)
66
+ assert show.code == 0 and "412" in show.stdout and "Written to your own storage." in show.stderr + show.stdout
67
+ settings = run(f"--host={HOST}", "datasets", "settings")
68
+ assert settings.code == 0 and "maintenance" in settings.stdout
69
+ sig = run(f"--host={HOST}", "datasets", "signals", "--agent", "intel", "--since", "2026-11-01T00:00:00Z")
70
+ assert sig.code == 0 and "437" in sig.stdout and "approvals.rejected" in sig.stdout
71
+ assert asked == [{"agent": "intel", "since": "2026-11-01T00:00:00Z"}]
72
+
73
+
74
+ def test_settings_that_are_off_say_who_switches_them_on(run: Runner):
75
+ signed_in(run)
76
+ off = {**load("datasets-settings"), "enabled": False, "command_enabled": False, "use_cases": [],
77
+ "destination": None}
78
+ run.transport = routes({("GET", f"{BASE}/settings"): off})
79
+ result = run(f"--host={HOST}", "datasets", "settings")
80
+ assert result.code == 0 and "client administrator" in result.stderr + result.stdout
81
+
82
+
83
+ def test_the_services_refusals_are_said_in_the_command_lines_terms(run: Runner):
84
+ signed_in(run)
85
+ args = (f"--host={HOST}", "datasets", "export", "--kind", "sft", "--json")
86
+ for status, body, code in (
87
+ (422, {"error": "invalid", "message": "since is before until", "attribute": "since"}, exits.USAGE),
88
+ (403, {"error": "datasets_disabled", "message": "off"}, None),
89
+ (403, {"error": "role_required", "message": "no", "required": "handler"}, exits.FORBIDDEN)):
90
+ run.transport = routes({("POST", f"{BASE}/exports"): httpx.Response(status, json=body)})
91
+ result = run(*args)
92
+ assert result.json["error"] == body["error"]
93
+ if code is not None:
94
+ assert result.code == code
95
+ else:
96
+ assert result.code != 0 and "datasets settings" in result.json["hint"]
@@ -62,6 +62,11 @@ ANSWERS: dict[tuple[str, str], Any] = {
62
62
  ("PUT", "/api/v1/connections/cx-abcdef123456/schedule"): load("connection-schedule"),
63
63
  ("POST", "/api/v1/connections/cx-abcdef123456/sync"): load("connection-sync"),
64
64
  ("GET", "/api/v1/collector-requests"): load("collector-requests"),
65
+ ("GET", "/api/v1/datasets/settings"): load("datasets-settings"),
66
+ ("GET", "/api/v1/datasets/signals"): load("datasets-signals"),
67
+ ("GET", "/api/v1/datasets/exports"): load("datasets-exports"),
68
+ ("POST", "/api/v1/datasets/exports"): load("dataset-export"),
69
+ ("GET", "/api/v1/datasets/exports/0123456789abcdef0123456789abcd01"): load("dataset-export-one"),
65
70
  ("POST", "/api/v1/collector-requests"): load("collector-request"),
66
71
  ("GET", "/api/v1/deployments/example-org-prod/telemetry-bundles"): load("telemetry-bundles"),
67
72
  ("POST", "/api/v1/deployments/example-org-prod/command-file"): load("command-file"),
@@ -83,6 +88,11 @@ CASES: dict[str, list[str]] = {
83
88
  "collectors": ["collectors"],
84
89
  "collectors-request": ["collectors", "request", "--vendor", "Invented CRM", "--product",
85
90
  "Sales Suite", "--reads", "Accounts.", "--cloud", "aws"],
91
+ "datasets": ["datasets"],
92
+ "datasets-settings": ["datasets", "settings"],
93
+ "datasets-signals": ["datasets", "signals"],
94
+ "datasets-export": ["datasets", "export", "--kind", "sft", "--use-case", "maintenance"],
95
+ "datasets-show": ["datasets", "show", "0123456789abcdef0123456789abcd01"],
86
96
  "models": ["models"],
87
97
  "kb": ["kb"],
88
98
  "agents": ["agents"],
File without changes
File without changes