@oddington/cli 0.1.54 → 0.1.56

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 (3) hide show
  1. package/README.md +18 -5
  2. package/dist/os.js +273 -220
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -10,6 +10,10 @@ The CLI requires Node.js 22.12 or later.
10
10
  npm install --global @oddington/cli
11
11
  ```
12
12
 
13
+ Use npm as the single global installer for this command; parallel Bun, pnpm or
14
+ other global copies can leave an older `os` earlier on `PATH`. Confirm the
15
+ installed release with `os --version`.
16
+
13
17
  ## Sign in
14
18
 
15
19
  ```sh
@@ -86,6 +90,9 @@ is a Data repository alias there. The command reads only its published normalize
86
90
  schema and writes the marked root `os-data.generated.d.ts`. It reports that path
87
91
  and the TypeScript project files it integrates. Review and commit those files;
88
92
  a fresh clone uses the types without signing in or regenerating them.
93
+ The shared declaration contains no package import. The worktree root needs no
94
+ package installation; each consuming project keeps its own compatible
95
+ `@oddington/sdk` dependency.
89
96
 
90
97
  Keep importing `data` from `@oddington/sdk`. A known repository literal now gains
91
98
  schema-aware `records.select`, `pages` and `all` queries and projected values.
@@ -97,13 +104,19 @@ Run the same command explicitly after a published schema changes, then review
97
104
  and commit its diff. Other aliases in the declaration are preserved. An unchanged
98
105
  refresh leaves generated and project bytes untouched. App build/launch never
99
106
  refreshes this file. The command does not retrieve Records or commit anything.
107
+ Exact unedited output from the first released module-augmentation format is
108
+ upgraded atomically on refresh, preserving other aliases. Edited, malformed or
109
+ unrecognized generated files remain protected from replacement.
100
110
 
101
111
  Project integration preserves JSONC comments and authored settings, including
102
112
  confined local inheritance, source includes and project references. Unsupported
103
- or ambiguous layouts (including package-based/external inheritance, symlinks,
104
- nested Git repositories and incompatible referenced build projects) are refused
105
- before writing. Access, parsing, transport or write failures preserve the prior
106
- complete declaration and project configuration. Generation is serialized within
113
+ or ambiguous layouts (including package-based/external inheritance, nested Git
114
+ repositories and incompatible referenced build projects) are refused. Discovery
115
+ ignores unrelated symbolic links without following them, including documentation
116
+ links. Linked or escaping configurations, references, generated declarations and
117
+ required integration directories are refused before authentication or writes;
118
+ local failures identify the path and condition. Access, parsing, transport or
119
+ write failures preserve the prior complete declaration and project configuration. Generation is serialized within
107
120
  the worktree; after a process interruption, check that no generation is running
108
121
  before removing a stale `.os-data-schema.lock` directory and refreshing again.
109
122
 
@@ -586,7 +599,7 @@ provider connections retain their normal network and authority requirements;
586
599
  local execution may contact OS or providers.
587
600
 
588
601
  For modern local execution, install the workspace separately with Bun 1.3.14.
589
- Keep `@oddington/sdk` exactly 0.1.29 in root `devDependencies`, compatible Node,
602
+ Keep `@oddington/sdk` exactly 0.1.30 in root `devDependencies`, compatible Node,
590
603
  the selected private ESM manifest and the shared frozen lock. OS verifies only
591
604
  the selected installed graph, stages its confined bytes and builds the same
592
605
  executable unit used by deployment, preserving declared assets and SDK ownership.