@synopackageland/cli 0.34.0 → 0.36.0
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 +39 -0
- package/README.md +6 -3
- package/assets/go/route-audit/main.go +549 -45
- package/dist/build-spk/install-wizard.d.ts +2 -0
- package/dist/build-spk/install-wizard.js +4 -0
- package/dist/build-spk/wizard-messages.d.ts +22 -0
- package/dist/build-spk/wizard-messages.js +22 -0
- package/dist/cli.js +26 -0
- package/dist/error-registry.js +10 -0
- package/dist/standalone/api-description.js +3 -0
- package/dist/standalone/api-permissions.d.ts +4 -1
- package/dist/standalone/api-permissions.js +10 -4
- package/dist/standalone/build.js +15 -2
- package/dist/standalone/inspect-spk.d.ts +2 -0
- package/dist/standalone/inspect-spk.js +16 -10
- package/dist/standalone/manifest.d.ts +6 -0
- package/dist/standalone/manifest.js +40 -5
- package/dist/standalone/route-audit.d.ts +9 -3
- package/dist/standalone/route-audit.js +6 -2
- package/dist/standalone/shared-folder.d.ts +6 -1
- package/dist/standalone/shared-folder.js +13 -0
- package/dist/standalone/spk.js +5 -6
- package/package.json +1 -1
- package/skills/SKILL.md +43 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.36.0 (2026-10-29)
|
|
4
|
+
|
|
5
|
+
- Stop treating `net.Listener` and `net.ListenConfig` types as listeners.
|
|
6
|
+
Actual constructors, aliases and declared listener/server methods remain
|
|
7
|
+
rejected. Accept SDK child-port reservation/probe, named private HTTP servers
|
|
8
|
+
and peer-credential executor transport as explicit boundaries.
|
|
9
|
+
- Add `audit-entry` for every custom-hook Go payload's own target import graph.
|
|
10
|
+
It never executes the App. Keep all files of imported shared packages in scope.
|
|
11
|
+
- Bind ordinary CGI/workers to IPC tier `none`; only separately approved root
|
|
12
|
+
helper builds may use executor-tier peer serving. Update the App skill for
|
|
13
|
+
SDK/App 0.34.0, named data planes, child ports and helper boundaries.
|
|
14
|
+
|
|
15
|
+
- Audit `(*api.Server).InvokeAsAdministrator` calls: each must name a literal
|
|
16
|
+
method declared `administrators` in permissions.json. Package commands outside
|
|
17
|
+
CGI use it instead of calling `ServeHTTP` on a server in process, which the
|
|
18
|
+
audit still rejects. Requires the SDK release with `InvokeAsAdministrator`.
|
|
19
|
+
- Accept the `integration` permission for Go `api.HandleIntegration` service
|
|
20
|
+
callbacks. `dsm-package.yaml` `integrations` must list exactly those methods.
|
|
21
|
+
The route audit requires the constructor and permission together, admits only
|
|
22
|
+
the callback's handler graph, and binds each `?method=` selector into the
|
|
23
|
+
HTTP route inventory. The install and upgrade wizards list the callbacks for
|
|
24
|
+
administrator approval; `inspect` verifies them. Requires the SDK release
|
|
25
|
+
with `api.HandleIntegration`.
|
|
26
|
+
- Stop the route audit from following a handler's receiver or parameter to
|
|
27
|
+
its type. A method value such as `cfg.serve` used to admit every method of
|
|
28
|
+
that type, which could hide an unregistered `ServeHTTP` dispatch elsewhere
|
|
29
|
+
on it.
|
|
30
|
+
|
|
31
|
+
## 0.35.0 (2026-10-29)
|
|
32
|
+
|
|
33
|
+
- Audit the target Linux import graphs of configured Go binaries rather than
|
|
34
|
+
recursively scanning unshipped development commands.
|
|
35
|
+
- Accept fixed, permission-declared `api.HandleHTTP` routes and package-private
|
|
36
|
+
`ipc.ServeUnix` handler graphs with SDK 0.33.0. Reject direct listeners and
|
|
37
|
+
unregistered handlers even when an IPC handler is reused.
|
|
38
|
+
- Bind the raw HTTP prefix inventory and package IPC identity into each Go
|
|
39
|
+
binary. Repeat source validation after UI hooks. Retain executor 0.32.0 bytes
|
|
40
|
+
and templates 0.32.0.
|
|
41
|
+
|
|
3
42
|
## 0.34.0 (2026-10-29)
|
|
4
43
|
|
|
5
44
|
- Enforce explicit App entry and reject undeclared App methods, dynamic route
|
package/README.md
CHANGED
|
@@ -74,15 +74,18 @@ alongside npm lockfiles. Do not disable checksum verification for public SDK
|
|
|
74
74
|
packages. Private mirrors can use explicitly configured Go authentication and
|
|
75
75
|
checksum settings; a failed fetch reports `SDK_DOWNLOAD_FAILED`.
|
|
76
76
|
|
|
77
|
-
CLI 0.
|
|
77
|
+
CLI 0.35.0 uses templates ~0.32.0, whose default SDK pin remains 0.32.0. Compose import and SDK defaults
|
|
78
78
|
read the SDK pin from the installed templates; explicit App SDK declarations take precedence.
|
|
79
79
|
Every App method must be declared in the permissions table. Dynamic names and
|
|
80
|
-
custom HTTP dispatchers are rejected
|
|
80
|
+
custom HTTP dispatchers are rejected. With SDK 0.33.0, use fixed
|
|
81
|
+
`api.HandleHTTP` prefixes for authorized raw HTTP and `ipc.ServeUnix` for private
|
|
82
|
+
package Unix sockets. The audit follows each shipped Linux binary's import graph;
|
|
83
|
+
unimported development commands are excluded. Use
|
|
81
84
|
`identity_gateway.upstream_auth_paths` for client API paths that use upstream
|
|
82
85
|
authentication. See [App entry and registration](docs/app-entry.md).
|
|
83
86
|
|
|
84
87
|
`init` and `add` read their templates from the locally installed
|
|
85
|
-
`@synopackageland/templates`. CLI 0.
|
|
88
|
+
`@synopackageland/templates`. CLI 0.35.0 depends on `~0.32.0`: npm installation or
|
|
86
89
|
update can select the latest templates patch in the 0.32 minor line. Templates
|
|
87
90
|
patches need only a templates release; update the npm installation to receive them.
|
|
88
91
|
The CLI never fetches templates at runtime, so offline use works after installation;
|