@pikku/cli 0.12.102 → 0.12.103

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 (191) hide show
  1. package/console-app/assets/{abnfDiagram-VRR7QNED-BneJZPuq.js → abnfDiagram-VRR7QNED-BLi9JHGg.js} +1 -1
  2. package/console-app/assets/{arc-B6oXAx95.js → arc-B3b5uYlL.js} +1 -1
  3. package/console-app/assets/architecture-TIHT7OUA-BYeDayHv.js +1 -0
  4. package/console-app/assets/{architectureDiagram-ZJ3FMSHR-Dn6JKcGL.js → architectureDiagram-ZJ3FMSHR-Dkd8kxIa.js} +1 -1
  5. package/console-app/assets/{blockDiagram-677ZJIJ3-CQtakjN5.js → blockDiagram-677ZJIJ3-DnH0nNlb.js} +1 -1
  6. package/console-app/assets/{c4Diagram-LMCZKHZV-DRBlz-sO.js → c4Diagram-LMCZKHZV-BlelCS5i.js} +1 -1
  7. package/console-app/assets/channel-CTa6nggO.js +1 -0
  8. package/console-app/assets/{chunk-32BRIVSS-DIionvWe.js → chunk-32BRIVSS-D7tMgtT1.js} +1 -1
  9. package/console-app/assets/{chunk-52WLFC77-DwrMMV53.js → chunk-52WLFC77-CRepS35y.js} +1 -1
  10. package/console-app/assets/{chunk-C7G6YPKG-C7_SHoee.js → chunk-C7G6YPKG-CUldlJz4.js} +1 -1
  11. package/console-app/assets/{chunk-EX3LRPZG-Brqi3de0.js → chunk-EX3LRPZG-DODbrqEj.js} +1 -1
  12. package/console-app/assets/{chunk-FWX5IMBZ-CGXYdLJv.js → chunk-FWX5IMBZ-nZa59wGD.js} +2 -2
  13. package/console-app/assets/{chunk-HOUHSVGY-C-mHnXIa.js → chunk-HOUHSVGY-BaawVZCa.js} +1 -1
  14. package/console-app/assets/{chunk-ICXQ74PX-x3psPzuY.js → chunk-ICXQ74PX-C86LrIRs.js} +1 -1
  15. package/console-app/assets/{chunk-MOJQB5TN-2uXUItkq.js → chunk-MOJQB5TN-ovUDQlyW.js} +1 -1
  16. package/console-app/assets/{chunk-OGEWGWER-eXRvfFkE.js → chunk-OGEWGWER-ByZKAcGu.js} +1 -1
  17. package/console-app/assets/{chunk-PUDLZKDR-CyN33Wwe.js → chunk-PUDLZKDR-DdeJN3wJ.js} +1 -1
  18. package/console-app/assets/{chunk-Q4XR5HBZ-uyzxeIyh.js → chunk-Q4XR5HBZ-Blp5W9-b.js} +1 -1
  19. package/console-app/assets/{chunk-RYQCIY6F-CB9wv1YB.js → chunk-RYQCIY6F-DehwjyPp.js} +1 -1
  20. package/console-app/assets/{chunk-V7JOEXUC-DLMzjIkb.js → chunk-V7JOEXUC-Ca1xeVdo.js} +1 -1
  21. package/console-app/assets/chunk-VAUOI2AC-BCngaLxk.js +1 -0
  22. package/console-app/assets/{chunk-VR4S4FIN-DtBvdHYI.js → chunk-VR4S4FIN-Cj7ZlsLr.js} +1 -1
  23. package/console-app/assets/{chunk-WYO6CB5R-B_EVxwHf.js → chunk-WYO6CB5R-CsdBQ1HS.js} +1 -1
  24. package/console-app/assets/chunk-XXDRQBXY-CGIlOoBU.js +1 -0
  25. package/console-app/assets/{chunk-ZGVPDNZ5-CGfMGxHR.js → chunk-ZGVPDNZ5-DMnFdLEO.js} +1 -1
  26. package/console-app/assets/classDiagram-OUVF2IWQ-Bwt1ZVOR.js +1 -0
  27. package/console-app/assets/classDiagram-v2-EOCWNBFH-Bwt1ZVOR.js +1 -0
  28. package/console-app/assets/{cose-bilkent-JH36ORCC-B_3kCkWC.js → cose-bilkent-JH36ORCC-CiYBhiBv.js} +1 -1
  29. package/console-app/assets/{cynefin-VYW2F7L2-Buqf60VA.js → cynefin-VYW2F7L2-BXuNC8qm.js} +1 -1
  30. package/console-app/assets/{cynefinDiagram-TSTJHNR4-DOjw2x6X.js → cynefinDiagram-TSTJHNR4-Ck53b-Nr.js} +1 -1
  31. package/console-app/assets/{dagre-VKFMJZFB-CTZTYT0b.js → dagre-VKFMJZFB-C9hZCnOv.js} +1 -1
  32. package/console-app/assets/{diagram-FQU43EPY-BZh4LC_G.js → diagram-FQU43EPY-DuEKSLPE.js} +1 -1
  33. package/console-app/assets/{diagram-G47NLZAW-DDHD69gC.js → diagram-G47NLZAW-B_yO-zKt.js} +1 -1
  34. package/console-app/assets/{diagram-NH7WQ7WH-YnfI_N0A.js → diagram-NH7WQ7WH-CtKFjoB4.js} +1 -1
  35. package/console-app/assets/{diagram-OA4YK3LP-ByfLxp7x.js → diagram-OA4YK3LP-T9eIYXYs.js} +1 -1
  36. package/console-app/assets/{diagram-WEI45ONY-CghNIRYp.js → diagram-WEI45ONY-BTgu-I69.js} +1 -1
  37. package/console-app/assets/{dist-DCLZxlZv.js → dist-DSVj7qxi.js} +1 -1
  38. package/console-app/assets/{ebnfDiagram-CCIWWBDH-D5_G_ZqU.js → ebnfDiagram-CCIWWBDH-BdyNRX2k.js} +1 -1
  39. package/console-app/assets/{erDiagram-Q63AITRT-B5ZtoDJs.js → erDiagram-Q63AITRT-B0cr0nxe.js} +1 -1
  40. package/console-app/assets/eventmodeling-45OFAUF4-BeHdsPzc.js +1 -0
  41. package/console-app/assets/flowDiagram-23GEKE2U-6N6mIkfB.js +1 -0
  42. package/console-app/assets/{ganttDiagram-NO4QXBWP-R-TggPMB.js → ganttDiagram-NO4QXBWP-Cr1R_nGh.js} +1 -1
  43. package/console-app/assets/{gitGraph-TEB2WS4Q-Cjhl-pwb.js → gitGraph-TEB2WS4Q-zcmQoWd4.js} +1 -1
  44. package/console-app/assets/{gitGraphDiagram-IHSO6WYX-DnQe5wWr.js → gitGraphDiagram-IHSO6WYX-CHB9Fnch.js} +1 -1
  45. package/console-app/assets/{index-BZTTf18Y.js → index-BbIUXgNl.js} +144 -144
  46. package/console-app/assets/{index-r763CZB4.css → index-C9U-Zyvx.css} +1 -1
  47. package/console-app/assets/{info-DKCQHKI2-DlSWT4UP.js → info-DKCQHKI2-BGPZGp_E.js} +1 -1
  48. package/console-app/assets/{infoDiagram-FWYZ7A6U-xqpfzGnj.js → infoDiagram-FWYZ7A6U-Br_p6SR_.js} +1 -1
  49. package/console-app/assets/{ishikawaDiagram-FXEZZL3T-M_pUeGWs.js → ishikawaDiagram-FXEZZL3T-Ma2d4IuN.js} +1 -1
  50. package/console-app/assets/{journeyDiagram-5HDEW3XC-Dm6FR2DD.js → journeyDiagram-5HDEW3XC-LdCblEX2.js} +1 -1
  51. package/console-app/assets/{kanban-definition-HUTT4EX6-CbhkDdQH.js → kanban-definition-HUTT4EX6-CRWetzV4.js} +1 -1
  52. package/console-app/assets/{line-C98Z2IVv.js → line-DrceqMYY.js} +1 -1
  53. package/console-app/assets/{linear-fYIkDCbB.js → linear-acWbtwAj.js} +1 -1
  54. package/console-app/assets/{mermaid-parser.core-Dkioi2z2.js → mermaid-parser.core-n773Jf0G.js} +3 -3
  55. package/console-app/assets/{mermaid.core-CeJcbw8_.js → mermaid.core-DyTRkSqH.js} +3 -3
  56. package/console-app/assets/{mindmap-definition-LN4V7U3C-DDitGESW.js → mindmap-definition-LN4V7U3C-CBU-ehFU.js} +1 -1
  57. package/console-app/assets/{packet-7NZHBO7P-DWZKJ9Us.js → packet-7NZHBO7P-DL_fgdX1.js} +1 -1
  58. package/console-app/assets/{pegDiagram-2B236MQR-CZGjPLXH.js → pegDiagram-2B236MQR-CrFaAHHj.js} +1 -1
  59. package/console-app/assets/{pie-RZYD4A2V-DT4-E-uE.js → pie-RZYD4A2V-STtzW8Tz.js} +1 -1
  60. package/console-app/assets/{pieDiagram-ENE6RG2P-bgr82Jyt.js → pieDiagram-ENE6RG2P-DsUOr1Ud.js} +1 -1
  61. package/console-app/assets/{quadrantDiagram-ABIIQ3AL-Dcw3uNG0.js → quadrantDiagram-ABIIQ3AL-DmuSe_qW.js} +1 -1
  62. package/console-app/assets/{radar-I7S5WNFK-CFAbRVFk.js → radar-I7S5WNFK-L8w2lEOb.js} +1 -1
  63. package/console-app/assets/{railroad-3IZDKUUU-CjkCoEjH.js → railroad-3IZDKUUU-CxqlE5vc.js} +1 -1
  64. package/console-app/assets/railroad-abnf-AHOZXSZD-CkJOR_Em.js +1 -0
  65. package/console-app/assets/railroad-ebnf-EBAXGLYW-BH_pRGgm.js +1 -0
  66. package/console-app/assets/railroad-peg-LSFZ7HO6-B50bKcii.js +1 -0
  67. package/console-app/assets/{railroadDiagram-RFXS5EU6-BUoL0dsw.js → railroadDiagram-RFXS5EU6-CJ8Lpbeo.js} +1 -1
  68. package/console-app/assets/{requirementDiagram-TGXJPOKE-C27qMKlr.js → requirementDiagram-TGXJPOKE-8OXQXUud.js} +1 -1
  69. package/console-app/assets/{sankeyDiagram-HTMAVEWB-BYEhrrY0.js → sankeyDiagram-HTMAVEWB-Bezd2CqZ.js} +1 -1
  70. package/console-app/assets/{sequenceDiagram-DBY2YBRQ-BCuL4Pl6.js → sequenceDiagram-DBY2YBRQ-DHb5js3D.js} +1 -1
  71. package/console-app/assets/{src-jNbD6Nj3.js → src-DfFamOl-.js} +1 -1
  72. package/console-app/assets/{stateDiagram-2N3HPSRC-C8Ywa3Ah.js → stateDiagram-2N3HPSRC-UpyJm2mi.js} +1 -1
  73. package/console-app/assets/stateDiagram-v2-6OUMAXLB-C6gAfg82.js +1 -0
  74. package/console-app/assets/{swimlanes-5IMT3BWC-C12iYfdp.js → swimlanes-5IMT3BWC-yUrV5f4O.js} +1 -1
  75. package/console-app/assets/swimlanesDiagram-G3AALYLV-Ch2_j5W5.js +8 -0
  76. package/console-app/assets/{timeline-definition-FHXFAJF6-BFQotHp7.js → timeline-definition-FHXFAJF6-B6w-rZeZ.js} +1 -1
  77. package/console-app/assets/{treeView-QDETBFTQ-CGbwDLTd.js → treeView-QDETBFTQ-0k2QpnXc.js} +1 -1
  78. package/console-app/assets/{treemap-6X3UGDF4-DxSGskiF.js → treemap-6X3UGDF4-ByCuDcGA.js} +1 -1
  79. package/console-app/assets/{vennDiagram-L72KCM5P-D4hlUYc9.js → vennDiagram-L72KCM5P-BH4374lw.js} +1 -1
  80. package/console-app/assets/{wardley-OPB4EBWU-XlXl32Vn.js → wardley-OPB4EBWU-DNVwuJz6.js} +1 -1
  81. package/console-app/assets/{wardleyDiagram-EHGQE667-ttCeFzYx.js → wardleyDiagram-EHGQE667-EXnQ6lkx.js} +1 -1
  82. package/console-app/assets/{xychartDiagram-FW5EYKEG-BMG4kbfv.js → xychartDiagram-FW5EYKEG-rFh-UdgH.js} +1 -1
  83. package/console-app/index.html +10 -3
  84. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  85. package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
  86. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  87. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  88. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  89. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  90. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  91. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  92. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  93. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  94. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  95. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  96. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  97. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  98. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  99. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  100. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  101. package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
  102. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  103. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  104. package/dist/.pikku/function/pikku-functions-meta.gen.json +1 -1
  105. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  106. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  107. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  108. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  109. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  110. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  111. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  112. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  113. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  114. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  115. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  116. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  117. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  118. package/dist/.pikku/pikku-types.gen.js +1 -1
  119. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  120. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  121. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  122. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  123. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  124. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  125. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  126. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  127. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  128. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  129. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  130. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  131. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  132. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  133. package/dist/.pikku/schemas/register.gen.js +1 -1
  134. package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
  135. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
  136. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  137. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  138. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  139. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  140. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  141. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  142. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  143. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  144. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  145. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  146. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  147. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  148. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  149. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +2 -1
  150. package/dist/.pikku/workflow/pikku-personas.gen.js +1 -1
  151. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +3 -2
  152. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  153. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  154. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  155. package/dist/bin/pikku-bin.mjs +2 -2
  156. package/dist/src/deploy/analyzer/analyzer.js +23 -0
  157. package/dist/src/deploy/analyzer/manifest.d.ts +19 -0
  158. package/dist/src/fabric/functions/validate.function.js +2 -0
  159. package/dist/src/functions/commands/scenario-browser.d.ts +1 -1
  160. package/dist/src/functions/commands/scenario-formatter.d.ts +1 -1
  161. package/dist/src/functions/commands/scenario-ladder.d.ts +1 -1
  162. package/dist/src/functions/commands/scenario-ladder.js +1 -1
  163. package/dist/src/functions/commands/scenario-plan.d.ts +2 -1
  164. package/dist/src/functions/commands/scenario-plan.js +1 -1
  165. package/dist/src/functions/commands/scenario.d.ts +1 -1
  166. package/dist/src/functions/commands/scenario.js +2 -2
  167. package/dist/src/functions/surface/collect-surface.d.ts +14 -0
  168. package/dist/src/functions/surface/collect-surface.js +215 -0
  169. package/dist/src/functions/validate/type-identity-checks.d.ts +25 -0
  170. package/dist/src/functions/validate/type-identity-checks.js +218 -0
  171. package/dist/src/functions/validate/validate-registry.js +11 -0
  172. package/dist/src/functions/wirings/scenarios/serialize-feature-meta.d.ts +1 -1
  173. package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.js +6 -5
  174. package/dist/src/functions/wirings/workflow/serialize-personas.js +2 -5
  175. package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +2 -1
  176. package/dist/src/functions/workflows/all.workflow.js +5 -0
  177. package/dist/tsconfig.tsbuildinfo +1 -1
  178. package/package.json +8 -8
  179. package/console-app/assets/architecture-TIHT7OUA-BIpQbDwm.js +0 -1
  180. package/console-app/assets/channel-D9eZ2wja.js +0 -1
  181. package/console-app/assets/chunk-VAUOI2AC--YVrsYCZ.js +0 -1
  182. package/console-app/assets/chunk-XXDRQBXY-By-5aH9h.js +0 -1
  183. package/console-app/assets/classDiagram-OUVF2IWQ-Bg6U871E.js +0 -1
  184. package/console-app/assets/classDiagram-v2-EOCWNBFH-Bg6U871E.js +0 -1
  185. package/console-app/assets/eventmodeling-45OFAUF4-eU2Q2DYK.js +0 -1
  186. package/console-app/assets/flowDiagram-23GEKE2U-CtRJ8nYJ.js +0 -1
  187. package/console-app/assets/railroad-abnf-AHOZXSZD-BM21cj3I.js +0 -1
  188. package/console-app/assets/railroad-ebnf-EBAXGLYW-CDjo5TUI.js +0 -1
  189. package/console-app/assets/railroad-peg-LSFZ7HO6-CiKQmfgW.js +0 -1
  190. package/console-app/assets/stateDiagram-v2-6OUMAXLB-BIGwMDyj.js +0 -1
  191. package/console-app/assets/swimlanesDiagram-G3AALYLV-BsoUfqN-.js +0 -8
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/ecosystem';
5
5
  import metaData from './pikku-queue-workers-wirings-meta.gen.json' with { type: 'json' };
@@ -1,4 +1,4 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.102
3
+ * This file was generated by @pikku/cli@0.12.103
4
4
  */
@@ -1,5 +1,5 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.102
3
+ * This file was generated by @pikku/cli@0.12.103
4
4
  */
5
5
  /* The files with an addQueueWorkers function call */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
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' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export {};
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export const empty = null;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/scope';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
5
5
  export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
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,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
5
5
  export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' };
@@ -1,4 +1,5 @@
1
- import type { HttpPersonasConfig, ScenarioPersona, ResolvedPersona } from '@pikku/core/services';
1
+ import type { HttpPersonasConfig } from '@pikku/core/persona';
2
+ import type { ScenarioPersona, ResolvedPersona } from '@pikku/core/services';
2
3
  import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js';
3
4
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js';
4
5
  export declare const personaConfigs: {};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  /** Personas declared with definePersonas() */
5
5
  import { createHttpPersonas } from '@pikku/core/persona';
@@ -1,10 +1,11 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
6
6
  import { type PikkuWorkflowGraphConfig, type PikkuWorkflowGraphResult } from '@pikku/core/workflow';
7
- import type { PikkuWorkflowWire, PikkuScenarioWire, WorkflowStepOptions, ScenarioStepOptions } from '@pikku/core/workflow';
7
+ import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow';
8
+ import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
8
9
  export { WorkflowCancelledException };
9
10
  import type { PikkuFunctionSessionless, PikkuFunctionConfig, WiredServices } from '../function/pikku-function-types.gen.js';
10
11
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { template } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102
2
+ * This file was generated by @pikku/cli@0.12.103
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.102') {
15
- process.stderr.write(`\n Update available 0.12.102 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
14
+ if (latest !== '0.12.103') {
15
+ process.stderr.write(`\n Update available 0.12.103 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
16
16
  }
17
17
  } catch {}
18
18
  }
@@ -372,6 +372,11 @@ export function analyzeDeployment(state, options) {
372
372
  }));
373
373
  const unscopedSecretAddons = [];
374
374
  const unscopedCredentialAddons = [];
375
+ const grantedSecretAddons = [];
376
+ const grantedCredentialAddons = [];
377
+ // An override's key is a grant too: scoping is checked before the rename, so
378
+ // the key is a name the addon may read that it never declared.
379
+ const grantedNames = (grants, overrides) => [...new Set([...(grants ?? []), ...Object.keys(overrides ?? {})])].sort();
375
380
  for (const [namespace, addon] of state.rpc?.wireAddonDeclarations ?? []) {
376
381
  if (addon.globalSecrets) {
377
382
  unscopedSecretAddons.push({
@@ -380,6 +385,12 @@ export function analyzeDeployment(state, options) {
380
385
  reason: addon.globalSecrets,
381
386
  });
382
387
  }
388
+ else {
389
+ const granted = grantedNames(addon.secretGrants, addon.secretOverrides);
390
+ if (granted.length > 0) {
391
+ grantedSecretAddons.push({ namespace, package: addon.package, granted });
392
+ }
393
+ }
383
394
  if (addon.globalCredentials) {
384
395
  unscopedCredentialAddons.push({
385
396
  namespace,
@@ -387,6 +398,16 @@ export function analyzeDeployment(state, options) {
387
398
  reason: addon.globalCredentials,
388
399
  });
389
400
  }
401
+ else {
402
+ const granted = grantedNames(addon.credentialGrants, addon.credentialOverrides);
403
+ if (granted.length > 0) {
404
+ grantedCredentialAddons.push({
405
+ namespace,
406
+ package: addon.package,
407
+ granted,
408
+ });
409
+ }
410
+ }
390
411
  }
391
412
  const byNamespace = (a, b) => a.namespace.localeCompare(b.namespace);
392
413
  const variables = state.variables.definitions.map((v) => ({
@@ -408,6 +429,8 @@ export function analyzeDeployment(state, options) {
408
429
  unresolvedSecretReads: unresolvedSecretReads.sort(),
409
430
  unscopedSecretAddons: unscopedSecretAddons.sort(byNamespace),
410
431
  unscopedCredentialAddons: unscopedCredentialAddons.sort(byNamespace),
432
+ grantedSecretAddons: grantedSecretAddons.sort(byNamespace),
433
+ grantedCredentialAddons: grantedCredentialAddons.sort(byNamespace),
411
434
  variables,
412
435
  };
413
436
  }
@@ -115,6 +115,16 @@ export interface UnscopedAddon {
115
115
  /** The app's stated reason, from `wireAddon({ globalSecrets | globalCredentials })`. */
116
116
  reason: string;
117
117
  }
118
+ /** A `wireAddon` instance the app lent named secrets or credentials it never declared. */
119
+ export interface GrantedAddon {
120
+ namespace: string;
121
+ package: string;
122
+ /**
123
+ * The names the addon may now read, as the addon reads them — grants and
124
+ * override keys alike, since scoping is checked before an override renames.
125
+ */
126
+ granted: string[];
127
+ }
118
128
  export interface VariableDeclaration {
119
129
  variableId: string;
120
130
  displayName: string;
@@ -147,5 +157,14 @@ export interface DeploymentManifest {
147
157
  * only the credentials it declared, and none can enumerate the app's users.
148
158
  */
149
159
  unscopedCredentialAddons: UnscopedAddon[];
160
+ /**
161
+ * Addon instances lent named secrets on top of the ones they declared. The
162
+ * other half of the same waiver as `unscopedSecretAddons` — narrower, because
163
+ * the app named the set — so between them a deployment sees every secret an
164
+ * addon can reach that it did not declare for itself.
165
+ */
166
+ grantedSecretAddons: GrantedAddon[];
167
+ /** Addon instances lent named credentials on top of the ones they declared. */
168
+ grantedCredentialAddons: GrantedAddon[];
150
169
  variables: VariableDeclaration[];
151
170
  }
@@ -7,6 +7,7 @@ import { pikkuSessionlessFunc } from '../../../.pikku/pikku-types.gen.js';
7
7
  import { added, changed, removed, dim } from '../lib/output.js';
8
8
  import { typeCheckFrontends } from '../lib/frontend-typecheck.js';
9
9
  import { readJsonSafe, readTextSafe, runSharedProjectChecks, } from '../../functions/validate/shared-checks.js';
10
+ import { runTypeIdentityChecks } from '../../functions/validate/type-identity-checks.js';
10
11
  const FindingSchema = z.object({
11
12
  id: z.string(),
12
13
  severity: z.enum(['error', 'warn', 'info']),
@@ -318,6 +319,7 @@ export async function runValidate(startDir = process.cwd(), opts = {}) {
318
319
  }
319
320
  }
320
321
  }
322
+ findings.push(...(await runTypeIdentityChecks(root)));
321
323
  // ── scaffold-implied dependencies ──────────────────────────────────────
322
324
  // `scaffold.console` makes codegen import
323
325
  // `@pikku/addon-console/.pikku/pikku-bootstrap.gen.js` from the generated
@@ -7,7 +7,7 @@
7
7
  * making the driver's optional isolation and diagnostics safe to call
8
8
  * unconditionally.
9
9
  */
10
- import type { ScenarioBrowserFailure, ScenarioBrowserProvider } from '@pikku/core/workflow';
10
+ import type { ScenarioBrowserFailure, ScenarioBrowserProvider } from '@pikku/core/scenario';
11
11
  import type { ResolvedPersona } from '@pikku/core/services';
12
12
  /** The default driver, used when a project names no other. */
13
13
  export declare const DEFAULT_BROWSER_DRIVER = "@pikku/playwright";
@@ -7,7 +7,7 @@
7
7
  * second formatter (JSON, JUnit) a matter of writing one function rather than
8
8
  * unpicking the runner.
9
9
  */
10
- import type { ScenarioBrowserFailure } from '@pikku/core/workflow';
10
+ import type { ScenarioBrowserFailure } from '@pikku/core/scenario';
11
11
  /** The longest gherkin keyword ("Given"), so sentences line up under each other. */
12
12
  declare const KEYWORD_WIDTH = 5;
13
13
  /** One step of a run, already joined to the prose that declared it. */
@@ -1,4 +1,4 @@
1
- import type { ScenarioStepPhase, ScenarioSurface } from '@pikku/core/workflow';
1
+ import type { ScenarioStepPhase, ScenarioSurface } from '@pikku/core/scenario';
2
2
  import type { WorkflowStepMeta } from '@pikku/core/workflow/types';
3
3
  import type { FunctionsMeta } from '@pikku/core';
4
4
  import type { ScenarioFailureDetail, ScenarioStepRow } from './scenario-formatter.js';
@@ -8,7 +8,7 @@
8
8
  * belongs to `scenario-formatter.ts`; this module only decides what each step
9
9
  * is called.
10
10
  */
11
- import { composeStepProse } from '@pikku/core/workflow';
11
+ import { composeStepProse } from '@pikku/core/scenario';
12
12
  import { KEYWORD_WIDTH } from './scenario-formatter.js';
13
13
  /**
14
14
  * Walk a workflow's steps — including the ones nested inside branches, fanouts
@@ -1,4 +1,5 @@
1
- import type { CoreFeature, CoreWorkflow } from '@pikku/core/workflow';
1
+ import type { CoreWorkflow } from '@pikku/core/workflow';
2
+ import type { CoreFeature } from '@pikku/core/scenario';
2
3
  /** One scenario run: a scenario name and, for a feature's paired entry, its input. */
3
4
  export type ScenarioPlanEntry = {
4
5
  scenarioName: string;
@@ -1,4 +1,4 @@
1
- import { resolveFeatureScenarios } from '@pikku/core/workflow';
1
+ import { resolveFeatureScenarios } from '@pikku/core/scenario';
2
2
  /**
3
3
  * Turn the registered scenarios and features into an ordered list of run units.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { ScenarioSurface } from '@pikku/core/workflow';
1
+ import type { ScenarioSurface } from '@pikku/core/scenario';
2
2
  export declare const scenarioList: import("#pikku").PikkuFunctionConfig<{}, void, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{}, void, "rpc" | "session", import("#pikku").WiredServices, unknown> | import("#pikku").PikkuFunction<{}, void, "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>;
3
3
  export declare const scenarioRun: import("#pikku").PikkuFunctionConfig<{
4
4
  environment: string;
@@ -6,10 +6,10 @@ import { InMemoryWorkflowService } from '@pikku/core/services';
6
6
  import { createHttpPersonas } from '@pikku/core/persona';
7
7
  import { PikkuScenarioService } from '@pikku/core/scenario';
8
8
  import { pikkuState, getAllPackageStates } from '@pikku/core/ecosystem';
9
- import { resolveFeatureScenarios } from '@pikku/core/workflow';
9
+ import { resolveFeatureScenarios } from '@pikku/core/scenario';
10
10
  import { loadScenarioBootstrap } from './load-user-project.js';
11
11
  import { collectScenarioStepProse, scenarioBrowserSteps, scenarioFailureFromSteps, scenarioStepRows, scenarioStepsWithoutBinding, scenarioSurfaceCoverage, } from './scenario-ladder.js';
12
- import { SCENARIO_SURFACES } from '@pikku/core/workflow';
12
+ import { SCENARIO_SURFACES } from '@pikku/core/scenario';
13
13
  import { formatScenarioReport } from './scenario-formatter.js';
14
14
  import { resolveScenarioBrowserProvider, scenarioBrowserLifecycle, } from './scenario-browser.js';
15
15
  import { resolvePersonas } from '../../utils/resolve-personas.js';
@@ -0,0 +1,14 @@
1
+ export type SurfaceKind = 'function' | 'class' | 'interface' | 'type' | 'const' | 'enum' | 'namespace';
2
+ export type SurfaceSymbol = {
3
+ name: string;
4
+ kind: SurfaceKind;
5
+ declaredAt: string;
6
+ deprecated: boolean;
7
+ };
8
+ export type SurfaceEntrypoint = {
9
+ subpath: string;
10
+ specifier: string;
11
+ entryFile: string;
12
+ symbols: SurfaceSymbol[];
13
+ };
14
+ export declare const collectSurface: (packageDir: string) => Promise<SurfaceEntrypoint[]>;