@pikku/cli 0.12.156 → 0.12.160

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 (280) hide show
  1. package/console-app/assets/{HelpPanel-DaE02BQE.js → HelpPanel-C06T226y.js} +1 -1
  2. package/console-app/assets/{abnfDiagram-VCTEODGH-CExRuljg.js → abnfDiagram-VCTEODGH-BVwdT3Es.js} +1 -1
  3. package/console-app/assets/architecture-7GRP2DOG-3y7bWtag.js +1 -0
  4. package/console-app/assets/{architectureDiagram-5GKGNRK7-uKjmdPIQ.js → architectureDiagram-5GKGNRK7-XfzqZ3mW.js} +1 -1
  5. package/console-app/assets/{blockDiagram-I7D4REHJ-DNgIFbT4.js → blockDiagram-I7D4REHJ-B5omSqDK.js} +1 -1
  6. package/console-app/assets/{c4Diagram-7LVT6UL2-0vP9sLld.js → c4Diagram-7LVT6UL2-DkPe7xCg.js} +1 -1
  7. package/console-app/assets/channel-CTiluQVw.js +1 -0
  8. package/console-app/assets/{chunk-4HAMMTFA-BJ59eqJI.js → chunk-4HAMMTFA-QfSXT_X7.js} +1 -1
  9. package/console-app/assets/{chunk-75Z2AOVW-Bge6xoqX.js → chunk-75Z2AOVW-h7UnPWNo.js} +1 -1
  10. package/console-app/assets/{chunk-DU6HZSFF-CkmYNhC5.js → chunk-DU6HZSFF-VaMy-LOI.js} +1 -1
  11. package/console-app/assets/{chunk-F27PBJKO-C44ef28t.js → chunk-F27PBJKO-toywqOqS.js} +1 -1
  12. package/console-app/assets/{chunk-GMAD6QVW-Bmqdx1l0.js → chunk-GMAD6QVW-Cpa-YKLB.js} +1 -1
  13. package/console-app/assets/{chunk-GVQU2GXP-AQp_KNx4.js → chunk-GVQU2GXP-BWSHPLNL.js} +1 -1
  14. package/console-app/assets/{chunk-IMKFNOWR-Ca3GoHnO.js → chunk-IMKFNOWR-yhQzfQuj.js} +1 -1
  15. package/console-app/assets/{chunk-L3NEJ4N5-C_GhayZt.js → chunk-L3NEJ4N5-C8pAfDlo.js} +1 -1
  16. package/console-app/assets/{chunk-OSK3NFVY-DGzfF4JV.js → chunk-OSK3NFVY-749yk2fa.js} +1 -1
  17. package/console-app/assets/{chunk-P2QGCYS3-N8xMDiFw.js → chunk-P2QGCYS3-C1Y9GyYT.js} +1 -1
  18. package/console-app/assets/{chunk-POPQ4Y6H-CdhIikwj.js → chunk-POPQ4Y6H-DzI9aRsX.js} +1 -1
  19. package/console-app/assets/{chunk-PWAF6VOD-CdTJmOYg.js → chunk-PWAF6VOD-D3fAPSwz.js} +1 -1
  20. package/console-app/assets/{chunk-SHT3W25Y-Ctj8zSAF.js → chunk-SHT3W25Y-D9w7LzM9.js} +1 -1
  21. package/console-app/assets/{chunk-SVP7TREG-DTNKveWo.js → chunk-SVP7TREG-D55MjOJw.js} +1 -1
  22. package/console-app/assets/{chunk-TICWLB2K-Df6e0LIf.js → chunk-TICWLB2K-DV8q7H-z.js} +1 -1
  23. package/console-app/assets/chunk-XXDRQBXY-DBtYQykd.js +1 -0
  24. package/console-app/assets/classDiagram-ZZMXUADV-BnWa-i9n.js +1 -0
  25. package/console-app/assets/classDiagram-v2-VYDZK3BY-BnWa-i9n.js +1 -0
  26. package/console-app/assets/{cose-bilkent-JH36ORCC-DBd_emhQ.js → cose-bilkent-JH36ORCC-CLedPW9a.js} +1 -1
  27. package/console-app/assets/{cynefin-OW5HDTMX-3aBVpBMI.js → cynefin-OW5HDTMX-CS5NKw2p.js} +1 -1
  28. package/console-app/assets/{cynefinDiagram-5FMLGOSQ-5BZzBehJ.js → cynefinDiagram-5FMLGOSQ-DGTHW90E.js} +1 -1
  29. package/console-app/assets/{dagre-DATELzSq.js → dagre-BNQdos_2.js} +1 -1
  30. package/console-app/assets/{dagre-GXQ25YYZ-orKIUXIt.js → dagre-GXQ25YYZ-DHZ8wtwQ.js} +1 -1
  31. package/console-app/assets/{diagram-S7CK7UJ4-CwwxVQ_N.js → diagram-S7CK7UJ4-C41Begsy.js} +1 -1
  32. package/console-app/assets/{diagram-UQ7AKVKN-CcEJxIEU.js → diagram-UQ7AKVKN-CU8D-sRT.js} +1 -1
  33. package/console-app/assets/{diagram-VSXAHHWV-DGfXNB6v.js → diagram-VSXAHHWV-DTTiXYnQ.js} +1 -1
  34. package/console-app/assets/{diagram-VX7I27RA-Kqkord1q.js → diagram-VX7I27RA-BBy91pxm.js} +1 -1
  35. package/console-app/assets/{diagram-Z3DM3KII-Dy5rfOxu.js → diagram-Z3DM3KII-D50xTYe5.js} +1 -1
  36. package/console-app/assets/{ebnfDiagram-PWID7BFC-y1bmj1ry.js → ebnfDiagram-PWID7BFC-BHjnFZgE.js} +1 -1
  37. package/console-app/assets/{erDiagram-RLTQ6QDP-CNk_w5Ib.js → erDiagram-RLTQ6QDP-B4-yVo9b.js} +1 -1
  38. package/console-app/assets/eventmodeling-NTZA5JFV-C_IpFSCw.js +1 -0
  39. package/console-app/assets/flowDiagram-HODETNUW-Q90rgVpx.js +1 -0
  40. package/console-app/assets/{ganttDiagram-EL5Y4UJY-DdVaRGRy.js → ganttDiagram-EL5Y4UJY-D1T-2BlO.js} +1 -1
  41. package/console-app/assets/{gitGraph-4MIJSDKK-DpSAepQv.js → gitGraph-4MIJSDKK-ClqKTUfQ.js} +1 -1
  42. package/console-app/assets/{gitGraphDiagram-WWUBYQGX-CIhGnwZW.js → gitGraphDiagram-WWUBYQGX-ruq2MAhM.js} +1 -1
  43. package/console-app/assets/{graphlib-CRp93vEd.js → graphlib-D-vLYPdw.js} +1 -1
  44. package/console-app/assets/{index-B34OoL_f.js → index-BIEZPuyK.js} +5 -5
  45. package/console-app/assets/{info-A6RAGUB7-DckDPZ56.js → info-A6RAGUB7-BGI-8HNB.js} +1 -1
  46. package/console-app/assets/{infoDiagram-27XIBGKW-DMk6mpjP.js → infoDiagram-27XIBGKW-BGURgKHv.js} +1 -1
  47. package/console-app/assets/{ishikawaDiagram-5VMMS53U-Dqr5CEc9.js → ishikawaDiagram-5VMMS53U-DzgAaPTR.js} +1 -1
  48. package/console-app/assets/{journeyDiagram-3NMN7TZE-Kv0orI9j.js → journeyDiagram-3NMN7TZE-BsyWad8z.js} +1 -1
  49. package/console-app/assets/{kanban-definition-UXKFOSKX-BrYb0IpS.js → kanban-definition-UXKFOSKX-g1nO2rWF.js} +1 -1
  50. package/console-app/assets/{line-D2jQ449E.js → line-CeFoQ5y-.js} +1 -1
  51. package/console-app/assets/{linear-BKu0S9-y.js → linear-C4Pk-YMX.js} +1 -1
  52. package/console-app/assets/{mermaid-parser.core-DhWf8x6B.js → mermaid-parser.core-U7wquvx8.js} +3 -3
  53. package/console-app/assets/{mermaid.core-RkgzUTr1.js → mermaid.core-8TRpFRm9.js} +4 -4
  54. package/console-app/assets/{mindmap-definition-YA3MSWOX-BKATx3X1.js → mindmap-definition-YA3MSWOX-C7lzwqBX.js} +1 -1
  55. package/console-app/assets/{packet-AYTQ26CC-Dek-5xov.js → packet-AYTQ26CC-DiQV_rU3.js} +1 -1
  56. package/console-app/assets/{pegDiagram-XKGWAZYB-CkEJ5MeF.js → pegDiagram-XKGWAZYB-63ajP7-W.js} +1 -1
  57. package/console-app/assets/{pie-WAS4IAKB-BIoN9DHQ.js → pie-WAS4IAKB-B5q_o6dr.js} +1 -1
  58. package/console-app/assets/{pieDiagram-E7YTZNPT-CEPQgMPk.js → pieDiagram-E7YTZNPT-BTbvj-by.js} +1 -1
  59. package/console-app/assets/{quadrantDiagram-AXDQQJYC-eJxMa_50.js → quadrantDiagram-AXDQQJYC-CulqsAYd.js} +1 -1
  60. package/console-app/assets/{radar-RG4KPBEZ-BwJnovJ0.js → radar-RG4KPBEZ-CW_KoURS.js} +1 -1
  61. package/console-app/assets/{railroad-74A4TZTK-D1_fi4Md.js → railroad-74A4TZTK-CUmF6uBQ.js} +1 -1
  62. package/console-app/assets/railroad-abnf-HS5TGJTU-CcPw9q8a.js +1 -0
  63. package/console-app/assets/railroad-ebnf-LZEXJU2U-Ci_fZics.js +1 -0
  64. package/console-app/assets/railroad-peg-WCYAUIDC-DTsDykSf.js +1 -0
  65. package/console-app/assets/{railroadDiagram-O6MQD6OU-BpOx1Ffe.js → railroadDiagram-O6MQD6OU-WlkBu_N3.js} +1 -1
  66. package/console-app/assets/{requirementDiagram-BXWQKSXE-D-IEFxpk.js → requirementDiagram-BXWQKSXE-CJK_CbPR.js} +1 -1
  67. package/console-app/assets/{sankeyDiagram-P5KCCOFB-SdALSgLt.js → sankeyDiagram-P5KCCOFB-C466WOH8.js} +1 -1
  68. package/console-app/assets/{sequenceDiagram-WJ2MYXX4-Burhioru.js → sequenceDiagram-WJ2MYXX4-CV0dCcj0.js} +1 -1
  69. package/console-app/assets/{src-BI-J79xw.js → src-P4Nw8sY0.js} +1 -1
  70. package/console-app/assets/{stateDiagram-D77RDMKH-BhWb5zb7.js → stateDiagram-D77RDMKH-HaLGm8V9.js} +1 -1
  71. package/console-app/assets/stateDiagram-v2-MP3YSRHH--GM14Hz5.js +1 -0
  72. package/console-app/assets/{swimlanes-42K2YHIH-BoaeXC6b.js → swimlanes-42K2YHIH-Bi-O5vWa.js} +1 -1
  73. package/console-app/assets/swimlanesDiagram-VR7AAH4N-_6rRi6Wt.js +8 -0
  74. package/console-app/assets/{timeline-definition-24CTP7MA-uuBDVcEL.js → timeline-definition-24CTP7MA-B4h-gx-i.js} +1 -1
  75. package/console-app/assets/{treeView-Q6P3EWNA-BRZawPMp.js → treeView-Q6P3EWNA-CXJ_pHQw.js} +1 -1
  76. package/console-app/assets/{treemap-WGGIJYW6-WSINjp5g.js → treemap-WGGIJYW6-M84p2a_3.js} +1 -1
  77. package/console-app/assets/{vennDiagram-4TSXK5OY-K6UjE9uq.js → vennDiagram-4TSXK5OY-BesF4k_r.js} +1 -1
  78. package/console-app/assets/{wardley-WFR3VGLG-BMecQ-Z6.js → wardley-WFR3VGLG-n9ulickP.js} +1 -1
  79. package/console-app/assets/{wardleyDiagram-VM6X3IG4-9blTcGMt.js → wardleyDiagram-VM6X3IG4-BG0nnWDf.js} +1 -1
  80. package/console-app/assets/{xychartDiagram-S5SC5T6Z-DSnHhis6.js → xychartDiagram-S5SC5T6Z-BtOW7fpF.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 +6 -1
  105. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  106. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  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 +11 -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 +55 -3
  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 +1 -1
  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 +38 -21
  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/rpc/pikku-rpc-wirings-meta.internal.gen.json +1 -0
  159. package/dist/.pikku/scenarios/index.d.ts +1 -1
  160. package/dist/.pikku/scenarios/index.js +1 -1
  161. package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
  162. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  163. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  164. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +7 -1
  165. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  166. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  167. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  168. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  169. package/dist/.pikku/scheduler/index.d.ts +1 -1
  170. package/dist/.pikku/scheduler/index.js +1 -1
  171. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  172. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  173. package/dist/.pikku/schemas/register.gen.js +3 -1
  174. package/dist/.pikku/schemas/schemas/FabricChangesAskInput.schema.json +1 -1
  175. package/dist/.pikku/schemas/schemas/FabricInitInput.schema.json +1 -1
  176. package/dist/.pikku/schemas/schemas/FabricLinkInput.schema.json +1 -1
  177. package/dist/.pikku/schemas/schemas/KnowledgeReconcileInput.schema.json +1 -1
  178. package/dist/.pikku/schemas/schemas/KnowledgeReconcileOutput.schema.json +1 -1
  179. package/dist/.pikku/schemas/schemas/PikkuSkillsInstallInput.schema.json +1 -1
  180. package/dist/.pikku/schemas/schemas/ScenarioGuideInput.schema.json +1 -0
  181. package/dist/.pikku/scopes/index.d.ts +1 -1
  182. package/dist/.pikku/scopes/index.js +1 -1
  183. package/dist/.pikku/scopes/pikku-flags.gen.d.ts +1 -1
  184. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  185. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  186. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  187. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  188. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  189. package/dist/.pikku/secrets/index.d.ts +1 -1
  190. package/dist/.pikku/secrets/index.js +1 -1
  191. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  192. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  193. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  194. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  195. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
  196. package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
  197. package/dist/.pikku/setup/index.d.ts +1 -1
  198. package/dist/.pikku/setup/index.js +1 -1
  199. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
  200. package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
  201. package/dist/.pikku/trigger/index.d.ts +1 -1
  202. package/dist/.pikku/trigger/index.js +1 -1
  203. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  204. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  205. package/dist/.pikku/variables/index.d.ts +1 -1
  206. package/dist/.pikku/variables/index.js +1 -1
  207. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  208. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  209. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  210. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  211. package/dist/.pikku/workflow/index.d.ts +1 -1
  212. package/dist/.pikku/workflow/index.js +1 -1
  213. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  214. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  215. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  216. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  217. package/dist/bin/pikku-bin.mjs +3 -3
  218. package/dist/src/cli.wiring.js +44 -2
  219. package/dist/src/deploy/analyzer/analyzer.js +93 -4
  220. package/dist/src/deploy/build-pipeline.d.ts +2 -0
  221. package/dist/src/deploy/build-pipeline.js +4 -3
  222. package/dist/src/deploy/codegen/per-unit-codegen.js +24 -0
  223. package/dist/src/fabric/fabric-commands.d.ts +9 -0
  224. package/dist/src/fabric/fabric-commands.js +11 -1
  225. package/dist/src/fabric/functions/changes-ask.function.d.ts +4 -0
  226. package/dist/src/fabric/functions/changes-ask.function.js +7 -1
  227. package/dist/src/fabric/functions/init.function.d.ts +4 -0
  228. package/dist/src/fabric/functions/init.function.js +5 -1
  229. package/dist/src/fabric/functions/link.function.d.ts +4 -0
  230. package/dist/src/fabric/functions/link.function.js +9 -1
  231. package/dist/src/fabric/lib/organization.d.ts +8 -0
  232. package/dist/src/fabric/lib/organization.js +26 -0
  233. package/dist/src/functions/commands/deploy-apply.js +129 -13
  234. package/dist/src/functions/commands/deploy-plan.js +1 -0
  235. package/dist/src/functions/commands/dev-mcp-manifests.d.ts +27 -0
  236. package/dist/src/functions/commands/dev-mcp-manifests.js +52 -0
  237. package/dist/src/functions/commands/dev.js +10 -30
  238. package/dist/src/functions/commands/knowledge-reconcile.d.ts +15 -3
  239. package/dist/src/functions/commands/knowledge-reconcile.js +1 -1
  240. package/dist/src/functions/commands/scenario-guide.d.ts +184 -0
  241. package/dist/src/functions/commands/scenario-guide.js +313 -0
  242. package/dist/src/functions/commands/scenario-ladder.d.ts +3 -1
  243. package/dist/src/functions/commands/scenario-ladder.js +1 -0
  244. package/dist/src/functions/commands/scenario-plan.d.ts +17 -1
  245. package/dist/src/functions/commands/scenario-plan.js +15 -0
  246. package/dist/src/functions/commands/scenario.d.ts +30 -0
  247. package/dist/src/functions/commands/scenario.js +187 -23
  248. package/dist/src/functions/commands/skill-agents.d.ts +43 -0
  249. package/dist/src/functions/commands/skill-agents.js +135 -0
  250. package/dist/src/functions/commands/skills.d.ts +9 -0
  251. package/dist/src/functions/commands/skills.js +29 -2
  252. package/dist/src/functions/db/postgres/postgres-introspector.d.ts +6 -0
  253. package/dist/src/functions/db/postgres/postgres-introspector.js +7 -1
  254. package/dist/src/functions/knowledge/render.d.ts +1 -1
  255. package/dist/src/functions/knowledge/render.js +25 -2
  256. package/dist/src/functions/knowledge/schemas.d.ts +5 -1
  257. package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.js +32 -5
  258. package/dist/src/functions/wirings/scenarios/serialize-feature-meta.js +1 -0
  259. package/dist/src/functions/wirings/workflow/serialize-scenario-types.js +6 -0
  260. package/dist/src/server/bun-server-runner.js +1 -0
  261. package/dist/src/server/dev-server-runner.interface.d.ts +13 -0
  262. package/dist/src/server/node-server-runner.js +1 -0
  263. package/dist/src/services.js +3 -1
  264. package/dist/src/utils/mcp-surface.d.ts +8 -0
  265. package/dist/src/utils/mcp-surface.js +9 -0
  266. package/dist/tsconfig.tsbuildinfo +1 -1
  267. package/package.json +12 -12
  268. package/surface.json +19 -13
  269. package/console-app/assets/architecture-7GRP2DOG-DMiKIh61.js +0 -1
  270. package/console-app/assets/channel-D3pFDQ-Y.js +0 -1
  271. package/console-app/assets/chunk-XXDRQBXY-CPBzG1Ie.js +0 -1
  272. package/console-app/assets/classDiagram-ZZMXUADV-Bh5HK4MN.js +0 -1
  273. package/console-app/assets/classDiagram-v2-VYDZK3BY-Bh5HK4MN.js +0 -1
  274. package/console-app/assets/eventmodeling-NTZA5JFV-DLjVcr4S.js +0 -1
  275. package/console-app/assets/flowDiagram-HODETNUW-CCiyVZIU.js +0 -1
  276. package/console-app/assets/railroad-abnf-HS5TGJTU-D-_q3UaA.js +0 -1
  277. package/console-app/assets/railroad-ebnf-LZEXJU2U-kh7JN-2k.js +0 -1
  278. package/console-app/assets/railroad-peg-WCYAUIDC-rrwoksLW.js +0 -1
  279. package/console-app/assets/stateDiagram-v2-MP3YSRHH-OjHOAFS5.js +0 -1
  280. package/console-app/assets/swimlanesDiagram-VR7AAH4N-CkKXVcij.js +0 -8
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.156
2
+ * This file was generated by @pikku/cli@0.12.160
3
3
  */
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.156
2
+ * This file was generated by @pikku/cli@0.12.160
3
3
  */
4
4
  import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
5
5
  import type { PikkuWorkflowWire } from '@pikku/core/workflow';
@@ -130,6 +130,12 @@ type PikkuFeatureConfig<Scenarios extends readonly unknown[]> = {
130
130
  name: string;
131
131
  description?: string;
132
132
  tags?: string[];
133
+ /**
134
+ * Whether this feature is guide material, defaulting to true. `pikku scenario
135
+ * guide` requires every documented feature to be cited by a page; a feature
136
+ * that is pure plumbing sets this false rather than being written about.
137
+ */
138
+ document?: boolean;
133
139
  scenarios: {
134
140
  [K in keyof Scenarios]: PikkuFeatureEntry<Scenarios[K]>;
135
141
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
3
3
  */
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
3
3
  */
4
4
  export const empty = null;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
@@ -388,6 +388,8 @@ import * as RolesAuditInput from './schemas/RolesAuditInput.schema.json' with {
388
388
  addSchema('RolesAuditInput', RolesAuditInput);
389
389
  import * as RolesPruneInput from './schemas/RolesPruneInput.schema.json' with { type: 'json' };
390
390
  addSchema('RolesPruneInput', RolesPruneInput);
391
+ import * as ScenarioGuideInput from './schemas/ScenarioGuideInput.schema.json' with { type: 'json' };
392
+ addSchema('ScenarioGuideInput', ScenarioGuideInput);
391
393
  import * as ScenarioListInput from './schemas/ScenarioListInput.schema.json' with { type: 'json' };
392
394
  addSchema('ScenarioListInput', ScenarioListInput);
393
395
  import * as ScopesAuditInput from './schemas/ScopesAuditInput.schema.json' with { type: 'json' };
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "apiUrl": { "type": "string" }, "changeId": { "type": "string" }, "question": { "type": "string", "minLength": 1 }, "authorName": { "type": "string" } }, "required": ["changeId", "question"], "additionalProperties": false }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "apiUrl": { "type": "string" }, "changeId": { "type": "string" }, "question": { "type": "string", "minLength": 1 }, "option": { "maxItems": 6, "type": "array", "items": { "type": "string", "minLength": 1 } }, "authorName": { "type": "string" } }, "required": ["changeId", "question"], "additionalProperties": false }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "repo": { "type": "string" }, "name": { "type": "string" }, "branch": { "type": "string" }, "force": { "type": "boolean" }, "apiUrl": { "type": "string" } }, "required": ["repo"], "additionalProperties": false }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "repo": { "type": "string" }, "name": { "type": "string" }, "branch": { "type": "string" }, "force": { "type": "boolean" }, "apiUrl": { "type": "string" }, "organization": { "type": "string" } }, "required": ["repo"], "additionalProperties": false }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "apiUrl": { "type": "string" }, "github": { "type": "boolean" }, "gitea": { "type": "boolean" }, "repoName": { "type": "string" } }, "additionalProperties": false }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "apiUrl": { "type": "string" }, "github": { "type": "boolean" }, "gitea": { "type": "boolean" }, "repoName": { "type": "string" }, "organization": { "type": "string" } }, "additionalProperties": false }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {}, "additionalProperties": false }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "require": { "type": "string" } }, "additionalProperties": false }
@@ -1 +1 @@
1
- { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "kind": { "type": "string", "enum": ["idle", "repair-note", "write-plan", "ask-user", "dispatch", "hold"] }, "reason": { "type": "string" }, "note": { "type": "string" }, "hold": { "type": "string" }, "notes": { "type": "array", "items": { "type": "string" } }, "question": { "type": "object", "properties": { "header": { "type": "string" }, "question": { "type": "string" }, "options": { "default": [], "type": "array", "items": { "type": "object", "properties": { "label": { "type": "string" }, "description": { "type": "string" } }, "required": ["label"], "additionalProperties": false } } }, "required": ["header", "question", "options"], "additionalProperties": false } }, "required": ["kind", "reason"], "additionalProperties": false }
1
+ { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "kind": { "type": "string", "enum": ["idle", "repair-note", "write-plan", "ask-user", "dispatch", "hold"] }, "reason": { "type": "string" }, "note": { "type": "string" }, "hold": { "type": "string" }, "notes": { "type": "array", "items": { "type": "string" } }, "question": { "type": "object", "properties": { "header": { "type": "string" }, "question": { "type": "string" }, "options": { "default": [], "type": "array", "items": { "type": "object", "properties": { "label": { "type": "string" }, "description": { "type": "string" } }, "required": ["label"], "additionalProperties": false } } }, "required": ["header", "question", "options"], "additionalProperties": false }, "satisfied": { "type": "boolean" }, "required": { "type": "array", "items": { "type": "string" } } }, "required": ["kind", "reason"], "additionalProperties": false }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "agent": { "type": "string" }, "only": { "type": "string" }, "core": { "type": "boolean" }, "fabric": { "type": "boolean" }, "client": { "type": "boolean" }, "update": { "type": "boolean" } }, "additionalProperties": false, "definitions": {} }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "agent": { "type": "string" }, "only": { "type": "string" }, "core": { "type": "boolean" }, "fabric": { "type": "boolean" }, "client": { "type": "boolean" }, "update": { "type": "boolean" }, "agentExtensions": { "type": "string" }, "agentDir": { "type": "string" }, "agentSkillDir": { "type": "string" } }, "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "docs": { "type": "string" }, "output": { "type": "string" }, "runId": { "type": "string" }, "allowUndocumented": { "type": "boolean" }, "artifactBase": { "type": "string" } }, "additionalProperties": false, "definitions": {} }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156
2
+ * This file was generated by @pikku/cli@0.12.160
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.156') {
15
- process.stderr.write(`\n Update available 0.12.156 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
14
+ if (latest !== '0.12.160') {
15
+ process.stderr.write(`\n Update available 0.12.160 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
16
16
  }
17
17
  } catch {}
18
18
  }
@@ -20,4 +20,4 @@ import { PikkuCLI } from '../.pikku/cli/pikku-cli.gen.js'
20
20
  const updateCheck = checkForUpdate()
21
21
  await PikkuCLI(process.argv.slice(2))
22
22
  await updateCheck
23
- process.exit(0)
23
+ process.exit(process.exitCode ?? 0)
@@ -38,7 +38,7 @@ import { knowledgeValidate, renderKnowledgeValidate, } from './functions/command
38
38
  import { knowledgeIndex, renderKnowledgeIndex, } from './functions/commands/knowledge-index.js';
39
39
  import { knowledgeReconcile, renderKnowledgeReconcile, } from './functions/commands/knowledge-reconcile.js';
40
40
  import { knowledgePlanDefer, knowledgePlanProgress, knowledgePlanSchema, knowledgePlanSet, knowledgePlanShow, renderKnowledgePlanDefer, renderKnowledgePlanProgress, renderKnowledgePlanSchema, renderKnowledgePlanSet, renderKnowledgePlanShow, } from './functions/commands/knowledge-plan.js';
41
- import { scenarioRun, scenarioList } from './functions/commands/scenario.js';
41
+ import { scenarioRun, scenarioList, scenarioGuide, } from './functions/commands/scenario.js';
42
42
  import { personaList, personaRun, personaSecret, } from './functions/commands/persona.js';
43
43
  import { personaSync } from './functions/commands/persona-sync.js';
44
44
  import { pikkuVersionsInit } from './functions/commands/versions-init.js';
@@ -581,6 +581,12 @@ wireCLI({
581
581
  func: knowledgeReconcile,
582
582
  render: renderKnowledgeReconcile,
583
583
  description: 'Say the one thing to do next — repair a note, write a plan, ask the user, build, or nothing',
584
+ options: {
585
+ require: {
586
+ description: 'Exit non-zero unless the next action is one of these (comma-separated: idle, repair-note, write-plan, ask-user, dispatch, hold) — what turns this command into a gate a stage can be held to',
587
+ type: 'string',
588
+ },
589
+ },
584
590
  }),
585
591
  plan: {
586
592
  description: "Read and write a milestone's technical plan — the shape of the work, checked before it is built rather than after",
@@ -666,7 +672,7 @@ wireCLI({
666
672
  default: 'default',
667
673
  },
668
674
  strict: {
669
- description: 'Fail rather than pass a `then` that has no witness for --run, i.e. an assertion nobody checked on the surface its prose claims',
675
+ description: 'Every step must run on --run: an action may not fall back to its default binding, and a `then` may not be witnessed anywhere else. No effect on --run default',
670
676
  default: false,
671
677
  },
672
678
  spawn: {
@@ -702,6 +708,30 @@ wireCLI({
702
708
  func: scenarioList,
703
709
  description: 'List scenarios with names and descriptions',
704
710
  }),
711
+ guide: pikkuCLICommand({
712
+ func: scenarioGuide,
713
+ description: "Write the user guide the suite already contains: each page's editorial prose merged with the steps and screenshots the latest run recorded. Markdown only — no HTML, no asset URLs, no model.",
714
+ options: {
715
+ docs: {
716
+ description: 'Where the editorial sources live, relative to the project. A `<!-- pikku:guide feature=<id> -->` marker pair in a `<section>/<slug>.md` is both the citation and the place the block is written',
717
+ default: 'docs',
718
+ },
719
+ output: {
720
+ description: 'Where the merged markdown is written (default: <outDir>/guide)',
721
+ short: 'o',
722
+ },
723
+ runId: {
724
+ description: 'Build from this run rather than the most recent one',
725
+ },
726
+ allowUndocumented: {
727
+ description: 'Report features no page documents instead of failing on them',
728
+ default: false,
729
+ },
730
+ artifactBase: {
731
+ description: "Prefix every figure with this instead of the path from the page to the run's artifacts — for a host that serves them at a fixed address. Route-relative (`/docs/_media/`) keeps the output portable; an origin pins it to one host",
732
+ },
733
+ },
734
+ }),
705
735
  },
706
736
  },
707
737
  persona: {
@@ -1100,6 +1130,18 @@ wireCLI({
1100
1130
  description: 'Overwrite existing skills if already installed',
1101
1131
  default: false,
1102
1132
  },
1133
+ agentExtensions: {
1134
+ description: 'Comma-separated extension paths every projected agent loads — how a host that fences its writers or routes their model adds that to the agents it installs',
1135
+ type: 'string',
1136
+ },
1137
+ agentDir: {
1138
+ description: 'Where to write the projected agents, overriding the harness default — an absolute path for a host whose agents live outside the project',
1139
+ type: 'string',
1140
+ },
1141
+ agentSkillDir: {
1142
+ description: 'The skill directory a projected agent points at, for a host that relocates the installed skills afterwards',
1143
+ type: 'string',
1144
+ },
1103
1145
  },
1104
1146
  }),
1105
1147
  },