@synopackageland/templates 0.32.0 → 0.32.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/package.json +1 -1
- package/templates/_shared/AGENTS.md +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/templates",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1",
|
|
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": {
|
|
@@ -55,9 +55,18 @@ default allows administrators only, so nobody else enters until an admin grants
|
|
|
55
55
|
access. One CGI check covers every route; failures refuse; changes apply within
|
|
56
56
|
30 seconds. Never re-implement AppPriv rules in the App.
|
|
57
57
|
List every App method explicitly in permissions.json, including administrator
|
|
58
|
-
methods. Dynamic method names and
|
|
58
|
+
methods. Dynamic method names and unregistered HTTP dispatchers are rejected; use
|
|
59
59
|
fixed SDK route constructors. Use identity_gateway.upstream_auth_paths for
|
|
60
60
|
client API paths authenticated by the upstream.
|
|
61
|
+
SDK 0.33.0 with CLI 0.35.0 adds `api.HandleHTTP("/proxy/", "app.proxy", handler)`
|
|
62
|
+
for literal, disjoint full-segment prefixes outside SDK reserved paths. Declare
|
|
63
|
+
the key as authenticated or administrators in permissions.json. Origin, entry,
|
|
64
|
+
identity and permission checks precede raw streaming/initial-upgrade handlers;
|
|
65
|
+
CGI itself cannot upgrade a connection. For package-private worker HTTP use
|
|
66
|
+
`ipc.ServeUnix(ctx, path, handler)` and `ipc.DialUnix`: owned mode-0600 sockets
|
|
67
|
+
directly beneath the package's private `var/run`, with no custom TCP listener.
|
|
68
|
+
The audit follows configured binaries' Linux import graphs and excludes unshipped
|
|
69
|
+
dev commands. Upgrade the scaffold's SDK pin before using these APIs.
|
|
61
70
|
Mark routes ordinary users call `authenticated`, mark whole admin routes
|
|
62
71
|
`administrators`, guard global settings inside shared routes with
|
|
63
72
|
the SDK's require-admin check, and hide admin controls with `ctx.user?.isAdmin`
|