@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.
@@ -0,0 +1,16 @@
1
+ {
2
+ "formatVersion": 1,
3
+ "sdkVersion": "0.27.1",
4
+ "executorVersion": "0.27.0",
5
+ "executorDigests": {
6
+ "x86_64": "35f760533c133f7ed99d62c11dc4696d06a56fd2d125d53291aa21743d8327cc",
7
+ "aarch64": "04dff10b52ca4c54e3e6a825c27bac876f296031d8f572f667e6902e18464e31",
8
+ "armv7": "8789b2663b683ae0a5a457b41ccfcff4d54be4c98dcd3af338622051ad24f943",
9
+ "lifecycle": {
10
+ "x86_64": "c6fbb377ecd5ec7ee5b96439f22091d9fa5965dfd616d510ca9445722f436721",
11
+ "aarch64": "a9ca1750d4d5cff4727dc29789e6eaf0a365cb0e674f1bb796971d82f2d4fa27",
12
+ "armv7": "6d25fc972eba12e3ac68f8b6a95a45e9e5706ebe19ffc1ff774fc318acbeb90f"
13
+ },
14
+ "goToolchain": "go1.26.10"
15
+ }
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/sdk",
3
- "version": "0.26.0",
3
+ "version": "0.27.1",
4
4
  "description": "Frontend SDK for DSM packages built with synopkgland: headless client and Vue components",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/synopackageland/syno-pkg-land-sdk/tree/main/ts#readme",
@@ -30,15 +30,17 @@
30
30
  "types": "./dist/src/native.d.ts",
31
31
  "import": "./dist/native.js"
32
32
  },
33
- "./i18n/*": "./dist/i18n/*"
33
+ "./i18n/*": "./dist/i18n/*",
34
+ "./executor-manifest.json": "./executor-manifest.json"
34
35
  },
35
36
  "files": [
36
37
  "dist",
37
- "spec/protocol"
38
+ "spec/protocol",
39
+ "executor-manifest.json"
38
40
  ],
39
41
  "scripts": {
40
42
  "prepack": "test -d node_modules || { echo '@synopackageland/sdk: run npm ci before npm pack' >&2; exit 1; }; npm run build",
41
- "build": "vite build && vue-tsc -p tsconfig.build.json && cp -R i18n dist/ && rm -rf spec && cp -R ../spec spec",
43
+ "build": "node ../scripts/executor-manifest.mjs --check && vite build && vue-tsc -p tsconfig.build.json && cp -R i18n dist/ && rm -rf spec && cp -R ../spec spec",
42
44
  "typecheck": "vue-tsc --noEmit",
43
45
  "test": "vitest run"
44
46
  },
@@ -57,7 +59,7 @@
57
59
  },
58
60
  "devDependencies": {
59
61
  "@lucide/vue": "1.48.0",
60
- "@synopackageland/ui": "0.14.3",
62
+ "@synopackageland/ui": "0.14.8",
61
63
  "@types/node": "24.19.2",
62
64
  "@vitejs/plugin-vue": "6.0.9",
63
65
  "jsdom": "29.1.1",
@@ -487,3 +487,13 @@ It MUST NOT raise frame limits. Staging MUST be App-owned 0600 under a private
487
487
  0700 package directory. The App MUST verify size/hash and unlink after reading.
488
488
  Header, execution, spool cleanup and error rules are specified in
489
489
  [the raw contract](../../../docs/webapi-raw.md).
490
+
491
+ ### Destination permission observations
492
+
493
+ `files.checkPermission` also supports an existing until-revoked
494
+ `files.moveFromStaging` destination: omit `job_id`, provide the exact granted
495
+ path and the current owner's session. The approved move policy permits only
496
+ this observation; it cannot widen the destination or grant new authority.
497
+ The executor rechecks current identity, App Privileges, scope, ACL and grant
498
+ fences. Legacy time-limited grants continue to require their `job_id` and
499
+ explicit operation policy. See `docs/dsm-session-transport.md` at the root.
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://github.com/synopackageland/syno-pkg-land-sdk/spec/protocol/v1/schema/files.checkPermission.json",
4
4
  "title": "files.checkPermission",
5
- "description": "Check write permission for the delegated user.",
5
+ "description": "Check write permission for the delegated user. A legacy grant requires job_id. An until-revoked moveFromStaging destination omits job_id, requires the current owner session, and permits only its exact destination path; it never creates or widens a grant.",
6
6
  "since": "0.9.0",
7
7
  "auth": "optional",
8
8
  "type": "object",
@@ -24,7 +24,6 @@
24
24
  "additionalProperties": false,
25
25
  "required": [
26
26
  "delegation_id",
27
- "job_id",
28
27
  "path"
29
28
  ]
30
29
  }