@pikku/addon-meta-conversions 0.1.3 → 0.1.5

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 (480) hide show
  1. package/dist/.pikku/addon/agent/index.d.ts +8 -0
  2. package/dist/.pikku/addon/agent/index.d.ts.map +1 -0
  3. package/dist/.pikku/addon/agent/index.js +8 -0
  4. package/dist/.pikku/addon/agent/index.js.map +1 -0
  5. package/dist/.pikku/addon/agent/index.ts +8 -0
  6. package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +4 -0
  7. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +54 -0
  8. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -0
  9. package/dist/.pikku/{agent → addon/agent}/pikku-agent-types.gen.js +5 -3
  10. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -0
  11. package/dist/.pikku/{agent → addon/agent}/pikku-agent-types.gen.ts +28 -21
  12. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts +2 -0
  13. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts.map +1 -0
  14. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +6 -0
  15. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js.map +1 -0
  16. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.ts +6 -0
  17. package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +8 -0
  18. package/dist/.pikku/addon/auth/index.d.ts +8 -0
  19. package/dist/.pikku/addon/auth/index.d.ts.map +1 -0
  20. package/dist/.pikku/addon/auth/index.js +8 -0
  21. package/dist/.pikku/addon/auth/index.js.map +1 -0
  22. package/dist/.pikku/addon/auth/index.ts +8 -0
  23. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +119 -0
  24. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -0
  25. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +93 -0
  26. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
  27. package/dist/.pikku/addon/auth/pikku-auth-types.gen.ts +156 -0
  28. package/dist/.pikku/addon/channel/index.d.ts +8 -0
  29. package/dist/.pikku/addon/channel/index.d.ts.map +1 -0
  30. package/dist/.pikku/addon/channel/index.js +8 -0
  31. package/dist/.pikku/addon/channel/index.js.map +1 -0
  32. package/dist/.pikku/addon/channel/index.ts +8 -0
  33. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.d.ts +5 -26
  34. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -0
  35. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.js +2 -19
  36. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
  37. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.ts +7 -49
  38. package/dist/.pikku/addon/error/index.d.ts +8 -0
  39. package/dist/.pikku/addon/error/index.d.ts.map +1 -0
  40. package/dist/.pikku/addon/error/index.js +8 -0
  41. package/dist/.pikku/addon/error/index.js.map +1 -0
  42. package/dist/.pikku/addon/error/index.ts +8 -0
  43. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +8 -0
  44. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts.map +1 -0
  45. package/dist/.pikku/addon/error/pikku-error-types.gen.js +8 -0
  46. package/dist/.pikku/addon/error/pikku-error-types.gen.js.map +1 -0
  47. package/dist/.pikku/addon/error/pikku-error-types.gen.ts +8 -0
  48. package/dist/.pikku/addon/function/index.d.ts +8 -0
  49. package/dist/.pikku/addon/function/index.d.ts.map +1 -0
  50. package/dist/.pikku/addon/function/index.js +8 -0
  51. package/dist/.pikku/addon/function/index.js.map +1 -0
  52. package/dist/.pikku/addon/function/index.ts +8 -0
  53. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +270 -0
  54. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -0
  55. package/dist/.pikku/addon/function/pikku-function-types.gen.js +117 -0
  56. package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
  57. package/{.pikku → dist/.pikku/addon}/function/pikku-function-types.gen.ts +65 -381
  58. package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
  59. package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.js +2 -2
  60. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
  61. package/dist/.pikku/addon/function/pikku-functions-meta.gen.ts +7 -0
  62. package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
  63. package/dist/.pikku/{function → addon/function}/pikku-functions.gen.js +2 -2
  64. package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
  65. package/dist/.pikku/{function → addon/function}/pikku-functions.gen.ts +2 -2
  66. package/dist/.pikku/addon/http/index.d.ts +8 -0
  67. package/dist/.pikku/addon/http/index.d.ts.map +1 -0
  68. package/dist/.pikku/addon/http/index.js +8 -0
  69. package/dist/.pikku/addon/http/index.js.map +1 -0
  70. package/dist/.pikku/addon/http/index.ts +8 -0
  71. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +50 -0
  72. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -0
  73. package/dist/.pikku/addon/http/pikku-http-types.gen.js +11 -0
  74. package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -0
  75. package/dist/.pikku/addon/http/pikku-http-types.gen.ts +62 -0
  76. package/dist/.pikku/addon/mcp/index.d.ts +8 -0
  77. package/dist/.pikku/addon/mcp/index.d.ts.map +1 -0
  78. package/dist/.pikku/addon/mcp/index.js +8 -0
  79. package/dist/.pikku/addon/mcp/index.js.map +1 -0
  80. package/dist/.pikku/addon/mcp/index.ts +8 -0
  81. package/dist/.pikku/{mcp → addon/mcp}/pikku-mcp-types.gen.d.ts +7 -36
  82. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  83. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +16 -0
  84. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -0
  85. package/{.pikku → dist/.pikku/addon}/mcp/pikku-mcp-types.gen.ts +6 -50
  86. package/dist/.pikku/addon/middleware/index.d.ts +8 -0
  87. package/dist/.pikku/addon/middleware/index.d.ts.map +1 -0
  88. package/dist/.pikku/addon/middleware/index.js +8 -0
  89. package/dist/.pikku/addon/middleware/index.js.map +1 -0
  90. package/dist/.pikku/addon/middleware/index.ts +8 -0
  91. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +118 -0
  92. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
  93. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +109 -0
  94. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
  95. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.ts +167 -0
  96. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.d.ts → addon/pikku-bootstrap-scenarios.gen.d.ts} +1 -1
  97. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  98. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.js → addon/pikku-bootstrap-scenarios.gen.js} +1 -1
  99. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js.map +1 -0
  100. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.ts → addon/pikku-bootstrap-scenarios.gen.ts} +1 -1
  101. package/dist/.pikku/{pikku-bootstrap.gen.d.ts → addon/pikku-bootstrap.gen.d.ts} +3 -2
  102. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts.map +1 -0
  103. package/dist/.pikku/{pikku-bootstrap.gen.js → addon/pikku-bootstrap.gen.js} +3 -2
  104. package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
  105. package/dist/.pikku/addon/pikku-bootstrap.gen.ts +9 -0
  106. package/dist/.pikku/addon/pikku-package.gen.js +3 -2
  107. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  108. package/dist/.pikku/addon/pikku-package.gen.ts +4 -2
  109. package/dist/.pikku/{pikku-services.gen.d.ts → addon/pikku-services.gen.d.ts} +9 -8
  110. package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -0
  111. package/dist/.pikku/{pikku-services.gen.js → addon/pikku-services.gen.js} +5 -4
  112. package/dist/.pikku/addon/pikku-services.gen.js.map +1 -0
  113. package/{.pikku → dist/.pikku/addon}/pikku-services.gen.ts +9 -8
  114. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.gen.d.ts +6 -11
  115. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.internal.gen.d.ts +6 -11
  116. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.remote.gen.d.ts +6 -11
  117. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  118. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.js +2 -2
  119. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  120. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.ts +2 -2
  121. package/dist/.pikku/addon/scenarios/index.d.ts +8 -0
  122. package/dist/.pikku/addon/scenarios/index.d.ts.map +1 -0
  123. package/dist/.pikku/addon/scenarios/index.js +8 -0
  124. package/dist/.pikku/addon/scenarios/index.js.map +1 -0
  125. package/dist/.pikku/addon/scenarios/index.ts +8 -0
  126. package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.d.ts +3 -1
  127. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
  128. package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.js +1 -1
  129. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
  130. package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.ts +4 -6
  131. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  132. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.js +2 -2
  133. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  134. package/{.pikku → dist/.pikku/addon}/scenarios/pikku-scenario-functions-meta.gen.ts +3 -3
  135. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  136. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  137. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  138. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.ts +4 -0
  139. package/dist/.pikku/{workflow/pikku-workflow-types.gen.d.ts → addon/scenarios/pikku-scenario-types.gen.d.ts} +79 -107
  140. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
  141. package/dist/.pikku/{workflow/pikku-workflow-types.gen.js → addon/scenarios/pikku-scenario-types.gen.js} +9 -16
  142. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
  143. package/dist/.pikku/{workflow/pikku-workflow-types.gen.ts → addon/scenarios/pikku-scenario-types.gen.ts} +119 -210
  144. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  145. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.js +2 -2
  146. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  147. package/{.pikku → dist/.pikku/addon}/scenarios/pikku-scenario-wirings-meta.gen.ts +3 -3
  148. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  149. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  150. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  151. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  152. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +5 -0
  153. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts.map +1 -0
  154. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +5 -0
  155. package/dist/.pikku/addon/scenarios/schemas/register.gen.js.map +1 -0
  156. package/dist/.pikku/addon/scenarios/schemas/register.gen.ts +4 -0
  157. package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
  158. package/dist/.pikku/{schemas → addon/schemas}/register.gen.js +1 -1
  159. package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
  160. package/dist/.pikku/{schemas → addon/schemas}/register.gen.ts +1 -1
  161. package/dist/.pikku/addon/scopes/index.d.ts +8 -0
  162. package/dist/.pikku/addon/scopes/index.d.ts.map +1 -0
  163. package/dist/.pikku/addon/scopes/index.js +8 -0
  164. package/dist/.pikku/addon/scopes/index.js.map +1 -0
  165. package/dist/.pikku/addon/scopes/index.ts +8 -0
  166. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.d.ts +5 -13
  167. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +1 -0
  168. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.js +1 -1
  169. package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +1 -0
  170. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.ts +5 -16
  171. package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.d.ts +1 -1
  172. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
  173. package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
  174. package/{.pikku → dist/.pikku/addon}/scopes/pikku-roles.gen.ts +1 -1
  175. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +6 -0
  176. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  177. package/dist/.pikku/{scopes → addon/scopes}/pikku-scope-types.gen.js +1 -1
  178. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
  179. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.ts +5 -0
  180. package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.d.ts +1 -1
  181. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
  182. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
  183. package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.ts +1 -1
  184. package/dist/.pikku/addon/secrets/index.d.ts +9 -0
  185. package/dist/.pikku/addon/secrets/index.d.ts.map +1 -0
  186. package/dist/.pikku/addon/secrets/index.js +9 -0
  187. package/dist/.pikku/addon/secrets/index.js.map +1 -0
  188. package/dist/.pikku/addon/secrets/index.ts +9 -0
  189. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +5 -0
  190. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  191. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +5 -0
  192. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js.map +1 -0
  193. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.ts +4 -0
  194. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +22 -0
  195. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
  196. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +21 -0
  197. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
  198. package/dist/.pikku/addon/secrets/pikku-secrets.gen.ts +30 -0
  199. package/dist/.pikku/{pikku-meta-service.gen.d.ts → addon/services/pikku-meta-service.gen.d.ts} +1 -1
  200. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -0
  201. package/dist/.pikku/{pikku-meta-service.gen.js → addon/services/pikku-meta-service.gen.js} +2 -2
  202. package/dist/.pikku/addon/services/pikku-meta-service.gen.js.map +1 -0
  203. package/dist/.pikku/{pikku-meta-service.gen.ts → addon/services/pikku-meta-service.gen.ts} +2 -2
  204. package/dist/.pikku/addon/setup/index.d.ts +9 -0
  205. package/dist/.pikku/addon/setup/index.d.ts.map +1 -0
  206. package/dist/.pikku/addon/setup/index.js +9 -0
  207. package/dist/.pikku/addon/setup/index.js.map +1 -0
  208. package/dist/.pikku/addon/setup/index.ts +9 -0
  209. package/dist/.pikku/addon/{pikku-addon-types.gen.d.ts → setup/pikku-addon-setup-types.gen.d.ts} +7 -6
  210. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -0
  211. package/dist/.pikku/addon/{pikku-addon-types.gen.js → setup/pikku-addon-setup-types.gen.js} +3 -3
  212. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
  213. package/{.pikku/addon/pikku-addon-types.gen.ts → dist/.pikku/addon/setup/pikku-addon-setup-types.gen.ts} +6 -5
  214. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +67 -0
  215. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -0
  216. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +88 -0
  217. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
  218. package/dist/.pikku/addon/setup/pikku-setup-types.gen.ts +105 -0
  219. package/dist/.pikku/addon/surface-usage.gen.json +1702 -0
  220. package/dist/.pikku/addon/trigger/index.d.ts +8 -0
  221. package/dist/.pikku/addon/trigger/index.d.ts.map +1 -0
  222. package/dist/.pikku/addon/trigger/index.js +8 -0
  223. package/dist/.pikku/addon/trigger/index.js.map +1 -0
  224. package/dist/.pikku/addon/trigger/index.ts +8 -0
  225. package/dist/.pikku/{trigger → addon/trigger}/pikku-trigger-types.gen.d.ts +6 -37
  226. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  227. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +13 -0
  228. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -0
  229. package/dist/.pikku/{trigger → addon/trigger}/pikku-trigger-types.gen.ts +9 -45
  230. package/dist/.pikku/addon/variables/index.d.ts +9 -0
  231. package/dist/.pikku/addon/variables/index.d.ts.map +1 -0
  232. package/dist/.pikku/addon/variables/index.js +9 -0
  233. package/dist/.pikku/addon/variables/index.js.map +1 -0
  234. package/dist/.pikku/addon/variables/index.ts +9 -0
  235. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +5 -0
  236. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts.map +1 -0
  237. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +5 -0
  238. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js.map +1 -0
  239. package/dist/.pikku/addon/variables/pikku-variable-types.gen.ts +4 -0
  240. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +19 -0
  241. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
  242. package/dist/.pikku/addon/variables/pikku-variables.gen.js +19 -0
  243. package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
  244. package/dist/.pikku/addon/variables/pikku-variables.gen.ts +30 -0
  245. package/dist/.pikku/addon/workflow/index.d.ts +8 -0
  246. package/dist/.pikku/addon/workflow/index.d.ts.map +1 -0
  247. package/dist/.pikku/addon/workflow/index.js +8 -0
  248. package/dist/.pikku/addon/workflow/index.js.map +1 -0
  249. package/dist/.pikku/addon/workflow/index.ts +8 -0
  250. package/dist/.pikku/{workflow → addon/workflow}/pikku-scenario-step-map.gen.d.ts +2 -2
  251. package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-map.gen.d.ts +1 -1
  252. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +106 -0
  253. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  254. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +16 -0
  255. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
  256. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.ts +200 -0
  257. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  258. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  259. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  260. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  261. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  262. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  263. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +5 -0
  264. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  265. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.ts +3 -0
  266. package/dist/src/functions/events/send.function.d.ts +4 -4
  267. package/dist/src/functions/events/send.function.d.ts.map +1 -1
  268. package/dist/src/functions/events/send.function.js +1 -1
  269. package/dist/src/functions/events/send.function.js.map +1 -1
  270. package/dist/src/services.d.ts +1 -1
  271. package/dist/src/services.d.ts.map +1 -1
  272. package/dist/src/services.js +2 -2
  273. package/dist/src/services.js.map +1 -1
  274. package/dist/types/application-types.d.ts +12 -0
  275. package/package.json +8 -8
  276. package/.pikku/addon/pikku-package.gen.ts +0 -11
  277. package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  278. package/.pikku/agent/pikku-agent-types.gen.ts +0 -84
  279. package/.pikku/channel/pikku-channel-types.gen.ts +0 -177
  280. package/.pikku/console/pikku-node-types.gen.ts +0 -8
  281. package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
  282. package/.pikku/function/pikku-functions.gen.ts +0 -8
  283. package/.pikku/http/pikku-http-types.gen.ts +0 -119
  284. package/.pikku/pikku-bootstrap-scenarios.gen.ts +0 -9
  285. package/.pikku/pikku-bootstrap.gen.ts +0 -8
  286. package/.pikku/pikku-meta-service.gen.ts +0 -10
  287. package/.pikku/pikku-types.gen.ts +0 -24
  288. package/.pikku/queue/pikku-queue-types.gen.ts +0 -27
  289. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -135
  290. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -136
  291. package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +0 -135
  292. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -6
  293. package/.pikku/scenarios/pikku-scenario-functions.gen.ts +0 -4
  294. package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +0 -4
  295. package/.pikku/scenarios/schemas/register.gen.ts +0 -4
  296. package/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
  297. package/.pikku/schemas/register.gen.ts +0 -15
  298. package/.pikku/scopes/pikku-personas.gen.ts +0 -52
  299. package/.pikku/scopes/pikku-scope-types.gen.ts +0 -7
  300. package/.pikku/scopes/pikku-scopes.gen.ts +0 -58
  301. package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
  302. package/.pikku/secrets/pikku-secrets.gen.ts +0 -36
  303. package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
  304. package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
  305. package/.pikku/variables/pikku-variables.gen.ts +0 -34
  306. package/.pikku/workflow/pikku-personas.gen.ts +0 -38
  307. package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +0 -18
  308. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
  309. package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -591
  310. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
  311. package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
  312. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +0 -1
  313. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +0 -1
  314. package/dist/.pikku/addon/pikku-addon-types.gen.ts +0 -105
  315. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  316. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +0 -49
  317. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +0 -1
  318. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +0 -1
  319. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +0 -1
  320. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +0 -1
  321. package/dist/.pikku/console/pikku-addon-meta.gen.json +0 -36
  322. package/dist/.pikku/console/pikku-node-types.gen.d.ts +0 -7
  323. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +0 -1
  324. package/dist/.pikku/console/pikku-node-types.gen.js +0 -2
  325. package/dist/.pikku/console/pikku-node-types.gen.js.map +0 -1
  326. package/dist/.pikku/console/pikku-node-types.gen.ts +0 -8
  327. package/dist/.pikku/function/pikku-function-types.gen.d.ts +0 -506
  328. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +0 -1
  329. package/dist/.pikku/function/pikku-function-types.gen.js +0 -351
  330. package/dist/.pikku/function/pikku-function-types.gen.js.map +0 -1
  331. package/dist/.pikku/function/pikku-function-types.gen.ts +0 -797
  332. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -33
  333. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +0 -1
  334. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +0 -1
  335. package/dist/.pikku/function/pikku-functions-meta.gen.json +0 -27
  336. package/dist/.pikku/function/pikku-functions-meta.gen.ts +0 -7
  337. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +0 -1
  338. package/dist/.pikku/function/pikku-functions.gen.js.map +0 -1
  339. package/dist/.pikku/http/pikku-http-types.gen.d.ts +0 -98
  340. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +0 -1
  341. package/dist/.pikku/http/pikku-http-types.gen.js +0 -50
  342. package/dist/.pikku/http/pikku-http-types.gen.js.map +0 -1
  343. package/dist/.pikku/http/pikku-http-types.gen.ts +0 -119
  344. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +0 -1
  345. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -38
  346. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +0 -1
  347. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +0 -183
  348. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +0 -1
  349. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +0 -1
  350. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +0 -1
  351. package/dist/.pikku/pikku-bootstrap.gen.js.map +0 -1
  352. package/dist/.pikku/pikku-bootstrap.gen.ts +0 -8
  353. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +0 -1
  354. package/dist/.pikku/pikku-meta-service.gen.js.map +0 -1
  355. package/dist/.pikku/pikku-services.gen.d.ts.map +0 -1
  356. package/dist/.pikku/pikku-services.gen.js.map +0 -1
  357. package/dist/.pikku/pikku-services.gen.ts +0 -50
  358. package/dist/.pikku/pikku-types.gen.d.ts +0 -13
  359. package/dist/.pikku/pikku-types.gen.d.ts.map +0 -1
  360. package/dist/.pikku/pikku-types.gen.js +0 -19
  361. package/dist/.pikku/pikku-types.gen.js.map +0 -1
  362. package/dist/.pikku/pikku-types.gen.ts +0 -24
  363. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +0 -24
  364. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +0 -1
  365. package/dist/.pikku/queue/pikku-queue-types.gen.js +0 -17
  366. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +0 -1
  367. package/dist/.pikku/queue/pikku-queue-types.gen.ts +0 -27
  368. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +0 -1
  369. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +0 -1
  370. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -3
  371. package/dist/.pikku/scenarios/features.gen.json +0 -1
  372. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +0 -1
  373. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +0 -1
  374. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +0 -1
  375. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +0 -12
  376. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +0 -5
  377. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +0 -1
  378. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +0 -1
  379. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +0 -4
  380. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +0 -1
  381. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +0 -1
  382. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +0 -15
  383. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +0 -5
  384. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +0 -1
  385. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +0 -1
  386. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +0 -4
  387. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +0 -5
  388. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +0 -1
  389. package/dist/.pikku/scenarios/schemas/register.gen.js +0 -5
  390. package/dist/.pikku/scenarios/schemas/register.gen.js.map +0 -1
  391. package/dist/.pikku/scenarios/schemas/register.gen.ts +0 -4
  392. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +0 -22
  393. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +0 -1
  394. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +0 -17
  395. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +0 -1
  396. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
  397. package/dist/.pikku/schemas/register.gen.d.ts.map +0 -1
  398. package/dist/.pikku/schemas/register.gen.js.map +0 -1
  399. package/dist/.pikku/schemas/schemas/EventSendInput.schema.json +0 -1
  400. package/dist/.pikku/schemas/schemas/EventSendOutput.schema.json +0 -1
  401. package/dist/.pikku/schemas/schemas/SecretSchema_metaConversions.schema.json +0 -1
  402. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +0 -1
  403. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +0 -1
  404. package/dist/.pikku/scopes/pikku-personas.gen.js.map +0 -1
  405. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +0 -1
  406. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +0 -1
  407. package/dist/.pikku/scopes/pikku-roles.gen.js.map +0 -1
  408. package/dist/.pikku/scopes/pikku-roles.gen.ts +0 -41
  409. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +0 -8
  410. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +0 -1
  411. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +0 -1
  412. package/dist/.pikku/scopes/pikku-scope-types.gen.ts +0 -7
  413. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +0 -1
  414. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +0 -1
  415. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +0 -1
  416. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -6
  417. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +0 -1
  418. package/dist/.pikku/secrets/pikku-secret-types.gen.js +0 -5
  419. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +0 -1
  420. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
  421. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +0 -10
  422. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +0 -25
  423. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +0 -1
  424. package/dist/.pikku/secrets/pikku-secrets.gen.js +0 -23
  425. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +0 -1
  426. package/dist/.pikku/secrets/pikku-secrets.gen.ts +0 -36
  427. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +0 -1
  428. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -34
  429. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +0 -1
  430. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -6
  431. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +0 -1
  432. package/dist/.pikku/variables/pikku-variable-types.gen.js +0 -5
  433. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +0 -1
  434. package/dist/.pikku/variables/pikku-variable-types.gen.ts +0 -5
  435. package/dist/.pikku/variables/pikku-variables-meta.gen.json +0 -1
  436. package/dist/.pikku/variables/pikku-variables.gen.d.ts +0 -22
  437. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +0 -1
  438. package/dist/.pikku/variables/pikku-variables.gen.js +0 -21
  439. package/dist/.pikku/variables/pikku-variables.gen.js.map +0 -1
  440. package/dist/.pikku/variables/pikku-variables.gen.ts +0 -34
  441. package/dist/.pikku/workflow/personas.gen.json +0 -1
  442. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +0 -1
  443. package/dist/.pikku/workflow/pikku-personas.gen.js.map +0 -1
  444. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +0 -1
  445. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +0 -1
  446. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +0 -1
  447. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +0 -7
  448. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +0 -1
  449. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
  450. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +0 -5
  451. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +0 -1
  452. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +0 -5
  453. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +0 -1
  454. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
  455. /package/{.pikku → dist/.pikku/addon}/console/pikku-addon-meta.gen.json +0 -0
  456. /package/{.pikku → dist/.pikku/addon}/function/pikku-functions-meta-verbose.gen.json +0 -0
  457. /package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.d.ts +0 -0
  458. /package/{.pikku → dist/.pikku/addon}/function/pikku-functions-meta.gen.json +0 -0
  459. /package/dist/.pikku/{function → addon/function}/pikku-functions.gen.d.ts +0 -0
  460. /package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.d.ts +0 -0
  461. /package/{.pikku → dist/.pikku/addon}/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -0
  462. /package/{.pikku → dist/.pikku/addon}/scenarios/features.gen.json +0 -0
  463. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.d.ts +0 -0
  464. /package/{.pikku → dist/.pikku/addon}/scenarios/pikku-scenario-functions-meta.gen.json +0 -0
  465. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions.gen.js +0 -0
  466. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.d.ts +0 -0
  467. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings.gen.js +0 -0
  468. /package/dist/.pikku/{schemas → addon/schemas}/register.gen.d.ts +0 -0
  469. /package/{.pikku → dist/.pikku/addon}/schemas/schemas/EventSendInput.schema.json +0 -0
  470. /package/{.pikku → dist/.pikku/addon}/schemas/schemas/EventSendOutput.schema.json +0 -0
  471. /package/{.pikku → dist/.pikku/addon}/schemas/schemas/SecretSchema_metaConversions.schema.json +0 -0
  472. /package/{.pikku → dist/.pikku/addon}/scopes/pikku-personas-meta.gen.json +0 -0
  473. /package/{.pikku → dist/.pikku/addon}/scopes/pikku-roles-meta.gen.json +0 -0
  474. /package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.js +0 -0
  475. /package/{.pikku → dist/.pikku/addon}/scopes/pikku-scopes-meta.gen.json +0 -0
  476. /package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.js +0 -0
  477. /package/{.pikku → dist/.pikku/addon}/secrets/pikku-secrets-meta.gen.json +0 -0
  478. /package/{.pikku → dist/.pikku/addon}/variables/pikku-variables-meta.gen.json +0 -0
  479. /package/{.pikku → dist/.pikku/addon}/workflow/personas.gen.json +0 -0
  480. /package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-wirings-meta.gen.d.ts +0 -0
@@ -1,135 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /**
5
- * This provides the structure needed for typescript to be aware of RPCs and their return types
6
- */
7
-
8
-
9
-
10
-
11
-
12
- export type EventSendInput = {
13
- /** Array of server events to send (max 1000 per request) */
14
- data: {
15
- /** Standard or custom event name (e.g., Purchase, Lead, AddToCart, PageView, ViewContent) */
16
- event_name: string;
17
- /** Unix timestamp in seconds when the event occurred */
18
- event_time: number;
19
- /** Unique event ID for deduplication with browser pixel events */
20
- event_id?: string | undefined;
21
- /** URL where the event occurred */
22
- event_source_url?: string | undefined;
23
- /** Where the conversion occurred */
24
- action_source: "website" | "email" | "app" | "phone_call" | "chat" | "physical_store" | "system_generated" | "other";
25
- /** Hashed user data for matching (em, ph, fn, ln, ct, st, zp, country, external_id, client_ip_address, client_user_agent, fbc, fbp) */
26
- user_data: {
27
- [key: string]: string | string[];
28
- };
29
- /** Custom event data (value, currency, content_name, content_ids, contents, num_items, etc.) */
30
- custom_data?: {
31
- [key: string]: unknown;
32
- } | undefined;
33
- /** If true, event is used for attribution but not ad delivery optimization */
34
- opt_out?: boolean | undefined;
35
- }[];
36
- /** Test event code from Events Manager for testing without affecting production data */
37
- test_event_code?: string | undefined;
38
- }
39
- export type EventSendOutput = {
40
- /** Number of events received by Meta */
41
- events_received: number;
42
- /** Diagnostic messages from the API */
43
- messages: string[];
44
- /** Trace ID for debugging with Meta support */
45
- fbtrace_id: string;
46
- }
47
- export type SecretSchema_metaConversions = {
48
- /** Meta Pixel ID */
49
- pixelId: string;
50
- /** Conversions API access token (generated in Events Manager) */
51
- accessToken: string;
52
- }
53
-
54
- interface RPCHandler<I, O> {
55
- input: I;
56
- output: O;
57
- }
58
-
59
- export type RPCMap = {
60
- };
61
-
62
-
63
-
64
- // No addon packages, use RPCMap directly
65
- export type FlattenedRPCMap = RPCMap
66
-
67
- type IsAny<T> = 0 extends (1 & T) ? true : false
68
- type IsVoidishInput<T> = IsAny<T> extends true
69
- ? false
70
- : [T] extends [void | null | undefined]
71
- ? true
72
- : false
73
-
74
-
75
- export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
76
- ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
77
- ? [name: Name]
78
- : [name: Name, data: FlattenedRPCMap[Name]['input']]
79
- ) => Promise<FlattenedRPCMap[Name]['output']>
80
-
81
- export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
82
- ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
83
- ? [name: Name]
84
- : [name: Name, data: FlattenedRPCMap[Name]['input']]
85
- ) => Promise<FlattenedRPCMap[Name]['output']>
86
-
87
- import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
88
-
89
- import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
90
-
91
-
92
- type FlattenedAgentMap = AgentMap
93
-
94
-
95
- import type { PikkuRPC } from '@pikku/core/rpc'
96
-
97
- interface AIAgentInput {
98
- message: string
99
- threadId: string
100
- resourceId: string
101
- }
102
-
103
- export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
104
- name: Name,
105
- input: FlattenedWorkflowMap[Name]['input'],
106
- options?: { startNode?: string }
107
- ) => Promise<{ runId: string }>
108
-
109
- export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
110
- name: Name,
111
- input: FlattenedWorkflowMap[Name]['input']
112
- ) => Promise<FlattenedWorkflowMap[Name]['output']>
113
-
114
- export type TypedWorkflowStatus = (
115
- workflowName: string,
116
- runId: string
117
- ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
118
-
119
- type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
120
- ? (name: string, input: AIAgentInput) => Promise<any>
121
- : <Name extends keyof FlattenedAgentMap>(
122
- name: Name,
123
- input: AIAgentInput
124
- ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
125
-
126
- type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
127
- ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
128
- : <Name extends keyof FlattenedAgentMap>(
129
- name: Name,
130
- input: AIAgentInput,
131
- options?: { requiresToolApproval?: 'all' | 'explicit' | false }
132
- ) => Promise<void>
133
-
134
- export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
135
-
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- import { pikkuState } from '@pikku/core/internal'
5
- import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
6
- pikkuState('@pikku/addon-meta-conversions', 'rpc', 'meta', metaData as Record<string, string>)
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- export {}
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- export {}
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- export const empty = null;
@@ -1,25 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /**
5
- * Scheduler-specific type definitions for tree-shaking optimization
6
- */
7
-
8
- import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
9
- import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js'
10
-
11
- /**
12
- * Type definition for scheduled tasks that run at specified intervals.
13
- * These are sessionless functions that execute based on cron expressions.
14
- */
15
- type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>
16
-
17
- /**
18
- * Registers a scheduled task with the Pikku framework.
19
- * Tasks run based on cron expressions and are sessionless.
20
- *
21
- * @param task - Scheduled task definition with cron expression and handler
22
- */
23
- export const wireScheduler = (task: SchedulerWiring) => {
24
- wireSchedulerCore(task as any)
25
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- import { addSchema } from '@pikku/core/schema'
5
-
6
- import * as EventSendInput from './schemas/EventSendInput.schema.json' with { type: 'json' }
7
- addSchema('EventSendInput', EventSendInput, '@pikku/addon-meta-conversions')
8
-
9
-
10
- import * as EventSendOutput from './schemas/EventSendOutput.schema.json' with { type: 'json' }
11
- addSchema('EventSendOutput', EventSendOutput, '@pikku/addon-meta-conversions')
12
-
13
-
14
- import * as SecretSchema_metaConversions from './schemas/SecretSchema_metaConversions.schema.json' with { type: 'json' }
15
- addSchema('SecretSchema_metaConversions', SecretSchema_metaConversions, '@pikku/addon-meta-conversions')
@@ -1,52 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /**
5
- * This file was generated by the @pikku/cli
6
- */
7
- import { definePersonas as definePersonasCore } from '@pikku/core/persona'
8
- import type { CorePersona, PersonaMeta, PersonasMeta } from '@pikku/core/persona'
9
- import type { SystemRoleName } from './pikku-roles.gen.js'
10
- import definitions from './pikku-personas-meta.gen.json' with { type: 'json' }
11
-
12
- /** Every declared persona. */
13
- export type PersonaId = never
14
-
15
- /**
16
- * The personas a virtual user can actually be.
17
- *
18
- * Excludes anyone whose only login is a provider account — driving a consent
19
- * screen needs a human — and anyone declared `runnable: false`, who exists to
20
- * be acted upon rather than to act.
21
- */
22
- export type RunnablePersonaId = never
23
-
24
- /** Every environment configured in pikku.config.json. */
25
- export type EnvironmentName = never
26
-
27
- /**
28
- * A persona whose roles are checked against `defineSystemRole` and whose
29
- * environments are checked against the config.
30
- *
31
- * Omitting `environments` means every environment except the ones flagged
32
- * `production: true`. Naming a production one additionally requires
33
- * `disposition: 'accountable'`, which the type cannot express and `pikku`
34
- * refuses at build time.
35
- */
36
- export type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
37
- roles?: SystemRoleName[]
38
- environments?: EnvironmentName[]
39
- }
40
-
41
- /**
42
- * Declare the people who use this application.
43
- *
44
- * A persona while running is a virtual user; there is no second declaration.
45
- */
46
- export const definePersonas = (personas: Record<string, TypedPersona>): void =>
47
- definePersonasCore(personas)
48
-
49
- /** Declared personas, keyed by id. Read by the console and `pikku persona`. */
50
- export const PERSONAS: PersonasMeta = definitions as unknown as PersonasMeta
51
-
52
- export const PERSONA_LIST: PersonaMeta[] = Object.values(PERSONAS)
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- export { defineScope } from '@pikku/core/scope'
5
- export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/scope'
6
- export { defineSystemRole } from '@pikku/core/role'
7
- export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitionsMeta } from '@pikku/core/role'
@@ -1,58 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /**
5
- * This file was generated by the @pikku/cli
6
- */
7
- import type { FlatScope, ScopeDefinitionsMeta } from '@pikku/core/scope'
8
- import { flattenScopeDefinitions } from '@pikku/core/scope'
9
- import definitions from './pikku-scopes-meta.gen.json' with { type: 'json' }
10
-
11
- /**
12
- * Every scope a function can require.
13
- *
14
- * A `:*` entry requires the scope and all of its descendants. Held grants are
15
- * matched against this by `verifyScopes` — `admin:*` on a session satisfies
16
- * any `admin:...` requirement.
17
- */
18
- export type ScopeId = never
19
-
20
- export interface ScopeMeta {
21
- id: ScopeId
22
- displayName?: string
23
- description?: string
24
- }
25
-
26
- /**
27
- * The declared scope set, for a ScopeService to sync into its store.
28
- *
29
- * Derived from the metadata sidecar rather than inlined, so that the import
30
- * above forces tsc to emit the .json alongside this file. An addon publishes
31
- * only its compiled output, and a host reads that .json to merge the addon's
32
- * scopes into its own `ScopeId` union and declared set — an uncopied sidecar
33
- * would leave the addon's scopes ungrantable.
34
- *
35
- * Additive: removing a declaration leaves an inert row rather than revoking a
36
- * grant mid-deploy. Use `pikku scopes prune` to remove them deliberately.
37
- */
38
- export const SCOPES: FlatScope[] = flattenScopeDefinitions(
39
- Object.values(definitions as ScopeDefinitionsMeta)
40
- )
41
-
42
- const DISPLAY_NAMES: Record<string, string> = {
43
-
44
- }
45
-
46
- /** Declared scopes, keyed by id. Rendered by the console when granting. */
47
- export const SCOPES_META: Record<string, ScopeMeta> = Object.fromEntries(
48
- SCOPES.map((scope) => [
49
- scope.id,
50
- {
51
- id: scope.id as ScopeId,
52
- ...(DISPLAY_NAMES[scope.id]
53
- ? { displayName: DISPLAY_NAMES[scope.id] }
54
- : {}),
55
- ...(scope.description ? { description: scope.description } : {}),
56
- },
57
- ])
58
- )
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- export { defineSecret } from '@pikku/core/secret'
5
- export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret'
@@ -1,36 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
5
- import type { SecretService } from '@pikku/core/services'
6
- import type { SecretDefinitionsMeta } from '@pikku/core/secret'
7
- import secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' }
8
- import type { z } from 'zod'
9
- import { metaConversionsSecretsSchema } from '../../src/meta-conversions.secret.js'
10
-
11
- /**
12
- * Every secret declared in this package.
13
- *
14
- * Read from the metadata sidecar rather than inlined, so that the import above
15
- * forces tsc to emit the .json alongside this file. An addon publishes only its
16
- * compiled output, and a host reads that .json to discover the addon's declared
17
- * secrets — an uncopied sidecar leaves them invisible to the host.
18
- */
19
- export const SECRETS_META: SecretDefinitionsMeta =
20
- secretsMeta as SecretDefinitionsMeta
21
-
22
- export interface CredentialsMap {
23
- 'META_CONVERSIONS_CREDENTIALS': z.infer<typeof metaConversionsSecretsSchema>
24
- }
25
-
26
- export type SecretId = keyof CredentialsMap
27
-
28
- const CREDENTIALS_META: Record<string, CredentialMeta> = {
29
- 'META_CONVERSIONS_CREDENTIALS': { name: 'metaConversions', displayName: "Meta Conversions API" }
30
- }
31
-
32
- export class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
33
- constructor(secrets: SecretService) {
34
- super(secrets, CREDENTIALS_META)
35
- }
36
- }
@@ -1,160 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /**
5
- * Trigger-specific type definitions for tree-shaking optimization
6
- */
7
-
8
- import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger, wireTrigger as wireTriggerCore, wireTriggerSource as wireTriggerSourceCore } from '@pikku/core/trigger'
9
- import type { CoreNodeConfig } from '@pikku/core/node'
10
- import type { SingletonServices } from '../../types/application-types.d.js'
11
- import type { StandardSchemaV1 } from '@standard-schema/spec'
12
-
13
-
14
-
15
- /**
16
- * A trigger function that sets up a subscription and returns a teardown function.
17
- * The trigger is fired via wire.trigger.invoke(data).
18
- *
19
- * @template TInput - Input type (configuration passed when wired)
20
- * @template TOutput - Output type produced when trigger fires
21
- */
22
- export type PikkuTriggerFunction<
23
- TInput = unknown,
24
- TOutput = unknown
25
- > = CorePikkuTriggerFunction<TInput, TOutput, SingletonServices>
26
-
27
- /**
28
- * Configuration object for creating a trigger function with metadata
29
- */
30
- export type PikkuTriggerFunctionConfig<
31
- TInput = unknown,
32
- TOutput = unknown,
33
- InputSchema extends StandardSchemaV1 | undefined = undefined,
34
- OutputSchema extends StandardSchemaV1 | undefined = undefined
35
- > = CorePikkuTriggerFunctionConfig<TInput, TOutput, SingletonServices, InputSchema, OutputSchema>
36
-
37
- /**
38
- * Helper type to infer the output type from a Standard Schema
39
- */
40
- type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Output : never
41
-
42
- /**
43
- * Configuration object for trigger functions with Zod schema validation.
44
- * Use this when you want to define input/output schemas using Zod.
45
- * Types are automatically inferred from the schemas.
46
- */
47
- export type PikkuTriggerFunctionConfigWithSchema<
48
- InputSchema extends StandardSchemaV1,
49
- OutputSchema extends StandardSchemaV1 | undefined = undefined
50
- > = {
51
- title?: string
52
- description?: string
53
- tags?: string[]
54
- func: PikkuTriggerFunction<
55
- InferSchemaOutput<InputSchema>,
56
- OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown
57
- >
58
- input: InputSchema
59
- output?: OutputSchema
60
- node?: CoreNodeConfig
61
- }
62
-
63
- /**
64
- * Type definition for trigger wirings.
65
- * Declares a trigger name and its target pikku function.
66
- */
67
- export type TriggerWiring = CoreTrigger
68
-
69
- /**
70
- * A trigger source with the subscription function, using project-specific services.
71
- *
72
- * @template TInput - Input type passed to the trigger function
73
- * @template TOutput - Output type produced when trigger fires
74
- */
75
- export type TriggerSource<
76
- TInput = unknown,
77
- TOutput = unknown
78
- > = {
79
- name: string
80
- func: PikkuTriggerFunctionConfig<TInput, TOutput>
81
- } & (unknown extends TInput ? { input?: TInput } : { input: TInput })
82
-
83
- /**
84
- * Creates a trigger function configuration.
85
- * Use this to define trigger functions that set up subscriptions.
86
- *
87
- * @param triggerOrConfig - Function definition or configuration object
88
- * @returns The normalized configuration object
89
- *
90
- * @example
91
- * ```typescript
92
- * export const redisSubscribeTrigger = pikkuTriggerFunc<
93
- * { channel: string },
94
- * { message: string }
95
- * >(async ({ redis }, { channel }, { trigger }) => {
96
- * const subscriber = redis.duplicate()
97
- * await subscriber.subscribe(channel, (msg) => {
98
- * trigger.invoke({ message: msg })
99
- * })
100
- * return () => subscriber.unsubscribe()
101
- * })
102
- *
103
- * export const redisSubscribeTrigger = pikkuTriggerFunc({
104
- * title: 'Redis Subscribe Trigger',
105
- * description: 'Listens to Redis pub/sub channel',
106
- * input: z.object({ channel: z.string() }),
107
- * output: z.object({ message: z.string() }),
108
- * func: async ({ redis }, { channel }, { trigger }) => {
109
- * const subscriber = redis.duplicate()
110
- * await subscriber.subscribe(channel, (msg) => {
111
- * trigger.invoke({ message: msg })
112
- * })
113
- * return () => subscriber.unsubscribe()
114
- * }
115
- * })
116
- * ```
117
- */
118
- export function pikkuTriggerFunc<
119
- InputSchema extends StandardSchemaV1,
120
- OutputSchema extends StandardSchemaV1 | undefined = undefined
121
- >(
122
- config: PikkuTriggerFunctionConfigWithSchema<InputSchema, OutputSchema>
123
- ): PikkuTriggerFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, InputSchema, OutputSchema>
124
- export function pikkuTriggerFunc<TInput, TOutput = unknown>(
125
- triggerOrConfig:
126
- | PikkuTriggerFunction<TInput, TOutput>
127
- | PikkuTriggerFunctionConfig<TInput, TOutput>
128
- ): PikkuTriggerFunctionConfig<TInput, TOutput>
129
- export function pikkuTriggerFunc(triggerOrConfig: any) {
130
- if (typeof triggerOrConfig === 'function') {
131
- return { func: triggerOrConfig }
132
- }
133
- return triggerOrConfig
134
- }
135
-
136
- /**
137
- * Registers a trigger with the Pikku framework.
138
- * Declares a trigger name and its target pikku function.
139
- * Runs everywhere — inspector extracts at build time.
140
- *
141
- * @param trigger - Trigger definition with name and function config
142
- */
143
- export const wireTrigger = (
144
- trigger: TriggerWiring
145
- ) => {
146
- wireTriggerCore(trigger as any)
147
- }
148
-
149
- /**
150
- * Registers a trigger source with the Pikku framework.
151
- * Provides the subscription function and input data.
152
- * Only imported in the trigger worker process.
153
- *
154
- * @param source - Trigger source with name, func, and input
155
- */
156
- export const wireTriggerSource = <TInput = unknown, TOutput = unknown>(
157
- source: TriggerSource<TInput, TOutput>
158
- ) => {
159
- wireTriggerSourceCore(source as any)
160
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- export { defineVariable } from '@pikku/core/variable'
5
- export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable'
@@ -1,34 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- import { TypedVariablesService as CoreTypedVariablesService, type VariableMeta } from '@pikku/core/services'
5
- import type { VariablesService } from '@pikku/core/services'
6
- import type { VariableDefinitionsMeta } from '@pikku/core/variable'
7
- import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' }
8
-
9
- /**
10
- * Every variable declared in this package.
11
- *
12
- * Read from the metadata sidecar rather than inlined, so that the import above
13
- * forces tsc to emit the .json alongside this file. An addon publishes only its
14
- * compiled output, and a host reads that .json to discover the addon's declared
15
- * variables — an uncopied sidecar leaves them invisible to the host.
16
- */
17
- export const VARIABLES_META: VariableDefinitionsMeta =
18
- variablesMeta as VariableDefinitionsMeta
19
-
20
- export interface VariablesMap {
21
-
22
- }
23
-
24
- export type VariableId = keyof VariablesMap
25
-
26
- const TYPED_VARIABLES_META: Record<string, VariableMeta> = {
27
-
28
- }
29
-
30
- export class TypedVariablesService extends CoreTypedVariablesService<VariablesMap> {
31
- constructor(variables: VariablesService) {
32
- super(variables, TYPED_VARIABLES_META)
33
- }
34
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /** Personas declared with definePersonas() */
5
- import { createHttpPersonas } from '@pikku/core/persona'
6
- import type {
7
- HttpPersonasConfig,
8
- ScenarioPersona,
9
- ResolvedPersona,
10
- } from '@pikku/core/services'
11
- import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
12
- import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js'
13
-
14
- export const personaConfigs = {} as const satisfies Record<string, ResolvedPersona>
15
-
16
- export type PersonaName = keyof typeof personaConfigs
17
-
18
- /**
19
- * The same personas as a list, widened to `ResolvedPersona`. Iterating
20
- * `personaConfigs` directly yields the literal type of each entry, on which an
21
- * optional field a persona did not declare does not exist — so a seed reading
22
- * `roles` off every persona needs this instead.
23
- */
24
- export const personaList: ResolvedPersona[] = Object.values(personaConfigs)
25
-
26
- export type AgentName = keyof AgentMap & string
27
- export type TypedPersonas = Record<
28
- PersonaName,
29
- ScenarioPersona<AgentName, FlattenedRPCMap>
30
- >
31
-
32
- export const createPersonas = (
33
- options: Omit<HttpPersonasConfig, 'personas'>
34
- ): TypedPersonas =>
35
- createHttpPersonas({
36
- ...options,
37
- personas: personaConfigs,
38
- }) as TypedPersonas
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /**
5
- * Scenario step map: the names `scenario.step/given/when/then` accepts, with
6
- * the input and output types of each step.
7
- */
8
-
9
-
10
-
11
-
12
- interface ScenarioStepHandler<I, O> {
13
- input: I;
14
- output: O;
15
- }
16
-
17
- export type FlattenedScenarioStepMap = {
18
- };
@@ -1,38 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.96
3
- */
4
- /**
5
- * Workflow type map with input/output types for each workflow
6
- */
7
-
8
-
9
-
10
-
11
-
12
- interface WorkflowHandler<I, O> {
13
- input: I;
14
- output: O;
15
- }
16
-
17
- interface GraphNodeHandler<I> {
18
- input: I;
19
- }
20
-
21
- export type WorkflowMap = {
22
- };
23
-
24
- export type GraphsMap = {
25
- };
26
-
27
- export type FlattenedWorkflowMap = WorkflowMap
28
-
29
-
30
- export type WorkflowClient<Name extends keyof FlattenedWorkflowMap> = {
31
- start: (input: FlattenedWorkflowMap[Name]['input']) => Promise<{ runId: string }>;
32
- getRun: <output extends keyof FlattenedWorkflowMap[Name]>(runId: string) => Promise<FlattenedWorkflowMap[Name][output]>;
33
- cancelRun: (runId: string) => Promise<boolean>;
34
- }
35
-
36
- export type TypedWorkflowClients = {
37
- [Name in keyof FlattenedWorkflowMap]: WorkflowClient<Name>;
38
- }