@pikku/cli 0.12.137 → 0.12.143

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 (300) hide show
  1. package/CHANGELOG.md +153 -0
  2. package/console-app/assets/{abnfDiagram-N423BO3Z-W1UI4BWy.js → abnfDiagram-N423BO3Z-CG60mMUd.js} +1 -1
  3. package/console-app/assets/architecture-TIHT7OUA-DSzfLiV3.js +1 -0
  4. package/console-app/assets/{architectureDiagram-T3A2C74G-Dgnhu9J8.js → architectureDiagram-T3A2C74G-Ch6qWsLf.js} +1 -1
  5. package/console-app/assets/{blockDiagram-VBNYF7ZC-Da-H9pFU.js → blockDiagram-VBNYF7ZC-yRgqjgqW.js} +1 -1
  6. package/console-app/assets/{c4Diagram-5PPSVZJV-CPQ006DM.js → c4Diagram-5PPSVZJV-NvawOgnU.js} +1 -1
  7. package/console-app/assets/channel-DYUdcfEK.js +1 -0
  8. package/console-app/assets/{chunk-2GRJ4B5K-B3QE8g_6.js → chunk-2GRJ4B5K-BJ9-Roz7.js} +1 -1
  9. package/console-app/assets/{chunk-4I5QYGJK-D04DssN0.js → chunk-4I5QYGJK-DZwmcj48.js} +1 -1
  10. package/console-app/assets/{chunk-5RXB4S5H-CXe_vAKZ.js → chunk-5RXB4S5H-BTBwIEIt.js} +1 -1
  11. package/console-app/assets/{chunk-6Q2QTUOP-DhpMC5UR.js → chunk-6Q2QTUOP-C55aqlA-.js} +1 -1
  12. package/console-app/assets/{chunk-7Z6QIM7H-CtoQQGfm.js → chunk-7Z6QIM7H-DRmYZ-SZ.js} +1 -1
  13. package/console-app/assets/{chunk-GF5L2VYU-BovriS0p.js → chunk-GF5L2VYU-InZeM4Hr.js} +1 -1
  14. package/console-app/assets/{chunk-I66GZJ75-Goasace2.js → chunk-I66GZJ75-BNvijc65.js} +1 -1
  15. package/console-app/assets/{chunk-JQJVKLGR-Dy3HStoh.js → chunk-JQJVKLGR-CIMXqmif.js} +1 -1
  16. package/console-app/assets/{chunk-KBJHAD2P-Cm5EwbeQ.js → chunk-KBJHAD2P-C9h3FBoE.js} +1 -1
  17. package/console-app/assets/{chunk-NSK5VX7P-DZ-VVQUA.js → chunk-NSK5VX7P-lz8xBTRo.js} +1 -1
  18. package/console-app/assets/{chunk-QR6OTTB3-W5GRG-wW.js → chunk-QR6OTTB3-CjOfjLMq.js} +1 -1
  19. package/console-app/assets/{chunk-RYQCIY6F-_xvZ8Hx8.js → chunk-RYQCIY6F-CV3667Qm.js} +1 -1
  20. package/console-app/assets/{chunk-UBXNYLIW-C0L1Tpxq.js → chunk-UBXNYLIW-CBN7usxw.js} +1 -1
  21. package/console-app/assets/{chunk-W5SLKNZC-DAyLbBQq.js → chunk-W5SLKNZC-5TkpffRm.js} +1 -1
  22. package/console-app/assets/{chunk-WRU74C26-BrL4inwu.js → chunk-WRU74C26-GBek0Nby.js} +1 -1
  23. package/console-app/assets/chunk-XXDRQBXY-B3U_w_pW.js +1 -0
  24. package/console-app/assets/classDiagram-JCYQIIEL-Mg8_8GSE.js +1 -0
  25. package/console-app/assets/classDiagram-v2-OCEON4UE-Mg8_8GSE.js +1 -0
  26. package/console-app/assets/{cose-bilkent-JH36ORCC-DxHzzMQL.js → cose-bilkent-JH36ORCC-BkGyb7Kn.js} +1 -1
  27. package/console-app/assets/{cynefin-VYW2F7L2-7ytt-CDO.js → cynefin-VYW2F7L2-qMmeyMja.js} +1 -1
  28. package/console-app/assets/{cynefinDiagram-MW4NZA55-Cq-zIV7s.js → cynefinDiagram-MW4NZA55-7MuIYiO4.js} +1 -1
  29. package/console-app/assets/{dagre-Dl-9JF5i.js → dagre-BbESpUs5.js} +1 -1
  30. package/console-app/assets/{dagre-VZM6K2ZE-DLlanPb9.js → dagre-VZM6K2ZE-I6YsMazW.js} +1 -1
  31. package/console-app/assets/{diagram-7IWD3JNH-NTCRs_uw.js → diagram-7IWD3JNH-CJPB2T6d.js} +1 -1
  32. package/console-app/assets/{diagram-B4RE2ZJO-Dwf7hoRU.js → diagram-B4RE2ZJO-CmFGMFPx.js} +1 -1
  33. package/console-app/assets/{diagram-LBJQPF4R-2h_a7jsr.js → diagram-LBJQPF4R-BMzRMe8g.js} +1 -1
  34. package/console-app/assets/{diagram-Q27KOJAE-DuOfl1WJ.js → diagram-Q27KOJAE-CeJb7xQ2.js} +1 -1
  35. package/console-app/assets/{diagram-UB23O5K3-Blp2hikL.js → diagram-UB23O5K3-BQkhJgYU.js} +1 -1
  36. package/console-app/assets/{ebnfDiagram-BXEA7PRR-BwdeYz2Z.js → ebnfDiagram-BXEA7PRR-C1F_8089.js} +1 -1
  37. package/console-app/assets/{erDiagram-JOGREHBK-DY_x1XSg.js → erDiagram-JOGREHBK-DRwpdW4v.js} +1 -1
  38. package/console-app/assets/eventmodeling-45OFAUF4-C5L7A6YY.js +1 -0
  39. package/console-app/assets/flowDiagram-UKHOOZJN-D6GmsM3x.js +1 -0
  40. package/console-app/assets/{ganttDiagram-PKOTCBZU-DxiIwMWB.js → ganttDiagram-PKOTCBZU-CfsGz3Lj.js} +1 -1
  41. package/console-app/assets/{gitGraph-TEB2WS4Q-C3DsIpZV.js → gitGraph-TEB2WS4Q-BBt9AGD3.js} +1 -1
  42. package/console-app/assets/{gitGraphDiagram-DS77QQ5N-C2pPy08m.js → gitGraphDiagram-DS77QQ5N-y5WPOR-G.js} +1 -1
  43. package/console-app/assets/{index-D6aBqNnO.js → index-BmvyL35Z.js} +150 -150
  44. package/console-app/assets/{info-DKCQHKI2-FJuVYZ8D.js → info-DKCQHKI2-mYDlDDyA.js} +1 -1
  45. package/console-app/assets/{infoDiagram-6WML65LV-Bih5T82B.js → infoDiagram-6WML65LV-uOP7AjEu.js} +1 -1
  46. package/console-app/assets/{ishikawaDiagram-WSZJBQD7-jOkuIgMl.js → ishikawaDiagram-WSZJBQD7-BUMKV94t.js} +1 -1
  47. package/console-app/assets/{journeyDiagram-NVQOT4AX-CZ9yVscx.js → journeyDiagram-NVQOT4AX-C8_km86P.js} +1 -1
  48. package/console-app/assets/{kanban-definition-27J2QSJJ-Dpmgfv5c.js → kanban-definition-27J2QSJJ-Ce5oUBPR.js} +1 -1
  49. package/console-app/assets/{line-DjmQl1gv.js → line-D-6c8Gxs.js} +1 -1
  50. package/console-app/assets/{linear-B8fAzric.js → linear-CyrGkJOO.js} +1 -1
  51. package/console-app/assets/{mermaid-parser.core-BxoecV24.js → mermaid-parser.core-CYuFKArA.js} +3 -3
  52. package/console-app/assets/{mermaid.core-D2Ux-Rs7.js → mermaid.core-CXQhu3yO.js} +4 -4
  53. package/console-app/assets/{mindmap-definition-FAOFIHXS-5xpWfvPY.js → mindmap-definition-FAOFIHXS-CTMHna5d.js} +1 -1
  54. package/console-app/assets/{packet-7NZHBO7P-Bq9JPqWg.js → packet-7NZHBO7P-Bu7Wxek6.js} +1 -1
  55. package/console-app/assets/{pegDiagram-VL7TDLO6-BKWLK1GI.js → pegDiagram-VL7TDLO6-CQOikBgW.js} +1 -1
  56. package/console-app/assets/{pie-RZYD4A2V-CsGG-f-c.js → pie-RZYD4A2V-Co7qIvyZ.js} +1 -1
  57. package/console-app/assets/{pieDiagram-7S7Q4E2Y-BRy6lUc2.js → pieDiagram-7S7Q4E2Y-Dh6jYgnj.js} +1 -1
  58. package/console-app/assets/{quadrantDiagram-CIZ2JOQS-OcYHZLLg.js → quadrantDiagram-CIZ2JOQS-Boongjy-.js} +1 -1
  59. package/console-app/assets/{radar-I7S5WNFK-8MO05jdC.js → radar-I7S5WNFK-CSJyAKYA.js} +1 -1
  60. package/console-app/assets/{railroad-3IZDKUUU-CLs1yR0q.js → railroad-3IZDKUUU-DklknXem.js} +1 -1
  61. package/console-app/assets/railroad-abnf-AHOZXSZD-D-2EAJOD.js +1 -0
  62. package/console-app/assets/railroad-ebnf-EBAXGLYW-C5XxxCx7.js +1 -0
  63. package/console-app/assets/railroad-peg-LSFZ7HO6-D8fXoMuX.js +1 -0
  64. package/console-app/assets/{railroadDiagram-AXF67PYL-DjpHDwhw.js → railroadDiagram-AXF67PYL-DEapZRM_.js} +1 -1
  65. package/console-app/assets/{requirementDiagram-LRYGKXZP-CyKaqOMR.js → requirementDiagram-LRYGKXZP-CqFLtnyL.js} +1 -1
  66. package/console-app/assets/{sankeyDiagram-W5VNT64P-0WoWlmdY.js → sankeyDiagram-W5VNT64P-CNu-G1MH.js} +1 -1
  67. package/console-app/assets/{sequenceDiagram-SI44F4Z6-kd31YoP4.js → sequenceDiagram-SI44F4Z6-CoEKUR3G.js} +1 -1
  68. package/console-app/assets/{src-CGPyCqg2.js → src-C1UIZ0TF.js} +1 -1
  69. package/console-app/assets/{stateDiagram-OKZ733FA-Cwy-Xwqp.js → stateDiagram-OKZ733FA-CJka40EH.js} +1 -1
  70. package/console-app/assets/stateDiagram-v2-UEYNNEHI-Bfuo66an.js +1 -0
  71. package/console-app/assets/{swimlanes-SLNWSIFB-Cq0Pq-Qq.js → swimlanes-SLNWSIFB-Dv3MGmvW.js} +1 -1
  72. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-CyQmsXKP.js +8 -0
  73. package/console-app/assets/{timeline-definition-Z64GVDOM-CgFH2I_j.js → timeline-definition-Z64GVDOM-CO8etJHi.js} +1 -1
  74. package/console-app/assets/{treeView-QDETBFTQ-CmeHYUxi.js → treeView-QDETBFTQ-BjLcvY-V.js} +1 -1
  75. package/console-app/assets/{treemap-6X3UGDF4-B6JWxyQe.js → treemap-6X3UGDF4-xC9XqGfS.js} +1 -1
  76. package/console-app/assets/{vennDiagram-T6HMQDX7-DdGYpKcz.js → vennDiagram-T6HMQDX7-CJGsYvlQ.js} +1 -1
  77. package/console-app/assets/{wardley-OPB4EBWU-BVF8AOCQ.js → wardley-OPB4EBWU-DkMc876g.js} +1 -1
  78. package/console-app/assets/{wardleyDiagram-T6FBY63Y-BUFon1WP.js → wardleyDiagram-T6FBY63Y-CTe7zAVZ.js} +1 -1
  79. package/console-app/assets/{xychartDiagram-ELKLHX3M-Bu-WJdeF.js → xychartDiagram-ELKLHX3M-CABg-MLE.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 +11 -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 +11 -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 +24 -0
  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 +77 -89
  123. package/dist/.pikku/function/pikku-functions.gen.js +3 -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 +3 -3
  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 +7 -5
  169. package/dist/.pikku/schemas/schemas/FabricLinkInput.schema.json +1 -1
  170. package/dist/.pikku/schemas/schemas/KnowledgeReconcileInput.schema.json +1 -0
  171. package/dist/.pikku/schemas/schemas/KnowledgeReconcileOutput.schema.json +1 -0
  172. package/dist/.pikku/scopes/index.d.ts +1 -1
  173. package/dist/.pikku/scopes/index.js +1 -1
  174. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  175. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  176. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  177. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  178. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  179. package/dist/.pikku/secrets/index.d.ts +1 -1
  180. package/dist/.pikku/secrets/index.js +1 -1
  181. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  182. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  183. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  184. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  185. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
  186. package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
  187. package/dist/.pikku/setup/index.d.ts +1 -1
  188. package/dist/.pikku/setup/index.js +1 -1
  189. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
  190. package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
  191. package/dist/.pikku/trigger/index.d.ts +1 -1
  192. package/dist/.pikku/trigger/index.js +1 -1
  193. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  194. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  195. package/dist/.pikku/variables/index.d.ts +1 -1
  196. package/dist/.pikku/variables/index.js +1 -1
  197. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  198. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  199. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  200. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  201. package/dist/.pikku/workflow/index.d.ts +1 -1
  202. package/dist/.pikku/workflow/index.js +1 -1
  203. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +8 -2
  204. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  205. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  206. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  207. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  208. package/dist/bin/pikku-bin.mjs +2 -2
  209. package/dist/src/cli.wiring.js +11 -1
  210. package/dist/src/deploy/analyzer/analyzer.js +29 -0
  211. package/dist/src/deploy/build-pipeline.js +2 -0
  212. package/dist/src/deploy/bundler/bun-bundler.js +5 -2
  213. package/dist/src/deploy/bundler/bundler.interface.d.ts +9 -1
  214. package/dist/src/deploy/bundler/bundler.js +1 -0
  215. package/dist/src/deploy/bundler/node-bundler.js +12 -2
  216. package/dist/src/deploy/bundler/service-module-map.js +2 -2
  217. package/dist/src/fabric/fabric-commands.d.ts +18 -9
  218. package/dist/src/fabric/fabric-commands.js +11 -0
  219. package/dist/src/fabric/functions/deploy.function.d.ts +5 -5
  220. package/dist/src/fabric/functions/link.function.d.ts +12 -0
  221. package/dist/src/fabric/functions/link.function.js +95 -6
  222. package/dist/src/fabric/functions/llm-key.function.d.ts +4 -4
  223. package/dist/src/fabric/functions/smoke.function.d.ts +4 -4
  224. package/dist/src/fabric/lib/git.d.ts +27 -0
  225. package/dist/src/fabric/lib/git.js +70 -2
  226. package/dist/src/functions/commands/db-export.js +4 -9
  227. package/dist/src/functions/commands/dev.js +12 -18
  228. package/dist/src/functions/commands/enable.d.ts +1 -0
  229. package/dist/src/functions/commands/enable.js +3 -0
  230. package/dist/src/functions/commands/knowledge-reconcile.d.ts +45 -0
  231. package/dist/src/functions/commands/knowledge-reconcile.js +11 -0
  232. package/dist/src/functions/commands/serve.js +12 -18
  233. package/dist/src/functions/db/local-db.d.ts +12 -2
  234. package/dist/src/functions/db/local-db.js +86 -14
  235. package/dist/src/functions/knowledge/render.d.ts +12 -1
  236. package/dist/src/functions/knowledge/render.js +48 -0
  237. package/dist/src/functions/knowledge/schemas.d.ts +23 -0
  238. package/dist/src/functions/knowledge/schemas.js +3 -1
  239. package/dist/src/functions/wirings/agent/pikku-command-agent.js +11 -14
  240. package/dist/src/functions/wirings/channels/pikku-command-channels.js +10 -13
  241. package/dist/src/functions/wirings/cli/pikku-command-cli.js +10 -13
  242. package/dist/src/functions/wirings/console/pikku-command-nodes-meta.js +7 -15
  243. package/dist/src/functions/wirings/credentials/serialize-credentials-types.js +2 -8
  244. package/dist/src/functions/wirings/functions/pikku-command-functions.js +21 -18
  245. package/dist/src/functions/wirings/gateway/pikku-command-gateway.js +11 -10
  246. package/dist/src/functions/wirings/http/pikku-command-http-routes.js +10 -13
  247. package/dist/src/functions/wirings/mcp/pikku-command-mcp.js +11 -17
  248. package/dist/src/functions/wirings/personas/serialize-personas-types.js +2 -2
  249. package/dist/src/functions/wirings/queue/pikku-command-queue.js +11 -14
  250. package/dist/src/functions/wirings/remote-jobs/pikku-command-remote-jobs.d.ts +1 -0
  251. package/dist/src/functions/wirings/remote-jobs/pikku-command-remote-jobs.js +31 -0
  252. package/dist/src/functions/wirings/remote-jobs/serialize-remote-jobs.d.ts +16 -0
  253. package/dist/src/functions/wirings/remote-jobs/serialize-remote-jobs.js +78 -0
  254. package/dist/src/functions/wirings/roles/serialize-roles-types.js +2 -2
  255. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.js +11 -12
  256. package/dist/src/functions/wirings/scopes/serialize-scopes-client.js +2 -2
  257. package/dist/src/functions/wirings/scopes/serialize-scopes-types.js +5 -3
  258. package/dist/src/functions/wirings/secrets/serialize-secrets-types.js +4 -10
  259. package/dist/src/functions/wirings/triggers/pikku-command-trigger.js +11 -11
  260. package/dist/src/functions/wirings/variables/serialize-variables-types.js +2 -8
  261. package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +7 -8
  262. package/dist/src/functions/workflows/all.workflow.js +8 -0
  263. package/dist/src/services.js +13 -0
  264. package/dist/src/utils/pikku-cli-config.js +4 -0
  265. package/dist/src/utils/remote-jobs-schemas-file.d.ts +6 -0
  266. package/dist/src/utils/remote-jobs-schemas-file.js +9 -0
  267. package/dist/src/utils/remove-legacy-scaffold-file.js +3 -0
  268. package/dist/src/utils/strip-verbose-meta.d.ts +9 -10
  269. package/dist/src/utils/strip-verbose-meta.js +15 -19
  270. package/dist/src/utils/ts-literal.d.ts +7 -0
  271. package/dist/src/utils/ts-literal.js +7 -0
  272. package/dist/src/utils/write-wiring-meta.d.ts +43 -0
  273. package/dist/src/utils/write-wiring-meta.js +45 -0
  274. package/dist/tsconfig.tsbuildinfo +1 -1
  275. package/package.json +10 -10
  276. package/surface.json +15 -15
  277. package/console-app/assets/architecture-TIHT7OUA-ChuyZvLt.js +0 -1
  278. package/console-app/assets/channel-Bk5Nkkn2.js +0 -1
  279. package/console-app/assets/chunk-XXDRQBXY-CCdCi2uV.js +0 -1
  280. package/console-app/assets/classDiagram-JCYQIIEL-Dgekxp3j.js +0 -1
  281. package/console-app/assets/classDiagram-v2-OCEON4UE-Dgekxp3j.js +0 -1
  282. package/console-app/assets/eventmodeling-45OFAUF4-2ImzjrgM.js +0 -1
  283. package/console-app/assets/flowDiagram-UKHOOZJN-DmrgHe66.js +0 -1
  284. package/console-app/assets/railroad-abnf-AHOZXSZD-CA9-7Fw1.js +0 -1
  285. package/console-app/assets/railroad-ebnf-EBAXGLYW-BhkwTTAW.js +0 -1
  286. package/console-app/assets/railroad-peg-LSFZ7HO6-BEaB8UlJ.js +0 -1
  287. package/console-app/assets/stateDiagram-v2-UEYNNEHI-DExEOOCw.js +0 -1
  288. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-B0RUxlCH.js +0 -8
  289. package/dist/.pikku/schemas/schemas/PikkuQueueOutput.schema.json +0 -1
  290. package/dist/src/fabric/lib/not-implemented.d.ts +0 -5
  291. package/dist/src/fabric/lib/not-implemented.js +0 -8
  292. package/dist/src/functions/wirings/channels/pikku-channels.d.ts +0 -1
  293. package/dist/src/functions/wirings/channels/pikku-channels.js +0 -38
  294. package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +0 -1
  295. package/dist/src/functions/wirings/http/pikku-http-routes.js +0 -30
  296. package/dist/src/functions/wirings/queue/pikku-queue.d.ts +0 -1
  297. package/dist/src/functions/wirings/queue/pikku-queue.js +0 -31
  298. package/dist/src/utils/pikku-files-and-methods.d.ts +0 -20
  299. package/dist/src/utils/pikku-files-and-methods.js +0 -25
  300. /package/dist/.pikku/schemas/schemas/{PikkuHTTPOutput.schema.json → PikkuRemoteJobsOutput.schema.json} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,156 @@
1
+ ## 0.12.143
2
+
3
+ ### Patch Changes
4
+
5
+ - 0c0689c: db: stop an embedded-postgres boot from failing the command
6
+
7
+ PGlite runs Postgres as an Emscripten module, and Emscripten's exit handler
8
+ writes the WASM program's status straight to `process.exitCode`. Booting the
9
+ embedded database left it at 99 with nothing wrong, and the CLI's bin ends with
10
+ `process.exit(process.exitCode ?? 0)` — so any command that merely touched the
11
+ embedded database exited 99 _after_ completing all of its work and printing a
12
+ green summary. `pikku all` in a package with a Postgres schema failed this way
13
+ in CI while passing locally, where a real `DATABASE_URL` meant PGlite never
14
+ booted.
15
+
16
+ Restore the previous exit code once the database is ready. The restore uses
17
+ `?? 0` because assigning `undefined` does not clear an already-set `exitCode`
18
+ under bun.
19
+
20
+ - Updated dependencies [34d9521]
21
+ - @pikku/node-http-server@0.12.14
22
+
23
+ ## 0.12.142
24
+
25
+ ### Patch Changes
26
+
27
+ - 9c5aa96: dev/serve: always inject the local content service
28
+
29
+ `pikku dev` and `pikku serve` only built `LocalContent` when `pikku.config.json`
30
+ declared a `content` block, so a project without one type-checks, renders and
31
+ starts clean and then throws the first time anything uploads a file. Every field
32
+ already had a default, so the block was gating a service that needed no
33
+ configuration. It is now always constructed; the `content` block still overrides
34
+ the storage path, URL prefixes and size limit.
35
+
36
+ Also documents it in the `pikku-services` skill: these singletons arrive as
37
+ `existingServices` and are never named in `services.ts`, so their absence there
38
+ is not evidence they are off — which is what makes the `if (!content) throw`
39
+ guard the skill already forbids look justified.
40
+
41
+ - 1e4d318: the remote job inbox is bundled with the queue workers and scheduled tasks it dispatches to, instead of landing in its own unit with nothing to run
42
+ - Updated dependencies [9c5aa96]
43
+ - Updated dependencies [5e2a579]
44
+ - Updated dependencies [1becc2d]
45
+ - @pikku/skills@0.12.30
46
+ - @pikku/inspector@0.12.74
47
+
48
+ ## 0.12.141
49
+
50
+ ### Patch Changes
51
+
52
+ - bbb9e3b: Add a `scaffold.remoteJobs` flag that generates HTTP routes an external dispatcher posts to, so a runtime holding neither a queue consumer nor a clock still runs its queue workers and scheduled tasks. The runners and the secret guard live in `@pikku/core`; the scaffold only wires them.
53
+ - Updated dependencies [bbb9e3b]
54
+ - @pikku/core@0.12.106
55
+
56
+ ## 0.12.140
57
+
58
+ ### Patch Changes
59
+
60
+ - c5574a3: An addon now publishes its schema artifact on every `pikku all`, empty when it
61
+ has no tables, and `db generate` refuses an addon that publishes none at all.
62
+
63
+ The two used to be one case. A wired addon whose artifact could not be resolved
64
+ was read as an addon that ships no schema — no error, no migration — so a
65
+ mispackaged `exports` entry surfaced much later, as an addon function querying a
66
+ table nobody had created. Making the file unconditional separates "needs
67
+ nothing" from "cannot say", and a malformed artifact is now rejected rather than
68
+ half-applied.
69
+
70
+ - 7262b4c: `db generate` now creates a referenced table before the one referencing it
71
+ - f847a97: `pikku fabric link` can now start from a repo with no remote. `--github` and
72
+ `--gitea` name where the project lives; with no flag and no `origin` the CLI
73
+ asks before creating anything, and a non-interactive session is told which flag
74
+ to pass rather than being hung on a prompt.
75
+ - 4e7f4b3: Stub dead modules as CommonJS so every import shape resolves. The stub was
76
+ `export {}`, which has no default export, so a unit reaching
77
+ `import postgres from 'postgres'` failed to bundle with "No matching export in
78
+ pikku-stub:postgres for import default" — on Cloudflare, where the Postgres
79
+ drivers are stubbed precisely because the runtime never reaches them.
80
+ - Updated dependencies [96b65ae]
81
+ - Updated dependencies [1ab831e]
82
+ - Updated dependencies [7262b4c]
83
+ - Updated dependencies [c4ee98d]
84
+ - Updated dependencies [3cd4e13]
85
+ - Updated dependencies [f99547e]
86
+ - @pikku/skills@0.12.29
87
+ - @pikku/core@0.12.105
88
+ - @pikku/migrator-sql@0.12.4
89
+ - @pikku/knowledge@0.12.12
90
+
91
+ ## 0.12.139
92
+
93
+ ### Patch Changes
94
+
95
+ - 591593a: Add `pikku knowledge next` — the one thing to do next with the knowledge base, derived
96
+ from what is on disk rather than from what a previous step remembered to announce.
97
+
98
+ It answers with exactly one action: repair a note, write a plan, ask the user, dispatch a
99
+ build, hold, or nothing. On `ask-user` it prints the question a person should actually be
100
+ asked, with its options numbered, and demotes the machine wording to a `why:` line — that
101
+ reason names the note and the frontmatter key, and reads as gibberish to somebody who has
102
+ never seen a note.
103
+
104
+ - 7434e65: Stop mangling identifiers in a bundle that a second bundler will mangle again.
105
+
106
+ Every standalone bun binary died at boot on `TypeError: t6 is not a function`. The bundle
107
+ esbuild wrote was correct; `bun build --compile`, which is the documented next step for
108
+ that runtime, renamed the parameter of the already-mangled `wireCLI` to `t6` — the name
109
+ esbuild had given the top-level `registerCLICommands` that same function calls — and the
110
+ inner reference then resolved to the parameter object.
111
+
112
+ Neither pass is wrong on its own, so the fix is to stop running both: a provider now
113
+ declares `getMangleIdentifiers()`, and the standalone adapter returns false for the bun
114
+ runtime, where `bundle.js` is an input rather than the artifact that runs. Whitespace and
115
+ syntax minification are unaffected, and every other provider still ships a fully mangled
116
+ bundle — `minify: true` could not express that, because esbuild ORs it over the granular
117
+ flags and silently ignores a `minifyIdentifiers: false` set beside it.
118
+
119
+ - Updated dependencies [591593a]
120
+ - Updated dependencies [591593a]
121
+ - Updated dependencies [2273c92]
122
+ - Updated dependencies [0303b27]
123
+ - Updated dependencies [7434e65]
124
+ - Updated dependencies [591593a]
125
+ - Updated dependencies [f5a8ee4]
126
+ - @pikku/skills@0.12.28
127
+ - @pikku/knowledge@0.12.11
128
+ - @pikku/deploy@0.12.7
129
+
130
+ ## 0.12.138
131
+
132
+ ### Patch Changes
133
+
134
+ - 657de9e: Keep the description of a function an agent lists as a tool in the runtime meta
135
+
136
+ `description` is classed as a verbose field and stripped from the meta a
137
+ deployment ships, but `agent-prepare` needs it to tell the model what each tool
138
+ does. Where the verbose file is unreadable — a deployed bundle, or any app
139
+ shipping only the stripped copy — every tool was offered under its bare name.
140
+
141
+ The functions an agent actually lists as tools now keep their description in the
142
+ minimal meta, so the model sees them everywhere the agent runs. Descriptions for
143
+ functions no agent calls stay stripped.
144
+
145
+ - 6519c66: Report what each inspector pass did, not only how long it took. `inspect()` now records per-pass work counters on the state (`stats`: files in the program, files reused from the previous program, type/instantiation/symbol counts, CPU and wall time, heap in use), and `pikku all` prints one `[INSPECT]` row per pass under `PIKKU_TIMING`. The codegen benchmark gates on those counts and on live heap per pass instead of on step timings, which swing with the runner, and its fixture now includes an agent so the post-agent re-inspection is actually exercised.
146
+ - 984753f: Escape generated TypeScript string literals correctly. A scope display name, role name or environment name containing a backslash, a newline or an escaped quote produced a file that no longer parsed — or, worse, one that parsed with the value silently corrupted. All of the serializers now share one `tsLiteral` helper.
147
+ - Updated dependencies [6519c66]
148
+ - Updated dependencies [265df92]
149
+ - Updated dependencies [5447dba]
150
+ - @pikku/inspector@0.12.73
151
+ - @pikku/deploy@0.12.6
152
+ - @pikku/deploy-cloudflare@0.12.14
153
+
1
154
  ## 0.12.137
2
155
 
3
156
  ### Patch Changes
@@ -1 +1 @@
1
- import{m as e,t}from"./mermaid-parser.core-BxoecV24.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-CGPyCqg2.js";import"./chunk-I66GZJ75-Goasace2.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-DhpMC5UR.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-D2Ux-Rs7.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-CYuFKArA.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-C1UIZ0TF.js";import"./chunk-I66GZJ75-BNvijc65.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-C55aqlA-.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-CXQhu3yO.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-CYuFKArA.js";export{e as createArchitectureServices};