@synopackageland/cli 0.52.15 → 0.52.16
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 +7 -0
- package/package.json +1 -1
- package/skills/SKILL.md +1 -1
- package/skills/reference/compose.md +39 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.52.16 (2026-11-09)
|
|
4
|
+
|
|
5
|
+
- Pin SDK 0.53.25 for Compose planning.
|
|
6
|
+
- Refuse undeclared Compose tmpfs mounts and unlimited tmpfs, with registered errors that point to disk scratch.
|
|
7
|
+
- Document `compose.services.<service>.scratch` (disk temporary files, with `TMPDIR`) and the bounded `tmpfs` opt-in, which require SDK 0.53.25.
|
|
8
|
+
- Document `storage_init` on administrator-owned Shared Folders and runtime-only `storage_init`.
|
|
9
|
+
|
|
3
10
|
## 0.52.15 (2026-11-09)
|
|
4
11
|
|
|
5
12
|
- Support installer folder selection in native packages using the existing wizard, record, SDK controller and startup permission recovery.
|
package/package.json
CHANGED
package/skills/SKILL.md
CHANGED
|
@@ -149,7 +149,7 @@ See the scaffold steps and release checklist in [reference/upstream-fork.md](ref
|
|
|
149
149
|
|
|
150
150
|
For upstream OSS packaging, leave `ctl` absent from the manifest by default. Ask whether the user wants AI control; implement it only when explicitly requested. Read [reference/ctl.md](reference/ctl.md) for the required `ctl-plan`, UI/API coverage checklist and asynchronous-operation rules. Own Apps retain the native template's ctl defaults, with commands covering their main features; status-only coverage is incomplete.
|
|
151
151
|
|
|
152
|
-
Start with `synopkgland init -t native-go`, `synopkgland init -t binary`, or `synopkgland init -t compose`. Read reference/create.md or reference/wrap.md, then reference/deploy.md. Native CGI session checks belong to the package. For wrapping upstream OSS with DSM accounts, read [reference/identity-gateway.md](reference/identity-gateway.md) first. For all Compose work, read [reference/compose.md](reference/compose.md): schema-2 upstream files, generated override, SDK planner, fixed package identity and current DSM blockers. Containers do not inherit a signed-in user's File Station ACL. Existing Shared Folder mounts are blocked until official protected ACL/project control is verified.
|
|
152
|
+
Start with `synopkgland init -t native-go`, `synopkgland init -t binary`, or `synopkgland init -t compose`. Read reference/create.md or reference/wrap.md, then reference/deploy.md. Native CGI session checks belong to the package. For wrapping upstream OSS with DSM accounts, read [reference/identity-gateway.md](reference/identity-gateway.md) first. For all Compose work, read [reference/compose.md](reference/compose.md): schema-2 upstream files, generated override, SDK planner, fixed package identity and current DSM blockers. Container temporary files go to disk (`compose.services.<service>.scratch`, with `TMPDIR`); a memory tmpfs needs an explicit `compose.services.<service>.tmpfs` declaration and is always size-bounded. Containers do not inherit a signed-in user's File Station ACL. Existing Shared Folder mounts are blocked until official protected ACL/project control is verified.
|
|
153
153
|
|
|
154
154
|
Never install, uninstall, publish or modify NAS data without task authorization. Prefer check, inspect and deploy --dry-run for reviewable artifacts.
|
|
155
155
|
|
|
@@ -127,6 +127,7 @@ a build operator trust decision. `check`/`inspect` remain offline.
|
|
|
127
127
|
| --- | --- |
|
|
128
128
|
| Files in one directory, profiles, anchors, depends_on, healthcheck | Reference-loader semantics retained; healthcheck timing receives the SDK slow-NAS floor; DSM worker compatibility needs device acceptance |
|
|
129
129
|
| Named local volumes | Stable package namespace, retained across recreation; inspect inventory |
|
|
130
|
+
| Temporary files | Disk `scratch` per service (package UID, mode 0700, emptied each start); memory tmpfs only when declared, always size-bounded (default 64 MiB); see [Temporary files](#temporary-files) |
|
|
130
131
|
| Private bind data | DSM build rejects COMPOSE_PRIVATE_BIND_TIMING_UNSUPPORTED: clean-install preinst precedes pkgvar creation, while worker acquire precedes postinst; no root initialization or automatic volume conversion |
|
|
131
132
|
| Image VOLUME | Build inventories verified image config and assigns a stable named volume |
|
|
132
133
|
| Existing external volume | Rejected without trusted admin ownership/driver readback |
|
|
@@ -489,6 +490,44 @@ root or delete DSM configuration to claim compatibility.
|
|
|
489
490
|
Compose web health is required before check/build; init has no guessed endpoint or status. Select both `--health-path` and `--health-status`, or edit `compose.web.health`. Readiness does not follow redirects. Static check is not an HTTP or arbitrary-UID/storage preflight. For official-image upstream packaging and DSM login, read [upstream-fork.md](upstream-fork.md).
|
|
490
491
|
|
|
491
492
|
|
|
493
|
+
## Temporary files
|
|
494
|
+
|
|
495
|
+
Temporary files go to disk, not memory. Check refuses every Compose tmpfs (the
|
|
496
|
+
short `tmpfs:` list and `type: tmpfs` volumes) that the package does not
|
|
497
|
+
declare, with `COMPOSE_TMPFS_UNDECLARED` naming the service and target. Host
|
|
498
|
+
`/tmp` binds stay refused.
|
|
499
|
+
|
|
500
|
+
```yaml
|
|
501
|
+
compose:
|
|
502
|
+
services:
|
|
503
|
+
app:
|
|
504
|
+
scratch: [/tmp] # disk; replaces a Compose tmpfs at /tmp
|
|
505
|
+
environment: {TMPDIR: /tmp}
|
|
506
|
+
tmpfs: # memory, only for small data
|
|
507
|
+
- /run # SDK default size, 64 MiB
|
|
508
|
+
- {target: /var/cache/render, size: 16m}
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
- `scratch` binds `/var/packages/<package>/target/compose/scratch/<service>/<id>`
|
|
512
|
+
from the installed package files on the volume. The package-account preinst
|
|
513
|
+
creates it explicitly with mode 0700; on every container start the SDK checks
|
|
514
|
+
that the package UID owns it, sets 0700, empties it and probes a write before
|
|
515
|
+
the App runs. Upgrade replaces it; uninstall removes it. It works with
|
|
516
|
+
`read_only: true` and needs explicit entrypoint/command argv. Set `TMPDIR` when
|
|
517
|
+
the App or its tools read it. It is not persistent storage.
|
|
518
|
+
- `tmpfs` accepts the matching Compose tmpfs or adds one. Every tmpfs reaching
|
|
519
|
+
Docker has a size: the declared size, else the Compose size, else 64 MiB.
|
|
520
|
+
Size 0 (unlimited) is refused with `COMPOSE_TMPFS_UNBOUNDED`.
|
|
521
|
+
- Both need an SDK that implements them; check reports `SDK_COMPOSE_UNSUPPORTED`
|
|
522
|
+
for an older `compose.sdk`.
|
|
523
|
+
|
|
524
|
+
`storage_init.directories` may use a read/write Shared Folder mount as the base,
|
|
525
|
+
including one owned by an administrator: the SDK creates missing subdirectories
|
|
526
|
+
as the package UID, never changes the folder root, and requires a real write
|
|
527
|
+
instead of ownership. Runtime files stay on package storage. `storage_init` may
|
|
528
|
+
declare only `runtime`. Do not point `storage_init` at a tmpfs or scratch
|
|
529
|
+
directory to work around a Shared Folder.
|
|
530
|
+
|
|
492
531
|
## Named volumes and uninstall
|
|
493
532
|
|
|
494
533
|
The SDK planner and lock inventory all current project-owned named volumes as
|