@pikku/cli 0.12.153 → 0.12.155

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 (286) hide show
  1. package/console-app/assets/{HelpPanel-0XQ4CyKC.js → HelpPanel-Ndvkqpn8.js} +1 -1
  2. package/console-app/assets/{abnfDiagram-VCTEODGH-DZTF_2aX.js → abnfDiagram-VCTEODGH-DvUR4gej.js} +1 -1
  3. package/console-app/assets/architecture-7GRP2DOG-DJkDVzM_.js +1 -0
  4. package/console-app/assets/{architectureDiagram-5GKGNRK7-Re4-6X-k.js → architectureDiagram-5GKGNRK7-HLwJ3llk.js} +1 -1
  5. package/console-app/assets/{blockDiagram-I7D4REHJ-Dbj7SnRK.js → blockDiagram-I7D4REHJ-LMSdIVfc.js} +1 -1
  6. package/console-app/assets/{c4Diagram-7LVT6UL2-DUr02Wxh.js → c4Diagram-7LVT6UL2-CcWW9nYv.js} +1 -1
  7. package/console-app/assets/channel-C6yZyX_m.js +1 -0
  8. package/console-app/assets/{chunk-4HAMMTFA-DjatzNf_.js → chunk-4HAMMTFA-Dxcu8ptc.js} +1 -1
  9. package/console-app/assets/{chunk-75Z2AOVW-BGsmWEdU.js → chunk-75Z2AOVW-BBINCcJe.js} +1 -1
  10. package/console-app/assets/{chunk-DU6HZSFF-CC7WiVgI.js → chunk-DU6HZSFF-BgJhrYpo.js} +1 -1
  11. package/console-app/assets/{chunk-F27PBJKO-BATuW9Ej.js → chunk-F27PBJKO-CctviqIo.js} +1 -1
  12. package/console-app/assets/{chunk-GMAD6QVW-CgHNo00B.js → chunk-GMAD6QVW-BJ-InAqp.js} +1 -1
  13. package/console-app/assets/{chunk-GVQU2GXP-VT_xckd9.js → chunk-GVQU2GXP-DaeerGJS.js} +1 -1
  14. package/console-app/assets/{chunk-IMKFNOWR-BhSVbWtF.js → chunk-IMKFNOWR-eOSAFAc9.js} +1 -1
  15. package/console-app/assets/{chunk-L3NEJ4N5-HUF6a3Xl.js → chunk-L3NEJ4N5-DRfMBpkp.js} +1 -1
  16. package/console-app/assets/{chunk-OSK3NFVY-C_LPDGIB.js → chunk-OSK3NFVY-DMZ2WBA1.js} +1 -1
  17. package/console-app/assets/{chunk-P2QGCYS3-lWDBgw4Q.js → chunk-P2QGCYS3-d0BFQiY1.js} +1 -1
  18. package/console-app/assets/{chunk-POPQ4Y6H--6JTzmZJ.js → chunk-POPQ4Y6H-D4zICDtR.js} +1 -1
  19. package/console-app/assets/{chunk-PWAF6VOD-C1GqaJJs.js → chunk-PWAF6VOD-_v9wUl6m.js} +1 -1
  20. package/console-app/assets/{chunk-SHT3W25Y-Dd_4Zpdj.js → chunk-SHT3W25Y-DZ3Wa0Mc.js} +1 -1
  21. package/console-app/assets/{chunk-SVP7TREG-B8OY7dfD.js → chunk-SVP7TREG-2yCR3ywB.js} +1 -1
  22. package/console-app/assets/{chunk-TICWLB2K-B8S7Hmnu.js → chunk-TICWLB2K-CtulM0X6.js} +1 -1
  23. package/console-app/assets/chunk-XXDRQBXY-CLsn_tEh.js +1 -0
  24. package/console-app/assets/classDiagram-ZZMXUADV-D7FKceOo.js +1 -0
  25. package/console-app/assets/classDiagram-v2-VYDZK3BY-D7FKceOo.js +1 -0
  26. package/console-app/assets/{cose-bilkent-JH36ORCC-C6RM8oPO.js → cose-bilkent-JH36ORCC-DNc5wiJ_.js} +1 -1
  27. package/console-app/assets/{cynefin-OW5HDTMX-COh9rFYY.js → cynefin-OW5HDTMX-CQPn9kED.js} +1 -1
  28. package/console-app/assets/{cynefinDiagram-5FMLGOSQ-Dd9AR17w.js → cynefinDiagram-5FMLGOSQ-CkW1ZG13.js} +1 -1
  29. package/console-app/assets/{dagre-BDMvDAer.js → dagre-BcTdbH8b.js} +1 -1
  30. package/console-app/assets/{dagre-GXQ25YYZ-C_nBUPgr.js → dagre-GXQ25YYZ-Cgvwy7_U.js} +1 -1
  31. package/console-app/assets/{diagram-S7CK7UJ4-BGOobQeC.js → diagram-S7CK7UJ4-JB3GlMwZ.js} +1 -1
  32. package/console-app/assets/{diagram-UQ7AKVKN-CAF_vcj0.js → diagram-UQ7AKVKN-CaIeYJXa.js} +1 -1
  33. package/console-app/assets/{diagram-VSXAHHWV-q-aY0Nsc.js → diagram-VSXAHHWV-Cku8J3KG.js} +1 -1
  34. package/console-app/assets/{diagram-VX7I27RA-CnUibSOe.js → diagram-VX7I27RA-Dp3jeYrS.js} +1 -1
  35. package/console-app/assets/{diagram-Z3DM3KII-DY0V5kOJ.js → diagram-Z3DM3KII-B56Ys0Pf.js} +1 -1
  36. package/console-app/assets/{ebnfDiagram-PWID7BFC-CXp4CmEF.js → ebnfDiagram-PWID7BFC-CfxeEpk1.js} +1 -1
  37. package/console-app/assets/{erDiagram-RLTQ6QDP-CKnfXmPl.js → erDiagram-RLTQ6QDP-Dp9sOoSf.js} +1 -1
  38. package/console-app/assets/eventmodeling-NTZA5JFV-CccBkMWb.js +1 -0
  39. package/console-app/assets/flowDiagram-HODETNUW-Cp_XHTFC.js +1 -0
  40. package/console-app/assets/{ganttDiagram-EL5Y4UJY-D6v_RJ7o.js → ganttDiagram-EL5Y4UJY-BsD1LYkb.js} +1 -1
  41. package/console-app/assets/{gitGraph-4MIJSDKK-y3kWDddY.js → gitGraph-4MIJSDKK-CSHhAZoD.js} +1 -1
  42. package/console-app/assets/{gitGraphDiagram-WWUBYQGX-CBaE24KN.js → gitGraphDiagram-WWUBYQGX-CZ_0OI7F.js} +1 -1
  43. package/console-app/assets/{graphlib-DAA_TPmU.js → graphlib-Bpf494dL.js} +1 -1
  44. package/console-app/assets/{index-HuTd6kcC.js → index-DXtR4J7Y.js} +68 -68
  45. package/console-app/assets/{info-A6RAGUB7-BvxfRJ9-.js → info-A6RAGUB7-Cym2YsaS.js} +1 -1
  46. package/console-app/assets/{infoDiagram-27XIBGKW-BlFmgW96.js → infoDiagram-27XIBGKW-n9atnl-K.js} +1 -1
  47. package/console-app/assets/{ishikawaDiagram-5VMMS53U-Dpwhnwwq.js → ishikawaDiagram-5VMMS53U-BeLDkr8-.js} +1 -1
  48. package/console-app/assets/{journeyDiagram-3NMN7TZE-iOSeOQma.js → journeyDiagram-3NMN7TZE-B__R_eOL.js} +1 -1
  49. package/console-app/assets/{kanban-definition-UXKFOSKX-DFGTB8S5.js → kanban-definition-UXKFOSKX-Cwsl1hYB.js} +1 -1
  50. package/console-app/assets/{line-B_5qZKoM.js → line-UWFHtT2i.js} +1 -1
  51. package/console-app/assets/{linear-BmXUYu4J.js → linear-BHDHoGpb.js} +1 -1
  52. package/console-app/assets/{mermaid-parser.core-DyPi3Lbr.js → mermaid-parser.core-CyGW9xht.js} +3 -3
  53. package/console-app/assets/{mermaid.core-S4y9jX8K.js → mermaid.core-zeBKxakC.js} +4 -4
  54. package/console-app/assets/{mindmap-definition-YA3MSWOX-Bl09mCaS.js → mindmap-definition-YA3MSWOX-bZ2kbbMM.js} +1 -1
  55. package/console-app/assets/{packet-AYTQ26CC-B5zoasmU.js → packet-AYTQ26CC-DtH3ZjsO.js} +1 -1
  56. package/console-app/assets/{pegDiagram-XKGWAZYB-CAa0SOHf.js → pegDiagram-XKGWAZYB-Cy-M_2Zc.js} +1 -1
  57. package/console-app/assets/{pie-WAS4IAKB-C91xXCXY.js → pie-WAS4IAKB-DEZDAaJW.js} +1 -1
  58. package/console-app/assets/{pieDiagram-E7YTZNPT-CmUHVYwz.js → pieDiagram-E7YTZNPT-Ce3Yl--P.js} +1 -1
  59. package/console-app/assets/{quadrantDiagram-AXDQQJYC-XWsej4ss.js → quadrantDiagram-AXDQQJYC-BTK8v4H5.js} +1 -1
  60. package/console-app/assets/{radar-RG4KPBEZ-B7ieCnSw.js → radar-RG4KPBEZ-CTPhaLOE.js} +1 -1
  61. package/console-app/assets/{railroad-74A4TZTK-KTKjMg4U.js → railroad-74A4TZTK-DMa9G1LV.js} +1 -1
  62. package/console-app/assets/railroad-abnf-HS5TGJTU-K0DgRobv.js +1 -0
  63. package/console-app/assets/railroad-ebnf-LZEXJU2U-CHEGHd9y.js +1 -0
  64. package/console-app/assets/railroad-peg-WCYAUIDC-EYHvZbXp.js +1 -0
  65. package/console-app/assets/{railroadDiagram-O6MQD6OU-oh1FjI2K.js → railroadDiagram-O6MQD6OU-CYbkYMqD.js} +1 -1
  66. package/console-app/assets/{requirementDiagram-BXWQKSXE-D6z7hLfj.js → requirementDiagram-BXWQKSXE-DjWjfWOk.js} +1 -1
  67. package/console-app/assets/{sankeyDiagram-P5KCCOFB-DFb92jfp.js → sankeyDiagram-P5KCCOFB-6sAcPgDK.js} +1 -1
  68. package/console-app/assets/{sequenceDiagram-WJ2MYXX4-BRKj-PG1.js → sequenceDiagram-WJ2MYXX4-DzyU1CIr.js} +1 -1
  69. package/console-app/assets/{src-DYBVouJk.js → src-0ppm3vZe.js} +1 -1
  70. package/console-app/assets/{stateDiagram-D77RDMKH-BfTLNw5t.js → stateDiagram-D77RDMKH-S5osVh5p.js} +1 -1
  71. package/console-app/assets/stateDiagram-v2-MP3YSRHH-BZUe_KiH.js +1 -0
  72. package/console-app/assets/{swimlanes-42K2YHIH-DXkNYzX9.js → swimlanes-42K2YHIH-Dd7HjelH.js} +1 -1
  73. package/console-app/assets/swimlanesDiagram-VR7AAH4N-D6xRypPY.js +8 -0
  74. package/console-app/assets/{timeline-definition-24CTP7MA-B8m2V75P.js → timeline-definition-24CTP7MA-eZ3AIIpc.js} +1 -1
  75. package/console-app/assets/{treeView-Q6P3EWNA-BisqOzat.js → treeView-Q6P3EWNA-DF5sOT6y.js} +1 -1
  76. package/console-app/assets/{treemap-WGGIJYW6-DOxEXpb1.js → treemap-WGGIJYW6-Bob0iUUb.js} +1 -1
  77. package/console-app/assets/{vennDiagram-4TSXK5OY-ZeuU7o23.js → vennDiagram-4TSXK5OY-CeowTqyG.js} +1 -1
  78. package/console-app/assets/{wardley-WFR3VGLG-sspeOMuz.js → wardley-WFR3VGLG-DrnQFkZZ.js} +1 -1
  79. package/console-app/assets/{wardleyDiagram-VM6X3IG4-CF2vzNJV.js → wardleyDiagram-VM6X3IG4-Dsfkp6D5.js} +1 -1
  80. package/console-app/assets/{xychartDiagram-S5SC5T6Z-BR9XBq3s.js → xychartDiagram-S5SC5T6Z-YC_qsmJw.js} +1 -1
  81. package/console-app/index.html +1 -1
  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/analytics/index.d.ts +1 -1
  91. package/dist/.pikku/analytics/index.js +1 -1
  92. package/dist/.pikku/analytics/pikku-analytics-types.gen.d.ts +1 -1
  93. package/dist/.pikku/analytics/pikku-analytics-types.gen.js +1 -1
  94. package/dist/.pikku/auth/index.d.ts +1 -1
  95. package/dist/.pikku/auth/index.js +1 -1
  96. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
  97. package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
  98. package/dist/.pikku/channel/index.d.ts +1 -1
  99. package/dist/.pikku/channel/index.js +1 -1
  100. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  101. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  102. package/dist/.pikku/cli/index.d.ts +1 -1
  103. package/dist/.pikku/cli/index.js +1 -1
  104. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  105. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  106. package/dist/.pikku/cli/pikku-cli-client.gen.js +15 -5
  107. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  108. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  109. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +1 -1
  110. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  111. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  112. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  113. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +1 -1
  114. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  115. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  116. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  117. package/dist/.pikku/cli/pikku-cli.gen.js +15 -6
  118. package/dist/.pikku/error/index.d.ts +1 -1
  119. package/dist/.pikku/error/index.js +1 -1
  120. package/dist/.pikku/error/pikku-error-types.gen.d.ts +1 -1
  121. package/dist/.pikku/error/pikku-error-types.gen.js +1 -1
  122. package/dist/.pikku/function/index.d.ts +1 -1
  123. package/dist/.pikku/function/index.js +1 -1
  124. package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
  125. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  126. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  127. package/dist/.pikku/function/pikku-functions-meta.gen.json +33 -33
  128. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  129. package/dist/.pikku/gateway/index.d.ts +1 -1
  130. package/dist/.pikku/gateway/index.js +1 -1
  131. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +1 -1
  132. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +1 -1
  133. package/dist/.pikku/http/index.d.ts +1 -1
  134. package/dist/.pikku/http/index.js +1 -1
  135. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  136. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  137. package/dist/.pikku/mcp/index.d.ts +1 -1
  138. package/dist/.pikku/mcp/index.js +1 -1
  139. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  140. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  141. package/dist/.pikku/middleware/index.d.ts +1 -1
  142. package/dist/.pikku/middleware/index.js +1 -1
  143. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +1 -1
  144. package/dist/.pikku/middleware/pikku-middleware-types.gen.js +1 -1
  145. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  146. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  147. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  148. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  149. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  150. package/dist/.pikku/queue/index.d.ts +1 -1
  151. package/dist/.pikku/queue/index.js +1 -1
  152. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  153. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  154. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  155. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  156. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  157. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  158. package/dist/.pikku/scenarios/index.d.ts +1 -1
  159. package/dist/.pikku/scenarios/index.js +1 -1
  160. package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
  161. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  162. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  163. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  164. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  165. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  166. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  167. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  168. package/dist/.pikku/scheduler/index.d.ts +1 -1
  169. package/dist/.pikku/scheduler/index.js +1 -1
  170. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  171. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  172. package/dist/.pikku/schemas/register.gen.js +1 -1
  173. package/dist/.pikku/scopes/index.d.ts +1 -1
  174. package/dist/.pikku/scopes/index.js +1 -1
  175. package/dist/.pikku/scopes/pikku-flags.gen.d.ts +1 -1
  176. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  177. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  178. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  179. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  180. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  181. package/dist/.pikku/secrets/index.d.ts +1 -1
  182. package/dist/.pikku/secrets/index.js +1 -1
  183. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  184. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  185. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  186. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  187. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
  188. package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
  189. package/dist/.pikku/setup/index.d.ts +1 -1
  190. package/dist/.pikku/setup/index.js +1 -1
  191. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
  192. package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
  193. package/dist/.pikku/trigger/index.d.ts +1 -1
  194. package/dist/.pikku/trigger/index.js +1 -1
  195. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  196. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  197. package/dist/.pikku/variables/index.d.ts +1 -1
  198. package/dist/.pikku/variables/index.js +1 -1
  199. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  200. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  201. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  202. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  203. package/dist/.pikku/workflow/index.d.ts +1 -1
  204. package/dist/.pikku/workflow/index.js +1 -1
  205. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  206. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  207. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  208. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  209. package/dist/bin/pikku-bin.mjs +2 -2
  210. package/dist/bin/pikku.js +32 -2
  211. package/dist/src/deploy/build-pipeline.d.ts +43 -0
  212. package/dist/src/deploy/build-pipeline.js +79 -30
  213. package/dist/src/fabric/fabric-commands.js +3 -1
  214. package/dist/src/fabric/functions/add.function.js +4 -3
  215. package/dist/src/fabric/functions/changes-file.function.js +2 -1
  216. package/dist/src/fabric/functions/changes-shot.function.js +3 -2
  217. package/dist/src/fabric/functions/db-schema.function.js +3 -2
  218. package/dist/src/fabric/functions/deploy-list.function.js +3 -2
  219. package/dist/src/fabric/functions/deploy-units.function.js +3 -2
  220. package/dist/src/fabric/functions/deploy.function.js +4 -4
  221. package/dist/src/fabric/functions/domains-add.function.js +4 -3
  222. package/dist/src/fabric/functions/domains-list.function.js +3 -2
  223. package/dist/src/fabric/functions/domains-remove.function.js +5 -4
  224. package/dist/src/fabric/functions/errors.function.js +3 -2
  225. package/dist/src/fabric/functions/findings-flush.function.js +2 -1
  226. package/dist/src/fabric/functions/init.function.js +3 -2
  227. package/dist/src/fabric/functions/link.function.js +10 -10
  228. package/dist/src/fabric/functions/login.function.js +4 -3
  229. package/dist/src/fabric/functions/logs.function.js +2 -2
  230. package/dist/src/fabric/functions/metrics.function.js +3 -2
  231. package/dist/src/fabric/functions/projects-list.function.js +2 -1
  232. package/dist/src/fabric/functions/publish.function.js +7 -6
  233. package/dist/src/fabric/functions/report.function.js +4 -3
  234. package/dist/src/fabric/functions/rollback.function.js +3 -2
  235. package/dist/src/fabric/functions/secrets-delete.function.js +5 -4
  236. package/dist/src/fabric/functions/secrets-list.function.js +3 -2
  237. package/dist/src/fabric/functions/secrets-rotate.function.js +4 -3
  238. package/dist/src/fabric/functions/secrets-set.function.js +11 -4
  239. package/dist/src/fabric/functions/smoke.function.js +4 -3
  240. package/dist/src/fabric/functions/status.function.js +3 -2
  241. package/dist/src/fabric/functions/trace.function.js +3 -2
  242. package/dist/src/fabric/functions/variables-get.function.js +3 -2
  243. package/dist/src/fabric/functions/variables-set.function.js +3 -2
  244. package/dist/src/fabric/lib/changes.js +3 -2
  245. package/dist/src/fabric/lib/config.js +2 -1
  246. package/dist/src/fabric/lib/deployment.js +2 -1
  247. package/dist/src/fabric/lib/git.d.ts +10 -1
  248. package/dist/src/fabric/lib/git.js +10 -1
  249. package/dist/src/fabric/lib/prompt.d.ts +14 -5
  250. package/dist/src/fabric/lib/prompt.js +78 -15
  251. package/dist/src/fabric/lib/report-environment.d.ts +5 -4
  252. package/dist/src/fabric/lib/report-environment.js +18 -4
  253. package/dist/src/fabric/lib/sealed-box.js +3 -2
  254. package/dist/src/fabric/lib/stage.js +3 -2
  255. package/dist/src/functions/commands/deploy-apply.js +1 -0
  256. package/dist/src/functions/commands/deploy-plan.js +1 -0
  257. package/dist/src/functions/commands/watch.js +5 -2
  258. package/dist/src/functions/db/sqlite/scenario-baseline.js +5 -0
  259. package/dist/src/functions/wirings/agent/serialize-public-agent.js +2 -0
  260. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +18 -4
  261. package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.js +16 -5
  262. package/dist/src/functions/wirings/functions/pikku-command-addon-types.js +26 -5
  263. package/dist/src/functions/wirings/functions/serialize-addon-types.d.ts +1 -1
  264. package/dist/src/functions/wirings/functions/serialize-addon-types.js +46 -1
  265. package/dist/src/functions/wirings/mcp/pikku-command-mcp.js +3 -1
  266. package/dist/src/functions/wirings/middleware/pikku-command-middleware.js +13 -1
  267. package/dist/src/functions/wirings/middleware/serialize-middleware-imports.d.ts +13 -0
  268. package/dist/src/functions/wirings/middleware/serialize-middleware-imports.js +48 -8
  269. package/dist/src/utils/pikku-cli-config-error.d.ts +8 -3
  270. package/dist/src/utils/pikku-cli-config-error.js +8 -3
  271. package/dist/src/utils/pikku-cli-config.js +1 -1
  272. package/dist/tsconfig.tsbuildinfo +1 -1
  273. package/package.json +9 -9
  274. package/surface.json +4 -16
  275. package/console-app/assets/architecture-7GRP2DOG-NotVOJ5Y.js +0 -1
  276. package/console-app/assets/channel-DU63_zXh.js +0 -1
  277. package/console-app/assets/chunk-XXDRQBXY-BLuHuEZN.js +0 -1
  278. package/console-app/assets/classDiagram-ZZMXUADV-BTYfUi7u.js +0 -1
  279. package/console-app/assets/classDiagram-v2-VYDZK3BY-BTYfUi7u.js +0 -1
  280. package/console-app/assets/eventmodeling-NTZA5JFV-CBfQhnG8.js +0 -1
  281. package/console-app/assets/flowDiagram-HODETNUW-BnY3G7p6.js +0 -1
  282. package/console-app/assets/railroad-abnf-HS5TGJTU-e9AlsYmr.js +0 -1
  283. package/console-app/assets/railroad-ebnf-LZEXJU2U-BVX8UG1z.js +0 -1
  284. package/console-app/assets/railroad-peg-WCYAUIDC-BzWQFvD9.js +0 -1
  285. package/console-app/assets/stateDiagram-v2-MP3YSRHH-B8sMNnnF.js +0 -1
  286. package/console-app/assets/swimlanesDiagram-VR7AAH4N-CiZdLDyk.js +0 -8
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
5
5
  import type { PikkuWorkflowWire } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export declare const empty: null;
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export const empty = null;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scheduler` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scheduler` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/secrets` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/secrets` resolves here.
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/setup` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/setup` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Config and service factory definitions, declared once per application
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Config and service factory definitions, declared once per application
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/trigger` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/trigger` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/variables` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/variables` resolves here.
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService, } from '@pikku/core/services';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/workflow` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/workflow` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { pikkuWorkflowGraph as corePikkuWorkflowGraph } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import allWorkflowMeta from './meta/allWorkflow.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.153
2
+ * This file was generated by @pikku/cli@0.12.155
3
3
  */
4
4
  import { addWorkflow } from '@pikku/core/workflow';
5
5
  import './pikku-workflow-wirings-meta.gen.js';
@@ -11,8 +11,8 @@ async function checkForUpdate() {
11
11
  })
12
12
  if (!res.ok) return
13
13
  const { version: latest } = await res.json()
14
- if (latest !== '0.12.153') {
15
- process.stderr.write(`\n Update available 0.12.153 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
14
+ if (latest !== '0.12.155') {
15
+ process.stderr.write(`\n Update available 0.12.155 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
16
16
  }
17
17
  } catch {}
18
18
  }
package/dist/bin/pikku.js CHANGED
@@ -6,6 +6,7 @@ process.on('warning', (w) => {
6
6
  process.stderr.write(`${w.name}: ${w.message}\n`);
7
7
  });
8
8
  import { existsSync, readFileSync } from 'fs';
9
+ import { CLIError, formatCLIError, wantsStackTrace } from '@pikku/core/cli';
9
10
  import { fileURLToPath, pathToFileURL } from 'url';
10
11
  import { dirname, join } from 'path';
11
12
  const __filename = fileURLToPath(import.meta.url);
@@ -65,6 +66,36 @@ async function checkForUpdate() {
65
66
  // never block the CLI for a network check
66
67
  }
67
68
  }
69
+ /**
70
+ * The one place every failure ends up, however it got out.
71
+ *
72
+ * `formatCLIError` decides what is printed: an error raised deliberately shows
73
+ * its message alone, anything unexpected keeps its stack, and `--verbose` /
74
+ * `PIKKU_DEBUG` shows the stack either way. Nothing here strips frames — a
75
+ * `TypeError` with no frames is a bug nobody can diagnose.
76
+ */
77
+ const reportFatal = (error) => {
78
+ // The runner already printed this one and only threw it to carry the exit
79
+ // code out; printing it again is the doubled error users kept reporting.
80
+ if (error instanceof CLIError)
81
+ process.exit(error.exitCode);
82
+ // stderr is asynchronous when it is a pipe, so `process.exit` on the next
83
+ // line can kill the process before the bytes leave — truncating the one
84
+ // diagnostic this function exists to print, exactly when it is redirected
85
+ // into a log. The exit runs from the write callback instead, with `exitCode`
86
+ // set first so a stream that is already gone (callback never fires) still
87
+ // ends the process with the right code once the loop drains.
88
+ process.exitCode = 1;
89
+ process.stderr.write(`${formatCLIError(error, { verbose: wantsStackTrace(process.argv.slice(2)) })}\n`, () => process.exit(1));
90
+ };
91
+ /**
92
+ * Without these, anything thrown outside the await below — a listener, a
93
+ * floating promise in a watcher, a timer — reaches node's default handler and
94
+ * prints an unformatted dump. Installed before the CLI is imported so a failure
95
+ * during module evaluation is caught too.
96
+ */
97
+ process.on('uncaughtException', reportFatal);
98
+ process.on('unhandledRejection', reportFatal);
68
99
  // Use the generated Pikku CLI
69
100
  const pikkuCliPath = join(__dirname, '../.pikku/cli/pikku-cli.gen.js');
70
101
  if (existsSync(pikkuCliPath)) {
@@ -77,8 +108,7 @@ if (existsSync(pikkuCliPath)) {
77
108
  process.exit(process.exitCode ?? 0);
78
109
  }
79
110
  catch (error) {
80
- console.error('Failed to run Pikku CLI:', error.message);
81
- process.exit(1);
111
+ reportFatal(error);
82
112
  }
83
113
  }
84
114
  else {
@@ -44,6 +44,44 @@ export declare class PikkuDeployBuildFailedError extends PikkuError {
44
44
  * when every unit was generated and bundled.
45
45
  */
46
46
  export declare function describeBuildFailure(result: Pick<BuildPipelineResult, 'bundleErrors' | 'codegenErrors'>): string | null;
47
+ /**
48
+ * The database a standalone bundle has to open for itself.
49
+ *
50
+ * Every other provider deploys onto a host that supplies `kysely` — `pikku dev`
51
+ * builds one, a Cloudflare deploy binds one — so `createSingletonServices` is
52
+ * written expecting it. A standalone artifact has no host, and shipped one that
53
+ * never got a connection at all: the app booted straight into whatever its
54
+ * services factory does when the database is missing, which for the generated
55
+ * templates is a throw.
56
+ *
57
+ * Engine is resolved the way every other pikku host resolves it: `createConfig`
58
+ * first, through the same `loadUserConfigForDb` the db commands use, and the
59
+ * `db/sqlite` / `db/postgres` conventions only as the fallback. Reading the
60
+ * directory alone left an app that declares its database in config and keeps no
61
+ * migrations getting a connection under `pikku dev` and none in its artifact —
62
+ * the same crash, reached a different way. A config that cannot be loaded falls
63
+ * back to the directories rather than failing the build, because a project with
64
+ * no database at all must still bundle.
65
+ *
66
+ * Both at once is refused rather than resolved, whether the two arrive as two
67
+ * migration directories or as `sqliteDb` beside `postgresUrl`. Picking one would
68
+ * be picking which database the deployed app talks to on the strength of
69
+ * directory order, and the failure — an app running happily against the wrong,
70
+ * fully valid schema — is invisible until someone reads the data.
71
+ *
72
+ * Only the engine travels. A configured SQLite path is a developer's local file
73
+ * and has no meaning on the target host, which names its own through
74
+ * `PIKKU_DATA_DIR`.
75
+ *
76
+ * The migrations are copied in beside the bundle under the same `db/<engine>/`
77
+ * path they have in the project, which is also where Fabric's build container
78
+ * stages them. Two producers writing the artifact cannot disagree about where
79
+ * the SQL lives, and `bundle.js db migrate` finds it either way.
80
+ */
81
+ export declare function resolveStandaloneDb(projectDir: string, pikkuDir: string, unitDir: string, srcDirectories: string[], logger: BuildLogger): Promise<{
82
+ engine: 'sqlite' | 'postgres';
83
+ coercionImportPath?: string;
84
+ } | undefined>;
47
85
  export declare function runBuildPipeline(options: {
48
86
  projectDir: string;
49
87
  projectId: string;
@@ -66,6 +104,11 @@ export declare function runBuildPipeline(options: {
66
104
  };
67
105
  deployDir?: string;
68
106
  outDir?: string;
107
+ /**
108
+ * The project's source roots, for finding the `createConfig` that declares
109
+ * which database a standalone artifact has to open.
110
+ */
111
+ srcDirectories?: string[];
69
112
  /** Emit sourcemaps + per-unit `metafile.json` (debug-only). Default false. */
70
113
  debugArtifacts?: boolean;
71
114
  logger: BuildLogger;