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