@synopackageland/sdk 0.26.0 → 0.27.1
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 -0
- package/dist/index.js +2952 -2804
- package/dist/src/background/picker-provider.d.ts +1 -1
- package/dist/src/context.d.ts +1 -1
- package/dist/src/dsm/filestation.d.ts +35 -0
- package/dist/src/files/transfers.d.ts +4 -3
- package/dist/src/index.d.ts +2 -0
- package/dist/src/nas/contract.d.ts +1 -1
- package/dist/src/protocol/v1.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/vue.js +1221 -1220
- package/executor-manifest.json +16 -0
- package/package.json +7 -5
- package/spec/protocol/v1/README.md +10 -0
- package/spec/protocol/v1/schema/files.checkPermission.json +1 -2
package/README.md
CHANGED
|
@@ -591,3 +591,17 @@ Protocol v1 includes `WebapiCallParams` for `webapi.call` and profile grants in
|
|
|
591
591
|
bound. Node App services use Context.runtime (node/README.md); browser Apps
|
|
592
592
|
expose their own app routes and never connect to the executor socket directly.
|
|
593
593
|
Go workers use `delegate.CreateWebAPIGrant` and `JobContext.WebAPI().Call`.
|
|
594
|
+
|
|
595
|
+
## DSM file session migration
|
|
596
|
+
|
|
597
|
+
`createNasProvider`, `FilesPage`, scope selection and file transfers now call
|
|
598
|
+
DSM directly on the browser's origin. The App's `nas.session.status` still
|
|
599
|
+
checks admission. `ctx.files.endpoint` is ignored; the reactive token callback
|
|
600
|
+
is retained, with a same-origin DSM token bootstrap outside the desktop.
|
|
601
|
+
For custom UIs, use the headless `createDsmFileStation` (shares, list, info,
|
|
602
|
+
createFolder, checkPermission, upload) and `createFileTransfers`. Await
|
|
603
|
+
`download()` for submission failures; it does not confirm transfer completion.
|
|
604
|
+
Browser permission results never authorize backend writes or grants.
|
|
605
|
+
|
|
606
|
+
See [DSM session transport and App migration](../docs/dsm-session-transport.md).
|
|
607
|
+
Do not add root/executor access to browser-only Apps such as OpenList.
|