@contractspec/lib.contracts 1.62.0 → 1.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1557) hide show
  1. package/CHANGELOG.md +754 -0
  2. package/README.md +30 -96
  3. package/package.json +9 -4742
  4. package/dist/app-config/app-config.capability.d.ts +0 -2
  5. package/dist/app-config/app-config.capability.d.ts.map +0 -1
  6. package/dist/app-config/app-config.capability.js +0 -730
  7. package/dist/app-config/app-config.contracts.d.ts +0 -240
  8. package/dist/app-config/app-config.contracts.d.ts.map +0 -1
  9. package/dist/app-config/app-config.contracts.js +0 -927
  10. package/dist/app-config/app-config.contracts.test.d.ts +0 -2
  11. package/dist/app-config/app-config.contracts.test.d.ts.map +0 -1
  12. package/dist/app-config/app-config.feature.d.ts +0 -6
  13. package/dist/app-config/app-config.feature.d.ts.map +0 -1
  14. package/dist/app-config/app-config.feature.js +0 -255
  15. package/dist/app-config/branding.d.ts +0 -53
  16. package/dist/app-config/branding.d.ts.map +0 -1
  17. package/dist/app-config/branding.js +0 -1
  18. package/dist/app-config/branding.test.d.ts +0 -2
  19. package/dist/app-config/branding.test.d.ts.map +0 -1
  20. package/dist/app-config/docs/app-config.docblock.d.ts +0 -3
  21. package/dist/app-config/docs/app-config.docblock.d.ts.map +0 -1
  22. package/dist/app-config/docs/app-config.docblock.js +0 -383
  23. package/dist/app-config/events.d.ts +0 -116
  24. package/dist/app-config/events.d.ts.map +0 -1
  25. package/dist/app-config/events.js +0 -386
  26. package/dist/app-config/events.test.d.ts +0 -2
  27. package/dist/app-config/events.test.d.ts.map +0 -1
  28. package/dist/app-config/index.d.ts +0 -10
  29. package/dist/app-config/index.d.ts.map +0 -1
  30. package/dist/app-config/index.js +0 -3113
  31. package/dist/app-config/lifecycle-contracts.d.ts +0 -266
  32. package/dist/app-config/lifecycle-contracts.d.ts.map +0 -1
  33. package/dist/app-config/lifecycle-contracts.js +0 -1084
  34. package/dist/app-config/lifecycle-contracts.test.d.ts +0 -2
  35. package/dist/app-config/lifecycle-contracts.test.d.ts.map +0 -1
  36. package/dist/app-config/lifecycle.d.ts +0 -24
  37. package/dist/app-config/lifecycle.d.ts.map +0 -1
  38. package/dist/app-config/lifecycle.js +0 -1
  39. package/dist/app-config/lifecycle.test.d.ts +0 -2
  40. package/dist/app-config/lifecycle.test.d.ts.map +0 -1
  41. package/dist/app-config/runtime.d.ts +0 -112
  42. package/dist/app-config/runtime.d.ts.map +0 -1
  43. package/dist/app-config/runtime.js +0 -734
  44. package/dist/app-config/runtime.test.d.ts +0 -2
  45. package/dist/app-config/runtime.test.d.ts.map +0 -1
  46. package/dist/app-config/spec.d.ts +0 -170
  47. package/dist/app-config/spec.d.ts.map +0 -1
  48. package/dist/app-config/spec.js +0 -229
  49. package/dist/app-config/spec.test.d.ts +0 -2
  50. package/dist/app-config/spec.test.d.ts.map +0 -1
  51. package/dist/app-config/validation.d.ts +0 -44
  52. package/dist/app-config/validation.d.ts.map +0 -1
  53. package/dist/app-config/validation.js +0 -650
  54. package/dist/app-config/validation.test.d.ts +0 -2
  55. package/dist/app-config/validation.test.d.ts.map +0 -1
  56. package/dist/capabilities/capabilities.d.ts +0 -97
  57. package/dist/capabilities/capabilities.d.ts.map +0 -1
  58. package/dist/capabilities/capabilities.js +0 -217
  59. package/dist/capabilities/capabilities.test.d.ts +0 -2
  60. package/dist/capabilities/capabilities.test.d.ts.map +0 -1
  61. package/dist/capabilities/context.d.ts +0 -111
  62. package/dist/capabilities/context.d.ts.map +0 -1
  63. package/dist/capabilities/context.js +0 -101
  64. package/dist/capabilities/context.test.d.ts +0 -2
  65. package/dist/capabilities/context.test.d.ts.map +0 -1
  66. package/dist/capabilities/docs/capabilities.docblock.d.ts +0 -3
  67. package/dist/capabilities/docs/capabilities.docblock.d.ts.map +0 -1
  68. package/dist/capabilities/docs/capabilities.docblock.js +0 -353
  69. package/dist/capabilities/guards.d.ts +0 -122
  70. package/dist/capabilities/guards.d.ts.map +0 -1
  71. package/dist/capabilities/guards.js +0 -177
  72. package/dist/capabilities/index.d.ts +0 -7
  73. package/dist/capabilities/index.d.ts.map +0 -1
  74. package/dist/capabilities/index.js +0 -739
  75. package/dist/capabilities/meeting-recorder.d.ts +0 -6
  76. package/dist/capabilities/meeting-recorder.d.ts.map +0 -1
  77. package/dist/capabilities/meeting-recorder.js +0 -154
  78. package/dist/capabilities/openbanking.d.ts +0 -6
  79. package/dist/capabilities/openbanking.d.ts.map +0 -1
  80. package/dist/capabilities/openbanking.js +0 -166
  81. package/dist/capabilities/validation.d.ts +0 -80
  82. package/dist/capabilities/validation.d.ts.map +0 -1
  83. package/dist/capabilities/validation.js +0 -185
  84. package/dist/capabilities/validation.test.d.ts +0 -2
  85. package/dist/capabilities/validation.test.d.ts.map +0 -1
  86. package/dist/client/index.d.ts +0 -2
  87. package/dist/client/index.d.ts.map +0 -1
  88. package/dist/client/index.js +0 -1379
  89. package/dist/client/react/drivers/rn-reusables.d.ts +0 -22
  90. package/dist/client/react/drivers/rn-reusables.d.ts.map +0 -1
  91. package/dist/client/react/drivers/rn-reusables.js +0 -38
  92. package/dist/client/react/drivers/shadcn.d.ts +0 -8
  93. package/dist/client/react/drivers/shadcn.d.ts.map +0 -1
  94. package/dist/client/react/drivers/shadcn.js +0 -38
  95. package/dist/client/react/feature-render.d.ts +0 -16
  96. package/dist/client/react/feature-render.d.ts.map +0 -1
  97. package/dist/client/react/feature-render.js +0 -833
  98. package/dist/client/react/form-render.d.ts +0 -87
  99. package/dist/client/react/form-render.d.ts.map +0 -1
  100. package/dist/client/react/form-render.js +0 -681
  101. package/dist/client/react/index.d.ts +0 -5
  102. package/dist/client/react/index.d.ts.map +0 -1
  103. package/dist/client/react/index.js +0 -1376
  104. package/dist/contract-registry/index.d.ts +0 -4
  105. package/dist/contract-registry/index.d.ts.map +0 -1
  106. package/dist/contract-registry/index.js +0 -129
  107. package/dist/contract-registry/schemas.d.ts +0 -121
  108. package/dist/contract-registry/schemas.d.ts.map +0 -1
  109. package/dist/contract-registry/schemas.js +0 -129
  110. package/dist/contract-registry/schemas.test.d.ts +0 -2
  111. package/dist/contract-registry/schemas.test.d.ts.map +0 -1
  112. package/dist/contract-registry/types.d.ts +0 -43
  113. package/dist/contract-registry/types.d.ts.map +0 -1
  114. package/dist/contract-registry/types.js +0 -1
  115. package/dist/data-views/data-views.d.ts +0 -5
  116. package/dist/data-views/data-views.d.ts.map +0 -1
  117. package/dist/data-views/data-views.js +0 -232
  118. package/dist/data-views/data-views.test.d.ts +0 -2
  119. package/dist/data-views/data-views.test.d.ts.map +0 -1
  120. package/dist/data-views/docs/data-views.docblock.d.ts +0 -3
  121. package/dist/data-views/docs/data-views.docblock.d.ts.map +0 -1
  122. package/dist/data-views/docs/data-views.docblock.js +0 -164
  123. package/dist/data-views/index.d.ts +0 -5
  124. package/dist/data-views/index.d.ts.map +0 -1
  125. package/dist/data-views/index.js +0 -232
  126. package/dist/data-views/query-generator.d.ts +0 -36
  127. package/dist/data-views/query-generator.d.ts.map +0 -1
  128. package/dist/data-views/query-generator.js +0 -89
  129. package/dist/data-views/registry.d.ts +0 -13
  130. package/dist/data-views/registry.d.ts.map +0 -1
  131. package/dist/data-views/registry.js +0 -226
  132. package/dist/data-views/registry.test.d.ts +0 -2
  133. package/dist/data-views/registry.test.d.ts.map +0 -1
  134. package/dist/data-views/report/contractVerificationTable.d.ts +0 -5
  135. package/dist/data-views/report/contractVerificationTable.d.ts.map +0 -1
  136. package/dist/data-views/report/contractVerificationTable.js +0 -240
  137. package/dist/data-views/report/contractVerificationTable.test.d.ts +0 -2
  138. package/dist/data-views/report/contractVerificationTable.test.d.ts.map +0 -1
  139. package/dist/data-views/runtime.d.ts +0 -26
  140. package/dist/data-views/runtime.d.ts.map +0 -1
  141. package/dist/data-views/runtime.js +0 -108
  142. package/dist/data-views/runtime.test.d.ts +0 -2
  143. package/dist/data-views/runtime.test.d.ts.map +0 -1
  144. package/dist/data-views/spec.d.ts +0 -23
  145. package/dist/data-views/spec.d.ts.map +0 -1
  146. package/dist/data-views/spec.js +0 -38
  147. package/dist/data-views/spec.test.d.ts +0 -2
  148. package/dist/data-views/spec.test.d.ts.map +0 -1
  149. package/dist/data-views/types.d.ts +0 -153
  150. package/dist/data-views/types.d.ts.map +0 -1
  151. package/dist/data-views/types.js +0 -1
  152. package/dist/data-views/types.test.d.ts +0 -2
  153. package/dist/data-views/types.test.d.ts.map +0 -1
  154. package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +0 -3
  155. package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts.map +0 -1
  156. package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -513
  157. package/dist/docs/capabilities/documentationSystem.capability.d.ts +0 -2
  158. package/dist/docs/capabilities/documentationSystem.capability.d.ts.map +0 -1
  159. package/dist/docs/capabilities/documentationSystem.capability.js +0 -784
  160. package/dist/docs/capabilities/index.d.ts +0 -2
  161. package/dist/docs/capabilities/index.d.ts.map +0 -1
  162. package/dist/docs/capabilities/index.js +0 -784
  163. package/dist/docs/commands/docsGenerate.command.d.ts +0 -89
  164. package/dist/docs/commands/docsGenerate.command.d.ts.map +0 -1
  165. package/dist/docs/commands/docsGenerate.command.js +0 -1016
  166. package/dist/docs/commands/docsPublish.command.d.ts +0 -58
  167. package/dist/docs/commands/docsPublish.command.d.ts.map +0 -1
  168. package/dist/docs/commands/docsPublish.command.js +0 -995
  169. package/dist/docs/commands/index.d.ts +0 -3
  170. package/dist/docs/commands/index.d.ts.map +0 -1
  171. package/dist/docs/commands/index.js +0 -1120
  172. package/dist/docs/constants.d.ts +0 -5
  173. package/dist/docs/constants.d.ts.map +0 -1
  174. package/dist/docs/constants.js +0 -78
  175. package/dist/docs/contracts.d.ts +0 -431
  176. package/dist/docs/contracts.d.ts.map +0 -1
  177. package/dist/docs/contracts.js +0 -2383
  178. package/dist/docs/ensure-docblocks.d.ts +0 -2
  179. package/dist/docs/ensure-docblocks.d.ts.map +0 -1
  180. package/dist/docs/ensure-docblocks.js +0 -264
  181. package/dist/docs/events/docsGenerated.event.d.ts +0 -57
  182. package/dist/docs/events/docsGenerated.event.d.ts.map +0 -1
  183. package/dist/docs/events/docsGenerated.event.js +0 -533
  184. package/dist/docs/events/docsPublished.event.d.ts +0 -65
  185. package/dist/docs/events/docsPublished.event.d.ts.map +0 -1
  186. package/dist/docs/events/docsPublished.event.js +0 -534
  187. package/dist/docs/events/index.d.ts +0 -3
  188. package/dist/docs/events/index.d.ts.map +0 -1
  189. package/dist/docs/events/index.js +0 -567
  190. package/dist/docs/forms/docsSearch.form.d.ts +0 -17
  191. package/dist/docs/forms/docsSearch.form.d.ts.map +0 -1
  192. package/dist/docs/forms/docsSearch.form.js +0 -676
  193. package/dist/docs/forms/index.d.ts +0 -2
  194. package/dist/docs/forms/index.d.ts.map +0 -1
  195. package/dist/docs/forms/index.js +0 -676
  196. package/dist/docs/index.d.ts +0 -41
  197. package/dist/docs/index.d.ts.map +0 -1
  198. package/dist/docs/index.js +0 -5491
  199. package/dist/docs/meta.docs.d.ts +0 -3
  200. package/dist/docs/meta.docs.d.ts.map +0 -1
  201. package/dist/docs/meta.docs.js +0 -176
  202. package/dist/docs/presentations/docsLayout.presentation.d.ts +0 -3
  203. package/dist/docs/presentations/docsLayout.presentation.d.ts.map +0 -1
  204. package/dist/docs/presentations/docsLayout.presentation.js +0 -1090
  205. package/dist/docs/presentations/docsReferencePage.presentation.d.ts +0 -3
  206. package/dist/docs/presentations/docsReferencePage.presentation.d.ts.map +0 -1
  207. package/dist/docs/presentations/docsReferencePage.presentation.js +0 -1090
  208. package/dist/docs/presentations/index.d.ts +0 -3
  209. package/dist/docs/presentations/index.d.ts.map +0 -1
  210. package/dist/docs/presentations/index.js +0 -1118
  211. package/dist/docs/presentations.d.ts +0 -28
  212. package/dist/docs/presentations.d.ts.map +0 -1
  213. package/dist/docs/presentations.js +0 -97
  214. package/dist/docs/presentations.test.d.ts +0 -2
  215. package/dist/docs/presentations.test.d.ts.map +0 -1
  216. package/dist/docs/queries/contractReference.query.d.ts +0 -212
  217. package/dist/docs/queries/contractReference.query.d.ts.map +0 -1
  218. package/dist/docs/queries/contractReference.query.js +0 -966
  219. package/dist/docs/queries/docsIndex.query.d.ts +0 -267
  220. package/dist/docs/queries/docsIndex.query.d.ts.map +0 -1
  221. package/dist/docs/queries/docsIndex.query.js +0 -966
  222. package/dist/docs/queries/index.d.ts +0 -3
  223. package/dist/docs/queries/index.d.ts.map +0 -1
  224. package/dist/docs/queries/index.js +0 -1041
  225. package/dist/docs/registry.d.ts +0 -20
  226. package/dist/docs/registry.d.ts.map +0 -1
  227. package/dist/docs/registry.js +0 -153
  228. package/dist/docs/registry.test.d.ts +0 -2
  229. package/dist/docs/registry.test.d.ts.map +0 -1
  230. package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +0 -3
  231. package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts.map +0 -1
  232. package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -221
  233. package/dist/docs/tech/cli.docblock.d.ts +0 -3
  234. package/dist/docs/tech/cli.docblock.d.ts.map +0 -1
  235. package/dist/docs/tech/cli.docblock.js +0 -291
  236. package/dist/docs/tech/contracts/README.docblock.d.ts +0 -3
  237. package/dist/docs/tech/contracts/README.docblock.d.ts.map +0 -1
  238. package/dist/docs/tech/contracts/README.docblock.js +0 -164
  239. package/dist/docs/tech/contracts/migrations.docblock.d.ts +0 -3
  240. package/dist/docs/tech/contracts/migrations.docblock.d.ts.map +0 -1
  241. package/dist/docs/tech/contracts/migrations.docblock.js +0 -164
  242. package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +0 -3
  243. package/dist/docs/tech/contracts/openapi-export.docblock.d.ts.map +0 -1
  244. package/dist/docs/tech/contracts/openapi-export.docblock.js +0 -201
  245. package/dist/docs/tech/contracts/openapi-import.docblock.d.ts +0 -3
  246. package/dist/docs/tech/contracts/openapi-import.docblock.d.ts.map +0 -1
  247. package/dist/docs/tech/contracts/openapi-import.docblock.js +0 -207
  248. package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +0 -3
  249. package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts.map +0 -1
  250. package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +0 -225
  251. package/dist/docs/tech/contracts/overlays.docblock.d.ts +0 -3
  252. package/dist/docs/tech/contracts/overlays.docblock.d.ts.map +0 -1
  253. package/dist/docs/tech/contracts/overlays.docblock.js +0 -231
  254. package/dist/docs/tech/contracts/tests.docblock.d.ts +0 -3
  255. package/dist/docs/tech/contracts/tests.docblock.d.ts.map +0 -1
  256. package/dist/docs/tech/contracts/tests.docblock.js +0 -164
  257. package/dist/docs/tech/contracts/themes.docblock.d.ts +0 -3
  258. package/dist/docs/tech/contracts/themes.docblock.d.ts.map +0 -1
  259. package/dist/docs/tech/contracts/themes.docblock.js +0 -257
  260. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +0 -3
  261. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts.map +0 -1
  262. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +0 -269
  263. package/dist/docs/tech/docs-system.docblock.d.ts +0 -2
  264. package/dist/docs/tech/docs-system.docblock.d.ts.map +0 -1
  265. package/dist/docs/tech/docs-system.docblock.js +0 -264
  266. package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +0 -3
  267. package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts.map +0 -1
  268. package/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -376
  269. package/dist/docs/tech/llm/llm-integration.docblock.d.ts +0 -8
  270. package/dist/docs/tech/llm/llm-integration.docblock.d.ts.map +0 -1
  271. package/dist/docs/tech/llm/llm-integration.docblock.js +0 -482
  272. package/dist/docs/tech/mcp-endpoints.docblock.d.ts +0 -3
  273. package/dist/docs/tech/mcp-endpoints.docblock.d.ts.map +0 -1
  274. package/dist/docs/tech/mcp-endpoints.docblock.js +0 -185
  275. package/dist/docs/tech/presentation-runtime.docblock.d.ts +0 -3
  276. package/dist/docs/tech/presentation-runtime.docblock.d.ts.map +0 -1
  277. package/dist/docs/tech/presentation-runtime.docblock.js +0 -221
  278. package/dist/docs/tech/report-verification-table.docblock.d.ts +0 -2
  279. package/dist/docs/tech/report-verification-table.docblock.d.ts.map +0 -1
  280. package/dist/docs/tech/report-verification-table.docblock.js +0 -191
  281. package/dist/docs/tech/report-verification-table.test.d.ts +0 -2
  282. package/dist/docs/tech/report-verification-table.test.d.ts.map +0 -1
  283. package/dist/docs/tech/schema/README.docblock.d.ts +0 -3
  284. package/dist/docs/tech/schema/README.docblock.d.ts.map +0 -1
  285. package/dist/docs/tech/schema/README.docblock.js +0 -164
  286. package/dist/docs/tech/studio/learning-events.docblock.d.ts +0 -3
  287. package/dist/docs/tech/studio/learning-events.docblock.d.ts.map +0 -1
  288. package/dist/docs/tech/studio/learning-events.docblock.js +0 -190
  289. package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +0 -3
  290. package/dist/docs/tech/studio/learning-journeys.docblock.d.ts.map +0 -1
  291. package/dist/docs/tech/studio/learning-journeys.docblock.js +0 -227
  292. package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +0 -3
  293. package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts.map +0 -1
  294. package/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -226
  295. package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +0 -3
  296. package/dist/docs/tech/studio/project-access-teams.docblock.d.ts.map +0 -1
  297. package/dist/docs/tech/studio/project-access-teams.docblock.js +0 -200
  298. package/dist/docs/tech/studio/project-routing.docblock.d.ts +0 -3
  299. package/dist/docs/tech/studio/project-routing.docblock.d.ts.map +0 -1
  300. package/dist/docs/tech/studio/project-routing.docblock.js +0 -209
  301. package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +0 -3
  302. package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts.map +0 -1
  303. package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -183
  304. package/dist/docs/tech/studio/team-invitations.docblock.d.ts +0 -3
  305. package/dist/docs/tech/studio/team-invitations.docblock.d.ts.map +0 -1
  306. package/dist/docs/tech/studio/team-invitations.docblock.js +0 -228
  307. package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +0 -3
  308. package/dist/docs/tech/studio/workspace-ops.docblock.d.ts.map +0 -1
  309. package/dist/docs/tech/studio/workspace-ops.docblock.js +0 -189
  310. package/dist/docs/tech/studio/workspaces.docblock.d.ts +0 -3
  311. package/dist/docs/tech/studio/workspaces.docblock.d.ts.map +0 -1
  312. package/dist/docs/tech/studio/workspaces.docblock.js +0 -204
  313. package/dist/docs/tech/telemetry-ingest.docblock.d.ts +0 -3
  314. package/dist/docs/tech/telemetry-ingest.docblock.d.ts.map +0 -1
  315. package/dist/docs/tech/telemetry-ingest.docblock.js +0 -305
  316. package/dist/docs/tech/vscode-extension.docblock.d.ts +0 -3
  317. package/dist/docs/tech/vscode-extension.docblock.d.ts.map +0 -1
  318. package/dist/docs/tech/vscode-extension.docblock.js +0 -241
  319. package/dist/docs/tech-contracts.docs.d.ts +0 -3
  320. package/dist/docs/tech-contracts.docs.d.ts.map +0 -1
  321. package/dist/docs/tech-contracts.docs.js +0 -239
  322. package/dist/docs/types.d.ts +0 -38
  323. package/dist/docs/types.d.ts.map +0 -1
  324. package/dist/docs/types.js +0 -1
  325. package/dist/docs/views/contractReference.dataView.d.ts +0 -3
  326. package/dist/docs/views/contractReference.dataView.d.ts.map +0 -1
  327. package/dist/docs/views/contractReference.dataView.js +0 -1047
  328. package/dist/docs/views/docsIndex.dataView.d.ts +0 -3
  329. package/dist/docs/views/docsIndex.dataView.d.ts.map +0 -1
  330. package/dist/docs/views/docsIndex.dataView.js +0 -1041
  331. package/dist/docs/views/exampleCatalog.dataView.d.ts +0 -3
  332. package/dist/docs/views/exampleCatalog.dataView.d.ts.map +0 -1
  333. package/dist/docs/views/exampleCatalog.dataView.js +0 -1025
  334. package/dist/docs/views/index.d.ts +0 -4
  335. package/dist/docs/views/index.d.ts.map +0 -1
  336. package/dist/docs/views/index.js +0 -1240
  337. package/dist/events.d.ts +0 -143
  338. package/dist/events.d.ts.map +0 -1
  339. package/dist/events.js +0 -228
  340. package/dist/events.test.d.ts +0 -2
  341. package/dist/events.test.d.ts.map +0 -1
  342. package/dist/examples/docs/examples.docblock.d.ts +0 -3
  343. package/dist/examples/docs/examples.docblock.d.ts.map +0 -1
  344. package/dist/examples/docs/examples.docblock.js +0 -307
  345. package/dist/examples/index.d.ts +0 -12
  346. package/dist/examples/index.d.ts.map +0 -1
  347. package/dist/examples/index.js +0 -604
  348. package/dist/examples/registry.d.ts +0 -39
  349. package/dist/examples/registry.d.ts.map +0 -1
  350. package/dist/examples/registry.js +0 -286
  351. package/dist/examples/registry.test.d.ts +0 -2
  352. package/dist/examples/registry.test.d.ts.map +0 -1
  353. package/dist/examples/schema.d.ts +0 -279
  354. package/dist/examples/schema.d.ts.map +0 -1
  355. package/dist/examples/schema.js +0 -166
  356. package/dist/examples/schema.test.d.ts +0 -2
  357. package/dist/examples/schema.test.d.ts.map +0 -1
  358. package/dist/examples/types.d.ts +0 -163
  359. package/dist/examples/types.d.ts.map +0 -1
  360. package/dist/examples/types.js +0 -77
  361. package/dist/examples/types.test.d.ts +0 -2
  362. package/dist/examples/types.test.d.ts.map +0 -1
  363. package/dist/examples/validation.d.ts +0 -62
  364. package/dist/examples/validation.d.ts.map +0 -1
  365. package/dist/examples/validation.js +0 -287
  366. package/dist/examples/validation.test.d.ts +0 -2
  367. package/dist/examples/validation.test.d.ts.map +0 -1
  368. package/dist/experiments/docs/experiments.docblock.d.ts +0 -3
  369. package/dist/experiments/docs/experiments.docblock.d.ts.map +0 -1
  370. package/dist/experiments/docs/experiments.docblock.js +0 -291
  371. package/dist/experiments/evaluator.d.ts +0 -34
  372. package/dist/experiments/evaluator.d.ts.map +0 -1
  373. package/dist/experiments/evaluator.js +0 -155
  374. package/dist/experiments/evaluator.test.d.ts +0 -2
  375. package/dist/experiments/evaluator.test.d.ts.map +0 -1
  376. package/dist/experiments/spec-resolver.d.ts +0 -13
  377. package/dist/experiments/spec-resolver.d.ts.map +0 -1
  378. package/dist/experiments/spec-resolver.js +0 -1
  379. package/dist/experiments/spec.d.ts +0 -80
  380. package/dist/experiments/spec.d.ts.map +0 -1
  381. package/dist/experiments/spec.js +0 -227
  382. package/dist/experiments/spec.test.d.ts +0 -2
  383. package/dist/experiments/spec.test.d.ts.map +0 -1
  384. package/dist/features/index.d.ts +0 -10
  385. package/dist/features/index.d.ts.map +0 -1
  386. package/dist/features/index.js +0 -275
  387. package/dist/features/install.d.ts +0 -15
  388. package/dist/features/install.d.ts.map +0 -1
  389. package/dist/features/install.js +0 -95
  390. package/dist/features/install.test.d.ts +0 -2
  391. package/dist/features/install.test.d.ts.map +0 -1
  392. package/dist/features/registry.d.ts +0 -22
  393. package/dist/features/registry.d.ts.map +0 -1
  394. package/dist/features/registry.js +0 -192
  395. package/dist/features/registry.test.d.ts +0 -2
  396. package/dist/features/registry.test.d.ts.map +0 -1
  397. package/dist/features/types.d.ts +0 -79
  398. package/dist/features/types.d.ts.map +0 -1
  399. package/dist/features/types.js +0 -1
  400. package/dist/features/types.test.d.ts +0 -2
  401. package/dist/features/types.test.d.ts.map +0 -1
  402. package/dist/features/validation.d.ts +0 -5
  403. package/dist/features/validation.d.ts.map +0 -1
  404. package/dist/features/validation.js +0 -48
  405. package/dist/features/validation.test.d.ts +0 -2
  406. package/dist/features/validation.test.d.ts.map +0 -1
  407. package/dist/features.capabilities.test.d.ts +0 -2
  408. package/dist/features.capabilities.test.d.ts.map +0 -1
  409. package/dist/forms/docs/forms.docblock.d.ts +0 -3
  410. package/dist/forms/docs/forms.docblock.d.ts.map +0 -1
  411. package/dist/forms/docs/forms.docblock.js +0 -164
  412. package/dist/forms/forms.d.ts +0 -265
  413. package/dist/forms/forms.d.ts.map +0 -1
  414. package/dist/forms/forms.js +0 -332
  415. package/dist/forms/index.d.ts +0 -2
  416. package/dist/forms/index.d.ts.map +0 -1
  417. package/dist/forms/index.js +0 -332
  418. package/dist/index.d.ts +0 -50
  419. package/dist/index.d.ts.map +0 -1
  420. package/dist/index.js +0 -18411
  421. package/dist/install.d.ts +0 -76
  422. package/dist/install.d.ts.map +0 -1
  423. package/dist/install.js +0 -60
  424. package/dist/integrations/binding.d.ts +0 -15
  425. package/dist/integrations/binding.d.ts.map +0 -1
  426. package/dist/integrations/binding.js +0 -1
  427. package/dist/integrations/connection.d.ts +0 -48
  428. package/dist/integrations/connection.d.ts.map +0 -1
  429. package/dist/integrations/connection.js +0 -1
  430. package/dist/integrations/docs/integrations.docblock.d.ts +0 -3
  431. package/dist/integrations/docs/integrations.docblock.d.ts.map +0 -1
  432. package/dist/integrations/docs/integrations.docblock.js +0 -255
  433. package/dist/integrations/health.d.ts +0 -18
  434. package/dist/integrations/health.d.ts.map +0 -1
  435. package/dist/integrations/health.js +0 -103
  436. package/dist/integrations/health.test.d.ts +0 -2
  437. package/dist/integrations/health.test.d.ts.map +0 -1
  438. package/dist/integrations/index.d.ts +0 -12
  439. package/dist/integrations/index.d.ts.map +0 -1
  440. package/dist/integrations/index.js +0 -3984
  441. package/dist/integrations/integrations.capability.d.ts +0 -2
  442. package/dist/integrations/integrations.capability.d.ts.map +0 -1
  443. package/dist/integrations/integrations.capability.js +0 -726
  444. package/dist/integrations/integrations.feature.d.ts +0 -6
  445. package/dist/integrations/integrations.feature.d.ts.map +0 -1
  446. package/dist/integrations/integrations.feature.js +0 -301
  447. package/dist/integrations/meeting-recorder/contracts/index.d.ts +0 -8
  448. package/dist/integrations/meeting-recorder/contracts/index.d.ts.map +0 -1
  449. package/dist/integrations/meeting-recorder/contracts/index.js +0 -1231
  450. package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +0 -452
  451. package/dist/integrations/meeting-recorder/contracts/meetings.d.ts.map +0 -1
  452. package/dist/integrations/meeting-recorder/contracts/meetings.js +0 -866
  453. package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +0 -167
  454. package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts.map +0 -1
  455. package/dist/integrations/meeting-recorder/contracts/transcripts.js +0 -933
  456. package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +0 -86
  457. package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts.map +0 -1
  458. package/dist/integrations/meeting-recorder/contracts/webhooks.js +0 -819
  459. package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +0 -2
  460. package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts.map +0 -1
  461. package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +0 -726
  462. package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +0 -6
  463. package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts.map +0 -1
  464. package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +0 -301
  465. package/dist/integrations/meeting-recorder/models.d.ts +0 -403
  466. package/dist/integrations/meeting-recorder/models.d.ts.map +0 -1
  467. package/dist/integrations/meeting-recorder/models.js +0 -152
  468. package/dist/integrations/meeting-recorder/telemetry.d.ts +0 -14
  469. package/dist/integrations/meeting-recorder/telemetry.d.ts.map +0 -1
  470. package/dist/integrations/meeting-recorder/telemetry.js +0 -84
  471. package/dist/integrations/openbanking/contracts/accounts.d.ts +0 -283
  472. package/dist/integrations/openbanking/contracts/accounts.d.ts.map +0 -1
  473. package/dist/integrations/openbanking/contracts/accounts.js +0 -974
  474. package/dist/integrations/openbanking/contracts/balances.d.ts +0 -159
  475. package/dist/integrations/openbanking/contracts/balances.d.ts.map +0 -1
  476. package/dist/integrations/openbanking/contracts/balances.js +0 -938
  477. package/dist/integrations/openbanking/contracts/index.d.ts +0 -8
  478. package/dist/integrations/openbanking/contracts/index.d.ts.map +0 -1
  479. package/dist/integrations/openbanking/contracts/index.js +0 -1399
  480. package/dist/integrations/openbanking/contracts/transactions.d.ts +0 -207
  481. package/dist/integrations/openbanking/contracts/transactions.d.ts.map +0 -1
  482. package/dist/integrations/openbanking/contracts/transactions.js +0 -944
  483. package/dist/integrations/openbanking/guards.d.ts +0 -9
  484. package/dist/integrations/openbanking/guards.d.ts.map +0 -1
  485. package/dist/integrations/openbanking/guards.js +0 -72
  486. package/dist/integrations/openbanking/guards.test.d.ts +0 -2
  487. package/dist/integrations/openbanking/guards.test.d.ts.map +0 -1
  488. package/dist/integrations/openbanking/models.d.ts +0 -224
  489. package/dist/integrations/openbanking/models.d.ts.map +0 -1
  490. package/dist/integrations/openbanking/models.js +0 -140
  491. package/dist/integrations/openbanking/openbanking.capability.d.ts +0 -2
  492. package/dist/integrations/openbanking/openbanking.capability.d.ts.map +0 -1
  493. package/dist/integrations/openbanking/openbanking.capability.js +0 -726
  494. package/dist/integrations/openbanking/openbanking.feature.d.ts +0 -6
  495. package/dist/integrations/openbanking/openbanking.feature.d.ts.map +0 -1
  496. package/dist/integrations/openbanking/openbanking.feature.js +0 -303
  497. package/dist/integrations/openbanking/telemetry.d.ts +0 -13
  498. package/dist/integrations/openbanking/telemetry.d.ts.map +0 -1
  499. package/dist/integrations/openbanking/telemetry.js +0 -81
  500. package/dist/integrations/operations.d.ts +0 -431
  501. package/dist/integrations/operations.d.ts.map +0 -1
  502. package/dist/integrations/operations.js +0 -943
  503. package/dist/integrations/operations.test.d.ts +0 -2
  504. package/dist/integrations/operations.test.d.ts.map +0 -1
  505. package/dist/integrations/providers/analytics-reader.d.ts +0 -104
  506. package/dist/integrations/providers/analytics-reader.d.ts.map +0 -1
  507. package/dist/integrations/providers/analytics-reader.js +0 -1
  508. package/dist/integrations/providers/analytics-writer.d.ts +0 -7
  509. package/dist/integrations/providers/analytics-writer.d.ts.map +0 -1
  510. package/dist/integrations/providers/analytics-writer.js +0 -1
  511. package/dist/integrations/providers/analytics.d.ts +0 -48
  512. package/dist/integrations/providers/analytics.d.ts.map +0 -1
  513. package/dist/integrations/providers/analytics.js +0 -1
  514. package/dist/integrations/providers/calendar.d.ts +0 -76
  515. package/dist/integrations/providers/calendar.d.ts.map +0 -1
  516. package/dist/integrations/providers/calendar.js +0 -1
  517. package/dist/integrations/providers/database.d.ts +0 -13
  518. package/dist/integrations/providers/database.d.ts.map +0 -1
  519. package/dist/integrations/providers/database.js +0 -1
  520. package/dist/integrations/providers/elevenlabs.d.ts +0 -4
  521. package/dist/integrations/providers/elevenlabs.d.ts.map +0 -1
  522. package/dist/integrations/providers/elevenlabs.js +0 -331
  523. package/dist/integrations/providers/email.d.ts +0 -84
  524. package/dist/integrations/providers/email.d.ts.map +0 -1
  525. package/dist/integrations/providers/email.js +0 -1
  526. package/dist/integrations/providers/embedding.d.ts +0 -22
  527. package/dist/integrations/providers/embedding.d.ts.map +0 -1
  528. package/dist/integrations/providers/embedding.js +0 -1
  529. package/dist/integrations/providers/fal.d.ts +0 -4
  530. package/dist/integrations/providers/fal.d.ts.map +0 -1
  531. package/dist/integrations/providers/fal.js +0 -357
  532. package/dist/integrations/providers/fathom.d.ts +0 -4
  533. package/dist/integrations/providers/fathom.d.ts.map +0 -1
  534. package/dist/integrations/providers/fathom.js +0 -371
  535. package/dist/integrations/providers/fireflies.d.ts +0 -4
  536. package/dist/integrations/providers/fireflies.d.ts.map +0 -1
  537. package/dist/integrations/providers/fireflies.js +0 -351
  538. package/dist/integrations/providers/gcs-storage.d.ts +0 -4
  539. package/dist/integrations/providers/gcs-storage.d.ts.map +0 -1
  540. package/dist/integrations/providers/gcs-storage.js +0 -342
  541. package/dist/integrations/providers/gmail.d.ts +0 -4
  542. package/dist/integrations/providers/gmail.d.ts.map +0 -1
  543. package/dist/integrations/providers/gmail.js +0 -354
  544. package/dist/integrations/providers/google-calendar.d.ts +0 -4
  545. package/dist/integrations/providers/google-calendar.d.ts.map +0 -1
  546. package/dist/integrations/providers/google-calendar.js +0 -337
  547. package/dist/integrations/providers/gradium.d.ts +0 -4
  548. package/dist/integrations/providers/gradium.d.ts.map +0 -1
  549. package/dist/integrations/providers/gradium.js +0 -355
  550. package/dist/integrations/providers/granola.d.ts +0 -4
  551. package/dist/integrations/providers/granola.d.ts.map +0 -1
  552. package/dist/integrations/providers/granola.js +0 -352
  553. package/dist/integrations/providers/index.d.ts +0 -39
  554. package/dist/integrations/providers/index.d.ts.map +0 -1
  555. package/dist/integrations/providers/index.js +0 -2317
  556. package/dist/integrations/providers/jira.d.ts +0 -4
  557. package/dist/integrations/providers/jira.d.ts.map +0 -1
  558. package/dist/integrations/providers/jira.js +0 -353
  559. package/dist/integrations/providers/linear.d.ts +0 -4
  560. package/dist/integrations/providers/linear.d.ts.map +0 -1
  561. package/dist/integrations/providers/linear.js +0 -352
  562. package/dist/integrations/providers/llm.d.ts +0 -80
  563. package/dist/integrations/providers/llm.d.ts.map +0 -1
  564. package/dist/integrations/providers/llm.js +0 -1
  565. package/dist/integrations/providers/meeting-recorder.d.ts +0 -130
  566. package/dist/integrations/providers/meeting-recorder.d.ts.map +0 -1
  567. package/dist/integrations/providers/meeting-recorder.js +0 -1
  568. package/dist/integrations/providers/mistral.d.ts +0 -4
  569. package/dist/integrations/providers/mistral.d.ts.map +0 -1
  570. package/dist/integrations/providers/mistral.js +0 -339
  571. package/dist/integrations/providers/notion.d.ts +0 -4
  572. package/dist/integrations/providers/notion.d.ts.map +0 -1
  573. package/dist/integrations/providers/notion.js +0 -358
  574. package/dist/integrations/providers/openbanking.d.ts +0 -126
  575. package/dist/integrations/providers/openbanking.d.ts.map +0 -1
  576. package/dist/integrations/providers/openbanking.js +0 -1
  577. package/dist/integrations/providers/payments.d.ts +0 -107
  578. package/dist/integrations/providers/payments.d.ts.map +0 -1
  579. package/dist/integrations/providers/payments.js +0 -1
  580. package/dist/integrations/providers/posthog-llm-telemetry.d.ts +0 -52
  581. package/dist/integrations/providers/posthog-llm-telemetry.d.ts.map +0 -1
  582. package/dist/integrations/providers/posthog-llm-telemetry.js +0 -241
  583. package/dist/integrations/providers/posthog.d.ts +0 -4
  584. package/dist/integrations/providers/posthog.d.ts.map +0 -1
  585. package/dist/integrations/providers/posthog.js +0 -351
  586. package/dist/integrations/providers/postmark.d.ts +0 -4
  587. package/dist/integrations/providers/postmark.d.ts.map +0 -1
  588. package/dist/integrations/providers/postmark.js +0 -343
  589. package/dist/integrations/providers/powens.d.ts +0 -4
  590. package/dist/integrations/providers/powens.d.ts.map +0 -1
  591. package/dist/integrations/providers/powens.js +0 -369
  592. package/dist/integrations/providers/project-management.d.ts +0 -33
  593. package/dist/integrations/providers/project-management.d.ts.map +0 -1
  594. package/dist/integrations/providers/project-management.js +0 -1
  595. package/dist/integrations/providers/providers.test.d.ts +0 -2
  596. package/dist/integrations/providers/providers.test.d.ts.map +0 -1
  597. package/dist/integrations/providers/qdrant.d.ts +0 -4
  598. package/dist/integrations/providers/qdrant.d.ts.map +0 -1
  599. package/dist/integrations/providers/qdrant.js +0 -346
  600. package/dist/integrations/providers/registry.d.ts +0 -7
  601. package/dist/integrations/providers/registry.d.ts.map +0 -1
  602. package/dist/integrations/providers/registry.js +0 -2102
  603. package/dist/integrations/providers/sms.d.ts +0 -32
  604. package/dist/integrations/providers/sms.d.ts.map +0 -1
  605. package/dist/integrations/providers/sms.js +0 -1
  606. package/dist/integrations/providers/storage.d.ts +0 -58
  607. package/dist/integrations/providers/storage.d.ts.map +0 -1
  608. package/dist/integrations/providers/storage.js +0 -1
  609. package/dist/integrations/providers/stripe.d.ts +0 -4
  610. package/dist/integrations/providers/stripe.d.ts.map +0 -1
  611. package/dist/integrations/providers/stripe.js +0 -350
  612. package/dist/integrations/providers/supabase-postgres.d.ts +0 -4
  613. package/dist/integrations/providers/supabase-postgres.d.ts.map +0 -1
  614. package/dist/integrations/providers/supabase-postgres.js +0 -332
  615. package/dist/integrations/providers/supabase-vector.d.ts +0 -4
  616. package/dist/integrations/providers/supabase-vector.d.ts.map +0 -1
  617. package/dist/integrations/providers/supabase-vector.js +0 -352
  618. package/dist/integrations/providers/tldv.d.ts +0 -4
  619. package/dist/integrations/providers/tldv.d.ts.map +0 -1
  620. package/dist/integrations/providers/tldv.js +0 -351
  621. package/dist/integrations/providers/twilio-sms.d.ts +0 -4
  622. package/dist/integrations/providers/twilio-sms.d.ts.map +0 -1
  623. package/dist/integrations/providers/twilio-sms.js +0 -336
  624. package/dist/integrations/providers/vector-store.d.ts +0 -40
  625. package/dist/integrations/providers/vector-store.d.ts.map +0 -1
  626. package/dist/integrations/providers/vector-store.js +0 -1
  627. package/dist/integrations/providers/voice.d.ts +0 -32
  628. package/dist/integrations/providers/voice.d.ts.map +0 -1
  629. package/dist/integrations/providers/voice.js +0 -1
  630. package/dist/integrations/runtime.d.ts +0 -96
  631. package/dist/integrations/runtime.d.ts.map +0 -1
  632. package/dist/integrations/runtime.js +0 -239
  633. package/dist/integrations/runtime.test.d.ts +0 -2
  634. package/dist/integrations/runtime.test.d.ts.map +0 -1
  635. package/dist/integrations/secrets/aws-secret-manager.d.ts +0 -29
  636. package/dist/integrations/secrets/aws-secret-manager.d.ts.map +0 -1
  637. package/dist/integrations/secrets/aws-secret-manager.js +0 -376
  638. package/dist/integrations/secrets/env-secret-provider.d.ts +0 -29
  639. package/dist/integrations/secrets/env-secret-provider.d.ts.map +0 -1
  640. package/dist/integrations/secrets/env-secret-provider.js +0 -189
  641. package/dist/integrations/secrets/gcp-secret-manager.d.ts +0 -30
  642. package/dist/integrations/secrets/gcp-secret-manager.d.ts.map +0 -1
  643. package/dist/integrations/secrets/gcp-secret-manager.js +0 -377
  644. package/dist/integrations/secrets/index.d.ts +0 -7
  645. package/dist/integrations/secrets/index.d.ts.map +0 -1
  646. package/dist/integrations/secrets/index.js +0 -1159
  647. package/dist/integrations/secrets/manager.d.ts +0 -45
  648. package/dist/integrations/secrets/manager.d.ts.map +0 -1
  649. package/dist/integrations/secrets/manager.js +0 -213
  650. package/dist/integrations/secrets/provider.d.ts +0 -50
  651. package/dist/integrations/secrets/provider.d.ts.map +0 -1
  652. package/dist/integrations/secrets/provider.js +0 -104
  653. package/dist/integrations/secrets/provider.test.d.ts +0 -2
  654. package/dist/integrations/secrets/provider.test.d.ts.map +0 -1
  655. package/dist/integrations/secrets/scaleway-secret-manager.d.ts +0 -36
  656. package/dist/integrations/secrets/scaleway-secret-manager.d.ts.map +0 -1
  657. package/dist/integrations/secrets/scaleway-secret-manager.js +0 -405
  658. package/dist/integrations/secrets-types.d.ts +0 -15
  659. package/dist/integrations/secrets-types.d.ts.map +0 -1
  660. package/dist/integrations/secrets-types.js +0 -1
  661. package/dist/integrations/spec.d.ts +0 -73
  662. package/dist/integrations/spec.d.ts.map +0 -1
  663. package/dist/integrations/spec.js +0 -232
  664. package/dist/integrations/spec.test.d.ts +0 -2
  665. package/dist/integrations/spec.test.d.ts.map +0 -1
  666. package/dist/jobs/define-job.d.ts +0 -16
  667. package/dist/jobs/define-job.d.ts.map +0 -1
  668. package/dist/jobs/define-job.js +0 -41
  669. package/dist/jobs/gcp-cloud-tasks.d.ts +0 -39
  670. package/dist/jobs/gcp-cloud-tasks.d.ts.map +0 -1
  671. package/dist/jobs/gcp-cloud-tasks.js +0 -103
  672. package/dist/jobs/gcp-pubsub.d.ts +0 -23
  673. package/dist/jobs/gcp-pubsub.d.ts.map +0 -1
  674. package/dist/jobs/gcp-pubsub.js +0 -91
  675. package/dist/jobs/handlers/gmail-sync-handler.d.ts +0 -6
  676. package/dist/jobs/handlers/gmail-sync-handler.d.ts.map +0 -1
  677. package/dist/jobs/handlers/gmail-sync-handler.js +0 -40
  678. package/dist/jobs/handlers/handlers.test.d.ts +0 -2
  679. package/dist/jobs/handlers/handlers.test.d.ts.map +0 -1
  680. package/dist/jobs/handlers/index.d.ts +0 -6
  681. package/dist/jobs/handlers/index.d.ts.map +0 -1
  682. package/dist/jobs/handlers/index.js +0 -83
  683. package/dist/jobs/handlers/ping-handler.d.ts +0 -7
  684. package/dist/jobs/handlers/ping-handler.d.ts.map +0 -1
  685. package/dist/jobs/handlers/ping-handler.js +0 -47
  686. package/dist/jobs/handlers/storage-document-handler.d.ts +0 -9
  687. package/dist/jobs/handlers/storage-document-handler.d.ts.map +0 -1
  688. package/dist/jobs/handlers/storage-document-handler.js +0 -47
  689. package/dist/jobs/index.d.ts +0 -3
  690. package/dist/jobs/index.d.ts.map +0 -1
  691. package/dist/jobs/index.js +0 -64
  692. package/dist/jobs/memory-queue.d.ts +0 -15
  693. package/dist/jobs/memory-queue.d.ts.map +0 -1
  694. package/dist/jobs/memory-queue.js +0 -129
  695. package/dist/jobs/queue.d.ts +0 -127
  696. package/dist/jobs/queue.d.ts.map +0 -1
  697. package/dist/jobs/queue.js +0 -55
  698. package/dist/jobs/queue.test.d.ts +0 -2
  699. package/dist/jobs/queue.test.d.ts.map +0 -1
  700. package/dist/jobs/scaleway-sqs-queue.d.ts +0 -28
  701. package/dist/jobs/scaleway-sqs-queue.d.ts.map +0 -1
  702. package/dist/jobs/scaleway-sqs-queue.js +0 -222
  703. package/dist/jsonschema.d.ts +0 -40
  704. package/dist/jsonschema.d.ts.map +0 -1
  705. package/dist/jsonschema.js +0 -73
  706. package/dist/jsonschema.test.d.ts +0 -2
  707. package/dist/jsonschema.test.d.ts.map +0 -1
  708. package/dist/knowledge/binding.d.ts +0 -23
  709. package/dist/knowledge/binding.d.ts.map +0 -1
  710. package/dist/knowledge/binding.js +0 -1
  711. package/dist/knowledge/docs/knowledge.docblock.d.ts +0 -3
  712. package/dist/knowledge/docs/knowledge.docblock.d.ts.map +0 -1
  713. package/dist/knowledge/docs/knowledge.docblock.js +0 -301
  714. package/dist/knowledge/index.d.ts +0 -5
  715. package/dist/knowledge/index.d.ts.map +0 -1
  716. package/dist/knowledge/index.js +0 -468
  717. package/dist/knowledge/ingestion/document-processor.d.ts +0 -23
  718. package/dist/knowledge/ingestion/document-processor.d.ts.map +0 -1
  719. package/dist/knowledge/ingestion/document-processor.js +0 -95
  720. package/dist/knowledge/ingestion/embedding-service.d.ts +0 -9
  721. package/dist/knowledge/ingestion/embedding-service.d.ts.map +0 -1
  722. package/dist/knowledge/ingestion/embedding-service.js +0 -57
  723. package/dist/knowledge/ingestion/gmail-adapter.d.ts +0 -15
  724. package/dist/knowledge/ingestion/gmail-adapter.d.ts.map +0 -1
  725. package/dist/knowledge/ingestion/gmail-adapter.js +0 -103
  726. package/dist/knowledge/ingestion/index.d.ts +0 -6
  727. package/dist/knowledge/ingestion/index.d.ts.map +0 -1
  728. package/dist/knowledge/ingestion/index.js +0 -252
  729. package/dist/knowledge/ingestion/ingestion.test.d.ts +0 -2
  730. package/dist/knowledge/ingestion/ingestion.test.d.ts.map +0 -1
  731. package/dist/knowledge/ingestion/storage-adapter.d.ts +0 -12
  732. package/dist/knowledge/ingestion/storage-adapter.d.ts.map +0 -1
  733. package/dist/knowledge/ingestion/storage-adapter.js +0 -62
  734. package/dist/knowledge/ingestion/vector-indexer.d.ts +0 -15
  735. package/dist/knowledge/ingestion/vector-indexer.d.ts.map +0 -1
  736. package/dist/knowledge/ingestion/vector-indexer.js +0 -63
  737. package/dist/knowledge/knowledge.capability.d.ts +0 -2
  738. package/dist/knowledge/knowledge.capability.d.ts.map +0 -1
  739. package/dist/knowledge/knowledge.capability.js +0 -726
  740. package/dist/knowledge/knowledge.feature.d.ts +0 -6
  741. package/dist/knowledge/knowledge.feature.d.ts.map +0 -1
  742. package/dist/knowledge/knowledge.feature.js +0 -301
  743. package/dist/knowledge/operations.d.ts +0 -312
  744. package/dist/knowledge/operations.d.ts.map +0 -1
  745. package/dist/knowledge/operations.js +0 -869
  746. package/dist/knowledge/operations.test.d.ts +0 -2
  747. package/dist/knowledge/operations.test.d.ts.map +0 -1
  748. package/dist/knowledge/query/index.d.ts +0 -2
  749. package/dist/knowledge/query/index.d.ts.map +0 -1
  750. package/dist/knowledge/query/index.js +0 -110
  751. package/dist/knowledge/query/service.d.ts +0 -26
  752. package/dist/knowledge/query/service.d.ts.map +0 -1
  753. package/dist/knowledge/query/service.js +0 -110
  754. package/dist/knowledge/query/service.test.d.ts +0 -2
  755. package/dist/knowledge/query/service.test.d.ts.map +0 -1
  756. package/dist/knowledge/runtime.d.ts +0 -29
  757. package/dist/knowledge/runtime.d.ts.map +0 -1
  758. package/dist/knowledge/runtime.js +0 -91
  759. package/dist/knowledge/runtime.test.d.ts +0 -2
  760. package/dist/knowledge/runtime.test.d.ts.map +0 -1
  761. package/dist/knowledge/source.d.ts +0 -30
  762. package/dist/knowledge/source.d.ts.map +0 -1
  763. package/dist/knowledge/source.js +0 -1
  764. package/dist/knowledge/spaces/email-threads.d.ts +0 -4
  765. package/dist/knowledge/spaces/email-threads.d.ts.map +0 -1
  766. package/dist/knowledge/spaces/email-threads.js +0 -102
  767. package/dist/knowledge/spaces/financial-docs.d.ts +0 -4
  768. package/dist/knowledge/spaces/financial-docs.d.ts.map +0 -1
  769. package/dist/knowledge/spaces/financial-docs.js +0 -102
  770. package/dist/knowledge/spaces/financial-overview.d.ts +0 -4
  771. package/dist/knowledge/spaces/financial-overview.d.ts.map +0 -1
  772. package/dist/knowledge/spaces/financial-overview.js +0 -102
  773. package/dist/knowledge/spaces/index.d.ts +0 -7
  774. package/dist/knowledge/spaces/index.d.ts.map +0 -1
  775. package/dist/knowledge/spaces/index.js +0 -273
  776. package/dist/knowledge/spaces/product-canon.d.ts +0 -4
  777. package/dist/knowledge/spaces/product-canon.d.ts.map +0 -1
  778. package/dist/knowledge/spaces/product-canon.js +0 -102
  779. package/dist/knowledge/spaces/spaces.test.d.ts +0 -2
  780. package/dist/knowledge/spaces/spaces.test.d.ts.map +0 -1
  781. package/dist/knowledge/spaces/support-faq.d.ts +0 -4
  782. package/dist/knowledge/spaces/support-faq.d.ts.map +0 -1
  783. package/dist/knowledge/spaces/support-faq.js +0 -103
  784. package/dist/knowledge/spaces/uploaded-docs.d.ts +0 -4
  785. package/dist/knowledge/spaces/uploaded-docs.d.ts.map +0 -1
  786. package/dist/knowledge/spaces/uploaded-docs.js +0 -102
  787. package/dist/knowledge/spec.d.ts +0 -43
  788. package/dist/knowledge/spec.d.ts.map +0 -1
  789. package/dist/knowledge/spec.js +0 -228
  790. package/dist/knowledge/spec.test.d.ts +0 -2
  791. package/dist/knowledge/spec.test.d.ts.map +0 -1
  792. package/dist/llm/exporters.d.ts +0 -69
  793. package/dist/llm/exporters.d.ts.map +0 -1
  794. package/dist/llm/exporters.js +0 -1261
  795. package/dist/llm/index.d.ts +0 -13
  796. package/dist/llm/index.d.ts.map +0 -1
  797. package/dist/llm/index.js +0 -1715
  798. package/dist/llm/prompts.d.ts +0 -54
  799. package/dist/llm/prompts.d.ts.map +0 -1
  800. package/dist/llm/prompts.js +0 -1706
  801. package/dist/llm/types.d.ts +0 -213
  802. package/dist/llm/types.d.ts.map +0 -1
  803. package/dist/llm/types.js +0 -1
  804. package/dist/markdown.d.ts +0 -17
  805. package/dist/markdown.d.ts.map +0 -1
  806. package/dist/markdown.js +0 -779
  807. package/dist/migrations.d.ts +0 -49
  808. package/dist/migrations.d.ts.map +0 -1
  809. package/dist/migrations.js +0 -67
  810. package/dist/migrations.test.d.ts +0 -2
  811. package/dist/migrations.test.d.ts.map +0 -1
  812. package/dist/model-registry.d.ts +0 -10
  813. package/dist/model-registry.d.ts.map +0 -1
  814. package/dist/model-registry.js +0 -64
  815. package/dist/model-registry.test.d.ts +0 -2
  816. package/dist/model-registry.test.d.ts.map +0 -1
  817. package/dist/node/app-config/app-config.capability.js +0 -730
  818. package/dist/node/app-config/app-config.contracts.js +0 -927
  819. package/dist/node/app-config/app-config.feature.js +0 -255
  820. package/dist/node/app-config/branding.js +0 -0
  821. package/dist/node/app-config/docs/app-config.docblock.js +0 -383
  822. package/dist/node/app-config/events.js +0 -386
  823. package/dist/node/app-config/index.js +0 -3113
  824. package/dist/node/app-config/lifecycle-contracts.js +0 -1084
  825. package/dist/node/app-config/lifecycle.js +0 -0
  826. package/dist/node/app-config/runtime.js +0 -734
  827. package/dist/node/app-config/spec.js +0 -229
  828. package/dist/node/app-config/validation.js +0 -650
  829. package/dist/node/capabilities/capabilities.js +0 -217
  830. package/dist/node/capabilities/context.js +0 -101
  831. package/dist/node/capabilities/docs/capabilities.docblock.js +0 -353
  832. package/dist/node/capabilities/guards.js +0 -177
  833. package/dist/node/capabilities/index.js +0 -739
  834. package/dist/node/capabilities/meeting-recorder.js +0 -154
  835. package/dist/node/capabilities/openbanking.js +0 -166
  836. package/dist/node/capabilities/validation.js +0 -185
  837. package/dist/node/client/index.js +0 -1379
  838. package/dist/node/client/react/drivers/rn-reusables.js +0 -38
  839. package/dist/node/client/react/drivers/shadcn.js +0 -38
  840. package/dist/node/client/react/feature-render.js +0 -833
  841. package/dist/node/client/react/form-render.js +0 -681
  842. package/dist/node/client/react/index.js +0 -1376
  843. package/dist/node/contract-registry/index.js +0 -129
  844. package/dist/node/contract-registry/schemas.js +0 -129
  845. package/dist/node/contract-registry/types.js +0 -0
  846. package/dist/node/data-views/data-views.js +0 -232
  847. package/dist/node/data-views/docs/data-views.docblock.js +0 -164
  848. package/dist/node/data-views/index.js +0 -232
  849. package/dist/node/data-views/query-generator.js +0 -89
  850. package/dist/node/data-views/registry.js +0 -226
  851. package/dist/node/data-views/report/contractVerificationTable.js +0 -240
  852. package/dist/node/data-views/runtime.js +0 -108
  853. package/dist/node/data-views/spec.js +0 -38
  854. package/dist/node/data-views/types.js +0 -0
  855. package/dist/node/docs/accessibility_wcag_compliance_specs.docblock.js +0 -513
  856. package/dist/node/docs/capabilities/documentationSystem.capability.js +0 -784
  857. package/dist/node/docs/capabilities/index.js +0 -784
  858. package/dist/node/docs/commands/docsGenerate.command.js +0 -1016
  859. package/dist/node/docs/commands/docsPublish.command.js +0 -995
  860. package/dist/node/docs/commands/index.js +0 -1120
  861. package/dist/node/docs/constants.js +0 -78
  862. package/dist/node/docs/contracts.js +0 -2383
  863. package/dist/node/docs/ensure-docblocks.js +0 -264
  864. package/dist/node/docs/events/docsGenerated.event.js +0 -533
  865. package/dist/node/docs/events/docsPublished.event.js +0 -534
  866. package/dist/node/docs/events/index.js +0 -567
  867. package/dist/node/docs/forms/docsSearch.form.js +0 -676
  868. package/dist/node/docs/forms/index.js +0 -676
  869. package/dist/node/docs/index.js +0 -5491
  870. package/dist/node/docs/meta.docs.js +0 -176
  871. package/dist/node/docs/presentations/docsLayout.presentation.js +0 -1090
  872. package/dist/node/docs/presentations/docsReferencePage.presentation.js +0 -1090
  873. package/dist/node/docs/presentations/index.js +0 -1118
  874. package/dist/node/docs/presentations.js +0 -97
  875. package/dist/node/docs/queries/contractReference.query.js +0 -966
  876. package/dist/node/docs/queries/docsIndex.query.js +0 -966
  877. package/dist/node/docs/queries/index.js +0 -1041
  878. package/dist/node/docs/registry.js +0 -153
  879. package/dist/node/docs/tech/auth/better-auth-nextjs.docblock.js +0 -221
  880. package/dist/node/docs/tech/cli.docblock.js +0 -291
  881. package/dist/node/docs/tech/contracts/README.docblock.js +0 -164
  882. package/dist/node/docs/tech/contracts/migrations.docblock.js +0 -164
  883. package/dist/node/docs/tech/contracts/openapi-export.docblock.js +0 -201
  884. package/dist/node/docs/tech/contracts/openapi-import.docblock.js +0 -207
  885. package/dist/node/docs/tech/contracts/ops-to-presentation-linking.docblock.js +0 -225
  886. package/dist/node/docs/tech/contracts/overlays.docblock.js +0 -231
  887. package/dist/node/docs/tech/contracts/tests.docblock.js +0 -164
  888. package/dist/node/docs/tech/contracts/themes.docblock.js +0 -257
  889. package/dist/node/docs/tech/contracts/vertical-pocket-family-office.docblock.js +0 -269
  890. package/dist/node/docs/tech/docs-system.docblock.js +0 -264
  891. package/dist/node/docs/tech/lifecycle-stage-system.docblock.js +0 -376
  892. package/dist/node/docs/tech/llm/llm-integration.docblock.js +0 -482
  893. package/dist/node/docs/tech/mcp-endpoints.docblock.js +0 -185
  894. package/dist/node/docs/tech/presentation-runtime.docblock.js +0 -221
  895. package/dist/node/docs/tech/report-verification-table.docblock.js +0 -191
  896. package/dist/node/docs/tech/schema/README.docblock.js +0 -164
  897. package/dist/node/docs/tech/studio/learning-events.docblock.js +0 -190
  898. package/dist/node/docs/tech/studio/learning-journeys.docblock.js +0 -227
  899. package/dist/node/docs/tech/studio/platform-admin-panel.docblock.js +0 -226
  900. package/dist/node/docs/tech/studio/project-access-teams.docblock.js +0 -200
  901. package/dist/node/docs/tech/studio/project-routing.docblock.js +0 -209
  902. package/dist/node/docs/tech/studio/sandbox-unlogged.docblock.js +0 -183
  903. package/dist/node/docs/tech/studio/team-invitations.docblock.js +0 -228
  904. package/dist/node/docs/tech/studio/workspace-ops.docblock.js +0 -189
  905. package/dist/node/docs/tech/studio/workspaces.docblock.js +0 -204
  906. package/dist/node/docs/tech/telemetry-ingest.docblock.js +0 -305
  907. package/dist/node/docs/tech/vscode-extension.docblock.js +0 -241
  908. package/dist/node/docs/tech-contracts.docs.js +0 -239
  909. package/dist/node/docs/types.js +0 -0
  910. package/dist/node/docs/views/contractReference.dataView.js +0 -1047
  911. package/dist/node/docs/views/docsIndex.dataView.js +0 -1041
  912. package/dist/node/docs/views/exampleCatalog.dataView.js +0 -1025
  913. package/dist/node/docs/views/index.js +0 -1240
  914. package/dist/node/events.js +0 -228
  915. package/dist/node/examples/docs/examples.docblock.js +0 -307
  916. package/dist/node/examples/index.js +0 -604
  917. package/dist/node/examples/registry.js +0 -286
  918. package/dist/node/examples/schema.js +0 -166
  919. package/dist/node/examples/types.js +0 -77
  920. package/dist/node/examples/validation.js +0 -287
  921. package/dist/node/experiments/docs/experiments.docblock.js +0 -291
  922. package/dist/node/experiments/evaluator.js +0 -155
  923. package/dist/node/experiments/spec-resolver.js +0 -0
  924. package/dist/node/experiments/spec.js +0 -227
  925. package/dist/node/features/index.js +0 -275
  926. package/dist/node/features/install.js +0 -95
  927. package/dist/node/features/registry.js +0 -192
  928. package/dist/node/features/types.js +0 -0
  929. package/dist/node/features/validation.js +0 -48
  930. package/dist/node/forms/docs/forms.docblock.js +0 -164
  931. package/dist/node/forms/forms.js +0 -332
  932. package/dist/node/forms/index.js +0 -332
  933. package/dist/node/index.js +0 -18411
  934. package/dist/node/install.js +0 -60
  935. package/dist/node/integrations/binding.js +0 -0
  936. package/dist/node/integrations/connection.js +0 -0
  937. package/dist/node/integrations/docs/integrations.docblock.js +0 -255
  938. package/dist/node/integrations/health.js +0 -103
  939. package/dist/node/integrations/index.js +0 -3984
  940. package/dist/node/integrations/integrations.capability.js +0 -726
  941. package/dist/node/integrations/integrations.feature.js +0 -301
  942. package/dist/node/integrations/meeting-recorder/contracts/index.js +0 -1231
  943. package/dist/node/integrations/meeting-recorder/contracts/meetings.js +0 -866
  944. package/dist/node/integrations/meeting-recorder/contracts/transcripts.js +0 -933
  945. package/dist/node/integrations/meeting-recorder/contracts/webhooks.js +0 -819
  946. package/dist/node/integrations/meeting-recorder/meeting-recorder.capability.js +0 -726
  947. package/dist/node/integrations/meeting-recorder/meeting-recorder.feature.js +0 -301
  948. package/dist/node/integrations/meeting-recorder/models.js +0 -152
  949. package/dist/node/integrations/meeting-recorder/telemetry.js +0 -84
  950. package/dist/node/integrations/openbanking/contracts/accounts.js +0 -974
  951. package/dist/node/integrations/openbanking/contracts/balances.js +0 -938
  952. package/dist/node/integrations/openbanking/contracts/index.js +0 -1399
  953. package/dist/node/integrations/openbanking/contracts/transactions.js +0 -944
  954. package/dist/node/integrations/openbanking/guards.js +0 -72
  955. package/dist/node/integrations/openbanking/models.js +0 -140
  956. package/dist/node/integrations/openbanking/openbanking.capability.js +0 -726
  957. package/dist/node/integrations/openbanking/openbanking.feature.js +0 -303
  958. package/dist/node/integrations/openbanking/telemetry.js +0 -81
  959. package/dist/node/integrations/operations.js +0 -943
  960. package/dist/node/integrations/providers/analytics-reader.js +0 -0
  961. package/dist/node/integrations/providers/analytics-writer.js +0 -0
  962. package/dist/node/integrations/providers/analytics.js +0 -0
  963. package/dist/node/integrations/providers/calendar.js +0 -0
  964. package/dist/node/integrations/providers/database.js +0 -0
  965. package/dist/node/integrations/providers/elevenlabs.js +0 -331
  966. package/dist/node/integrations/providers/email.js +0 -0
  967. package/dist/node/integrations/providers/embedding.js +0 -0
  968. package/dist/node/integrations/providers/fal.js +0 -357
  969. package/dist/node/integrations/providers/fathom.js +0 -371
  970. package/dist/node/integrations/providers/fireflies.js +0 -351
  971. package/dist/node/integrations/providers/gcs-storage.js +0 -342
  972. package/dist/node/integrations/providers/gmail.js +0 -354
  973. package/dist/node/integrations/providers/google-calendar.js +0 -337
  974. package/dist/node/integrations/providers/gradium.js +0 -355
  975. package/dist/node/integrations/providers/granola.js +0 -352
  976. package/dist/node/integrations/providers/index.js +0 -2317
  977. package/dist/node/integrations/providers/jira.js +0 -353
  978. package/dist/node/integrations/providers/linear.js +0 -352
  979. package/dist/node/integrations/providers/llm.js +0 -0
  980. package/dist/node/integrations/providers/meeting-recorder.js +0 -0
  981. package/dist/node/integrations/providers/mistral.js +0 -339
  982. package/dist/node/integrations/providers/notion.js +0 -358
  983. package/dist/node/integrations/providers/openbanking.js +0 -0
  984. package/dist/node/integrations/providers/payments.js +0 -0
  985. package/dist/node/integrations/providers/posthog-llm-telemetry.js +0 -241
  986. package/dist/node/integrations/providers/posthog.js +0 -351
  987. package/dist/node/integrations/providers/postmark.js +0 -343
  988. package/dist/node/integrations/providers/powens.js +0 -369
  989. package/dist/node/integrations/providers/project-management.js +0 -0
  990. package/dist/node/integrations/providers/qdrant.js +0 -346
  991. package/dist/node/integrations/providers/registry.js +0 -2102
  992. package/dist/node/integrations/providers/sms.js +0 -0
  993. package/dist/node/integrations/providers/storage.js +0 -0
  994. package/dist/node/integrations/providers/stripe.js +0 -350
  995. package/dist/node/integrations/providers/supabase-postgres.js +0 -332
  996. package/dist/node/integrations/providers/supabase-vector.js +0 -352
  997. package/dist/node/integrations/providers/tldv.js +0 -351
  998. package/dist/node/integrations/providers/twilio-sms.js +0 -336
  999. package/dist/node/integrations/providers/vector-store.js +0 -0
  1000. package/dist/node/integrations/providers/voice.js +0 -0
  1001. package/dist/node/integrations/runtime.js +0 -239
  1002. package/dist/node/integrations/secrets/aws-secret-manager.js +0 -376
  1003. package/dist/node/integrations/secrets/env-secret-provider.js +0 -189
  1004. package/dist/node/integrations/secrets/gcp-secret-manager.js +0 -377
  1005. package/dist/node/integrations/secrets/index.js +0 -1159
  1006. package/dist/node/integrations/secrets/manager.js +0 -213
  1007. package/dist/node/integrations/secrets/provider.js +0 -104
  1008. package/dist/node/integrations/secrets/scaleway-secret-manager.js +0 -405
  1009. package/dist/node/integrations/secrets-types.js +0 -0
  1010. package/dist/node/integrations/spec.js +0 -232
  1011. package/dist/node/jobs/define-job.js +0 -41
  1012. package/dist/node/jobs/gcp-cloud-tasks.js +0 -103
  1013. package/dist/node/jobs/gcp-pubsub.js +0 -91
  1014. package/dist/node/jobs/handlers/gmail-sync-handler.js +0 -40
  1015. package/dist/node/jobs/handlers/index.js +0 -83
  1016. package/dist/node/jobs/handlers/ping-handler.js +0 -47
  1017. package/dist/node/jobs/handlers/storage-document-handler.js +0 -47
  1018. package/dist/node/jobs/index.js +0 -64
  1019. package/dist/node/jobs/memory-queue.js +0 -129
  1020. package/dist/node/jobs/queue.js +0 -55
  1021. package/dist/node/jobs/scaleway-sqs-queue.js +0 -222
  1022. package/dist/node/jsonschema.js +0 -73
  1023. package/dist/node/knowledge/binding.js +0 -0
  1024. package/dist/node/knowledge/docs/knowledge.docblock.js +0 -301
  1025. package/dist/node/knowledge/index.js +0 -468
  1026. package/dist/node/knowledge/ingestion/document-processor.js +0 -95
  1027. package/dist/node/knowledge/ingestion/embedding-service.js +0 -57
  1028. package/dist/node/knowledge/ingestion/gmail-adapter.js +0 -103
  1029. package/dist/node/knowledge/ingestion/index.js +0 -252
  1030. package/dist/node/knowledge/ingestion/storage-adapter.js +0 -62
  1031. package/dist/node/knowledge/ingestion/vector-indexer.js +0 -63
  1032. package/dist/node/knowledge/knowledge.capability.js +0 -726
  1033. package/dist/node/knowledge/knowledge.feature.js +0 -301
  1034. package/dist/node/knowledge/operations.js +0 -869
  1035. package/dist/node/knowledge/query/index.js +0 -110
  1036. package/dist/node/knowledge/query/service.js +0 -110
  1037. package/dist/node/knowledge/runtime.js +0 -91
  1038. package/dist/node/knowledge/source.js +0 -0
  1039. package/dist/node/knowledge/spaces/email-threads.js +0 -102
  1040. package/dist/node/knowledge/spaces/financial-docs.js +0 -102
  1041. package/dist/node/knowledge/spaces/financial-overview.js +0 -102
  1042. package/dist/node/knowledge/spaces/index.js +0 -273
  1043. package/dist/node/knowledge/spaces/product-canon.js +0 -102
  1044. package/dist/node/knowledge/spaces/support-faq.js +0 -103
  1045. package/dist/node/knowledge/spaces/uploaded-docs.js +0 -102
  1046. package/dist/node/knowledge/spec.js +0 -228
  1047. package/dist/node/llm/exporters.js +0 -1261
  1048. package/dist/node/llm/index.js +0 -1715
  1049. package/dist/node/llm/prompts.js +0 -1706
  1050. package/dist/node/llm/types.js +0 -0
  1051. package/dist/node/markdown.js +0 -779
  1052. package/dist/node/migrations.js +0 -67
  1053. package/dist/node/model-registry.js +0 -64
  1054. package/dist/node/onboarding-base.js +0 -810
  1055. package/dist/node/openapi.js +0 -151
  1056. package/dist/node/operations/index.js +0 -665
  1057. package/dist/node/operations/operation.js +0 -51
  1058. package/dist/node/operations/registry.js +0 -405
  1059. package/dist/node/operations/report/getContractVerificationStatus.js +0 -170
  1060. package/dist/node/operations/report/index.js +0 -305
  1061. package/dist/node/ownership.js +0 -73
  1062. package/dist/node/policy/context.js +0 -206
  1063. package/dist/node/policy/docs/policy.docblock.js +0 -313
  1064. package/dist/node/policy/engine.js +0 -325
  1065. package/dist/node/policy/guards.js +0 -387
  1066. package/dist/node/policy/index.js +0 -1313
  1067. package/dist/node/policy/opa-adapter.js +0 -110
  1068. package/dist/node/policy/registry.js +0 -221
  1069. package/dist/node/policy/spec.js +0 -0
  1070. package/dist/node/policy/validation.js +0 -391
  1071. package/dist/node/presentations/docs/presentations-conventions.docblock.js +0 -171
  1072. package/dist/node/presentations/index.js +0 -795
  1073. package/dist/node/presentations/presentations.js +0 -38
  1074. package/dist/node/presentations/registry.js +0 -221
  1075. package/dist/node/presentations/transform-engine.js +0 -600
  1076. package/dist/node/product-intent/contract-patch-intent.js +0 -68
  1077. package/dist/node/product-intent/contract-spec-patch.js +0 -75
  1078. package/dist/node/product-intent/evidence.js +0 -45
  1079. package/dist/node/product-intent/findings.js +0 -81
  1080. package/dist/node/product-intent/impact-report.js +0 -62
  1081. package/dist/node/product-intent/index.js +0 -742
  1082. package/dist/node/product-intent/insights.js +0 -63
  1083. package/dist/node/product-intent/opportunity-brief.js +0 -106
  1084. package/dist/node/product-intent/problems.js +0 -55
  1085. package/dist/node/product-intent/registry.js +0 -242
  1086. package/dist/node/product-intent/runtime.js +0 -320
  1087. package/dist/node/product-intent/spec.js +0 -425
  1088. package/dist/node/product-intent/task-pack.js +0 -69
  1089. package/dist/node/product-intent/tickets.js +0 -57
  1090. package/dist/node/product-intent/types.js +0 -378
  1091. package/dist/node/product-intent/ui-wireframe.js +0 -73
  1092. package/dist/node/prompt.js +0 -38
  1093. package/dist/node/promptRegistry.js +0 -63
  1094. package/dist/node/regenerator/adapters.js +0 -0
  1095. package/dist/node/regenerator/docs/regenerator.docblock.js +0 -164
  1096. package/dist/node/regenerator/executor.js +0 -157
  1097. package/dist/node/regenerator/index.js +0 -342
  1098. package/dist/node/regenerator/service.js +0 -183
  1099. package/dist/node/regenerator/sinks.js +0 -64
  1100. package/dist/node/regenerator/types.js +0 -0
  1101. package/dist/node/regenerator/utils.js +0 -87
  1102. package/dist/node/registry-utils.js +0 -163
  1103. package/dist/node/registry.js +0 -215
  1104. package/dist/node/resources.js +0 -83
  1105. package/dist/node/schema-to-markdown.js +0 -278
  1106. package/dist/node/serialization/index.js +0 -179
  1107. package/dist/node/serialization/serializers.js +0 -180
  1108. package/dist/node/serialization/types.js +0 -0
  1109. package/dist/node/server/contracts-adapter-hydration.js +0 -71
  1110. package/dist/node/server/contracts-adapter-input.js +0 -130
  1111. package/dist/node/server/graphql-pothos.js +0 -338
  1112. package/dist/node/server/index.js +0 -1469
  1113. package/dist/node/server/mcp/createMcpServer.js +0 -994
  1114. package/dist/node/server/mcp/mcpTypes.js +0 -0
  1115. package/dist/node/server/mcp/registerPresentations.js +0 -877
  1116. package/dist/node/server/mcp/registerPrompts.js +0 -109
  1117. package/dist/node/server/mcp/registerResources.js +0 -75
  1118. package/dist/node/server/mcp/registerTools.js +0 -86
  1119. package/dist/node/server/provider-mcp.js +0 -994
  1120. package/dist/node/server/rest-elysia.js +0 -209
  1121. package/dist/node/server/rest-express.js +0 -224
  1122. package/dist/node/server/rest-generic.js +0 -192
  1123. package/dist/node/server/rest-next-app.js +0 -200
  1124. package/dist/node/server/rest-next-mcp.js +0 -103
  1125. package/dist/node/server/rest-next-pages.js +0 -211
  1126. package/dist/node/telemetry/anomaly.js +0 -91
  1127. package/dist/node/telemetry/docs/telemetry.docblock.js +0 -164
  1128. package/dist/node/telemetry/index.js +0 -417
  1129. package/dist/node/telemetry/spec.js +0 -261
  1130. package/dist/node/telemetry/tracker.js +0 -129
  1131. package/dist/node/tests/index.js +0 -231
  1132. package/dist/node/tests/runner.js +0 -189
  1133. package/dist/node/tests/spec.js +0 -74
  1134. package/dist/node/themes.js +0 -225
  1135. package/dist/node/translations/catalog.js +0 -0
  1136. package/dist/node/translations/index.js +0 -533
  1137. package/dist/node/translations/registry.js +0 -170
  1138. package/dist/node/translations/spec.js +0 -36
  1139. package/dist/node/translations/tenant.js +0 -0
  1140. package/dist/node/translations/validation.js +0 -392
  1141. package/dist/node/types.js +0 -0
  1142. package/dist/node/versioning/index.js +0 -274
  1143. package/dist/node/versioning/refs.js +0 -99
  1144. package/dist/node/versioning/types.js +0 -55
  1145. package/dist/node/versioning/utils.js +0 -184
  1146. package/dist/node/workflow/adapters/db-adapter.js +0 -127
  1147. package/dist/node/workflow/adapters/file-adapter.js +0 -38
  1148. package/dist/node/workflow/adapters/index.js +0 -194
  1149. package/dist/node/workflow/adapters/memory-store.js +0 -93
  1150. package/dist/node/workflow/context.js +0 -247
  1151. package/dist/node/workflow/expression.js +0 -157
  1152. package/dist/node/workflow/index.js +0 -1546
  1153. package/dist/node/workflow/overview.docblock.js +0 -164
  1154. package/dist/node/workflow/runner.js +0 -532
  1155. package/dist/node/workflow/sla-monitor.js +0 -84
  1156. package/dist/node/workflow/spec.js +0 -221
  1157. package/dist/node/workflow/state.js +0 -0
  1158. package/dist/node/workflow/validation.js +0 -425
  1159. package/dist/node/workspace-config/contractsrc-schema.js +0 -344
  1160. package/dist/node/workspace-config/contractsrc-types.js +0 -0
  1161. package/dist/node/workspace-config/index.js +0 -325
  1162. package/dist/node/workspace-config/workspace-config.docblock.js +0 -188
  1163. package/dist/onboarding-base.d.ts +0 -132
  1164. package/dist/onboarding-base.d.ts.map +0 -1
  1165. package/dist/onboarding-base.js +0 -810
  1166. package/dist/openapi.d.ts +0 -34
  1167. package/dist/openapi.d.ts.map +0 -1
  1168. package/dist/openapi.js +0 -151
  1169. package/dist/operations/index.d.ts +0 -4
  1170. package/dist/operations/index.d.ts.map +0 -1
  1171. package/dist/operations/index.js +0 -665
  1172. package/dist/operations/operation.d.ts +0 -192
  1173. package/dist/operations/operation.d.ts.map +0 -1
  1174. package/dist/operations/operation.js +0 -51
  1175. package/dist/operations/registry.d.ts +0 -59
  1176. package/dist/operations/registry.d.ts.map +0 -1
  1177. package/dist/operations/registry.js +0 -405
  1178. package/dist/operations/report/getContractVerificationStatus.d.ts +0 -69
  1179. package/dist/operations/report/getContractVerificationStatus.d.ts.map +0 -1
  1180. package/dist/operations/report/getContractVerificationStatus.js +0 -170
  1181. package/dist/operations/report/getContractVerificationStatus.test.d.ts +0 -2
  1182. package/dist/operations/report/getContractVerificationStatus.test.d.ts.map +0 -1
  1183. package/dist/operations/report/index.d.ts +0 -11
  1184. package/dist/operations/report/index.d.ts.map +0 -1
  1185. package/dist/operations/report/index.js +0 -305
  1186. package/dist/operations/report/index.test.d.ts +0 -2
  1187. package/dist/operations/report/index.test.d.ts.map +0 -1
  1188. package/dist/ownership.d.ts +0 -212
  1189. package/dist/ownership.d.ts.map +0 -1
  1190. package/dist/ownership.js +0 -73
  1191. package/dist/ownership.test.d.ts +0 -2
  1192. package/dist/ownership.test.d.ts.map +0 -1
  1193. package/dist/policy/context.d.ts +0 -235
  1194. package/dist/policy/context.d.ts.map +0 -1
  1195. package/dist/policy/context.js +0 -206
  1196. package/dist/policy/context.test.d.ts +0 -2
  1197. package/dist/policy/context.test.d.ts.map +0 -1
  1198. package/dist/policy/docs/policy.docblock.d.ts +0 -3
  1199. package/dist/policy/docs/policy.docblock.d.ts.map +0 -1
  1200. package/dist/policy/docs/policy.docblock.js +0 -313
  1201. package/dist/policy/engine.d.ts +0 -37
  1202. package/dist/policy/engine.d.ts.map +0 -1
  1203. package/dist/policy/engine.js +0 -325
  1204. package/dist/policy/engine.test.d.ts +0 -2
  1205. package/dist/policy/engine.test.d.ts.map +0 -1
  1206. package/dist/policy/guards.d.ts +0 -157
  1207. package/dist/policy/guards.d.ts.map +0 -1
  1208. package/dist/policy/guards.js +0 -387
  1209. package/dist/policy/guards.test.d.ts +0 -2
  1210. package/dist/policy/guards.test.d.ts.map +0 -1
  1211. package/dist/policy/index.d.ts +0 -13
  1212. package/dist/policy/index.d.ts.map +0 -1
  1213. package/dist/policy/index.js +0 -1313
  1214. package/dist/policy/opa-adapter.d.ts +0 -42
  1215. package/dist/policy/opa-adapter.d.ts.map +0 -1
  1216. package/dist/policy/opa-adapter.js +0 -110
  1217. package/dist/policy/opa-adapter.test.d.ts +0 -2
  1218. package/dist/policy/opa-adapter.test.d.ts.map +0 -1
  1219. package/dist/policy/registry.d.ts +0 -6
  1220. package/dist/policy/registry.d.ts.map +0 -1
  1221. package/dist/policy/registry.js +0 -221
  1222. package/dist/policy/spec.d.ts +0 -103
  1223. package/dist/policy/spec.d.ts.map +0 -1
  1224. package/dist/policy/spec.js +0 -1
  1225. package/dist/policy/validation.d.ts +0 -85
  1226. package/dist/policy/validation.d.ts.map +0 -1
  1227. package/dist/policy/validation.js +0 -391
  1228. package/dist/policy/validation.test.d.ts +0 -2
  1229. package/dist/policy/validation.test.d.ts.map +0 -1
  1230. package/dist/presentations/docs/presentations-conventions.docblock.d.ts +0 -3
  1231. package/dist/presentations/docs/presentations-conventions.docblock.d.ts.map +0 -1
  1232. package/dist/presentations/docs/presentations-conventions.docblock.js +0 -171
  1233. package/dist/presentations/index.d.ts +0 -4
  1234. package/dist/presentations/index.d.ts.map +0 -1
  1235. package/dist/presentations/index.js +0 -795
  1236. package/dist/presentations/presentations.d.ts +0 -53
  1237. package/dist/presentations/presentations.d.ts.map +0 -1
  1238. package/dist/presentations/presentations.js +0 -38
  1239. package/dist/presentations/registry.d.ts +0 -7
  1240. package/dist/presentations/registry.d.ts.map +0 -1
  1241. package/dist/presentations/registry.js +0 -221
  1242. package/dist/presentations/transform-engine.d.ts +0 -63
  1243. package/dist/presentations/transform-engine.d.ts.map +0 -1
  1244. package/dist/presentations/transform-engine.js +0 -600
  1245. package/dist/presentations/transform-engine.test.d.ts +0 -2
  1246. package/dist/presentations/transform-engine.test.d.ts.map +0 -1
  1247. package/dist/product-intent/contract-patch-intent.d.ts +0 -101
  1248. package/dist/product-intent/contract-patch-intent.d.ts.map +0 -1
  1249. package/dist/product-intent/contract-patch-intent.js +0 -68
  1250. package/dist/product-intent/contract-spec-patch.d.ts +0 -87
  1251. package/dist/product-intent/contract-spec-patch.d.ts.map +0 -1
  1252. package/dist/product-intent/contract-spec-patch.js +0 -75
  1253. package/dist/product-intent/evidence.d.ts +0 -15
  1254. package/dist/product-intent/evidence.d.ts.map +0 -1
  1255. package/dist/product-intent/evidence.js +0 -45
  1256. package/dist/product-intent/findings.d.ts +0 -58
  1257. package/dist/product-intent/findings.d.ts.map +0 -1
  1258. package/dist/product-intent/findings.js +0 -81
  1259. package/dist/product-intent/impact-report.d.ts +0 -58
  1260. package/dist/product-intent/impact-report.d.ts.map +0 -1
  1261. package/dist/product-intent/impact-report.js +0 -62
  1262. package/dist/product-intent/index.d.ts +0 -14
  1263. package/dist/product-intent/index.d.ts.map +0 -1
  1264. package/dist/product-intent/index.js +0 -742
  1265. package/dist/product-intent/insights.d.ts +0 -63
  1266. package/dist/product-intent/insights.d.ts.map +0 -1
  1267. package/dist/product-intent/insights.js +0 -63
  1268. package/dist/product-intent/opportunity-brief.d.ts +0 -193
  1269. package/dist/product-intent/opportunity-brief.d.ts.map +0 -1
  1270. package/dist/product-intent/opportunity-brief.js +0 -106
  1271. package/dist/product-intent/problems.d.ts +0 -60
  1272. package/dist/product-intent/problems.d.ts.map +0 -1
  1273. package/dist/product-intent/problems.js +0 -55
  1274. package/dist/product-intent/registry.d.ts +0 -29
  1275. package/dist/product-intent/registry.d.ts.map +0 -1
  1276. package/dist/product-intent/registry.js +0 -242
  1277. package/dist/product-intent/registry.test.d.ts +0 -2
  1278. package/dist/product-intent/registry.test.d.ts.map +0 -1
  1279. package/dist/product-intent/runtime.d.ts +0 -93
  1280. package/dist/product-intent/runtime.d.ts.map +0 -1
  1281. package/dist/product-intent/runtime.js +0 -320
  1282. package/dist/product-intent/runtime.test.d.ts +0 -2
  1283. package/dist/product-intent/runtime.test.d.ts.map +0 -1
  1284. package/dist/product-intent/spec.d.ts +0 -665
  1285. package/dist/product-intent/spec.d.ts.map +0 -1
  1286. package/dist/product-intent/spec.js +0 -425
  1287. package/dist/product-intent/task-pack.d.ts +0 -99
  1288. package/dist/product-intent/task-pack.d.ts.map +0 -1
  1289. package/dist/product-intent/task-pack.js +0 -69
  1290. package/dist/product-intent/tickets.d.ts +0 -68
  1291. package/dist/product-intent/tickets.d.ts.map +0 -1
  1292. package/dist/product-intent/tickets.js +0 -57
  1293. package/dist/product-intent/types.d.ts +0 -12
  1294. package/dist/product-intent/types.d.ts.map +0 -1
  1295. package/dist/product-intent/types.js +0 -378
  1296. package/dist/product-intent/ui-wireframe.d.ts +0 -101
  1297. package/dist/product-intent/ui-wireframe.d.ts.map +0 -1
  1298. package/dist/product-intent/ui-wireframe.js +0 -73
  1299. package/dist/prompt.d.ts +0 -50
  1300. package/dist/prompt.d.ts.map +0 -1
  1301. package/dist/prompt.js +0 -38
  1302. package/dist/prompt.test.d.ts +0 -2
  1303. package/dist/prompt.test.d.ts.map +0 -1
  1304. package/dist/promptRegistry.d.ts +0 -12
  1305. package/dist/promptRegistry.d.ts.map +0 -1
  1306. package/dist/promptRegistry.js +0 -63
  1307. package/dist/promptRegistry.test.d.ts +0 -2
  1308. package/dist/promptRegistry.test.d.ts.map +0 -1
  1309. package/dist/regenerator/adapters.d.ts +0 -16
  1310. package/dist/regenerator/adapters.d.ts.map +0 -1
  1311. package/dist/regenerator/adapters.js +0 -1
  1312. package/dist/regenerator/docs/regenerator.docblock.d.ts +0 -3
  1313. package/dist/regenerator/docs/regenerator.docblock.d.ts.map +0 -1
  1314. package/dist/regenerator/docs/regenerator.docblock.js +0 -164
  1315. package/dist/regenerator/executor.d.ts +0 -67
  1316. package/dist/regenerator/executor.d.ts.map +0 -1
  1317. package/dist/regenerator/executor.js +0 -157
  1318. package/dist/regenerator/executor.test.d.ts +0 -2
  1319. package/dist/regenerator/executor.test.d.ts.map +0 -1
  1320. package/dist/regenerator/index.d.ts +0 -7
  1321. package/dist/regenerator/index.d.ts.map +0 -1
  1322. package/dist/regenerator/index.js +0 -342
  1323. package/dist/regenerator/service.d.ts +0 -30
  1324. package/dist/regenerator/service.d.ts.map +0 -1
  1325. package/dist/regenerator/service.js +0 -183
  1326. package/dist/regenerator/service.test.d.ts +0 -2
  1327. package/dist/regenerator/service.test.d.ts.map +0 -1
  1328. package/dist/regenerator/sinks.d.ts +0 -24
  1329. package/dist/regenerator/sinks.d.ts.map +0 -1
  1330. package/dist/regenerator/sinks.js +0 -64
  1331. package/dist/regenerator/sinks.test.d.ts +0 -2
  1332. package/dist/regenerator/sinks.test.d.ts.map +0 -1
  1333. package/dist/regenerator/types.d.ts +0 -104
  1334. package/dist/regenerator/types.d.ts.map +0 -1
  1335. package/dist/regenerator/types.js +0 -1
  1336. package/dist/regenerator/utils.d.ts +0 -7
  1337. package/dist/regenerator/utils.d.ts.map +0 -1
  1338. package/dist/regenerator/utils.js +0 -87
  1339. package/dist/registry-utils.d.ts +0 -106
  1340. package/dist/registry-utils.d.ts.map +0 -1
  1341. package/dist/registry-utils.js +0 -163
  1342. package/dist/registry-utils.test.d.ts +0 -2
  1343. package/dist/registry-utils.test.d.ts.map +0 -1
  1344. package/dist/registry.d.ts +0 -28
  1345. package/dist/registry.d.ts.map +0 -1
  1346. package/dist/registry.js +0 -215
  1347. package/dist/resources.d.ts +0 -61
  1348. package/dist/resources.d.ts.map +0 -1
  1349. package/dist/resources.js +0 -83
  1350. package/dist/schema-to-markdown.d.ts +0 -57
  1351. package/dist/schema-to-markdown.d.ts.map +0 -1
  1352. package/dist/schema-to-markdown.js +0 -278
  1353. package/dist/serialization/index.d.ts +0 -11
  1354. package/dist/serialization/index.d.ts.map +0 -1
  1355. package/dist/serialization/index.js +0 -179
  1356. package/dist/serialization/serializers.d.ts +0 -36
  1357. package/dist/serialization/serializers.d.ts.map +0 -1
  1358. package/dist/serialization/serializers.js +0 -180
  1359. package/dist/serialization/types.d.ts +0 -101
  1360. package/dist/serialization/types.d.ts.map +0 -1
  1361. package/dist/serialization/types.js +0 -1
  1362. package/dist/server/contracts-adapter-hydration.d.ts +0 -12
  1363. package/dist/server/contracts-adapter-hydration.d.ts.map +0 -1
  1364. package/dist/server/contracts-adapter-hydration.js +0 -71
  1365. package/dist/server/contracts-adapter-input.d.ts +0 -6
  1366. package/dist/server/contracts-adapter-input.d.ts.map +0 -1
  1367. package/dist/server/contracts-adapter-input.js +0 -130
  1368. package/dist/server/graphql-pothos.d.ts +0 -27
  1369. package/dist/server/graphql-pothos.d.ts.map +0 -1
  1370. package/dist/server/graphql-pothos.js +0 -338
  1371. package/dist/server/index.d.ts +0 -8
  1372. package/dist/server/index.d.ts.map +0 -1
  1373. package/dist/server/index.js +0 -1469
  1374. package/dist/server/mcp/createMcpServer.d.ts +0 -11
  1375. package/dist/server/mcp/createMcpServer.d.ts.map +0 -1
  1376. package/dist/server/mcp/createMcpServer.js +0 -994
  1377. package/dist/server/mcp/mcpTypes.d.ts +0 -23
  1378. package/dist/server/mcp/mcpTypes.d.ts.map +0 -1
  1379. package/dist/server/mcp/mcpTypes.js +0 -1
  1380. package/dist/server/mcp/registerPresentations.d.ts +0 -4
  1381. package/dist/server/mcp/registerPresentations.d.ts.map +0 -1
  1382. package/dist/server/mcp/registerPresentations.js +0 -877
  1383. package/dist/server/mcp/registerPrompts.d.ts +0 -5
  1384. package/dist/server/mcp/registerPrompts.d.ts.map +0 -1
  1385. package/dist/server/mcp/registerPrompts.js +0 -109
  1386. package/dist/server/mcp/registerResources.d.ts +0 -5
  1387. package/dist/server/mcp/registerResources.d.ts.map +0 -1
  1388. package/dist/server/mcp/registerResources.js +0 -75
  1389. package/dist/server/mcp/registerTools.d.ts +0 -5
  1390. package/dist/server/mcp/registerTools.d.ts.map +0 -1
  1391. package/dist/server/mcp/registerTools.js +0 -86
  1392. package/dist/server/provider-mcp.d.ts +0 -2
  1393. package/dist/server/provider-mcp.d.ts.map +0 -1
  1394. package/dist/server/provider-mcp.js +0 -994
  1395. package/dist/server/provider-mcp.test.d.ts +0 -2
  1396. package/dist/server/provider-mcp.test.d.ts.map +0 -1
  1397. package/dist/server/rest-elysia.d.ts +0 -37
  1398. package/dist/server/rest-elysia.d.ts.map +0 -1
  1399. package/dist/server/rest-elysia.js +0 -209
  1400. package/dist/server/rest-express.d.ts +0 -12
  1401. package/dist/server/rest-express.d.ts.map +0 -1
  1402. package/dist/server/rest-express.js +0 -224
  1403. package/dist/server/rest-generic.d.ts +0 -29
  1404. package/dist/server/rest-generic.d.ts.map +0 -1
  1405. package/dist/server/rest-generic.js +0 -192
  1406. package/dist/server/rest-next-app.d.ts +0 -31
  1407. package/dist/server/rest-next-app.d.ts.map +0 -1
  1408. package/dist/server/rest-next-app.js +0 -200
  1409. package/dist/server/rest-next-mcp.d.ts +0 -8
  1410. package/dist/server/rest-next-mcp.d.ts.map +0 -1
  1411. package/dist/server/rest-next-mcp.js +0 -103
  1412. package/dist/server/rest-next-pages.d.ts +0 -6
  1413. package/dist/server/rest-next-pages.d.ts.map +0 -1
  1414. package/dist/server/rest-next-pages.js +0 -211
  1415. package/dist/telemetry/anomaly.d.ts +0 -24
  1416. package/dist/telemetry/anomaly.d.ts.map +0 -1
  1417. package/dist/telemetry/anomaly.js +0 -91
  1418. package/dist/telemetry/anomaly.test.d.ts +0 -2
  1419. package/dist/telemetry/anomaly.test.d.ts.map +0 -1
  1420. package/dist/telemetry/docs/telemetry.docblock.d.ts +0 -3
  1421. package/dist/telemetry/docs/telemetry.docblock.d.ts.map +0 -1
  1422. package/dist/telemetry/docs/telemetry.docblock.js +0 -164
  1423. package/dist/telemetry/index.d.ts +0 -4
  1424. package/dist/telemetry/index.d.ts.map +0 -1
  1425. package/dist/telemetry/index.js +0 -417
  1426. package/dist/telemetry/spec.d.ts +0 -88
  1427. package/dist/telemetry/spec.d.ts.map +0 -1
  1428. package/dist/telemetry/spec.js +0 -261
  1429. package/dist/telemetry/spec.test.d.ts +0 -2
  1430. package/dist/telemetry/spec.test.d.ts.map +0 -1
  1431. package/dist/telemetry/tracker.d.ts +0 -49
  1432. package/dist/telemetry/tracker.d.ts.map +0 -1
  1433. package/dist/telemetry/tracker.js +0 -129
  1434. package/dist/telemetry/tracker.test.d.ts +0 -2
  1435. package/dist/telemetry/tracker.test.d.ts.map +0 -1
  1436. package/dist/tests/index.d.ts +0 -3
  1437. package/dist/tests/index.d.ts.map +0 -1
  1438. package/dist/tests/index.js +0 -231
  1439. package/dist/tests/runner.d.ts +0 -39
  1440. package/dist/tests/runner.d.ts.map +0 -1
  1441. package/dist/tests/runner.js +0 -189
  1442. package/dist/tests/runner.test.d.ts +0 -2
  1443. package/dist/tests/runner.test.d.ts.map +0 -1
  1444. package/dist/tests/spec.d.ts +0 -83
  1445. package/dist/tests/spec.d.ts.map +0 -1
  1446. package/dist/tests/spec.js +0 -74
  1447. package/dist/tests/spec.test.d.ts +0 -2
  1448. package/dist/tests/spec.test.d.ts.map +0 -1
  1449. package/dist/themes.d.ts +0 -51
  1450. package/dist/themes.d.ts.map +0 -1
  1451. package/dist/themes.js +0 -225
  1452. package/dist/themes.test.d.ts +0 -2
  1453. package/dist/themes.test.d.ts.map +0 -1
  1454. package/dist/translations/catalog.d.ts +0 -26
  1455. package/dist/translations/catalog.d.ts.map +0 -1
  1456. package/dist/translations/catalog.js +0 -1
  1457. package/dist/translations/index.d.ts +0 -45
  1458. package/dist/translations/index.d.ts.map +0 -1
  1459. package/dist/translations/index.js +0 -533
  1460. package/dist/translations/registry.d.ts +0 -173
  1461. package/dist/translations/registry.d.ts.map +0 -1
  1462. package/dist/translations/registry.js +0 -170
  1463. package/dist/translations/registry.test.d.ts +0 -2
  1464. package/dist/translations/registry.test.d.ts.map +0 -1
  1465. package/dist/translations/spec.d.ts +0 -154
  1466. package/dist/translations/spec.d.ts.map +0 -1
  1467. package/dist/translations/spec.js +0 -36
  1468. package/dist/translations/spec.test.d.ts +0 -2
  1469. package/dist/translations/spec.test.d.ts.map +0 -1
  1470. package/dist/translations/tenant.d.ts +0 -12
  1471. package/dist/translations/tenant.d.ts.map +0 -1
  1472. package/dist/translations/tenant.js +0 -1
  1473. package/dist/translations/validation.d.ts +0 -107
  1474. package/dist/translations/validation.d.ts.map +0 -1
  1475. package/dist/translations/validation.js +0 -392
  1476. package/dist/translations/validation.test.d.ts +0 -2
  1477. package/dist/translations/validation.test.d.ts.map +0 -1
  1478. package/dist/types.d.ts +0 -213
  1479. package/dist/types.d.ts.map +0 -1
  1480. package/dist/types.js +0 -1
  1481. package/dist/versioning/index.d.ts +0 -10
  1482. package/dist/versioning/index.d.ts.map +0 -1
  1483. package/dist/versioning/index.js +0 -274
  1484. package/dist/versioning/refs.d.ts +0 -177
  1485. package/dist/versioning/refs.d.ts.map +0 -1
  1486. package/dist/versioning/refs.js +0 -99
  1487. package/dist/versioning/refs.test.d.ts +0 -5
  1488. package/dist/versioning/refs.test.d.ts.map +0 -1
  1489. package/dist/versioning/types.d.ts +0 -131
  1490. package/dist/versioning/types.d.ts.map +0 -1
  1491. package/dist/versioning/types.js +0 -55
  1492. package/dist/versioning/utils.d.ts +0 -94
  1493. package/dist/versioning/utils.d.ts.map +0 -1
  1494. package/dist/versioning/utils.js +0 -184
  1495. package/dist/versioning/utils.test.d.ts +0 -5
  1496. package/dist/versioning/utils.test.d.ts.map +0 -1
  1497. package/dist/workflow/adapters/db-adapter.d.ts +0 -44
  1498. package/dist/workflow/adapters/db-adapter.d.ts.map +0 -1
  1499. package/dist/workflow/adapters/db-adapter.js +0 -127
  1500. package/dist/workflow/adapters/file-adapter.d.ts +0 -11
  1501. package/dist/workflow/adapters/file-adapter.d.ts.map +0 -1
  1502. package/dist/workflow/adapters/file-adapter.js +0 -38
  1503. package/dist/workflow/adapters/index.d.ts +0 -4
  1504. package/dist/workflow/adapters/index.d.ts.map +0 -1
  1505. package/dist/workflow/adapters/index.js +0 -194
  1506. package/dist/workflow/adapters/memory-store.d.ts +0 -14
  1507. package/dist/workflow/adapters/memory-store.d.ts.map +0 -1
  1508. package/dist/workflow/adapters/memory-store.js +0 -93
  1509. package/dist/workflow/context.d.ts +0 -218
  1510. package/dist/workflow/context.d.ts.map +0 -1
  1511. package/dist/workflow/context.js +0 -247
  1512. package/dist/workflow/context.test.d.ts +0 -2
  1513. package/dist/workflow/context.test.d.ts.map +0 -1
  1514. package/dist/workflow/expression.d.ts +0 -7
  1515. package/dist/workflow/expression.d.ts.map +0 -1
  1516. package/dist/workflow/expression.js +0 -157
  1517. package/dist/workflow/expression.test.d.ts +0 -2
  1518. package/dist/workflow/expression.test.d.ts.map +0 -1
  1519. package/dist/workflow/index.d.ts +0 -14
  1520. package/dist/workflow/index.d.ts.map +0 -1
  1521. package/dist/workflow/index.js +0 -1546
  1522. package/dist/workflow/overview.docblock.d.ts +0 -3
  1523. package/dist/workflow/overview.docblock.d.ts.map +0 -1
  1524. package/dist/workflow/overview.docblock.js +0 -164
  1525. package/dist/workflow/runner.d.ts +0 -72
  1526. package/dist/workflow/runner.d.ts.map +0 -1
  1527. package/dist/workflow/runner.js +0 -532
  1528. package/dist/workflow/runner.test.d.ts +0 -2
  1529. package/dist/workflow/runner.test.d.ts.map +0 -1
  1530. package/dist/workflow/sla-monitor.d.ts +0 -17
  1531. package/dist/workflow/sla-monitor.d.ts.map +0 -1
  1532. package/dist/workflow/sla-monitor.js +0 -84
  1533. package/dist/workflow/spec.d.ts +0 -82
  1534. package/dist/workflow/spec.d.ts.map +0 -1
  1535. package/dist/workflow/spec.js +0 -221
  1536. package/dist/workflow/state.d.ts +0 -32
  1537. package/dist/workflow/state.d.ts.map +0 -1
  1538. package/dist/workflow/state.js +0 -1
  1539. package/dist/workflow/validation.d.ts +0 -88
  1540. package/dist/workflow/validation.d.ts.map +0 -1
  1541. package/dist/workflow/validation.js +0 -425
  1542. package/dist/workflow/validation.test.d.ts +0 -2
  1543. package/dist/workflow/validation.test.d.ts.map +0 -1
  1544. package/dist/workspace-config/contractsrc-schema.d.ts +0 -145
  1545. package/dist/workspace-config/contractsrc-schema.d.ts.map +0 -1
  1546. package/dist/workspace-config/contractsrc-schema.js +0 -344
  1547. package/dist/workspace-config/contractsrc-schema.test.d.ts +0 -2
  1548. package/dist/workspace-config/contractsrc-schema.test.d.ts.map +0 -1
  1549. package/dist/workspace-config/contractsrc-types.d.ts +0 -343
  1550. package/dist/workspace-config/contractsrc-types.d.ts.map +0 -1
  1551. package/dist/workspace-config/contractsrc-types.js +0 -1
  1552. package/dist/workspace-config/index.d.ts +0 -6
  1553. package/dist/workspace-config/index.d.ts.map +0 -1
  1554. package/dist/workspace-config/index.js +0 -325
  1555. package/dist/workspace-config/workspace-config.docblock.d.ts +0 -3
  1556. package/dist/workspace-config/workspace-config.docblock.d.ts.map +0 -1
  1557. package/dist/workspace-config/workspace-config.docblock.js +0 -188
@@ -1,533 +0,0 @@
1
- import { createRequire } from "node:module";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __moduleCache = /* @__PURE__ */ new WeakMap;
7
- var __toCommonJS = (from) => {
8
- var entry = __moduleCache.get(from), desc;
9
- if (entry)
10
- return entry;
11
- entry = __defProp({}, "__esModule", { value: true });
12
- if (from && typeof from === "object" || typeof from === "function")
13
- __getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- }));
17
- __moduleCache.set(from, entry);
18
- return entry;
19
- };
20
- var __export = (target, all) => {
21
- for (var name in all)
22
- __defProp(target, name, {
23
- get: all[name],
24
- enumerable: true,
25
- configurable: true,
26
- set: (newValue) => all[name] = () => newValue
27
- });
28
- };
29
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
30
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
31
- // src/translations/spec.ts
32
- var defineTranslation = (spec) => spec;
33
-
34
- // src/translations/registry.ts
35
- class TranslationRegistry {
36
- specs = new Map;
37
- latestByLocale = new Map;
38
- locales = new Set;
39
- domains = new Set;
40
- constructor(items) {
41
- if (items) {
42
- for (const spec of items) {
43
- this.register(spec);
44
- }
45
- }
46
- }
47
- register(spec) {
48
- const fullKey = this.makeKey(spec.meta.key, spec.meta.version, spec.locale);
49
- this.specs.set(fullKey, spec);
50
- const localeKey = `${spec.meta.key}:${spec.locale}`;
51
- const existing = this.latestByLocale.get(localeKey);
52
- if (!existing || this.isNewerVersion(spec.meta.version, existing.meta.version)) {
53
- this.latestByLocale.set(localeKey, spec);
54
- }
55
- this.locales.add(spec.locale);
56
- this.domains.add(spec.meta.domain);
57
- }
58
- get(key, version, locale) {
59
- return this.specs.get(this.makeKey(key, version, locale));
60
- }
61
- getLatest(key, locale) {
62
- return this.latestByLocale.get(`${key}:${locale}`);
63
- }
64
- getMessage(specKey, messageKey, locale, version) {
65
- const spec = version ? this.get(specKey, version, locale) : this.getLatest(specKey, locale);
66
- if (!spec)
67
- return;
68
- return spec.messages[messageKey];
69
- }
70
- getWithFallback(specKey, messageKey, locale, fallbackLocale, version) {
71
- const spec = version ? this.get(specKey, version, locale) : this.getLatest(specKey, locale);
72
- if (spec) {
73
- const message = spec.messages[messageKey];
74
- if (message) {
75
- return { spec, message, locale, fromFallback: false };
76
- }
77
- fallbackLocale = fallbackLocale ?? spec.fallback;
78
- }
79
- if (fallbackLocale && fallbackLocale !== locale) {
80
- const fallbackSpec = version ? this.get(specKey, version, fallbackLocale) : this.getLatest(specKey, fallbackLocale);
81
- if (fallbackSpec) {
82
- const message = fallbackSpec.messages[messageKey];
83
- if (message) {
84
- return {
85
- spec: fallbackSpec,
86
- message,
87
- locale: fallbackLocale,
88
- fromFallback: true
89
- };
90
- }
91
- }
92
- }
93
- return;
94
- }
95
- getValue(specKey, messageKey, locale, fallback) {
96
- const result = this.getWithFallback(specKey, messageKey, locale);
97
- return result?.message.value ?? fallback ?? messageKey;
98
- }
99
- listLocales(specKey) {
100
- const locales = [];
101
- for (const [key, spec] of this.specs.entries()) {
102
- if (key.startsWith(`${specKey}:`)) {
103
- if (!locales.includes(spec.locale)) {
104
- locales.push(spec.locale);
105
- }
106
- }
107
- }
108
- return locales;
109
- }
110
- list() {
111
- return [...this.specs.values()];
112
- }
113
- listByLocale(locale) {
114
- return [...this.specs.values()].filter((s) => s.locale === locale);
115
- }
116
- listByDomain(domain) {
117
- return [...this.specs.values()].filter((s) => s.meta.domain === domain);
118
- }
119
- has(key, locale, version) {
120
- if (version) {
121
- return this.specs.has(this.makeKey(key, version, locale));
122
- }
123
- return this.latestByLocale.has(`${key}:${locale}`);
124
- }
125
- getLocales() {
126
- return this.locales;
127
- }
128
- getDomains() {
129
- return this.domains;
130
- }
131
- getStats() {
132
- let totalMessages = 0;
133
- for (const spec of this.specs.values()) {
134
- totalMessages += Object.keys(spec.messages).length;
135
- }
136
- return {
137
- totalSpecs: this.specs.size,
138
- locales: [...this.locales],
139
- domains: [...this.domains],
140
- totalMessages
141
- };
142
- }
143
- clear() {
144
- this.specs.clear();
145
- this.latestByLocale.clear();
146
- this.locales.clear();
147
- this.domains.clear();
148
- }
149
- makeKey(key, version, locale) {
150
- return `${key}:${version}:${locale}`;
151
- }
152
- isNewerVersion(a, b) {
153
- const parseVersion = (v) => {
154
- const parts = v.split(".").map(Number);
155
- return {
156
- major: parts[0] ?? 0,
157
- minor: parts[1] ?? 0,
158
- patch: parts[2] ?? 0
159
- };
160
- };
161
- const va = parseVersion(a);
162
- const vb = parseVersion(b);
163
- if (va.major !== vb.major)
164
- return va.major > vb.major;
165
- if (va.minor !== vb.minor)
166
- return va.minor > vb.minor;
167
- return va.patch > vb.patch;
168
- }
169
- }
170
-
171
- // src/translations/validation.ts
172
- function validateTranslationSpec(spec) {
173
- const issues = [];
174
- validateMeta(spec, issues);
175
- validateLocale(spec, issues);
176
- validateMessages(spec, issues);
177
- validatePluralRules(spec, issues);
178
- return {
179
- valid: issues.filter((i) => i.level === "error").length === 0,
180
- issues
181
- };
182
- }
183
- function validateMeta(spec, issues) {
184
- const { meta } = spec;
185
- if (!meta.key?.trim()) {
186
- issues.push({
187
- level: "error",
188
- message: "Translation spec must have a non-empty key",
189
- path: "meta.key"
190
- });
191
- }
192
- if (!meta.version?.trim()) {
193
- issues.push({
194
- level: "error",
195
- message: "Translation spec must have a non-empty version",
196
- path: "meta.version"
197
- });
198
- }
199
- if (!meta.domain?.trim()) {
200
- issues.push({
201
- level: "error",
202
- message: "Translation spec must have a non-empty domain",
203
- path: "meta.domain"
204
- });
205
- }
206
- if (!meta.owners?.length) {
207
- issues.push({
208
- level: "warning",
209
- message: "Translation spec should specify owners",
210
- path: "meta.owners"
211
- });
212
- }
213
- }
214
- function validateLocale(spec, issues) {
215
- if (!spec.locale?.trim()) {
216
- issues.push({
217
- level: "error",
218
- message: "Translation spec must specify a locale",
219
- path: "locale"
220
- });
221
- } else if (!isValidLocaleFormat(spec.locale)) {
222
- issues.push({
223
- level: "warning",
224
- message: `Locale "${spec.locale}" may not be a valid ISO 639-1 code`,
225
- path: "locale"
226
- });
227
- }
228
- if (spec.fallback && !isValidLocaleFormat(spec.fallback)) {
229
- issues.push({
230
- level: "warning",
231
- message: `Fallback locale "${spec.fallback}" may not be a valid ISO 639-1 code`,
232
- path: "fallback"
233
- });
234
- }
235
- if (spec.fallback === spec.locale) {
236
- issues.push({
237
- level: "warning",
238
- message: "Fallback locale is the same as primary locale",
239
- path: "fallback"
240
- });
241
- }
242
- }
243
- function validateMessages(spec, issues) {
244
- const { messages } = spec;
245
- if (!messages || Object.keys(messages).length === 0) {
246
- issues.push({
247
- level: "warning",
248
- message: "Translation spec has no messages",
249
- path: "messages"
250
- });
251
- return;
252
- }
253
- for (const [key, message] of Object.entries(messages)) {
254
- const path = `messages.${key}`;
255
- if (!message.value?.trim()) {
256
- issues.push({
257
- level: "error",
258
- message: `Message "${key}" has an empty value`,
259
- path: `${path}.value`
260
- });
261
- }
262
- const valueParams = extractPlaceholders(message.value);
263
- const declaredPlaceholders = message.placeholders ?? [];
264
- for (const placeholder of declaredPlaceholders) {
265
- if (!valueParams.includes(placeholder.name)) {
266
- issues.push({
267
- level: "warning",
268
- message: `Placeholder "${placeholder.name}" is defined but not used in message "${key}"`,
269
- path: `${path}.placeholders`
270
- });
271
- }
272
- }
273
- if (message.placeholders !== undefined) {
274
- for (const param of valueParams) {
275
- const declared = declaredPlaceholders.find((p) => p.name === param);
276
- if (!declared) {
277
- issues.push({
278
- level: "info",
279
- message: `Placeholder "{${param}}" used in message "${key}" but not declared`,
280
- path: `${path}.placeholders`
281
- });
282
- }
283
- }
284
- }
285
- const icuResult = validateICUFormat(message.value);
286
- if (!icuResult.valid) {
287
- issues.push({
288
- level: "error",
289
- message: `Message "${key}" has invalid ICU format: ${icuResult.error}`,
290
- path: `${path}.value`
291
- });
292
- }
293
- if (message.variants?.length) {
294
- const seenVariants = new Set;
295
- for (const variant of message.variants) {
296
- const variantKey = `${variant.type}:${variant.key}`;
297
- if (seenVariants.has(variantKey)) {
298
- issues.push({
299
- level: "warning",
300
- message: `Duplicate variant "${variantKey}" in message "${key}"`,
301
- path: `${path}.variants`
302
- });
303
- }
304
- seenVariants.add(variantKey);
305
- if (!variant.value?.trim()) {
306
- issues.push({
307
- level: "error",
308
- message: `Variant "${variantKey}" has an empty value in message "${key}"`,
309
- path: `${path}.variants`
310
- });
311
- }
312
- }
313
- }
314
- if (message.maxLength !== undefined) {
315
- if (message.maxLength <= 0) {
316
- issues.push({
317
- level: "error",
318
- message: `Message "${key}" has invalid maxLength (must be positive)`,
319
- path: `${path}.maxLength`
320
- });
321
- } else if (message.value.length > message.maxLength) {
322
- issues.push({
323
- level: "warning",
324
- message: `Message "${key}" value exceeds maxLength (${message.value.length} > ${message.maxLength})`,
325
- path: `${path}.value`
326
- });
327
- }
328
- }
329
- }
330
- }
331
- function validatePluralRules(spec, issues) {
332
- if (!spec.pluralRules?.length)
333
- return;
334
- for (let i = 0;i < spec.pluralRules.length; i++) {
335
- const rule = spec.pluralRules[i];
336
- if (!rule)
337
- continue;
338
- const path = `pluralRules[${i}]`;
339
- if (!rule.variable?.trim()) {
340
- issues.push({
341
- level: "error",
342
- message: "Plural rule must specify a variable name",
343
- path: `${path}.variable`
344
- });
345
- }
346
- if (!rule.rules?.length) {
347
- issues.push({
348
- level: "error",
349
- message: "Plural rule must have at least one category",
350
- path: `${path}.rules`
351
- });
352
- } else {
353
- const hasOther = rule.rules.some((r) => r.category === "other");
354
- if (!hasOther) {
355
- issues.push({
356
- level: "error",
357
- message: `Plural rule "${rule.variable}" must have an "other" category`,
358
- path: `${path}.rules`
359
- });
360
- }
361
- }
362
- }
363
- }
364
- function validateICUFormat(message) {
365
- const placeholders = [];
366
- const plurals = [];
367
- const selects = [];
368
- let braceDepth = 0;
369
- let currentPlaceholder = "";
370
- let inPlaceholder = false;
371
- try {
372
- for (let i = 0;i < message.length; i++) {
373
- const char = message[i];
374
- const prevChar = i > 0 ? message[i - 1] : "";
375
- if (char === "'" && i + 1 < message.length) {
376
- const nextChar = message[i + 1];
377
- if (nextChar === "{" || nextChar === "}") {
378
- i++;
379
- continue;
380
- }
381
- }
382
- if (char === "{") {
383
- if (prevChar !== "'") {
384
- braceDepth++;
385
- if (braceDepth === 1) {
386
- inPlaceholder = true;
387
- currentPlaceholder = "";
388
- }
389
- }
390
- } else if (char === "}") {
391
- if (prevChar !== "'") {
392
- braceDepth--;
393
- if (braceDepth === 0 && inPlaceholder) {
394
- const placeholder = currentPlaceholder.trim();
395
- processPlaceholder(placeholder, placeholders, plurals, selects);
396
- inPlaceholder = false;
397
- }
398
- if (braceDepth < 0) {
399
- return {
400
- valid: false,
401
- error: "Unbalanced closing brace",
402
- placeholders: [],
403
- plurals: [],
404
- selects: []
405
- };
406
- }
407
- }
408
- } else if (inPlaceholder) {
409
- currentPlaceholder += char;
410
- }
411
- }
412
- if (braceDepth !== 0) {
413
- return {
414
- valid: false,
415
- error: "Unbalanced opening brace",
416
- placeholders: [],
417
- plurals: [],
418
- selects: []
419
- };
420
- }
421
- return {
422
- valid: true,
423
- placeholders,
424
- plurals,
425
- selects
426
- };
427
- } catch (error) {
428
- return {
429
- valid: false,
430
- error: error instanceof Error ? error.message : "Unknown error",
431
- placeholders: [],
432
- plurals: [],
433
- selects: []
434
- };
435
- }
436
- }
437
- function processPlaceholder(placeholder, placeholders, plurals, selects) {
438
- const parts = placeholder.split(",").map((p) => p.trim());
439
- const name = parts[0];
440
- const type = parts[1]?.toLowerCase();
441
- if (name && !placeholders.includes(name)) {
442
- placeholders.push(name);
443
- }
444
- if (type === "plural" || type === "selectordinal") {
445
- if (name && !plurals.includes(name)) {
446
- plurals.push(name);
447
- }
448
- } else if (type === "select") {
449
- if (name && !selects.includes(name)) {
450
- selects.push(name);
451
- }
452
- }
453
- }
454
- function findMissingTranslations(sourceSpec, targetSpec) {
455
- const missing = [];
456
- for (const [key, message] of Object.entries(sourceSpec.messages)) {
457
- if (!targetSpec.messages[key]) {
458
- missing.push({
459
- messageKey: key,
460
- sourceLocale: sourceSpec.locale,
461
- targetLocale: targetSpec.locale,
462
- sourceMessage: message
463
- });
464
- }
465
- }
466
- return missing;
467
- }
468
- function findAllMissingTranslations(registry, specKey, baseLocale) {
469
- const result = new Map;
470
- const baseSpec = registry.getLatest(specKey, baseLocale);
471
- if (!baseSpec)
472
- return result;
473
- const locales = registry.listLocales(specKey);
474
- for (const locale of locales) {
475
- if (locale === baseLocale)
476
- continue;
477
- const targetSpec = registry.getLatest(specKey, locale);
478
- if (targetSpec) {
479
- const missing = findMissingTranslations(baseSpec, targetSpec);
480
- if (missing.length > 0) {
481
- result.set(locale, missing);
482
- }
483
- }
484
- }
485
- return result;
486
- }
487
- function validateTranslationRegistry(registry) {
488
- const issues = [];
489
- for (const spec of registry.list()) {
490
- const specResult = validateTranslationSpec(spec);
491
- issues.push(...specResult.issues.map((i) => ({
492
- ...i,
493
- path: `${spec.meta.key}.v${spec.meta.version}:${spec.locale}${i.path ? `.${i.path}` : ""}`
494
- })));
495
- }
496
- return {
497
- valid: issues.filter((i) => i.level === "error").length === 0,
498
- issues
499
- };
500
- }
501
-
502
- class TranslationValidationError extends Error {
503
- issues;
504
- constructor(message, issues) {
505
- super(message);
506
- this.issues = issues;
507
- this.name = "TranslationValidationError";
508
- }
509
- }
510
- function assertTranslationSpecValid(spec) {
511
- const result = validateTranslationSpec(spec);
512
- if (!result.valid) {
513
- throw new TranslationValidationError(`Translation ${spec.meta.key}.v${spec.meta.version}:${spec.locale} is invalid`, result.issues);
514
- }
515
- }
516
- function isValidLocaleFormat(locale) {
517
- return /^[a-z]{2}(-[A-Z]{2})?$/.test(locale);
518
- }
519
- function extractPlaceholders(value) {
520
- const result = validateICUFormat(value);
521
- return result.placeholders;
522
- }
523
- export {
524
- validateTranslationSpec,
525
- validateTranslationRegistry,
526
- validateICUFormat,
527
- findMissingTranslations,
528
- findAllMissingTranslations,
529
- defineTranslation,
530
- assertTranslationSpecValid,
531
- TranslationValidationError,
532
- TranslationRegistry
533
- };
@@ -1,170 +0,0 @@
1
- import { createRequire } from "node:module";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __moduleCache = /* @__PURE__ */ new WeakMap;
7
- var __toCommonJS = (from) => {
8
- var entry = __moduleCache.get(from), desc;
9
- if (entry)
10
- return entry;
11
- entry = __defProp({}, "__esModule", { value: true });
12
- if (from && typeof from === "object" || typeof from === "function")
13
- __getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- }));
17
- __moduleCache.set(from, entry);
18
- return entry;
19
- };
20
- var __export = (target, all) => {
21
- for (var name in all)
22
- __defProp(target, name, {
23
- get: all[name],
24
- enumerable: true,
25
- configurable: true,
26
- set: (newValue) => all[name] = () => newValue
27
- });
28
- };
29
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
30
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
31
-
32
- // src/translations/registry.ts
33
- class TranslationRegistry {
34
- specs = new Map;
35
- latestByLocale = new Map;
36
- locales = new Set;
37
- domains = new Set;
38
- constructor(items) {
39
- if (items) {
40
- for (const spec of items) {
41
- this.register(spec);
42
- }
43
- }
44
- }
45
- register(spec) {
46
- const fullKey = this.makeKey(spec.meta.key, spec.meta.version, spec.locale);
47
- this.specs.set(fullKey, spec);
48
- const localeKey = `${spec.meta.key}:${spec.locale}`;
49
- const existing = this.latestByLocale.get(localeKey);
50
- if (!existing || this.isNewerVersion(spec.meta.version, existing.meta.version)) {
51
- this.latestByLocale.set(localeKey, spec);
52
- }
53
- this.locales.add(spec.locale);
54
- this.domains.add(spec.meta.domain);
55
- }
56
- get(key, version, locale) {
57
- return this.specs.get(this.makeKey(key, version, locale));
58
- }
59
- getLatest(key, locale) {
60
- return this.latestByLocale.get(`${key}:${locale}`);
61
- }
62
- getMessage(specKey, messageKey, locale, version) {
63
- const spec = version ? this.get(specKey, version, locale) : this.getLatest(specKey, locale);
64
- if (!spec)
65
- return;
66
- return spec.messages[messageKey];
67
- }
68
- getWithFallback(specKey, messageKey, locale, fallbackLocale, version) {
69
- const spec = version ? this.get(specKey, version, locale) : this.getLatest(specKey, locale);
70
- if (spec) {
71
- const message = spec.messages[messageKey];
72
- if (message) {
73
- return { spec, message, locale, fromFallback: false };
74
- }
75
- fallbackLocale = fallbackLocale ?? spec.fallback;
76
- }
77
- if (fallbackLocale && fallbackLocale !== locale) {
78
- const fallbackSpec = version ? this.get(specKey, version, fallbackLocale) : this.getLatest(specKey, fallbackLocale);
79
- if (fallbackSpec) {
80
- const message = fallbackSpec.messages[messageKey];
81
- if (message) {
82
- return {
83
- spec: fallbackSpec,
84
- message,
85
- locale: fallbackLocale,
86
- fromFallback: true
87
- };
88
- }
89
- }
90
- }
91
- return;
92
- }
93
- getValue(specKey, messageKey, locale, fallback) {
94
- const result = this.getWithFallback(specKey, messageKey, locale);
95
- return result?.message.value ?? fallback ?? messageKey;
96
- }
97
- listLocales(specKey) {
98
- const locales = [];
99
- for (const [key, spec] of this.specs.entries()) {
100
- if (key.startsWith(`${specKey}:`)) {
101
- if (!locales.includes(spec.locale)) {
102
- locales.push(spec.locale);
103
- }
104
- }
105
- }
106
- return locales;
107
- }
108
- list() {
109
- return [...this.specs.values()];
110
- }
111
- listByLocale(locale) {
112
- return [...this.specs.values()].filter((s) => s.locale === locale);
113
- }
114
- listByDomain(domain) {
115
- return [...this.specs.values()].filter((s) => s.meta.domain === domain);
116
- }
117
- has(key, locale, version) {
118
- if (version) {
119
- return this.specs.has(this.makeKey(key, version, locale));
120
- }
121
- return this.latestByLocale.has(`${key}:${locale}`);
122
- }
123
- getLocales() {
124
- return this.locales;
125
- }
126
- getDomains() {
127
- return this.domains;
128
- }
129
- getStats() {
130
- let totalMessages = 0;
131
- for (const spec of this.specs.values()) {
132
- totalMessages += Object.keys(spec.messages).length;
133
- }
134
- return {
135
- totalSpecs: this.specs.size,
136
- locales: [...this.locales],
137
- domains: [...this.domains],
138
- totalMessages
139
- };
140
- }
141
- clear() {
142
- this.specs.clear();
143
- this.latestByLocale.clear();
144
- this.locales.clear();
145
- this.domains.clear();
146
- }
147
- makeKey(key, version, locale) {
148
- return `${key}:${version}:${locale}`;
149
- }
150
- isNewerVersion(a, b) {
151
- const parseVersion = (v) => {
152
- const parts = v.split(".").map(Number);
153
- return {
154
- major: parts[0] ?? 0,
155
- minor: parts[1] ?? 0,
156
- patch: parts[2] ?? 0
157
- };
158
- };
159
- const va = parseVersion(a);
160
- const vb = parseVersion(b);
161
- if (va.major !== vb.major)
162
- return va.major > vb.major;
163
- if (va.minor !== vb.minor)
164
- return va.minor > vb.minor;
165
- return va.patch > vb.patch;
166
- }
167
- }
168
- export {
169
- TranslationRegistry
170
- };