@pikku/addon-graph 0.12.12 → 0.12.14

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 (553) hide show
  1. package/CHANGELOG.md +423 -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/{agent → addon/agent}/pikku-agent-types.gen.d.ts +50 -8
  7. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -0
  8. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +61 -0
  9. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -0
  10. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts.map +1 -0
  11. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +6 -0
  12. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js.map +1 -0
  13. package/dist/.pikku/addon/auth/index.d.ts +8 -0
  14. package/dist/.pikku/addon/auth/index.d.ts.map +1 -0
  15. package/dist/.pikku/addon/auth/index.js +8 -0
  16. package/dist/.pikku/addon/auth/index.js.map +1 -0
  17. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +109 -0
  18. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -0
  19. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +76 -0
  20. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
  21. package/dist/.pikku/addon/channel/index.d.ts +8 -0
  22. package/dist/.pikku/addon/channel/index.d.ts.map +1 -0
  23. package/dist/.pikku/addon/channel/index.js +8 -0
  24. package/dist/.pikku/addon/channel/index.js.map +1 -0
  25. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.d.ts +12 -43
  26. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -0
  27. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.js +8 -20
  28. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
  29. package/dist/.pikku/addon/error/index.d.ts +8 -0
  30. package/dist/.pikku/addon/error/index.d.ts.map +1 -0
  31. package/dist/.pikku/addon/error/index.js +8 -0
  32. package/dist/.pikku/addon/error/index.js.map +1 -0
  33. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +8 -0
  34. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts.map +1 -0
  35. package/dist/.pikku/addon/error/pikku-error-types.gen.js +8 -0
  36. package/dist/.pikku/addon/error/pikku-error-types.gen.js.map +1 -0
  37. package/dist/.pikku/addon/function/index.d.ts +8 -0
  38. package/dist/.pikku/addon/function/index.d.ts.map +1 -0
  39. package/dist/.pikku/addon/function/index.js +8 -0
  40. package/dist/.pikku/addon/function/index.js.map +1 -0
  41. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +279 -0
  42. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -0
  43. package/dist/.pikku/addon/function/pikku-function-types.gen.js +129 -0
  44. package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
  45. package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
  46. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +7 -0
  47. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
  48. package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
  49. package/dist/.pikku/addon/function/pikku-functions.gen.js +74 -0
  50. package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
  51. package/dist/.pikku/addon/http/index.d.ts +8 -0
  52. package/dist/.pikku/addon/http/index.d.ts.map +1 -0
  53. package/dist/.pikku/addon/http/index.js +8 -0
  54. package/dist/.pikku/addon/http/index.js.map +1 -0
  55. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +52 -0
  56. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -0
  57. package/dist/.pikku/addon/http/pikku-http-types.gen.js +11 -0
  58. package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -0
  59. package/dist/.pikku/addon/mcp/index.d.ts +8 -0
  60. package/dist/.pikku/addon/mcp/index.d.ts.map +1 -0
  61. package/dist/.pikku/addon/mcp/index.js +8 -0
  62. package/dist/.pikku/addon/mcp/index.js.map +1 -0
  63. package/dist/.pikku/{mcp → addon/mcp}/pikku-mcp-types.gen.d.ts +12 -36
  64. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  65. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +16 -0
  66. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -0
  67. package/dist/.pikku/addon/middleware/index.d.ts +8 -0
  68. package/dist/.pikku/addon/middleware/index.d.ts.map +1 -0
  69. package/dist/.pikku/addon/middleware/index.js +8 -0
  70. package/dist/.pikku/addon/middleware/index.js.map +1 -0
  71. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +134 -0
  72. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
  73. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +114 -0
  74. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
  75. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.d.ts → addon/pikku-bootstrap-scenarios.gen.d.ts} +1 -1
  76. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  77. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.js → addon/pikku-bootstrap-scenarios.gen.js} +1 -1
  78. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js.map +1 -0
  79. package/dist/.pikku/{pikku-bootstrap.gen.d.ts → addon/pikku-bootstrap.gen.d.ts} +2 -2
  80. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts.map +1 -0
  81. package/dist/.pikku/{pikku-bootstrap.gen.js → addon/pikku-bootstrap.gen.js} +2 -2
  82. package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
  83. package/dist/.pikku/addon/pikku-package.gen.js +3 -3
  84. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  85. package/dist/.pikku/{pikku-services.gen.d.ts → addon/pikku-services.gen.d.ts} +9 -8
  86. package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -0
  87. package/dist/.pikku/{pikku-services.gen.js → addon/pikku-services.gen.js} +5 -4
  88. package/dist/.pikku/addon/pikku-services.gen.js.map +1 -0
  89. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  90. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  91. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  92. package/dist/.pikku/addon/scenarios/index.d.ts +8 -0
  93. package/dist/.pikku/addon/scenarios/index.d.ts.map +1 -0
  94. package/dist/.pikku/addon/scenarios/index.js +8 -0
  95. package/dist/.pikku/addon/scenarios/index.js.map +1 -0
  96. package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.d.ts +17 -2
  97. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
  98. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +29 -0
  99. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
  100. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  101. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.js +2 -2
  102. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  103. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  104. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  105. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  106. package/dist/.pikku/{workflow/pikku-workflow-types.gen.d.ts → addon/scenarios/pikku-scenario-types.gen.d.ts} +72 -97
  107. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
  108. package/dist/.pikku/{workflow/pikku-workflow-types.gen.js → addon/scenarios/pikku-scenario-types.gen.js} +13 -16
  109. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
  110. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  111. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.js +2 -2
  112. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  113. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  114. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  115. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  116. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +5 -0
  117. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts.map +1 -0
  118. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +5 -0
  119. package/dist/.pikku/addon/scenarios/schemas/register.gen.js.map +1 -0
  120. package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
  121. package/dist/.pikku/{schemas → addon/schemas}/register.gen.js +2 -2
  122. package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
  123. package/dist/.pikku/addon/scopes/index.d.ts +8 -0
  124. package/dist/.pikku/addon/scopes/index.d.ts.map +1 -0
  125. package/dist/.pikku/addon/scopes/index.js +8 -0
  126. package/dist/.pikku/addon/scopes/index.js.map +1 -0
  127. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.d.ts +4 -13
  128. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +1 -0
  129. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.js +1 -1
  130. package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +1 -0
  131. package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.d.ts +2 -2
  132. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
  133. package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.js +1 -1
  134. package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
  135. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +6 -0
  136. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  137. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +6 -0
  138. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
  139. package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.d.ts +2 -2
  140. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
  141. package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.js +1 -1
  142. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
  143. package/dist/.pikku/addon/secrets/index.d.ts +9 -0
  144. package/dist/.pikku/addon/secrets/index.d.ts.map +1 -0
  145. package/dist/.pikku/addon/secrets/index.js +9 -0
  146. package/dist/.pikku/addon/secrets/index.js.map +1 -0
  147. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +5 -0
  148. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  149. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +5 -0
  150. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js.map +1 -0
  151. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +26 -0
  152. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
  153. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +23 -0
  154. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
  155. package/dist/.pikku/{pikku-meta-service.gen.d.ts → addon/services/pikku-meta-service.gen.d.ts} +1 -1
  156. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -0
  157. package/dist/.pikku/{pikku-meta-service.gen.js → addon/services/pikku-meta-service.gen.js} +2 -2
  158. package/dist/.pikku/addon/services/pikku-meta-service.gen.js.map +1 -0
  159. package/dist/.pikku/addon/setup/index.d.ts +9 -0
  160. package/dist/.pikku/addon/setup/index.d.ts.map +1 -0
  161. package/dist/.pikku/addon/setup/index.js +9 -0
  162. package/dist/.pikku/addon/setup/index.js.map +1 -0
  163. package/dist/.pikku/addon/{pikku-addon-types.gen.d.ts → setup/pikku-addon-setup-types.gen.d.ts} +6 -6
  164. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -0
  165. package/dist/.pikku/addon/{pikku-addon-types.gen.js → setup/pikku-addon-setup-types.gen.js} +2 -2
  166. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
  167. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +55 -0
  168. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -0
  169. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +80 -0
  170. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
  171. package/dist/.pikku/addon/trigger/index.d.ts +8 -0
  172. package/dist/.pikku/addon/trigger/index.d.ts.map +1 -0
  173. package/dist/.pikku/addon/trigger/index.js +8 -0
  174. package/dist/.pikku/addon/trigger/index.js.map +1 -0
  175. package/dist/.pikku/{trigger → addon/trigger}/pikku-trigger-types.gen.d.ts +7 -38
  176. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  177. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +13 -0
  178. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -0
  179. package/dist/.pikku/addon/variables/index.d.ts +9 -0
  180. package/dist/.pikku/addon/variables/index.d.ts.map +1 -0
  181. package/dist/.pikku/addon/variables/index.js +9 -0
  182. package/dist/.pikku/addon/variables/index.js.map +1 -0
  183. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +5 -0
  184. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts.map +1 -0
  185. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +5 -0
  186. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js.map +1 -0
  187. package/dist/.pikku/addon/variables/pikku-variables-meta.gen.json +1 -0
  188. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +27 -0
  189. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
  190. package/dist/.pikku/addon/variables/pikku-variables.gen.js +23 -0
  191. package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
  192. package/dist/.pikku/addon/workflow/index.d.ts +8 -0
  193. package/dist/.pikku/addon/workflow/index.d.ts.map +1 -0
  194. package/dist/.pikku/addon/workflow/index.js +8 -0
  195. package/dist/.pikku/addon/workflow/index.js.map +1 -0
  196. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +134 -0
  197. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  198. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +23 -0
  199. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
  200. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  201. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  202. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  203. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  204. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  205. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +5 -0
  206. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  207. package/dist/src/functions/array/aggregate.function.d.ts +4 -4
  208. package/dist/src/functions/array/aggregate.function.d.ts.map +1 -1
  209. package/dist/src/functions/array/aggregate.function.js +1 -1
  210. package/dist/src/functions/array/aggregate.function.js.map +1 -1
  211. package/dist/src/functions/array/chunk.function.d.ts +4 -4
  212. package/dist/src/functions/array/chunk.function.d.ts.map +1 -1
  213. package/dist/src/functions/array/chunk.function.js +1 -1
  214. package/dist/src/functions/array/chunk.function.js.map +1 -1
  215. package/dist/src/functions/array/fanout.function.d.ts +4 -4
  216. package/dist/src/functions/array/fanout.function.d.ts.map +1 -1
  217. package/dist/src/functions/array/fanout.function.js +1 -1
  218. package/dist/src/functions/array/fanout.function.js.map +1 -1
  219. package/dist/src/functions/array/find.function.d.ts +4 -4
  220. package/dist/src/functions/array/find.function.d.ts.map +1 -1
  221. package/dist/src/functions/array/find.function.js +1 -1
  222. package/dist/src/functions/array/find.function.js.map +1 -1
  223. package/dist/src/functions/array/group-by.function.d.ts +4 -4
  224. package/dist/src/functions/array/group-by.function.d.ts.map +1 -1
  225. package/dist/src/functions/array/group-by.function.js +1 -1
  226. package/dist/src/functions/array/group-by.function.js.map +1 -1
  227. package/dist/src/functions/array/limit.function.d.ts +4 -4
  228. package/dist/src/functions/array/limit.function.d.ts.map +1 -1
  229. package/dist/src/functions/array/limit.function.js +1 -1
  230. package/dist/src/functions/array/limit.function.js.map +1 -1
  231. package/dist/src/functions/array/remove-duplicates.function.d.ts +4 -4
  232. package/dist/src/functions/array/remove-duplicates.function.d.ts.map +1 -1
  233. package/dist/src/functions/array/remove-duplicates.function.js +1 -1
  234. package/dist/src/functions/array/remove-duplicates.function.js.map +1 -1
  235. package/dist/src/functions/array/reverse.function.d.ts +4 -4
  236. package/dist/src/functions/array/reverse.function.d.ts.map +1 -1
  237. package/dist/src/functions/array/reverse.function.js +1 -1
  238. package/dist/src/functions/array/reverse.function.js.map +1 -1
  239. package/dist/src/functions/array/sort.function.d.ts +4 -4
  240. package/dist/src/functions/array/sort.function.d.ts.map +1 -1
  241. package/dist/src/functions/array/sort.function.js +1 -1
  242. package/dist/src/functions/array/sort.function.js.map +1 -1
  243. package/dist/src/functions/array/split-out.function.d.ts +4 -4
  244. package/dist/src/functions/array/split-out.function.d.ts.map +1 -1
  245. package/dist/src/functions/array/split-out.function.js +1 -1
  246. package/dist/src/functions/array/split-out.function.js.map +1 -1
  247. package/dist/src/functions/array/summarize.function.d.ts +4 -4
  248. package/dist/src/functions/array/summarize.function.d.ts.map +1 -1
  249. package/dist/src/functions/array/summarize.function.js +1 -1
  250. package/dist/src/functions/array/summarize.function.js.map +1 -1
  251. package/dist/src/functions/array/unique.function.d.ts +4 -4
  252. package/dist/src/functions/array/unique.function.d.ts.map +1 -1
  253. package/dist/src/functions/array/unique.function.js +1 -1
  254. package/dist/src/functions/array/unique.function.js.map +1 -1
  255. package/dist/src/functions/data/coalesce.function.d.ts +4 -4
  256. package/dist/src/functions/data/coalesce.function.d.ts.map +1 -1
  257. package/dist/src/functions/data/coalesce.function.js +1 -1
  258. package/dist/src/functions/data/coalesce.function.js.map +1 -1
  259. package/dist/src/functions/data/crypto.function.d.ts +4 -4
  260. package/dist/src/functions/data/crypto.function.d.ts.map +1 -1
  261. package/dist/src/functions/data/crypto.function.js +1 -1
  262. package/dist/src/functions/data/crypto.function.js.map +1 -1
  263. package/dist/src/functions/data/date-time.function.d.ts +4 -4
  264. package/dist/src/functions/data/date-time.function.d.ts.map +1 -1
  265. package/dist/src/functions/data/date-time.function.js +1 -1
  266. package/dist/src/functions/data/date-time.function.js.map +1 -1
  267. package/dist/src/functions/data/jwt.function.d.ts +8 -8
  268. package/dist/src/functions/data/jwt.function.d.ts.map +1 -1
  269. package/dist/src/functions/data/jwt.function.js +2 -2
  270. package/dist/src/functions/data/jwt.function.js.map +1 -1
  271. package/dist/src/functions/data/math.function.d.ts +4 -4
  272. package/dist/src/functions/data/math.function.d.ts.map +1 -1
  273. package/dist/src/functions/data/math.function.js +1 -1
  274. package/dist/src/functions/data/math.function.js.map +1 -1
  275. package/dist/src/functions/data/read-file.function.d.ts +4 -4
  276. package/dist/src/functions/data/read-file.function.d.ts.map +1 -1
  277. package/dist/src/functions/data/read-file.function.js +1 -1
  278. package/dist/src/functions/data/read-file.function.js.map +1 -1
  279. package/dist/src/functions/data/sleep.function.d.ts +4 -4
  280. package/dist/src/functions/data/sleep.function.d.ts.map +1 -1
  281. package/dist/src/functions/data/sleep.function.js +1 -1
  282. package/dist/src/functions/data/sleep.function.js.map +1 -1
  283. package/dist/src/functions/data/string-transform.function.d.ts +4 -4
  284. package/dist/src/functions/data/string-transform.function.d.ts.map +1 -1
  285. package/dist/src/functions/data/string-transform.function.js +1 -1
  286. package/dist/src/functions/data/string-transform.function.js.map +1 -1
  287. package/dist/src/functions/data/type-convert.function.d.ts +4 -4
  288. package/dist/src/functions/data/type-convert.function.d.ts.map +1 -1
  289. package/dist/src/functions/data/type-convert.function.js +1 -1
  290. package/dist/src/functions/data/type-convert.function.js.map +1 -1
  291. package/dist/src/functions/data/wait.function.d.ts +4 -4
  292. package/dist/src/functions/data/wait.function.d.ts.map +1 -1
  293. package/dist/src/functions/data/wait.function.js +1 -1
  294. package/dist/src/functions/data/wait.function.js.map +1 -1
  295. package/dist/src/functions/data/write-file.function.d.ts +4 -4
  296. package/dist/src/functions/data/write-file.function.d.ts.map +1 -1
  297. package/dist/src/functions/data/write-file.function.js +1 -1
  298. package/dist/src/functions/data/write-file.function.js.map +1 -1
  299. package/dist/src/functions/logic/branch.function.d.ts +4 -4
  300. package/dist/src/functions/logic/branch.function.d.ts.map +1 -1
  301. package/dist/src/functions/logic/branch.function.js +1 -1
  302. package/dist/src/functions/logic/branch.function.js.map +1 -1
  303. package/dist/src/functions/logic/stop-and-error.function.d.ts +4 -4
  304. package/dist/src/functions/logic/stop-and-error.function.d.ts.map +1 -1
  305. package/dist/src/functions/logic/stop-and-error.function.js +1 -1
  306. package/dist/src/functions/logic/stop-and-error.function.js.map +1 -1
  307. package/dist/src/functions/network/http-request.function.d.ts +4 -4
  308. package/dist/src/functions/network/http-request.function.d.ts.map +1 -1
  309. package/dist/src/functions/network/http-request.function.js +1 -1
  310. package/dist/src/functions/network/http-request.function.js.map +1 -1
  311. package/dist/src/functions/transform/concat.function.d.ts +4 -4
  312. package/dist/src/functions/transform/concat.function.d.ts.map +1 -1
  313. package/dist/src/functions/transform/concat.function.js +1 -1
  314. package/dist/src/functions/transform/concat.function.js.map +1 -1
  315. package/dist/src/functions/transform/edit-fields.function.d.ts +4 -4
  316. package/dist/src/functions/transform/edit-fields.function.d.ts.map +1 -1
  317. package/dist/src/functions/transform/edit-fields.function.js +1 -1
  318. package/dist/src/functions/transform/edit-fields.function.js.map +1 -1
  319. package/dist/src/functions/transform/merge.function.d.ts +4 -4
  320. package/dist/src/functions/transform/merge.function.d.ts.map +1 -1
  321. package/dist/src/functions/transform/merge.function.js +1 -1
  322. package/dist/src/functions/transform/merge.function.js.map +1 -1
  323. package/dist/src/functions/transform/omit.function.d.ts +4 -4
  324. package/dist/src/functions/transform/omit.function.d.ts.map +1 -1
  325. package/dist/src/functions/transform/omit.function.js +1 -1
  326. package/dist/src/functions/transform/omit.function.js.map +1 -1
  327. package/dist/src/functions/transform/pick.function.d.ts +4 -4
  328. package/dist/src/functions/transform/pick.function.d.ts.map +1 -1
  329. package/dist/src/functions/transform/pick.function.js +1 -1
  330. package/dist/src/functions/transform/pick.function.js.map +1 -1
  331. package/dist/src/functions/transform/rename-keys.function.d.ts +4 -4
  332. package/dist/src/functions/transform/rename-keys.function.d.ts.map +1 -1
  333. package/dist/src/functions/transform/rename-keys.function.js +1 -1
  334. package/dist/src/functions/transform/rename-keys.function.js.map +1 -1
  335. package/dist/src/functions/transform/split-text.function.d.ts +4 -4
  336. package/dist/src/functions/transform/split-text.function.d.ts.map +1 -1
  337. package/dist/src/functions/transform/split-text.function.js +1 -1
  338. package/dist/src/functions/transform/split-text.function.js.map +1 -1
  339. package/dist/src/http-requester.service.d.ts +2 -2
  340. package/dist/src/http-requester.service.d.ts.map +1 -1
  341. package/dist/src/http-requester.service.js +2 -2
  342. package/dist/src/http-requester.service.js.map +1 -1
  343. package/dist/src/services.d.ts +1 -1
  344. package/dist/src/services.d.ts.map +1 -1
  345. package/dist/src/services.js +1 -1
  346. package/dist/src/services.js.map +1 -1
  347. package/dist/types/application-types.d.ts +1 -1
  348. package/package.json +11 -13
  349. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +0 -1
  350. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +0 -1
  351. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  352. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +0 -1
  353. package/dist/.pikku/agent/pikku-agent-types.gen.js +0 -21
  354. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +0 -1
  355. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +0 -1
  356. package/dist/.pikku/agent/pikku-model-aliases.gen.js +0 -6
  357. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +0 -1
  358. package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +0 -8
  359. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +0 -1
  360. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +0 -1
  361. package/dist/.pikku/console/pikku-node-types.gen.d.ts +0 -7
  362. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +0 -1
  363. package/dist/.pikku/console/pikku-node-types.gen.js +0 -2
  364. package/dist/.pikku/console/pikku-node-types.gen.js.map +0 -1
  365. package/dist/.pikku/function/pikku-function-types.gen.d.ts +0 -504
  366. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +0 -1
  367. package/dist/.pikku/function/pikku-function-types.gen.js +0 -352
  368. package/dist/.pikku/function/pikku-function-types.gen.js.map +0 -1
  369. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +0 -1
  370. package/dist/.pikku/function/pikku-functions-meta.gen.js +0 -7
  371. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +0 -1
  372. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +0 -1
  373. package/dist/.pikku/function/pikku-functions.gen.js +0 -74
  374. package/dist/.pikku/function/pikku-functions.gen.js.map +0 -1
  375. package/dist/.pikku/http/pikku-http-types.gen.d.ts +0 -98
  376. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +0 -1
  377. package/dist/.pikku/http/pikku-http-types.gen.js +0 -50
  378. package/dist/.pikku/http/pikku-http-types.gen.js.map +0 -1
  379. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +0 -1
  380. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -38
  381. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +0 -1
  382. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +0 -1
  383. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +0 -1
  384. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +0 -1
  385. package/dist/.pikku/pikku-bootstrap.gen.js.map +0 -1
  386. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +0 -1
  387. package/dist/.pikku/pikku-meta-service.gen.js.map +0 -1
  388. package/dist/.pikku/pikku-services.gen.d.ts.map +0 -1
  389. package/dist/.pikku/pikku-services.gen.js.map +0 -1
  390. package/dist/.pikku/pikku-types.gen.d.ts +0 -13
  391. package/dist/.pikku/pikku-types.gen.d.ts.map +0 -1
  392. package/dist/.pikku/pikku-types.gen.js +0 -19
  393. package/dist/.pikku/pikku-types.gen.js.map +0 -1
  394. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +0 -24
  395. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +0 -1
  396. package/dist/.pikku/queue/pikku-queue-types.gen.js +0 -17
  397. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +0 -1
  398. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -647
  399. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -681
  400. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +0 -647
  401. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +0 -1
  402. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +0 -7
  403. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +0 -1
  404. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +0 -1
  405. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +0 -1
  406. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +0 -5
  407. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +0 -1
  408. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +0 -1
  409. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +0 -1
  410. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +0 -1
  411. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +0 -5
  412. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +0 -1
  413. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +0 -1
  414. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +0 -5
  415. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +0 -1
  416. package/dist/.pikku/scenarios/schemas/register.gen.js +0 -5
  417. package/dist/.pikku/scenarios/schemas/register.gen.js.map +0 -1
  418. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +0 -22
  419. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +0 -1
  420. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +0 -17
  421. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +0 -1
  422. package/dist/.pikku/schemas/register.gen.d.ts.map +0 -1
  423. package/dist/.pikku/schemas/register.gen.js.map +0 -1
  424. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +0 -1
  425. package/dist/.pikku/scopes/pikku-personas.gen.js.map +0 -1
  426. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +0 -1
  427. package/dist/.pikku/scopes/pikku-roles.gen.js.map +0 -1
  428. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +0 -8
  429. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +0 -1
  430. package/dist/.pikku/scopes/pikku-scope-types.gen.js +0 -6
  431. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +0 -1
  432. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +0 -1
  433. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +0 -1
  434. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -7
  435. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +0 -1
  436. package/dist/.pikku/secrets/pikku-secret-types.gen.js +0 -5
  437. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +0 -1
  438. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +0 -22
  439. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +0 -1
  440. package/dist/.pikku/secrets/pikku-secrets.gen.js +0 -21
  441. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +0 -1
  442. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +0 -1
  443. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -34
  444. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +0 -1
  445. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -6
  446. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +0 -1
  447. package/dist/.pikku/variables/pikku-variable-types.gen.js +0 -5
  448. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +0 -1
  449. package/dist/.pikku/variables/pikku-variables.gen.d.ts +0 -22
  450. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +0 -1
  451. package/dist/.pikku/variables/pikku-variables.gen.js +0 -21
  452. package/dist/.pikku/variables/pikku-variables.gen.js.map +0 -1
  453. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +0 -1
  454. package/dist/.pikku/workflow/pikku-personas.gen.js +0 -18
  455. package/dist/.pikku/workflow/pikku-personas.gen.js.map +0 -1
  456. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +0 -18
  457. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
  458. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +0 -1
  459. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +0 -1
  460. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +0 -1
  461. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +0 -7
  462. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +0 -1
  463. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +0 -5
  464. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +0 -1
  465. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +0 -5
  466. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +0 -1
  467. /package/dist/.pikku/{agent → addon/agent}/pikku-model-aliases.gen.d.ts +0 -0
  468. /package/dist/.pikku/{scenarios/pikku-scenario-functions-meta.gen.json → addon/db/pikku-db-meta.gen.json} +0 -0
  469. /package/dist/.pikku/{function → addon/function}/pikku-functions-meta-verbose.gen.json +0 -0
  470. /package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.d.ts +0 -0
  471. /package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.json +0 -0
  472. /package/dist/.pikku/{function → addon/function}/pikku-functions.gen.d.ts +0 -0
  473. /package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.d.ts +0 -0
  474. /package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.json +0 -0
  475. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.d.ts +0 -0
  476. /package/dist/.pikku/{scopes/pikku-personas-meta.gen.json → addon/scenarios/pikku-scenario-functions-meta.gen.json} +0 -0
  477. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions.gen.js +0 -0
  478. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.d.ts +0 -0
  479. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings.gen.js +0 -0
  480. /package/dist/.pikku/{schemas → addon/schemas}/register.gen.d.ts +0 -0
  481. /package/dist/.pikku/{schemas → addon/schemas}/schemas/AggregateInput.schema.json +0 -0
  482. /package/dist/.pikku/{schemas → addon/schemas}/schemas/AggregateOutput.schema.json +0 -0
  483. /package/dist/.pikku/{schemas → addon/schemas}/schemas/BranchInput.schema.json +0 -0
  484. /package/dist/.pikku/{schemas → addon/schemas}/schemas/BranchOutput.schema.json +0 -0
  485. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ChunkInput.schema.json +0 -0
  486. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ChunkOutput.schema.json +0 -0
  487. /package/dist/.pikku/{schemas → addon/schemas}/schemas/CoalesceInput.schema.json +0 -0
  488. /package/dist/.pikku/{schemas → addon/schemas}/schemas/CoalesceOutput.schema.json +0 -0
  489. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ConcatInput.schema.json +0 -0
  490. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ConcatOutput.schema.json +0 -0
  491. /package/dist/.pikku/{schemas → addon/schemas}/schemas/CryptoInput.schema.json +0 -0
  492. /package/dist/.pikku/{schemas → addon/schemas}/schemas/CryptoOutput.schema.json +0 -0
  493. /package/dist/.pikku/{schemas → addon/schemas}/schemas/DateTimeInput.schema.json +0 -0
  494. /package/dist/.pikku/{schemas → addon/schemas}/schemas/DateTimeOutput.schema.json +0 -0
  495. /package/dist/.pikku/{schemas → addon/schemas}/schemas/EditFieldsInput.schema.json +0 -0
  496. /package/dist/.pikku/{schemas → addon/schemas}/schemas/EditFieldsOutput.schema.json +0 -0
  497. /package/dist/.pikku/{schemas → addon/schemas}/schemas/FanoutInput.schema.json +0 -0
  498. /package/dist/.pikku/{schemas → addon/schemas}/schemas/FanoutOutput.schema.json +0 -0
  499. /package/dist/.pikku/{schemas → addon/schemas}/schemas/FindInput.schema.json +0 -0
  500. /package/dist/.pikku/{schemas → addon/schemas}/schemas/FindOutput.schema.json +0 -0
  501. /package/dist/.pikku/{schemas → addon/schemas}/schemas/GroupByInput.schema.json +0 -0
  502. /package/dist/.pikku/{schemas → addon/schemas}/schemas/GroupByOutput.schema.json +0 -0
  503. /package/dist/.pikku/{schemas → addon/schemas}/schemas/HttpRequestInput.schema.json +0 -0
  504. /package/dist/.pikku/{schemas → addon/schemas}/schemas/HttpRequestOutput.schema.json +0 -0
  505. /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtDecodeInput.schema.json +0 -0
  506. /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtDecodeOutput.schema.json +0 -0
  507. /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtSignInput.schema.json +0 -0
  508. /package/dist/.pikku/{schemas → addon/schemas}/schemas/JwtSignOutput.schema.json +0 -0
  509. /package/dist/.pikku/{schemas → addon/schemas}/schemas/LimitInput.schema.json +0 -0
  510. /package/dist/.pikku/{schemas → addon/schemas}/schemas/LimitOutput.schema.json +0 -0
  511. /package/dist/.pikku/{schemas → addon/schemas}/schemas/MathInput.schema.json +0 -0
  512. /package/dist/.pikku/{schemas → addon/schemas}/schemas/MathOutput.schema.json +0 -0
  513. /package/dist/.pikku/{schemas → addon/schemas}/schemas/MergeInput.schema.json +0 -0
  514. /package/dist/.pikku/{schemas → addon/schemas}/schemas/MergeOutput.schema.json +0 -0
  515. /package/dist/.pikku/{schemas → addon/schemas}/schemas/OmitInput.schema.json +0 -0
  516. /package/dist/.pikku/{schemas → addon/schemas}/schemas/OmitOutput.schema.json +0 -0
  517. /package/dist/.pikku/{schemas → addon/schemas}/schemas/PickInput.schema.json +0 -0
  518. /package/dist/.pikku/{schemas → addon/schemas}/schemas/PickOutput.schema.json +0 -0
  519. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReadFileInput.schema.json +0 -0
  520. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReadFileOutput.schema.json +0 -0
  521. /package/dist/.pikku/{schemas → addon/schemas}/schemas/RemoveDuplicatesInput.schema.json +0 -0
  522. /package/dist/.pikku/{schemas → addon/schemas}/schemas/RemoveDuplicatesOutput.schema.json +0 -0
  523. /package/dist/.pikku/{schemas → addon/schemas}/schemas/RenameKeysInput.schema.json +0 -0
  524. /package/dist/.pikku/{schemas → addon/schemas}/schemas/RenameKeysOutput.schema.json +0 -0
  525. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReverseInput.schema.json +0 -0
  526. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReverseOutput.schema.json +0 -0
  527. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SleepInput.schema.json +0 -0
  528. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SleepOutput.schema.json +0 -0
  529. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SortInput.schema.json +0 -0
  530. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SortOutput.schema.json +0 -0
  531. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitOutInput.schema.json +0 -0
  532. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitOutOutput.schema.json +0 -0
  533. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitTextInput.schema.json +0 -0
  534. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SplitTextOutput.schema.json +0 -0
  535. /package/dist/.pikku/{schemas → addon/schemas}/schemas/StopAndErrorInput.schema.json +0 -0
  536. /package/dist/.pikku/{schemas → addon/schemas}/schemas/StopAndErrorOutput.schema.json +0 -0
  537. /package/dist/.pikku/{schemas → addon/schemas}/schemas/StringTransformInput.schema.json +0 -0
  538. /package/dist/.pikku/{schemas → addon/schemas}/schemas/StringTransformOutput.schema.json +0 -0
  539. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SummarizeInput.schema.json +0 -0
  540. /package/dist/.pikku/{schemas → addon/schemas}/schemas/SummarizeOutput.schema.json +0 -0
  541. /package/dist/.pikku/{schemas → addon/schemas}/schemas/TypeConvertInput.schema.json +0 -0
  542. /package/dist/.pikku/{schemas → addon/schemas}/schemas/TypeConvertOutput.schema.json +0 -0
  543. /package/dist/.pikku/{schemas → addon/schemas}/schemas/UniqueInput.schema.json +0 -0
  544. /package/dist/.pikku/{schemas → addon/schemas}/schemas/UniqueOutput.schema.json +0 -0
  545. /package/dist/.pikku/{schemas → addon/schemas}/schemas/WaitInput.schema.json +0 -0
  546. /package/dist/.pikku/{schemas → addon/schemas}/schemas/WaitOutput.schema.json +0 -0
  547. /package/dist/.pikku/{schemas → addon/schemas}/schemas/WriteFileInput.schema.json +0 -0
  548. /package/dist/.pikku/{schemas → addon/schemas}/schemas/WriteFileOutput.schema.json +0 -0
  549. /package/dist/.pikku/{scopes/pikku-roles-meta.gen.json → addon/scopes/pikku-personas-meta.gen.json} +0 -0
  550. /package/dist/.pikku/{scopes/pikku-scopes-meta.gen.json → addon/scopes/pikku-roles-meta.gen.json} +0 -0
  551. /package/dist/.pikku/{secrets/pikku-secrets-meta.gen.json → addon/scopes/pikku-scopes-meta.gen.json} +0 -0
  552. /package/dist/.pikku/{variables/pikku-variables-meta.gen.json → addon/secrets/pikku-secrets-meta.gen.json} +0 -0
  553. /package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-wirings-meta.gen.d.ts +0 -0
@@ -1,504 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- /**
5
- * Core function, middleware, and permission types for all wirings
6
- */
7
- import type { CorePikkuMiddleware, PickRequired } from '@pikku/core';
8
- import type { ListInput, ListOutput } from '@pikku/core/ecosystem/function';
9
- import type { CorePermissionGroup, PikkuWire, SecretlessServices } from '@pikku/core/ecosystem/types';
10
- import type { CorePikkuFunctionConfig, CorePikkuSessionlessFunctionConfig, CorePikkuAuth, CorePikkuAuthConfig, CorePikkuPermission } from '@pikku/core/ecosystem/function';
11
- import { CreateWireServices } from '@pikku/core/ecosystem';
12
- import type { NodeType } from '@pikku/core/ecosystem/node';
13
- import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
14
- import type { StandardSchemaV1 } from '@standard-schema/spec';
15
- import { CorePikkuFunction, CorePikkuFunctionSessionless } from '@pikku/core/ecosystem/function';
16
- import type { UserSession } from '../../types/application-types.d.js';
17
- import type { SingletonServices } from '../../types/application-types.d.js';
18
- import type { Services } from '../../types/application-types.d.js';
19
- import type { Config } from '../../types/application-types.d.js';
20
- import type { TypedPikkuRPC, FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
21
- import type { RequiredSingletonServices, RequiredWireServices } from '../pikku-services.gen.js';
22
- import type { TypedWorkflow, TypedScenario, TypedPersonas } from '../workflow/pikku-workflow-types.gen.js';
23
- export type { SingletonServices as SingletonServices };
24
- export type { Services as Services };
25
- export type Session = UserSession;
26
- /**
27
- * The services a wired function actually receives. The inspector records which
28
- * services each wired `func`, `permissions` and `middleware` destructures and
29
- * emits them as `RequiredSingletonServices`; intersecting that here makes those
30
- * services **non-optional** at every call site. A service is optional only when
31
- * nothing destructures it — in which case it is never created either. This is
32
- * why an `if (!service)` guard inside a function body is always dead code.
33
- */
34
- export type WiredSingletonServices = RequiredSingletonServices & SingletonServices;
35
- export type WiredServices = SecretlessServices<RequiredSingletonServices & Services>;
36
- /** `WiredSingletonServices` without `secrets`, for auth gates. */
37
- export type WiredAuthServices = SecretlessServices<WiredSingletonServices>;
38
- /**
39
- * Inline node configuration for function definitions.
40
- */
41
- export type NodeConfig = {
42
- displayName: string;
43
- category: string;
44
- type: NodeType;
45
- errorOutput?: boolean;
46
- };
47
- /**
48
- * Type-safe API permission definition that integrates with your application's session type.
49
- * Use this to define authorization logic for your API endpoints.
50
- *
51
- * @template In - The input type that the permission check will receive
52
- * @template RequiredServices - The services required for this permission check
53
- */
54
- export type PikkuPermission<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = CorePikkuPermission<In, RequiredServices, PikkuWire<In, never, false, Session>>;
55
- /**
56
- * Type-safe middleware definition that can access your application's services and session.
57
- * Use this to define reusable middleware that can be applied to multiple wirings.
58
- *
59
- * @template RequiredServices - The services required for this middleware
60
- */
61
- export type PikkuMiddleware<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuMiddleware<RequiredServices>;
62
- /**
63
- * Configuration object for creating a permission with metadata
64
- */
65
- export type PikkuPermissionConfig<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = {
66
- /** The permission function */
67
- func: PikkuPermission<In, RequiredServices>;
68
- /** Optional human-readable name for the permission */
69
- name?: string;
70
- /** Optional description of what the permission checks */
71
- description?: string;
72
- };
73
- /**
74
- * Factory function for creating permissions with tree-shaking support.
75
- * Supports both direct function and configuration object syntax.
76
- *
77
- * @example
78
- * ```typescript
79
- * // Direct function syntax
80
- * const permission = pikkuPermission(async ({ logger }, data, { session }) => {
81
- * const session = await session?.get()
82
- * return session?.role === 'admin'
83
- * })
84
- *
85
- * // Configuration object syntax with metadata
86
- * const adminPermission = pikkuPermission({
87
- * name: 'Admin Permission',
88
- * description: 'Checks if user has admin role',
89
- * func: async ({ logger }, data, { session }) => {
90
- * const session = await session?.get()
91
- * return session?.role === 'admin'
92
- * }
93
- * })
94
- * ```
95
- */
96
- export declare const pikkuPermission: <In>(permission: PikkuPermission<In> | PikkuPermissionConfig<In>) => PikkuPermission<In>;
97
- /**
98
- * Type-safe auth-only permission that only needs services and session.
99
- * Use this for upfront authorization gates (MCP tools, AI agents, workflows)
100
- * where request data isn't available yet.
101
- *
102
- * @template RequiredServices - The services required for this auth check
103
- */
104
- export type PikkuAuth<RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices> = CorePikkuAuth<RequiredServices, Session>;
105
- /**
106
- * Configuration object for creating an auth permission with metadata
107
- */
108
- export type PikkuAuthConfig<RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices> = CorePikkuAuthConfig<RequiredServices, Session>;
109
- /**
110
- * Factory function for creating auth-only permissions with tree-shaking support.
111
- * Auth permissions only receive services and session (no request data),
112
- * making them evaluable before request data is available.
113
- *
114
- * @example
115
- * \`\`\`typescript
116
- * const isAuthenticated = pikkuAuth(async ({ logger }, session) => {
117
- * return !!session
118
- * })
119
- *
120
- * const isAdmin = pikkuAuth({
121
- * name: 'Admin Auth',
122
- * description: 'Checks if user is an admin',
123
- * func: async ({ logger }, session) => {
124
- * return session?.role === 'admin'
125
- * }
126
- * })
127
- * \`\`\`
128
- */
129
- export declare const pikkuAuth: <RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices>(auth: PikkuAuth<RequiredServices> | PikkuAuthConfig<RequiredServices>) => PikkuPermission<any, any>;
130
- /**
131
- * Configuration object for creating middleware with metadata
132
- */
133
- export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = WiredSingletonServices> = {
134
- /** The middleware function */
135
- func: PikkuMiddleware<RequiredServices>;
136
- /** Optional human-readable name for the middleware */
137
- name?: string;
138
- /** Optional description of what the middleware does */
139
- description?: string;
140
- };
141
- /**
142
- * Factory function for creating middleware with tree-shaking support.
143
- * Supports both direct function and configuration object syntax.
144
- *
145
- * @example
146
- * ```typescript
147
- * // Direct function syntax
148
- * const middleware = pikkuMiddleware(({ logger }, wires, next) => {
149
- * logger.info('Middleware executed')
150
- * await next()
151
- * })
152
- *
153
- * // Configuration object syntax with metadata
154
- * const logMiddleware = pikkuMiddleware({
155
- * name: 'Request Logger',
156
- * description: 'Logs all incoming requests',
157
- * func: async ({ logger }, wires, next) => {
158
- * logger.info('Request started')
159
- * await next()
160
- * }
161
- * })
162
- * ```
163
- */
164
- export declare const pikkuMiddleware: <RequiredServices extends SingletonServices = WiredSingletonServices>(middleware: PikkuMiddleware<RequiredServices> | PikkuMiddlewareConfig<RequiredServices>) => PikkuMiddleware<RequiredServices>;
165
- /**
166
- * Factory function for creating middleware factories
167
- * Use this when your middleware needs configuration/input parameters
168
- *
169
- * @example
170
- * ```typescript
171
- * export const logMiddleware = pikkuMiddlewareFactory<LogOptions>(({
172
- * message,
173
- * level = 'info'
174
- * }) => {
175
- * return pikkuMiddleware(async ({ logger }, next) => {
176
- * logger[level](message)
177
- * await next()
178
- * })
179
- * })
180
- * ```
181
- */
182
- export declare const pikkuMiddlewareFactory: <In = any>(factory: (input: In) => PikkuMiddleware) => ((input: In) => PikkuMiddleware);
183
- /**
184
- * Factory function for creating permission factories
185
- * Use this when your permission needs configuration/input parameters
186
- *
187
- * @example
188
- * ```typescript
189
- * export const requireRole = pikkuPermissionFactory<{ role: string }>(({
190
- * role
191
- * }) => {
192
- * return pikkuPermission(async ({ logger }, data, { session }) => {
193
- * if (!session || session.role !== role) {
194
- * logger.warn(`Permission denied: required role '${role}'`)
195
- * return false
196
- * }
197
- * return true
198
- * })
199
- * })
200
- * ```
201
- */
202
- export declare const pikkuPermissionFactory: <In = any>(factory: (input: In) => PikkuPermission<any>) => ((input: In) => PikkuPermission<any>);
203
- /**
204
- * A function that generates a human-readable description of a pending approval action.
205
- * Used by AI agents to show meaningful approval prompts instead of raw tool arguments.
206
- *
207
- * @template In - The input type (same as the function it describes)
208
- * @template RequiredServices - The services required for this description function
209
- */
210
- export type PikkuApprovalDescription<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = (services: RequiredServices, data: In) => Promise<string>;
211
- /**
212
- * Factory function for creating approval description functions with tree-shaking support.
213
- *
214
- * @example
215
- * ```typescript
216
- * export const deleteTodoApproval = pikkuApprovalDescription(
217
- * async ({ todoStore }, { id }) => {
218
- * const todo = await todoStore.get(id)
219
- * return \`Delete todo: "${todo.title}"\`
220
- * }
221
- * )
222
- * ```
223
- */
224
- export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices>(fn: PikkuApprovalDescription<In, RequiredServices>) => PikkuApprovalDescription<In, RequiredServices>;
225
- /**
226
- * A sessionless API function that doesn't require user authentication.
227
- * Use this for public endpoints, health checks, or operations that don't need user context.
228
- *
229
- * @template In - The input type
230
- * @template Out - The output type that the function returns
231
- * @template RequiredServices - Services required by this function
232
- * @template ScenarioOut - Types `scenario.context`; only scenarios set it.
233
- * Not defaulted to `Out`, which would make every ordinary function's wire
234
- * type vary with its return type and cost a `func` written against the
235
- * `PikkuFunction | PikkuFunctionSessionless` union its contextual typing.
236
- */
237
- export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends SecretlessServices<Services> = WiredServices, ScenarioOut = unknown> = CorePikkuFunctionSessionless<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario<ScenarioOut>, TypedPersonas>, RequiredWires>>;
238
- /**
239
- * A session-aware API function that requires user authentication.
240
- * Use this for protected endpoints that need access to user session data.
241
- *
242
- * @template In - The input type
243
- * @template Out - The output type that the function returns
244
- * @template RequiredServices - Services required by this function
245
- */
246
- export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends SecretlessServices<Services> = WiredServices> = CorePikkuFunction<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, true, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario, TypedPersonas>, RequiredWires>>;
247
- /**
248
- * Helper type to infer the output type from a Standard Schema
249
- */
250
- export type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never;
251
- /**
252
- * Configuration object for Pikku functions with optional middleware, permissions, tags, and documentation.
253
- * This type wraps CorePikkuFunctionConfig with the user's custom types.
254
- *
255
- * @template In - The input type
256
- * @template Out - The output type
257
- * @template PikkuFunc - The function type (can be narrowed to PikkuFunction or PikkuFunctionSessionless)
258
- */
259
- export type PikkuFunctionConfig<In = unknown, Out = unknown, RequiredWires extends keyof PikkuWire = never, PikkuFunc extends PikkuFunction<In, Out, RequiredWires, any> | PikkuFunctionSessionless<In, Out, RequiredWires, any, any> = PikkuFunction<In, Out, RequiredWires> | PikkuFunctionSessionless<In, Out, RequiredWires>, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema, ScopeId>;
260
- /**
261
- * {@link PikkuFunctionConfig} for a function that runs without a session.
262
- * Has no `scopes`: an anonymous caller holds none, so none can ever be met.
263
- */
264
- export type PikkuFunctionSessionlessConfig<In = unknown, Out = unknown, RequiredWires extends keyof PikkuWire = never, PikkuFunc extends PikkuFunctionSessionless<In, Out, RequiredWires, any> = PikkuFunctionSessionless<In, Out, RequiredWires>, InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = CorePikkuSessionlessFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema>;
265
- /**
266
- * Configuration object for Pikku functions with Zod schema validation.
267
- * Use this when you want to define input/output schemas using Zod.
268
- * Types are automatically inferred from the schemas.
269
- */
270
- type SchemaInferred<S, Fallback = unknown> = S extends StandardSchemaV1 ? InferSchemaOutput<S> : Fallback;
271
- /**
272
- * Schema-overload variant for pikkuFunc. Derived from CorePikkuFunctionConfig
273
- * so adding a field on the core type automatically propagates here.
274
- */
275
- export type PikkuFunctionConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredWires extends keyof PikkuWire = never, RequiredServices extends SecretlessServices<Services> = WiredServices> = Omit<CorePikkuFunctionConfig<PikkuFunction<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices> | PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>, CorePikkuPermission<any>, PikkuMiddleware, undefined, undefined, ScopeId>, 'func' | 'input' | 'output' | 'permissions' | 'approvalDescription'> & {
276
- func: PikkuFunction<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices> | PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>;
277
- input?: InputSchema;
278
- output?: OutputSchema;
279
- permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
280
- approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never;
281
- };
282
- /**
283
- * Creates a Pikku function that can be either session-aware or sessionless.
284
- * This is the main function wrapper for creating API endpoints.
285
- *
286
- * Define the input and output with Zod schemas — the function's types are
287
- * inferred from them, and the schemas double as runtime validation.
288
- *
289
- * @param config - Function definition with `input`/`output` Zod schemas and `func`.
290
- * @returns The normalized configuration object
291
- *
292
- * @example
293
- * ```typescript
294
- * const createUserInput = z.object({ name: z.string(), email: z.string() })
295
- * const createUserOutput = z.object({ id: z.number() })
296
- *
297
- * const createUser = pikkuFunc({
298
- * input: createUserInput,
299
- * output: createUserOutput,
300
- * func: async ({db}, input) => {
301
- * // input is typed as { name: string, email: string }
302
- * const user = await db.users.create(input)
303
- * return { id: user.id } // must match output schema
304
- * }
305
- * })
306
- * ```
307
- */
308
- export declare function pikkuFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuFunctionConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc'>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>;
309
- export declare function pikkuFunc<In, Out = unknown>(func: PikkuFunction<In, Out, 'session' | 'rpc'> | PikkuFunctionConfig<In, Out, 'session' | 'rpc'>): PikkuFunctionConfig<In, Out, 'session' | 'rpc'>;
310
- export type PikkuListFunction<F extends Record<string, unknown> = {}, Row = unknown, S extends string = never> = PikkuFunction<ListInput<F, S>, ListOutput<Row>, 'session' | 'rpc'> | PikkuFunctionSessionless<ListInput<F, S>, ListOutput<Row>, 'session' | 'rpc'>;
311
- export declare const pikkuListFunc: <F extends Record<string, unknown> = {}, Row = unknown, S extends string = never>(config: PikkuFunctionConfig<ListInput<F, S>, ListOutput<Row>, "session" | "rpc">) => PikkuFunctionConfig<ListInput<F, S>, ListOutput<Row>, "session" | "rpc">;
312
- /**
313
- * Configuration object for sessionless Pikku functions with Zod schema validation.
314
- */
315
- /**
316
- * Schema-overload variant for pikkuSessionlessFunc. Derived from
317
- * CorePikkuSessionlessFunctionConfig to stay in sync with the generic-typed
318
- * config — so it has no `scopes` either.
319
- */
320
- export type PikkuFunctionSessionlessConfigWithSchema<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredWires extends keyof PikkuWire = never, RequiredServices extends SecretlessServices<Services> = WiredServices> = Omit<CorePikkuSessionlessFunctionConfig<PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>>, 'func' | 'input' | 'output' | 'permissions' | 'approvalDescription'> & {
321
- func: PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>;
322
- input?: InputSchema;
323
- output?: OutputSchema;
324
- permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
325
- approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never;
326
- };
327
- /**
328
- * Creates a sessionless Pikku function that doesn't require user authentication.
329
- * Use this for public endpoints, webhooks, or background tasks.
330
- *
331
- * Define the input and output with Zod schemas — the function's types are
332
- * inferred from them, and the schemas double as runtime validation.
333
- *
334
- * @param config - Function definition with `input`/`output` Zod schemas and `func`.
335
- * @returns The normalized configuration object
336
- *
337
- * @example
338
- * ```typescript
339
- * const greetInput = z.object({ name: z.string() })
340
- * const greetOutput = z.object({ message: z.string() })
341
- *
342
- * const greet = pikkuSessionlessFunc({
343
- * input: greetInput,
344
- * output: greetOutput,
345
- * func: async (_services, { name }) => {
346
- * return { message: `Hello, ${name}!` }
347
- * }
348
- * })
349
- * ```
350
- */
351
- export declare function pikkuSessionlessFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined, RequiredServices extends SecretlessServices<Services> = WiredServices>(config: PikkuFunctionSessionlessConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc', RequiredServices>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'session' | 'rpc'>;
352
- export declare function pikkuSessionlessFunc<In, Out = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices>(func: PikkuFunctionSessionless<In, Out, 'session' | 'rpc', RequiredServices> | PikkuFunctionSessionlessConfig<In, Out, 'session' | 'rpc', PikkuFunctionSessionless<In, Out, 'session' | 'rpc', RequiredServices>>): PikkuFunctionConfig<In, Out, 'session' | 'rpc'>;
353
- /**
354
- * Creates a function that takes no input and returns no output.
355
- * Useful for health checks, triggers, or cleanup operations.
356
- *
357
- * @param func - Function definition, either direct function or configuration object
358
- * @returns The normalized configuration object
359
- *
360
- * @example
361
- * ```typescript
362
- * const cleanupTempFiles = pikkuVoidFunc(async ({fileSystem, logger}) => {
363
- * logger.info('Starting cleanup of temporary files')
364
- * await fileSystem.deleteDirectory('/tmp/uploads')
365
- * logger.info('Cleanup completed')
366
- * })
367
- * ```
368
- */
369
- export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionSessionlessConfig<void, void, "session" | "rpc">) => PikkuFunctionSessionlessConfig<void, void, "rpc" | "session", PikkuFunctionSessionless<void, void, "rpc" | "session", WiredServices, unknown>, undefined, undefined>;
370
- /**
371
- * References a registered function by name for use in any wiring.
372
- * Works for both local and addon functions — resolves via RPC at runtime.
373
- *
374
- * @template Name - The function name (must be a key in FlattenedRPCMap)
375
- * @param rpcName - The name of the function to reference
376
- * @returns A Pikku function config that proxies calls via RPC
377
- *
378
- * @example
379
- * ```typescript
380
- * // Use in agent tools
381
- * tools: [ref('todos:listTodos'), ref('myLocalFunc')]
382
- *
383
- * // Use in HTTP wiring
384
- * wireHTTP({ route: '/greet', method: 'post', func: ref('greet') })
385
- * ```
386
- */
387
- export declare const ref: <Name extends keyof FlattenedRPCMap>(rpcName: Name) => PikkuFunctionConfig<FlattenedRPCMap[Name]["input"], FlattenedRPCMap[Name]["output"], "session" | "rpc">;
388
- /**
389
- * Declares a capability the connected client answers, reachable from any
390
- * `wireChannel` function as `channel.remote(name, input)`.
391
- *
392
- * There is no `func`: this side owns the contract, the client owns the body.
393
- * The `description` is what a person is shown when asked to approve the call,
394
- * so write it for them rather than for the caller.
395
- *
396
- * @example
397
- * ```typescript
398
- * export const localCheckoutOutput = z.object({ sha: z.string(), branch: z.string() })
399
- *
400
- * export const localCheckout = pikkuRemoteChannelFunc({
401
- * description: 'Read the current commit and branch of your working tree',
402
- * output: localCheckoutOutput,
403
- * })
404
- * ```
405
- */
406
- export declare function pikkuRemoteChannelFunc<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: Omit<PikkuFunctionSessionlessConfigWithSchema<InputSchema, OutputSchema, 'session' | 'rpc'>, 'func'>): PikkuFunctionConfig<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, 'session' | 'rpc'>;
407
- /**
408
- * Creates a Pikku config factory.
409
- * Use this to define your application's configuration factory.
410
- *
411
- * @param func - Config factory function that returns your application's config
412
- * @returns The config factory function
413
- *
414
- * @example
415
- * ```typescript
416
- * export const createConfig = pikkuConfig(async () => {
417
- * return {
418
- * apiUrl: process.env.API_URL || 'http://localhost:3000',
419
- * dbUrl: process.env.DATABASE_URL
420
- * }
421
- * })
422
- * ```
423
- */
424
- export declare const pikkuConfig: (func: (variables?: any, ...args: any[]) => Promise<Config>) => (variables?: any, ...args: any[]) => Promise<Config>;
425
- /**
426
- * Creates a Pikku singleton services factory.
427
- * Use this to define services that are created once and shared across all requests.
428
- *
429
- * @param func - Singleton services factory function
430
- * @returns The singleton services factory function
431
- *
432
- * @example
433
- * ```typescript
434
- * export const createSingletonServices = pikkuServices(async (config, existingServices) => {
435
- * return {
436
- * config,
437
- * logger: new CustomLogger(),
438
- * db: await createDatabaseConnection(config.dbUrl)
439
- * }
440
- * })
441
- * ```
442
- */
443
- export declare const pikkuServices: (func: (config: Config, existingServices: Partial<SingletonServices>) => Promise<Partial<Omit<RequiredSingletonServices, "auth">>>) => (config: Config, existingServices?: Partial<SingletonServices>) => Promise<RequiredSingletonServices>;
444
- /**
445
- * Creates a Pikku wire services factory.
446
- * Use this to define services that are created per-request/session.
447
- *
448
- * @param func - Wire services factory function
449
- * @returns The wire services factory function
450
- *
451
- * @example
452
- * ```typescript
453
- * export const createWireServices = pikkuWireServices(async (services, wire) => {
454
- * const session = await wire.session?.get()
455
- * return {
456
- * userCache: new UserCache(session?.userId)
457
- * }
458
- * })
459
- * ```
460
- */
461
- export declare const pikkuWireServices: (func: (services: SingletonServices, wire: any) => Promise<RequiredWireServices>) => CreateWireServices;
462
- /**
463
- * Tag-scoped middleware. Applies to any wiring that carries the matching tag.
464
- *
465
- * @example
466
- * addTagMiddleware('admin', [adminMiddleware])
467
- */
468
- export declare const addTagMiddleware: (tag: string, middleware: PikkuMiddleware[]) => void;
469
- /**
470
- * Wire-agnostic global middleware. Runs at the top of every wiring's
471
- * middleware chain — before wire-, tag-, and function-level entries.
472
- *
473
- * Resolution order: global -> wire -> tag -> function.
474
- *
475
- * @example
476
- * addGlobalMiddleware([telemetryMiddleware])
477
- */
478
- export declare const addGlobalMiddleware: (middleware: PikkuMiddleware[]) => void;
479
- /**
480
- * Wire-agnostic global permissions. Runs at the top of every wiring's
481
- * permission resolution — before wire-, tag-, and function-level entries.
482
- *
483
- * Resolution order: global -> wire -> tag -> function.
484
- *
485
- * @example
486
- * addGlobalPermission([signedInUser])
487
- */
488
- export declare const addGlobalPermission: <In = unknown>(permissions: CorePermissionGroup<PikkuPermission<In>> | PikkuPermission<In>[]) => void;
489
- export { wireAddon, wireRemoteAddon } from '@pikku/core/ecosystem/rpc';
490
- export type { WireAddonConfig, WireRemoteAddonConfig, RemoteAddonAuth } from '@pikku/core/ecosystem/rpc';
491
- /**
492
- * Addon contract references. Generated from each wired addon's published
493
- * contract metadata — no addon source is imported. Functions are proxied via
494
- * ref() (RPC) exactly like ref('namespace:fn').
495
- */
496
- declare const __addonHttp: {};
497
- declare const __addonChannel: {};
498
- declare const __addonCli: {};
499
- export declare const refHTTP: <Name extends keyof typeof __addonHttp>(name: Name, options?: {
500
- basePath?: string;
501
- }) => (typeof __addonHttp)[Name];
502
- export declare const refChannel: <Name extends keyof typeof __addonChannel>(name: Name) => (typeof __addonChannel)[Name];
503
- export declare const refCLI: <Name extends keyof typeof __addonCli>(name: Name) => (typeof __addonCli)[Name];
504
- //# sourceMappingURL=pikku-function-types.gen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pikku-function-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/function/pikku-function-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY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