uniweb 0.51.0 → 0.51.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.51.0",
3
+ "version": "0.51.2",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,15 +41,15 @@
41
41
  "js-yaml": "^4.1.0",
42
42
  "prompts": "^2.4.2",
43
43
  "tar": "^7.0.0",
44
- "@uniweb/core": "^0.26.1",
44
+ "@uniweb/runtime": "^0.21.0",
45
45
  "@uniweb/kit": "^0.18.4",
46
- "@uniweb/semantic-parser": "^1.4.0",
47
- "@uniweb/runtime": "^0.20.3"
46
+ "@uniweb/core": "^0.26.2",
47
+ "@uniweb/semantic-parser": "^1.4.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@uniweb/content-reader": "^1.2.4",
51
50
  "@uniweb/semantic-parser": "^1.4.0",
52
- "@uniweb/build": "^0.47.0"
51
+ "@uniweb/content-reader": "^1.2.4",
52
+ "@uniweb/build": "^0.47.1"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@uniweb/build": {
@@ -9,12 +9,27 @@
9
9
  * the answer.
10
10
  *
11
11
  * ⛔ THERE IS NO PRE-FLIGHT, AND ADDING ONE BACK IS A REGRESSION. A
12
- * `GET …/can-go-live` probe used to run before go-live; it called a route no
13
- * backend serves, and it folded every failure 404 included into
14
- * "proceed". A check that answers "fine" when it cannot reach the server is not
15
- * a check, and it made the CLI assume a posture it has no business assuming. A
16
- * pre-flight also cannot be authoritative: the backend re-evaluates at publish
17
- * time regardless, so a second asker is a second producer of one decision.
12
+ * `can-go-live` probe used to run before go-live, and it folded every failure
13
+ * 404 included into "proceed". A check that answers "fine" when it cannot
14
+ * reach the server is not a check, and it made the CLI assume a posture it has no
15
+ * business assuming. A pre-flight also cannot be authoritative: the backend
16
+ * re-evaluates at publish time regardless, so a second asker is a second producer
17
+ * of one decision which is the reason that would stand even if the probe had
18
+ * worked.
19
+ *
20
+ * ⚠️ **THIS COMMENT USED TO SAY THE PROBE "called a route no backend serves".
21
+ * That was FALSE, corrected 2026-09-12.** What it called was
22
+ * `/dev/site/{uuid}/can-go-live` — and the 404 came from the PATH being wrong,
23
+ * not from the capability being absent. So the probe never worked at any version
24
+ * that shipped it, and every failure was swallowed by the fold above, which is
25
+ * exactly why nobody noticed.
26
+ *
27
+ * ⭐ Kept as a warning about the SHAPE of the old justification, not just the
28
+ * fact: a correct rule was resting on a claim about another system that this
29
+ * repo cannot see, and the claim was wrong. The rule survives because its real
30
+ * reasons are local — the fold, and the second-producer argument. **If you find
31
+ * yourself defending a rule here with an assertion about what a server does,
32
+ * check it or drop it.**
18
33
  *
19
34
  * WHAT THE CLI KNOWS ABOUT PAYMENT: nothing. It opens whatever settlement URL
20
35
  * the backend hands it, VERBATIM — provider-agnostic, and route-agnostic. The
@@ -125,10 +140,15 @@ export function readPaymentRefusal({ status, contentType = '', body = '' } = {})
125
140
  // key for every reason, which is what lets a reason we have never heard of still
126
141
  // reach its remedy.
127
142
  //
128
- // ⚖️ `settlement.url` is the older shape and is still read. Not an alias we
129
- // maintain: it is what a backend that has not moved yet still serves, and
130
- // dropping the read would take away a door those deployments have today. New
131
- // code never emits it and nothing here prefers it.
143
+ // ⚖️ `settlement.url` is the older shape and is still read, as a DEFENSIVE
144
+ // read and nothing more.
145
+ //
146
+ // **This comment used to justify it as "what a backend that has not moved yet
147
+ // still serves". That is unverified and probably false** — corrected 2026-09-12,
148
+ // after the backend searched its whole tree and reported serving neither this
149
+ // nor `remedy_url` on any route. ⇒ Keep the read (it costs nothing and a door
150
+ // withheld is worse than a door read twice); do not repeat the claim about who
151
+ // serves it. The current contract is `remedy_url`, one key for every reason.
132
152
  const legacy = problem.settlement
133
153
  const candidate =
134
154
  (typeof problem.remedy_url === 'string' && problem.remedy_url) ||
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-09-12T17:05:58.363Z",
3
+ "generatedAt": "2026-09-12T22:47:22.112Z",
4
4
  "packages": {
5
5
  "@uniweb/api": {
6
6
  "version": "0.3.3",
@@ -10,7 +10,7 @@
10
10
  ]
11
11
  },
12
12
  "@uniweb/build": {
13
- "version": "0.47.0",
13
+ "version": "0.47.1",
14
14
  "path": "framework/build",
15
15
  "deps": [
16
16
  "@uniweb/content-reader",
@@ -34,7 +34,7 @@
34
34
  "deps": []
35
35
  },
36
36
  "@uniweb/core": {
37
- "version": "0.26.1",
37
+ "version": "0.26.2",
38
38
  "path": "framework/core",
39
39
  "deps": [
40
40
  "@uniweb/semantic-parser",
@@ -82,7 +82,7 @@
82
82
  ]
83
83
  },
84
84
  "@uniweb/runtime": {
85
- "version": "0.20.3",
85
+ "version": "0.21.0",
86
86
  "path": "framework/runtime",
87
87
  "deps": [
88
88
  "@uniweb/core",
@@ -110,7 +110,7 @@
110
110
  "deps": []
111
111
  },
112
112
  "@uniweb/templates": {
113
- "version": "0.13.0",
113
+ "version": "0.13.1",
114
114
  "path": "framework/templates",
115
115
  "deps": []
116
116
  },
@@ -120,7 +120,7 @@
120
120
  "deps": []
121
121
  },
122
122
  "@uniweb/unipress": {
123
- "version": "0.9.14",
123
+ "version": "0.9.15",
124
124
  "path": "framework/unipress",
125
125
  "deps": [
126
126
  "@uniweb/build",