@pikku/cli 0.12.126 → 0.12.128

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 (270) hide show
  1. package/CHANGELOG.md +157 -0
  2. package/console-app/assets/{abnfDiagram-N423BO3Z-B2suyn6i.js → abnfDiagram-N423BO3Z-BY2LM8wi.js} +1 -1
  3. package/console-app/assets/architecture-TIHT7OUA-CWwmvxZF.js +1 -0
  4. package/console-app/assets/{architectureDiagram-T3A2C74G-BQ5Dfvpo.js → architectureDiagram-T3A2C74G-CeqjY3Kw.js} +1 -1
  5. package/console-app/assets/{blockDiagram-VBNYF7ZC-D4pVRDiF.js → blockDiagram-VBNYF7ZC-BW5174xj.js} +1 -1
  6. package/console-app/assets/{c4Diagram-5PPSVZJV-Da04jGpq.js → c4Diagram-5PPSVZJV-B7zXAFL0.js} +1 -1
  7. package/console-app/assets/channel-pOkwZ_Ot.js +1 -0
  8. package/console-app/assets/{chunk-2GRJ4B5K-CwODIPP4.js → chunk-2GRJ4B5K-BfRYzQ4t.js} +1 -1
  9. package/console-app/assets/{chunk-4I5QYGJK-Bep4akjR.js → chunk-4I5QYGJK-DBA7-Nu4.js} +1 -1
  10. package/console-app/assets/{chunk-5RXB4S5H-CGyCRU9L.js → chunk-5RXB4S5H-D03lNzwi.js} +1 -1
  11. package/console-app/assets/{chunk-6Q2QTUOP-D0IK0SMT.js → chunk-6Q2QTUOP-DloGRHJZ.js} +1 -1
  12. package/console-app/assets/{chunk-7Z6QIM7H-D12vS1jX.js → chunk-7Z6QIM7H-DH3uHtl2.js} +1 -1
  13. package/console-app/assets/{chunk-GF5L2VYU-kOLwTzIA.js → chunk-GF5L2VYU-Cu252lza.js} +1 -1
  14. package/console-app/assets/{chunk-I66GZJ75-Cb2nDoa3.js → chunk-I66GZJ75-DH54FcuO.js} +1 -1
  15. package/console-app/assets/{chunk-JQJVKLGR-B3a_ctfQ.js → chunk-JQJVKLGR-CeFuTL-V.js} +1 -1
  16. package/console-app/assets/{chunk-KBJHAD2P-DeP2Lqwp.js → chunk-KBJHAD2P-B-prFo0-.js} +1 -1
  17. package/console-app/assets/{chunk-NSK5VX7P-BO8vlGrO.js → chunk-NSK5VX7P-C10iA4GS.js} +1 -1
  18. package/console-app/assets/{chunk-QR6OTTB3-sX5V0Lok.js → chunk-QR6OTTB3-Cd8apAsA.js} +1 -1
  19. package/console-app/assets/{chunk-RYQCIY6F-DoCObEhk.js → chunk-RYQCIY6F-rfPUp2Fj.js} +1 -1
  20. package/console-app/assets/{chunk-UBXNYLIW-BndMXU5r.js → chunk-UBXNYLIW-D25wqJBc.js} +1 -1
  21. package/console-app/assets/{chunk-W5SLKNZC--VrZN8EC.js → chunk-W5SLKNZC-CJvxkxuK.js} +1 -1
  22. package/console-app/assets/{chunk-WRU74C26-DdS0mzXO.js → chunk-WRU74C26-B9Wju92P.js} +1 -1
  23. package/console-app/assets/chunk-XXDRQBXY-BU_UP6f5.js +1 -0
  24. package/console-app/assets/classDiagram-JCYQIIEL-CLBKUuxj.js +1 -0
  25. package/console-app/assets/classDiagram-v2-OCEON4UE-CLBKUuxj.js +1 -0
  26. package/console-app/assets/{cose-bilkent-JH36ORCC-C5EnHkFn.js → cose-bilkent-JH36ORCC-CwA1VCP5.js} +1 -1
  27. package/console-app/assets/{cynefin-VYW2F7L2-9irdkTt4.js → cynefin-VYW2F7L2-C_qsD7eR.js} +1 -1
  28. package/console-app/assets/{cynefinDiagram-MW4NZA55-DY19660c.js → cynefinDiagram-MW4NZA55-CkSLreFW.js} +1 -1
  29. package/console-app/assets/{dagre-VZM6K2ZE-BYFZSaSb.js → dagre-VZM6K2ZE-0ssqLoHs.js} +1 -1
  30. package/console-app/assets/{dagre-nXgDYqvf.js → dagre-WqgBlKb7.js} +1 -1
  31. package/console-app/assets/{diagram-7IWD3JNH-oDftiTp1.js → diagram-7IWD3JNH-DmRL3lmL.js} +1 -1
  32. package/console-app/assets/{diagram-B4RE2ZJO-Cbj-pPbH.js → diagram-B4RE2ZJO-Bsr9wG4I.js} +1 -1
  33. package/console-app/assets/{diagram-LBJQPF4R-Ch53oSKw.js → diagram-LBJQPF4R-DdMw1FSY.js} +1 -1
  34. package/console-app/assets/{diagram-Q27KOJAE-DA7K814v.js → diagram-Q27KOJAE-TPx5TB2B.js} +1 -1
  35. package/console-app/assets/{diagram-UB23O5K3-B-_C-ctS.js → diagram-UB23O5K3-e_1zSlZR.js} +1 -1
  36. package/console-app/assets/{ebnfDiagram-BXEA7PRR-DsOdsKXy.js → ebnfDiagram-BXEA7PRR-BACajh2b.js} +1 -1
  37. package/console-app/assets/{erDiagram-JOGREHBK-XB1mP5_A.js → erDiagram-JOGREHBK-CojomKqL.js} +1 -1
  38. package/console-app/assets/eventmodeling-45OFAUF4-DkN2KCrT.js +1 -0
  39. package/console-app/assets/flowDiagram-UKHOOZJN-DL0M9lBc.js +1 -0
  40. package/console-app/assets/{ganttDiagram-PKOTCBZU-knk0XSHi.js → ganttDiagram-PKOTCBZU-yoOX4Xj2.js} +1 -1
  41. package/console-app/assets/{gitGraph-TEB2WS4Q-COJnK2tM.js → gitGraph-TEB2WS4Q-BcUY5hIc.js} +1 -1
  42. package/console-app/assets/{gitGraphDiagram-DS77QQ5N-sF0v605q.js → gitGraphDiagram-DS77QQ5N-BtuIPjuB.js} +1 -1
  43. package/console-app/assets/{index-DMnbsgzs.js → index-CzWW052c.js} +151 -151
  44. package/console-app/assets/{info-DKCQHKI2-Cbatr0w6.js → info-DKCQHKI2-B-iR9PUz.js} +1 -1
  45. package/console-app/assets/{infoDiagram-6WML65LV-93TFPCu2.js → infoDiagram-6WML65LV-CuXKIFH2.js} +1 -1
  46. package/console-app/assets/{ishikawaDiagram-WSZJBQD7-BBR8_Qms.js → ishikawaDiagram-WSZJBQD7-CSueMFD6.js} +1 -1
  47. package/console-app/assets/{journeyDiagram-NVQOT4AX-zG55yDoc.js → journeyDiagram-NVQOT4AX-kvnKStZp.js} +1 -1
  48. package/console-app/assets/{kanban-definition-27J2QSJJ-DonGcEAY.js → kanban-definition-27J2QSJJ-CGGDEz30.js} +1 -1
  49. package/console-app/assets/{line-D1WdVm1S.js → line-mtMM5-xO.js} +1 -1
  50. package/console-app/assets/{linear-D2GQL4Cm.js → linear-CLSje0O_.js} +1 -1
  51. package/console-app/assets/{mermaid-parser.core-b4yKyO56.js → mermaid-parser.core-Cx6yvn3j.js} +3 -3
  52. package/console-app/assets/{mermaid.core-Cwfec1gr.js → mermaid.core-BebGyklS.js} +4 -4
  53. package/console-app/assets/{mindmap-definition-FAOFIHXS-D0G4yKgw.js → mindmap-definition-FAOFIHXS-C2_WUUJ9.js} +1 -1
  54. package/console-app/assets/{packet-7NZHBO7P-DDa4HL2T.js → packet-7NZHBO7P-Dh5yNCA8.js} +1 -1
  55. package/console-app/assets/{pegDiagram-VL7TDLO6-fPdN5VZs.js → pegDiagram-VL7TDLO6-XgUxesi8.js} +1 -1
  56. package/console-app/assets/{pie-RZYD4A2V-DRHURUqo.js → pie-RZYD4A2V-D2x2RAXI.js} +1 -1
  57. package/console-app/assets/{pieDiagram-7S7Q4E2Y-DMYn8ga_.js → pieDiagram-7S7Q4E2Y-Bbor0KbG.js} +1 -1
  58. package/console-app/assets/{quadrantDiagram-CIZ2JOQS-C190OamC.js → quadrantDiagram-CIZ2JOQS-DZmnMHpM.js} +1 -1
  59. package/console-app/assets/{radar-I7S5WNFK-Djvqzz9A.js → radar-I7S5WNFK-CPeriDtN.js} +1 -1
  60. package/console-app/assets/{railroad-3IZDKUUU-C9YvFeFq.js → railroad-3IZDKUUU-2iKAyaie.js} +1 -1
  61. package/console-app/assets/railroad-abnf-AHOZXSZD-D26xz4MM.js +1 -0
  62. package/console-app/assets/railroad-ebnf-EBAXGLYW-CCAiMPWc.js +1 -0
  63. package/console-app/assets/railroad-peg-LSFZ7HO6-BA1zcisq.js +1 -0
  64. package/console-app/assets/{railroadDiagram-AXF67PYL-IRFg1VrU.js → railroadDiagram-AXF67PYL-DVEqCXoo.js} +1 -1
  65. package/console-app/assets/{requirementDiagram-LRYGKXZP-L-7ubbcT.js → requirementDiagram-LRYGKXZP-CSgSNL8p.js} +1 -1
  66. package/console-app/assets/{sankeyDiagram-W5VNT64P-DBttV6Gt.js → sankeyDiagram-W5VNT64P-CFk11odN.js} +1 -1
  67. package/console-app/assets/{sequenceDiagram-SI44F4Z6-Bg15oKAB.js → sequenceDiagram-SI44F4Z6-Cb5u6FsJ.js} +1 -1
  68. package/console-app/assets/{src-DUC7tLWb.js → src-LceHEY_Q.js} +1 -1
  69. package/console-app/assets/{stateDiagram-OKZ733FA-PWl0XGs5.js → stateDiagram-OKZ733FA-DM1jWlkU.js} +1 -1
  70. package/console-app/assets/stateDiagram-v2-UEYNNEHI-COVnPYic.js +1 -0
  71. package/console-app/assets/{swimlanes-SLNWSIFB-CyXEtGBV.js → swimlanes-SLNWSIFB-DD6MchlE.js} +1 -1
  72. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-B5q8iRCQ.js +8 -0
  73. package/console-app/assets/{timeline-definition-Z64GVDOM-BLA-DhBt.js → timeline-definition-Z64GVDOM-zu5cNnVv.js} +1 -1
  74. package/console-app/assets/{treeView-QDETBFTQ-Bfnmn2UY.js → treeView-QDETBFTQ-D_4IbvCG.js} +1 -1
  75. package/console-app/assets/{treemap-6X3UGDF4-DTA0wveO.js → treemap-6X3UGDF4-DNc6bjUc.js} +1 -1
  76. package/console-app/assets/{vennDiagram-T6HMQDX7-CLXYZln0.js → vennDiagram-T6HMQDX7-DfqoG28f.js} +1 -1
  77. package/console-app/assets/{wardley-OPB4EBWU-zwxqisG0.js → wardley-OPB4EBWU-BqpI2Lx-.js} +1 -1
  78. package/console-app/assets/{wardleyDiagram-T6FBY63Y-hKtKvNlv.js → wardleyDiagram-T6FBY63Y-CLIZSvNi.js} +1 -1
  79. package/console-app/assets/{xychartDiagram-ELKLHX3M-BGf8p4bo.js → xychartDiagram-ELKLHX3M-Cni-XXa6.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 +31 -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 +124 -0
  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 +140 -1
  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 +120 -8
  123. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  124. package/dist/.pikku/gateway/index.d.ts +1 -1
  125. package/dist/.pikku/gateway/index.js +1 -1
  126. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +1 -1
  127. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +1 -1
  128. package/dist/.pikku/http/index.d.ts +1 -1
  129. package/dist/.pikku/http/index.js +1 -1
  130. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  131. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  132. package/dist/.pikku/mcp/index.d.ts +1 -1
  133. package/dist/.pikku/mcp/index.js +1 -1
  134. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  135. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  136. package/dist/.pikku/middleware/index.d.ts +1 -1
  137. package/dist/.pikku/middleware/index.js +1 -1
  138. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +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 +6 -0
  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 +23 -1
  169. package/dist/.pikku/schemas/schemas/FabricFindingsClearInput.schema.json +1 -0
  170. package/dist/.pikku/schemas/schemas/FabricFindingsClearOutput.schema.json +1 -0
  171. package/dist/.pikku/schemas/schemas/FabricFindingsFlushInput.schema.json +1 -0
  172. package/dist/.pikku/schemas/schemas/FabricFindingsFlushOutput.schema.json +1 -0
  173. package/dist/.pikku/schemas/schemas/FabricFindingsListInput.schema.json +1 -0
  174. package/dist/.pikku/schemas/schemas/FabricFindingsListOutput.schema.json +1 -0
  175. package/dist/.pikku/schemas/schemas/FabricReportInput.schema.json +1 -0
  176. package/dist/.pikku/schemas/schemas/FabricReportOutput.schema.json +1 -0
  177. package/dist/.pikku/schemas/schemas/FabricSecretsDeleteInput.schema.json +1 -0
  178. package/dist/.pikku/schemas/schemas/FabricSecretsDeleteOutput.schema.json +1 -0
  179. package/dist/.pikku/schemas/schemas/PikkuDistInput.schema.json +1 -0
  180. package/dist/.pikku/schemas/schemas/PikkuNewAddonInput.schema.json +1 -1
  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-personas.gen.js +1 -1
  184. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  185. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  186. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  187. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  188. package/dist/.pikku/secrets/index.d.ts +1 -1
  189. package/dist/.pikku/secrets/index.js +1 -1
  190. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  191. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  192. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  193. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  194. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
  195. package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
  196. package/dist/.pikku/setup/index.d.ts +1 -1
  197. package/dist/.pikku/setup/index.js +1 -1
  198. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
  199. package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
  200. package/dist/.pikku/trigger/index.d.ts +1 -1
  201. package/dist/.pikku/trigger/index.js +1 -1
  202. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  203. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  204. package/dist/.pikku/variables/index.d.ts +1 -1
  205. package/dist/.pikku/variables/index.js +1 -1
  206. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  207. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  208. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  209. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  210. package/dist/.pikku/workflow/index.d.ts +1 -1
  211. package/dist/.pikku/workflow/index.js +1 -1
  212. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  213. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  214. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  215. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  216. package/dist/bin/pikku-bin.mjs +2 -2
  217. package/dist/src/cli.wiring.js +16 -1
  218. package/dist/src/fabric/fabric-commands.d.ts +163 -0
  219. package/dist/src/fabric/fabric-commands.js +78 -0
  220. package/dist/src/fabric/functions/findings-clear.function.d.ts +12 -0
  221. package/dist/src/fabric/functions/findings-clear.function.js +17 -0
  222. package/dist/src/fabric/functions/findings-flush.function.d.ts +33 -0
  223. package/dist/src/fabric/functions/findings-flush.function.js +36 -0
  224. package/dist/src/fabric/functions/findings-list.function.d.ts +55 -0
  225. package/dist/src/fabric/functions/findings-list.function.js +52 -0
  226. package/dist/src/fabric/functions/report.function.d.ts +121 -0
  227. package/dist/src/fabric/functions/report.function.js +84 -0
  228. package/dist/src/fabric/functions/secrets-delete.function.d.ts +36 -0
  229. package/dist/src/fabric/functions/secrets-delete.function.js +51 -0
  230. package/dist/src/fabric/lib/finding-spool.d.ts +56 -0
  231. package/dist/src/fabric/lib/finding-spool.js +105 -0
  232. package/dist/src/fabric/lib/finding.d.ts +92 -0
  233. package/dist/src/fabric/lib/finding.js +156 -0
  234. package/dist/src/fabric/lib/report-environment.d.ts +53 -0
  235. package/dist/src/fabric/lib/report-environment.js +119 -0
  236. package/dist/src/functions/commands/dev.js +2 -1
  237. package/dist/src/functions/commands/dist.d.ts +28 -0
  238. package/dist/src/functions/commands/dist.js +58 -0
  239. package/dist/src/functions/commands/environment.d.ts +5 -0
  240. package/dist/src/functions/commands/new-addon.d.ts +30 -0
  241. package/dist/src/functions/commands/new-addon.js +81 -3
  242. package/dist/src/functions/commands/persona-sync.d.ts +5 -4
  243. package/dist/src/functions/commands/persona-sync.js +6 -5
  244. package/dist/src/functions/commands/persona.js +7 -2
  245. package/dist/src/functions/commands/scenario.js +1 -0
  246. package/dist/src/functions/validate/auth-plugin-checks.d.ts +1 -1
  247. package/dist/src/functions/validate/auth-plugin-checks.js +9 -5
  248. package/dist/src/functions/validate/persona-checks.js +9 -6
  249. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +10 -5
  250. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +1 -1
  251. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +3 -3
  252. package/dist/src/services.js +9 -0
  253. package/dist/src/utils/persona-credentials.d.ts +0 -2
  254. package/dist/src/utils/persona-credentials.js +1 -8
  255. package/dist/tsconfig.tsbuildinfo +1 -1
  256. package/package.json +8 -8
  257. package/snippets.json +1 -1
  258. package/surface.json +1292 -4907
  259. package/console-app/assets/architecture-TIHT7OUA-DmG0bXDT.js +0 -1
  260. package/console-app/assets/channel-BgCT5gon.js +0 -1
  261. package/console-app/assets/chunk-XXDRQBXY-EP2C9tTO.js +0 -1
  262. package/console-app/assets/classDiagram-JCYQIIEL-D9wGqB4J.js +0 -1
  263. package/console-app/assets/classDiagram-v2-OCEON4UE-D9wGqB4J.js +0 -1
  264. package/console-app/assets/eventmodeling-45OFAUF4-NKFCZ8Fj.js +0 -1
  265. package/console-app/assets/flowDiagram-UKHOOZJN-BpdPkmum.js +0 -1
  266. package/console-app/assets/railroad-abnf-AHOZXSZD-B3CYVW4p.js +0 -1
  267. package/console-app/assets/railroad-ebnf-EBAXGLYW-DrZ2yF62.js +0 -1
  268. package/console-app/assets/railroad-peg-LSFZ7HO6-CWAmMyxd.js +0 -1
  269. package/console-app/assets/stateDiagram-v2-UEYNNEHI-Celbgz4u.js +0 -1
  270. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-zxpNaB4U.js +0 -8
package/CHANGELOG.md CHANGED
@@ -1,3 +1,160 @@
1
+ ## 0.12.128
2
+
3
+ ### Patch Changes
4
+
5
+ - c0940a1: `pikku new addon` now installs and builds the addon it generates.
6
+
7
+ The generated package exports `./dist/...`, which is what an installed consumer
8
+ resolves and what the app's own `pikku-bootstrap.gen.ts` imports. Until `build`
9
+ had run, that path did not exist: the app failed at boot with PKU340 and an
10
+ ERR_MODULE_NOT_FOUND on a dist file nobody had written, and every
11
+ `ref('<addon>:…')` resolved to nothing. Nothing about the generated files showed
12
+ the problem, so a generated addon looked complete and was dead at runtime.
13
+
14
+ Pass `--no-build` to keep the previous write-only behaviour.
15
+
16
+ - e92e30b: Print a CLI failure as its message, not as a JS stack trace.
17
+
18
+ Every error that reached the top of `executeCLI` was logged with `console.error('Error:', error)`, which node renders as the full stack — and prefixed it a second time, so a refusal read `Error: Error: Persona 'guest' missing guest…` above ten frames of pikku internals. A `PikkuFetchError` was worse: node inspects an error's own properties, so the whole `Response` came out with it, headers and body stream included, to say `502`.
19
+
20
+ An expected failure — a `PikkuError`, or anything carrying `expected: true` — now prints its message alone, and a fetch failure prints `502 Bad Gateway from <url>` without touching the response. Anything else keeps its stack, because a `TypeError` with its frames removed is undiagnosable. `--verbose`/`-v`, or `PIKKU_DEBUG=1` where the flag cannot be typed, adds the stack back to an expected failure.
21
+
22
+ The refusals behind the examples — a persona whose roles have drifted, a sign-in the stage rejected — are raised as `PikkuError` so they are classed as deliberate.
23
+
24
+ - 3079f44: Give `pikku dev` a credential store.
25
+
26
+ Wiring a `credentialService` is the deployment's job — the values are per-user
27
+ secrets, and where they are encrypted and who holds the key is a decision only
28
+ the host can make. But that left `pikku dev` with none at all: `credentialService`
29
+ was `undefined`, so an addon imported with `--auth per-user` or `--auth delegated`
30
+ could not be exercised locally. The delegated sign-in a project is told to wire
31
+ threw on its first call, and projects were reaching for their own credential
32
+ tables to get past it.
33
+
34
+ `pikku dev` now builds a `LocalCredentialService` alongside the rest of its
35
+ in-memory services — the queue, the trigger service, the workflow service — and
36
+ hands it to `createSingletonServices` as an existing service. A project that
37
+ wants a real store overrides it there the same way it overrides any of the
38
+ others: `existingServices.credentialService ?? new OwnCredentialService()`.
39
+
40
+ - 5bb006f: Add `pikku fabric secrets delete <name>`.
41
+
42
+ Removing one secret from a stage had no lever. The only thing close was
43
+ `secrets rotate`, which retires the stage's sealing key and so takes every
44
+ secret on the stage down with it — an enormous blast radius for wanting one
45
+ name gone.
46
+
47
+ `secrets delete` calls the `deleteStageSecret` RPC, which removes the single
48
+ named secret and leaves the sealing key and the stage's other secrets alone.
49
+ It confirms first unless `--force` is passed: fabric holds only the public half
50
+ of the stage keypair, so it cannot read a sealed value back and cannot restore
51
+ one — the plaintext has to be supplied again. Deployed units keep serving the
52
+ old value until the stage is republished, so the run that does so is reported
53
+ when the delete triggers one.
54
+
55
+ - e15f5a9: Add `pikku dist`, and use it as the generated addon's build step.
56
+
57
+ `tsc` compiles the `.ts` under the pikku out dir, but it never carries the
58
+ `*.gen.json` meta written beside them, and it never re-emits a hand-authored
59
+ `.d.ts`. Both are needed at runtime — `MetaService` opens the meta off disk by
60
+ path — so a package that ships only tsc's output answers every meta lookup with
61
+ nothing.
62
+
63
+ Every generated addon papered over this with `tsc && cp -r .pikku types dist/`,
64
+ which copied two whole directories: it dragged 52 raw `.ts` sources into the
65
+ published output alongside the compiled ones, and needed a POSIX shell. Since
66
+ the script comes from the CLI, every project carried the same line.
67
+
68
+ `pikku dist` copies exactly what tsc could not emit, to where tsc would have put
69
+ it, reading the layout from `pikku.config.json` and the destination from the
70
+ tsconfig's `outDir` (or `--dist-dir`). The generated build script is now
71
+ `tsc && pikku dist`.
72
+
73
+ - 4d0a548: Provision the declared personas from the fabric plugin instead of the server lifecycle.
74
+
75
+ `provisionPersonas` was documented as a call an app makes from `pikkuServerLifecycle`'s `afterStart`. That hook is invoked by `pikku serve` and `pikku dev` and by nothing else — no deploy runtime calls it — so on any stage deployed to Workers or a serverless target the provisioning never ran, and every persona signed in holding no roles.
76
+
77
+ `pikkuFabric` now takes `personas`. The operator endpoint resolves the address the caller wants to act as; a miss provisions the declaration and looks again. On a stage that already holds the persona that is one query, and the pass only runs when there is genuinely something absent to create.
78
+
79
+ Sign-in no longer creates accounts of its own. `OperatorSignInOptions.createMissing` and `PIKKU_PERSONA_CREATE_MISSING` are gone, and an address no declaration claims stays a 404 however many times it is asked for. `provisionPersonas` is no longer exported — the plugin is the only caller.
80
+
81
+ `pikku persona sync <environment>` is unchanged: it still reports who an environment will provision and why anyone was skipped, and still writes nothing.
82
+
83
+ - Updated dependencies [e92e30b]
84
+ - Updated dependencies [14059e0]
85
+ - Updated dependencies [781797c]
86
+ - Updated dependencies [ccab6ed]
87
+ - Updated dependencies [4d0a548]
88
+ - Updated dependencies [5ace170]
89
+ - @pikku/core@0.12.101
90
+ - @pikku/better-auth@0.12.35
91
+ - @pikku/skills@0.12.22
92
+
93
+ ## 0.12.127
94
+
95
+ ### Patch Changes
96
+
97
+ - 77ae071: `pikku fabric report` sends a finding — something about pikku that cost an agent time — to fabric. It needs a login but no linked project: a finding is about the framework rather than about anyone's project, and the reports worth having most come from checkouts that have nothing to name.
98
+
99
+ The finding can be given as JSON on stdin (`--stdin`) instead of as flags. Half the fields are prose, and prose carries apostrophes, quotes, backticks and newlines — every one a shell metacharacter before it is a character in a sentence — so an error message pasted into `--error` used to break the command at its first newline. The same schema validates either path.
100
+
101
+ Nothing is written to the repo, so nothing goes stale on an abandoned branch, and the terminal prints exactly what left the machine. Reporting never fails a build.
102
+
103
+ A finding that cannot be sent is held in `~/.fabric/findings` rather than dropped: logged out, unlinked, or fabric unreachable are the states a finding is most likely to be describing, and a scaffold that never got far enough to log in is exactly the thing worth hearing about. The queue drains on the next report that succeeds, keeps the project each finding was filed against, and is bounded at 100. `pikku fabric findings list`, `flush` and `clear` inspect and control it.
104
+
105
+ The resolved `@pikku/*` versions are read off the installed tree rather than out of `package.json`, since a range says nothing about what actually ran. A skewed tree and a package resolving through a workspace or link are both flagged, because either is a reason to read the finding differently.
106
+
107
+ The `pikku-feature` skill now tells an agent when to file one: work around it first, investigate only when there is no workaround, report at the depth already reached, and never patch pikku itself from inside a project that is using it.
108
+
109
+ - 32d1280: Prefix the better-auth plugin factories with `pikku`: `pikkuActor`, `pikkuBan`,
110
+ `pikkuFabric`, `pikkuDelegatedAuth` and `pikkuCredentialOAuth`.
111
+
112
+ A `betterAuth({ plugins: [...] })` array mixes this package's plugins with
113
+ better-auth's own, and until now nothing at the call site told them apart —
114
+ `plugins: [actor(...), ban(), fabric(...), organization()]` reads as four
115
+ plugins from one place when only the last is better-auth's. The prefix says
116
+ which package a plugin came from where it is actually wired.
117
+
118
+ The old names are still exported as deprecated aliases bound to the same
119
+ functions, so no import has to change. Nothing about the plugins themselves
120
+ moved: the `id` each registers under — `pikku-ban`, `actor`, `fabric`,
121
+ `delegated-auth`, `credential-oauth` — is unchanged, so no deployed database or
122
+ session is affected.
123
+
124
+ The pieces that read a plugin's _export_ name rather than its id accept both:
125
+ `PLUGIN_REGISTRY` is keyed under the prefixed and the bare name, and the
126
+ `pikku validate` ban/actor checks and the `scaffold.userAdmin` ban check count
127
+ either spelling as wired. Their messages now point at the new names.
128
+
129
+ - a0ed1e8: Derive a persona's session and operator paths from the mount its sign-in path names.
130
+
131
+ Both `sessionRoles()` and the Fabric operator handshake asked for a fixed
132
+ `/auth/…` no matter where auth was mounted. An app serving better-auth under
133
+ `/api/auth` while keeping its RPCs at the root cannot put the mount in
134
+ `apiUrl`, so it moves `signInPath` — and the other two stayed behind.
135
+
136
+ For the session read that meant a 404, which returns `null`, which means "this
137
+ stage does not report roles": every `pikku persona run` on such an app warned
138
+ "running unverified" and lost the one thing that tells a permissions finding
139
+ from seed drift. For the operator handshake it was worse — `HttpPersona`
140
+ reused the _actor_ path verbatim, so an operator token was posted to the actor
141
+ endpoint and came back as a validation error about a missing email and secret,
142
+ which reads like a broken persona rather than a wrong URL. The browser provider
143
+ had the same fixed default.
144
+
145
+ All three now follow `signInPath`, and `environments[].sessionPath` in
146
+ pikku.config.json overrides the session read for a stage that reports it
147
+ elsewhere.
148
+
149
+ - Updated dependencies [77ae071]
150
+ - Updated dependencies [32d1280]
151
+ - Updated dependencies [a0ed1e8]
152
+ - @pikku/skills@0.12.21
153
+ - @pikku/better-auth@0.12.34
154
+ - @pikku/inspector@0.12.69
155
+ - @pikku/core@0.12.100
156
+ - @pikku/playwright@0.12.81
157
+
1
158
  ## 0.12.126
2
159
 
3
160
  ### Patch Changes
@@ -1 +1 @@
1
- import{m as e,t}from"./mermaid-parser.core-b4yKyO56.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-DUC7tLWb.js";import"./chunk-I66GZJ75-Cb2nDoa3.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-D0IK0SMT.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-Cwfec1gr.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=n(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=n(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
1
+ import{m as e,t}from"./mermaid-parser.core-Cx6yvn3j.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-LceHEY_Q.js";import"./chunk-I66GZJ75-DH54FcuO.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-DloGRHJZ.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-BebGyklS.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=n(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=n(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
@@ -0,0 +1 @@
1
+ import"./chunk-KEIR6QF5-BICK3FdT.js";import{M as e}from"./mermaid-parser.core-Cx6yvn3j.js";export{e as createArchitectureServices};