@pikku/cli 0.12.96 → 0.12.99

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 (271) hide show
  1. package/console-app/assets/abnfDiagram-VRR7QNED-CytV-CG1.js +1 -0
  2. package/console-app/assets/arc-C5PvmnaA.js +1 -0
  3. package/console-app/assets/architecture-TIHT7OUA-C1_ScvPX.js +1 -0
  4. package/console-app/assets/architectureDiagram-ZJ3FMSHR-CJ2xb7C-.js +36 -0
  5. package/console-app/assets/array-BifhSqXX.js +1 -0
  6. package/console-app/assets/blockDiagram-677ZJIJ3-CCecrBrk.js +132 -0
  7. package/console-app/assets/c4Diagram-LMCZKHZV-CBnpukvQ.js +10 -0
  8. package/console-app/assets/channel-CwDOkXGI.js +1 -0
  9. package/console-app/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
  10. package/console-app/assets/chunk-32BRIVSS-D8qWWZRQ.js +1 -0
  11. package/console-app/assets/chunk-52WLFC77-BEpXHMsp.js +10 -0
  12. package/console-app/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
  13. package/console-app/assets/chunk-7BUUIJ7U-Bb538aSH.js +1 -0
  14. package/console-app/assets/chunk-C7G6YPKG-DsHUMkOp.js +1 -0
  15. package/console-app/assets/chunk-EX3LRPZG-mM7TjVx9.js +231 -0
  16. package/console-app/assets/chunk-FWX5IMBZ-CndRAn18.js +2 -0
  17. package/console-app/assets/chunk-HOUHSVGY-D1kT8umn.js +1 -0
  18. package/console-app/assets/chunk-ICXQ74PX-CeSaGyro.js +2 -0
  19. package/console-app/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
  20. package/console-app/assets/chunk-KEIR6QF5-DNzq6p3w.js +161 -0
  21. package/console-app/assets/chunk-MOJQB5TN-CaZOCHYr.js +88 -0
  22. package/console-app/assets/chunk-OGEWGWER-CnB1CsPt.js +1 -0
  23. package/console-app/assets/chunk-PUDLZKDR-BbGulHJm.js +156 -0
  24. package/console-app/assets/chunk-Q4XR5HBZ-BywwzeeR.js +70 -0
  25. package/console-app/assets/chunk-RYQCIY6F-CV0R1Adv.js +1 -0
  26. package/console-app/assets/chunk-V7JOEXUC-DGFaAWzB.js +206 -0
  27. package/console-app/assets/chunk-VAUOI2AC-DxPUd8Yb.js +1 -0
  28. package/console-app/assets/chunk-VR4S4FIN-D4-UaW_J.js +1 -0
  29. package/console-app/assets/chunk-WYO6CB5R-D_TFN0d9.js +127 -0
  30. package/console-app/assets/chunk-XXDRQBXY-BzVuweA_.js +1 -0
  31. package/console-app/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
  32. package/console-app/assets/chunk-ZGVPDNZ5-C6hdkGQb.js +62 -0
  33. package/console-app/assets/chunk-ZIRB5QZD-H-kepumB.js +32 -0
  34. package/console-app/assets/classDiagram-OUVF2IWQ-CTYJkTT0.js +1 -0
  35. package/console-app/assets/classDiagram-v2-EOCWNBFH-CTYJkTT0.js +1 -0
  36. package/console-app/assets/cose-bilkent-JH36ORCC-B6ZPxN6v.js +1 -0
  37. package/console-app/assets/cynefin-VYW2F7L2-D_nmxNz_.js +1 -0
  38. package/console-app/assets/cynefinDiagram-TSTJHNR4-CHy5QN0S.js +62 -0
  39. package/console-app/assets/cytoscape.esm-h6BdjjI9.js +321 -0
  40. package/console-app/assets/dagre-CXRCoUWR.js +1 -0
  41. package/console-app/assets/dagre-VKFMJZFB-DYfukM34.js +4 -0
  42. package/console-app/assets/defaultLocale-C8Fc0cco.js +1 -0
  43. package/console-app/assets/diagram-FQU43EPY-Dgb9TPSB.js +3 -0
  44. package/console-app/assets/diagram-G47NLZAW-CnFNZs9Z.js +24 -0
  45. package/console-app/assets/diagram-NH7WQ7WH-DN7h2DU-.js +24 -0
  46. package/console-app/assets/diagram-OA4YK3LP-RLaQaNtK.js +30 -0
  47. package/console-app/assets/diagram-WEI45ONY-DxHWhVGd.js +41 -0
  48. package/console-app/assets/dist-BaJNIo4I.js +1 -0
  49. package/console-app/assets/ebnfDiagram-CCIWWBDH-UN3Z81-l.js +1 -0
  50. package/console-app/assets/erDiagram-Q63AITRT-C9lGAY3i.js +85 -0
  51. package/console-app/assets/eventmodeling-45OFAUF4-Dc5wNSSK.js +1 -0
  52. package/console-app/assets/flowDiagram-23GEKE2U-zPyGHMi4.js +1 -0
  53. package/console-app/assets/ganttDiagram-NO4QXBWP-CvBjBcdK.js +292 -0
  54. package/console-app/assets/gitGraph-TEB2WS4Q-Cs5Z9jMo.js +1 -0
  55. package/console-app/assets/gitGraphDiagram-IHSO6WYX-B0i_IJ5r.js +106 -0
  56. package/console-app/assets/graphlib-B8gBHxth.js +1 -0
  57. package/console-app/assets/{index-CeQodYfg.js → index-71U8EEj7.js} +155 -153
  58. package/console-app/assets/{index-CyYHTGWZ.css → index-BXMjqLQ5.css} +1 -1
  59. package/console-app/assets/info-DKCQHKI2-DHL0afNl.js +1 -0
  60. package/console-app/assets/infoDiagram-FWYZ7A6U-CBWykodX.js +2 -0
  61. package/console-app/assets/init-D6jRqBbL.js +1 -0
  62. package/console-app/assets/ishikawaDiagram-FXEZZL3T-DM377eW_.js +70 -0
  63. package/console-app/assets/journeyDiagram-5HDEW3XC-BpX_-Cns.js +139 -0
  64. package/console-app/assets/kanban-definition-HUTT4EX6-D3xFsQkO.js +89 -0
  65. package/console-app/assets/katex-Vhh-h91d.js +257 -0
  66. package/console-app/assets/line-CTSKHTE0.js +1 -0
  67. package/console-app/assets/linear-R5GlBvXT.js +1 -0
  68. package/console-app/assets/map-DsCK-0Cs.js +1 -0
  69. package/console-app/assets/mermaid-parser.core-CkHk4BPi.js +7 -0
  70. package/console-app/assets/mermaid.core-CcjGXuV6.js +11 -0
  71. package/console-app/assets/mindmap-definition-LN4V7U3C-CtolazqQ.js +96 -0
  72. package/console-app/assets/ordinal-hYBb2elL.js +1 -0
  73. package/console-app/assets/packet-7NZHBO7P-BxSOj_Ny.js +1 -0
  74. package/console-app/assets/path-BWPyau1x.js +1 -0
  75. package/console-app/assets/pegDiagram-2B236MQR-BNsMtxsM.js +1 -0
  76. package/console-app/assets/pie-RZYD4A2V-BbkKQBA5.js +1 -0
  77. package/console-app/assets/pieDiagram-ENE6RG2P-BAZLIz2f.js +39 -0
  78. package/console-app/assets/quadrantDiagram-ABIIQ3AL-Dpvn-1Fs.js +7 -0
  79. package/console-app/assets/radar-I7S5WNFK-B-uKXIAH.js +1 -0
  80. package/console-app/assets/railroad-3IZDKUUU-BHXXK04t.js +1 -0
  81. package/console-app/assets/railroad-abnf-AHOZXSZD-tXSQaBvY.js +1 -0
  82. package/console-app/assets/railroad-ebnf-EBAXGLYW-DG3aohR0.js +1 -0
  83. package/console-app/assets/railroad-peg-LSFZ7HO6-DY_gBA-x.js +1 -0
  84. package/console-app/assets/railroadDiagram-RFXS5EU6-DfUApEQj.js +1 -0
  85. package/console-app/assets/requirementDiagram-TGXJPOKE-B2zX0jqo.js +84 -0
  86. package/console-app/assets/rough.esm-CSKSodPl.js +1 -0
  87. package/console-app/assets/sankeyDiagram-HTMAVEWB-CbQ2zc7z.js +40 -0
  88. package/console-app/assets/sequenceDiagram-DBY2YBRQ-BLT8PXI_.js +162 -0
  89. package/console-app/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +1 -0
  90. package/console-app/assets/src-BLuPUFWW.js +1 -0
  91. package/console-app/assets/stateDiagram-2N3HPSRC-BvEyVp85.js +1 -0
  92. package/console-app/assets/stateDiagram-v2-6OUMAXLB-RGKS9iU4.js +1 -0
  93. package/console-app/assets/swimlanes-5IMT3BWC-1AZ459s6.js +2 -0
  94. package/console-app/assets/swimlanesDiagram-G3AALYLV-Ck_0-rfN.js +8 -0
  95. package/console-app/assets/timeline-definition-FHXFAJF6-dLuvH4s2.js +120 -0
  96. package/console-app/assets/treeView-QDETBFTQ-xL2msjo2.js +1 -0
  97. package/console-app/assets/treemap-6X3UGDF4-C98ichVP.js +1 -0
  98. package/console-app/assets/vennDiagram-L72KCM5P-HbUmidhv.js +34 -0
  99. package/console-app/assets/wardley-OPB4EBWU-C4gJS-m2.js +1 -0
  100. package/console-app/assets/wardleyDiagram-EHGQE667-B7b-LB02.js +78 -0
  101. package/console-app/assets/xychartDiagram-FW5EYKEG-Cm03zUGy.js +7 -0
  102. package/console-app/index.html +2 -2
  103. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  104. package/dist/.pikku/auth/auth.types.d.ts +1 -1
  105. package/dist/.pikku/auth/auth.types.js +1 -1
  106. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  107. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  108. package/dist/.pikku/cli/pikku-cli-channel.js +1 -6
  109. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  110. package/dist/.pikku/cli/pikku-cli-client.gen.js +36 -9
  111. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  112. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  113. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  114. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  115. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  116. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +7 -8
  117. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  118. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  119. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  120. package/dist/.pikku/cli/pikku-cli.gen.js +18 -2
  121. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  122. package/dist/.pikku/function/pikku-function-types.gen.d.ts +12 -6
  123. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  124. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  125. package/dist/.pikku/function/pikku-functions-meta.gen.json +39 -30
  126. package/dist/.pikku/function/pikku-functions.gen.js +3 -3
  127. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  128. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  129. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  130. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  131. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  132. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  133. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  134. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  135. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  136. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  137. package/dist/.pikku/pikku-services.gen.d.ts +2 -1
  138. package/dist/.pikku/pikku-services.gen.js +1 -0
  139. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  140. package/dist/.pikku/pikku-types.gen.js +1 -1
  141. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  142. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  143. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  144. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  145. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  146. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  147. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +1 -1
  148. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  149. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  150. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  151. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  152. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  153. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  154. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  155. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  156. package/dist/.pikku/schemas/register.gen.js +3 -3
  157. package/dist/.pikku/schemas/schemas/DbResetInput.schema.json +1 -1
  158. package/dist/.pikku/schemas/schemas/{DbSeedInput.schema.json → PikkuVirtualUserFunctionsOutput.schema.json} +1 -1
  159. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  160. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  161. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  162. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  163. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  164. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  165. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  166. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  167. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  168. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  169. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  170. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  171. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  172. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  173. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  174. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +20 -14
  175. package/dist/.pikku/workflow/pikku-personas.gen.js +1 -1
  176. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +6 -6
  177. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  178. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  179. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  180. package/dist/bin/pikku-bin.mjs +2 -2
  181. package/dist/src/cli.wiring.js +8 -7
  182. package/dist/src/fabric/functions/validate.function.js +76 -176
  183. package/dist/src/functions/commands/all.d.ts +1 -1
  184. package/dist/src/functions/commands/bootstrap.d.ts +1 -1
  185. package/dist/src/functions/commands/db-audit.js +1 -1
  186. package/dist/src/functions/commands/db-baseline.js +1 -1
  187. package/dist/src/functions/commands/db-check.js +6 -5
  188. package/dist/src/functions/commands/db-codegen.js +1 -1
  189. package/dist/src/functions/commands/db-generate.js +1 -1
  190. package/dist/src/functions/commands/db-migrate.js +1 -1
  191. package/dist/src/functions/commands/db-reset.d.ts +15 -1
  192. package/dist/src/functions/commands/db-reset.js +18 -6
  193. package/dist/src/functions/commands/db-shared.d.ts +14 -0
  194. package/dist/src/functions/commands/deploy-info.d.ts +1 -1
  195. package/dist/src/functions/commands/dev.js +1 -1
  196. package/dist/src/functions/commands/enable.d.ts +8 -8
  197. package/dist/src/functions/commands/new-addon.js +2 -2
  198. package/dist/src/functions/commands/persona-sync.d.ts +1 -1
  199. package/dist/src/functions/commands/persona-sync.js +1 -1
  200. package/dist/src/functions/commands/persona.js +16 -18
  201. package/dist/src/functions/commands/scenario-ladder.js +1 -1
  202. package/dist/src/functions/commands/scenario.js +4 -2
  203. package/dist/src/functions/commands/scopes-shared.d.ts +4 -0
  204. package/dist/src/functions/commands/scopes-shared.js +1 -1
  205. package/dist/src/functions/commands/serve.js +1 -1
  206. package/dist/src/functions/commands/versions-check.js +3 -3
  207. package/dist/src/functions/db/annotation-parser.d.ts +14 -0
  208. package/dist/src/functions/db/annotation-parser.js +50 -2
  209. package/dist/src/functions/db/better-auth-schema.js +2 -1
  210. package/dist/src/functions/db/db-codegen.d.ts +12 -0
  211. package/dist/src/functions/db/db-codegen.js +149 -16
  212. package/dist/src/functions/db/local-db.d.ts +87 -6
  213. package/dist/src/functions/db/local-db.js +202 -35
  214. package/dist/src/functions/db/sqlite/dev-seed.d.ts +12 -0
  215. package/dist/src/functions/db/sqlite/dev-seed.js +23 -0
  216. package/dist/src/functions/db/sqlite/sqlite-runtime-bun.js +1 -1
  217. package/dist/src/functions/validate/bootstrap-checks.d.ts +19 -0
  218. package/dist/src/functions/validate/bootstrap-checks.js +90 -0
  219. package/dist/src/functions/validate/persona-checks.d.ts +24 -0
  220. package/dist/src/functions/validate/persona-checks.js +136 -0
  221. package/dist/src/functions/validate/scenario-file-checks.d.ts +17 -0
  222. package/dist/src/functions/validate/scenario-file-checks.js +123 -0
  223. package/dist/src/functions/validate/shared-checks.d.ts +59 -0
  224. package/dist/src/functions/validate/shared-checks.js +311 -0
  225. package/dist/src/functions/validate/workspace-validate.d.ts +1 -2
  226. package/dist/src/functions/validate/workspace-validate.js +4 -196
  227. package/dist/src/functions/wirings/auth/serialize-auth-gen.js +16 -1
  228. package/dist/src/functions/wirings/auth/serialize-auth-types.d.ts +3 -1
  229. package/dist/src/functions/wirings/auth/serialize-auth-types.js +3 -1
  230. package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
  231. package/dist/src/functions/wirings/channels/serialize-typed-channel-map.js +10 -2
  232. package/dist/src/functions/wirings/cli/pikku-command-cli-entry.js +9 -4
  233. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +32 -10
  234. package/dist/src/functions/wirings/cli/serialize-cli-entrypoint-guard.d.ts +12 -0
  235. package/dist/src/functions/wirings/cli/serialize-cli-entrypoint-guard.js +28 -0
  236. package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.js +4 -1
  237. package/dist/src/functions/wirings/console/serialize-console-functions.js +1 -1
  238. package/dist/src/functions/wirings/functions/serialize-addon-types.js +1 -1
  239. package/dist/src/functions/wirings/functions/serialize-function-types.js +19 -5
  240. package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +3 -3
  241. package/dist/src/functions/wirings/personas/personas-secrets-file.d.ts +8 -0
  242. package/dist/src/functions/wirings/personas/personas-secrets-file.js +9 -0
  243. package/dist/src/functions/wirings/personas/pikku-command-personas.js +14 -0
  244. package/dist/src/functions/wirings/personas/serialize-personas-secrets.d.ts +16 -0
  245. package/dist/src/functions/wirings/personas/serialize-personas-secrets.js +34 -0
  246. package/dist/src/functions/wirings/queue/serialize-queue-map.js +2 -1
  247. package/dist/src/functions/wirings/queue/serialize-queue-wrapper.js +2 -1
  248. package/dist/src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.d.ts +1 -0
  249. package/dist/src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.js +42 -0
  250. package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.d.ts +28 -0
  251. package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +439 -0
  252. package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.js +2 -2
  253. package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +5 -11
  254. package/dist/src/functions/workflows/all.workflow.js +49 -16
  255. package/dist/src/server/bun-server-runner.d.ts +2 -2
  256. package/dist/src/server/bun-server-runner.js +5 -1
  257. package/dist/src/services/cli-logger.service.d.ts +28 -16
  258. package/dist/src/services/cli-logger.service.js +25 -16
  259. package/dist/src/services.js +8 -0
  260. package/dist/src/utils/file-import-path.js +9 -0
  261. package/dist/src/utils/pikku-cli-config.js +7 -0
  262. package/dist/src/utils/resolve-personas.d.ts +4 -9
  263. package/dist/src/utils/resolve-personas.js +4 -15
  264. package/dist/tsconfig.tsbuildinfo +1 -1
  265. package/package.json +11 -11
  266. package/dist/.pikku/schemas/schemas/BootstrapInput.schema.json +0 -1
  267. package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +0 -1
  268. package/dist/src/functions/commands/db-seed.d.ts +0 -1
  269. package/dist/src/functions/commands/db-seed.js +0 -24
  270. package/dist/src/functions/db/sqlite/seed.d.ts +0 -11
  271. package/dist/src/functions/db/sqlite/seed.js +0 -22
@@ -22,6 +22,11 @@ const scaffoldFiles = (config) => {
22
22
  file: config.userAdminFunctionsFile,
23
23
  generator: 'pikkuUserAdminFunctions',
24
24
  });
25
+ if (config.scaffold?.virtualUser && config.virtualUserFunctionsFile)
26
+ files.push({
27
+ file: config.virtualUserFunctionsFile,
28
+ generator: 'pikkuVirtualUserFunctions',
29
+ });
25
30
  if (config.scaffold?.agent && config.publicAgentFile)
26
31
  files.push({
27
32
  file: config.publicAgentFile,
@@ -46,7 +51,17 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
46
51
  let typesDeclarationFileExists = true;
47
52
  if (!existsSync(config.outDir)) {
48
53
  logger.debug(`• .pikku directory not found, running bootstrap first...`);
49
- await workflow.do('Bootstrap inspect', async () => getInspectorState(false, true, true));
54
+ // Every `getInspectorState` step below discards its result on purpose. A
55
+ // step's return value is stored as the step result and stays reachable for
56
+ // the life of the run, and an InspectorState holds a whole ts.Program — so
57
+ // returning it pins one TypeScript program per inspection instead of
58
+ // letting the previous one be collected. On a large project that is the
59
+ // difference between ~1.7GB and ~2.6GB peak RSS, i.e. between fitting in a
60
+ // 2GB CI heap and dying in it. Callers that need the state call
61
+ // `getInspectorState()` directly (it caches), never through a step.
62
+ await workflow.do('Bootstrap inspect', async () => {
63
+ await getInspectorState(false, true, true);
64
+ });
50
65
  // Both before function types: pikku-types.gen.ts re-exports the scope
51
66
  // definition types and imports ScopeId from the scopes codegen, so any
52
67
  // later import of '#pikku' — the inspector reading a project's zod
@@ -90,7 +105,9 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
90
105
  bootstrap: true,
91
106
  });
92
107
  }
93
- await workflow.do('Bootstrap re-inspect', async () => getInspectorState(true, true));
108
+ await workflow.do('Bootstrap re-inspect', async () => {
109
+ await getInspectorState(true, true);
110
+ });
94
111
  }
95
112
  if (!existsSync(config.typesDeclarationFile)) {
96
113
  typesDeclarationFileExists = false;
@@ -104,7 +121,9 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
104
121
  await workflow.do('Generate function types', 'pikkuFunctionTypes', {});
105
122
  if (!typesDeclarationFileExists || missingScaffolds.length > 0) {
106
123
  logger.debug(`• Type file or scaffolds first created, inspecting again...`);
107
- await workflow.do('Re-inspect after types', async () => getInspectorState(true));
124
+ await workflow.do('Re-inspect after types', async () => {
125
+ await getInspectorState(true);
126
+ });
108
127
  }
109
128
  // Type generators are independent of each other
110
129
  const typeGenerators = [
@@ -151,6 +170,7 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
151
170
  workflow.do('Public RPC', 'pikkuPublicRPC', null),
152
171
  workflow.do('Console functions', 'pikkuConsoleFunctions', null),
153
172
  workflow.do('User admin functions', 'pikkuUserAdminFunctions', null),
173
+ workflow.do('Virtual user functions', 'pikkuVirtualUserFunctions', null),
154
174
  workflow.do('Events scaffold', 'pikkuEventsScaffold', null),
155
175
  workflow.do('Emails', 'pikkuEmails', null),
156
176
  workflow.do('Secret definition types', 'pikkuSecretDefinitionTypes', null),
@@ -169,18 +189,25 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
169
189
  allImports.push(config.rpcInternalWiringMetaFile);
170
190
  }
171
191
  if (agents || !config.addon) {
172
- await workflow.do('Re-inspect after agents', async () => getInspectorState(true));
192
+ await workflow.do('Re-inspect after agents', async () => {
193
+ await getInspectorState(true);
194
+ });
173
195
  }
174
- // pikkuAuth generates auth-secrets.gen.ts (with defineSecret calls) inside the
175
- // Promise.all above, but pikkuSecrets runs concurrently from the pre-auth
176
- // inspector state. Re-run secret/credential/variable codegen now so that the
177
- // freshly-generated auth-secrets.gen.ts (just picked up by Re-inspect above)
178
- // is reflected in pikku-secrets-meta.gen.json.
179
- if ((await getInspectorState()).auth.definition) {
196
+ // pikkuAuth generates auth-secrets.gen.ts and pikkuPersonas generates
197
+ // pikku-personas-secrets.gen.ts (both full of defineSecret calls) inside the
198
+ // Promise.all above, but pikkuSecrets runs concurrently from the inspector
199
+ // state as it was before either wrote anything. Re-run secret/credential/
200
+ // variable codegen now so those freshly-generated files — just picked up by
201
+ // Re-inspect above — are reflected in pikku-secrets-meta.gen.json. Without
202
+ // this the declaration only lands on a second `pikku` run, and a cold
203
+ // project deploys without ever being asked for the value.
204
+ const stateAfterScaffold = await getInspectorState();
205
+ if (stateAfterScaffold.auth.definition ||
206
+ stateAfterScaffold.personas.definitions.length > 0) {
180
207
  await Promise.all([
181
- workflow.do('Secrets (post-auth)', 'pikkuSecrets', null),
182
- workflow.do('Credentials (post-auth)', 'pikkuCredentials', null),
183
- workflow.do('Variables (post-auth)', 'pikkuVariables', null),
208
+ workflow.do('Secrets (post-scaffold)', 'pikkuSecrets', null),
209
+ workflow.do('Credentials (post-scaffold)', 'pikkuCredentials', null),
210
+ workflow.do('Variables (post-scaffold)', 'pikkuVariables', null),
184
211
  ]);
185
212
  }
186
213
  const schemas = await workflow.do('Schemas', 'pikkuSchemas', null);
@@ -204,7 +231,9 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
204
231
  }
205
232
  }
206
233
  if (workflows || remoteRPC || webhook || workflowRoutes) {
207
- await workflow.do('Re-inspect after workflows', async () => getInspectorState(true));
234
+ await workflow.do('Re-inspect after workflows', async () => {
235
+ await getInspectorState(true);
236
+ });
208
237
  const regeneratedSchemas = await workflow.do('Re-generate schemas', 'pikkuSchemas', null);
209
238
  if (regeneratedSchemas && !schemas) {
210
239
  allImports.push(`${config.schemaDirectory}/register.gen.ts`);
@@ -282,7 +311,9 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
282
311
  const cliChannelGenerated = await workflow.do('CLI entry', 'pikkuCLIEntry', null);
283
312
  allImports.push(config.cliWiringMetaFile, config.cliWiringsFile);
284
313
  if (cliChannelGenerated) {
285
- await workflow.do('Re-inspect after CLI channel', async () => getInspectorState(true));
314
+ await workflow.do('Re-inspect after CLI channel', async () => {
315
+ await getInspectorState(true);
316
+ });
286
317
  const cliChannels = await workflow.do('Channels after CLI', 'pikkuCommandChannels', null);
287
318
  await workflow.do('Functions after CLI', 'pikkuFunctions', null);
288
319
  await workflow.do('Schemas after CLI', 'pikkuSchemas', null);
@@ -302,7 +333,9 @@ export const allWorkflow = pikkuWorkflowComplexFunc({
302
333
  }
303
334
  if (config.openAPI) {
304
335
  logger.debug(`• OpenAPI requires a reinspection to pickup new generated types..`);
305
- await workflow.do('OpenAPI re-inspect', async () => getInspectorState(true));
336
+ await workflow.do('OpenAPI re-inspect', async () => {
337
+ await getInspectorState(true);
338
+ });
306
339
  await workflow.do('OpenAPI', 'pikkuOpenAPI', null);
307
340
  }
308
341
  await workflow.do('Versions update', 'pikkuVersionsUpdate', null);
@@ -8,10 +8,10 @@
8
8
  */
9
9
  import type { EventHubService } from '@pikku/core';
10
10
  import type { Logger } from '@pikku/core/services';
11
- import type { DevServerRunner, DevServerInstance, DevServerConfig } from './dev-server-runner.interface.js';
11
+ import type { DevServerRunner, DevServerInstance, DevServerConfig, DevServerOptions } from './dev-server-runner.interface.js';
12
12
  export declare class BunServerRunner implements DevServerRunner {
13
13
  private mod?;
14
14
  private eventHub?;
15
15
  createEventHub(): Promise<EventHubService<any>>;
16
- createServer(config: DevServerConfig, logger: Logger): DevServerInstance;
16
+ createServer(config: DevServerConfig, logger: Logger, options?: DevServerOptions): DevServerInstance;
17
17
  }
@@ -14,12 +14,16 @@ export class BunServerRunner {
14
14
  this.eventHub = new this.mod.BunEventHubService();
15
15
  return this.eventHub;
16
16
  }
17
- createServer(config, logger) {
17
+ createServer(config, logger, options = {}) {
18
18
  if (!this.mod || !this.eventHub) {
19
19
  throw new Error('createEventHub() must be called before createServer()');
20
20
  }
21
21
  return new this.mod.PikkuBunServer(config, logger, {
22
22
  eventHub: this.eventHub,
23
+ // Dropped here until now, which silently disabled signed asset reads for
24
+ // every Bun project: `config.content` arrived, but the service that
25
+ // verifies its signatures did not.
26
+ contentSigningJWT: options.contentSigningJWT,
23
27
  });
24
28
  }
25
29
  }
@@ -1,7 +1,17 @@
1
1
  import type { Logger } from '@pikku/core/services';
2
+ import type { Safe } from '@pikku/core';
2
3
  import { LogLevel } from '@pikku/core/services';
3
4
  import type { ErrorCode, DiagnosticSeverity, CodedDiagnostic } from '@pikku/inspector';
4
5
  export type CLIOutputMode = 'text' | 'json';
6
+ /**
7
+ * The structured form a CLI log line may take. The `Record<string, any>` arm
8
+ * mirrors the `Logger` interface, which admits any object as a message.
9
+ */
10
+ export type CLILogMessage = string | {
11
+ message: string;
12
+ type?: string;
13
+ data?: Record<string, unknown>;
14
+ } | Record<string, any>;
5
15
  export declare class CLILogger implements Logger {
6
16
  private silent;
7
17
  private level;
@@ -23,25 +33,27 @@ export declare class CLILogger implements Logger {
23
33
  private ensureJSONFlushHook;
24
34
  flushJSONBuffer(): void;
25
35
  private emit;
26
- info(message: string | {
27
- message: string;
28
- type?: string;
29
- data?: Record<string, unknown>;
36
+ /**
37
+ * Splits a log line into the parts `emit` needs.
38
+ *
39
+ * The public methods declare their message as `Safe<M>`, which distributes
40
+ * over the `CLILogMessage` union and cannot be narrowed by `typeof`. The
41
+ * guard's job is done once the call site has been checked, so the message is
42
+ * converted back to its domain type here — in one place rather than in each
43
+ * method.
44
+ */
45
+ private messageParts;
46
+ info<M extends CLILogMessage, A extends unknown[]>(message: Safe<M>, ...__meta: {
47
+ [K in keyof A]: Safe<A[K]>;
30
48
  }): void;
31
- error(message: string | Error | {
32
- message: string;
33
- type?: string;
34
- data?: Record<string, unknown>;
49
+ error<M extends CLILogMessage | Error, A extends unknown[]>(message: Safe<M>, ...__meta: {
50
+ [K in keyof A]: Safe<A[K]>;
35
51
  }): void;
36
- warn(message: string | {
37
- message: string;
38
- type?: string;
39
- data?: Record<string, unknown>;
52
+ warn<M extends CLILogMessage, A extends unknown[]>(message: Safe<M>, ...__meta: {
53
+ [K in keyof A]: Safe<A[K]>;
40
54
  }): void;
41
- debug(message: string | {
42
- message: string;
43
- type?: string;
44
- data?: Record<string, unknown>;
55
+ debug<M extends CLILogMessage, A extends unknown[]>(message: Safe<M>, ...__meta: {
56
+ [K in keyof A]: Safe<A[K]>;
45
57
  }): void;
46
58
  diagnostic({ severity, code, message }: CodedDiagnostic): void;
47
59
  /** Sugar for `diagnostic({ severity: 'critical', code, message })`. */
@@ -108,15 +108,30 @@ export class CLILogger {
108
108
  }
109
109
  console.log(c(normalizedMessage));
110
110
  }
111
- info(message) {
111
+ /**
112
+ * Splits a log line into the parts `emit` needs.
113
+ *
114
+ * The public methods declare their message as `Safe<M>`, which distributes
115
+ * over the `CLILogMessage` union and cannot be narrowed by `typeof`. The
116
+ * guard's job is done once the call site has been checked, so the message is
117
+ * converted back to its domain type here — in one place rather than in each
118
+ * method.
119
+ */
120
+ messageParts(message) {
121
+ const value = message;
122
+ return {
123
+ msg: typeof value === 'string' ? value : value.message,
124
+ type: typeof value === 'string' ? undefined : value.type,
125
+ data: typeof value === 'string' ? undefined : value.data,
126
+ };
127
+ }
128
+ info(message, ...__meta) {
112
129
  if (this.level > LogLevel.info || this.silent)
113
130
  return;
114
- const msg = typeof message === 'string' ? message : message.message;
115
- const type = typeof message === 'string' ? undefined : message.type;
116
- const data = typeof message === 'string' ? undefined : message.data;
131
+ const { msg, type, data } = this.messageParts(message);
117
132
  this.emit('info', msg, type, undefined, data);
118
133
  }
119
- error(message) {
134
+ error(message, ...__meta) {
120
135
  if (this.level > LogLevel.error)
121
136
  return;
122
137
  if (message instanceof Error) {
@@ -128,25 +143,19 @@ export class CLILogger {
128
143
  : (message.stack ?? message.message));
129
144
  return;
130
145
  }
131
- const msg = typeof message === 'string' ? message : message.message;
132
- const type = typeof message === 'string' ? undefined : message.type;
133
- const data = typeof message === 'string' ? undefined : message.data;
146
+ const { msg, type, data } = this.messageParts(message);
134
147
  this.emit('error', msg, type, undefined, data);
135
148
  }
136
- warn(message) {
149
+ warn(message, ...__meta) {
137
150
  if (this.level > LogLevel.warn)
138
151
  return;
139
- const msg = typeof message === 'string' ? message : message.message;
140
- const type = typeof message === 'string' ? undefined : message.type;
141
- const data = typeof message === 'string' ? undefined : message.data;
152
+ const { msg, type, data } = this.messageParts(message);
142
153
  this.emit('warn', msg, type, undefined, data);
143
154
  }
144
- debug(message) {
155
+ debug(message, ...__meta) {
145
156
  if (this.level > LogLevel.debug || this.silent)
146
157
  return;
147
- const msg = typeof message === 'string' ? message : message.message;
148
- const type = typeof message === 'string' ? undefined : message.type;
149
- const data = typeof message === 'string' ? undefined : message.data;
158
+ const { msg, type, data } = this.messageParts(message);
150
159
  this.emit('debug', msg, type, undefined, data);
151
160
  }
152
161
  diagnostic({ severity, code, message }) {
@@ -17,6 +17,7 @@ import { BunBundler } from './deploy/bundler/bun-bundler.js';
17
17
  import { NodeServerRunner } from './server/node-server-runner.js';
18
18
  import { BunServerRunner } from './server/bun-server-runner.js';
19
19
  import { parseCLIFilters } from './utils/parse-cli-filters.js';
20
+ import { personasSecretsFilePath } from './functions/wirings/personas/personas-secrets-file.js';
20
21
  const DIAGNOSTIC_CODE_TO_LINT_KEY = {
21
22
  [ErrorCode.SERVICES_NOT_DESTRUCTURED]: 'servicesNotDestructured',
22
23
  [ErrorCode.WIRES_NOT_DESTRUCTURED]: 'wiresNotDestructured',
@@ -228,6 +229,12 @@ export const createSingletonServices = async (config) => {
228
229
  config.authFile
229
230
  ? path.join(path.dirname(config.authFile), 'auth-middleware.gen.ts')
230
231
  : undefined,
232
+ // The personas scaffold's sibling secrets file (SCENARIO_ACTOR_SECRET),
233
+ // generated into outDir where nothing imports it — same reasoning as the
234
+ // auth files above.
235
+ config.personasFile
236
+ ? personasSecretsFilePath(config.personasFile)
237
+ : undefined,
231
238
  ];
232
239
  for (const file of scaffoldFiles) {
233
240
  if (file && !wiringFiles.includes(file) && existsSync(file)) {
@@ -260,6 +267,7 @@ export const createSingletonServices = async (config) => {
260
267
  // cost. Never runs during a plain `pikku all`.
261
268
  classificationCheck: !setupOnly && !!config.security,
262
269
  strictMeta: !!config.strictMeta,
270
+ allow: config.allow ?? {},
263
271
  schemaConfig: !setupOnly
264
272
  ? {
265
273
  tsconfig: config.tsconfig,
@@ -4,6 +4,15 @@ export const getFileImportRelativePath = (from, to, packageMappings,
4
4
  * Use for generated files that live outside the workspace (e.g. .deploy/)
5
5
  * where package-name imports can't be resolved by the bundler. */
6
6
  forceRelative = false) => {
7
+ // `to` is normally a file on disk, but the bootstrap zero state records core's
8
+ // types as `typePath: '@pikku/core'` — already an import specifier. Doing path
9
+ // arithmetic on one yields a directory that does not exist ('../../@pikku/core')
10
+ // and, being extensionless, one that nodenext then refuses to resolve. The
11
+ // node_modules branch below cannot catch these: a bare specifier has no
12
+ // 'node_modules/' in it to key off.
13
+ if (!to.startsWith('.') && !to.startsWith('/') && !/^[a-zA-Z]:/.test(to)) {
14
+ return to;
15
+ }
7
16
  let filePath = relative(dirname(from), to);
8
17
  if (!/^\.+\//.test(filePath)) {
9
18
  filePath = `./${filePath}`;
@@ -245,6 +245,7 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
245
245
  console: 'consoleFunctionsFile',
246
246
  scenarios: 'scenariosFunctionsFile',
247
247
  userAdmin: 'userAdminFunctionsFile',
248
+ virtualUser: 'virtualUserFunctionsFile',
248
249
  workflow: 'workflowRoutesFile',
249
250
  events: 'eventsChannelFile',
250
251
  remoteRpc: 'remoteRpcWorkersFile',
@@ -303,6 +304,12 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
303
304
  if (result.scaffold?.userAdmin && !result.userAdminSchemasFile) {
304
305
  result.userAdminSchemasFile = join(resolvedScaffoldDir, 'admin', 'user-admin.schemas.gen.ts');
305
306
  }
307
+ if (result.scaffold?.virtualUser && !result.virtualUserFunctionsFile) {
308
+ result.virtualUserFunctionsFile = join(resolvedScaffoldDir, 'virtual-user', 'virtual-user.gen.ts');
309
+ }
310
+ if (result.scaffold?.virtualUser && !result.virtualUserSchemasFile) {
311
+ result.virtualUserSchemasFile = join(resolvedScaffoldDir, 'virtual-user', 'virtual-user.schemas.gen.ts');
312
+ }
306
313
  if (result.scaffold?.scenarios && !result.scenariosFunctionsFile) {
307
314
  result.scenariosFunctionsFile = join(resolvedScaffoldDir, 'scenarios', 'scenarios.gen.ts');
308
315
  }
@@ -20,13 +20,8 @@ export declare const DEFAULT_PERSONA_EMAIL_DOMAIN = "personas.invalid";
20
20
  */
21
21
  export declare const resolvePersonas: (definitions: PersonaDefinitions, domain?: string, runId?: string) => Record<string, ResolvedPersona>;
22
22
  /**
23
- * The scopes a persona holds, resolved through its roles.
24
- *
25
- * Roles are the only thing a persona declares; scopes are what a function
26
- * checks. Narrowing a virtual user's catalogue needs the second, so the
27
- * expansion happens once, here, against the same `defineSystemRole` definitions
28
- * the seed grants from.
23
+ * Re-exported rather than declared here: the scaffolded `runVirtualUser` RPC
24
+ * needs the same expansion at runtime, so it lives in core beside
25
+ * `prepareVirtualUserRun` and this keeps the CLI's existing import sites.
29
26
  */
30
- export declare const personaScopes: (persona: {
31
- roles?: readonly string[];
32
- }, roleScopes: Record<string, readonly string[]>) => string[];
27
+ export { personaScopes } from '@pikku/core/virtual-user';
@@ -28,19 +28,8 @@ export const resolvePersonas = (definitions, domain = DEFAULT_PERSONA_EMAIL_DOMA
28
28
  return resolved;
29
29
  };
30
30
  /**
31
- * The scopes a persona holds, resolved through its roles.
32
- *
33
- * Roles are the only thing a persona declares; scopes are what a function
34
- * checks. Narrowing a virtual user's catalogue needs the second, so the
35
- * expansion happens once, here, against the same `defineSystemRole` definitions
36
- * the seed grants from.
31
+ * Re-exported rather than declared here: the scaffolded `runVirtualUser` RPC
32
+ * needs the same expansion at runtime, so it lives in core beside
33
+ * `prepareVirtualUserRun` and this keeps the CLI's existing import sites.
37
34
  */
38
- export const personaScopes = (persona, roleScopes) => {
39
- const scopes = new Set();
40
- for (const role of persona.roles ?? []) {
41
- for (const scope of roleScopes[role] ?? []) {
42
- scopes.add(scope);
43
- }
44
- }
45
- return [...scopes].sort();
46
- };
35
+ export { personaScopes } from '@pikku/core/virtual-user';
@@ -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-seed.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-ai-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/serve-console.ts","../src/functions/commands/serve.ts","../src/functions/commands/skills.ts","../src/functions/commands/start-coverage.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/commands/workspace-validate.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/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/validate/workspace-validate.ts","../src/functions/wirings/ai-agent/pikku-command-ai-agent-types.ts","../src/functions/wirings/ai-agent/pikku-command-ai-agent.ts","../src/functions/wirings/ai-agent/pikku-command-public-agent.ts","../src/functions/wirings/ai-agent/serialize-agent-map.ts","../src/functions/wirings/ai-agent/serialize-ai-agent-types.ts","../src/functions/wirings/ai-agent/serialize-public-agent.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-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/pikku-command-personas.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/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/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/serialize-import-map.ts","../src/utils/serialize-meta-ts.ts","../src/utils/serialize-schemas.ts","../src/utils/strip-verbose-meta.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/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-ai-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/serve-console.ts","../src/functions/commands/serve.ts","../src/functions/commands/skills.ts","../src/functions/commands/start-coverage.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/commands/workspace-validate.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/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/workspace-validate.ts","../src/functions/wirings/ai-agent/pikku-command-ai-agent-types.ts","../src/functions/wirings/ai-agent/pikku-command-ai-agent.ts","../src/functions/wirings/ai-agent/pikku-command-public-agent.ts","../src/functions/wirings/ai-agent/serialize-agent-map.ts","../src/functions/wirings/ai-agent/serialize-ai-agent-types.ts","../src/functions/wirings/ai-agent/serialize-public-agent.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/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/serialize-import-map.ts","../src/utils/serialize-meta-ts.ts","../src/utils/serialize-schemas.ts","../src/utils/strip-verbose-meta.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/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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/cli",
3
- "version": "0.12.96",
3
+ "version": "0.12.99",
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",
@@ -15,7 +15,7 @@
15
15
  "main": "dist/bin/pikku.js",
16
16
  "module": "dist/bin/pikku.js",
17
17
  "scripts": {
18
- "tsc": "tsc",
18
+ "tsc": "tsc && tsc -p tsconfig.type-tests.json",
19
19
  "schema": "ts-json-schema-generator -o cli.schema.json --path 'src/utils/pikku-cli-config.ts' --type 'PikkuCLIConfig'",
20
20
  "build": "./build.sh",
21
21
  "ncu": "npx npm-check-updates -x '/.*glob.*/'",
@@ -31,19 +31,19 @@
31
31
  "@jridgewell/trace-mapping": "^0.3.25",
32
32
  "@openapi-contrib/json-schema-to-openapi-schema": "^4.3.1",
33
33
  "@pikku/ai-vercel": "^0.12.8",
34
- "@pikku/better-auth": "^0.12.20",
35
- "@pikku/bun-server": "^0.12.4",
34
+ "@pikku/better-auth": "^0.12.21",
35
+ "@pikku/bun-server": "^0.12.5",
36
36
  "@pikku/deploy-cloudflare": "^0.12.9",
37
37
  "@pikku/fetch": "^0.12.8",
38
- "@pikku/inspector": "^0.12.52",
39
- "@pikku/knowledge": "^0.12.3",
40
- "@pikku/kysely": "^0.13.7",
41
- "@pikku/kysely-node-sqlite": "^0.12.3",
38
+ "@pikku/inspector": "^0.12.54",
39
+ "@pikku/knowledge": "^0.12.4",
40
+ "@pikku/kysely": "^0.13.10",
41
+ "@pikku/kysely-node-sqlite": "^0.12.4",
42
42
  "@pikku/n8n-import": "^0.0.4",
43
43
  "@pikku/node-http-server": "^0.12.7",
44
44
  "@pikku/openapi-parser": "^0.12.17",
45
45
  "@pikku/schedule": "^0.12.4",
46
- "@pikku/skills": "^0.12.4",
46
+ "@pikku/skills": "^0.12.6",
47
47
  "@pikku/ws": "^0.12.5",
48
48
  "@types/cookie": "^1.0.0",
49
49
  "@types/json-schema": "^7.0.15",
@@ -66,11 +66,11 @@
66
66
  "zod-to-ts": "^2.1.0"
67
67
  },
68
68
  "peerDependencies": {
69
- "@pikku/core": "^0.12.74",
69
+ "@pikku/core": "^0.12.77",
70
70
  "@pikku/playwright": "^0.12.72"
71
71
  },
72
72
  "devDependencies": {
73
- "@pikku/core": "^0.12.74",
73
+ "@pikku/core": "^0.12.77",
74
74
  "@pikku/playwright": "^0.12.72",
75
75
  "@types/istanbul-lib-instrument": "^1.7.7",
76
76
  "@types/node": "^24.11.0",
@@ -1 +0,0 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "allImports": { "type": "array", "items": { "type": "string" } } }, "required": ["allImports"], "additionalProperties": false, "definitions": {} }