@pikku/addon-graph 0.12.12 → 0.12.13

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 (632) hide show
  1. package/CHANGELOG.md +409 -0
  2. package/dist/.pikku/addon/agent/index.d.ts +8 -0
  3. package/dist/.pikku/addon/agent/index.d.ts.map +1 -0
  4. package/dist/.pikku/addon/agent/index.js +8 -0
  5. package/dist/.pikku/addon/agent/index.js.map +1 -0
  6. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +54 -0
  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 +20 -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 +2 -0
  11. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts.map +1 -0
  12. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +6 -0
  13. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js.map +1 -0
  14. package/dist/.pikku/addon/auth/index.d.ts +8 -0
  15. package/dist/.pikku/addon/auth/index.d.ts.map +1 -0
  16. package/dist/.pikku/addon/auth/index.js +8 -0
  17. package/dist/.pikku/addon/auth/index.js.map +1 -0
  18. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +119 -0
  19. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -0
  20. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +93 -0
  21. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
  22. package/dist/.pikku/addon/channel/index.d.ts +8 -0
  23. package/dist/.pikku/addon/channel/index.d.ts.map +1 -0
  24. package/dist/.pikku/addon/channel/index.js +8 -0
  25. package/dist/.pikku/addon/channel/index.js.map +1 -0
  26. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +91 -0
  27. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -0
  28. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +43 -0
  29. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
  30. package/dist/.pikku/addon/error/index.d.ts +8 -0
  31. package/dist/.pikku/addon/error/index.d.ts.map +1 -0
  32. package/dist/.pikku/addon/error/index.js +8 -0
  33. package/dist/.pikku/addon/error/index.js.map +1 -0
  34. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +8 -0
  35. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts.map +1 -0
  36. package/dist/.pikku/addon/error/pikku-error-types.gen.js +8 -0
  37. package/dist/.pikku/addon/error/pikku-error-types.gen.js.map +1 -0
  38. package/dist/.pikku/addon/function/index.d.ts +8 -0
  39. package/dist/.pikku/addon/function/index.d.ts.map +1 -0
  40. package/dist/.pikku/addon/function/index.js +8 -0
  41. package/dist/.pikku/addon/function/index.js.map +1 -0
  42. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +270 -0
  43. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -0
  44. package/dist/.pikku/addon/function/pikku-function-types.gen.js +117 -0
  45. package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
  46. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +1028 -0
  47. package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts +2 -0
  48. package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
  49. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +7 -0
  50. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
  51. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +794 -0
  52. package/dist/.pikku/addon/function/pikku-functions.gen.d.ts +2 -0
  53. package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
  54. package/dist/.pikku/addon/function/pikku-functions.gen.js +74 -0
  55. package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
  56. package/dist/.pikku/addon/http/index.d.ts +8 -0
  57. package/dist/.pikku/addon/http/index.d.ts.map +1 -0
  58. package/dist/.pikku/addon/http/index.js +8 -0
  59. package/dist/.pikku/addon/http/index.js.map +1 -0
  60. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +50 -0
  61. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -0
  62. package/dist/.pikku/addon/http/pikku-http-types.gen.js +11 -0
  63. package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -0
  64. package/dist/.pikku/addon/index.d.ts +8 -0
  65. package/dist/.pikku/addon/index.d.ts.map +1 -0
  66. package/dist/.pikku/addon/index.js +8 -0
  67. package/dist/.pikku/addon/index.js.map +1 -0
  68. package/dist/.pikku/addon/mcp/index.d.ts +8 -0
  69. package/dist/.pikku/addon/mcp/index.d.ts.map +1 -0
  70. package/dist/.pikku/addon/mcp/index.js +8 -0
  71. package/dist/.pikku/addon/mcp/index.js.map +1 -0
  72. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +102 -0
  73. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  74. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +16 -0
  75. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -0
  76. package/dist/.pikku/addon/middleware/index.d.ts +8 -0
  77. package/dist/.pikku/addon/middleware/index.d.ts.map +1 -0
  78. package/dist/.pikku/addon/middleware/index.js +8 -0
  79. package/dist/.pikku/addon/middleware/index.js.map +1 -0
  80. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +118 -0
  81. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
  82. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +109 -0
  83. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
  84. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +2 -2
  85. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
  86. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +10 -0
  87. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  88. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +10 -0
  89. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js.map +1 -0
  90. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +10 -0
  91. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts.map +1 -0
  92. package/dist/.pikku/addon/pikku-bootstrap.gen.js +10 -0
  93. package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
  94. package/dist/.pikku/addon/pikku-package.gen.js +2 -2
  95. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  96. package/dist/.pikku/addon/pikku-services.gen.d.ts +42 -0
  97. package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -0
  98. package/dist/.pikku/addon/pikku-services.gen.js +38 -0
  99. package/dist/.pikku/addon/pikku-services.gen.js.map +1 -0
  100. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  101. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  102. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  103. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  104. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.json +36 -0
  105. package/dist/.pikku/addon/scenarios/index.d.ts +8 -0
  106. package/dist/.pikku/addon/scenarios/index.d.ts.map +1 -0
  107. package/dist/.pikku/addon/scenarios/index.js +8 -0
  108. package/dist/.pikku/addon/scenarios/index.js.map +1 -0
  109. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts +18 -0
  110. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
  111. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +18 -0
  112. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
  113. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
  114. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  115. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
  116. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  117. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  118. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  119. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  120. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js +2 -0
  121. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  122. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +311 -0
  123. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
  124. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js +72 -0
  125. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
  126. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
  127. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  128. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
  129. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  130. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  131. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  132. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js +2 -0
  133. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  134. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +5 -0
  135. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts.map +1 -0
  136. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +5 -0
  137. package/dist/.pikku/addon/scenarios/schemas/register.gen.js.map +1 -0
  138. package/dist/.pikku/addon/schemas/register.gen.d.ts +2 -0
  139. package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
  140. package/dist/.pikku/addon/schemas/register.gen.js +141 -0
  141. package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
  142. package/dist/.pikku/addon/schemas/schemas/AggregateInput.schema.json +1 -0
  143. package/dist/.pikku/addon/schemas/schemas/AggregateOutput.schema.json +1 -0
  144. package/dist/.pikku/addon/schemas/schemas/BranchInput.schema.json +1 -0
  145. package/dist/.pikku/addon/schemas/schemas/BranchOutput.schema.json +1 -0
  146. package/dist/.pikku/addon/schemas/schemas/ChunkInput.schema.json +1 -0
  147. package/dist/.pikku/addon/schemas/schemas/ChunkOutput.schema.json +1 -0
  148. package/dist/.pikku/addon/schemas/schemas/CoalesceInput.schema.json +1 -0
  149. package/dist/.pikku/addon/schemas/schemas/CoalesceOutput.schema.json +1 -0
  150. package/dist/.pikku/addon/schemas/schemas/ConcatInput.schema.json +1 -0
  151. package/dist/.pikku/addon/schemas/schemas/ConcatOutput.schema.json +1 -0
  152. package/dist/.pikku/addon/schemas/schemas/CryptoInput.schema.json +1 -0
  153. package/dist/.pikku/addon/schemas/schemas/CryptoOutput.schema.json +1 -0
  154. package/dist/.pikku/addon/schemas/schemas/DateTimeInput.schema.json +1 -0
  155. package/dist/.pikku/addon/schemas/schemas/DateTimeOutput.schema.json +1 -0
  156. package/dist/.pikku/addon/schemas/schemas/EditFieldsInput.schema.json +1 -0
  157. package/dist/.pikku/addon/schemas/schemas/EditFieldsOutput.schema.json +1 -0
  158. package/dist/.pikku/addon/schemas/schemas/FanoutInput.schema.json +1 -0
  159. package/dist/.pikku/addon/schemas/schemas/FanoutOutput.schema.json +1 -0
  160. package/dist/.pikku/addon/schemas/schemas/FindInput.schema.json +1 -0
  161. package/dist/.pikku/addon/schemas/schemas/FindOutput.schema.json +1 -0
  162. package/dist/.pikku/addon/schemas/schemas/GroupByInput.schema.json +1 -0
  163. package/dist/.pikku/addon/schemas/schemas/GroupByOutput.schema.json +1 -0
  164. package/dist/.pikku/addon/schemas/schemas/HttpRequestInput.schema.json +1 -0
  165. package/dist/.pikku/addon/schemas/schemas/HttpRequestOutput.schema.json +1 -0
  166. package/dist/.pikku/addon/schemas/schemas/JwtDecodeInput.schema.json +1 -0
  167. package/dist/.pikku/addon/schemas/schemas/JwtDecodeOutput.schema.json +1 -0
  168. package/dist/.pikku/addon/schemas/schemas/JwtSignInput.schema.json +1 -0
  169. package/dist/.pikku/addon/schemas/schemas/JwtSignOutput.schema.json +1 -0
  170. package/dist/.pikku/addon/schemas/schemas/LimitInput.schema.json +1 -0
  171. package/dist/.pikku/addon/schemas/schemas/LimitOutput.schema.json +1 -0
  172. package/dist/.pikku/addon/schemas/schemas/MathInput.schema.json +1 -0
  173. package/dist/.pikku/addon/schemas/schemas/MathOutput.schema.json +1 -0
  174. package/dist/.pikku/addon/schemas/schemas/MergeInput.schema.json +1 -0
  175. package/dist/.pikku/addon/schemas/schemas/MergeOutput.schema.json +1 -0
  176. package/dist/.pikku/addon/schemas/schemas/OmitInput.schema.json +1 -0
  177. package/dist/.pikku/addon/schemas/schemas/OmitOutput.schema.json +1 -0
  178. package/dist/.pikku/addon/schemas/schemas/PickInput.schema.json +1 -0
  179. package/dist/.pikku/addon/schemas/schemas/PickOutput.schema.json +1 -0
  180. package/dist/.pikku/addon/schemas/schemas/ReadFileInput.schema.json +1 -0
  181. package/dist/.pikku/addon/schemas/schemas/ReadFileOutput.schema.json +1 -0
  182. package/dist/.pikku/addon/schemas/schemas/RemoveDuplicatesInput.schema.json +1 -0
  183. package/dist/.pikku/addon/schemas/schemas/RemoveDuplicatesOutput.schema.json +1 -0
  184. package/dist/.pikku/addon/schemas/schemas/RenameKeysInput.schema.json +1 -0
  185. package/dist/.pikku/addon/schemas/schemas/RenameKeysOutput.schema.json +1 -0
  186. package/dist/.pikku/addon/schemas/schemas/ReverseInput.schema.json +1 -0
  187. package/dist/.pikku/addon/schemas/schemas/ReverseOutput.schema.json +1 -0
  188. package/dist/.pikku/addon/schemas/schemas/SleepInput.schema.json +1 -0
  189. package/dist/.pikku/addon/schemas/schemas/SleepOutput.schema.json +1 -0
  190. package/dist/.pikku/addon/schemas/schemas/SortInput.schema.json +1 -0
  191. package/dist/.pikku/addon/schemas/schemas/SortOutput.schema.json +1 -0
  192. package/dist/.pikku/addon/schemas/schemas/SplitOutInput.schema.json +1 -0
  193. package/dist/.pikku/addon/schemas/schemas/SplitOutOutput.schema.json +1 -0
  194. package/dist/.pikku/addon/schemas/schemas/SplitTextInput.schema.json +1 -0
  195. package/dist/.pikku/addon/schemas/schemas/SplitTextOutput.schema.json +1 -0
  196. package/dist/.pikku/addon/schemas/schemas/StopAndErrorInput.schema.json +1 -0
  197. package/dist/.pikku/addon/schemas/schemas/StopAndErrorOutput.schema.json +1 -0
  198. package/dist/.pikku/addon/schemas/schemas/StringTransformInput.schema.json +1 -0
  199. package/dist/.pikku/addon/schemas/schemas/StringTransformOutput.schema.json +1 -0
  200. package/dist/.pikku/addon/schemas/schemas/SummarizeInput.schema.json +1 -0
  201. package/dist/.pikku/addon/schemas/schemas/SummarizeOutput.schema.json +1 -0
  202. package/dist/.pikku/addon/schemas/schemas/TypeConvertInput.schema.json +1 -0
  203. package/dist/.pikku/addon/schemas/schemas/TypeConvertOutput.schema.json +1 -0
  204. package/dist/.pikku/addon/schemas/schemas/UniqueInput.schema.json +1 -0
  205. package/dist/.pikku/addon/schemas/schemas/UniqueOutput.schema.json +1 -0
  206. package/dist/.pikku/addon/schemas/schemas/WaitInput.schema.json +1 -0
  207. package/dist/.pikku/addon/schemas/schemas/WaitOutput.schema.json +1 -0
  208. package/dist/.pikku/addon/schemas/schemas/WriteFileInput.schema.json +1 -0
  209. package/dist/.pikku/addon/schemas/schemas/WriteFileOutput.schema.json +1 -0
  210. package/dist/.pikku/addon/scopes/index.d.ts +8 -0
  211. package/dist/.pikku/addon/scopes/index.d.ts.map +1 -0
  212. package/dist/.pikku/addon/scopes/index.js +8 -0
  213. package/dist/.pikku/addon/scopes/index.js.map +1 -0
  214. package/dist/.pikku/addon/scopes/pikku-personas-meta.gen.json +1 -0
  215. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts +29 -0
  216. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +1 -0
  217. package/dist/.pikku/addon/scopes/pikku-personas.gen.js +18 -0
  218. package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +1 -0
  219. package/dist/.pikku/addon/scopes/pikku-roles-meta.gen.json +1 -0
  220. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +31 -0
  221. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
  222. package/dist/.pikku/addon/scopes/pikku-roles.gen.js +19 -0
  223. package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
  224. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +6 -0
  225. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  226. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +6 -0
  227. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
  228. package/dist/.pikku/addon/scopes/pikku-scopes-meta.gen.json +1 -0
  229. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +36 -0
  230. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
  231. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js +28 -0
  232. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
  233. package/dist/.pikku/addon/secrets/index.d.ts +9 -0
  234. package/dist/.pikku/addon/secrets/index.d.ts.map +1 -0
  235. package/dist/.pikku/addon/secrets/index.js +9 -0
  236. package/dist/.pikku/addon/secrets/index.js.map +1 -0
  237. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +5 -0
  238. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  239. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +5 -0
  240. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js.map +1 -0
  241. package/dist/.pikku/addon/secrets/pikku-secrets-meta.gen.json +1 -0
  242. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +18 -0
  243. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
  244. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +19 -0
  245. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
  246. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +8 -0
  247. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -0
  248. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +10 -0
  249. package/dist/.pikku/addon/services/pikku-meta-service.gen.js.map +1 -0
  250. package/dist/.pikku/addon/setup/index.d.ts +9 -0
  251. package/dist/.pikku/addon/setup/index.d.ts.map +1 -0
  252. package/dist/.pikku/addon/setup/index.js +9 -0
  253. package/dist/.pikku/addon/setup/index.js.map +1 -0
  254. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +66 -0
  255. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -0
  256. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +78 -0
  257. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
  258. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +67 -0
  259. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -0
  260. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +88 -0
  261. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
  262. package/dist/.pikku/addon/trigger/index.d.ts +8 -0
  263. package/dist/.pikku/addon/trigger/index.d.ts.map +1 -0
  264. package/dist/.pikku/addon/trigger/index.js +8 -0
  265. package/dist/.pikku/addon/trigger/index.js.map +1 -0
  266. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +83 -0
  267. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  268. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +13 -0
  269. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -0
  270. package/dist/.pikku/addon/variables/index.d.ts +9 -0
  271. package/dist/.pikku/addon/variables/index.d.ts.map +1 -0
  272. package/dist/.pikku/addon/variables/index.js +9 -0
  273. package/dist/.pikku/addon/variables/index.js.map +1 -0
  274. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +5 -0
  275. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts.map +1 -0
  276. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +5 -0
  277. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js.map +1 -0
  278. package/dist/.pikku/addon/variables/pikku-variables-meta.gen.json +1 -0
  279. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +19 -0
  280. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
  281. package/dist/.pikku/addon/variables/pikku-variables.gen.js +19 -0
  282. package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
  283. package/dist/.pikku/addon/workflow/index.d.ts +8 -0
  284. package/dist/.pikku/addon/workflow/index.d.ts.map +1 -0
  285. package/dist/.pikku/addon/workflow/index.js +8 -0
  286. package/dist/.pikku/addon/workflow/index.js.map +1 -0
  287. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +106 -0
  288. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  289. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +16 -0
  290. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
  291. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  292. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  293. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  294. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  295. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  296. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  297. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +5 -0
  298. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  299. package/dist/.pikku/agent/index.d.ts +8 -0
  300. package/dist/.pikku/agent/index.d.ts.map +1 -0
  301. package/dist/.pikku/agent/index.js +8 -0
  302. package/dist/.pikku/agent/index.js.map +1 -0
  303. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +8 -7
  304. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  305. package/dist/.pikku/agent/pikku-agent-types.gen.js +2 -3
  306. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  307. package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
  308. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +1 -1
  309. package/dist/.pikku/auth/index.d.ts +8 -0
  310. package/dist/.pikku/auth/index.d.ts.map +1 -0
  311. package/dist/.pikku/auth/index.js +8 -0
  312. package/dist/.pikku/auth/index.js.map +1 -0
  313. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +119 -0
  314. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts.map +1 -0
  315. package/dist/.pikku/auth/pikku-auth-types.gen.js +93 -0
  316. package/dist/.pikku/auth/pikku-auth-types.gen.js.map +1 -0
  317. package/dist/.pikku/channel/index.d.ts +8 -0
  318. package/dist/.pikku/channel/index.d.ts.map +1 -0
  319. package/dist/.pikku/channel/index.js +8 -0
  320. package/dist/.pikku/channel/index.js.map +1 -0
  321. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +4 -25
  322. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -1
  323. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -19
  324. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -1
  325. package/dist/.pikku/credentials/index.d.ts +8 -0
  326. package/dist/.pikku/credentials/index.d.ts.map +1 -0
  327. package/dist/.pikku/credentials/index.js +8 -0
  328. package/dist/.pikku/credentials/index.js.map +1 -0
  329. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts +5 -0
  330. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts.map +1 -0
  331. package/dist/.pikku/credentials/pikku-credential-types.gen.js +5 -0
  332. package/dist/.pikku/credentials/pikku-credential-types.gen.js.map +1 -0
  333. package/dist/.pikku/error/index.d.ts +8 -0
  334. package/dist/.pikku/error/index.d.ts.map +1 -0
  335. package/dist/.pikku/error/index.js +8 -0
  336. package/dist/.pikku/error/index.js.map +1 -0
  337. package/dist/.pikku/error/pikku-error-types.gen.d.ts +8 -0
  338. package/dist/.pikku/error/pikku-error-types.gen.d.ts.map +1 -0
  339. package/dist/.pikku/error/pikku-error-types.gen.js +8 -0
  340. package/dist/.pikku/error/pikku-error-types.gen.js.map +1 -0
  341. package/dist/.pikku/function/index.d.ts +8 -0
  342. package/dist/.pikku/function/index.d.ts.map +1 -0
  343. package/dist/.pikku/function/index.js +8 -0
  344. package/dist/.pikku/function/index.js.map +1 -0
  345. package/dist/.pikku/function/pikku-function-types.gen.d.ts +29 -263
  346. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  347. package/dist/.pikku/function/pikku-function-types.gen.js +1 -236
  348. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  349. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  350. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -1
  351. package/dist/.pikku/gateway/index.d.ts +8 -0
  352. package/dist/.pikku/gateway/index.d.ts.map +1 -0
  353. package/dist/.pikku/gateway/index.js +8 -0
  354. package/dist/.pikku/gateway/index.js.map +1 -0
  355. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +38 -0
  356. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts.map +1 -0
  357. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +26 -0
  358. package/dist/.pikku/gateway/pikku-gateway-types.gen.js.map +1 -0
  359. package/dist/.pikku/http/index.d.ts +8 -0
  360. package/dist/.pikku/http/index.d.ts.map +1 -0
  361. package/dist/.pikku/http/index.js +8 -0
  362. package/dist/.pikku/http/index.js.map +1 -0
  363. package/dist/.pikku/http/pikku-http-types.gen.d.ts +3 -51
  364. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
  365. package/dist/.pikku/http/pikku-http-types.gen.js +1 -40
  366. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
  367. package/dist/.pikku/mcp/index.d.ts +8 -0
  368. package/dist/.pikku/mcp/index.d.ts.map +1 -0
  369. package/dist/.pikku/mcp/index.js +8 -0
  370. package/dist/.pikku/mcp/index.js.map +1 -0
  371. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +5 -35
  372. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -1
  373. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -22
  374. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -1
  375. package/dist/.pikku/middleware/index.d.ts +8 -0
  376. package/dist/.pikku/middleware/index.d.ts.map +1 -0
  377. package/dist/.pikku/middleware/index.js +8 -0
  378. package/dist/.pikku/middleware/index.js.map +1 -0
  379. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +118 -0
  380. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
  381. package/dist/.pikku/middleware/pikku-middleware-types.gen.js +109 -0
  382. package/dist/.pikku/middleware/pikku-middleware-types.gen.js.map +1 -0
  383. package/dist/.pikku/pikku-types.gen.d.ts +0 -1
  384. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  385. package/dist/.pikku/pikku-types.gen.js +0 -2
  386. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  387. package/dist/.pikku/queue/index.d.ts +8 -0
  388. package/dist/.pikku/queue/index.d.ts.map +1 -0
  389. package/dist/.pikku/queue/index.js +8 -0
  390. package/dist/.pikku/queue/index.js.map +1 -0
  391. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  392. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -1
  393. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +1 -1
  394. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +1 -1
  395. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +1 -1
  396. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  397. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -1
  398. package/dist/.pikku/scenarios/index.d.ts +8 -0
  399. package/dist/.pikku/scenarios/index.d.ts.map +1 -0
  400. package/dist/.pikku/scenarios/index.js +8 -0
  401. package/dist/.pikku/scenarios/index.js.map +1 -0
  402. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts +18 -0
  403. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts.map +1 -0
  404. package/dist/.pikku/scenarios/pikku-personas.gen.js +18 -0
  405. package/dist/.pikku/scenarios/pikku-personas.gen.js.map +1 -0
  406. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  407. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -1
  408. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +311 -0
  409. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
  410. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js +72 -0
  411. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js.map +1 -0
  412. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  413. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -1
  414. package/dist/.pikku/scheduler/index.d.ts +8 -0
  415. package/dist/.pikku/scheduler/index.d.ts.map +1 -0
  416. package/dist/.pikku/scheduler/index.js +8 -0
  417. package/dist/.pikku/scheduler/index.js.map +1 -0
  418. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  419. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -1
  420. package/dist/.pikku/schemas/register.gen.js +1 -1
  421. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  422. package/dist/.pikku/scopes/index.d.ts +8 -0
  423. package/dist/.pikku/scopes/index.d.ts.map +1 -0
  424. package/dist/.pikku/scopes/index.js +8 -0
  425. package/dist/.pikku/scopes/index.js.map +1 -0
  426. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +4 -13
  427. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -1
  428. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -1
  429. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  430. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -1
  431. package/dist/.pikku/scopes/pikku-roles.gen.js +1 -1
  432. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -1
  433. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +2 -4
  434. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -1
  435. package/dist/.pikku/scopes/pikku-scope-types.gen.js +2 -2
  436. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -1
  437. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  438. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -1
  439. package/dist/.pikku/scopes/pikku-scopes.gen.js +1 -1
  440. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -1
  441. package/dist/.pikku/secrets/index.d.ts +9 -0
  442. package/dist/.pikku/secrets/index.d.ts.map +1 -0
  443. package/dist/.pikku/secrets/index.js +9 -0
  444. package/dist/.pikku/secrets/index.js.map +1 -0
  445. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -2
  446. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  447. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +7 -11
  448. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  449. package/dist/.pikku/secrets/pikku-secrets.gen.js +6 -8
  450. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  451. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +8 -0
  452. package/dist/.pikku/services/pikku-meta-service.gen.d.ts.map +1 -0
  453. package/dist/.pikku/services/pikku-meta-service.gen.js +10 -0
  454. package/dist/.pikku/services/pikku-meta-service.gen.js.map +1 -0
  455. package/dist/.pikku/setup/index.d.ts +8 -0
  456. package/dist/.pikku/setup/index.d.ts.map +1 -0
  457. package/dist/.pikku/setup/index.js +8 -0
  458. package/dist/.pikku/setup/index.js.map +1 -0
  459. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +67 -0
  460. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts.map +1 -0
  461. package/dist/.pikku/setup/pikku-setup-types.gen.js +88 -0
  462. package/dist/.pikku/setup/pikku-setup-types.gen.js.map +1 -0
  463. package/dist/.pikku/trigger/index.d.ts +8 -0
  464. package/dist/.pikku/trigger/index.d.ts.map +1 -0
  465. package/dist/.pikku/trigger/index.js +8 -0
  466. package/dist/.pikku/trigger/index.js.map +1 -0
  467. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +5 -36
  468. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
  469. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -21
  470. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -1
  471. package/dist/.pikku/variables/index.d.ts +9 -0
  472. package/dist/.pikku/variables/index.d.ts.map +1 -0
  473. package/dist/.pikku/variables/index.js +9 -0
  474. package/dist/.pikku/variables/index.js.map +1 -0
  475. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -1
  476. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  477. package/dist/.pikku/variables/pikku-variables.gen.d.ts +7 -10
  478. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  479. package/dist/.pikku/variables/pikku-variables.gen.js +7 -9
  480. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  481. package/dist/.pikku/workflow/index.d.ts +8 -0
  482. package/dist/.pikku/workflow/index.d.ts.map +1 -0
  483. package/dist/.pikku/workflow/index.js +8 -0
  484. package/dist/.pikku/workflow/index.js.map +1 -0
  485. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +14 -262
  486. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  487. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +0 -63
  488. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  489. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  490. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  491. package/dist/src/functions/array/aggregate.function.d.ts +4 -4
  492. package/dist/src/functions/array/aggregate.function.d.ts.map +1 -1
  493. package/dist/src/functions/array/aggregate.function.js +1 -1
  494. package/dist/src/functions/array/aggregate.function.js.map +1 -1
  495. package/dist/src/functions/array/chunk.function.d.ts +4 -4
  496. package/dist/src/functions/array/chunk.function.d.ts.map +1 -1
  497. package/dist/src/functions/array/chunk.function.js +1 -1
  498. package/dist/src/functions/array/chunk.function.js.map +1 -1
  499. package/dist/src/functions/array/fanout.function.d.ts +4 -4
  500. package/dist/src/functions/array/fanout.function.d.ts.map +1 -1
  501. package/dist/src/functions/array/fanout.function.js +1 -1
  502. package/dist/src/functions/array/fanout.function.js.map +1 -1
  503. package/dist/src/functions/array/find.function.d.ts +4 -4
  504. package/dist/src/functions/array/find.function.d.ts.map +1 -1
  505. package/dist/src/functions/array/find.function.js +1 -1
  506. package/dist/src/functions/array/find.function.js.map +1 -1
  507. package/dist/src/functions/array/group-by.function.d.ts +4 -4
  508. package/dist/src/functions/array/group-by.function.d.ts.map +1 -1
  509. package/dist/src/functions/array/group-by.function.js +1 -1
  510. package/dist/src/functions/array/group-by.function.js.map +1 -1
  511. package/dist/src/functions/array/limit.function.d.ts +4 -4
  512. package/dist/src/functions/array/limit.function.d.ts.map +1 -1
  513. package/dist/src/functions/array/limit.function.js +1 -1
  514. package/dist/src/functions/array/limit.function.js.map +1 -1
  515. package/dist/src/functions/array/remove-duplicates.function.d.ts +4 -4
  516. package/dist/src/functions/array/remove-duplicates.function.d.ts.map +1 -1
  517. package/dist/src/functions/array/remove-duplicates.function.js +1 -1
  518. package/dist/src/functions/array/remove-duplicates.function.js.map +1 -1
  519. package/dist/src/functions/array/reverse.function.d.ts +4 -4
  520. package/dist/src/functions/array/reverse.function.d.ts.map +1 -1
  521. package/dist/src/functions/array/reverse.function.js +1 -1
  522. package/dist/src/functions/array/reverse.function.js.map +1 -1
  523. package/dist/src/functions/array/sort.function.d.ts +4 -4
  524. package/dist/src/functions/array/sort.function.d.ts.map +1 -1
  525. package/dist/src/functions/array/sort.function.js +1 -1
  526. package/dist/src/functions/array/sort.function.js.map +1 -1
  527. package/dist/src/functions/array/split-out.function.d.ts +4 -4
  528. package/dist/src/functions/array/split-out.function.d.ts.map +1 -1
  529. package/dist/src/functions/array/split-out.function.js +1 -1
  530. package/dist/src/functions/array/split-out.function.js.map +1 -1
  531. package/dist/src/functions/array/summarize.function.d.ts +4 -4
  532. package/dist/src/functions/array/summarize.function.d.ts.map +1 -1
  533. package/dist/src/functions/array/summarize.function.js +1 -1
  534. package/dist/src/functions/array/summarize.function.js.map +1 -1
  535. package/dist/src/functions/array/unique.function.d.ts +4 -4
  536. package/dist/src/functions/array/unique.function.d.ts.map +1 -1
  537. package/dist/src/functions/array/unique.function.js +1 -1
  538. package/dist/src/functions/array/unique.function.js.map +1 -1
  539. package/dist/src/functions/data/coalesce.function.d.ts +4 -4
  540. package/dist/src/functions/data/coalesce.function.d.ts.map +1 -1
  541. package/dist/src/functions/data/coalesce.function.js +1 -1
  542. package/dist/src/functions/data/coalesce.function.js.map +1 -1
  543. package/dist/src/functions/data/crypto.function.d.ts +4 -4
  544. package/dist/src/functions/data/crypto.function.d.ts.map +1 -1
  545. package/dist/src/functions/data/crypto.function.js +1 -1
  546. package/dist/src/functions/data/crypto.function.js.map +1 -1
  547. package/dist/src/functions/data/date-time.function.d.ts +4 -4
  548. package/dist/src/functions/data/date-time.function.d.ts.map +1 -1
  549. package/dist/src/functions/data/date-time.function.js +1 -1
  550. package/dist/src/functions/data/date-time.function.js.map +1 -1
  551. package/dist/src/functions/data/jwt.function.d.ts +8 -8
  552. package/dist/src/functions/data/jwt.function.d.ts.map +1 -1
  553. package/dist/src/functions/data/jwt.function.js +2 -2
  554. package/dist/src/functions/data/jwt.function.js.map +1 -1
  555. package/dist/src/functions/data/math.function.d.ts +4 -4
  556. package/dist/src/functions/data/math.function.d.ts.map +1 -1
  557. package/dist/src/functions/data/math.function.js +1 -1
  558. package/dist/src/functions/data/math.function.js.map +1 -1
  559. package/dist/src/functions/data/read-file.function.d.ts +4 -4
  560. package/dist/src/functions/data/read-file.function.d.ts.map +1 -1
  561. package/dist/src/functions/data/read-file.function.js +1 -1
  562. package/dist/src/functions/data/read-file.function.js.map +1 -1
  563. package/dist/src/functions/data/sleep.function.d.ts +4 -4
  564. package/dist/src/functions/data/sleep.function.d.ts.map +1 -1
  565. package/dist/src/functions/data/sleep.function.js +1 -1
  566. package/dist/src/functions/data/sleep.function.js.map +1 -1
  567. package/dist/src/functions/data/string-transform.function.d.ts +4 -4
  568. package/dist/src/functions/data/string-transform.function.d.ts.map +1 -1
  569. package/dist/src/functions/data/string-transform.function.js +1 -1
  570. package/dist/src/functions/data/string-transform.function.js.map +1 -1
  571. package/dist/src/functions/data/type-convert.function.d.ts +4 -4
  572. package/dist/src/functions/data/type-convert.function.d.ts.map +1 -1
  573. package/dist/src/functions/data/type-convert.function.js +1 -1
  574. package/dist/src/functions/data/type-convert.function.js.map +1 -1
  575. package/dist/src/functions/data/wait.function.d.ts +4 -4
  576. package/dist/src/functions/data/wait.function.d.ts.map +1 -1
  577. package/dist/src/functions/data/wait.function.js +1 -1
  578. package/dist/src/functions/data/wait.function.js.map +1 -1
  579. package/dist/src/functions/data/write-file.function.d.ts +4 -4
  580. package/dist/src/functions/data/write-file.function.d.ts.map +1 -1
  581. package/dist/src/functions/data/write-file.function.js +1 -1
  582. package/dist/src/functions/data/write-file.function.js.map +1 -1
  583. package/dist/src/functions/logic/branch.function.d.ts +4 -4
  584. package/dist/src/functions/logic/branch.function.d.ts.map +1 -1
  585. package/dist/src/functions/logic/branch.function.js +1 -1
  586. package/dist/src/functions/logic/branch.function.js.map +1 -1
  587. package/dist/src/functions/logic/stop-and-error.function.d.ts +4 -4
  588. package/dist/src/functions/logic/stop-and-error.function.d.ts.map +1 -1
  589. package/dist/src/functions/logic/stop-and-error.function.js +1 -1
  590. package/dist/src/functions/logic/stop-and-error.function.js.map +1 -1
  591. package/dist/src/functions/network/http-request.function.d.ts +4 -4
  592. package/dist/src/functions/network/http-request.function.d.ts.map +1 -1
  593. package/dist/src/functions/network/http-request.function.js +1 -1
  594. package/dist/src/functions/network/http-request.function.js.map +1 -1
  595. package/dist/src/functions/transform/concat.function.d.ts +4 -4
  596. package/dist/src/functions/transform/concat.function.d.ts.map +1 -1
  597. package/dist/src/functions/transform/concat.function.js +1 -1
  598. package/dist/src/functions/transform/concat.function.js.map +1 -1
  599. package/dist/src/functions/transform/edit-fields.function.d.ts +4 -4
  600. package/dist/src/functions/transform/edit-fields.function.d.ts.map +1 -1
  601. package/dist/src/functions/transform/edit-fields.function.js +1 -1
  602. package/dist/src/functions/transform/edit-fields.function.js.map +1 -1
  603. package/dist/src/functions/transform/merge.function.d.ts +4 -4
  604. package/dist/src/functions/transform/merge.function.d.ts.map +1 -1
  605. package/dist/src/functions/transform/merge.function.js +1 -1
  606. package/dist/src/functions/transform/merge.function.js.map +1 -1
  607. package/dist/src/functions/transform/omit.function.d.ts +4 -4
  608. package/dist/src/functions/transform/omit.function.d.ts.map +1 -1
  609. package/dist/src/functions/transform/omit.function.js +1 -1
  610. package/dist/src/functions/transform/omit.function.js.map +1 -1
  611. package/dist/src/functions/transform/pick.function.d.ts +4 -4
  612. package/dist/src/functions/transform/pick.function.d.ts.map +1 -1
  613. package/dist/src/functions/transform/pick.function.js +1 -1
  614. package/dist/src/functions/transform/pick.function.js.map +1 -1
  615. package/dist/src/functions/transform/rename-keys.function.d.ts +4 -4
  616. package/dist/src/functions/transform/rename-keys.function.d.ts.map +1 -1
  617. package/dist/src/functions/transform/rename-keys.function.js +1 -1
  618. package/dist/src/functions/transform/rename-keys.function.js.map +1 -1
  619. package/dist/src/functions/transform/split-text.function.d.ts +4 -4
  620. package/dist/src/functions/transform/split-text.function.d.ts.map +1 -1
  621. package/dist/src/functions/transform/split-text.function.js +1 -1
  622. package/dist/src/functions/transform/split-text.function.js.map +1 -1
  623. package/dist/src/http-requester.service.d.ts +2 -2
  624. package/dist/src/http-requester.service.d.ts.map +1 -1
  625. package/dist/src/http-requester.service.js +2 -2
  626. package/dist/src/http-requester.service.js.map +1 -1
  627. package/dist/src/services.d.ts +1 -1
  628. package/dist/src/services.d.ts.map +1 -1
  629. package/dist/src/services.js +1 -1
  630. package/dist/src/services.js.map +1 -1
  631. package/dist/types/application-types.d.ts +1 -1
  632. package/package.json +11 -13
@@ -0,0 +1,270 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.107
3
+ */
4
+ /**
5
+ * Core function types for all wirings
6
+ */
7
+ import type { PickRequired } from '@pikku/core/utils';
8
+ import type { ListInput, ListOutput } from '@pikku/core/function';
9
+ import type { CorePermissionGroup } from '@pikku/core/function';
10
+ import type { PikkuWire, SecretlessServices } from '@pikku/core/types';
11
+ import type { CorePikkuFunctionConfig, CorePikkuSessionlessFunctionConfig, CorePikkuPermission } from '@pikku/core/function';
12
+ import type { NodeType } from '@pikku/core/node';
13
+ import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
14
+ import type { PikkuPermission } from '../auth/pikku-auth-types.gen.js';
15
+ import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
16
+ type CredentialsMap = Record<string, unknown>;
17
+ import type { StandardSchemaV1 } from '@standard-schema/spec';
18
+ import { CorePikkuFunction, CorePikkuFunctionSessionless } from '@pikku/core/function';
19
+ import type { UserSession } from '../../../types/application-types.d.js';
20
+ import type { SingletonServices } from '../../../types/application-types.d.js';
21
+ import type { Services } from '../../../types/application-types.d.js';
22
+ import type { TypedPikkuRPC, FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
23
+ import type { RequiredSingletonServices } from '../pikku-services.gen.js';
24
+ import type { TypedWorkflow } from '../workflow/pikku-workflow-types.gen.js';
25
+ import type { TypedScenario, TypedPersonas } from '../scenarios/pikku-scenario-types.gen.js';
26
+ export type { SingletonServices as SingletonServices };
27
+ export type { Services as Services };
28
+ export type Session = UserSession;
29
+ /**
30
+ * The services a wired function actually receives. The inspector records which
31
+ * services each wired `func`, `permissions` and `middleware` destructures and
32
+ * emits them as `RequiredSingletonServices`; intersecting that here makes those
33
+ * services **non-optional** at every call site. A service is optional only when
34
+ * nothing destructures it — in which case it is never created either. This is
35
+ * why an `if (!service)` guard inside a function body is always dead code.
36
+ */
37
+ export type WiredSingletonServices = RequiredSingletonServices & SingletonServices;
38
+ export type WiredServices = SecretlessServices<RequiredSingletonServices & Services>;
39
+ /**
40
+ * Inline node configuration for function definitions.
41
+ */
42
+ export type NodeConfig = {
43
+ displayName: string;
44
+ category: 'Transform' | 'Array' | 'Data' | 'Logic' | 'Files';
45
+ type: NodeType;
46
+ errorOutput?: boolean;
47
+ };
48
+ /**
49
+ * A function that generates a human-readable description of a pending approval action.
50
+ * Used by AI agents to show meaningful approval prompts instead of raw tool arguments.
51
+ *
52
+ * @template In - The input type (same as the function it describes)
53
+ * @template RequiredServices - The services required for this description function
54
+ */
55
+ export type PikkuApprovalDescription<In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices> = (services: RequiredServices, data: In) => Promise<string>;
56
+ /**
57
+ * Factory function for creating approval description functions with tree-shaking support.
58
+ *
59
+ * @example
60
+ * ```typescript
61
+ * export const deleteTodoApproval = pikkuApprovalDescription(
62
+ * async ({ todoStore }, { id }) => {
63
+ * const todo = await todoStore.get(id)
64
+ * return \`Delete todo: "${todo.title}"\`
65
+ * }
66
+ * )
67
+ * ```
68
+ */
69
+ export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends SecretlessServices<Services> = WiredServices>(fn: PikkuApprovalDescription<In, RequiredServices>) => PikkuApprovalDescription<In, RequiredServices>;
70
+ /**
71
+ * A sessionless API function that doesn't require user authentication.
72
+ * Use this for public endpoints, health checks, or operations that don't need user context.
73
+ *
74
+ * @template In - The input type
75
+ * @template Out - The output type that the function returns
76
+ * @template RequiredServices - Services required by this function
77
+ * @template ScenarioOut - Types `scenario.context`; only scenarios set it.
78
+ * Not defaulted to `Out`, which would make every ordinary function's wire
79
+ * type vary with its return type and cost a `func` written against the
80
+ * `PikkuFunction | PikkuFunctionSessionless` union its contextual typing.
81
+ */
82
+ 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, CredentialsMap>, RequiredWires>>;
83
+ /**
84
+ * A session-aware API function that requires user authentication.
85
+ * Use this for protected endpoints that need access to user session data.
86
+ *
87
+ * @template In - The input type
88
+ * @template Out - The output type that the function returns
89
+ * @template RequiredServices - Services required by this function
90
+ */
91
+ 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, CredentialsMap>, RequiredWires>>;
92
+ /**
93
+ * Helper type to infer the output type from a Standard Schema
94
+ */
95
+ export type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never;
96
+ /**
97
+ * Configuration object for Pikku functions with optional middleware, permissions, tags, and documentation.
98
+ * This type wraps CorePikkuFunctionConfig with the user's custom types.
99
+ *
100
+ * @template In - The input type
101
+ * @template Out - The output type
102
+ * @template PikkuFunc - The function type (can be narrowed to PikkuFunction or PikkuFunctionSessionless)
103
+ */
104
+ 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> = Omit<CorePikkuFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema, ScopeId>, 'node'> & {
105
+ node?: NodeConfig;
106
+ };
107
+ /**
108
+ * {@link PikkuFunctionConfig} for a function that runs without a session.
109
+ * Has no `scopes`: an anonymous caller holds none, so none can ever be met.
110
+ */
111
+ 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> = Omit<CorePikkuSessionlessFunctionConfig<PikkuFunc, PikkuPermission<In>, PikkuMiddleware, InputSchema, OutputSchema>, 'node'> & {
112
+ node?: NodeConfig;
113
+ };
114
+ /**
115
+ * Configuration object for Pikku functions with Zod schema validation.
116
+ * Use this when you want to define input/output schemas using Zod.
117
+ * Types are automatically inferred from the schemas.
118
+ */
119
+ type SchemaInferred<S, Fallback = unknown> = S extends StandardSchemaV1 ? InferSchemaOutput<S> : Fallback;
120
+ /**
121
+ * Schema-overload variant for pikkuFunc. Derived from CorePikkuFunctionConfig
122
+ * so adding a field on the core type automatically propagates here.
123
+ */
124
+ 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' | 'node'> & {
125
+ func: PikkuFunction<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices> | PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>;
126
+ input?: InputSchema;
127
+ output?: OutputSchema;
128
+ node?: NodeConfig;
129
+ permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
130
+ approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never;
131
+ };
132
+ /**
133
+ * Creates a Pikku function that can be either session-aware or sessionless.
134
+ * This is the main function wrapper for creating API endpoints.
135
+ *
136
+ * Define the input and output with Zod schemas — the function's types are
137
+ * inferred from them, and the schemas double as runtime validation.
138
+ *
139
+ * @param config - Function definition with `input`/`output` Zod schemas and `func`.
140
+ * @returns The normalized configuration object
141
+ *
142
+ * @example
143
+ * ```typescript
144
+ * const createUserInput = z.object({ name: z.string(), email: z.string() })
145
+ * const createUserOutput = z.object({ id: z.number() })
146
+ *
147
+ * const createUser = pikkuFunc({
148
+ * input: createUserInput,
149
+ * output: createUserOutput,
150
+ * func: async ({db}, input) => {
151
+ * // input is typed as { name: string, email: string }
152
+ * const user = await db.users.create(input)
153
+ * return { id: user.id } // must match output schema
154
+ * }
155
+ * })
156
+ * ```
157
+ */
158
+ 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'>;
159
+ export declare function pikkuFunc<In, Out = unknown>(func: PikkuFunction<In, Out, 'session' | 'rpc'> | PikkuFunctionConfig<In, Out, 'session' | 'rpc'>): PikkuFunctionConfig<In, Out, 'session' | 'rpc'>;
160
+ 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">;
161
+ /**
162
+ * Configuration object for sessionless Pikku functions with Zod schema validation.
163
+ */
164
+ /**
165
+ * Schema-overload variant for pikkuSessionlessFunc. Derived from
166
+ * CorePikkuSessionlessFunctionConfig to stay in sync with the generic-typed
167
+ * config — so it has no `scopes` either.
168
+ */
169
+ 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' | 'node'> & {
170
+ func: PikkuFunctionSessionless<SchemaInferred<InputSchema>, SchemaInferred<OutputSchema>, RequiredWires, RequiredServices>;
171
+ input?: InputSchema;
172
+ output?: OutputSchema;
173
+ node?: NodeConfig;
174
+ permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined;
175
+ approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never;
176
+ };
177
+ /**
178
+ * Creates a sessionless Pikku function that doesn't require user authentication.
179
+ * Use this for public endpoints, webhooks, or background tasks.
180
+ *
181
+ * Define the input and output with Zod schemas — the function's types are
182
+ * inferred from them, and the schemas double as runtime validation.
183
+ *
184
+ * @param config - Function definition with `input`/`output` Zod schemas and `func`.
185
+ * @returns The normalized configuration object
186
+ *
187
+ * @example
188
+ * ```typescript
189
+ * const greetInput = z.object({ name: z.string() })
190
+ * const greetOutput = z.object({ message: z.string() })
191
+ *
192
+ * const greet = pikkuSessionlessFunc({
193
+ * input: greetInput,
194
+ * output: greetOutput,
195
+ * func: async (_services, { name }) => {
196
+ * return { message: `Hello, ${name}!` }
197
+ * }
198
+ * })
199
+ * ```
200
+ */
201
+ 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'>;
202
+ 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'>;
203
+ /**
204
+ * Creates a function that takes no input and returns no output.
205
+ * Useful for health checks, triggers, or cleanup operations.
206
+ *
207
+ * @param func - Function definition, either direct function or configuration object
208
+ * @returns The normalized configuration object
209
+ *
210
+ * @example
211
+ * ```typescript
212
+ * const cleanupTempFiles = pikkuVoidFunc(async ({fileSystem, logger}) => {
213
+ * logger.info('Starting cleanup of temporary files')
214
+ * await fileSystem.deleteDirectory('/tmp/uploads')
215
+ * logger.info('Cleanup completed')
216
+ * })
217
+ * ```
218
+ */
219
+ export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionSessionlessConfig<void, void, "session" | "rpc">) => PikkuFunctionConfig<void, void, "session" | "rpc">;
220
+ /**
221
+ * References a registered function by name for use in any wiring.
222
+ * Works for both local and addon functions — resolves via RPC at runtime.
223
+ *
224
+ * @template Name - The function name (must be a key in FlattenedRPCMap)
225
+ * @param rpcName - The name of the function to reference
226
+ * @returns A Pikku function config that proxies calls via RPC
227
+ *
228
+ * @example
229
+ * ```typescript
230
+ * // Use in agent tools
231
+ * tools: [ref('todos:listTodos'), ref('myLocalFunc')]
232
+ *
233
+ * // Use in HTTP wiring
234
+ * wireHTTP({ route: '/greet', method: 'post', func: ref('greet') })
235
+ * ```
236
+ */
237
+ export declare const ref: <Name extends keyof FlattenedRPCMap>(rpcName: Name) => PikkuFunctionConfig<FlattenedRPCMap[Name]["input"], FlattenedRPCMap[Name]["output"], "session" | "rpc">;
238
+ /**
239
+ * Declares a capability the connected client answers, reachable from any
240
+ * `wireChannel` function as `channel.remote(name, input)`.
241
+ *
242
+ * There is no `func`: this side owns the contract, the client owns the body.
243
+ * The `description` is what a person is shown when asked to approve the call,
244
+ * so write it for them rather than for the caller.
245
+ *
246
+ * @example
247
+ * ```typescript
248
+ * export const localCheckoutOutput = z.object({ sha: z.string(), branch: z.string() })
249
+ *
250
+ * export const localCheckout = pikkuRemoteChannelFunc({
251
+ * description: 'Read the current commit and branch of your working tree',
252
+ * output: localCheckoutOutput,
253
+ * })
254
+ * ```
255
+ */
256
+ 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'>;
257
+ /**
258
+ * Addon contract references. Generated from each wired addon's published
259
+ * contract metadata — no addon source is imported. Functions are proxied via
260
+ * ref() (RPC) exactly like ref('namespace:fn').
261
+ */
262
+ declare const __addonHttp: {};
263
+ declare const __addonChannel: {};
264
+ declare const __addonCli: {};
265
+ export declare const refHTTP: <Name extends keyof typeof __addonHttp>(name: Name, options?: {
266
+ basePath?: string;
267
+ }) => (typeof __addonHttp)[Name];
268
+ export declare const refChannel: <Name extends keyof typeof __addonChannel>(name: Name) => (typeof __addonChannel)[Name];
269
+ export declare const refCLI: <Name extends keyof typeof __addonCli>(name: Name) => (typeof __addonCli)[Name];
270
+ //# sourceMappingURL=pikku-function-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-function-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/function/pikku-function-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,KAAK,EACV,uBAAuB,EACvB,kCAAkC,EAClC,mBAAmB,EACpB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAA;AAClF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAC5D,KAAK,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EACL,iBAAiB,EACjB,4BAA4B,EAC7B,MAAM,sBAAsB,CAAA;AAE7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAA;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAA;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;A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SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAE7D,MAAM,EAAE,IAAI,CACV,wCAAwC,CAAC,WAAW,EAAE,YAAY,EAAE,SAAS,GAAG,KAAK,CAAC,EACtF,MAAM,CACP,GACA,mBAAmB,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC,CASnG;AAKD;;;;GAIG;AACH,QAAA,MAAM,WAAW,IAAc,CAAA;AAC/B,QAAA,MAAM,cAAc,IAAc,CAAA;AAClC,QAAA,MAAM,UAAU,IAAc,CAAA;AAE9B,eAAO,MAAM,OAAO,GAAI,IAAI,SAAS,MAAM,OAAO,WAAW,EAC3D,MAAM,IAAI,EACV,UAAU;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,KAC9B,CAAC,OAAO,WAAW,EAAE,IAAI,CAO3B,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,IAAI,SAAS,MAAM,OAAO,cAAc,EACjE,MAAM,IAAI,KACT,CAAC,OAAO,cAAc,EAAE,IAAI,CAAyB,CAAA;AAExD,eAAO,MAAM,MAAM,GAAI,IAAI,SAAS,MAAM,OAAO,UAAU,EACzD,MAAM,IAAI,KACT,CAAC,OAAO,UAAU,EAAE,IAAI,CAAqB,CAAA"}
@@ -0,0 +1,117 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.107
3
+ */
4
+ /**
5
+ * Core function types for all wirings
6
+ */
7
+ /**
8
+ * Factory function for creating approval description functions with tree-shaking support.
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * export const deleteTodoApproval = pikkuApprovalDescription(
13
+ * async ({ todoStore }, { id }) => {
14
+ * const todo = await todoStore.get(id)
15
+ * return \`Delete todo: "${todo.title}"\`
16
+ * }
17
+ * )
18
+ * ```
19
+ */
20
+ export const pikkuApprovalDescription = (fn) => {
21
+ return fn;
22
+ };
23
+ export function pikkuFunc(func) {
24
+ return typeof func === 'function' ? { func } : func;
25
+ }
26
+ export const pikkuListFunc = (config) => {
27
+ return pikkuFunc(config);
28
+ };
29
+ export function pikkuSessionlessFunc(func) {
30
+ return typeof func === 'function' ? { func } : func;
31
+ }
32
+ /**
33
+ * Creates a function that takes no input and returns no output.
34
+ * Useful for health checks, triggers, or cleanup operations.
35
+ *
36
+ * @param func - Function definition, either direct function or configuration object
37
+ * @returns The normalized configuration object
38
+ *
39
+ * @example
40
+ * ```typescript
41
+ * const cleanupTempFiles = pikkuVoidFunc(async ({fileSystem, logger}) => {
42
+ * logger.info('Starting cleanup of temporary files')
43
+ * await fileSystem.deleteDirectory('/tmp/uploads')
44
+ * logger.info('Cleanup completed')
45
+ * })
46
+ * ```
47
+ */
48
+ export const pikkuVoidFunc = (func) => {
49
+ return typeof func === 'function' ? { func } : func;
50
+ };
51
+ /**
52
+ * References a registered function by name for use in any wiring.
53
+ * Works for both local and addon functions — resolves via RPC at runtime.
54
+ *
55
+ * @template Name - The function name (must be a key in FlattenedRPCMap)
56
+ * @param rpcName - The name of the function to reference
57
+ * @returns A Pikku function config that proxies calls via RPC
58
+ *
59
+ * @example
60
+ * ```typescript
61
+ * // Use in agent tools
62
+ * tools: [ref('todos:listTodos'), ref('myLocalFunc')]
63
+ *
64
+ * // Use in HTTP wiring
65
+ * wireHTTP({ route: '/greet', method: 'post', func: ref('greet') })
66
+ * ```
67
+ */
68
+ export const ref = (rpcName) => {
69
+ return {
70
+ func: async (_services, data, { rpc }) => {
71
+ return rpc.invoke(rpcName, data);
72
+ }
73
+ };
74
+ };
75
+ /**
76
+ * Declares a capability the connected client answers, reachable from any
77
+ * `wireChannel` function as `channel.remote(name, input)`.
78
+ *
79
+ * There is no `func`: this side owns the contract, the client owns the body.
80
+ * The `description` is what a person is shown when asked to approve the call,
81
+ * so write it for them rather than for the caller.
82
+ *
83
+ * @example
84
+ * ```typescript
85
+ * export const localCheckoutOutput = z.object({ sha: z.string(), branch: z.string() })
86
+ *
87
+ * export const localCheckout = pikkuRemoteChannelFunc({
88
+ * description: 'Read the current commit and branch of your working tree',
89
+ * output: localCheckoutOutput,
90
+ * })
91
+ * ```
92
+ */
93
+ export function pikkuRemoteChannelFunc(config) {
94
+ return {
95
+ ...config,
96
+ func: async (_services, _data, _wire) => {
97
+ throw new Error(`${config.title ?? 'This'} is a remote channel capability and has no local implementation — reach it with channel.remote() on the channel whose client exposes it.`);
98
+ },
99
+ };
100
+ }
101
+ /**
102
+ * Addon contract references. Generated from each wired addon's published
103
+ * contract metadata — no addon source is imported. Functions are proxied via
104
+ * ref() (RPC) exactly like ref('namespace:fn').
105
+ */
106
+ const __addonHttp = {};
107
+ const __addonChannel = {};
108
+ const __addonCli = {};
109
+ export const refHTTP = (name, options) => {
110
+ const contract = __addonHttp[name];
111
+ return (options?.basePath !== undefined
112
+ ? { ...contract, basePath: options.basePath }
113
+ : contract);
114
+ };
115
+ export const refChannel = (name) => __addonChannel[name];
116
+ export const refCLI = (name) => __addonCli[name];
117
+ //# sourceMappingURL=pikku-function-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-function-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/function/pikku-function-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAmEH;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,EAAkD,EACF,EAAE;IAClD,OAAO,EAAE,CAAA;AACX,CAAC,CAAA;AA2KD,MAAM,UAAU,SAAS,CAAC,IAAS;IACjC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAK3B,MAIC,EACyE,EAAE;IAC5E,OAAO,SAAS,CAAC,MAAM,CAAC,CAAA;AAC1B,CAAC,CAAA;AA0ED,MAAM,UAAU,oBAAoB,CAAC,IAAS;IAC5C,OAAO,OAAO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