lightcone-cli 0.5.0rc2__tar.gz → 0.5.0rc4__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 (41) hide show
  1. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/PKG-INFO +2 -2
  2. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/pyproject.toml +2 -2
  3. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/crate.py +12 -3
  4. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/project.py +4 -4
  5. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/gitignore.tmpl +1 -0
  6. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/index.md.tmpl +2 -13
  7. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/myst.yml.tmpl +5 -1
  8. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/.gitignore +0 -0
  9. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/LICENSE +0 -0
  10. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/README.md +0 -0
  11. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/_sandbox_exec.py +0 -0
  12. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/cli/__init__.py +0 -0
  13. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/cli/commands.py +0 -0
  14. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/__init__.py +0 -0
  15. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/assets.py +0 -0
  16. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/container.py +0 -0
  17. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/dataset.py +0 -0
  18. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/identity.py +0 -0
  19. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/image.py +0 -0
  20. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/materialize.py +0 -0
  21. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/plan.py +0 -0
  22. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/run.py +0 -0
  23. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/__init__.py +0 -0
  24. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/boundary.py +0 -0
  25. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/denial.py +0 -0
  26. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/landlock.py +0 -0
  27. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/model.py +0 -0
  28. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/oci.py +0 -0
  29. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/policy.py +0 -0
  30. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/profiles/base.sbpl +0 -0
  31. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/profiles/network.sbpl +0 -0
  32. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/profiles/platform-defaults.sbpl +0 -0
  33. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/sandbox/seatbelt.py +0 -0
  34. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/__init__.py +0 -0
  35. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/data-README.md.tmpl +0 -0
  36. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/datalad-config.tmpl +0 -0
  37. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/gitattributes.tmpl +0 -0
  38. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/pyproject.toml.tmpl +0 -0
  39. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/templates/files/results-README.md.tmpl +0 -0
  40. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/venue.py +0 -0
  41. {lightcone_cli-0.5.0rc2 → lightcone_cli-0.5.0rc4}/src/lightcone/engine/worker.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lightcone-cli
3
- Version: 0.5.0rc2
3
+ Version: 0.5.0rc4
4
4
  Summary: Lightcone Research's agentic execution layer
5
5
  Project-URL: Repository, https://github.com/LightconeResearch/lightcone-cli
6
6
  Author: Lightcone Research
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.13
19
19
  Classifier: Programming Language :: Python :: 3.14
20
20
  Classifier: Topic :: Scientific/Engineering
21
21
  Requires-Python: >=3.11
22
- Requires-Dist: astra-tools==0.2.17
22
+ Requires-Dist: astra-tools==0.2.18
23
23
  Requires-Dist: click>=8.0
24
24
  Requires-Dist: distributed>=2026.7
25
25
  Requires-Dist: git-annex>=10.2026
@@ -24,7 +24,7 @@ classifiers = [
24
24
  ]
25
25
 
26
26
  dependencies = [
27
- "astra-tools==0.2.17",
27
+ "astra-tools==0.2.18",
28
28
  "click>=8.0",
29
29
  "rich>=13.0",
30
30
  "git-annex>=10.2026",
@@ -39,7 +39,7 @@ dev = [
39
39
  "ruff",
40
40
  "mypy",
41
41
  "datalad",
42
- "roc-validator>=0.11.3",
42
+ "roc-validator>=0.11.4",
43
43
  ]
44
44
  docs = [
45
45
  "zensical>=0.0.33",
@@ -173,9 +173,18 @@ class _Builder:
173
173
  self._control(key, self._action(key, manifest))
174
174
  self._runs(workflow)
175
175
  self._root()
176
- text: str = json.dumps(
177
- self.crate.metadata.generate(), indent=1, sort_keys=True, ensure_ascii=False
178
- )
176
+ document = self.crate.metadata.generate()
177
+ # Compacted JSON-LD: a property with one value is that value, not
178
+ # a one-element array. Applied here rather than at each builder
179
+ # because the arrays come from three places — rocrate's
180
+ # `append_to`, and two literal lists — and which of them hold one
181
+ # element depends on the project (one output, one author). The
182
+ # same rule rocrate itself applies to `@context`.
183
+ for entity in document["@graph"]:
184
+ for name, value in entity.items():
185
+ if isinstance(value, list) and len(value) == 1:
186
+ entity[name] = value[0]
187
+ text: str = json.dumps(document, indent=1, sort_keys=True, ensure_ascii=False)
179
188
  return text + "\n"
180
189
 
181
190
  # ----- the workflow and its structure -----
@@ -205,10 +205,10 @@ def converge(directory: Path, *, write: bool = True) -> ConvergenceReport:
205
205
  directory.mkdir(parents=True, exist_ok=True)
206
206
 
207
207
  # `astra.scaffold` is astra's public scaffold API, the same one
208
- # `astra init` delegates to: it writes the spec — astra.yaml plus
209
- # universes/baseline.yaml, which converge as one item because the
210
- # baseline references the boilerplate's example decision — and nothing
211
- # else. It is stdlib-only and imports in milliseconds, which is why it
208
+ # `astra init` delegates to: it writes the spec — an empty astra.yaml
209
+ # plus a universes/baseline.yaml selecting nothing, which converge as
210
+ # one item so the baseline never lands beside a user-authored spec —
211
+ # and nothing else. It is stdlib-only and imports in milliseconds, which is why it
212
212
  # sits at module scope where the validation stack cannot.
213
213
  c.item(
214
214
  "astra.yaml",
@@ -6,3 +6,4 @@ __pycache__/
6
6
  .venv/
7
7
  .lightcone/
8
8
  _build/
9
+ chats/
@@ -11,19 +11,8 @@ TODO: the research question, its context, and why it matters.
11
11
 
12
12
  ## Methods
13
13
 
14
- TODO: describe the approach. Reference the decisions the analysis exposes
15
- rather than restating them — for example, we adopt the
16
- {astra}`decisions.example_method` for this analysis:
17
-
18
- :::{astra} decisions.example_method
19
- :::
14
+ TODO: describe the approach.
20
15
 
21
16
  ## Results
22
17
 
23
- TODO: present the outputs. Once `lc materialize` has produced results,
24
- pull numbers in live, e.g.:
25
-
26
- % The analysis yields {astra:value}`outputs.main_result`.
27
-
28
- :::{astra} outputs
29
- :::
18
+ TODO: present the outputs.
@@ -9,4 +9,8 @@ project:
9
9
  toc:
10
10
  - file: index.md
11
11
  site:
12
- template: book-theme
12
+ # ASTRA article theme: renders the MySTRA references richly. This URL tracks
13
+ # the newest release (MyST caches it under _build/templates/; run
14
+ # `myst clean --templates` to refresh). To pin one, use a tag's archive, e.g.
15
+ # https://github.com/LightconeResearch/astra-article-theme/archive/refs/tags/v0.0.15.zip
16
+ template: https://github.com/LightconeResearch/astra-article-theme.git