@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
@@ -0,0 +1,109 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Permission, auth gate and credential definitions
6
+ */
7
+ import type { PikkuWire, SecretlessServices } from '@pikku/core/types';
8
+ import type { CorePermissionGroup, CorePikkuAuth, CorePikkuAuthConfig, CorePikkuPermission } from '@pikku/core/function';
9
+ import type { Services, Session, SingletonServices, WiredServices } from '../function/pikku-function-types.gen.js';
10
+ import type { RequiredSingletonServices } from '../pikku-services.gen.js';
11
+ export { defineCredential } from '@pikku/core/credential';
12
+ /**
13
+ * Derived here rather than imported: nothing outside a generated leaf ever
14
+ * names this intersection, so the function leaf keeps it to itself and the
15
+ * leaves that want it spell it out.
16
+ */
17
+ type WiredSingletonServices = RequiredSingletonServices & SingletonServices;
18
+ /** `WiredSingletonServices` without `secrets`, for auth gates. */
19
+ type WiredAuthServices = SecretlessServices<WiredSingletonServices>;
20
+ /**
21
+ * Type-safe API permission definition that integrates with your application's session type.
22
+ * Use this to define authorization logic for your API endpoints.
23
+ *
24
+ * @template In - The input type that the permission check will receive
25
+ * @template RequiredServices - The services required for this permission check
26
+ */
27
+ export type PikkuPermission<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = CorePikkuPermission<In, RequiredServices, PikkuWire<In, never, false, Session>>;
28
+ /**
29
+ * Configuration object for creating a permission with metadata
30
+ */
31
+ type PikkuPermissionConfig<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = {
32
+ /** The permission function */
33
+ func: PikkuPermission<In, RequiredServices>;
34
+ /** Optional human-readable name for the permission */
35
+ name?: string;
36
+ /** Optional description of what the permission checks */
37
+ description?: string;
38
+ };
39
+ /**
40
+ * Factory function for creating permissions with tree-shaking support.
41
+ * Supports both direct function and configuration object syntax.
42
+ *
43
+ * @example snippet: permissionFunction
44
+ */
45
+ export declare const pikkuPermission: <In>(permission: PikkuPermission<In> | PikkuPermissionConfig<In>) => PikkuPermission<In>;
46
+ /**
47
+ * Type-safe auth-only permission that only needs services and session.
48
+ * Use this for upfront authorization gates (MCP tools, AI agents, workflows)
49
+ * where request data isn't available yet.
50
+ *
51
+ * @template RequiredServices - The services required for this auth check
52
+ */
53
+ type PikkuAuth<RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices> = CorePikkuAuth<RequiredServices, Session>;
54
+ /**
55
+ * Configuration object for creating an auth permission with metadata
56
+ */
57
+ type PikkuAuthConfig<RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices> = CorePikkuAuthConfig<RequiredServices, Session>;
58
+ /**
59
+ * Factory function for creating auth-only permissions with tree-shaking support.
60
+ * Auth permissions only receive services and session (no request data),
61
+ * making them evaluable before request data is available.
62
+ *
63
+ * @example
64
+ * \`\`\`typescript
65
+ * const isAuthenticated = pikkuAuth(async ({ logger }, session) => {
66
+ * return !!session
67
+ * })
68
+ *
69
+ * const isAdmin = pikkuAuth({
70
+ * name: 'Admin Auth',
71
+ * description: 'Checks if user is an admin',
72
+ * func: async ({ logger }, session) => {
73
+ * return session?.role === 'admin'
74
+ * }
75
+ * })
76
+ * \`\`\`
77
+ */
78
+ export declare const pikkuAuth: <RequiredServices extends SecretlessServices<SingletonServices> = WiredAuthServices>(auth: PikkuAuth<RequiredServices> | PikkuAuthConfig<RequiredServices>) => PikkuPermission<any, any>;
79
+ /**
80
+ * Factory function for creating permission factories
81
+ * Use this when your permission needs configuration/input parameters
82
+ *
83
+ * @example
84
+ * ```typescript
85
+ * export const requireRole = pikkuPermissionFactory<{ role: string }>(({
86
+ * role
87
+ * }) => {
88
+ * return pikkuPermission(async ({ logger }, data, { session }) => {
89
+ * if (!session || session.role !== role) {
90
+ * logger.warn(`Permission denied: required role '${role}'`)
91
+ * return false
92
+ * }
93
+ * return true
94
+ * })
95
+ * })
96
+ * ```
97
+ */
98
+ export declare const pikkuPermissionFactory: <In = any>(factory: (input: In) => PikkuPermission<any>) => ((input: In) => PikkuPermission<any>);
99
+ /**
100
+ * Wire-agnostic global permissions. Runs at the top of every wiring's
101
+ * permission resolution — before wire-, tag-, and function-level entries.
102
+ *
103
+ * Resolution order: global -> wire -> tag -> function.
104
+ *
105
+ * @example
106
+ * addGlobalPermission([signedInUser])
107
+ */
108
+ export declare const addGlobalPermission: <In = unknown>(permissions: CorePermissionGroup<PikkuPermission<In>> | PikkuPermission<In>[]) => void;
109
+ //# sourceMappingURL=pikku-auth-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-auth-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/auth/pikku-auth-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,KAAK,EACV,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EACV,QAAQ,EACR,OAAO,EACP,iBAAiB,EACjB,aAAa,EACd,MAAM,yCAAyC,CAAA;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AAEzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEzD;;;;GAIG;AACH,KAAK,sBAAsB,GAAG,yBAAyB,GAAG,iBAAiB,CAAA;AAE3E,kEAAkE;AAClE,KAAK,iBAAiB,GAAG,kBAAkB,CAAC,sBAAsB,CAAC,CAAA;AAEnE;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,CAAC,EAAE,GAAG,OAAO,EAAE,gBAAgB,SAAS,kBAAkB,CAAC,QAAQ,CAAC,GAAG,aAAa,IAAI,mBAAmB,CAAC,EAAE,EAAE,gBAAgB,EAAE,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AAElM;;GAEG;AACH,KAAK,qBAAqB,CAAC,EAAE,GAAG,OAAO,EAAE,gBAAgB,SAAS,kBAAkB,CAAC,QAAQ,CAAC,GAAG,aAAa,IAAI;IAChH,8BAA8B;IAC9B,IAAI,EAAE,eAAe,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAA;IAC3C,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,EAAE,EAChC,YAAY,eAAe,CAAC,EAAE,CAAC,GAAG,qBAAqB,CAAC,EAAE,CAAC,KAC1D,eAAe,CAAC,EAAE,CAEpB,CAAA;AAED;;;;;;GAMG;AACH,KAAK,SAAS,CAAC,gBAAgB,SAAS,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,iBAAiB,IAAI,aAAa,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAE7I;;GAEG;AACH,KAAK,eAAe,CAAC,gBAAgB,SAAS,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,iBAAiB,IAAI,mBAAmB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAEzJ;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,SAAS,GAAI,gBAAgB,SAAS,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,iBAAiB,EAC1G,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,eAAe,CAAC,gBAAgB,CAAC,KACpE,eAAe,CAAC,GAAG,EAAE,GAAG,CAE1B,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,GAAI,EAAE,GAAG,GAAG,EAC7C,SAAS,CAAC,KAAK,EAAE,EAAE,KAAK,eAAe,CAAC,GAAG,CAAC,KAC3C,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,eAAe,CAAC,GAAG,CAAC,CAEtC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,GAAI,EAAE,GAAG,OAAO,EAAE,aAAa,mBAAmB,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,GAAG,eAAe,CAAC,EAAE,CAAC,EAAE,SAE9H,CAAA"}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Permission, auth gate and credential definitions
6
+ */
7
+ import { pikkuAuth as pikkuAuthCore } from '@pikku/core/function';
8
+ import { addGlobalPermission as addGlobalPermissionCore } from '@pikku/core/middleware';
9
+ export { defineCredential } from '@pikku/core/credential';
10
+ /**
11
+ * Factory function for creating permissions with tree-shaking support.
12
+ * Supports both direct function and configuration object syntax.
13
+ *
14
+ * @example snippet: permissionFunction
15
+ */
16
+ export const pikkuPermission = (permission) => {
17
+ return typeof permission === 'function' ? permission : permission.func;
18
+ };
19
+ /**
20
+ * Factory function for creating auth-only permissions with tree-shaking support.
21
+ * Auth permissions only receive services and session (no request data),
22
+ * making them evaluable before request data is available.
23
+ *
24
+ * @example
25
+ * \`\`\`typescript
26
+ * const isAuthenticated = pikkuAuth(async ({ logger }, session) => {
27
+ * return !!session
28
+ * })
29
+ *
30
+ * const isAdmin = pikkuAuth({
31
+ * name: 'Admin Auth',
32
+ * description: 'Checks if user is an admin',
33
+ * func: async ({ logger }, session) => {
34
+ * return session?.role === 'admin'
35
+ * }
36
+ * })
37
+ * \`\`\`
38
+ */
39
+ export const pikkuAuth = (auth) => {
40
+ return pikkuAuthCore(auth);
41
+ };
42
+ /**
43
+ * Factory function for creating permission factories
44
+ * Use this when your permission needs configuration/input parameters
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ * export const requireRole = pikkuPermissionFactory<{ role: string }>(({
49
+ * role
50
+ * }) => {
51
+ * return pikkuPermission(async ({ logger }, data, { session }) => {
52
+ * if (!session || session.role !== role) {
53
+ * logger.warn(`Permission denied: required role '${role}'`)
54
+ * return false
55
+ * }
56
+ * return true
57
+ * })
58
+ * })
59
+ * ```
60
+ */
61
+ export const pikkuPermissionFactory = (factory) => {
62
+ return factory;
63
+ };
64
+ /**
65
+ * Wire-agnostic global permissions. Runs at the top of every wiring's
66
+ * permission resolution — before wire-, tag-, and function-level entries.
67
+ *
68
+ * Resolution order: global -> wire -> tag -> function.
69
+ *
70
+ * @example
71
+ * addGlobalPermission([signedInUser])
72
+ */
73
+ export const addGlobalPermission = (permissions) => {
74
+ addGlobalPermissionCore(permissions, '@pikku/addon-graph');
75
+ };
76
+ //# sourceMappingURL=pikku-auth-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-auth-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/auth/pikku-auth-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AASH,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AASvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAiCzD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAA2D,EACtC,EAAE;IACvB,OAAO,OAAO,UAAU,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAA;AACxE,CAAC,CAAA;AAgBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CACvB,IAAqE,EAC1C,EAAE;IAC7B,OAAO,aAAa,CAAC,IAAW,CAAQ,CAAA;AAC1C,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,OAA4C,EACL,EAAE;IACzC,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAe,WAA6E,EAAE,EAAE;IACjI,uBAAuB,CAAC,WAAkB,EAAE,oBAAoB,CAAC,CAAA;AACnE,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/channel` resolves here.
6
+ */
7
+ export * from './pikku-channel-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/channel/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/channel` resolves here.
6
+ */
7
+ export * from './pikku-channel-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/channel/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,8BAA8B,CAAA"}
@@ -1,27 +1,18 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.105
2
+ * This file was generated by @pikku/cli@0.12.141
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
6
6
  */
7
- import { CoreChannel, CorePikkuChannelMiddleware, CorePikkuChannelMiddlewareFactory } from '@pikku/core/ecosystem/channel';
8
- import { AssertHTTPWiringParams } from '@pikku/core/ecosystem/http';
9
- import type { PikkuFunctionConfig, PikkuFunctionSessionless, PikkuPermission, PikkuMiddleware, Services } from '../function/pikku-function-types.gen.js';
10
- import type { CorePermissionGroup } from '@pikku/core/ecosystem/types';
7
+ import type { PikkuFunctionConfig, PikkuFunctionSessionless } from '../function/pikku-function-types.gen.js';
8
+ import type { PikkuPermission } from '../auth/pikku-auth-types.gen.js';
9
+ import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
10
+ import type { CorePermissionGroup } from '@pikku/core/function';
11
11
  import type { StandardSchemaV1 } from '@standard-schema/spec';
12
12
  /**
13
13
  * Helper type to infer the output type from a Standard Schema
14
14
  */
15
15
  type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never;
16
- /**
17
- * Type definition for WebSocket channels with typed data exchange.
18
- * Supports connection, disconnection, and message handling.
19
- * Accepts both session-based (PikkuFunction) and sessionless (PikkuFunctionSessionless) functions.
20
- *
21
- * @template ChannelData - Type of data exchanged through the channel
22
- * @template Channel - String literal type for the channel name
23
- */
24
- type ChannelWiring<ChannelData, Channel extends string> = CoreChannel<ChannelData, Channel, PikkuFunctionConfig<void, any, 'channel' | 'session' | 'rpc'>, PikkuFunctionConfig<void, void, 'channel' | 'session' | 'rpc'>, PikkuFunctionConfig<any, any, 'channel' | 'session' | 'rpc'>, PikkuPermission, PikkuMiddleware>;
25
16
  /**
26
17
  * Creates a function that handles WebSocket channel connections.
27
18
  * Called when a client connects to a channel.
@@ -29,6 +20,8 @@ type ChannelWiring<ChannelData, Channel extends string> = CoreChannel<ChannelDat
29
20
  * @template Out - Output type for connection response
30
21
  * @param func - Function definition, either direct function or configuration object
31
22
  * @returns The normalized configuration object
23
+ *
24
+ * @example snippet: channelLifecycle
32
25
  */
33
26
  export declare const pikkuChannelConnectionFunc: <Out = unknown>(func: PikkuFunctionSessionless<void, Out, "channel" | "session" | "rpc"> | PikkuFunctionConfig<void, Out, "channel" | "session" | "rpc">) => PikkuFunctionConfig<void, Out, "channel" | "rpc" | "session">;
34
27
  /**
@@ -37,6 +30,8 @@ export declare const pikkuChannelConnectionFunc: <Out = unknown>(func: PikkuFunc
37
30
  *
38
31
  * @param func - Function definition, either direct function or configuration object
39
32
  * @returns The normalized configuration object
33
+ *
34
+ * @example snippet: channelLifecycle
40
35
  */
41
36
  export declare const pikkuChannelDisconnectionFunc: (func: PikkuFunctionSessionless<void, void, "channel"> | PikkuFunctionConfig<void, void, "channel" | "session" | "rpc">) => PikkuFunctionConfig<void, void, "channel" | "rpc" | "session">;
42
37
  /**
@@ -67,34 +62,10 @@ type PikkuChannelFuncConfigWithSchema<InputSchema extends StandardSchemaV1, Outp
67
62
  * @param func - Function definition, either direct function or configuration object
68
63
  * @returns The normalized configuration object
69
64
  *
70
- * @example
71
- * ```typescript
72
- * // Pattern 1: Using generic types
73
- * const handleMessage = pikkuChannelFunc<{text: string}, {received: boolean}>({
74
- * func: async (_services, { text }) => ({ received: true })
75
- * })
76
- *
77
- * // Pattern 2: Using Zod schemas
78
- * const messageInput = z.object({ text: z.string() })
79
- * const messageOutput = z.object({ received: z.boolean() })
80
- *
81
- * const handleMessage = pikkuChannelFunc({
82
- * input: messageInput,
83
- * output: messageOutput,
84
- * func: async (_services, { text }) => ({ received: true })
85
- * })
86
- * ```
65
+ * @example snippet: orderStatusChannel
87
66
  */
88
67
  export declare function pikkuChannelFunc<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuChannelFuncConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'channel' | 'session' | 'rpc'>;
89
68
  export declare function pikkuChannelFunc<In, Out = unknown>(func: PikkuFunctionSessionless<In, Out, 'channel' | 'session' | 'rpc'> | PikkuFunctionConfig<In, Out, 'channel' | 'session' | 'rpc'>): PikkuFunctionConfig<In, Out, 'channel' | 'session' | 'rpc'>;
90
- /**
91
- * Registers a WebSocket channel with the Pikku framework.
92
- *
93
- * @template ChannelData - Type of data associated with the channel
94
- * @template Channel - String literal type for the channel name
95
- * @param channel - Channel definition with connection, disconnection, and message handlers
96
- */
97
- export declare const wireChannel: <ChannelData, Channel extends string>(channel: ChannelWiring<ChannelData, Channel> & AssertHTTPWiringParams<ChannelData, Channel>) => void;
98
69
  /**
99
70
  * Type-safe helper for defining channel message routes that can be composed.
100
71
  * Returns the routes record as-is for use with wireChannel's onMessageWiring.
@@ -102,11 +73,9 @@ export declare const wireChannel: <ChannelData, Channel extends string>(channel:
102
73
  * @template T - Record of channel route handlers
103
74
  * @param routes - The channel routes record
104
75
  * @returns The same routes record (identity function for type safety)
76
+ *
77
+ * @example snippet: channelRoutes
105
78
  */
106
79
  export declare function defineChannelRoutes<T extends Record<string, any>>(routes: T): T;
107
- export type PikkuChannelMiddleware<RequiredServices extends Services = Services, Event = unknown> = CorePikkuChannelMiddleware<RequiredServices, Event>;
108
- export declare const pikkuChannelMiddleware: <RequiredServices extends Services = Services, Event = unknown>(middleware: PikkuChannelMiddleware<RequiredServices, Event>) => PikkuChannelMiddleware<RequiredServices, Event>;
109
- export declare const pikkuChannelMiddlewareFactory: <In = any>(factory: CorePikkuChannelMiddlewareFactory<In>) => CorePikkuChannelMiddlewareFactory<In>;
110
- export declare const addChannelMiddleware: (tag: string, middleware: PikkuChannelMiddleware[]) => CorePikkuChannelMiddleware[];
111
80
  export {};
112
81
  //# sourceMappingURL=pikku-channel-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-channel-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/channel/pikku-channel-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAA;AAC5G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAA;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D;;GAEG;AACH,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,SAAS,gBAAgB,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC,GAAG,MAAM,GAAG,KAAK,CAAA;AAI1F;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,GAAI,GAAG,GAAG,OAAO,EACtD,MACI,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,GAClE,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,kEAGlE,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B,GACxC,MACI,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,GAC/C,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,mEAGnE,CAAA;AAED;;GAEG;AACH,KAAK,gCAAgC,CACnC,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,IAC3D;IACF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,wBAAwB,CAC5B,iBAAiB,CAAC,WAAW,CAAC,EAC9B,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EACjF,SAAS,GAAG,SAAS,GAAG,KAAK,CAC9B,CAAA;IACD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,mBAAmB,CAAC,eAAe,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;IAClF,UAAU,CAAC,EAAE,eAAe,EAAE,CAAA;IAC9B,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAE7D,MAAM,EAAE,gCAAgC,CAAC,WAAW,EAAE,YAAY,CAAC,GAClE,mBAAmB,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,CAAA;AACxK,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,OAAO,EAChD,IAAI,EACA,wBAAwB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,GAChE,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,GAC9D,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,CAAA;AAM9D;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAE/E"}
@@ -1,11 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.105
2
+ * This file was generated by @pikku/cli@0.12.141
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
6
6
  */
7
- import { wireChannel as wireChannelCore, defineChannelRoutes as defineChannelRoutesCore } from '@pikku/core/channel';
8
- import { addChannelMiddleware as addChannelMiddlewareCore } from '@pikku/core/ecosystem/channel';
7
+ import { defineChannelRoutes as defineChannelRoutesCore } from '@pikku/core/channel';
9
8
  /**
10
9
  * Creates a function that handles WebSocket channel connections.
11
10
  * Called when a client connects to a channel.
@@ -13,6 +12,8 @@ import { addChannelMiddleware as addChannelMiddlewareCore } from '@pikku/core/ec
13
12
  * @template Out - Output type for connection response
14
13
  * @param func - Function definition, either direct function or configuration object
15
14
  * @returns The normalized configuration object
15
+ *
16
+ * @example snippet: channelLifecycle
16
17
  */
17
18
  export const pikkuChannelConnectionFunc = (func) => {
18
19
  return typeof func === 'function' ? { func } : func;
@@ -23,6 +24,8 @@ export const pikkuChannelConnectionFunc = (func) => {
23
24
  *
24
25
  * @param func - Function definition, either direct function or configuration object
25
26
  * @returns The normalized configuration object
27
+ *
28
+ * @example snippet: channelLifecycle
26
29
  */
27
30
  export const pikkuChannelDisconnectionFunc = (func) => {
28
31
  return typeof func === 'function' ? { func } : func;
@@ -30,16 +33,6 @@ export const pikkuChannelDisconnectionFunc = (func) => {
30
33
  export function pikkuChannelFunc(func) {
31
34
  return typeof func === 'function' ? { func } : func;
32
35
  }
33
- /**
34
- * Registers a WebSocket channel with the Pikku framework.
35
- *
36
- * @template ChannelData - Type of data associated with the channel
37
- * @template Channel - String literal type for the channel name
38
- * @param channel - Channel definition with connection, disconnection, and message handlers
39
- */
40
- export const wireChannel = (channel) => {
41
- wireChannelCore(channel);
42
- };
43
36
  /**
44
37
  * Type-safe helper for defining channel message routes that can be composed.
45
38
  * Returns the routes record as-is for use with wireChannel's onMessageWiring.
@@ -47,15 +40,10 @@ export const wireChannel = (channel) => {
47
40
  * @template T - Record of channel route handlers
48
41
  * @param routes - The channel routes record
49
42
  * @returns The same routes record (identity function for type safety)
43
+ *
44
+ * @example snippet: channelRoutes
50
45
  */
51
46
  export function defineChannelRoutes(routes) {
52
47
  return defineChannelRoutesCore(routes);
53
48
  }
54
- export const pikkuChannelMiddleware = (middleware) => {
55
- return middleware;
56
- };
57
- export const pikkuChannelMiddlewareFactory = (factory) => {
58
- return factory;
59
- };
60
- export const addChannelMiddleware = (tag, middleware) => addChannelMiddlewareCore(tag, middleware, '@pikku/addon-graph');
61
49
  //# sourceMappingURL=pikku-channel-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-channel-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/channel/pikku-channel-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAcpF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,IAEiE,EACjE,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,IAEkE,EAClE,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAmDD,MAAM,UAAU,gBAAgB,CAAC,IAAS;IACxC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAGD;;;;;;;;;GASG;AACH,MAAM,UAAU,mBAAmB,CAAgC,MAAS;IAC1E,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAA;AACxC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/error` resolves here.
6
+ */
7
+ export * from './pikku-error-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/error/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/error` resolves here.
6
+ */
7
+ export * from './pikku-error-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/error/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Error catalogue — `#pikku/error` resolves here.
6
+ */
7
+ export * from '@pikku/core/errors';
8
+ //# sourceMappingURL=pikku-error-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-error-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/error/pikku-error-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Error catalogue — `#pikku/error` resolves here.
6
+ */
7
+ export * from '@pikku/core/errors';
8
+ //# sourceMappingURL=pikku-error-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-error-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/error/pikku-error-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/function` resolves here.
6
+ */
7
+ export * from './pikku-function-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/function/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.141
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/function` resolves here.
6
+ */
7
+ export * from './pikku-function-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/function/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA"}