@oddington/sdk 0.1.29 → 0.1.31
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 +7 -20
- package/dist/browser.js +152 -197
- package/dist/index.js +3 -62
- package/dist/types/packages/sdk/src/public.d.ts +10 -15
- package/dist/types/shared/files-contract.d.ts +6 -36
- package/dist/types/shared/inbox-contract.d.ts +0 -13
- package/dist/types/shared/inbox-files.d.ts +5 -10
- package/dist/types/shared/routine-deployment-contract.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -293,26 +293,6 @@ without relaunching or durable history.
|
|
|
293
293
|
Supplied File inputs currently reject `execution_unavailable` before launch;
|
|
294
294
|
File-use transfer and a local browser Files adapter are separate work.
|
|
295
295
|
|
|
296
|
-
The fixed child imports `appRun` from the same package and shares the app's
|
|
297
|
-
customer-owned input/result/step types:
|
|
298
|
-
|
|
299
|
-
```ts
|
|
300
|
-
import { appRun } from '@oddington/sdk';
|
|
301
|
-
import type { Input, Result, Steps } from './contract.ts';
|
|
302
|
-
|
|
303
|
-
const context = appRun.current<Input, Result, Steps>();
|
|
304
|
-
if (context) {
|
|
305
|
-
await context.step('read');
|
|
306
|
-
await context.step('write', { changed: 1 });
|
|
307
|
-
await context.finish({ processed: context.input.limit });
|
|
308
|
-
}
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
`appRun.current()` is absent in ordinary Node and browser execution. Child
|
|
312
|
-
input is deeply immutable; declared reports await host acceptance. Success
|
|
313
|
-
requires accepted finish and zero exit. Cancellation or later failure does not
|
|
314
|
-
undo already confirmed shared effects.
|
|
315
|
-
|
|
316
296
|
Browser bundlers select the standard `browser` condition at the package root.
|
|
317
297
|
Named imports retain the selected browser capabilities without Node built-ins,
|
|
318
298
|
compatibility shims or unused routine, filesystem, Inbox and connection code.
|
|
@@ -514,6 +494,13 @@ one `os-data.generated.d.ts` and integrates that shared declaration into the
|
|
|
514
494
|
worktree's TypeScript projects. Review and commit the declaration and changed
|
|
515
495
|
project files so a fresh clone needs no credentials or regeneration. Customer
|
|
516
496
|
source continues to import only from `@oddington/sdk`.
|
|
497
|
+
The declaration contains no package import: the worktree root needs no package
|
|
498
|
+
installation, and each consuming project resolves its own compatible SDK
|
|
499
|
+
dependency. Unrelated documentation symlinks are ignored without traversal;
|
|
500
|
+
linked or escaping integration paths are refused before authentication or writes
|
|
501
|
+
with a path-specific diagnostic. A successful refresh atomically upgrades exact
|
|
502
|
+
unedited first-release generated output and preserves every other alias; edited
|
|
503
|
+
or malformed generated files remain protected.
|
|
517
504
|
|
|
518
505
|
Known repository literals then constrain collection/field/link names and query
|
|
519
506
|
operands and infer projected `select`, `pages` and `all` values from normalized
|