@pikku/cli 0.12.105 → 0.12.107

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 (796) hide show
  1. package/CHANGELOG.md +7306 -0
  2. package/console-app/assets/abnfDiagram-N423BO3Z-C5uToS9v.js +1 -0
  3. package/console-app/assets/arc-D8VmsdJb.js +1 -0
  4. package/console-app/assets/architecture-TIHT7OUA-B1IpeRpl.js +1 -0
  5. package/console-app/assets/architectureDiagram-T3A2C74G-BzJDRfv4.js +36 -0
  6. package/console-app/assets/{blockDiagram-677ZJIJ3-CMNoQhwm.js → blockDiagram-VBNYF7ZC-X5G9Ch-D.js} +5 -5
  7. package/console-app/assets/c4Diagram-5PPSVZJV-B59aO2Sc.js +10 -0
  8. package/console-app/assets/channel-sTJGzqn9.js +1 -0
  9. package/console-app/assets/{chunk-32BRIVSS-DC3ZGIPN.js → chunk-2GRJ4B5K-Bwe32j_R.js} +1 -1
  10. package/console-app/assets/{chunk-HOUHSVGY-DMorD8Ib.js → chunk-4I5QYGJK-Beg_uQQN.js} +1 -1
  11. package/console-app/assets/chunk-5RXB4S5H-0HaMiv3k.js +231 -0
  12. package/console-app/assets/{chunk-MOJQB5TN-6BhXmDyj.js → chunk-6Q2QTUOP-CXxkExOq.js} +1 -1
  13. package/console-app/assets/chunk-7Z6QIM7H-zUqPbrvp.js +10 -0
  14. package/console-app/assets/{chunk-V7JOEXUC-JMjbqEgu.js → chunk-GF5L2VYU-CY0wGPcJ.js} +3 -3
  15. package/console-app/assets/chunk-I66GZJ75-BP5UNkJY.js +127 -0
  16. package/console-app/assets/chunk-JQJVKLGR-3dvnUUZN.js +156 -0
  17. package/console-app/assets/{chunk-VR4S4FIN-BcHHugM0.js → chunk-KBJHAD2P-ChD7o2bf.js} +1 -1
  18. package/console-app/assets/{chunk-KEIR6QF5-DNzq6p3w.js → chunk-KEIR6QF5-BICK3FdT.js} +32 -32
  19. package/console-app/assets/chunk-NSK5VX7P-oG1nh33f.js +2 -0
  20. package/console-app/assets/{chunk-ZGVPDNZ5-CENGdlFJ.js → chunk-QR6OTTB3-D_uKJrj6.js} +3 -3
  21. package/console-app/assets/chunk-RYQCIY6F-CtYhP8W5.js +1 -0
  22. package/console-app/assets/chunk-UBXNYLIW-CMgD3fvL.js +1 -0
  23. package/console-app/assets/{chunk-C7G6YPKG-BVtRZIEZ.js → chunk-W5SLKNZC-cjI56NCs.js} +1 -1
  24. package/console-app/assets/{chunk-Q4XR5HBZ-i4zkt4cc.js → chunk-WRU74C26-BQqHgerX.js} +7 -7
  25. package/console-app/assets/chunk-XXDRQBXY-CLdTtHL4.js +1 -0
  26. package/console-app/assets/classDiagram-JCYQIIEL-Dh0wx8TK.js +1 -0
  27. package/console-app/assets/classDiagram-v2-OCEON4UE-Dh0wx8TK.js +1 -0
  28. package/console-app/assets/cose-bilkent-JH36ORCC-DcHzDpDb.js +1 -0
  29. package/console-app/assets/cynefin-VYW2F7L2-Cn2zn-8-.js +1 -0
  30. package/console-app/assets/cynefinDiagram-MW4NZA55-C00zINdu.js +62 -0
  31. package/console-app/assets/cytoscape.esm-B-NFISlW.js +321 -0
  32. package/console-app/assets/dagre-DE2imcyX.js +1 -0
  33. package/console-app/assets/dagre-VZM6K2ZE-Bb2uZ7tL.js +4 -0
  34. package/console-app/assets/defaultLocale-BFoDCU3G.js +1 -0
  35. package/console-app/assets/{diagram-OA4YK3LP-BmjCoGBZ.js → diagram-7IWD3JNH-DUN-JIa1.js} +3 -3
  36. package/console-app/assets/{diagram-FQU43EPY-C667dC19.js → diagram-B4RE2ZJO-Ct5iRFhI.js} +1 -1
  37. package/console-app/assets/diagram-LBJQPF4R-BZ2Hrr-9.js +24 -0
  38. package/console-app/assets/diagram-Q27KOJAE-BHaThj6T.js +24 -0
  39. package/console-app/assets/diagram-UB23O5K3-CH-SzBoh.js +41 -0
  40. package/console-app/assets/dist-CsdsWTxp.js +1 -0
  41. package/console-app/assets/ebnfDiagram-BXEA7PRR-BkjeNaQH.js +1 -0
  42. package/console-app/assets/{erDiagram-Q63AITRT-BAtdfbq3.js → erDiagram-JOGREHBK-BdL77bY3.js} +3 -3
  43. package/console-app/assets/eventmodeling-45OFAUF4-C6PNVeIU.js +1 -0
  44. package/console-app/assets/flowDiagram-UKHOOZJN-CmURPvo2.js +1 -0
  45. package/console-app/assets/ganttDiagram-PKOTCBZU-DfgO68Ez.js +292 -0
  46. package/console-app/assets/gitGraph-TEB2WS4Q-BNbepAzP.js +1 -0
  47. package/console-app/assets/{gitGraphDiagram-IHSO6WYX-D9fpmYRm.js → gitGraphDiagram-DS77QQ5N-Crb8obGB.js} +4 -4
  48. package/console-app/assets/graphlib-IlWVLY3o.js +1 -0
  49. package/console-app/assets/index-Dsydm-nw.css +1 -0
  50. package/console-app/assets/index-g8jA8DJo.js +290 -0
  51. package/console-app/assets/info-DKCQHKI2-D9tXUXel.js +1 -0
  52. package/console-app/assets/infoDiagram-6WML65LV-BvG8ufLa.js +2 -0
  53. package/console-app/assets/init-C-OQMol4.js +1 -0
  54. package/console-app/assets/isUndefined-T4snU1Mx.js +1 -0
  55. package/console-app/assets/{ishikawaDiagram-FXEZZL3T-CWHvEncb.js → ishikawaDiagram-WSZJBQD7-BWoGxEjO.js} +3 -3
  56. package/console-app/assets/{journeyDiagram-5HDEW3XC-DKH8UvEq.js → journeyDiagram-NVQOT4AX-CR4YcPHg.js} +3 -3
  57. package/console-app/assets/{kanban-definition-HUTT4EX6-BODtp_fB.js → kanban-definition-27J2QSJJ-DYfc5EZe.js} +6 -6
  58. package/console-app/assets/{katex-Vhh-h91d.js → katex-CXMH3UgJ.js} +3 -3
  59. package/console-app/assets/{line-Do9j3HRL.js → line-NIaf8Mfw.js} +1 -1
  60. package/console-app/assets/linear-DB_1BE-l.js +1 -0
  61. package/console-app/assets/map-BmPfXn7V.js +1 -0
  62. package/console-app/assets/{mermaid-parser.core-CYJsdwMO.js → mermaid-parser.core-BqCVMHRZ.js} +3 -3
  63. package/console-app/assets/mermaid.core-CYaeERjF.js +42 -0
  64. package/console-app/assets/{mindmap-definition-LN4V7U3C-D7IWNYnf.js → mindmap-definition-FAOFIHXS-BCjT2v4F.js} +3 -3
  65. package/console-app/assets/{ordinal-hYBb2elL.js → ordinal-BDEzSJ7C.js} +1 -1
  66. package/console-app/assets/packet-7NZHBO7P-CzFZvntp.js +1 -0
  67. package/console-app/assets/path-fybaL0A-.js +1 -0
  68. package/console-app/assets/pegDiagram-VL7TDLO6-3iMotW64.js +1 -0
  69. package/console-app/assets/pie-RZYD4A2V-CXIoUTJn.js +1 -0
  70. package/console-app/assets/pieDiagram-7S7Q4E2Y-B-EOKkdd.js +39 -0
  71. package/console-app/assets/{quadrantDiagram-ABIIQ3AL-CI840rae.js → quadrantDiagram-CIZ2JOQS-DDdq8l2N.js} +2 -2
  72. package/console-app/assets/radar-I7S5WNFK-9SLSkJ73.js +1 -0
  73. package/console-app/assets/railroad-3IZDKUUU-DdJ88Ord.js +1 -0
  74. package/console-app/assets/railroad-abnf-AHOZXSZD-D2QiLT8B.js +1 -0
  75. package/console-app/assets/railroad-ebnf-EBAXGLYW-CSMqj9L2.js +1 -0
  76. package/console-app/assets/railroad-peg-LSFZ7HO6-Cg1-F8im.js +1 -0
  77. package/console-app/assets/railroadDiagram-AXF67PYL-BMW_s9QW.js +1 -0
  78. package/console-app/assets/{requirementDiagram-TGXJPOKE-CyHrMdrC.js → requirementDiagram-LRYGKXZP-BzcnEvjk.js} +2 -2
  79. package/console-app/assets/rolldown-runtime-BcKkbAw3.js +1 -0
  80. package/console-app/assets/{rough.esm-CSKSodPl.js → rough.esm-Dy-Kn_BL.js} +1 -1
  81. package/console-app/assets/{sankeyDiagram-HTMAVEWB-DL0eJ1aK.js → sankeyDiagram-W5VNT64P-Dh2TFvuG.js} +2 -2
  82. package/console-app/assets/sequenceDiagram-SI44F4Z6-b-m-tQYz.js +162 -0
  83. package/console-app/assets/src-Dm8O0hiD.js +1 -0
  84. package/console-app/assets/stateDiagram-OKZ733FA-W98kCkqj.js +1 -0
  85. package/console-app/assets/stateDiagram-v2-UEYNNEHI-DpnoMNHC.js +1 -0
  86. package/console-app/assets/swimlanes-SLNWSIFB-0q_y6cLu.js +2 -0
  87. package/console-app/assets/swimlanesDiagram-ULZ7WXOC-BmGtOaWo.js +8 -0
  88. package/console-app/assets/timeline-definition-Z64GVDOM-DmsNlhwe.js +120 -0
  89. package/console-app/assets/treeView-QDETBFTQ-DY7A9uJm.js +1 -0
  90. package/console-app/assets/treemap-6X3UGDF4-DI73Vm90.js +1 -0
  91. package/console-app/assets/vennDiagram-T6HMQDX7-Czpr9diJ.js +34 -0
  92. package/console-app/assets/wardley-OPB4EBWU-C39AmDqd.js +1 -0
  93. package/console-app/assets/{wardleyDiagram-EHGQE667-Cw2M8s0p.js → wardleyDiagram-T6FBY63Y-DOtWBvnk.js} +36 -36
  94. package/console-app/assets/{xychartDiagram-FW5EYKEG-BxMLZdbF.js → xychartDiagram-ELKLHX3M-VHHuGrWV.js} +4 -4
  95. package/console-app/index.html +4 -2
  96. package/dist/.pikku/addon/index.d.ts +7 -0
  97. package/dist/.pikku/addon/index.js +7 -0
  98. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +7 -0
  99. package/dist/.pikku/addon/pikku-addon-types.gen.js +7 -0
  100. package/dist/.pikku/agent/index.d.ts +7 -0
  101. package/dist/.pikku/agent/index.js +7 -0
  102. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +9 -8
  103. package/dist/.pikku/agent/pikku-agent-types.gen.js +2 -3
  104. package/dist/.pikku/agent/pikku-model-aliases.gen.js +2 -2
  105. package/dist/.pikku/auth/index.d.ts +8 -0
  106. package/dist/.pikku/auth/index.js +8 -0
  107. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +118 -0
  108. package/dist/.pikku/auth/pikku-auth-types.gen.js +92 -0
  109. package/dist/.pikku/channel/index.d.ts +7 -0
  110. package/dist/.pikku/channel/index.js +7 -0
  111. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +7 -9
  112. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -9
  113. package/dist/.pikku/cli/index.d.ts +7 -0
  114. package/dist/.pikku/cli/index.js +7 -0
  115. package/dist/.pikku/cli/pikku-cli-channel.d.ts +1 -1
  116. package/dist/.pikku/cli/pikku-cli-channel.js +6 -5
  117. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +2 -2
  118. package/dist/.pikku/cli/pikku-cli-client.gen.js +2 -2
  119. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  120. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  121. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +4 -3
  122. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  123. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +2 -2
  124. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +38 -18
  125. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  126. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  127. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  128. package/dist/.pikku/cli/pikku-cli.gen.js +2 -2
  129. package/dist/.pikku/console/index.d.ts +1 -0
  130. package/dist/.pikku/console/index.js +1 -0
  131. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  132. package/dist/.pikku/error/index.d.ts +7 -0
  133. package/dist/.pikku/error/index.js +7 -0
  134. package/dist/.pikku/error/pikku-error-types.gen.d.ts +7 -0
  135. package/dist/.pikku/error/pikku-error-types.gen.js +7 -0
  136. package/dist/.pikku/function/index.d.ts +7 -0
  137. package/dist/.pikku/function/index.js +7 -0
  138. package/dist/.pikku/function/pikku-function-types.gen.d.ts +28 -262
  139. package/dist/.pikku/function/pikku-function-types.gen.js +2 -237
  140. package/dist/.pikku/function/pikku-functions-meta.gen.js +2 -2
  141. package/dist/.pikku/function/pikku-functions-meta.gen.json +112 -90
  142. package/dist/.pikku/function/pikku-functions.gen.js +7 -5
  143. package/dist/.pikku/gateway/index.d.ts +7 -0
  144. package/dist/.pikku/gateway/index.js +7 -0
  145. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +36 -0
  146. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +25 -0
  147. package/dist/.pikku/http/index.d.ts +7 -0
  148. package/dist/.pikku/http/index.js +7 -0
  149. package/dist/.pikku/http/pikku-http-types.gen.d.ts +6 -24
  150. package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
  151. package/dist/.pikku/mcp/index.d.ts +7 -0
  152. package/dist/.pikku/mcp/index.js +7 -0
  153. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +6 -4
  154. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  155. package/dist/.pikku/middleware/index.d.ts +7 -0
  156. package/dist/.pikku/middleware/index.js +7 -0
  157. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +117 -0
  158. package/dist/.pikku/middleware/pikku-middleware-types.gen.js +108 -0
  159. package/dist/.pikku/node/index.d.ts +1 -0
  160. package/dist/.pikku/node/index.js +1 -0
  161. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  162. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  163. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  164. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  165. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  166. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  167. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  168. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  169. package/dist/.pikku/pikku-types.gen.js +1 -1
  170. package/dist/.pikku/queue/index.d.ts +7 -0
  171. package/dist/.pikku/queue/index.js +7 -0
  172. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +2 -2
  173. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  174. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +2 -2
  175. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  176. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  177. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +2 -2
  178. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +3 -2
  179. package/dist/.pikku/scenarios/index.d.ts +7 -0
  180. package/dist/.pikku/scenarios/index.js +7 -0
  181. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts +17 -0
  182. package/dist/.pikku/scenarios/pikku-personas.gen.js +17 -0
  183. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +2 -2
  184. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  185. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +310 -0
  186. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js +71 -0
  187. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +2 -2
  188. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  189. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  190. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  191. package/dist/.pikku/scheduler/index.d.ts +7 -0
  192. package/dist/.pikku/scheduler/index.js +7 -0
  193. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +4 -3
  194. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  195. package/dist/.pikku/schemas/register.gen.js +4 -4
  196. package/dist/.pikku/scopes/index.d.ts +7 -0
  197. package/dist/.pikku/scopes/index.js +7 -0
  198. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +4 -13
  199. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  200. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +2 -2
  201. package/dist/.pikku/scopes/pikku-roles.gen.js +1 -1
  202. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +3 -5
  203. package/dist/.pikku/scopes/pikku-scope-types.gen.js +3 -3
  204. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +2 -2
  205. package/dist/.pikku/scopes/pikku-scopes.gen.js +1 -1
  206. package/dist/.pikku/secrets/index.d.ts +8 -0
  207. package/dist/.pikku/secrets/index.js +8 -0
  208. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -3
  209. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  210. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +8 -12
  211. package/dist/.pikku/secrets/pikku-secrets.gen.js +7 -9
  212. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +7 -0
  213. package/dist/.pikku/services/pikku-meta-service.gen.js +9 -0
  214. package/dist/.pikku/setup/index.d.ts +7 -0
  215. package/dist/.pikku/setup/index.js +7 -0
  216. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +66 -0
  217. package/dist/.pikku/setup/pikku-setup-types.gen.js +87 -0
  218. package/dist/.pikku/trigger/index.d.ts +7 -0
  219. package/dist/.pikku/trigger/index.js +7 -0
  220. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +8 -8
  221. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  222. package/dist/.pikku/variables/index.d.ts +8 -0
  223. package/dist/.pikku/variables/index.js +8 -0
  224. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -2
  225. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  226. package/dist/.pikku/variables/pikku-variables.gen.d.ts +8 -11
  227. package/dist/.pikku/variables/pikku-variables.gen.js +8 -10
  228. package/dist/.pikku/workflow/index.d.ts +7 -0
  229. package/dist/.pikku/workflow/index.js +7 -0
  230. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +97 -74
  231. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +1 -3
  232. package/dist/.pikku/workflow/pikku-personas.gen.js +2 -2
  233. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +22 -264
  234. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -64
  235. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +2 -2
  236. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +0 -1
  237. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  238. package/dist/bin/pikku-bin.mjs +2 -2
  239. package/dist/src/cli.wiring.js +19 -3
  240. package/dist/src/deploy/analyzer/analyzer.js +34 -12
  241. package/dist/src/deploy/build-pipeline.d.ts +13 -0
  242. package/dist/src/deploy/build-pipeline.js +22 -0
  243. package/dist/src/deploy/server-entry.js +1 -1
  244. package/dist/src/fabric/fabric-commands.d.ts +104 -104
  245. package/dist/src/fabric/functions/add.function.d.ts +4 -4
  246. package/dist/src/fabric/functions/add.function.js +1 -1
  247. package/dist/src/fabric/functions/addon-verify.function.d.ts +4 -4
  248. package/dist/src/fabric/functions/addon-verify.function.js +1 -1
  249. package/dist/src/fabric/functions/db-schema.function.d.ts +4 -4
  250. package/dist/src/fabric/functions/db-schema.function.js +1 -1
  251. package/dist/src/fabric/functions/deploy-list.function.d.ts +4 -4
  252. package/dist/src/fabric/functions/deploy-list.function.js +1 -1
  253. package/dist/src/fabric/functions/deploy-units.function.d.ts +4 -4
  254. package/dist/src/fabric/functions/deploy-units.function.js +1 -1
  255. package/dist/src/fabric/functions/deploy.function.d.ts +8 -8
  256. package/dist/src/fabric/functions/deploy.function.js +1 -1
  257. package/dist/src/fabric/functions/domains-add.function.d.ts +4 -4
  258. package/dist/src/fabric/functions/domains-add.function.js +1 -1
  259. package/dist/src/fabric/functions/domains-list.function.d.ts +4 -4
  260. package/dist/src/fabric/functions/domains-list.function.js +1 -1
  261. package/dist/src/fabric/functions/domains-remove.function.d.ts +4 -4
  262. package/dist/src/fabric/functions/domains-remove.function.js +1 -1
  263. package/dist/src/fabric/functions/errors.function.d.ts +4 -4
  264. package/dist/src/fabric/functions/errors.function.js +1 -1
  265. package/dist/src/fabric/functions/init.function.d.ts +4 -4
  266. package/dist/src/fabric/functions/init.function.js +1 -1
  267. package/dist/src/fabric/functions/link.function.d.ts +4 -4
  268. package/dist/src/fabric/functions/link.function.js +1 -1
  269. package/dist/src/fabric/functions/llm-key.function.d.ts +4 -4
  270. package/dist/src/fabric/functions/llm-key.function.js +1 -1
  271. package/dist/src/fabric/functions/login.function.d.ts +4 -4
  272. package/dist/src/fabric/functions/login.function.js +1 -1
  273. package/dist/src/fabric/functions/logs.function.d.ts +4 -4
  274. package/dist/src/fabric/functions/logs.function.js +1 -1
  275. package/dist/src/fabric/functions/metrics.function.d.ts +4 -4
  276. package/dist/src/fabric/functions/metrics.function.js +1 -1
  277. package/dist/src/fabric/functions/publish.function.d.ts +4 -4
  278. package/dist/src/fabric/functions/publish.function.js +1 -1
  279. package/dist/src/fabric/functions/rollback.function.d.ts +4 -4
  280. package/dist/src/fabric/functions/rollback.function.js +1 -1
  281. package/dist/src/fabric/functions/secrets-list.function.d.ts +4 -4
  282. package/dist/src/fabric/functions/secrets-list.function.js +1 -1
  283. package/dist/src/fabric/functions/secrets-rotate.function.d.ts +4 -4
  284. package/dist/src/fabric/functions/secrets-rotate.function.js +1 -1
  285. package/dist/src/fabric/functions/secrets-set.function.d.ts +4 -4
  286. package/dist/src/fabric/functions/secrets-set.function.js +1 -1
  287. package/dist/src/fabric/functions/smoke.function.d.ts +4 -4
  288. package/dist/src/fabric/functions/smoke.function.js +13 -13
  289. package/dist/src/fabric/functions/status.function.d.ts +4 -4
  290. package/dist/src/fabric/functions/status.function.js +1 -1
  291. package/dist/src/fabric/functions/trace.function.d.ts +4 -4
  292. package/dist/src/fabric/functions/trace.function.js +1 -1
  293. package/dist/src/fabric/functions/validate.function.d.ts +4 -4
  294. package/dist/src/fabric/functions/validate.function.js +90 -27
  295. package/dist/src/fabric/lib/git.d.ts +23 -0
  296. package/dist/src/fabric/lib/git.js +39 -0
  297. package/dist/src/functions/commands/all.d.ts +1 -1
  298. package/dist/src/functions/commands/all.js +1 -1
  299. package/dist/src/functions/commands/audit.d.ts +11 -1
  300. package/dist/src/functions/commands/audit.js +26 -14
  301. package/dist/src/functions/commands/binary.d.ts +4 -4
  302. package/dist/src/functions/commands/binary.js +1 -1
  303. package/dist/src/functions/commands/bootstrap.d.ts +1 -1
  304. package/dist/src/functions/commands/bootstrap.js +4 -3
  305. package/dist/src/functions/commands/bun-coverage-loader.js +4 -1
  306. package/dist/src/functions/commands/db-audit.d.ts +1 -1
  307. package/dist/src/functions/commands/db-audit.js +1 -1
  308. package/dist/src/functions/commands/db-baseline.d.ts +1 -1
  309. package/dist/src/functions/commands/db-baseline.js +1 -1
  310. package/dist/src/functions/commands/db-check.d.ts +1 -1
  311. package/dist/src/functions/commands/db-check.js +1 -1
  312. package/dist/src/functions/commands/db-codegen.d.ts +1 -1
  313. package/dist/src/functions/commands/db-codegen.js +1 -1
  314. package/dist/src/functions/commands/db-export.d.ts +1 -1
  315. package/dist/src/functions/commands/db-export.js +1 -1
  316. package/dist/src/functions/commands/db-generate.d.ts +1 -1
  317. package/dist/src/functions/commands/db-generate.js +1 -1
  318. package/dist/src/functions/commands/db-migrate.d.ts +1 -1
  319. package/dist/src/functions/commands/db-migrate.js +1 -1
  320. package/dist/src/functions/commands/db-reset.d.ts +4 -4
  321. package/dist/src/functions/commands/db-reset.js +1 -1
  322. package/dist/src/functions/commands/deploy-apply.d.ts +4 -4
  323. package/dist/src/functions/commands/deploy-apply.js +14 -2
  324. package/dist/src/functions/commands/deploy-info.d.ts +1 -1
  325. package/dist/src/functions/commands/deploy-info.js +1 -1
  326. package/dist/src/functions/commands/deploy-plan.d.ts +4 -4
  327. package/dist/src/functions/commands/deploy-plan.js +6 -2
  328. package/dist/src/functions/commands/dev-agent-runner.d.ts +2 -1
  329. package/dist/src/functions/commands/dev.d.ts +4 -4
  330. package/dist/src/functions/commands/dev.js +9 -8
  331. package/dist/src/functions/commands/emails-init.d.ts +1 -1
  332. package/dist/src/functions/commands/emails-init.js +19 -6
  333. package/dist/src/functions/commands/enable.d.ts +8 -8
  334. package/dist/src/functions/commands/enable.js +4 -2
  335. package/dist/src/functions/commands/environment.d.ts +27 -0
  336. package/dist/src/functions/commands/environment.js +36 -2
  337. package/dist/src/functions/commands/import-n8n.d.ts +4 -4
  338. package/dist/src/functions/commands/import-n8n.js +1 -1
  339. package/dist/src/functions/commands/info.d.ts +4 -4
  340. package/dist/src/functions/commands/info.js +1 -1
  341. package/dist/src/functions/commands/knowledge-index.d.ts +4 -4
  342. package/dist/src/functions/commands/knowledge-index.js +1 -1
  343. package/dist/src/functions/commands/knowledge-validate.d.ts +4 -4
  344. package/dist/src/functions/commands/knowledge-validate.js +1 -1
  345. package/dist/src/functions/commands/login.d.ts +9 -9
  346. package/dist/src/functions/commands/login.js +1 -1
  347. package/dist/src/functions/commands/meta.d.ts +37 -37
  348. package/dist/src/functions/commands/meta.js +1 -1
  349. package/dist/src/functions/commands/new-addon.d.ts +5 -4
  350. package/dist/src/functions/commands/new-addon.js +27 -25
  351. package/dist/src/functions/commands/new-function.d.ts +4 -4
  352. package/dist/src/functions/commands/new-function.js +4 -4
  353. package/dist/src/functions/commands/new-middleware.d.ts +4 -4
  354. package/dist/src/functions/commands/new-middleware.js +3 -3
  355. package/dist/src/functions/commands/new-permission.d.ts +4 -4
  356. package/dist/src/functions/commands/new-permission.js +3 -3
  357. package/dist/src/functions/commands/new-wiring.d.ts +4 -4
  358. package/dist/src/functions/commands/new-wiring.js +8 -8
  359. package/dist/src/functions/commands/persona-sync.d.ts +4 -4
  360. package/dist/src/functions/commands/persona-sync.js +3 -3
  361. package/dist/src/functions/commands/persona.d.ts +5 -5
  362. package/dist/src/functions/commands/persona.js +3 -4
  363. package/dist/src/functions/commands/pikku-command-bootstrap.d.ts +1 -1
  364. package/dist/src/functions/commands/pikku-command-bootstrap.js +7 -2
  365. package/dist/src/functions/commands/pikku-command-summary.d.ts +1 -1
  366. package/dist/src/functions/commands/pikku-command-summary.js +2 -2
  367. package/dist/src/functions/commands/roles-audit.d.ts +1 -1
  368. package/dist/src/functions/commands/roles-audit.js +1 -1
  369. package/dist/src/functions/commands/roles-prune.d.ts +4 -4
  370. package/dist/src/functions/commands/roles-prune.js +1 -1
  371. package/dist/src/functions/commands/roles-shared.d.ts +1 -1
  372. package/dist/src/functions/commands/roles-shared.js +1 -1
  373. package/dist/src/functions/commands/scenario-browser.d.ts +19 -13
  374. package/dist/src/functions/commands/scenario-browser.js +20 -6
  375. package/dist/src/functions/commands/scenario-formatter.d.ts +6 -52
  376. package/dist/src/functions/commands/scenario-ladder.d.ts +4 -5
  377. package/dist/src/functions/commands/scenario-ladder.js +1 -1
  378. package/dist/src/functions/commands/scenario-plan.d.ts +2 -2
  379. package/dist/src/functions/commands/scenario-plan.js +1 -1
  380. package/dist/src/functions/commands/scenario.d.ts +8 -8
  381. package/dist/src/functions/commands/scenario.js +73 -23
  382. package/dist/src/functions/commands/scopes-audit.d.ts +1 -1
  383. package/dist/src/functions/commands/scopes-audit.js +1 -1
  384. package/dist/src/functions/commands/scopes-prune.d.ts +4 -4
  385. package/dist/src/functions/commands/scopes-prune.js +1 -1
  386. package/dist/src/functions/commands/scopes-shared.d.ts +1 -1
  387. package/dist/src/functions/commands/scopes-shared.js +1 -1
  388. package/dist/src/functions/commands/semver.d.ts +1 -1
  389. package/dist/src/functions/commands/semver.js +1 -1
  390. package/dist/src/functions/commands/serve.d.ts +4 -4
  391. package/dist/src/functions/commands/serve.js +8 -6
  392. package/dist/src/functions/commands/skills.d.ts +8 -8
  393. package/dist/src/functions/commands/skills.js +1 -1
  394. package/dist/src/functions/commands/start-coverage.d.ts +1 -1
  395. package/dist/src/functions/commands/start-coverage.js +2 -2
  396. package/dist/src/functions/commands/update.d.ts +1 -1
  397. package/dist/src/functions/commands/update.js +1 -1
  398. package/dist/src/functions/commands/validate.d.ts +4 -4
  399. package/dist/src/functions/commands/validate.js +1 -1
  400. package/dist/src/functions/commands/versions-check.d.ts +1 -1
  401. package/dist/src/functions/commands/versions-check.js +1 -1
  402. package/dist/src/functions/commands/versions-init.d.ts +4 -4
  403. package/dist/src/functions/commands/versions-init.js +1 -1
  404. package/dist/src/functions/commands/versions-update.d.ts +1 -1
  405. package/dist/src/functions/commands/versions-update.js +1 -1
  406. package/dist/src/functions/commands/virtual-user-formatter.d.ts +1 -1
  407. package/dist/src/functions/commands/watch.d.ts +4 -4
  408. package/dist/src/functions/commands/watch.js +1 -1
  409. package/dist/src/functions/db/annotation-parser.d.ts +11 -3
  410. package/dist/src/functions/db/better-auth-schema.js +1 -1
  411. package/dist/src/functions/db/db-codegen.js +4 -2
  412. package/dist/src/functions/db/local-db.js +3 -3
  413. package/dist/src/functions/runtimes/fetch/index.d.ts +1 -1
  414. package/dist/src/functions/runtimes/fetch/index.js +1 -1
  415. package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.d.ts +1 -1
  416. package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.js +1 -1
  417. package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.d.ts +1 -1
  418. package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.js +1 -1
  419. package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.d.ts +1 -1
  420. package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.js +1 -1
  421. package/dist/src/functions/surface/build-surface-doc.d.ts +22 -0
  422. package/dist/src/functions/surface/build-surface-doc.js +151 -0
  423. package/dist/src/functions/surface/collect-surface-usage.d.ts +16 -0
  424. package/dist/src/functions/surface/collect-surface-usage.js +35 -0
  425. package/dist/src/functions/surface/collect-surface.d.ts +19 -1
  426. package/dist/src/functions/surface/collect-surface.js +104 -16
  427. package/dist/src/functions/surface/generate-surface-doc.d.ts +1 -0
  428. package/dist/src/functions/surface/generate-surface-doc.js +46 -0
  429. package/dist/src/functions/surface/shipped-surface-doc.d.ts +16 -0
  430. package/dist/src/functions/surface/shipped-surface-doc.js +44 -0
  431. package/dist/src/functions/surface/surface-doc.types.d.ts +69 -0
  432. package/dist/src/functions/surface/surface-doc.types.js +1 -0
  433. package/dist/src/functions/surface/surface-editorial.d.ts +25 -0
  434. package/dist/src/functions/surface/surface-editorial.js +101 -0
  435. package/dist/src/functions/surface/write-surface-usage.d.ts +12 -0
  436. package/dist/src/functions/surface/write-surface-usage.js +18 -0
  437. package/dist/src/functions/validate/pikku-barrel-checks.d.ts +12 -0
  438. package/dist/src/functions/validate/pikku-barrel-checks.js +97 -0
  439. package/dist/src/functions/validate/shared-checks.d.ts +10 -0
  440. package/dist/src/functions/validate/shared-checks.js +16 -2
  441. package/dist/src/functions/validate/validate-registry.js +10 -0
  442. package/dist/src/functions/wirings/agent/pikku-command-agent-types.d.ts +1 -1
  443. package/dist/src/functions/wirings/agent/pikku-command-agent-types.js +3 -2
  444. package/dist/src/functions/wirings/agent/pikku-command-agent.d.ts +1 -1
  445. package/dist/src/functions/wirings/agent/pikku-command-agent.js +4 -4
  446. package/dist/src/functions/wirings/agent/pikku-command-public-agent.d.ts +1 -1
  447. package/dist/src/functions/wirings/agent/pikku-command-public-agent.js +4 -4
  448. package/dist/src/functions/wirings/agent/serialize-agent-map.d.ts +1 -1
  449. package/dist/src/functions/wirings/agent/serialize-agent-types.d.ts +1 -1
  450. package/dist/src/functions/wirings/agent/serialize-agent-types.js +17 -12
  451. package/dist/src/functions/wirings/agent/serialize-model-aliases.js +1 -1
  452. package/dist/src/functions/wirings/agent/serialize-public-agent.d.ts +1 -1
  453. package/dist/src/functions/wirings/agent/serialize-public-agent.js +5 -3
  454. package/dist/src/functions/wirings/agent-scorer/pikku-command-agent-scorer.d.ts +1 -1
  455. package/dist/src/functions/wirings/agent-scorer/pikku-command-agent-scorer.js +4 -4
  456. package/dist/src/functions/wirings/agent-scorer/serialize-scorer-names.d.ts +1 -1
  457. package/dist/src/functions/wirings/auth/pikku-command-auth.d.ts +4 -4
  458. package/dist/src/functions/wirings/auth/pikku-command-auth.js +5 -4
  459. package/dist/src/functions/wirings/auth/serialize-auth-gen.d.ts +1 -1
  460. package/dist/src/functions/wirings/auth/serialize-auth-gen.js +3 -8
  461. package/dist/src/functions/wirings/auth/serialize-auth-guards.d.ts +12 -0
  462. package/dist/src/functions/wirings/auth/serialize-auth-guards.js +168 -0
  463. package/dist/src/functions/wirings/auth/serialize-auth-types.d.ts +4 -4
  464. package/dist/src/functions/wirings/auth/serialize-auth-types.js +4 -4
  465. package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
  466. package/dist/src/functions/wirings/channels/pikku-channels.js +2 -2
  467. package/dist/src/functions/wirings/channels/pikku-command-channel-types.d.ts +1 -1
  468. package/dist/src/functions/wirings/channels/pikku-command-channel-types.js +6 -3
  469. package/dist/src/functions/wirings/channels/pikku-command-channels-map.d.ts +1 -1
  470. package/dist/src/functions/wirings/channels/pikku-command-channels-map.js +1 -1
  471. package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
  472. package/dist/src/functions/wirings/channels/pikku-command-channels.js +2 -2
  473. package/dist/src/functions/wirings/channels/serialize-channel-types.d.ts +3 -1
  474. package/dist/src/functions/wirings/channels/serialize-channel-types.js +18 -25
  475. package/dist/src/functions/wirings/channels/serialize-typed-channel-map.d.ts +2 -3
  476. package/dist/src/functions/wirings/cli/pikku-command-cli-entry.d.ts +1 -1
  477. package/dist/src/functions/wirings/cli/pikku-command-cli-entry.js +2 -2
  478. package/dist/src/functions/wirings/cli/pikku-command-cli-types.d.ts +1 -1
  479. package/dist/src/functions/wirings/cli/pikku-command-cli-types.js +3 -3
  480. package/dist/src/functions/wirings/cli/pikku-command-cli.d.ts +1 -1
  481. package/dist/src/functions/wirings/cli/pikku-command-cli.js +2 -2
  482. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.d.ts +1 -1
  483. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +3 -3
  484. package/dist/src/functions/wirings/cli/serialize-channel-cli.d.ts +2 -2
  485. package/dist/src/functions/wirings/cli/serialize-channel-cli.js +11 -5
  486. package/dist/src/functions/wirings/cli/serialize-cli-types.d.ts +1 -1
  487. package/dist/src/functions/wirings/cli/serialize-cli-types.js +8 -3
  488. package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.js +1 -1
  489. package/dist/src/functions/wirings/console/pikku-command-console-functions.d.ts +1 -1
  490. package/dist/src/functions/wirings/console/pikku-command-console-functions.js +6 -5
  491. package/dist/src/functions/wirings/console/pikku-command-nodes-meta.d.ts +1 -1
  492. package/dist/src/functions/wirings/console/pikku-command-nodes-meta.js +2 -2
  493. package/dist/src/functions/wirings/console/serialize-console-functions.d.ts +1 -1
  494. package/dist/src/functions/wirings/console/serialize-console-functions.js +20 -4
  495. package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -1
  496. package/dist/src/functions/wirings/credentials/pikku-command-credentials.js +2 -2
  497. package/dist/src/functions/wirings/credentials/serialize-credentials-types.d.ts +1 -1
  498. package/dist/src/functions/wirings/credentials/serialize-credentials-types.js +4 -6
  499. package/dist/src/functions/wirings/emails/pikku-command-emails.d.ts +1 -1
  500. package/dist/src/functions/wirings/emails/pikku-command-emails.js +1 -1
  501. package/dist/src/functions/wirings/emails/serialize-emails.js +2 -2
  502. package/dist/src/functions/wirings/errors/pikku-command-error-types.d.ts +1 -0
  503. package/dist/src/functions/wirings/errors/pikku-command-error-types.js +17 -0
  504. package/dist/src/functions/wirings/errors/serialize-error-types.d.ts +9 -0
  505. package/dist/src/functions/wirings/errors/serialize-error-types.js +16 -0
  506. package/dist/src/functions/wirings/functions/pikku-command-addon-types.d.ts +1 -1
  507. package/dist/src/functions/wirings/functions/pikku-command-addon-types.js +20 -8
  508. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.d.ts +4 -4
  509. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +17 -3
  510. package/dist/src/functions/wirings/functions/pikku-command-functions.d.ts +1 -1
  511. package/dist/src/functions/wirings/functions/pikku-command-functions.js +2 -2
  512. package/dist/src/functions/wirings/functions/pikku-command-leaf-indexes.d.ts +14 -0
  513. package/dist/src/functions/wirings/functions/pikku-command-leaf-indexes.js +119 -0
  514. package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +1 -1
  515. package/dist/src/functions/wirings/functions/pikku-command-services.js +18 -3
  516. package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
  517. package/dist/src/functions/wirings/functions/schemas.js +1 -1
  518. package/dist/src/functions/wirings/functions/serialize-addon-types.d.ts +13 -0
  519. package/dist/src/functions/wirings/functions/serialize-addon-types.js +20 -2
  520. package/dist/src/functions/wirings/functions/serialize-function-imports.d.ts +1 -1
  521. package/dist/src/functions/wirings/functions/serialize-function-types.d.ts +7 -2
  522. package/dist/src/functions/wirings/functions/serialize-function-types.js +47 -361
  523. package/dist/src/functions/wirings/functions/serialize-leaf-index.d.ts +17 -0
  524. package/dist/src/functions/wirings/functions/serialize-leaf-index.js +27 -0
  525. package/dist/src/functions/wirings/gateway/pikku-command-gateway-types.d.ts +7 -0
  526. package/dist/src/functions/wirings/gateway/pikku-command-gateway-types.js +24 -0
  527. package/dist/src/functions/wirings/gateway/pikku-command-gateway.d.ts +1 -1
  528. package/dist/src/functions/wirings/gateway/pikku-command-gateway.js +1 -1
  529. package/dist/src/functions/wirings/gateway/serialize-gateway-meta.d.ts +1 -1
  530. package/dist/src/functions/wirings/gateway/serialize-gateway-types.d.ts +6 -0
  531. package/dist/src/functions/wirings/gateway/serialize-gateway-types.js +55 -0
  532. package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.d.ts +1 -1
  533. package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.js +3 -4
  534. package/dist/src/functions/wirings/graph/serialize-graph-wirings.d.ts +1 -1
  535. package/dist/src/functions/wirings/graph/serialize-graph-wirings.js +2 -2
  536. package/dist/src/functions/wirings/http/pikku-command-http-map.d.ts +1 -1
  537. package/dist/src/functions/wirings/http/pikku-command-http-map.js +3 -3
  538. package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
  539. package/dist/src/functions/wirings/http/pikku-command-http-routes.js +2 -2
  540. package/dist/src/functions/wirings/http/pikku-command-http-types.d.ts +1 -1
  541. package/dist/src/functions/wirings/http/pikku-command-http-types.js +7 -3
  542. package/dist/src/functions/wirings/http/pikku-command-openapi.d.ts +1 -1
  543. package/dist/src/functions/wirings/http/pikku-command-openapi.js +1 -1
  544. package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +1 -1
  545. package/dist/src/functions/wirings/http/pikku-http-routes.js +2 -2
  546. package/dist/src/functions/wirings/http/serialize-http-types.d.ts +3 -1
  547. package/dist/src/functions/wirings/http/serialize-http-types.js +20 -36
  548. package/dist/src/functions/wirings/http/serialize-typed-http-map.d.ts +6 -2
  549. package/dist/src/functions/wirings/http/serialize-typed-http-map.js +5 -4
  550. package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.d.ts +1 -1
  551. package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.js +1 -1
  552. package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.d.ts +1 -1
  553. package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.js +5 -2
  554. package/dist/src/functions/wirings/mcp/pikku-command-mcp.d.ts +1 -1
  555. package/dist/src/functions/wirings/mcp/pikku-command-mcp.js +7 -3
  556. package/dist/src/functions/wirings/mcp/serialize-mcp-types.d.ts +3 -1
  557. package/dist/src/functions/wirings/mcp/serialize-mcp-types.js +17 -9
  558. package/dist/src/functions/wirings/middleware/pikku-command-middleware.d.ts +1 -1
  559. package/dist/src/functions/wirings/middleware/pikku-command-middleware.js +1 -1
  560. package/dist/src/functions/wirings/middleware/serialize-middleware-types.d.ts +9 -0
  561. package/dist/src/functions/wirings/middleware/serialize-middleware-types.js +176 -0
  562. package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +3 -3
  563. package/dist/src/functions/wirings/package/pikku-command-package-types.js +1 -1
  564. package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -1
  565. package/dist/src/functions/wirings/package/pikku-command-package.js +1 -1
  566. package/dist/src/functions/wirings/package/serialize-package-types.js +2 -7
  567. package/dist/src/functions/wirings/package/serialize-package.js +1 -1
  568. package/dist/src/functions/wirings/permissions/pikku-command-permissions.d.ts +1 -1
  569. package/dist/src/functions/wirings/permissions/pikku-command-permissions.js +1 -1
  570. package/dist/src/functions/wirings/personas/pikku-command-personas.d.ts +4 -4
  571. package/dist/src/functions/wirings/personas/pikku-command-personas.js +2 -2
  572. package/dist/src/functions/wirings/personas/serialize-personas-types.d.ts +2 -2
  573. package/dist/src/functions/wirings/personas/serialize-personas-types.js +4 -27
  574. package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
  575. package/dist/src/functions/wirings/queue/pikku-command-queue-map.js +1 -1
  576. package/dist/src/functions/wirings/queue/pikku-command-queue-service.d.ts +1 -1
  577. package/dist/src/functions/wirings/queue/pikku-command-queue-service.js +1 -1
  578. package/dist/src/functions/wirings/queue/pikku-command-queue-types.d.ts +1 -1
  579. package/dist/src/functions/wirings/queue/pikku-command-queue-types.js +4 -2
  580. package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
  581. package/dist/src/functions/wirings/queue/pikku-command-queue.js +1 -1
  582. package/dist/src/functions/wirings/queue/pikku-queue-map.d.ts +1 -1
  583. package/dist/src/functions/wirings/queue/pikku-queue-map.js +1 -1
  584. package/dist/src/functions/wirings/queue/pikku-queue.d.ts +1 -1
  585. package/dist/src/functions/wirings/queue/pikku-queue.js +1 -1
  586. package/dist/src/functions/wirings/queue/serialize-queue-map.d.ts +1 -1
  587. package/dist/src/functions/wirings/queue/serialize-queue-map.js +1 -1
  588. package/dist/src/functions/wirings/queue/serialize-queue-meta.d.ts +1 -1
  589. package/dist/src/functions/wirings/queue/serialize-queue-types.d.ts +3 -1
  590. package/dist/src/functions/wirings/queue/serialize-queue-types.js +8 -6
  591. package/dist/src/functions/wirings/queue/serialize-queue-wrapper.js +1 -1
  592. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.d.ts +1 -1
  593. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.js +3 -4
  594. package/dist/src/functions/wirings/realtime/pikku-command-realtime.d.ts +1 -1
  595. package/dist/src/functions/wirings/realtime/pikku-command-realtime.js +1 -1
  596. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.d.ts +1 -1
  597. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.js +4 -8
  598. package/dist/src/functions/wirings/roles/pikku-command-roles.d.ts +4 -4
  599. package/dist/src/functions/wirings/roles/pikku-command-roles.js +3 -3
  600. package/dist/src/functions/wirings/roles/serialize-roles-types.d.ts +1 -1
  601. package/dist/src/functions/wirings/roles/serialize-roles-types.js +2 -2
  602. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.d.ts +1 -1
  603. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +6 -6
  604. package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -1
  605. package/dist/src/functions/wirings/rpc/pikku-command-react-query.js +1 -1
  606. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.d.ts +1 -1
  607. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.js +6 -6
  608. package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.d.ts +1 -1
  609. package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.js +1 -1
  610. package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.d.ts +3 -3
  611. package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.js +1 -1
  612. package/dist/src/functions/wirings/rpc/pikku-command-rpc.d.ts +1 -1
  613. package/dist/src/functions/wirings/rpc/pikku-command-rpc.js +2 -2
  614. package/dist/src/functions/wirings/rpc/serialize-public-rpc.d.ts +1 -1
  615. package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +3 -2
  616. package/dist/src/functions/wirings/rpc/serialize-remote-rpc.d.ts +1 -1
  617. package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +5 -3
  618. package/dist/src/functions/wirings/rpc/serialize-rpc-wrapper.js +1 -1
  619. package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +1 -1
  620. package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.js +3 -4
  621. package/dist/src/functions/wirings/scenarios/scenario-partition.d.ts +1 -1
  622. package/dist/src/functions/wirings/scenarios/scenario-schema-partition.d.ts +1 -1
  623. package/dist/src/functions/wirings/scenarios/serialize-feature-meta.d.ts +1 -1
  624. package/dist/src/functions/wirings/scenarios/serialize-scenario-meta.js +4 -4
  625. package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.js +1 -1
  626. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.d.ts +1 -1
  627. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.js +5 -2
  628. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.d.ts +1 -1
  629. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.js +1 -1
  630. package/dist/src/functions/wirings/scheduler/serialize-scheduler-meta.d.ts +1 -1
  631. package/dist/src/functions/wirings/scheduler/serialize-scheduler-types.d.ts +3 -1
  632. package/dist/src/functions/wirings/scheduler/serialize-scheduler-types.js +10 -6
  633. package/dist/src/functions/wirings/scopes/pikku-command-scopes.d.ts +4 -4
  634. package/dist/src/functions/wirings/scopes/pikku-command-scopes.js +5 -4
  635. package/dist/src/functions/wirings/scopes/serialize-scopes-types.d.ts +1 -1
  636. package/dist/src/functions/wirings/scopes/serialize-scopes-types.js +3 -3
  637. package/dist/src/functions/wirings/secrets/pikku-command-secrets.d.ts +1 -1
  638. package/dist/src/functions/wirings/secrets/pikku-command-secrets.js +2 -2
  639. package/dist/src/functions/wirings/secrets/serialize-secrets-types.d.ts +1 -1
  640. package/dist/src/functions/wirings/secrets/serialize-secrets-types.js +14 -21
  641. package/dist/src/functions/wirings/setup/serialize-setup-types.d.ts +7 -0
  642. package/dist/src/functions/wirings/setup/serialize-setup-types.js +111 -0
  643. package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.d.ts +4 -4
  644. package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.js +2 -2
  645. package/dist/src/functions/wirings/triggers/pikku-command-trigger.d.ts +1 -1
  646. package/dist/src/functions/wirings/triggers/pikku-command-trigger.js +1 -1
  647. package/dist/src/functions/wirings/triggers/serialize-trigger-meta.d.ts +1 -1
  648. package/dist/src/functions/wirings/triggers/serialize-trigger-meta.js +4 -4
  649. package/dist/src/functions/wirings/triggers/serialize-trigger-types.d.ts +3 -1
  650. package/dist/src/functions/wirings/triggers/serialize-trigger-types.js +19 -13
  651. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.d.ts +1 -1
  652. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +18 -17
  653. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +10 -9
  654. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +67 -49
  655. package/dist/src/functions/wirings/variables/pikku-command-variables.d.ts +1 -1
  656. package/dist/src/functions/wirings/variables/pikku-command-variables.js +2 -2
  657. package/dist/src/functions/wirings/variables/serialize-variables-types.d.ts +1 -1
  658. package/dist/src/functions/wirings/variables/serialize-variables-types.js +13 -17
  659. package/dist/src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.d.ts +1 -1
  660. package/dist/src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.js +4 -3
  661. package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.d.ts +1 -1
  662. package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +7 -3
  663. package/dist/src/functions/wirings/webhook/pikku-command-webhook.d.ts +1 -1
  664. package/dist/src/functions/wirings/webhook/pikku-command-webhook.js +6 -6
  665. package/dist/src/functions/wirings/webhook/serialize-webhook.d.ts +1 -1
  666. package/dist/src/functions/wirings/webhook/serialize-webhook.js +4 -3
  667. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.d.ts +1 -1
  668. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.js +4 -4
  669. package/dist/src/functions/wirings/workflow/pikku-command-workflow.d.ts +1 -1
  670. package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +14 -5
  671. package/dist/src/functions/wirings/workflow/serialize-personas.d.ts +1 -1
  672. package/dist/src/functions/wirings/workflow/serialize-personas.js +3 -3
  673. package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.d.ts +1 -2
  674. package/dist/src/functions/wirings/workflow/serialize-scenario-types.d.ts +2 -0
  675. package/dist/src/functions/wirings/workflow/serialize-scenario-types.js +511 -0
  676. package/dist/src/functions/wirings/workflow/serialize-workflow-bootstrap-map.d.ts +1 -1
  677. package/dist/src/functions/wirings/workflow/serialize-workflow-map.d.ts +2 -3
  678. package/dist/src/functions/wirings/workflow/serialize-workflow-map.js +1 -1
  679. package/dist/src/functions/wirings/workflow/serialize-workflow-meta.js +4 -4
  680. package/dist/src/functions/wirings/workflow/serialize-workflow-registration.js +0 -4
  681. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.d.ts +1 -1
  682. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +4 -3
  683. package/dist/src/functions/wirings/workflow/serialize-workflow-types.d.ts +1 -1
  684. package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +28 -438
  685. package/dist/src/functions/workflows/all.workflow.d.ts +1 -1
  686. package/dist/src/functions/workflows/all.workflow.js +77 -22
  687. package/dist/src/middleware/log-command-info-and-time.d.ts +1 -1
  688. package/dist/src/server/bun-server-runner.d.ts +1 -1
  689. package/dist/src/server/content-signing-jwt.js +1 -1
  690. package/dist/src/server/dev-server-runner.interface.d.ts +1 -1
  691. package/dist/src/server/node-server-runner.d.ts +1 -1
  692. package/dist/src/services/cli-logger.service.d.ts +1 -1
  693. package/dist/src/services/cli-logger.service.js +1 -1
  694. package/dist/src/services.d.ts +9 -6
  695. package/dist/src/services.js +22 -6
  696. package/dist/src/utils/file-writer.d.ts +2 -0
  697. package/dist/src/utils/file-writer.js +37 -1
  698. package/dist/src/utils/is-deploy-codegen.d.ts +21 -0
  699. package/dist/src/utils/is-deploy-codegen.js +23 -0
  700. package/dist/src/utils/leaf-import-path.d.ts +16 -0
  701. package/dist/src/utils/leaf-import-path.js +15 -0
  702. package/dist/src/utils/parse-cli-filters.js +15 -35
  703. package/dist/src/utils/pikku-cli-config.d.ts +11 -0
  704. package/dist/src/utils/pikku-cli-config.js +82 -12
  705. package/dist/src/utils/precise-coverage-map.d.ts +1 -1
  706. package/dist/src/utils/remove-legacy-scaffold-file.d.ts +1 -1
  707. package/dist/src/utils/remove-legacy-scaffold-file.js +11 -3
  708. package/dist/src/utils/resolve-personas.d.ts +3 -3
  709. package/dist/src/utils/resolve-personas.js +2 -2
  710. package/dist/src/utils/resolve-scaffold-feature.js +5 -1
  711. package/dist/src/utils/serialize-meta-ts.js +1 -1
  712. package/dist/src/utils/serialize-schemas.d.ts +1 -1
  713. package/dist/src/utils/serialize-schemas.js +1 -1
  714. package/dist/src/utils/surface.js +1 -1
  715. package/dist/src/utils/tsc-check.d.ts +1 -1
  716. package/dist/src/utils/tsc-check.js +1 -1
  717. package/dist/tsconfig.tsbuildinfo +1 -1
  718. package/package.json +48 -47
  719. package/surface.json +4464 -0
  720. package/console-app/assets/abnfDiagram-VRR7QNED-QRjCVsso.js +0 -1
  721. package/console-app/assets/arc-CloGjkHW.js +0 -1
  722. package/console-app/assets/architecture-TIHT7OUA-Cz78Qi5H.js +0 -1
  723. package/console-app/assets/architectureDiagram-ZJ3FMSHR-Dl10fVqw.js +0 -36
  724. package/console-app/assets/c4Diagram-LMCZKHZV-C2pWYCa6.js +0 -10
  725. package/console-app/assets/channel-Bm4o-pNB.js +0 -1
  726. package/console-app/assets/chunk-52WLFC77-DuAheIlc.js +0 -10
  727. package/console-app/assets/chunk-EX3LRPZG-CWXF7N33.js +0 -231
  728. package/console-app/assets/chunk-FWX5IMBZ-UN3i5qMG.js +0 -2
  729. package/console-app/assets/chunk-ICXQ74PX-BiuzWyj2.js +0 -2
  730. package/console-app/assets/chunk-OGEWGWER-BNi3Gsmc.js +0 -1
  731. package/console-app/assets/chunk-PUDLZKDR-DNWGCeoL.js +0 -156
  732. package/console-app/assets/chunk-RYQCIY6F-DvRUzuDz.js +0 -1
  733. package/console-app/assets/chunk-VAUOI2AC-D4_whP-t.js +0 -1
  734. package/console-app/assets/chunk-WYO6CB5R-COKjEQwP.js +0 -127
  735. package/console-app/assets/chunk-XXDRQBXY-mkAF2YHU.js +0 -1
  736. package/console-app/assets/chunk-ZIRB5QZD-H-kepumB.js +0 -32
  737. package/console-app/assets/classDiagram-OUVF2IWQ-B2cEvfK0.js +0 -1
  738. package/console-app/assets/classDiagram-v2-EOCWNBFH-B2cEvfK0.js +0 -1
  739. package/console-app/assets/cose-bilkent-JH36ORCC-D6F1MghO.js +0 -1
  740. package/console-app/assets/cynefin-VYW2F7L2-BIhff1Ln.js +0 -1
  741. package/console-app/assets/cynefinDiagram-TSTJHNR4-DrlBq_QP.js +0 -62
  742. package/console-app/assets/cytoscape.esm-h6BdjjI9.js +0 -321
  743. package/console-app/assets/dagre-CXRCoUWR.js +0 -1
  744. package/console-app/assets/dagre-VKFMJZFB-Cm2eP0ez.js +0 -4
  745. package/console-app/assets/defaultLocale-C8Fc0cco.js +0 -1
  746. package/console-app/assets/diagram-G47NLZAW-3K3OPEuG.js +0 -24
  747. package/console-app/assets/diagram-NH7WQ7WH-CUK-d5iT.js +0 -24
  748. package/console-app/assets/diagram-WEI45ONY-D33qA2d9.js +0 -41
  749. package/console-app/assets/dist-jqlCD26w.js +0 -1
  750. package/console-app/assets/ebnfDiagram-CCIWWBDH-DUHkt7z6.js +0 -1
  751. package/console-app/assets/eventmodeling-45OFAUF4-iK6rmyk3.js +0 -1
  752. package/console-app/assets/flowDiagram-23GEKE2U-CSYhKO9Y.js +0 -1
  753. package/console-app/assets/ganttDiagram-NO4QXBWP-64_vh9rj.js +0 -292
  754. package/console-app/assets/gitGraph-TEB2WS4Q-DlFJY0cQ.js +0 -1
  755. package/console-app/assets/graphlib-B8gBHxth.js +0 -1
  756. package/console-app/assets/index-Byf4wkdP.js +0 -261
  757. package/console-app/assets/index-CTO5cTAD.css +0 -1
  758. package/console-app/assets/info-DKCQHKI2-DhyT_-b1.js +0 -1
  759. package/console-app/assets/infoDiagram-FWYZ7A6U-ufTemVSR.js +0 -2
  760. package/console-app/assets/init-D6jRqBbL.js +0 -1
  761. package/console-app/assets/linear-5Z8stnH-.js +0 -1
  762. package/console-app/assets/map-DsCK-0Cs.js +0 -1
  763. package/console-app/assets/mermaid.core-DwI4IdKs.js +0 -11
  764. package/console-app/assets/packet-7NZHBO7P-comMLvz_.js +0 -1
  765. package/console-app/assets/path-BWPyau1x.js +0 -1
  766. package/console-app/assets/pegDiagram-2B236MQR-CbqiI_m5.js +0 -1
  767. package/console-app/assets/pie-RZYD4A2V-VZXoX73g.js +0 -1
  768. package/console-app/assets/pieDiagram-ENE6RG2P-SA-sCnrt.js +0 -39
  769. package/console-app/assets/radar-I7S5WNFK-W0UH9BdP.js +0 -1
  770. package/console-app/assets/railroad-3IZDKUUU-_HEtbruA.js +0 -1
  771. package/console-app/assets/railroad-abnf-AHOZXSZD-ghLnUEfg.js +0 -1
  772. package/console-app/assets/railroad-ebnf-EBAXGLYW-D8JHCZD5.js +0 -1
  773. package/console-app/assets/railroad-peg-LSFZ7HO6-C9eC4l2D.js +0 -1
  774. package/console-app/assets/railroadDiagram-RFXS5EU6-Cm2SfP9Z.js +0 -1
  775. package/console-app/assets/sequenceDiagram-DBY2YBRQ-B2AvEvXu.js +0 -162
  776. package/console-app/assets/src-72nNqhBu.js +0 -1
  777. package/console-app/assets/stateDiagram-2N3HPSRC-vgyc-CMC.js +0 -1
  778. package/console-app/assets/stateDiagram-v2-6OUMAXLB-B2WCkCZh.js +0 -1
  779. package/console-app/assets/swimlanes-5IMT3BWC-GiOMMhZh.js +0 -2
  780. package/console-app/assets/swimlanesDiagram-G3AALYLV-CkCbtoLb.js +0 -8
  781. package/console-app/assets/timeline-definition-FHXFAJF6-DTJQsTn8.js +0 -120
  782. package/console-app/assets/treeView-QDETBFTQ-aizmbgl7.js +0 -1
  783. package/console-app/assets/treemap-6X3UGDF4-DIBl6bfV.js +0 -1
  784. package/console-app/assets/vennDiagram-L72KCM5P-C4Ngu7VX.js +0 -34
  785. package/console-app/assets/wardley-OPB4EBWU-BqdXyJTm.js +0 -1
  786. package/dist/src/functions/db/coercion-plugin.d.ts +0 -7
  787. package/dist/src/functions/db/coercion-plugin.js +0 -103
  788. package/dist/src/functions/wirings/console/pikku-command-node-types.d.ts +0 -1
  789. package/dist/src/functions/wirings/console/pikku-command-node-types.js +0 -21
  790. package/dist/src/functions/wirings/console/serialize-node-types.d.ts +0 -1
  791. package/dist/src/functions/wirings/console/serialize-node-types.js +0 -11
  792. package/dist/src/functions/wirings/functions/pikku-command-function-types.d.ts +0 -7
  793. package/dist/src/functions/wirings/functions/pikku-command-function-types.js +0 -43
  794. package/dist/src/functions/wirings/functions/serialize-pikku-types-hub.d.ts +0 -4
  795. package/dist/src/functions/wirings/functions/serialize-pikku-types-hub.js +0 -36
  796. /package/dist/.pikku/schemas/schemas/{PikkuFunctionTypesInput.schema.json → PikkuGatewayTypesInput.schema.json} +0 -0
@@ -1,6 +1,7 @@
1
1
  import { join, dirname, resolve, isAbsolute, parse as parsePath } from 'path';
2
2
  import { readdir, readFile } from 'fs/promises';
3
3
  import { resolveScaffoldFeature } from './resolve-scaffold-feature.js';
4
+ import { setScaffoldWriteGuard } from './file-writer.js';
4
5
  const CLIENT_FILE_KEYS = [
5
6
  'fetchFile',
6
7
  'websocketFile',
@@ -17,7 +18,24 @@ export const getPikkuCLIConfig = async (logger, configFile = undefined, required
17
18
  const config = await _getPikkuCLIConfig(logger, configFile, requiredFields, exitProcess, outDirOverride);
18
19
  return config;
19
20
  };
20
- async function findConfigFile() {
21
+ /**
22
+ * Like `getPikkuCLIConfig`, but returns null when the project has no config at
23
+ * all rather than throwing.
24
+ *
25
+ * Some commands are meant to run *outside* a Pikku project: `pikku skills
26
+ * install` seeds a repo's agent skills, which is something you do before there
27
+ * is a pikku.config.json to read. Requiring one to find out there isn't one is
28
+ * a chicken-and-egg. A config that exists but is broken still throws — that is
29
+ * a real error, and staying quiet about it would hide it.
30
+ */
31
+ export const tryGetPikkuCLIConfig = async (logger, configFile = undefined, requiredFields, outDirOverride) => {
32
+ const resolved = configFile ?? (await findConfigFileOrNull());
33
+ if (!resolved) {
34
+ return null;
35
+ }
36
+ return await getPikkuCLIConfig(logger, resolved, requiredFields, false, outDirOverride);
37
+ };
38
+ async function findConfigFileOrNull() {
21
39
  let dir = process.cwd();
22
40
  const { root } = parsePath(dir);
23
41
  while (true) {
@@ -31,7 +49,14 @@ async function findConfigFile() {
31
49
  break;
32
50
  dir = dirname(dir);
33
51
  }
34
- throw new Error('Config file pikku.config.json not found');
52
+ return null;
53
+ }
54
+ async function findConfigFile() {
55
+ const configFile = await findConfigFileOrNull();
56
+ if (!configFile) {
57
+ throw new Error('Config file pikku.config.json not found');
58
+ }
59
+ return configFile;
35
60
  }
36
61
  /** A config that was found and parsed, but says something impossible. */
37
62
  export class PikkuCLIConfigError extends Error {
@@ -119,6 +144,17 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
119
144
  ? outDirOverride
120
145
  : resolve(result.rootDir, outDirOverride);
121
146
  }
147
+ // An addon's whole generated tree roots one level down, so every leaf it
148
+ // authors is reached as `#pikku/addon/<leaf>`. tsconfig `paths` are global
149
+ // to a tsx process rather than scoped to the package that declared them, so
150
+ // a linked addon's `#pikku/function` would otherwise match the *host
151
+ // application's* flat leaf and type the addon's functions against the
152
+ // host's services. An application generates nothing at this depth, so the
153
+ // pattern finds no candidate and resolution falls back to Node's
154
+ // per-package `imports`, which is package-scoped by definition.
155
+ if (result.addon) {
156
+ result.outDir = join(result.outDir, 'addon');
157
+ }
122
158
  // Create transport/event directories
123
159
  const functionDir = join(result.outDir, 'function');
124
160
  const httpDir = join(result.outDir, 'http');
@@ -147,8 +183,21 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
147
183
  if (!result.functionTypesFile) {
148
184
  result.functionTypesFile = join(functionDir, 'pikku-function-types.gen.ts');
149
185
  }
150
- if (!result.typesDeclarationFile) {
151
- result.typesDeclarationFile = join(result.outDir, 'pikku-types.gen.ts');
186
+ if (!result.middlewareTypesFile) {
187
+ result.middlewareTypesFile = join(middlewareDir, 'pikku-middleware-types.gen.ts');
188
+ }
189
+ const setupDir = join(result.outDir, 'setup');
190
+ if (!result.setupTypesFile) {
191
+ result.setupTypesFile = join(setupDir, 'pikku-setup-types.gen.ts');
192
+ }
193
+ if (!result.addonSetupTypesFile) {
194
+ result.addonSetupTypesFile = join(setupDir, 'pikku-addon-setup-types.gen.ts');
195
+ }
196
+ // Sits in the same directory as the better-auth wrapper so both reach the
197
+ // reader as `#pikku/auth`, but is written unconditionally: every project
198
+ // decides who may call a function, only some projects use better-auth.
199
+ if (!result.authGuardsFile) {
200
+ result.authGuardsFile = join(result.outDir, 'auth', 'pikku-auth-types.gen.ts');
152
201
  }
153
202
  // HTTP
154
203
  if (!result.httpWiringsFile) {
@@ -174,6 +223,9 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
174
223
  }
175
224
  // Gateways
176
225
  const gatewayDir = join(result.outDir, 'gateway');
226
+ if (!result.gatewaysTypesFile) {
227
+ result.gatewaysTypesFile = join(gatewayDir, 'pikku-gateway-types.gen.ts');
228
+ }
177
229
  if (!result.gatewaysWiringFile) {
178
230
  result.gatewaysWiringFile = join(gatewayDir, 'pikku-gateway-wirings.gen.ts');
179
231
  }
@@ -232,6 +284,14 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
232
284
  const resolvedScaffoldDir = isAbsolute(scaffoldDir)
233
285
  ? scaffoldDir
234
286
  : join(result.rootDir, scaffoldDir);
287
+ // Per-unit deploy codegen re-runs the whole of `pikku all` with `--outDir`
288
+ // pointed at one unit's `.pikku`. It needs the `.pikku` artifacts and
289
+ // nothing else — the scaffold is project source, and regenerating it under
290
+ // a redirected outDir rewrites the developer's imports to point inside
291
+ // `.deploy/`. Read straight from the environment rather than through the
292
+ // variables service: that service JSON-parses, so `'1'` arrives as the
293
+ // number 1 and every `=== '1'` check against it silently never matched.
294
+ setScaffoldWriteGuard(process.env.PIKKU_DEPLOY_CODEGEN === '1' ? resolvedScaffoldDir : undefined);
235
295
  // Read every scaffold feature once, here, so a legacy 'auth'/'no-auth'
236
296
  // fails at load with the migration named, rather than downstream where the
237
297
  // value has already been coerced into something plausible.
@@ -407,11 +467,18 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
407
467
  if (!result.workflowMetaDir) {
408
468
  result.workflowMetaDir = join(workflowDir, 'meta');
409
469
  }
410
- if (!result.personasWiringFile) {
411
- result.personasWiringFile = join(workflowDir, 'pikku-personas.gen.ts');
412
- }
413
470
  // Scenarios
414
471
  const scenarioDir = join(result.outDir, 'scenarios');
472
+ if (!result.scenarioTypesFile) {
473
+ result.scenarioTypesFile = join(scenarioDir, 'pikku-scenario-types.gen.ts');
474
+ }
475
+ // The actors a scenario drives. Sat under `workflow/` beside a different
476
+ // file of the same name — `scopes/pikku-personas.gen.ts` declares personas,
477
+ // this one types them at runtime — which made the pair impossible to tell
478
+ // apart by import path.
479
+ if (!result.personasWiringFile) {
480
+ result.personasWiringFile = join(scenarioDir, 'pikku-personas.gen.ts');
481
+ }
415
482
  if (!result.scenarioStepsFile) {
416
483
  result.scenarioStepsFile = join(scenarioDir, 'pikku-scenario-functions.gen.ts');
417
484
  }
@@ -537,16 +604,17 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
537
604
  if (!result.addonMetaJsonFile) {
538
605
  result.addonMetaJsonFile = join(consoleDir, 'pikku-addon-meta.gen.json');
539
606
  }
540
- if (!result.nodeTypesFile) {
541
- result.nodeTypesFile = join(consoleDir, 'pikku-node-types.gen.ts');
542
- }
543
607
  const addonDir = join(result.outDir, 'addon');
544
608
  if (!result.packageFile) {
545
- result.packageFile = join(addonDir, 'pikku-package.gen.ts');
609
+ result.packageFile = join(result.addon ? result.outDir : addonDir, 'pikku-package.gen.ts');
546
610
  }
547
611
  if (!result.addonTypesFile) {
548
612
  result.addonTypesFile = join(addonDir, 'pikku-addon-types.gen.ts');
549
613
  }
614
+ const errorDir = join(result.outDir, 'error');
615
+ if (!result.errorTypesFile) {
616
+ result.errorTypesFile = join(errorDir, 'pikku-error-types.gen.ts');
617
+ }
550
618
  // Secrets (typed wrapper for SecretService)
551
619
  const secretsDir = join(result.outDir, 'secrets');
552
620
  if (!result.secretTypesFile) {
@@ -669,7 +737,9 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
669
737
  throw e;
670
738
  }
671
739
  logger.error(e);
672
- throw new Error(`Config file not found: ${configFile}`);
740
+ // The file was found and read; it is the loading that failed. Reporting
741
+ // that as "not found" sends the reader hunting for a file that is there.
742
+ throw new Error(`Failed to load config file: ${configFile}`);
673
743
  }
674
744
  };
675
745
  export const validateCLIConfig = (cliConfig, required) => {
@@ -1,4 +1,4 @@
1
- import type { CoverageFunctionMeta, FunctionCoverageReport, ScriptCoverage as ScriptCoverageInput } from '@pikku/core/ecosystem/services';
1
+ import type { CoverageFunctionMeta, FunctionCoverageReport, ScriptCoverage as ScriptCoverageInput } from '@pikku/core/services';
2
2
  export type { ScriptCoverageInput };
3
3
  export declare function mapPreciseCoverage(scripts: ScriptCoverageInput[], getScriptSource: (scriptId: string) => Promise<string>, functionsMeta: Record<string, CoverageFunctionMeta>): Promise<FunctionCoverageReport>;
4
4
  export declare function mapLineHitsToReport(lineHits: Map<string, Map<number, number>>, functionsMeta: Record<string, CoverageFunctionMeta>): FunctionCoverageReport;
@@ -23,7 +23,7 @@ export declare const removeRetiredScaffoldFiles: (config: PikkuCLIConfig) => Pro
23
23
  * because it is still there. Deleting it puts it back in the missing set, so the
24
24
  * same `pikku all` regenerates it against the current entry point.
25
25
  *
26
- * Only the two `@pikku/core` paths #596 renamed count as stale. Anything a
26
+ * Only the specifiers above count as stale. Anything a
27
27
  * project added to the file is lost with it — which is why this is keyed to an
28
28
  * import that cannot compile rather than to the file simply being out of date.
29
29
  */
@@ -58,9 +58,17 @@ export const removeRetiredScaffoldFiles = async (config) => {
58
58
  }
59
59
  };
60
60
  /**
61
- * Entry points a scaffold may still import after #596 renamed them.
61
+ * Entry points a scaffold may still import that nothing resolves any more: the
62
+ * two #596 renamed, and the `#pikku` hub #1308 replaced with per-wiring leaves.
63
+ * The hub was the project's own file, so a scaffold names it by a relative path
64
+ * rather than by package — matching on the file name is what catches it wherever
65
+ * `outDir` sits.
62
66
  */
63
- const REMOVED_ENTRY_POINTS = ['@pikku/core/ai-agent', '@pikku/core/ai-scorer'];
67
+ const REMOVED_ENTRY_POINTS = [
68
+ '@pikku/core/ai-agent',
69
+ '@pikku/core/ai-scorer',
70
+ 'pikku-types.gen.js',
71
+ ];
64
72
  /**
65
73
  * Delete agent scaffolds that import an entry point pikku no longer publishes.
66
74
  *
@@ -70,7 +78,7 @@ const REMOVED_ENTRY_POINTS = ['@pikku/core/ai-agent', '@pikku/core/ai-scorer'];
70
78
  * because it is still there. Deleting it puts it back in the missing set, so the
71
79
  * same `pikku all` regenerates it against the current entry point.
72
80
  *
73
- * Only the two `@pikku/core` paths #596 renamed count as stale. Anything a
81
+ * Only the specifiers above count as stale. Anything a
74
82
  * project added to the file is lost with it — which is why this is keyed to an
75
83
  * import that cannot compile rather than to the file simply being out of date.
76
84
  */
@@ -1,5 +1,5 @@
1
- import type { PersonaDefinitions } from '@pikku/core/ecosystem/persona';
2
- import type { ResolvedPersona } from '@pikku/core/ecosystem/services';
1
+ import type { PersonaDefinitions } from '@pikku/core/persona';
2
+ import type { ResolvedPersona } from '@pikku/core/services';
3
3
  /**
4
4
  * Where a persona's mail lands when the project has not said.
5
5
  *
@@ -24,4 +24,4 @@ export declare const resolvePersonas: (definitions: PersonaDefinitions, domain?:
24
24
  * needs the same expansion at runtime, so it lives in core beside
25
25
  * `prepareVirtualUserRun` and this keeps the CLI's existing import sites.
26
26
  */
27
- export { personaScopes } from '@pikku/core/ecosystem/virtual-user';
27
+ export { personaScopes } from '@pikku/core/virtual-user';
@@ -1,4 +1,4 @@
1
- import { personaEmails, validateAndBuildPersonasMeta, } from '@pikku/core/ecosystem/persona';
1
+ import { personaEmails, validateAndBuildPersonasMeta, } from '@pikku/core/persona';
2
2
  /**
3
3
  * Where a persona's mail lands when the project has not said.
4
4
  *
@@ -32,4 +32,4 @@ export const resolvePersonas = (definitions, domain = DEFAULT_PERSONA_EMAIL_DOMA
32
32
  * needs the same expansion at runtime, so it lives in core beside
33
33
  * `prepareVirtualUserRun` and this keeps the CLI's existing import sites.
34
34
  */
35
- export { personaScopes } from '@pikku/core/ecosystem/virtual-user';
35
+ export { personaScopes } from '@pikku/core/virtual-user';
@@ -35,7 +35,11 @@ export const resolveScaffoldFeature = (feature, value) => {
35
35
  * path — so guessing would be wrong twice over.
36
36
  */
37
37
  const legacyValueMessage = (feature, value) => {
38
- const migrated = value === 'no-auth' ? '{ "auth": false }' : LEGACY_VALUES.has(value) ? 'true' : null;
38
+ const migrated = value === 'no-auth'
39
+ ? '{ "auth": false }'
40
+ : LEGACY_VALUES.has(value)
41
+ ? 'true'
42
+ : null;
39
43
  if (!migrated) {
40
44
  return (`pikku.config.json: scaffold.${feature} must be true, false, or an object ` +
41
45
  `like { "auth": false } — received the string ${JSON.stringify(value)}.`);
@@ -3,7 +3,7 @@ export function serializeMetaTS({ jsonImportPath, supportsImportAttributes, pikk
3
3
  ? `import metaData from '${jsonImportPath}' with { type: 'json' }`
4
4
  : `import metaData from '${jsonImportPath}'`;
5
5
  const serializedOutput = [];
6
- serializedOutput.push("import { pikkuState } from '@pikku/core/ecosystem'");
6
+ serializedOutput.push("import { pikkuState } from '@pikku/core/state'");
7
7
  serializedOutput.push(`import { ${metaTypeName} } from '${metaTypeImport}'`);
8
8
  serializedOutput.push(importStatement);
9
9
  serializedOutput.push('');
@@ -1,4 +1,4 @@
1
- import type { JSONValue } from '@pikku/core/ecosystem/types';
1
+ import type { JSONValue } from '@pikku/core/utils';
2
2
  import type { CLILogger } from '../services/cli-logger.service.js';
3
3
  export declare function saveSchemas(logger: CLILogger, schemaParentDir: string, schemas: Record<string, JSONValue>, requiredSchemas: Set<string>, supportsImportAttributes: boolean, packageName?: string | null,
4
4
  /** Names the set in log output — there is more than one now (app, scenario). */
@@ -125,7 +125,7 @@ addSchema('${schema}', ${identifier}${packageNameArg})
125
125
  })
126
126
  .join('\n');
127
127
  const importStatement = availableSchemas.length > 0
128
- ? `import { addSchema } from '@pikku/core/ecosystem/schema'`
128
+ ? `import { addSchema } from '@pikku/core/schema'`
129
129
  : '// No schemas to register';
130
130
  await writeFileInDir(logger, `${schemaParentDir}/register.gen.ts`, `${importStatement}
131
131
  ${schemaImports}`, { logWrite: true });
@@ -1,6 +1,6 @@
1
1
  import { existsSync, readFileSync, readdirSync, statSync } from 'fs';
2
2
  import { join } from 'path';
3
- import { parseVersionedId } from '@pikku/core';
3
+ import { parseVersionedId } from '@pikku/core/utils';
4
4
  import { readMetaSnapshot, } from './meta-diff.js';
5
5
  /**
6
6
  * A "surface" is everything about a build that a client can observe: the
@@ -1,5 +1,5 @@
1
1
  import ts from 'typescript';
2
- import { PikkuError } from '@pikku/core';
2
+ import { PikkuError } from '@pikku/core/errors';
3
3
  export declare class PikkuTypecheckFailedError extends PikkuError {
4
4
  }
5
5
  export interface TscDiagnostic {
@@ -1,7 +1,7 @@
1
1
  import ts from 'typescript';
2
2
  import { dirname, isAbsolute, join, relative } from 'node:path';
3
3
  import { createRequire } from 'node:module';
4
- import { PikkuError } from '@pikku/core';
4
+ import { PikkuError } from '@pikku/core/errors';
5
5
  // Type-check with the PROJECT's own TypeScript when it has one — the CLI's
6
6
  // bundled compiler can be a different major (e.g. TS 6 vs a project on TS 5)
7
7
  // and produce diagnostics the project's real `tsc` never would (seen as
@@ -1 +1 @@
1
- {"root":["../bin/pikku.ts","../src/cli.wiring.ts","../src/services.ts","../src/deploy/build-pipeline.ts","../src/deploy/provider-adapter.ts","../src/deploy/server-entry.ts","../src/deploy/analyzer/analyzer.ts","../src/deploy/analyzer/index.ts","../src/deploy/analyzer/manifest.ts","../src/deploy/bundler/bun-bundler.ts","../src/deploy/bundler/bundler.interface.ts","../src/deploy/bundler/bundler.ts","../src/deploy/bundler/dep-extractor.ts","../src/deploy/bundler/index.ts","../src/deploy/bundler/node-bundler.ts","../src/deploy/bundler/types.ts","../src/deploy/codegen/index.ts","../src/deploy/codegen/per-unit-codegen.ts","../src/deploy/plan/executor.ts","../src/deploy/plan/formatter.ts","../src/deploy/plan/index.ts","../src/deploy/plan/planner.ts","../src/deploy/plan/provider.ts","../src/deploy/plan/types.ts","../src/fabric/fabric-commands.ts","../src/fabric/functions/add.function.ts","../src/fabric/functions/addon-verify.function.ts","../src/fabric/functions/db-schema.function.ts","../src/fabric/functions/deploy-list.function.ts","../src/fabric/functions/deploy-units.function.ts","../src/fabric/functions/deploy.function.ts","../src/fabric/functions/domains-add.function.ts","../src/fabric/functions/domains-list.function.ts","../src/fabric/functions/domains-remove.function.ts","../src/fabric/functions/errors.function.ts","../src/fabric/functions/init.function.ts","../src/fabric/functions/link.function.ts","../src/fabric/functions/llm-key.function.ts","../src/fabric/functions/login.function.ts","../src/fabric/functions/logs.function.ts","../src/fabric/functions/metrics.function.ts","../src/fabric/functions/publish.function.ts","../src/fabric/functions/rollback.function.ts","../src/fabric/functions/secrets-list.function.ts","../src/fabric/functions/secrets-rotate.function.ts","../src/fabric/functions/secrets-set.function.ts","../src/fabric/functions/smoke.function.ts","../src/fabric/functions/status.function.ts","../src/fabric/functions/trace.function.ts","../src/fabric/functions/validate.function.ts","../src/fabric/lib/config.ts","../src/fabric/lib/console-url.ts","../src/fabric/lib/frontend-typecheck.ts","../src/fabric/lib/git.ts","../src/fabric/lib/http.ts","../src/fabric/lib/not-implemented.ts","../src/fabric/lib/output.ts","../src/fabric/lib/prompt.ts","../src/fabric/lib/sealed-box.ts","../src/fabric/lib/stage.ts","../src/fabric/sdk/http-map.gen.d.ts","../src/fabric/sdk/pikku-fetch.gen.ts","../src/fabric/sdk/pikku-rpc.gen.ts","../src/fabric/sdk/rpc-map.gen.d.ts","../src/functions/commands/all.ts","../src/functions/commands/audit.ts","../src/functions/commands/binary.ts","../src/functions/commands/bootstrap.ts","../src/functions/commands/bun-coverage-loader.ts","../src/functions/commands/db-audit.ts","../src/functions/commands/db-baseline.ts","../src/functions/commands/db-check.ts","../src/functions/commands/db-codegen.ts","../src/functions/commands/db-export.ts","../src/functions/commands/db-generate.ts","../src/functions/commands/db-migrate.ts","../src/functions/commands/db-reset.ts","../src/functions/commands/db-shared.ts","../src/functions/commands/deploy-apply.ts","../src/functions/commands/deploy-info.ts","../src/functions/commands/deploy-plan.ts","../src/functions/commands/dev-agent-runner.ts","../src/functions/commands/dev.ts","../src/functions/commands/emails-init.ts","../src/functions/commands/enable.ts","../src/functions/commands/environment.ts","../src/functions/commands/import-n8n.ts","../src/functions/commands/info.ts","../src/functions/commands/knowledge-index.ts","../src/functions/commands/knowledge-validate.ts","../src/functions/commands/load-user-project.ts","../src/functions/commands/login.ts","../src/functions/commands/meta.ts","../src/functions/commands/new-addon.ts","../src/functions/commands/new-function.ts","../src/functions/commands/new-middleware.ts","../src/functions/commands/new-permission.ts","../src/functions/commands/new-wiring.ts","../src/functions/commands/persona-sync.ts","../src/functions/commands/persona.ts","../src/functions/commands/pikku-command-bootstrap.ts","../src/functions/commands/pikku-command-summary.ts","../src/functions/commands/roles-audit.ts","../src/functions/commands/roles-prune.ts","../src/functions/commands/roles-shared.ts","../src/functions/commands/scenario-browser.ts","../src/functions/commands/scenario-formatter.ts","../src/functions/commands/scenario-ladder.ts","../src/functions/commands/scenario-plan.ts","../src/functions/commands/scenario.ts","../src/functions/commands/scopes-audit.ts","../src/functions/commands/scopes-prune.ts","../src/functions/commands/scopes-shared.ts","../src/functions/commands/semver-render.ts","../src/functions/commands/semver.ts","../src/functions/commands/serve-console.ts","../src/functions/commands/serve.ts","../src/functions/commands/skills.ts","../src/functions/commands/start-coverage.ts","../src/functions/commands/update-render.ts","../src/functions/commands/update.ts","../src/functions/commands/validate.ts","../src/functions/commands/versions-check.ts","../src/functions/commands/versions-init.ts","../src/functions/commands/versions-update.ts","../src/functions/commands/virtual-user-formatter.ts","../src/functions/commands/watch.ts","../src/functions/db/annotation-parser.ts","../src/functions/db/better-auth-schema.ts","../src/functions/db/coercion-plugin.ts","../src/functions/db/db-codegen.ts","../src/functions/db/db-introspector.ts","../src/functions/db/db-migrator.ts","../src/functions/db/local-db.ts","../src/functions/db/migration-identifiers.ts","../src/functions/db/migration-provenance.ts","../src/functions/db/schema-sql.ts","../src/functions/db/zod-codegen.ts","../src/functions/db/postgres/pglite-kysely.ts","../src/functions/db/postgres/postgres-introspector.ts","../src/functions/db/postgres/postgres-migrator.ts","../src/functions/db/sqlite/dev-seed.ts","../src/functions/db/sqlite/sqlite-introspector.ts","../src/functions/db/sqlite/sqlite-kysely.ts","../src/functions/db/sqlite/sqlite-migrator.ts","../src/functions/db/sqlite/sqlite-runtime-bun.ts","../src/functions/db/sqlite/sqlite-runtime-node.ts","../src/functions/db/sqlite/sqlite-runtime.ts","../src/functions/knowledge/render.ts","../src/functions/knowledge/schemas.ts","../src/functions/runtimes/fetch/index.ts","../src/functions/runtimes/nextjs/pikku-command-nextjs.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-worker-rpc-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.ts","../src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.ts","../src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.ts","../src/functions/runtimes/websocket/pikku-command-websocket-typed.ts","../src/functions/runtimes/websocket/serialize-websocket-wrapper.ts","../src/functions/surface/collect-surface.ts","../src/functions/validate/addon-package-checks.ts","../src/functions/validate/bootstrap-checks.ts","../src/functions/validate/persona-checks.ts","../src/functions/validate/scenario-file-checks.ts","../src/functions/validate/shared-checks.ts","../src/functions/validate/type-identity-checks.ts","../src/functions/validate/validate-registry.ts","../src/functions/validate/validate.ts","../src/functions/validate/workspace-exports-checks.ts","../src/functions/wirings/agent/pikku-command-agent-types.ts","../src/functions/wirings/agent/pikku-command-agent.ts","../src/functions/wirings/agent/pikku-command-public-agent.ts","../src/functions/wirings/agent/serialize-agent-map.ts","../src/functions/wirings/agent/serialize-agent-types.ts","../src/functions/wirings/agent/serialize-model-aliases.ts","../src/functions/wirings/agent/serialize-public-agent.ts","../src/functions/wirings/agent-scorer/pikku-command-agent-scorer.ts","../src/functions/wirings/agent-scorer/serialize-scorer-names.ts","../src/functions/wirings/auth/pikku-command-auth.ts","../src/functions/wirings/auth/serialize-auth-gen.ts","../src/functions/wirings/auth/serialize-auth-meta.ts","../src/functions/wirings/auth/serialize-auth-types.ts","../src/functions/wirings/channels/pikku-channels.ts","../src/functions/wirings/channels/pikku-command-channel-types.ts","../src/functions/wirings/channels/pikku-command-channels-map.ts","../src/functions/wirings/channels/pikku-command-channels.ts","../src/functions/wirings/channels/serialize-channel-types.ts","../src/functions/wirings/channels/serialize-typed-channel-map.ts","../src/functions/wirings/cli/pikku-command-cli-entry.ts","../src/functions/wirings/cli/pikku-command-cli-types.ts","../src/functions/wirings/cli/pikku-command-cli.ts","../src/functions/wirings/cli/serialize-channel-cli-client.ts","../src/functions/wirings/cli/serialize-channel-cli.ts","../src/functions/wirings/cli/serialize-cli-entrypoint-guard.ts","../src/functions/wirings/cli/serialize-cli-types.ts","../src/functions/wirings/cli/serialize-local-cli-bootstrap.ts","../src/functions/wirings/console/pikku-command-console-functions.ts","../src/functions/wirings/console/pikku-command-node-types.ts","../src/functions/wirings/console/pikku-command-nodes-meta.ts","../src/functions/wirings/console/serialize-console-functions.ts","../src/functions/wirings/console/serialize-node-types.ts","../src/functions/wirings/credentials/pikku-command-credentials.ts","../src/functions/wirings/credentials/serialize-credentials-types.ts","../src/functions/wirings/emails/pikku-command-emails.ts","../src/functions/wirings/emails/serialize-emails.ts","../src/functions/wirings/functions/pikku-command-addon-types.ts","../src/functions/wirings/functions/pikku-command-function-types-split.ts","../src/functions/wirings/functions/pikku-command-function-types.ts","../src/functions/wirings/functions/pikku-command-functions.ts","../src/functions/wirings/functions/pikku-command-services.ts","../src/functions/wirings/functions/schemas.ts","../src/functions/wirings/functions/serialize-addon-refs.ts","../src/functions/wirings/functions/serialize-addon-types.ts","../src/functions/wirings/functions/serialize-function-imports.ts","../src/functions/wirings/functions/serialize-function-types.ts","../src/functions/wirings/functions/serialize-pikku-types-hub.ts","../src/functions/wirings/gateway/pikku-command-gateway.ts","../src/functions/wirings/gateway/serialize-gateway-meta.ts","../src/functions/wirings/graph/pikku-command-graph-wirings.ts","../src/functions/wirings/graph/serialize-graph-wirings.ts","../src/functions/wirings/http/pikku-command-http-map.ts","../src/functions/wirings/http/pikku-command-http-routes.ts","../src/functions/wirings/http/pikku-command-http-types.ts","../src/functions/wirings/http/pikku-command-openapi.ts","../src/functions/wirings/http/pikku-http-routes.ts","../src/functions/wirings/http/serialize-fetch-wrapper.ts","../src/functions/wirings/http/serialize-http-types.ts","../src/functions/wirings/http/serialize-typed-http-map.ts","../src/functions/wirings/mcp/pikku-command-mcp-json.ts","../src/functions/wirings/mcp/pikku-command-mcp-types.ts","../src/functions/wirings/mcp/pikku-command-mcp.ts","../src/functions/wirings/mcp/serialize-mcp-types.ts","../src/functions/wirings/middleware/pikku-command-middleware.ts","../src/functions/wirings/middleware/serialize-middleware-imports.ts","../src/functions/wirings/package/pikku-command-package-types.ts","../src/functions/wirings/package/pikku-command-package.ts","../src/functions/wirings/package/serialize-package-types.ts","../src/functions/wirings/package/serialize-package.ts","../src/functions/wirings/permissions/pikku-command-permissions.ts","../src/functions/wirings/permissions/serialize-permissions-imports.ts","../src/functions/wirings/personas/personas-secrets-file.ts","../src/functions/wirings/personas/pikku-command-personas.ts","../src/functions/wirings/personas/serialize-personas-secrets.ts","../src/functions/wirings/personas/serialize-personas-types.ts","../src/functions/wirings/queue/pikku-command-queue-map.ts","../src/functions/wirings/queue/pikku-command-queue-service.ts","../src/functions/wirings/queue/pikku-command-queue-types.ts","../src/functions/wirings/queue/pikku-command-queue.ts","../src/functions/wirings/queue/pikku-queue-map.ts","../src/functions/wirings/queue/pikku-queue.ts","../src/functions/wirings/queue/serialize-queue-map.ts","../src/functions/wirings/queue/serialize-queue-meta.ts","../src/functions/wirings/queue/serialize-queue-types.ts","../src/functions/wirings/queue/serialize-queue-wrapper.ts","../src/functions/wirings/realtime/pikku-command-events-scaffold.ts","../src/functions/wirings/realtime/pikku-command-realtime.ts","../src/functions/wirings/realtime/serialize-events-scaffold.ts","../src/functions/wirings/realtime/serialize-realtime-client.ts","../src/functions/wirings/roles/pikku-command-roles.ts","../src/functions/wirings/roles/serialize-roles-types.ts","../src/functions/wirings/rpc/pikku-command-public-rpc.ts","../src/functions/wirings/rpc/pikku-command-react-query.ts","../src/functions/wirings/rpc/pikku-command-remote-rpc.ts","../src/functions/wirings/rpc/pikku-command-rpc-client.ts","../src/functions/wirings/rpc/pikku-command-rpc-map.ts","../src/functions/wirings/rpc/pikku-command-rpc.ts","../src/functions/wirings/rpc/serialize-public-rpc.ts","../src/functions/wirings/rpc/serialize-react-query-hooks.ts","../src/functions/wirings/rpc/serialize-remote-rpc.ts","../src/functions/wirings/rpc/serialize-rpc-wrapper.ts","../src/functions/wirings/rpc/serialize-typed-rpc-map.ts","../src/functions/wirings/scenarios/register-scenario-instrumentation.ts","../src/functions/wirings/scenarios/scenario-partition.ts","../src/functions/wirings/scenarios/scenario-schema-partition.ts","../src/functions/wirings/scenarios/serialize-feature-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-registration.ts","../src/functions/wirings/scheduler/pikku-command-scheduler-types.ts","../src/functions/wirings/scheduler/pikku-command-scheduler.ts","../src/functions/wirings/scheduler/serialize-scheduler-meta.ts","../src/functions/wirings/scheduler/serialize-scheduler-types.ts","../src/functions/wirings/scopes/pikku-command-scopes.ts","../src/functions/wirings/scopes/serialize-scopes-types.ts","../src/functions/wirings/secrets/pikku-command-secrets.ts","../src/functions/wirings/secrets/serialize-secrets-types.ts","../src/functions/wirings/triggers/pikku-command-trigger-types.ts","../src/functions/wirings/triggers/pikku-command-trigger.ts","../src/functions/wirings/triggers/serialize-trigger-meta.ts","../src/functions/wirings/triggers/serialize-trigger-types.ts","../src/functions/wirings/user-admin/pikku-command-user-admin-functions.ts","../src/functions/wirings/user-admin/serialize-user-admin-functions.ts","../src/functions/wirings/variables/pikku-command-variables.ts","../src/functions/wirings/variables/serialize-variables-types.ts","../src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.ts","../src/functions/wirings/virtual-user/serialize-virtual-user-functions.ts","../src/functions/wirings/webhook/pikku-command-webhook.ts","../src/functions/wirings/webhook/serialize-webhook.ts","../src/functions/wirings/workflow/pikku-command-workflow-routes.ts","../src/functions/wirings/workflow/pikku-command-workflow.ts","../src/functions/wirings/workflow/serialize-personas.ts","../src/functions/wirings/workflow/serialize-scenario-step-map.ts","../src/functions/wirings/workflow/serialize-workflow-bootstrap-map.ts","../src/functions/wirings/workflow/serialize-workflow-map.ts","../src/functions/wirings/workflow/serialize-workflow-meta.ts","../src/functions/wirings/workflow/serialize-workflow-registration.ts","../src/functions/wirings/workflow/serialize-workflow-routes.ts","../src/functions/wirings/workflow/serialize-workflow-types.ts","../src/functions/workflows/all.workflow.ts","../src/middleware/log-command-info-and-time.ts","../src/server/bun-server-runner.ts","../src/server/content-signing-jwt.ts","../src/server/dev-server-runner.interface.ts","../src/server/node-server-runner.ts","../src/server/server-ready.ts","../src/server/spawn-dev-server.ts","../src/services/cli-logger-forwarder.service.ts","../src/services/cli-logger.service.ts","../src/utils/assert-single-core-version.ts","../src/utils/check-required-types.ts","../src/utils/cli-session.ts","../src/utils/command-summary.ts","../src/utils/contract-versions.ts","../src/utils/detect-better-auth.ts","../src/utils/device-auth.ts","../src/utils/file-import-path.ts","../src/utils/file-imports-serializer.ts","../src/utils/file-writer.ts","../src/utils/generate-bootstrap-file.ts","../src/utils/get-cli-version.ts","../src/utils/meta-diff.ts","../src/utils/model-alias-override.ts","../src/utils/parse-cli-filters.ts","../src/utils/pikku-cli-config.ts","../src/utils/pikku-files-and-methods.ts","../src/utils/precise-coverage-map.ts","../src/utils/remove-legacy-scaffold-file.ts","../src/utils/resolve-personas.ts","../src/utils/resolve-scaffold-feature.ts","../src/utils/schema-diff.ts","../src/utils/serialize-import-map.ts","../src/utils/serialize-meta-ts.ts","../src/utils/serialize-schemas.ts","../src/utils/strip-verbose-meta.ts","../src/utils/surface-diff.ts","../src/utils/surface.ts","../src/utils/tsc-check.ts","../.pikku/pikku-bootstrap-scenarios.gen.ts","../.pikku/pikku-bootstrap.gen.ts","../.pikku/pikku-meta-service.gen.ts","../.pikku/pikku-services.gen.ts","../.pikku/pikku-types.gen.ts","../.pikku/agent/pikku-agent-map.gen.d.ts","../.pikku/agent/pikku-agent-types.gen.ts","../.pikku/agent/pikku-model-aliases.gen.ts","../.pikku/agent/pikku-scorer-names.gen.d.ts","../.pikku/auth/auth.types.ts","../.pikku/channel/pikku-channel-types.gen.ts","../.pikku/cli/pikku-cli-channel.ts","../.pikku/cli/pikku-cli-client.gen.ts","../.pikku/cli/pikku-cli-contracts-meta.gen.ts","../.pikku/cli/pikku-cli-types.gen.ts","../.pikku/cli/pikku-cli-wirings-meta.gen.ts","../.pikku/cli/pikku-cli-wirings.gen.ts","../.pikku/cli/pikku-cli.gen.ts","../.pikku/console/pikku-node-types.gen.ts","../.pikku/function/pikku-function-types.gen.ts","../.pikku/function/pikku-functions-meta.gen.ts","../.pikku/function/pikku-functions.gen.ts","../.pikku/http/pikku-http-types.gen.ts","../.pikku/mcp/pikku-mcp-types.gen.ts","../.pikku/node/pikku-node-types.gen.ts","../.pikku/queue/pikku-queue-types.gen.ts","../.pikku/queue/pikku-queue-workers-wirings-map.gen.d.ts","../.pikku/queue/pikku-queue-workers-wirings-meta.gen.ts","../.pikku/queue/pikku-queue-workers-wirings.gen.ts","../.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts","../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts","../.pikku/scenarios/pikku-scenario-functions.gen.ts","../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts","../.pikku/scenarios/pikku-scenario-wirings.gen.ts","../.pikku/scenarios/schemas/register.gen.ts","../.pikku/scheduler/pikku-scheduler-types.gen.ts","../.pikku/schemas/register.gen.ts","../.pikku/scopes/pikku-personas.gen.ts","../.pikku/scopes/pikku-roles.gen.ts","../.pikku/scopes/pikku-scope-types.gen.ts","../.pikku/scopes/pikku-scopes.gen.ts","../.pikku/secrets/pikku-secret-types.gen.ts","../.pikku/secrets/pikku-secrets.gen.ts","../.pikku/trigger/pikku-trigger-types.gen.ts","../.pikku/variables/pikku-variable-types.gen.ts","../.pikku/variables/pikku-variables.gen.ts","../.pikku/workflow/pikku-personas.gen.ts","../.pikku/workflow/pikku-scenario-step-map.gen.d.ts","../.pikku/workflow/pikku-workflow-map.gen.d.ts","../.pikku/workflow/pikku-workflow-types.gen.ts","../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts","../.pikku/workflow/pikku-workflow-wirings.gen.ts","../types/application-types.d.ts","../types/bun-sqlite.d.ts","../types/config.d.ts"],"version":"6.0.3"}
1
+ {"root":["../bin/pikku.ts","../src/cli.wiring.ts","../src/services.ts","../src/deploy/build-pipeline.ts","../src/deploy/provider-adapter.ts","../src/deploy/server-entry.ts","../src/deploy/analyzer/analyzer.ts","../src/deploy/analyzer/index.ts","../src/deploy/analyzer/manifest.ts","../src/deploy/bundler/bun-bundler.ts","../src/deploy/bundler/bundler.interface.ts","../src/deploy/bundler/bundler.ts","../src/deploy/bundler/dep-extractor.ts","../src/deploy/bundler/index.ts","../src/deploy/bundler/node-bundler.ts","../src/deploy/bundler/types.ts","../src/deploy/codegen/index.ts","../src/deploy/codegen/per-unit-codegen.ts","../src/deploy/plan/executor.ts","../src/deploy/plan/formatter.ts","../src/deploy/plan/index.ts","../src/deploy/plan/planner.ts","../src/deploy/plan/provider.ts","../src/deploy/plan/types.ts","../src/fabric/fabric-commands.ts","../src/fabric/functions/add.function.ts","../src/fabric/functions/addon-verify.function.ts","../src/fabric/functions/db-schema.function.ts","../src/fabric/functions/deploy-list.function.ts","../src/fabric/functions/deploy-units.function.ts","../src/fabric/functions/deploy.function.ts","../src/fabric/functions/domains-add.function.ts","../src/fabric/functions/domains-list.function.ts","../src/fabric/functions/domains-remove.function.ts","../src/fabric/functions/errors.function.ts","../src/fabric/functions/init.function.ts","../src/fabric/functions/link.function.ts","../src/fabric/functions/llm-key.function.ts","../src/fabric/functions/login.function.ts","../src/fabric/functions/logs.function.ts","../src/fabric/functions/metrics.function.ts","../src/fabric/functions/publish.function.ts","../src/fabric/functions/rollback.function.ts","../src/fabric/functions/secrets-list.function.ts","../src/fabric/functions/secrets-rotate.function.ts","../src/fabric/functions/secrets-set.function.ts","../src/fabric/functions/smoke.function.ts","../src/fabric/functions/status.function.ts","../src/fabric/functions/trace.function.ts","../src/fabric/functions/validate.function.ts","../src/fabric/lib/config.ts","../src/fabric/lib/console-url.ts","../src/fabric/lib/frontend-typecheck.ts","../src/fabric/lib/git.ts","../src/fabric/lib/http.ts","../src/fabric/lib/not-implemented.ts","../src/fabric/lib/output.ts","../src/fabric/lib/prompt.ts","../src/fabric/lib/sealed-box.ts","../src/fabric/lib/stage.ts","../src/fabric/sdk/http-map.gen.d.ts","../src/fabric/sdk/pikku-fetch.gen.ts","../src/fabric/sdk/pikku-rpc.gen.ts","../src/fabric/sdk/rpc-map.gen.d.ts","../src/functions/commands/all.ts","../src/functions/commands/audit.ts","../src/functions/commands/binary.ts","../src/functions/commands/bootstrap.ts","../src/functions/commands/bun-coverage-loader.ts","../src/functions/commands/db-audit.ts","../src/functions/commands/db-baseline.ts","../src/functions/commands/db-check.ts","../src/functions/commands/db-codegen.ts","../src/functions/commands/db-export.ts","../src/functions/commands/db-generate.ts","../src/functions/commands/db-migrate.ts","../src/functions/commands/db-reset.ts","../src/functions/commands/db-shared.ts","../src/functions/commands/deploy-apply.ts","../src/functions/commands/deploy-info.ts","../src/functions/commands/deploy-plan.ts","../src/functions/commands/dev-agent-runner.ts","../src/functions/commands/dev.ts","../src/functions/commands/emails-init.ts","../src/functions/commands/enable.ts","../src/functions/commands/environment.ts","../src/functions/commands/import-n8n.ts","../src/functions/commands/info.ts","../src/functions/commands/knowledge-index.ts","../src/functions/commands/knowledge-validate.ts","../src/functions/commands/load-user-project.ts","../src/functions/commands/login.ts","../src/functions/commands/meta.ts","../src/functions/commands/new-addon.ts","../src/functions/commands/new-function.ts","../src/functions/commands/new-middleware.ts","../src/functions/commands/new-permission.ts","../src/functions/commands/new-wiring.ts","../src/functions/commands/persona-sync.ts","../src/functions/commands/persona.ts","../src/functions/commands/pikku-command-bootstrap.ts","../src/functions/commands/pikku-command-summary.ts","../src/functions/commands/roles-audit.ts","../src/functions/commands/roles-prune.ts","../src/functions/commands/roles-shared.ts","../src/functions/commands/scenario-browser.ts","../src/functions/commands/scenario-formatter.ts","../src/functions/commands/scenario-ladder.ts","../src/functions/commands/scenario-plan.ts","../src/functions/commands/scenario.ts","../src/functions/commands/scopes-audit.ts","../src/functions/commands/scopes-prune.ts","../src/functions/commands/scopes-shared.ts","../src/functions/commands/semver-render.ts","../src/functions/commands/semver.ts","../src/functions/commands/serve-console.ts","../src/functions/commands/serve.ts","../src/functions/commands/skills.ts","../src/functions/commands/start-coverage.ts","../src/functions/commands/update-render.ts","../src/functions/commands/update.ts","../src/functions/commands/validate.ts","../src/functions/commands/versions-check.ts","../src/functions/commands/versions-init.ts","../src/functions/commands/versions-update.ts","../src/functions/commands/virtual-user-formatter.ts","../src/functions/commands/watch.ts","../src/functions/db/annotation-parser.ts","../src/functions/db/better-auth-schema.ts","../src/functions/db/db-codegen.ts","../src/functions/db/db-introspector.ts","../src/functions/db/db-migrator.ts","../src/functions/db/local-db.ts","../src/functions/db/migration-identifiers.ts","../src/functions/db/migration-provenance.ts","../src/functions/db/schema-sql.ts","../src/functions/db/zod-codegen.ts","../src/functions/db/postgres/pglite-kysely.ts","../src/functions/db/postgres/postgres-introspector.ts","../src/functions/db/postgres/postgres-migrator.ts","../src/functions/db/sqlite/dev-seed.ts","../src/functions/db/sqlite/sqlite-introspector.ts","../src/functions/db/sqlite/sqlite-kysely.ts","../src/functions/db/sqlite/sqlite-migrator.ts","../src/functions/db/sqlite/sqlite-runtime-bun.ts","../src/functions/db/sqlite/sqlite-runtime-node.ts","../src/functions/db/sqlite/sqlite-runtime.ts","../src/functions/knowledge/render.ts","../src/functions/knowledge/schemas.ts","../src/functions/runtimes/fetch/index.ts","../src/functions/runtimes/nextjs/pikku-command-nextjs.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-worker-rpc-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.ts","../src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.ts","../src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.ts","../src/functions/runtimes/websocket/pikku-command-websocket-typed.ts","../src/functions/runtimes/websocket/serialize-websocket-wrapper.ts","../src/functions/surface/build-surface-doc.ts","../src/functions/surface/collect-surface-usage.ts","../src/functions/surface/collect-surface.ts","../src/functions/surface/generate-surface-doc.ts","../src/functions/surface/shipped-surface-doc.ts","../src/functions/surface/surface-doc.types.ts","../src/functions/surface/surface-editorial.ts","../src/functions/surface/write-surface-usage.ts","../src/functions/validate/addon-package-checks.ts","../src/functions/validate/bootstrap-checks.ts","../src/functions/validate/persona-checks.ts","../src/functions/validate/pikku-barrel-checks.ts","../src/functions/validate/scenario-file-checks.ts","../src/functions/validate/shared-checks.ts","../src/functions/validate/type-identity-checks.ts","../src/functions/validate/validate-registry.ts","../src/functions/validate/validate.ts","../src/functions/validate/workspace-exports-checks.ts","../src/functions/wirings/agent/pikku-command-agent-types.ts","../src/functions/wirings/agent/pikku-command-agent.ts","../src/functions/wirings/agent/pikku-command-public-agent.ts","../src/functions/wirings/agent/serialize-agent-map.ts","../src/functions/wirings/agent/serialize-agent-types.ts","../src/functions/wirings/agent/serialize-model-aliases.ts","../src/functions/wirings/agent/serialize-public-agent.ts","../src/functions/wirings/agent-scorer/pikku-command-agent-scorer.ts","../src/functions/wirings/agent-scorer/serialize-scorer-names.ts","../src/functions/wirings/auth/pikku-command-auth.ts","../src/functions/wirings/auth/serialize-auth-gen.ts","../src/functions/wirings/auth/serialize-auth-guards.ts","../src/functions/wirings/auth/serialize-auth-meta.ts","../src/functions/wirings/auth/serialize-auth-types.ts","../src/functions/wirings/channels/pikku-channels.ts","../src/functions/wirings/channels/pikku-command-channel-types.ts","../src/functions/wirings/channels/pikku-command-channels-map.ts","../src/functions/wirings/channels/pikku-command-channels.ts","../src/functions/wirings/channels/serialize-channel-types.ts","../src/functions/wirings/channels/serialize-typed-channel-map.ts","../src/functions/wirings/cli/pikku-command-cli-entry.ts","../src/functions/wirings/cli/pikku-command-cli-types.ts","../src/functions/wirings/cli/pikku-command-cli.ts","../src/functions/wirings/cli/serialize-channel-cli-client.ts","../src/functions/wirings/cli/serialize-channel-cli.ts","../src/functions/wirings/cli/serialize-cli-entrypoint-guard.ts","../src/functions/wirings/cli/serialize-cli-types.ts","../src/functions/wirings/cli/serialize-local-cli-bootstrap.ts","../src/functions/wirings/console/pikku-command-console-functions.ts","../src/functions/wirings/console/pikku-command-nodes-meta.ts","../src/functions/wirings/console/serialize-console-functions.ts","../src/functions/wirings/credentials/pikku-command-credentials.ts","../src/functions/wirings/credentials/serialize-credentials-types.ts","../src/functions/wirings/emails/pikku-command-emails.ts","../src/functions/wirings/emails/serialize-emails.ts","../src/functions/wirings/errors/pikku-command-error-types.ts","../src/functions/wirings/errors/serialize-error-types.ts","../src/functions/wirings/functions/pikku-command-addon-types.ts","../src/functions/wirings/functions/pikku-command-function-types-split.ts","../src/functions/wirings/functions/pikku-command-functions.ts","../src/functions/wirings/functions/pikku-command-leaf-indexes.ts","../src/functions/wirings/functions/pikku-command-services.ts","../src/functions/wirings/functions/schemas.ts","../src/functions/wirings/functions/serialize-addon-refs.ts","../src/functions/wirings/functions/serialize-addon-types.ts","../src/functions/wirings/functions/serialize-function-imports.ts","../src/functions/wirings/functions/serialize-function-types.ts","../src/functions/wirings/functions/serialize-leaf-index.ts","../src/functions/wirings/gateway/pikku-command-gateway-types.ts","../src/functions/wirings/gateway/pikku-command-gateway.ts","../src/functions/wirings/gateway/serialize-gateway-meta.ts","../src/functions/wirings/gateway/serialize-gateway-types.ts","../src/functions/wirings/graph/pikku-command-graph-wirings.ts","../src/functions/wirings/graph/serialize-graph-wirings.ts","../src/functions/wirings/http/pikku-command-http-map.ts","../src/functions/wirings/http/pikku-command-http-routes.ts","../src/functions/wirings/http/pikku-command-http-types.ts","../src/functions/wirings/http/pikku-command-openapi.ts","../src/functions/wirings/http/pikku-http-routes.ts","../src/functions/wirings/http/serialize-fetch-wrapper.ts","../src/functions/wirings/http/serialize-http-types.ts","../src/functions/wirings/http/serialize-typed-http-map.ts","../src/functions/wirings/mcp/pikku-command-mcp-json.ts","../src/functions/wirings/mcp/pikku-command-mcp-types.ts","../src/functions/wirings/mcp/pikku-command-mcp.ts","../src/functions/wirings/mcp/serialize-mcp-types.ts","../src/functions/wirings/middleware/pikku-command-middleware.ts","../src/functions/wirings/middleware/serialize-middleware-imports.ts","../src/functions/wirings/middleware/serialize-middleware-types.ts","../src/functions/wirings/package/pikku-command-package-types.ts","../src/functions/wirings/package/pikku-command-package.ts","../src/functions/wirings/package/serialize-package-types.ts","../src/functions/wirings/package/serialize-package.ts","../src/functions/wirings/permissions/pikku-command-permissions.ts","../src/functions/wirings/permissions/serialize-permissions-imports.ts","../src/functions/wirings/personas/personas-secrets-file.ts","../src/functions/wirings/personas/pikku-command-personas.ts","../src/functions/wirings/personas/serialize-personas-secrets.ts","../src/functions/wirings/personas/serialize-personas-types.ts","../src/functions/wirings/queue/pikku-command-queue-map.ts","../src/functions/wirings/queue/pikku-command-queue-service.ts","../src/functions/wirings/queue/pikku-command-queue-types.ts","../src/functions/wirings/queue/pikku-command-queue.ts","../src/functions/wirings/queue/pikku-queue-map.ts","../src/functions/wirings/queue/pikku-queue.ts","../src/functions/wirings/queue/serialize-queue-map.ts","../src/functions/wirings/queue/serialize-queue-meta.ts","../src/functions/wirings/queue/serialize-queue-types.ts","../src/functions/wirings/queue/serialize-queue-wrapper.ts","../src/functions/wirings/realtime/pikku-command-events-scaffold.ts","../src/functions/wirings/realtime/pikku-command-realtime.ts","../src/functions/wirings/realtime/serialize-events-scaffold.ts","../src/functions/wirings/realtime/serialize-realtime-client.ts","../src/functions/wirings/roles/pikku-command-roles.ts","../src/functions/wirings/roles/serialize-roles-types.ts","../src/functions/wirings/rpc/pikku-command-public-rpc.ts","../src/functions/wirings/rpc/pikku-command-react-query.ts","../src/functions/wirings/rpc/pikku-command-remote-rpc.ts","../src/functions/wirings/rpc/pikku-command-rpc-client.ts","../src/functions/wirings/rpc/pikku-command-rpc-map.ts","../src/functions/wirings/rpc/pikku-command-rpc.ts","../src/functions/wirings/rpc/serialize-public-rpc.ts","../src/functions/wirings/rpc/serialize-react-query-hooks.ts","../src/functions/wirings/rpc/serialize-remote-rpc.ts","../src/functions/wirings/rpc/serialize-rpc-wrapper.ts","../src/functions/wirings/rpc/serialize-typed-rpc-map.ts","../src/functions/wirings/scenarios/register-scenario-instrumentation.ts","../src/functions/wirings/scenarios/scenario-partition.ts","../src/functions/wirings/scenarios/scenario-schema-partition.ts","../src/functions/wirings/scenarios/serialize-feature-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-registration.ts","../src/functions/wirings/scheduler/pikku-command-scheduler-types.ts","../src/functions/wirings/scheduler/pikku-command-scheduler.ts","../src/functions/wirings/scheduler/serialize-scheduler-meta.ts","../src/functions/wirings/scheduler/serialize-scheduler-types.ts","../src/functions/wirings/scopes/pikku-command-scopes.ts","../src/functions/wirings/scopes/serialize-scopes-types.ts","../src/functions/wirings/secrets/pikku-command-secrets.ts","../src/functions/wirings/secrets/serialize-secrets-types.ts","../src/functions/wirings/setup/serialize-setup-types.ts","../src/functions/wirings/triggers/pikku-command-trigger-types.ts","../src/functions/wirings/triggers/pikku-command-trigger.ts","../src/functions/wirings/triggers/serialize-trigger-meta.ts","../src/functions/wirings/triggers/serialize-trigger-types.ts","../src/functions/wirings/user-admin/pikku-command-user-admin-functions.ts","../src/functions/wirings/user-admin/serialize-user-admin-functions.ts","../src/functions/wirings/variables/pikku-command-variables.ts","../src/functions/wirings/variables/serialize-variables-types.ts","../src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.ts","../src/functions/wirings/virtual-user/serialize-virtual-user-functions.ts","../src/functions/wirings/webhook/pikku-command-webhook.ts","../src/functions/wirings/webhook/serialize-webhook.ts","../src/functions/wirings/workflow/pikku-command-workflow-routes.ts","../src/functions/wirings/workflow/pikku-command-workflow.ts","../src/functions/wirings/workflow/serialize-personas.ts","../src/functions/wirings/workflow/serialize-scenario-step-map.ts","../src/functions/wirings/workflow/serialize-scenario-types.ts","../src/functions/wirings/workflow/serialize-workflow-bootstrap-map.ts","../src/functions/wirings/workflow/serialize-workflow-map.ts","../src/functions/wirings/workflow/serialize-workflow-meta.ts","../src/functions/wirings/workflow/serialize-workflow-registration.ts","../src/functions/wirings/workflow/serialize-workflow-routes.ts","../src/functions/wirings/workflow/serialize-workflow-types.ts","../src/functions/workflows/all.workflow.ts","../src/middleware/log-command-info-and-time.ts","../src/server/bun-server-runner.ts","../src/server/content-signing-jwt.ts","../src/server/dev-server-runner.interface.ts","../src/server/node-server-runner.ts","../src/server/server-ready.ts","../src/server/spawn-dev-server.ts","../src/services/cli-logger-forwarder.service.ts","../src/services/cli-logger.service.ts","../src/utils/assert-single-core-version.ts","../src/utils/check-required-types.ts","../src/utils/cli-session.ts","../src/utils/command-summary.ts","../src/utils/contract-versions.ts","../src/utils/detect-better-auth.ts","../src/utils/device-auth.ts","../src/utils/file-import-path.ts","../src/utils/file-imports-serializer.ts","../src/utils/file-writer.ts","../src/utils/generate-bootstrap-file.ts","../src/utils/get-cli-version.ts","../src/utils/is-deploy-codegen.ts","../src/utils/leaf-import-path.ts","../src/utils/meta-diff.ts","../src/utils/model-alias-override.ts","../src/utils/parse-cli-filters.ts","../src/utils/pikku-cli-config.ts","../src/utils/pikku-files-and-methods.ts","../src/utils/precise-coverage-map.ts","../src/utils/remove-legacy-scaffold-file.ts","../src/utils/resolve-personas.ts","../src/utils/resolve-scaffold-feature.ts","../src/utils/schema-diff.ts","../src/utils/serialize-import-map.ts","../src/utils/serialize-meta-ts.ts","../src/utils/serialize-schemas.ts","../src/utils/strip-verbose-meta.ts","../src/utils/surface-diff.ts","../src/utils/surface.ts","../src/utils/tsc-check.ts","../.pikku/pikku-bootstrap-scenarios.gen.ts","../.pikku/pikku-bootstrap.gen.ts","../.pikku/pikku-services.gen.ts","../.pikku/addon/index.ts","../.pikku/addon/pikku-addon-types.gen.ts","../.pikku/agent/index.ts","../.pikku/agent/pikku-agent-map.gen.d.ts","../.pikku/agent/pikku-agent-types.gen.ts","../.pikku/agent/pikku-model-aliases.gen.ts","../.pikku/agent/pikku-scorer-names.gen.d.ts","../.pikku/auth/auth.types.ts","../.pikku/auth/index.ts","../.pikku/auth/pikku-auth-types.gen.ts","../.pikku/channel/index.ts","../.pikku/channel/pikku-channel-types.gen.ts","../.pikku/cli/index.ts","../.pikku/cli/pikku-cli-channel.ts","../.pikku/cli/pikku-cli-client.gen.ts","../.pikku/cli/pikku-cli-contracts-meta.gen.ts","../.pikku/cli/pikku-cli-types.gen.ts","../.pikku/cli/pikku-cli-wirings-meta.gen.ts","../.pikku/cli/pikku-cli-wirings.gen.ts","../.pikku/cli/pikku-cli.gen.ts","../.pikku/error/index.ts","../.pikku/error/pikku-error-types.gen.ts","../.pikku/function/index.ts","../.pikku/function/pikku-function-types.gen.ts","../.pikku/function/pikku-functions-meta.gen.ts","../.pikku/function/pikku-functions.gen.ts","../.pikku/gateway/index.ts","../.pikku/gateway/pikku-gateway-types.gen.ts","../.pikku/http/index.ts","../.pikku/http/pikku-http-types.gen.ts","../.pikku/mcp/index.ts","../.pikku/mcp/pikku-mcp-types.gen.ts","../.pikku/middleware/index.ts","../.pikku/middleware/pikku-middleware-types.gen.ts","../.pikku/node/pikku-node-types.gen.ts","../.pikku/queue/index.ts","../.pikku/queue/pikku-queue-types.gen.ts","../.pikku/queue/pikku-queue-workers-wirings-map.gen.d.ts","../.pikku/queue/pikku-queue-workers-wirings-meta.gen.ts","../.pikku/queue/pikku-queue-workers-wirings.gen.ts","../.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts","../.pikku/scenarios/index.ts","../.pikku/scenarios/pikku-personas.gen.ts","../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts","../.pikku/scenarios/pikku-scenario-functions.gen.ts","../.pikku/scenarios/pikku-scenario-types.gen.ts","../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts","../.pikku/scenarios/pikku-scenario-wirings.gen.ts","../.pikku/scenarios/schemas/register.gen.ts","../.pikku/scheduler/index.ts","../.pikku/scheduler/pikku-scheduler-types.gen.ts","../.pikku/schemas/register.gen.ts","../.pikku/scopes/index.ts","../.pikku/scopes/pikku-personas.gen.ts","../.pikku/scopes/pikku-roles.gen.ts","../.pikku/scopes/pikku-scope-types.gen.ts","../.pikku/scopes/pikku-scopes.gen.ts","../.pikku/secrets/index.ts","../.pikku/secrets/pikku-secret-types.gen.ts","../.pikku/secrets/pikku-secrets.gen.ts","../.pikku/services/pikku-meta-service.gen.ts","../.pikku/setup/index.ts","../.pikku/setup/pikku-setup-types.gen.ts","../.pikku/trigger/index.ts","../.pikku/trigger/pikku-trigger-types.gen.ts","../.pikku/variables/index.ts","../.pikku/variables/pikku-variable-types.gen.ts","../.pikku/variables/pikku-variables.gen.ts","../.pikku/workflow/index.ts","../.pikku/workflow/pikku-scenario-step-map.gen.d.ts","../.pikku/workflow/pikku-workflow-map.gen.d.ts","../.pikku/workflow/pikku-workflow-types.gen.ts","../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts","../.pikku/workflow/pikku-workflow-wirings.gen.ts","../types/application-types.d.ts","../types/bun-sqlite.d.ts","../types/config.d.ts"],"version":"6.0.3"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pikku/cli",
3
- "version": "0.12.105",
3
+ "version": "0.12.107",
4
4
  "description": "Pikku CLI — code generation, dev server, migrations and deployment",
5
5
  "author": "yasser.fadl@gmail.com",
6
6
  "license": "BUSL-1.1",
7
7
  "imports": {
8
- "#pikku": "./dist/.pikku/pikku-types.gen.js",
9
- "#pikku/*": "./dist/.pikku/*"
8
+ "#pikku/*.js": "./dist/.pikku/*.js",
9
+ "#pikku/*": "./dist/.pikku/*/index.js"
10
10
  },
11
11
  "bin": {
12
12
  "pikku": "dist/bin/pikku.js"
@@ -26,66 +26,66 @@
26
26
  "prepublishOnly": "yarn build"
27
27
  },
28
28
  "dependencies": {
29
- "@ai-sdk/openai-compatible": "^3.0.20",
30
- "@electric-sql/pglite": "^0.5.1",
31
- "@jridgewell/trace-mapping": "^0.3.25",
32
- "@openapi-contrib/json-schema-to-openapi-schema": "^4.3.1",
33
- "@pikku/ai-vercel": "^0.12.11",
34
- "@pikku/better-auth": "^0.12.25",
35
- "@pikku/bun-server": "^0.12.7",
36
- "@pikku/deploy-cloudflare": "^0.12.11",
29
+ "@ai-sdk/openai-compatible": "^3.0.30",
30
+ "@electric-sql/pglite": "^0.5.5",
31
+ "@jridgewell/trace-mapping": "^0.3.31",
32
+ "@openapi-contrib/json-schema-to-openapi-schema": "^4.3.4",
33
+ "@pikku/ai-vercel": "^0.12.12",
34
+ "@pikku/better-auth": "^0.12.26",
35
+ "@pikku/bun-server": "^0.12.8",
36
+ "@pikku/deploy-cloudflare": "^0.12.12",
37
37
  "@pikku/fetch": "^0.12.9",
38
- "@pikku/inspector": "^0.12.60",
39
- "@pikku/knowledge": "^0.12.6",
40
- "@pikku/kysely": "^0.13.16",
41
- "@pikku/kysely-node-sqlite": "^0.12.5",
42
- "@pikku/n8n-import": "^0.0.6",
43
- "@pikku/node-http-server": "^0.12.10",
44
- "@pikku/openapi-parser": "^0.12.19",
45
- "@pikku/schedule": "^0.12.6",
46
- "@pikku/skills": "^0.12.10",
47
- "@pikku/ws": "^0.12.7",
38
+ "@pikku/inspector": "^0.12.61",
39
+ "@pikku/knowledge": "^0.12.7",
40
+ "@pikku/kysely": "^0.13.18",
41
+ "@pikku/n8n-import": "^0.0.7",
42
+ "@pikku/node-http-server": "^0.12.11",
43
+ "@pikku/openapi-parser": "^0.12.20",
44
+ "@pikku/schedule": "^0.12.7",
45
+ "@pikku/skills": "^0.12.11",
46
+ "@pikku/ws": "^0.12.8",
48
47
  "@types/cookie": "^1.0.0",
49
48
  "@types/json-schema": "^7.0.15",
50
- "ai": "^6.0.105",
51
- "chalk": "^5.6.2",
52
- "chokidar": "^4.0.3",
53
- "esbuild": "~0.27.0",
49
+ "ai": "^7.0.66",
50
+ "chalk": "^6.0.0",
51
+ "chokidar": "^5.0.0",
52
+ "esbuild": "~0.28.2",
54
53
  "istanbul-lib-instrument": "^6.0.3",
55
- "kysely": "^0.29.0",
56
- "open": "^10.2.0",
54
+ "kysely": "^0.29.5",
55
+ "open": "^11.0.1",
57
56
  "openapi-types": "^12.1.3",
58
- "path-to-regexp": "^8.3.0",
59
- "pg": "^8.13.0",
60
- "semver": "^7.7.3",
61
- "tinyglobby": "^0.2.12",
62
- "ts-json-schema-generator": "2.9.1-next.16",
63
- "tsx": "^4.21.0",
57
+ "path-to-regexp": "^8.4.2",
58
+ "pg": "^8.23.0",
59
+ "semver": "^7.8.5",
60
+ "tinyglobby": "^0.2.17",
61
+ "ts-json-schema-generator": "2.9.1-next.18",
62
+ "tsx": "^4.23.12",
64
63
  "typescript": "^6.0.3",
65
- "ws": "^8.18.0",
66
- "yaml": "^2.8.2",
67
- "zod": "^4.3.6",
64
+ "ws": "^8.21.3",
65
+ "yaml": "^2.9.0",
66
+ "zod": "^4.4.3",
68
67
  "zod-to-ts": "^2.1.0"
69
68
  },
70
69
  "peerDependencies": {
71
- "@pikku/core": "^0.12.84",
72
- "@pikku/playwright": "^0.12.77",
70
+ "@pikku/core": "^0.12.86",
71
+ "@pikku/playwright": "^0.12.78",
73
72
  "better-auth": "^1.6.0"
74
73
  },
75
74
  "devDependencies": {
76
- "@pikku/core": "^0.12.84",
77
- "@pikku/playwright": "^0.12.77",
75
+ "@pikku/core": "^0.12.86",
76
+ "@pikku/playwright": "^0.12.78",
78
77
  "@playwright/test": "^1.50.0",
79
- "@types/istanbul-lib-instrument": "^1.7.7",
80
- "@types/node": "^24.11.0",
81
- "@types/pg": "^8.11.0",
82
- "@types/semver": "^7.7.1",
78
+ "@types/istanbul-lib-instrument": "^1.7.8",
79
+ "@types/node": "^24.13.3",
80
+ "@types/pg": "^8.21.0",
81
+ "@types/semver": "^7.8.0",
83
82
  "@types/ws": "^8"
84
83
  },
85
84
  "files": [
86
85
  "dist",
87
86
  "console-app",
88
- "cli.schema.json"
87
+ "cli.schema.json",
88
+ "surface.json"
89
89
  ],
90
90
  "engines": {
91
91
  "node": ">=24"
@@ -93,7 +93,8 @@
93
93
  "exports": {
94
94
  ".": "./dist/bin/pikku.js",
95
95
  "./server/spawn-dev-server": "./dist/src/server/spawn-dev-server.js",
96
- "./server/server-ready": "./dist/src/server/server-ready.js"
96
+ "./server/server-ready": "./dist/src/server/server-ready.js",
97
+ "./surface.json": "./surface.json"
97
98
  },
98
99
  "peerDependenciesMeta": {
99
100
  "@pikku/playwright": {
@@ -103,4 +104,4 @@
103
104
  "optional": true
104
105
  }
105
106
  }
106
- }
107
+ }