@oddington/cli 0.1.77 → 0.1.78
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/README.md +14 -1
- package/dist/os.js +379 -387
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -181,6 +181,19 @@ From anywhere inside the app’s Git worktree, run:
|
|
|
181
181
|
os app launch <name>
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
+
While editing the interface, use `os app dev <name>` instead. It runs the app's
|
|
185
|
+
existing Vite-compatible `npm run dev` script and keeps one OS host and browser
|
|
186
|
+
origin alive while HMR updates the interface. There is no production build on
|
|
187
|
+
this path. Install development dependencies first. App declaration and routine
|
|
188
|
+
definition changes require a restart; normal interface edits do not.
|
|
189
|
+
|
|
190
|
+
Both commands print a clean local address you can open in multiple browsers
|
|
191
|
+
simultaneously, including a chat browser that can reach this machine. Starting
|
|
192
|
+
the host trusts this workstation's loopback, including other local processes
|
|
193
|
+
and OS users able to connect. CLI credentials remain server-side. Each browser
|
|
194
|
+
has independent connection proofs; renewal in one does not disconnect another.
|
|
195
|
+
Stopping the command or signing out of the local app ends host access for all.
|
|
196
|
+
|
|
184
197
|
Launch reads exactly `apps/<name>/app.json`, resolves one member workspace from
|
|
185
198
|
the worktree's stable source identity, runs the colocated package’s fixed `npm run build`, and
|
|
186
199
|
opens its confined public interface in your ordinary browser. Prepare the app’s
|
|
@@ -225,7 +238,7 @@ atomically replaces the affected index reader. Temporary background or renewal
|
|
|
225
238
|
failures preserve only current bounded access and never extend its deadline.
|
|
226
239
|
The SDK retries renewal independently of Data reads. Confirmed renewal denial and Host
|
|
227
240
|
shutdown end it immediately. An opener
|
|
228
|
-
failure stops the host
|
|
241
|
+
failure stops the host and its development server.
|
|
229
242
|
|
|
230
243
|
Launch supplies authenticated context and unchanged interface assets.
|
|
231
244
|
`app.listRoutines()` preserves declaration order, including unavailable entries.
|