@orbit-build/cli 1.6.8 → 1.8.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbit-build/cli",
3
- "version": "1.6.8",
3
+ "version": "1.8.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Local-first AI coding agent CLI, TUI, Web UI, diagnostics, and LSP runtime",
6
6
  "keywords": [
@@ -84,6 +84,8 @@ def remove_empty_legacy_layout_directories(root: Path, removed: list[str]) -> No
84
84
  for directory in (
85
85
  delivery_directory(root) / "sections",
86
86
  delivery_directory(root) / "build",
87
+ root / "paper" / "sections",
88
+ root / "paper" / "build",
87
89
  ):
88
90
  if not directory.is_dir() or directory.is_symlink():
89
91
  continue
@@ -92,6 +94,13 @@ def remove_empty_legacy_layout_directories(root: Path, removed: list[str]) -> No
92
94
  except StopIteration:
93
95
  directory.rmdir()
94
96
  removed.append(directory.relative_to(root).as_posix() + "/")
97
+ legacy_paper = root / "paper"
98
+ if legacy_paper.is_dir() and not legacy_paper.is_symlink():
99
+ try:
100
+ next(legacy_paper.iterdir())
101
+ except StopIteration:
102
+ legacy_paper.rmdir()
103
+ removed.append("paper/")
95
104
 
96
105
 
97
106
  def migrate_legacy_control_files(