@oddington/sdk 0.1.28 → 0.1.29

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 CHANGED
@@ -255,8 +255,9 @@ contract map is needed. Descriptions combine safe structure with live readiness
255
255
  and connection availability. Starts validate the current definition and input;
256
256
  retained reads and publication recheck complete saved member/source/capability
257
257
  scope. No installation is needed. Bindings accept no endpoint, credential,
258
- command, path or configuration selector. Hosted declarations stay visible and
259
- unavailable until hosted execution exists. Operations reject with
258
+ command, path or configuration selector. A local app uses its live Local Host;
259
+ a hosted app uses its existing member session and workspace context to reach
260
+ the current remote Run owner through the same bindings. Operations reject with
260
261
  `AppRoutineError.reason`: `authority_unavailable`, `execution_unavailable`, or
261
262
  `invalid_input`. Starts and publications are not automatically retried. A
262
263
  disconnected watch ends and requires `current()`. History returns at most 20
@@ -326,6 +327,9 @@ from the repository. This checks Node runtime exports and declarations, all publ
326
327
  text for leaks, and the named browser imports in a realm without Node globals or
327
328
  a module loader. It rejects bundler warnings, external dependencies, Node/shim
328
329
  code, unused implementations and increases beyond the reviewed SDK byte ceiling.
330
+ During diagnosis, list the independently runnable phases with
331
+ `bun --no-env-file run packages/sdk/scripts/verify-package.ts --list-phases`
332
+ and rerun only the failed `artifact` or `browser` phase with `--phase <name>`.
329
333
  The newer Local Host app imports are bundled and exercised separately under the
330
334
  same strict compatibility audit, so they cannot weaken or inflate the hosted
331
335
  Data/Files size comparison.
@@ -504,6 +508,21 @@ replacement; repeat its options and links while omitting unrelated collections.
504
508
  There is no automatic retry or separate version fetch.
505
509
  Collection schemas omit Markdown storage hints.
506
510
 
511
+ For schema-aware authoring, sign in with the OS CLI and run
512
+ `os data schema general` inside the consuming TypeScript Git worktree. It writes
513
+ one `os-data.generated.d.ts` and integrates that shared declaration into the
514
+ worktree's TypeScript projects. Review and commit the declaration and changed
515
+ project files so a fresh clone needs no credentials or regeneration. Customer
516
+ source continues to import only from `@oddington/sdk`.
517
+
518
+ Known repository literals then constrain collection/field/link names and query
519
+ operands and infer projected `select`, `pages` and `all` values from normalized
520
+ schemas. Multiple aliases share the root declaration. Refresh explicitly with
521
+ the same CLI command after publishing schema changes; app builds and launches
522
+ never refresh it. Missing metadata and dynamic repository strings retain generic
523
+ types. Read/search/history and change payloads remain generic. Committed or stale
524
+ types grant no runtime authority and never replace authoritative Data validation.
525
+
507
526
  Iterate matching Records on demand or collect them with an explicit total ceiling:
508
527
 
509
528
  ```ts