@pikku/addon-mindee 0.0.4 → 0.0.6

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 (446) 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 -6
  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 +24 -30
  12. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts.map +1 -0
  13. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +6 -0
  14. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js.map +1 -0
  15. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.ts +6 -0
  16. package/dist/.pikku/{agent → addon/agent}/pikku-scorer-names.gen.d.ts +1 -1
  17. package/dist/.pikku/addon/auth/index.d.ts +8 -0
  18. package/dist/.pikku/addon/auth/index.d.ts.map +1 -0
  19. package/dist/.pikku/addon/auth/index.js +8 -0
  20. package/dist/.pikku/addon/auth/index.js.map +1 -0
  21. package/dist/.pikku/addon/auth/index.ts +8 -0
  22. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +126 -0
  23. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -0
  24. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +93 -0
  25. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
  26. package/dist/.pikku/addon/auth/pikku-auth-types.gen.ts +163 -0
  27. package/dist/.pikku/addon/channel/index.d.ts +8 -0
  28. package/dist/.pikku/addon/channel/index.d.ts.map +1 -0
  29. package/dist/.pikku/addon/channel/index.js +8 -0
  30. package/dist/.pikku/addon/channel/index.js.map +1 -0
  31. package/dist/.pikku/addon/channel/index.ts +8 -0
  32. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.d.ts +5 -26
  33. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -0
  34. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.js +2 -19
  35. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
  36. package/dist/.pikku/{channel → addon/channel}/pikku-channel-types.gen.ts +7 -49
  37. package/dist/.pikku/addon/credentials/index.d.ts +8 -0
  38. package/dist/.pikku/addon/credentials/index.d.ts.map +1 -0
  39. package/dist/.pikku/addon/credentials/index.js +8 -0
  40. package/dist/.pikku/addon/credentials/index.js.map +1 -0
  41. package/dist/.pikku/addon/credentials/index.ts +8 -0
  42. package/dist/.pikku/{credentials → addon/credentials}/pikku-credentials.gen.d.ts +4 -5
  43. package/dist/.pikku/addon/credentials/pikku-credentials.gen.d.ts.map +1 -0
  44. package/dist/.pikku/{credentials → addon/credentials}/pikku-credentials.gen.js +1 -1
  45. package/dist/.pikku/addon/credentials/pikku-credentials.gen.js.map +1 -0
  46. package/dist/.pikku/{credentials → addon/credentials}/pikku-credentials.gen.ts +5 -6
  47. package/dist/.pikku/addon/error/index.d.ts +8 -0
  48. package/dist/.pikku/addon/error/index.d.ts.map +1 -0
  49. package/dist/.pikku/addon/error/index.js +8 -0
  50. package/dist/.pikku/addon/error/index.js.map +1 -0
  51. package/dist/.pikku/addon/error/index.ts +8 -0
  52. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +8 -0
  53. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts.map +1 -0
  54. package/dist/.pikku/addon/error/pikku-error-types.gen.js +8 -0
  55. package/dist/.pikku/addon/error/pikku-error-types.gen.js.map +1 -0
  56. package/dist/.pikku/addon/error/pikku-error-types.gen.ts +8 -0
  57. package/dist/.pikku/addon/function/index.d.ts +8 -0
  58. package/dist/.pikku/addon/function/index.d.ts.map +1 -0
  59. package/dist/.pikku/addon/function/index.js +8 -0
  60. package/dist/.pikku/addon/function/index.js.map +1 -0
  61. package/dist/.pikku/addon/function/index.ts +8 -0
  62. package/dist/.pikku/{function → addon/function}/pikku-function-types.gen.d.ts +40 -262
  63. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -0
  64. package/dist/.pikku/addon/function/pikku-function-types.gen.js +117 -0
  65. package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
  66. package/dist/.pikku/{function → addon/function}/pikku-function-types.gen.ts +51 -362
  67. package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
  68. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +7 -0
  69. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
  70. package/dist/.pikku/addon/function/pikku-functions-meta.gen.ts +7 -0
  71. package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
  72. package/dist/.pikku/addon/function/pikku-functions.gen.js +10 -0
  73. package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
  74. package/dist/.pikku/{function → addon/function}/pikku-functions.gen.ts +3 -3
  75. package/dist/.pikku/addon/http/index.d.ts +8 -0
  76. package/dist/.pikku/addon/http/index.d.ts.map +1 -0
  77. package/dist/.pikku/addon/http/index.js +8 -0
  78. package/dist/.pikku/addon/http/index.js.map +1 -0
  79. package/dist/.pikku/addon/http/index.ts +8 -0
  80. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +50 -0
  81. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -0
  82. package/dist/.pikku/addon/http/pikku-http-types.gen.js +11 -0
  83. package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -0
  84. package/dist/.pikku/addon/http/pikku-http-types.gen.ts +62 -0
  85. package/dist/.pikku/addon/mcp/index.d.ts +8 -0
  86. package/dist/.pikku/addon/mcp/index.d.ts.map +1 -0
  87. package/dist/.pikku/addon/mcp/index.js +8 -0
  88. package/dist/.pikku/addon/mcp/index.js.map +1 -0
  89. package/dist/.pikku/addon/mcp/index.ts +8 -0
  90. package/dist/.pikku/{mcp → addon/mcp}/pikku-mcp-types.gen.d.ts +7 -36
  91. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  92. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +16 -0
  93. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -0
  94. package/dist/.pikku/{mcp → addon/mcp}/pikku-mcp-types.gen.ts +6 -50
  95. package/dist/.pikku/addon/middleware/index.d.ts +8 -0
  96. package/dist/.pikku/addon/middleware/index.d.ts.map +1 -0
  97. package/dist/.pikku/addon/middleware/index.js +8 -0
  98. package/dist/.pikku/addon/middleware/index.js.map +1 -0
  99. package/dist/.pikku/addon/middleware/index.ts +8 -0
  100. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +125 -0
  101. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
  102. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +109 -0
  103. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
  104. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.ts +175 -0
  105. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.d.ts → addon/pikku-bootstrap-scenarios.gen.d.ts} +1 -1
  106. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  107. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.js → addon/pikku-bootstrap-scenarios.gen.js} +1 -1
  108. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js.map +1 -0
  109. package/dist/.pikku/{pikku-bootstrap-scenarios.gen.ts → addon/pikku-bootstrap-scenarios.gen.ts} +1 -1
  110. package/dist/.pikku/{pikku-bootstrap.gen.d.ts → addon/pikku-bootstrap.gen.d.ts} +2 -2
  111. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts.map +1 -0
  112. package/dist/.pikku/{pikku-bootstrap.gen.js → addon/pikku-bootstrap.gen.js} +2 -2
  113. package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
  114. package/dist/.pikku/{pikku-bootstrap.gen.ts → addon/pikku-bootstrap.gen.ts} +2 -2
  115. package/dist/.pikku/addon/pikku-package.gen.js +2 -2
  116. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  117. package/dist/.pikku/addon/pikku-package.gen.ts +2 -2
  118. package/dist/.pikku/{pikku-services.gen.d.ts → addon/pikku-services.gen.d.ts} +8 -8
  119. package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -0
  120. package/dist/.pikku/{pikku-services.gen.js → addon/pikku-services.gen.js} +4 -4
  121. package/dist/.pikku/addon/pikku-services.gen.js.map +1 -0
  122. package/dist/.pikku/{pikku-services.gen.ts → addon/pikku-services.gen.ts} +8 -8
  123. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.gen.d.ts +6 -6
  124. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.internal.gen.d.ts +6 -6
  125. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-map.remote.gen.d.ts +6 -6
  126. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  127. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  128. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  129. package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.ts +2 -2
  130. package/dist/.pikku/addon/scenarios/index.d.ts +8 -0
  131. package/dist/.pikku/addon/scenarios/index.d.ts.map +1 -0
  132. package/dist/.pikku/addon/scenarios/index.js +8 -0
  133. package/dist/.pikku/addon/scenarios/index.js.map +1 -0
  134. package/dist/.pikku/addon/scenarios/index.ts +8 -0
  135. package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.d.ts +2 -1
  136. package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
  137. package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.js +1 -1
  138. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
  139. package/dist/.pikku/{workflow → addon/scenarios}/pikku-personas.gen.ts +3 -2
  140. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  141. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.js +2 -2
  142. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  143. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.ts +3 -3
  144. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  145. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  146. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  147. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.ts +4 -0
  148. package/dist/.pikku/{workflow/pikku-workflow-types.gen.d.ts → addon/scenarios/pikku-scenario-types.gen.d.ts} +57 -94
  149. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
  150. package/dist/.pikku/{workflow/pikku-workflow-types.gen.js → addon/scenarios/pikku-scenario-types.gen.js} +9 -16
  151. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
  152. package/dist/.pikku/{workflow/pikku-workflow-types.gen.ts → addon/scenarios/pikku-scenario-types.gen.ts} +90 -187
  153. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  154. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.js +2 -2
  155. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  156. package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.ts +3 -3
  157. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  158. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  159. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  160. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  161. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +5 -0
  162. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts.map +1 -0
  163. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +5 -0
  164. package/dist/.pikku/addon/scenarios/schemas/register.gen.js.map +1 -0
  165. package/dist/.pikku/addon/scenarios/schemas/register.gen.ts +4 -0
  166. package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
  167. package/dist/.pikku/{schemas → addon/schemas}/register.gen.js +1 -1
  168. package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
  169. package/dist/.pikku/{schemas → addon/schemas}/register.gen.ts +1 -1
  170. package/dist/.pikku/addon/scopes/index.d.ts +8 -0
  171. package/dist/.pikku/addon/scopes/index.d.ts.map +1 -0
  172. package/dist/.pikku/addon/scopes/index.js +8 -0
  173. package/dist/.pikku/addon/scopes/index.js.map +1 -0
  174. package/dist/.pikku/addon/scopes/index.ts +8 -0
  175. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.d.ts +5 -13
  176. package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +1 -0
  177. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.js +1 -1
  178. package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +1 -0
  179. package/dist/.pikku/{scopes → addon/scopes}/pikku-personas.gen.ts +5 -16
  180. package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.d.ts +1 -1
  181. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
  182. package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
  183. package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.ts +1 -1
  184. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +6 -0
  185. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  186. package/dist/.pikku/{scopes → addon/scopes}/pikku-scope-types.gen.js +1 -1
  187. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
  188. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.ts +5 -0
  189. package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.d.ts +1 -1
  190. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
  191. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
  192. package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.ts +1 -1
  193. package/dist/.pikku/addon/secrets/index.d.ts +9 -0
  194. package/dist/.pikku/addon/secrets/index.d.ts.map +1 -0
  195. package/dist/.pikku/addon/secrets/index.js +9 -0
  196. package/dist/.pikku/addon/secrets/index.js.map +1 -0
  197. package/dist/.pikku/addon/secrets/index.ts +9 -0
  198. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +5 -0
  199. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  200. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +5 -0
  201. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js.map +1 -0
  202. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.ts +4 -0
  203. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +18 -0
  204. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
  205. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +19 -0
  206. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
  207. package/dist/.pikku/addon/secrets/pikku-secrets.gen.ts +28 -0
  208. package/dist/.pikku/{pikku-meta-service.gen.d.ts → addon/services/pikku-meta-service.gen.d.ts} +1 -1
  209. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -0
  210. package/dist/.pikku/{pikku-meta-service.gen.js → addon/services/pikku-meta-service.gen.js} +2 -2
  211. package/dist/.pikku/addon/services/pikku-meta-service.gen.js.map +1 -0
  212. package/dist/.pikku/{pikku-meta-service.gen.ts → addon/services/pikku-meta-service.gen.ts} +2 -2
  213. package/dist/.pikku/addon/setup/index.d.ts +9 -0
  214. package/dist/.pikku/addon/setup/index.d.ts.map +1 -0
  215. package/dist/.pikku/addon/setup/index.js +9 -0
  216. package/dist/.pikku/addon/setup/index.js.map +1 -0
  217. package/dist/.pikku/addon/setup/index.ts +9 -0
  218. package/dist/.pikku/addon/{pikku-addon-types.gen.d.ts → setup/pikku-addon-setup-types.gen.d.ts} +6 -5
  219. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -0
  220. package/dist/.pikku/addon/{pikku-addon-types.gen.js → setup/pikku-addon-setup-types.gen.js} +2 -2
  221. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
  222. package/dist/.pikku/addon/{pikku-addon-types.gen.ts → setup/pikku-addon-setup-types.gen.ts} +5 -4
  223. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +67 -0
  224. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -0
  225. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +88 -0
  226. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
  227. package/dist/.pikku/addon/setup/pikku-setup-types.gen.ts +105 -0
  228. package/dist/.pikku/addon/surface-usage.gen.json +1702 -0
  229. package/dist/.pikku/addon/trigger/index.d.ts +8 -0
  230. package/dist/.pikku/addon/trigger/index.d.ts.map +1 -0
  231. package/dist/.pikku/addon/trigger/index.js +8 -0
  232. package/dist/.pikku/addon/trigger/index.js.map +1 -0
  233. package/dist/.pikku/addon/trigger/index.ts +8 -0
  234. package/dist/.pikku/{trigger → addon/trigger}/pikku-trigger-types.gen.d.ts +6 -37
  235. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  236. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +13 -0
  237. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -0
  238. package/dist/.pikku/{trigger → addon/trigger}/pikku-trigger-types.gen.ts +9 -45
  239. package/dist/.pikku/addon/variables/index.d.ts +9 -0
  240. package/dist/.pikku/addon/variables/index.d.ts.map +1 -0
  241. package/dist/.pikku/addon/variables/index.js +9 -0
  242. package/dist/.pikku/addon/variables/index.js.map +1 -0
  243. package/dist/.pikku/addon/variables/index.ts +9 -0
  244. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +5 -0
  245. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts.map +1 -0
  246. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +5 -0
  247. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js.map +1 -0
  248. package/dist/.pikku/addon/variables/pikku-variable-types.gen.ts +4 -0
  249. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +22 -0
  250. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
  251. package/dist/.pikku/addon/variables/pikku-variables.gen.js +21 -0
  252. package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
  253. package/dist/.pikku/addon/variables/pikku-variables.gen.ts +32 -0
  254. package/dist/.pikku/addon/workflow/index.d.ts +8 -0
  255. package/dist/.pikku/addon/workflow/index.d.ts.map +1 -0
  256. package/dist/.pikku/addon/workflow/index.js +8 -0
  257. package/dist/.pikku/addon/workflow/index.js.map +1 -0
  258. package/dist/.pikku/addon/workflow/index.ts +8 -0
  259. package/dist/.pikku/{workflow → addon/workflow}/pikku-scenario-step-map.gen.d.ts +1 -1
  260. package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-map.gen.d.ts +1 -1
  261. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +106 -0
  262. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  263. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +16 -0
  264. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
  265. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.ts +200 -0
  266. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  267. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  268. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  269. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  270. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  271. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  272. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +5 -0
  273. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  274. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.ts +3 -0
  275. package/dist/src/functions/invoicePredict.function.d.ts +4 -4
  276. package/dist/src/functions/invoicePredict.function.d.ts.map +1 -1
  277. package/dist/src/functions/invoicePredict.function.js +1 -1
  278. package/dist/src/functions/invoicePredict.function.js.map +1 -1
  279. package/dist/src/functions/receiptPredict.function.d.ts +4 -4
  280. package/dist/src/functions/receiptPredict.function.d.ts.map +1 -1
  281. package/dist/src/functions/receiptPredict.function.js +1 -1
  282. package/dist/src/functions/receiptPredict.function.js.map +1 -1
  283. package/dist/src/mindee-api.service.d.ts +1 -1
  284. package/dist/src/mindee-api.service.d.ts.map +1 -1
  285. package/dist/src/services.js +1 -1
  286. package/dist/src/services.js.map +1 -1
  287. package/dist/types/application-types.d.ts +1 -6
  288. package/package.json +12 -9
  289. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +0 -1
  290. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +0 -1
  291. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  292. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +0 -53
  293. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +0 -1
  294. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +0 -1
  295. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +0 -1
  296. package/dist/.pikku/agent/pikku-model-aliases.gen.js +0 -6
  297. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +0 -1
  298. package/dist/.pikku/agent/pikku-model-aliases.gen.ts +0 -6
  299. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +0 -1
  300. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +0 -1
  301. package/dist/.pikku/console/pikku-node-types.gen.d.ts +0 -7
  302. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +0 -1
  303. package/dist/.pikku/console/pikku-node-types.gen.js +0 -2
  304. package/dist/.pikku/console/pikku-node-types.gen.js.map +0 -1
  305. package/dist/.pikku/console/pikku-node-types.gen.ts +0 -8
  306. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +0 -1
  307. package/dist/.pikku/credentials/pikku-credentials.gen.js.map +0 -1
  308. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +0 -1
  309. package/dist/.pikku/function/pikku-function-types.gen.js +0 -351
  310. package/dist/.pikku/function/pikku-function-types.gen.js.map +0 -1
  311. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +0 -1
  312. package/dist/.pikku/function/pikku-functions-meta.gen.js +0 -7
  313. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +0 -1
  314. package/dist/.pikku/function/pikku-functions-meta.gen.ts +0 -7
  315. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +0 -1
  316. package/dist/.pikku/function/pikku-functions.gen.js +0 -10
  317. package/dist/.pikku/function/pikku-functions.gen.js.map +0 -1
  318. package/dist/.pikku/http/pikku-http-types.gen.d.ts +0 -98
  319. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +0 -1
  320. package/dist/.pikku/http/pikku-http-types.gen.js +0 -50
  321. package/dist/.pikku/http/pikku-http-types.gen.js.map +0 -1
  322. package/dist/.pikku/http/pikku-http-types.gen.ts +0 -119
  323. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +0 -1
  324. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -38
  325. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +0 -1
  326. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +0 -1
  327. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +0 -1
  328. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +0 -1
  329. package/dist/.pikku/pikku-bootstrap.gen.js.map +0 -1
  330. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +0 -1
  331. package/dist/.pikku/pikku-meta-service.gen.js.map +0 -1
  332. package/dist/.pikku/pikku-services.gen.d.ts.map +0 -1
  333. package/dist/.pikku/pikku-services.gen.js.map +0 -1
  334. package/dist/.pikku/pikku-types.gen.d.ts +0 -13
  335. package/dist/.pikku/pikku-types.gen.d.ts.map +0 -1
  336. package/dist/.pikku/pikku-types.gen.js +0 -19
  337. package/dist/.pikku/pikku-types.gen.js.map +0 -1
  338. package/dist/.pikku/pikku-types.gen.ts +0 -24
  339. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +0 -24
  340. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +0 -1
  341. package/dist/.pikku/queue/pikku-queue-types.gen.js +0 -17
  342. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +0 -1
  343. package/dist/.pikku/queue/pikku-queue-types.gen.ts +0 -27
  344. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +0 -1
  345. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +0 -7
  346. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +0 -1
  347. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +0 -1
  348. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +0 -1
  349. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +0 -5
  350. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +0 -1
  351. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +0 -1
  352. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +0 -4
  353. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +0 -1
  354. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +0 -1
  355. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +0 -5
  356. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +0 -1
  357. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +0 -1
  358. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +0 -4
  359. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +0 -5
  360. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +0 -1
  361. package/dist/.pikku/scenarios/schemas/register.gen.js +0 -5
  362. package/dist/.pikku/scenarios/schemas/register.gen.js.map +0 -1
  363. package/dist/.pikku/scenarios/schemas/register.gen.ts +0 -4
  364. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +0 -22
  365. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +0 -1
  366. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +0 -17
  367. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +0 -1
  368. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
  369. package/dist/.pikku/schemas/register.gen.d.ts.map +0 -1
  370. package/dist/.pikku/schemas/register.gen.js.map +0 -1
  371. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +0 -1
  372. package/dist/.pikku/scopes/pikku-personas.gen.js.map +0 -1
  373. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +0 -1
  374. package/dist/.pikku/scopes/pikku-roles.gen.js.map +0 -1
  375. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +0 -8
  376. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +0 -1
  377. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +0 -1
  378. package/dist/.pikku/scopes/pikku-scope-types.gen.ts +0 -7
  379. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +0 -1
  380. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +0 -1
  381. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -6
  382. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +0 -1
  383. package/dist/.pikku/secrets/pikku-secret-types.gen.js +0 -5
  384. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +0 -1
  385. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
  386. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +0 -22
  387. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +0 -1
  388. package/dist/.pikku/secrets/pikku-secrets.gen.js +0 -21
  389. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +0 -1
  390. package/dist/.pikku/secrets/pikku-secrets.gen.ts +0 -34
  391. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +0 -1
  392. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -34
  393. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +0 -1
  394. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -6
  395. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +0 -1
  396. package/dist/.pikku/variables/pikku-variable-types.gen.js +0 -5
  397. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +0 -1
  398. package/dist/.pikku/variables/pikku-variable-types.gen.ts +0 -5
  399. package/dist/.pikku/variables/pikku-variables.gen.d.ts +0 -25
  400. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +0 -1
  401. package/dist/.pikku/variables/pikku-variables.gen.js +0 -23
  402. package/dist/.pikku/variables/pikku-variables.gen.js.map +0 -1
  403. package/dist/.pikku/variables/pikku-variables.gen.ts +0 -36
  404. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +0 -1
  405. package/dist/.pikku/workflow/pikku-personas.gen.js.map +0 -1
  406. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +0 -1
  407. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +0 -1
  408. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +0 -1
  409. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +0 -7
  410. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +0 -1
  411. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
  412. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +0 -5
  413. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +0 -1
  414. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +0 -5
  415. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +0 -1
  416. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
  417. /package/dist/.pikku/{agent → addon/agent}/pikku-model-aliases.gen.d.ts +0 -0
  418. /package/dist/.pikku/{credentials → addon/credentials}/pikku-credentials-meta.gen.json +0 -0
  419. /package/dist/.pikku/{function → addon/function}/pikku-functions-meta-verbose.gen.json +0 -0
  420. /package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.d.ts +0 -0
  421. /package/dist/.pikku/{function → addon/function}/pikku-functions-meta.gen.json +0 -0
  422. /package/dist/.pikku/{function → addon/function}/pikku-functions.gen.d.ts +0 -0
  423. /package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.d.ts +0 -0
  424. /package/dist/.pikku/{rpc → addon/rpc}/pikku-rpc-wirings-meta.internal.gen.json +0 -0
  425. /package/dist/.pikku/{scenarios → addon/scenarios}/features.gen.json +0 -0
  426. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.d.ts +0 -0
  427. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions-meta.gen.json +0 -0
  428. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-functions.gen.js +0 -0
  429. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings-meta.gen.d.ts +0 -0
  430. /package/dist/.pikku/{scenarios → addon/scenarios}/pikku-scenario-wirings.gen.js +0 -0
  431. /package/dist/.pikku/{schemas → addon/schemas}/register.gen.d.ts +0 -0
  432. /package/dist/.pikku/{schemas → addon/schemas}/schemas/CredentialSchema_mindee.schema.json +0 -0
  433. /package/dist/.pikku/{schemas → addon/schemas}/schemas/InvoicePredictInput.schema.json +0 -0
  434. /package/dist/.pikku/{schemas → addon/schemas}/schemas/InvoicePredictOutput.schema.json +0 -0
  435. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReceiptPredictInput.schema.json +0 -0
  436. /package/dist/.pikku/{schemas → addon/schemas}/schemas/ReceiptPredictOutput.schema.json +0 -0
  437. /package/dist/.pikku/{schemas → addon/schemas}/schemas/VariableSchema_MINDEE_BASE_URL.schema.json +0 -0
  438. /package/dist/.pikku/{scopes → addon/scopes}/pikku-personas-meta.gen.json +0 -0
  439. /package/dist/.pikku/{scopes → addon/scopes}/pikku-roles-meta.gen.json +0 -0
  440. /package/dist/.pikku/{scopes → addon/scopes}/pikku-roles.gen.js +0 -0
  441. /package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes-meta.gen.json +0 -0
  442. /package/dist/.pikku/{scopes → addon/scopes}/pikku-scopes.gen.js +0 -0
  443. /package/dist/.pikku/{secrets → addon/secrets}/pikku-secrets-meta.gen.json +0 -0
  444. /package/dist/.pikku/{variables → addon/variables}/pikku-variables-meta.gen.json +0 -0
  445. /package/dist/.pikku/{workflow → addon/workflow}/personas.gen.json +0 -0
  446. /package/dist/.pikku/{workflow → addon/workflow}/pikku-workflow-wirings-meta.gen.d.ts +0 -0
@@ -1,49 +1,41 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
- import { WorkflowCancelledException } from '@pikku/core/workflow'
5
- import { template } from '@pikku/core/workflow'
6
- import {
7
- pikkuWorkflowGraph as corePikkuWorkflowGraph,
8
- type PikkuWorkflowGraphConfig,
9
- type PikkuWorkflowGraphResult,
10
- } from '@pikku/core/workflow'
11
- import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow'
12
- import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario'
13
-
14
- export { WorkflowCancelledException }
15
- import type { PikkuFunctionSessionless, PikkuFunctionConfig, WiredServices } from '../function/pikku-function-types.gen.js'
16
- import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js'
17
- import type { FlattenedWorkflowMap } from './pikku-workflow-map.gen.d.js'
18
- import type { AgentMap as FlattenedAgentMap } from '../agent/pikku-agent-map.gen.d.js'
19
- import type { FlattenedScenarioStepMap } from './pikku-scenario-step-map.gen.d.js'
4
+ import type {
5
+ PikkuScenarioWire,
6
+ ScenarioStepOptions,
7
+ } from '@pikku/core/scenario'
8
+ import type { PikkuWorkflowWire } from '@pikku/core/workflow'
9
+ import type { StandardSchemaV1 } from '@standard-schema/spec'
10
+ import { PikkuError } from '@pikku/core/errors'
11
+ import type { PikkuFunctionSessionless, PikkuFunctionConfig, WiredServices, InferSchemaOutput, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js'
12
+ import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js'
13
+ import type { TypedWorkflow } from '../workflow/pikku-workflow-types.gen.js'
14
+ import type { FlattenedScenarioStepMap } from '../workflow/pikku-scenario-step-map.gen.d.js'
20
15
  import type { TypedPersonas } from './pikku-personas.gen.js'
21
16
 
22
17
  export type { TypedPersonas }
23
18
 
24
- export { template }
25
-
26
- export interface TypedWorkflow extends PikkuWorkflowWire {
27
- do<K extends keyof FlattenedRPCMap>(
28
- stepName: string,
29
- rpcName: K,
30
- data: FlattenedRPCMap[K]['input'],
31
- options?: WorkflowStepOptions
32
- ): Promise<FlattenedRPCMap[K]['output']>
33
-
34
- do<K extends keyof FlattenedWorkflowMap>(
35
- stepName: string,
36
- workflowName: K,
37
- data: FlattenedWorkflowMap[K]['input'],
38
- options?: WorkflowStepOptions
39
- ): Promise<FlattenedWorkflowMap[K]['output']>
40
-
41
- do<T>(
42
- stepName: string,
43
- fn: () => T | Promise<T>,
44
- options?: WorkflowStepOptions
45
- ): Promise<T>
46
- }
19
+ /**
20
+ * The scenario test surface, re-exported so a step file has one specifier to
21
+ * import from. These names are not generated — they come straight from core —
22
+ * but routing them through here means a scenario file never has to know
23
+ * whether the helper it wants is typed against this project or shipped by the
24
+ * framework.
25
+ */
26
+ export {
27
+ createCookieJar,
28
+ createScenarioRunner,
29
+ pollUntil,
30
+ requireScenarioEnv,
31
+ } from '@pikku/core/scenario'
32
+ export type {
33
+ PikkuBrowserWire,
34
+ ScenarioSurface,
35
+ TestIdSelector,
36
+ } from '@pikku/core/scenario'
37
+ export { postScenarioJson, readScenarioHttpResponse } from '@pikku/core/persona'
38
+ export type { ScenarioHttpResponse } from '@pikku/core/scenario'
47
39
 
48
40
  /**
49
41
  * The typed half of a scenario wire: `given`/`when`/`then`, narrowed to the
@@ -79,17 +71,6 @@ export type TypedScenario<Out = unknown> = TypedWorkflow &
79
71
  Omit<PikkuScenarioWire<Out>, keyof PikkuWorkflowWire | keyof TypedScenarioSteps> &
80
72
  TypedScenarioSteps
81
73
 
82
- import type { StandardSchemaV1 } from '@standard-schema/spec'
83
- import type { InferSchemaOutput, PikkuPermission, PikkuMiddleware, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js'
84
- import type { ScopeId } from '../scopes/pikku-scopes.gen.js'
85
- import { PikkuError } from '@pikku/core/errors'
86
- import type { CorePermissionGroup } from '@pikku/core'
87
-
88
- export type PikkuFunctionWorkflow<
89
- In = unknown,
90
- Out = never
91
- > = PikkuFunctionSessionless<In, Out, 'workflow'>
92
-
93
74
  /**
94
75
  * `Ctx` types `scenario.context`, defaulting to the body's own output. A hook
95
76
  * returns void but shares the scenario's context, so it passes that scenario's
@@ -101,7 +82,7 @@ export type PikkuFunctionScenario<
101
82
  Ctx = Out
102
83
  > = PikkuFunctionSessionless<In, Out, 'scenario' | 'actors', WiredServices, Ctx>
103
84
 
104
- export type PikkuWorkflowConfigWithSchema<
85
+ type PikkuScenarioConfigWithSchema<
105
86
  InputSchema extends StandardSchemaV1 | undefined = undefined,
106
87
  OutputSchema extends StandardSchemaV1 | undefined = undefined
107
88
  > = {
@@ -117,59 +98,12 @@ export type PikkuWorkflowConfigWithSchema<
117
98
  readonly?: boolean
118
99
  approvalRequired?: boolean
119
100
  approvalDescription?: InputSchema extends StandardSchemaV1 ? PikkuApprovalDescription<InferSchemaOutput<InputSchema>> : never
120
- func: PikkuFunctionWorkflow<
121
- InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
122
- OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown
123
- >
124
- auth?: boolean
125
- /**
126
- * Scopes the session must hold to run this workflow. All of them are required
127
- * (AND), and they are checked before `permissions`.
128
- */
129
- scopes?: ScopeId[]
130
- permissions?: InputSchema extends StandardSchemaV1 ? CorePermissionGroup<PikkuPermission<InferSchemaOutput<InputSchema>>> : undefined
131
101
  middleware?: PikkuMiddleware[]
132
102
  input?: InputSchema
133
103
  output?: OutputSchema
134
104
  node?: NodeConfig
135
105
  errors?: Array<typeof PikkuError>
136
106
  inline?: boolean
137
- }
138
-
139
- export function pikkuWorkflowFunc<
140
- InputSchema extends StandardSchemaV1 | undefined = undefined,
141
- OutputSchema extends StandardSchemaV1 | undefined = undefined
142
- >(
143
- config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>
144
- ): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>
145
- export function pikkuWorkflowFunc<In, Out = unknown>(
146
- func:
147
- | PikkuFunctionWorkflow<In, Out>
148
- | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>
149
- ): PikkuFunctionConfig<In, Out, 'workflow'>
150
- export function pikkuWorkflowFunc(func: any) {
151
- return typeof func === 'function' ? { func } : func
152
- }
153
-
154
- export function pikkuWorkflowComplexFunc<
155
- InputSchema extends StandardSchemaV1 | undefined = undefined,
156
- OutputSchema extends StandardSchemaV1 | undefined = undefined
157
- >(
158
- config: PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>
159
- ): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'workflow', PikkuFunctionWorkflow<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>
160
- export function pikkuWorkflowComplexFunc<In, Out = unknown>(
161
- func:
162
- | PikkuFunctionWorkflow<In, Out>
163
- | PikkuFunctionConfig<In, Out, 'workflow', PikkuFunctionWorkflow<In, Out>>
164
- ): PikkuFunctionConfig<In, Out, 'workflow'>
165
- export function pikkuWorkflowComplexFunc(func: any) {
166
- return typeof func === 'function' ? { func } : func
167
- }
168
-
169
- export type PikkuScenarioConfigWithSchema<
170
- InputSchema extends StandardSchemaV1 | undefined = undefined,
171
- OutputSchema extends StandardSchemaV1 | undefined = undefined
172
- > = Omit<PikkuWorkflowConfigWithSchema<InputSchema, OutputSchema>, 'func' | 'auth' | 'scopes' | 'permissions'> & {
173
107
  func: PikkuFunctionScenario<
174
108
  InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
175
109
  OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown
@@ -271,7 +205,7 @@ export type PikkuFeatureEntry<Entry> = Entry extends {
271
205
  ? Entry
272
206
  : never
273
207
 
274
- export type PikkuFeatureConfig<Scenarios extends readonly unknown[]> = {
208
+ type PikkuFeatureConfig<Scenarios extends readonly unknown[]> = {
275
209
  /** Human-readable name. The export identifier is the id. */
276
210
  name: string
277
211
  description?: string
@@ -326,19 +260,35 @@ export function pikkuFeature<const Scenarios extends readonly unknown[]>(
326
260
  export type PikkuFunctionScenarioStep<
327
261
  In = unknown,
328
262
  Out = never,
329
- Surface extends 'browser' | 'cli' | 'default' = 'default'
263
+ Surface extends 'browser' | 'cli' | 'default' = 'default',
264
+ HasActor extends boolean = false
330
265
  > = PikkuFunctionSessionless<
331
266
  In,
332
267
  Out,
333
- Surface extends 'default' ? 'scenarioStep' : 'scenarioStep' | Surface
268
+ | 'scenarioStep'
269
+ | (Surface extends 'default' ? never : Surface)
270
+ | (HasActor extends true ? 'actor' : never)
334
271
  >
335
272
 
336
- export type PikkuScenarioStepConfigWithSchema<
273
+ type PikkuScenarioStepConfigWithSchema<
337
274
  InputSchema extends StandardSchemaV1 | undefined = undefined,
338
- OutputSchema extends StandardSchemaV1 | undefined = undefined
275
+ OutputSchema extends StandardSchemaV1 | undefined = undefined,
276
+ HasActor extends boolean = false
339
277
  > = {
340
278
  /** Registered name — this is the string `scenario.given()` references. */
341
279
  name: string
280
+ /**
281
+ * This step is driven by a persona, so `wire.actor` is injected and
282
+ * non-optional inside every binding, and the runner refuses to dispatch it
283
+ * without one.
284
+ *
285
+ * A `browser` binding implies it — a window is opened as somebody. Declare it
286
+ * for a server-side step that calls RPCs as its actor. Leave it off for a step
287
+ * that has no persona to be: an assertion over a value an earlier step
288
+ * returned, or one that posts credentials precisely because it must not reuse
289
+ * an actor's session.
290
+ */
291
+ actor?: HasActor
342
292
  /**
343
293
  * What this step does, for the console and for whoever reads the source. It
344
294
  * is also the fallback prose when no `template` is declared, in which case a
@@ -370,13 +320,17 @@ export type PikkuScenarioStepConfigWithSchema<
370
320
  browser?: PikkuFunctionScenarioStep<
371
321
  InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
372
322
  OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown,
373
- 'browser'
323
+ 'browser',
324
+ // A window is opened as somebody, so a browser binding has an actor whether
325
+ // or not the step declared one.
326
+ true
374
327
  >
375
328
  /** Drive this step remotely, over the websocket. */
376
329
  cli?: PikkuFunctionScenarioStep<
377
330
  InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
378
331
  OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown,
379
- 'cli'
332
+ 'cli',
333
+ HasActor
380
334
  >
381
335
  /**
382
336
  * The server-side path — the fast suite, and the floor every other surface
@@ -390,15 +344,16 @@ export type PikkuScenarioStepConfigWithSchema<
390
344
  default?: PikkuFunctionScenarioStep<
391
345
  InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
392
346
  OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown,
393
- 'default'
347
+ 'default',
348
+ HasActor
394
349
  >
395
350
  }
396
351
 
397
- export type PikkuScenarioStepConfig<In, Out> =
398
- Omit<PikkuScenarioStepConfigWithSchema<undefined, undefined>, 'browser' | 'cli' | 'default' | 'input' | 'output'> & {
399
- browser?: PikkuFunctionScenarioStep<In, Out, 'browser'>
400
- cli?: PikkuFunctionScenarioStep<In, Out, 'cli'>
401
- default?: PikkuFunctionScenarioStep<In, Out, 'default'>
352
+ type PikkuScenarioStepConfig<In, Out, HasActor extends boolean = false> =
353
+ Omit<PikkuScenarioStepConfigWithSchema<undefined, undefined, HasActor>, 'browser' | 'cli' | 'default' | 'input' | 'output'> & {
354
+ browser?: PikkuFunctionScenarioStep<In, Out, 'browser', true>
355
+ cli?: PikkuFunctionScenarioStep<In, Out, 'cli', HasActor>
356
+ default?: PikkuFunctionScenarioStep<In, Out, 'default', HasActor>
402
357
  }
403
358
 
404
359
  /**
@@ -413,6 +368,24 @@ export type PikkuScenarioStepConfig<In, Out> =
413
368
  * Steps are deliberately NOT registered as RPCs: a browser-driving step must
414
369
  * never be network-callable.
415
370
  */
371
+ export function pikkuScenarioStep<
372
+ InputSchema extends StandardSchemaV1 | undefined = undefined,
373
+ OutputSchema extends StandardSchemaV1 | undefined = undefined
374
+ >(
375
+ config: PikkuScenarioStepConfigWithSchema<InputSchema, OutputSchema, true> & { actor: true }
376
+ ): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenarioStep' | 'browser' | 'cli', PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'browser' | 'cli' | 'default'>, InputSchema, OutputSchema>
377
+ export function pikkuScenarioStep<In, Out = unknown>(
378
+ config: PikkuScenarioStepConfig<In, Out, true> & { actor: true }
379
+ ): PikkuFunctionConfig<In, Out, 'scenarioStep' | 'browser' | 'cli'>
380
+ export function pikkuScenarioStep<
381
+ InputSchema extends StandardSchemaV1 | undefined = undefined,
382
+ OutputSchema extends StandardSchemaV1 | undefined = undefined
383
+ >(
384
+ config: PikkuScenarioStepConfigWithSchema<InputSchema, OutputSchema, true> & { browser: {} }
385
+ ): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenarioStep' | 'browser' | 'cli', PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'browser' | 'cli' | 'default'>, InputSchema, OutputSchema>
386
+ export function pikkuScenarioStep<In, Out = unknown>(
387
+ config: PikkuScenarioStepConfig<In, Out, true> & { browser: {} }
388
+ ): PikkuFunctionConfig<In, Out, 'scenarioStep' | 'browser' | 'cli'>
416
389
  export function pikkuScenarioStep<
417
390
  InputSchema extends StandardSchemaV1 | undefined = undefined,
418
391
  OutputSchema extends StandardSchemaV1 | undefined = undefined
@@ -434,6 +407,7 @@ export function pikkuScenarioStep(config: any) {
434
407
  return {
435
408
  ...config,
436
409
  surfaces,
410
+ requiresActor: config.actor === true || surfaces.includes('browser'),
437
411
  // The runner sets the surface on the wire and calls this once per binding it
438
412
  // resolved — every witness of a `then`, exactly one for an action step.
439
413
  func: (services: any, data: any, wire: any) => {
@@ -454,12 +428,12 @@ export function pikkuScenarioStep(config: any) {
454
428
  * rule coherent — an assertion runs every witness it has and fails if they
455
429
  * disagree, and this has exactly one by construction.
456
430
  */
457
- export type PikkuSubjectScenarioStepConfigWithSchema<
431
+ type PikkuSubjectScenarioStepConfigWithSchema<
458
432
  InputSchema extends StandardSchemaV1 | undefined = undefined,
459
433
  OutputSchema extends StandardSchemaV1 | undefined = undefined
460
434
  > = Omit<
461
435
  PikkuScenarioStepConfigWithSchema<InputSchema, OutputSchema>,
462
- 'browser' | 'cli' | 'default'
436
+ 'browser' | 'cli' | 'default' | 'actor'
463
437
  > & {
464
438
  func: PikkuFunctionScenarioStep<
465
439
  InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
@@ -468,8 +442,8 @@ export type PikkuSubjectScenarioStepConfigWithSchema<
468
442
  >
469
443
  }
470
444
 
471
- export type PikkuSubjectScenarioStepConfig<In, Out> =
472
- Omit<PikkuScenarioStepConfig<In, Out>, 'browser' | 'cli' | 'default'> & {
445
+ type PikkuSubjectScenarioStepConfig<In, Out> =
446
+ Omit<PikkuScenarioStepConfig<In, Out>, 'browser' | 'cli' | 'default' | 'actor'> & {
473
447
  func: PikkuFunctionScenarioStep<In, Out, 'default'>
474
448
  }
475
449
 
@@ -524,74 +498,3 @@ export function pikkuAddonScenarioStep<In, Out = unknown>(
524
498
  export function pikkuAddonScenarioStep(config: any) {
525
499
  return { ...config, surfaces: ['default'] }
526
500
  }
527
-
528
- type TypedRef<T> = { $ref: string; path?: string } & { __phantomType?: T }
529
-
530
- type TemplateString = {
531
- $template: {
532
- parts: string[]
533
- expressions: Array<{ $ref: string; path?: string }>
534
- }
535
- } & { __brand: 'TemplateString' }
536
-
537
- type InputWithRefs<T> = {
538
- [K in keyof T]?: T[K] | TypedRef<T[K]> | TypedRef<unknown> | TemplateString
539
- }
540
-
541
- type NodeInputType<FuncMap extends Record<string, string>, K extends keyof FuncMap> =
542
- FuncMap[K] extends keyof FlattenedRPCMap
543
- ? InputWithRefs<FlattenedRPCMap[FuncMap[K]]['input']>
544
- : FuncMap[K] extends keyof FlattenedWorkflowMap
545
- ? InputWithRefs<FlattenedWorkflowMap[FuncMap[K]]['input']>
546
- : Record<string, unknown>
547
-
548
- type NodeOutputKeys<FuncMap extends Record<string, string>, N extends string> =
549
- N extends keyof FuncMap
550
- ? FuncMap[N] extends keyof FlattenedRPCMap
551
- ? keyof FlattenedRPCMap[FuncMap[N]]['output'] & string
552
- : FuncMap[N] extends keyof FlattenedWorkflowMap
553
- ? keyof FlattenedWorkflowMap[FuncMap[N]]['output'] & string
554
- : FuncMap[N] extends keyof FlattenedAgentMap
555
- ? keyof FlattenedAgentMap[FuncMap[N]]['output'] & string
556
- : string
557
- : string
558
-
559
- type RefFunction<FuncMap extends Record<string, string>> = {
560
- <N extends Extract<keyof FuncMap, string>>(
561
- nodeId: N,
562
- path: NodeOutputKeys<FuncMap, N>
563
- ): TypedRef<unknown>
564
- <N extends Extract<keyof FuncMap, string>>(nodeId: N): TypedRef<unknown>
565
- (nodeId: 'trigger' | '$item', path?: string): TypedRef<unknown>
566
- }
567
-
568
- type TemplateFunction = (templateStr: string, refs: TypedRef<unknown>[]) => TemplateString
569
-
570
- type GraphNodeConfigMap<FuncMap extends Record<string, string>> = {
571
- [K in Extract<keyof FuncMap, string>]?: {
572
- next?: NextConfig<Extract<keyof FuncMap, string>>
573
- input?:
574
- | NodeInputType<FuncMap, K>
575
- | (() => NodeInputType<FuncMap, K>)
576
- | ((ref: RefFunction<FuncMap>, template: TemplateFunction) => NodeInputType<FuncMap, K>)
577
- onError?: Extract<keyof FuncMap, string> | Extract<keyof FuncMap, string>[]
578
- /** Free-text node documentation. Non-semantic — excluded from graphHash. */
579
- notes?: string
580
- }
581
- }
582
-
583
- type NextConfig<NodeIds extends string> = NodeIds | NodeIds[] | { if: string; then: NodeIds; else?: NodeIds }
584
-
585
- export function pikkuWorkflowGraph<
586
- const FuncMap extends Record<
587
- string,
588
- | (keyof FlattenedRPCMap & string)
589
- | (keyof FlattenedWorkflowMap & string)
590
- | (keyof FlattenedAgentMap & string)
591
- >
592
- >(
593
- config: PikkuWorkflowGraphConfig<FuncMap, GraphNodeConfigMap<FuncMap>>
594
- ): PikkuWorkflowGraphResult {
595
- return corePikkuWorkflowGraph(config as any)
596
- }
597
-
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings-meta.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAKA,OAAO,gDAAgD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
- import { pikkuState } from '@pikku/core/ecosystem';
4
+ import { pikkuState } from '@pikku/core/state';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
6
6
  const scenariosMeta = {};
7
7
  pikkuState('@pikku/addon-mindee', 'workflows', 'meta', {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings-meta.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,gDAAgD,CAAA;AAEvD,MAAM,aAAa,GAAG,EAEG,CAAA;AAEzB,UAAU,CAAC,qBAAqB,EAAE,WAAW,EAAE,MAAM,EAAE;IACrD,GAAG,UAAU,CAAC,qBAAqB,EAAE,WAAW,EAAE,MAAM,CAAC;IACzD,GAAG,aAAa;CACjB,CAAC,CAAA"}
@@ -1,8 +1,8 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
- import { pikkuState } from '@pikku/core/ecosystem'
5
- import type { WorkflowsRuntimeMeta } from '@pikku/core/workflow/types'
4
+ import { pikkuState } from '@pikku/core/state'
5
+ import type { WorkflowsRuntimeMeta } from '@pikku/core/workflow'
6
6
  import '../workflow/pikku-workflow-wirings-meta.gen.js'
7
7
 
8
8
  const scenariosMeta = {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=pikku-scenario-wirings.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scenarios/pikku-scenario-wirings.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scenarios/pikku-scenario-wirings.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ export {}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ export declare const empty: null;
5
+ //# sourceMappingURL=register.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../../../.pikku/addon/scenarios/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,KAAK,MAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ export const empty = null;
5
+ //# sourceMappingURL=register.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../../../.pikku/addon/scenarios/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ export const empty = null;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/schemas/register.gen.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as CredentialSchema_mindee from './schemas/CredentialSchema_mindee.schema.json' with { type: 'json' };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,uBAAuB,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9G,SAAS,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,qBAAqB,CAAC,CAAA;AAGpF,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtG,SAAS,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,CAAA;AAG5E,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,CAAC,CAAA;AAG9E,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtG,SAAS,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,CAAA;AAG5E,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,CAAC,CAAA;AAG9E,OAAO,KAAK,8BAA8B,MAAM,sDAAsD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5H,SAAS,CAAC,gCAAgC,EAAE,8BAA8B,EAAE,qBAAqB,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema'
5
5
 
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/scopes` resolves here.
6
+ */
7
+ export * from './pikku-scope-types.gen.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/scopes` resolves here.
6
+ */
7
+ export * from './pikku-scope-types.gen.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.111
3
+ */
4
+ /**
5
+ * Subpath entry — `#pikku/scopes` resolves here.
6
+ */
7
+
8
+ export * from './pikku-scope-types.gen.js'
@@ -1,17 +1,8 @@
1
- import type { CorePersona, PersonaMeta, PersonasMeta } from '@pikku/core/persona';
1
+ import type { PersonaMeta, PersonasMeta } from '@pikku/core/persona';
2
+ import type { CorePersona } from '@pikku/core/persona';
2
3
  import type { SystemRoleName } from './pikku-roles.gen.js';
3
- /** Every declared persona. */
4
- export type PersonaId = never;
5
- /**
6
- * The personas a virtual user can actually be.
7
- *
8
- * Excludes anyone whose only login is a provider account — driving a consent
9
- * screen needs a human — and anyone declared `runnable: false`, who exists to
10
- * be acted upon rather than to act.
11
- */
12
- export type RunnablePersonaId = never;
13
4
  /** Every environment configured in pikku.config.json. */
14
- export type EnvironmentName = never;
5
+ type EnvironmentName = never;
15
6
  /**
16
7
  * A persona whose roles are checked against `defineSystemRole` and whose
17
8
  * environments are checked against the config.
@@ -21,7 +12,7 @@ export type EnvironmentName = never;
21
12
  * `disposition: 'accountable'`, which the type cannot express and `pikku`
22
13
  * refuses at build time.
23
14
  */
24
- export type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
15
+ type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
25
16
  roles?: SystemRoleName[];
26
17
  environments?: EnvironmentName[];
27
18
  };
@@ -34,4 +25,5 @@ export declare const definePersonas: (personas: Record<string, TypedPersona>) =>
34
25
  /** Declared personas, keyed by id. Read by the console and `pikku persona`. */
35
26
  export declare const PERSONAS: PersonasMeta;
36
27
  export declare const PERSONA_LIST: PersonaMeta[];
28
+ export {};
37
29
  //# sourceMappingURL=pikku-personas.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-personas.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-personas.gen.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAG1D,yDAAyD;AACzD,KAAK,eAAe,GAAG,KAAK,CAAA;AAE5B;;;;;;;;GAQG;AACH,KAAK,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,cAAc,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,cAAc,EAAE,CAAA;IACxB,YAAY,CAAC,EAAE,eAAe,EAAE,CAAA;CACjC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,KAAG,IAC1C,CAAA;AAE9B,+EAA+E;AAC/E,eAAO,MAAM,QAAQ,EAAE,YAAqD,CAAA;AAE5E,eAAO,MAAM,YAAY,EAAE,WAAW,EAA4B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-personas.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-personas.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAI1E,OAAO,WAAW,MAAM,gCAAgC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAmB9E;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,QAAsC,EAAQ,EAAE,CAC7E,kBAAkB,CAAC,QAAQ,CAAC,CAAA;AAE9B,+EAA+E;AAC/E,MAAM,CAAC,MAAM,QAAQ,GAAiB,WAAsC,CAAA;AAE5E,MAAM,CAAC,MAAM,YAAY,GAAkB,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA"}
@@ -1,28 +1,17 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
6
6
  */
7
7
  import { definePersonas as definePersonasCore } from '@pikku/core/persona'
8
- import type { CorePersona, PersonaMeta, PersonasMeta } from '@pikku/core/persona'
8
+ import type { PersonaMeta, PersonasMeta } from '@pikku/core/persona'
9
+ import type { CorePersona } from '@pikku/core/persona'
9
10
  import type { SystemRoleName } from './pikku-roles.gen.js'
10
11
  import definitions from './pikku-personas-meta.gen.json' with { type: 'json' }
11
12
 
12
- /** Every declared persona. */
13
- export type PersonaId = never
14
-
15
- /**
16
- * The personas a virtual user can actually be.
17
- *
18
- * Excludes anyone whose only login is a provider account — driving a consent
19
- * screen needs a human — and anyone declared `runnable: false`, who exists to
20
- * be acted upon rather than to act.
21
- */
22
- export type RunnablePersonaId = never
23
-
24
13
  /** Every environment configured in pikku.config.json. */
25
- export type EnvironmentName = never
14
+ type EnvironmentName = never
26
15
 
27
16
  /**
28
17
  * A persona whose roles are checked against `defineSystemRole` and whose
@@ -33,7 +22,7 @@ export type EnvironmentName = never
33
22
  * `disposition: 'accountable'`, which the type cannot express and `pikku`
34
23
  * refuses at build time.
35
24
  */
36
- export type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
25
+ type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
37
26
  roles?: SystemRoleName[]
38
27
  environments?: EnvironmentName[]
39
28
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.103
2
+ * This file was generated by @pikku/cli@0.12.111
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-roles.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-roles.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAA6B,MAAM,kBAAkB,CAAA;AAI7E;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAA;AAElC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,EAAE,UAAU,EAEpC,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAExD,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,KAAG,OACmB,CAAA"}