@pikku/cli 0.12.133 → 0.12.136

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 (241) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/console-app/assets/{abnfDiagram-N423BO3Z-BQPUva28.js → abnfDiagram-N423BO3Z-W1UI4BWy.js} +1 -1
  3. package/console-app/assets/architecture-TIHT7OUA-ChuyZvLt.js +1 -0
  4. package/console-app/assets/{architectureDiagram-T3A2C74G-Cjzy66o9.js → architectureDiagram-T3A2C74G-Dgnhu9J8.js} +1 -1
  5. package/console-app/assets/{blockDiagram-VBNYF7ZC-DVasSXpX.js → blockDiagram-VBNYF7ZC-Da-H9pFU.js} +1 -1
  6. package/console-app/assets/{c4Diagram-5PPSVZJV-FB0YMoOr.js → c4Diagram-5PPSVZJV-CPQ006DM.js} +1 -1
  7. package/console-app/assets/channel-Bk5Nkkn2.js +1 -0
  8. package/console-app/assets/{chunk-2GRJ4B5K-BLGsmyy4.js → chunk-2GRJ4B5K-B3QE8g_6.js} +1 -1
  9. package/console-app/assets/{chunk-4I5QYGJK-DCgTj78f.js → chunk-4I5QYGJK-D04DssN0.js} +1 -1
  10. package/console-app/assets/{chunk-5RXB4S5H-CX9hS68x.js → chunk-5RXB4S5H-CXe_vAKZ.js} +1 -1
  11. package/console-app/assets/{chunk-6Q2QTUOP-xrgFRP4Y.js → chunk-6Q2QTUOP-DhpMC5UR.js} +1 -1
  12. package/console-app/assets/{chunk-7Z6QIM7H-CbBMe7ej.js → chunk-7Z6QIM7H-CtoQQGfm.js} +1 -1
  13. package/console-app/assets/{chunk-GF5L2VYU-BXraqZ7w.js → chunk-GF5L2VYU-BovriS0p.js} +1 -1
  14. package/console-app/assets/{chunk-I66GZJ75-CbpQtX8e.js → chunk-I66GZJ75-Goasace2.js} +1 -1
  15. package/console-app/assets/{chunk-JQJVKLGR-Cp9FHSH6.js → chunk-JQJVKLGR-Dy3HStoh.js} +1 -1
  16. package/console-app/assets/{chunk-KBJHAD2P-Brvmen34.js → chunk-KBJHAD2P-Cm5EwbeQ.js} +1 -1
  17. package/console-app/assets/{chunk-NSK5VX7P-Bo-dbDZD.js → chunk-NSK5VX7P-DZ-VVQUA.js} +1 -1
  18. package/console-app/assets/{chunk-QR6OTTB3-B5Al5KEo.js → chunk-QR6OTTB3-W5GRG-wW.js} +1 -1
  19. package/console-app/assets/{chunk-RYQCIY6F-WOZyn5It.js → chunk-RYQCIY6F-_xvZ8Hx8.js} +1 -1
  20. package/console-app/assets/{chunk-UBXNYLIW-D9OoHV5X.js → chunk-UBXNYLIW-C0L1Tpxq.js} +1 -1
  21. package/console-app/assets/{chunk-W5SLKNZC-BNTcVpi3.js → chunk-W5SLKNZC-DAyLbBQq.js} +1 -1
  22. package/console-app/assets/{chunk-WRU74C26-DXijYjrx.js → chunk-WRU74C26-BrL4inwu.js} +1 -1
  23. package/console-app/assets/chunk-XXDRQBXY-CCdCi2uV.js +1 -0
  24. package/console-app/assets/classDiagram-JCYQIIEL-Dgekxp3j.js +1 -0
  25. package/console-app/assets/classDiagram-v2-OCEON4UE-Dgekxp3j.js +1 -0
  26. package/console-app/assets/{cose-bilkent-JH36ORCC-CPN5VkQC.js → cose-bilkent-JH36ORCC-DxHzzMQL.js} +1 -1
  27. package/console-app/assets/{cynefin-VYW2F7L2-CuBPO3Z0.js → cynefin-VYW2F7L2-7ytt-CDO.js} +1 -1
  28. package/console-app/assets/{cynefinDiagram-MW4NZA55-BYc2PGXv.js → cynefinDiagram-MW4NZA55-Cq-zIV7s.js} +1 -1
  29. package/console-app/assets/{dagre-7HV9Jfb_.js → dagre-Dl-9JF5i.js} +1 -1
  30. package/console-app/assets/{dagre-VZM6K2ZE-BpPyuM7i.js → dagre-VZM6K2ZE-DLlanPb9.js} +1 -1
  31. package/console-app/assets/{diagram-7IWD3JNH-DTH9ID9z.js → diagram-7IWD3JNH-NTCRs_uw.js} +1 -1
  32. package/console-app/assets/{diagram-B4RE2ZJO-DwZb9gPm.js → diagram-B4RE2ZJO-Dwf7hoRU.js} +1 -1
  33. package/console-app/assets/{diagram-LBJQPF4R-DfvBayzk.js → diagram-LBJQPF4R-2h_a7jsr.js} +1 -1
  34. package/console-app/assets/{diagram-Q27KOJAE-hksFpSxs.js → diagram-Q27KOJAE-DuOfl1WJ.js} +1 -1
  35. package/console-app/assets/{diagram-UB23O5K3-5hEVCouO.js → diagram-UB23O5K3-Blp2hikL.js} +1 -1
  36. package/console-app/assets/{ebnfDiagram-BXEA7PRR-D0v6RJvf.js → ebnfDiagram-BXEA7PRR-BwdeYz2Z.js} +1 -1
  37. package/console-app/assets/{erDiagram-JOGREHBK-DGps-M4l.js → erDiagram-JOGREHBK-DY_x1XSg.js} +1 -1
  38. package/console-app/assets/eventmodeling-45OFAUF4-2ImzjrgM.js +1 -0
  39. package/console-app/assets/flowDiagram-UKHOOZJN-DmrgHe66.js +1 -0
  40. package/console-app/assets/{ganttDiagram-PKOTCBZU-Dok7ME1t.js → ganttDiagram-PKOTCBZU-DxiIwMWB.js} +1 -1
  41. package/console-app/assets/{gitGraph-TEB2WS4Q-8492lYYh.js → gitGraph-TEB2WS4Q-C3DsIpZV.js} +1 -1
  42. package/console-app/assets/{gitGraphDiagram-DS77QQ5N-sPOnBy5f.js → gitGraphDiagram-DS77QQ5N-C2pPy08m.js} +1 -1
  43. package/console-app/assets/{index-DqNqujdF.js → index-D6aBqNnO.js} +179 -179
  44. package/console-app/assets/{info-DKCQHKI2-U4uEmX4H.js → info-DKCQHKI2-FJuVYZ8D.js} +1 -1
  45. package/console-app/assets/{infoDiagram-6WML65LV-CNV12_Nx.js → infoDiagram-6WML65LV-Bih5T82B.js} +1 -1
  46. package/console-app/assets/{ishikawaDiagram-WSZJBQD7-CcnTBGLj.js → ishikawaDiagram-WSZJBQD7-jOkuIgMl.js} +1 -1
  47. package/console-app/assets/{journeyDiagram-NVQOT4AX-MX-UQBJ7.js → journeyDiagram-NVQOT4AX-CZ9yVscx.js} +1 -1
  48. package/console-app/assets/{kanban-definition-27J2QSJJ-BXh1Eu4D.js → kanban-definition-27J2QSJJ-Dpmgfv5c.js} +1 -1
  49. package/console-app/assets/{line-2B2dlQbw.js → line-DjmQl1gv.js} +1 -1
  50. package/console-app/assets/{linear-DAVRH-Dp.js → linear-B8fAzric.js} +1 -1
  51. package/console-app/assets/{mermaid-parser.core-DxPo1qbR.js → mermaid-parser.core-BxoecV24.js} +3 -3
  52. package/console-app/assets/{mermaid.core-DpvXaF3y.js → mermaid.core-D2Ux-Rs7.js} +4 -4
  53. package/console-app/assets/{mindmap-definition-FAOFIHXS-wIEKn4qe.js → mindmap-definition-FAOFIHXS-5xpWfvPY.js} +1 -1
  54. package/console-app/assets/{packet-7NZHBO7P-CXySycDQ.js → packet-7NZHBO7P-Bq9JPqWg.js} +1 -1
  55. package/console-app/assets/{pegDiagram-VL7TDLO6-CDGkzO6q.js → pegDiagram-VL7TDLO6-BKWLK1GI.js} +1 -1
  56. package/console-app/assets/{pie-RZYD4A2V-9woSahH7.js → pie-RZYD4A2V-CsGG-f-c.js} +1 -1
  57. package/console-app/assets/{pieDiagram-7S7Q4E2Y-DLoZWnVF.js → pieDiagram-7S7Q4E2Y-BRy6lUc2.js} +1 -1
  58. package/console-app/assets/{quadrantDiagram-CIZ2JOQS-NBGRoga7.js → quadrantDiagram-CIZ2JOQS-OcYHZLLg.js} +1 -1
  59. package/console-app/assets/{radar-I7S5WNFK-BYhW66ZA.js → radar-I7S5WNFK-8MO05jdC.js} +1 -1
  60. package/console-app/assets/{railroad-3IZDKUUU-BqHXlwF5.js → railroad-3IZDKUUU-CLs1yR0q.js} +1 -1
  61. package/console-app/assets/railroad-abnf-AHOZXSZD-CA9-7Fw1.js +1 -0
  62. package/console-app/assets/railroad-ebnf-EBAXGLYW-BhkwTTAW.js +1 -0
  63. package/console-app/assets/railroad-peg-LSFZ7HO6-BEaB8UlJ.js +1 -0
  64. package/console-app/assets/{railroadDiagram-AXF67PYL-FYQaHJ6A.js → railroadDiagram-AXF67PYL-DjpHDwhw.js} +1 -1
  65. package/console-app/assets/{requirementDiagram-LRYGKXZP-ihhW1kgC.js → requirementDiagram-LRYGKXZP-CyKaqOMR.js} +1 -1
  66. package/console-app/assets/{sankeyDiagram-W5VNT64P-Dw2EbW8v.js → sankeyDiagram-W5VNT64P-0WoWlmdY.js} +1 -1
  67. package/console-app/assets/{sequenceDiagram-SI44F4Z6-C6i_U4QX.js → sequenceDiagram-SI44F4Z6-kd31YoP4.js} +1 -1
  68. package/console-app/assets/{src-DF-84qwJ.js → src-CGPyCqg2.js} +1 -1
  69. package/console-app/assets/{stateDiagram-OKZ733FA-xH4wcMO4.js → stateDiagram-OKZ733FA-Cwy-Xwqp.js} +1 -1
  70. package/console-app/assets/stateDiagram-v2-UEYNNEHI-DExEOOCw.js +1 -0
  71. package/console-app/assets/{swimlanes-SLNWSIFB-CkFlU1Qc.js → swimlanes-SLNWSIFB-Cq0Pq-Qq.js} +1 -1
  72. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-B0RUxlCH.js +8 -0
  73. package/console-app/assets/{timeline-definition-Z64GVDOM-BQE9-7mm.js → timeline-definition-Z64GVDOM-CgFH2I_j.js} +1 -1
  74. package/console-app/assets/{treeView-QDETBFTQ-C4hse2Wn.js → treeView-QDETBFTQ-CmeHYUxi.js} +1 -1
  75. package/console-app/assets/{treemap-6X3UGDF4-Bi7ORgq6.js → treemap-6X3UGDF4-B6JWxyQe.js} +1 -1
  76. package/console-app/assets/{vennDiagram-T6HMQDX7-DbUdNREA.js → vennDiagram-T6HMQDX7-DdGYpKcz.js} +1 -1
  77. package/console-app/assets/{wardley-OPB4EBWU-BHqXIxRe.js → wardley-OPB4EBWU-BVF8AOCQ.js} +1 -1
  78. package/console-app/assets/{wardleyDiagram-T6FBY63Y-1VOvM_bb.js → wardleyDiagram-T6FBY63Y-BUFon1WP.js} +1 -1
  79. package/console-app/assets/{xychartDiagram-ELKLHX3M-C3DVfSR9.js → xychartDiagram-ELKLHX3M-Bu-WJdeF.js} +1 -1
  80. package/console-app/index.html +1 -1
  81. package/dist/.pikku/addon/index.d.ts +1 -1
  82. package/dist/.pikku/addon/index.js +1 -1
  83. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  84. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  85. package/dist/.pikku/agent/index.d.ts +1 -1
  86. package/dist/.pikku/agent/index.js +1 -1
  87. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  88. package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
  89. package/dist/.pikku/auth/index.d.ts +1 -1
  90. package/dist/.pikku/auth/index.js +1 -1
  91. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
  92. package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
  93. package/dist/.pikku/channel/index.d.ts +1 -1
  94. package/dist/.pikku/channel/index.js +1 -1
  95. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  96. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  97. package/dist/.pikku/cli/index.d.ts +1 -1
  98. package/dist/.pikku/cli/index.js +1 -1
  99. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  100. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  101. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  102. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  103. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  104. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +13 -10
  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 +13 -10
  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 +4 -28
  123. package/dist/.pikku/function/pikku-functions.gen.js +1 -3
  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 +1 -1
  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/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -1
  154. package/dist/.pikku/scenarios/index.d.ts +1 -1
  155. package/dist/.pikku/scenarios/index.js +1 -1
  156. package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
  157. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  158. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  159. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  160. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  161. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  162. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  163. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  164. package/dist/.pikku/scheduler/index.d.ts +1 -1
  165. package/dist/.pikku/scheduler/index.js +1 -1
  166. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  167. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  168. package/dist/.pikku/schemas/register.gen.js +1 -3
  169. package/dist/.pikku/schemas/schemas/FabricDeployApplyInput.schema.json +1 -1
  170. package/dist/.pikku/scopes/index.d.ts +1 -1
  171. package/dist/.pikku/scopes/index.js +1 -1
  172. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  173. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  174. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  175. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  176. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  177. package/dist/.pikku/secrets/index.d.ts +1 -1
  178. package/dist/.pikku/secrets/index.js +1 -1
  179. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  180. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  181. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  182. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  183. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
  184. package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
  185. package/dist/.pikku/setup/index.d.ts +1 -1
  186. package/dist/.pikku/setup/index.js +1 -1
  187. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
  188. package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
  189. package/dist/.pikku/trigger/index.d.ts +1 -1
  190. package/dist/.pikku/trigger/index.js +1 -1
  191. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  192. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  193. package/dist/.pikku/variables/index.d.ts +1 -1
  194. package/dist/.pikku/variables/index.js +1 -1
  195. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  196. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  197. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  198. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  199. package/dist/.pikku/workflow/index.d.ts +1 -1
  200. package/dist/.pikku/workflow/index.js +1 -1
  201. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +2 -8
  202. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  203. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  204. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  205. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  206. package/dist/bin/pikku-bin.mjs +2 -2
  207. package/dist/src/deploy/bundler/bundler.d.ts +9 -0
  208. package/dist/src/deploy/bundler/bundler.js +38 -13
  209. package/dist/src/deploy/bundler/service-module-map.d.ts +0 -16
  210. package/dist/src/deploy/bundler/service-module-map.js +20 -3
  211. package/dist/src/fabric/fabric-commands.d.ts +3 -3
  212. package/dist/src/fabric/fabric-commands.js +7 -6
  213. package/dist/src/fabric/functions/deploy.function.d.ts +14 -5
  214. package/dist/src/fabric/functions/deploy.function.js +49 -20
  215. package/dist/src/fabric/lib/stage.js +1 -1
  216. package/dist/src/functions/validate/shared-checks.js +6 -4
  217. package/dist/src/functions/workflows/all.workflow.js +0 -6
  218. package/dist/src/utils/pikku-cli-config.js +1 -7
  219. package/dist/src/utils/remove-legacy-scaffold-file.d.ts +5 -0
  220. package/dist/src/utils/remove-legacy-scaffold-file.js +11 -2
  221. package/dist/tsconfig.tsbuildinfo +1 -1
  222. package/package.json +3 -3
  223. package/snippets.json +1 -1
  224. package/surface.json +2 -2
  225. package/console-app/assets/architecture-TIHT7OUA-G_ldr-C2.js +0 -1
  226. package/console-app/assets/channel-CuDpOUYn.js +0 -1
  227. package/console-app/assets/chunk-XXDRQBXY-DRMEt0Gf.js +0 -1
  228. package/console-app/assets/classDiagram-JCYQIIEL-Bjgk6QkN.js +0 -1
  229. package/console-app/assets/classDiagram-v2-OCEON4UE-Bjgk6QkN.js +0 -1
  230. package/console-app/assets/eventmodeling-45OFAUF4-DWRslJcU.js +0 -1
  231. package/console-app/assets/flowDiagram-UKHOOZJN-CE3qN_pH.js +0 -1
  232. package/console-app/assets/railroad-abnf-AHOZXSZD-BfGOy69e.js +0 -1
  233. package/console-app/assets/railroad-ebnf-EBAXGLYW-BbGv9WfS.js +0 -1
  234. package/console-app/assets/railroad-peg-LSFZ7HO6-CCiPI8BL.js +0 -1
  235. package/console-app/assets/stateDiagram-v2-UEYNNEHI-BJln5PLd.js +0 -1
  236. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-CSLhmtbh.js +0 -8
  237. package/dist/.pikku/schemas/schemas/PikkuUserAdminFunctionsOutput.schema.json +0 -1
  238. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.d.ts +0 -1
  239. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +0 -55
  240. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +0 -25
  241. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +0 -294
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/workflow` resolves here.
@@ -291,14 +291,8 @@
291
291
  "Console functions": {
292
292
  "nodeId": "Console functions",
293
293
  "rpcName": "pikkuConsoleFunctions",
294
- "next": "User admin functions",
295
- "stepHash": "45587b4864bf"
296
- },
297
- "User admin functions": {
298
- "nodeId": "User admin functions",
299
- "rpcName": "pikkuUserAdminFunctions",
300
294
  "next": "Virtual user functions",
301
- "stepHash": "831f37173651"
295
+ "stepHash": "45587b4864bf"
302
296
  },
303
297
  "Virtual user functions": {
304
298
  "nodeId": "Virtual user functions",
@@ -663,5 +657,5 @@
663
657
  "entryNodeIds": [
664
658
  "Bootstrap inspect"
665
659
  ],
666
- "graphHash": "46fc9dfc4d55"
660
+ "graphHash": "6bc052e9c7f9"
667
661
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133
2
+ * This file was generated by @pikku/cli@0.12.136
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.133') {
15
- process.stderr.write(`\n Update available 0.12.133 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
14
+ if (latest !== '0.12.136') {
15
+ process.stderr.write(`\n Update available 0.12.136 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
16
16
  }
17
17
  } catch {}
18
18
  }
@@ -14,6 +14,15 @@
14
14
  */
15
15
  import type { DeploymentManifest, BundleOutput } from './types.js';
16
16
  import type { Bundler, BundleUnitsOptions, CompileInput, CompileResult } from './bundler.interface.js';
17
+ /**
18
+ * Read the per-unit pikku-services.gen.ts and return the set of gen file
19
+ * patterns that should be stubbed (because their service is not required).
20
+ *
21
+ * Exported for tests: the decision is easy to get subtly wrong and impossible
22
+ * to observe from outside a real bundle, where it surfaces only as a missing
23
+ * export at compile time.
24
+ */
25
+ export declare function getDeadGenFilePatterns(unitOutputDir: string): Promise<RegExp[]>;
17
26
  /**
18
27
  * Runtime-independent bundling orchestration. Subclasses implement only
19
28
  * `compile` — the actual esbuild / Bun.build invocation.
@@ -27,25 +27,50 @@ const SERVICE_GEN_FILE_MAP = {
27
27
  /**
28
28
  * Read the per-unit pikku-services.gen.ts and return the set of gen file
29
29
  * patterns that should be stubbed (because their service is not required).
30
+ *
31
+ * Exported for tests: the decision is easy to get subtly wrong and impossible
32
+ * to observe from outside a real bundle, where it surfaces only as a missing
33
+ * export at compile time.
30
34
  */
31
- async function getDeadGenFilePatterns(unitOutputDir) {
35
+ export async function getDeadGenFilePatterns(unitOutputDir) {
32
36
  const patterns = [];
33
37
  try {
34
38
  const servicesPath = join(unitOutputDir, '.pikku', 'pikku-services.gen.ts');
35
39
  const content = await readFile(servicesPath, 'utf-8');
36
40
  const match = content.match(/export const requiredSingletonServices = \{([^}]+)\}/);
37
- if (match) {
38
- for (const line of match[1].split('\n')) {
39
- const kv = line.match(/'([^']+)':\s*false/);
40
- if (!kv)
41
- continue;
42
- const service = kv[1];
43
- if (SERVICE_GEN_FILE_MAP[service]) {
44
- patterns.push(SERVICE_GEN_FILE_MAP[service]);
45
- }
46
- if (SERVICE_MODULE_MAP[service]) {
47
- patterns.push(...SERVICE_MODULE_MAP[service]);
48
- }
41
+ if (!match)
42
+ return patterns;
43
+ const services = new Map();
44
+ for (const line of match[1].split('\n')) {
45
+ const kv = line.match(/'([^']+)':\s*(true|false)/);
46
+ if (kv)
47
+ services.set(kv[1], kv[2] === 'true');
48
+ }
49
+ // Several service names can front the same npm modules — `agentRunner` and
50
+ // `ai` both mean "this unit has a model" (SERVICE_CAPABILITY_MAP grants
51
+ // 'ai-model' to each). A module set is therefore dead only when NO required
52
+ // service claims it. Reading the unrequired services alone stubbed the AI
53
+ // SDKs out of every unit that wired `ai`, because those units still report
54
+ // `'agentRunner': false` on the line above `'ai': true` — and a unit that
55
+ // asks for a model does import them, so the bundle failed rather than
56
+ // shrinking.
57
+ const claimed = new Set();
58
+ for (const [service, required] of services) {
59
+ if (!required)
60
+ continue;
61
+ for (const pattern of SERVICE_MODULE_MAP[service] ?? []) {
62
+ claimed.add(pattern.source);
63
+ }
64
+ }
65
+ for (const [service, required] of services) {
66
+ if (required)
67
+ continue;
68
+ const genPattern = SERVICE_GEN_FILE_MAP[service];
69
+ if (genPattern)
70
+ patterns.push(genPattern);
71
+ for (const pattern of SERVICE_MODULE_MAP[service] ?? []) {
72
+ if (!claimed.has(pattern.source))
73
+ patterns.push(pattern);
49
74
  }
50
75
  }
51
76
  }
@@ -1,17 +1 @@
1
- /**
2
- * Mapping of service name -> npm module patterns to stub when the service is
3
- * NOT required by a deployment unit. These are external packages, not gen
4
- * files: a unit that doesn't wire the service never executes the code path
5
- * that imports them, so replacing them with `export {}` keeps their (often
6
- * large) trees out of the bundle.
7
- *
8
- * The AI SDKs (@pikku/ai-vercel + @ai-sdk/* + `ai`, ~3MB) are only constructed
9
- * when `agentRunner` is wired (agent units). Every non-agent unit stubs them.
10
- * The shared services factory must guard the runner construction behind a
11
- * defined-check on the dynamic import so a stubbed unit simply skips it.
12
- *
13
- * It lives in its own module so `pikku validate` can warn about a static import
14
- * of a stubbed package without pulling the bundler in — a check that reads a
15
- * second copy of this list would go stale the first time the list changed.
16
- */
17
1
  export declare const SERVICE_MODULE_MAP: Record<string, RegExp[]>;
@@ -6,14 +6,31 @@
6
6
  * large) trees out of the bundle.
7
7
  *
8
8
  * The AI SDKs (@pikku/ai-vercel + @ai-sdk/* + `ai`, ~3MB) are only constructed
9
- * when `agentRunner` is wired (agent units). Every non-agent unit stubs them.
10
- * The shared services factory must guard the runner construction behind a
9
+ * when a model-bearing service is wired. Every other unit stubs them. The
10
+ * shared services factory must guard the runner construction behind a
11
11
  * defined-check on the dynamic import so a stubbed unit simply skips it.
12
12
  *
13
+ * Two names reach a model, and both must claim these modules. `agentRunner` is
14
+ * the core AgentRunnerService that runs declared agents; `ai` is not a core
15
+ * service at all but the conventional name for an app's own model wrapper, and
16
+ * the deploy analyzer grants `ai-model` to both (SERVICE_CAPABILITY_MAP). While
17
+ * only `agentRunner` was listed here, a unit that destructured `ai` was given
18
+ * the model capability and had the SDKs stubbed out from under it in the same
19
+ * build — `requiredSingletonServices` says `'agentRunner': false, 'ai': true`
20
+ * and the stub pass read only the first line. That fails the bundle outright
21
+ * ("No matching export in pikku-stub:@pikku/ai-vercel for VercelAgentRunner")
22
+ * rather than degrading, because a unit asking for a model does import them.
23
+ *
24
+ * They share one array so the patterns are identity-equal: getDeadGenFilePatterns
25
+ * decides a module set is dead by comparing pattern sources across services, and
26
+ * two separately-written copies of the same regex would defeat that.
27
+ *
13
28
  * It lives in its own module so `pikku validate` can warn about a static import
14
29
  * of a stubbed package without pulling the bundler in — a check that reads a
15
30
  * second copy of this list would go stale the first time the list changed.
16
31
  */
32
+ const AI_SDK_MODULES = [/^@pikku\/ai-vercel/, /^@ai-sdk\//, /^ai$/];
17
33
  export const SERVICE_MODULE_MAP = {
18
- agentRunner: [/^@pikku\/ai-vercel/, /^@ai-sdk\//, /^ai$/],
34
+ agentRunner: AI_SDK_MODULES,
35
+ ai: AI_SDK_MODULES,
19
36
  };
@@ -284,7 +284,7 @@ export declare const fabricCommands: {
284
284
  production?: boolean | undefined;
285
285
  ref?: string | undefined;
286
286
  deploymentId?: string | undefined;
287
- sync?: boolean | undefined;
287
+ detach?: boolean | undefined;
288
288
  autoApprove?: boolean | undefined;
289
289
  allowDestructive?: boolean | undefined;
290
290
  timeout?: number | undefined;
@@ -347,7 +347,7 @@ export declare const fabricCommands: {
347
347
  production?: boolean | undefined;
348
348
  ref?: string | undefined;
349
349
  deploymentId?: string | undefined;
350
- sync?: boolean | undefined;
350
+ detach?: boolean | undefined;
351
351
  autoApprove?: boolean | undefined;
352
352
  allowDestructive?: boolean | undefined;
353
353
  timeout?: number | undefined;
@@ -410,7 +410,7 @@ export declare const fabricCommands: {
410
410
  production?: boolean | undefined;
411
411
  ref?: string | undefined;
412
412
  deploymentId?: string | undefined;
413
- sync?: boolean | undefined;
413
+ detach?: boolean | undefined;
414
414
  autoApprove?: boolean | undefined;
415
415
  allowDestructive?: boolean | undefined;
416
416
  timeout?: number | undefined;
@@ -160,11 +160,11 @@ export const fabricCommands = defineCLICommands({
160
160
  description: 'Apply and inspect deploys for a named branch or production',
161
161
  subcommands: {
162
162
  apply: pikkuCLICommand({
163
+ parameters: '[branch]',
163
164
  func: FabricDeployApply,
164
165
  render: renderDeployApply,
165
166
  description: 'Build + deploy a named branch or production (main), or attach to an existing deployment',
166
167
  options: {
167
- branch: { description: 'Target branch to deploy', short: 'b' },
168
168
  production: {
169
169
  description: 'Deploy production (always main)',
170
170
  default: false,
@@ -173,22 +173,23 @@ export const fabricCommands = defineCLICommands({
173
173
  description: 'Deploy a specific ref instead of the branch head',
174
174
  },
175
175
  deploymentId: {
176
- description: 'Attach to an existing deployment instead of creating one (not with --branch/--production)',
176
+ description: 'Attach to an existing deployment instead of creating one (not with a branch/--production)',
177
177
  },
178
- sync: {
179
- description: 'Wait for the deployment to finish and exit non-zero unless it went live',
178
+ detach: {
179
+ description: 'Queue the deployment and exit without waiting, reporting nothing about whether it landed',
180
180
  default: false,
181
181
  },
182
182
  autoApprove: {
183
183
  description: 'Answer the confirmation prompt and publish a plan parked at the approval gate',
184
+ short: 'y',
184
185
  default: false,
185
186
  },
186
187
  allowDestructive: {
187
- description: 'Approve a plan whose migrations drop or rewrite data (--auto-approve alone will not)',
188
+ description: 'Approve a plan whose migrations drop or rewrite data (-y alone will not)',
188
189
  default: false,
189
190
  },
190
191
  timeout: {
191
- description: 'Seconds to wait under --sync (default 900)',
192
+ description: 'Seconds to wait for the deployment (default 900)',
192
193
  },
193
194
  json: {
194
195
  description: 'Machine-readable output (NDJSON)',
@@ -4,7 +4,7 @@ export declare const FabricDeployInput: z.ZodObject<{
4
4
  production: z.ZodOptional<z.ZodBoolean>;
5
5
  ref: z.ZodOptional<z.ZodString>;
6
6
  deploymentId: z.ZodOptional<z.ZodString>;
7
- sync: z.ZodOptional<z.ZodBoolean>;
7
+ detach: z.ZodOptional<z.ZodBoolean>;
8
8
  autoApprove: z.ZodOptional<z.ZodBoolean>;
9
9
  allowDestructive: z.ZodOptional<z.ZodBoolean>;
10
10
  timeout: z.ZodOptional<z.ZodNumber>;
@@ -15,7 +15,7 @@ export declare const FabricDeployValidatedInput: z.ZodObject<{
15
15
  production: z.ZodOptional<z.ZodBoolean>;
16
16
  ref: z.ZodOptional<z.ZodString>;
17
17
  deploymentId: z.ZodOptional<z.ZodString>;
18
- sync: z.ZodOptional<z.ZodBoolean>;
18
+ detach: z.ZodOptional<z.ZodBoolean>;
19
19
  autoApprove: z.ZodOptional<z.ZodBoolean>;
20
20
  allowDestructive: z.ZodOptional<z.ZodBoolean>;
21
21
  timeout: z.ZodOptional<z.ZodNumber>;
@@ -90,12 +90,21 @@ export declare const FabricDeployApplyOutput: z.ZodObject<{
90
90
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
91
91
  }, z.core.$strip>;
92
92
  type ApplyOutput = z.infer<typeof FabricDeployApplyOutput>;
93
+ /**
94
+ * The branch to deploy when none was named, read off the checkout.
95
+ *
96
+ * `git rev-parse --abbrev-ref HEAD` answers the literal string `HEAD` on a
97
+ * detached checkout, which is not a branch and would be reported downstream as
98
+ * a branch that does not exist locally. Naming the real problem here is the
99
+ * difference between "check out a branch" and a puzzle.
100
+ */
101
+ export declare const branchFromHead: (head: string) => string;
93
102
  export declare const FabricDeployApply: import("../../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
94
103
  branch?: string | undefined;
95
104
  production?: boolean | undefined;
96
105
  ref?: string | undefined;
97
106
  deploymentId?: string | undefined;
98
- sync?: boolean | undefined;
107
+ detach?: boolean | undefined;
99
108
  autoApprove?: boolean | undefined;
100
109
  allowDestructive?: boolean | undefined;
101
110
  timeout?: number | undefined;
@@ -158,7 +167,7 @@ export declare const FabricDeployApply: import("../../../.pikku/function/pikku-f
158
167
  production?: boolean | undefined;
159
168
  ref?: string | undefined;
160
169
  deploymentId?: string | undefined;
161
- sync?: boolean | undefined;
170
+ detach?: boolean | undefined;
162
171
  autoApprove?: boolean | undefined;
163
172
  allowDestructive?: boolean | undefined;
164
173
  timeout?: number | undefined;
@@ -221,7 +230,7 @@ export declare const FabricDeployApply: import("../../../.pikku/function/pikku-f
221
230
  production?: boolean | undefined;
222
231
  ref?: string | undefined;
223
232
  deploymentId?: string | undefined;
224
- sync?: boolean | undefined;
233
+ detach?: boolean | undefined;
225
234
  autoApprove?: boolean | undefined;
226
235
  allowDestructive?: boolean | undefined;
227
236
  timeout?: number | undefined;