@pikku/cli 0.12.107 → 0.12.110

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 (258) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/console-app/assets/{abnfDiagram-N423BO3Z-C5uToS9v.js → abnfDiagram-N423BO3Z-Bz2Ycfpe.js} +1 -1
  3. package/console-app/assets/architecture-TIHT7OUA-5QhJKy4P.js +1 -0
  4. package/console-app/assets/{architectureDiagram-T3A2C74G-BzJDRfv4.js → architectureDiagram-T3A2C74G-CvAkxhy0.js} +1 -1
  5. package/console-app/assets/{blockDiagram-VBNYF7ZC-X5G9Ch-D.js → blockDiagram-VBNYF7ZC-CuVOo2PB.js} +1 -1
  6. package/console-app/assets/{c4Diagram-5PPSVZJV-B59aO2Sc.js → c4Diagram-5PPSVZJV-4Vg8SxCa.js} +1 -1
  7. package/console-app/assets/channel-DoE3nnYB.js +1 -0
  8. package/console-app/assets/{chunk-2GRJ4B5K-Bwe32j_R.js → chunk-2GRJ4B5K-CKKR4_dC.js} +1 -1
  9. package/console-app/assets/{chunk-4I5QYGJK-Beg_uQQN.js → chunk-4I5QYGJK-C-m_kVjm.js} +1 -1
  10. package/console-app/assets/{chunk-5RXB4S5H-0HaMiv3k.js → chunk-5RXB4S5H-CyUGtd0h.js} +1 -1
  11. package/console-app/assets/{chunk-6Q2QTUOP-CXxkExOq.js → chunk-6Q2QTUOP-BuzItInf.js} +1 -1
  12. package/console-app/assets/{chunk-7Z6QIM7H-zUqPbrvp.js → chunk-7Z6QIM7H-BGiBPuWt.js} +1 -1
  13. package/console-app/assets/{chunk-GF5L2VYU-CY0wGPcJ.js → chunk-GF5L2VYU-D8jaliB9.js} +1 -1
  14. package/console-app/assets/{chunk-I66GZJ75-BP5UNkJY.js → chunk-I66GZJ75-C-Lq_UXl.js} +1 -1
  15. package/console-app/assets/{chunk-JQJVKLGR-3dvnUUZN.js → chunk-JQJVKLGR-D7viK-tf.js} +1 -1
  16. package/console-app/assets/{chunk-KBJHAD2P-ChD7o2bf.js → chunk-KBJHAD2P-BS9N9gG4.js} +1 -1
  17. package/console-app/assets/{chunk-NSK5VX7P-oG1nh33f.js → chunk-NSK5VX7P-Fi_H0vaS.js} +1 -1
  18. package/console-app/assets/{chunk-QR6OTTB3-D_uKJrj6.js → chunk-QR6OTTB3-BJdg-tcL.js} +1 -1
  19. package/console-app/assets/{chunk-RYQCIY6F-CtYhP8W5.js → chunk-RYQCIY6F-CVbGA6YZ.js} +1 -1
  20. package/console-app/assets/{chunk-UBXNYLIW-CMgD3fvL.js → chunk-UBXNYLIW-BF-sAqEK.js} +1 -1
  21. package/console-app/assets/{chunk-W5SLKNZC-cjI56NCs.js → chunk-W5SLKNZC-CXrJJ0BX.js} +1 -1
  22. package/console-app/assets/{chunk-WRU74C26-BQqHgerX.js → chunk-WRU74C26-CGzysGBy.js} +1 -1
  23. package/console-app/assets/chunk-XXDRQBXY-BDALKVU4.js +1 -0
  24. package/console-app/assets/classDiagram-JCYQIIEL-BgrrHQtN.js +1 -0
  25. package/console-app/assets/classDiagram-v2-OCEON4UE-BgrrHQtN.js +1 -0
  26. package/console-app/assets/{cose-bilkent-JH36ORCC-DcHzDpDb.js → cose-bilkent-JH36ORCC-BvFZIDHb.js} +1 -1
  27. package/console-app/assets/{cynefin-VYW2F7L2-Cn2zn-8-.js → cynefin-VYW2F7L2-DRQ8xGmN.js} +1 -1
  28. package/console-app/assets/{cynefinDiagram-MW4NZA55-C00zINdu.js → cynefinDiagram-MW4NZA55-BwxQ4C1z.js} +1 -1
  29. package/console-app/assets/{dagre-DE2imcyX.js → dagre-J22zmNeE.js} +1 -1
  30. package/console-app/assets/{dagre-VZM6K2ZE-Bb2uZ7tL.js → dagre-VZM6K2ZE-DPtUyvjD.js} +1 -1
  31. package/console-app/assets/{diagram-7IWD3JNH-DUN-JIa1.js → diagram-7IWD3JNH-DGAzJ2Ln.js} +1 -1
  32. package/console-app/assets/{diagram-B4RE2ZJO-Ct5iRFhI.js → diagram-B4RE2ZJO-D14cIfto.js} +1 -1
  33. package/console-app/assets/{diagram-LBJQPF4R-BZ2Hrr-9.js → diagram-LBJQPF4R-CUscJ_pO.js} +1 -1
  34. package/console-app/assets/{diagram-Q27KOJAE-BHaThj6T.js → diagram-Q27KOJAE-CehBHMt3.js} +1 -1
  35. package/console-app/assets/{diagram-UB23O5K3-CH-SzBoh.js → diagram-UB23O5K3-BvazI_qH.js} +1 -1
  36. package/console-app/assets/{ebnfDiagram-BXEA7PRR-BkjeNaQH.js → ebnfDiagram-BXEA7PRR-CBZPYFwZ.js} +1 -1
  37. package/console-app/assets/{erDiagram-JOGREHBK-BdL77bY3.js → erDiagram-JOGREHBK-BN3FevvT.js} +1 -1
  38. package/console-app/assets/eventmodeling-45OFAUF4-D2SxzJUl.js +1 -0
  39. package/console-app/assets/flowDiagram-UKHOOZJN-CQXuJ0z2.js +1 -0
  40. package/console-app/assets/{ganttDiagram-PKOTCBZU-DfgO68Ez.js → ganttDiagram-PKOTCBZU-03mWH2kB.js} +1 -1
  41. package/console-app/assets/{gitGraph-TEB2WS4Q-BNbepAzP.js → gitGraph-TEB2WS4Q-By2486wn.js} +1 -1
  42. package/console-app/assets/{gitGraphDiagram-DS77QQ5N-Crb8obGB.js → gitGraphDiagram-DS77QQ5N-CCzKPRBJ.js} +1 -1
  43. package/console-app/assets/{index-g8jA8DJo.js → index-snBzz_U8.js} +3 -3
  44. package/console-app/assets/{index-Dsydm-nw.css → index-suVNAhyL.css} +1 -1
  45. package/console-app/assets/{info-DKCQHKI2-D9tXUXel.js → info-DKCQHKI2-C_vsavqC.js} +1 -1
  46. package/console-app/assets/{infoDiagram-6WML65LV-BvG8ufLa.js → infoDiagram-6WML65LV-BKvU8du7.js} +1 -1
  47. package/console-app/assets/{ishikawaDiagram-WSZJBQD7-BWoGxEjO.js → ishikawaDiagram-WSZJBQD7-CnF0qm0n.js} +1 -1
  48. package/console-app/assets/{journeyDiagram-NVQOT4AX-CR4YcPHg.js → journeyDiagram-NVQOT4AX-DxKe9OZ7.js} +1 -1
  49. package/console-app/assets/{kanban-definition-27J2QSJJ-DYfc5EZe.js → kanban-definition-27J2QSJJ-CB8lgPxU.js} +1 -1
  50. package/console-app/assets/{line-NIaf8Mfw.js → line-DFNLso1I.js} +1 -1
  51. package/console-app/assets/{linear-DB_1BE-l.js → linear-D1cspVtk.js} +1 -1
  52. package/console-app/assets/{mermaid-parser.core-BqCVMHRZ.js → mermaid-parser.core-BtmN233C.js} +3 -3
  53. package/console-app/assets/{mermaid.core-CYaeERjF.js → mermaid.core-37H5_HoB.js} +4 -4
  54. package/console-app/assets/{mindmap-definition-FAOFIHXS-BCjT2v4F.js → mindmap-definition-FAOFIHXS-Czf82JOB.js} +1 -1
  55. package/console-app/assets/{packet-7NZHBO7P-CzFZvntp.js → packet-7NZHBO7P-CErYxAQM.js} +1 -1
  56. package/console-app/assets/{pegDiagram-VL7TDLO6-3iMotW64.js → pegDiagram-VL7TDLO6-CRKX6HOt.js} +1 -1
  57. package/console-app/assets/{pie-RZYD4A2V-CXIoUTJn.js → pie-RZYD4A2V-YmMmh6Nq.js} +1 -1
  58. package/console-app/assets/{pieDiagram-7S7Q4E2Y-B-EOKkdd.js → pieDiagram-7S7Q4E2Y-Cot0Fu5q.js} +1 -1
  59. package/console-app/assets/{quadrantDiagram-CIZ2JOQS-DDdq8l2N.js → quadrantDiagram-CIZ2JOQS-DPEonVYT.js} +1 -1
  60. package/console-app/assets/{radar-I7S5WNFK-9SLSkJ73.js → radar-I7S5WNFK-Pf_KiQJM.js} +1 -1
  61. package/console-app/assets/{railroad-3IZDKUUU-DdJ88Ord.js → railroad-3IZDKUUU-BYoOMoQY.js} +1 -1
  62. package/console-app/assets/railroad-abnf-AHOZXSZD-CCRXsRRD.js +1 -0
  63. package/console-app/assets/railroad-ebnf-EBAXGLYW-DVRSVgn8.js +1 -0
  64. package/console-app/assets/railroad-peg-LSFZ7HO6-COUBoNH3.js +1 -0
  65. package/console-app/assets/{railroadDiagram-AXF67PYL-BMW_s9QW.js → railroadDiagram-AXF67PYL-Di8N9tHD.js} +1 -1
  66. package/console-app/assets/{requirementDiagram-LRYGKXZP-BzcnEvjk.js → requirementDiagram-LRYGKXZP-2yZZ753q.js} +1 -1
  67. package/console-app/assets/{sankeyDiagram-W5VNT64P-Dh2TFvuG.js → sankeyDiagram-W5VNT64P-BwYA-xq1.js} +1 -1
  68. package/console-app/assets/{sequenceDiagram-SI44F4Z6-b-m-tQYz.js → sequenceDiagram-SI44F4Z6-odIxlx8J.js} +1 -1
  69. package/console-app/assets/{src-Dm8O0hiD.js → src-CxJwpjvz.js} +1 -1
  70. package/console-app/assets/{stateDiagram-OKZ733FA-W98kCkqj.js → stateDiagram-OKZ733FA-Du2S0qU9.js} +1 -1
  71. package/console-app/assets/stateDiagram-v2-UEYNNEHI-CTXOGDRR.js +1 -0
  72. package/console-app/assets/{swimlanes-SLNWSIFB-0q_y6cLu.js → swimlanes-SLNWSIFB-JZ3swzI2.js} +1 -1
  73. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-DRrggQgK.js +8 -0
  74. package/console-app/assets/{timeline-definition-Z64GVDOM-DmsNlhwe.js → timeline-definition-Z64GVDOM-CsppAEWi.js} +1 -1
  75. package/console-app/assets/{treeView-QDETBFTQ-DY7A9uJm.js → treeView-QDETBFTQ-DkkO8peQ.js} +1 -1
  76. package/console-app/assets/{treemap-6X3UGDF4-DI73Vm90.js → treemap-6X3UGDF4-hjLkPCJI.js} +1 -1
  77. package/console-app/assets/{vennDiagram-T6HMQDX7-Czpr9diJ.js → vennDiagram-T6HMQDX7-BOfgM1xp.js} +1 -1
  78. package/console-app/assets/{wardley-OPB4EBWU-C39AmDqd.js → wardley-OPB4EBWU-C5ZtGfBa.js} +1 -1
  79. package/console-app/assets/{wardleyDiagram-T6FBY63Y-DOtWBvnk.js → wardleyDiagram-T6FBY63Y-ymf3Vm6A.js} +1 -1
  80. package/console-app/assets/{xychartDiagram-ELKLHX3M-VHHuGrWV.js → xychartDiagram-ELKLHX3M-DdxXIoKz.js} +1 -1
  81. package/console-app/index.html +2 -2
  82. package/dist/.pikku/addon/index.d.ts +1 -1
  83. package/dist/.pikku/addon/index.js +1 -1
  84. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  85. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  86. package/dist/.pikku/agent/index.d.ts +1 -1
  87. package/dist/.pikku/agent/index.js +1 -1
  88. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  89. package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
  90. package/dist/.pikku/auth/index.d.ts +1 -1
  91. package/dist/.pikku/auth/index.js +1 -1
  92. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
  93. package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
  94. package/dist/.pikku/channel/index.d.ts +1 -1
  95. package/dist/.pikku/channel/index.js +1 -1
  96. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  97. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  98. package/dist/.pikku/cli/index.d.ts +1 -1
  99. package/dist/.pikku/cli/index.js +1 -1
  100. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  101. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  102. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  103. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  104. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  105. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  106. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  107. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  108. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +7 -42
  109. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  110. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  111. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  112. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  113. package/dist/.pikku/error/index.d.ts +1 -1
  114. package/dist/.pikku/error/index.js +1 -1
  115. package/dist/.pikku/error/pikku-error-types.gen.d.ts +1 -1
  116. package/dist/.pikku/error/pikku-error-types.gen.js +1 -1
  117. package/dist/.pikku/function/index.d.ts +1 -1
  118. package/dist/.pikku/function/index.js +1 -1
  119. package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
  120. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  121. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  122. package/dist/.pikku/function/pikku-functions-meta.gen.json +18 -18
  123. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  124. package/dist/.pikku/gateway/index.d.ts +1 -1
  125. package/dist/.pikku/gateway/index.js +1 -1
  126. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +1 -1
  127. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +1 -1
  128. package/dist/.pikku/http/index.d.ts +1 -1
  129. package/dist/.pikku/http/index.js +1 -1
  130. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  131. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  132. package/dist/.pikku/mcp/index.d.ts +1 -1
  133. package/dist/.pikku/mcp/index.js +1 -1
  134. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  135. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  136. package/dist/.pikku/middleware/index.d.ts +1 -1
  137. package/dist/.pikku/middleware/index.js +1 -1
  138. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +2 -2
  139. package/dist/.pikku/middleware/pikku-middleware-types.gen.js +1 -1
  140. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  141. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  142. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  143. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  144. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  145. package/dist/.pikku/queue/index.d.ts +1 -1
  146. package/dist/.pikku/queue/index.js +1 -1
  147. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  148. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  149. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  150. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  151. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  152. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  153. package/dist/.pikku/scenarios/index.d.ts +1 -1
  154. package/dist/.pikku/scenarios/index.js +1 -1
  155. package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
  156. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  157. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  158. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  159. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  160. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  161. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  162. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  163. package/dist/.pikku/scheduler/index.d.ts +1 -1
  164. package/dist/.pikku/scheduler/index.js +1 -1
  165. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  166. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  167. package/dist/.pikku/schemas/register.gen.js +1 -1
  168. package/dist/.pikku/scopes/index.d.ts +1 -1
  169. package/dist/.pikku/scopes/index.js +1 -1
  170. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  171. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  172. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  173. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  174. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  175. package/dist/.pikku/secrets/index.d.ts +1 -1
  176. package/dist/.pikku/secrets/index.js +1 -1
  177. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  178. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  179. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  180. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  181. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
  182. package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
  183. package/dist/.pikku/setup/index.d.ts +1 -1
  184. package/dist/.pikku/setup/index.js +1 -1
  185. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
  186. package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
  187. package/dist/.pikku/trigger/index.d.ts +1 -1
  188. package/dist/.pikku/trigger/index.js +1 -1
  189. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  190. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  191. package/dist/.pikku/variables/index.d.ts +1 -1
  192. package/dist/.pikku/variables/index.js +1 -1
  193. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  194. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  195. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  196. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  197. package/dist/.pikku/workflow/index.d.ts +1 -1
  198. package/dist/.pikku/workflow/index.js +1 -1
  199. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  200. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  201. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  202. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  203. package/dist/bin/pikku-bin.mjs +2 -2
  204. package/dist/src/cli.wiring.js +0 -42
  205. package/dist/src/deploy/bundler/bun-bundler.js +18 -2
  206. package/dist/src/fabric/functions/validate.function.js +24 -4
  207. package/dist/src/functions/commands/dev-agent-runner.js +48 -13
  208. package/dist/src/functions/commands/dev.js +1 -2
  209. package/dist/src/functions/commands/enable.js +11 -27
  210. package/dist/src/functions/commands/serve.js +1 -2
  211. package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.js +6 -6
  212. package/dist/src/functions/validate/shared-checks.js +1 -1
  213. package/dist/src/functions/wirings/agent/pikku-command-public-agent.js +1 -2
  214. package/dist/src/functions/wirings/agent/serialize-public-agent.d.ts +1 -1
  215. package/dist/src/functions/wirings/agent/serialize-public-agent.js +10 -11
  216. package/dist/src/functions/wirings/emails/pikku-command-emails.js +2 -2
  217. package/dist/src/functions/wirings/emails/serialize-emails.js +112 -42
  218. package/dist/src/functions/wirings/middleware/serialize-middleware-types.js +1 -1
  219. package/dist/src/functions/wirings/personas/serialize-personas-secrets.d.ts +5 -0
  220. package/dist/src/functions/wirings/personas/serialize-personas-secrets.js +6 -0
  221. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.js +1 -3
  222. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.d.ts +1 -1
  223. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.js +3 -4
  224. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +1 -2
  225. package/dist/src/functions/wirings/rpc/serialize-public-rpc.d.ts +1 -1
  226. package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +3 -4
  227. package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.d.ts +4 -5
  228. package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.js +5 -6
  229. package/dist/src/functions/wirings/scopes/pikku-command-scopes.js +5 -0
  230. package/dist/src/functions/wirings/scopes/serialize-scopes-client.d.ts +16 -0
  231. package/dist/src/functions/wirings/scopes/serialize-scopes-client.js +72 -0
  232. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +1 -2
  233. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +1 -1
  234. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +1 -8
  235. package/dist/src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.js +1 -2
  236. package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.d.ts +1 -1
  237. package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +1 -4
  238. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.js +1 -2
  239. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.d.ts +1 -1
  240. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +8 -9
  241. package/dist/src/utils/pikku-cli-config.js +8 -4
  242. package/dist/src/utils/resolve-scaffold-feature.d.ts +7 -6
  243. package/dist/src/utils/resolve-scaffold-feature.js +11 -35
  244. package/dist/tsconfig.tsbuildinfo +1 -1
  245. package/package.json +8 -8
  246. package/surface.json +1 -1
  247. package/console-app/assets/architecture-TIHT7OUA-B1IpeRpl.js +0 -1
  248. package/console-app/assets/channel-sTJGzqn9.js +0 -1
  249. package/console-app/assets/chunk-XXDRQBXY-CLdTtHL4.js +0 -1
  250. package/console-app/assets/classDiagram-JCYQIIEL-Dh0wx8TK.js +0 -1
  251. package/console-app/assets/classDiagram-v2-OCEON4UE-Dh0wx8TK.js +0 -1
  252. package/console-app/assets/eventmodeling-45OFAUF4-C6PNVeIU.js +0 -1
  253. package/console-app/assets/flowDiagram-UKHOOZJN-CmURPvo2.js +0 -1
  254. package/console-app/assets/railroad-abnf-AHOZXSZD-D2QiLT8B.js +0 -1
  255. package/console-app/assets/railroad-ebnf-EBAXGLYW-CSMqj9L2.js +0 -1
  256. package/console-app/assets/railroad-peg-LSFZ7HO6-Cg1-F8im.js +0 -1
  257. package/console-app/assets/stateDiagram-v2-UEYNNEHI-DpnoMNHC.js +0 -1
  258. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-BmGtOaWo.js +0 -8
package/CHANGELOG.md CHANGED
@@ -1,3 +1,140 @@
1
+ ## 0.12.110
2
+
3
+ ### Patch Changes
4
+
5
+ - 74b8b63: Narrow the Bun resolve plugin's `onResolve` filter to the specifiers it actually
6
+ rewrites. A catch-all filter that deferred to Bun for everything else made Bun
7
+ bundle any bare specifier resolved through a package.json `exports` subpath
8
+ (`@pikku/core/workflow`) as an empty module, so every deployed worker died at
9
+ startup with `ReferenceError: PikkuWorkflowService is not defined`.
10
+
11
+ ## 0.12.109
12
+
13
+ ### Patch Changes
14
+
15
+ - a6bdc52: feat(cli): generate a browser-safe scope client
16
+
17
+ `clientFiles.scopesFile` emits the project's `ScopeId` union and a
18
+ `hasScopes(required, held)` with the cascade inlined, so a frontend deciding
19
+ what to render no longer imports `@pikku/core` — a server package that drags
20
+ AsyncLocalStorage and the wiring runtime into the bundle.
21
+
22
+ - Updated dependencies [4712e73]
23
+ - Updated dependencies [082403f]
24
+ - @pikku/core@0.12.88
25
+ - @pikku/ai-vercel@0.12.13
26
+
27
+ ## 0.12.108
28
+
29
+ ### Patch Changes
30
+
31
+ - 9687ad1: fix: hand agent middleware the singleton services its type promises
32
+
33
+ `PikkuAgentMiddlewareHooks` typed its `services` parameter as the project's full
34
+ wire `Services`, while every runtime call site has only ever passed the singleton
35
+ services. A middleware that destructured a wire service typechecked and silently
36
+ received `undefined`.
37
+
38
+ The hooks are now bounded by `CoreSingletonServices` in core, and the generated
39
+ `pikkuAgentMiddleware` defaults to `WiredSingletonServices` like the other
40
+ middleware definers. Nothing changes at runtime: agent middleware hooks a _run_,
41
+ and a run is not a request — it can start from a scheduler or a workflow with no
42
+ wire behind it. A tool the run calls is an ordinary function call and still gets
43
+ its own wire services through `runPikkuFunc`.
44
+
45
+ - 13ee73f: Generate `SCENARIO_ACTOR_SECRET` as an optional secret. A stage that runs no
46
+ scenarios is a supported state — the actor sign-in refuses every request — but
47
+ the required declaration failed the deploy config gate on every such stage.
48
+ - 8d6a6bc: fix(cli): a scaffold flag says a surface exists, not who may call it
49
+
50
+ `scaffold.<feature>` accepted an `auth` field, and the generated wrapper emitted
51
+ it onto the wired function. That put authentication in two places at once: the
52
+ target function already declares whether it needs a session, its wiring, its
53
+ scopes and its addon gate already refine it, and `runPikkuFunc` already enforces
54
+ all of that on every call. The scaffold flag only stacked a coarser gate in
55
+ front of the one that actually decides, and — being a config field — it could
56
+ disagree with the function it was gating.
57
+
58
+ `PikkuScaffoldFeature` is now `boolean | { path?: string }`. It answers two
59
+ things and no more: whether the surface is generated, and where the file is
60
+ written. A feature that was `{ "auth": false }` becomes plain `true`, and
61
+ `pikku enable` loses its `--noAuth` flag along with the dimension it set.
62
+
63
+ The six generators that took the flag no longer take one. The four that generate
64
+ a dispatcher — public RPC, public agent, workflow routes and the events channel
65
+ — now emit a fixed `auth: false`. That is the wrapper declining to gate, not the
66
+ scaffold declaring the surface public: `rpcCaller` forwards to whichever
67
+ function the caller named, and that function's own `auth`, permissions, scopes
68
+ and addon gate are what decide. Emitting nothing would not be neutral, since a
69
+ wiring without `auth` requires a session and would reject the call before the
70
+ gate that decides ever ran. The two that generate scoped admin functions — user
71
+ admin and virtual users — emit no `auth`, because they are `pikkuFunc` with
72
+ their own `scopes`: session-required by construction, and the deciding function
73
+ rather than a wrapper in front of one.
74
+
75
+ The legacy `'auth'` / `'no-auth'` string values are gone with it. A bare string
76
+ is still refused rather than read as a `path`: under `boolean | object` no
77
+ string is valid, so guessing one would turn a typo into a generated file nobody
78
+ asked for.
79
+
80
+ - 5fa28a5: `pikku dev`: say which AI SDK copies the agent runner is using, and refuse a mismatched pair up front
81
+
82
+ Resolving `@pikku/ai-vercel` and `@ai-sdk/openai-compatible` from the project's root `package.json` is all-or-nothing, and under an isolated `node_modules` layout (bun, pnpm) the root resolves only what the root itself declares. A monorepo that installed the pair in the workspace that uses them silently got the CLI's own copies instead — which then threw `Unsupported model version v4 …` at the first model call, naming the model and the gateway but neither of the packages that actually disagreed. That case now logs a warning naming the package that could not be resolved.
83
+
84
+ When the pair does come from the project, their `@ai-sdk/provider` majors are compared before the runner is built. A mismatch disables agents with a message naming both versions and pointing at `@ai-sdk/openai-compatible`'s per-`ai`-major dist-tags, instead of surfacing as a model-spec error later.
85
+
86
+ - 2783d93: refactor(cli)!: `clientFiles.startServerFnsFile` is now `clientFiles.tanstackStartFile`
87
+
88
+ The old name read as "start the server fns" when it meant "the TanStack **Start**
89
+ server-fns file". A config still using it now fails to load with the new name in
90
+ the message, rather than silently generating nothing.
91
+
92
+ - 3a83f85: Stop re-exporting package internals through entry points
93
+
94
+ 66 names reached consumers only because an `export *` in an entry point swept
95
+ them up. Each one is referenced solely inside its own package, so the star is
96
+ now an explicit named re-export listing what is genuinely public. The
97
+ declarations themselves are untouched — this narrows the entry point, not the
98
+ module.
99
+
100
+ - d21ab7b: fix(cli): validate flags a dead Design tab instead of mentioning it
101
+
102
+ A project that renders Mantine but has no `packages/mantine-theme/` (or no
103
+ `themes/<id>.json`) gets a Design tab that renders "No themes yet". That was
104
+ reported at info, under a summary ending "no errors". It is now a warning when
105
+ an app depends on `@mantine/core` or `@pikku/mantine`, and stays info otherwise.
106
+
107
+ The `components-missing` check is replaced by `design-no-stories`, which looks
108
+ where the design server actually globs stories — `apps/*/src/components/**/*.stories.tsx`
109
+ — rather than at `packages/components/`.
110
+
111
+ - 31ad85f: fix(emails): escape substituted values in the generated email renderer
112
+
113
+ `renderEmailTemplate` spliced values into HTML unescaped and looped substitution
114
+ until it reached a fixed point, so a value containing `"` broke out of the
115
+ attribute it landed in, a value containing markup was injected verbatim, and a
116
+ value containing `{{...}}` was re-expanded as a template on the next pass. An
117
+ ordinary CSS font stack from `theme.json` was enough to corrupt the document.
118
+
119
+ Rendering is now layered by trust. Partials are inlined first; `theme.*` and
120
+ `t.*` are expanded next as template-author input; caller `data` is substituted in
121
+ a single pass that is never rescanned. Values are HTML-escaped in `.html` output
122
+ and left raw in `.subject.txt` / `.text.txt`. `{{content}}` and partials stay
123
+ raw, and `{{{value}}}` is a new opt-in raw form. The console's email preview uses
124
+ the same renderer, so previews match what is sent.
125
+
126
+ - Updated dependencies [9687ad1]
127
+ - Updated dependencies [2d21628]
128
+ - Updated dependencies [8d6a6bc]
129
+ - Updated dependencies [985b87b]
130
+ - Updated dependencies [3a83f85]
131
+ - Updated dependencies [31ad85f]
132
+ - @pikku/core@0.12.87
133
+ - @pikku/kysely@0.13.19
134
+ - @pikku/skills@0.12.12
135
+ - @pikku/inspector@0.12.62
136
+ - @pikku/ws@0.12.9
137
+
1
138
  ## 0.12.107
2
139
 
3
140
  ### Patch Changes
@@ -1 +1 @@
1
- import{m as e,t}from"./mermaid-parser.core-BqCVMHRZ.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-Dm8O0hiD.js";import"./chunk-I66GZJ75-BP5UNkJY.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-CXxkExOq.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-CYaeERjF.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=n(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=n(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
1
+ import{m as e,t}from"./mermaid-parser.core-BtmN233C.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-CxJwpjvz.js";import"./chunk-I66GZJ75-C-Lq_UXl.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-BuzItInf.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-37H5_HoB.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=n(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=n(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
@@ -0,0 +1 @@
1
+ import"./chunk-KEIR6QF5-BICK3FdT.js";import{M as e}from"./mermaid-parser.core-BtmN233C.js";export{e as createArchitectureServices};