@synopackageland/templates 0.10.10 → 0.10.11

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 CHANGED
@@ -38,12 +38,12 @@ calls each one from the generated script of the same name (`synopkgland skill sh
38
38
  The placeholders `__PACKAGE__` (also the Go module path), `__DISPLAY_NAME__` and
39
39
  `__BACKGROUND_ENABLED__` are substituted by `init`.
40
40
 
41
- `backend/go.mod` requires `github.com/synopackageland/syno-pkg-land-sdk v0.10.9`; that line is
41
+ `backend/go.mod` requires `github.com/synopackageland/syno-pkg-land-sdk v0.10.10`; that line is
42
42
  the single source of the SDK version and `frontend/package.json` pins
43
43
  `@synopackageland/sdk` to the same version. Python and Node.js name it in
44
44
  `backend.sdk`, Rust in the `syno-pkg-land-app` tag of `backend/Cargo.toml`
45
- (and `Cargo.lock`); all of them pin 0.10.9. The Vue frontend pins
46
- `@synopackageland/ui` 0.9.8.
45
+ (and `Cargo.lock`); all of them pin 0.10.10. The Vue frontend pins
46
+ `@synopackageland/ui` 0.9.9.
47
47
 
48
48
  ## Notice writer
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/templates",
3
- "version": "0.10.10",
3
+ "version": "0.10.11",
4
4
  "description": "Project templates for synopkgland init: native-go, native-python, native-node and native-rust (plain or Vue, with jobs, delegate and root-ops overlays), binary and compose.",
5
5
  "license": "MIT",
6
6
  "repository": {"type": "git", "url": "git+https://github.com/synopackageland/syno-pkg-land-templates.git"},
@@ -1,6 +1,6 @@
1
1
  Native Go package build dependencies
2
2
 
3
- github.com/synopackageland/syno-pkg-land-sdk v0.10.9 (MIT)
3
+ github.com/synopackageland/syno-pkg-land-sdk v0.10.10 (MIT)
4
4
 
5
5
  Copyright (c) 2026 synopkgland
6
6
 
@@ -4,6 +4,6 @@ go 1.25.0
4
4
 
5
5
  toolchain go1.26.9
6
6
 
7
- require github.com/synopackageland/syno-pkg-land-sdk v0.10.9
7
+ require github.com/synopackageland/syno-pkg-land-sdk v0.10.10
8
8
 
9
9
  require golang.org/x/sys v0.44.0 // indirect
@@ -1,4 +1,4 @@
1
- github.com/synopackageland/syno-pkg-land-sdk v0.10.9 h1:QuRK6UbSrbfotMxfpJG62xEzZq0cQVy6VSFb9HpdoQk=
2
- github.com/synopackageland/syno-pkg-land-sdk v0.10.9/go.mod h1:hlsvaVuH2wsAoR8jzI1Rg/NeejQSFpAaN6zpIWsVbjI=
1
+ github.com/synopackageland/syno-pkg-land-sdk v0.10.10 h1:bsZY23WrFayZAwwoHV31yYQrRFC9msWeR2ZpJsf9fxI=
2
+ github.com/synopackageland/syno-pkg-land-sdk v0.10.10/go.mod h1:hlsvaVuH2wsAoR8jzI1Rg/NeejQSFpAaN6zpIWsVbjI=
3
3
  golang.org/x/sys v0.44.0 h1:ildZl3J4uzeKP07r2F++Op7E9B29JRUy+a27EibtBTQ=
4
4
  golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
@@ -29,7 +29,10 @@ test('the capability surface uses an explicit long-running facade without legacy
29
29
  } satisfies BackgroundSaveFacade
30
30
  const call=vi.fn(async()=>{throw {code:'unexpected-legacy-call'}})
31
31
  const root=render({delegate:sdk,call,locale:'en'});await settle()
32
- expect(root.textContent).toContain('Save history');expect(sdk.operations).toHaveBeenCalled()
32
+ expect(root.textContent).toContain('Background saves')
33
+ expect(root.textContent).not.toContain('Save history')
34
+ expect(sdk.operations).not.toHaveBeenCalled()
35
+ expect(sdk.list).not.toHaveBeenCalled()
33
36
  expect(call).not.toHaveBeenCalled()
34
37
  })
35
38
  test('the default surface binds the real routes and the session-only picker',async()=>{
@@ -41,14 +41,14 @@ test('the App pages wait until an administrator approves the executor with the D
41
41
  })
42
42
  test('anyone else is told to ask an administrator for system access',async()=>{
43
43
  const root=open(false,awaitingApproval() as unknown as Context['executor']);await settle()
44
- expect(root.textContent).toContain('An administrator must approve system access')
44
+ expect(root.textContent).toContain('Ask an administrator to open this app and approve it once.')
45
45
  expect(root.querySelector('input[type=password]')).toBeNull()
46
46
  expect(root.textContent).not.toContain('Package status')
47
47
  })
48
48
  test('without an executor (a dev server) the App pages show at once',async()=>{
49
49
  const root=open(false);await settle()
50
50
  expect(root.textContent).toContain('Package status')
51
- expect(root.textContent).not.toContain('An administrator must approve system access')
51
+ expect(root.textContent).not.toContain('Ask an administrator to open this app and approve it once.')
52
52
  })
53
53
  // preload: the App's own reads run alongside the executor's first status read.
54
54
  test('while the executor status is read the App pages already load, hidden and inert',async()=>{
@@ -66,7 +66,7 @@ test('while the executor status is read the App pages already load, hidden and i
66
66
  test('while the executor awaits approval no notice repeats the approval page',async()=>{
67
67
  for(const admin of [true,false]){
68
68
  const root=open(admin,awaitingApproval() as unknown as Context['executor']);await settle()
69
- expect(root.textContent,String(admin)).toContain(admin?'Approve system access':'An administrator must approve system access')
69
+ expect(root.textContent,String(admin)).toContain(admin?'Approve this app once':'Ask an administrator to open this app and approve it once.')
70
70
  expect(root.textContent,String(admin)).not.toContain('Some features are unavailable')
71
71
  }
72
72
  })
@@ -7,8 +7,8 @@
7
7
  "name": "native-dsm-vue-app",
8
8
  "dependencies": {
9
9
  "@lucide/vue": "1.48.0",
10
- "@synopackageland/sdk": "0.10.9",
11
- "@synopackageland/ui": "0.9.8",
10
+ "@synopackageland/sdk": "0.10.10",
11
+ "@synopackageland/ui": "0.9.9",
12
12
  "vue": "3.5.43"
13
13
  },
14
14
  "devDependencies": {
@@ -1148,9 +1148,9 @@
1148
1148
  }
1149
1149
  },
1150
1150
  "node_modules/@synopackageland/sdk": {
1151
- "version": "0.10.9",
1152
- "resolved": "https://registry.npmjs.org/@synopackageland/sdk/-/sdk-0.10.9.tgz",
1153
- "integrity": "sha512-g96I1I+3uPe1NReK/VrLc0c3CmL0AU4xg0uYOeldxjM5W5Ns+MtcOpGS0oqq1CeSJbTGetqGr/qnG5IHSfhakQ==",
1151
+ "version": "0.10.10",
1152
+ "resolved": "https://registry.npmjs.org/@synopackageland/sdk/-/sdk-0.10.10.tgz",
1153
+ "integrity": "sha512-lsCK4MGyOs6PcswJGqXAkKdV6kWiCvVlFX7dt5fhTRhfxp6WbVcTzD3JWWplIszgf/dwartlFoP5kG7b3Y6leA==",
1154
1154
  "license": "MIT",
1155
1155
  "peerDependencies": {
1156
1156
  "@lucide/vue": "^1.48.0",
@@ -1167,9 +1167,9 @@
1167
1167
  }
1168
1168
  },
1169
1169
  "node_modules/@synopackageland/ui": {
1170
- "version": "0.9.8",
1171
- "resolved": "https://registry.npmjs.org/@synopackageland/ui/-/ui-0.9.8.tgz",
1172
- "integrity": "sha512-zvJWEuEFOgAstMvDH97cgWAhzpiLRJ+uuLCkOTA3Z64wpeAxsJZXBOBfTLsmoBMy7jPs+EwtVHNbA03KvYh+uQ==",
1170
+ "version": "0.9.9",
1171
+ "resolved": "https://registry.npmjs.org/@synopackageland/ui/-/ui-0.9.9.tgz",
1172
+ "integrity": "sha512-51Tm5rztp/tHoYNW2GardzvSr1sKfF+zUB2OBu2dE9IFquzxYc0v2Ei9fTj1Xvmr7HdcvOKu0Nh9T1VtcO7R/A==",
1173
1173
  "license": "MIT",
1174
1174
  "dependencies": {
1175
1175
  "@internationalized/date": "3.12.4",
@@ -8,8 +8,8 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@lucide/vue": "1.48.0",
11
- "@synopackageland/sdk": "0.10.9",
12
- "@synopackageland/ui": "0.9.8",
11
+ "@synopackageland/sdk": "0.10.10",
12
+ "@synopackageland/ui": "0.9.9",
13
13
  "vue": "3.5.43"
14
14
  },
15
15
  "devDependencies": {
@@ -49,7 +49,7 @@ backend:
49
49
  runtime: node
50
50
  dir: backend/app
51
51
  entry: main.js
52
- sdk: 0.10.9
52
+ sdk: 0.10.10
53
53
  node: { package: Node.js_v20 }
54
54
 
55
55
  ui:
@@ -47,7 +47,7 @@ backend:
47
47
  runtime: python
48
48
  dir: backend/app
49
49
  entry: main.py
50
- sdk: 0.10.9
50
+ sdk: 0.10.10
51
51
 
52
52
  ui:
53
53
  # Static files served at /webman/3rdparty/<package>/app/. app.js and app.css
@@ -104,8 +104,8 @@ dependencies = [
104
104
 
105
105
  [[package]]
106
106
  name = "syno-pkg-land-app"
107
- version = "0.10.9"
108
- source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.10.9#8ae214256950cb8e53f0b1d2bea52f5def93d90a"
107
+ version = "0.10.10"
108
+ source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.10.10#e9063b14ae93c1aa58177acdf14e5ce070691569"
109
109
  dependencies = [
110
110
  "libc",
111
111
  "serde",
@@ -9,7 +9,7 @@ libc = "0.2"
9
9
  serde = { version = "1", features = ["derive"] }
10
10
  serde_json = "1"
11
11
  # The SDK version is the tag; `synopkgland check` reads it from Cargo.lock.
12
- syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.10.9" }
12
+ syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.10.10" }
13
13
 
14
14
  [profile.release]
15
15
  # A handler panic becomes an "internal" reply; abort would end the App without one.