@pikku/addon-mindee 0.0.7 → 0.0.8

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 (283) hide show
  1. package/README.md +1 -1
  2. package/dist/.pikku/addon/agent/index.d.ts +1 -1
  3. package/dist/.pikku/addon/agent/index.js +1 -1
  4. package/dist/.pikku/addon/agent/index.ts +1 -1
  5. package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
  6. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +47 -6
  7. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -1
  8. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +41 -0
  9. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -1
  10. package/dist/.pikku/addon/agent/pikku-agent-types.gen.ts +42 -1
  11. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
  12. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.ts +1 -1
  13. package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
  14. package/dist/.pikku/addon/analytics/index.d.ts +8 -0
  15. package/dist/.pikku/addon/analytics/index.d.ts.map +1 -0
  16. package/dist/.pikku/addon/analytics/index.js +8 -0
  17. package/dist/.pikku/addon/analytics/index.js.map +1 -0
  18. package/dist/.pikku/addon/analytics/index.ts +8 -0
  19. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +6 -0
  20. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts.map +1 -0
  21. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +5 -0
  22. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js.map +1 -0
  23. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.ts +25 -0
  24. package/dist/.pikku/addon/auth/index.d.ts +1 -1
  25. package/dist/.pikku/addon/auth/index.js +1 -1
  26. package/dist/.pikku/addon/auth/index.ts +1 -1
  27. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +2 -19
  28. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -1
  29. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +2 -19
  30. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -1
  31. package/dist/.pikku/addon/auth/pikku-auth-types.gen.ts +2 -19
  32. package/dist/.pikku/addon/channel/index.d.ts +1 -1
  33. package/dist/.pikku/addon/channel/index.js +1 -1
  34. package/dist/.pikku/addon/channel/index.ts +1 -1
  35. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +10 -20
  36. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -1
  37. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +7 -1
  38. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -1
  39. package/dist/.pikku/addon/channel/pikku-channel-types.gen.ts +8 -18
  40. package/dist/.pikku/addon/cli/index.d.ts +8 -0
  41. package/dist/.pikku/addon/cli/index.d.ts.map +1 -0
  42. package/dist/.pikku/addon/cli/index.js +8 -0
  43. package/dist/.pikku/addon/cli/index.js.map +1 -0
  44. package/dist/.pikku/addon/cli/index.ts +8 -0
  45. package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +62 -0
  46. package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts.map +1 -0
  47. package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +49 -0
  48. package/dist/.pikku/addon/cli/pikku-cli-types.gen.js.map +1 -0
  49. package/dist/.pikku/addon/cli/pikku-cli-types.gen.ts +88 -0
  50. package/dist/.pikku/addon/console/pikku-addon-meta.gen.json +5 -1
  51. package/dist/.pikku/addon/credentials/index.d.ts +1 -1
  52. package/dist/.pikku/addon/credentials/index.js +1 -1
  53. package/dist/.pikku/addon/credentials/index.ts +1 -1
  54. package/dist/.pikku/addon/credentials/pikku-credentials.gen.d.ts +1 -1
  55. package/dist/.pikku/addon/credentials/pikku-credentials.gen.d.ts.map +1 -1
  56. package/dist/.pikku/addon/credentials/pikku-credentials.gen.js +1 -1
  57. package/dist/.pikku/addon/credentials/pikku-credentials.gen.ts +1 -1
  58. package/dist/.pikku/addon/db/pikku-db-meta.gen.json +1 -0
  59. package/dist/.pikku/addon/error/index.d.ts +1 -1
  60. package/dist/.pikku/addon/error/index.js +1 -1
  61. package/dist/.pikku/addon/error/index.ts +1 -1
  62. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
  63. package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
  64. package/dist/.pikku/addon/error/pikku-error-types.gen.ts +1 -1
  65. package/dist/.pikku/addon/function/index.d.ts +1 -1
  66. package/dist/.pikku/addon/function/index.js +1 -1
  67. package/dist/.pikku/addon/function/index.ts +1 -1
  68. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +47 -47
  69. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -1
  70. package/dist/.pikku/addon/function/pikku-function-types.gen.js +21 -9
  71. package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -1
  72. package/dist/.pikku/addon/function/pikku-function-types.gen.ts +46 -44
  73. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +4 -2
  74. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
  75. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +2 -0
  76. package/dist/.pikku/addon/function/pikku-functions-meta.gen.ts +1 -1
  77. package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
  78. package/dist/.pikku/addon/function/pikku-functions.gen.ts +1 -1
  79. package/dist/.pikku/addon/http/index.d.ts +1 -1
  80. package/dist/.pikku/addon/http/index.js +1 -1
  81. package/dist/.pikku/addon/http/index.ts +1 -1
  82. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +3 -1
  83. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -1
  84. package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
  85. package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -1
  86. package/dist/.pikku/addon/http/pikku-http-types.gen.ts +3 -1
  87. package/dist/.pikku/addon/mcp/index.d.ts +1 -1
  88. package/dist/.pikku/addon/mcp/index.js +1 -1
  89. package/dist/.pikku/addon/mcp/index.ts +1 -1
  90. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +7 -1
  91. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -1
  92. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
  93. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -1
  94. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.ts +7 -1
  95. package/dist/.pikku/addon/middleware/index.d.ts +1 -1
  96. package/dist/.pikku/addon/middleware/index.js +1 -1
  97. package/dist/.pikku/addon/middleware/index.ts +1 -1
  98. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +33 -24
  99. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -1
  100. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +29 -24
  101. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -1
  102. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.ts +33 -24
  103. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  104. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
  105. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.ts +1 -1
  106. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
  107. package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
  108. package/dist/.pikku/addon/pikku-bootstrap.gen.ts +1 -1
  109. package/dist/.pikku/addon/pikku-local-services.gen.d.ts +29 -0
  110. package/dist/.pikku/addon/pikku-local-services.gen.d.ts.map +1 -0
  111. package/dist/.pikku/addon/pikku-local-services.gen.js +42 -0
  112. package/dist/.pikku/addon/pikku-local-services.gen.js.map +1 -0
  113. package/dist/.pikku/addon/pikku-local-services.gen.ts +85 -0
  114. package/dist/.pikku/addon/pikku-package.gen.js +2 -1
  115. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  116. package/dist/.pikku/addon/pikku-package.gen.ts +3 -1
  117. package/dist/.pikku/addon/pikku-services.gen.d.ts +12 -3
  118. package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -1
  119. package/dist/.pikku/addon/pikku-services.gen.js +11 -1
  120. package/dist/.pikku/addon/pikku-services.gen.js.map +1 -1
  121. package/dist/.pikku/addon/pikku-services.gen.ts +14 -3
  122. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -2
  123. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -2
  124. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +2 -2
  125. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  126. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
  127. package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
  128. package/dist/.pikku/addon/scenarios/index.js +1 -1
  129. package/dist/.pikku/addon/scenarios/index.ts +1 -1
  130. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  131. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.ts +1 -1
  132. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  133. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.ts +1 -1
  134. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +53 -35
  135. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -1
  136. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js +7 -3
  137. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -1
  138. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.ts +57 -40
  139. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  140. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.ts +1 -1
  141. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  142. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.ts +1 -1
  143. package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.d.ts +33 -0
  144. package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.d.ts.map +1 -0
  145. package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +29 -0
  146. package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js.map +1 -0
  147. package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.ts +52 -0
  148. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
  149. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
  150. package/dist/.pikku/addon/scenarios/schemas/register.gen.ts +1 -1
  151. package/dist/.pikku/addon/schemas/register.gen.js +1 -1
  152. package/dist/.pikku/addon/schemas/register.gen.ts +1 -1
  153. package/dist/.pikku/addon/scopes/index.d.ts +2 -1
  154. package/dist/.pikku/addon/scopes/index.d.ts.map +1 -1
  155. package/dist/.pikku/addon/scopes/index.js +2 -1
  156. package/dist/.pikku/addon/scopes/index.js.map +1 -1
  157. package/dist/.pikku/addon/scopes/index.ts +2 -1
  158. package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +41 -0
  159. package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts.map +1 -0
  160. package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.js +35 -0
  161. package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.js.map +1 -0
  162. package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.ts +52 -0
  163. package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +9 -0
  164. package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts.map +1 -0
  165. package/dist/.pikku/addon/scopes/pikku-flags.gen.js +2 -0
  166. package/dist/.pikku/addon/scopes/pikku-flags.gen.js.map +1 -0
  167. package/dist/.pikku/addon/scopes/pikku-flags.gen.ts +8 -0
  168. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
  169. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -1
  170. package/dist/.pikku/addon/scopes/pikku-roles.gen.ts +1 -1
  171. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +2 -1
  172. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -1
  173. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +2 -1
  174. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -1
  175. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.ts +2 -1
  176. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
  177. package/dist/.pikku/addon/scopes/pikku-scopes.gen.ts +1 -1
  178. package/dist/.pikku/addon/scopes/pikku-virtual-users-meta.gen.json +1 -0
  179. package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.d.ts +27 -0
  180. package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.d.ts.map +1 -0
  181. package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +16 -0
  182. package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js.map +1 -0
  183. package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.ts +39 -0
  184. package/dist/.pikku/addon/secrets/index.d.ts +1 -1
  185. package/dist/.pikku/addon/secrets/index.js +1 -1
  186. package/dist/.pikku/addon/secrets/index.ts +1 -1
  187. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
  188. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
  189. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.ts +1 -1
  190. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +9 -1
  191. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -1
  192. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +5 -1
  193. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -1
  194. package/dist/.pikku/addon/secrets/pikku-secrets.gen.ts +9 -1
  195. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
  196. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -1
  197. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
  198. package/dist/.pikku/addon/services/pikku-meta-service.gen.ts +1 -1
  199. package/dist/.pikku/addon/setup/index.d.ts +1 -1
  200. package/dist/.pikku/addon/setup/index.js +1 -1
  201. package/dist/.pikku/addon/setup/index.ts +1 -1
  202. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +4 -4
  203. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -1
  204. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
  205. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.ts +1 -1
  206. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +8 -20
  207. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -1
  208. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +11 -19
  209. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -1
  210. package/dist/.pikku/addon/setup/pikku-setup-types.gen.ts +19 -19
  211. package/dist/.pikku/addon/surface-usage.gen.json +326 -16
  212. package/dist/.pikku/addon/trigger/index.d.ts +1 -1
  213. package/dist/.pikku/addon/trigger/index.js +1 -1
  214. package/dist/.pikku/addon/trigger/index.ts +1 -1
  215. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +64 -1
  216. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
  217. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +17 -1
  218. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -1
  219. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.ts +58 -1
  220. package/dist/.pikku/addon/utils/index.d.ts +8 -0
  221. package/dist/.pikku/addon/utils/index.d.ts.map +1 -0
  222. package/dist/.pikku/addon/utils/index.js +8 -0
  223. package/dist/.pikku/addon/utils/index.js.map +1 -0
  224. package/dist/.pikku/addon/utils/index.ts +8 -0
  225. package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +5 -0
  226. package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts.map +1 -0
  227. package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +5 -0
  228. package/dist/.pikku/addon/utils/pikku-utils-types.gen.js.map +1 -0
  229. package/dist/.pikku/addon/utils/pikku-utils-types.gen.ts +4 -0
  230. package/dist/.pikku/addon/variables/index.d.ts +1 -1
  231. package/dist/.pikku/addon/variables/index.js +1 -1
  232. package/dist/.pikku/addon/variables/index.ts +1 -1
  233. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
  234. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
  235. package/dist/.pikku/addon/variables/pikku-variable-types.gen.ts +1 -1
  236. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +9 -1
  237. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -1
  238. package/dist/.pikku/addon/variables/pikku-variables.gen.js +7 -2
  239. package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -1
  240. package/dist/.pikku/addon/variables/pikku-variables.gen.ts +10 -2
  241. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks-meta.gen.json +1 -0
  242. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +12 -0
  243. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts.map +1 -0
  244. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.js +3 -0
  245. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.js.map +1 -0
  246. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.ts +15 -0
  247. package/dist/.pikku/addon/workflow/index.d.ts +1 -1
  248. package/dist/.pikku/addon/workflow/index.js +1 -1
  249. package/dist/.pikku/addon/workflow/index.ts +1 -1
  250. package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  251. package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
  252. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +30 -6
  253. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  254. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +8 -1
  255. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -1
  256. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.ts +33 -2
  257. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  258. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.ts +1 -1
  259. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  260. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
  261. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.ts +1 -1
  262. package/dist/.pikku/addon/workflow/virtual-users.gen.json +1 -0
  263. package/dist/.pikku/runs/mvcet6gb.all.jsonl +3 -0
  264. package/dist/.pikku/runs/mvcf0qu1.all.jsonl +3 -0
  265. package/dist/src/functions/invoicePredict.function.d.ts +3 -3
  266. package/dist/src/functions/invoicePredict.function.d.ts.map +1 -1
  267. package/dist/src/functions/receiptPredict.function.d.ts +3 -3
  268. package/dist/src/functions/receiptPredict.function.d.ts.map +1 -1
  269. package/dist/src/mindee-api.service.d.ts.map +1 -1
  270. package/dist/src/mindee-api.service.js.map +1 -1
  271. package/package.json +6 -6
  272. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts +0 -18
  273. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +0 -1
  274. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +0 -18
  275. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +0 -1
  276. package/dist/.pikku/addon/scenarios/pikku-personas.gen.ts +0 -36
  277. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts +0 -29
  278. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +0 -1
  279. package/dist/.pikku/addon/scopes/pikku-personas.gen.js +0 -18
  280. package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +0 -1
  281. package/dist/.pikku/addon/scopes/pikku-personas.gen.ts +0 -41
  282. /package/dist/.pikku/addon/{scopes/pikku-personas-meta.gen.json → analytics/pikku-analytics-meta.gen.json} +0 -0
  283. /package/dist/.pikku/addon/{workflow/personas.gen.json → scopes/pikku-flags-meta.gen.json} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-channel-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/channel/pikku-channel-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAA;AAC5G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAA;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D;;GAEG;AACH,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,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,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;CACtB,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,SAAS,gBAAgB,EACpC,YAAY,SAAS,gBAAgB,GAAG,SAAS,GAAG,SAAS,EAE7D,MAAM,EAAE,gCAAgC,CAAC,WAAW,EAAE,YAAY,CAAC,GAClE,mBAAmB,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,YAAY,SAAS,gBAAgB,GAAG,iBAAiB,CAAC,YAAY,CAAC,GAAG,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,CAAA;AACxK,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,OAAO,EAChD,IAAI,EACA,wBAAwB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,GAChE,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,GAC9D,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC,CAAA;AAM9D;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAE/E"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -12,6 +12,8 @@ import { defineChannelRoutes as defineChannelRoutesCore } from '@pikku/core/chan
12
12
  * @template Out - Output type for connection response
13
13
  * @param func - Function definition, either direct function or configuration object
14
14
  * @returns The normalized configuration object
15
+ *
16
+ * @example snippet: channelLifecycle
15
17
  */
16
18
  export const pikkuChannelConnectionFunc = (func) => {
17
19
  return typeof func === 'function' ? { func } : func;
@@ -22,6 +24,8 @@ export const pikkuChannelConnectionFunc = (func) => {
22
24
  *
23
25
  * @param func - Function definition, either direct function or configuration object
24
26
  * @returns The normalized configuration object
27
+ *
28
+ * @example snippet: channelLifecycle
25
29
  */
26
30
  export const pikkuChannelDisconnectionFunc = (func) => {
27
31
  return typeof func === 'function' ? { func } : func;
@@ -36,6 +40,8 @@ export function pikkuChannelFunc(func) {
36
40
  * @template T - Record of channel route handlers
37
41
  * @param routes - The channel routes record
38
42
  * @returns The same routes record (identity function for type safety)
43
+ *
44
+ * @example snippet: channelRoutes
39
45
  */
40
46
  export function defineChannelRoutes(routes) {
41
47
  return defineChannelRoutesCore(routes);
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-channel-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/channel/pikku-channel-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAcpF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,IAEiE,EACjE,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,IAEkE,EAClE,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAmED,MAAM,UAAU,gBAAgB,CAAC,IAAS;IACxC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAGD;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB,CAAgC,MAAS;IAC1E,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAA;AACxC,CAAC"}
1
+ {"version":3,"file":"pikku-channel-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/channel/pikku-channel-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAcpF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,IAEiE,EACjE,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,IAEkE,EAClE,EAAE;IACF,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC,CAAA;AAmDD,MAAM,UAAU,gBAAgB,CAAC,IAAS;IACxC,OAAO,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACrD,CAAC;AAGD;;;;;;;;;GASG;AACH,MAAM,UAAU,mBAAmB,CAAgC,MAAS;IAC1E,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAA;AACxC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -26,6 +26,8 @@ type InferSchemaOutput<T> = T extends StandardSchemaV1<any, infer Output> ? Outp
26
26
  * @template Out - Output type for connection response
27
27
  * @param func - Function definition, either direct function or configuration object
28
28
  * @returns The normalized configuration object
29
+ *
30
+ * @example snippet: channelLifecycle
29
31
  */
30
32
  export const pikkuChannelConnectionFunc = <Out = unknown>(
31
33
  func:
@@ -41,6 +43,8 @@ export const pikkuChannelConnectionFunc = <Out = unknown>(
41
43
  *
42
44
  * @param func - Function definition, either direct function or configuration object
43
45
  * @returns The normalized configuration object
46
+ *
47
+ * @example snippet: channelLifecycle
44
48
  */
45
49
  export const pikkuChannelDisconnectionFunc = (
46
50
  func:
@@ -86,23 +90,7 @@ type PikkuChannelFuncConfigWithSchema<
86
90
  * @param func - Function definition, either direct function or configuration object
87
91
  * @returns The normalized configuration object
88
92
  *
89
- * @example
90
- * ```typescript
91
- * // Pattern 1: Using generic types
92
- * const handleMessage = pikkuChannelFunc<{text: string}, {received: boolean}>({
93
- * func: async (_services, { text }) => ({ received: true })
94
- * })
95
- *
96
- * // Pattern 2: Using Zod schemas
97
- * const messageInput = z.object({ text: z.string() })
98
- * const messageOutput = z.object({ received: z.boolean() })
99
- *
100
- * const handleMessage = pikkuChannelFunc({
101
- * input: messageInput,
102
- * output: messageOutput,
103
- * func: async (_services, { text }) => ({ received: true })
104
- * })
105
- * ```
93
+ * @example snippet: orderStatusChannel
106
94
  */
107
95
  export function pikkuChannelFunc<
108
96
  InputSchema extends StandardSchemaV1,
@@ -127,6 +115,8 @@ export function pikkuChannelFunc(func: any) {
127
115
  * @template T - Record of channel route handlers
128
116
  * @param routes - The channel routes record
129
117
  * @returns The same routes record (identity function for type safety)
118
+ *
119
+ * @example snippet: channelRoutes
130
120
  */
131
121
  export function defineChannelRoutes<T extends Record<string, any>>(routes: T): T {
132
122
  return defineChannelRoutesCore(routes)
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.190
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/cli` resolves here.
6
+ */
7
+ export * from './pikku-cli-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/cli/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,0BAA0B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.190
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/cli` resolves here.
6
+ */
7
+ export * from './pikku-cli-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/cli/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,0BAA0B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.190
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/cli` resolves here.
6
+ */
7
+
8
+ export * from './pikku-cli-types.gen.js'
@@ -0,0 +1,62 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.190
3
+ */
4
+ /**
5
+
6
+ * CLI-specific type definitions for tree-shaking optimization
7
+ */
8
+ import { CorePikkuCLIRender, CoreCLICommandConfig } from '@pikku/core/cli';
9
+ import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
10
+ import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
11
+ import type { UserSession } from '../../../types/application-types.d.js';
12
+ import type { SingletonServices } from '../../../types/application-types.d.js';
13
+ type Session = UserSession;
14
+ /**
15
+ * Type-safe CLI renderer definition that can access your application's services.
16
+ * Use this to define custom renderers for CLI command output.
17
+ *
18
+ * @template Data - The output data type from the CLI command
19
+ * @template RequiredServices - The services required for this renderer
20
+ */
21
+ type PikkuCLIRender<Data, RequiredServices extends SingletonServices = SingletonServices> = CorePikkuCLIRender<Data, RequiredServices, Session>;
22
+ /**
23
+ * Creates a type-safe CLI renderer with access to your application's singleton services.
24
+ * The renderer receives the full singleton services and output data to format and display results.
25
+ *
26
+ * @template Data - The output data type from the CLI command
27
+ * @template RequiredServices - The minimum services required for type checking (defaults to SingletonServices)
28
+ * @param render - Function that receives singleton services and data to render output
29
+ * @returns A CLI renderer configuration
30
+ *
31
+ * @example snippet: cliRenderer
32
+ */
33
+ export declare const pikkuCLIRender: <Data, RequiredServices extends SingletonServices = SingletonServices>(render: (services: SingletonServices, data: Data) => void | Promise<void>) => PikkuCLIRender<Data, RequiredServices>;
34
+ /**
35
+ * CLI command configuration with project-specific types.
36
+ * Uses CoreCLICommandConfig from @pikku/core with local middleware and render types.
37
+ */
38
+ type CLICommandConfig<Func extends PikkuFunctionConfig<In, Out, 'cli' | 'rpc' | 'session'>, In = any, Out = any, Params extends string = string> = CoreCLICommandConfig<Func, PikkuMiddleware, PikkuCLIRender<any>, Params>;
39
+ /**
40
+ * Creates a CLI command definition with automatic option inference from the function's input type.
41
+ * This allows TypeScript to automatically derive CLI options from the function signature.
42
+ *
43
+ * @template FuncConfig - The Pikku function config type
44
+ * @template Params - The parameters string literal type
45
+ * @param config - CLI command configuration
46
+ * @returns CLI command configuration with inferred types
47
+ *
48
+ * @example snippet: cliWiring
49
+ */
50
+ export declare const pikkuCLICommand: <FuncConfig extends PikkuFunctionConfig<any, any, 'cli' | 'rpc' | 'session'>, Params extends string>(config: CLICommandConfig<FuncConfig, any, any, Params>) => CoreCLICommandConfig<FuncConfig, PikkuMiddleware, PikkuCLIRender<any>, string>;
51
+ /**
52
+ * Type-safe helper for defining CLI commands that can be composed and spread into wireCLI.
53
+ *
54
+ * @template T - Record of CLI command configurations
55
+ * @param commands - The CLI commands record
56
+ * @returns The same commands record (identity function for type safety)
57
+ *
58
+ * @example snippet: cliCommandContract
59
+ */
60
+ export declare const defineCLICommands: <T extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>>(commands: T) => T;
61
+ export {};
62
+ //# sourceMappingURL=pikku-cli-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-cli-types.gen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,EAAE,GAAG,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS,CAAC,EAC3E,MAAM,SAAS,MAAM,UAEb,gBAAgB,CAAC,UAAU,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,KACrD,oBAAoB,CAAC,UAAU,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,CAE/E,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAAG,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,YACpH,CAAC,KACV,CAEF,CAAA"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.190
3
+ */
4
+ /**
5
+
6
+ * CLI-specific type definitions for tree-shaking optimization
7
+ */
8
+ import { defineCLICommands as defineCLICommandsCore } from '@pikku/core/cli';
9
+ /**
10
+ * Creates a type-safe CLI renderer with access to your application's singleton services.
11
+ * The renderer receives the full singleton services and output data to format and display results.
12
+ *
13
+ * @template Data - The output data type from the CLI command
14
+ * @template RequiredServices - The minimum services required for type checking (defaults to SingletonServices)
15
+ * @param render - Function that receives singleton services and data to render output
16
+ * @returns A CLI renderer configuration
17
+ *
18
+ * @example snippet: cliRenderer
19
+ */
20
+ export const pikkuCLIRender = (render) => {
21
+ return render;
22
+ };
23
+ /**
24
+ * Creates a CLI command definition with automatic option inference from the function's input type.
25
+ * This allows TypeScript to automatically derive CLI options from the function signature.
26
+ *
27
+ * @template FuncConfig - The Pikku function config type
28
+ * @template Params - The parameters string literal type
29
+ * @param config - CLI command configuration
30
+ * @returns CLI command configuration with inferred types
31
+ *
32
+ * @example snippet: cliWiring
33
+ */
34
+ export const pikkuCLICommand = (config) => {
35
+ return config;
36
+ };
37
+ /**
38
+ * Type-safe helper for defining CLI commands that can be composed and spread into wireCLI.
39
+ *
40
+ * @template T - Record of CLI command configurations
41
+ * @param commands - The CLI commands record
42
+ * @returns The same commands record (identity function for type safety)
43
+ *
44
+ * @example snippet: cliCommandContract
45
+ */
46
+ export const defineCLICommands = (commands) => {
47
+ return defineCLICommandsCore(commands);
48
+ };
49
+ //# sourceMappingURL=pikku-cli-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-cli-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/cli/pikku-cli-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAsB5E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,MAAyE,EACjC,EAAE;IAC1C,OAAO,MAAa,CAAA;AACtB,CAAC,CAAA;AASD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAI7B,MAAsD,EAC0B,EAAE;IAClF,OAAO,MAAa,CAAA;AACtB,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,QAAW,EACR,EAAE;IACL,OAAO,qBAAqB,CAAC,QAAe,CAAM,CAAA;AACpD,CAAC,CAAA"}
@@ -0,0 +1,88 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.190
3
+ */
4
+ /**
5
+
6
+ * CLI-specific type definitions for tree-shaking optimization
7
+ */
8
+
9
+ import { defineCLICommands as defineCLICommandsCore } from '@pikku/core/cli'
10
+ import {
11
+ CorePikkuCLIRender,
12
+ CoreCLICommandConfig,
13
+ } from '@pikku/core/cli'
14
+ import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
15
+ import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js'
16
+ import type { UserSession } from '../../../types/application-types.d.js'
17
+ import type { SingletonServices } from '../../../types/application-types.d.js'
18
+
19
+
20
+ type Session = UserSession
21
+
22
+ /**
23
+ * Type-safe CLI renderer definition that can access your application's services.
24
+ * Use this to define custom renderers for CLI command output.
25
+ *
26
+ * @template Data - The output data type from the CLI command
27
+ * @template RequiredServices - The services required for this renderer
28
+ */
29
+ type PikkuCLIRender<Data, RequiredServices extends SingletonServices = SingletonServices> = CorePikkuCLIRender<Data, RequiredServices, Session>
30
+
31
+ /**
32
+ * Creates a type-safe CLI renderer with access to your application's singleton services.
33
+ * The renderer receives the full singleton services and output data to format and display results.
34
+ *
35
+ * @template Data - The output data type from the CLI command
36
+ * @template RequiredServices - The minimum services required for type checking (defaults to SingletonServices)
37
+ * @param render - Function that receives singleton services and data to render output
38
+ * @returns A CLI renderer configuration
39
+ *
40
+ * @example snippet: cliRenderer
41
+ */
42
+ export const pikkuCLIRender = <Data, RequiredServices extends SingletonServices = SingletonServices>(
43
+ render: (services: SingletonServices, data: Data) => void | Promise<void>
44
+ ): PikkuCLIRender<Data, RequiredServices> => {
45
+ return render as any
46
+ }
47
+
48
+ /**
49
+ * CLI command configuration with project-specific types.
50
+ * Uses CoreCLICommandConfig from @pikku/core with local middleware and render types.
51
+ */
52
+ type CLICommandConfig<Func extends PikkuFunctionConfig<In, Out, 'cli' | 'rpc' | 'session'>, In = any, Out = any, Params extends string = string> = CoreCLICommandConfig<Func, PikkuMiddleware, PikkuCLIRender<any>, Params>
53
+
54
+
55
+ /**
56
+ * Creates a CLI command definition with automatic option inference from the function's input type.
57
+ * This allows TypeScript to automatically derive CLI options from the function signature.
58
+ *
59
+ * @template FuncConfig - The Pikku function config type
60
+ * @template Params - The parameters string literal type
61
+ * @param config - CLI command configuration
62
+ * @returns CLI command configuration with inferred types
63
+ *
64
+ * @example snippet: cliWiring
65
+ */
66
+ export const pikkuCLICommand = <
67
+ FuncConfig extends PikkuFunctionConfig<any, any, 'cli' | 'rpc' | 'session'>,
68
+ Params extends string
69
+ >(
70
+ config: CLICommandConfig<FuncConfig, any, any, Params>
71
+ ): CoreCLICommandConfig<FuncConfig, PikkuMiddleware, PikkuCLIRender<any>, string> => {
72
+ return config as any
73
+ }
74
+
75
+ /**
76
+ * Type-safe helper for defining CLI commands that can be composed and spread into wireCLI.
77
+ *
78
+ * @template T - Record of CLI command configurations
79
+ * @param commands - The CLI commands record
80
+ * @returns The same commands record (identity function for type safety)
81
+ *
82
+ * @example snippet: cliCommandContract
83
+ */
84
+ export const defineCLICommands = <T extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>>(
85
+ commands: T
86
+ ): T => {
87
+ return defineCLICommandsCore(commands as any) as T
88
+ }
@@ -8,5 +8,9 @@
8
8
  "categories": [
9
9
  "ai"
10
10
  ]
11
- }
11
+ },
12
+ "requiredParentServices": [
13
+ "variables",
14
+ "credentialService"
15
+ ]
12
16
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/credentials` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/credentials` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/credentials` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  import { TypedCredentialService as CoreTypedCredentialService } from '@pikku/core/services';
5
5
  import type { CredentialService } from '@pikku/core/services';
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-credentials.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/credentials/pikku-credentials.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,sBAAsB,IAAI,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAE3F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAA;AAE1E,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;CACjD,CAAA;AAOD,qBAAa,sBAAuB,SAAQ,0BAA0B,CAAC,cAAc,CAAC;gBACxE,WAAW,EAAE,iBAAiB;CAG3C"}
1
+ {"version":3,"file":"pikku-credentials.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/credentials/pikku-credentials.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,sBAAsB,IAAI,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAE3F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAA;AAE1E,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;CACjD,CAAA;AAOD,qBAAa,sBAAuB,SAAQ,0BAA0B,CAAC,cAAc,CAAC;IACpF,YAAY,WAAW,EAAE,iBAAiB,EAEzC;CACF"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  import { TypedCredentialService as CoreTypedCredentialService } from '@pikku/core/services';
5
5
  const CREDENTIALS_META = {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  import { TypedCredentialService as CoreTypedCredentialService } from '@pikku/core/services'
5
5
  import type { CredentialMetaInfo } from '@pikku/core/services'
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Error catalogue — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Error catalogue — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Error catalogue — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/function` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/function` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.111
2
+ * This file was generated by @pikku/cli@0.12.190
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/function` resolves here.