soma-core 2.2.4 → 2.2.6

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.
Files changed (259) hide show
  1. package/README.md +5 -6
  2. package/bin/soma.cjs +2 -2
  3. package/core/build/compiler/flat-page.ts +16 -0
  4. package/core/build/compiler/full-manifest-builder.ts +0 -3
  5. package/core/build/compiler/page-assets.ts +0 -1
  6. package/core/build/compiler/page-closure.ts +245 -0
  7. package/core/build/compiler/page-declaration-compiler.ts +2 -5
  8. package/core/build/compiler/soma-precompile.js +1848 -3244
  9. package/core/build/compiler/soma-precompile.ts +4 -7
  10. package/core/build/component-tree/artifact-codec.ts +4 -8
  11. package/core/build/lsp/soma-declaration.cjs +1 -1
  12. package/core/build/lsp/std-completion.generated.json +3 -3
  13. package/core/client/a11y/a11y-config.ts +2 -1
  14. package/core/client/a11y/dom-id.ts +1 -1
  15. package/core/client/base/SomaHttpClient.ts +11 -3
  16. package/core/client/base/SomaPageRootBase.ts +6 -0
  17. package/core/client/base/defineSomaView.ts +178 -0
  18. package/core/client/base/index.ts +13 -0
  19. package/core/client/base/view-context.ts +328 -0
  20. package/core/client/behavior/adapter-collection.ts +2 -2
  21. package/core/client/compiler/manifest-compiler.ts +5 -36
  22. package/core/client/component/component-definition.types.ts +2 -1
  23. package/core/client/component/component-manager.ts +110 -20
  24. package/core/client/component/structure-adapter.ts +3 -7
  25. package/core/client/container/SomaContainerAdapter.ts +9 -1
  26. package/core/client/data/data-object-resolver.ts +516 -181
  27. package/core/client/data/data-write-actions.ts +79 -15
  28. package/core/client/data/format-config.ts +3 -1
  29. package/core/client/data/region-scope-port.ts +11 -0
  30. package/core/client/engine/asset-resolver.ts +2 -5
  31. package/core/client/engine/dom-renderer.ts +7 -40
  32. package/core/client/engine/event-engine.ts +1 -105
  33. package/core/client/engine/property-watcher.ts +1 -1
  34. package/core/client/engine/reactive-proxy.ts +78 -17
  35. package/core/client/engine/runtime-builder.ts +0 -14
  36. package/core/client/engine/scope-resolver.ts +18 -0
  37. package/core/client/engine/soma-bootstrap.ts +385 -98
  38. package/core/client/engine/style-binder.ts +49 -106
  39. package/core/client/engine/timer-engine.ts +11 -1
  40. package/core/client/host-bridge/load-host-domain-class.ts +2 -1
  41. package/core/client/infra/http/SomaHttpService.ts +15 -4
  42. package/core/client/infra/i18n/pack-locales.ts +2 -2
  43. package/core/client/mount/domain-rule.ts +7 -3
  44. package/core/client/mount/mount-page.ts +38 -5
  45. package/core/client/mount/types.ts +2 -0
  46. package/core/client/parser/confirm-spec.ts +1 -1
  47. package/core/client/parser/data-config-parser.ts +27 -210
  48. package/core/client/parser/pipeline-parser.ts +14 -59
  49. package/core/client/parser/style-config-parser.ts +101 -95
  50. package/core/client/parser/timer-parser.ts +21 -0
  51. package/core/client/parser/ui-config-parser.ts +64 -12
  52. package/core/client/registry/declaration-renderer.ts +1 -1
  53. package/core/client/runtime/SomaRuntimeServices.ts +2 -1
  54. package/core/client/runtime/SomaSnapshotStore.ts +5 -0
  55. package/core/client/security/url-guard.ts +71 -11
  56. package/core/client/validation/async-check-registry.ts +2 -1
  57. package/core/client/validation/contract-validator.ts +2 -6
  58. package/core/client/validation/field-rules.ts +3 -13
  59. package/core/client/validation/object-rules.ts +2 -10
  60. package/core/index.ts +1 -35
  61. package/core/inspect/check-product.ts +5 -5
  62. package/core/inspect/runtime.ts +2 -1
  63. package/core/server/api/dispatch-service-api.ts +35 -36
  64. package/core/server/api/load-host-service.ts +5 -4
  65. package/core/server/compile-port.ts +1 -1
  66. package/core/server/host/app-config-composer.ts +2 -1
  67. package/core/server/host/host-assembly-entry.ts +1 -0
  68. package/core/server/host/host-assembly.ts +47 -3
  69. package/core/server/host/host-caller.ts +2 -1
  70. package/core/server/host/host-dir.ts +9 -0
  71. package/core/server/host/host-response-headers.ts +2 -1
  72. package/core/server/host/invoke-host-request-hook.ts +28 -4
  73. package/core/server/host/published-page-assets.ts +2 -1
  74. package/core/server/host/resolve-host-request-hook.ts +25 -7
  75. package/core/server/host/server-page-assets.ts +4 -4
  76. package/core/server/host/virtual-pages.ts +3 -2
  77. package/core/server/infra/cache/ServerFileCache.ts +79 -9
  78. package/core/server/registry/api-registry-store.ts +3 -1
  79. package/core/server/registry/declaration-precompiler.ts +0 -2
  80. package/core/server/registry/page-registry-repository.ts +2 -1
  81. package/core/server/registry/page-registry-store.ts +2 -1
  82. package/core/server/registry/registry-error.ts +6 -1
  83. package/core/server/registry/registry-file-lock.ts +296 -23
  84. package/core/server/registry/request-body-limit.ts +3 -2
  85. package/core/server/registry/validation/declaration-safety-scan.ts +151 -27
  86. package/core/server/runtime-space/access-gate.ts +21 -7
  87. package/core/server/runtime-space/bindings.ts +3 -6
  88. package/core/server/runtime-space/dynamic-pages.ts +181 -49
  89. package/core/server/runtime-space/errors.ts +3 -0
  90. package/core/server/runtime-space/inject.ts +74 -15
  91. package/core/server/runtime-space/page-grants.ts +7 -1
  92. package/core/server/runtime-space/resolve.ts +66 -19
  93. package/core/server/runtime-space/store.ts +32 -3
  94. package/core/server/runtime-space/submit-steps.ts +2 -1
  95. package/core/server/runtime-space/types.ts +3 -1
  96. package/core/shared/component-tree-errors.ts +2 -1
  97. package/core/shared/contract-a11y.ts +1 -1
  98. package/core/shared/contract-sections.ts +2 -2
  99. package/core/shared/core-diagnostic-codes.ts +8 -0
  100. package/core/shared/declaration-keys.ts +1 -1
  101. package/core/shared/engines/engine-error.ts +2 -1
  102. package/core/shared/generation-error.ts +2 -1
  103. package/core/shared/page-envelope.ts +1 -1
  104. package/core/shared/pure-binding.ts +88 -0
  105. package/core/shared/registry-generated/diagnostic-registry-index.ts +16 -19
  106. package/core/shared/registry-generated/diagnostic-registry.ts +135 -177
  107. package/core/shared/registry-generated/limits.ts +49 -13
  108. package/core/shared/registry-generated/std-grammar-completion.ts +0 -4
  109. package/core/shared/registry-generated/std-grammar-views.ts +40 -10
  110. package/core/shared/registry-generated/std-grammar.ts +42 -20
  111. package/core/shared/soma-error.ts +36 -0
  112. package/core/shared/types/compile-port.types.ts +1 -1
  113. package/core/shared/types/data-config.types.ts +17 -17
  114. package/core/shared/types/engine.types.ts +0 -3
  115. package/core/shared/types/event.types.ts +1 -11
  116. package/core/shared/types/generation-error.types.ts +5 -1
  117. package/core/shared/types/host-assembly.types.ts +7 -1
  118. package/core/shared/types/manifest.types.ts +0 -3
  119. package/core/shared/types/region-scope.types.ts +5 -1
  120. package/core/shared/types/scope-manifest.types.ts +0 -2
  121. package/core/shared/types/style-config.types.ts +21 -21
  122. package/core/shared/types/ui-config.types.ts +4 -5
  123. package/core/shared/types/watcher.types.ts +1 -1
  124. package/dist/browser/runtime-bundle.manifest.json +11 -13
  125. package/dist/browser/soma-runtime.js +2567 -2696
  126. package/dist/core/index.cjs +5446 -5486
  127. package/dist/host-native/aot-builder.cjs +46 -1
  128. package/dist/host-native/native-server.cjs +4879 -4505
  129. package/dist/lsp/component-tree.cjs +5814 -7042
  130. package/dist/types/build/compiler/full-manifest-builder.d.ts +0 -2
  131. package/dist/types/build/compiler/page-closure.d.ts +21 -0
  132. package/dist/types/build/compiler/page-declaration-compiler.d.ts +2 -4
  133. package/dist/types/build/compiler/soma-precompile.d.ts +1 -3
  134. package/dist/types/build/component-tree/artifact-codec.d.ts +0 -2
  135. package/dist/types/client/a11y/a11y-config.d.ts +2 -1
  136. package/dist/types/client/base/SomaHttpClient.d.ts +1 -1
  137. package/dist/types/client/base/SomaPageRootBase.d.ts +5 -0
  138. package/dist/types/client/base/defineSomaView.d.ts +46 -0
  139. package/dist/types/client/base/index.d.ts +2 -0
  140. package/dist/types/client/base/view-context.d.ts +136 -0
  141. package/dist/types/client/behavior/adapter-collection.d.ts +1 -1
  142. package/dist/types/client/compiler/manifest-compiler.d.ts +0 -3
  143. package/dist/types/client/component/component-definition.types.d.ts +2 -1
  144. package/dist/types/client/component/component-manager.d.ts +29 -0
  145. package/dist/types/client/data/data-object-resolver.d.ts +91 -31
  146. package/dist/types/client/data/format-config.d.ts +2 -1
  147. package/dist/types/client/engine/dom-renderer.d.ts +1 -2
  148. package/dist/types/client/engine/event-engine.d.ts +0 -7
  149. package/dist/types/client/engine/reactive-proxy.d.ts +11 -4
  150. package/dist/types/client/engine/runtime-builder.d.ts +0 -4
  151. package/dist/types/client/engine/soma-bootstrap.d.ts +44 -6
  152. package/dist/types/client/engine/style-binder.d.ts +8 -4
  153. package/dist/types/client/host-bridge/load-host-domain-class.d.ts +2 -1
  154. package/dist/types/client/mount/domain-rule.d.ts +2 -0
  155. package/dist/types/client/mount/mount-page.d.ts +2 -1
  156. package/dist/types/client/mount/types.d.ts +2 -0
  157. package/dist/types/client/parser/data-config-parser.d.ts +6 -5
  158. package/dist/types/client/parser/style-config-parser.d.ts +7 -3
  159. package/dist/types/client/parser/timer-parser.d.ts +5 -0
  160. package/dist/types/client/parser/ui-config-parser.d.ts +6 -2
  161. package/dist/types/client/runtime/SomaSnapshotStore.d.ts +2 -0
  162. package/dist/types/client/security/url-guard.d.ts +14 -0
  163. package/dist/types/client/validation/async-check-registry.d.ts +2 -1
  164. package/dist/types/client/validation/object-rules.d.ts +0 -5
  165. package/dist/types/index.d.ts +2 -7
  166. package/dist/types/inspect/runtime.d.ts +2 -1
  167. package/dist/types/server/api/dispatch-service-api.d.ts +5 -0
  168. package/dist/types/server/api/load-host-service.d.ts +1 -1
  169. package/dist/types/server/compile-port.d.ts +1 -1
  170. package/dist/types/server/host/host-assembly-entry.d.ts +1 -1
  171. package/dist/types/server/host/host-assembly.d.ts +2 -0
  172. package/dist/types/server/host/host-dir.d.ts +2 -0
  173. package/dist/types/server/host/invoke-host-request-hook.d.ts +10 -3
  174. package/dist/types/server/host/published-page-assets.d.ts +2 -1
  175. package/dist/types/server/host/resolve-host-request-hook.d.ts +18 -5
  176. package/dist/types/server/host/server-page-assets.d.ts +2 -1
  177. package/dist/types/server/infra/cache/ServerFileCache.d.ts +8 -0
  178. package/dist/types/server/registry/declaration-precompiler.d.ts +0 -1
  179. package/dist/types/server/registry/registry-error.d.ts +5 -1
  180. package/dist/types/server/registry/registry-file-lock.d.ts +30 -0
  181. package/dist/types/server/registry/request-body-limit.d.ts +3 -2
  182. package/dist/types/server/registry/validation/declaration-safety-scan.d.ts +3 -0
  183. package/dist/types/server/runtime-space/access-gate.d.ts +7 -0
  184. package/dist/types/server/runtime-space/bindings.d.ts +3 -2
  185. package/dist/types/server/runtime-space/dynamic-pages.d.ts +6 -1
  186. package/dist/types/server/runtime-space/errors.d.ts +1 -1
  187. package/dist/types/server/runtime-space/resolve.d.ts +2 -0
  188. package/dist/types/server/runtime-space/store.d.ts +8 -1
  189. package/dist/types/server/runtime-space/submit-steps.d.ts +2 -1
  190. package/dist/types/server/runtime-space/types.d.ts +3 -1
  191. package/dist/types/shared/component-tree-errors.d.ts +2 -1
  192. package/dist/types/shared/core-diagnostic-codes.d.ts +1 -1
  193. package/dist/types/shared/declaration-keys.d.ts +1 -1
  194. package/dist/types/shared/engines/engine-error.d.ts +2 -1
  195. package/dist/types/shared/generation-error.d.ts +2 -1
  196. package/dist/types/shared/pure-binding.d.ts +48 -0
  197. package/dist/types/shared/registry-generated/diagnostic-registry.d.ts +119 -158
  198. package/dist/types/shared/registry-generated/limits.d.ts +40 -10
  199. package/dist/types/shared/registry-generated/std-grammar-completion.d.ts +0 -30
  200. package/dist/types/shared/registry-generated/std-grammar-views.d.ts +97 -23
  201. package/dist/types/shared/registry-generated/std-grammar.d.ts +109 -241
  202. package/dist/types/shared/soma-error.d.ts +15 -0
  203. package/dist/types/shared/types/data-config.types.d.ts +14 -16
  204. package/dist/types/shared/types/engine.types.d.ts +0 -3
  205. package/dist/types/shared/types/event.types.d.ts +1 -7
  206. package/dist/types/shared/types/generation-error.types.d.ts +1 -1
  207. package/dist/types/shared/types/host-assembly.types.d.ts +2 -0
  208. package/dist/types/shared/types/manifest.types.d.ts +0 -3
  209. package/dist/types/shared/types/region-scope.types.d.ts +4 -1
  210. package/dist/types/shared/types/scope-manifest.types.d.ts +0 -2
  211. package/dist/types/shared/types/style-config.types.d.ts +17 -19
  212. package/dist/types/shared/types/ui-config.types.d.ts +4 -5
  213. package/host-native/bin/host-native.cjs +22 -1
  214. package/host-native/client/browser-entry.ts +44 -9
  215. package/host-native/src/aot-builder.ts +52 -0
  216. package/host-native/src/host-prepare.ts +39 -5
  217. package/host-native/src/manifest-http.ts +2 -3
  218. package/host-native/src/native-server.ts +812 -174
  219. package/host-native/src/page-http.ts +3 -3
  220. package/host-native/src/public-packages.cjs +0 -1
  221. package/host-native/src/registry-handler.ts +12 -5
  222. package/host-native/src/static-file.ts +203 -53
  223. package/package.json +3 -2
  224. package/core/client/engine/step-runner.ts +0 -212
  225. package/core/client/engine/trigger-engine.ts +0 -55
  226. package/core/client/format/zoned.ts +0 -10
  227. package/core/client/parser/step-parser.ts +0 -359
  228. package/core/client/parser/trigger-parser.ts +0 -90
  229. package/core/client/parser/value-lang.ts +0 -340
  230. package/core/client/time/instant.ts +0 -2
  231. package/core/shared/calc/coerce.ts +0 -2
  232. package/core/shared/calc/errors.ts +0 -40
  233. package/core/shared/calc/evaluator.ts +0 -113
  234. package/core/shared/calc/index.ts +0 -11
  235. package/core/shared/calc/lexer.ts +0 -189
  236. package/core/shared/calc/parser.ts +0 -193
  237. package/core/shared/calc/typer.ts +0 -171
  238. package/core/shared/date-parts.ts +0 -2
  239. package/core/shared/show-when.ts +0 -77
  240. package/core/shared/types/step.types.ts +0 -91
  241. package/core/shared/types/trigger.types.ts +0 -14
  242. package/dist/types/client/engine/step-runner.d.ts +0 -42
  243. package/dist/types/client/engine/trigger-engine.d.ts +0 -16
  244. package/dist/types/client/format/zoned.d.ts +0 -1
  245. package/dist/types/client/parser/step-parser.d.ts +0 -23
  246. package/dist/types/client/parser/trigger-parser.d.ts +0 -13
  247. package/dist/types/client/parser/value-lang.d.ts +0 -63
  248. package/dist/types/client/time/instant.d.ts +0 -1
  249. package/dist/types/shared/calc/coerce.d.ts +0 -1
  250. package/dist/types/shared/calc/errors.d.ts +0 -14
  251. package/dist/types/shared/calc/evaluator.d.ts +0 -2
  252. package/dist/types/shared/calc/index.d.ts +0 -6
  253. package/dist/types/shared/calc/lexer.d.ts +0 -19
  254. package/dist/types/shared/calc/parser.d.ts +0 -43
  255. package/dist/types/shared/calc/typer.d.ts +0 -11
  256. package/dist/types/shared/date-parts.d.ts +0 -1
  257. package/dist/types/shared/show-when.d.ts +0 -21
  258. package/dist/types/shared/types/step.types.d.ts +0 -76
  259. package/dist/types/shared/types/trigger.types.d.ts +0 -12
@@ -679,6 +679,41 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
679
679
  "severity": "error",
680
680
  "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
681
681
  },
682
+ {
683
+ "code": "CORE-INJECT-PAGE-LOGIC",
684
+ "family": "CORE",
685
+ "stage": "core",
686
+ "severity": "error",
687
+ "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
688
+ },
689
+ {
690
+ "code": "CORE-PAGE-NEGATE-FORBIDDEN",
691
+ "family": "CORE",
692
+ "stage": "core",
693
+ "severity": "error",
694
+ "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
695
+ },
696
+ {
697
+ "code": "CORE-STYLE-COMPARE-FORBIDDEN",
698
+ "family": "CORE",
699
+ "stage": "core",
700
+ "severity": "error",
701
+ "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
702
+ },
703
+ {
704
+ "code": "CORE-PAGE-ROLE-BY-INVALID",
705
+ "family": "CORE",
706
+ "stage": "core",
707
+ "severity": "error",
708
+ "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
709
+ },
710
+ {
711
+ "code": "CORE-INJECT-PAGE-CLOSURE",
712
+ "family": "CORE",
713
+ "stage": "core",
714
+ "severity": "error",
715
+ "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
716
+ },
682
717
  {
683
718
  "code": "CORE-REG-INPUT-INVALID",
684
719
  "family": "CORE",
@@ -1526,13 +1561,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
1526
1561
  "severity": "error",
1527
1562
  "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
1528
1563
  },
1529
- {
1530
- "code": "CORE-TONES-INVALID",
1531
- "family": "CORE",
1532
- "stage": "core",
1533
- "severity": "warn",
1534
- "owner": "soma-core/core/shared/core-diagnostic-codes.ts"
1535
- },
1536
1564
  {
1537
1565
  "code": "CORE-QUERY-URL-INVALID",
1538
1566
  "family": "CORE",
@@ -2065,6 +2093,34 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
2065
2093
  "severity": "error",
2066
2094
  "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
2067
2095
  },
2096
+ {
2097
+ "code": "ERR-APP-016",
2098
+ "family": "ERR-APP",
2099
+ "stage": "app",
2100
+ "severity": "error",
2101
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
2102
+ },
2103
+ {
2104
+ "code": "ERR-APP-017",
2105
+ "family": "ERR-APP",
2106
+ "stage": "app",
2107
+ "severity": "error",
2108
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
2109
+ },
2110
+ {
2111
+ "code": "ERR-APP-018",
2112
+ "family": "ERR-APP",
2113
+ "stage": "app",
2114
+ "severity": "error",
2115
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
2116
+ },
2117
+ {
2118
+ "code": "ERR-APP-019",
2119
+ "family": "ERR-APP",
2120
+ "stage": "app",
2121
+ "severity": "error",
2122
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
2123
+ },
2068
2124
  {
2069
2125
  "code": "ERR-BIZ-001",
2070
2126
  "family": "ERR-BIZ",
@@ -2194,14 +2250,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
2194
2250
  "owner": "soma-core/core/shared/types/generation-error.types.ts",
2195
2251
  "negative": "soma-core/tests/unit/data/object-standard-keys.test.ts"
2196
2252
  },
2197
- {
2198
- "code": "ERR-BIZ-019",
2199
- "family": "ERR-BIZ",
2200
- "stage": "biz",
2201
- "severity": "error",
2202
- "owner": "soma-core/core/shared/types/generation-error.types.ts",
2203
- "negative": "soma-core/tests/unit/data/object-standard-keys.test.ts"
2204
- },
2205
2253
  {
2206
2254
  "code": "ERR-CAP-002",
2207
2255
  "family": "ERR-CAP",
@@ -3452,14 +3500,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
3452
3500
  "owner": "soma-design/src/reference/visual-factors.mjs",
3453
3501
  "negative": "soma-design/test/aes-conflict-rules.test.mjs"
3454
3502
  },
3455
- {
3456
- "code": "ERR-DSN-963",
3457
- "family": "ERR-DSN",
3458
- "stage": "design",
3459
- "severity": "warn",
3460
- "owner": "soma-design/src/reference/visual-factors.mjs",
3461
- "negative": "soma-design/test/aes-conflict-rules.test.mjs"
3462
- },
3463
3503
  {
3464
3504
  "code": "ERR-DSN-964",
3465
3505
  "family": "ERR-DSN",
@@ -3468,14 +3508,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
3468
3508
  "owner": "soma-design/src/reference/visual-factors.mjs",
3469
3509
  "negative": "soma-design/test/aes-conflict-rules.test.mjs"
3470
3510
  },
3471
- {
3472
- "code": "ERR-DSN-965",
3473
- "family": "ERR-DSN",
3474
- "stage": "design",
3475
- "severity": "warn",
3476
- "owner": "soma-design/src/reference/visual-factors.mjs",
3477
- "negative": "soma-design/test/aes-conflict-rules.test.mjs"
3478
- },
3479
3511
  {
3480
3512
  "code": "ERR-DSN-966",
3481
3513
  "family": "ERR-DSN",
@@ -3791,6 +3823,55 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
3791
3823
  "severity": "error",
3792
3824
  "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3793
3825
  },
3826
+ {
3827
+ "code": "ERR-PAGE-010",
3828
+ "family": "ERR-PAGE",
3829
+ "stage": "page",
3830
+ "severity": "error",
3831
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3832
+ },
3833
+ {
3834
+ "code": "ERR-PAGE-011",
3835
+ "family": "ERR-PAGE",
3836
+ "stage": "page",
3837
+ "severity": "error",
3838
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3839
+ },
3840
+ {
3841
+ "code": "ERR-PAGE-012",
3842
+ "family": "ERR-PAGE",
3843
+ "stage": "page",
3844
+ "severity": "error",
3845
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3846
+ },
3847
+ {
3848
+ "code": "ERR-PAGE-013",
3849
+ "family": "ERR-PAGE",
3850
+ "stage": "page",
3851
+ "severity": "error",
3852
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3853
+ },
3854
+ {
3855
+ "code": "ERR-PAGE-014",
3856
+ "family": "ERR-PAGE",
3857
+ "stage": "page",
3858
+ "severity": "error",
3859
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3860
+ },
3861
+ {
3862
+ "code": "ERR-PAGE-015",
3863
+ "family": "ERR-PAGE",
3864
+ "stage": "page",
3865
+ "severity": "error",
3866
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3867
+ },
3868
+ {
3869
+ "code": "ERR-PAGE-016",
3870
+ "family": "ERR-PAGE",
3871
+ "stage": "page",
3872
+ "severity": "error",
3873
+ "owner": "soma-ui/src/compiler/diagnostics/code-table.ts"
3874
+ },
3794
3875
  {
3795
3876
  "code": "ERR-PUB-001",
3796
3877
  "family": "ERR-PUB",
@@ -4543,20 +4624,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
4543
4624
  "severity": "error",
4544
4625
  "owner": "soma-ui/src/compiler/diagnostics/codes.ts"
4545
4626
  },
4546
- {
4547
- "code": "OOUI-SEM-BINDING-KEY-UNKNOWN",
4548
- "family": "OOUI-SEM",
4549
- "stage": "ooui",
4550
- "severity": "error",
4551
- "owner": "soma-ui/src/compiler/diagnostics/codes.ts"
4552
- },
4553
- {
4554
- "code": "OOUI-SEM-BINDING-REGION-UNKNOWN",
4555
- "family": "OOUI-SEM",
4556
- "stage": "ooui",
4557
- "severity": "error",
4558
- "owner": "soma-ui/src/compiler/diagnostics/codes.ts"
4559
- },
4560
4627
  {
4561
4628
  "code": "OOUI-SEM-BINDING-UNSUPPORTED",
4562
4629
  "family": "OOUI-SEM",
@@ -4571,13 +4638,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
4571
4638
  "severity": "error",
4572
4639
  "owner": "soma-ui/src/compiler/diagnostics/codes.ts"
4573
4640
  },
4574
- {
4575
- "code": "OOUI-SEM-CALC-NOT-WRITABLE",
4576
- "family": "OOUI-SEM",
4577
- "stage": "ooui",
4578
- "severity": "error",
4579
- "owner": "soma-ui/src/compiler/diagnostics/codes.ts"
4580
- },
4581
4641
  {
4582
4642
  "code": "OOUI-SEM-COPY-INVALID",
4583
4643
  "family": "OOUI-SEM",
@@ -5444,7 +5504,7 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5444
5504
  "family": "THM-VF",
5445
5505
  "stage": "theme",
5446
5506
  "severity": "error",
5447
- "owner": "soma-lite/src/theme/invariant-gate.ts"
5507
+ "owner": "soma-design/scripts/vf-law-gate.mjs"
5448
5508
  },
5449
5509
  {
5450
5510
  "code": "THM-VF-INV-26",
@@ -5465,28 +5525,28 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5465
5525
  "family": "THM-VF",
5466
5526
  "stage": "theme",
5467
5527
  "severity": "error",
5468
- "owner": "soma-lite/src/theme/invariant-gate.ts"
5528
+ "owner": "soma-design/scripts/vf-law-gate.mjs"
5469
5529
  },
5470
5530
  {
5471
5531
  "code": "THM-VF-CT1",
5472
5532
  "family": "THM-VF",
5473
5533
  "stage": "theme",
5474
5534
  "severity": "error",
5475
- "owner": "soma-lite/src/theme/invariant-gate.ts"
5535
+ "owner": "soma-design/scripts/vf-law-gate.mjs"
5476
5536
  },
5477
5537
  {
5478
5538
  "code": "THM-VF-SP1",
5479
5539
  "family": "THM-VF",
5480
5540
  "stage": "theme",
5481
5541
  "severity": "error",
5482
- "owner": "soma-lite/src/theme/invariant-gate.ts"
5542
+ "owner": "soma-design/scripts/vf-law-gate.mjs"
5483
5543
  },
5484
5544
  {
5485
5545
  "code": "THM-VF-INV-29",
5486
5546
  "family": "THM-VF",
5487
5547
  "stage": "theme",
5488
5548
  "severity": "error",
5489
- "owner": "soma-lite/src/theme/resilience.ts"
5549
+ "owner": "soma-design/scripts/vf-law-gate.mjs"
5490
5550
  },
5491
5551
  {
5492
5552
  "code": "THM-VF-INV-30",
@@ -5507,7 +5567,7 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5507
5567
  "family": "THM-VF",
5508
5568
  "stage": "theme",
5509
5569
  "severity": "error",
5510
- "owner": "soma-lite/src/theme/invariant-gate.ts"
5570
+ "owner": "soma-design/scripts/vf-law-gate.mjs"
5511
5571
  },
5512
5572
  {
5513
5573
  "code": "THM-VF-INV-33",
@@ -5521,7 +5581,7 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5521
5581
  "family": "THM-VF",
5522
5582
  "stage": "theme",
5523
5583
  "severity": "error",
5524
- "owner": "soma-lite/src/theme/invariant-gate.ts"
5584
+ "owner": "soma-design/scripts/vf-law-gate.mjs"
5525
5585
  },
5526
5586
  {
5527
5587
  "code": "THM-VF-RANGE-CLAMPED",
@@ -5619,14 +5679,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5619
5679
  "owner": "soma-design/src/reference/visual-factors.mjs",
5620
5680
  "negative": "soma-design/test/aes-conflict-rules.test.mjs"
5621
5681
  },
5622
- {
5623
- "code": "THM-VF-SHADOW-COLLISION",
5624
- "family": "THM-VF",
5625
- "stage": "theme",
5626
- "severity": "warn",
5627
- "owner": "soma-design/src/reference/visual-factors.mjs",
5628
- "negative": "soma-design/test/aes-conflict-rules.test.mjs"
5629
- },
5630
5682
  {
5631
5683
  "code": "THM-VF-TINT-PURIFIED",
5632
5684
  "family": "THM-VF",
@@ -5635,29 +5687,21 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5635
5687
  "owner": "soma-design/src/reference/visual-factors.mjs",
5636
5688
  "negative": "soma-design/test/aes-conflict-rules.test.mjs"
5637
5689
  },
5638
- {
5639
- "code": "THM-VF-CHROMA-GUARD",
5640
- "family": "THM-VF",
5641
- "stage": "theme",
5642
- "severity": "warn",
5643
- "owner": "soma-design/src/reference/visual-factors.mjs",
5644
- "negative": "soma-design/test/aes-conflict-rules.test.mjs"
5645
- },
5646
5690
  {
5647
5691
  "code": "THM-ROLE-UNKNOWN-CLASS",
5648
5692
  "family": "THM-ROLE",
5649
5693
  "stage": "theme",
5650
5694
  "severity": "error",
5651
- "owner": "soma-lite/src/theme/template-gate.ts",
5652
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5695
+ "owner": "soma-design/src/reference/role-class.mjs",
5696
+ "negative": "soma-design/test/role-class.test.mjs"
5653
5697
  },
5654
5698
  {
5655
5699
  "code": "THM-ROLE-NONCANONICAL",
5656
5700
  "family": "THM-ROLE",
5657
5701
  "stage": "theme",
5658
5702
  "severity": "error",
5659
- "owner": "soma-lite/src/theme/template-gate.ts",
5660
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5703
+ "owner": "soma-design/src/reference/role-class.mjs",
5704
+ "negative": "soma-design/test/role-class.test.mjs"
5661
5705
  },
5662
5706
  {
5663
5707
  "code": "THM-ROLE-ILLEGAL-COMBO",
@@ -5672,72 +5716,51 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5672
5716
  "family": "THM-ROLE",
5673
5717
  "stage": "theme",
5674
5718
  "severity": "error",
5675
- "owner": "soma-lite/src/theme/template-gate.ts",
5676
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5719
+ "owner": "soma-design/src/reference/role-class.mjs"
5677
5720
  },
5678
5721
  {
5679
5722
  "code": "THM-ROLE-BARE-COLOR",
5680
5723
  "family": "THM-ROLE",
5681
5724
  "stage": "theme",
5682
5725
  "severity": "error",
5683
- "owner": "soma-lite/src/theme/template-gate.ts",
5684
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5726
+ "owner": "soma-design/src/reference/role-class.mjs"
5685
5727
  },
5686
5728
  {
5687
5729
  "code": "THM-ROLE-INLINE-STYLE",
5688
5730
  "family": "THM-ROLE",
5689
5731
  "stage": "theme",
5690
5732
  "severity": "error",
5691
- "owner": "soma-lite/src/theme/template-gate.ts",
5692
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5733
+ "owner": "soma-design/src/reference/role-class.mjs"
5693
5734
  },
5694
5735
  {
5695
5736
  "code": "THM-ROLE-VISUAL-IN-SKELETON",
5696
5737
  "family": "THM-ROLE",
5697
5738
  "stage": "theme",
5698
5739
  "severity": "error",
5699
- "owner": "soma-lite/src/theme/template-gate.ts",
5700
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5701
- },
5702
- {
5703
- "code": "THM-ROLE-MULTIPLE",
5704
- "family": "THM-ROLE",
5705
- "stage": "theme",
5706
- "severity": "error",
5707
- "owner": "soma-lite/src/theme/template-gate.ts",
5708
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5740
+ "owner": "soma-design/src/reference/role-class.mjs"
5709
5741
  },
5710
5742
  {
5711
5743
  "code": "THM-ROLE-ELEMENT",
5712
5744
  "family": "THM-ROLE",
5713
5745
  "stage": "theme",
5714
5746
  "severity": "error",
5715
- "owner": "soma-lite/src/theme/template-gate.ts",
5716
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5747
+ "owner": "soma-design/src/reference/role-class.mjs",
5748
+ "negative": "soma-design/test/role-class-words.test.mjs"
5717
5749
  },
5718
5750
  {
5719
5751
  "code": "THM-ROLE-NESTING",
5720
5752
  "family": "THM-ROLE",
5721
5753
  "stage": "theme",
5722
5754
  "severity": "error",
5723
- "owner": "soma-lite/src/theme/template-gate.ts",
5724
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5755
+ "owner": "soma-design/src/reference/role-class.mjs"
5725
5756
  },
5726
5757
  {
5727
5758
  "code": "THM-ROLE-EMBEDDED-OUTSIDE-SHELL",
5728
5759
  "family": "THM-ROLE",
5729
5760
  "stage": "theme",
5730
5761
  "severity": "error",
5731
- "owner": "soma-lite/src/theme/template-gate.ts",
5732
- "negative": "soma-lite/tests/theme/role-words.test.ts"
5733
- },
5734
- {
5735
- "code": "THM-ROLE-COVERAGE",
5736
- "family": "THM-ROLE",
5737
- "stage": "theme",
5738
- "severity": "error",
5739
- "owner": "soma-lite/src/theme/template-gate.ts",
5740
- "negative": "soma-lite/tests/theme/role-coverage.test.ts"
5762
+ "owner": "soma-design/src/reference/role-class.mjs",
5763
+ "negative": "soma-design/test/role-class-words.test.mjs"
5741
5764
  },
5742
5765
  {
5743
5766
  "code": "THM-ROLE-UNKNOWN-WORD",
@@ -5763,61 +5786,20 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5763
5786
  "owner": "soma-foundation/src/compile/role-realize.ts",
5764
5787
  "negative": "soma-foundation/tests/theme-pipeline-steps.test.ts"
5765
5788
  },
5766
- {
5767
- "code": "THM-OUT-BARE-LITERAL",
5768
- "family": "THM-OUT",
5769
- "stage": "theme",
5770
- "severity": "error",
5771
- "owner": "soma-lite/src/theme/style-gate.ts",
5772
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5773
- },
5774
5789
  {
5775
5790
  "code": "THM-OUT-DANGLING-VAR",
5776
5791
  "family": "THM-OUT",
5777
5792
  "stage": "theme",
5778
5793
  "severity": "error",
5779
- "owner": "soma-lite/src/theme/style-gate.ts",
5780
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5794
+ "owner": "soma-foundation/src/compile/type-role-utilities.ts"
5781
5795
  },
5782
5796
  {
5783
5797
  "code": "THM-OUT-LAYER",
5784
5798
  "family": "THM-OUT",
5785
5799
  "stage": "theme",
5786
5800
  "severity": "error",
5787
- "owner": "soma-lite/src/theme/style-gate.ts",
5788
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5789
- },
5790
- {
5791
- "code": "THM-OUT-GEOMETRY-DRIFT",
5792
- "family": "THM-OUT",
5793
- "stage": "theme",
5794
- "severity": "error",
5795
- "owner": "soma-lite/src/theme/invariant-gate.ts",
5796
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5797
- },
5798
- {
5799
- "code": "THM-OUT-PAIRING",
5800
- "family": "THM-OUT",
5801
- "stage": "theme",
5802
- "severity": "error",
5803
- "owner": "soma-lite/src/theme/style-gate.ts",
5804
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5805
- },
5806
- {
5807
- "code": "THM-OUT-TRACE-BROKEN",
5808
- "family": "THM-OUT",
5809
- "stage": "theme",
5810
- "severity": "error",
5811
- "owner": "soma-lite/src/theme/style-gate.ts",
5812
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5813
- },
5814
- {
5815
- "code": "THM-OUT-BUDGET",
5816
- "family": "THM-OUT",
5817
- "stage": "theme",
5818
- "severity": "error",
5819
- "owner": "soma-lite/src/theme/style-gate.ts",
5820
- "negative": "soma-lite/tests/theme/style-gate.test.ts"
5801
+ "owner": "soma-foundation/src/compile/type-role-utilities.ts",
5802
+ "negative": "soma-foundation/tests/theme-pipeline-steps.test.ts"
5821
5803
  },
5822
5804
  {
5823
5805
  "code": "THM-OUT-NO-TOKENS",
@@ -5840,30 +5822,6 @@ export const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY = {
5840
5822
  "stage": "theme",
5841
5823
  "severity": "advice",
5842
5824
  "owner": "soma-design/src/reference/coordination.mjs"
5843
- },
5844
- {
5845
- "code": "THM-OUT-OPTICAL-BUDGET",
5846
- "family": "THM-OUT",
5847
- "stage": "theme",
5848
- "severity": "error",
5849
- "owner": "soma-lite/src/theme/template-gate.ts",
5850
- "negative": "soma-lite/tests/theme/aes-style-gate.test.ts"
5851
- },
5852
- {
5853
- "code": "THM-OUT-UNUSED-COORD-VAR",
5854
- "family": "THM-OUT",
5855
- "stage": "theme",
5856
- "severity": "error",
5857
- "owner": "soma-lite/src/theme/style-gate.ts",
5858
- "negative": "soma-lite/tests/theme/style-gate-unused-coord.test.ts"
5859
- },
5860
- {
5861
- "code": "THM-OUT-SOLID-FACE",
5862
- "family": "THM-OUT",
5863
- "stage": "theme",
5864
- "severity": "error",
5865
- "owner": "soma-lite/src/theme/style-gate.ts",
5866
- "negative": "soma-lite/tests/theme/aes-style-gate.test.ts"
5867
5825
  }
5868
5826
  ]
5869
5827
  } as const;
@@ -3,7 +3,7 @@
3
3
 
4
4
  export const SOMA_PIPELINE_LIMITS = {
5
5
  "id": "limits",
6
- "title": "管线限值表:体积预算、数据规模上限、data-kit 的筛选防抖与树视图预算(dataKit;规则树嵌套深度读 window.maxFilterDepth,与数据窗口声明期闸门同一口径)、各呈现族的项数上限、写入面守卫与约束布局规模、编译深度、解释输出、注册中心体积、缓存容量、乐观并发重试轮数、写锁时限、写入限流默认、session / subscribe / window.filter 解析上限、执行计划(execution plan)的节点 / 依赖 / 并发 / 重试 / 路径 / 输入深度上限、embed 路径长度、Host 注入缺省(hostDefaults:数据窗口 block 缺省与宿主模块分片加载重试退避步长,core 不留数字、由 Host 装配传入)、Server Mock 的生成参数(mock)、soma-ai 的字节 / 条数 / 限流 / 保留上限(ai)、soma-ai 的时延 / 重试 / 并发缺省(aiRuntime)(web 编译管线 / 组件运行时的上限,不是设计语言)",
6
+ "title": "管线限值表:体积预算、数据规模上限、data-kit 的筛选防抖与树视图预算(dataKit;规则树嵌套深度读 window.maxFilterDepth,与数据窗口声明期闸门同一口径)、各呈现族的项数上限、写入面守卫与约束布局规模、编译深度、解释输出、注册中心体积、缓存容量、乐观并发重试轮数、写锁时限、写入限流默认、session / subscribe / window.filter 解析上限(含 matches 谓词的正则模式 / 被测文本长度上限,暂定,待裁决)、运行期页面注入口的单页载荷字节上限(inject,暂定,待裁决)、执行计划(execution plan)的节点 / 依赖 / 并发 / 重试 / 路径 / 输入深度上限、embed 路径长度、Host 注入缺省(hostDefaults:数据窗口 block 缺省、宿主模块分片加载重试退避步长与 HTTP 请求缺省超时;HTTP 默认标量经 foundation/values 轻量投影供 core 与 kit 共用)、Server Mock 的生成参数(mock)、soma-ai 的字节 / 条数 / 限流 / 保留上限(ai)、soma-ai 的时延 / 重试 / 并发缺省(aiRuntime)(web 编译管线 / 组件运行时的上限,不是设计语言)",
7
7
  "readBy": [
8
8
  {
9
9
  "module": "soma-ui",
@@ -170,6 +170,36 @@ export const SOMA_PIPELINE_LIMITS = {
170
170
  "file": "core/server/runtime-space/static-source.ts",
171
171
  "symbol": "SOMA_PIPELINE_LIMITS"
172
172
  },
173
+ {
174
+ "module": "soma-core",
175
+ "file": "core/server/runtime-space/dynamic-pages.ts",
176
+ "symbol": "SOMA_PIPELINE_LIMITS"
177
+ },
178
+ {
179
+ "module": "soma-core",
180
+ "file": "core/server/infra/cache/ServerFileCache.ts",
181
+ "symbol": "SOMA_PIPELINE_LIMITS"
182
+ },
183
+ {
184
+ "module": "soma-foundation",
185
+ "file": "src/predicates/predicates.ts",
186
+ "symbol": "SOMA_PIPELINE_LIMITS_FOUNDATION"
187
+ },
188
+ {
189
+ "module": "soma-core",
190
+ "file": "core/client/base/SomaHttpClient.ts",
191
+ "symbol": "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS"
192
+ },
193
+ {
194
+ "module": "soma-core",
195
+ "file": "core/client/infra/http/SomaHttpService.ts",
196
+ "symbol": "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS"
197
+ },
198
+ {
199
+ "module": "soma-core",
200
+ "file": "core/client/runtime/SomaRuntimeServices.ts",
201
+ "symbol": "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS"
202
+ },
173
203
  {
174
204
  "module": "soma-foundation",
175
205
  "file": "src/layout/flow-editor-geometry.ts",
@@ -285,6 +315,16 @@ export const SOMA_PIPELINE_LIMITS = {
285
315
  "file": "src/layout/host-defaults.ts",
286
316
  "symbol": "SOMA_PIPELINE_LIMITS_FOUNDATION"
287
317
  },
318
+ {
319
+ "module": "soma-foundation",
320
+ "file": "src/values/index.ts",
321
+ "symbol": "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS"
322
+ },
323
+ {
324
+ "module": "soma-kit",
325
+ "file": "src/app/define-kit-actions.ts",
326
+ "symbol": "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS"
327
+ },
288
328
  {
289
329
  "module": "soma-foundation",
290
330
  "file": "src/style/audit-state-distinct.ts",
@@ -310,11 +350,6 @@ export const SOMA_PIPELINE_LIMITS = {
310
350
  "file": "src/theme/palette.ts",
311
351
  "symbol": "SOMA_PIPELINE_LIMITS_FOUNDATION"
312
352
  },
313
- {
314
- "module": "soma-lite",
315
- "file": "src/theme/lite-limits.ts",
316
- "symbol": "SOMA_PIPELINE_LIMITS_LITE"
317
- },
318
353
  {
319
354
  "module": "soma-testkit",
320
355
  "file": "src/mock/node/cli.mjs",
@@ -435,11 +470,6 @@ export const SOMA_PIPELINE_LIMITS = {
435
470
  "file": "src/app/submit.ts",
436
471
  "symbol": "SOMA_PIPELINE_LIMITS"
437
472
  },
438
- {
439
- "module": "soma-lite",
440
- "file": "src/app/server/provenance-limit.ts",
441
- "symbol": "SOMA_PIPELINE_LIMITS"
442
- },
443
473
  {
444
474
  "module": "soma-robot",
445
475
  "file": "src/common/limits.ts",
@@ -459,7 +489,11 @@ export const SOMA_PIPELINE_LIMITS = {
459
489
  "apiRecordCapacity": 512,
460
490
  "pageDeclarationCapacity": 64,
461
491
  "sourceAssetCapacity": 64,
462
- "publishedArtifactCapacity": 64
492
+ "publishedArtifactCapacity": 64,
493
+ "watchFailLimit": 2,
494
+ "serverFileMaxEntries": 512,
495
+ "serverFileMaxBytes": 33554432,
496
+ "serverDirMaxEntries": 256
463
497
  },
464
498
  "runtimeCache": {
465
499
  "basis": "runtime 空间 L1 内存 LRU 的条目容量(编译结果与标准格式产物各一条目)与静态页地址清单的开发态复核间隔;容量不小于发布页产物缓存容量(cache.publishedArtifactCapacity),因为 L1 要容得下已发布页加上运行期按 URL 注入的页;复核间隔让新增静态页最迟这个毫秒数后进入写入期冲突判定(生产态不过期)。迁入前是 soma-core store.ts 的 SOMA_RUNTIME_CACHE_ENTRIES_DEFAULT 与 static-source.ts 的 DEV_TTL_MS",
@@ -486,6 +520,9 @@ export const SOMA_PIPELINE_LIMITS = {
486
520
  "maxDebounceMs": 10000,
487
521
  "defaultDebounceMs": 300
488
522
  },
523
+ "inject": {
524
+ "pageMaxBytes": 4194304
525
+ },
489
526
  "execution": {
490
527
  "maxNodes": 128,
491
528
  "maxDeps": 128,
@@ -545,7 +582,6 @@ export const SOMA_PIPELINE_LIMITS = {
545
582
  "soma-core/core/index.ts": 524288,
546
583
  "soma-core/core/client/runtime-entry.ts": 524288,
547
584
  "soma-ui/src/app/index.ts": 524288,
548
- "soma-lite/src/index.ts": 524288,
549
585
  "soma-kit/src/app/index.ts": 327680
550
586
  }
551
587
  },
@@ -27,10 +27,8 @@ export const SOMA_STD_COMPLETION_SCHEMA = {
27
27
  "scopes": [{ "host": "page-file", "path": ["data", "*"] }],
28
28
  "keys": [
29
29
  { "key": "from", "value": { "kind": "list", "of": "shape" }, "summary": "集合读取", "status": "implemented" },
30
- { "key": "transform", "value": { "kind": "map", "of": "string" }, "summary": "取数后派生", "status": "implemented" },
31
30
  { "key": "fields", "value": { "kind": "map", "of": "shape", "context": "field" }, "summary": "字段字典", "status": "implemented" },
32
31
  { "key": "write", "value": { "kind": "shape", "context": "write" }, "summary": "写通道", "status": "implemented" },
33
- { "key": "predicates", "value": { "kind": "map", "of": "shape" }, "summary": "具名条件", "status": "implemented" },
34
32
  { "key": "name", "value": { "kind": "string" }, "summary": "显示名", "status": "implemented" },
35
33
  { "key": "poll", "value": { "kind": "shape", "context": "poll" }, "summary": "自动重取", "status": "implemented" }
36
34
  ]
@@ -80,7 +78,6 @@ export const SOMA_STD_COMPLETION_SCHEMA = {
80
78
  { "key": "type", "value": { "kind": "enum", "domain": "field-types", "values": ["text", "int", "float", "money", "bool", "enum", "date", "datetime", "image", "url", "richtext", "percent", "progress", "tags", "file", "tree", "cascade", "embed", "code", "secret", "time_of_day", "timezone", "schedule", "exceptions", "window", "limits", "duration", "filesize", "colour", "path", "measure", "signature"] }, "summary": "类型(二十六种)", "status": "implemented" },
81
79
  { "key": "rules", "value": { "kind": "list", "of": "shape", "context": "field.rule" }, "summary": "校验", "status": "implemented" },
82
80
  { "key": "options", "value": { "kind": "list", "of": "shape", "context": "field.option" }, "summary": "枚举候选", "status": "implemented" },
83
- { "key": "calc", "value": { "kind": "string" }, "summary": "派生", "status": "implemented" },
84
81
  { "key": "default", "value": { "kind": "any" }, "summary": "新建初值", "status": "implemented" }
85
82
  ]
86
83
  },
@@ -107,7 +104,6 @@ export const SOMA_STD_COMPLETION_SCHEMA = {
107
104
  { "key": "max", "value": { "kind": "number" }, "summary": "最大值", "status": "implemented" },
108
105
  { "key": "step", "value": { "kind": "number", "exclusiveMin": 0 }, "summary": "步长(取值格点)", "status": "implemented" },
109
106
  { "key": "message", "value": { "kind": "string" }, "summary": "校验失败提示", "status": "implemented" },
110
- { "key": "when", "value": { "kind": "shape" }, "summary": "条件规则(谓词成立才参与)", "status": "implemented" },
111
107
  { "key": "async", "value": { "kind": "any" }, "summary": "异步校验 检查器名 | { check, on_error: pass | block }", "status": "implemented" },
112
108
  { "key": "severity", "value": { "kind": "enum", "domain": "validation-severities", "values": ["hard", "soft-once", "hint", "discourage"] }, "summary": "校验强度(hard / soft-once / hint / discourage)", "status": "implemented" }
113
109
  ]