@pikku/addon-console 0.12.38 → 0.12.40

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 (400) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  2. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  3. package/dist/.pikku/addon/pikku-package.gen.js +4 -3
  4. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  5. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  6. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -2
  7. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  8. package/dist/.pikku/agent/pikku-agent-types.gen.js +3 -0
  9. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  10. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts +2 -0
  11. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +1 -0
  12. package/dist/.pikku/agent/pikku-model-aliases.gen.js +6 -0
  13. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +1 -0
  14. package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +8 -0
  15. package/dist/.pikku/auth/auth.types.d.ts +1 -1
  16. package/dist/.pikku/auth/auth.types.js +1 -1
  17. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  18. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  19. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  20. package/dist/.pikku/function/pikku-function-types.gen.d.ts +10 -20
  21. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  22. package/dist/.pikku/function/pikku-function-types.gen.js +2 -2
  23. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  24. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +191 -18
  25. package/dist/.pikku/function/pikku-functions-meta.gen.js +2 -2
  26. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -1
  27. package/dist/.pikku/function/pikku-functions-meta.gen.json +141 -15
  28. package/dist/.pikku/function/pikku-functions.gen.js +11 -1
  29. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  30. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  31. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  32. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  33. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  34. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  35. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  36. package/dist/.pikku/pikku-bootstrap.gen.d.ts +2 -1
  37. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -1
  38. package/dist/.pikku/pikku-bootstrap.gen.js +2 -1
  39. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -1
  40. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  41. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  42. package/dist/.pikku/pikku-services.gen.d.ts +5 -4
  43. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  44. package/dist/.pikku/pikku-services.gen.js +3 -2
  45. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  46. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  47. package/dist/.pikku/pikku-types.gen.js +1 -1
  48. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  49. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  50. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +24 -14
  51. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +24 -14
  52. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +19 -14
  53. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +2 -2
  54. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -1
  55. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +5 -0
  56. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +2 -2
  57. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -1
  58. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  59. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +2 -2
  60. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -1
  61. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  62. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  63. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  64. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  65. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  66. package/dist/.pikku/schemas/register.gen.js +19 -1
  67. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  68. package/dist/.pikku/schemas/schemas/AddonMetaPage.schema.json +1 -1
  69. package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
  70. package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
  71. package/dist/.pikku/schemas/schemas/GetAgentRunScoresInput.schema.json +1 -0
  72. package/dist/.pikku/schemas/schemas/GetAgentRunScoresOutput.schema.json +1 -0
  73. package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
  74. package/dist/.pikku/schemas/schemas/GetScorersOutput.schema.json +1 -0
  75. package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -1
  76. package/dist/.pikku/schemas/schemas/KnowledgeBundle.schema.json +1 -1
  77. package/dist/.pikku/schemas/schemas/SecretGetInput.schema.json +1 -0
  78. package/dist/.pikku/schemas/schemas/SecretGetOutput.schema.json +1 -0
  79. package/dist/.pikku/schemas/schemas/SecretHasInput.schema.json +1 -0
  80. package/dist/.pikku/schemas/schemas/SecretHasOutput.schema.json +1 -0
  81. package/dist/.pikku/schemas/schemas/SecretSetInput.schema.json +1 -0
  82. package/dist/.pikku/schemas/schemas/SecretSetOutput.schema.json +1 -0
  83. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  84. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  85. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  86. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  87. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  88. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  89. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  90. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  91. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  92. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  93. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  94. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  95. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  96. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  97. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  98. package/dist/.pikku/workflow/pikku-personas.gen.js +1 -1
  99. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  100. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  101. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +18 -10
  102. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  103. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  104. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  105. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +2 -2
  106. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  107. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  108. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  109. package/dist/src/functions/agent-credential-check.function.d.ts +1 -1
  110. package/dist/src/functions/agent-credential-check.function.d.ts.map +1 -1
  111. package/dist/src/functions/agent-credential-check.function.js +1 -1
  112. package/dist/src/functions/agent-credential-check.function.js.map +1 -1
  113. package/dist/src/functions/credential-delete.function.d.ts +1 -1
  114. package/dist/src/functions/credential-delete.function.d.ts.map +1 -1
  115. package/dist/src/functions/credential-get.function.d.ts +1 -1
  116. package/dist/src/functions/credential-get.function.d.ts.map +1 -1
  117. package/dist/src/functions/credential-list-users.function.d.ts +1 -1
  118. package/dist/src/functions/credential-list-users.function.d.ts.map +1 -1
  119. package/dist/src/functions/credential-set.function.d.ts +1 -1
  120. package/dist/src/functions/credential-set.function.d.ts.map +1 -1
  121. package/dist/src/functions/credential-status.function.d.ts +1 -1
  122. package/dist/src/functions/credential-status.function.d.ts.map +1 -1
  123. package/dist/src/functions/credential-users.function.d.ts +1 -1
  124. package/dist/src/functions/credential-users.function.d.ts.map +1 -1
  125. package/dist/src/functions/delete-agent-thread.function.d.ts +1 -1
  126. package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -1
  127. package/dist/src/functions/delete-workflow-run.function.d.ts +1 -1
  128. package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -1
  129. package/dist/src/functions/get-addon-categories.function.d.ts +1 -1
  130. package/dist/src/functions/get-addon-categories.function.d.ts.map +1 -1
  131. package/dist/src/functions/get-addon-icon.function.d.ts +1 -1
  132. package/dist/src/functions/get-addon-icon.function.d.ts.map +1 -1
  133. package/dist/src/functions/get-addon-instances.function.d.ts +1 -1
  134. package/dist/src/functions/get-addon-instances.function.d.ts.map +1 -1
  135. package/dist/src/functions/get-addon-instances.function.js +1 -1
  136. package/dist/src/functions/get-addon-instances.function.js.map +1 -1
  137. package/dist/src/functions/get-addon-meta.function.d.ts +1 -1
  138. package/dist/src/functions/get-addon-meta.function.d.ts.map +1 -1
  139. package/dist/src/functions/get-addon-package.function.d.ts +1 -1
  140. package/dist/src/functions/get-addon-package.function.d.ts.map +1 -1
  141. package/dist/src/functions/get-agent-run-scores.function.d.ts +8 -0
  142. package/dist/src/functions/get-agent-run-scores.function.d.ts.map +1 -0
  143. package/dist/src/functions/get-agent-run-scores.function.js +24 -0
  144. package/dist/src/functions/get-agent-run-scores.function.js.map +1 -0
  145. package/dist/src/functions/get-agent-run-scores.function.test.d.ts +2 -0
  146. package/dist/src/functions/get-agent-run-scores.function.test.d.ts.map +1 -0
  147. package/dist/src/functions/get-agent-run-scores.function.test.js +34 -0
  148. package/dist/src/functions/get-agent-run-scores.function.test.js.map +1 -0
  149. package/dist/src/functions/get-agent-thread-messages.function.d.ts +1 -1
  150. package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -1
  151. package/dist/src/functions/get-agent-thread-runs.function.d.ts +1 -1
  152. package/dist/src/functions/get-agent-thread-runs.function.d.ts.map +1 -1
  153. package/dist/src/functions/get-agent-thread-runs.function.js +14 -3
  154. package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -1
  155. package/dist/src/functions/get-agent-thread-runs.function.test.d.ts +2 -0
  156. package/dist/src/functions/get-agent-thread-runs.function.test.d.ts.map +1 -0
  157. package/dist/src/functions/get-agent-thread-runs.function.test.js +27 -0
  158. package/dist/src/functions/get-agent-thread-runs.function.test.js.map +1 -0
  159. package/dist/src/functions/get-agent-threads.function.d.ts +1 -1
  160. package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
  161. package/dist/src/functions/get-all-meta.function.d.ts +1 -1
  162. package/dist/src/functions/get-all-meta.function.d.ts.map +1 -1
  163. package/dist/src/functions/get-audit-filters.function.d.ts +1 -1
  164. package/dist/src/functions/get-audit-filters.function.d.ts.map +1 -1
  165. package/dist/src/functions/get-audits.function.d.ts +1 -1
  166. package/dist/src/functions/get-audits.function.d.ts.map +1 -1
  167. package/dist/src/functions/get-auth-providers.function.d.ts +1 -1
  168. package/dist/src/functions/get-auth-providers.function.d.ts.map +1 -1
  169. package/dist/src/functions/get-channel-snippets.function.d.ts +1 -1
  170. package/dist/src/functions/get-channel-snippets.function.d.ts.map +1 -1
  171. package/dist/src/functions/get-db-schema.function.d.ts +1 -1
  172. package/dist/src/functions/get-db-schema.function.d.ts.map +1 -1
  173. package/dist/src/functions/get-functions-meta.function.d.ts +1 -1
  174. package/dist/src/functions/get-functions-meta.function.d.ts.map +1 -1
  175. package/dist/src/functions/get-installed-addons.function.d.ts +1 -1
  176. package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -1
  177. package/dist/src/functions/get-installed-addons.function.js +1 -1
  178. package/dist/src/functions/get-installed-addons.function.js.map +1 -1
  179. package/dist/src/functions/get-installed-package.function.d.ts +1 -1
  180. package/dist/src/functions/get-installed-package.function.d.ts.map +1 -1
  181. package/dist/src/functions/get-installed-package.function.js +1 -1
  182. package/dist/src/functions/get-installed-package.function.js.map +1 -1
  183. package/dist/src/functions/get-knowledge.function.d.ts +1 -1
  184. package/dist/src/functions/get-knowledge.function.d.ts.map +1 -1
  185. package/dist/src/functions/get-my-access.function.d.ts +1 -1
  186. package/dist/src/functions/get-my-access.function.d.ts.map +1 -1
  187. package/dist/src/functions/get-openapi-categories.function.d.ts +1 -1
  188. package/dist/src/functions/get-openapi-categories.function.d.ts.map +1 -1
  189. package/dist/src/functions/get-openapi-detail.function.d.ts +1 -1
  190. package/dist/src/functions/get-openapi-detail.function.d.ts.map +1 -1
  191. package/dist/src/functions/get-openapis.function.d.ts +1 -1
  192. package/dist/src/functions/get-openapis.function.d.ts.map +1 -1
  193. package/dist/src/functions/get-schema.function.d.ts +1 -1
  194. package/dist/src/functions/get-schema.function.d.ts.map +1 -1
  195. package/dist/src/functions/get-scorers.function.d.ts +13 -0
  196. package/dist/src/functions/get-scorers.function.d.ts.map +1 -0
  197. package/dist/src/functions/get-scorers.function.js +25 -0
  198. package/dist/src/functions/get-scorers.function.js.map +1 -0
  199. package/dist/src/functions/get-security-audit.function.d.ts +1 -1
  200. package/dist/src/functions/get-security-audit.function.d.ts.map +1 -1
  201. package/dist/src/functions/get-state-diff.function.d.ts +1 -1
  202. package/dist/src/functions/get-state-diff.function.d.ts.map +1 -1
  203. package/dist/src/functions/get-webhook-delivery.function.d.ts +1 -1
  204. package/dist/src/functions/get-webhook-delivery.function.d.ts.map +1 -1
  205. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts +1 -1
  206. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts.map +1 -1
  207. package/dist/src/functions/get-workflow-run-history.function.d.ts +1 -1
  208. package/dist/src/functions/get-workflow-run-history.function.d.ts.map +1 -1
  209. package/dist/src/functions/get-workflow-run-names.function.d.ts +1 -1
  210. package/dist/src/functions/get-workflow-run-names.function.d.ts.map +1 -1
  211. package/dist/src/functions/get-workflow-run-steps.function.d.ts +1 -1
  212. package/dist/src/functions/get-workflow-run-steps.function.d.ts.map +1 -1
  213. package/dist/src/functions/get-workflow-run.function.d.ts +1 -1
  214. package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -1
  215. package/dist/src/functions/get-workflow-runs.function.d.ts +1 -1
  216. package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -1
  217. package/dist/src/functions/get-workflow-version.function.d.ts +1 -1
  218. package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -1
  219. package/dist/src/functions/install-addon.function.d.ts +1 -1
  220. package/dist/src/functions/install-addon.function.d.ts.map +1 -1
  221. package/dist/src/functions/install-openapi-addon.function.d.ts +1 -1
  222. package/dist/src/functions/install-openapi-addon.function.d.ts.map +1 -1
  223. package/dist/src/functions/list-webhook-deliveries.function.d.ts +1 -1
  224. package/dist/src/functions/list-webhook-deliveries.function.d.ts.map +1 -1
  225. package/dist/src/functions/ping.function.d.ts +1 -1
  226. package/dist/src/functions/ping.function.d.ts.map +1 -1
  227. package/dist/src/functions/read-agent-source.function.d.ts +1 -1
  228. package/dist/src/functions/read-agent-source.function.d.ts.map +1 -1
  229. package/dist/src/functions/read-function-body.function.d.ts +1 -1
  230. package/dist/src/functions/read-function-body.function.d.ts.map +1 -1
  231. package/dist/src/functions/read-function-source.function.d.ts +1 -1
  232. package/dist/src/functions/read-function-source.function.d.ts.map +1 -1
  233. package/dist/src/functions/render-email-preview.function.d.ts +1 -1
  234. package/dist/src/functions/render-email-preview.function.d.ts.map +1 -1
  235. package/dist/src/functions/run-security-audit.function.d.ts +1 -1
  236. package/dist/src/functions/run-security-audit.function.d.ts.map +1 -1
  237. package/dist/src/functions/scope-add-scope-to-user.function.d.ts +1 -1
  238. package/dist/src/functions/scope-add-scope-to-user.function.d.ts.map +1 -1
  239. package/dist/src/functions/scope-add-user-to-role.function.d.ts +1 -1
  240. package/dist/src/functions/scope-add-user-to-role.function.d.ts.map +1 -1
  241. package/dist/src/functions/scope-create-role.function.d.ts +1 -1
  242. package/dist/src/functions/scope-create-role.function.d.ts.map +1 -1
  243. package/dist/src/functions/scope-delete-role.function.d.ts +1 -1
  244. package/dist/src/functions/scope-delete-role.function.d.ts.map +1 -1
  245. package/dist/src/functions/scope-list-declared.function.d.ts +1 -1
  246. package/dist/src/functions/scope-list-declared.function.d.ts.map +1 -1
  247. package/dist/src/functions/scope-list-roles.function.d.ts +1 -1
  248. package/dist/src/functions/scope-list-roles.function.d.ts.map +1 -1
  249. package/dist/src/functions/scope-list-user-roles.function.d.ts +1 -1
  250. package/dist/src/functions/scope-list-user-roles.function.d.ts.map +1 -1
  251. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts +1 -1
  252. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts.map +1 -1
  253. package/dist/src/functions/scope-remove-user-from-role.function.d.ts +1 -1
  254. package/dist/src/functions/scope-remove-user-from-role.function.d.ts.map +1 -1
  255. package/dist/src/functions/scope-set-role-scopes.function.d.ts +1 -1
  256. package/dist/src/functions/scope-set-role-scopes.function.d.ts.map +1 -1
  257. package/dist/src/functions/secret-get.function.d.ts +17 -0
  258. package/dist/src/functions/secret-get.function.d.ts.map +1 -0
  259. package/dist/src/functions/secret-get.function.js +10 -0
  260. package/dist/src/functions/secret-get.function.js.map +1 -0
  261. package/dist/src/functions/secret-has.function.d.ts +14 -0
  262. package/dist/src/functions/secret-has.function.d.ts.map +1 -0
  263. package/dist/src/functions/secret-has.function.js +11 -0
  264. package/dist/src/functions/secret-has.function.js.map +1 -0
  265. package/dist/src/functions/secret-set.function.d.ts +17 -0
  266. package/dist/src/functions/secret-set.function.d.ts.map +1 -0
  267. package/dist/src/functions/secret-set.function.js +11 -0
  268. package/dist/src/functions/secret-set.function.js.map +1 -0
  269. package/dist/src/functions/stream-workflow-run.function.d.ts +1 -1
  270. package/dist/src/functions/update-agent-config.function.d.ts +1 -1
  271. package/dist/src/functions/update-agent-config.function.d.ts.map +1 -1
  272. package/dist/src/functions/update-dependency.function.d.ts +1 -1
  273. package/dist/src/functions/update-dependency.function.d.ts.map +1 -1
  274. package/dist/src/functions/update-email-template.function.d.ts +1 -1
  275. package/dist/src/functions/update-email-template.function.d.ts.map +1 -1
  276. package/dist/src/functions/update-function-body.function.d.ts +1 -1
  277. package/dist/src/functions/update-function-body.function.d.ts.map +1 -1
  278. package/dist/src/functions/update-function-config.function.d.ts +1 -1
  279. package/dist/src/functions/update-function-config.function.d.ts.map +1 -1
  280. package/dist/src/services/secret-admin.service.d.ts +20 -0
  281. package/dist/src/services/secret-admin.service.d.ts.map +1 -0
  282. package/dist/src/services/secret-admin.service.js +27 -0
  283. package/dist/src/services/secret-admin.service.js.map +1 -0
  284. package/dist/src/services/secret-admin.service.test.d.ts +2 -0
  285. package/dist/src/services/secret-admin.service.test.d.ts.map +1 -0
  286. package/dist/src/services/secret-admin.service.test.js +69 -0
  287. package/dist/src/services/secret-admin.service.test.js.map +1 -0
  288. package/dist/src/services.d.ts.map +1 -1
  289. package/dist/src/services.js +4 -1
  290. package/dist/src/services.js.map +1 -1
  291. package/dist/types/application-types.d.ts +43 -0
  292. package/package.json +9 -9
  293. package/dist/.pikku/schemas/schemas/FunctionCoverageReport.schema.json +0 -1
  294. package/dist/.pikku/schemas/schemas/GetAIWorkflowsInput.schema.json +0 -1
  295. package/dist/.pikku/schemas/schemas/GetAIWorkflowsOutput.schema.json +0 -1
  296. package/dist/.pikku/schemas/schemas/GetAddonMetaOutput.schema.json +0 -1
  297. package/dist/.pikku/schemas/schemas/GetStubCallsInput.schema.json +0 -1
  298. package/dist/.pikku/schemas/schemas/GetStubCallsOutput.schema.json +0 -1
  299. package/dist/.pikku/schemas/schemas/OauthConnectInput.schema.json +0 -1
  300. package/dist/.pikku/schemas/schemas/OauthConnectOutput.schema.json +0 -1
  301. package/dist/.pikku/schemas/schemas/OauthDisconnectInput.schema.json +0 -1
  302. package/dist/.pikku/schemas/schemas/OauthExchangeTokensInput.schema.json +0 -1
  303. package/dist/.pikku/schemas/schemas/OauthExchangeTokensOutput.schema.json +0 -1
  304. package/dist/.pikku/schemas/schemas/OauthRefreshTokenInput.schema.json +0 -1
  305. package/dist/.pikku/schemas/schemas/OauthRefreshTokenOutput.schema.json +0 -1
  306. package/dist/.pikku/schemas/schemas/OauthStatusInput.schema.json +0 -1
  307. package/dist/.pikku/schemas/schemas/OauthStatusOutput.schema.json +0 -1
  308. package/dist/.pikku/schemas/schemas/OauthTestTokenInput.schema.json +0 -1
  309. package/dist/.pikku/schemas/schemas/OauthTestTokenOutput.schema.json +0 -1
  310. package/dist/.pikku/schemas/schemas/ResetLiveCoverageOutput.schema.json +0 -1
  311. package/dist/.pikku/schemas/schemas/ResetStubsOutput.schema.json +0 -1
  312. package/dist/.pikku/schemas/schemas/StreamFunctionTestsOutput.schema.json +0 -1
  313. package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts +0 -20
  314. package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts.map +0 -1
  315. package/dist/.pikku/workflow/pikku-scenario-actors.gen.js +0 -18
  316. package/dist/.pikku/workflow/pikku-scenario-actors.gen.js.map +0 -1
  317. package/dist/src/functions/get-ai-workflows.function.d.ts +0 -20
  318. package/dist/src/functions/get-ai-workflows.function.d.ts.map +0 -1
  319. package/dist/src/functions/get-ai-workflows.function.js +0 -10
  320. package/dist/src/functions/get-ai-workflows.function.js.map +0 -1
  321. package/dist/src/functions/get-function-coverage.function.d.ts +0 -26
  322. package/dist/src/functions/get-function-coverage.function.d.ts.map +0 -1
  323. package/dist/src/functions/get-function-coverage.function.js +0 -21
  324. package/dist/src/functions/get-function-coverage.function.js.map +0 -1
  325. package/dist/src/functions/get-stub-calls.function.d.ts +0 -13
  326. package/dist/src/functions/get-stub-calls.function.d.ts.map +0 -1
  327. package/dist/src/functions/get-stub-calls.function.js +0 -11
  328. package/dist/src/functions/get-stub-calls.function.js.map +0 -1
  329. package/dist/src/functions/oauth-connect.function.d.ts +0 -20
  330. package/dist/src/functions/oauth-connect.function.d.ts.map +0 -1
  331. package/dist/src/functions/oauth-connect.function.js +0 -44
  332. package/dist/src/functions/oauth-connect.function.js.map +0 -1
  333. package/dist/src/functions/oauth-disconnect.function.d.ts +0 -8
  334. package/dist/src/functions/oauth-disconnect.function.d.ts.map +0 -1
  335. package/dist/src/functions/oauth-disconnect.function.js +0 -25
  336. package/dist/src/functions/oauth-disconnect.function.js.map +0 -1
  337. package/dist/src/functions/oauth-exchange-tokens.function.d.ts +0 -17
  338. package/dist/src/functions/oauth-exchange-tokens.function.d.ts.map +0 -1
  339. package/dist/src/functions/oauth-exchange-tokens.function.js +0 -25
  340. package/dist/src/functions/oauth-exchange-tokens.function.js.map +0 -1
  341. package/dist/src/functions/oauth-refresh-token.function.d.ts +0 -17
  342. package/dist/src/functions/oauth-refresh-token.function.d.ts.map +0 -1
  343. package/dist/src/functions/oauth-refresh-token.function.js +0 -28
  344. package/dist/src/functions/oauth-refresh-token.function.js.map +0 -1
  345. package/dist/src/functions/oauth-status.function.d.ts +0 -23
  346. package/dist/src/functions/oauth-status.function.d.ts.map +0 -1
  347. package/dist/src/functions/oauth-status.function.js +0 -44
  348. package/dist/src/functions/oauth-status.function.js.map +0 -1
  349. package/dist/src/functions/oauth-test-token.function.d.ts +0 -17
  350. package/dist/src/functions/oauth-test-token.function.d.ts.map +0 -1
  351. package/dist/src/functions/oauth-test-token.function.js +0 -27
  352. package/dist/src/functions/oauth-test-token.function.js.map +0 -1
  353. package/dist/src/functions/reset-live-coverage.function.d.ts +0 -8
  354. package/dist/src/functions/reset-live-coverage.function.d.ts.map +0 -1
  355. package/dist/src/functions/reset-live-coverage.function.js +0 -13
  356. package/dist/src/functions/reset-live-coverage.function.js.map +0 -1
  357. package/dist/src/functions/reset-stubs.function.d.ts +0 -8
  358. package/dist/src/functions/reset-stubs.function.d.ts.map +0 -1
  359. package/dist/src/functions/reset-stubs.function.js +0 -12
  360. package/dist/src/functions/reset-stubs.function.js.map +0 -1
  361. package/dist/src/functions/run-function-tests.function.d.ts +0 -3
  362. package/dist/src/functions/run-function-tests.function.d.ts.map +0 -1
  363. package/dist/src/functions/run-function-tests.function.js +0 -67
  364. package/dist/src/functions/run-function-tests.function.js.map +0 -1
  365. package/dist/src/functions/stream-function-tests.function.d.ts +0 -37
  366. package/dist/src/functions/stream-function-tests.function.d.ts.map +0 -1
  367. package/dist/src/functions/stream-function-tests.function.js +0 -258
  368. package/dist/src/functions/stream-function-tests.function.js.map +0 -1
  369. package/dist/src/functions/stream-function-tests.function.test.d.ts +0 -2
  370. package/dist/src/functions/stream-function-tests.function.test.d.ts.map +0 -1
  371. package/dist/src/functions/stream-function-tests.function.test.js +0 -238
  372. package/dist/src/functions/stream-function-tests.function.test.js.map +0 -1
  373. package/dist/src/functions/take-live-coverage.function.d.ts +0 -3
  374. package/dist/src/functions/take-live-coverage.function.d.ts.map +0 -1
  375. package/dist/src/functions/take-live-coverage.function.js +0 -27
  376. package/dist/src/functions/take-live-coverage.function.js.map +0 -1
  377. package/dist/src/lib/coverage-types.d.ts +0 -25
  378. package/dist/src/lib/coverage-types.d.ts.map +0 -1
  379. package/dist/src/lib/coverage-types.js +0 -2
  380. package/dist/src/lib/coverage-types.js.map +0 -1
  381. package/dist/src/lib/function-tests-paths.d.ts +0 -14
  382. package/dist/src/lib/function-tests-paths.d.ts.map +0 -1
  383. package/dist/src/lib/function-tests-paths.js +0 -22
  384. package/dist/src/lib/function-tests-paths.js.map +0 -1
  385. package/dist/src/lib/precise-coverage-map.d.ts +0 -30
  386. package/dist/src/lib/precise-coverage-map.d.ts.map +0 -1
  387. package/dist/src/lib/precise-coverage-map.js +0 -177
  388. package/dist/src/lib/precise-coverage-map.js.map +0 -1
  389. package/dist/src/lib/precise-coverage-map.test.d.ts +0 -2
  390. package/dist/src/lib/precise-coverage-map.test.d.ts.map +0 -1
  391. package/dist/src/lib/precise-coverage-map.test.js +0 -153
  392. package/dist/src/lib/precise-coverage-map.test.js.map +0 -1
  393. package/dist/src/services/oauth.service.d.ts +0 -17
  394. package/dist/src/services/oauth.service.d.ts.map +0 -1
  395. package/dist/src/services/oauth.service.js +0 -26
  396. package/dist/src/services/oauth.service.js.map +0 -1
  397. package/dist/src/tests/test-oauth2-client.d.ts +0 -6
  398. package/dist/src/tests/test-oauth2-client.d.ts.map +0 -1
  399. package/dist/src/tests/test-oauth2-client.js +0 -139
  400. package/dist/src/tests/test-oauth2-client.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,9 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
6
6
  import './addon/pikku-package.gen.js';
7
+ import './agent/pikku-model-aliases.gen.js';
7
8
  import './schemas/register.gen.js';
8
9
  import './function/pikku-functions.gen.js';
9
10
  //# sourceMappingURL=pikku-bootstrap.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
1
+ {"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
@@ -1,9 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
6
6
  import './addon/pikku-package.gen.js';
7
+ import './agent/pikku-model-aliases.gen.js';
7
8
  import './schemas/register.gen.js';
8
9
  import './function/pikku-functions.gen.js';
9
10
  //# sourceMappingURL=pikku-bootstrap.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
1
+ {"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -8,7 +8,7 @@ export declare const requiredSingletonServices: {
8
8
  readonly agentRunService: true;
9
9
  readonly aiAgentRunner: false;
10
10
  readonly aiEmbedding: false;
11
- readonly aiRunState: false;
11
+ readonly aiRunState: true;
12
12
  readonly aiStorage: false;
13
13
  readonly audit: true;
14
14
  readonly auditLog: false;
@@ -30,6 +30,7 @@ export declare const requiredSingletonServices: {
30
30
  readonly schedulerService: false;
31
31
  readonly schema: true;
32
32
  readonly scopeService: true;
33
+ readonly secretAdminService: true;
33
34
  readonly secrets: true;
34
35
  readonly sessionStore: false;
35
36
  readonly stateDiffService: true;
@@ -41,7 +42,7 @@ export declare const requiredSingletonServices: {
41
42
  readonly workflowService: false;
42
43
  };
43
44
  export declare const requiredWireServices: {};
44
- export type RequiredSingletonServices = Required<Pick<SingletonServices, 'addonService' | 'agentRunService' | 'audit' | 'auth' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'schema' | 'scopeService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>> & Partial<Omit<SingletonServices, 'addonService' | 'agentRunService' | 'audit' | 'auth' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'schema' | 'scopeService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>>;
45
+ export type RequiredSingletonServices = Required<Pick<SingletonServices, 'addonService' | 'agentRunService' | 'aiRunState' | 'audit' | 'auth' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'schema' | 'scopeService' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>> & Partial<Omit<SingletonServices, 'addonService' | 'agentRunService' | 'aiRunState' | 'audit' | 'auth' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'schema' | 'scopeService' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>>;
45
46
  export type RequiredWireServices = Partial<Services>;
46
- export declare const requiredParentServices: readonly ["variables", "metaService", "aiAgentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "aiStorage", "aiRunState", "deploymentService", "credentialService", "coverageService", "scopeService", "webhookService", "audit", "auth"];
47
+ export declare const requiredParentServices: readonly ["variables", "secrets", "metaService", "aiAgentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "aiStorage", "aiRunState", "deploymentService", "credentialService", "coverageService", "scopeService", "webhookService", "audit", "auth"];
47
48
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,iBAAiB,GAAG,OAAO,GAAG,MAAM,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,iBAAiB,GAAG,OAAO,GAAG,MAAM,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,CAAA;AAE1tB,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,mRAAqQ,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,iBAAiB,GAAG,YAAY,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,cAAc,GAAG,iBAAiB,GAAG,YAAY,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;AAEtyB,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,8RAA+Q,CAAA"}
@@ -4,7 +4,7 @@ export const requiredSingletonServices = {
4
4
  'agentRunService': true,
5
5
  'aiAgentRunner': false,
6
6
  'aiEmbedding': false,
7
- 'aiRunState': false,
7
+ 'aiRunState': true,
8
8
  'aiStorage': false,
9
9
  'audit': true,
10
10
  'auditLog': false,
@@ -26,6 +26,7 @@ export const requiredSingletonServices = {
26
26
  'schedulerService': false,
27
27
  'schema': true,
28
28
  'scopeService': true,
29
+ 'secretAdminService': true,
29
30
  'secrets': true,
30
31
  'sessionStore': false,
31
32
  'stateDiffService': true,
@@ -39,5 +40,5 @@ export const requiredSingletonServices = {
39
40
  // Wire services map: true if required, false if available but unused
40
41
  export const requiredWireServices = {};
41
42
  // Services this addon needs from the parent project
42
- export const requiredParentServices = ["variables", "metaService", "aiAgentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "aiStorage", "aiRunState", "deploymentService", "credentialService", "coverageService", "scopeService", "webhookService", "audit", "auth"];
43
+ export const requiredParentServices = ["variables", "secrets", "metaService", "aiAgentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "aiStorage", "aiRunState", "deploymentService", "credentialService", "coverageService", "scopeService", "webhookService", "audit", "auth"];
43
44
  //# 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,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,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,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,aAAa,EAAC,eAAe,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,WAAW,EAAC,YAAY,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,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,IAAI;IAClB,WAAW,EAAE,KAAK;IAClB,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,eAAe,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,WAAW,EAAC,YAAY,EAAC,mBAAmB,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,cAAc,EAAC,gBAAgB,EAAC,OAAO,EAAC,MAAM,CAAU,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -10,15 +10,16 @@ import type { AgentCredentialRequirement } from '../../src/functions/agent-crede
10
10
  import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
11
11
  import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
12
12
  import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
13
- import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta, SecurityAuditReport } from '../../../../core/dist/types/core.types.d.js'
14
- import type { ScenarioSurface } from '../../../../core/dist/wirings/workflow/scenario-step.types.d.js'
15
- import type { AuditDurability } from '../../../../core/dist/services/audit-service.d.js'
13
+ import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta, SecurityAuditReport } from '@pikku/core'
14
+ import type { ScenarioSurface } from '@pikku/core/workflow'
15
+ import type { AuditDurability } from '@pikku/core/services'
16
16
  import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
17
- import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
18
- import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
19
- import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '../../../../core/dist/services/webhook-service.d.js'
17
+ import type { ScorerListEntry } from '../../src/functions/get-scorers.function.js'
18
+ import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
19
+ import type { WorkflowContext } from '@pikku/core/workflow/types'
20
+ import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '@pikku/core/services'
20
21
  import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
21
- import type { Role } from '../../../../core/dist/services/scope-service.d.js'
22
+ import type { Role } from '@pikku/core/services'
22
23
  import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
23
24
  import type { AddonMetaQuery, AddonMetaPage, AddonPackageInfo } from '../../src/services/addon.service.js'
24
25
  import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
@@ -54,6 +55,8 @@ export type GetAddonIconInput = { alias: string; }
54
55
  export type GetAddonInstalledPackageInput = { packageName: string; }
55
56
  export type GetAddonInstancesInput = { packageName: string; }
56
57
  export type GetAddonInstancesOutput = AddonInstance[]
58
+ export type GetAgentRunScoresInput = { runId: string; }
59
+ export type GetAgentRunScoresOutput = any[]
57
60
  export type GetAgentThreadMessagesInput = { threadId: string; }
58
61
  export type GetAgentThreadMessagesOutput = any[]
59
62
  export type GetAgentThreadRunsInput = { threadId: string; }
@@ -70,6 +73,7 @@ export type GetOpenapiDetailOutput = { name: string; version: string; provider:
70
73
  export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
71
74
  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; }
72
75
  export type GetSchemaInput = { schemaName: string; }
76
+ export type GetScorersOutput = ScorerListEntry[]
73
77
  export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
74
78
  export type GetWebhookDeliveryInput = { deliveryId: string; }
75
79
  export type GetWorkflowMetaByIdInput = { workflowId: string; }
@@ -116,6 +120,12 @@ export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
116
120
  export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
117
121
  export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
118
122
  export type ScopeSetRoleScopesOutput = { success: boolean; }
123
+ export type SecretGetInput = { secretId: string; }
124
+ export type SecretGetOutput = { exists: boolean; value: unknown; }
125
+ export type SecretHasInput = { secretId: string; }
126
+ export type SecretHasOutput = { exists: boolean; }
127
+ export type SecretSetInput = { secretId: string; value: unknown; }
128
+ export type SecretSetOutput = { success: boolean; }
119
129
  export type StreamWorkflowRunInput = { runId: string; }
120
130
  export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
121
131
  export type UpdateAgentConfigOutput = { success: boolean; }
@@ -147,6 +157,7 @@ export type RPCMap = {
147
157
  readonly 'getAddonInstances': RPCHandler<GetAddonInstancesInput, GetAddonInstancesOutput>,
148
158
  readonly 'getAddonMeta': RPCHandler<AddonMetaQuery, AddonMetaPage>,
149
159
  readonly 'getAddonCommunityPackage': RPCHandler<GetAddonCommunityPackageInput, AddonPackageInfo>,
160
+ readonly 'getAgentRunScores': RPCHandler<GetAgentRunScoresInput, GetAgentRunScoresOutput>,
150
161
  readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
151
162
  readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
152
163
  readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
@@ -165,6 +176,7 @@ export type RPCMap = {
165
176
  readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
166
177
  readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
167
178
  readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
179
+ readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
168
180
  readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
169
181
  readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
170
182
  readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
@@ -194,6 +206,9 @@ export type RPCMap = {
194
206
  readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
195
207
  readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
196
208
  readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
209
+ readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
210
+ readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
211
+ readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
197
212
  readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
198
213
  readonly 'updateDependency': RPCHandler<UpdateDependencyInput, SecurityAuditReport>,
199
214
  readonly 'updateEmailTemplate': RPCHandler<UpdateEmailTemplateInput, UpdateEmailTemplateOutput>,
@@ -235,12 +250,7 @@ type FlattenedAgentMap = AgentMap
235
250
 
236
251
 
237
252
  import type { PikkuRPC } from '@pikku/core/rpc'
238
-
239
- interface AIAgentInput {
240
- message: string
241
- threadId: string
242
- resourceId: string
243
- }
253
+ import type { AIAgentInput } from '@pikku/core/ai-agent'
244
254
 
245
255
  export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
246
256
  name: Name,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -10,15 +10,16 @@ import type { AgentCredentialRequirement } from '../../src/functions/agent-crede
10
10
  import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
11
11
  import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
12
12
  import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
13
- import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta, SecurityAuditReport } from '../../../../core/dist/types/core.types.d.js'
14
- import type { ScenarioSurface } from '../../../../core/dist/wirings/workflow/scenario-step.types.d.js'
15
- import type { AuditDurability } from '../../../../core/dist/services/audit-service.d.js'
13
+ import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta, SecurityAuditReport } from '@pikku/core'
14
+ import type { ScenarioSurface } from '@pikku/core/workflow'
15
+ import type { AuditDurability } from '@pikku/core/services'
16
16
  import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
17
- import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
18
- import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
19
- import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '../../../../core/dist/services/webhook-service.d.js'
17
+ import type { ScorerListEntry } from '../../src/functions/get-scorers.function.js'
18
+ import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
19
+ import type { WorkflowContext } from '@pikku/core/workflow/types'
20
+ import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '@pikku/core/services'
20
21
  import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
21
- import type { Role } from '../../../../core/dist/services/scope-service.d.js'
22
+ import type { Role } from '@pikku/core/services'
22
23
  import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
23
24
  import type { AddonMetaQuery, AddonMetaPage, AddonPackageInfo } from '../../src/services/addon.service.js'
24
25
  import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
@@ -54,6 +55,8 @@ export type GetAddonIconInput = { alias: string; }
54
55
  export type GetAddonInstalledPackageInput = { packageName: string; }
55
56
  export type GetAddonInstancesInput = { packageName: string; }
56
57
  export type GetAddonInstancesOutput = AddonInstance[]
58
+ export type GetAgentRunScoresInput = { runId: string; }
59
+ export type GetAgentRunScoresOutput = any[]
57
60
  export type GetAgentThreadMessagesInput = { threadId: string; }
58
61
  export type GetAgentThreadMessagesOutput = any[]
59
62
  export type GetAgentThreadRunsInput = { threadId: string; }
@@ -70,6 +73,7 @@ export type GetOpenapiDetailOutput = { name: string; version: string; provider:
70
73
  export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
71
74
  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; }
72
75
  export type GetSchemaInput = { schemaName: string; }
76
+ export type GetScorersOutput = ScorerListEntry[]
73
77
  export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
74
78
  export type GetWebhookDeliveryInput = { deliveryId: string; }
75
79
  export type GetWorkflowMetaByIdInput = { workflowId: string; }
@@ -116,6 +120,12 @@ export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
116
120
  export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
117
121
  export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
118
122
  export type ScopeSetRoleScopesOutput = { success: boolean; }
123
+ export type SecretGetInput = { secretId: string; }
124
+ export type SecretGetOutput = { exists: boolean; value: unknown; }
125
+ export type SecretHasInput = { secretId: string; }
126
+ export type SecretHasOutput = { exists: boolean; }
127
+ export type SecretSetInput = { secretId: string; value: unknown; }
128
+ export type SecretSetOutput = { success: boolean; }
119
129
  export type StreamWorkflowRunInput = { runId: string; }
120
130
  export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
121
131
  export type UpdateAgentConfigOutput = { success: boolean; }
@@ -147,6 +157,7 @@ export type RPCMap = {
147
157
  readonly 'getAddonInstances': RPCHandler<GetAddonInstancesInput, GetAddonInstancesOutput>,
148
158
  readonly 'getAddonMeta': RPCHandler<AddonMetaQuery, AddonMetaPage>,
149
159
  readonly 'getAddonCommunityPackage': RPCHandler<GetAddonCommunityPackageInput, AddonPackageInfo>,
160
+ readonly 'getAgentRunScores': RPCHandler<GetAgentRunScoresInput, GetAgentRunScoresOutput>,
150
161
  readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
151
162
  readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
152
163
  readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
@@ -165,6 +176,7 @@ export type RPCMap = {
165
176
  readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
166
177
  readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
167
178
  readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
179
+ readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
168
180
  readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
169
181
  readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
170
182
  readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
@@ -194,6 +206,9 @@ export type RPCMap = {
194
206
  readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
195
207
  readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
196
208
  readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
209
+ readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
210
+ readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
211
+ readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
197
212
  readonly 'streamWorkflowRun': RPCHandler<StreamWorkflowRunInput, null>,
198
213
  readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
199
214
  readonly 'updateDependency': RPCHandler<UpdateDependencyInput, SecurityAuditReport>,
@@ -236,12 +251,7 @@ type FlattenedAgentMap = AgentMap
236
251
 
237
252
 
238
253
  import type { PikkuRPC } from '@pikku/core/rpc'
239
-
240
- interface AIAgentInput {
241
- message: string
242
- threadId: string
243
- resourceId: string
244
- }
254
+ import type { AIAgentInput } from '@pikku/core/ai-agent'
245
255
 
246
256
  export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
247
257
  name: Name,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -10,15 +10,16 @@ import type { AgentCredentialRequirement } from '../../src/functions/agent-crede
10
10
  import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
11
11
  import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
12
12
  import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
13
- import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
14
- import type { ScenarioSurface } from '../../../../core/dist/wirings/workflow/scenario-step.types.d.js'
15
- import type { AuditDurability } from '../../../../core/dist/services/audit-service.d.js'
13
+ import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '@pikku/core'
14
+ import type { ScenarioSurface } from '@pikku/core/workflow'
15
+ import type { AuditDurability } from '@pikku/core/services'
16
16
  import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
17
- import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
18
- import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
19
- import type { WebhookDeliveryRecord } from '../../../../core/dist/services/webhook-service.d.js'
17
+ import type { ScorerListEntry } from '../../src/functions/get-scorers.function.js'
18
+ import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
19
+ import type { WorkflowContext } from '@pikku/core/workflow/types'
20
+ import type { WebhookDeliveryRecord } from '@pikku/core/services'
20
21
  import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
21
- import type { Role } from '../../../../core/dist/services/scope-service.d.js'
22
+ import type { Role } from '@pikku/core/services'
22
23
  import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
23
24
 
24
25
  export type AgentCredentialCheckInput = { agentName: string; }
@@ -44,6 +45,8 @@ export type GetAddonIconInput = { alias: string; }
44
45
  export type GetAddonInstalledPackageInput = { packageName: string; }
45
46
  export type GetAddonInstancesInput = { packageName: string; }
46
47
  export type GetAddonInstancesOutput = AddonInstance[]
48
+ export type GetAgentRunScoresInput = { runId: string; }
49
+ export type GetAgentRunScoresOutput = any[]
47
50
  export type GetAgentThreadMessagesInput = { threadId: string; }
48
51
  export type GetAgentThreadMessagesOutput = any[]
49
52
  export type GetAgentThreadRunsInput = { threadId: string; }
@@ -60,6 +63,7 @@ export type GetOpenapiDetailOutput = { name: string; version: string; provider:
60
63
  export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
61
64
  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; }
62
65
  export type GetSchemaInput = { schemaName: string; }
66
+ export type GetScorersOutput = ScorerListEntry[]
63
67
  export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
64
68
  export type GetWebhookDeliveryInput = { deliveryId: string; }
65
69
  export type GetWorkflowMetaByIdInput = { workflowId: string; }
@@ -106,6 +110,12 @@ export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
106
110
  export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
107
111
  export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
108
112
  export type ScopeSetRoleScopesOutput = { success: boolean; }
113
+ export type SecretGetInput = { secretId: string; }
114
+ export type SecretGetOutput = { exists: boolean; value: unknown; }
115
+ export type SecretHasInput = { secretId: string; }
116
+ export type SecretHasOutput = { exists: boolean; }
117
+ export type SecretSetInput = { secretId: string; value: unknown; }
118
+ export type SecretSetOutput = { success: boolean; }
109
119
  export type StreamWorkflowRunInput = { runId: string; }
110
120
  export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
111
121
  export type UpdateAgentConfigOutput = { success: boolean; }
@@ -159,12 +169,7 @@ type FlattenedAgentMap = AgentMap
159
169
 
160
170
 
161
171
  import type { PikkuRPC } from '@pikku/core/rpc'
162
-
163
- interface AIAgentInput {
164
- message: string
165
- threadId: string
166
- resourceId: string
167
- }
172
+ import type { AIAgentInput } from '@pikku/core/ai-agent'
168
173
 
169
174
  export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
170
175
  name: Name,
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal';
4
+ import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
6
6
  pikkuState('@pikku/addon-console', 'rpc', 'meta', metaData);
7
7
  //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,sBAAsB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,sBAAsB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
@@ -13,6 +13,7 @@
13
13
  "getAddonInstances": "getAddonInstances",
14
14
  "getAddonMeta": "getAddonMeta",
15
15
  "getAddonCommunityPackage": "getAddonCommunityPackage",
16
+ "getAgentRunScores": "getAgentRunScores",
16
17
  "getAgentThreadMessages": "getAgentThreadMessages",
17
18
  "getAgentThreadRuns": "getAgentThreadRuns",
18
19
  "getAgentThreads": "getAgentThreads",
@@ -31,6 +32,7 @@
31
32
  "getOpenapiDetail": "getOpenapiDetail",
32
33
  "getOpenapis": "getOpenapis",
33
34
  "getSchema": "getSchema",
35
+ "getScorers": "getScorers",
34
36
  "getSecurityAudit": "getSecurityAudit",
35
37
  "getStateDiff": "getStateDiff",
36
38
  "getWebhookDelivery": "getWebhookDelivery",
@@ -60,6 +62,9 @@
60
62
  "scopeRemoveScopeFromUser": "scopeRemoveScopeFromUser",
61
63
  "scopeRemoveUserFromRole": "scopeRemoveUserFromRole",
62
64
  "scopeSetRoleScopes": "scopeSetRoleScopes",
65
+ "secretGet": "secretGet",
66
+ "secretHas": "secretHas",
67
+ "secretSet": "secretSet",
63
68
  "streamWorkflowRun": "streamWorkflowRun",
64
69
  "updateAgentConfig": "updateAgentConfig",
65
70
  "updateDependency": "updateDependency",
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal';
4
+ import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import '../function/pikku-functions-meta.gen.js';
6
6
  import metaData from './pikku-scenario-functions-meta.gen.json' with { type: 'json' };
7
7
  pikkuState('@pikku/addon-console', 'function', 'meta', {
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-scenario-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,yCAAyC,CAAA;AAChD,OAAO,QAAQ,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAErF,UAAU,CAAC,sBAAsB,EAAE,UAAU,EAAE,MAAM,EAAE;IACrD,GAAG,UAAU,CAAC,sBAAsB,EAAE,UAAU,EAAE,MAAM,CAAC;IACzD,GAAI,QAA0B;CAC/B,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-scenario-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,OAAO,yCAAyC,CAAA;AAChD,OAAO,QAAQ,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAErF,UAAU,CAAC,sBAAsB,EAAE,UAAU,EAAE,MAAM,EAAE;IACrD,GAAG,UAAU,CAAC,sBAAsB,EAAE,UAAU,EAAE,MAAM,CAAC;IACzD,GAAI,QAA0B;CAC/B,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-functions.gen.d.ts.map
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
- import { pikkuState } from '@pikku/core/internal';
4
+ import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
6
6
  const scenariosMeta = {};
7
7
  pikkuState('@pikku/addon-console', 'workflows', 'meta', {
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-scenario-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,gDAAgD,CAAA;AAEvD,MAAM,aAAa,GAAG,EAEG,CAAA;AAEzB,UAAU,CAAC,sBAAsB,EAAE,WAAW,EAAE,MAAM,EAAE;IACtD,GAAG,UAAU,CAAC,sBAAsB,EAAE,WAAW,EAAE,MAAM,CAAC;IAC1D,GAAG,aAAa;CACjB,CAAC,CAAA"}
1
+ {"version":3,"file":"pikku-scenario-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,OAAO,gDAAgD,CAAA;AAEvD,MAAM,aAAa,GAAG,EAEG,CAAA;AAEzB,UAAU,CAAC,sBAAsB,EAAE,WAAW,EAAE,MAAM,EAAE;IACtD,GAAG,UAAU,CAAC,sBAAsB,EAAE,WAAW,EAAE,MAAM,CAAC;IAC1D,GAAG,aAAa;CACjB,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-wirings.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  export declare const empty: null;
5
5
  //# sourceMappingURL=register.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  export const empty = null;
5
5
  //# sourceMappingURL=register.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.99
2
+ * This file was generated by @pikku/cli@0.12.102
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization