@pikku/addon-console 0.12.42 → 0.12.43

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 (934) hide show
  1. package/CHANGELOG.md +2002 -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 +2 -2
  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.map +1 -1
  797. package/dist/src/functions/render-email-template.utils.js.map +1 -1
  798. package/dist/src/functions/render-email-template.utils.test.js.map +1 -1
  799. package/dist/src/functions/run-security-audit.function.d.ts +2 -2
  800. package/dist/src/functions/run-security-audit.function.d.ts.map +1 -1
  801. package/dist/src/functions/run-security-audit.function.js +1 -1
  802. package/dist/src/functions/run-security-audit.function.js.map +1 -1
  803. package/dist/src/functions/run-security-audit.function.test.d.ts +2 -0
  804. package/dist/src/functions/run-security-audit.function.test.d.ts.map +1 -0
  805. package/dist/src/functions/run-security-audit.function.test.js +98 -0
  806. package/dist/src/functions/run-security-audit.function.test.js.map +1 -0
  807. package/dist/src/functions/scope-add-scope-to-user.function.d.ts +4 -4
  808. package/dist/src/functions/scope-add-scope-to-user.function.d.ts.map +1 -1
  809. package/dist/src/functions/scope-add-scope-to-user.function.js +1 -1
  810. package/dist/src/functions/scope-add-scope-to-user.function.js.map +1 -1
  811. package/dist/src/functions/scope-add-user-to-role.function.d.ts +4 -4
  812. package/dist/src/functions/scope-add-user-to-role.function.d.ts.map +1 -1
  813. package/dist/src/functions/scope-add-user-to-role.function.js +1 -1
  814. package/dist/src/functions/scope-add-user-to-role.function.js.map +1 -1
  815. package/dist/src/functions/scope-create-role.function.d.ts +4 -4
  816. package/dist/src/functions/scope-create-role.function.d.ts.map +1 -1
  817. package/dist/src/functions/scope-create-role.function.js +1 -1
  818. package/dist/src/functions/scope-create-role.function.js.map +1 -1
  819. package/dist/src/functions/scope-delete-role.function.d.ts +4 -4
  820. package/dist/src/functions/scope-delete-role.function.d.ts.map +1 -1
  821. package/dist/src/functions/scope-delete-role.function.js +1 -1
  822. package/dist/src/functions/scope-delete-role.function.js.map +1 -1
  823. package/dist/src/functions/scope-list-declared.function.d.ts +4 -4
  824. package/dist/src/functions/scope-list-declared.function.d.ts.map +1 -1
  825. package/dist/src/functions/scope-list-declared.function.js +1 -1
  826. package/dist/src/functions/scope-list-declared.function.js.map +1 -1
  827. package/dist/src/functions/scope-list-roles.function.d.ts +5 -5
  828. package/dist/src/functions/scope-list-roles.function.d.ts.map +1 -1
  829. package/dist/src/functions/scope-list-roles.function.js +1 -1
  830. package/dist/src/functions/scope-list-roles.function.js.map +1 -1
  831. package/dist/src/functions/scope-list-user-roles.function.d.ts +4 -4
  832. package/dist/src/functions/scope-list-user-roles.function.d.ts.map +1 -1
  833. package/dist/src/functions/scope-list-user-roles.function.js +1 -1
  834. package/dist/src/functions/scope-list-user-roles.function.js.map +1 -1
  835. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts +4 -4
  836. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts.map +1 -1
  837. package/dist/src/functions/scope-remove-scope-from-user.function.js +1 -1
  838. package/dist/src/functions/scope-remove-scope-from-user.function.js.map +1 -1
  839. package/dist/src/functions/scope-remove-user-from-role.function.d.ts +4 -4
  840. package/dist/src/functions/scope-remove-user-from-role.function.d.ts.map +1 -1
  841. package/dist/src/functions/scope-remove-user-from-role.function.js +1 -1
  842. package/dist/src/functions/scope-remove-user-from-role.function.js.map +1 -1
  843. package/dist/src/functions/scope-set-role-scopes.function.d.ts +4 -4
  844. package/dist/src/functions/scope-set-role-scopes.function.d.ts.map +1 -1
  845. package/dist/src/functions/scope-set-role-scopes.function.js +1 -1
  846. package/dist/src/functions/scope-set-role-scopes.function.js.map +1 -1
  847. package/dist/src/functions/secret-get.function.d.ts +4 -4
  848. package/dist/src/functions/secret-get.function.d.ts.map +1 -1
  849. package/dist/src/functions/secret-get.function.js +1 -1
  850. package/dist/src/functions/secret-get.function.js.map +1 -1
  851. package/dist/src/functions/secret-has.function.d.ts +4 -4
  852. package/dist/src/functions/secret-has.function.d.ts.map +1 -1
  853. package/dist/src/functions/secret-has.function.js +1 -1
  854. package/dist/src/functions/secret-has.function.js.map +1 -1
  855. package/dist/src/functions/secret-set.function.d.ts +4 -4
  856. package/dist/src/functions/secret-set.function.d.ts.map +1 -1
  857. package/dist/src/functions/secret-set.function.js +1 -1
  858. package/dist/src/functions/secret-set.function.js.map +1 -1
  859. package/dist/src/functions/stream-workflow-run.function.d.ts +4 -4
  860. package/dist/src/functions/stream-workflow-run.function.d.ts.map +1 -1
  861. package/dist/src/functions/stream-workflow-run.function.js +1 -1
  862. package/dist/src/functions/stream-workflow-run.function.js.map +1 -1
  863. package/dist/src/functions/update-agent-config.function.d.ts +4 -4
  864. package/dist/src/functions/update-agent-config.function.d.ts.map +1 -1
  865. package/dist/src/functions/update-agent-config.function.js +2 -2
  866. package/dist/src/functions/update-agent-config.function.js.map +1 -1
  867. package/dist/src/functions/update-dependency.function.d.ts +5 -5
  868. package/dist/src/functions/update-dependency.function.d.ts.map +1 -1
  869. package/dist/src/functions/update-dependency.function.js +1 -1
  870. package/dist/src/functions/update-dependency.function.js.map +1 -1
  871. package/dist/src/functions/update-dependency.function.test.d.ts +2 -0
  872. package/dist/src/functions/update-dependency.function.test.d.ts.map +1 -0
  873. package/dist/src/functions/update-dependency.function.test.js +181 -0
  874. package/dist/src/functions/update-dependency.function.test.js.map +1 -0
  875. package/dist/src/functions/update-email-template.function.d.ts +4 -4
  876. package/dist/src/functions/update-email-template.function.d.ts.map +1 -1
  877. package/dist/src/functions/update-email-template.function.js +2 -3
  878. package/dist/src/functions/update-email-template.function.js.map +1 -1
  879. package/dist/src/functions/update-function-body.function.d.ts +4 -4
  880. package/dist/src/functions/update-function-body.function.d.ts.map +1 -1
  881. package/dist/src/functions/update-function-body.function.js +2 -2
  882. package/dist/src/functions/update-function-body.function.js.map +1 -1
  883. package/dist/src/functions/update-function-config.function.d.ts +4 -4
  884. package/dist/src/functions/update-function-config.function.d.ts.map +1 -1
  885. package/dist/src/functions/update-function-config.function.js +2 -2
  886. package/dist/src/functions/update-function-config.function.js.map +1 -1
  887. package/dist/src/lib/addon-readiness.test.js +1 -1
  888. package/dist/src/lib/audit-exec.d.ts +2 -2
  889. package/dist/src/lib/audit-exec.d.ts.map +1 -1
  890. package/dist/src/lib/audit-exec.test.d.ts +2 -0
  891. package/dist/src/lib/audit-exec.test.d.ts.map +1 -0
  892. package/dist/src/lib/audit-exec.test.js +97 -0
  893. package/dist/src/lib/audit-exec.test.js.map +1 -0
  894. package/dist/src/lib/derive-instance-overrides.js +1 -1
  895. package/dist/src/lib/resolve-audit-users.d.ts +1 -1
  896. package/dist/src/lib/resolve-audit-users.d.ts.map +1 -1
  897. package/dist/src/lib/resolve-package-manager.d.ts +11 -0
  898. package/dist/src/lib/resolve-package-manager.d.ts.map +1 -1
  899. package/dist/src/lib/resolve-package-manager.js +49 -20
  900. package/dist/src/lib/resolve-package-manager.js.map +1 -1
  901. package/dist/src/lib/resolve-package-manager.test.js +39 -1
  902. package/dist/src/lib/resolve-package-manager.test.js.map +1 -1
  903. package/dist/src/lib/surface.d.ts +30 -0
  904. package/dist/src/lib/surface.d.ts.map +1 -0
  905. package/dist/src/lib/surface.js +47 -0
  906. package/dist/src/lib/surface.js.map +1 -0
  907. package/dist/src/lib/surface.test.d.ts +2 -0
  908. package/dist/src/lib/surface.test.d.ts.map +1 -0
  909. package/dist/src/lib/surface.test.js +99 -0
  910. package/dist/src/lib/surface.test.js.map +1 -0
  911. package/dist/src/lib/surface.types.d.ts +59 -0
  912. package/dist/src/lib/surface.types.d.ts.map +1 -0
  913. package/dist/src/lib/surface.types.js +2 -0
  914. package/dist/src/lib/surface.types.js.map +1 -0
  915. package/dist/src/scopes.js +21 -59
  916. package/dist/src/scopes.js.map +1 -1
  917. package/dist/src/services/addon-readiness.service.d.ts +2 -1
  918. package/dist/src/services/addon-readiness.service.d.ts.map +1 -1
  919. package/dist/src/services/addon-readiness.service.js.map +1 -1
  920. package/dist/src/services/addon.service.d.ts +5 -5
  921. package/dist/src/services/addon.service.d.ts.map +1 -1
  922. package/dist/src/services/db-schema.service.d.ts +1 -1
  923. package/dist/src/services/db-schema.service.d.ts.map +1 -1
  924. package/dist/src/services/wiring.service.d.ts +7 -7
  925. package/dist/src/services/wiring.service.d.ts.map +1 -1
  926. package/dist/src/services.d.ts +1 -1
  927. package/dist/src/services.d.ts.map +1 -1
  928. package/dist/src/services.js +12 -9
  929. package/dist/src/services.js.map +1 -1
  930. package/dist/types/application-types.d.ts +10 -2
  931. package/package.json +17 -20
  932. package/dist/.pikku/schemas/schemas/GetAuditFiltersOutput.schema.json +0 -1
  933. package/dist/.pikku/schemas/schemas/GetAuditsInput.schema.json +0 -1
  934. package/dist/.pikku/schemas/schemas/GetAuditsOutput.schema.json +0 -1
@@ -0,0 +1,118 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Middleware type definitions and registration for all wirings
6
+ */
7
+ import type { CorePikkuMiddleware, MiddlewarePriority } from '@pikku/core/middleware';
8
+ import { CorePikkuChannelMiddleware, CorePikkuChannelMiddlewareFactory } from '@pikku/core/channel';
9
+ import type { PikkuAgentMiddlewareHooks } from '@pikku/core/agent';
10
+ import type { Services, SingletonServices, WiredSingletonServices } from '../function/pikku-function-types.gen.js';
11
+ export { cors } from '@pikku/core/middleware';
12
+ export type { MiddlewarePriority };
13
+ /**
14
+ * Type-safe middleware definition that can access your application's services and session.
15
+ * Use this to define reusable middleware that can be applied to multiple wirings.
16
+ *
17
+ * @template RequiredServices - The services required for this middleware
18
+ */
19
+ export type PikkuMiddleware<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuMiddleware<RequiredServices>;
20
+ /**
21
+ * Configuration object for creating middleware with metadata
22
+ */
23
+ type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = WiredSingletonServices> = {
24
+ /** The middleware function */
25
+ func: PikkuMiddleware<RequiredServices>;
26
+ /** Optional human-readable name for the middleware */
27
+ name?: string;
28
+ /** Optional description of what the middleware does */
29
+ description?: string;
30
+ /** Execution priority. `highest` runs first (outermost). Defaults to 'medium'. */
31
+ priority?: MiddlewarePriority;
32
+ };
33
+ /**
34
+ * Factory function for creating middleware with tree-shaking support.
35
+ * Supports both direct function and configuration object syntax.
36
+ *
37
+ * @example
38
+ * ```typescript
39
+ * // Direct function syntax
40
+ * const middleware = pikkuMiddleware(({ logger }, wires, next) => {
41
+ * logger.info('Middleware executed')
42
+ * await next()
43
+ * })
44
+ *
45
+ * // Configuration object syntax with metadata
46
+ * const logMiddleware = pikkuMiddleware({
47
+ * name: 'Request Logger',
48
+ * description: 'Logs all incoming requests',
49
+ * priority: 'high',
50
+ * func: async ({ logger }, wires, next) => {
51
+ * logger.info('Request started')
52
+ * await next()
53
+ * }
54
+ * })
55
+ * ```
56
+ */
57
+ export declare const pikkuMiddleware: <RequiredServices extends SingletonServices = WiredSingletonServices>(middleware: PikkuMiddleware<RequiredServices> | PikkuMiddlewareConfig<RequiredServices>) => PikkuMiddleware<RequiredServices>;
58
+ /**
59
+ * Factory function for creating middleware factories
60
+ * Use this when your middleware needs configuration/input parameters
61
+ *
62
+ * @example
63
+ * ```typescript
64
+ * export const logMiddleware = pikkuMiddlewareFactory<LogOptions>(({
65
+ * message,
66
+ * level = 'info'
67
+ * }) => {
68
+ * return pikkuMiddleware(async ({ logger }, next) => {
69
+ * logger[level](message)
70
+ * await next()
71
+ * })
72
+ * })
73
+ * ```
74
+ */
75
+ export declare const pikkuMiddlewareFactory: <In = any>(factory: (input: In) => PikkuMiddleware) => ((input: In) => PikkuMiddleware);
76
+ /**
77
+ * Wire-agnostic global middleware. Runs at the top of every wiring's
78
+ * middleware chain — before wire-, tag-, and function-level entries.
79
+ *
80
+ * Resolution order: global -> wire -> tag -> function.
81
+ *
82
+ * @example
83
+ * addGlobalMiddleware([telemetryMiddleware])
84
+ */
85
+ export declare const addGlobalMiddleware: (middleware: PikkuMiddleware[]) => void;
86
+ /**
87
+ * Tag-scoped middleware. Applies to any wiring that carries the matching tag.
88
+ *
89
+ * @example
90
+ * addTagMiddleware('admin', [adminMiddleware])
91
+ */
92
+ export declare const addTagMiddleware: (tag: string, middleware: PikkuMiddleware[]) => void;
93
+ /**
94
+ * Registers HTTP middleware either globally or for a specific route pattern.
95
+ *
96
+ * When a string route pattern is provided along with middleware, the middleware
97
+ * is applied only to that route. Otherwise, if an array is provided, it is treated
98
+ * as global middleware (applied to all routes).
99
+ *
100
+ * @param routeOrMiddleware - Either a global middleware array or a route pattern string
101
+ * @param middleware - The middleware array to apply when a route pattern is specified
102
+ *
103
+ * @example
104
+ * ```typescript
105
+ * // Add global HTTP middleware
106
+ * addHTTPMiddleware([authMiddleware, loggingMiddleware])
107
+ *
108
+ * // Add route-specific middleware
109
+ * addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
110
+ * ```
111
+ */
112
+ export declare const addHTTPMiddleware: (routeOrMiddleware: PikkuMiddleware[] | string, middleware?: PikkuMiddleware[]) => void;
113
+ export type PikkuChannelMiddleware<RequiredServices extends Services = Services, Event = unknown> = CorePikkuChannelMiddleware<RequiredServices, Event>;
114
+ export declare const pikkuChannelMiddleware: <RequiredServices extends Services = Services, Event = unknown>(middleware: PikkuChannelMiddleware<RequiredServices, Event>) => PikkuChannelMiddleware<RequiredServices, Event>;
115
+ export declare const pikkuChannelMiddlewareFactory: <In = any>(factory: CorePikkuChannelMiddlewareFactory<In>) => CorePikkuChannelMiddlewareFactory<In>;
116
+ export declare const addChannelMiddleware: (tag: string, middleware: PikkuChannelMiddleware[]) => CorePikkuChannelMiddleware[];
117
+ export declare const pikkuAgentMiddleware: <State extends Record<string, unknown> = Record<string, unknown>, RequiredServices extends Services = Services>(hooks: PikkuAgentMiddlewareHooks<State, RequiredServices>) => PikkuAgentMiddlewareHooks<State, RequiredServices>;
118
+ //# sourceMappingURL=pikku-middleware-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-middleware-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/middleware/pikku-middleware-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGrF,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EAElC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAA;AAElH,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,YAAY,EAAE,kBAAkB,EAAE,CAAA;AAElC;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CAAC,gBAAgB,SAAS,iBAAiB,GAAG,sBAAsB,IAAI,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;AAExI;;GAEG;AACH,KAAK,qBAAqB,CAAC,gBAAgB,SAAS,iBAAiB,GAAG,sBAAsB,IAAI;IAChG,8BAA8B;IAC9B,IAAI,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAA;IACvC,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,eAAe,GAAI,gBAAgB,SAAS,iBAAiB,GAAG,sBAAsB,EACjG,YAAY,eAAe,CAAC,gBAAgB,CAAC,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,KACtF,eAAe,CAAC,gBAAgB,CAElC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,sBAAsB,GAAI,EAAE,GAAG,GAAG,EAC7C,SAAS,CAAC,KAAK,EAAE,EAAE,KAAK,eAAe,KACtC,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,eAAe,CAEjC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,GAAI,YAAY,eAAe,EAAE,SAEhE,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,EAAE,YAAY,eAAe,EAAE,SAE1E,CAAA;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,iBAAiB,GAC5B,mBAAmB,eAAe,EAAE,GAAG,MAAM,EAC7C,aAAa,eAAe,EAAE,SAG/B,CAAA;AAED,MAAM,MAAM,sBAAsB,CAAC,gBAAgB,SAAS,QAAQ,GAAG,QAAQ,EAAE,KAAK,GAAG,OAAO,IAAI,0BAA0B,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAA;AAEvJ,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,SAAS,QAAQ,GAAG,QAAQ,EAAE,KAAK,GAAG,OAAO,EAClG,YAAY,sBAAsB,CAAC,gBAAgB,EAAE,KAAK,CAAC,KAC1D,sBAAsB,CAAC,gBAAgB,EAAE,KAAK,CAEhD,CAAA;AAED,eAAO,MAAM,6BAA6B,GAAI,EAAE,GAAG,GAAG,EACpD,SAAS,iCAAiC,CAAC,EAAE,CAAC,KAC7C,iCAAiC,CAAC,EAAE,CAEtC,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM,EAAE,YAAY,sBAAsB,EAAE,iCACnB,CAAA;AAEnE,eAAO,MAAM,oBAAoB,GAC/B,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,gBAAgB,SAAS,QAAQ,GAAG,QAAQ,EAE5C,OAAO,yBAAyB,CAAC,KAAK,EAAE,gBAAgB,CAAC,KACxD,yBAAyB,CAAC,KAAK,EAAE,gBAAgB,CAAU,CAAA"}
@@ -0,0 +1,109 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Middleware type definitions and registration for all wirings
6
+ */
7
+ import { addTagMiddleware as addTagMiddlewareCore, addGlobalMiddleware as addGlobalMiddlewareCore, pikkuMiddleware as pikkuMiddlewareCore } from '@pikku/core/middleware';
8
+ import { addHTTPMiddleware as addHTTPMiddlewareCore } from '@pikku/core/http';
9
+ import { addChannelMiddleware as addChannelMiddlewareCore, } from '@pikku/core/channel';
10
+ export { cors } from '@pikku/core/middleware';
11
+ /**
12
+ * Factory function for creating middleware with tree-shaking support.
13
+ * Supports both direct function and configuration object syntax.
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ * // Direct function syntax
18
+ * const middleware = pikkuMiddleware(({ logger }, wires, next) => {
19
+ * logger.info('Middleware executed')
20
+ * await next()
21
+ * })
22
+ *
23
+ * // Configuration object syntax with metadata
24
+ * const logMiddleware = pikkuMiddleware({
25
+ * name: 'Request Logger',
26
+ * description: 'Logs all incoming requests',
27
+ * priority: 'high',
28
+ * func: async ({ logger }, wires, next) => {
29
+ * logger.info('Request started')
30
+ * await next()
31
+ * }
32
+ * })
33
+ * ```
34
+ */
35
+ export const pikkuMiddleware = (middleware) => {
36
+ return pikkuMiddlewareCore(middleware);
37
+ };
38
+ /**
39
+ * Factory function for creating middleware factories
40
+ * Use this when your middleware needs configuration/input parameters
41
+ *
42
+ * @example
43
+ * ```typescript
44
+ * export const logMiddleware = pikkuMiddlewareFactory<LogOptions>(({
45
+ * message,
46
+ * level = 'info'
47
+ * }) => {
48
+ * return pikkuMiddleware(async ({ logger }, next) => {
49
+ * logger[level](message)
50
+ * await next()
51
+ * })
52
+ * })
53
+ * ```
54
+ */
55
+ export const pikkuMiddlewareFactory = (factory) => {
56
+ return factory;
57
+ };
58
+ /**
59
+ * Wire-agnostic global middleware. Runs at the top of every wiring's
60
+ * middleware chain — before wire-, tag-, and function-level entries.
61
+ *
62
+ * Resolution order: global -> wire -> tag -> function.
63
+ *
64
+ * @example
65
+ * addGlobalMiddleware([telemetryMiddleware])
66
+ */
67
+ export const addGlobalMiddleware = (middleware) => {
68
+ addGlobalMiddlewareCore(middleware, '@pikku/addon-console');
69
+ };
70
+ /**
71
+ * Tag-scoped middleware. Applies to any wiring that carries the matching tag.
72
+ *
73
+ * @example
74
+ * addTagMiddleware('admin', [adminMiddleware])
75
+ */
76
+ export const addTagMiddleware = (tag, middleware) => {
77
+ addTagMiddlewareCore(tag, middleware, '@pikku/addon-console');
78
+ };
79
+ /**
80
+ * Registers HTTP middleware either globally or for a specific route pattern.
81
+ *
82
+ * When a string route pattern is provided along with middleware, the middleware
83
+ * is applied only to that route. Otherwise, if an array is provided, it is treated
84
+ * as global middleware (applied to all routes).
85
+ *
86
+ * @param routeOrMiddleware - Either a global middleware array or a route pattern string
87
+ * @param middleware - The middleware array to apply when a route pattern is specified
88
+ *
89
+ * @example
90
+ * ```typescript
91
+ * // Add global HTTP middleware
92
+ * addHTTPMiddleware([authMiddleware, loggingMiddleware])
93
+ *
94
+ * // Add route-specific middleware
95
+ * addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
96
+ * ```
97
+ */
98
+ export const addHTTPMiddleware = (routeOrMiddleware, middleware) => {
99
+ addHTTPMiddlewareCore(routeOrMiddleware, middleware);
100
+ };
101
+ export const pikkuChannelMiddleware = (middleware) => {
102
+ return middleware;
103
+ };
104
+ export const pikkuChannelMiddlewareFactory = (factory) => {
105
+ return factory;
106
+ };
107
+ export const addChannelMiddleware = (tag, middleware) => addChannelMiddlewareCore(tag, middleware, '@pikku/addon-console');
108
+ export const pikkuAgentMiddleware = (hooks) => hooks;
109
+ //# sourceMappingURL=pikku-middleware-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-middleware-types.gen.js","sourceRoot":"","sources":["../../../.pikku/middleware/pikku-middleware-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,OAAO,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,eAAe,IAAI,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACzK,OAAO,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAGL,oBAAoB,IAAI,wBAAwB,GACjD,MAAM,qBAAqB,CAAA;AAI5B,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAyB7C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAAuF,EACpD,EAAE;IACrC,OAAO,mBAAmB,CAAC,UAAU,CAAC,CAAA;AACxC,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,OAAuC,EACL,EAAE;IACpC,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,UAA6B,EAAE,EAAE;IACnE,uBAAuB,CAAC,UAAiB,EAAE,sBAAsB,CAAC,CAAA;AACpE,CAAC,CAAA;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,UAA6B,EAAE,EAAE;IAC7E,oBAAoB,CAAC,GAAG,EAAE,UAAiB,EAAE,sBAAsB,CAAC,CAAA;AACtE,CAAC,CAAA;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,iBAA6C,EAC7C,UAA8B,EAC9B,EAAE;IACF,qBAAqB,CAAC,iBAAwB,EAAE,UAAiB,CAAC,CAAA;AACpE,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,UAA2D,EACV,EAAE;IACnD,OAAO,UAAU,CAAA;AACnB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,OAA8C,EACP,EAAE;IACzC,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,GAAW,EAAE,UAAoC,EAAE,EAAE,CACxF,wBAAwB,CAAC,GAAG,EAAE,UAAU,EAAE,sBAAsB,CAAC,CAAA;AAEnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAIlC,KAAyD,EACL,EAAE,CAAC,KAAK,CAAA"}
@@ -11,9 +11,9 @@ export declare const requiredSingletonServices: {
11
11
  readonly agentRunner: false;
12
12
  readonly agentStorage: false;
13
13
  readonly aiEmbedding: false;
14
- readonly audit: true;
14
+ readonly audit: false;
15
15
  readonly auditLog: false;
16
- readonly auth: true;
16
+ readonly auth: false;
17
17
  readonly codeEditService: true;
18
18
  readonly config: true;
19
19
  readonly content: false;
@@ -28,9 +28,10 @@ export declare const requiredSingletonServices: {
28
28
  readonly logger: true;
29
29
  readonly metaService: true;
30
30
  readonly queueService: false;
31
+ readonly scenarioRunStore: true;
31
32
  readonly schedulerService: false;
32
33
  readonly schema: true;
33
- readonly scopeService: true;
34
+ readonly scopeService: false;
34
35
  readonly secretAdminService: true;
35
36
  readonly secrets: true;
36
37
  readonly sessionStore: false;
@@ -43,7 +44,7 @@ export declare const requiredSingletonServices: {
43
44
  readonly workflowService: false;
44
45
  };
45
46
  export declare const requiredWireServices: {};
46
- export type RequiredSingletonServices = Required<Pick<SingletonServices, 'addonReadinessService' | 'addonService' | 'agentRunService' | 'agentRunState' | 'audit' | 'auth' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'schema' | 'scopeService' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>> & Partial<Omit<SingletonServices, 'addonReadinessService' | 'addonService' | 'agentRunService' | 'agentRunState' | 'audit' | 'auth' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'schema' | 'scopeService' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>>;
47
+ export type RequiredSingletonServices = Required<Pick<SingletonServices, 'addonReadinessService' | 'addonService' | 'agentRunService' | 'agentRunState' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'scenarioRunStore' | 'schema' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>> & Partial<Omit<SingletonServices, 'addonReadinessService' | 'addonService' | 'agentRunService' | 'agentRunState' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'scenarioRunStore' | 'schema' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>>;
47
48
  export type RequiredWireServices = Partial<Services>;
48
- export declare const requiredParentServices: readonly ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "scopeService", "webhookService", "audit", "auth"];
49
+ export declare const requiredParentServices: readonly ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "webhookService", "auth"];
49
50
  //# sourceMappingURL=pikku-services.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,GAAG,cAAc,GAAG,oBAAoB,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,GAAG,cAAc,GAAG,oBAAoB,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,CAAA;AAEh2B,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,kSAAmR,CAAA"}
1
+ {"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,kBAAkB,GAAG,QAAQ,GAAG,oBAAoB,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,kBAAkB,GAAG,QAAQ,GAAG,oBAAoB,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,CAAA;AAEl0B,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,yQAA4P,CAAA"}
@@ -7,9 +7,9 @@ export const requiredSingletonServices = {
7
7
  'agentRunner': false,
8
8
  'agentStorage': false,
9
9
  'aiEmbedding': false,
10
- 'audit': true,
10
+ 'audit': false,
11
11
  'auditLog': false,
12
- 'auth': true,
12
+ 'auth': false,
13
13
  'codeEditService': true,
14
14
  'config': true,
15
15
  'content': false,
@@ -24,9 +24,10 @@ export const requiredSingletonServices = {
24
24
  'logger': true,
25
25
  'metaService': true,
26
26
  'queueService': false,
27
+ 'scenarioRunStore': true,
27
28
  'schedulerService': false,
28
29
  'schema': true,
29
- 'scopeService': true,
30
+ 'scopeService': false,
30
31
  'secretAdminService': true,
31
32
  'secrets': true,
32
33
  'sessionStore': false,
@@ -41,5 +42,5 @@ export const requiredSingletonServices = {
41
42
  // Wire services map: true if required, false if available but unused
42
43
  export const requiredWireServices = {};
43
44
  // Services this addon needs from the parent project
44
- export const requiredParentServices = ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "scopeService", "webhookService", "audit", "auth"];
45
+ export const requiredParentServices = ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "webhookService", "auth"];
45
46
  //# sourceMappingURL=pikku-services.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,uBAAuB,EAAE,IAAI;IAC7B,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,IAAI;IACZ,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,IAAI;IACzB,iBAAiB,EAAE,IAAI;IACvB,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,IAAI;IACpB,oBAAoB,EAAE,IAAI;IAC1B,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,IAAI;IACxB,WAAW,EAAE,IAAI;IACjB,qBAAqB,EAAE,KAAK;IAC5B,gBAAgB,EAAE,IAAI;IACtB,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,WAAW,EAAC,SAAS,EAAC,aAAa,EAAC,aAAa,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,cAAc,EAAC,eAAe,EAAC,mBAAmB,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,cAAc,EAAC,gBAAgB,EAAC,OAAO,EAAC,MAAM,CAAU,CAAA"}
1
+ {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,uBAAuB,EAAE,IAAI;IAC7B,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,IAAI;IACzB,iBAAiB,EAAE,IAAI;IACvB,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,IAAI;IACxB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,oBAAoB,EAAE,IAAI;IAC1B,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,IAAI;IACxB,WAAW,EAAE,IAAI;IACjB,qBAAqB,EAAE,KAAK;IAC5B,gBAAgB,EAAE,IAAI;IACtB,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,WAAW,EAAC,SAAS,EAAC,aAAa,EAAC,aAAa,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,cAAc,EAAC,eAAe,EAAC,mBAAmB,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,gBAAgB,EAAC,MAAM,CAAU,CAAA"}
@@ -6,7 +6,6 @@
6
6
  */
7
7
  export * from './function/pikku-function-types.gen.js';
8
8
  export * from './trigger/pikku-trigger-types.gen.js';
9
- export * from './console/pikku-node-types.gen.js';
10
9
  export * from './secrets/pikku-secret-types.gen.js';
11
10
  export * from './scopes/pikku-scope-types.gen.js';
12
11
  export * from './addon/pikku-addon-types.gen.js';
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,kCAAkC,CAAA"}
1
+ {"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,kCAAkC,CAAA"}
@@ -8,8 +8,6 @@
8
8
  export * from './function/pikku-function-types.gen.js';
9
9
  // Trigger wiring types
10
10
  export * from './trigger/pikku-trigger-types.gen.js';
11
- // Node wiring types
12
- export * from './console/pikku-node-types.gen.js';
13
11
  // Secret definition types
14
12
  export * from './secrets/pikku-secret-types.gen.js';
15
13
  // Scope definition types
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,yBAAyB;AACzB,cAAc,mCAAmC,CAAA;AAEjD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
1
+ {"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,yBAAyB;AACzB,cAAc,mCAAmC,CAAA;AAEjD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/queue` resolves here.
6
+ */
7
+ export * from './pikku-queue-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.105
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/queue` resolves here.
6
+ */
7
+ export * from './pikku-queue-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../.pikku/queue/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
6
6
  */
7
- import { CoreQueueWorker } from '@pikku/core/ecosystem/queue';
7
+ import { CoreQueueWorker } from '@pikku/core/queue';
8
8
  import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
9
9
  /**
10
10
  * Type definition for queue workers that process background jobs.
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
1
+ {"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
@@ -7,48 +7,37 @@
7
7
 
8
8
 
9
9
  import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
10
- import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
11
10
  import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
12
11
  import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
13
- import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta, SecurityAuditReport } from '@pikku/core'
14
- import type { ScenarioSurface } from '@pikku/core/workflow'
12
+ import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, PermissionMetadata } from '../../../../core/dist/function/function-meta.types.d.js'
13
+ import type { ScenarioSurface } from '@pikku/core/scenario'
15
14
  import type { AuditDurability } from '@pikku/core/services'
15
+ import type { MiddlewareMetadata } from '../../../../core/dist/middleware/middleware.types.d.js'
16
+ import type { CommonWireMeta, SecurityAuditReport } from '@pikku/core/types'
16
17
  import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
17
18
  import type { ScorerListEntry } from '../../src/functions/get-scorers.function.js'
18
19
  import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
19
20
  import type { WorkflowContext } from '@pikku/core/workflow/types'
21
+ import type { ScenarioRunSummary, ScenarioRunRecord } from '@pikku/core/scenario'
20
22
  import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '@pikku/core/services'
21
- import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
22
- import type { Role } from '@pikku/core/services'
23
23
  import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
24
24
  import type { AddonMetaQuery, AddonMetaPage, AddonPackageInfo } from '../../src/services/addon.service.js'
25
25
  import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
26
- import type { GetAuditFiltersOutput } from '../../src/functions/get-audit-filters.function.js'
27
- import type { GetAuditsInput, GetAuditsOutput } from '../../src/functions/get-audits.function.js'
28
26
  import type { AuthProvidersMeta } from '../../src/functions/get-auth-providers.function.js'
29
27
  import type { DbSchema } from '../../src/services/db-schema.service.js'
30
28
  import type { KnowledgeBundle } from '../../src/services/knowledge.service.js'
31
29
  import type { JSONSchema7 } from 'json-schema'
32
30
  import type { StateDiff } from '../../src/services/state-diff.service.js'
31
+ import type { SurfaceResult } from '../../src/lib/surface.types.js'
33
32
  import type { RenderEmailPreviewInput, RenderEmailPreviewOutput } from '../../src/functions/render-email-preview.function.js'
34
33
 
35
34
  export type AddonReadinessInput = { packageName: string; namespace: string; }
36
35
  export type AddonReadinessOutput = { ready: boolean; missingSecrets: string[]; missingVariables: string[]; }
37
36
  export type AgentCredentialCheckInput = { agentName: string; }
38
37
  export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
39
- export type CredentialDeleteInput = { name: string; userId?: string | undefined; }
40
- export type CredentialDeleteOutput = { success: boolean; }
41
- export type CredentialGetInput = { name: string; userId?: string | undefined; }
42
- export type CredentialGetOutput = { value: unknown; }
43
- export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
44
- export type CredentialSetInput = { name: string; value: unknown; userId?: string | undefined; }
45
- export type CredentialSetOutput = { success: boolean; }
46
- export type CredentialStatusInput = { names: string[]; userId?: string | undefined; }
47
- export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
48
- export type CredentialUsersInput = { name: string; }
49
- export type CredentialUsersOutput = { userIds: string[]; }
50
38
  export type DeleteAgentThreadInput = { threadId: string; }
51
39
  export type DeleteAgentThreadOutput = { deleted: boolean; }
40
+ export type DeleteScenarioRunInput = { runId: string; }
52
41
  export type DeleteWorkflowRunInput = { runId: string; }
53
42
  export type DeleteWorkflowRunOutput = { deleted: boolean; }
54
43
  export type GetAddonCategoriesOutput = Record<string, number>
@@ -74,6 +63,8 @@ export type GetOpenapiDetailInput = { name: string; }
74
63
  export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string | undefined; logo?: string | undefined; categories: string[]; tags: string[]; added?: string | undefined; updated?: string | undefined; }
75
64
  export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
76
65
  export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string | undefined; }[]; total: number; nextCursor: number | null; }
66
+ export type GetScenarioArtifactInput = { runId: string; path: string; }
67
+ export type GetScenarioRunInput = { runId: string; }
77
68
  export type GetSchemaInput = { schemaName: string; }
78
69
  export type GetScorersOutput = ScorerListEntry[]
79
70
  export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
@@ -95,6 +86,8 @@ export type InstallAddonInput = { packageName: string; namespace: string; versio
95
86
  export type InstallAddonOutput = { success: boolean; message: string; restartRequired: boolean; ready: boolean; missingSecrets: string[]; missingVariables: string[]; namespace: string; }
96
87
  export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
97
88
  export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
89
+ export type ListScenarioRunsInput = { limit?: number | undefined; }
90
+ export type ListScenarioRunsOutput = ScenarioRunSummary[]
98
91
  export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
99
92
  export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
100
93
  export type PingOutput = { pong: true; }
@@ -104,24 +97,6 @@ export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string;
104
97
  export type ReadFunctionBodyOutput = { body: string; }
105
98
  export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
106
99
  export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
107
- export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
108
- export type ScopeAddScopeToUserOutput = { success: boolean; }
109
- export type ScopeAddUserToRoleInput = { userId: string; role: string; }
110
- export type ScopeAddUserToRoleOutput = { success: boolean; }
111
- export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
112
- export type ScopeCreateRoleOutput = { success: boolean; }
113
- export type ScopeDeleteRoleInput = { name: string; }
114
- export type ScopeDeleteRoleOutput = { success: boolean; }
115
- export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
116
- export type ScopeListRolesOutput = { roles: Role[]; }
117
- export type ScopeListUserRolesInput = { userId: string; }
118
- export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
119
- export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
120
- export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
121
- export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
122
- export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
123
- export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
124
- export type ScopeSetRoleScopesOutput = { success: boolean; }
125
100
  export type SecretGetInput = { secretId: string; }
126
101
  export type SecretGetOutput = { exists: boolean; value: unknown; }
127
102
  export type SecretHasInput = { secretId: string; }
@@ -147,13 +122,8 @@ interface RPCHandler<I, O> {
147
122
  export type RPCMap = {
148
123
  readonly 'addonReadiness': RPCHandler<AddonReadinessInput, AddonReadinessOutput>,
149
124
  readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
150
- readonly 'credentialDelete': RPCHandler<CredentialDeleteInput, CredentialDeleteOutput>,
151
- readonly 'credentialGet': RPCHandler<CredentialGetInput, CredentialGetOutput>,
152
- readonly 'credentialListUsers': RPCHandler<null, CredentialListUsersOutput>,
153
- readonly 'credentialSet': RPCHandler<CredentialSetInput, CredentialSetOutput>,
154
- readonly 'credentialStatus': RPCHandler<CredentialStatusInput, CredentialStatusOutput>,
155
- readonly 'credentialUsers': RPCHandler<CredentialUsersInput, CredentialUsersOutput>,
156
125
  readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
126
+ readonly 'deleteScenarioRun': RPCHandler<DeleteScenarioRunInput, null>,
157
127
  readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
158
128
  readonly 'getAddonCategories': RPCHandler<null, GetAddonCategoriesOutput>,
159
129
  readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
@@ -165,8 +135,6 @@ export type RPCMap = {
165
135
  readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
166
136
  readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
167
137
  readonly 'getAllMeta': RPCHandler<null, AllMeta>,
168
- readonly 'getAuditFilters': RPCHandler<null, GetAuditFiltersOutput>,
169
- readonly 'getAudits': RPCHandler<GetAuditsInput, GetAuditsOutput>,
170
138
  readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
171
139
  readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
172
140
  readonly 'getDbSchema': RPCHandler<null, DbSchema>,
@@ -178,10 +146,12 @@ export type RPCMap = {
178
146
  readonly 'getOpenapiCategories': RPCHandler<null, GetOpenapiCategoriesOutput>,
179
147
  readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
180
148
  readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
149
+ readonly 'getScenarioRun': RPCHandler<GetScenarioRunInput, ScenarioRunRecord>,
181
150
  readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
182
151
  readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
183
152
  readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
184
153
  readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
154
+ readonly 'getSurface': RPCHandler<null, SurfaceResult>,
185
155
  readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
186
156
  readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
187
157
  readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
@@ -192,6 +162,7 @@ export type RPCMap = {
192
162
  readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
193
163
  readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
194
164
  readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
165
+ readonly 'listScenarioRuns': RPCHandler<ListScenarioRunsInput, ListScenarioRunsOutput>,
195
166
  readonly 'listWebhookDeliveries': RPCHandler<ListWebhookDeliveriesInput, ListWebhookDeliveriesOutput>,
196
167
  readonly 'ping': RPCHandler<null, PingOutput>,
197
168
  readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
@@ -199,16 +170,6 @@ export type RPCMap = {
199
170
  readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
200
171
  readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
201
172
  readonly 'runSecurityAudit': RPCHandler<null, SecurityAuditReport>,
202
- readonly 'scopeAddScopeToUser': RPCHandler<ScopeAddScopeToUserInput, ScopeAddScopeToUserOutput>,
203
- readonly 'scopeAddUserToRole': RPCHandler<ScopeAddUserToRoleInput, ScopeAddUserToRoleOutput>,
204
- readonly 'scopeCreateRole': RPCHandler<ScopeCreateRoleInput, ScopeCreateRoleOutput>,
205
- readonly 'scopeDeleteRole': RPCHandler<ScopeDeleteRoleInput, ScopeDeleteRoleOutput>,
206
- readonly 'scopeListDeclared': RPCHandler<null, ScopeListDeclaredOutput>,
207
- readonly 'scopeListRoles': RPCHandler<null, ScopeListRolesOutput>,
208
- readonly 'scopeListUserRoles': RPCHandler<ScopeListUserRolesInput, ScopeListUserRolesOutput>,
209
- readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
210
- readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
211
- readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
212
173
  readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
213
174
  readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
214
175
  readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
@@ -253,7 +214,7 @@ type FlattenedAgentMap = AgentMap
253
214
 
254
215
 
255
216
  import type { PikkuRPC } from '@pikku/core/rpc'
256
- import type { AgentInput } from '@pikku/core/ecosystem/agent'
217
+ import type { AgentInput } from '@pikku/core/agent'
257
218
 
258
219
  export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
259
220
  name: Name,