@pikku/addon-console 0.12.42 → 0.12.44

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 (937) hide show
  1. package/CHANGELOG.md +2027 -0
  2. package/dist/.pikku/addon/agent/index.d.ts +8 -0
  3. package/dist/.pikku/addon/agent/index.d.ts.map +1 -0
  4. package/dist/.pikku/addon/agent/index.js +8 -0
  5. package/dist/.pikku/addon/agent/index.js.map +1 -0
  6. package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +4 -0
  7. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +54 -0
  8. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -0
  9. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +20 -0
  10. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -0
  11. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts +2 -0
  12. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts.map +1 -0
  13. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +6 -0
  14. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js.map +1 -0
  15. package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +8 -0
  16. package/dist/.pikku/addon/auth/auth.types.d.ts +5 -0
  17. package/dist/.pikku/addon/auth/auth.types.d.ts.map +1 -0
  18. package/dist/.pikku/addon/auth/auth.types.js +6 -0
  19. package/dist/.pikku/addon/auth/auth.types.js.map +1 -0
  20. package/dist/.pikku/addon/auth/index.d.ts +9 -0
  21. package/dist/.pikku/addon/auth/index.d.ts.map +1 -0
  22. package/dist/.pikku/addon/auth/index.js +9 -0
  23. package/dist/.pikku/addon/auth/index.js.map +1 -0
  24. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +119 -0
  25. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -0
  26. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +93 -0
  27. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
  28. package/dist/.pikku/addon/channel/index.d.ts +8 -0
  29. package/dist/.pikku/addon/channel/index.d.ts.map +1 -0
  30. package/dist/.pikku/addon/channel/index.js +8 -0
  31. package/dist/.pikku/addon/channel/index.js.map +1 -0
  32. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +91 -0
  33. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -0
  34. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +43 -0
  35. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
  36. package/dist/.pikku/addon/error/index.d.ts +8 -0
  37. package/dist/.pikku/addon/error/index.d.ts.map +1 -0
  38. package/dist/.pikku/addon/error/index.js +8 -0
  39. package/dist/.pikku/addon/error/index.js.map +1 -0
  40. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +8 -0
  41. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts.map +1 -0
  42. package/dist/.pikku/addon/error/pikku-error-types.gen.js +8 -0
  43. package/dist/.pikku/addon/error/pikku-error-types.gen.js.map +1 -0
  44. package/dist/.pikku/addon/function/index.d.ts +8 -0
  45. package/dist/.pikku/addon/function/index.d.ts.map +1 -0
  46. package/dist/.pikku/addon/function/index.js +8 -0
  47. package/dist/.pikku/addon/function/index.js.map +1 -0
  48. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +270 -0
  49. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -0
  50. package/dist/.pikku/addon/function/pikku-function-types.gen.js +117 -0
  51. package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
  52. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +2146 -0
  53. package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts +2 -0
  54. package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
  55. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +7 -0
  56. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
  57. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +1690 -0
  58. package/dist/.pikku/addon/function/pikku-functions.gen.d.ts +2 -0
  59. package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
  60. package/dist/.pikku/addon/function/pikku-functions.gen.js +126 -0
  61. package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
  62. package/dist/.pikku/addon/http/index.d.ts +8 -0
  63. package/dist/.pikku/addon/http/index.d.ts.map +1 -0
  64. package/dist/.pikku/addon/http/index.js +8 -0
  65. package/dist/.pikku/addon/http/index.js.map +1 -0
  66. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +50 -0
  67. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -0
  68. package/dist/.pikku/addon/http/pikku-http-types.gen.js +11 -0
  69. package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -0
  70. package/dist/.pikku/addon/index.d.ts +8 -0
  71. package/dist/.pikku/addon/index.d.ts.map +1 -0
  72. package/dist/.pikku/addon/index.js +8 -0
  73. package/dist/.pikku/addon/index.js.map +1 -0
  74. package/dist/.pikku/addon/mcp/index.d.ts +8 -0
  75. package/dist/.pikku/addon/mcp/index.d.ts.map +1 -0
  76. package/dist/.pikku/addon/mcp/index.js +8 -0
  77. package/dist/.pikku/addon/mcp/index.js.map +1 -0
  78. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +102 -0
  79. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  80. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +16 -0
  81. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -0
  82. package/dist/.pikku/addon/middleware/index.d.ts +8 -0
  83. package/dist/.pikku/addon/middleware/index.d.ts.map +1 -0
  84. package/dist/.pikku/addon/middleware/index.js +8 -0
  85. package/dist/.pikku/addon/middleware/index.js.map +1 -0
  86. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +118 -0
  87. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
  88. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +109 -0
  89. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
  90. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +2 -2
  91. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
  92. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +10 -0
  93. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  94. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +10 -0
  95. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js.map +1 -0
  96. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +10 -0
  97. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts.map +1 -0
  98. package/dist/.pikku/addon/pikku-bootstrap.gen.js +10 -0
  99. package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
  100. package/dist/.pikku/addon/pikku-package.gen.js +3 -3
  101. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  102. package/dist/.pikku/addon/pikku-services.gen.d.ts +50 -0
  103. package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -0
  104. package/dist/.pikku/addon/pikku-services.gen.js +46 -0
  105. package/dist/.pikku/addon/pikku-services.gen.js.map +1 -0
  106. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +251 -0
  107. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +253 -0
  108. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +184 -0
  109. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  110. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  111. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  112. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  113. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.json +62 -0
  114. package/dist/.pikku/addon/scenarios/index.d.ts +8 -0
  115. package/dist/.pikku/addon/scenarios/index.d.ts.map +1 -0
  116. package/dist/.pikku/addon/scenarios/index.js +8 -0
  117. package/dist/.pikku/addon/scenarios/index.js.map +1 -0
  118. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts +18 -0
  119. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
  120. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +18 -0
  121. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
  122. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
  123. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  124. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
  125. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  126. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  127. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  128. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  129. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js +2 -0
  130. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  131. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +311 -0
  132. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
  133. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js +72 -0
  134. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
  135. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
  136. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  137. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
  138. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  139. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  140. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  141. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js +2 -0
  142. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  143. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +5 -0
  144. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts.map +1 -0
  145. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +5 -0
  146. package/dist/.pikku/addon/scenarios/schemas/register.gen.js.map +1 -0
  147. package/dist/.pikku/addon/schemas/register.gen.d.ts +2 -0
  148. package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
  149. package/dist/.pikku/addon/schemas/register.gen.js +201 -0
  150. package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
  151. package/dist/.pikku/addon/schemas/schemas/AddonMetaPage.schema.json +1 -0
  152. package/dist/.pikku/addon/schemas/schemas/AddonMetaQuery.schema.json +1 -0
  153. package/dist/.pikku/addon/schemas/schemas/AddonPackageInfo.schema.json +1 -0
  154. package/dist/.pikku/addon/schemas/schemas/AddonReadinessInput.schema.json +1 -0
  155. package/dist/.pikku/addon/schemas/schemas/AddonReadinessOutput.schema.json +1 -0
  156. package/dist/.pikku/addon/schemas/schemas/AgentCredentialCheckInput.schema.json +1 -0
  157. package/dist/.pikku/addon/schemas/schemas/AgentCredentialCheckOutput.schema.json +1 -0
  158. package/dist/.pikku/addon/schemas/schemas/AllMeta.schema.json +1 -0
  159. package/dist/.pikku/addon/schemas/schemas/AuthProvidersMeta.schema.json +1 -0
  160. package/dist/.pikku/addon/schemas/schemas/ChannelSnippets.schema.json +1 -0
  161. package/dist/.pikku/addon/schemas/schemas/DbSchema.schema.json +1 -0
  162. package/dist/.pikku/addon/schemas/schemas/DeleteAgentThreadInput.schema.json +1 -0
  163. package/dist/.pikku/addon/schemas/schemas/DeleteAgentThreadOutput.schema.json +1 -0
  164. package/dist/.pikku/addon/schemas/schemas/DeleteScenarioRunInput.schema.json +1 -0
  165. package/dist/.pikku/addon/schemas/schemas/DeleteWorkflowRunInput.schema.json +1 -0
  166. package/dist/.pikku/addon/schemas/schemas/DeleteWorkflowRunOutput.schema.json +1 -0
  167. package/dist/.pikku/addon/schemas/schemas/GetAddonCategoriesOutput.schema.json +1 -0
  168. package/dist/.pikku/addon/schemas/schemas/GetAddonCommunityPackageInput.schema.json +1 -0
  169. package/dist/.pikku/addon/schemas/schemas/GetAddonIconInput.schema.json +1 -0
  170. package/dist/.pikku/addon/schemas/schemas/GetAddonInstalledPackageInput.schema.json +1 -0
  171. package/dist/.pikku/addon/schemas/schemas/GetAddonInstancesInput.schema.json +1 -0
  172. package/dist/.pikku/addon/schemas/schemas/GetAddonInstancesOutput.schema.json +1 -0
  173. package/dist/.pikku/addon/schemas/schemas/GetAgentRunScoresInput.schema.json +1 -0
  174. package/dist/.pikku/addon/schemas/schemas/GetAgentRunScoresOutput.schema.json +1 -0
  175. package/dist/.pikku/addon/schemas/schemas/GetAgentThreadMessagesInput.schema.json +1 -0
  176. package/dist/.pikku/addon/schemas/schemas/GetAgentThreadMessagesOutput.schema.json +1 -0
  177. package/dist/.pikku/addon/schemas/schemas/GetAgentThreadRunsInput.schema.json +1 -0
  178. package/dist/.pikku/addon/schemas/schemas/GetAgentThreadRunsOutput.schema.json +1 -0
  179. package/dist/.pikku/addon/schemas/schemas/GetAgentThreadsInput.schema.json +1 -0
  180. package/dist/.pikku/addon/schemas/schemas/GetAgentThreadsOutput.schema.json +1 -0
  181. package/dist/.pikku/addon/schemas/schemas/GetChannelSnippetsInput.schema.json +1 -0
  182. package/dist/.pikku/addon/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -0
  183. package/dist/.pikku/addon/schemas/schemas/GetInstalledAddonsOutput.schema.json +1 -0
  184. package/dist/.pikku/addon/schemas/schemas/GetMyAccessOutput.schema.json +1 -0
  185. package/dist/.pikku/addon/schemas/schemas/GetOpenapiCategoriesOutput.schema.json +1 -0
  186. package/dist/.pikku/addon/schemas/schemas/GetOpenapiDetailInput.schema.json +1 -0
  187. package/dist/.pikku/addon/schemas/schemas/GetOpenapiDetailOutput.schema.json +1 -0
  188. package/dist/.pikku/addon/schemas/schemas/GetOpenapisInput.schema.json +1 -0
  189. package/dist/.pikku/addon/schemas/schemas/GetOpenapisOutput.schema.json +1 -0
  190. package/dist/.pikku/addon/schemas/schemas/GetScenarioArtifactInput.schema.json +1 -0
  191. package/dist/.pikku/addon/schemas/schemas/GetScenarioRunInput.schema.json +1 -0
  192. package/dist/.pikku/addon/schemas/schemas/GetSchemaInput.schema.json +1 -0
  193. package/dist/.pikku/addon/schemas/schemas/GetScorersOutput.schema.json +1 -0
  194. package/dist/.pikku/addon/schemas/schemas/GetStateDiffInput.schema.json +1 -0
  195. package/dist/.pikku/addon/schemas/schemas/GetWebhookDeliveryInput.schema.json +1 -0
  196. package/dist/.pikku/addon/schemas/schemas/GetWorkflowMetaByIdInput.schema.json +1 -0
  197. package/dist/.pikku/addon/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -0
  198. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunHistoryInput.schema.json +1 -0
  199. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunHistoryOutput.schema.json +1 -0
  200. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunInput.schema.json +1 -0
  201. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunNamesOutput.schema.json +1 -0
  202. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunOutput.schema.json +1 -0
  203. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunStepsInput.schema.json +1 -0
  204. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunStepsOutput.schema.json +1 -0
  205. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunsInput.schema.json +1 -0
  206. package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunsOutput.schema.json +1 -0
  207. package/dist/.pikku/addon/schemas/schemas/GetWorkflowVersionInput.schema.json +1 -0
  208. package/dist/.pikku/addon/schemas/schemas/GetWorkflowVersionOutput.schema.json +1 -0
  209. package/dist/.pikku/addon/schemas/schemas/InstallAddonInput.schema.json +1 -0
  210. package/dist/.pikku/addon/schemas/schemas/InstallAddonOutput.schema.json +1 -0
  211. package/dist/.pikku/addon/schemas/schemas/InstallOpenapiAddonInput.schema.json +1 -0
  212. package/dist/.pikku/addon/schemas/schemas/InstallOpenapiAddonOutput.schema.json +1 -0
  213. package/dist/.pikku/addon/schemas/schemas/JSONSchema7.schema.json +1 -0
  214. package/dist/.pikku/addon/schemas/schemas/KnowledgeBundle.schema.json +1 -0
  215. package/dist/.pikku/addon/schemas/schemas/ListScenarioRunsInput.schema.json +1 -0
  216. package/dist/.pikku/addon/schemas/schemas/ListScenarioRunsOutput.schema.json +1 -0
  217. package/dist/.pikku/addon/schemas/schemas/ListWebhookDeliveriesInput.schema.json +1 -0
  218. package/dist/.pikku/addon/schemas/schemas/ListWebhookDeliveriesOutput.schema.json +1 -0
  219. package/dist/.pikku/addon/schemas/schemas/PingOutput.schema.json +1 -0
  220. package/dist/.pikku/addon/schemas/schemas/ReadAgentSourceInput.schema.json +1 -0
  221. package/dist/.pikku/addon/schemas/schemas/ReadAgentSourceOutput.schema.json +1 -0
  222. package/dist/.pikku/addon/schemas/schemas/ReadFunctionBodyInput.schema.json +1 -0
  223. package/dist/.pikku/addon/schemas/schemas/ReadFunctionBodyOutput.schema.json +1 -0
  224. package/dist/.pikku/addon/schemas/schemas/ReadFunctionSourceInput.schema.json +1 -0
  225. package/dist/.pikku/addon/schemas/schemas/ReadFunctionSourceOutput.schema.json +1 -0
  226. package/dist/.pikku/addon/schemas/schemas/RenderEmailPreviewInput.schema.json +1 -0
  227. package/dist/.pikku/addon/schemas/schemas/RenderEmailPreviewOutput.schema.json +1 -0
  228. package/dist/.pikku/addon/schemas/schemas/ScenarioRunRecord.schema.json +1 -0
  229. package/dist/.pikku/addon/schemas/schemas/SecretGetInput.schema.json +1 -0
  230. package/dist/.pikku/addon/schemas/schemas/SecretGetOutput.schema.json +1 -0
  231. package/dist/.pikku/addon/schemas/schemas/SecretHasInput.schema.json +1 -0
  232. package/dist/.pikku/addon/schemas/schemas/SecretHasOutput.schema.json +1 -0
  233. package/dist/.pikku/addon/schemas/schemas/SecretSetInput.schema.json +1 -0
  234. package/dist/.pikku/addon/schemas/schemas/SecretSetOutput.schema.json +1 -0
  235. package/dist/.pikku/addon/schemas/schemas/SecurityAuditReport.schema.json +1 -0
  236. package/dist/.pikku/addon/schemas/schemas/StateDiff.schema.json +1 -0
  237. package/dist/.pikku/addon/schemas/schemas/StreamWorkflowRunInput.schema.json +1 -0
  238. package/dist/.pikku/addon/schemas/schemas/SurfaceResult.schema.json +1 -0
  239. package/dist/.pikku/addon/schemas/schemas/UpdateAgentConfigInput.schema.json +1 -0
  240. package/dist/.pikku/addon/schemas/schemas/UpdateAgentConfigOutput.schema.json +1 -0
  241. package/dist/.pikku/addon/schemas/schemas/UpdateDependencyInput.schema.json +1 -0
  242. package/dist/.pikku/addon/schemas/schemas/UpdateEmailTemplateInput.schema.json +1 -0
  243. package/dist/.pikku/addon/schemas/schemas/UpdateEmailTemplateOutput.schema.json +1 -0
  244. package/dist/.pikku/addon/schemas/schemas/UpdateFunctionBodyInput.schema.json +1 -0
  245. package/dist/.pikku/addon/schemas/schemas/UpdateFunctionBodyOutput.schema.json +1 -0
  246. package/dist/.pikku/addon/schemas/schemas/UpdateFunctionConfigInput.schema.json +1 -0
  247. package/dist/.pikku/addon/schemas/schemas/UpdateFunctionConfigOutput.schema.json +1 -0
  248. package/dist/.pikku/addon/schemas/schemas/WebhookDeliveryWithAttempts.schema.json +1 -0
  249. package/dist/.pikku/addon/scopes/index.d.ts +8 -0
  250. package/dist/.pikku/addon/scopes/index.d.ts.map +1 -0
  251. package/dist/.pikku/addon/scopes/index.js +8 -0
  252. package/dist/.pikku/addon/scopes/index.js.map +1 -0
  253. package/dist/.pikku/addon/scopes/pikku-personas-meta.gen.json +1 -0
  254. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts +29 -0
  255. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +1 -0
  256. package/dist/.pikku/addon/scopes/pikku-personas.gen.js +18 -0
  257. package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +1 -0
  258. package/dist/.pikku/addon/scopes/pikku-roles-meta.gen.json +1 -0
  259. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +31 -0
  260. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
  261. package/dist/.pikku/addon/scopes/pikku-roles.gen.js +19 -0
  262. package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
  263. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +6 -0
  264. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  265. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +6 -0
  266. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
  267. package/dist/.pikku/addon/scopes/pikku-scopes-meta.gen.json +144 -0
  268. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +36 -0
  269. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
  270. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js +30 -0
  271. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
  272. package/dist/.pikku/addon/secrets/index.d.ts +9 -0
  273. package/dist/.pikku/addon/secrets/index.d.ts.map +1 -0
  274. package/dist/.pikku/addon/secrets/index.js +9 -0
  275. package/dist/.pikku/addon/secrets/index.js.map +1 -0
  276. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +5 -0
  277. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  278. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +5 -0
  279. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js.map +1 -0
  280. package/dist/.pikku/addon/secrets/pikku-secrets-meta.gen.json +1 -0
  281. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +18 -0
  282. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
  283. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +19 -0
  284. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
  285. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +8 -0
  286. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -0
  287. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +10 -0
  288. package/dist/.pikku/addon/services/pikku-meta-service.gen.js.map +1 -0
  289. package/dist/.pikku/addon/setup/index.d.ts +9 -0
  290. package/dist/.pikku/addon/setup/index.d.ts.map +1 -0
  291. package/dist/.pikku/addon/setup/index.js +9 -0
  292. package/dist/.pikku/addon/setup/index.js.map +1 -0
  293. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +66 -0
  294. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -0
  295. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +78 -0
  296. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
  297. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +67 -0
  298. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -0
  299. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +88 -0
  300. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
  301. package/dist/.pikku/addon/trigger/index.d.ts +8 -0
  302. package/dist/.pikku/addon/trigger/index.d.ts.map +1 -0
  303. package/dist/.pikku/addon/trigger/index.js +8 -0
  304. package/dist/.pikku/addon/trigger/index.js.map +1 -0
  305. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +83 -0
  306. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  307. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +13 -0
  308. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -0
  309. package/dist/.pikku/addon/variables/index.d.ts +9 -0
  310. package/dist/.pikku/addon/variables/index.d.ts.map +1 -0
  311. package/dist/.pikku/addon/variables/index.js +9 -0
  312. package/dist/.pikku/addon/variables/index.js.map +1 -0
  313. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +5 -0
  314. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts.map +1 -0
  315. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +5 -0
  316. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js.map +1 -0
  317. package/dist/.pikku/addon/variables/pikku-variables-meta.gen.json +1 -0
  318. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +19 -0
  319. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
  320. package/dist/.pikku/addon/variables/pikku-variables.gen.js +19 -0
  321. package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
  322. package/dist/.pikku/addon/workflow/index.d.ts +8 -0
  323. package/dist/.pikku/addon/workflow/index.d.ts.map +1 -0
  324. package/dist/.pikku/addon/workflow/index.js +8 -0
  325. package/dist/.pikku/addon/workflow/index.js.map +1 -0
  326. package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  327. package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +38 -0
  328. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +106 -0
  329. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  330. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +16 -0
  331. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
  332. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  333. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  334. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  335. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  336. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  337. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  338. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +5 -0
  339. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  340. package/dist/.pikku/agent/index.d.ts +8 -0
  341. package/dist/.pikku/agent/index.d.ts.map +1 -0
  342. package/dist/.pikku/agent/index.js +8 -0
  343. package/dist/.pikku/agent/index.js.map +1 -0
  344. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +8 -7
  345. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  346. package/dist/.pikku/agent/pikku-agent-types.gen.js +2 -3
  347. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  348. package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
  349. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +1 -1
  350. package/dist/.pikku/auth/index.d.ts +9 -0
  351. package/dist/.pikku/auth/index.d.ts.map +1 -0
  352. package/dist/.pikku/auth/index.js +9 -0
  353. package/dist/.pikku/auth/index.js.map +1 -0
  354. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +119 -0
  355. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts.map +1 -0
  356. package/dist/.pikku/auth/pikku-auth-types.gen.js +93 -0
  357. package/dist/.pikku/auth/pikku-auth-types.gen.js.map +1 -0
  358. package/dist/.pikku/channel/index.d.ts +8 -0
  359. package/dist/.pikku/channel/index.d.ts.map +1 -0
  360. package/dist/.pikku/channel/index.js +8 -0
  361. package/dist/.pikku/channel/index.js.map +1 -0
  362. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +4 -25
  363. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -1
  364. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -19
  365. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -1
  366. package/dist/.pikku/credentials/index.d.ts +8 -0
  367. package/dist/.pikku/credentials/index.d.ts.map +1 -0
  368. package/dist/.pikku/credentials/index.js +8 -0
  369. package/dist/.pikku/credentials/index.js.map +1 -0
  370. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts +5 -0
  371. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts.map +1 -0
  372. package/dist/.pikku/credentials/pikku-credential-types.gen.js +5 -0
  373. package/dist/.pikku/credentials/pikku-credential-types.gen.js.map +1 -0
  374. package/dist/.pikku/error/index.d.ts +8 -0
  375. package/dist/.pikku/error/index.d.ts.map +1 -0
  376. package/dist/.pikku/error/index.js +8 -0
  377. package/dist/.pikku/error/index.js.map +1 -0
  378. package/dist/.pikku/error/pikku-error-types.gen.d.ts +8 -0
  379. package/dist/.pikku/error/pikku-error-types.gen.d.ts.map +1 -0
  380. package/dist/.pikku/error/pikku-error-types.gen.js +8 -0
  381. package/dist/.pikku/error/pikku-error-types.gen.js.map +1 -0
  382. package/dist/.pikku/function/index.d.ts +8 -0
  383. package/dist/.pikku/function/index.d.ts.map +1 -0
  384. package/dist/.pikku/function/index.js +8 -0
  385. package/dist/.pikku/function/index.js.map +1 -0
  386. package/dist/.pikku/function/pikku-function-types.gen.d.ts +28 -262
  387. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  388. package/dist/.pikku/function/pikku-function-types.gen.js +1 -236
  389. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  390. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +201 -680
  391. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  392. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -1
  393. package/dist/.pikku/function/pikku-functions-meta.gen.json +159 -535
  394. package/dist/.pikku/function/pikku-functions.gen.js +10 -36
  395. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  396. package/dist/.pikku/gateway/index.d.ts +8 -0
  397. package/dist/.pikku/gateway/index.d.ts.map +1 -0
  398. package/dist/.pikku/gateway/index.js +8 -0
  399. package/dist/.pikku/gateway/index.js.map +1 -0
  400. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +38 -0
  401. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts.map +1 -0
  402. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +26 -0
  403. package/dist/.pikku/gateway/pikku-gateway-types.gen.js.map +1 -0
  404. package/dist/.pikku/http/index.d.ts +8 -0
  405. package/dist/.pikku/http/index.d.ts.map +1 -0
  406. package/dist/.pikku/http/index.js +8 -0
  407. package/dist/.pikku/http/index.js.map +1 -0
  408. package/dist/.pikku/http/pikku-http-types.gen.d.ts +3 -51
  409. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
  410. package/dist/.pikku/http/pikku-http-types.gen.js +1 -40
  411. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
  412. package/dist/.pikku/mcp/index.d.ts +8 -0
  413. package/dist/.pikku/mcp/index.d.ts.map +1 -0
  414. package/dist/.pikku/mcp/index.js +8 -0
  415. package/dist/.pikku/mcp/index.js.map +1 -0
  416. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +5 -35
  417. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -1
  418. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -22
  419. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -1
  420. package/dist/.pikku/middleware/index.d.ts +8 -0
  421. package/dist/.pikku/middleware/index.d.ts.map +1 -0
  422. package/dist/.pikku/middleware/index.js +8 -0
  423. package/dist/.pikku/middleware/index.js.map +1 -0
  424. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +118 -0
  425. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
  426. package/dist/.pikku/middleware/pikku-middleware-types.gen.js +109 -0
  427. package/dist/.pikku/middleware/pikku-middleware-types.gen.js.map +1 -0
  428. package/dist/.pikku/pikku-services.gen.d.ts +6 -5
  429. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  430. package/dist/.pikku/pikku-services.gen.js +5 -4
  431. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  432. package/dist/.pikku/pikku-types.gen.d.ts +0 -1
  433. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  434. package/dist/.pikku/pikku-types.gen.js +0 -2
  435. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  436. package/dist/.pikku/queue/index.d.ts +8 -0
  437. package/dist/.pikku/queue/index.d.ts.map +1 -0
  438. package/dist/.pikku/queue/index.js +8 -0
  439. package/dist/.pikku/queue/index.js.map +1 -0
  440. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  441. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -1
  442. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +16 -55
  443. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +17 -55
  444. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +11 -35
  445. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  446. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -1
  447. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +5 -18
  448. package/dist/.pikku/scenarios/index.d.ts +8 -0
  449. package/dist/.pikku/scenarios/index.d.ts.map +1 -0
  450. package/dist/.pikku/scenarios/index.js +8 -0
  451. package/dist/.pikku/scenarios/index.js.map +1 -0
  452. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts +18 -0
  453. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts.map +1 -0
  454. package/dist/.pikku/scenarios/pikku-personas.gen.js +18 -0
  455. package/dist/.pikku/scenarios/pikku-personas.gen.js.map +1 -0
  456. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  457. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -1
  458. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +311 -0
  459. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
  460. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js +72 -0
  461. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js.map +1 -0
  462. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  463. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -1
  464. package/dist/.pikku/scheduler/index.d.ts +8 -0
  465. package/dist/.pikku/scheduler/index.d.ts.map +1 -0
  466. package/dist/.pikku/scheduler/index.js +8 -0
  467. package/dist/.pikku/scheduler/index.js.map +1 -0
  468. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  469. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -1
  470. package/dist/.pikku/schemas/register.gen.js +15 -65
  471. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  472. package/dist/.pikku/schemas/schemas/AddonMetaPage.schema.json +1 -1
  473. package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
  474. package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
  475. package/dist/.pikku/schemas/schemas/DeleteScenarioRunInput.schema.json +1 -0
  476. package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
  477. package/dist/.pikku/schemas/schemas/GetScenarioArtifactInput.schema.json +1 -0
  478. package/dist/.pikku/schemas/schemas/GetScenarioRunInput.schema.json +1 -0
  479. package/dist/.pikku/schemas/schemas/ListScenarioRunsInput.schema.json +1 -0
  480. package/dist/.pikku/schemas/schemas/ListScenarioRunsOutput.schema.json +1 -0
  481. package/dist/.pikku/schemas/schemas/ScenarioRunRecord.schema.json +1 -0
  482. package/dist/.pikku/schemas/schemas/SurfaceResult.schema.json +1 -0
  483. package/dist/.pikku/scopes/index.d.ts +8 -0
  484. package/dist/.pikku/scopes/index.d.ts.map +1 -0
  485. package/dist/.pikku/scopes/index.js +8 -0
  486. package/dist/.pikku/scopes/index.js.map +1 -0
  487. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +4 -13
  488. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -1
  489. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -1
  490. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  491. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -1
  492. package/dist/.pikku/scopes/pikku-roles.gen.js +1 -1
  493. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -1
  494. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +2 -4
  495. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -1
  496. package/dist/.pikku/scopes/pikku-scope-types.gen.js +2 -2
  497. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -1
  498. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +13 -66
  499. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +2 -2
  500. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -1
  501. package/dist/.pikku/scopes/pikku-scopes.gen.js +1 -2
  502. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -1
  503. package/dist/.pikku/secrets/index.d.ts +9 -0
  504. package/dist/.pikku/secrets/index.d.ts.map +1 -0
  505. package/dist/.pikku/secrets/index.js +9 -0
  506. package/dist/.pikku/secrets/index.js.map +1 -0
  507. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -2
  508. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  509. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +7 -11
  510. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  511. package/dist/.pikku/secrets/pikku-secrets.gen.js +6 -8
  512. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  513. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +8 -0
  514. package/dist/.pikku/services/pikku-meta-service.gen.d.ts.map +1 -0
  515. package/dist/.pikku/services/pikku-meta-service.gen.js +10 -0
  516. package/dist/.pikku/services/pikku-meta-service.gen.js.map +1 -0
  517. package/dist/.pikku/setup/index.d.ts +8 -0
  518. package/dist/.pikku/setup/index.d.ts.map +1 -0
  519. package/dist/.pikku/setup/index.js +8 -0
  520. package/dist/.pikku/setup/index.js.map +1 -0
  521. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +67 -0
  522. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts.map +1 -0
  523. package/dist/.pikku/setup/pikku-setup-types.gen.js +88 -0
  524. package/dist/.pikku/setup/pikku-setup-types.gen.js.map +1 -0
  525. package/dist/.pikku/trigger/index.d.ts +8 -0
  526. package/dist/.pikku/trigger/index.d.ts.map +1 -0
  527. package/dist/.pikku/trigger/index.js +8 -0
  528. package/dist/.pikku/trigger/index.js.map +1 -0
  529. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +5 -36
  530. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
  531. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -21
  532. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -1
  533. package/dist/.pikku/variables/index.d.ts +9 -0
  534. package/dist/.pikku/variables/index.d.ts.map +1 -0
  535. package/dist/.pikku/variables/index.js +9 -0
  536. package/dist/.pikku/variables/index.js.map +1 -0
  537. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -1
  538. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  539. package/dist/.pikku/variables/pikku-variables.gen.d.ts +7 -10
  540. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  541. package/dist/.pikku/variables/pikku-variables.gen.js +7 -9
  542. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  543. package/dist/.pikku/workflow/index.d.ts +8 -0
  544. package/dist/.pikku/workflow/index.d.ts.map +1 -0
  545. package/dist/.pikku/workflow/index.js +8 -0
  546. package/dist/.pikku/workflow/index.js.map +1 -0
  547. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +14 -262
  548. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  549. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +0 -63
  550. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  551. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  552. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  553. package/dist/src/functions/addon-readiness.function.d.ts +4 -4
  554. package/dist/src/functions/addon-readiness.function.d.ts.map +1 -1
  555. package/dist/src/functions/addon-readiness.function.js +2 -2
  556. package/dist/src/functions/addon-readiness.function.js.map +1 -1
  557. package/dist/src/functions/agent-credential-check.function.d.ts +4 -4
  558. package/dist/src/functions/agent-credential-check.function.d.ts.map +1 -1
  559. package/dist/src/functions/agent-credential-check.function.js +2 -2
  560. package/dist/src/functions/agent-credential-check.function.js.map +1 -1
  561. package/dist/src/functions/credential-delete.function.d.ts +4 -4
  562. package/dist/src/functions/credential-delete.function.d.ts.map +1 -1
  563. package/dist/src/functions/credential-delete.function.js +1 -1
  564. package/dist/src/functions/credential-delete.function.js.map +1 -1
  565. package/dist/src/functions/credential-get.function.d.ts +4 -4
  566. package/dist/src/functions/credential-get.function.d.ts.map +1 -1
  567. package/dist/src/functions/credential-get.function.js +1 -1
  568. package/dist/src/functions/credential-get.function.js.map +1 -1
  569. package/dist/src/functions/credential-list-users.function.d.ts +4 -4
  570. package/dist/src/functions/credential-list-users.function.d.ts.map +1 -1
  571. package/dist/src/functions/credential-list-users.function.js +1 -1
  572. package/dist/src/functions/credential-list-users.function.js.map +1 -1
  573. package/dist/src/functions/credential-set.function.d.ts +4 -4
  574. package/dist/src/functions/credential-set.function.d.ts.map +1 -1
  575. package/dist/src/functions/credential-set.function.js +1 -1
  576. package/dist/src/functions/credential-set.function.js.map +1 -1
  577. package/dist/src/functions/credential-status.function.d.ts +4 -4
  578. package/dist/src/functions/credential-status.function.d.ts.map +1 -1
  579. package/dist/src/functions/credential-status.function.js +1 -1
  580. package/dist/src/functions/credential-status.function.js.map +1 -1
  581. package/dist/src/functions/credential-users.function.d.ts +4 -4
  582. package/dist/src/functions/credential-users.function.d.ts.map +1 -1
  583. package/dist/src/functions/credential-users.function.js +1 -1
  584. package/dist/src/functions/credential-users.function.js.map +1 -1
  585. package/dist/src/functions/delete-agent-thread.function.d.ts +4 -4
  586. package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -1
  587. package/dist/src/functions/delete-agent-thread.function.js +1 -1
  588. package/dist/src/functions/delete-agent-thread.function.js.map +1 -1
  589. package/dist/src/functions/delete-scenario-run.function.d.ts +8 -0
  590. package/dist/src/functions/delete-scenario-run.function.d.ts.map +1 -0
  591. package/dist/src/functions/delete-scenario-run.function.js +11 -0
  592. package/dist/src/functions/delete-scenario-run.function.js.map +1 -0
  593. package/dist/src/functions/delete-workflow-run.function.d.ts +4 -4
  594. package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -1
  595. package/dist/src/functions/delete-workflow-run.function.js +1 -1
  596. package/dist/src/functions/delete-workflow-run.function.js.map +1 -1
  597. package/dist/src/functions/get-addon-categories.function.d.ts +1 -1
  598. package/dist/src/functions/get-addon-categories.function.d.ts.map +1 -1
  599. package/dist/src/functions/get-addon-categories.function.js +1 -1
  600. package/dist/src/functions/get-addon-categories.function.js.map +1 -1
  601. package/dist/src/functions/get-addon-icon.function.d.ts +4 -4
  602. package/dist/src/functions/get-addon-icon.function.d.ts.map +1 -1
  603. package/dist/src/functions/get-addon-icon.function.js +1 -1
  604. package/dist/src/functions/get-addon-icon.function.js.map +1 -1
  605. package/dist/src/functions/get-addon-instances.function.d.ts +4 -4
  606. package/dist/src/functions/get-addon-instances.function.d.ts.map +1 -1
  607. package/dist/src/functions/get-addon-instances.function.js +2 -2
  608. package/dist/src/functions/get-addon-instances.function.js.map +1 -1
  609. package/dist/src/functions/get-addon-meta.function.d.ts +1 -1
  610. package/dist/src/functions/get-addon-meta.function.d.ts.map +1 -1
  611. package/dist/src/functions/get-addon-meta.function.js +1 -1
  612. package/dist/src/functions/get-addon-meta.function.js.map +1 -1
  613. package/dist/src/functions/get-addon-package.function.d.ts +4 -4
  614. package/dist/src/functions/get-addon-package.function.d.ts.map +1 -1
  615. package/dist/src/functions/get-addon-package.function.js +1 -1
  616. package/dist/src/functions/get-addon-package.function.js.map +1 -1
  617. package/dist/src/functions/get-agent-run-scores.function.d.ts +4 -4
  618. package/dist/src/functions/get-agent-run-scores.function.d.ts.map +1 -1
  619. package/dist/src/functions/get-agent-run-scores.function.js +4 -3
  620. package/dist/src/functions/get-agent-run-scores.function.js.map +1 -1
  621. package/dist/src/functions/get-agent-thread-messages.function.d.ts +4 -4
  622. package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -1
  623. package/dist/src/functions/get-agent-thread-messages.function.js +1 -1
  624. package/dist/src/functions/get-agent-thread-messages.function.js.map +1 -1
  625. package/dist/src/functions/get-agent-thread-runs.function.d.ts +4 -4
  626. package/dist/src/functions/get-agent-thread-runs.function.d.ts.map +1 -1
  627. package/dist/src/functions/get-agent-thread-runs.function.js +3 -3
  628. package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -1
  629. package/dist/src/functions/get-agent-threads.function.d.ts +4 -4
  630. package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
  631. package/dist/src/functions/get-agent-threads.function.js +3 -3
  632. package/dist/src/functions/get-agent-threads.function.js.map +1 -1
  633. package/dist/src/functions/get-agent-threads.function.test.js +1 -1
  634. package/dist/src/functions/get-agent-threads.function.test.js.map +1 -1
  635. package/dist/src/functions/get-all-meta.function.d.ts +1 -1
  636. package/dist/src/functions/get-all-meta.function.d.ts.map +1 -1
  637. package/dist/src/functions/get-all-meta.function.js +1 -1
  638. package/dist/src/functions/get-all-meta.function.js.map +1 -1
  639. package/dist/src/functions/get-audit-filters.function.d.ts +1 -1
  640. package/dist/src/functions/get-audit-filters.function.d.ts.map +1 -1
  641. package/dist/src/functions/get-audit-filters.function.js +1 -1
  642. package/dist/src/functions/get-audit-filters.function.js.map +1 -1
  643. package/dist/src/functions/get-audits.function.d.ts +2 -2
  644. package/dist/src/functions/get-audits.function.d.ts.map +1 -1
  645. package/dist/src/functions/get-audits.function.js +1 -1
  646. package/dist/src/functions/get-audits.function.js.map +1 -1
  647. package/dist/src/functions/get-auth-providers.function.d.ts +1 -1
  648. package/dist/src/functions/get-auth-providers.function.d.ts.map +1 -1
  649. package/dist/src/functions/get-auth-providers.function.js +1 -1
  650. package/dist/src/functions/get-auth-providers.function.js.map +1 -1
  651. package/dist/src/functions/get-channel-snippets.function.d.ts +4 -4
  652. package/dist/src/functions/get-channel-snippets.function.d.ts.map +1 -1
  653. package/dist/src/functions/get-channel-snippets.function.js +1 -1
  654. package/dist/src/functions/get-channel-snippets.function.js.map +1 -1
  655. package/dist/src/functions/get-db-schema.function.d.ts +1 -1
  656. package/dist/src/functions/get-db-schema.function.d.ts.map +1 -1
  657. package/dist/src/functions/get-db-schema.function.js +2 -2
  658. package/dist/src/functions/get-db-schema.function.js.map +1 -1
  659. package/dist/src/functions/get-functions-meta.function.d.ts +1 -1
  660. package/dist/src/functions/get-functions-meta.function.d.ts.map +1 -1
  661. package/dist/src/functions/get-functions-meta.function.js +1 -1
  662. package/dist/src/functions/get-functions-meta.function.js.map +1 -1
  663. package/dist/src/functions/get-installed-addons.function.d.ts +1 -1
  664. package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -1
  665. package/dist/src/functions/get-installed-addons.function.js +2 -2
  666. package/dist/src/functions/get-installed-addons.function.js.map +1 -1
  667. package/dist/src/functions/get-installed-package.function.d.ts +4 -4
  668. package/dist/src/functions/get-installed-package.function.d.ts.map +1 -1
  669. package/dist/src/functions/get-installed-package.function.js +11 -4
  670. package/dist/src/functions/get-installed-package.function.js.map +1 -1
  671. package/dist/src/functions/get-installed-package.function.test.d.ts +2 -0
  672. package/dist/src/functions/get-installed-package.function.test.d.ts.map +1 -0
  673. package/dist/src/functions/get-installed-package.function.test.js +35 -0
  674. package/dist/src/functions/get-installed-package.function.test.js.map +1 -0
  675. package/dist/src/functions/get-knowledge.function.d.ts +1 -1
  676. package/dist/src/functions/get-knowledge.function.d.ts.map +1 -1
  677. package/dist/src/functions/get-knowledge.function.js +2 -2
  678. package/dist/src/functions/get-knowledge.function.js.map +1 -1
  679. package/dist/src/functions/get-knowledge.function.test.js +1 -1
  680. package/dist/src/functions/get-my-access.function.d.ts +4 -4
  681. package/dist/src/functions/get-my-access.function.d.ts.map +1 -1
  682. package/dist/src/functions/get-my-access.function.js +1 -1
  683. package/dist/src/functions/get-my-access.function.js.map +1 -1
  684. package/dist/src/functions/get-openapi-categories.function.d.ts +1 -1
  685. package/dist/src/functions/get-openapi-categories.function.d.ts.map +1 -1
  686. package/dist/src/functions/get-openapi-categories.function.js +1 -1
  687. package/dist/src/functions/get-openapi-categories.function.js.map +1 -1
  688. package/dist/src/functions/get-openapi-detail.function.d.ts +4 -4
  689. package/dist/src/functions/get-openapi-detail.function.d.ts.map +1 -1
  690. package/dist/src/functions/get-openapi-detail.function.js +1 -1
  691. package/dist/src/functions/get-openapi-detail.function.js.map +1 -1
  692. package/dist/src/functions/get-openapis.function.d.ts +4 -4
  693. package/dist/src/functions/get-openapis.function.d.ts.map +1 -1
  694. package/dist/src/functions/get-openapis.function.js +1 -1
  695. package/dist/src/functions/get-openapis.function.js.map +1 -1
  696. package/dist/src/functions/get-scenario-artifact.function.d.ts +19 -0
  697. package/dist/src/functions/get-scenario-artifact.function.d.ts.map +1 -0
  698. package/dist/src/functions/get-scenario-artifact.function.js +30 -0
  699. package/dist/src/functions/get-scenario-artifact.function.js.map +1 -0
  700. package/dist/src/functions/get-scenario-run.function.d.ts +9 -0
  701. package/dist/src/functions/get-scenario-run.function.d.ts.map +1 -0
  702. package/dist/src/functions/get-scenario-run.function.js +14 -0
  703. package/dist/src/functions/get-scenario-run.function.js.map +1 -0
  704. package/dist/src/functions/get-schema.function.d.ts +4 -4
  705. package/dist/src/functions/get-schema.function.d.ts.map +1 -1
  706. package/dist/src/functions/get-schema.function.js +1 -1
  707. package/dist/src/functions/get-schema.function.js.map +1 -1
  708. package/dist/src/functions/get-scorers.function.d.ts +1 -1
  709. package/dist/src/functions/get-scorers.function.d.ts.map +1 -1
  710. package/dist/src/functions/get-scorers.function.js +2 -2
  711. package/dist/src/functions/get-scorers.function.js.map +1 -1
  712. package/dist/src/functions/get-security-audit.function.d.ts +2 -2
  713. package/dist/src/functions/get-security-audit.function.d.ts.map +1 -1
  714. package/dist/src/functions/get-security-audit.function.js +1 -1
  715. package/dist/src/functions/get-security-audit.function.js.map +1 -1
  716. package/dist/src/functions/get-state-diff.function.d.ts +4 -4
  717. package/dist/src/functions/get-state-diff.function.d.ts.map +1 -1
  718. package/dist/src/functions/get-state-diff.function.js +1 -1
  719. package/dist/src/functions/get-state-diff.function.js.map +1 -1
  720. package/dist/src/functions/get-surface.function.d.ts +3 -0
  721. package/dist/src/functions/get-surface.function.d.ts.map +1 -0
  722. package/dist/src/functions/get-surface.function.js +10 -0
  723. package/dist/src/functions/get-surface.function.js.map +1 -0
  724. package/dist/src/functions/get-webhook-delivery.function.d.ts +5 -5
  725. package/dist/src/functions/get-webhook-delivery.function.d.ts.map +1 -1
  726. package/dist/src/functions/get-webhook-delivery.function.js +1 -1
  727. package/dist/src/functions/get-webhook-delivery.function.js.map +1 -1
  728. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts +13 -13
  729. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts.map +1 -1
  730. package/dist/src/functions/get-workflow-meta-by-id.function.js +1 -1
  731. package/dist/src/functions/get-workflow-meta-by-id.function.js.map +1 -1
  732. package/dist/src/functions/get-workflow-run-history.function.d.ts +4 -4
  733. package/dist/src/functions/get-workflow-run-history.function.d.ts.map +1 -1
  734. package/dist/src/functions/get-workflow-run-history.function.js +1 -1
  735. package/dist/src/functions/get-workflow-run-history.function.js.map +1 -1
  736. package/dist/src/functions/get-workflow-run-names.function.d.ts +1 -1
  737. package/dist/src/functions/get-workflow-run-names.function.d.ts.map +1 -1
  738. package/dist/src/functions/get-workflow-run-names.function.js +1 -1
  739. package/dist/src/functions/get-workflow-run-names.function.js.map +1 -1
  740. package/dist/src/functions/get-workflow-run-steps.function.d.ts +4 -4
  741. package/dist/src/functions/get-workflow-run-steps.function.d.ts.map +1 -1
  742. package/dist/src/functions/get-workflow-run-steps.function.js +1 -1
  743. package/dist/src/functions/get-workflow-run-steps.function.js.map +1 -1
  744. package/dist/src/functions/get-workflow-run.function.d.ts +4 -4
  745. package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -1
  746. package/dist/src/functions/get-workflow-run.function.js +1 -1
  747. package/dist/src/functions/get-workflow-run.function.js.map +1 -1
  748. package/dist/src/functions/get-workflow-runs.function.d.ts +4 -4
  749. package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -1
  750. package/dist/src/functions/get-workflow-runs.function.js +1 -1
  751. package/dist/src/functions/get-workflow-runs.function.js.map +1 -1
  752. package/dist/src/functions/get-workflow-version.function.d.ts +4 -4
  753. package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -1
  754. package/dist/src/functions/get-workflow-version.function.js +1 -1
  755. package/dist/src/functions/get-workflow-version.function.js.map +1 -1
  756. package/dist/src/functions/install-addon.function.d.ts +4 -4
  757. package/dist/src/functions/install-addon.function.d.ts.map +1 -1
  758. package/dist/src/functions/install-addon.function.js +4 -4
  759. package/dist/src/functions/install-addon.function.js.map +1 -1
  760. package/dist/src/functions/install-addon.function.test.js +4 -4
  761. package/dist/src/functions/install-addon.function.test.js.map +1 -1
  762. package/dist/src/functions/install-openapi-addon.function.d.ts +4 -4
  763. package/dist/src/functions/install-openapi-addon.function.d.ts.map +1 -1
  764. package/dist/src/functions/install-openapi-addon.function.js +3 -3
  765. package/dist/src/functions/install-openapi-addon.function.js.map +1 -1
  766. package/dist/src/functions/list-scenario-runs.function.d.ts +9 -0
  767. package/dist/src/functions/list-scenario-runs.function.d.ts.map +1 -0
  768. package/dist/src/functions/list-scenario-runs.function.js +14 -0
  769. package/dist/src/functions/list-scenario-runs.function.js.map +1 -0
  770. package/dist/src/functions/list-webhook-deliveries.function.d.ts +5 -5
  771. package/dist/src/functions/list-webhook-deliveries.function.d.ts.map +1 -1
  772. package/dist/src/functions/list-webhook-deliveries.function.js +1 -1
  773. package/dist/src/functions/list-webhook-deliveries.function.js.map +1 -1
  774. package/dist/src/functions/ping.function.d.ts +4 -4
  775. package/dist/src/functions/ping.function.d.ts.map +1 -1
  776. package/dist/src/functions/ping.function.js +1 -1
  777. package/dist/src/functions/ping.function.js.map +1 -1
  778. package/dist/src/functions/read-agent-source.function.d.ts +4 -4
  779. package/dist/src/functions/read-agent-source.function.d.ts.map +1 -1
  780. package/dist/src/functions/read-agent-source.function.js +2 -2
  781. package/dist/src/functions/read-agent-source.function.js.map +1 -1
  782. package/dist/src/functions/read-function-body.function.d.ts +4 -4
  783. package/dist/src/functions/read-function-body.function.d.ts.map +1 -1
  784. package/dist/src/functions/read-function-body.function.js +2 -2
  785. package/dist/src/functions/read-function-body.function.js.map +1 -1
  786. package/dist/src/functions/read-function-source.function.d.ts +4 -4
  787. package/dist/src/functions/read-function-source.function.d.ts.map +1 -1
  788. package/dist/src/functions/read-function-source.function.js +2 -2
  789. package/dist/src/functions/read-function-source.function.js.map +1 -1
  790. package/dist/src/functions/render-email-preview.function.d.ts +1 -1
  791. package/dist/src/functions/render-email-preview.function.d.ts.map +1 -1
  792. package/dist/src/functions/render-email-preview.function.js +8 -19
  793. package/dist/src/functions/render-email-preview.function.js.map +1 -1
  794. package/dist/src/functions/render-email-preview.function.test.js +1 -1
  795. package/dist/src/functions/render-email-preview.function.test.js.map +1 -1
  796. package/dist/src/functions/render-email-template.utils.d.ts +8 -3
  797. package/dist/src/functions/render-email-template.utils.d.ts.map +1 -1
  798. package/dist/src/functions/render-email-template.utils.js +71 -17
  799. package/dist/src/functions/render-email-template.utils.js.map +1 -1
  800. package/dist/src/functions/render-email-template.utils.test.js +56 -23
  801. package/dist/src/functions/render-email-template.utils.test.js.map +1 -1
  802. package/dist/src/functions/run-security-audit.function.d.ts +2 -2
  803. package/dist/src/functions/run-security-audit.function.d.ts.map +1 -1
  804. package/dist/src/functions/run-security-audit.function.js +1 -1
  805. package/dist/src/functions/run-security-audit.function.js.map +1 -1
  806. package/dist/src/functions/run-security-audit.function.test.d.ts +2 -0
  807. package/dist/src/functions/run-security-audit.function.test.d.ts.map +1 -0
  808. package/dist/src/functions/run-security-audit.function.test.js +98 -0
  809. package/dist/src/functions/run-security-audit.function.test.js.map +1 -0
  810. package/dist/src/functions/scope-add-scope-to-user.function.d.ts +4 -4
  811. package/dist/src/functions/scope-add-scope-to-user.function.d.ts.map +1 -1
  812. package/dist/src/functions/scope-add-scope-to-user.function.js +1 -1
  813. package/dist/src/functions/scope-add-scope-to-user.function.js.map +1 -1
  814. package/dist/src/functions/scope-add-user-to-role.function.d.ts +4 -4
  815. package/dist/src/functions/scope-add-user-to-role.function.d.ts.map +1 -1
  816. package/dist/src/functions/scope-add-user-to-role.function.js +1 -1
  817. package/dist/src/functions/scope-add-user-to-role.function.js.map +1 -1
  818. package/dist/src/functions/scope-create-role.function.d.ts +4 -4
  819. package/dist/src/functions/scope-create-role.function.d.ts.map +1 -1
  820. package/dist/src/functions/scope-create-role.function.js +1 -1
  821. package/dist/src/functions/scope-create-role.function.js.map +1 -1
  822. package/dist/src/functions/scope-delete-role.function.d.ts +4 -4
  823. package/dist/src/functions/scope-delete-role.function.d.ts.map +1 -1
  824. package/dist/src/functions/scope-delete-role.function.js +1 -1
  825. package/dist/src/functions/scope-delete-role.function.js.map +1 -1
  826. package/dist/src/functions/scope-list-declared.function.d.ts +4 -4
  827. package/dist/src/functions/scope-list-declared.function.d.ts.map +1 -1
  828. package/dist/src/functions/scope-list-declared.function.js +1 -1
  829. package/dist/src/functions/scope-list-declared.function.js.map +1 -1
  830. package/dist/src/functions/scope-list-roles.function.d.ts +5 -5
  831. package/dist/src/functions/scope-list-roles.function.d.ts.map +1 -1
  832. package/dist/src/functions/scope-list-roles.function.js +1 -1
  833. package/dist/src/functions/scope-list-roles.function.js.map +1 -1
  834. package/dist/src/functions/scope-list-user-roles.function.d.ts +4 -4
  835. package/dist/src/functions/scope-list-user-roles.function.d.ts.map +1 -1
  836. package/dist/src/functions/scope-list-user-roles.function.js +1 -1
  837. package/dist/src/functions/scope-list-user-roles.function.js.map +1 -1
  838. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts +4 -4
  839. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts.map +1 -1
  840. package/dist/src/functions/scope-remove-scope-from-user.function.js +1 -1
  841. package/dist/src/functions/scope-remove-scope-from-user.function.js.map +1 -1
  842. package/dist/src/functions/scope-remove-user-from-role.function.d.ts +4 -4
  843. package/dist/src/functions/scope-remove-user-from-role.function.d.ts.map +1 -1
  844. package/dist/src/functions/scope-remove-user-from-role.function.js +1 -1
  845. package/dist/src/functions/scope-remove-user-from-role.function.js.map +1 -1
  846. package/dist/src/functions/scope-set-role-scopes.function.d.ts +4 -4
  847. package/dist/src/functions/scope-set-role-scopes.function.d.ts.map +1 -1
  848. package/dist/src/functions/scope-set-role-scopes.function.js +1 -1
  849. package/dist/src/functions/scope-set-role-scopes.function.js.map +1 -1
  850. package/dist/src/functions/secret-get.function.d.ts +4 -4
  851. package/dist/src/functions/secret-get.function.d.ts.map +1 -1
  852. package/dist/src/functions/secret-get.function.js +1 -1
  853. package/dist/src/functions/secret-get.function.js.map +1 -1
  854. package/dist/src/functions/secret-has.function.d.ts +4 -4
  855. package/dist/src/functions/secret-has.function.d.ts.map +1 -1
  856. package/dist/src/functions/secret-has.function.js +1 -1
  857. package/dist/src/functions/secret-has.function.js.map +1 -1
  858. package/dist/src/functions/secret-set.function.d.ts +4 -4
  859. package/dist/src/functions/secret-set.function.d.ts.map +1 -1
  860. package/dist/src/functions/secret-set.function.js +1 -1
  861. package/dist/src/functions/secret-set.function.js.map +1 -1
  862. package/dist/src/functions/stream-workflow-run.function.d.ts +4 -4
  863. package/dist/src/functions/stream-workflow-run.function.d.ts.map +1 -1
  864. package/dist/src/functions/stream-workflow-run.function.js +1 -1
  865. package/dist/src/functions/stream-workflow-run.function.js.map +1 -1
  866. package/dist/src/functions/update-agent-config.function.d.ts +4 -4
  867. package/dist/src/functions/update-agent-config.function.d.ts.map +1 -1
  868. package/dist/src/functions/update-agent-config.function.js +2 -2
  869. package/dist/src/functions/update-agent-config.function.js.map +1 -1
  870. package/dist/src/functions/update-dependency.function.d.ts +5 -5
  871. package/dist/src/functions/update-dependency.function.d.ts.map +1 -1
  872. package/dist/src/functions/update-dependency.function.js +1 -1
  873. package/dist/src/functions/update-dependency.function.js.map +1 -1
  874. package/dist/src/functions/update-dependency.function.test.d.ts +2 -0
  875. package/dist/src/functions/update-dependency.function.test.d.ts.map +1 -0
  876. package/dist/src/functions/update-dependency.function.test.js +181 -0
  877. package/dist/src/functions/update-dependency.function.test.js.map +1 -0
  878. package/dist/src/functions/update-email-template.function.d.ts +4 -4
  879. package/dist/src/functions/update-email-template.function.d.ts.map +1 -1
  880. package/dist/src/functions/update-email-template.function.js +2 -3
  881. package/dist/src/functions/update-email-template.function.js.map +1 -1
  882. package/dist/src/functions/update-function-body.function.d.ts +4 -4
  883. package/dist/src/functions/update-function-body.function.d.ts.map +1 -1
  884. package/dist/src/functions/update-function-body.function.js +2 -2
  885. package/dist/src/functions/update-function-body.function.js.map +1 -1
  886. package/dist/src/functions/update-function-config.function.d.ts +4 -4
  887. package/dist/src/functions/update-function-config.function.d.ts.map +1 -1
  888. package/dist/src/functions/update-function-config.function.js +2 -2
  889. package/dist/src/functions/update-function-config.function.js.map +1 -1
  890. package/dist/src/lib/addon-readiness.test.js +1 -1
  891. package/dist/src/lib/audit-exec.d.ts +2 -2
  892. package/dist/src/lib/audit-exec.d.ts.map +1 -1
  893. package/dist/src/lib/audit-exec.test.d.ts +2 -0
  894. package/dist/src/lib/audit-exec.test.d.ts.map +1 -0
  895. package/dist/src/lib/audit-exec.test.js +97 -0
  896. package/dist/src/lib/audit-exec.test.js.map +1 -0
  897. package/dist/src/lib/derive-instance-overrides.js +1 -1
  898. package/dist/src/lib/resolve-audit-users.d.ts +1 -1
  899. package/dist/src/lib/resolve-audit-users.d.ts.map +1 -1
  900. package/dist/src/lib/resolve-package-manager.d.ts +11 -0
  901. package/dist/src/lib/resolve-package-manager.d.ts.map +1 -1
  902. package/dist/src/lib/resolve-package-manager.js +49 -20
  903. package/dist/src/lib/resolve-package-manager.js.map +1 -1
  904. package/dist/src/lib/resolve-package-manager.test.js +39 -1
  905. package/dist/src/lib/resolve-package-manager.test.js.map +1 -1
  906. package/dist/src/lib/surface.d.ts +30 -0
  907. package/dist/src/lib/surface.d.ts.map +1 -0
  908. package/dist/src/lib/surface.js +47 -0
  909. package/dist/src/lib/surface.js.map +1 -0
  910. package/dist/src/lib/surface.test.d.ts +2 -0
  911. package/dist/src/lib/surface.test.d.ts.map +1 -0
  912. package/dist/src/lib/surface.test.js +99 -0
  913. package/dist/src/lib/surface.test.js.map +1 -0
  914. package/dist/src/lib/surface.types.d.ts +59 -0
  915. package/dist/src/lib/surface.types.d.ts.map +1 -0
  916. package/dist/src/lib/surface.types.js +2 -0
  917. package/dist/src/lib/surface.types.js.map +1 -0
  918. package/dist/src/scopes.js +21 -59
  919. package/dist/src/scopes.js.map +1 -1
  920. package/dist/src/services/addon-readiness.service.d.ts +2 -1
  921. package/dist/src/services/addon-readiness.service.d.ts.map +1 -1
  922. package/dist/src/services/addon-readiness.service.js.map +1 -1
  923. package/dist/src/services/addon.service.d.ts +5 -5
  924. package/dist/src/services/addon.service.d.ts.map +1 -1
  925. package/dist/src/services/db-schema.service.d.ts +1 -1
  926. package/dist/src/services/db-schema.service.d.ts.map +1 -1
  927. package/dist/src/services/wiring.service.d.ts +7 -7
  928. package/dist/src/services/wiring.service.d.ts.map +1 -1
  929. package/dist/src/services.d.ts +1 -1
  930. package/dist/src/services.d.ts.map +1 -1
  931. package/dist/src/services.js +12 -9
  932. package/dist/src/services.js.map +1 -1
  933. package/dist/types/application-types.d.ts +10 -2
  934. package/package.json +17 -20
  935. package/dist/.pikku/schemas/schemas/GetAuditFiltersOutput.schema.json +0 -1
  936. package/dist/.pikku/schemas/schemas/GetAuditsInput.schema.json +0 -1
  937. package/dist/.pikku/schemas/schemas/GetAuditsOutput.schema.json +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-setup-types.gen.js","sourceRoot":"","sources":["../../../.pikku/setup/pikku-setup-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAO9D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,IAA0D,EAC1D,EAAE,CAAC,IAAI,CAAA;AAET;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,IAAiI,EACjI,EAAE;IACF,OAAO,KAAK,EAAE,MAAc,EAAE,mBAA+C,EAAE,EAAE,EAAE;QACjF,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA;QAC5D,MAAM,QAAQ,GAAG,EAAE,GAAG,gBAAgB,EAAE,GAAG,eAAe,EAAE,CAAA;QAC5D,MAAM,WAAW,GAAG,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,CAAC,CAAA;QAChE,IAAI,WAAW,EAAE,CAAC;YAChB,IAAI,YAA0C,CAC7C;YAAC,QAAgB,CAAC,IAAI,GAAG,GAAG,EAAE;gBAC7B,YAAY,KAAK,OAAO,CAAC,OAAO,EAAE;qBAC/B,IAAI,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,QAAe,CAAC,CAAC;qBACxC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;oBACf,YAAY,GAAG,SAAS,CAAA;oBACxB,MAAM,KAAK,CAAA;gBACb,CAAC,CAAC,CAAA;gBACJ,OAAO,YAAY,CAAA;YACrB,CAAC,CAAA;QACH,CAAC;QACD,MAAM,QAAQ,GAAG,QAAqC,CAAA;QACtD,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAe,CAAC,CAAA;QACnE,OAAO,QAAQ,CAAA;IACjB,CAAC,CAAA;AACH,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,IAGkC,EACd,EAAE;IACtB,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAA;IAC5D,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,GAAG,SAAS,EAAE,kBAAkB,EAAE,IAAW,EAAE,CAAC,CAAA;IAC7F,OAAO,IAAqC,CAAA;AAC9C,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/trigger` resolves here.
6
+ */
7
+ export * from './pikku-trigger-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.pikku/trigger/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/trigger` resolves here.
6
+ */
7
+ export * from './pikku-trigger-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../.pikku/trigger/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,8BAA8B,CAAA"}
@@ -4,8 +4,8 @@
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
6
6
  */
7
- import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/ecosystem/trigger';
8
- import type { CoreNodeConfig } from '@pikku/core/ecosystem/node';
7
+ import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig } from '@pikku/core/trigger';
8
+ import type { CoreNodeConfig } from '@pikku/core/node';
9
9
  import type { SingletonServices } from '../../types/application-types.d.js';
10
10
  import type { StandardSchemaV1 } from '@standard-schema/spec';
11
11
  /**
@@ -15,11 +15,11 @@ import type { StandardSchemaV1 } from '@standard-schema/spec';
15
15
  * @template TInput - Input type (configuration passed when wired)
16
16
  * @template TOutput - Output type produced when trigger fires
17
17
  */
18
- export type PikkuTriggerFunction<TInput = unknown, TOutput = unknown> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>;
18
+ type PikkuTriggerFunction<TInput = unknown, TOutput = unknown> = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>;
19
19
  /**
20
20
  * Configuration object for creating a trigger function with metadata
21
21
  */
22
- export type PikkuTriggerFunctionConfig<TInput = unknown, TOutput = unknown, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>;
22
+ type PikkuTriggerFunctionConfig<TInput = unknown, TOutput = unknown, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>;
23
23
  /**
24
24
  * Helper type to infer the output type from a Standard Schema
25
25
  */
@@ -29,7 +29,7 @@ type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Outp
29
29
  * Use this when you want to define input/output schemas using Zod.
30
30
  * Types are automatically inferred from the schemas.
31
31
  */
32
- export type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
32
+ type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
33
33
  title?: string;
34
34
  description?: string;
35
35
  tags?: string[];
@@ -42,21 +42,6 @@ export type PikkuTriggerFunctionConfigWithSchema<InputSchema extends StandardSch
42
42
  * Type definition for trigger wirings.
43
43
  * Declares a trigger name and its target pikku function.
44
44
  */
45
- export type TriggerWiring = CoreTrigger;
46
- /**
47
- * A trigger source with the subscription function, using project-specific services.
48
- *
49
- * @template TInput - Input type passed to the trigger function
50
- * @template TOutput - Output type produced when trigger fires
51
- */
52
- export type TriggerSource<TInput = unknown, TOutput = unknown> = {
53
- name: string;
54
- func: PikkuTriggerFunctionConfig<TInput, TOutput>;
55
- } & (unknown extends TInput ? {
56
- input?: TInput;
57
- } : {
58
- input: TInput;
59
- });
60
45
  /**
61
46
  * Creates a trigger function configuration.
62
47
  * Use this to define trigger functions that set up subscriptions.
@@ -94,21 +79,5 @@ export type TriggerSource<TInput = unknown, TOutput = unknown> = {
94
79
  */
95
80
  export declare function pikkuTriggerFunc<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuTriggerFunctionConfigWithSchema<InputSchema, OutputSchema>): PikkuTriggerFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, InputSchema, OutputSchema>;
96
81
  export declare function pikkuTriggerFunc<TInput, TOutput = unknown>(triggerOrConfig: PikkuTriggerFunction<TInput, TOutput> | PikkuTriggerFunctionConfig<TInput, TOutput>): PikkuTriggerFunctionConfig<TInput, TOutput>;
97
- /**
98
- * Registers a trigger with the Pikku framework.
99
- * Declares a trigger name and its target pikku function.
100
- * Runs everywhere — inspector extracts at build time.
101
- *
102
- * @param trigger - Trigger definition with name and function config
103
- */
104
- export declare const wireTrigger: (trigger: TriggerWiring) => void;
105
- /**
106
- * Registers a trigger source with the Pikku framework.
107
- * Provides the subscription function and input data.
108
- * Only imported in the trigger worker process.
109
- *
110
- * @param source - Trigger source with name, func, and input
111
- */
112
- export declare const wireTriggerSource: <TInput = unknown, TOutput = unknown>(source: TriggerSource<TInput, TOutput>) => void;
113
82
  export {};
114
83
  //# sourceMappingURL=pikku-trigger-types.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-trigger-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,OAAO,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AACrH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,CAC9B,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,0BAA0B,CACpC,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,EACjB,WAAW,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAC5D,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D,8BAA8B,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAEjG;;GAEG;AACH,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC,GAAG,MAAM,GAAG,KAAK,CAAA;AAE1F;;;;GAIG;AACH,MAAM,MAAM,oCAAoC,CAC9C,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D;IACF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,EAAE,oBAAoB,CACxB,iBAAiB,CAAC,WAAW,CAAC,EAC9B,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,CAClF,CAAA;IACD,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AAEvC;;;;;GAKG;AACH,MAAM,MAAM,aAAa,CACvB,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf;IACF,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClD,GAAG,CAAC,OAAO,SAAS,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAE7D,MAAM,EAAE,oCAAoC,CAAC,WAAW,EAAE,YAAY,CAAC,GACtE,0BAA0B,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAC3K,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,EACxD,eAAe,EACX,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAQ9C;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GACtB,SAAS,aAAa,SAGvB,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,EACnE,QAAQ,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,SAGvC,CAAA"}
1
+ {"version":3,"file":"pikku-trigger-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D;;;;;;GAMG;AACH,KAAK,oBAAoB,CACvB,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,IACf,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAA;AAEhE;;GAEG;AACH,KAAK,0BAA0B,CAC7B,MAAM,GAAG,OAAO,EAChB,OAAO,GAAG,OAAO,EACjB,WAAW,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAC5D,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D,8BAA8B,CAAC,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAEjG;;GAEG;AACH,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC,GAAG,MAAM,GAAG,KAAK,CAAA;AAE1F;;;;GAIG;AACH,KAAK,oCAAoC,CACvC,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D;IACF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,IAAI,EAAE,oBAAoB,CACxB,iBAAiB,CAAC,WAAW,CAAC,EAC9B,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,CAClF,CAAA;IACD,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB,CAAA;AAED;;;GAGG;AAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAE7D,MAAM,EAAE,oCAAoC,CAAC,WAAW,EAAE,YAAY,CAAC,GACtE,0BAA0B,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;AAC3K,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,EACxD,eAAe,EACX,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA"}
@@ -4,31 +4,10 @@
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
6
6
  */
7
- import { wireTrigger as wireTriggerCore, wireTriggerSource as wireTriggerSourceCore } from '@pikku/core/trigger';
8
7
  export function pikkuTriggerFunc(triggerOrConfig) {
9
8
  if (typeof triggerOrConfig === 'function') {
10
9
  return { func: triggerOrConfig };
11
10
  }
12
11
  return triggerOrConfig;
13
12
  }
14
- /**
15
- * Registers a trigger with the Pikku framework.
16
- * Declares a trigger name and its target pikku function.
17
- * Runs everywhere — inspector extracts at build time.
18
- *
19
- * @param trigger - Trigger definition with name and function config
20
- */
21
- export const wireTrigger = (trigger) => {
22
- wireTriggerCore(trigger);
23
- };
24
- /**
25
- * Registers a trigger source with the Pikku framework.
26
- * Provides the subscription function and input data.
27
- * Only imported in the trigger worker process.
28
- *
29
- * @param source - Trigger source with name, func, and input
30
- */
31
- export const wireTriggerSource = (source) => {
32
- wireTriggerSourceCore(source);
33
- };
34
13
  //# sourceMappingURL=pikku-trigger-types.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-trigger-types.gen.js","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AA0HhH,MAAM,UAAU,gBAAgB,CAAC,eAAoB;IACnD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE,CAAC;QAC1C,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,CAAA;IAClC,CAAC;IACD,OAAO,eAAe,CAAA;AACxB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,OAAsB,EACtB,EAAE;IACF,eAAe,CAAC,OAAc,CAAC,CAAA;AACjC,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,MAAsC,EACtC,EAAE;IACF,qBAAqB,CAAC,MAAa,CAAC,CAAA;AACtC,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-trigger-types.gen.js","sourceRoot":"","sources":["../../../.pikku/trigger/pikku-trigger-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAgHH,MAAM,UAAU,gBAAgB,CAAC,eAAoB;IACnD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE,CAAC;QAC1C,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,CAAA;IAClC,CAAC;IACD,OAAO,eAAe,CAAA;AACxB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/variables` resolves here.
6
+ */
7
+ export * from './pikku-variable-types.gen.js';
8
+ export * from './pikku-variables.gen.js';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0BAA0B,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/variables` resolves here.
6
+ */
7
+ export * from './pikku-variable-types.gen.js';
8
+ export * from './pikku-variables.gen.js';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../.pikku/variables/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0BAA0B,CAAA"}
@@ -2,5 +2,4 @@
2
2
  * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
5
- export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/ecosystem/variable';
6
5
  //# sourceMappingURL=pikku-variable-types.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA"}
1
+ {"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
@@ -1,21 +1,18 @@
1
1
  /**
2
2
  * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
- import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/ecosystem/services';
4
+ import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
6
- import type { VariableDefinitionsMeta } from '@pikku/core/ecosystem/variable';
7
6
  /**
8
- * Every variable declared in this package.
9
- *
10
- * Read from the metadata sidecar rather than inlined, so that the import above
11
- * forces tsc to emit the .json alongside this file. An addon publishes only its
12
- * compiled output, and a host reads that .json to discover the addon's declared
13
- * variables — an uncopied sidecar leaves them invisible to the host.
7
+ * Side-effect import of the metadata sidecar, so that tsc emits the .json
8
+ * alongside this file. An addon publishes only its compiled output, and a host
9
+ * reads that .json off disk to discover the addon's declared variables an
10
+ * uncopied sidecar leaves them invisible to the host. Nothing binds it: the
11
+ * sidecar is not part of `#pikku/variables`.
14
12
  */
15
- export declare const VARIABLES_META: VariableDefinitionsMeta;
13
+ import './pikku-variables-meta.gen.json';
16
14
  export interface VariablesMap {
17
15
  }
18
- export type VariableId = keyof VariablesMap;
19
16
  export declare class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
20
17
  constructor(variables: VariablesService);
21
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-variables.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,gCAAgC,CAAA;AACtH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAG7E;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,uBACa,CAAA;AAE1C,MAAM,WAAW,YAAY;CAE5B;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,YAAY,CAAA;AAM3C,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}
1
+ {"version":3,"file":"pikku-variables.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,qBAAqB,IAAI,yBAAyB,EAEnD,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAC5D;;;;;;GAMG;AACH,OAAO,iCAAiC,CAAsB;AAE9D,MAAM,WAAW,YAAY;CAE5B;AAMD,qBAAa,qBAAsB,SAAQ,yBAAyB,CAAC,YAAY,CAAC;gBACpE,SAAS,EAAE,gBAAgB;CAGxC"}
@@ -1,17 +1,15 @@
1
1
  /**
2
2
  * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
- import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/ecosystem/services';
5
- import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' };
4
+ import { TypedVariablesService as CoreTypedVariablesService, } from '@pikku/core/services';
6
5
  /**
7
- * Every variable declared in this package.
8
- *
9
- * Read from the metadata sidecar rather than inlined, so that the import above
10
- * forces tsc to emit the .json alongside this file. An addon publishes only its
11
- * compiled output, and a host reads that .json to discover the addon's declared
12
- * variables — an uncopied sidecar leaves them invisible to the host.
6
+ * Side-effect import of the metadata sidecar, so that tsc emits the .json
7
+ * alongside this file. An addon publishes only its compiled output, and a host
8
+ * reads that .json off disk to discover the addon's declared variables an
9
+ * uncopied sidecar leaves them invisible to the host. Nothing binds it: the
10
+ * sidecar is not part of `#pikku/variables`.
13
11
  */
14
- export const VARIABLES_META = variablesMeta;
12
+ import './pikku-variables-meta.gen.json' with { type: 'json' };
15
13
  const TYPED_VARIABLES_META = {};
16
14
  export class TypedVariablesService extends CoreTypedVariablesService {
17
15
  constructor(variables) {
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-variables.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,qBAAqB,IAAI,yBAAyB,EAAqB,MAAM,gCAAgC,CAAA;AAGtH,OAAO,aAAa,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAEjF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GACzB,aAAwC,CAAA;AAQ1C,MAAM,oBAAoB,GAAiC,EAE1D,CAAA;AAED,MAAM,OAAO,qBAAsB,SAAQ,yBAAuC;IAChF,YAAY,SAA2B;QACrC,KAAK,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAA;IACxC,CAAC;CACF"}
1
+ {"version":3,"file":"pikku-variables.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variables.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,qBAAqB,IAAI,yBAAyB,GAEnD,MAAM,sBAAsB,CAAA;AAE7B;;;;;;GAMG;AACH,OAAO,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAM9D,MAAM,oBAAoB,GAAiC,EAE1D,CAAA;AAED,MAAM,OAAO,qBAAsB,SAAQ,yBAAuC;IAChF,YAAY,SAA2B;QACrC,KAAK,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAA;IACxC,CAAC;CACF"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/workflow` resolves here.
6
+ */
7
+ export * from './pikku-workflow-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.pikku/workflow/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/workflow` resolves here.
6
+ */
7
+ export * from './pikku-workflow-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../.pikku/workflow/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA"}
@@ -2,50 +2,27 @@
2
2
  * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
- import { template } from '@pikku/core/ecosystem/workflow';
6
- import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/ecosystem/workflow';
7
- import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/ecosystem/workflow';
8
- import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/ecosystem/scenario';
5
+ import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/workflow';
6
+ import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow';
9
7
  export { WorkflowCancelledException };
10
- import type { PikkuFunctionSessionless, PikkuFunctionConfig, WiredServices } from '../function/pikku-function-types.gen.js';
8
+ import type { PikkuFunctionSessionless, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
11
9
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
12
10
  import type { FlattenedWorkflowMap } from './pikku-workflow-map.gen.d.js';
13
11
  import type { AgentMap as FlattenedAgentMap } from '../agent/pikku-agent-map.gen.d.js';
14
- import type { FlattenedScenarioStepMap } from './pikku-scenario-step-map.gen.d.js';
15
- import type { TypedPersonas } from './pikku-personas.gen.js';
16
- export type { TypedPersonas };
17
- export { template };
18
12
  export interface TypedWorkflow extends PikkuWorkflowWire {
19
13
  do<K extends keyof FlattenedRPCMap>(stepName: string, rpcName: K, data: FlattenedRPCMap[K]['input'], options?: WorkflowStepOptions): Promise<FlattenedRPCMap[K]['output']>;
20
14
  do<K extends keyof FlattenedWorkflowMap>(stepName: string, workflowName: K, data: FlattenedWorkflowMap[K]['input'], options?: WorkflowStepOptions): Promise<FlattenedWorkflowMap[K]['output']>;
21
15
  do<T>(stepName: string, fn: () => T | Promise<T>, options?: WorkflowStepOptions): Promise<T>;
22
16
  }
23
- /**
24
- * The typed half of a scenario wire: `given`/`when`/`then`, narrowed to the
25
- * names declared by `pikkuScenarioStep` in this project. `given` and `when`
26
- * differ only in the prose the reporter renders; `then` additionally makes the
27
- * step's bindings witnesses rather than alternatives.
28
- */
29
- export interface TypedScenarioSteps {
30
- given<K extends keyof FlattenedScenarioStepMap>(stepName: string, stepFunc: K, data?: FlattenedScenarioStepMap[K]['input'], options?: ScenarioStepOptions): Promise<FlattenedScenarioStepMap[K]['output']>;
31
- when<K extends keyof FlattenedScenarioStepMap>(stepName: string, stepFunc: K, data?: FlattenedScenarioStepMap[K]['input'], options?: ScenarioStepOptions): Promise<FlattenedScenarioStepMap[K]['output']>;
32
- then<K extends keyof FlattenedScenarioStepMap>(stepName: string, stepFunc: K, data?: FlattenedScenarioStepMap[K]['input'], options?: ScenarioStepOptions): Promise<FlattenedScenarioStepMap[K]['output']>;
33
- }
34
- /** `Out` types `scenario.context`. */
35
- export type TypedScenario<Out = unknown> = TypedWorkflow & Omit<PikkuScenarioWire<Out>, keyof PikkuWorkflowWire | keyof TypedScenarioSteps> & TypedScenarioSteps;
36
17
  import type { StandardSchemaV1 } from '@standard-schema/spec';
37
- import type { InferSchemaOutput, PikkuPermission, PikkuMiddleware, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js';
18
+ import type { InferSchemaOutput, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js';
19
+ import type { PikkuPermission } from '../auth/pikku-auth-types.gen.js';
20
+ import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
38
21
  import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
39
22
  import { PikkuError } from '@pikku/core/errors';
40
- import type { CorePermissionGroup } from '@pikku/core/ecosystem/types';
23
+ import type { CorePermissionGroup } from '@pikku/core/function';
41
24
  export type PikkuFunctionWorkflow<In = unknown, Out = never> = PikkuFunctionSessionless<In, Out, 'workflow'>;
42
- /**
43
- * `Ctx` types `scenario.context`, defaulting to the body's own output. A hook
44
- * returns void but shares the scenario's context, so it passes that scenario's
45
- * output here instead.
46
- */
47
- export type PikkuFunctionScenario<In = unknown, Out = never, Ctx = Out> = PikkuFunctionSessionless<In, Out, 'scenario' | 'actors', WiredServices, Ctx>;
48
- export type PikkuWorkflowConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
25
+ type PikkuWorkflowConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
49
26
  title?: string;
50
27
  description?: string;
51
28
  tags?: string[];
@@ -58,6 +35,12 @@ export type PikkuWorkflowConfigWithSchema<InputSchema extends StandardSchemaV1 |
58
35
  readonly?: boolean;
59
36
  approvalRequired?: boolean;
60
37
  approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never;
38
+ middleware?: PikkuMiddleware[];
39
+ input?: InputSchema;
40
+ output?: OutputSchema;
41
+ node?: NodeConfig;
42
+ errors?: Array<typeof PikkuError>;
43
+ inline?: boolean;
61
44
  func: PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
62
45
  auth?: boolean;
63
46
  /**
@@ -66,242 +49,11 @@ export type PikkuWorkflowConfigWithSchema<InputSchema extends StandardSchemaV1 |
66
49
  */
67
50
  scopes?: ScopeId[];
68
51
  permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
69
- middleware?: PikkuMiddleware[];
70
- input?: InputSchema;
71
- output?: OutputSchema;
72
- node?: NodeConfig;
73
- errors?: Array<typeof PikkuError>;
74
- inline?: boolean;
75
52
  };
76
53
  export declare function pikkuWorkflowFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>;
77
54
  export declare function pikkuWorkflowFunc<In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>): PikkuFunctionConfig<In, Out, 'workflow'>;
78
55
  export declare function pikkuWorkflowComplexFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>;
79
56
  export declare function pikkuWorkflowComplexFunc<In, Out = unknown>(func: PikkuFunctionWorkflow<In, Out> | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>): PikkuFunctionConfig<In, Out, 'workflow'>;
80
- export type PikkuScenarioConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = Omit<PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>, 'func' | 'auth' | 'scopes' | 'permissions'> & {
81
- func: PikkuFunctionScenario<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
82
- /**
83
- * Runs before the scenario body. Same signature as `func`, but its return
84
- * value is discarded — a hook is setup, not a step, so it is never recorded
85
- * on the ladder. Throwing skips the body and fails the run; `after` still
86
- * runs.
87
- */
88
- before?: PikkuScenarioHook<InputSchema, OutputSchema>;
89
- /**
90
- * Always runs after the scenario body, in a `finally`, whether it passed or
91
- * failed. Throwing fails a run that would otherwise have passed; on an
92
- * already-failed run it attaches as the `cause` and never replaces the
93
- * original error. Reads `scenario.context` for whatever the body managed to
94
- * record before it stopped.
95
- */
96
- after?: PikkuScenarioHook<InputSchema, OutputSchema>;
97
- /**
98
- * Why this scenario is held out of a default run, stated where the scenario
99
- * is. The scenario still appears in the plan and is reported as skipped
100
- * rather than quietly omitted; naming it directly with `--flows` runs it
101
- * anyway.
102
- */
103
- skip?: string;
104
- };
105
- /**
106
- * A scenario lifecycle hook: the scenario's own `(services, data, wire)`
107
- * signature with its result discarded. `OutputSchema` types
108
- * `scenario.context` while the return type stays `void`.
109
- */
110
- export type PikkuScenarioHook<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = PikkuFunctionScenario<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, void, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>;
111
- /**
112
- * Declares a scenario hook. Returns the function verbatim — a hook is never
113
- * registered, so this exists purely to give an inline hook a call site to be
114
- * contextually typed from, the way every other pikku primitive is.
115
- */
116
- export declare function pikkuScenarioHook<In = unknown, Ctx = unknown>(hook: PikkuFunctionScenario<In, void, Ctx>): PikkuFunctionScenario<In, void, Ctx>;
117
- /**
118
- * A scenario: a complex workflow that drives the app the way users do.
119
- * Steps run as actors over the REAL transport — `scenario.do(step, rpc,
120
- * data, { actor: actors.yasser })` — so flows double as e2e tests and
121
- * staged/production health checks (no state reset; scope what you create).
122
- */
123
- export declare function pikkuScenario<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuScenarioConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenario' | 'actors', PikkuFunctionScenario<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>;
124
- export declare function pikkuScenario<In, Out = unknown>(func: PikkuFunctionScenario<In, Out> | PikkuFunctionConfig<In, Out, 'scenario' | 'actors', PikkuFunctionScenario<In, Out>>): PikkuFunctionConfig<In, Out, 'scenario' | 'actors'>;
125
- /**
126
- * A scenario as a feature references it. Any `pikkuScenario` export is
127
- * assignable; `In` is recovered from it so the paired form's `data` is
128
- * checked against that scenario's own input.
129
- */
130
- export type PikkuScenarioRef<In = any, Out = any> = PikkuFunctionConfig<In, Out, 'scenario' | 'actors', PikkuFunctionScenario<In, Out>, any, any>;
131
- /**
132
- * One entry in a feature's `scenarios` list, validated against itself: a bare
133
- * scenario, or a scenario paired with the input to run it with. The paired form
134
- * is gherkin's `Examples:` written as an ordinary loop.
135
- */
136
- export type PikkuFeatureEntry<Entry> = Entry extends {
137
- scenario: PikkuScenarioRef<infer In>;
138
- } ? {
139
- scenario: PikkuScenarioRef<In>;
140
- data: In;
141
- } : Entry extends PikkuScenarioRef ? Entry : never;
142
- export type PikkuFeatureConfig<Scenarios extends readonly unknown[]> = {
143
- /** Human-readable name. The export identifier is the id. */
144
- name: string;
145
- description?: string;
146
- tags?: string[];
147
- scenarios: {
148
- [K in keyof Scenarios]: PikkuFeatureEntry<Scenarios[K]>;
149
- };
150
- /**
151
- * Runs ONCE before the whole group — not before each scenario. Per-scenario
152
- * setup is the scenario's own `before`; gherkin's `Background:` is
153
- * deliberately not expressible here.
154
- */
155
- before?: PikkuScenarioHook;
156
- after?: PikkuScenarioHook;
157
- };
158
- /**
159
- * A feature: an ordered group of scenarios, mirroring gherkin's Feature ↔
160
- * Scenario structure. Scenarios are referenced by imported identifier, so a
161
- * renamed or deleted scenario is a compile error rather than a silent skip.
162
- *
163
- * A scenario does not have to belong to a feature — a void-input scenario
164
- * still runs standalone.
165
- *
166
- * ```ts
167
- * export const credentialFeature = pikkuFeature({
168
- * name: 'Credential API',
169
- * tags: ['credential'],
170
- * before: startsMockOAuthServer,
171
- * after: stopsMockOAuthServer,
172
- * scenarios: [
173
- * credentialLazyLoadScenario,
174
- * ...['stripe', 'google'].map((name) => ({
175
- * scenario: credentialRoundTripScenario,
176
- * data: { name },
177
- * })),
178
- * ],
179
- * })
180
- * ```
181
- */
182
- export declare function pikkuFeature<const Scenarios extends readonly unknown[]>(config: PikkuFeatureConfig<Scenarios>): PikkuFeatureConfig<Scenarios>;
183
- /**
184
- * One surface's implementation of a step.
185
- *
186
- * Each binding is typed independently, so a browser binding gets a non-optional
187
- * `wire.browser` and a cli binding a non-optional `wire.cli` without either
188
- * leaking into the other.
189
- */
190
- export type PikkuFunctionScenarioStep<In = unknown, Out = never, Surface extends 'browser' | 'cli' | 'default' = 'default'> = PikkuFunctionSessionless<In, Out, Surface extends 'default' ? 'scenarioStep' : 'scenarioStep' | Surface>;
191
- export type PikkuScenarioStepConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = {
192
- /** Registered name — this is the string `scenario.given()` references. */
193
- name: string;
194
- /**
195
- * What this step does, for the console and for whoever reads the source. It
196
- * is also the fallback prose when no `template` is declared, in which case a
197
- * reporter renders "Given the shopper buys an apple". Defaults to the call
198
- * site's step name.
199
- */
200
- description?: string;
201
- /**
202
- * The prose a reporter renders for this step, with `{placeholders}` filled
203
- * from the input the step was called with — `'sees {packageName}'` reports as
204
- * "Then the admin sees @pikku/addon-todos". Every input field should appear,
205
- * so the report names the values under test rather than repeating one
206
- * sentence per call site.
207
- */
208
- template?: string;
209
- title?: string;
210
- tags?: string[];
211
- input?: InputSchema;
212
- output?: OutputSchema;
213
- errors?: Array<typeof PikkuError>;
214
- /**
215
- * Drive this step through a real browser, as a human would. The runner
216
- * provisions a window for the step's actor first — which makes an actor
217
- * mandatory — and `wire.browser` is non-optional inside it.
218
- *
219
- * Compose shared utilities here rather than writing raw clicks: the step says
220
- * what the actor is doing, the utilities say how.
221
- */
222
- browser?: PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'browser'>;
223
- /** Drive this step remotely, over the websocket. */
224
- cli?: PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'cli'>;
225
- /**
226
- * The server-side path — the fast suite, and the floor every other surface
227
- * falls back to.
228
- *
229
- * On a `then`, this is not an alternative to the other bindings but a second
230
- * **witness**: the run executes every binding it has and fails if they
231
- * disagree, because "the row says paid" and "the page says paid" are different
232
- * claims and the gap between them is the bug nobody catches.
233
- */
234
- default?: PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'default'>;
235
- };
236
- export type PikkuScenarioStepConfig<In, Out> = Omit<PikkuScenarioStepConfigWithSchema<undefined, undefined>, 'browser' | 'cli' | 'default' | 'input' | 'output'> & {
237
- browser?: PikkuFunctionScenarioStep<In, Out, 'browser'>;
238
- cli?: PikkuFunctionScenarioStep<In, Out, 'cli'>;
239
- default?: PikkuFunctionScenarioStep<In, Out, 'default'>;
240
- };
241
- /**
242
- * A named, reusable scenario step, declaring one implementation per surface an
243
- * actor can drive it through.
244
- *
245
- * The step's identity is what the actor is trying to do; which surface carries
246
- * it out is a binding. That is what lets one ladder run through a real browser,
247
- * over the websocket, or entirely server-side — and what makes "how much of this
248
- * flow can a human actually reach" a number rather than a guess.
249
- *
250
- * Steps are deliberately NOT registered as RPCs: a browser-driving step must
251
- * never be network-callable.
252
- */
253
- export declare function pikkuScenarioStep<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuScenarioStepConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenarioStep' | 'browser' | 'cli', PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'browser' | 'cli' | 'default'>, InputSchema, OutputSchema>;
254
- export declare function pikkuScenarioStep<In, Out = unknown>(config: PikkuScenarioStepConfig<In, Out>): PikkuFunctionConfig<In, Out, 'scenarioStep' | 'browser' | 'cli'>;
255
- /**
256
- * What a step declares when nobody drives it: one implementation, and no
257
- * surfaces to choose between.
258
- *
259
- * `func` rather than `default` is the point. `default` means *the fallback when
260
- * no other surface applies*, which implies others could exist; `func` says
261
- * structurally that there is one way this happens. That also keeps the phase
262
- * rule coherent — an assertion runs every witness it has and fails if they
263
- * disagree, and this has exactly one by construction.
264
- */
265
- export type PikkuSubjectScenarioStepConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = Omit<PikkuScenarioStepConfigWithSchema<InputSchema, OutputSchema>, 'browser' | 'cli' | 'default'> & {
266
- func: PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'default'>;
267
- };
268
- export type PikkuSubjectScenarioStepConfig<In, Out> = Omit<PikkuScenarioStepConfig<In, Out>, 'browser' | 'cli' | 'default'> & {
269
- func: PikkuFunctionScenarioStep<In, Out, 'default'>;
270
- };
271
- /**
272
- * A step in which the app acts on itself — "Given the platform has expired the
273
- * trial".
274
- *
275
- * The grammatical subject of that sentence is not a user of your app; it **is**
276
- * your app, which is why it is its own declaration rather than a persona with an
277
- * asterisk. A persona is a person.
278
- *
279
- * Local-test-only, and never in a virtual user's catalogue: a virtual user that
280
- * could expire its own trial is manufacturing the outcome it exists to discover.
281
- */
282
- export declare function pikkuPlatformScenarioStep<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuSubjectScenarioStepConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenarioStep', PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'default'>, InputSchema, OutputSchema>;
283
- export declare function pikkuPlatformScenarioStep<In, Out = unknown>(config: PikkuSubjectScenarioStepConfig<In, Out>): PikkuFunctionConfig<In, Out, 'scenarioStep'>;
284
- /**
285
- * A step in which a third-party system acts — "Given Stripe's webhook arrives",
286
- * "When Mailgun bounces it".
287
- *
288
- * `addon` names the addon that wraps that service, the same name its
289
- * `wireAddon` declares. These steps *are* the mock its consumers currently
290
- * hand-write: shipped by the addon author, maintained with the addon, and the
291
- * same artifact that appears in the prose.
292
- *
293
- * Note that arranging and asserting are different — "Stripe's webhook arrives"
294
- * stubs, "Then Stripe was charged" asserts, and only the first is a stub.
295
- *
296
- * Local-test-only, and never in a virtual user's catalogue: one that could
297
- * invoke this would forge its own payment success.
298
- */
299
- export declare function pikkuAddonScenarioStep<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuSubjectScenarioStepConfigWithSchema<InputSchema, OutputSchema> & {
300
- addon: string;
301
- }): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenarioStep', PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'default'>, InputSchema, OutputSchema>;
302
- export declare function pikkuAddonScenarioStep<In, Out = unknown>(config: PikkuSubjectScenarioStepConfig<In, Out> & {
303
- addon: string;
304
- }): PikkuFunctionConfig<In, Out, 'scenarioStep'>;
305
57
  type TypedRef<T> = {
306
58
  $ref: string;
307
59
  path?: string;