@pikku/cli 0.12.153 → 0.12.155
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.
- package/console-app/assets/{HelpPanel-0XQ4CyKC.js → HelpPanel-Ndvkqpn8.js} +1 -1
- package/console-app/assets/{abnfDiagram-VCTEODGH-DZTF_2aX.js → abnfDiagram-VCTEODGH-DvUR4gej.js} +1 -1
- package/console-app/assets/architecture-7GRP2DOG-DJkDVzM_.js +1 -0
- package/console-app/assets/{architectureDiagram-5GKGNRK7-Re4-6X-k.js → architectureDiagram-5GKGNRK7-HLwJ3llk.js} +1 -1
- package/console-app/assets/{blockDiagram-I7D4REHJ-Dbj7SnRK.js → blockDiagram-I7D4REHJ-LMSdIVfc.js} +1 -1
- package/console-app/assets/{c4Diagram-7LVT6UL2-DUr02Wxh.js → c4Diagram-7LVT6UL2-CcWW9nYv.js} +1 -1
- package/console-app/assets/channel-C6yZyX_m.js +1 -0
- package/console-app/assets/{chunk-4HAMMTFA-DjatzNf_.js → chunk-4HAMMTFA-Dxcu8ptc.js} +1 -1
- package/console-app/assets/{chunk-75Z2AOVW-BGsmWEdU.js → chunk-75Z2AOVW-BBINCcJe.js} +1 -1
- package/console-app/assets/{chunk-DU6HZSFF-CC7WiVgI.js → chunk-DU6HZSFF-BgJhrYpo.js} +1 -1
- package/console-app/assets/{chunk-F27PBJKO-BATuW9Ej.js → chunk-F27PBJKO-CctviqIo.js} +1 -1
- package/console-app/assets/{chunk-GMAD6QVW-CgHNo00B.js → chunk-GMAD6QVW-BJ-InAqp.js} +1 -1
- package/console-app/assets/{chunk-GVQU2GXP-VT_xckd9.js → chunk-GVQU2GXP-DaeerGJS.js} +1 -1
- package/console-app/assets/{chunk-IMKFNOWR-BhSVbWtF.js → chunk-IMKFNOWR-eOSAFAc9.js} +1 -1
- package/console-app/assets/{chunk-L3NEJ4N5-HUF6a3Xl.js → chunk-L3NEJ4N5-DRfMBpkp.js} +1 -1
- package/console-app/assets/{chunk-OSK3NFVY-C_LPDGIB.js → chunk-OSK3NFVY-DMZ2WBA1.js} +1 -1
- package/console-app/assets/{chunk-P2QGCYS3-lWDBgw4Q.js → chunk-P2QGCYS3-d0BFQiY1.js} +1 -1
- package/console-app/assets/{chunk-POPQ4Y6H--6JTzmZJ.js → chunk-POPQ4Y6H-D4zICDtR.js} +1 -1
- package/console-app/assets/{chunk-PWAF6VOD-C1GqaJJs.js → chunk-PWAF6VOD-_v9wUl6m.js} +1 -1
- package/console-app/assets/{chunk-SHT3W25Y-Dd_4Zpdj.js → chunk-SHT3W25Y-DZ3Wa0Mc.js} +1 -1
- package/console-app/assets/{chunk-SVP7TREG-B8OY7dfD.js → chunk-SVP7TREG-2yCR3ywB.js} +1 -1
- package/console-app/assets/{chunk-TICWLB2K-B8S7Hmnu.js → chunk-TICWLB2K-CtulM0X6.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-CLsn_tEh.js +1 -0
- package/console-app/assets/classDiagram-ZZMXUADV-D7FKceOo.js +1 -0
- package/console-app/assets/classDiagram-v2-VYDZK3BY-D7FKceOo.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-C6RM8oPO.js → cose-bilkent-JH36ORCC-DNc5wiJ_.js} +1 -1
- package/console-app/assets/{cynefin-OW5HDTMX-COh9rFYY.js → cynefin-OW5HDTMX-CQPn9kED.js} +1 -1
- package/console-app/assets/{cynefinDiagram-5FMLGOSQ-Dd9AR17w.js → cynefinDiagram-5FMLGOSQ-CkW1ZG13.js} +1 -1
- package/console-app/assets/{dagre-BDMvDAer.js → dagre-BcTdbH8b.js} +1 -1
- package/console-app/assets/{dagre-GXQ25YYZ-C_nBUPgr.js → dagre-GXQ25YYZ-Cgvwy7_U.js} +1 -1
- package/console-app/assets/{diagram-S7CK7UJ4-BGOobQeC.js → diagram-S7CK7UJ4-JB3GlMwZ.js} +1 -1
- package/console-app/assets/{diagram-UQ7AKVKN-CAF_vcj0.js → diagram-UQ7AKVKN-CaIeYJXa.js} +1 -1
- package/console-app/assets/{diagram-VSXAHHWV-q-aY0Nsc.js → diagram-VSXAHHWV-Cku8J3KG.js} +1 -1
- package/console-app/assets/{diagram-VX7I27RA-CnUibSOe.js → diagram-VX7I27RA-Dp3jeYrS.js} +1 -1
- package/console-app/assets/{diagram-Z3DM3KII-DY0V5kOJ.js → diagram-Z3DM3KII-B56Ys0Pf.js} +1 -1
- package/console-app/assets/{ebnfDiagram-PWID7BFC-CXp4CmEF.js → ebnfDiagram-PWID7BFC-CfxeEpk1.js} +1 -1
- package/console-app/assets/{erDiagram-RLTQ6QDP-CKnfXmPl.js → erDiagram-RLTQ6QDP-Dp9sOoSf.js} +1 -1
- package/console-app/assets/eventmodeling-NTZA5JFV-CccBkMWb.js +1 -0
- package/console-app/assets/flowDiagram-HODETNUW-Cp_XHTFC.js +1 -0
- package/console-app/assets/{ganttDiagram-EL5Y4UJY-D6v_RJ7o.js → ganttDiagram-EL5Y4UJY-BsD1LYkb.js} +1 -1
- package/console-app/assets/{gitGraph-4MIJSDKK-y3kWDddY.js → gitGraph-4MIJSDKK-CSHhAZoD.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-WWUBYQGX-CBaE24KN.js → gitGraphDiagram-WWUBYQGX-CZ_0OI7F.js} +1 -1
- package/console-app/assets/{graphlib-DAA_TPmU.js → graphlib-Bpf494dL.js} +1 -1
- package/console-app/assets/{index-HuTd6kcC.js → index-DXtR4J7Y.js} +68 -68
- package/console-app/assets/{info-A6RAGUB7-BvxfRJ9-.js → info-A6RAGUB7-Cym2YsaS.js} +1 -1
- package/console-app/assets/{infoDiagram-27XIBGKW-BlFmgW96.js → infoDiagram-27XIBGKW-n9atnl-K.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-5VMMS53U-Dpwhnwwq.js → ishikawaDiagram-5VMMS53U-BeLDkr8-.js} +1 -1
- package/console-app/assets/{journeyDiagram-3NMN7TZE-iOSeOQma.js → journeyDiagram-3NMN7TZE-B__R_eOL.js} +1 -1
- package/console-app/assets/{kanban-definition-UXKFOSKX-DFGTB8S5.js → kanban-definition-UXKFOSKX-Cwsl1hYB.js} +1 -1
- package/console-app/assets/{line-B_5qZKoM.js → line-UWFHtT2i.js} +1 -1
- package/console-app/assets/{linear-BmXUYu4J.js → linear-BHDHoGpb.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-DyPi3Lbr.js → mermaid-parser.core-CyGW9xht.js} +3 -3
- package/console-app/assets/{mermaid.core-S4y9jX8K.js → mermaid.core-zeBKxakC.js} +4 -4
- package/console-app/assets/{mindmap-definition-YA3MSWOX-Bl09mCaS.js → mindmap-definition-YA3MSWOX-bZ2kbbMM.js} +1 -1
- package/console-app/assets/{packet-AYTQ26CC-B5zoasmU.js → packet-AYTQ26CC-DtH3ZjsO.js} +1 -1
- package/console-app/assets/{pegDiagram-XKGWAZYB-CAa0SOHf.js → pegDiagram-XKGWAZYB-Cy-M_2Zc.js} +1 -1
- package/console-app/assets/{pie-WAS4IAKB-C91xXCXY.js → pie-WAS4IAKB-DEZDAaJW.js} +1 -1
- package/console-app/assets/{pieDiagram-E7YTZNPT-CmUHVYwz.js → pieDiagram-E7YTZNPT-Ce3Yl--P.js} +1 -1
- package/console-app/assets/{quadrantDiagram-AXDQQJYC-XWsej4ss.js → quadrantDiagram-AXDQQJYC-BTK8v4H5.js} +1 -1
- package/console-app/assets/{radar-RG4KPBEZ-B7ieCnSw.js → radar-RG4KPBEZ-CTPhaLOE.js} +1 -1
- package/console-app/assets/{railroad-74A4TZTK-KTKjMg4U.js → railroad-74A4TZTK-DMa9G1LV.js} +1 -1
- package/console-app/assets/railroad-abnf-HS5TGJTU-K0DgRobv.js +1 -0
- package/console-app/assets/railroad-ebnf-LZEXJU2U-CHEGHd9y.js +1 -0
- package/console-app/assets/railroad-peg-WCYAUIDC-EYHvZbXp.js +1 -0
- package/console-app/assets/{railroadDiagram-O6MQD6OU-oh1FjI2K.js → railroadDiagram-O6MQD6OU-CYbkYMqD.js} +1 -1
- package/console-app/assets/{requirementDiagram-BXWQKSXE-D6z7hLfj.js → requirementDiagram-BXWQKSXE-DjWjfWOk.js} +1 -1
- package/console-app/assets/{sankeyDiagram-P5KCCOFB-DFb92jfp.js → sankeyDiagram-P5KCCOFB-6sAcPgDK.js} +1 -1
- package/console-app/assets/{sequenceDiagram-WJ2MYXX4-BRKj-PG1.js → sequenceDiagram-WJ2MYXX4-DzyU1CIr.js} +1 -1
- package/console-app/assets/{src-DYBVouJk.js → src-0ppm3vZe.js} +1 -1
- package/console-app/assets/{stateDiagram-D77RDMKH-BfTLNw5t.js → stateDiagram-D77RDMKH-S5osVh5p.js} +1 -1
- package/console-app/assets/stateDiagram-v2-MP3YSRHH-BZUe_KiH.js +1 -0
- package/console-app/assets/{swimlanes-42K2YHIH-DXkNYzX9.js → swimlanes-42K2YHIH-Dd7HjelH.js} +1 -1
- package/console-app/assets/swimlanesDiagram-VR7AAH4N-D6xRypPY.js +8 -0
- package/console-app/assets/{timeline-definition-24CTP7MA-B8m2V75P.js → timeline-definition-24CTP7MA-eZ3AIIpc.js} +1 -1
- package/console-app/assets/{treeView-Q6P3EWNA-BisqOzat.js → treeView-Q6P3EWNA-DF5sOT6y.js} +1 -1
- package/console-app/assets/{treemap-WGGIJYW6-DOxEXpb1.js → treemap-WGGIJYW6-Bob0iUUb.js} +1 -1
- package/console-app/assets/{vennDiagram-4TSXK5OY-ZeuU7o23.js → vennDiagram-4TSXK5OY-CeowTqyG.js} +1 -1
- package/console-app/assets/{wardley-WFR3VGLG-sspeOMuz.js → wardley-WFR3VGLG-DrnQFkZZ.js} +1 -1
- package/console-app/assets/{wardleyDiagram-VM6X3IG4-CF2vzNJV.js → wardleyDiagram-VM6X3IG4-Dsfkp6D5.js} +1 -1
- package/console-app/assets/{xychartDiagram-S5SC5T6Z-BR9XBq3s.js → xychartDiagram-S5SC5T6Z-YC_qsmJw.js} +1 -1
- package/console-app/index.html +1 -1
- package/dist/.pikku/addon/index.d.ts +1 -1
- package/dist/.pikku/addon/index.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/agent/index.d.ts +1 -1
- package/dist/.pikku/agent/index.js +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/analytics/index.d.ts +1 -1
- package/dist/.pikku/analytics/index.js +1 -1
- package/dist/.pikku/analytics/pikku-analytics-types.gen.d.ts +1 -1
- package/dist/.pikku/analytics/pikku-analytics-types.gen.js +1 -1
- package/dist/.pikku/auth/index.d.ts +1 -1
- package/dist/.pikku/auth/index.js +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/channel/index.d.ts +1 -1
- package/dist/.pikku/channel/index.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/index.d.ts +1 -1
- package/dist/.pikku/cli/index.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +15 -5
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +15 -6
- package/dist/.pikku/error/index.d.ts +1 -1
- package/dist/.pikku/error/index.js +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/function/index.d.ts +1 -1
- package/dist/.pikku/function/index.js +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +33 -33
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/gateway/index.d.ts +1 -1
- package/dist/.pikku/gateway/index.js +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.js +1 -1
- package/dist/.pikku/http/index.d.ts +1 -1
- package/dist/.pikku/http/index.js +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/mcp/index.d.ts +1 -1
- package/dist/.pikku/mcp/index.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/middleware/index.d.ts +1 -1
- package/dist/.pikku/middleware/index.js +1 -1
- package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +1 -1
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/queue/index.d.ts +1 -1
- package/dist/.pikku/queue/index.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/scenarios/index.d.ts +1 -1
- package/dist/.pikku/scenarios/index.js +1 -1
- package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/scheduler/index.d.ts +1 -1
- package/dist/.pikku/scheduler/index.js +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +1 -1
- package/dist/.pikku/scopes/index.d.ts +1 -1
- package/dist/.pikku/scopes/index.js +1 -1
- package/dist/.pikku/scopes/pikku-flags.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/secrets/index.d.ts +1 -1
- package/dist/.pikku/secrets/index.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/setup/index.d.ts +1 -1
- package/dist/.pikku/setup/index.js +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/trigger/index.d.ts +1 -1
- package/dist/.pikku/trigger/index.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/index.d.ts +1 -1
- package/dist/.pikku/variables/index.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/index.d.ts +1 -1
- package/dist/.pikku/workflow/index.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +2 -2
- package/dist/bin/pikku.js +32 -2
- package/dist/src/deploy/build-pipeline.d.ts +43 -0
- package/dist/src/deploy/build-pipeline.js +79 -30
- package/dist/src/fabric/fabric-commands.js +3 -1
- package/dist/src/fabric/functions/add.function.js +4 -3
- package/dist/src/fabric/functions/changes-file.function.js +2 -1
- package/dist/src/fabric/functions/changes-shot.function.js +3 -2
- package/dist/src/fabric/functions/db-schema.function.js +3 -2
- package/dist/src/fabric/functions/deploy-list.function.js +3 -2
- package/dist/src/fabric/functions/deploy-units.function.js +3 -2
- package/dist/src/fabric/functions/deploy.function.js +4 -4
- package/dist/src/fabric/functions/domains-add.function.js +4 -3
- package/dist/src/fabric/functions/domains-list.function.js +3 -2
- package/dist/src/fabric/functions/domains-remove.function.js +5 -4
- package/dist/src/fabric/functions/errors.function.js +3 -2
- package/dist/src/fabric/functions/findings-flush.function.js +2 -1
- package/dist/src/fabric/functions/init.function.js +3 -2
- package/dist/src/fabric/functions/link.function.js +10 -10
- package/dist/src/fabric/functions/login.function.js +4 -3
- package/dist/src/fabric/functions/logs.function.js +2 -2
- package/dist/src/fabric/functions/metrics.function.js +3 -2
- package/dist/src/fabric/functions/projects-list.function.js +2 -1
- package/dist/src/fabric/functions/publish.function.js +7 -6
- package/dist/src/fabric/functions/report.function.js +4 -3
- package/dist/src/fabric/functions/rollback.function.js +3 -2
- package/dist/src/fabric/functions/secrets-delete.function.js +5 -4
- package/dist/src/fabric/functions/secrets-list.function.js +3 -2
- package/dist/src/fabric/functions/secrets-rotate.function.js +4 -3
- package/dist/src/fabric/functions/secrets-set.function.js +11 -4
- package/dist/src/fabric/functions/smoke.function.js +4 -3
- package/dist/src/fabric/functions/status.function.js +3 -2
- package/dist/src/fabric/functions/trace.function.js +3 -2
- package/dist/src/fabric/functions/variables-get.function.js +3 -2
- package/dist/src/fabric/functions/variables-set.function.js +3 -2
- package/dist/src/fabric/lib/changes.js +3 -2
- package/dist/src/fabric/lib/config.js +2 -1
- package/dist/src/fabric/lib/deployment.js +2 -1
- package/dist/src/fabric/lib/git.d.ts +10 -1
- package/dist/src/fabric/lib/git.js +10 -1
- package/dist/src/fabric/lib/prompt.d.ts +14 -5
- package/dist/src/fabric/lib/prompt.js +78 -15
- package/dist/src/fabric/lib/report-environment.d.ts +5 -4
- package/dist/src/fabric/lib/report-environment.js +18 -4
- package/dist/src/fabric/lib/sealed-box.js +3 -2
- package/dist/src/fabric/lib/stage.js +3 -2
- package/dist/src/functions/commands/deploy-apply.js +1 -0
- package/dist/src/functions/commands/deploy-plan.js +1 -0
- package/dist/src/functions/commands/watch.js +5 -2
- package/dist/src/functions/db/sqlite/scenario-baseline.js +5 -0
- package/dist/src/functions/wirings/agent/serialize-public-agent.js +2 -0
- package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +18 -4
- package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.js +16 -5
- package/dist/src/functions/wirings/functions/pikku-command-addon-types.js +26 -5
- package/dist/src/functions/wirings/functions/serialize-addon-types.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-addon-types.js +46 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp.js +3 -1
- package/dist/src/functions/wirings/middleware/pikku-command-middleware.js +13 -1
- package/dist/src/functions/wirings/middleware/serialize-middleware-imports.d.ts +13 -0
- package/dist/src/functions/wirings/middleware/serialize-middleware-imports.js +48 -8
- package/dist/src/utils/pikku-cli-config-error.d.ts +8 -3
- package/dist/src/utils/pikku-cli-config-error.js +8 -3
- package/dist/src/utils/pikku-cli-config.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/surface.json +4 -16
- package/console-app/assets/architecture-7GRP2DOG-NotVOJ5Y.js +0 -1
- package/console-app/assets/channel-DU63_zXh.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-BLuHuEZN.js +0 -1
- package/console-app/assets/classDiagram-ZZMXUADV-BTYfUi7u.js +0 -1
- package/console-app/assets/classDiagram-v2-VYDZK3BY-BTYfUi7u.js +0 -1
- package/console-app/assets/eventmodeling-NTZA5JFV-CBfQhnG8.js +0 -1
- package/console-app/assets/flowDiagram-HODETNUW-BnY3G7p6.js +0 -1
- package/console-app/assets/railroad-abnf-HS5TGJTU-e9AlsYmr.js +0 -1
- package/console-app/assets/railroad-ebnf-LZEXJU2U-BVX8UG1z.js +0 -1
- package/console-app/assets/railroad-peg-WCYAUIDC-BzWQFvD9.js +0 -1
- package/console-app/assets/stateDiagram-v2-MP3YSRHH-B8sMNnnF.js +0 -1
- package/console-app/assets/swimlanesDiagram-VR7AAH4N-CiZdLDyk.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.155
|
|
3
3
|
*/
|
|
4
4
|
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
5
|
import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/workflow';
|
package/dist/bin/pikku-bin.mjs
CHANGED
|
@@ -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.
|
|
15
|
-
process.stderr.write(`\n Update available 0.12.
|
|
14
|
+
if (latest !== '0.12.155') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.155 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
|
|
16
16
|
}
|
|
17
17
|
} catch {}
|
|
18
18
|
}
|
package/dist/bin/pikku.js
CHANGED
|
@@ -6,6 +6,7 @@ process.on('warning', (w) => {
|
|
|
6
6
|
process.stderr.write(`${w.name}: ${w.message}\n`);
|
|
7
7
|
});
|
|
8
8
|
import { existsSync, readFileSync } from 'fs';
|
|
9
|
+
import { CLIError, formatCLIError, wantsStackTrace } from '@pikku/core/cli';
|
|
9
10
|
import { fileURLToPath, pathToFileURL } from 'url';
|
|
10
11
|
import { dirname, join } from 'path';
|
|
11
12
|
const __filename = fileURLToPath(import.meta.url);
|
|
@@ -65,6 +66,36 @@ async function checkForUpdate() {
|
|
|
65
66
|
// never block the CLI for a network check
|
|
66
67
|
}
|
|
67
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* The one place every failure ends up, however it got out.
|
|
71
|
+
*
|
|
72
|
+
* `formatCLIError` decides what is printed: an error raised deliberately shows
|
|
73
|
+
* its message alone, anything unexpected keeps its stack, and `--verbose` /
|
|
74
|
+
* `PIKKU_DEBUG` shows the stack either way. Nothing here strips frames — a
|
|
75
|
+
* `TypeError` with no frames is a bug nobody can diagnose.
|
|
76
|
+
*/
|
|
77
|
+
const reportFatal = (error) => {
|
|
78
|
+
// The runner already printed this one and only threw it to carry the exit
|
|
79
|
+
// code out; printing it again is the doubled error users kept reporting.
|
|
80
|
+
if (error instanceof CLIError)
|
|
81
|
+
process.exit(error.exitCode);
|
|
82
|
+
// stderr is asynchronous when it is a pipe, so `process.exit` on the next
|
|
83
|
+
// line can kill the process before the bytes leave — truncating the one
|
|
84
|
+
// diagnostic this function exists to print, exactly when it is redirected
|
|
85
|
+
// into a log. The exit runs from the write callback instead, with `exitCode`
|
|
86
|
+
// set first so a stream that is already gone (callback never fires) still
|
|
87
|
+
// ends the process with the right code once the loop drains.
|
|
88
|
+
process.exitCode = 1;
|
|
89
|
+
process.stderr.write(`${formatCLIError(error, { verbose: wantsStackTrace(process.argv.slice(2)) })}\n`, () => process.exit(1));
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Without these, anything thrown outside the await below — a listener, a
|
|
93
|
+
* floating promise in a watcher, a timer — reaches node's default handler and
|
|
94
|
+
* prints an unformatted dump. Installed before the CLI is imported so a failure
|
|
95
|
+
* during module evaluation is caught too.
|
|
96
|
+
*/
|
|
97
|
+
process.on('uncaughtException', reportFatal);
|
|
98
|
+
process.on('unhandledRejection', reportFatal);
|
|
68
99
|
// Use the generated Pikku CLI
|
|
69
100
|
const pikkuCliPath = join(__dirname, '../.pikku/cli/pikku-cli.gen.js');
|
|
70
101
|
if (existsSync(pikkuCliPath)) {
|
|
@@ -77,8 +108,7 @@ if (existsSync(pikkuCliPath)) {
|
|
|
77
108
|
process.exit(process.exitCode ?? 0);
|
|
78
109
|
}
|
|
79
110
|
catch (error) {
|
|
80
|
-
|
|
81
|
-
process.exit(1);
|
|
111
|
+
reportFatal(error);
|
|
82
112
|
}
|
|
83
113
|
}
|
|
84
114
|
else {
|
|
@@ -44,6 +44,44 @@ export declare class PikkuDeployBuildFailedError extends PikkuError {
|
|
|
44
44
|
* when every unit was generated and bundled.
|
|
45
45
|
*/
|
|
46
46
|
export declare function describeBuildFailure(result: Pick<BuildPipelineResult, 'bundleErrors' | 'codegenErrors'>): string | null;
|
|
47
|
+
/**
|
|
48
|
+
* The database a standalone bundle has to open for itself.
|
|
49
|
+
*
|
|
50
|
+
* Every other provider deploys onto a host that supplies `kysely` — `pikku dev`
|
|
51
|
+
* builds one, a Cloudflare deploy binds one — so `createSingletonServices` is
|
|
52
|
+
* written expecting it. A standalone artifact has no host, and shipped one that
|
|
53
|
+
* never got a connection at all: the app booted straight into whatever its
|
|
54
|
+
* services factory does when the database is missing, which for the generated
|
|
55
|
+
* templates is a throw.
|
|
56
|
+
*
|
|
57
|
+
* Engine is resolved the way every other pikku host resolves it: `createConfig`
|
|
58
|
+
* first, through the same `loadUserConfigForDb` the db commands use, and the
|
|
59
|
+
* `db/sqlite` / `db/postgres` conventions only as the fallback. Reading the
|
|
60
|
+
* directory alone left an app that declares its database in config and keeps no
|
|
61
|
+
* migrations getting a connection under `pikku dev` and none in its artifact —
|
|
62
|
+
* the same crash, reached a different way. A config that cannot be loaded falls
|
|
63
|
+
* back to the directories rather than failing the build, because a project with
|
|
64
|
+
* no database at all must still bundle.
|
|
65
|
+
*
|
|
66
|
+
* Both at once is refused rather than resolved, whether the two arrive as two
|
|
67
|
+
* migration directories or as `sqliteDb` beside `postgresUrl`. Picking one would
|
|
68
|
+
* be picking which database the deployed app talks to on the strength of
|
|
69
|
+
* directory order, and the failure — an app running happily against the wrong,
|
|
70
|
+
* fully valid schema — is invisible until someone reads the data.
|
|
71
|
+
*
|
|
72
|
+
* Only the engine travels. A configured SQLite path is a developer's local file
|
|
73
|
+
* and has no meaning on the target host, which names its own through
|
|
74
|
+
* `PIKKU_DATA_DIR`.
|
|
75
|
+
*
|
|
76
|
+
* The migrations are copied in beside the bundle under the same `db/<engine>/`
|
|
77
|
+
* path they have in the project, which is also where Fabric's build container
|
|
78
|
+
* stages them. Two producers writing the artifact cannot disagree about where
|
|
79
|
+
* the SQL lives, and `bundle.js db migrate` finds it either way.
|
|
80
|
+
*/
|
|
81
|
+
export declare function resolveStandaloneDb(projectDir: string, pikkuDir: string, unitDir: string, srcDirectories: string[], logger: BuildLogger): Promise<{
|
|
82
|
+
engine: 'sqlite' | 'postgres';
|
|
83
|
+
coercionImportPath?: string;
|
|
84
|
+
} | undefined>;
|
|
47
85
|
export declare function runBuildPipeline(options: {
|
|
48
86
|
projectDir: string;
|
|
49
87
|
projectId: string;
|
|
@@ -66,6 +104,11 @@ export declare function runBuildPipeline(options: {
|
|
|
66
104
|
};
|
|
67
105
|
deployDir?: string;
|
|
68
106
|
outDir?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The project's source roots, for finding the `createConfig` that declares
|
|
109
|
+
* which database a standalone artifact has to open.
|
|
110
|
+
*/
|
|
111
|
+
srcDirectories?: string[];
|
|
69
112
|
/** Emit sourcemaps + per-unit `metafile.json` (debug-only). Default false. */
|
|
70
113
|
debugArtifacts?: boolean;
|
|
71
114
|
logger: BuildLogger;
|