@contractspec/lib.contracts 1.56.1 → 1.58.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 (1582) hide show
  1. package/dist/app-config/app-config.capability.d.ts +2 -7
  2. package/dist/app-config/app-config.capability.d.ts.map +1 -0
  3. package/dist/app-config/app-config.capability.js +729 -22
  4. package/dist/app-config/app-config.contracts.d.ts +226 -231
  5. package/dist/app-config/app-config.contracts.d.ts.map +1 -0
  6. package/dist/app-config/app-config.contracts.js +908 -376
  7. package/dist/app-config/app-config.contracts.test.d.ts +2 -0
  8. package/dist/app-config/app-config.contracts.test.d.ts.map +1 -0
  9. package/dist/app-config/app-config.feature.d.ts +2 -7
  10. package/dist/app-config/app-config.feature.d.ts.map +1 -0
  11. package/dist/app-config/app-config.feature.js +252 -58
  12. package/dist/app-config/branding.d.ts +47 -49
  13. package/dist/app-config/branding.d.ts.map +1 -0
  14. package/dist/app-config/branding.js +1 -0
  15. package/dist/app-config/branding.test.d.ts +2 -0
  16. package/dist/app-config/branding.test.d.ts.map +1 -0
  17. package/dist/app-config/docs/app-config.docblock.d.ts +3 -6
  18. package/dist/app-config/docs/app-config.docblock.d.ts.map +1 -0
  19. package/dist/app-config/docs/app-config.docblock.js +382 -20
  20. package/dist/app-config/events.d.ts +112 -118
  21. package/dist/app-config/events.d.ts.map +1 -0
  22. package/dist/app-config/events.js +380 -168
  23. package/dist/app-config/events.test.d.ts +2 -0
  24. package/dist/app-config/events.test.d.ts.map +1 -0
  25. package/dist/app-config/index.d.ts +10 -10
  26. package/dist/app-config/index.d.ts.map +1 -0
  27. package/dist/app-config/index.js +3113 -9
  28. package/dist/app-config/lifecycle-contracts.d.ts +249 -256
  29. package/dist/app-config/lifecycle-contracts.d.ts.map +1 -0
  30. package/dist/app-config/lifecycle-contracts.js +1078 -434
  31. package/dist/app-config/lifecycle-contracts.test.d.ts +2 -0
  32. package/dist/app-config/lifecycle-contracts.test.d.ts.map +1 -0
  33. package/dist/app-config/lifecycle.d.ts +21 -24
  34. package/dist/app-config/lifecycle.d.ts.map +1 -0
  35. package/dist/app-config/lifecycle.js +1 -0
  36. package/dist/app-config/lifecycle.test.d.ts +2 -0
  37. package/dist/app-config/lifecycle.test.d.ts.map +1 -0
  38. package/dist/app-config/runtime.d.ts +103 -111
  39. package/dist/app-config/runtime.d.ts.map +1 -0
  40. package/dist/app-config/runtime.js +672 -555
  41. package/dist/app-config/runtime.test.d.ts +2 -0
  42. package/dist/app-config/runtime.test.d.ts.map +1 -0
  43. package/dist/app-config/spec.d.ts +153 -158
  44. package/dist/app-config/spec.d.ts.map +1 -0
  45. package/dist/app-config/spec.js +226 -16
  46. package/dist/app-config/spec.test.d.ts +2 -0
  47. package/dist/app-config/spec.test.d.ts.map +1 -0
  48. package/dist/app-config/validation.d.ts +41 -46
  49. package/dist/app-config/validation.d.ts.map +1 -0
  50. package/dist/app-config/validation.js +607 -495
  51. package/dist/app-config/validation.test.d.ts +2 -0
  52. package/dist/app-config/validation.test.d.ts.map +1 -0
  53. package/dist/capabilities/capabilities.d.ts +77 -80
  54. package/dist/capabilities/capabilities.d.ts.map +1 -0
  55. package/dist/capabilities/capabilities.js +209 -165
  56. package/dist/capabilities/capabilities.test.d.ts +2 -0
  57. package/dist/capabilities/capabilities.test.d.ts.map +1 -0
  58. package/dist/capabilities/context.d.ts +73 -50
  59. package/dist/capabilities/context.d.ts.map +1 -0
  60. package/dist/capabilities/context.js +93 -79
  61. package/dist/capabilities/context.test.d.ts +2 -0
  62. package/dist/capabilities/context.test.d.ts.map +1 -0
  63. package/dist/capabilities/docs/capabilities.docblock.d.ts +3 -6
  64. package/dist/capabilities/docs/capabilities.docblock.d.ts.map +1 -0
  65. package/dist/capabilities/docs/capabilities.docblock.js +165 -22
  66. package/dist/capabilities/guards.d.ts +40 -28
  67. package/dist/capabilities/guards.d.ts.map +1 -0
  68. package/dist/capabilities/guards.js +158 -127
  69. package/dist/capabilities/index.d.ts +7 -6
  70. package/dist/capabilities/index.d.ts.map +1 -0
  71. package/dist/capabilities/index.js +738 -6
  72. package/dist/capabilities/meeting-recorder.d.ts +6 -0
  73. package/dist/capabilities/meeting-recorder.d.ts.map +1 -0
  74. package/dist/capabilities/meeting-recorder.js +154 -0
  75. package/dist/capabilities/openbanking.d.ts +6 -10
  76. package/dist/capabilities/openbanking.d.ts.map +1 -0
  77. package/dist/capabilities/openbanking.js +160 -86
  78. package/dist/capabilities/validation.d.ts +42 -38
  79. package/dist/capabilities/validation.d.ts.map +1 -0
  80. package/dist/capabilities/validation.js +179 -135
  81. package/dist/capabilities/validation.test.d.ts +2 -0
  82. package/dist/capabilities/validation.test.d.ts.map +1 -0
  83. package/dist/client/index.d.ts +2 -6
  84. package/dist/client/index.d.ts.map +1 -0
  85. package/dist/client/index.js +1377 -7
  86. package/dist/client/react/drivers/rn-reusables.d.ts +8 -8
  87. package/dist/client/react/drivers/rn-reusables.d.ts.map +1 -0
  88. package/dist/client/react/drivers/rn-reusables.js +36 -19
  89. package/dist/client/react/drivers/shadcn.d.ts +4 -8
  90. package/dist/client/react/drivers/shadcn.d.ts.map +1 -0
  91. package/dist/client/react/drivers/shadcn.js +36 -9
  92. package/dist/client/react/feature-render.d.ts +14 -21
  93. package/dist/client/react/feature-render.d.ts.map +1 -0
  94. package/dist/client/react/feature-render.js +824 -35
  95. package/dist/client/react/form-render.d.ts +83 -88
  96. package/dist/client/react/form-render.d.ts.map +1 -0
  97. package/dist/client/react/form-render.js +667 -287
  98. package/dist/client/react/index.d.ts +5 -5
  99. package/dist/client/react/index.d.ts.map +1 -0
  100. package/dist/client/react/index.js +1374 -6
  101. package/dist/contract-registry/index.d.ts +4 -3
  102. package/dist/contract-registry/index.d.ts.map +1 -0
  103. package/dist/contract-registry/index.js +128 -2
  104. package/dist/contract-registry/schemas.d.ts +88 -91
  105. package/dist/contract-registry/schemas.d.ts.map +1 -0
  106. package/dist/contract-registry/schemas.js +124 -56
  107. package/dist/contract-registry/schemas.test.d.ts +2 -0
  108. package/dist/contract-registry/schemas.test.d.ts.map +1 -0
  109. package/dist/contract-registry/types.d.ts +40 -43
  110. package/dist/contract-registry/types.d.ts.map +1 -0
  111. package/dist/contract-registry/types.js +1 -0
  112. package/dist/data-views/data-views.d.ts +5 -6
  113. package/dist/data-views/data-views.d.ts.map +1 -0
  114. package/dist/data-views/data-views.js +231 -4
  115. package/dist/data-views/data-views.test.d.ts +2 -0
  116. package/dist/data-views/data-views.test.d.ts.map +1 -0
  117. package/dist/data-views/docs/data-views.docblock.d.ts +3 -6
  118. package/dist/data-views/docs/data-views.docblock.d.ts.map +1 -0
  119. package/dist/data-views/docs/data-views.docblock.js +162 -19
  120. package/dist/data-views/index.d.ts +5 -5
  121. package/dist/data-views/index.d.ts.map +1 -0
  122. package/dist/data-views/index.js +231 -3
  123. package/dist/data-views/query-generator.d.ts +32 -36
  124. package/dist/data-views/query-generator.d.ts.map +1 -0
  125. package/dist/data-views/query-generator.js +87 -46
  126. package/dist/data-views/registry.d.ts +6 -10
  127. package/dist/data-views/registry.d.ts.map +1 -0
  128. package/dist/data-views/registry.js +223 -17
  129. package/dist/data-views/registry.test.d.ts +2 -0
  130. package/dist/data-views/registry.test.d.ts.map +1 -0
  131. package/dist/data-views/report/contractVerificationTable.d.ts +2 -7
  132. package/dist/data-views/report/contractVerificationTable.d.ts.map +1 -0
  133. package/dist/data-views/report/contractVerificationTable.js +237 -92
  134. package/dist/data-views/report/contractVerificationTable.test.d.ts +2 -0
  135. package/dist/data-views/report/contractVerificationTable.test.d.ts.map +1 -0
  136. package/dist/data-views/runtime.d.ts +23 -29
  137. package/dist/data-views/runtime.d.ts.map +1 -0
  138. package/dist/data-views/runtime.js +104 -64
  139. package/dist/data-views/runtime.test.d.ts +2 -0
  140. package/dist/data-views/runtime.test.d.ts.map +1 -0
  141. package/dist/data-views/spec.d.ts +16 -19
  142. package/dist/data-views/spec.d.ts.map +1 -0
  143. package/dist/data-views/spec.js +36 -8
  144. package/dist/data-views/spec.test.d.ts +2 -0
  145. package/dist/data-views/spec.test.d.ts.map +1 -0
  146. package/dist/data-views/types.d.ts +91 -95
  147. package/dist/data-views/types.d.ts.map +1 -0
  148. package/dist/data-views/types.js +1 -0
  149. package/dist/data-views/types.test.d.ts +2 -0
  150. package/dist/data-views/types.test.d.ts.map +1 -0
  151. package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts +3 -6
  152. package/dist/docs/accessibility_wcag_compliance_specs.docblock.d.ts.map +1 -0
  153. package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +512 -16
  154. package/dist/docs/capabilities/documentationSystem.capability.d.ts +2 -7
  155. package/dist/docs/capabilities/documentationSystem.capability.d.ts.map +1 -0
  156. package/dist/docs/capabilities/documentationSystem.capability.js +782 -69
  157. package/dist/docs/capabilities/index.d.ts +2 -2
  158. package/dist/docs/capabilities/index.d.ts.map +1 -0
  159. package/dist/docs/capabilities/index.js +783 -2
  160. package/dist/docs/commands/docsGenerate.command.d.ts +82 -88
  161. package/dist/docs/commands/docsGenerate.command.d.ts.map +1 -0
  162. package/dist/docs/commands/docsGenerate.command.js +1011 -137
  163. package/dist/docs/commands/docsPublish.command.d.ts +55 -61
  164. package/dist/docs/commands/docsPublish.command.d.ts.map +1 -0
  165. package/dist/docs/commands/docsPublish.command.js +991 -103
  166. package/dist/docs/commands/index.d.ts +3 -3
  167. package/dist/docs/commands/index.d.ts.map +1 -0
  168. package/dist/docs/commands/index.js +1119 -3
  169. package/dist/docs/constants.d.ts +5 -7
  170. package/dist/docs/constants.d.ts.map +1 -0
  171. package/dist/docs/constants.js +76 -8
  172. package/dist/docs/contracts.d.ts +411 -422
  173. package/dist/docs/contracts.d.ts.map +1 -0
  174. package/dist/docs/contracts.js +2383 -58
  175. package/dist/docs/ensure-docblocks.d.ts +2 -1
  176. package/dist/docs/ensure-docblocks.d.ts.map +1 -0
  177. package/dist/docs/ensure-docblocks.js +264 -1
  178. package/dist/docs/events/docsGenerated.event.d.ts +55 -60
  179. package/dist/docs/events/docsGenerated.event.d.ts.map +1 -0
  180. package/dist/docs/events/docsGenerated.event.js +530 -50
  181. package/dist/docs/events/docsPublished.event.d.ts +63 -68
  182. package/dist/docs/events/docsPublished.event.d.ts.map +1 -0
  183. package/dist/docs/events/docsPublished.event.js +531 -54
  184. package/dist/docs/events/index.d.ts +3 -3
  185. package/dist/docs/events/index.d.ts.map +1 -0
  186. package/dist/docs/events/index.js +566 -3
  187. package/dist/docs/forms/docsSearch.form.d.ts +16 -21
  188. package/dist/docs/forms/docsSearch.form.d.ts.map +1 -0
  189. package/dist/docs/forms/docsSearch.form.js +673 -110
  190. package/dist/docs/forms/index.d.ts +2 -2
  191. package/dist/docs/forms/index.d.ts.map +1 -0
  192. package/dist/docs/forms/index.js +675 -2
  193. package/dist/docs/index.d.ts +41 -28
  194. package/dist/docs/index.d.ts.map +1 -0
  195. package/dist/docs/index.js +5491 -54
  196. package/dist/docs/meta.docs.d.ts +3 -6
  197. package/dist/docs/meta.docs.d.ts.map +1 -0
  198. package/dist/docs/meta.docs.js +162 -15
  199. package/dist/docs/presentations/docsLayout.presentation.d.ts +3 -7
  200. package/dist/docs/presentations/docsLayout.presentation.d.ts.map +1 -0
  201. package/dist/docs/presentations/docsLayout.presentation.js +1088 -33
  202. package/dist/docs/presentations/docsReferencePage.presentation.d.ts +3 -7
  203. package/dist/docs/presentations/docsReferencePage.presentation.d.ts.map +1 -0
  204. package/dist/docs/presentations/docsReferencePage.presentation.js +1088 -33
  205. package/dist/docs/presentations/index.d.ts +3 -3
  206. package/dist/docs/presentations/index.d.ts.map +1 -0
  207. package/dist/docs/presentations/index.js +1117 -3
  208. package/dist/docs/presentations.d.ts +26 -29
  209. package/dist/docs/presentations.d.ts.map +1 -0
  210. package/dist/docs/presentations.js +83 -43
  211. package/dist/docs/presentations.test.d.ts +2 -0
  212. package/dist/docs/presentations.test.d.ts.map +1 -0
  213. package/dist/docs/queries/contractReference.query.d.ts +190 -195
  214. package/dist/docs/queries/contractReference.query.d.ts.map +1 -0
  215. package/dist/docs/queries/contractReference.query.js +961 -120
  216. package/dist/docs/queries/docsIndex.query.d.ts +238 -243
  217. package/dist/docs/queries/docsIndex.query.d.ts.map +1 -0
  218. package/dist/docs/queries/docsIndex.query.js +961 -128
  219. package/dist/docs/queries/index.d.ts +3 -3
  220. package/dist/docs/queries/index.d.ts.map +1 -0
  221. package/dist/docs/queries/index.js +1040 -3
  222. package/dist/docs/registry.d.ts +18 -21
  223. package/dist/docs/registry.d.ts.map +1 -0
  224. package/dist/docs/registry.js +145 -43
  225. package/dist/docs/registry.test.d.ts +2 -0
  226. package/dist/docs/registry.test.d.ts.map +1 -0
  227. package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts +3 -6
  228. package/dist/docs/tech/auth/better-auth-nextjs.docblock.d.ts.map +1 -0
  229. package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +164 -24
  230. package/dist/docs/tech/cli.docblock.d.ts +3 -6
  231. package/dist/docs/tech/cli.docblock.d.ts.map +1 -0
  232. package/dist/docs/tech/cli.docblock.js +164 -21
  233. package/dist/docs/tech/contracts/README.docblock.d.ts +3 -6
  234. package/dist/docs/tech/contracts/README.docblock.d.ts.map +1 -0
  235. package/dist/docs/tech/contracts/README.docblock.js +162 -19
  236. package/dist/docs/tech/contracts/migrations.docblock.d.ts +3 -6
  237. package/dist/docs/tech/contracts/migrations.docblock.d.ts.map +1 -0
  238. package/dist/docs/tech/contracts/migrations.docblock.js +162 -19
  239. package/dist/docs/tech/contracts/openapi-export.docblock.d.ts +3 -6
  240. package/dist/docs/tech/contracts/openapi-export.docblock.d.ts.map +1 -0
  241. package/dist/docs/tech/contracts/openapi-export.docblock.js +165 -22
  242. package/dist/docs/tech/contracts/openapi-import.docblock.d.ts +3 -6
  243. package/dist/docs/tech/contracts/openapi-import.docblock.d.ts.map +1 -0
  244. package/dist/docs/tech/contracts/openapi-import.docblock.js +163 -21
  245. package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts +3 -6
  246. package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.d.ts.map +1 -0
  247. package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +224 -20
  248. package/dist/docs/tech/contracts/overlays.docblock.d.ts +3 -6
  249. package/dist/docs/tech/contracts/overlays.docblock.d.ts.map +1 -0
  250. package/dist/docs/tech/contracts/overlays.docblock.js +230 -20
  251. package/dist/docs/tech/contracts/tests.docblock.d.ts +3 -6
  252. package/dist/docs/tech/contracts/tests.docblock.d.ts.map +1 -0
  253. package/dist/docs/tech/contracts/tests.docblock.js +162 -19
  254. package/dist/docs/tech/contracts/themes.docblock.d.ts +3 -6
  255. package/dist/docs/tech/contracts/themes.docblock.d.ts.map +1 -0
  256. package/dist/docs/tech/contracts/themes.docblock.js +256 -20
  257. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts +3 -6
  258. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.d.ts.map +1 -0
  259. package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +163 -20
  260. package/dist/docs/tech/docs-system.docblock.d.ts +2 -1
  261. package/dist/docs/tech/docs-system.docblock.d.ts.map +1 -0
  262. package/dist/docs/tech/docs-system.docblock.js +211 -75
  263. package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts +3 -6
  264. package/dist/docs/tech/lifecycle-stage-system.docblock.d.ts.map +1 -0
  265. package/dist/docs/tech/lifecycle-stage-system.docblock.js +375 -16
  266. package/dist/docs/tech/llm/llm-integration.docblock.d.ts +8 -7
  267. package/dist/docs/tech/llm/llm-integration.docblock.d.ts.map +1 -0
  268. package/dist/docs/tech/llm/llm-integration.docblock.js +193 -69
  269. package/dist/docs/tech/mcp-endpoints.docblock.d.ts +3 -6
  270. package/dist/docs/tech/mcp-endpoints.docblock.d.ts.map +1 -0
  271. package/dist/docs/tech/mcp-endpoints.docblock.js +170 -23
  272. package/dist/docs/tech/presentation-runtime.docblock.d.ts +3 -6
  273. package/dist/docs/tech/presentation-runtime.docblock.d.ts.map +1 -0
  274. package/dist/docs/tech/presentation-runtime.docblock.js +220 -16
  275. package/dist/docs/tech/report-verification-table.docblock.d.ts +2 -1
  276. package/dist/docs/tech/report-verification-table.docblock.d.ts.map +1 -0
  277. package/dist/docs/tech/report-verification-table.docblock.js +163 -22
  278. package/dist/docs/tech/report-verification-table.test.d.ts +2 -0
  279. package/dist/docs/tech/report-verification-table.test.d.ts.map +1 -0
  280. package/dist/docs/tech/schema/README.docblock.d.ts +3 -6
  281. package/dist/docs/tech/schema/README.docblock.d.ts.map +1 -0
  282. package/dist/docs/tech/schema/README.docblock.js +162 -19
  283. package/dist/docs/tech/studio/learning-events.docblock.d.ts +3 -6
  284. package/dist/docs/tech/studio/learning-events.docblock.d.ts.map +1 -0
  285. package/dist/docs/tech/studio/learning-events.docblock.js +168 -27
  286. package/dist/docs/tech/studio/learning-journeys.docblock.d.ts +3 -6
  287. package/dist/docs/tech/studio/learning-journeys.docblock.d.ts.map +1 -0
  288. package/dist/docs/tech/studio/learning-journeys.docblock.js +178 -31
  289. package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts +3 -6
  290. package/dist/docs/tech/studio/platform-admin-panel.docblock.d.ts.map +1 -0
  291. package/dist/docs/tech/studio/platform-admin-panel.docblock.js +163 -22
  292. package/dist/docs/tech/studio/project-access-teams.docblock.d.ts +3 -6
  293. package/dist/docs/tech/studio/project-access-teams.docblock.d.ts.map +1 -0
  294. package/dist/docs/tech/studio/project-access-teams.docblock.js +176 -24
  295. package/dist/docs/tech/studio/project-routing.docblock.d.ts +3 -6
  296. package/dist/docs/tech/studio/project-routing.docblock.d.ts.map +1 -0
  297. package/dist/docs/tech/studio/project-routing.docblock.js +173 -32
  298. package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts +3 -6
  299. package/dist/docs/tech/studio/sandbox-unlogged.docblock.d.ts.map +1 -0
  300. package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +163 -21
  301. package/dist/docs/tech/studio/team-invitations.docblock.d.ts +3 -6
  302. package/dist/docs/tech/studio/team-invitations.docblock.d.ts.map +1 -0
  303. package/dist/docs/tech/studio/team-invitations.docblock.js +198 -40
  304. package/dist/docs/tech/studio/workspace-ops.docblock.d.ts +3 -6
  305. package/dist/docs/tech/studio/workspace-ops.docblock.d.ts.map +1 -0
  306. package/dist/docs/tech/studio/workspace-ops.docblock.js +163 -22
  307. package/dist/docs/tech/studio/workspaces.docblock.d.ts +3 -6
  308. package/dist/docs/tech/studio/workspaces.docblock.d.ts.map +1 -0
  309. package/dist/docs/tech/studio/workspaces.docblock.js +164 -23
  310. package/dist/docs/tech/telemetry-ingest.docblock.d.ts +3 -6
  311. package/dist/docs/tech/telemetry-ingest.docblock.d.ts.map +1 -0
  312. package/dist/docs/tech/telemetry-ingest.docblock.js +177 -38
  313. package/dist/docs/tech/vscode-extension.docblock.d.ts +3 -6
  314. package/dist/docs/tech/vscode-extension.docblock.d.ts.map +1 -0
  315. package/dist/docs/tech/vscode-extension.docblock.js +175 -36
  316. package/dist/docs/tech-contracts.docs.d.ts +3 -6
  317. package/dist/docs/tech-contracts.docs.d.ts.map +1 -0
  318. package/dist/docs/tech-contracts.docs.js +166 -23
  319. package/dist/docs/types.d.ts +36 -39
  320. package/dist/docs/types.d.ts.map +1 -0
  321. package/dist/docs/types.js +1 -0
  322. package/dist/docs/views/contractReference.dataView.d.ts +3 -7
  323. package/dist/docs/views/contractReference.dataView.d.ts.map +1 -0
  324. package/dist/docs/views/contractReference.dataView.js +1045 -79
  325. package/dist/docs/views/docsIndex.dataView.d.ts +3 -7
  326. package/dist/docs/views/docsIndex.dataView.d.ts.map +1 -0
  327. package/dist/docs/views/docsIndex.dataView.js +1039 -134
  328. package/dist/docs/views/exampleCatalog.dataView.d.ts +3 -7
  329. package/dist/docs/views/exampleCatalog.dataView.d.ts.map +1 -0
  330. package/dist/docs/views/exampleCatalog.dataView.js +1023 -89
  331. package/dist/docs/views/index.d.ts +4 -4
  332. package/dist/docs/views/index.d.ts.map +1 -0
  333. package/dist/docs/views/index.js +1239 -4
  334. package/dist/events.d.ts +77 -47
  335. package/dist/events.d.ts.map +1 -0
  336. package/dist/events.js +225 -46
  337. package/dist/events.test.d.ts +2 -0
  338. package/dist/events.test.d.ts.map +1 -0
  339. package/dist/examples/docs/examples.docblock.d.ts +3 -6
  340. package/dist/examples/docs/examples.docblock.d.ts.map +1 -0
  341. package/dist/examples/docs/examples.docblock.js +163 -21
  342. package/dist/examples/index.d.ts +9 -10
  343. package/dist/examples/index.d.ts.map +1 -0
  344. package/dist/examples/index.js +604 -13
  345. package/dist/examples/registry.d.ts +23 -27
  346. package/dist/examples/registry.d.ts.map +1 -0
  347. package/dist/examples/registry.js +284 -86
  348. package/dist/examples/registry.test.d.ts +2 -0
  349. package/dist/examples/registry.test.d.ts.map +1 -0
  350. package/dist/examples/schema.d.ts +255 -258
  351. package/dist/examples/schema.d.ts.map +1 -0
  352. package/dist/examples/schema.js +141 -100
  353. package/dist/examples/schema.test.d.ts +2 -0
  354. package/dist/examples/schema.test.d.ts.map +1 -0
  355. package/dist/examples/types.d.ts +102 -106
  356. package/dist/examples/types.d.ts.map +1 -0
  357. package/dist/examples/types.js +66 -32
  358. package/dist/examples/types.test.d.ts +2 -0
  359. package/dist/examples/types.test.d.ts.map +1 -0
  360. package/dist/examples/validation.d.ts +37 -40
  361. package/dist/examples/validation.d.ts.map +1 -0
  362. package/dist/examples/validation.js +278 -135
  363. package/dist/examples/validation.test.d.ts +2 -0
  364. package/dist/examples/validation.test.d.ts.map +1 -0
  365. package/dist/experiments/docs/experiments.docblock.d.ts +3 -6
  366. package/dist/experiments/docs/experiments.docblock.d.ts.map +1 -0
  367. package/dist/experiments/docs/experiments.docblock.js +290 -20
  368. package/dist/experiments/evaluator.d.ts +30 -33
  369. package/dist/experiments/evaluator.d.ts.map +1 -0
  370. package/dist/experiments/evaluator.js +153 -99
  371. package/dist/experiments/evaluator.test.d.ts +2 -0
  372. package/dist/experiments/evaluator.test.d.ts.map +1 -0
  373. package/dist/experiments/spec-resolver.d.ts +12 -16
  374. package/dist/experiments/spec-resolver.d.ts.map +1 -0
  375. package/dist/experiments/spec-resolver.js +1 -0
  376. package/dist/experiments/spec.d.ts +66 -69
  377. package/dist/experiments/spec.d.ts.map +1 -0
  378. package/dist/experiments/spec.js +224 -12
  379. package/dist/experiments/spec.test.d.ts +2 -0
  380. package/dist/experiments/spec.test.d.ts.map +1 -0
  381. package/dist/features/index.d.ts +7 -10
  382. package/dist/features/index.d.ts.map +1 -0
  383. package/dist/features/index.js +275 -12
  384. package/dist/features/install.d.ts +12 -19
  385. package/dist/features/install.d.ts.map +1 -0
  386. package/dist/features/install.js +93 -34
  387. package/dist/features/install.test.d.ts +2 -0
  388. package/dist/features/install.test.d.ts.map +1 -0
  389. package/dist/features/registry.d.ts +20 -24
  390. package/dist/features/registry.d.ts.map +1 -0
  391. package/dist/features/registry.js +188 -45
  392. package/dist/features/registry.test.d.ts +2 -0
  393. package/dist/features/registry.test.d.ts.map +1 -0
  394. package/dist/features/types.d.ts +52 -57
  395. package/dist/features/types.d.ts.map +1 -0
  396. package/dist/features/types.js +1 -0
  397. package/dist/features/types.test.d.ts +2 -0
  398. package/dist/features/types.test.d.ts.map +1 -0
  399. package/dist/features/validation.d.ts +4 -7
  400. package/dist/features/validation.d.ts.map +1 -0
  401. package/dist/features/validation.js +46 -12
  402. package/dist/features/validation.test.d.ts +2 -0
  403. package/dist/features/validation.test.d.ts.map +1 -0
  404. package/dist/features.capabilities.test.d.ts +2 -0
  405. package/dist/features.capabilities.test.d.ts.map +1 -0
  406. package/dist/forms/docs/forms.docblock.d.ts +3 -6
  407. package/dist/forms/docs/forms.docblock.d.ts.map +1 -0
  408. package/dist/forms/docs/forms.docblock.js +162 -19
  409. package/dist/forms/forms.d.ts +222 -223
  410. package/dist/forms/forms.d.ts.map +1 -0
  411. package/dist/forms/forms.js +321 -132
  412. package/dist/forms/index.d.ts +2 -2
  413. package/dist/forms/index.d.ts.map +1 -0
  414. package/dist/forms/index.js +331 -2
  415. package/dist/index.d.ts +50 -185
  416. package/dist/index.d.ts.map +1 -0
  417. package/dist/index.js +18233 -157
  418. package/dist/install.d.ts +53 -54
  419. package/dist/install.d.ts.map +1 -0
  420. package/dist/install.js +53 -33
  421. package/dist/integrations/binding.d.ts +14 -16
  422. package/dist/integrations/binding.d.ts.map +1 -0
  423. package/dist/integrations/binding.js +1 -0
  424. package/dist/integrations/connection.d.ts +44 -47
  425. package/dist/integrations/connection.d.ts.map +1 -0
  426. package/dist/integrations/connection.js +1 -0
  427. package/dist/integrations/docs/integrations.docblock.d.ts +3 -6
  428. package/dist/integrations/docs/integrations.docblock.d.ts.map +1 -0
  429. package/dist/integrations/docs/integrations.docblock.js +191 -30
  430. package/dist/integrations/health.d.ts +15 -18
  431. package/dist/integrations/health.d.ts.map +1 -0
  432. package/dist/integrations/health.js +100 -66
  433. package/dist/integrations/health.test.d.ts +2 -0
  434. package/dist/integrations/health.test.d.ts.map +1 -0
  435. package/dist/integrations/index.d.ts +12 -34
  436. package/dist/integrations/index.d.ts.map +1 -0
  437. package/dist/integrations/index.js +3809 -23
  438. package/dist/integrations/integrations.capability.d.ts +2 -7
  439. package/dist/integrations/integrations.capability.d.ts.map +1 -0
  440. package/dist/integrations/integrations.capability.js +726 -17
  441. package/dist/integrations/integrations.feature.d.ts +2 -7
  442. package/dist/integrations/integrations.feature.d.ts.map +1 -0
  443. package/dist/integrations/integrations.feature.js +298 -64
  444. package/dist/integrations/meeting-recorder/contracts/index.d.ts +8 -0
  445. package/dist/integrations/meeting-recorder/contracts/index.d.ts.map +1 -0
  446. package/dist/integrations/meeting-recorder/contracts/index.js +1231 -0
  447. package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +452 -0
  448. package/dist/integrations/meeting-recorder/contracts/meetings.d.ts.map +1 -0
  449. package/dist/integrations/meeting-recorder/contracts/meetings.js +866 -0
  450. package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +167 -0
  451. package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts.map +1 -0
  452. package/dist/integrations/meeting-recorder/contracts/transcripts.js +933 -0
  453. package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +86 -0
  454. package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts.map +1 -0
  455. package/dist/integrations/meeting-recorder/contracts/webhooks.js +819 -0
  456. package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +2 -0
  457. package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts.map +1 -0
  458. package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +726 -0
  459. package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +6 -0
  460. package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts.map +1 -0
  461. package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +301 -0
  462. package/dist/integrations/meeting-recorder/models.d.ts +403 -0
  463. package/dist/integrations/meeting-recorder/models.d.ts.map +1 -0
  464. package/dist/integrations/meeting-recorder/models.js +152 -0
  465. package/dist/integrations/meeting-recorder/telemetry.d.ts +14 -0
  466. package/dist/integrations/meeting-recorder/telemetry.d.ts.map +1 -0
  467. package/dist/integrations/meeting-recorder/telemetry.js +84 -0
  468. package/dist/integrations/openbanking/contracts/accounts.d.ts +258 -264
  469. package/dist/integrations/openbanking/contracts/accounts.d.ts.map +1 -0
  470. package/dist/integrations/openbanking/contracts/accounts.js +971 -233
  471. package/dist/integrations/openbanking/contracts/balances.d.ts +151 -157
  472. package/dist/integrations/openbanking/contracts/balances.d.ts.map +1 -0
  473. package/dist/integrations/openbanking/contracts/balances.js +935 -163
  474. package/dist/integrations/openbanking/contracts/index.d.ts +8 -10
  475. package/dist/integrations/openbanking/contracts/index.d.ts.map +1 -0
  476. package/dist/integrations/openbanking/contracts/index.js +1396 -9
  477. package/dist/integrations/openbanking/contracts/transactions.d.ts +190 -196
  478. package/dist/integrations/openbanking/contracts/transactions.d.ts.map +1 -0
  479. package/dist/integrations/openbanking/contracts/transactions.js +941 -214
  480. package/dist/integrations/openbanking/guards.d.ts +8 -11
  481. package/dist/integrations/openbanking/guards.d.ts.map +1 -0
  482. package/dist/integrations/openbanking/guards.js +68 -29
  483. package/dist/integrations/openbanking/guards.test.d.ts +2 -0
  484. package/dist/integrations/openbanking/guards.test.d.ts.map +1 -0
  485. package/dist/integrations/openbanking/models.d.ts +221 -225
  486. package/dist/integrations/openbanking/models.d.ts.map +1 -0
  487. package/dist/integrations/openbanking/models.js +136 -236
  488. package/dist/integrations/openbanking/openbanking.capability.d.ts +2 -7
  489. package/dist/integrations/openbanking/openbanking.capability.d.ts.map +1 -0
  490. package/dist/integrations/openbanking/openbanking.capability.js +726 -21
  491. package/dist/integrations/openbanking/openbanking.feature.d.ts +2 -7
  492. package/dist/integrations/openbanking/openbanking.feature.d.ts.map +1 -0
  493. package/dist/integrations/openbanking/openbanking.feature.js +300 -73
  494. package/dist/integrations/openbanking/telemetry.d.ts +12 -14
  495. package/dist/integrations/openbanking/telemetry.d.ts.map +1 -0
  496. package/dist/integrations/openbanking/telemetry.js +75 -33
  497. package/dist/integrations/operations.d.ts +421 -427
  498. package/dist/integrations/operations.d.ts.map +1 -0
  499. package/dist/integrations/operations.js +926 -375
  500. package/dist/integrations/operations.test.d.ts +2 -0
  501. package/dist/integrations/operations.test.d.ts.map +1 -0
  502. package/dist/integrations/providers/analytics-reader.d.ts +104 -0
  503. package/dist/integrations/providers/analytics-reader.d.ts.map +1 -0
  504. package/dist/integrations/providers/analytics-reader.js +1 -0
  505. package/dist/integrations/providers/analytics-writer.d.ts +7 -0
  506. package/dist/integrations/providers/analytics-writer.d.ts.map +1 -0
  507. package/dist/integrations/providers/analytics-writer.js +1 -0
  508. package/dist/integrations/providers/analytics.d.ts +48 -0
  509. package/dist/integrations/providers/analytics.d.ts.map +1 -0
  510. package/dist/integrations/providers/analytics.js +1 -0
  511. package/dist/integrations/providers/calendar.d.ts +68 -70
  512. package/dist/integrations/providers/calendar.d.ts.map +1 -0
  513. package/dist/integrations/providers/calendar.js +1 -0
  514. package/dist/integrations/providers/database.d.ts +13 -0
  515. package/dist/integrations/providers/database.d.ts.map +1 -0
  516. package/dist/integrations/providers/database.js +1 -0
  517. package/dist/integrations/providers/elevenlabs.d.ts +4 -8
  518. package/dist/integrations/providers/elevenlabs.d.ts.map +1 -0
  519. package/dist/integrations/providers/elevenlabs.js +327 -52
  520. package/dist/integrations/providers/email.d.ts +74 -76
  521. package/dist/integrations/providers/email.d.ts.map +1 -0
  522. package/dist/integrations/providers/email.js +1 -0
  523. package/dist/integrations/providers/embedding.d.ts +19 -21
  524. package/dist/integrations/providers/embedding.d.ts.map +1 -0
  525. package/dist/integrations/providers/embedding.js +1 -0
  526. package/dist/integrations/providers/fal.d.ts +4 -0
  527. package/dist/integrations/providers/fal.d.ts.map +1 -0
  528. package/dist/integrations/providers/fal.js +357 -0
  529. package/dist/integrations/providers/fathom.d.ts +4 -0
  530. package/dist/integrations/providers/fathom.d.ts.map +1 -0
  531. package/dist/integrations/providers/fathom.js +371 -0
  532. package/dist/integrations/providers/fireflies.d.ts +4 -0
  533. package/dist/integrations/providers/fireflies.d.ts.map +1 -0
  534. package/dist/integrations/providers/fireflies.js +351 -0
  535. package/dist/integrations/providers/gcs-storage.d.ts +4 -8
  536. package/dist/integrations/providers/gcs-storage.d.ts.map +1 -0
  537. package/dist/integrations/providers/gcs-storage.js +338 -75
  538. package/dist/integrations/providers/gmail.d.ts +4 -8
  539. package/dist/integrations/providers/gmail.d.ts.map +1 -0
  540. package/dist/integrations/providers/gmail.js +350 -87
  541. package/dist/integrations/providers/google-calendar.d.ts +4 -8
  542. package/dist/integrations/providers/google-calendar.d.ts.map +1 -0
  543. package/dist/integrations/providers/google-calendar.js +333 -66
  544. package/dist/integrations/providers/gradium.d.ts +4 -0
  545. package/dist/integrations/providers/gradium.d.ts.map +1 -0
  546. package/dist/integrations/providers/gradium.js +355 -0
  547. package/dist/integrations/providers/granola.d.ts +4 -0
  548. package/dist/integrations/providers/granola.d.ts.map +1 -0
  549. package/dist/integrations/providers/granola.js +352 -0
  550. package/dist/integrations/providers/index.d.ts +38 -22
  551. package/dist/integrations/providers/index.d.ts.map +1 -0
  552. package/dist/integrations/providers/index.js +2142 -13
  553. package/dist/integrations/providers/jira.d.ts +4 -0
  554. package/dist/integrations/providers/jira.d.ts.map +1 -0
  555. package/dist/integrations/providers/jira.js +353 -0
  556. package/dist/integrations/providers/linear.d.ts +4 -0
  557. package/dist/integrations/providers/linear.d.ts.map +1 -0
  558. package/dist/integrations/providers/linear.js +352 -0
  559. package/dist/integrations/providers/llm.d.ts +65 -67
  560. package/dist/integrations/providers/llm.d.ts.map +1 -0
  561. package/dist/integrations/providers/llm.js +1 -0
  562. package/dist/integrations/providers/meeting-recorder.d.ts +130 -0
  563. package/dist/integrations/providers/meeting-recorder.d.ts.map +1 -0
  564. package/dist/integrations/providers/meeting-recorder.js +1 -0
  565. package/dist/integrations/providers/mistral.d.ts +4 -8
  566. package/dist/integrations/providers/mistral.d.ts.map +1 -0
  567. package/dist/integrations/providers/mistral.js +335 -68
  568. package/dist/integrations/providers/notion.d.ts +4 -0
  569. package/dist/integrations/providers/notion.d.ts.map +1 -0
  570. package/dist/integrations/providers/notion.js +358 -0
  571. package/dist/integrations/providers/openbanking.d.ts +113 -115
  572. package/dist/integrations/providers/openbanking.d.ts.map +1 -0
  573. package/dist/integrations/providers/openbanking.js +1 -0
  574. package/dist/integrations/providers/payments.d.ts +94 -96
  575. package/dist/integrations/providers/payments.d.ts.map +1 -0
  576. package/dist/integrations/providers/payments.js +1 -0
  577. package/dist/integrations/providers/posthog.d.ts +4 -0
  578. package/dist/integrations/providers/posthog.d.ts.map +1 -0
  579. package/dist/integrations/providers/posthog.js +349 -0
  580. package/dist/integrations/providers/postmark.d.ts +4 -8
  581. package/dist/integrations/providers/postmark.d.ts.map +1 -0
  582. package/dist/integrations/providers/postmark.js +339 -68
  583. package/dist/integrations/providers/powens.d.ts +4 -8
  584. package/dist/integrations/providers/powens.d.ts.map +1 -0
  585. package/dist/integrations/providers/powens.js +365 -116
  586. package/dist/integrations/providers/project-management.d.ts +33 -0
  587. package/dist/integrations/providers/project-management.d.ts.map +1 -0
  588. package/dist/integrations/providers/project-management.js +1 -0
  589. package/dist/integrations/providers/providers.test.d.ts +2 -0
  590. package/dist/integrations/providers/providers.test.d.ts.map +1 -0
  591. package/dist/integrations/providers/qdrant.d.ts +4 -8
  592. package/dist/integrations/providers/qdrant.d.ts.map +1 -0
  593. package/dist/integrations/providers/qdrant.js +342 -73
  594. package/dist/integrations/providers/registry.d.ts +3 -7
  595. package/dist/integrations/providers/registry.d.ts.map +1 -0
  596. package/dist/integrations/providers/registry.js +2099 -33
  597. package/dist/integrations/providers/sms.d.ts +28 -30
  598. package/dist/integrations/providers/sms.d.ts.map +1 -0
  599. package/dist/integrations/providers/sms.js +1 -0
  600. package/dist/integrations/providers/storage.d.ts +49 -51
  601. package/dist/integrations/providers/storage.d.ts.map +1 -0
  602. package/dist/integrations/providers/storage.js +1 -0
  603. package/dist/integrations/providers/stripe.d.ts +4 -8
  604. package/dist/integrations/providers/stripe.d.ts.map +1 -0
  605. package/dist/integrations/providers/stripe.js +346 -83
  606. package/dist/integrations/providers/supabase-postgres.d.ts +4 -0
  607. package/dist/integrations/providers/supabase-postgres.d.ts.map +1 -0
  608. package/dist/integrations/providers/supabase-postgres.js +332 -0
  609. package/dist/integrations/providers/supabase-vector.d.ts +4 -0
  610. package/dist/integrations/providers/supabase-vector.d.ts.map +1 -0
  611. package/dist/integrations/providers/supabase-vector.js +352 -0
  612. package/dist/integrations/providers/tldv.d.ts +4 -0
  613. package/dist/integrations/providers/tldv.d.ts.map +1 -0
  614. package/dist/integrations/providers/tldv.js +351 -0
  615. package/dist/integrations/providers/twilio-sms.d.ts +4 -8
  616. package/dist/integrations/providers/twilio-sms.d.ts.map +1 -0
  617. package/dist/integrations/providers/twilio-sms.js +332 -61
  618. package/dist/integrations/providers/vector-store.d.ts +34 -37
  619. package/dist/integrations/providers/vector-store.d.ts.map +1 -0
  620. package/dist/integrations/providers/vector-store.js +1 -0
  621. package/dist/integrations/providers/voice.d.ts +28 -30
  622. package/dist/integrations/providers/voice.d.ts.map +1 -0
  623. package/dist/integrations/providers/voice.js +1 -0
  624. package/dist/integrations/runtime.d.ts +87 -90
  625. package/dist/integrations/runtime.d.ts.map +1 -0
  626. package/dist/integrations/runtime.js +234 -181
  627. package/dist/integrations/runtime.test.d.ts +2 -0
  628. package/dist/integrations/runtime.test.d.ts.map +1 -0
  629. package/dist/integrations/secrets/aws-secret-manager.d.ts +24 -26
  630. package/dist/integrations/secrets/aws-secret-manager.d.ts.map +1 -0
  631. package/dist/integrations/secrets/aws-secret-manager.js +367 -222
  632. package/dist/integrations/secrets/env-secret-provider.d.ts +21 -23
  633. package/dist/integrations/secrets/env-secret-provider.d.ts.map +1 -0
  634. package/dist/integrations/secrets/env-secret-provider.js +187 -79
  635. package/dist/integrations/secrets/gcp-secret-manager.d.ts +26 -28
  636. package/dist/integrations/secrets/gcp-secret-manager.d.ts.map +1 -0
  637. package/dist/integrations/secrets/gcp-secret-manager.js +369 -221
  638. package/dist/integrations/secrets/index.d.ts +7 -7
  639. package/dist/integrations/secrets/index.d.ts.map +1 -0
  640. package/dist/integrations/secrets/index.js +1159 -8
  641. package/dist/integrations/secrets/manager.d.ts +33 -35
  642. package/dist/integrations/secrets/manager.d.ts.map +1 -0
  643. package/dist/integrations/secrets/manager.js +210 -100
  644. package/dist/integrations/secrets/provider.d.ts +43 -45
  645. package/dist/integrations/secrets/provider.d.ts.map +1 -0
  646. package/dist/integrations/secrets/provider.js +99 -53
  647. package/dist/integrations/secrets/provider.test.d.ts +2 -0
  648. package/dist/integrations/secrets/provider.test.d.ts.map +1 -0
  649. package/dist/integrations/secrets/scaleway-secret-manager.d.ts +33 -35
  650. package/dist/integrations/secrets/scaleway-secret-manager.d.ts.map +1 -0
  651. package/dist/integrations/secrets/scaleway-secret-manager.js +394 -236
  652. package/dist/integrations/secrets-types.d.ts +9 -11
  653. package/dist/integrations/secrets-types.d.ts.map +1 -0
  654. package/dist/integrations/secrets-types.js +1 -0
  655. package/dist/integrations/spec.d.ts +61 -65
  656. package/dist/integrations/spec.d.ts.map +1 -0
  657. package/dist/integrations/spec.js +229 -19
  658. package/dist/integrations/spec.test.d.ts +2 -0
  659. package/dist/integrations/spec.test.d.ts.map +1 -0
  660. package/dist/jobs/define-job.d.ts +9 -11
  661. package/dist/jobs/define-job.d.ts.map +1 -0
  662. package/dist/jobs/define-job.js +39 -14
  663. package/dist/jobs/gcp-cloud-tasks.d.ts +34 -36
  664. package/dist/jobs/gcp-cloud-tasks.d.ts.map +1 -0
  665. package/dist/jobs/gcp-cloud-tasks.js +100 -50
  666. package/dist/jobs/gcp-pubsub.d.ts +19 -21
  667. package/dist/jobs/gcp-pubsub.d.ts.map +1 -0
  668. package/dist/jobs/gcp-pubsub.js +88 -36
  669. package/dist/jobs/handlers/gmail-sync-handler.d.ts +6 -9
  670. package/dist/jobs/handlers/gmail-sync-handler.d.ts.map +1 -0
  671. package/dist/jobs/handlers/gmail-sync-handler.js +38 -7
  672. package/dist/jobs/handlers/handlers.test.d.ts +2 -0
  673. package/dist/jobs/handlers/handlers.test.d.ts.map +1 -0
  674. package/dist/jobs/handlers/index.d.ts +6 -9
  675. package/dist/jobs/handlers/index.d.ts.map +1 -0
  676. package/dist/jobs/handlers/index.js +80 -9
  677. package/dist/jobs/handlers/ping-handler.d.ts +7 -10
  678. package/dist/jobs/handlers/ping-handler.d.ts.map +1 -0
  679. package/dist/jobs/handlers/ping-handler.js +45 -13
  680. package/dist/jobs/handlers/storage-document-handler.d.ts +8 -11
  681. package/dist/jobs/handlers/storage-document-handler.d.ts.map +1 -0
  682. package/dist/jobs/handlers/storage-document-handler.js +45 -12
  683. package/dist/jobs/index.d.ts +3 -3
  684. package/dist/jobs/index.d.ts.map +1 -0
  685. package/dist/jobs/index.js +63 -3
  686. package/dist/jobs/memory-queue.d.ts +14 -17
  687. package/dist/jobs/memory-queue.d.ts.map +1 -0
  688. package/dist/jobs/memory-queue.js +126 -68
  689. package/dist/jobs/queue.d.ts +88 -92
  690. package/dist/jobs/queue.d.ts.map +1 -0
  691. package/dist/jobs/queue.js +49 -27
  692. package/dist/jobs/queue.test.d.ts +2 -0
  693. package/dist/jobs/queue.test.d.ts.map +1 -0
  694. package/dist/jobs/scaleway-sqs-queue.d.ts +25 -27
  695. package/dist/jobs/scaleway-sqs-queue.d.ts.map +1 -0
  696. package/dist/jobs/scaleway-sqs-queue.js +219 -150
  697. package/dist/jsonschema.d.ts +23 -25
  698. package/dist/jsonschema.d.ts.map +1 -0
  699. package/dist/jsonschema.js +60 -38
  700. package/dist/jsonschema.test.d.ts +2 -0
  701. package/dist/jsonschema.test.d.ts.map +1 -0
  702. package/dist/knowledge/binding.d.ts +22 -24
  703. package/dist/knowledge/binding.d.ts.map +1 -0
  704. package/dist/knowledge/binding.js +1 -0
  705. package/dist/knowledge/docs/knowledge.docblock.d.ts +3 -6
  706. package/dist/knowledge/docs/knowledge.docblock.d.ts.map +1 -0
  707. package/dist/knowledge/docs/knowledge.docblock.js +300 -20
  708. package/dist/knowledge/index.d.ts +5 -11
  709. package/dist/knowledge/index.d.ts.map +1 -0
  710. package/dist/knowledge/index.js +468 -10
  711. package/dist/knowledge/ingestion/document-processor.d.ts +19 -20
  712. package/dist/knowledge/ingestion/document-processor.d.ts.map +1 -0
  713. package/dist/knowledge/ingestion/document-processor.js +93 -52
  714. package/dist/knowledge/ingestion/embedding-service.d.ts +8 -11
  715. package/dist/knowledge/ingestion/embedding-service.d.ts.map +1 -0
  716. package/dist/knowledge/ingestion/embedding-service.js +55 -23
  717. package/dist/knowledge/ingestion/gmail-adapter.d.ts +14 -17
  718. package/dist/knowledge/ingestion/gmail-adapter.d.ts.map +1 -0
  719. package/dist/knowledge/ingestion/gmail-adapter.js +96 -44
  720. package/dist/knowledge/ingestion/index.d.ts +6 -6
  721. package/dist/knowledge/ingestion/index.d.ts.map +1 -0
  722. package/dist/knowledge/ingestion/index.js +251 -6
  723. package/dist/knowledge/ingestion/ingestion.test.d.ts +2 -0
  724. package/dist/knowledge/ingestion/ingestion.test.d.ts.map +1 -0
  725. package/dist/knowledge/ingestion/storage-adapter.d.ts +11 -14
  726. package/dist/knowledge/ingestion/storage-adapter.d.ts.map +1 -0
  727. package/dist/knowledge/ingestion/storage-adapter.js +60 -24
  728. package/dist/knowledge/ingestion/vector-indexer.d.ts +13 -16
  729. package/dist/knowledge/ingestion/vector-indexer.d.ts.map +1 -0
  730. package/dist/knowledge/ingestion/vector-indexer.js +61 -30
  731. package/dist/knowledge/knowledge.capability.d.ts +2 -7
  732. package/dist/knowledge/knowledge.capability.d.ts.map +1 -0
  733. package/dist/knowledge/knowledge.capability.js +726 -21
  734. package/dist/knowledge/knowledge.feature.d.ts +2 -7
  735. package/dist/knowledge/knowledge.feature.d.ts.map +1 -0
  736. package/dist/knowledge/knowledge.feature.js +298 -65
  737. package/dist/knowledge/operations.d.ts +283 -289
  738. package/dist/knowledge/operations.d.ts.map +1 -0
  739. package/dist/knowledge/operations.js +851 -303
  740. package/dist/knowledge/operations.test.d.ts +2 -0
  741. package/dist/knowledge/operations.test.d.ts.map +1 -0
  742. package/dist/knowledge/query/index.d.ts +2 -2
  743. package/dist/knowledge/query/index.d.ts.map +1 -0
  744. package/dist/knowledge/query/index.js +109 -2
  745. package/dist/knowledge/query/service.d.ts +23 -26
  746. package/dist/knowledge/query/service.d.ts.map +1 -0
  747. package/dist/knowledge/query/service.js +105 -60
  748. package/dist/knowledge/query/service.test.d.ts +2 -0
  749. package/dist/knowledge/query/service.test.d.ts.map +1 -0
  750. package/dist/knowledge/runtime.d.ts +25 -28
  751. package/dist/knowledge/runtime.d.ts.map +1 -0
  752. package/dist/knowledge/runtime.js +89 -47
  753. package/dist/knowledge/runtime.test.d.ts +2 -0
  754. package/dist/knowledge/runtime.test.d.ts.map +1 -0
  755. package/dist/knowledge/source.d.ts +28 -30
  756. package/dist/knowledge/source.d.ts.map +1 -0
  757. package/dist/knowledge/source.js +1 -0
  758. package/dist/knowledge/spaces/email-threads.d.ts +4 -7
  759. package/dist/knowledge/spaces/email-threads.d.ts.map +1 -0
  760. package/dist/knowledge/spaces/email-threads.js +98 -33
  761. package/dist/knowledge/spaces/financial-docs.d.ts +4 -7
  762. package/dist/knowledge/spaces/financial-docs.d.ts.map +1 -0
  763. package/dist/knowledge/spaces/financial-docs.js +98 -33
  764. package/dist/knowledge/spaces/financial-overview.d.ts +4 -7
  765. package/dist/knowledge/spaces/financial-overview.d.ts.map +1 -0
  766. package/dist/knowledge/spaces/financial-overview.js +98 -37
  767. package/dist/knowledge/spaces/index.d.ts +7 -7
  768. package/dist/knowledge/spaces/index.d.ts.map +1 -0
  769. package/dist/knowledge/spaces/index.js +273 -8
  770. package/dist/knowledge/spaces/product-canon.d.ts +4 -7
  771. package/dist/knowledge/spaces/product-canon.d.ts.map +1 -0
  772. package/dist/knowledge/spaces/product-canon.js +98 -33
  773. package/dist/knowledge/spaces/spaces.test.d.ts +2 -0
  774. package/dist/knowledge/spaces/spaces.test.d.ts.map +1 -0
  775. package/dist/knowledge/spaces/support-faq.d.ts +4 -7
  776. package/dist/knowledge/spaces/support-faq.d.ts.map +1 -0
  777. package/dist/knowledge/spaces/support-faq.js +99 -36
  778. package/dist/knowledge/spaces/uploaded-docs.d.ts +4 -7
  779. package/dist/knowledge/spaces/uploaded-docs.d.ts.map +1 -0
  780. package/dist/knowledge/spaces/uploaded-docs.js +98 -33
  781. package/dist/knowledge/spec.d.ts +37 -40
  782. package/dist/knowledge/spec.d.ts.map +1 -0
  783. package/dist/knowledge/spec.js +225 -14
  784. package/dist/knowledge/spec.test.d.ts +2 -0
  785. package/dist/knowledge/spec.test.d.ts.map +1 -0
  786. package/dist/llm/exporters.d.ts +31 -32
  787. package/dist/llm/exporters.d.ts.map +1 -0
  788. package/dist/llm/exporters.js +1248 -529
  789. package/dist/llm/index.d.ts +13 -4
  790. package/dist/llm/index.d.ts.map +1 -0
  791. package/dist/llm/index.js +1714 -3
  792. package/dist/llm/prompts.d.ts +26 -24
  793. package/dist/llm/prompts.d.ts.map +1 -0
  794. package/dist/llm/prompts.js +1508 -212
  795. package/dist/llm/types.d.ts +180 -182
  796. package/dist/llm/types.d.ts.map +1 -0
  797. package/dist/llm/types.js +1 -0
  798. package/dist/markdown.d.ts +10 -15
  799. package/dist/markdown.d.ts.map +1 -0
  800. package/dist/markdown.js +776 -116
  801. package/dist/migrations.d.ts +49 -52
  802. package/dist/migrations.d.ts.map +1 -0
  803. package/dist/migrations.js +64 -28
  804. package/dist/migrations.test.d.ts +2 -0
  805. package/dist/migrations.test.d.ts.map +1 -0
  806. package/dist/model-registry.d.ts +8 -11
  807. package/dist/model-registry.d.ts.map +1 -0
  808. package/dist/model-registry.js +60 -29
  809. package/dist/model-registry.test.d.ts +2 -0
  810. package/dist/model-registry.test.d.ts.map +1 -0
  811. package/dist/node/app-config/app-config.capability.js +730 -0
  812. package/dist/node/app-config/app-config.contracts.js +927 -0
  813. package/dist/node/app-config/app-config.feature.js +255 -0
  814. package/dist/node/app-config/branding.js +0 -0
  815. package/dist/node/app-config/docs/app-config.docblock.js +383 -0
  816. package/dist/node/app-config/events.js +386 -0
  817. package/dist/node/app-config/index.js +3113 -0
  818. package/dist/node/app-config/lifecycle-contracts.js +1084 -0
  819. package/dist/node/app-config/lifecycle.js +0 -0
  820. package/dist/node/app-config/runtime.js +734 -0
  821. package/dist/node/app-config/spec.js +229 -0
  822. package/dist/node/app-config/validation.js +650 -0
  823. package/dist/node/capabilities/capabilities.js +217 -0
  824. package/dist/node/capabilities/context.js +101 -0
  825. package/dist/node/capabilities/docs/capabilities.docblock.js +353 -0
  826. package/dist/node/capabilities/guards.js +177 -0
  827. package/dist/node/capabilities/index.js +739 -0
  828. package/dist/node/capabilities/meeting-recorder.js +154 -0
  829. package/dist/node/capabilities/openbanking.js +166 -0
  830. package/dist/node/capabilities/validation.js +185 -0
  831. package/dist/node/client/index.js +1379 -0
  832. package/dist/node/client/react/drivers/rn-reusables.js +38 -0
  833. package/dist/node/client/react/drivers/shadcn.js +38 -0
  834. package/dist/node/client/react/feature-render.js +833 -0
  835. package/dist/node/client/react/form-render.js +681 -0
  836. package/dist/node/client/react/index.js +1376 -0
  837. package/dist/node/contract-registry/index.js +129 -0
  838. package/dist/node/contract-registry/schemas.js +129 -0
  839. package/dist/node/contract-registry/types.js +0 -0
  840. package/dist/node/data-views/data-views.js +232 -0
  841. package/dist/node/data-views/docs/data-views.docblock.js +164 -0
  842. package/dist/node/data-views/index.js +232 -0
  843. package/dist/node/data-views/query-generator.js +89 -0
  844. package/dist/node/data-views/registry.js +226 -0
  845. package/dist/node/data-views/report/contractVerificationTable.js +240 -0
  846. package/dist/node/data-views/runtime.js +108 -0
  847. package/dist/node/data-views/spec.js +38 -0
  848. package/dist/node/data-views/types.js +0 -0
  849. package/dist/node/docs/accessibility_wcag_compliance_specs.docblock.js +513 -0
  850. package/dist/node/docs/capabilities/documentationSystem.capability.js +784 -0
  851. package/dist/node/docs/capabilities/index.js +784 -0
  852. package/dist/node/docs/commands/docsGenerate.command.js +1016 -0
  853. package/dist/node/docs/commands/docsPublish.command.js +995 -0
  854. package/dist/node/docs/commands/index.js +1120 -0
  855. package/dist/node/docs/constants.js +78 -0
  856. package/dist/node/docs/contracts.js +2383 -0
  857. package/dist/node/docs/ensure-docblocks.js +264 -0
  858. package/dist/node/docs/events/docsGenerated.event.js +533 -0
  859. package/dist/node/docs/events/docsPublished.event.js +534 -0
  860. package/dist/node/docs/events/index.js +567 -0
  861. package/dist/node/docs/forms/docsSearch.form.js +676 -0
  862. package/dist/node/docs/forms/index.js +676 -0
  863. package/dist/node/docs/index.js +5491 -0
  864. package/dist/node/docs/meta.docs.js +176 -0
  865. package/dist/node/docs/presentations/docsLayout.presentation.js +1090 -0
  866. package/dist/node/docs/presentations/docsReferencePage.presentation.js +1090 -0
  867. package/dist/node/docs/presentations/index.js +1118 -0
  868. package/dist/node/docs/presentations.js +97 -0
  869. package/dist/node/docs/queries/contractReference.query.js +966 -0
  870. package/dist/node/docs/queries/docsIndex.query.js +966 -0
  871. package/dist/node/docs/queries/index.js +1041 -0
  872. package/dist/node/docs/registry.js +153 -0
  873. package/dist/node/docs/tech/auth/better-auth-nextjs.docblock.js +221 -0
  874. package/dist/node/docs/tech/cli.docblock.js +291 -0
  875. package/dist/node/docs/tech/contracts/README.docblock.js +164 -0
  876. package/dist/node/docs/tech/contracts/migrations.docblock.js +164 -0
  877. package/dist/node/docs/tech/contracts/openapi-export.docblock.js +201 -0
  878. package/dist/node/docs/tech/contracts/openapi-import.docblock.js +207 -0
  879. package/dist/node/docs/tech/contracts/ops-to-presentation-linking.docblock.js +225 -0
  880. package/dist/node/docs/tech/contracts/overlays.docblock.js +231 -0
  881. package/dist/node/docs/tech/contracts/tests.docblock.js +164 -0
  882. package/dist/node/docs/tech/contracts/themes.docblock.js +257 -0
  883. package/dist/node/docs/tech/contracts/vertical-pocket-family-office.docblock.js +269 -0
  884. package/dist/node/docs/tech/docs-system.docblock.js +264 -0
  885. package/dist/node/docs/tech/lifecycle-stage-system.docblock.js +376 -0
  886. package/dist/node/docs/tech/llm/llm-integration.docblock.js +482 -0
  887. package/dist/node/docs/tech/mcp-endpoints.docblock.js +185 -0
  888. package/dist/node/docs/tech/presentation-runtime.docblock.js +221 -0
  889. package/dist/node/docs/tech/report-verification-table.docblock.js +191 -0
  890. package/dist/node/docs/tech/schema/README.docblock.js +164 -0
  891. package/dist/node/docs/tech/studio/learning-events.docblock.js +190 -0
  892. package/dist/node/docs/tech/studio/learning-journeys.docblock.js +227 -0
  893. package/dist/node/docs/tech/studio/platform-admin-panel.docblock.js +226 -0
  894. package/dist/node/docs/tech/studio/project-access-teams.docblock.js +200 -0
  895. package/dist/node/docs/tech/studio/project-routing.docblock.js +209 -0
  896. package/dist/node/docs/tech/studio/sandbox-unlogged.docblock.js +183 -0
  897. package/dist/node/docs/tech/studio/team-invitations.docblock.js +228 -0
  898. package/dist/node/docs/tech/studio/workspace-ops.docblock.js +189 -0
  899. package/dist/node/docs/tech/studio/workspaces.docblock.js +204 -0
  900. package/dist/node/docs/tech/telemetry-ingest.docblock.js +305 -0
  901. package/dist/node/docs/tech/vscode-extension.docblock.js +241 -0
  902. package/dist/node/docs/tech-contracts.docs.js +239 -0
  903. package/dist/node/docs/types.js +0 -0
  904. package/dist/node/docs/views/contractReference.dataView.js +1047 -0
  905. package/dist/node/docs/views/docsIndex.dataView.js +1041 -0
  906. package/dist/node/docs/views/exampleCatalog.dataView.js +1025 -0
  907. package/dist/node/docs/views/index.js +1240 -0
  908. package/dist/node/events.js +228 -0
  909. package/dist/node/examples/docs/examples.docblock.js +307 -0
  910. package/dist/node/examples/index.js +604 -0
  911. package/dist/node/examples/registry.js +286 -0
  912. package/dist/node/examples/schema.js +166 -0
  913. package/dist/node/examples/types.js +77 -0
  914. package/dist/node/examples/validation.js +287 -0
  915. package/dist/node/experiments/docs/experiments.docblock.js +291 -0
  916. package/dist/node/experiments/evaluator.js +155 -0
  917. package/dist/node/experiments/spec-resolver.js +0 -0
  918. package/dist/node/experiments/spec.js +227 -0
  919. package/dist/node/features/index.js +275 -0
  920. package/dist/node/features/install.js +95 -0
  921. package/dist/node/features/registry.js +192 -0
  922. package/dist/node/features/types.js +0 -0
  923. package/dist/node/features/validation.js +48 -0
  924. package/dist/node/forms/docs/forms.docblock.js +164 -0
  925. package/dist/node/forms/forms.js +332 -0
  926. package/dist/node/forms/index.js +332 -0
  927. package/dist/node/index.js +18236 -0
  928. package/dist/node/install.js +60 -0
  929. package/dist/node/integrations/binding.js +0 -0
  930. package/dist/node/integrations/connection.js +0 -0
  931. package/dist/node/integrations/docs/integrations.docblock.js +255 -0
  932. package/dist/node/integrations/health.js +103 -0
  933. package/dist/node/integrations/index.js +3809 -0
  934. package/dist/node/integrations/integrations.capability.js +726 -0
  935. package/dist/node/integrations/integrations.feature.js +301 -0
  936. package/dist/node/integrations/meeting-recorder/contracts/index.js +1231 -0
  937. package/dist/node/integrations/meeting-recorder/contracts/meetings.js +866 -0
  938. package/dist/node/integrations/meeting-recorder/contracts/transcripts.js +933 -0
  939. package/dist/node/integrations/meeting-recorder/contracts/webhooks.js +819 -0
  940. package/dist/node/integrations/meeting-recorder/meeting-recorder.capability.js +726 -0
  941. package/dist/node/integrations/meeting-recorder/meeting-recorder.feature.js +301 -0
  942. package/dist/node/integrations/meeting-recorder/models.js +152 -0
  943. package/dist/node/integrations/meeting-recorder/telemetry.js +84 -0
  944. package/dist/node/integrations/openbanking/contracts/accounts.js +974 -0
  945. package/dist/node/integrations/openbanking/contracts/balances.js +938 -0
  946. package/dist/node/integrations/openbanking/contracts/index.js +1399 -0
  947. package/dist/node/integrations/openbanking/contracts/transactions.js +944 -0
  948. package/dist/node/integrations/openbanking/guards.js +72 -0
  949. package/dist/node/integrations/openbanking/models.js +140 -0
  950. package/dist/node/integrations/openbanking/openbanking.capability.js +726 -0
  951. package/dist/node/integrations/openbanking/openbanking.feature.js +303 -0
  952. package/dist/node/integrations/openbanking/telemetry.js +81 -0
  953. package/dist/node/integrations/operations.js +943 -0
  954. package/dist/node/integrations/providers/analytics-reader.js +0 -0
  955. package/dist/node/integrations/providers/analytics-writer.js +0 -0
  956. package/dist/node/integrations/providers/analytics.js +0 -0
  957. package/dist/node/integrations/providers/calendar.js +0 -0
  958. package/dist/node/integrations/providers/database.js +0 -0
  959. package/dist/node/integrations/providers/elevenlabs.js +331 -0
  960. package/dist/node/integrations/providers/email.js +0 -0
  961. package/dist/node/integrations/providers/embedding.js +0 -0
  962. package/dist/node/integrations/providers/fal.js +357 -0
  963. package/dist/node/integrations/providers/fathom.js +371 -0
  964. package/dist/node/integrations/providers/fireflies.js +351 -0
  965. package/dist/node/integrations/providers/gcs-storage.js +342 -0
  966. package/dist/node/integrations/providers/gmail.js +354 -0
  967. package/dist/node/integrations/providers/google-calendar.js +337 -0
  968. package/dist/node/integrations/providers/gradium.js +355 -0
  969. package/dist/node/integrations/providers/granola.js +352 -0
  970. package/dist/node/integrations/providers/index.js +2142 -0
  971. package/dist/node/integrations/providers/jira.js +353 -0
  972. package/dist/node/integrations/providers/linear.js +352 -0
  973. package/dist/node/integrations/providers/llm.js +0 -0
  974. package/dist/node/integrations/providers/meeting-recorder.js +0 -0
  975. package/dist/node/integrations/providers/mistral.js +339 -0
  976. package/dist/node/integrations/providers/notion.js +358 -0
  977. package/dist/node/integrations/providers/openbanking.js +0 -0
  978. package/dist/node/integrations/providers/payments.js +0 -0
  979. package/dist/node/integrations/providers/posthog.js +349 -0
  980. package/dist/node/integrations/providers/postmark.js +343 -0
  981. package/dist/node/integrations/providers/powens.js +369 -0
  982. package/dist/node/integrations/providers/project-management.js +0 -0
  983. package/dist/node/integrations/providers/qdrant.js +346 -0
  984. package/dist/node/integrations/providers/registry.js +2100 -0
  985. package/dist/node/integrations/providers/sms.js +0 -0
  986. package/dist/node/integrations/providers/storage.js +0 -0
  987. package/dist/node/integrations/providers/stripe.js +350 -0
  988. package/dist/node/integrations/providers/supabase-postgres.js +332 -0
  989. package/dist/node/integrations/providers/supabase-vector.js +352 -0
  990. package/dist/node/integrations/providers/tldv.js +351 -0
  991. package/dist/node/integrations/providers/twilio-sms.js +336 -0
  992. package/dist/node/integrations/providers/vector-store.js +0 -0
  993. package/dist/node/integrations/providers/voice.js +0 -0
  994. package/dist/node/integrations/runtime.js +239 -0
  995. package/dist/node/integrations/secrets/aws-secret-manager.js +376 -0
  996. package/dist/node/integrations/secrets/env-secret-provider.js +189 -0
  997. package/dist/node/integrations/secrets/gcp-secret-manager.js +377 -0
  998. package/dist/node/integrations/secrets/index.js +1159 -0
  999. package/dist/node/integrations/secrets/manager.js +213 -0
  1000. package/dist/node/integrations/secrets/provider.js +104 -0
  1001. package/dist/node/integrations/secrets/scaleway-secret-manager.js +405 -0
  1002. package/dist/node/integrations/secrets-types.js +0 -0
  1003. package/dist/node/integrations/spec.js +232 -0
  1004. package/dist/node/jobs/define-job.js +41 -0
  1005. package/dist/node/jobs/gcp-cloud-tasks.js +103 -0
  1006. package/dist/node/jobs/gcp-pubsub.js +91 -0
  1007. package/dist/node/jobs/handlers/gmail-sync-handler.js +40 -0
  1008. package/dist/node/jobs/handlers/index.js +83 -0
  1009. package/dist/node/jobs/handlers/ping-handler.js +47 -0
  1010. package/dist/node/jobs/handlers/storage-document-handler.js +47 -0
  1011. package/dist/node/jobs/index.js +64 -0
  1012. package/dist/node/jobs/memory-queue.js +129 -0
  1013. package/dist/node/jobs/queue.js +55 -0
  1014. package/dist/node/jobs/scaleway-sqs-queue.js +222 -0
  1015. package/dist/node/jsonschema.js +73 -0
  1016. package/dist/node/knowledge/binding.js +0 -0
  1017. package/dist/node/knowledge/docs/knowledge.docblock.js +301 -0
  1018. package/dist/node/knowledge/index.js +468 -0
  1019. package/dist/node/knowledge/ingestion/document-processor.js +95 -0
  1020. package/dist/node/knowledge/ingestion/embedding-service.js +57 -0
  1021. package/dist/node/knowledge/ingestion/gmail-adapter.js +103 -0
  1022. package/dist/node/knowledge/ingestion/index.js +252 -0
  1023. package/dist/node/knowledge/ingestion/storage-adapter.js +62 -0
  1024. package/dist/node/knowledge/ingestion/vector-indexer.js +63 -0
  1025. package/dist/node/knowledge/knowledge.capability.js +726 -0
  1026. package/dist/node/knowledge/knowledge.feature.js +301 -0
  1027. package/dist/node/knowledge/operations.js +869 -0
  1028. package/dist/node/knowledge/query/index.js +110 -0
  1029. package/dist/node/knowledge/query/service.js +110 -0
  1030. package/dist/node/knowledge/runtime.js +91 -0
  1031. package/dist/node/knowledge/source.js +0 -0
  1032. package/dist/node/knowledge/spaces/email-threads.js +102 -0
  1033. package/dist/node/knowledge/spaces/financial-docs.js +102 -0
  1034. package/dist/node/knowledge/spaces/financial-overview.js +102 -0
  1035. package/dist/node/knowledge/spaces/index.js +273 -0
  1036. package/dist/node/knowledge/spaces/product-canon.js +102 -0
  1037. package/dist/node/knowledge/spaces/support-faq.js +103 -0
  1038. package/dist/node/knowledge/spaces/uploaded-docs.js +102 -0
  1039. package/dist/node/knowledge/spec.js +228 -0
  1040. package/dist/node/llm/exporters.js +1261 -0
  1041. package/dist/node/llm/index.js +1715 -0
  1042. package/dist/node/llm/prompts.js +1706 -0
  1043. package/dist/node/llm/types.js +0 -0
  1044. package/dist/node/markdown.js +779 -0
  1045. package/dist/node/migrations.js +67 -0
  1046. package/dist/node/model-registry.js +64 -0
  1047. package/dist/node/onboarding-base.js +810 -0
  1048. package/dist/node/openapi.js +151 -0
  1049. package/dist/node/operations/index.js +665 -0
  1050. package/dist/node/operations/operation.js +51 -0
  1051. package/dist/node/operations/registry.js +405 -0
  1052. package/dist/node/operations/report/getContractVerificationStatus.js +170 -0
  1053. package/dist/node/operations/report/index.js +305 -0
  1054. package/dist/node/ownership.js +73 -0
  1055. package/dist/node/policy/context.js +206 -0
  1056. package/dist/node/policy/docs/policy.docblock.js +313 -0
  1057. package/dist/node/policy/engine.js +325 -0
  1058. package/dist/node/policy/guards.js +387 -0
  1059. package/dist/node/policy/index.js +1313 -0
  1060. package/dist/node/policy/opa-adapter.js +110 -0
  1061. package/dist/node/policy/registry.js +221 -0
  1062. package/dist/node/policy/spec.js +0 -0
  1063. package/dist/node/policy/validation.js +391 -0
  1064. package/dist/node/presentations/docs/presentations-conventions.docblock.js +171 -0
  1065. package/dist/node/presentations/index.js +795 -0
  1066. package/dist/node/presentations/presentations.js +38 -0
  1067. package/dist/node/presentations/registry.js +221 -0
  1068. package/dist/node/presentations/transform-engine.js +600 -0
  1069. package/dist/node/product-intent/contract-patch-intent.js +68 -0
  1070. package/dist/node/product-intent/contract-spec-patch.js +75 -0
  1071. package/dist/node/product-intent/evidence.js +45 -0
  1072. package/dist/node/product-intent/findings.js +81 -0
  1073. package/dist/node/product-intent/impact-report.js +62 -0
  1074. package/dist/node/product-intent/index.js +742 -0
  1075. package/dist/node/product-intent/insights.js +63 -0
  1076. package/dist/node/product-intent/opportunity-brief.js +106 -0
  1077. package/dist/node/product-intent/problems.js +55 -0
  1078. package/dist/node/product-intent/registry.js +242 -0
  1079. package/dist/node/product-intent/runtime.js +320 -0
  1080. package/dist/node/product-intent/spec.js +425 -0
  1081. package/dist/node/product-intent/task-pack.js +69 -0
  1082. package/dist/node/product-intent/tickets.js +57 -0
  1083. package/dist/node/product-intent/types.js +378 -0
  1084. package/dist/node/product-intent/ui-wireframe.js +73 -0
  1085. package/dist/node/prompt.js +38 -0
  1086. package/dist/node/promptRegistry.js +63 -0
  1087. package/dist/node/regenerator/adapters.js +0 -0
  1088. package/dist/node/regenerator/docs/regenerator.docblock.js +164 -0
  1089. package/dist/node/regenerator/executor.js +157 -0
  1090. package/dist/node/regenerator/index.js +342 -0
  1091. package/dist/node/regenerator/service.js +183 -0
  1092. package/dist/node/regenerator/sinks.js +64 -0
  1093. package/dist/node/regenerator/types.js +0 -0
  1094. package/dist/node/regenerator/utils.js +87 -0
  1095. package/dist/node/registry-utils.js +163 -0
  1096. package/dist/node/registry.js +215 -0
  1097. package/dist/node/resources.js +83 -0
  1098. package/dist/node/schema-to-markdown.js +278 -0
  1099. package/dist/node/serialization/index.js +179 -0
  1100. package/dist/node/serialization/serializers.js +180 -0
  1101. package/dist/node/serialization/types.js +0 -0
  1102. package/dist/node/server/contracts-adapter-hydration.js +71 -0
  1103. package/dist/node/server/contracts-adapter-input.js +130 -0
  1104. package/dist/node/server/graphql-pothos.js +338 -0
  1105. package/dist/node/server/index.js +1469 -0
  1106. package/dist/node/server/mcp/createMcpServer.js +994 -0
  1107. package/dist/node/server/mcp/mcpTypes.js +0 -0
  1108. package/dist/node/server/mcp/registerPresentations.js +877 -0
  1109. package/dist/node/server/mcp/registerPrompts.js +109 -0
  1110. package/dist/node/server/mcp/registerResources.js +75 -0
  1111. package/dist/node/server/mcp/registerTools.js +86 -0
  1112. package/dist/node/server/provider-mcp.js +994 -0
  1113. package/dist/node/server/rest-elysia.js +209 -0
  1114. package/dist/node/server/rest-express.js +224 -0
  1115. package/dist/node/server/rest-generic.js +192 -0
  1116. package/dist/node/server/rest-next-app.js +200 -0
  1117. package/dist/node/server/rest-next-mcp.js +103 -0
  1118. package/dist/node/server/rest-next-pages.js +211 -0
  1119. package/dist/node/telemetry/anomaly.js +91 -0
  1120. package/dist/node/telemetry/docs/telemetry.docblock.js +164 -0
  1121. package/dist/node/telemetry/index.js +417 -0
  1122. package/dist/node/telemetry/spec.js +261 -0
  1123. package/dist/node/telemetry/tracker.js +129 -0
  1124. package/dist/node/tests/index.js +231 -0
  1125. package/dist/node/tests/runner.js +189 -0
  1126. package/dist/node/tests/spec.js +74 -0
  1127. package/dist/node/themes.js +225 -0
  1128. package/dist/node/translations/catalog.js +0 -0
  1129. package/dist/node/translations/index.js +533 -0
  1130. package/dist/node/translations/registry.js +170 -0
  1131. package/dist/node/translations/spec.js +36 -0
  1132. package/dist/node/translations/tenant.js +0 -0
  1133. package/dist/node/translations/validation.js +392 -0
  1134. package/dist/node/types.js +0 -0
  1135. package/dist/node/versioning/index.js +274 -0
  1136. package/dist/node/versioning/refs.js +99 -0
  1137. package/dist/node/versioning/types.js +55 -0
  1138. package/dist/node/versioning/utils.js +184 -0
  1139. package/dist/node/workflow/adapters/db-adapter.js +127 -0
  1140. package/dist/node/workflow/adapters/file-adapter.js +38 -0
  1141. package/dist/node/workflow/adapters/index.js +194 -0
  1142. package/dist/node/workflow/adapters/memory-store.js +93 -0
  1143. package/dist/node/workflow/context.js +247 -0
  1144. package/dist/node/workflow/expression.js +157 -0
  1145. package/dist/node/workflow/index.js +1546 -0
  1146. package/dist/node/workflow/overview.docblock.js +164 -0
  1147. package/dist/node/workflow/runner.js +532 -0
  1148. package/dist/node/workflow/sla-monitor.js +84 -0
  1149. package/dist/node/workflow/spec.js +221 -0
  1150. package/dist/node/workflow/state.js +0 -0
  1151. package/dist/node/workflow/validation.js +425 -0
  1152. package/dist/node/workspace-config/contractsrc-schema.js +344 -0
  1153. package/dist/node/workspace-config/contractsrc-types.js +0 -0
  1154. package/dist/node/workspace-config/index.js +325 -0
  1155. package/dist/node/workspace-config/workspace-config.docblock.js +188 -0
  1156. package/dist/onboarding-base.d.ts +116 -122
  1157. package/dist/onboarding-base.d.ts.map +1 -0
  1158. package/dist/onboarding-base.js +807 -192
  1159. package/dist/openapi.d.ts +30 -27
  1160. package/dist/openapi.d.ts.map +1 -0
  1161. package/dist/openapi.js +140 -71
  1162. package/dist/operations/index.d.ts +4 -6
  1163. package/dist/operations/index.d.ts.map +1 -0
  1164. package/dist/operations/index.js +664 -6
  1165. package/dist/operations/operation.d.ts +151 -151
  1166. package/dist/operations/operation.d.ts.map +1 -0
  1167. package/dist/operations/operation.js +49 -33
  1168. package/dist/operations/registry.d.ts +53 -48
  1169. package/dist/operations/registry.d.ts.map +1 -0
  1170. package/dist/operations/registry.js +401 -172
  1171. package/dist/operations/report/getContractVerificationStatus.d.ts +61 -67
  1172. package/dist/operations/report/getContractVerificationStatus.d.ts.map +1 -0
  1173. package/dist/operations/report/getContractVerificationStatus.js +166 -92
  1174. package/dist/operations/report/getContractVerificationStatus.test.d.ts +2 -0
  1175. package/dist/operations/report/getContractVerificationStatus.test.d.ts.map +1 -0
  1176. package/dist/operations/report/index.d.ts +8 -10
  1177. package/dist/operations/report/index.d.ts.map +1 -0
  1178. package/dist/operations/report/index.js +301 -41
  1179. package/dist/operations/report/index.test.d.ts +2 -0
  1180. package/dist/operations/report/index.test.d.ts.map +1 -0
  1181. package/dist/ownership.d.ts +154 -151
  1182. package/dist/ownership.d.ts.map +1 -0
  1183. package/dist/ownership.js +70 -60
  1184. package/dist/ownership.test.d.ts +2 -0
  1185. package/dist/ownership.test.d.ts.map +1 -0
  1186. package/dist/policy/context.d.ts +154 -156
  1187. package/dist/policy/context.d.ts.map +1 -0
  1188. package/dist/policy/context.js +197 -218
  1189. package/dist/policy/context.test.d.ts +2 -0
  1190. package/dist/policy/context.test.d.ts.map +1 -0
  1191. package/dist/policy/docs/policy.docblock.d.ts +3 -6
  1192. package/dist/policy/docs/policy.docblock.d.ts.map +1 -0
  1193. package/dist/policy/docs/policy.docblock.js +312 -20
  1194. package/dist/policy/engine.d.ts +32 -35
  1195. package/dist/policy/engine.d.ts.map +1 -0
  1196. package/dist/policy/engine.js +298 -198
  1197. package/dist/policy/engine.test.d.ts +2 -0
  1198. package/dist/policy/engine.test.d.ts.map +1 -0
  1199. package/dist/policy/guards.d.ts +47 -35
  1200. package/dist/policy/guards.d.ts.map +1 -0
  1201. package/dist/policy/guards.js +373 -240
  1202. package/dist/policy/guards.test.d.ts +2 -0
  1203. package/dist/policy/guards.test.d.ts.map +1 -0
  1204. package/dist/policy/index.d.ts +10 -13
  1205. package/dist/policy/index.d.ts.map +1 -0
  1206. package/dist/policy/index.js +1313 -15
  1207. package/dist/policy/opa-adapter.d.ts +37 -40
  1208. package/dist/policy/opa-adapter.d.ts.map +1 -0
  1209. package/dist/policy/opa-adapter.js +103 -64
  1210. package/dist/policy/opa-adapter.test.d.ts +2 -0
  1211. package/dist/policy/opa-adapter.test.d.ts.map +1 -0
  1212. package/dist/policy/registry.d.ts +5 -8
  1213. package/dist/policy/registry.d.ts.map +1 -0
  1214. package/dist/policy/registry.js +219 -9
  1215. package/dist/policy/spec.d.ts +84 -87
  1216. package/dist/policy/spec.d.ts.map +1 -0
  1217. package/dist/policy/spec.js +1 -0
  1218. package/dist/policy/validation.d.ts +45 -27
  1219. package/dist/policy/validation.d.ts.map +1 -0
  1220. package/dist/policy/validation.js +369 -285
  1221. package/dist/policy/validation.test.d.ts +2 -0
  1222. package/dist/policy/validation.test.d.ts.map +1 -0
  1223. package/dist/presentations/docs/presentations-conventions.docblock.d.ts +3 -6
  1224. package/dist/presentations/docs/presentations-conventions.docblock.d.ts.map +1 -0
  1225. package/dist/presentations/docs/presentations-conventions.docblock.js +169 -19
  1226. package/dist/presentations/index.d.ts +4 -4
  1227. package/dist/presentations/index.d.ts.map +1 -0
  1228. package/dist/presentations/index.js +794 -4
  1229. package/dist/presentations/presentations.d.ts +42 -45
  1230. package/dist/presentations/presentations.d.ts.map +1 -0
  1231. package/dist/presentations/presentations.js +36 -5
  1232. package/dist/presentations/registry.d.ts +5 -8
  1233. package/dist/presentations/registry.d.ts.map +1 -0
  1234. package/dist/presentations/registry.js +219 -10
  1235. package/dist/presentations/transform-engine.d.ts +43 -46
  1236. package/dist/presentations/transform-engine.d.ts.map +1 -0
  1237. package/dist/presentations/transform-engine.js +580 -262
  1238. package/dist/presentations/transform-engine.test.d.ts +2 -0
  1239. package/dist/presentations/transform-engine.test.d.ts.map +1 -0
  1240. package/dist/product-intent/contract-patch-intent.d.ts +101 -0
  1241. package/dist/product-intent/contract-patch-intent.d.ts.map +1 -0
  1242. package/dist/product-intent/contract-patch-intent.js +68 -0
  1243. package/dist/product-intent/contract-spec-patch.d.ts +87 -0
  1244. package/dist/product-intent/contract-spec-patch.d.ts.map +1 -0
  1245. package/dist/product-intent/contract-spec-patch.js +75 -0
  1246. package/dist/product-intent/evidence.d.ts +15 -0
  1247. package/dist/product-intent/evidence.d.ts.map +1 -0
  1248. package/dist/product-intent/evidence.js +45 -0
  1249. package/dist/product-intent/findings.d.ts +58 -0
  1250. package/dist/product-intent/findings.d.ts.map +1 -0
  1251. package/dist/product-intent/findings.js +81 -0
  1252. package/dist/product-intent/impact-report.d.ts +58 -0
  1253. package/dist/product-intent/impact-report.d.ts.map +1 -0
  1254. package/dist/product-intent/impact-report.js +62 -0
  1255. package/dist/product-intent/index.d.ts +14 -0
  1256. package/dist/product-intent/index.d.ts.map +1 -0
  1257. package/dist/product-intent/index.js +742 -0
  1258. package/dist/product-intent/insights.d.ts +63 -0
  1259. package/dist/product-intent/insights.d.ts.map +1 -0
  1260. package/dist/product-intent/insights.js +63 -0
  1261. package/dist/product-intent/opportunity-brief.d.ts +193 -0
  1262. package/dist/product-intent/opportunity-brief.d.ts.map +1 -0
  1263. package/dist/product-intent/opportunity-brief.js +106 -0
  1264. package/dist/product-intent/problems.d.ts +60 -0
  1265. package/dist/product-intent/problems.d.ts.map +1 -0
  1266. package/dist/product-intent/problems.js +55 -0
  1267. package/dist/product-intent/registry.d.ts +29 -0
  1268. package/dist/product-intent/registry.d.ts.map +1 -0
  1269. package/dist/product-intent/registry.js +242 -0
  1270. package/dist/product-intent/registry.test.d.ts +2 -0
  1271. package/dist/product-intent/registry.test.d.ts.map +1 -0
  1272. package/dist/product-intent/runtime.d.ts +93 -0
  1273. package/dist/product-intent/runtime.d.ts.map +1 -0
  1274. package/dist/product-intent/runtime.js +320 -0
  1275. package/dist/product-intent/runtime.test.d.ts +2 -0
  1276. package/dist/product-intent/runtime.test.d.ts.map +1 -0
  1277. package/dist/product-intent/spec.d.ts +665 -0
  1278. package/dist/product-intent/spec.d.ts.map +1 -0
  1279. package/dist/product-intent/spec.js +425 -0
  1280. package/dist/product-intent/task-pack.d.ts +99 -0
  1281. package/dist/product-intent/task-pack.d.ts.map +1 -0
  1282. package/dist/product-intent/task-pack.js +69 -0
  1283. package/dist/product-intent/tickets.d.ts +68 -0
  1284. package/dist/product-intent/tickets.d.ts.map +1 -0
  1285. package/dist/product-intent/tickets.js +57 -0
  1286. package/dist/product-intent/types.d.ts +12 -0
  1287. package/dist/product-intent/types.d.ts.map +1 -0
  1288. package/dist/product-intent/types.js +378 -0
  1289. package/dist/product-intent/ui-wireframe.d.ts +101 -0
  1290. package/dist/product-intent/ui-wireframe.d.ts.map +1 -0
  1291. package/dist/product-intent/ui-wireframe.js +73 -0
  1292. package/dist/prompt.d.ts +37 -40
  1293. package/dist/prompt.d.ts.map +1 -0
  1294. package/dist/prompt.js +35 -7
  1295. package/dist/prompt.test.d.ts +2 -0
  1296. package/dist/prompt.test.d.ts.map +1 -0
  1297. package/dist/promptRegistry.d.ts +11 -14
  1298. package/dist/promptRegistry.d.ts.map +1 -0
  1299. package/dist/promptRegistry.js +60 -28
  1300. package/dist/promptRegistry.test.d.ts +2 -0
  1301. package/dist/promptRegistry.test.d.ts.map +1 -0
  1302. package/dist/regenerator/adapters.d.ts +12 -15
  1303. package/dist/regenerator/adapters.d.ts.map +1 -0
  1304. package/dist/regenerator/adapters.js +1 -0
  1305. package/dist/regenerator/docs/regenerator.docblock.d.ts +3 -6
  1306. package/dist/regenerator/docs/regenerator.docblock.d.ts.map +1 -0
  1307. package/dist/regenerator/docs/regenerator.docblock.js +162 -19
  1308. package/dist/regenerator/executor.d.ts +52 -55
  1309. package/dist/regenerator/executor.d.ts.map +1 -0
  1310. package/dist/regenerator/executor.js +154 -83
  1311. package/dist/regenerator/executor.test.d.ts +2 -0
  1312. package/dist/regenerator/executor.test.d.ts.map +1 -0
  1313. package/dist/regenerator/index.d.ts +7 -7
  1314. package/dist/regenerator/index.d.ts.map +1 -0
  1315. package/dist/regenerator/index.js +341 -5
  1316. package/dist/regenerator/service.d.ts +28 -31
  1317. package/dist/regenerator/service.d.ts.map +1 -0
  1318. package/dist/regenerator/service.js +181 -91
  1319. package/dist/regenerator/service.test.d.ts +2 -0
  1320. package/dist/regenerator/service.test.d.ts.map +1 -0
  1321. package/dist/regenerator/sinks.d.ts +20 -22
  1322. package/dist/regenerator/sinks.d.ts.map +1 -0
  1323. package/dist/regenerator/sinks.js +62 -30
  1324. package/dist/regenerator/sinks.test.d.ts +2 -0
  1325. package/dist/regenerator/sinks.test.d.ts.map +1 -0
  1326. package/dist/regenerator/types.d.ts +87 -90
  1327. package/dist/regenerator/types.d.ts.map +1 -0
  1328. package/dist/regenerator/types.js +1 -0
  1329. package/dist/regenerator/utils.d.ts +6 -8
  1330. package/dist/regenerator/utils.d.ts.map +1 -0
  1331. package/dist/regenerator/utils.js +73 -37
  1332. package/dist/registry-utils.d.ts +63 -63
  1333. package/dist/registry-utils.d.ts.map +1 -0
  1334. package/dist/registry-utils.js +144 -103
  1335. package/dist/registry-utils.test.d.ts +2 -0
  1336. package/dist/registry-utils.test.d.ts.map +1 -0
  1337. package/dist/registry.d.ts +25 -29
  1338. package/dist/registry.d.ts.map +1 -0
  1339. package/dist/registry.js +212 -58
  1340. package/dist/resources.d.ts +56 -59
  1341. package/dist/resources.d.ts.map +1 -0
  1342. package/dist/resources.js +76 -43
  1343. package/dist/schema-to-markdown.d.ts +35 -32
  1344. package/dist/schema-to-markdown.d.ts.map +1 -0
  1345. package/dist/schema-to-markdown.js +251 -190
  1346. package/dist/serialization/index.d.ts +11 -3
  1347. package/dist/serialization/index.d.ts.map +1 -0
  1348. package/dist/serialization/index.js +179 -3
  1349. package/dist/serialization/serializers.d.ts +18 -22
  1350. package/dist/serialization/serializers.d.ts.map +1 -0
  1351. package/dist/serialization/serializers.js +164 -132
  1352. package/dist/serialization/types.d.ts +82 -84
  1353. package/dist/serialization/types.d.ts.map +1 -0
  1354. package/dist/serialization/types.js +1 -0
  1355. package/dist/server/contracts-adapter-hydration.d.ts +10 -13
  1356. package/dist/server/contracts-adapter-hydration.d.ts.map +1 -0
  1357. package/dist/server/contracts-adapter-hydration.js +67 -37
  1358. package/dist/server/contracts-adapter-input.d.ts +5 -8
  1359. package/dist/server/contracts-adapter-input.d.ts.map +1 -0
  1360. package/dist/server/contracts-adapter-input.js +121 -74
  1361. package/dist/server/graphql-pothos.d.ts +10 -14
  1362. package/dist/server/graphql-pothos.d.ts.map +1 -0
  1363. package/dist/server/graphql-pothos.js +334 -130
  1364. package/dist/server/index.d.ts +8 -9
  1365. package/dist/server/index.d.ts.map +1 -0
  1366. package/dist/server/index.js +1469 -10
  1367. package/dist/server/mcp/createMcpServer.d.ts +7 -11
  1368. package/dist/server/mcp/createMcpServer.d.ts.map +1 -0
  1369. package/dist/server/mcp/createMcpServer.js +993 -26
  1370. package/dist/server/mcp/mcpTypes.d.ts +22 -26
  1371. package/dist/server/mcp/mcpTypes.d.ts.map +1 -0
  1372. package/dist/server/mcp/mcpTypes.js +1 -0
  1373. package/dist/server/mcp/registerPresentations.d.ts +4 -7
  1374. package/dist/server/mcp/registerPresentations.d.ts.map +1 -0
  1375. package/dist/server/mcp/registerPresentations.js +873 -50
  1376. package/dist/server/mcp/registerPrompts.d.ts +5 -8
  1377. package/dist/server/mcp/registerPrompts.d.ts.map +1 -0
  1378. package/dist/server/mcp/registerPrompts.js +103 -35
  1379. package/dist/server/mcp/registerResources.d.ts +5 -8
  1380. package/dist/server/mcp/registerResources.d.ts.map +1 -0
  1381. package/dist/server/mcp/registerResources.js +70 -30
  1382. package/dist/server/mcp/registerTools.d.ts +5 -8
  1383. package/dist/server/mcp/registerTools.d.ts.map +1 -0
  1384. package/dist/server/mcp/registerTools.js +83 -19
  1385. package/dist/server/provider-mcp.d.ts +2 -2
  1386. package/dist/server/provider-mcp.d.ts.map +1 -0
  1387. package/dist/server/provider-mcp.js +993 -2
  1388. package/dist/server/provider-mcp.test.d.ts +2 -0
  1389. package/dist/server/provider-mcp.test.d.ts.map +1 -0
  1390. package/dist/server/rest-elysia.d.ts +30 -33
  1391. package/dist/server/rest-elysia.d.ts.map +1 -0
  1392. package/dist/server/rest-elysia.js +206 -17
  1393. package/dist/server/rest-express.d.ts +8 -12
  1394. package/dist/server/rest-express.d.ts.map +1 -0
  1395. package/dist/server/rest-express.js +221 -33
  1396. package/dist/server/rest-generic.d.ts +22 -25
  1397. package/dist/server/rest-generic.d.ts.map +1 -0
  1398. package/dist/server/rest-generic.js +185 -117
  1399. package/dist/server/rest-next-app.d.ts +5 -9
  1400. package/dist/server/rest-next-app.d.ts.map +1 -0
  1401. package/dist/server/rest-next-app.js +197 -35
  1402. package/dist/server/rest-next-mcp.d.ts +7 -10
  1403. package/dist/server/rest-next-mcp.d.ts.map +1 -0
  1404. package/dist/server/rest-next-mcp.js +100 -42
  1405. package/dist/server/rest-next-pages.d.ts +6 -9
  1406. package/dist/server/rest-next-pages.d.ts.map +1 -0
  1407. package/dist/server/rest-next-pages.js +208 -19
  1408. package/dist/telemetry/anomaly.d.ts +21 -24
  1409. package/dist/telemetry/anomaly.d.ts.map +1 -0
  1410. package/dist/telemetry/anomaly.js +89 -46
  1411. package/dist/telemetry/anomaly.test.d.ts +2 -0
  1412. package/dist/telemetry/anomaly.test.d.ts.map +1 -0
  1413. package/dist/telemetry/docs/telemetry.docblock.d.ts +3 -6
  1414. package/dist/telemetry/docs/telemetry.docblock.d.ts.map +1 -0
  1415. package/dist/telemetry/docs/telemetry.docblock.js +162 -19
  1416. package/dist/telemetry/index.d.ts +4 -4
  1417. package/dist/telemetry/index.d.ts.map +1 -0
  1418. package/dist/telemetry/index.js +416 -4
  1419. package/dist/telemetry/spec.d.ts +78 -81
  1420. package/dist/telemetry/spec.d.ts.map +1 -0
  1421. package/dist/telemetry/spec.js +257 -38
  1422. package/dist/telemetry/spec.test.d.ts +2 -0
  1423. package/dist/telemetry/spec.test.d.ts.map +1 -0
  1424. package/dist/telemetry/tracker.d.ts +44 -47
  1425. package/dist/telemetry/tracker.d.ts.map +1 -0
  1426. package/dist/telemetry/tracker.js +126 -73
  1427. package/dist/telemetry/tracker.test.d.ts +2 -0
  1428. package/dist/telemetry/tracker.test.d.ts.map +1 -0
  1429. package/dist/tests/index.d.ts +3 -3
  1430. package/dist/tests/index.d.ts.map +1 -0
  1431. package/dist/tests/index.js +230 -3
  1432. package/dist/tests/runner.d.ts +34 -38
  1433. package/dist/tests/runner.d.ts.map +1 -0
  1434. package/dist/tests/runner.js +186 -147
  1435. package/dist/tests/runner.test.d.ts +2 -0
  1436. package/dist/tests/runner.test.d.ts.map +1 -0
  1437. package/dist/tests/spec.d.ts +59 -63
  1438. package/dist/tests/spec.d.ts.map +1 -0
  1439. package/dist/tests/spec.js +68 -28
  1440. package/dist/tests/spec.test.d.ts +2 -0
  1441. package/dist/tests/spec.test.d.ts.map +1 -0
  1442. package/dist/themes.d.ts +44 -47
  1443. package/dist/themes.d.ts.map +1 -0
  1444. package/dist/themes.js +222 -14
  1445. package/dist/themes.test.d.ts +2 -0
  1446. package/dist/themes.test.d.ts.map +1 -0
  1447. package/dist/translations/catalog.d.ts +22 -24
  1448. package/dist/translations/catalog.d.ts.map +1 -0
  1449. package/dist/translations/catalog.js +1 -0
  1450. package/dist/translations/index.d.ts +45 -6
  1451. package/dist/translations/index.d.ts.map +1 -0
  1452. package/dist/translations/index.js +532 -4
  1453. package/dist/translations/registry.d.ts +167 -138
  1454. package/dist/translations/registry.d.ts.map +1 -0
  1455. package/dist/translations/registry.js +168 -221
  1456. package/dist/translations/registry.test.d.ts +2 -0
  1457. package/dist/translations/registry.test.d.ts.map +1 -0
  1458. package/dist/translations/spec.d.ts +114 -86
  1459. package/dist/translations/spec.d.ts.map +1 -0
  1460. package/dist/translations/spec.js +35 -30
  1461. package/dist/translations/spec.test.d.ts +2 -0
  1462. package/dist/translations/spec.test.d.ts.map +1 -0
  1463. package/dist/translations/tenant.d.ts +11 -14
  1464. package/dist/translations/tenant.d.ts.map +1 -0
  1465. package/dist/translations/tenant.js +1 -0
  1466. package/dist/translations/validation.d.ts +58 -36
  1467. package/dist/translations/validation.d.ts.map +1 -0
  1468. package/dist/translations/validation.js +366 -302
  1469. package/dist/translations/validation.test.d.ts +2 -0
  1470. package/dist/translations/validation.test.d.ts.map +1 -0
  1471. package/dist/types.d.ts +117 -122
  1472. package/dist/types.d.ts.map +1 -0
  1473. package/dist/types.js +1 -0
  1474. package/dist/versioning/index.d.ts +10 -4
  1475. package/dist/versioning/index.d.ts.map +1 -0
  1476. package/dist/versioning/index.js +273 -4
  1477. package/dist/versioning/refs.d.ts +22 -24
  1478. package/dist/versioning/refs.d.ts.map +1 -0
  1479. package/dist/versioning/refs.js +83 -145
  1480. package/dist/versioning/refs.test.d.ts +5 -0
  1481. package/dist/versioning/refs.test.d.ts.map +1 -0
  1482. package/dist/versioning/types.d.ts +110 -106
  1483. package/dist/versioning/types.d.ts.map +1 -0
  1484. package/dist/versioning/types.js +49 -18
  1485. package/dist/versioning/utils.d.ts +18 -19
  1486. package/dist/versioning/utils.d.ts.map +1 -0
  1487. package/dist/versioning/utils.js +158 -154
  1488. package/dist/versioning/utils.test.d.ts +5 -0
  1489. package/dist/versioning/utils.test.d.ts.map +1 -0
  1490. package/dist/workflow/adapters/db-adapter.d.ts +39 -41
  1491. package/dist/workflow/adapters/db-adapter.d.ts.map +1 -0
  1492. package/dist/workflow/adapters/db-adapter.js +125 -81
  1493. package/dist/workflow/adapters/file-adapter.d.ts +6 -9
  1494. package/dist/workflow/adapters/file-adapter.d.ts.map +1 -0
  1495. package/dist/workflow/adapters/file-adapter.js +36 -9
  1496. package/dist/workflow/adapters/index.d.ts +4 -4
  1497. package/dist/workflow/adapters/index.d.ts.map +1 -0
  1498. package/dist/workflow/adapters/index.js +193 -4
  1499. package/dist/workflow/adapters/memory-store.d.ts +9 -13
  1500. package/dist/workflow/adapters/memory-store.d.ts.map +1 -0
  1501. package/dist/workflow/adapters/memory-store.js +89 -54
  1502. package/dist/workflow/context.d.ts +168 -141
  1503. package/dist/workflow/context.d.ts.map +1 -0
  1504. package/dist/workflow/context.js +237 -217
  1505. package/dist/workflow/context.test.d.ts +2 -0
  1506. package/dist/workflow/context.test.d.ts.map +1 -0
  1507. package/dist/workflow/expression.d.ts +6 -8
  1508. package/dist/workflow/expression.d.ts.map +1 -0
  1509. package/dist/workflow/expression.js +143 -85
  1510. package/dist/workflow/expression.test.d.ts +2 -0
  1511. package/dist/workflow/expression.test.d.ts.map +1 -0
  1512. package/dist/workflow/index.d.ts +11 -17
  1513. package/dist/workflow/index.d.ts.map +1 -0
  1514. package/dist/workflow/index.js +1546 -18
  1515. package/dist/workflow/overview.docblock.d.ts +3 -6
  1516. package/dist/workflow/overview.docblock.d.ts.map +1 -0
  1517. package/dist/workflow/overview.docblock.js +162 -19
  1518. package/dist/workflow/runner.d.ts +65 -70
  1519. package/dist/workflow/runner.d.ts.map +1 -0
  1520. package/dist/workflow/runner.js +519 -324
  1521. package/dist/workflow/runner.test.d.ts +2 -0
  1522. package/dist/workflow/runner.test.d.ts.map +1 -0
  1523. package/dist/workflow/sla-monitor.d.ts +15 -18
  1524. package/dist/workflow/sla-monitor.d.ts.map +1 -0
  1525. package/dist/workflow/sla-monitor.js +82 -45
  1526. package/dist/workflow/spec.d.ts +71 -75
  1527. package/dist/workflow/spec.d.ts.map +1 -0
  1528. package/dist/workflow/spec.js +219 -9
  1529. package/dist/workflow/state.d.ts +28 -31
  1530. package/dist/workflow/state.d.ts.map +1 -0
  1531. package/dist/workflow/state.js +1 -0
  1532. package/dist/workflow/validation.d.ts +35 -38
  1533. package/dist/workflow/validation.d.ts.map +1 -0
  1534. package/dist/workflow/validation.js +396 -340
  1535. package/dist/workflow/validation.test.d.ts +2 -0
  1536. package/dist/workflow/validation.test.d.ts.map +1 -0
  1537. package/dist/workspace-config/contractsrc-schema.d.ts +44 -41
  1538. package/dist/workspace-config/contractsrc-schema.d.ts.map +1 -0
  1539. package/dist/workspace-config/contractsrc-schema.js +312 -390
  1540. package/dist/workspace-config/contractsrc-schema.test.d.ts +2 -0
  1541. package/dist/workspace-config/contractsrc-schema.test.d.ts.map +1 -0
  1542. package/dist/workspace-config/contractsrc-types.d.ts +302 -304
  1543. package/dist/workspace-config/contractsrc-types.d.ts.map +1 -0
  1544. package/dist/workspace-config/contractsrc-types.js +1 -0
  1545. package/dist/workspace-config/index.d.ts +6 -3
  1546. package/dist/workspace-config/index.d.ts.map +1 -0
  1547. package/dist/workspace-config/index.js +325 -3
  1548. package/dist/workspace-config/workspace-config.docblock.d.ts +3 -6
  1549. package/dist/workspace-config/workspace-config.docblock.d.ts.map +1 -0
  1550. package/dist/workspace-config/workspace-config.docblock.js +163 -20
  1551. package/package.json +2743 -587
  1552. package/dist/_virtual/rolldown_runtime.js +0 -37
  1553. package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
  1554. package/dist/integrations/providers/impls/elevenlabs-voice.js +0 -95
  1555. package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
  1556. package/dist/integrations/providers/impls/gcs-storage.js +0 -88
  1557. package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
  1558. package/dist/integrations/providers/impls/gmail-inbound.js +0 -200
  1559. package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
  1560. package/dist/integrations/providers/impls/gmail-outbound.js +0 -105
  1561. package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
  1562. package/dist/integrations/providers/impls/google-calendar.js +0 -154
  1563. package/dist/integrations/providers/impls/index.d.ts +0 -15
  1564. package/dist/integrations/providers/impls/index.js +0 -16
  1565. package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
  1566. package/dist/integrations/providers/impls/mistral-embedding.js +0 -41
  1567. package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
  1568. package/dist/integrations/providers/impls/mistral-llm.js +0 -247
  1569. package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
  1570. package/dist/integrations/providers/impls/postmark-email.js +0 -55
  1571. package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
  1572. package/dist/integrations/providers/impls/powens-client.js +0 -171
  1573. package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
  1574. package/dist/integrations/providers/impls/powens-openbanking.js +0 -218
  1575. package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
  1576. package/dist/integrations/providers/impls/provider-factory.js +0 -146
  1577. package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
  1578. package/dist/integrations/providers/impls/qdrant-vector.js +0 -69
  1579. package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
  1580. package/dist/integrations/providers/impls/stripe-payments.js +0 -202
  1581. package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
  1582. package/dist/integrations/providers/impls/twilio-sms.js +0 -58
@@ -1,13 +1,2142 @@
1
- import { registerStripeIntegration, stripeIntegrationSpec } from "./stripe.js";
2
- import { postmarkIntegrationSpec, registerPostmarkIntegration } from "./postmark.js";
3
- import { qdrantIntegrationSpec, registerQdrantIntegration } from "./qdrant.js";
4
- import { mistralIntegrationSpec, registerMistralIntegration } from "./mistral.js";
5
- import { elevenLabsIntegrationSpec, registerElevenLabsIntegration } from "./elevenlabs.js";
6
- import { gmailIntegrationSpec, registerGmailIntegration } from "./gmail.js";
7
- import { googleCalendarIntegrationSpec, registerGoogleCalendarIntegration } from "./google-calendar.js";
8
- import { registerTwilioSmsIntegration, twilioSmsIntegrationSpec } from "./twilio-sms.js";
9
- import { gcsStorageIntegrationSpec, registerGcsStorageIntegration } from "./gcs-storage.js";
10
- import { powensIntegrationSpec, registerPowensIntegration } from "./powens.js";
11
- import { createDefaultIntegrationSpecRegistry } from "./registry.js";
12
-
13
- export { createDefaultIntegrationSpecRegistry, elevenLabsIntegrationSpec, gcsStorageIntegrationSpec, gmailIntegrationSpec, googleCalendarIntegrationSpec, mistralIntegrationSpec, postmarkIntegrationSpec, powensIntegrationSpec, qdrantIntegrationSpec, registerElevenLabsIntegration, registerGcsStorageIntegration, registerGmailIntegration, registerGoogleCalendarIntegration, registerMistralIntegration, registerPostmarkIntegration, registerPowensIntegration, registerQdrantIntegration, registerStripeIntegration, registerTwilioSmsIntegration, stripeIntegrationSpec, twilioSmsIntegrationSpec };
1
+ // @bun
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 = import.meta.require;
31
+
32
+ // src/registry-utils.ts
33
+ var exports_registry_utils = {};
34
+ __export(exports_registry_utils, {
35
+ groupByToArray: () => groupByToArray,
36
+ groupByMultiple: () => groupByMultiple,
37
+ groupBy: () => groupBy,
38
+ getUniqueTags: () => getUniqueTags,
39
+ getUniqueOwners: () => getUniqueOwners,
40
+ getUniqueDomains: () => getUniqueDomains,
41
+ filterBy: () => filterBy,
42
+ GroupingStrategies: () => GroupingStrategies
43
+ });
44
+ function filterBy(items, filter) {
45
+ return items.filter((item) => {
46
+ if (filter.tags?.length) {
47
+ const hasMatchingTag = filter.tags.some((tag) => item.meta.tags?.includes(tag));
48
+ if (!hasMatchingTag)
49
+ return false;
50
+ }
51
+ if (filter.owners?.length) {
52
+ const hasMatchingOwner = filter.owners.some((owner) => item.meta.owners?.includes(owner));
53
+ if (!hasMatchingOwner)
54
+ return false;
55
+ }
56
+ if (filter.stability?.length) {
57
+ if (!filter.stability.includes(item.meta.stability ?? "stable")) {
58
+ return false;
59
+ }
60
+ }
61
+ if (filter.domain) {
62
+ const itemDomain = GroupingStrategies.byDomain(item);
63
+ if (itemDomain !== filter.domain)
64
+ return false;
65
+ }
66
+ if (filter.keyPattern) {
67
+ const name = item.meta.key ?? item.meta.key ?? "";
68
+ const pattern = filter.keyPattern.replace(/\*/g, ".*").replace(/\?/g, ".");
69
+ const regex = new RegExp(`^${pattern}$`, "i");
70
+ if (!regex.test(name))
71
+ return false;
72
+ }
73
+ return true;
74
+ });
75
+ }
76
+ function groupBy(items, keyFn) {
77
+ const groups = new Map;
78
+ for (const item of items) {
79
+ const key = keyFn(item);
80
+ const existing = groups.get(key);
81
+ if (existing) {
82
+ existing.push(item);
83
+ } else {
84
+ groups.set(key, [item]);
85
+ }
86
+ }
87
+ return groups;
88
+ }
89
+ function groupByToArray(items, keyFn) {
90
+ const map = groupBy(items, keyFn);
91
+ return Array.from(map.entries()).map(([key, items2]) => ({ key, items: items2 }));
92
+ }
93
+ function groupByMultiple(items, keysFn) {
94
+ const groups = new Map;
95
+ for (const item of items) {
96
+ const keys = keysFn(item);
97
+ for (const key of keys) {
98
+ const existing = groups.get(key);
99
+ if (existing) {
100
+ existing.push(item);
101
+ } else {
102
+ groups.set(key, [item]);
103
+ }
104
+ }
105
+ }
106
+ return groups;
107
+ }
108
+ function getUniqueTags(items) {
109
+ const tags = new Set;
110
+ for (const item of items) {
111
+ for (const tag of item.meta.tags ?? []) {
112
+ tags.add(tag);
113
+ }
114
+ }
115
+ return Array.from(tags).sort();
116
+ }
117
+ function getUniqueOwners(items) {
118
+ const owners = new Set;
119
+ for (const item of items) {
120
+ for (const owner of item.meta.owners ?? []) {
121
+ owners.add(owner);
122
+ }
123
+ }
124
+ return Array.from(owners).sort();
125
+ }
126
+ function getUniqueDomains(items) {
127
+ const domains = new Set;
128
+ for (const item of items) {
129
+ domains.add(GroupingStrategies.byDomain(item));
130
+ }
131
+ return Array.from(domains).sort();
132
+ }
133
+ var GroupingStrategies;
134
+ var init_registry_utils = __esm(() => {
135
+ GroupingStrategies = {
136
+ byTag: (item) => item.meta.tags?.[0] ?? "untagged",
137
+ byAllTags: (item) => item.meta.tags?.length ? item.meta.tags : ["untagged"],
138
+ byOwner: (item) => item.meta.owners?.[0] ?? "unowned",
139
+ byDomain: (item) => {
140
+ const name = item.meta.key ?? item.meta.key ?? "";
141
+ return name.split(".")[0] ?? "default";
142
+ },
143
+ byStability: (item) => item.meta.stability ?? "stable",
144
+ byUrlPath: (level) => (item) => {
145
+ if (!item.path)
146
+ return "root";
147
+ const segments = item.path.split("/").filter(Boolean);
148
+ return segments.slice(0, level).join("/") || "root";
149
+ }
150
+ };
151
+ });
152
+
153
+ // src/ownership.ts
154
+ var StabilityEnum = {
155
+ Idea: "idea",
156
+ InCreation: "in_creation",
157
+ Experimental: "experimental",
158
+ Beta: "beta",
159
+ Stable: "stable",
160
+ Deprecated: "deprecated"
161
+ };
162
+ var OwnersEnum = {
163
+ PlatformCore: "platform.core",
164
+ PlatformSigil: "platform.sigil",
165
+ PlatformMarketplace: "platform.marketplace",
166
+ PlatformMessaging: "platform.messaging",
167
+ PlatformContent: "platform.content",
168
+ PlatformFeatureFlags: "platform.featureflags",
169
+ PlatformFinance: "platform.finance"
170
+ };
171
+ var Owners = OwnersEnum;
172
+ var TagsEnum = {
173
+ Spots: "spots",
174
+ Collectivity: "collectivity",
175
+ Marketplace: "marketplace",
176
+ Sellers: "sellers",
177
+ Auth: "auth",
178
+ Login: "login",
179
+ Signup: "signup",
180
+ Guide: "guide",
181
+ Docs: "docs",
182
+ I18n: "i18n",
183
+ Incident: "incident",
184
+ Automation: "automation",
185
+ Hygiene: "hygiene"
186
+ };
187
+ var Tags = TagsEnum;
188
+
189
+ // src/registry.ts
190
+ init_registry_utils();
191
+ import { compareVersions } from "compare-versions";
192
+ var keyOfSpecContract = (spec) => `${spec.meta.key}.v${spec.meta.version}`;
193
+
194
+ class SpecContractRegistry {
195
+ contractType;
196
+ items = new Map;
197
+ constructor(contractType, items) {
198
+ this.contractType = contractType;
199
+ if (items) {
200
+ items.forEach((p) => this.register(p));
201
+ }
202
+ }
203
+ register(p) {
204
+ const key = keyOfSpecContract(p);
205
+ if (this.items.has(key))
206
+ throw new Error(`Duplicate contract \`${this.contractType}\` ${key}`);
207
+ this.items.set(key, p);
208
+ return this;
209
+ }
210
+ count() {
211
+ return this.items.size;
212
+ }
213
+ list() {
214
+ return [...this.items.values()];
215
+ }
216
+ get(key, version) {
217
+ if (version != null)
218
+ return this.items.get(`${key}.v${version}`);
219
+ let candidate;
220
+ for (const [k, p] of this.items.entries()) {
221
+ if (!k.startsWith(`${key}.v`))
222
+ continue;
223
+ if (!candidate || compareVersions(p.meta.version, candidate.meta.version) > 0) {
224
+ candidate = p;
225
+ }
226
+ }
227
+ return candidate;
228
+ }
229
+ has(key, version) {
230
+ return !!this.get(key, version);
231
+ }
232
+ filter(criteria) {
233
+ return filterBy(this.list(), criteria);
234
+ }
235
+ listByTag(tag) {
236
+ return this.list().filter((p) => p.meta.tags?.includes(tag));
237
+ }
238
+ listByOwner(owner) {
239
+ return this.list().filter((p) => p.meta.owners?.includes(owner));
240
+ }
241
+ groupBy(keyFn) {
242
+ return groupBy(this.list(), keyFn);
243
+ }
244
+ getUniqueTags() {
245
+ return getUniqueTags(this.list());
246
+ }
247
+ }
248
+
249
+ // src/integrations/spec.ts
250
+ var integrationKey = (meta) => `${meta.key}.v${meta.version}`;
251
+
252
+ class IntegrationSpecRegistry extends SpecContractRegistry {
253
+ constructor(items) {
254
+ super("integration", items);
255
+ }
256
+ getByCategory(category) {
257
+ return this.list().filter((spec) => spec.meta.category === category);
258
+ }
259
+ }
260
+ function makeIntegrationSpecKey(meta) {
261
+ return integrationKey(meta);
262
+ }
263
+ var defineIntegration = (spec) => spec;
264
+ // src/integrations/providers/stripe.ts
265
+ var stripeIntegrationSpec = defineIntegration({
266
+ meta: {
267
+ key: "payments.stripe",
268
+ version: "1.0.0",
269
+ category: "payments",
270
+ title: "Stripe Payments",
271
+ description: "Stripe integration for payment processing, charges, and payouts.",
272
+ domain: "payments",
273
+ owners: ["platform.payments"],
274
+ tags: ["payments", "psp"],
275
+ stability: StabilityEnum.Stable
276
+ },
277
+ supportedModes: ["managed", "byok"],
278
+ capabilities: {
279
+ provides: [{ key: "payments.psp", version: "1.0.0" }],
280
+ requires: [
281
+ {
282
+ key: "platform.webhooks",
283
+ optional: true,
284
+ reason: "Recommended for reliable event ingestion"
285
+ }
286
+ ]
287
+ },
288
+ configSchema: {
289
+ schema: {
290
+ type: "object",
291
+ properties: {
292
+ accountId: {
293
+ type: "string",
294
+ description: "Connected account ID when using Stripe Connect (BYOK)."
295
+ },
296
+ region: {
297
+ type: "string",
298
+ description: "Optional Stripe region or data residency hint."
299
+ }
300
+ }
301
+ },
302
+ example: {
303
+ accountId: "acct_123",
304
+ region: "us-east-1"
305
+ }
306
+ },
307
+ secretSchema: {
308
+ schema: {
309
+ type: "object",
310
+ required: ["apiKey", "webhookSecret"],
311
+ properties: {
312
+ apiKey: {
313
+ type: "string",
314
+ description: "Stripe secret API key (sk_live_... or sk_test_...)."
315
+ },
316
+ webhookSecret: {
317
+ type: "string",
318
+ description: "Signing secret for webhook verification."
319
+ }
320
+ }
321
+ },
322
+ example: {
323
+ apiKey: "sk_live_***",
324
+ webhookSecret: "whsec_***"
325
+ }
326
+ },
327
+ healthCheck: {
328
+ method: "ping",
329
+ timeoutMs: 5000
330
+ },
331
+ docsUrl: "https://stripe.com/docs/api",
332
+ constraints: {
333
+ rateLimit: {
334
+ rpm: 1000,
335
+ rph: 20000
336
+ }
337
+ },
338
+ byokSetup: {
339
+ setupInstructions: "Create a restricted Stripe API key with write access to Charges and provide a webhook signing secret.",
340
+ requiredScopes: ["charges:write", "customers:read"]
341
+ }
342
+ });
343
+ function registerStripeIntegration(registry) {
344
+ return registry.register(stripeIntegrationSpec);
345
+ }
346
+
347
+ // src/integrations/providers/postmark.ts
348
+ var postmarkIntegrationSpec = defineIntegration({
349
+ meta: {
350
+ key: "email.postmark",
351
+ version: "1.0.0",
352
+ category: "email",
353
+ title: "Postmark Transactional Email",
354
+ description: "Postmark integration for transactional email delivery.",
355
+ domain: "communications",
356
+ owners: ["platform.messaging"],
357
+ tags: ["email", "transactional"],
358
+ stability: StabilityEnum.Stable
359
+ },
360
+ supportedModes: ["managed", "byok"],
361
+ capabilities: {
362
+ provides: [{ key: "email.transactional", version: "1.0.0" }],
363
+ requires: [
364
+ {
365
+ key: "platform.webhooks",
366
+ optional: true,
367
+ reason: "Optional for inbound bounce handling"
368
+ }
369
+ ]
370
+ },
371
+ configSchema: {
372
+ schema: {
373
+ type: "object",
374
+ properties: {
375
+ messageStream: {
376
+ type: "string",
377
+ description: "Optional message stream identifier (e.g., transactional)."
378
+ },
379
+ fromEmail: {
380
+ type: "string",
381
+ description: "Default From address used for outbound messages."
382
+ }
383
+ }
384
+ },
385
+ example: {
386
+ messageStream: "outbound",
387
+ fromEmail: "notifications@example.com"
388
+ }
389
+ },
390
+ secretSchema: {
391
+ schema: {
392
+ type: "object",
393
+ required: ["serverToken"],
394
+ properties: {
395
+ serverToken: {
396
+ type: "string",
397
+ description: "Server token for the Postmark account."
398
+ }
399
+ }
400
+ },
401
+ example: {
402
+ serverToken: "server-***"
403
+ }
404
+ },
405
+ healthCheck: {
406
+ method: "ping",
407
+ timeoutMs: 3000
408
+ },
409
+ docsUrl: "https://postmarkapp.com/developer",
410
+ constraints: {
411
+ rateLimit: {
412
+ rpm: 500
413
+ }
414
+ },
415
+ byokSetup: {
416
+ setupInstructions: "Create a Postmark server token with outbound send permissions and configure allowed from addresses."
417
+ }
418
+ });
419
+ function registerPostmarkIntegration(registry) {
420
+ return registry.register(postmarkIntegrationSpec);
421
+ }
422
+
423
+ // src/integrations/providers/qdrant.ts
424
+ var qdrantIntegrationSpec = defineIntegration({
425
+ meta: {
426
+ key: "vectordb.qdrant",
427
+ version: "1.0.0",
428
+ category: "vector-db",
429
+ title: "Qdrant Vector Database",
430
+ description: "Qdrant integration for vector search and embeddings storage.",
431
+ domain: "ai",
432
+ owners: ["platform.ai"],
433
+ tags: ["vector-db", "search"],
434
+ stability: StabilityEnum.Experimental
435
+ },
436
+ supportedModes: ["managed", "byok"],
437
+ capabilities: {
438
+ provides: [
439
+ { key: "vector-db.search", version: "1.0.0" },
440
+ { key: "vector-db.storage", version: "1.0.0" }
441
+ ],
442
+ requires: [
443
+ {
444
+ key: "ai.embeddings",
445
+ optional: true,
446
+ reason: "Required if vectors are generated via hosted embedding services"
447
+ }
448
+ ]
449
+ },
450
+ configSchema: {
451
+ schema: {
452
+ type: "object",
453
+ properties: {
454
+ apiUrl: {
455
+ type: "string",
456
+ description: "Base URL for the Qdrant instance (e.g., https://qdrant.example.com)."
457
+ },
458
+ collectionPrefix: {
459
+ type: "string",
460
+ description: "Prefix applied to all collection names for this tenant."
461
+ }
462
+ }
463
+ },
464
+ example: {
465
+ apiUrl: "https://qdrant.example.com",
466
+ collectionPrefix: "tenant_"
467
+ }
468
+ },
469
+ secretSchema: {
470
+ schema: {
471
+ type: "object",
472
+ properties: {
473
+ apiKey: {
474
+ type: "string",
475
+ description: "API key or token when authentication is enabled."
476
+ }
477
+ }
478
+ },
479
+ example: {
480
+ apiKey: "qdrant-api-key"
481
+ }
482
+ },
483
+ healthCheck: {
484
+ method: "ping",
485
+ timeoutMs: 4000
486
+ },
487
+ docsUrl: "https://qdrant.tech/documentation/quick-start/",
488
+ constraints: {
489
+ quotas: {
490
+ collections: 100,
491
+ pointsPerCollection: 1e6
492
+ }
493
+ },
494
+ byokSetup: {
495
+ setupInstructions: "Provide the HTTPS endpoint of your Qdrant cluster and generate an API key with read/write access to the collections that will be managed."
496
+ }
497
+ });
498
+ function registerQdrantIntegration(registry) {
499
+ return registry.register(qdrantIntegrationSpec);
500
+ }
501
+
502
+ // src/integrations/providers/supabase-vector.ts
503
+ var supabaseVectorIntegrationSpec = defineIntegration({
504
+ meta: {
505
+ key: "vectordb.supabase",
506
+ version: "1.0.0",
507
+ category: "vector-db",
508
+ title: "Supabase Vector Database (pgvector)",
509
+ description: "Supabase integration for embedding storage and vector similarity search using pgvector.",
510
+ domain: "ai",
511
+ owners: ["platform.ai"],
512
+ tags: ["vector-db", "supabase", "pgvector"],
513
+ stability: StabilityEnum.Beta
514
+ },
515
+ supportedModes: ["managed", "byok"],
516
+ capabilities: {
517
+ provides: [
518
+ { key: "vector-db.search", version: "1.0.0" },
519
+ { key: "vector-db.storage", version: "1.0.0" }
520
+ ],
521
+ requires: [
522
+ {
523
+ key: "ai.embeddings",
524
+ optional: true,
525
+ reason: "Required when vectors are generated by a hosted embedding provider."
526
+ }
527
+ ]
528
+ },
529
+ configSchema: {
530
+ schema: {
531
+ type: "object",
532
+ properties: {
533
+ schema: {
534
+ type: "string",
535
+ description: "Schema name containing the pgvector table (default: public)."
536
+ },
537
+ table: {
538
+ type: "string",
539
+ description: "Table used to store vectors and metadata (default: contractspec_vectors)."
540
+ },
541
+ createTableIfMissing: {
542
+ type: "boolean",
543
+ description: "Automatically create pgvector extension and table when first writing vectors."
544
+ },
545
+ distanceMetric: {
546
+ type: "string",
547
+ enum: ["cosine", "l2", "inner_product"],
548
+ description: "Distance metric used for nearest-neighbor search."
549
+ }
550
+ }
551
+ },
552
+ example: {
553
+ schema: "public",
554
+ table: "contractspec_vectors",
555
+ createTableIfMissing: true,
556
+ distanceMetric: "cosine"
557
+ }
558
+ },
559
+ secretSchema: {
560
+ schema: {
561
+ type: "object",
562
+ required: ["databaseUrl"],
563
+ properties: {
564
+ databaseUrl: {
565
+ type: "string",
566
+ description: "Supabase Postgres connection string with privileges to read/write vector rows."
567
+ }
568
+ }
569
+ },
570
+ example: {
571
+ databaseUrl: "postgresql://postgres.[project-ref]:password@aws-0-region.pooler.supabase.com:6543/postgres"
572
+ }
573
+ },
574
+ healthCheck: {
575
+ method: "ping",
576
+ timeoutMs: 5000
577
+ },
578
+ docsUrl: "https://supabase.com/docs/guides/ai/vector-columns",
579
+ byokSetup: {
580
+ setupInstructions: "Create or reuse a Supabase project, enable pgvector, and provide a Postgres connection string with read/write access to the target vector table."
581
+ }
582
+ });
583
+ function registerSupabaseVectorIntegration(registry) {
584
+ return registry.register(supabaseVectorIntegrationSpec);
585
+ }
586
+
587
+ // src/integrations/providers/supabase-postgres.ts
588
+ var supabasePostgresIntegrationSpec = defineIntegration({
589
+ meta: {
590
+ key: "database.supabase",
591
+ version: "1.0.0",
592
+ category: "database",
593
+ title: "Supabase Postgres",
594
+ description: "Supabase Postgres integration for SQL query execution and transactional workloads.",
595
+ domain: "infrastructure",
596
+ owners: ["platform.infrastructure"],
597
+ tags: ["database", "postgres", "supabase"],
598
+ stability: StabilityEnum.Beta
599
+ },
600
+ supportedModes: ["managed", "byok"],
601
+ capabilities: {
602
+ provides: [{ key: "database.sql", version: "1.0.0" }]
603
+ },
604
+ configSchema: {
605
+ schema: {
606
+ type: "object",
607
+ properties: {
608
+ maxConnections: {
609
+ type: "number",
610
+ description: "Optional connection pool size when opening a Postgres client to Supabase."
611
+ },
612
+ sslMode: {
613
+ type: "string",
614
+ enum: ["require", "allow", "prefer"],
615
+ description: "TLS mode used by the Postgres client."
616
+ }
617
+ }
618
+ },
619
+ example: {
620
+ maxConnections: 10,
621
+ sslMode: "require"
622
+ }
623
+ },
624
+ secretSchema: {
625
+ schema: {
626
+ type: "object",
627
+ required: ["databaseUrl"],
628
+ properties: {
629
+ databaseUrl: {
630
+ type: "string",
631
+ description: "Supabase Postgres connection string (transaction or session pooler endpoint)."
632
+ }
633
+ }
634
+ },
635
+ example: {
636
+ databaseUrl: "postgresql://postgres.[project-ref]:password@aws-0-region.pooler.supabase.com:6543/postgres"
637
+ }
638
+ },
639
+ healthCheck: {
640
+ method: "ping",
641
+ timeoutMs: 5000
642
+ },
643
+ docsUrl: "https://supabase.com/docs/guides/database/connecting-to-postgres",
644
+ byokSetup: {
645
+ setupInstructions: "Create or reuse a Supabase project and provide a Postgres connection string with permissions aligned to your workload."
646
+ }
647
+ });
648
+ function registerSupabasePostgresIntegration(registry) {
649
+ return registry.register(supabasePostgresIntegrationSpec);
650
+ }
651
+
652
+ // src/integrations/providers/mistral.ts
653
+ var mistralIntegrationSpec = defineIntegration({
654
+ meta: {
655
+ key: "ai-llm.mistral",
656
+ version: "1.0.0",
657
+ category: "ai-llm",
658
+ title: "Mistral Large Language Model",
659
+ description: "Mistral integration providing chat completions and embedding generation.",
660
+ domain: "ai",
661
+ owners: ["platform.ai"],
662
+ tags: ["ai", "llm", "embeddings"],
663
+ stability: StabilityEnum.Experimental
664
+ },
665
+ supportedModes: ["managed", "byok"],
666
+ capabilities: {
667
+ provides: [
668
+ { key: "ai.chat", version: "1.0.0" },
669
+ { key: "ai.embeddings", version: "1.0.0" }
670
+ ]
671
+ },
672
+ configSchema: {
673
+ schema: {
674
+ type: "object",
675
+ properties: {
676
+ model: {
677
+ type: "string",
678
+ description: "Default chat completion model (e.g., mistral-large-latest)."
679
+ },
680
+ embeddingModel: {
681
+ type: "string",
682
+ description: "Embedding model identifier."
683
+ }
684
+ }
685
+ },
686
+ example: {
687
+ model: "mistral-large-latest",
688
+ embeddingModel: "mistral-embed"
689
+ }
690
+ },
691
+ secretSchema: {
692
+ schema: {
693
+ type: "object",
694
+ required: ["apiKey"],
695
+ properties: {
696
+ apiKey: {
697
+ type: "string",
698
+ description: "Mistral API key with access to chat and embeddings endpoints."
699
+ }
700
+ }
701
+ },
702
+ example: {
703
+ apiKey: "mistral-***"
704
+ }
705
+ },
706
+ healthCheck: {
707
+ method: "custom",
708
+ timeoutMs: 5000
709
+ },
710
+ docsUrl: "https://docs.mistral.ai/platform/endpoints",
711
+ constraints: {
712
+ rateLimit: {
713
+ rpm: 600
714
+ }
715
+ },
716
+ byokSetup: {
717
+ setupInstructions: "Generate an API key within the Mistral console and ensure the selected models are enabled for the account."
718
+ }
719
+ });
720
+ function registerMistralIntegration(registry) {
721
+ return registry.register(mistralIntegrationSpec);
722
+ }
723
+
724
+ // src/integrations/providers/elevenlabs.ts
725
+ var elevenLabsIntegrationSpec = defineIntegration({
726
+ meta: {
727
+ key: "ai-voice.elevenlabs",
728
+ version: "1.0.0",
729
+ category: "ai-voice",
730
+ title: "ElevenLabs Text-to-Speech",
731
+ description: "ElevenLabs integration for neural voice synthesis and voice catalog access.",
732
+ domain: "ai",
733
+ owners: ["platform.ai"],
734
+ tags: ["voice", "tts"],
735
+ stability: StabilityEnum.Beta
736
+ },
737
+ supportedModes: ["managed", "byok"],
738
+ capabilities: {
739
+ provides: [{ key: "ai.voice.synthesis", version: "1.0.0" }]
740
+ },
741
+ configSchema: {
742
+ schema: {
743
+ type: "object",
744
+ properties: {
745
+ defaultVoiceId: {
746
+ type: "string",
747
+ description: "Optional default voice identifier for synthesis requests."
748
+ }
749
+ }
750
+ },
751
+ example: {
752
+ defaultVoiceId: "pNInz6obpgDQGcFmaJgB"
753
+ }
754
+ },
755
+ secretSchema: {
756
+ schema: {
757
+ type: "object",
758
+ required: ["apiKey"],
759
+ properties: {
760
+ apiKey: {
761
+ type: "string",
762
+ description: "ElevenLabs API key with text-to-speech permissions."
763
+ }
764
+ }
765
+ },
766
+ example: {
767
+ apiKey: "eleven-***"
768
+ }
769
+ },
770
+ healthCheck: {
771
+ method: "custom",
772
+ timeoutMs: 4000
773
+ },
774
+ docsUrl: "https://elevenlabs.io/docs/api-reference/text-to-speech",
775
+ constraints: {
776
+ rateLimit: {
777
+ rpm: 120
778
+ }
779
+ },
780
+ byokSetup: {
781
+ setupInstructions: "Create an ElevenLabs API key and ensure the desired voices are accessible to the key scope."
782
+ }
783
+ });
784
+ function registerElevenLabsIntegration(registry) {
785
+ return registry.register(elevenLabsIntegrationSpec);
786
+ }
787
+
788
+ // src/integrations/providers/gradium.ts
789
+ var gradiumIntegrationSpec = defineIntegration({
790
+ meta: {
791
+ key: "ai-voice.gradium",
792
+ version: "1.0.0",
793
+ category: "ai-voice",
794
+ title: "Gradium Text-to-Speech",
795
+ description: "Gradium integration for low-latency voice synthesis and voice catalog access.",
796
+ domain: "ai",
797
+ owners: ["platform.ai"],
798
+ tags: ["voice", "tts", "realtime"],
799
+ stability: StabilityEnum.Experimental
800
+ },
801
+ supportedModes: ["byok"],
802
+ capabilities: {
803
+ provides: [{ key: "ai.voice.synthesis", version: "1.0.0" }]
804
+ },
805
+ configSchema: {
806
+ schema: {
807
+ type: "object",
808
+ properties: {
809
+ defaultVoiceId: {
810
+ type: "string",
811
+ description: "Optional default voice identifier used for synthesis."
812
+ },
813
+ region: {
814
+ type: "string",
815
+ enum: ["eu", "us"],
816
+ description: "Gradium region used by the SDK (eu or us)."
817
+ },
818
+ baseUrl: {
819
+ type: "string",
820
+ description: "Optional API base URL override for private routing or proxies."
821
+ },
822
+ timeoutMs: {
823
+ type: "number",
824
+ description: "Optional request timeout in milliseconds."
825
+ },
826
+ outputFormat: {
827
+ type: "string",
828
+ enum: [
829
+ "wav",
830
+ "pcm",
831
+ "opus",
832
+ "ulaw_8000",
833
+ "alaw_8000",
834
+ "pcm_16000",
835
+ "pcm_24000"
836
+ ],
837
+ description: "Optional default output format used when no format is specified."
838
+ }
839
+ }
840
+ },
841
+ example: {
842
+ defaultVoiceId: "YTpq7expH9539ERJ",
843
+ region: "eu",
844
+ timeoutMs: 15000,
845
+ outputFormat: "wav"
846
+ }
847
+ },
848
+ secretSchema: {
849
+ schema: {
850
+ type: "object",
851
+ required: ["apiKey"],
852
+ properties: {
853
+ apiKey: {
854
+ type: "string",
855
+ description: "Gradium API key with TTS access."
856
+ }
857
+ }
858
+ },
859
+ example: {
860
+ apiKey: "gd_***"
861
+ }
862
+ },
863
+ healthCheck: {
864
+ method: "custom",
865
+ timeoutMs: 5000
866
+ },
867
+ docsUrl: "https://gradium.ai/api_docs.html",
868
+ byokSetup: {
869
+ setupInstructions: "Create a Gradium API key, select the target region, and store credentials in your tenant secret provider."
870
+ }
871
+ });
872
+ function registerGradiumIntegration(registry) {
873
+ return registry.register(gradiumIntegrationSpec);
874
+ }
875
+
876
+ // src/integrations/providers/fal.ts
877
+ var falIntegrationSpec = defineIntegration({
878
+ meta: {
879
+ key: "ai-voice.fal",
880
+ version: "1.0.0",
881
+ category: "ai-voice",
882
+ title: "Fal Chatterbox Text-to-Speech",
883
+ description: "Fal integration for voice synthesis using Chatterbox text-to-speech models.",
884
+ domain: "ai",
885
+ owners: ["platform.ai"],
886
+ tags: ["voice", "tts", "chatterbox"],
887
+ stability: StabilityEnum.Experimental
888
+ },
889
+ supportedModes: ["byok"],
890
+ capabilities: {
891
+ provides: [{ key: "ai.voice.synthesis", version: "1.0.0" }]
892
+ },
893
+ configSchema: {
894
+ schema: {
895
+ type: "object",
896
+ properties: {
897
+ modelId: {
898
+ type: "string",
899
+ description: "Fal model endpoint identifier (e.g. fal-ai/chatterbox/text-to-speech)."
900
+ },
901
+ defaultVoiceUrl: {
902
+ type: "string",
903
+ description: "Optional reference audio URL used as default voice conditioning input."
904
+ },
905
+ defaultExaggeration: {
906
+ type: "number",
907
+ minimum: 0,
908
+ maximum: 1,
909
+ description: "Optional default exaggeration value for speech output."
910
+ },
911
+ defaultTemperature: {
912
+ type: "number",
913
+ minimum: 0.05,
914
+ maximum: 2,
915
+ description: "Optional default temperature for synthesis requests."
916
+ },
917
+ defaultCfg: {
918
+ type: "number",
919
+ minimum: 0.1,
920
+ maximum: 1,
921
+ description: "Optional default cfg value for synthesis requests."
922
+ },
923
+ pollIntervalMs: {
924
+ type: "number",
925
+ description: "Optional queue polling interval in milliseconds."
926
+ }
927
+ }
928
+ },
929
+ example: {
930
+ modelId: "fal-ai/chatterbox/text-to-speech",
931
+ defaultVoiceUrl: "https://storage.googleapis.com/chatterbox-demo-samples/prompts/male_rickmorty.mp3",
932
+ defaultExaggeration: 0.25,
933
+ defaultTemperature: 0.7,
934
+ defaultCfg: 0.5,
935
+ pollIntervalMs: 1000
936
+ }
937
+ },
938
+ secretSchema: {
939
+ schema: {
940
+ type: "object",
941
+ required: ["apiKey"],
942
+ properties: {
943
+ apiKey: {
944
+ type: "string",
945
+ description: "Fal API key (FAL_KEY)."
946
+ }
947
+ }
948
+ },
949
+ example: {
950
+ apiKey: "key-id:key-secret"
951
+ }
952
+ },
953
+ healthCheck: {
954
+ method: "custom",
955
+ timeoutMs: 7000
956
+ },
957
+ docsUrl: "https://fal.ai/models/fal-ai/chatterbox/text-to-speech/api",
958
+ byokSetup: {
959
+ setupInstructions: "Create a Fal API key and configure the desired voice model endpoint before connecting tenants."
960
+ }
961
+ });
962
+ function registerFalIntegration(registry) {
963
+ return registry.register(falIntegrationSpec);
964
+ }
965
+
966
+ // src/integrations/providers/gmail.ts
967
+ var gmailIntegrationSpec = defineIntegration({
968
+ meta: {
969
+ key: "email.gmail",
970
+ version: "1.0.0",
971
+ category: "email",
972
+ title: "Google Gmail API",
973
+ description: "Gmail integration supporting inbound thread ingestion and outbound transactional email.",
974
+ domain: "communications",
975
+ owners: ["platform.messaging"],
976
+ tags: ["email", "gmail"],
977
+ stability: StabilityEnum.Beta
978
+ },
979
+ supportedModes: ["managed", "byok"],
980
+ capabilities: {
981
+ provides: [
982
+ { key: "email.inbound", version: "1.0.0" },
983
+ { key: "email.outbound", version: "1.0.0" }
984
+ ]
985
+ },
986
+ configSchema: {
987
+ schema: {
988
+ type: "object",
989
+ properties: {
990
+ labelIds: {
991
+ type: "array",
992
+ items: { type: "string" },
993
+ description: "Optional list of label IDs to scope inbound sync."
994
+ },
995
+ includeSpamTrash: {
996
+ type: "boolean",
997
+ description: "Whether to include spam or trash messages during sync."
998
+ }
999
+ }
1000
+ },
1001
+ example: {
1002
+ labelIds: ["INBOX"],
1003
+ includeSpamTrash: false
1004
+ }
1005
+ },
1006
+ secretSchema: {
1007
+ schema: {
1008
+ type: "object",
1009
+ required: ["clientId", "clientSecret", "refreshToken"],
1010
+ properties: {
1011
+ clientId: {
1012
+ type: "string",
1013
+ description: "OAuth client ID for the Google Cloud project."
1014
+ },
1015
+ clientSecret: {
1016
+ type: "string",
1017
+ description: "OAuth client secret for the Google Cloud project."
1018
+ },
1019
+ refreshToken: {
1020
+ type: "string",
1021
+ description: "OAuth refresh token for delegated Gmail access."
1022
+ },
1023
+ redirectUri: {
1024
+ type: "string",
1025
+ description: "Optional redirect URI used when issuing the refresh token."
1026
+ }
1027
+ }
1028
+ },
1029
+ example: {
1030
+ clientId: "xxx.apps.googleusercontent.com",
1031
+ clientSecret: "secret",
1032
+ refreshToken: "refresh-token"
1033
+ }
1034
+ },
1035
+ healthCheck: {
1036
+ method: "custom",
1037
+ timeoutMs: 4000
1038
+ },
1039
+ docsUrl: "https://developers.google.com/gmail/api",
1040
+ constraints: {
1041
+ rateLimit: {
1042
+ rpm: 600
1043
+ }
1044
+ },
1045
+ byokSetup: {
1046
+ setupInstructions: "Create an OAuth consent screen and credentials within Google Cloud Console, then authorize the Gmail scopes and store the resulting refresh token."
1047
+ }
1048
+ });
1049
+ function registerGmailIntegration(registry) {
1050
+ return registry.register(gmailIntegrationSpec);
1051
+ }
1052
+
1053
+ // src/integrations/providers/google-calendar.ts
1054
+ var googleCalendarIntegrationSpec = defineIntegration({
1055
+ meta: {
1056
+ key: "calendar.google",
1057
+ version: "1.0.0",
1058
+ category: "calendar",
1059
+ title: "Google Calendar API",
1060
+ description: "Google Calendar integration for event creation, updates, and scheduling automations.",
1061
+ domain: "productivity",
1062
+ owners: ["platform.messaging"],
1063
+ tags: ["calendar", "google"],
1064
+ stability: StabilityEnum.Beta
1065
+ },
1066
+ supportedModes: ["managed", "byok"],
1067
+ capabilities: {
1068
+ provides: [{ key: "calendar.events", version: "1.0.0" }]
1069
+ },
1070
+ configSchema: {
1071
+ schema: {
1072
+ type: "object",
1073
+ properties: {
1074
+ calendarId: {
1075
+ type: "string",
1076
+ description: "Default calendar identifier (defaults to primary)."
1077
+ }
1078
+ }
1079
+ },
1080
+ example: {
1081
+ calendarId: "primary"
1082
+ }
1083
+ },
1084
+ secretSchema: {
1085
+ schema: {
1086
+ type: "object",
1087
+ required: ["clientEmail", "privateKey"],
1088
+ properties: {
1089
+ clientEmail: {
1090
+ type: "string",
1091
+ description: "Service account client email."
1092
+ },
1093
+ privateKey: {
1094
+ type: "string",
1095
+ description: "Service account private key."
1096
+ },
1097
+ projectId: {
1098
+ type: "string",
1099
+ description: "Google Cloud project ID."
1100
+ }
1101
+ }
1102
+ },
1103
+ example: {
1104
+ clientEmail: "svc-calendar@example.iam.gserviceaccount.com",
1105
+ privateKey: "-----BEGIN PRIVATE KEY-----...",
1106
+ projectId: "calendar-project"
1107
+ }
1108
+ },
1109
+ healthCheck: {
1110
+ method: "custom",
1111
+ timeoutMs: 4000
1112
+ },
1113
+ docsUrl: "https://developers.google.com/calendar/api",
1114
+ constraints: {},
1115
+ byokSetup: {
1116
+ setupInstructions: "Create a Google service account with Calendar access and share the target calendars with the service account email."
1117
+ }
1118
+ });
1119
+ function registerGoogleCalendarIntegration(registry) {
1120
+ return registry.register(googleCalendarIntegrationSpec);
1121
+ }
1122
+
1123
+ // src/integrations/providers/twilio-sms.ts
1124
+ var twilioSmsIntegrationSpec = defineIntegration({
1125
+ meta: {
1126
+ key: "sms.twilio",
1127
+ version: "1.0.0",
1128
+ category: "sms",
1129
+ title: "Twilio Messaging",
1130
+ description: "Twilio SMS integration for transactional and notification messaging.",
1131
+ domain: "communications",
1132
+ owners: ["platform.messaging"],
1133
+ tags: ["sms", "messaging"],
1134
+ stability: StabilityEnum.Stable
1135
+ },
1136
+ supportedModes: ["managed", "byok"],
1137
+ capabilities: {
1138
+ provides: [{ key: "sms.outbound", version: "1.0.0" }]
1139
+ },
1140
+ configSchema: {
1141
+ schema: {
1142
+ type: "object",
1143
+ properties: {
1144
+ fromNumber: {
1145
+ type: "string",
1146
+ description: "Default Twilio phone number used as sender."
1147
+ }
1148
+ }
1149
+ },
1150
+ example: {
1151
+ fromNumber: "+15551234567"
1152
+ }
1153
+ },
1154
+ secretSchema: {
1155
+ schema: {
1156
+ type: "object",
1157
+ required: ["accountSid", "authToken"],
1158
+ properties: {
1159
+ accountSid: {
1160
+ type: "string",
1161
+ description: "Twilio Account SID."
1162
+ },
1163
+ authToken: {
1164
+ type: "string",
1165
+ description: "Twilio Auth Token."
1166
+ }
1167
+ }
1168
+ },
1169
+ example: {
1170
+ accountSid: "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
1171
+ authToken: "auth-token"
1172
+ }
1173
+ },
1174
+ healthCheck: {
1175
+ method: "custom",
1176
+ timeoutMs: 3000
1177
+ },
1178
+ docsUrl: "https://www.twilio.com/docs/sms/api",
1179
+ constraints: {
1180
+ rateLimit: {
1181
+ rpm: 200
1182
+ }
1183
+ },
1184
+ byokSetup: {
1185
+ setupInstructions: "Provide a Twilio account SID, auth token, and verify the outbound sending numbers used by the integration."
1186
+ }
1187
+ });
1188
+ function registerTwilioSmsIntegration(registry) {
1189
+ return registry.register(twilioSmsIntegrationSpec);
1190
+ }
1191
+
1192
+ // src/integrations/providers/gcs-storage.ts
1193
+ var gcsStorageIntegrationSpec = defineIntegration({
1194
+ meta: {
1195
+ key: "storage.gcs",
1196
+ version: "1.0.0",
1197
+ category: "storage",
1198
+ title: "Google Cloud Storage Buckets",
1199
+ description: "Google Cloud Storage integration for object storage and retrieval.",
1200
+ domain: "infrastructure",
1201
+ owners: ["platform.infrastructure"],
1202
+ tags: ["storage", "gcs", "google-cloud"],
1203
+ stability: StabilityEnum.Beta
1204
+ },
1205
+ supportedModes: ["managed", "byok"],
1206
+ capabilities: {
1207
+ provides: [{ key: "storage.objects", version: "1.0.0" }]
1208
+ },
1209
+ configSchema: {
1210
+ schema: {
1211
+ type: "object",
1212
+ required: ["bucket"],
1213
+ properties: {
1214
+ bucket: {
1215
+ type: "string",
1216
+ description: "Primary bucket name used for storing objects."
1217
+ },
1218
+ prefix: {
1219
+ type: "string",
1220
+ description: "Optional prefix applied to object keys."
1221
+ }
1222
+ }
1223
+ },
1224
+ example: {
1225
+ bucket: "pfo-tenant-assets",
1226
+ prefix: "documents/"
1227
+ }
1228
+ },
1229
+ secretSchema: {
1230
+ schema: {
1231
+ type: "object",
1232
+ properties: {
1233
+ type: {
1234
+ type: "string",
1235
+ description: "Service account type field from Google credentials JSON (if provided)."
1236
+ },
1237
+ client_email: { type: "string" },
1238
+ private_key: { type: "string" },
1239
+ project_id: { type: "string" }
1240
+ }
1241
+ },
1242
+ example: {
1243
+ type: "service_account",
1244
+ client_email: "svc-account@example.iam.gserviceaccount.com",
1245
+ private_key: "-----BEGIN PRIVATE KEY-----...",
1246
+ project_id: "example-project"
1247
+ }
1248
+ },
1249
+ healthCheck: {
1250
+ method: "ping",
1251
+ timeoutMs: 4000
1252
+ },
1253
+ docsUrl: "https://cloud.google.com/storage/docs/apis",
1254
+ constraints: {
1255
+ quotas: {
1256
+ storageGb: 5120
1257
+ }
1258
+ },
1259
+ byokSetup: {
1260
+ setupInstructions: "Create a Google Cloud service account with Storage Object Admin role and upload the JSON credentials to the secret store."
1261
+ }
1262
+ });
1263
+ function registerGcsStorageIntegration(registry) {
1264
+ return registry.register(gcsStorageIntegrationSpec);
1265
+ }
1266
+
1267
+ // src/integrations/providers/powens.ts
1268
+ var powensIntegrationSpec = defineIntegration({
1269
+ meta: {
1270
+ key: "openbanking.powens",
1271
+ version: "1.0.0",
1272
+ category: "open-banking",
1273
+ title: "Powens Open Banking (Read)",
1274
+ description: "Read-only Open Banking integration powered by Powens, exposing accounts, transactions, and balances.",
1275
+ domain: "finance",
1276
+ owners: ["platform.finance"],
1277
+ tags: ["open-banking", "powens", "finance"],
1278
+ stability: StabilityEnum.Experimental
1279
+ },
1280
+ supportedModes: ["byok"],
1281
+ capabilities: {
1282
+ provides: [
1283
+ { key: "openbanking.accounts.read", version: "1.0.0" },
1284
+ { key: "openbanking.transactions.read", version: "1.0.0" },
1285
+ { key: "openbanking.balances.read", version: "1.0.0" }
1286
+ ]
1287
+ },
1288
+ configSchema: {
1289
+ schema: {
1290
+ type: "object",
1291
+ required: ["environment"],
1292
+ properties: {
1293
+ environment: {
1294
+ type: "string",
1295
+ enum: ["sandbox", "production"],
1296
+ description: "Powens environment to target. Sandbox uses Powens test API base URL, production uses live endpoints."
1297
+ },
1298
+ baseUrl: {
1299
+ type: "string",
1300
+ description: "Optional override for the Powens API base URL. Defaults to Powens environment defaults."
1301
+ },
1302
+ region: {
1303
+ type: "string",
1304
+ description: "Optional Powens region identifier when targeting a specific data residency cluster."
1305
+ },
1306
+ pollingIntervalMs: {
1307
+ type: "number",
1308
+ description: "Optional custom polling interval in milliseconds for background sync jobs (defaults to platform standard)."
1309
+ }
1310
+ }
1311
+ },
1312
+ example: {
1313
+ environment: "sandbox",
1314
+ baseUrl: "https://api-sandbox.powens.com/v2",
1315
+ region: "eu-west-1",
1316
+ pollingIntervalMs: 300000
1317
+ }
1318
+ },
1319
+ secretSchema: {
1320
+ schema: {
1321
+ type: "object",
1322
+ required: ["clientId", "clientSecret"],
1323
+ properties: {
1324
+ clientId: {
1325
+ type: "string",
1326
+ description: "Powens OAuth client identifier obtained from the Powens Console (BYOK project)."
1327
+ },
1328
+ clientSecret: {
1329
+ type: "string",
1330
+ description: "Powens OAuth client secret used to exchange for access tokens."
1331
+ },
1332
+ apiKey: {
1333
+ type: "string",
1334
+ description: "Optional Powens API key (if the tenant project exposes a dedicated API token)."
1335
+ },
1336
+ webhookSecret: {
1337
+ type: "string",
1338
+ description: "Optional webhook signing secret used to verify Powens webhook payloads."
1339
+ }
1340
+ }
1341
+ },
1342
+ example: {
1343
+ clientId: "powens-client-id",
1344
+ clientSecret: "powens-client-secret",
1345
+ apiKey: "powens-api-key",
1346
+ webhookSecret: "powens-webhook-secret"
1347
+ }
1348
+ },
1349
+ healthCheck: {
1350
+ method: "ping",
1351
+ timeoutMs: 8000
1352
+ },
1353
+ docsUrl: "https://docs.powens.com/",
1354
+ constraints: {
1355
+ rateLimit: {
1356
+ rph: 1e4,
1357
+ rpm: 600
1358
+ }
1359
+ },
1360
+ byokSetup: {
1361
+ setupInstructions: "Create a Powens BYOK project, generate OAuth credentials, and optionally configure webhook delivery for account/transaction updates.",
1362
+ requiredScopes: ["accounts:read", "transactions:read", "balances:read"]
1363
+ }
1364
+ });
1365
+ function registerPowensIntegration(registry) {
1366
+ return registry.register(powensIntegrationSpec);
1367
+ }
1368
+
1369
+ // src/integrations/providers/posthog.ts
1370
+ var posthogIntegrationSpec = defineIntegration({
1371
+ meta: {
1372
+ key: "analytics.posthog",
1373
+ version: "1.0.0",
1374
+ category: "analytics",
1375
+ title: "PostHog",
1376
+ description: "PostHog integration for product analytics, feature flags, and HogQL queries.",
1377
+ domain: "analytics",
1378
+ owners: ["@platform.integrations"],
1379
+ tags: ["analytics", "posthog"],
1380
+ stability: StabilityEnum.Beta
1381
+ },
1382
+ supportedModes: ["managed", "byok"],
1383
+ capabilities: {
1384
+ provides: [
1385
+ { key: "analytics.events", version: "1.0.0" },
1386
+ { key: "analytics.feature-flags", version: "1.0.0" },
1387
+ { key: "analytics.query", version: "1.0.0" },
1388
+ { key: "analytics.events.read", version: "1.0.0" },
1389
+ { key: "analytics.persons", version: "1.0.0" },
1390
+ { key: "analytics.insights", version: "1.0.0" },
1391
+ { key: "analytics.cohorts", version: "1.0.0" },
1392
+ { key: "analytics.annotations", version: "1.0.0" }
1393
+ ]
1394
+ },
1395
+ configSchema: {
1396
+ schema: {
1397
+ type: "object",
1398
+ properties: {
1399
+ host: {
1400
+ type: "string",
1401
+ description: "PostHog host (e.g., https://app.posthog.com or self-hosted URL)."
1402
+ },
1403
+ projectId: {
1404
+ type: "string",
1405
+ description: "PostHog project ID for API queries."
1406
+ },
1407
+ mcpUrl: {
1408
+ type: "string",
1409
+ description: "Optional MCP endpoint URL for PostHog tools."
1410
+ }
1411
+ }
1412
+ },
1413
+ example: {
1414
+ host: "https://app.posthog.com",
1415
+ projectId: "12345"
1416
+ }
1417
+ },
1418
+ secretSchema: {
1419
+ schema: {
1420
+ type: "object",
1421
+ required: ["personalApiKey"],
1422
+ properties: {
1423
+ personalApiKey: {
1424
+ type: "string",
1425
+ description: "PostHog personal API key (required for API reads/writes)."
1426
+ },
1427
+ projectApiKey: {
1428
+ type: "string",
1429
+ description: "PostHog project API key (required for capture/ingest events)."
1430
+ }
1431
+ }
1432
+ },
1433
+ example: {
1434
+ personalApiKey: "phx_personal_api_key",
1435
+ projectApiKey: "phc_project_api_key"
1436
+ }
1437
+ },
1438
+ healthCheck: {
1439
+ method: "custom",
1440
+ timeoutMs: 5000
1441
+ },
1442
+ docsUrl: "https://posthog.com/docs",
1443
+ byokSetup: {
1444
+ setupInstructions: "Generate a PostHog personal API key for read/write operations and a project API key for event capture."
1445
+ }
1446
+ });
1447
+ function registerPosthogIntegration(registry) {
1448
+ return registry.register(posthogIntegrationSpec);
1449
+ }
1450
+
1451
+ // src/integrations/providers/linear.ts
1452
+ var linearIntegrationSpec = defineIntegration({
1453
+ meta: {
1454
+ key: "project-management.linear",
1455
+ version: "1.0.0",
1456
+ category: "project-management",
1457
+ title: "Linear",
1458
+ description: "Linear integration for issue tracking and project management workflows.",
1459
+ domain: "productivity",
1460
+ owners: ["@platform.integrations"],
1461
+ tags: ["project-management", "linear"],
1462
+ stability: StabilityEnum.Beta
1463
+ },
1464
+ supportedModes: ["managed", "byok"],
1465
+ capabilities: {
1466
+ provides: [{ key: "project-management.work-items", version: "1.0.0" }]
1467
+ },
1468
+ configSchema: {
1469
+ schema: {
1470
+ type: "object",
1471
+ required: ["teamId"],
1472
+ properties: {
1473
+ teamId: {
1474
+ type: "string",
1475
+ description: "Linear team ID that owns created issues."
1476
+ },
1477
+ projectId: {
1478
+ type: "string",
1479
+ description: "Optional default project ID for new issues."
1480
+ },
1481
+ stateId: {
1482
+ type: "string",
1483
+ description: "Optional default workflow state ID."
1484
+ },
1485
+ assigneeId: {
1486
+ type: "string",
1487
+ description: "Optional default assignee ID."
1488
+ },
1489
+ labelIds: {
1490
+ type: "array",
1491
+ items: { type: "string" },
1492
+ description: "Optional label IDs applied to each issue."
1493
+ },
1494
+ tagLabelMap: {
1495
+ type: "object",
1496
+ additionalProperties: { type: "string" },
1497
+ description: "Optional mapping of tags to Linear label IDs (tag -> labelId)."
1498
+ }
1499
+ }
1500
+ },
1501
+ example: {
1502
+ teamId: "team_123",
1503
+ projectId: "proj_456",
1504
+ labelIds: ["label_1", "label_2"]
1505
+ }
1506
+ },
1507
+ secretSchema: {
1508
+ schema: {
1509
+ type: "object",
1510
+ required: ["apiKey"],
1511
+ properties: {
1512
+ apiKey: {
1513
+ type: "string",
1514
+ description: "Linear API key (personal or service token)."
1515
+ }
1516
+ }
1517
+ },
1518
+ example: {
1519
+ apiKey: "lin_api_key"
1520
+ }
1521
+ },
1522
+ healthCheck: {
1523
+ method: "custom",
1524
+ timeoutMs: 4000
1525
+ },
1526
+ docsUrl: "https://developers.linear.app",
1527
+ constraints: {},
1528
+ byokSetup: {
1529
+ setupInstructions: "Create a Linear API key with issue:write permission and store it as a secret."
1530
+ }
1531
+ });
1532
+ function registerLinearIntegration(registry) {
1533
+ return registry.register(linearIntegrationSpec);
1534
+ }
1535
+
1536
+ // src/integrations/providers/jira.ts
1537
+ var jiraIntegrationSpec = defineIntegration({
1538
+ meta: {
1539
+ key: "project-management.jira",
1540
+ version: "1.0.0",
1541
+ category: "project-management",
1542
+ title: "Jira Cloud",
1543
+ description: "Jira Cloud integration for creating and tracking work items.",
1544
+ domain: "productivity",
1545
+ owners: ["@platform.integrations"],
1546
+ tags: ["project-management", "jira"],
1547
+ stability: StabilityEnum.Beta
1548
+ },
1549
+ supportedModes: ["managed", "byok"],
1550
+ capabilities: {
1551
+ provides: [{ key: "project-management.work-items", version: "1.0.0" }]
1552
+ },
1553
+ configSchema: {
1554
+ schema: {
1555
+ type: "object",
1556
+ required: ["siteUrl"],
1557
+ properties: {
1558
+ siteUrl: {
1559
+ type: "string",
1560
+ description: "Jira Cloud site URL (e.g., https://acme.atlassian.net)."
1561
+ },
1562
+ projectKey: {
1563
+ type: "string",
1564
+ description: "Default Jira project key for new issues."
1565
+ },
1566
+ issueType: {
1567
+ type: "string",
1568
+ description: "Default Jira issue type (e.g., Task, Story)."
1569
+ },
1570
+ defaultLabels: {
1571
+ type: "array",
1572
+ items: { type: "string" },
1573
+ description: "Labels applied to each issue by default."
1574
+ },
1575
+ issueTypeMap: {
1576
+ type: "object",
1577
+ additionalProperties: { type: "string" },
1578
+ description: "Optional mapping from work item types to Jira issue types."
1579
+ }
1580
+ }
1581
+ },
1582
+ example: {
1583
+ siteUrl: "https://acme.atlassian.net",
1584
+ projectKey: "PM",
1585
+ issueType: "Task"
1586
+ }
1587
+ },
1588
+ secretSchema: {
1589
+ schema: {
1590
+ type: "object",
1591
+ required: ["email", "apiToken"],
1592
+ properties: {
1593
+ email: {
1594
+ type: "string",
1595
+ description: "Jira account email used for API token auth."
1596
+ },
1597
+ apiToken: {
1598
+ type: "string",
1599
+ description: "Jira Cloud API token for the account."
1600
+ }
1601
+ }
1602
+ },
1603
+ example: {
1604
+ email: "user@acme.com",
1605
+ apiToken: "jira_api_token"
1606
+ }
1607
+ },
1608
+ healthCheck: {
1609
+ method: "custom",
1610
+ timeoutMs: 4000
1611
+ },
1612
+ docsUrl: "https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/",
1613
+ constraints: {},
1614
+ byokSetup: {
1615
+ setupInstructions: "Create a Jira API token and store it with the associated account email."
1616
+ }
1617
+ });
1618
+ function registerJiraIntegration(registry) {
1619
+ return registry.register(jiraIntegrationSpec);
1620
+ }
1621
+
1622
+ // src/integrations/providers/notion.ts
1623
+ var notionIntegrationSpec = defineIntegration({
1624
+ meta: {
1625
+ key: "project-management.notion",
1626
+ version: "1.0.0",
1627
+ category: "project-management",
1628
+ title: "Notion",
1629
+ description: "Notion integration for creating shared project summaries and task entries.",
1630
+ domain: "productivity",
1631
+ owners: ["@platform.integrations"],
1632
+ tags: ["project-management", "notion"],
1633
+ stability: StabilityEnum.Beta
1634
+ },
1635
+ supportedModes: ["managed", "byok"],
1636
+ capabilities: {
1637
+ provides: [{ key: "project-management.work-items", version: "1.0.0" }]
1638
+ },
1639
+ configSchema: {
1640
+ schema: {
1641
+ type: "object",
1642
+ properties: {
1643
+ databaseId: {
1644
+ type: "string",
1645
+ description: "Optional Notion database ID to store tasks."
1646
+ },
1647
+ summaryParentPageId: {
1648
+ type: "string",
1649
+ description: "Optional parent page ID for summary pages."
1650
+ },
1651
+ titleProperty: {
1652
+ type: "string",
1653
+ description: 'Database title property name (defaults to "Name").'
1654
+ },
1655
+ statusProperty: {
1656
+ type: "string",
1657
+ description: "Database status/select property name."
1658
+ },
1659
+ priorityProperty: {
1660
+ type: "string",
1661
+ description: "Database priority/select property name."
1662
+ },
1663
+ tagsProperty: {
1664
+ type: "string",
1665
+ description: "Database multi-select tags property name."
1666
+ },
1667
+ dueDateProperty: {
1668
+ type: "string",
1669
+ description: "Database date property name for due dates."
1670
+ },
1671
+ descriptionProperty: {
1672
+ type: "string",
1673
+ description: "Database rich-text property for descriptions."
1674
+ }
1675
+ }
1676
+ },
1677
+ example: {
1678
+ databaseId: "xxxxxxxxxxxxxxxx",
1679
+ summaryParentPageId: "yyyyyyyyyyyyyyyy",
1680
+ titleProperty: "Name",
1681
+ statusProperty: "Status"
1682
+ }
1683
+ },
1684
+ secretSchema: {
1685
+ schema: {
1686
+ type: "object",
1687
+ required: ["apiKey"],
1688
+ properties: {
1689
+ apiKey: {
1690
+ type: "string",
1691
+ description: "Notion integration secret token."
1692
+ }
1693
+ }
1694
+ },
1695
+ example: {
1696
+ apiKey: "secret_notion_token"
1697
+ }
1698
+ },
1699
+ healthCheck: {
1700
+ method: "custom",
1701
+ timeoutMs: 4000
1702
+ },
1703
+ docsUrl: "https://developers.notion.com",
1704
+ constraints: {},
1705
+ byokSetup: {
1706
+ setupInstructions: "Create a Notion internal integration, share the target database/page with it, and store the secret token."
1707
+ }
1708
+ });
1709
+ function registerNotionIntegration(registry) {
1710
+ return registry.register(notionIntegrationSpec);
1711
+ }
1712
+
1713
+ // src/integrations/providers/granola.ts
1714
+ var granolaIntegrationSpec = defineIntegration({
1715
+ meta: {
1716
+ key: "meeting-recorder.granola",
1717
+ version: "1.0.0",
1718
+ category: "meeting-recorder",
1719
+ title: "Granola Meeting Notes",
1720
+ description: "Granola meeting notes and transcripts via Enterprise API or MCP transport.",
1721
+ domain: "productivity",
1722
+ owners: ["platform.integrations"],
1723
+ tags: ["meeting-recorder", "granola", "transcripts"],
1724
+ stability: StabilityEnum.Experimental
1725
+ },
1726
+ supportedModes: ["byok"],
1727
+ capabilities: {
1728
+ provides: [
1729
+ { key: "meeting-recorder.meetings.read", version: "1.0.0" },
1730
+ { key: "meeting-recorder.transcripts.read", version: "1.0.0" }
1731
+ ]
1732
+ },
1733
+ configSchema: {
1734
+ schema: {
1735
+ type: "object",
1736
+ properties: {
1737
+ baseUrl: {
1738
+ type: "string",
1739
+ description: "Optional override for the Granola API base URL. Defaults to https://public-api.granola.ai for API transport."
1740
+ },
1741
+ transport: {
1742
+ type: "string",
1743
+ enum: ["api", "mcp"],
1744
+ description: "Transport mode for Granola integration. Use api for Enterprise API or mcp for broader MCP access."
1745
+ },
1746
+ mcpUrl: {
1747
+ type: "string",
1748
+ description: "Optional override for Granola MCP URL. Defaults to https://mcp.granola.ai/mcp."
1749
+ },
1750
+ mcpHeaders: {
1751
+ type: "object",
1752
+ additionalProperties: { type: "string" },
1753
+ description: "Optional static headers for MCP gateway/proxy setups."
1754
+ },
1755
+ pageSize: {
1756
+ type: "number",
1757
+ description: "Page size for listing notes (maximum 30 per Granola API)."
1758
+ }
1759
+ }
1760
+ },
1761
+ example: {
1762
+ transport: "mcp",
1763
+ mcpUrl: "https://mcp.granola.ai/mcp",
1764
+ pageSize: 10
1765
+ }
1766
+ },
1767
+ secretSchema: {
1768
+ schema: {
1769
+ type: "object",
1770
+ properties: {
1771
+ apiKey: {
1772
+ type: "string",
1773
+ description: "Granola API key used as a Bearer token for Enterprise API requests (transport=api)."
1774
+ },
1775
+ mcpAccessToken: {
1776
+ type: "string",
1777
+ description: "Optional bearer token for MCP proxy/gateway auth (transport=mcp)."
1778
+ }
1779
+ }
1780
+ },
1781
+ example: {
1782
+ mcpAccessToken: "granola-mcp-***"
1783
+ }
1784
+ },
1785
+ healthCheck: {
1786
+ method: "list",
1787
+ timeoutMs: 8000
1788
+ },
1789
+ docsUrl: "https://docs.granola.ai/help-center/sharing/integrations/mcp",
1790
+ byokSetup: {
1791
+ setupInstructions: "Use Granola MCP for browser OAuth access, or configure an Enterprise API key for REST transport."
1792
+ }
1793
+ });
1794
+ function registerGranolaIntegration(registry) {
1795
+ return registry.register(granolaIntegrationSpec);
1796
+ }
1797
+
1798
+ // src/integrations/providers/tldv.ts
1799
+ var tldvIntegrationSpec = defineIntegration({
1800
+ meta: {
1801
+ key: "meeting-recorder.tldv",
1802
+ version: "1.0.0",
1803
+ category: "meeting-recorder",
1804
+ title: "tl;dv Meeting Recorder",
1805
+ description: "tl;dv Public API for meeting recordings, transcripts, and webhook events.",
1806
+ domain: "productivity",
1807
+ owners: ["platform.integrations"],
1808
+ tags: ["meeting-recorder", "tldv", "transcripts"],
1809
+ stability: StabilityEnum.Experimental
1810
+ },
1811
+ supportedModes: ["byok"],
1812
+ capabilities: {
1813
+ provides: [
1814
+ { key: "meeting-recorder.meetings.read", version: "1.0.0" },
1815
+ { key: "meeting-recorder.transcripts.read", version: "1.0.0" },
1816
+ { key: "meeting-recorder.webhooks", version: "1.0.0" }
1817
+ ]
1818
+ },
1819
+ configSchema: {
1820
+ schema: {
1821
+ type: "object",
1822
+ properties: {
1823
+ baseUrl: {
1824
+ type: "string",
1825
+ description: "Optional override for the tl;dv API base URL. Defaults to https://pasta.tldv.io/v1alpha1."
1826
+ },
1827
+ webhookUrl: {
1828
+ type: "string",
1829
+ description: "Webhook destination URL configured in tl;dv settings (MeetingReady/TranscriptReady)."
1830
+ },
1831
+ webhookEvents: {
1832
+ type: "array",
1833
+ items: { type: "string" },
1834
+ description: "Webhook triggers to enable (MeetingReady, TranscriptReady)."
1835
+ },
1836
+ webhookScope: {
1837
+ type: "string",
1838
+ description: "Webhook scope to configure (user, team, or organization)."
1839
+ }
1840
+ }
1841
+ },
1842
+ example: {
1843
+ baseUrl: "https://pasta.tldv.io/v1alpha1",
1844
+ webhookUrl: "https://example.com/webhooks/tldv",
1845
+ webhookEvents: ["MeetingReady", "TranscriptReady"],
1846
+ webhookScope: "team"
1847
+ }
1848
+ },
1849
+ secretSchema: {
1850
+ schema: {
1851
+ type: "object",
1852
+ required: ["apiKey"],
1853
+ properties: {
1854
+ apiKey: {
1855
+ type: "string",
1856
+ description: "tl;dv API key used in the x-api-key header for API requests."
1857
+ },
1858
+ webhookSecret: {
1859
+ type: "string",
1860
+ description: "Optional shared secret for webhook verification if configured in your environment."
1861
+ }
1862
+ }
1863
+ },
1864
+ example: {
1865
+ apiKey: "tldv-***",
1866
+ webhookSecret: "tldv-webhook-secret"
1867
+ }
1868
+ },
1869
+ healthCheck: {
1870
+ method: "ping",
1871
+ timeoutMs: 6000
1872
+ },
1873
+ docsUrl: "https://doc.tldv.io/index.html",
1874
+ byokSetup: {
1875
+ setupInstructions: "Generate a tl;dv API key and optionally configure MeetingReady/TranscriptReady webhooks."
1876
+ }
1877
+ });
1878
+ function registerTldvIntegration(registry) {
1879
+ return registry.register(tldvIntegrationSpec);
1880
+ }
1881
+
1882
+ // src/integrations/providers/fireflies.ts
1883
+ var firefliesIntegrationSpec = defineIntegration({
1884
+ meta: {
1885
+ key: "meeting-recorder.fireflies",
1886
+ version: "1.0.0",
1887
+ category: "meeting-recorder",
1888
+ title: "Fireflies.ai Meeting Recorder",
1889
+ description: "Fireflies GraphQL API for meeting transcripts, metadata, and webhook events.",
1890
+ domain: "productivity",
1891
+ owners: ["platform.integrations"],
1892
+ tags: ["meeting-recorder", "fireflies", "transcripts"],
1893
+ stability: StabilityEnum.Experimental
1894
+ },
1895
+ supportedModes: ["byok"],
1896
+ capabilities: {
1897
+ provides: [
1898
+ { key: "meeting-recorder.meetings.read", version: "1.0.0" },
1899
+ { key: "meeting-recorder.transcripts.read", version: "1.0.0" },
1900
+ { key: "meeting-recorder.webhooks", version: "1.0.0" }
1901
+ ]
1902
+ },
1903
+ configSchema: {
1904
+ schema: {
1905
+ type: "object",
1906
+ properties: {
1907
+ baseUrl: {
1908
+ type: "string",
1909
+ description: "Optional override for the Fireflies GraphQL endpoint. Defaults to https://api.fireflies.ai/graphql."
1910
+ },
1911
+ webhookUrl: {
1912
+ type: "string",
1913
+ description: "Webhook destination URL configured in Fireflies developer settings."
1914
+ },
1915
+ webhookEvents: {
1916
+ type: "array",
1917
+ items: { type: "string" },
1918
+ description: "Webhook events to subscribe to (e.g., Transcription completed)."
1919
+ },
1920
+ transcriptsPageSize: {
1921
+ type: "number",
1922
+ description: "Number of transcripts to request per GraphQL query."
1923
+ }
1924
+ }
1925
+ },
1926
+ example: {
1927
+ baseUrl: "https://api.fireflies.ai/graphql",
1928
+ webhookUrl: "https://example.com/webhooks/fireflies",
1929
+ webhookEvents: ["Transcription completed"],
1930
+ transcriptsPageSize: 25
1931
+ }
1932
+ },
1933
+ secretSchema: {
1934
+ schema: {
1935
+ type: "object",
1936
+ required: ["apiKey"],
1937
+ properties: {
1938
+ apiKey: {
1939
+ type: "string",
1940
+ description: "Fireflies API key for GraphQL requests."
1941
+ },
1942
+ webhookSecret: {
1943
+ type: "string",
1944
+ description: "Optional webhook secret used to verify x-hub-signature HMAC payloads."
1945
+ }
1946
+ }
1947
+ },
1948
+ example: {
1949
+ apiKey: "fireflies-***",
1950
+ webhookSecret: "fireflies-webhook-secret"
1951
+ }
1952
+ },
1953
+ healthCheck: {
1954
+ method: "custom",
1955
+ timeoutMs: 6000
1956
+ },
1957
+ docsUrl: "https://docs.fireflies.ai/getting-started/introduction",
1958
+ byokSetup: {
1959
+ setupInstructions: "Create a Fireflies API key and optionally configure webhook settings in Developer Settings."
1960
+ }
1961
+ });
1962
+ function registerFirefliesIntegration(registry) {
1963
+ return registry.register(firefliesIntegrationSpec);
1964
+ }
1965
+
1966
+ // src/integrations/providers/fathom.ts
1967
+ var fathomIntegrationSpec = defineIntegration({
1968
+ meta: {
1969
+ key: "meeting-recorder.fathom",
1970
+ version: "1.0.0",
1971
+ category: "meeting-recorder",
1972
+ title: "Fathom Meeting Recorder",
1973
+ description: "Fathom External API for meetings, transcripts, and webhook events.",
1974
+ domain: "productivity",
1975
+ owners: ["platform.integrations"],
1976
+ tags: ["meeting-recorder", "fathom", "transcripts"],
1977
+ stability: StabilityEnum.Experimental
1978
+ },
1979
+ supportedModes: ["byok"],
1980
+ capabilities: {
1981
+ provides: [
1982
+ { key: "meeting-recorder.meetings.read", version: "1.0.0" },
1983
+ { key: "meeting-recorder.transcripts.read", version: "1.0.0" },
1984
+ { key: "meeting-recorder.webhooks", version: "1.0.0" }
1985
+ ]
1986
+ },
1987
+ configSchema: {
1988
+ schema: {
1989
+ type: "object",
1990
+ properties: {
1991
+ baseUrl: {
1992
+ type: "string",
1993
+ description: "Optional override for the Fathom API base URL. Defaults to https://api.fathom.ai/external/v1."
1994
+ },
1995
+ webhookUrl: {
1996
+ type: "string",
1997
+ description: "Webhook destination URL used when registering Fathom webhooks."
1998
+ },
1999
+ includeTranscript: {
2000
+ type: "boolean",
2001
+ description: "Include transcript data in Fathom webhook payloads."
2002
+ },
2003
+ includeSummary: {
2004
+ type: "boolean",
2005
+ description: "Include summary data in Fathom webhook payloads."
2006
+ },
2007
+ includeActionItems: {
2008
+ type: "boolean",
2009
+ description: "Include action items in Fathom webhook payloads."
2010
+ },
2011
+ includeCrmMatches: {
2012
+ type: "boolean",
2013
+ description: "Include CRM matches in Fathom webhook payloads."
2014
+ },
2015
+ triggeredFor: {
2016
+ type: "array",
2017
+ items: { type: "string" },
2018
+ description: "Recording scopes to trigger webhooks for (e.g., my_recordings)."
2019
+ }
2020
+ }
2021
+ },
2022
+ example: {
2023
+ baseUrl: "https://api.fathom.ai/external/v1",
2024
+ webhookUrl: "https://example.com/webhooks/fathom",
2025
+ includeTranscript: true,
2026
+ includeSummary: true,
2027
+ includeActionItems: false,
2028
+ includeCrmMatches: false,
2029
+ triggeredFor: ["my_recordings"]
2030
+ }
2031
+ },
2032
+ secretSchema: {
2033
+ schema: {
2034
+ type: "object",
2035
+ required: ["apiKey"],
2036
+ properties: {
2037
+ apiKey: {
2038
+ type: "string",
2039
+ description: "Fathom API key used in the X-Api-Key header."
2040
+ },
2041
+ webhookSecret: {
2042
+ type: "string",
2043
+ description: "Optional webhook secret used to verify Fathom webhook signatures."
2044
+ }
2045
+ }
2046
+ },
2047
+ example: {
2048
+ apiKey: "fathom-***",
2049
+ webhookSecret: "whsec_***"
2050
+ }
2051
+ },
2052
+ healthCheck: {
2053
+ method: "list",
2054
+ timeoutMs: 8000
2055
+ },
2056
+ docsUrl: "https://developers.fathom.ai/",
2057
+ constraints: {
2058
+ rateLimit: {
2059
+ rpm: 60
2060
+ }
2061
+ },
2062
+ byokSetup: {
2063
+ setupInstructions: "Generate an API key in Fathom settings and optionally configure webhooks for meeting content readiness."
2064
+ }
2065
+ });
2066
+ function registerFathomIntegration(registry) {
2067
+ return registry.register(fathomIntegrationSpec);
2068
+ }
2069
+ // src/integrations/providers/registry.ts
2070
+ function createDefaultIntegrationSpecRegistry() {
2071
+ const registry = new IntegrationSpecRegistry;
2072
+ registerStripeIntegration(registry);
2073
+ registerPostmarkIntegration(registry);
2074
+ registerQdrantIntegration(registry);
2075
+ registerSupabaseVectorIntegration(registry);
2076
+ registerSupabasePostgresIntegration(registry);
2077
+ registerMistralIntegration(registry);
2078
+ registerElevenLabsIntegration(registry);
2079
+ registerGradiumIntegration(registry);
2080
+ registerFalIntegration(registry);
2081
+ registerGmailIntegration(registry);
2082
+ registerGoogleCalendarIntegration(registry);
2083
+ registerPosthogIntegration(registry);
2084
+ registerTwilioSmsIntegration(registry);
2085
+ registerGcsStorageIntegration(registry);
2086
+ registerPowensIntegration(registry);
2087
+ registerLinearIntegration(registry);
2088
+ registerJiraIntegration(registry);
2089
+ registerNotionIntegration(registry);
2090
+ registerGranolaIntegration(registry);
2091
+ registerTldvIntegration(registry);
2092
+ registerFirefliesIntegration(registry);
2093
+ registerFathomIntegration(registry);
2094
+ return registry;
2095
+ }
2096
+ export {
2097
+ twilioSmsIntegrationSpec,
2098
+ tldvIntegrationSpec,
2099
+ supabaseVectorIntegrationSpec,
2100
+ supabasePostgresIntegrationSpec,
2101
+ stripeIntegrationSpec,
2102
+ registerTwilioSmsIntegration,
2103
+ registerTldvIntegration,
2104
+ registerSupabaseVectorIntegration,
2105
+ registerSupabasePostgresIntegration,
2106
+ registerStripeIntegration,
2107
+ registerQdrantIntegration,
2108
+ registerPowensIntegration,
2109
+ registerPostmarkIntegration,
2110
+ registerPosthogIntegration,
2111
+ registerNotionIntegration,
2112
+ registerMistralIntegration,
2113
+ registerLinearIntegration,
2114
+ registerJiraIntegration,
2115
+ registerGranolaIntegration,
2116
+ registerGradiumIntegration,
2117
+ registerGoogleCalendarIntegration,
2118
+ registerGmailIntegration,
2119
+ registerGcsStorageIntegration,
2120
+ registerFirefliesIntegration,
2121
+ registerFathomIntegration,
2122
+ registerFalIntegration,
2123
+ registerElevenLabsIntegration,
2124
+ qdrantIntegrationSpec,
2125
+ powensIntegrationSpec,
2126
+ postmarkIntegrationSpec,
2127
+ posthogIntegrationSpec,
2128
+ notionIntegrationSpec,
2129
+ mistralIntegrationSpec,
2130
+ linearIntegrationSpec,
2131
+ jiraIntegrationSpec,
2132
+ granolaIntegrationSpec,
2133
+ gradiumIntegrationSpec,
2134
+ googleCalendarIntegrationSpec,
2135
+ gmailIntegrationSpec,
2136
+ gcsStorageIntegrationSpec,
2137
+ firefliesIntegrationSpec,
2138
+ fathomIntegrationSpec,
2139
+ falIntegrationSpec,
2140
+ elevenLabsIntegrationSpec,
2141
+ createDefaultIntegrationSpecRegistry
2142
+ };