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
@@ -0,0 +1,48 @@
1
+ interface PureBindingTruth {
2
+ readonly negatedPath: {
3
+ readonly code: string;
4
+ readonly prefix: string;
5
+ readonly pathPattern: string;
6
+ readonly remedy: string;
7
+ };
8
+ readonly styleComparison: {
9
+ readonly code: string;
10
+ readonly keys: readonly string[];
11
+ readonly remedy: string;
12
+ };
13
+ readonly styleTier: {
14
+ readonly keys: readonly string[];
15
+ readonly tierNamePattern: string;
16
+ readonly maxTiers: number;
17
+ };
18
+ readonly roleBy: {
19
+ readonly code: string;
20
+ readonly pathPattern: string;
21
+ readonly remedy: string;
22
+ };
23
+ }
24
+ export declare const SOMA_PURE_BINDING: PureBindingTruth;
25
+ /** 纯绑定违规码(码表在 core-diagnostic-codes.ts) */
26
+ export type SomaPureBindingCode = 'CORE-PAGE-NEGATE-FORBIDDEN' | 'CORE-STYLE-COMPARE-FORBIDDEN' | 'CORE-PAGE-ROLE-BY-INVALID';
27
+ /** 严格位(when / class 值):任何以取反前缀开头的值都是取反写法 */
28
+ export declare function hasNegationPrefix(value: string): boolean;
29
+ /** 宽位(props 值):`!` + 点分路径才算取反;以 `!` 开头的普通文字(如 `!关闭`)不是路径,放行 */
30
+ export declare function isNegatedPathLiteral(value: string): boolean;
31
+ /** 递归找 props 值里的取反路径,返回第一处的相对路径(无则 undefined) */
32
+ export declare function findNegatedPathIn(value: unknown, at?: string): {
33
+ at: string;
34
+ value: string;
35
+ } | undefined;
36
+ export declare function negationMessage(where: string, value: string): string;
37
+ /** role_by 是不是纯路径(行字段的值直接作为模板名) */
38
+ export declare function isPureRolePath(value: unknown): value is string;
39
+ export declare function roleByMessage(value: unknown): string;
40
+ /** 样式绑定的 bind 路径:与 role_by 同形的纯路径(点分标识符,无取反 / 管道 / 运算符) */
41
+ export declare function isPureBindPath(value: unknown): value is string;
42
+ export declare function isTierName(name: string): boolean;
43
+ export declare const SOMA_STYLE_TIER_MAX: number;
44
+ export declare const SOMA_STYLE_COMPARE_KEYS: ReadonlySet<string>;
45
+ export declare const SOMA_STYLE_COMPARE_REMEDY: string;
46
+ export declare const SOMA_STYLE_TIER_KEYS: readonly string[];
47
+ export declare const SOMA_STYLE_TIER_NAME_PATTERN: string;
48
+ export {};
@@ -524,6 +524,36 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
524
524
  readonly stage: "core";
525
525
  readonly severity: "error";
526
526
  readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
527
+ }, {
528
+ readonly code: "CORE-INJECT-PAGE-LOGIC";
529
+ readonly family: "CORE";
530
+ readonly stage: "core";
531
+ readonly severity: "error";
532
+ readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
533
+ }, {
534
+ readonly code: "CORE-PAGE-NEGATE-FORBIDDEN";
535
+ readonly family: "CORE";
536
+ readonly stage: "core";
537
+ readonly severity: "error";
538
+ readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
539
+ }, {
540
+ readonly code: "CORE-STYLE-COMPARE-FORBIDDEN";
541
+ readonly family: "CORE";
542
+ readonly stage: "core";
543
+ readonly severity: "error";
544
+ readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
545
+ }, {
546
+ readonly code: "CORE-PAGE-ROLE-BY-INVALID";
547
+ readonly family: "CORE";
548
+ readonly stage: "core";
549
+ readonly severity: "error";
550
+ readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
551
+ }, {
552
+ readonly code: "CORE-INJECT-PAGE-CLOSURE";
553
+ readonly family: "CORE";
554
+ readonly stage: "core";
555
+ readonly severity: "error";
556
+ readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
527
557
  }, {
528
558
  readonly code: "CORE-REG-INPUT-INVALID";
529
559
  readonly family: "CORE";
@@ -1250,12 +1280,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
1250
1280
  readonly stage: "core";
1251
1281
  readonly severity: "error";
1252
1282
  readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
1253
- }, {
1254
- readonly code: "CORE-TONES-INVALID";
1255
- readonly family: "CORE";
1256
- readonly stage: "core";
1257
- readonly severity: "warn";
1258
- readonly owner: "soma-core/core/shared/core-diagnostic-codes.ts";
1259
1283
  }, {
1260
1284
  readonly code: "CORE-QUERY-URL-INVALID";
1261
1285
  readonly family: "CORE";
@@ -1712,6 +1736,30 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
1712
1736
  readonly stage: "app";
1713
1737
  readonly severity: "error";
1714
1738
  readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
1739
+ }, {
1740
+ readonly code: "ERR-APP-016";
1741
+ readonly family: "ERR-APP";
1742
+ readonly stage: "app";
1743
+ readonly severity: "error";
1744
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
1745
+ }, {
1746
+ readonly code: "ERR-APP-017";
1747
+ readonly family: "ERR-APP";
1748
+ readonly stage: "app";
1749
+ readonly severity: "error";
1750
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
1751
+ }, {
1752
+ readonly code: "ERR-APP-018";
1753
+ readonly family: "ERR-APP";
1754
+ readonly stage: "app";
1755
+ readonly severity: "error";
1756
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
1757
+ }, {
1758
+ readonly code: "ERR-APP-019";
1759
+ readonly family: "ERR-APP";
1760
+ readonly stage: "app";
1761
+ readonly severity: "error";
1762
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
1715
1763
  }, {
1716
1764
  readonly code: "ERR-BIZ-001";
1717
1765
  readonly family: "ERR-BIZ";
@@ -1823,13 +1871,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
1823
1871
  readonly severity: "error";
1824
1872
  readonly owner: "soma-core/core/shared/types/generation-error.types.ts";
1825
1873
  readonly negative: "soma-core/tests/unit/data/object-standard-keys.test.ts";
1826
- }, {
1827
- readonly code: "ERR-BIZ-019";
1828
- readonly family: "ERR-BIZ";
1829
- readonly stage: "biz";
1830
- readonly severity: "error";
1831
- readonly owner: "soma-core/core/shared/types/generation-error.types.ts";
1832
- readonly negative: "soma-core/tests/unit/data/object-standard-keys.test.ts";
1833
1874
  }, {
1834
1875
  readonly code: "ERR-CAP-002";
1835
1876
  readonly family: "ERR-CAP";
@@ -2920,13 +2961,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
2920
2961
  readonly severity: "warn";
2921
2962
  readonly owner: "soma-design/src/reference/visual-factors.mjs";
2922
2963
  readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
2923
- }, {
2924
- readonly code: "ERR-DSN-963";
2925
- readonly family: "ERR-DSN";
2926
- readonly stage: "design";
2927
- readonly severity: "warn";
2928
- readonly owner: "soma-design/src/reference/visual-factors.mjs";
2929
- readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
2930
2964
  }, {
2931
2965
  readonly code: "ERR-DSN-964";
2932
2966
  readonly family: "ERR-DSN";
@@ -2934,13 +2968,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
2934
2968
  readonly severity: "warn";
2935
2969
  readonly owner: "soma-design/src/reference/visual-factors.mjs";
2936
2970
  readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
2937
- }, {
2938
- readonly code: "ERR-DSN-965";
2939
- readonly family: "ERR-DSN";
2940
- readonly stage: "design";
2941
- readonly severity: "warn";
2942
- readonly owner: "soma-design/src/reference/visual-factors.mjs";
2943
- readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
2944
2971
  }, {
2945
2972
  readonly code: "ERR-DSN-966";
2946
2973
  readonly family: "ERR-DSN";
@@ -3212,6 +3239,48 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
3212
3239
  readonly stage: "page";
3213
3240
  readonly severity: "error";
3214
3241
  readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3242
+ }, {
3243
+ readonly code: "ERR-PAGE-010";
3244
+ readonly family: "ERR-PAGE";
3245
+ readonly stage: "page";
3246
+ readonly severity: "error";
3247
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3248
+ }, {
3249
+ readonly code: "ERR-PAGE-011";
3250
+ readonly family: "ERR-PAGE";
3251
+ readonly stage: "page";
3252
+ readonly severity: "error";
3253
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3254
+ }, {
3255
+ readonly code: "ERR-PAGE-012";
3256
+ readonly family: "ERR-PAGE";
3257
+ readonly stage: "page";
3258
+ readonly severity: "error";
3259
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3260
+ }, {
3261
+ readonly code: "ERR-PAGE-013";
3262
+ readonly family: "ERR-PAGE";
3263
+ readonly stage: "page";
3264
+ readonly severity: "error";
3265
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3266
+ }, {
3267
+ readonly code: "ERR-PAGE-014";
3268
+ readonly family: "ERR-PAGE";
3269
+ readonly stage: "page";
3270
+ readonly severity: "error";
3271
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3272
+ }, {
3273
+ readonly code: "ERR-PAGE-015";
3274
+ readonly family: "ERR-PAGE";
3275
+ readonly stage: "page";
3276
+ readonly severity: "error";
3277
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3278
+ }, {
3279
+ readonly code: "ERR-PAGE-016";
3280
+ readonly family: "ERR-PAGE";
3281
+ readonly stage: "page";
3282
+ readonly severity: "error";
3283
+ readonly owner: "soma-ui/src/compiler/diagnostics/code-table.ts";
3215
3284
  }, {
3216
3285
  readonly code: "ERR-PUB-001";
3217
3286
  readonly family: "ERR-PUB";
@@ -3858,18 +3927,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
3858
3927
  readonly stage: "ooui";
3859
3928
  readonly severity: "error";
3860
3929
  readonly owner: "soma-ui/src/compiler/diagnostics/codes.ts";
3861
- }, {
3862
- readonly code: "OOUI-SEM-BINDING-KEY-UNKNOWN";
3863
- readonly family: "OOUI-SEM";
3864
- readonly stage: "ooui";
3865
- readonly severity: "error";
3866
- readonly owner: "soma-ui/src/compiler/diagnostics/codes.ts";
3867
- }, {
3868
- readonly code: "OOUI-SEM-BINDING-REGION-UNKNOWN";
3869
- readonly family: "OOUI-SEM";
3870
- readonly stage: "ooui";
3871
- readonly severity: "error";
3872
- readonly owner: "soma-ui/src/compiler/diagnostics/codes.ts";
3873
3930
  }, {
3874
3931
  readonly code: "OOUI-SEM-BINDING-UNSUPPORTED";
3875
3932
  readonly family: "OOUI-SEM";
@@ -3882,12 +3939,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
3882
3939
  readonly stage: "ooui";
3883
3940
  readonly severity: "error";
3884
3941
  readonly owner: "soma-ui/src/compiler/diagnostics/codes.ts";
3885
- }, {
3886
- readonly code: "OOUI-SEM-CALC-NOT-WRITABLE";
3887
- readonly family: "OOUI-SEM";
3888
- readonly stage: "ooui";
3889
- readonly severity: "error";
3890
- readonly owner: "soma-ui/src/compiler/diagnostics/codes.ts";
3891
3942
  }, {
3892
3943
  readonly code: "OOUI-SEM-COPY-INVALID";
3893
3944
  readonly family: "OOUI-SEM";
@@ -4639,7 +4690,7 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4639
4690
  readonly family: "THM-VF";
4640
4691
  readonly stage: "theme";
4641
4692
  readonly severity: "error";
4642
- readonly owner: "soma-lite/src/theme/invariant-gate.ts";
4693
+ readonly owner: "soma-design/scripts/vf-law-gate.mjs";
4643
4694
  }, {
4644
4695
  readonly code: "THM-VF-INV-26";
4645
4696
  readonly family: "THM-VF";
@@ -4657,25 +4708,25 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4657
4708
  readonly family: "THM-VF";
4658
4709
  readonly stage: "theme";
4659
4710
  readonly severity: "error";
4660
- readonly owner: "soma-lite/src/theme/invariant-gate.ts";
4711
+ readonly owner: "soma-design/scripts/vf-law-gate.mjs";
4661
4712
  }, {
4662
4713
  readonly code: "THM-VF-CT1";
4663
4714
  readonly family: "THM-VF";
4664
4715
  readonly stage: "theme";
4665
4716
  readonly severity: "error";
4666
- readonly owner: "soma-lite/src/theme/invariant-gate.ts";
4717
+ readonly owner: "soma-design/scripts/vf-law-gate.mjs";
4667
4718
  }, {
4668
4719
  readonly code: "THM-VF-SP1";
4669
4720
  readonly family: "THM-VF";
4670
4721
  readonly stage: "theme";
4671
4722
  readonly severity: "error";
4672
- readonly owner: "soma-lite/src/theme/invariant-gate.ts";
4723
+ readonly owner: "soma-design/scripts/vf-law-gate.mjs";
4673
4724
  }, {
4674
4725
  readonly code: "THM-VF-INV-29";
4675
4726
  readonly family: "THM-VF";
4676
4727
  readonly stage: "theme";
4677
4728
  readonly severity: "error";
4678
- readonly owner: "soma-lite/src/theme/resilience.ts";
4729
+ readonly owner: "soma-design/scripts/vf-law-gate.mjs";
4679
4730
  }, {
4680
4731
  readonly code: "THM-VF-INV-30";
4681
4732
  readonly family: "THM-VF";
@@ -4693,7 +4744,7 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4693
4744
  readonly family: "THM-VF";
4694
4745
  readonly stage: "theme";
4695
4746
  readonly severity: "error";
4696
- readonly owner: "soma-lite/src/theme/invariant-gate.ts";
4747
+ readonly owner: "soma-design/scripts/vf-law-gate.mjs";
4697
4748
  }, {
4698
4749
  readonly code: "THM-VF-INV-33";
4699
4750
  readonly family: "THM-VF";
@@ -4705,7 +4756,7 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4705
4756
  readonly family: "THM-VF";
4706
4757
  readonly stage: "theme";
4707
4758
  readonly severity: "error";
4708
- readonly owner: "soma-lite/src/theme/invariant-gate.ts";
4759
+ readonly owner: "soma-design/scripts/vf-law-gate.mjs";
4709
4760
  }, {
4710
4761
  readonly code: "THM-VF-RANGE-CLAMPED";
4711
4762
  readonly family: "THM-VF";
@@ -4790,13 +4841,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4790
4841
  readonly severity: "warn";
4791
4842
  readonly owner: "soma-design/src/reference/visual-factors.mjs";
4792
4843
  readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
4793
- }, {
4794
- readonly code: "THM-VF-SHADOW-COLLISION";
4795
- readonly family: "THM-VF";
4796
- readonly stage: "theme";
4797
- readonly severity: "warn";
4798
- readonly owner: "soma-design/src/reference/visual-factors.mjs";
4799
- readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
4800
4844
  }, {
4801
4845
  readonly code: "THM-VF-TINT-PURIFIED";
4802
4846
  readonly family: "THM-VF";
@@ -4804,27 +4848,20 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4804
4848
  readonly severity: "advice";
4805
4849
  readonly owner: "soma-design/src/reference/visual-factors.mjs";
4806
4850
  readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
4807
- }, {
4808
- readonly code: "THM-VF-CHROMA-GUARD";
4809
- readonly family: "THM-VF";
4810
- readonly stage: "theme";
4811
- readonly severity: "warn";
4812
- readonly owner: "soma-design/src/reference/visual-factors.mjs";
4813
- readonly negative: "soma-design/test/aes-conflict-rules.test.mjs";
4814
4851
  }, {
4815
4852
  readonly code: "THM-ROLE-UNKNOWN-CLASS";
4816
4853
  readonly family: "THM-ROLE";
4817
4854
  readonly stage: "theme";
4818
4855
  readonly severity: "error";
4819
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4820
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4856
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4857
+ readonly negative: "soma-design/test/role-class.test.mjs";
4821
4858
  }, {
4822
4859
  readonly code: "THM-ROLE-NONCANONICAL";
4823
4860
  readonly family: "THM-ROLE";
4824
4861
  readonly stage: "theme";
4825
4862
  readonly severity: "error";
4826
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4827
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4863
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4864
+ readonly negative: "soma-design/test/role-class.test.mjs";
4828
4865
  }, {
4829
4866
  readonly code: "THM-ROLE-ILLEGAL-COMBO";
4830
4867
  readonly family: "THM-ROLE";
@@ -4837,64 +4874,45 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4837
4874
  readonly family: "THM-ROLE";
4838
4875
  readonly stage: "theme";
4839
4876
  readonly severity: "error";
4840
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4841
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4877
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4842
4878
  }, {
4843
4879
  readonly code: "THM-ROLE-BARE-COLOR";
4844
4880
  readonly family: "THM-ROLE";
4845
4881
  readonly stage: "theme";
4846
4882
  readonly severity: "error";
4847
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4848
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4883
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4849
4884
  }, {
4850
4885
  readonly code: "THM-ROLE-INLINE-STYLE";
4851
4886
  readonly family: "THM-ROLE";
4852
4887
  readonly stage: "theme";
4853
4888
  readonly severity: "error";
4854
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4855
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4889
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4856
4890
  }, {
4857
4891
  readonly code: "THM-ROLE-VISUAL-IN-SKELETON";
4858
4892
  readonly family: "THM-ROLE";
4859
4893
  readonly stage: "theme";
4860
4894
  readonly severity: "error";
4861
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4862
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4863
- }, {
4864
- readonly code: "THM-ROLE-MULTIPLE";
4865
- readonly family: "THM-ROLE";
4866
- readonly stage: "theme";
4867
- readonly severity: "error";
4868
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4869
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4895
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4870
4896
  }, {
4871
4897
  readonly code: "THM-ROLE-ELEMENT";
4872
4898
  readonly family: "THM-ROLE";
4873
4899
  readonly stage: "theme";
4874
4900
  readonly severity: "error";
4875
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4876
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4901
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4902
+ readonly negative: "soma-design/test/role-class-words.test.mjs";
4877
4903
  }, {
4878
4904
  readonly code: "THM-ROLE-NESTING";
4879
4905
  readonly family: "THM-ROLE";
4880
4906
  readonly stage: "theme";
4881
4907
  readonly severity: "error";
4882
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4883
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4908
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4884
4909
  }, {
4885
4910
  readonly code: "THM-ROLE-EMBEDDED-OUTSIDE-SHELL";
4886
4911
  readonly family: "THM-ROLE";
4887
4912
  readonly stage: "theme";
4888
4913
  readonly severity: "error";
4889
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4890
- readonly negative: "soma-lite/tests/theme/role-words.test.ts";
4891
- }, {
4892
- readonly code: "THM-ROLE-COVERAGE";
4893
- readonly family: "THM-ROLE";
4894
- readonly stage: "theme";
4895
- readonly severity: "error";
4896
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4897
- readonly negative: "soma-lite/tests/theme/role-coverage.test.ts";
4914
+ readonly owner: "soma-design/src/reference/role-class.mjs";
4915
+ readonly negative: "soma-design/test/role-class-words.test.mjs";
4898
4916
  }, {
4899
4917
  readonly code: "THM-ROLE-UNKNOWN-WORD";
4900
4918
  readonly family: "THM-ROLE";
@@ -4916,55 +4934,19 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4916
4934
  readonly severity: "error";
4917
4935
  readonly owner: "soma-foundation/src/compile/role-realize.ts";
4918
4936
  readonly negative: "soma-foundation/tests/theme-pipeline-steps.test.ts";
4919
- }, {
4920
- readonly code: "THM-OUT-BARE-LITERAL";
4921
- readonly family: "THM-OUT";
4922
- readonly stage: "theme";
4923
- readonly severity: "error";
4924
- readonly owner: "soma-lite/src/theme/style-gate.ts";
4925
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4926
4937
  }, {
4927
4938
  readonly code: "THM-OUT-DANGLING-VAR";
4928
4939
  readonly family: "THM-OUT";
4929
4940
  readonly stage: "theme";
4930
4941
  readonly severity: "error";
4931
- readonly owner: "soma-lite/src/theme/style-gate.ts";
4932
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4942
+ readonly owner: "soma-foundation/src/compile/type-role-utilities.ts";
4933
4943
  }, {
4934
4944
  readonly code: "THM-OUT-LAYER";
4935
4945
  readonly family: "THM-OUT";
4936
4946
  readonly stage: "theme";
4937
4947
  readonly severity: "error";
4938
- readonly owner: "soma-lite/src/theme/style-gate.ts";
4939
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4940
- }, {
4941
- readonly code: "THM-OUT-GEOMETRY-DRIFT";
4942
- readonly family: "THM-OUT";
4943
- readonly stage: "theme";
4944
- readonly severity: "error";
4945
- readonly owner: "soma-lite/src/theme/invariant-gate.ts";
4946
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4947
- }, {
4948
- readonly code: "THM-OUT-PAIRING";
4949
- readonly family: "THM-OUT";
4950
- readonly stage: "theme";
4951
- readonly severity: "error";
4952
- readonly owner: "soma-lite/src/theme/style-gate.ts";
4953
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4954
- }, {
4955
- readonly code: "THM-OUT-TRACE-BROKEN";
4956
- readonly family: "THM-OUT";
4957
- readonly stage: "theme";
4958
- readonly severity: "error";
4959
- readonly owner: "soma-lite/src/theme/style-gate.ts";
4960
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4961
- }, {
4962
- readonly code: "THM-OUT-BUDGET";
4963
- readonly family: "THM-OUT";
4964
- readonly stage: "theme";
4965
- readonly severity: "error";
4966
- readonly owner: "soma-lite/src/theme/style-gate.ts";
4967
- readonly negative: "soma-lite/tests/theme/style-gate.test.ts";
4948
+ readonly owner: "soma-foundation/src/compile/type-role-utilities.ts";
4949
+ readonly negative: "soma-foundation/tests/theme-pipeline-steps.test.ts";
4968
4950
  }, {
4969
4951
  readonly code: "THM-OUT-NO-TOKENS";
4970
4952
  readonly family: "THM-OUT";
@@ -4984,27 +4966,6 @@ export declare const SOMA_PIPELINE_DIAGNOSTIC_REGISTRY: {
4984
4966
  readonly stage: "theme";
4985
4967
  readonly severity: "advice";
4986
4968
  readonly owner: "soma-design/src/reference/coordination.mjs";
4987
- }, {
4988
- readonly code: "THM-OUT-OPTICAL-BUDGET";
4989
- readonly family: "THM-OUT";
4990
- readonly stage: "theme";
4991
- readonly severity: "error";
4992
- readonly owner: "soma-lite/src/theme/template-gate.ts";
4993
- readonly negative: "soma-lite/tests/theme/aes-style-gate.test.ts";
4994
- }, {
4995
- readonly code: "THM-OUT-UNUSED-COORD-VAR";
4996
- readonly family: "THM-OUT";
4997
- readonly stage: "theme";
4998
- readonly severity: "error";
4999
- readonly owner: "soma-lite/src/theme/style-gate.ts";
5000
- readonly negative: "soma-lite/tests/theme/style-gate-unused-coord.test.ts";
5001
- }, {
5002
- readonly code: "THM-OUT-SOLID-FACE";
5003
- readonly family: "THM-OUT";
5004
- readonly stage: "theme";
5005
- readonly severity: "error";
5006
- readonly owner: "soma-lite/src/theme/style-gate.ts";
5007
- readonly negative: "soma-lite/tests/theme/aes-style-gate.test.ts";
5008
4969
  }];
5009
4970
  };
5010
4971
  export type SomaPipelineDiagnosticCode = (typeof SOMA_PIPELINE_DIAGNOSTIC_REGISTRY.codes)[number]['code'];
@@ -1,6 +1,6 @@
1
1
  export declare const SOMA_PIPELINE_LIMITS: {
2
2
  readonly id: "limits";
3
- readonly 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 编译管线 / 组件运行时的上限,不是设计语言)";
3
+ readonly 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 编译管线 / 组件运行时的上限,不是设计语言)";
4
4
  readonly readBy: readonly [{
5
5
  readonly module: "soma-ui";
6
6
  readonly file: "src/compiler/styling/theme/orchestrate/budget.ts";
@@ -133,6 +133,30 @@ export declare const SOMA_PIPELINE_LIMITS: {
133
133
  readonly module: "soma-core";
134
134
  readonly file: "core/server/runtime-space/static-source.ts";
135
135
  readonly symbol: "SOMA_PIPELINE_LIMITS";
136
+ }, {
137
+ readonly module: "soma-core";
138
+ readonly file: "core/server/runtime-space/dynamic-pages.ts";
139
+ readonly symbol: "SOMA_PIPELINE_LIMITS";
140
+ }, {
141
+ readonly module: "soma-core";
142
+ readonly file: "core/server/infra/cache/ServerFileCache.ts";
143
+ readonly symbol: "SOMA_PIPELINE_LIMITS";
144
+ }, {
145
+ readonly module: "soma-foundation";
146
+ readonly file: "src/predicates/predicates.ts";
147
+ readonly symbol: "SOMA_PIPELINE_LIMITS_FOUNDATION";
148
+ }, {
149
+ readonly module: "soma-core";
150
+ readonly file: "core/client/base/SomaHttpClient.ts";
151
+ readonly symbol: "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS";
152
+ }, {
153
+ readonly module: "soma-core";
154
+ readonly file: "core/client/infra/http/SomaHttpService.ts";
155
+ readonly symbol: "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS";
156
+ }, {
157
+ readonly module: "soma-core";
158
+ readonly file: "core/client/runtime/SomaRuntimeServices.ts";
159
+ readonly symbol: "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS";
136
160
  }, {
137
161
  readonly module: "soma-foundation";
138
162
  readonly file: "src/layout/flow-editor-geometry.ts";
@@ -225,6 +249,14 @@ export declare const SOMA_PIPELINE_LIMITS: {
225
249
  readonly module: "soma-foundation";
226
250
  readonly file: "src/layout/host-defaults.ts";
227
251
  readonly symbol: "SOMA_PIPELINE_LIMITS_FOUNDATION";
252
+ }, {
253
+ readonly module: "soma-foundation";
254
+ readonly file: "src/values/index.ts";
255
+ readonly symbol: "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS";
256
+ }, {
257
+ readonly module: "soma-kit";
258
+ readonly file: "src/app/define-kit-actions.ts";
259
+ readonly symbol: "SOMA_PIPELINE_HOST_HTTP_REQUEST_TIMEOUT_MS";
228
260
  }, {
229
261
  readonly module: "soma-foundation";
230
262
  readonly file: "src/style/audit-state-distinct.ts";
@@ -245,10 +277,6 @@ export declare const SOMA_PIPELINE_LIMITS: {
245
277
  readonly module: "soma-foundation";
246
278
  readonly file: "src/theme/palette.ts";
247
279
  readonly symbol: "SOMA_PIPELINE_LIMITS_FOUNDATION";
248
- }, {
249
- readonly module: "soma-lite";
250
- readonly file: "src/theme/lite-limits.ts";
251
- readonly symbol: "SOMA_PIPELINE_LIMITS_LITE";
252
280
  }, {
253
281
  readonly module: "soma-testkit";
254
282
  readonly file: "src/mock/node/cli.mjs";
@@ -345,10 +373,6 @@ export declare const SOMA_PIPELINE_LIMITS: {
345
373
  readonly module: "soma-ui";
346
374
  readonly file: "src/app/submit.ts";
347
375
  readonly symbol: "SOMA_PIPELINE_LIMITS";
348
- }, {
349
- readonly module: "soma-lite";
350
- readonly file: "src/app/server/provenance-limit.ts";
351
- readonly symbol: "SOMA_PIPELINE_LIMITS";
352
376
  }, {
353
377
  readonly module: "soma-robot";
354
378
  readonly file: "src/common/limits.ts";
@@ -368,6 +392,10 @@ export declare const SOMA_PIPELINE_LIMITS: {
368
392
  readonly pageDeclarationCapacity: 64;
369
393
  readonly sourceAssetCapacity: 64;
370
394
  readonly publishedArtifactCapacity: 64;
395
+ readonly watchFailLimit: 2;
396
+ readonly serverFileMaxEntries: 512;
397
+ readonly serverFileMaxBytes: 33554432;
398
+ readonly serverDirMaxEntries: 256;
371
399
  };
372
400
  readonly runtimeCache: {
373
401
  readonly basis: "runtime 空间 L1 内存 LRU 的条目容量(编译结果与标准格式产物各一条目)与静态页地址清单的开发态复核间隔;容量不小于发布页产物缓存容量(cache.publishedArtifactCapacity),因为 L1 要容得下已发布页加上运行期按 URL 注入的页;复核间隔让新增静态页最迟这个毫秒数后进入写入期冲突判定(生产态不过期)。迁入前是 soma-core store.ts 的 SOMA_RUNTIME_CACHE_ENTRIES_DEFAULT 与 static-source.ts 的 DEV_TTL_MS";
@@ -394,6 +422,9 @@ export declare const SOMA_PIPELINE_LIMITS: {
394
422
  readonly maxDebounceMs: 10000;
395
423
  readonly defaultDebounceMs: 300;
396
424
  };
425
+ readonly inject: {
426
+ readonly pageMaxBytes: 4194304;
427
+ };
397
428
  readonly execution: {
398
429
  readonly maxNodes: 128;
399
430
  readonly maxDeps: 128;
@@ -453,7 +484,6 @@ export declare const SOMA_PIPELINE_LIMITS: {
453
484
  readonly "soma-core/core/index.ts": 524288;
454
485
  readonly "soma-core/core/client/runtime-entry.ts": 524288;
455
486
  readonly "soma-ui/src/app/index.ts": 524288;
456
- readonly "soma-lite/src/index.ts": 524288;
457
487
  readonly "soma-kit/src/app/index.ts": 327680;
458
488
  };
459
489
  };