@synopackageland/cli 0.13.0 → 0.13.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.1 (2026-10-17)
4
+
5
+ - Use templates 0.13.1, SDK 0.13.1 fixtures and the unchanged executor/lifecycle digests on the 0.13 minor line.
6
+
7
+ 繁中摘要:模板與 SDK 範例同步至 0.13.1;沿用 0.13.0 的 executor/lifecycle digest,既有 App 不因本次版本更新重核准。
8
+
3
9
  ## 0.13.0 (2026-10-17)
4
10
 
5
11
  - Add the identity gateway for daemon web applications and package-account compose upstreams: OIDC, header and token modes, validated native payload targets and bounded connection policies. UDP connections are handled separately from TCP.
@@ -9,5 +9,16 @@
9
9
  "armv7": "cafc97c89f5645c14a8cf31d6d9f258394ed6f2d086478a7aebd04d57c274b4e"
10
10
  },
11
11
  "goToolchain": "go1.26.9"
12
+ },
13
+ "0.13.1": {
14
+ "x86_64": "efe409287770f6b70e7f8465e8767eeb2413b9ab8775020cf4dffb1555d7bf1f",
15
+ "aarch64": "d68c9889ed2391e918b9c278679ea0a01cd04425528c11090700a3b6341fc543",
16
+ "armv7": "9149a05efb9f2d7d86a400707099b3d657382b1c0dbad6588be8c500e90445cc",
17
+ "lifecycle": {
18
+ "x86_64": "d65500c4f04713a32b45d360059281391acfa5e00ee24895fdd2de7b82735372",
19
+ "aarch64": "94f6cd119186ff482b8aea56541dd1f9d53c147566bc1efdca6f5a1c86198331",
20
+ "armv7": "cafc97c89f5645c14a8cf31d6d9f258394ed6f2d086478a7aebd04d57c274b4e"
21
+ },
22
+ "goToolchain": "go1.26.9"
12
23
  }
13
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/cli",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "Syno Package Land Developer Kit CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "prepublishOnly": "npm run build"
26
26
  },
27
27
  "dependencies": {
28
- "@synopackageland/templates": "0.13.0",
28
+ "@synopackageland/templates": "0.13.1",
29
29
  "ajv": "^8.17.1",
30
30
  "commander": "^13.1.0",
31
31
  "tar": "^7.4.3",
@@ -39,8 +39,8 @@ rootOps 與 delegate 已共用管理員 PasswordConfirm 核准的 protected exec
39
39
  backend 寫 `runtime: python|node|rust`(`runtime: go` 等同 `kind: go`)。CGI 是 SDK 的 Go runtime(`bridge/cmd/runtime`),它驗證 DSM session、entry 與 `permissions.json` 後,以套件帳號(不是 root)每個請求啟動一次 App。App 放在 ui 以外的目錄,打包成 `target/app/`,build 寫入 `bridge.json`(spec/bridge/v1)並把它與 `permissions.json` 的 sha256 編進 runtime。
40
40
 
41
41
  ```yaml
42
- backend: {runtime: python, dir: app, entry: main.py, sdk: 0.13.0}
43
- backend: {runtime: node, dir: app, entry: main.mjs, sdk: 0.13.0, node: {package: Node.js_v20}}
42
+ backend: {runtime: python, dir: app, entry: main.py, sdk: 0.13.1}
43
+ backend: {runtime: node, dir: app, entry: main.mjs, sdk: 0.13.1, node: {package: Node.js_v20}}
44
44
  backend: {runtime: rust, dir: app, entry: hello, methods: [hello.greet]}
45
45
  ```
46
46
 
@@ -37,7 +37,7 @@ Start with a schema-2 native-go or binary project for the native CGI and package
37
37
  UI. Add `compose` to **dsm-package.yaml**; do not combine the legacy
38
38
  `synology-app.yaml` Compose contract with it. Omit `daemon`. Set `os_min_ver` to
39
39
  at least `7.2.1-69057`, `capabilities: {}`, and supply one helper payload directory
40
- per architecture. The examples below pin released SDK 0.13.0, which contains the gateway/account APIs.
40
+ per architecture. The examples below pin released SDK 0.13.1, which contains the gateway/account APIs.
41
41
 
42
42
  ```yaml
43
43
  compose:
@@ -46,7 +46,7 @@ compose:
46
46
  services:
47
47
  openlist: {address_env: ADDR, port: 25244}
48
48
  identity_gateway:
49
- sdk: 0.13.0
49
+ sdk: 0.13.1
50
50
  mode: oidc
51
51
  upstream: 25244
52
52
  listen: {http: 25240, https: 25241}
@@ -114,7 +114,7 @@ as a firewall: correct bindings must be established before deployment.
114
114
  Use the existing native `daemon` route. A project-owned `absglue run` launches
115
115
  the unmodified ABS binary, binds it to loopback with the supported host/base
116
116
  path settings, configures OIDC through its API, and supervises it. The same
117
- helper implements idempotent deletion. The example pins released SDK 0.13.0.
117
+ helper implements idempotent deletion. The example pins released SDK 0.13.1.
118
118
 
119
119
  ```yaml
120
120
  daemon:
@@ -122,7 +122,7 @@ daemon:
122
122
  targets: {x86_64: payload}
123
123
  args: [run]
124
124
  identity_gateway:
125
- sdk: 0.13.0
125
+ sdk: 0.13.1
126
126
  mode: oidc
127
127
  upstream: 13378
128
128
  listen: {http: 13380, https: 13443}