@oddington/sdk 0.1.34 → 0.1.35
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 +11 -7
- package/dist/browser.js +289 -284
- package/dist/index.js +3 -3
- package/dist/types/packages/sdk/src/public.d.ts +2 -26
- package/dist/types/shared/files-contract.d.ts +30 -1
- package/dist/types/shared/routine-deployment-contract.d.ts +4 -4
- package/package.json +1 -1
- package/dist/types/shared/record-write.d.ts +0 -33
package/README.md
CHANGED
|
@@ -413,7 +413,12 @@ across processes or fresh routine runs. Caller inputs remain owned by the caller
|
|
|
413
413
|
Each request resolves current authority; hosted routine Files calls use the
|
|
414
414
|
selected workspace's HTTPS OS host, and managed calls use the authenticated
|
|
415
415
|
private parent transport. `FileOperationError` exposes a bounded code,
|
|
416
|
-
status and retryability
|
|
416
|
+
status and retryability. Input validation can also include a safe `detail` reason
|
|
417
|
+
and numeric byte counts; its message explains the rejected field or expected
|
|
418
|
+
versus received size. Streaming rejection marks partial received counts with
|
|
419
|
+
`receivedAtLeast: true`. These facts survive local Run summaries and saved
|
|
420
|
+
failure evidence without raw names, keys, file content or provider text. Older
|
|
421
|
+
errors without `detail` remain valid. Reads return the successful Web
|
|
417
422
|
Response without consuming its body. Local transfer is bounded and buffered
|
|
418
423
|
before constructing that Response. Creation grants private creator access;
|
|
419
424
|
workspace membership alone never grants another creator's File.
|
|
@@ -775,12 +780,11 @@ Checkout-backed app children retain immediate publication.
|
|
|
775
780
|
|
|
776
781
|
Retain evidence with `inbox.files.add({ path: 'evidence.txt' })`. Paths stay within
|
|
777
782
|
the invocation's working root and uploaded bytes are verified against the retained
|
|
778
|
-
file. Use `
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
request key and exact input; server boundaries own validation, effects and receipts.
|
|
783
|
+
file. Use `data.repository(name)` for Record reads and `changes()` for guarded
|
|
784
|
+
creates, updates and deletions. Local Runs read their own successive proposals
|
|
785
|
+
and leave ordinary uncommitted files for review. `os routine publish` sends the
|
|
786
|
+
retained logical changes explicitly. Inbox publication has no Record methods;
|
|
787
|
+
managed Response handlers retain their separately injected repository capability.
|
|
784
788
|
|
|
785
789
|
Hosts publishing as a member supply the existing `request` option:
|
|
786
790
|
|