@pikku/cli 0.12.104 → 0.12.105

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 (328) hide show
  1. package/console-app/assets/{abnfDiagram-VRR7QNED-DTI8lQi3.js → abnfDiagram-VRR7QNED-QRjCVsso.js} +1 -1
  2. package/console-app/assets/{arc-B_XK0Xbk.js → arc-CloGjkHW.js} +1 -1
  3. package/console-app/assets/architecture-TIHT7OUA-Cz78Qi5H.js +1 -0
  4. package/console-app/assets/{architectureDiagram-ZJ3FMSHR-CzE1T938.js → architectureDiagram-ZJ3FMSHR-Dl10fVqw.js} +1 -1
  5. package/console-app/assets/{blockDiagram-677ZJIJ3-CcSxyQZH.js → blockDiagram-677ZJIJ3-CMNoQhwm.js} +1 -1
  6. package/console-app/assets/{c4Diagram-LMCZKHZV-DSsAqAm5.js → c4Diagram-LMCZKHZV-C2pWYCa6.js} +1 -1
  7. package/console-app/assets/channel-Bm4o-pNB.js +1 -0
  8. package/console-app/assets/{chunk-32BRIVSS-Atv4wjmh.js → chunk-32BRIVSS-DC3ZGIPN.js} +1 -1
  9. package/console-app/assets/{chunk-52WLFC77-DkXgWHeH.js → chunk-52WLFC77-DuAheIlc.js} +1 -1
  10. package/console-app/assets/{chunk-C7G6YPKG-DhtQv4yx.js → chunk-C7G6YPKG-BVtRZIEZ.js} +1 -1
  11. package/console-app/assets/{chunk-EX3LRPZG-0GIQyrn1.js → chunk-EX3LRPZG-CWXF7N33.js} +1 -1
  12. package/console-app/assets/{chunk-FWX5IMBZ-DZvpxO7-.js → chunk-FWX5IMBZ-UN3i5qMG.js} +2 -2
  13. package/console-app/assets/{chunk-HOUHSVGY-CyU0q_QM.js → chunk-HOUHSVGY-DMorD8Ib.js} +1 -1
  14. package/console-app/assets/{chunk-ICXQ74PX-CzAIiCX5.js → chunk-ICXQ74PX-BiuzWyj2.js} +1 -1
  15. package/console-app/assets/{chunk-MOJQB5TN-DUKLkDFX.js → chunk-MOJQB5TN-6BhXmDyj.js} +1 -1
  16. package/console-app/assets/{chunk-OGEWGWER-DhmfsQT_.js → chunk-OGEWGWER-BNi3Gsmc.js} +1 -1
  17. package/console-app/assets/{chunk-PUDLZKDR-BMAILUQ6.js → chunk-PUDLZKDR-DNWGCeoL.js} +1 -1
  18. package/console-app/assets/{chunk-Q4XR5HBZ-Cpak96ZI.js → chunk-Q4XR5HBZ-i4zkt4cc.js} +1 -1
  19. package/console-app/assets/{chunk-RYQCIY6F-9OVlGtkS.js → chunk-RYQCIY6F-DvRUzuDz.js} +1 -1
  20. package/console-app/assets/{chunk-V7JOEXUC-BfBH_WMn.js → chunk-V7JOEXUC-JMjbqEgu.js} +1 -1
  21. package/console-app/assets/chunk-VAUOI2AC-D4_whP-t.js +1 -0
  22. package/console-app/assets/{chunk-VR4S4FIN-q02O9Hva.js → chunk-VR4S4FIN-BcHHugM0.js} +1 -1
  23. package/console-app/assets/{chunk-WYO6CB5R-cQuwndtk.js → chunk-WYO6CB5R-COKjEQwP.js} +1 -1
  24. package/console-app/assets/chunk-XXDRQBXY-mkAF2YHU.js +1 -0
  25. package/console-app/assets/{chunk-ZGVPDNZ5-2b6-Ub1z.js → chunk-ZGVPDNZ5-CENGdlFJ.js} +1 -1
  26. package/console-app/assets/classDiagram-OUVF2IWQ-B2cEvfK0.js +1 -0
  27. package/console-app/assets/classDiagram-v2-EOCWNBFH-B2cEvfK0.js +1 -0
  28. package/console-app/assets/{cose-bilkent-JH36ORCC-D8cALtKZ.js → cose-bilkent-JH36ORCC-D6F1MghO.js} +1 -1
  29. package/console-app/assets/{cynefin-VYW2F7L2-BphwdLzc.js → cynefin-VYW2F7L2-BIhff1Ln.js} +1 -1
  30. package/console-app/assets/{cynefinDiagram-TSTJHNR4-7Rk31pXX.js → cynefinDiagram-TSTJHNR4-DrlBq_QP.js} +1 -1
  31. package/console-app/assets/{dagre-VKFMJZFB-e8-5QJxJ.js → dagre-VKFMJZFB-Cm2eP0ez.js} +1 -1
  32. package/console-app/assets/{diagram-FQU43EPY-SGSSyx5P.js → diagram-FQU43EPY-C667dC19.js} +1 -1
  33. package/console-app/assets/{diagram-G47NLZAW-F_m68BCv.js → diagram-G47NLZAW-3K3OPEuG.js} +1 -1
  34. package/console-app/assets/{diagram-NH7WQ7WH-5p6A3YHp.js → diagram-NH7WQ7WH-CUK-d5iT.js} +1 -1
  35. package/console-app/assets/{diagram-OA4YK3LP-Dv-j07Wh.js → diagram-OA4YK3LP-BmjCoGBZ.js} +1 -1
  36. package/console-app/assets/{diagram-WEI45ONY-1gqT-Dqp.js → diagram-WEI45ONY-D33qA2d9.js} +1 -1
  37. package/console-app/assets/{dist-DQ3gF-0S.js → dist-jqlCD26w.js} +1 -1
  38. package/console-app/assets/{ebnfDiagram-CCIWWBDH-Dsfd8DxK.js → ebnfDiagram-CCIWWBDH-DUHkt7z6.js} +1 -1
  39. package/console-app/assets/{erDiagram-Q63AITRT-DQ5Gu1Tw.js → erDiagram-Q63AITRT-BAtdfbq3.js} +1 -1
  40. package/console-app/assets/eventmodeling-45OFAUF4-iK6rmyk3.js +1 -0
  41. package/console-app/assets/flowDiagram-23GEKE2U-CSYhKO9Y.js +1 -0
  42. package/console-app/assets/{ganttDiagram-NO4QXBWP-2of9JObw.js → ganttDiagram-NO4QXBWP-64_vh9rj.js} +1 -1
  43. package/console-app/assets/{gitGraph-TEB2WS4Q-q2ow8moS.js → gitGraph-TEB2WS4Q-DlFJY0cQ.js} +1 -1
  44. package/console-app/assets/{gitGraphDiagram-IHSO6WYX-7JFgdH2Q.js → gitGraphDiagram-IHSO6WYX-D9fpmYRm.js} +1 -1
  45. package/console-app/assets/{index-FDk51Irw.js → index-Byf4wkdP.js} +156 -150
  46. package/console-app/assets/{info-DKCQHKI2-DA35x9Eq.js → info-DKCQHKI2-DhyT_-b1.js} +1 -1
  47. package/console-app/assets/{infoDiagram-FWYZ7A6U-wBw6slQd.js → infoDiagram-FWYZ7A6U-ufTemVSR.js} +1 -1
  48. package/console-app/assets/{ishikawaDiagram-FXEZZL3T-XjQC7Fmw.js → ishikawaDiagram-FXEZZL3T-CWHvEncb.js} +1 -1
  49. package/console-app/assets/{journeyDiagram-5HDEW3XC-DyIcpJQM.js → journeyDiagram-5HDEW3XC-DKH8UvEq.js} +1 -1
  50. package/console-app/assets/{kanban-definition-HUTT4EX6-B1zYF1dv.js → kanban-definition-HUTT4EX6-BODtp_fB.js} +1 -1
  51. package/console-app/assets/{line-C6UySSzG.js → line-Do9j3HRL.js} +1 -1
  52. package/console-app/assets/{linear-B-Zu24zW.js → linear-5Z8stnH-.js} +1 -1
  53. package/console-app/assets/{mermaid-parser.core-Tfk1Eudy.js → mermaid-parser.core-CYJsdwMO.js} +3 -3
  54. package/console-app/assets/{mermaid.core-HtlOIxsD.js → mermaid.core-DwI4IdKs.js} +3 -3
  55. package/console-app/assets/{mindmap-definition-LN4V7U3C-5tBdCFVy.js → mindmap-definition-LN4V7U3C-D7IWNYnf.js} +1 -1
  56. package/console-app/assets/{packet-7NZHBO7P-CvZpWSge.js → packet-7NZHBO7P-comMLvz_.js} +1 -1
  57. package/console-app/assets/{pegDiagram-2B236MQR-Bw6WA3kx.js → pegDiagram-2B236MQR-CbqiI_m5.js} +1 -1
  58. package/console-app/assets/{pie-RZYD4A2V-cW9hD9gn.js → pie-RZYD4A2V-VZXoX73g.js} +1 -1
  59. package/console-app/assets/{pieDiagram-ENE6RG2P-DkD_01Ea.js → pieDiagram-ENE6RG2P-SA-sCnrt.js} +1 -1
  60. package/console-app/assets/{quadrantDiagram-ABIIQ3AL-Bwdtm5-W.js → quadrantDiagram-ABIIQ3AL-CI840rae.js} +1 -1
  61. package/console-app/assets/{radar-I7S5WNFK-tOWig5fu.js → radar-I7S5WNFK-W0UH9BdP.js} +1 -1
  62. package/console-app/assets/{railroad-3IZDKUUU-tZ2PcrQC.js → railroad-3IZDKUUU-_HEtbruA.js} +1 -1
  63. package/console-app/assets/railroad-abnf-AHOZXSZD-ghLnUEfg.js +1 -0
  64. package/console-app/assets/railroad-ebnf-EBAXGLYW-D8JHCZD5.js +1 -0
  65. package/console-app/assets/railroad-peg-LSFZ7HO6-C9eC4l2D.js +1 -0
  66. package/console-app/assets/{railroadDiagram-RFXS5EU6-Dljzejc8.js → railroadDiagram-RFXS5EU6-Cm2SfP9Z.js} +1 -1
  67. package/console-app/assets/{requirementDiagram-TGXJPOKE-CRV748Vu.js → requirementDiagram-TGXJPOKE-CyHrMdrC.js} +1 -1
  68. package/console-app/assets/{sankeyDiagram-HTMAVEWB-CrFvfCvp.js → sankeyDiagram-HTMAVEWB-DL0eJ1aK.js} +1 -1
  69. package/console-app/assets/{sequenceDiagram-DBY2YBRQ-CXysYi1c.js → sequenceDiagram-DBY2YBRQ-B2AvEvXu.js} +1 -1
  70. package/console-app/assets/{src-Bilm7g2t.js → src-72nNqhBu.js} +1 -1
  71. package/console-app/assets/{stateDiagram-2N3HPSRC-C8aGjwyh.js → stateDiagram-2N3HPSRC-vgyc-CMC.js} +1 -1
  72. package/console-app/assets/stateDiagram-v2-6OUMAXLB-B2WCkCZh.js +1 -0
  73. package/console-app/assets/{swimlanes-5IMT3BWC-VaTW8Eyb.js → swimlanes-5IMT3BWC-GiOMMhZh.js} +1 -1
  74. package/console-app/assets/swimlanesDiagram-G3AALYLV-CkCbtoLb.js +8 -0
  75. package/console-app/assets/{timeline-definition-FHXFAJF6-D88F4W4L.js → timeline-definition-FHXFAJF6-DTJQsTn8.js} +1 -1
  76. package/console-app/assets/{treeView-QDETBFTQ-hN0LxmWJ.js → treeView-QDETBFTQ-aizmbgl7.js} +1 -1
  77. package/console-app/assets/{treemap-6X3UGDF4-Cz4whnzW.js → treemap-6X3UGDF4-DIBl6bfV.js} +1 -1
  78. package/console-app/assets/{vennDiagram-L72KCM5P-CoW2kun8.js → vennDiagram-L72KCM5P-C4Ngu7VX.js} +1 -1
  79. package/console-app/assets/{wardley-OPB4EBWU-l9vWUHbB.js → wardley-OPB4EBWU-BqdXyJTm.js} +1 -1
  80. package/console-app/assets/{wardleyDiagram-EHGQE667-uWxnqqVK.js → wardleyDiagram-EHGQE667-Cw2M8s0p.js} +1 -1
  81. package/console-app/assets/{xychartDiagram-FW5EYKEG-ClVawwGR.js → xychartDiagram-FW5EYKEG-BxMLZdbF.js} +1 -1
  82. package/console-app/index.html +1 -1
  83. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +12 -12
  84. package/dist/.pikku/agent/pikku-agent-types.gen.js +6 -6
  85. package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
  86. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +4 -4
  87. package/dist/.pikku/channel/pikku-channel-types.gen.js +3 -2
  88. package/dist/.pikku/cli/pikku-cli-channel.d.ts +1 -1
  89. package/dist/.pikku/cli/pikku-cli-channel.js +13 -3
  90. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +2 -2
  91. package/dist/.pikku/cli/pikku-cli-client.gen.js +2 -2
  92. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  93. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  94. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +2 -2
  95. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  96. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  97. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +48 -4
  98. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  99. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  100. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  101. package/dist/.pikku/cli/pikku-cli.gen.js +2 -2
  102. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  103. package/dist/.pikku/function/pikku-function-types.gen.d.ts +9 -7
  104. package/dist/.pikku/function/pikku-function-types.gen.js +5 -4
  105. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  106. package/dist/.pikku/function/pikku-functions-meta.gen.json +95 -52
  107. package/dist/.pikku/function/pikku-functions.gen.js +8 -8
  108. package/dist/.pikku/http/pikku-http-types.gen.d.ts +3 -3
  109. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  110. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +4 -3
  111. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  112. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  113. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  114. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  115. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  116. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  117. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  118. package/dist/.pikku/pikku-services.gen.d.ts +4 -4
  119. package/dist/.pikku/pikku-services.gen.js +3 -3
  120. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  121. package/dist/.pikku/pikku-types.gen.js +1 -1
  122. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +2 -2
  123. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  124. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  125. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  126. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  127. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  128. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +5 -3
  129. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  130. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  131. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  132. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  133. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  134. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  135. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +2 -2
  136. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  137. package/dist/.pikku/schemas/register.gen.js +8 -6
  138. package/dist/.pikku/schemas/schemas/PikkuSemverOutput.schema.json +1 -0
  139. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +2 -1
  140. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  141. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +2 -2
  142. package/dist/.pikku/scopes/pikku-roles.gen.js +1 -1
  143. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +5 -5
  144. package/dist/.pikku/scopes/pikku-scope-types.gen.js +3 -3
  145. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +2 -2
  146. package/dist/.pikku/scopes/pikku-scopes.gen.js +1 -1
  147. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +3 -2
  148. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  149. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  150. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  151. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +3 -3
  152. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  153. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  154. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  155. package/dist/.pikku/variables/pikku-variables.gen.d.ts +3 -3
  156. package/dist/.pikku/variables/pikku-variables.gen.js +2 -2
  157. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +9 -9
  158. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +3 -2
  159. package/dist/.pikku/workflow/pikku-personas.gen.js +2 -2
  160. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +6 -6
  161. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +3 -3
  162. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  163. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  164. package/dist/bin/pikku-bin.mjs +2 -2
  165. package/dist/src/cli.wiring.js +50 -4
  166. package/dist/src/deploy/analyzer/analyzer.js +5 -5
  167. package/dist/src/deploy/bundler/bundler.js +2 -2
  168. package/dist/src/functions/commands/audit.js +33 -9
  169. package/dist/src/functions/commands/bootstrap.js +1 -1
  170. package/dist/src/functions/commands/{dev-ai-runner.d.ts → dev-agent-runner.d.ts} +3 -3
  171. package/dist/src/functions/commands/{dev-ai-runner.js → dev-agent-runner.js} +4 -4
  172. package/dist/src/functions/commands/dev.js +29 -23
  173. package/dist/src/functions/commands/persona-sync.js +2 -2
  174. package/dist/src/functions/commands/persona.js +7 -6
  175. package/dist/src/functions/commands/roles-shared.d.ts +1 -1
  176. package/dist/src/functions/commands/roles-shared.js +1 -1
  177. package/dist/src/functions/commands/scenario-browser.d.ts +2 -2
  178. package/dist/src/functions/commands/scenario-formatter.d.ts +1 -1
  179. package/dist/src/functions/commands/scenario-ladder.d.ts +4 -3
  180. package/dist/src/functions/commands/scenario-ladder.js +1 -1
  181. package/dist/src/functions/commands/scenario-plan.d.ts +2 -2
  182. package/dist/src/functions/commands/scenario-plan.js +1 -1
  183. package/dist/src/functions/commands/scenario.d.ts +0 -3
  184. package/dist/src/functions/commands/scenario.js +40 -38
  185. package/dist/src/functions/commands/scopes-shared.d.ts +1 -1
  186. package/dist/src/functions/commands/scopes-shared.js +1 -1
  187. package/dist/src/functions/commands/semver-render.d.ts +2 -0
  188. package/dist/src/functions/commands/semver-render.js +60 -0
  189. package/dist/src/functions/commands/semver.d.ts +25 -0
  190. package/dist/src/functions/commands/semver.js +50 -0
  191. package/dist/src/functions/commands/serve.js +20 -19
  192. package/dist/src/functions/commands/start-coverage.d.ts +1 -1
  193. package/dist/src/functions/commands/start-coverage.js +2 -2
  194. package/dist/src/functions/commands/update-render.d.ts +2 -0
  195. package/dist/src/functions/commands/update-render.js +102 -0
  196. package/dist/src/functions/commands/update.d.ts +99 -0
  197. package/dist/src/functions/commands/update.js +392 -0
  198. package/dist/src/functions/commands/virtual-user-formatter.d.ts +1 -1
  199. package/dist/src/functions/validate/scenario-file-checks.js +1 -1
  200. package/dist/src/functions/validate/validate-registry.js +10 -0
  201. package/dist/src/functions/validate/workspace-exports-checks.d.ts +14 -0
  202. package/dist/src/functions/validate/workspace-exports-checks.js +211 -0
  203. package/dist/src/functions/wirings/agent/pikku-command-agent-types.d.ts +1 -0
  204. package/dist/src/functions/wirings/{ai-agent/pikku-command-ai-agent-types.js → agent/pikku-command-agent-types.js} +3 -3
  205. package/dist/src/functions/wirings/agent/pikku-command-agent.d.ts +1 -0
  206. package/dist/src/functions/wirings/{ai-agent/pikku-command-ai-agent.js → agent/pikku-command-agent.js} +5 -5
  207. package/dist/src/functions/wirings/{ai-agent → agent}/serialize-agent-map.d.ts +2 -2
  208. package/dist/src/functions/wirings/agent/serialize-agent-types.d.ts +1 -0
  209. package/dist/src/functions/wirings/{ai-agent/serialize-ai-agent-types.js → agent/serialize-agent-types.js} +21 -32
  210. package/dist/src/functions/wirings/{ai-agent → agent}/serialize-public-agent.js +1 -1
  211. package/dist/src/functions/wirings/agent-scorer/pikku-command-agent-scorer.d.ts +1 -0
  212. package/dist/src/functions/wirings/{ai-scorer/pikku-command-ai-scorer.js → agent-scorer/pikku-command-agent-scorer.js} +5 -5
  213. package/dist/src/functions/wirings/{ai-scorer → agent-scorer}/serialize-scorer-names.d.ts +1 -1
  214. package/dist/src/functions/wirings/channels/pikku-channels.js +1 -1
  215. package/dist/src/functions/wirings/channels/pikku-command-channels.js +1 -1
  216. package/dist/src/functions/wirings/channels/serialize-channel-types.js +4 -3
  217. package/dist/src/functions/wirings/channels/serialize-typed-channel-map.d.ts +2 -2
  218. package/dist/src/functions/wirings/cli/pikku-command-cli.js +1 -1
  219. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.d.ts +1 -1
  220. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +3 -3
  221. package/dist/src/functions/wirings/cli/serialize-channel-cli.d.ts +1 -1
  222. package/dist/src/functions/wirings/cli/serialize-channel-cli.js +2 -2
  223. package/dist/src/functions/wirings/cli/serialize-cli-types.js +2 -1
  224. package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.js +1 -1
  225. package/dist/src/functions/wirings/console/pikku-command-nodes-meta.js +1 -1
  226. package/dist/src/functions/wirings/credentials/pikku-command-credentials.js +1 -1
  227. package/dist/src/functions/wirings/credentials/serialize-credentials-types.d.ts +1 -1
  228. package/dist/src/functions/wirings/credentials/serialize-credentials-types.js +4 -3
  229. package/dist/src/functions/wirings/functions/pikku-command-functions.js +1 -1
  230. package/dist/src/functions/wirings/functions/serialize-addon-types.js +2 -1
  231. package/dist/src/functions/wirings/functions/serialize-function-imports.d.ts +1 -1
  232. package/dist/src/functions/wirings/functions/serialize-function-types.js +11 -12
  233. package/dist/src/functions/wirings/gateway/serialize-gateway-meta.d.ts +1 -1
  234. package/dist/src/functions/wirings/http/pikku-command-http-routes.js +1 -1
  235. package/dist/src/functions/wirings/http/pikku-http-routes.js +1 -1
  236. package/dist/src/functions/wirings/http/serialize-http-types.js +3 -2
  237. package/dist/src/functions/wirings/http/serialize-typed-http-map.d.ts +1 -1
  238. package/dist/src/functions/wirings/mcp/pikku-command-mcp.js +1 -1
  239. package/dist/src/functions/wirings/mcp/serialize-mcp-types.js +3 -11
  240. package/dist/src/functions/wirings/package/serialize-package-types.js +7 -6
  241. package/dist/src/functions/wirings/personas/pikku-command-personas.js +1 -1
  242. package/dist/src/functions/wirings/personas/serialize-personas-types.d.ts +1 -1
  243. package/dist/src/functions/wirings/personas/serialize-personas-types.js +6 -2
  244. package/dist/src/functions/wirings/queue/serialize-queue-map.d.ts +1 -1
  245. package/dist/src/functions/wirings/queue/serialize-queue-meta.d.ts +1 -1
  246. package/dist/src/functions/wirings/queue/serialize-queue-types.js +2 -1
  247. package/dist/src/functions/wirings/roles/pikku-command-roles.js +1 -1
  248. package/dist/src/functions/wirings/roles/serialize-roles-types.d.ts +1 -1
  249. package/dist/src/functions/wirings/roles/serialize-roles-types.js +2 -2
  250. package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +1 -1
  251. package/dist/src/functions/wirings/rpc/serialize-rpc-wrapper.js +1 -1
  252. package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +5 -5
  253. package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.js +3 -2
  254. package/dist/src/functions/wirings/scenarios/scenario-partition.d.ts +1 -1
  255. package/dist/src/functions/wirings/scenarios/scenario-schema-partition.d.ts +1 -1
  256. package/dist/src/functions/wirings/scenarios/serialize-feature-meta.d.ts +1 -1
  257. package/dist/src/functions/wirings/scenarios/serialize-scenario-meta.js +2 -2
  258. package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.js +1 -1
  259. package/dist/src/functions/wirings/scheduler/serialize-scheduler-meta.d.ts +1 -1
  260. package/dist/src/functions/wirings/scheduler/serialize-scheduler-types.js +2 -1
  261. package/dist/src/functions/wirings/scopes/pikku-command-scopes.js +1 -1
  262. package/dist/src/functions/wirings/scopes/serialize-scopes-types.d.ts +1 -1
  263. package/dist/src/functions/wirings/scopes/serialize-scopes-types.js +3 -3
  264. package/dist/src/functions/wirings/secrets/pikku-command-secrets.js +1 -1
  265. package/dist/src/functions/wirings/secrets/serialize-secrets-types.d.ts +1 -1
  266. package/dist/src/functions/wirings/secrets/serialize-secrets-types.js +4 -3
  267. package/dist/src/functions/wirings/triggers/serialize-trigger-meta.d.ts +1 -1
  268. package/dist/src/functions/wirings/triggers/serialize-trigger-meta.js +2 -2
  269. package/dist/src/functions/wirings/triggers/serialize-trigger-types.js +3 -2
  270. package/dist/src/functions/wirings/variables/pikku-command-variables.js +1 -1
  271. package/dist/src/functions/wirings/variables/serialize-variables-types.d.ts +1 -1
  272. package/dist/src/functions/wirings/variables/serialize-variables-types.js +3 -3
  273. package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +7 -13
  274. package/dist/src/functions/wirings/webhook/serialize-webhook.js +1 -1
  275. package/dist/src/functions/wirings/workflow/serialize-personas.d.ts +1 -1
  276. package/dist/src/functions/wirings/workflow/serialize-personas.js +4 -3
  277. package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.d.ts +1 -1
  278. package/dist/src/functions/wirings/workflow/serialize-workflow-bootstrap-map.d.ts +1 -1
  279. package/dist/src/functions/wirings/workflow/serialize-workflow-map.d.ts +2 -2
  280. package/dist/src/functions/wirings/workflow/serialize-workflow-map.js +1 -1
  281. package/dist/src/functions/wirings/workflow/serialize-workflow-meta.js +2 -2
  282. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +1 -1
  283. package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +6 -9
  284. package/dist/src/functions/workflows/all.workflow.js +6 -5
  285. package/dist/src/middleware/log-command-info-and-time.d.ts +1 -1
  286. package/dist/src/server/node-server-runner.js +5 -2
  287. package/dist/src/services/cli-logger.service.js +1 -1
  288. package/dist/src/utils/precise-coverage-map.d.ts +1 -1
  289. package/dist/src/utils/remove-legacy-scaffold-file.d.ts +14 -0
  290. package/dist/src/utils/remove-legacy-scaffold-file.js +28 -1
  291. package/dist/src/utils/resolve-personas.d.ts +3 -3
  292. package/dist/src/utils/resolve-personas.js +2 -2
  293. package/dist/src/utils/schema-diff.d.ts +22 -0
  294. package/dist/src/utils/schema-diff.js +190 -0
  295. package/dist/src/utils/serialize-schemas.d.ts +1 -1
  296. package/dist/src/utils/serialize-schemas.js +1 -1
  297. package/dist/src/utils/surface-diff.d.ts +35 -0
  298. package/dist/src/utils/surface-diff.js +183 -0
  299. package/dist/src/utils/surface.d.ts +51 -0
  300. package/dist/src/utils/surface.js +156 -0
  301. package/dist/tsconfig.tsbuildinfo +1 -1
  302. package/package.json +25 -17
  303. package/console-app/assets/architecture-TIHT7OUA-BtQ4ypaP.js +0 -1
  304. package/console-app/assets/channel-yWsB39zH.js +0 -1
  305. package/console-app/assets/chunk-VAUOI2AC-DbUlDq35.js +0 -1
  306. package/console-app/assets/chunk-XXDRQBXY-D0yYTMY0.js +0 -1
  307. package/console-app/assets/classDiagram-OUVF2IWQ-jBNBOKfR.js +0 -1
  308. package/console-app/assets/classDiagram-v2-EOCWNBFH-jBNBOKfR.js +0 -1
  309. package/console-app/assets/eventmodeling-45OFAUF4-BSTAXikh.js +0 -1
  310. package/console-app/assets/flowDiagram-23GEKE2U-zX29jtvN.js +0 -1
  311. package/console-app/assets/railroad-abnf-AHOZXSZD-D3lzFQzK.js +0 -1
  312. package/console-app/assets/railroad-ebnf-EBAXGLYW-DRp6_rsA.js +0 -1
  313. package/console-app/assets/railroad-peg-LSFZ7HO6-CuWNWp3P.js +0 -1
  314. package/console-app/assets/stateDiagram-v2-6OUMAXLB-C21qKRsf.js +0 -1
  315. package/console-app/assets/swimlanesDiagram-G3AALYLV-CCQS8jgU.js +0 -8
  316. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +0 -1
  317. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +0 -1
  318. package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.d.ts +0 -1
  319. package/dist/src/functions/wirings/ai-scorer/pikku-command-ai-scorer.d.ts +0 -1
  320. /package/dist/.pikku/schemas/schemas/{PikkuAIAgentOutput.schema.json → PikkuAgentOutput.schema.json} +0 -0
  321. /package/dist/.pikku/schemas/schemas/{PikkuAIScorerOutput.schema.json → PikkuAgentScorerOutput.schema.json} +0 -0
  322. /package/dist/src/functions/wirings/{ai-agent → agent}/pikku-command-public-agent.d.ts +0 -0
  323. /package/dist/src/functions/wirings/{ai-agent → agent}/pikku-command-public-agent.js +0 -0
  324. /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-agent-map.js +0 -0
  325. /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-model-aliases.d.ts +0 -0
  326. /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-model-aliases.js +0 -0
  327. /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-public-agent.d.ts +0 -0
  328. /package/dist/src/functions/wirings/{ai-scorer → agent-scorer}/serialize-scorer-names.js +0 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -95,9 +95,11 @@
95
95
  "scenarioRun": "scenarioRun",
96
96
  "scopesAudit": "scopesAudit",
97
97
  "scopesPrune": "scopesPrune",
98
+ "pikkuSemver": "pikkuSemver",
98
99
  "serve": "serve",
99
100
  "pikkuSkillsList": "pikkuSkillsList",
100
101
  "pikkuSkillsInstall": "pikkuSkillsInstall",
102
+ "pikkuUpdate": "pikkuUpdate",
101
103
  "validate": "validate",
102
104
  "pikkuVersionsCheck": "pikkuVersionsCheck",
103
105
  "pikkuVersionsInit": "pikkuVersionsInit",
@@ -107,10 +109,10 @@
107
109
  "pikkuNext": "pikkuNext",
108
110
  "pikkuTanStackStart": "pikkuTanStackStart",
109
111
  "pikkuWebSocketTyped": "pikkuWebSocketTyped",
110
- "pikkuAIAgentTypes": "pikkuAIAgentTypes",
111
- "pikkuAIAgent": "pikkuAIAgent",
112
+ "pikkuAgentScorer": "pikkuAgentScorer",
113
+ "pikkuAgentTypes": "pikkuAgentTypes",
114
+ "pikkuAgent": "pikkuAgent",
112
115
  "pikkuPublicAgent": "pikkuPublicAgent",
113
- "pikkuAIScorer": "pikkuAIScorer",
114
116
  "pikkuAuth": "pikkuAuth",
115
117
  "pikkuChannels": "pikkuChannels",
116
118
  "pikkuChannelTypes": "pikkuChannelTypes",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import '../function/pikku-functions-meta.gen.js';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export declare const empty: null;
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export const empty = null;
@@ -1,10 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
6
6
  */
7
- import { CoreScheduledTask } from '@pikku/core/scheduler';
7
+ import { CoreScheduledTask } from '@pikku/core/ecosystem/scheduler';
8
8
  import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
9
9
  /**
10
10
  * Type definition for scheduled tasks that run at specified intervals.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
- import { addSchema } from '@pikku/core/schema';
4
+ import { addSchema } from '@pikku/core/ecosystem/schema';
5
5
  import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
6
6
  addSchema('BinaryInput', BinaryInput);
7
7
  import * as DbAuditInput from './schemas/DbAuditInput.schema.json' with { type: 'json' };
@@ -144,10 +144,10 @@ import * as PersonaRunInput from './schemas/PersonaRunInput.schema.json' with {
144
144
  addSchema('PersonaRunInput', PersonaRunInput);
145
145
  import * as PersonaSyncInput from './schemas/PersonaSyncInput.schema.json' with { type: 'json' };
146
146
  addSchema('PersonaSyncInput', PersonaSyncInput);
147
- import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
148
- addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
149
- import * as PikkuAIScorerOutput from './schemas/PikkuAIScorerOutput.schema.json' with { type: 'json' };
150
- addSchema('PikkuAIScorerOutput', PikkuAIScorerOutput);
147
+ import * as PikkuAgentOutput from './schemas/PikkuAgentOutput.schema.json' with { type: 'json' };
148
+ addSchema('PikkuAgentOutput', PikkuAgentOutput);
149
+ import * as PikkuAgentScorerOutput from './schemas/PikkuAgentScorerOutput.schema.json' with { type: 'json' };
150
+ addSchema('PikkuAgentScorerOutput', PikkuAgentScorerOutput);
151
151
  import * as PikkuAuthInput from './schemas/PikkuAuthInput.schema.json' with { type: 'json' };
152
152
  addSchema('PikkuAuthInput', PikkuAuthInput);
153
153
  import * as PikkuCLIEntryOutput from './schemas/PikkuCLIEntryOutput.schema.json' with { type: 'json' };
@@ -258,6 +258,8 @@ import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' w
258
258
  addSchema('PikkuSchemasOutput', PikkuSchemasOutput);
259
259
  import * as PikkuScopesInput from './schemas/PikkuScopesInput.schema.json' with { type: 'json' };
260
260
  addSchema('PikkuScopesInput', PikkuScopesInput);
261
+ import * as PikkuSemverOutput from './schemas/PikkuSemverOutput.schema.json' with { type: 'json' };
262
+ addSchema('PikkuSemverOutput', PikkuSemverOutput);
261
263
  import * as PikkuSkillsInstallInput from './schemas/PikkuSkillsInstallInput.schema.json' with { type: 'json' };
262
264
  addSchema('PikkuSkillsInstallInput', PikkuSkillsInstallInput);
263
265
  import * as PikkuSkillsListInput from './schemas/PikkuSkillsListInput.schema.json' with { type: 'json' };
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{ "type": "object", "properties": { "mode": { "type": "string", "const": "emit" }, "surface": { "$ref": "#/definitions/Surface" }, "written": { "type": ["string", "null"] } }, "required": ["mode", "surface", "written"], "additionalProperties": false }, { "type": "object", "additionalProperties": false, "properties": { "schemaVersion": { "type": "number" }, "generatedAt": { "type": "string" }, "baseline": { "type": "string", "description": "The `--against` value, recorded so the artifact says what it is relative to." }, "verdict": { "$ref": "#/definitions/Verdict" }, "summary": { "type": "object", "properties": { "breaking": { "type": "number" }, "added": { "type": "number" }, "removed": { "type": "number" }, "modified": { "type": "number" } }, "required": ["breaking", "added", "removed", "modified"], "additionalProperties": false }, "changes": { "type": "array", "items": { "$ref": "#/definitions/SurfaceChange" } }, "mode": { "type": "string", "const": "compare" }, "written": { "type": "string" } }, "required": ["baseline", "changes", "generatedAt", "mode", "schemaVersion", "summary", "verdict", "written"] }], "definitions": { "Surface": { "type": "object", "properties": { "schemaVersion": { "type": "number" }, "generatedAt": { "type": "string" }, "functions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SurfaceFunction" }, "description": "Keyed by function id exactly as the meta records it, `@vN` included." }, "schemas": { "type": "object", "additionalProperties": {}, "description": "Only the schemas some function actually references." }, "wirings": { "type": "object", "properties": { "http": { "type": "object", "additionalProperties": {} }, "workflow": { "type": "object", "additionalProperties": {} }, "email": { "type": "object", "additionalProperties": {} }, "scheduler": { "type": "object", "additionalProperties": {} }, "queue": { "type": "object", "additionalProperties": {} }, "channel": { "type": "object", "additionalProperties": {} }, "trigger": { "type": "object", "additionalProperties": {} }, "mcp": { "type": "object", "additionalProperties": {} }, "agent": { "type": "object", "additionalProperties": {} }, "scorer": { "type": "object", "additionalProperties": {} } }, "additionalProperties": false }, "publishedVersions": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "number" } }, "description": "`functionKey → published version numbers`, lifted from `versions.pikku.json`. Published versions are immutable, so a version the manifest still records is still being served even when the source has moved on — that is what stops a `@v2` bump reading as a removal." } }, "required": ["schemaVersion", "generatedAt", "functions", "schemas", "wirings", "publishedVersions"], "additionalProperties": false }, "SurfaceFunction": { "type": "object", "properties": { "key": { "type": "string", "description": "Function id with any `@vN` suffix stripped." }, "version": { "type": "number" }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "contractHash": { "type": "string" } }, "required": ["key", "version", "inputSchemaName", "outputSchemaName"], "additionalProperties": false }, "Verdict": { "type": "string", "enum": ["major", "minor", "patch"], "description": "Turn two surfaces into the release verdict and the reasons behind it.\n\nThe three rules, in order: anything a client depended on that is gone or tightened is **major**; anything new or compatibly loosened is **minor**; a surface that did not move at all is **patch** — the release is internal work, which is the only thing left for it to be." }, "SurfaceChange": { "type": "object", "properties": { "kind": { "$ref": "#/definitions/ChangeKind" }, "id": { "type": "string" }, "status": { "$ref": "#/definitions/ChangeStatus" }, "breaking": { "type": "boolean" }, "reasons": { "type": "array", "items": { "type": "string" } } }, "required": ["kind", "id", "status", "breaking", "reasons"], "additionalProperties": false }, "ChangeKind": { "anyOf": [{ "type": "string", "const": "function" }, { "$ref": "#/definitions/WiringCategory" }] }, "WiringCategory": { "type": "string", "enum": ["http", "workflow", "email", "scheduler", "queue", "channel", "trigger", "mcp", "agent", "scorer"], "description": "Meta categories that expose a function to a client." }, "ChangeStatus": { "type": "string", "enum": ["added", "removed", "modified"] } } }
@@ -1,4 +1,5 @@
1
- import type { CorePersona, PersonaMeta, PersonasMeta } from '@pikku/core/persona';
1
+ import type { PersonaMeta, PersonasMeta } from '@pikku/core/persona';
2
+ import type { CorePersona } from '@pikku/core/ecosystem/persona';
2
3
  import type { SystemRoleName } from './pikku-roles.gen.js';
3
4
  /** Every declared persona. */
4
5
  export type PersonaId = never;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,10 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
6
6
  */
7
- import type { SystemRole } from '@pikku/core/role';
7
+ import type { SystemRole } from '@pikku/core/ecosystem/role';
8
8
  /**
9
9
  * Every role that ships with this application.
10
10
  *
@@ -1,4 +1,4 @@
1
- import { flattenSystemRoleDefinitions } from '@pikku/core/role';
1
+ import { flattenSystemRoleDefinitions } from '@pikku/core/ecosystem/role';
2
2
  import definitions from './pikku-roles-meta.gen.json' with { type: 'json' };
3
3
  /**
4
4
  * The declared role set, for a ScopeService to sync into its store.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
- export { defineScope } from '@pikku/core/scope';
5
- export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/scope';
6
- export { defineSystemRole } from '@pikku/core/role';
7
- export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitionsMeta } from '@pikku/core/role';
4
+ export { defineScope } from '@pikku/core/ecosystem/scope';
5
+ export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/ecosystem/scope';
6
+ export { defineSystemRole } from '@pikku/core/ecosystem/role';
7
+ export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitionsMeta } from '@pikku/core/ecosystem/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
- export { defineScope } from '@pikku/core/scope';
5
- export { defineSystemRole } from '@pikku/core/role';
4
+ export { defineScope } from '@pikku/core/ecosystem/scope';
5
+ export { defineSystemRole } from '@pikku/core/ecosystem/role';
@@ -1,10 +1,10 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
6
6
  */
7
- import type { FlatScope } from '@pikku/core/scope';
7
+ import type { FlatScope } from '@pikku/core/ecosystem/scope';
8
8
  /**
9
9
  * Every scope a function can require.
10
10
  *
@@ -1,4 +1,4 @@
1
- import { flattenScopeDefinitions } from '@pikku/core/scope';
1
+ import { flattenScopeDefinitions } from '@pikku/core/ecosystem/scope';
2
2
  import definitions from './pikku-scopes-meta.gen.json' with { type: 'json' };
3
3
  /**
4
4
  * The declared scope set, for a ScopeService to sync into its store.
@@ -1,5 +1,6 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
5
- export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
5
+ export type { SecretDefinitionsMeta } from '@pikku/core/secret';
6
+ export type { CoreSecret, SecretDefinitionMeta } from '@pikku/core/ecosystem/secret';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' };
@@ -1,11 +1,11 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
6
6
  */
7
- import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/trigger';
8
- import type { CoreNodeConfig } from '@pikku/core/node';
7
+ import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/ecosystem/trigger';
8
+ import type { CoreNodeConfig } from '@pikku/core/ecosystem/node';
9
9
  import type { SingletonServices } from '../../types/application-types.d.js';
10
10
  import type { StandardSchemaV1 } from '@standard-schema/spec';
11
11
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
5
- export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
5
+ export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/ecosystem/variable';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
- import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
4
+ import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/ecosystem/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
6
- import type { VariableDefinitionsMeta } from '@pikku/core/variable';
6
+ import type { VariableDefinitionsMeta } from '@pikku/core/ecosystem/variable';
7
7
  /**
8
8
  * Every variable declared in this package.
9
9
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
- import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
4
+ import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/ecosystem/services';
5
5
  import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' };
6
6
  /**
7
7
  * Every variable declared in this package.
@@ -100,9 +100,9 @@
100
100
  },
101
101
  "Bootstrap AI agent types": {
102
102
  "nodeId": "Bootstrap AI agent types",
103
- "rpcName": "pikkuAIAgentTypes",
103
+ "rpcName": "pikkuAgentTypes",
104
104
  "next": "Bootstrap Node types",
105
- "stepHash": "ccd99a28ffd6"
105
+ "stepHash": "e86763caa30e"
106
106
  },
107
107
  "Bootstrap Node types": {
108
108
  "nodeId": "Bootstrap Node types",
@@ -152,9 +152,9 @@
152
152
  },
153
153
  "AI agent types": {
154
154
  "nodeId": "AI agent types",
155
- "rpcName": "pikkuAIAgentTypes",
155
+ "rpcName": "pikkuAgentTypes",
156
156
  "next": "HTTP types",
157
- "stepHash": "a0bf0ea14360"
157
+ "stepHash": "33bbd2c269f7"
158
158
  },
159
159
  "HTTP types": {
160
160
  "nodeId": "HTTP types",
@@ -230,15 +230,15 @@
230
230
  },
231
231
  "AI agent": {
232
232
  "nodeId": "AI agent",
233
- "rpcName": "pikkuAIAgent",
233
+ "rpcName": "pikkuAgent",
234
234
  "next": "AI scorer",
235
- "stepHash": "b40cd11dc611"
235
+ "stepHash": "6e0bba2a9106"
236
236
  },
237
237
  "AI scorer": {
238
238
  "nodeId": "AI scorer",
239
- "rpcName": "pikkuAIScorer",
239
+ "rpcName": "pikkuAgentScorer",
240
240
  "next": "Public agent scaffold",
241
- "stepHash": "4671def89706"
241
+ "stepHash": "b7510ddf8368"
242
242
  },
243
243
  "Public agent scaffold": {
244
244
  "nodeId": "Public agent scaffold",
@@ -640,5 +640,5 @@
640
640
  "entryNodeIds": [
641
641
  "Bootstrap inspect"
642
642
  ],
643
- "graphHash": "dd727be4816c"
643
+ "graphHash": "95d5c83b8c0b"
644
644
  }
@@ -1,5 +1,6 @@
1
- import type { HttpPersonasConfig } from '@pikku/core/persona';
2
- import type { ScenarioPersona, ResolvedPersona } from '@pikku/core/services';
1
+ import type { HttpPersonasConfig } from '@pikku/core/ecosystem/persona';
2
+ import type { ScenarioPersona } from '@pikku/core/services';
3
+ import type { ResolvedPersona } from '@pikku/core/ecosystem/services';
3
4
  import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js';
4
5
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js';
5
6
  export declare const personaConfigs: {};
@@ -1,8 +1,8 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  /** Personas declared with definePersonas() */
5
- import { createHttpPersonas } from '@pikku/core/persona';
5
+ import { createHttpPersonas } from '@pikku/core/ecosystem/persona';
6
6
  export const personaConfigs = {};
7
7
  /**
8
8
  * The same personas as a list, widened to `ResolvedPersona`. Iterating
@@ -1,11 +1,11 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
- import { template } from '@pikku/core/workflow';
6
- import { type PikkuWorkflowGraphConfig, type PikkuWorkflowGraphResult } from '@pikku/core/workflow';
7
- import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow';
8
- import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
5
+ import { template } from '@pikku/core/ecosystem/workflow';
6
+ import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/ecosystem/workflow';
7
+ import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/ecosystem/workflow';
8
+ import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/ecosystem/scenario';
9
9
  export { WorkflowCancelledException };
10
10
  import type { PikkuFunctionSessionless, PikkuFunctionConfig, WiredServices } from '../function/pikku-function-types.gen.js';
11
11
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
@@ -37,7 +37,7 @@ import type { StandardSchemaV1 } from '@standard-schema/spec';
37
37
  import type { InferSchemaOutput, PikkuPermission, PikkuMiddleware, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js';
38
38
  import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
39
39
  import { PikkuError } from '@pikku/core/errors';
40
- import type { CorePermissionGroup } from '@pikku/core';
40
+ import type { CorePermissionGroup } from '@pikku/core/ecosystem/types';
41
41
  export type PikkuFunctionWorkflow<In = unknown, Out = never> = PikkuFunctionSessionless<In, Out, 'workflow'>;
42
42
  /**
43
43
  * `Ctx` types `scenario.context`, defaulting to the body's own output. A hook
@@ -1,9 +1,9 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
- import { template } from '@pikku/core/workflow';
6
- import { pikkuWorkflowGraph as corePikkuWorkflowGraph, } from '@pikku/core/workflow';
5
+ import { template } from '@pikku/core/ecosystem/workflow';
6
+ import { pikkuWorkflowGraph as corePikkuWorkflowGraph } from '@pikku/core/workflow';
7
7
  export { WorkflowCancelledException };
8
8
  export { template };
9
9
  export function pikkuWorkflowFunc(func) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import allWorkflowMeta from './meta/allWorkflow.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.104
2
+ * This file was generated by @pikku/cli@0.12.105
3
3
  */
4
4
  import { addWorkflow } from '@pikku/core/workflow';
5
5
  import './pikku-workflow-wirings-meta.gen.js';
@@ -11,8 +11,8 @@ async function checkForUpdate() {
11
11
  })
12
12
  if (!res.ok) return
13
13
  const { version: latest } = await res.json()
14
- if (latest !== '0.12.104') {
15
- process.stderr.write(`\n Update available 0.12.104 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
14
+ if (latest !== '0.12.105') {
15
+ process.stderr.write(`\n Update available 0.12.105 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
16
16
  }
17
17
  } catch {}
18
18
  }
@@ -29,6 +29,8 @@ import { scopesPrune } from './functions/commands/scopes-prune.js';
29
29
  import { rolesAudit } from './functions/commands/roles-audit.js';
30
30
  import { rolesPrune } from './functions/commands/roles-prune.js';
31
31
  import { pikkuAudit } from './functions/commands/audit.js';
32
+ import { pikkuSemver } from './functions/commands/semver.js';
33
+ import { renderSemver } from './functions/commands/semver-render.js';
32
34
  import { validate, renderValidate } from './functions/commands/validate.js';
33
35
  import { knowledgeValidate, renderKnowledgeValidate, } from './functions/commands/knowledge-validate.js';
34
36
  import { knowledgeIndex, renderKnowledgeIndex, } from './functions/commands/knowledge-index.js';
@@ -39,6 +41,8 @@ import { pikkuVersionsInit } from './functions/commands/versions-init.js';
39
41
  import { pikkuEmailsInit } from './functions/commands/emails-init.js';
40
42
  import { pikkuVersionsCheck } from './functions/commands/versions-check.js';
41
43
  import { pikkuVersionsUpdate } from './functions/commands/versions-update.js';
44
+ import { pikkuUpdate } from './functions/commands/update.js';
45
+ import { renderUpdate } from './functions/commands/update-render.js';
42
46
  import { pikkuNewFunction } from './functions/commands/new-function.js';
43
47
  import { pikkuNewWiring } from './functions/commands/new-wiring.js';
44
48
  import { pikkuNewMiddleware } from './functions/commands/new-middleware.js';
@@ -205,6 +209,52 @@ wireCLI({
205
209
  },
206
210
  },
207
211
  }),
212
+ update: pikkuCLICommand({
213
+ func: pikkuUpdate,
214
+ render: renderUpdate,
215
+ description: 'Report which @pikku/* dependencies can be updated, and the peers those updates need. Reports only until --update is passed',
216
+ options: {
217
+ update: {
218
+ description: 'Write the new ranges into every package.json covered by the run. Without it, update only reports',
219
+ default: false,
220
+ },
221
+ updatePeers: {
222
+ description: "Also write the ranges unsatisfied peers require (e.g. bumping 'ai' for @pikku/ai-vercel). Implies --update, and can cross a major version of a third-party package",
223
+ default: false,
224
+ },
225
+ install: {
226
+ description: 'After writing, run an install with the package manager the lockfile names. --no-install leaves node_modules alone',
227
+ default: true,
228
+ },
229
+ tag: {
230
+ description: "Dist-tag to update to (default: 'latest')",
231
+ default: 'latest',
232
+ },
233
+ registry: {
234
+ description: 'Registry to read versions from (default: npm_config_registry, else https://registry.npmjs.org)',
235
+ },
236
+ },
237
+ }),
238
+ semver: pikkuCLICommand({
239
+ func: pikkuSemver,
240
+ render: renderSemver,
241
+ description: "Derive the release semver by comparing this build's surface against a deployed one; writes .pikku/changes.gen.json",
242
+ options: {
243
+ against: {
244
+ description: 'Baseline to compare against: a .pikku directory, a snapshot file, or a snapshot URL',
245
+ },
246
+ emit: {
247
+ description: "Produce this build's surface snapshot instead of comparing — publish it to serve as a baseline. Pair with --out; without it the snapshot goes to stdout after the CLI banner",
248
+ default: false,
249
+ },
250
+ out: {
251
+ description: 'Where to write the output (defaults to .pikku/changes.gen.json; with --emit, stdout)',
252
+ },
253
+ failOn: {
254
+ description: 'Exit non-zero when the verdict is at or above this level: major, minor or patch',
255
+ },
256
+ },
257
+ }),
208
258
  watch: pikkuCLICommand({
209
259
  func: watch,
210
260
  description: 'Watch for file changes and regenerate automatically',
@@ -464,10 +514,6 @@ wireCLI({
464
514
  description: 'Reset/snapshot server coverage per scenario (target must run with --coverage); writes coverage/scenario-coverage.json',
465
515
  default: false,
466
516
  },
467
- browser: {
468
- description: 'Shorthand for --run default when false: takes the server-side path instead of driving a browser',
469
- default: true,
470
- },
471
517
  run: {
472
518
  description: "Which surface every actor drives the system through: 'browser' (as a human), 'cli' (over the websocket), or 'default' (server-side, the fast path)",
473
519
  default: 'default',
@@ -146,8 +146,8 @@ export function analyzeDeployment(state, options) {
146
146
  const subAgentUnitNames = subAgentNames.map((sa) => `agent-${toSafeKebab(sa)}`);
147
147
  // Agent needs AI services
148
148
  const agentServices = [
149
- { capability: 'ai-model', sourceServiceName: 'aiAgentRunner' },
150
- { capability: 'ai-storage', sourceServiceName: 'aiStorage' },
149
+ { capability: 'ai-model', sourceServiceName: 'agentRunner' },
150
+ { capability: 'ai-storage', sourceServiceName: 'agentStorage' },
151
151
  ];
152
152
  // Concrete routes for this agent via catch-all
153
153
  const agentRoutes = [
@@ -185,7 +185,7 @@ export function analyzeDeployment(state, options) {
185
185
  agents.push({
186
186
  // The registry KEY (export name, e.g. `kanbanAgent`), NOT the
187
187
  // human-facing `agentMeta.name` (e.g. `kanban-agent`). Routes,
188
- // `addAIAgent(...)`, and the inspector-state name filter all key off
188
+ // `addAgent(...)`, and the inspector-state name filter all key off
189
189
  // this identifier — per-unit codegen passes it to `--names`, and the
190
190
  // filter matches it against the `agentsMeta` key. Using the human name
191
191
  // here makes the filter prune the agent, so its registration never gets
@@ -558,9 +558,9 @@ const SERVICE_CAPABILITY_MAP = {
558
558
  content: 'object-storage',
559
559
  storage: 'object-storage',
560
560
  queueService: 'queue',
561
- aiAgentRunner: 'ai-model',
561
+ agentRunner: 'ai-model',
562
562
  ai: 'ai-model',
563
- aiStorage: 'ai-storage',
563
+ agentStorage: 'ai-storage',
564
564
  workflowService: 'workflow-state',
565
565
  workflow: 'workflow-state',
566
566
  credentialService: 'credential-store',
@@ -31,12 +31,12 @@ const SERVICE_GEN_FILE_MAP = {
31
31
  * keeps their (often large) trees out of the bundle.
32
32
  *
33
33
  * The AI SDKs (@pikku/ai-vercel + @ai-sdk/* + `ai`, ~3MB) are only constructed
34
- * when `aiAgentRunner` is wired (agent units). Every non-agent unit stubs them.
34
+ * when `agentRunner` is wired (agent units). Every non-agent unit stubs them.
35
35
  * The shared services factory must guard the runner construction behind a
36
36
  * defined-check on the dynamic import so a stubbed unit simply skips it.
37
37
  */
38
38
  const SERVICE_MODULE_MAP = {
39
- aiAgentRunner: [/^@pikku\/ai-vercel/, /^@ai-sdk\//, /^ai$/],
39
+ agentRunner: [/^@pikku\/ai-vercel/, /^@ai-sdk\//, /^ai$/],
40
40
  };
41
41
  /**
42
42
  * Read the per-unit pikku-services.gen.ts and return the set of gen file