@pikku/cli 0.12.154 → 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-BPFBvwZj.js → HelpPanel-Ndvkqpn8.js} +1 -1
- package/console-app/assets/{abnfDiagram-VCTEODGH-DDuocZ0S.js → abnfDiagram-VCTEODGH-DvUR4gej.js} +1 -1
- package/console-app/assets/architecture-7GRP2DOG-DJkDVzM_.js +1 -0
- package/console-app/assets/{architectureDiagram-5GKGNRK7-bFIt59Dq.js → architectureDiagram-5GKGNRK7-HLwJ3llk.js} +1 -1
- package/console-app/assets/{blockDiagram-I7D4REHJ-Bge8309x.js → blockDiagram-I7D4REHJ-LMSdIVfc.js} +1 -1
- package/console-app/assets/{c4Diagram-7LVT6UL2-BdJOmC5x.js → c4Diagram-7LVT6UL2-CcWW9nYv.js} +1 -1
- package/console-app/assets/channel-C6yZyX_m.js +1 -0
- package/console-app/assets/{chunk-4HAMMTFA-Cenx-5I1.js → chunk-4HAMMTFA-Dxcu8ptc.js} +1 -1
- package/console-app/assets/{chunk-75Z2AOVW-CAGQ08f_.js → chunk-75Z2AOVW-BBINCcJe.js} +1 -1
- package/console-app/assets/{chunk-DU6HZSFF-Bhji7Bhy.js → chunk-DU6HZSFF-BgJhrYpo.js} +1 -1
- package/console-app/assets/{chunk-F27PBJKO-D7gTX3dk.js → chunk-F27PBJKO-CctviqIo.js} +1 -1
- package/console-app/assets/{chunk-GMAD6QVW-DkRx7Brv.js → chunk-GMAD6QVW-BJ-InAqp.js} +1 -1
- package/console-app/assets/{chunk-GVQU2GXP-DEWdO9pP.js → chunk-GVQU2GXP-DaeerGJS.js} +1 -1
- package/console-app/assets/{chunk-IMKFNOWR-C1Vtain1.js → chunk-IMKFNOWR-eOSAFAc9.js} +1 -1
- package/console-app/assets/{chunk-L3NEJ4N5-B_nm0es0.js → chunk-L3NEJ4N5-DRfMBpkp.js} +1 -1
- package/console-app/assets/{chunk-OSK3NFVY-C0EPlVq0.js → chunk-OSK3NFVY-DMZ2WBA1.js} +1 -1
- package/console-app/assets/{chunk-P2QGCYS3-qs_HwIoO.js → chunk-P2QGCYS3-d0BFQiY1.js} +1 -1
- package/console-app/assets/{chunk-POPQ4Y6H-CJWbAVy_.js → chunk-POPQ4Y6H-D4zICDtR.js} +1 -1
- package/console-app/assets/{chunk-PWAF6VOD-CmyETkG4.js → chunk-PWAF6VOD-_v9wUl6m.js} +1 -1
- package/console-app/assets/{chunk-SHT3W25Y-Coqn0qc9.js → chunk-SHT3W25Y-DZ3Wa0Mc.js} +1 -1
- package/console-app/assets/{chunk-SVP7TREG-D1E3L3Ry.js → chunk-SVP7TREG-2yCR3ywB.js} +1 -1
- package/console-app/assets/{chunk-TICWLB2K-bsfeT6VF.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-H5-jGbyx.js → cose-bilkent-JH36ORCC-DNc5wiJ_.js} +1 -1
- package/console-app/assets/{cynefin-OW5HDTMX-CljdWyve.js → cynefin-OW5HDTMX-CQPn9kED.js} +1 -1
- package/console-app/assets/{cynefinDiagram-5FMLGOSQ-DmDd9Ruh.js → cynefinDiagram-5FMLGOSQ-CkW1ZG13.js} +1 -1
- package/console-app/assets/{dagre-ChLSY7zR.js → dagre-BcTdbH8b.js} +1 -1
- package/console-app/assets/{dagre-GXQ25YYZ-DT48xQuH.js → dagre-GXQ25YYZ-Cgvwy7_U.js} +1 -1
- package/console-app/assets/{diagram-S7CK7UJ4-DKPk5LKU.js → diagram-S7CK7UJ4-JB3GlMwZ.js} +1 -1
- package/console-app/assets/{diagram-UQ7AKVKN-BWnhjDbO.js → diagram-UQ7AKVKN-CaIeYJXa.js} +1 -1
- package/console-app/assets/{diagram-VSXAHHWV-1XCGd7TX.js → diagram-VSXAHHWV-Cku8J3KG.js} +1 -1
- package/console-app/assets/{diagram-VX7I27RA-8dIoEZIX.js → diagram-VX7I27RA-Dp3jeYrS.js} +1 -1
- package/console-app/assets/{diagram-Z3DM3KII-CgFhlsHg.js → diagram-Z3DM3KII-B56Ys0Pf.js} +1 -1
- package/console-app/assets/{ebnfDiagram-PWID7BFC-j8nbgcPz.js → ebnfDiagram-PWID7BFC-CfxeEpk1.js} +1 -1
- package/console-app/assets/{erDiagram-RLTQ6QDP-fQNmZd6-.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-D8pzapyN.js → ganttDiagram-EL5Y4UJY-BsD1LYkb.js} +1 -1
- package/console-app/assets/{gitGraph-4MIJSDKK-BvRsGeLo.js → gitGraph-4MIJSDKK-CSHhAZoD.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-WWUBYQGX-C_qwjJL5.js → gitGraphDiagram-WWUBYQGX-CZ_0OI7F.js} +1 -1
- package/console-app/assets/{graphlib-9R2fmYel.js → graphlib-Bpf494dL.js} +1 -1
- package/console-app/assets/{index-DMQFSpKy.js → index-DXtR4J7Y.js} +68 -68
- package/console-app/assets/{info-A6RAGUB7-BIjzE3Zr.js → info-A6RAGUB7-Cym2YsaS.js} +1 -1
- package/console-app/assets/{infoDiagram-27XIBGKW-DbFqdvGy.js → infoDiagram-27XIBGKW-n9atnl-K.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-5VMMS53U-D5ei52Uz.js → ishikawaDiagram-5VMMS53U-BeLDkr8-.js} +1 -1
- package/console-app/assets/{journeyDiagram-3NMN7TZE-DOVQGQxF.js → journeyDiagram-3NMN7TZE-B__R_eOL.js} +1 -1
- package/console-app/assets/{kanban-definition-UXKFOSKX-D8cjrKvj.js → kanban-definition-UXKFOSKX-Cwsl1hYB.js} +1 -1
- package/console-app/assets/{line-S23S00r8.js → line-UWFHtT2i.js} +1 -1
- package/console-app/assets/{linear-C2q7Mgrm.js → linear-BHDHoGpb.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-DFVvyiUd.js → mermaid-parser.core-CyGW9xht.js} +3 -3
- package/console-app/assets/{mermaid.core-C85pnBPI.js → mermaid.core-zeBKxakC.js} +4 -4
- package/console-app/assets/{mindmap-definition-YA3MSWOX-Bqn28yl9.js → mindmap-definition-YA3MSWOX-bZ2kbbMM.js} +1 -1
- package/console-app/assets/{packet-AYTQ26CC-Cj1kD_Xa.js → packet-AYTQ26CC-DtH3ZjsO.js} +1 -1
- package/console-app/assets/{pegDiagram-XKGWAZYB-DJ12pyU4.js → pegDiagram-XKGWAZYB-Cy-M_2Zc.js} +1 -1
- package/console-app/assets/{pie-WAS4IAKB-BUmyuH7f.js → pie-WAS4IAKB-DEZDAaJW.js} +1 -1
- package/console-app/assets/{pieDiagram-E7YTZNPT-jTvMRCtY.js → pieDiagram-E7YTZNPT-Ce3Yl--P.js} +1 -1
- package/console-app/assets/{quadrantDiagram-AXDQQJYC-D826kpcV.js → quadrantDiagram-AXDQQJYC-BTK8v4H5.js} +1 -1
- package/console-app/assets/{radar-RG4KPBEZ-CYbTAeXH.js → radar-RG4KPBEZ-CTPhaLOE.js} +1 -1
- package/console-app/assets/{railroad-74A4TZTK-mfMkjDWk.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-CGlOEAk5.js → railroadDiagram-O6MQD6OU-CYbkYMqD.js} +1 -1
- package/console-app/assets/{requirementDiagram-BXWQKSXE-DY_zQ4Qu.js → requirementDiagram-BXWQKSXE-DjWjfWOk.js} +1 -1
- package/console-app/assets/{sankeyDiagram-P5KCCOFB-B4QJZukx.js → sankeyDiagram-P5KCCOFB-6sAcPgDK.js} +1 -1
- package/console-app/assets/{sequenceDiagram-WJ2MYXX4-DTERMwcf.js → sequenceDiagram-WJ2MYXX4-DzyU1CIr.js} +1 -1
- package/console-app/assets/{src-CRoiE_Pf.js → src-0ppm3vZe.js} +1 -1
- package/console-app/assets/{stateDiagram-D77RDMKH-BLnCP1RM.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-CwYZgjxi.js → swimlanes-42K2YHIH-Dd7HjelH.js} +1 -1
- package/console-app/assets/swimlanesDiagram-VR7AAH4N-D6xRypPY.js +8 -0
- package/console-app/assets/{timeline-definition-24CTP7MA-BEv4uhRy.js → timeline-definition-24CTP7MA-eZ3AIIpc.js} +1 -1
- package/console-app/assets/{treeView-Q6P3EWNA-CHhQVPzu.js → treeView-Q6P3EWNA-DF5sOT6y.js} +1 -1
- package/console-app/assets/{treemap-WGGIJYW6-DSnq4EZT.js → treemap-WGGIJYW6-Bob0iUUb.js} +1 -1
- package/console-app/assets/{vennDiagram-4TSXK5OY-CHT6P8GK.js → vennDiagram-4TSXK5OY-CeowTqyG.js} +1 -1
- package/console-app/assets/{wardley-WFR3VGLG-yPMtiazL.js → wardley-WFR3VGLG-DrnQFkZZ.js} +1 -1
- package/console-app/assets/{wardleyDiagram-VM6X3IG4-Df2U4u0X.js → wardleyDiagram-VM6X3IG4-Dsfkp6D5.js} +1 -1
- package/console-app/assets/{xychartDiagram-S5SC5T6Z-D4bRAEWS.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 +31 -31
- 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/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/sealed-box.js +3 -2
- package/dist/src/fabric/lib/stage.js +3 -2
- package/dist/src/functions/commands/watch.js +5 -2
- 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 +8 -8
- package/surface.json +4 -16
- package/console-app/assets/architecture-7GRP2DOG-ClxOnHTX.js +0 -1
- package/console-app/assets/channel-c0xM4cPi.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-BkM8vXTQ.js +0 -1
- package/console-app/assets/classDiagram-ZZMXUADV-yCAU184A.js +0 -1
- package/console-app/assets/classDiagram-v2-VYDZK3BY-yCAU184A.js +0 -1
- package/console-app/assets/eventmodeling-NTZA5JFV-bHToGR6p.js +0 -1
- package/console-app/assets/flowDiagram-HODETNUW-Dd1RiDsS.js +0 -1
- package/console-app/assets/railroad-abnf-HS5TGJTU-nuNyByRg.js +0 -1
- package/console-app/assets/railroad-ebnf-LZEXJU2U-BztHKlS5.js +0 -1
- package/console-app/assets/railroad-peg-WCYAUIDC-Bw7jp-js.js +0 -1
- package/console-app/assets/stateDiagram-v2-MP3YSRHH-Bv8nfhYK.js +0 -1
- package/console-app/assets/swimlanesDiagram-VR7AAH4N-BtAfsGDG.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 {
|
|
@@ -259,7 +259,9 @@ export const fabricCommands = defineCLICommands({
|
|
|
259
259
|
description: 'Set a stage-scoped secret',
|
|
260
260
|
options: {
|
|
261
261
|
branch: { description: 'Target branch', short: 'b' },
|
|
262
|
-
value: {
|
|
262
|
+
value: {
|
|
263
|
+
description: 'Secret value (prompted if omitted, or read from stdin when piped)',
|
|
264
|
+
},
|
|
263
265
|
force: {
|
|
264
266
|
description: 'Overwrite without confirmation',
|
|
265
267
|
default: false,
|
|
@@ -6,6 +6,7 @@ import { tmpdir } from 'node:os';
|
|
|
6
6
|
import { execFileSync } from 'node:child_process';
|
|
7
7
|
import { pikkuSessionlessFunc } from '../../../.pikku/function/index.js';
|
|
8
8
|
import { resolveApiContext } from '../lib/config.js';
|
|
9
|
+
import { FabricPreconditionError } from '../lib/errors.js';
|
|
9
10
|
export const FabricAddInput = z.object({
|
|
10
11
|
id: z.string(),
|
|
11
12
|
dir: z.string().optional(),
|
|
@@ -97,12 +98,12 @@ export const FabricAdd = pikkuSessionlessFunc({
|
|
|
97
98
|
// 1. resolve a presigned download URL (public read)
|
|
98
99
|
const metaRes = await fetch(`${ctx.apiUrl}/registry/packages/${encodeURIComponent(id)}/download`);
|
|
99
100
|
if (!metaRes.ok)
|
|
100
|
-
throw new
|
|
101
|
+
throw new FabricPreconditionError(`download lookup failed → ${metaRes.status}: ${await metaRes.text()}`);
|
|
101
102
|
const { url } = (await metaRes.json());
|
|
102
103
|
// 2. fetch the artifact
|
|
103
104
|
const dl = await fetch(url);
|
|
104
105
|
if (!dl.ok)
|
|
105
|
-
throw new
|
|
106
|
+
throw new FabricPreconditionError(`artifact fetch failed → ${dl.status}`);
|
|
106
107
|
const artifact = Buffer.from(await dl.arrayBuffer());
|
|
107
108
|
const root = resolveProjectRoot();
|
|
108
109
|
const addonDir = dir ?? (await readAddonDirFromConfig(root)) ?? 'addons';
|
|
@@ -120,7 +121,7 @@ export const FabricAdd = pikkuSessionlessFunc({
|
|
|
120
121
|
await rm(tmp, { force: true });
|
|
121
122
|
const pkg = JSON.parse(await readFile(join(staging, 'package.json'), 'utf8'));
|
|
122
123
|
if (!pkg.name)
|
|
123
|
-
throw new
|
|
124
|
+
throw new FabricPreconditionError('artifact package.json is missing a "name" field');
|
|
124
125
|
const version = pkg.version ?? '0.0.0';
|
|
125
126
|
// shadcn copy: folder is the last segment of the (scoped) package name
|
|
126
127
|
const folder = pkg.name.split('/').pop();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { pikkuSessionlessFunc } from '../../../.pikku/function/index.js';
|
|
4
|
+
import { FabricPreconditionError } from '../lib/errors.js';
|
|
4
5
|
import { changesContext, requireProjectId } from '../lib/changes.js';
|
|
5
6
|
import { resolveStageId } from '../lib/stage.js';
|
|
6
7
|
import { dim, safe } from '../lib/output.js';
|
|
@@ -34,7 +35,7 @@ export const FabricChangesFile = pikkuSessionlessFunc({
|
|
|
34
35
|
output: FabricChangesFileOutput,
|
|
35
36
|
func: async (_services, input) => {
|
|
36
37
|
if (input.body && input.bodyFile)
|
|
37
|
-
throw new
|
|
38
|
+
throw new FabricPreconditionError('Pass --body or --body-file, not both.');
|
|
38
39
|
const { rpc, projectId } = await changesContext(input.apiUrl, input.projectId);
|
|
39
40
|
const stageId = input.stageId ??
|
|
40
41
|
(await resolveStageId(rpc, requireProjectId(projectId), input.branch));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { pikkuSessionlessFunc } from '../../../.pikku/function/index.js';
|
|
4
|
+
import { FabricPreconditionError } from '../lib/errors.js';
|
|
4
5
|
import { changesContext, imageContentType, } from '../lib/changes.js';
|
|
5
6
|
import { dim, safe } from '../lib/output.js';
|
|
6
7
|
export const FabricChangesShotInput = z.object({
|
|
@@ -28,13 +29,13 @@ export const FabricChangesShot = pikkuSessionlessFunc({
|
|
|
28
29
|
output: FabricChangesShotOutput,
|
|
29
30
|
func: async (_services, input) => {
|
|
30
31
|
if (!input.image && !input.imageBase64)
|
|
31
|
-
throw new
|
|
32
|
+
throw new FabricPreconditionError('Pass --image <path> or --image-base64 <data>.');
|
|
32
33
|
let contentType = input.contentType;
|
|
33
34
|
let imageBase64 = input.imageBase64;
|
|
34
35
|
if (input.image) {
|
|
35
36
|
const inferred = imageContentType(input.image);
|
|
36
37
|
if (!inferred && !contentType)
|
|
37
|
-
throw new
|
|
38
|
+
throw new FabricPreconditionError(`Cannot tell the image type from “${input.image}” — pass --content-type.`);
|
|
38
39
|
contentType ??= inferred;
|
|
39
40
|
imageBase64 = (await readFile(input.image)).toString('base64');
|
|
40
41
|
}
|
|
@@ -4,6 +4,7 @@ import { resolveApiContext } from '../lib/config.js';
|
|
|
4
4
|
import { getFabricRPC } from '../lib/http.js';
|
|
5
5
|
import { resolveStageId } from '../lib/stage.js';
|
|
6
6
|
import { table, dim } from '../lib/output.js';
|
|
7
|
+
import { FabricPreconditionError } from '../lib/errors.js';
|
|
7
8
|
export const FabricDbSchemaInput = z.object({
|
|
8
9
|
branch: z.string().default('main'),
|
|
9
10
|
});
|
|
@@ -18,9 +19,9 @@ export const FabricDbSchema = pikkuSessionlessFunc({
|
|
|
18
19
|
func: async (_services, { branch }) => {
|
|
19
20
|
const ctx = await resolveApiContext();
|
|
20
21
|
if (!ctx.token)
|
|
21
|
-
throw new
|
|
22
|
+
throw new FabricPreconditionError('Not logged in. Run `pikku fabric login` first.');
|
|
22
23
|
if (!ctx.projectId)
|
|
23
|
-
throw new
|
|
24
|
+
throw new FabricPreconditionError('No fabric project linked. Run `pikku fabric link` first.');
|
|
24
25
|
const rpc = getFabricRPC({ apiUrl: ctx.apiUrl, token: ctx.token });
|
|
25
26
|
const stageId = await resolveStageId(rpc, ctx.projectId, branch);
|
|
26
27
|
const { schema } = await rpc.invoke('getStageDatabaseSchema', { stageId });
|
|
@@ -4,6 +4,7 @@ import { resolveApiContext } from '../lib/config.js';
|
|
|
4
4
|
import { getFabricRPC } from '../lib/http.js';
|
|
5
5
|
import { resolveStageId } from '../lib/stage.js';
|
|
6
6
|
import { table, statusColor, dim } from '../lib/output.js';
|
|
7
|
+
import { FabricPreconditionError } from '../lib/errors.js';
|
|
7
8
|
export const FabricDeployListInput = z.object({
|
|
8
9
|
branch: z.string().default('main'),
|
|
9
10
|
});
|
|
@@ -18,9 +19,9 @@ export const FabricDeployList = pikkuSessionlessFunc({
|
|
|
18
19
|
func: async (_services, { branch }) => {
|
|
19
20
|
const ctx = await resolveApiContext();
|
|
20
21
|
if (!ctx.token)
|
|
21
|
-
throw new
|
|
22
|
+
throw new FabricPreconditionError('Not logged in. Run `pikku fabric login` first.');
|
|
22
23
|
if (!ctx.projectId)
|
|
23
|
-
throw new
|
|
24
|
+
throw new FabricPreconditionError('No fabric project linked. Run `pikku fabric link` first.');
|
|
24
25
|
const rpc = getFabricRPC({ apiUrl: ctx.apiUrl, token: ctx.token });
|
|
25
26
|
const stageId = await resolveStageId(rpc, ctx.projectId, branch);
|
|
26
27
|
const { deployments } = await rpc.invoke('listDeployments', { stageId });
|
|
@@ -4,6 +4,7 @@ import { resolveApiContext } from '../lib/config.js';
|
|
|
4
4
|
import { getFabricRPC } from '../lib/http.js';
|
|
5
5
|
import { resolveStageId } from '../lib/stage.js';
|
|
6
6
|
import { table, statusColor, dim } from '../lib/output.js';
|
|
7
|
+
import { FabricPreconditionError } from '../lib/errors.js';
|
|
7
8
|
export const FabricDeployUnitsInput = z.object({
|
|
8
9
|
branch: z.string().default('main'),
|
|
9
10
|
});
|
|
@@ -18,9 +19,9 @@ export const FabricDeployUnits = pikkuSessionlessFunc({
|
|
|
18
19
|
func: async (_services, { branch }) => {
|
|
19
20
|
const ctx = await resolveApiContext();
|
|
20
21
|
if (!ctx.token)
|
|
21
|
-
throw new
|
|
22
|
+
throw new FabricPreconditionError('Not logged in. Run `pikku fabric login` first.');
|
|
22
23
|
if (!ctx.projectId)
|
|
23
|
-
throw new
|
|
24
|
+
throw new FabricPreconditionError('No fabric project linked. Run `pikku fabric link` first.');
|
|
24
25
|
const rpc = getFabricRPC({ apiUrl: ctx.apiUrl, token: ctx.token });
|
|
25
26
|
const stageId = await resolveStageId(rpc, ctx.projectId, branch);
|
|
26
27
|
const { workers } = await rpc.invoke('listDeploymentWorkers', { stageId });
|
|
@@ -92,10 +92,10 @@ export const FabricDeployApplyOutput = z.object({
|
|
|
92
92
|
async function prepDeploy({ branch, production, ref }) {
|
|
93
93
|
const ctx = await resolveApiContext();
|
|
94
94
|
if (!ctx.token) {
|
|
95
|
-
throw new
|
|
95
|
+
throw new FabricPreconditionError('Not logged in. Run `pikku fabric login` first.');
|
|
96
96
|
}
|
|
97
97
|
if (!ctx.projectId) {
|
|
98
|
-
throw new
|
|
98
|
+
throw new FabricPreconditionError('No fabric project linked. Run `pikku fabric link` first.');
|
|
99
99
|
}
|
|
100
100
|
// With no target named, deploy the branch that is checked out — the common
|
|
101
101
|
// case, and the one worth not making people type twice. It is only safe to
|
|
@@ -120,10 +120,10 @@ async function prepDeploy({ branch, production, ref }) {
|
|
|
120
120
|
async function prepAttach() {
|
|
121
121
|
const ctx = await resolveApiContext();
|
|
122
122
|
if (!ctx.token) {
|
|
123
|
-
throw new
|
|
123
|
+
throw new FabricPreconditionError('Not logged in. Run `pikku fabric login` first.');
|
|
124
124
|
}
|
|
125
125
|
if (!ctx.projectId) {
|
|
126
|
-
throw new
|
|
126
|
+
throw new FabricPreconditionError('No fabric project linked. Run `pikku fabric link` first.');
|
|
127
127
|
}
|
|
128
128
|
return { ctx, projectId: ctx.projectId };
|
|
129
129
|
}
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { pikkuSessionlessFunc } from '../../../.pikku/function/index.js';
|
|
3
3
|
import { findProjectConfig, resolveApiContext } from '../lib/config.js';
|
|
4
4
|
import { getFabricRPC } from '../lib/http.js';
|
|
5
|
+
import { FabricPreconditionError } from '../lib/errors.js';
|
|
5
6
|
export const FabricDomainsAddInput = z.object({
|
|
6
7
|
hostname: z.string(),
|
|
7
8
|
target: z.enum(['api', 'app']).optional(),
|
|
@@ -18,17 +19,17 @@ export const FabricDomainsAdd = pikkuSessionlessFunc({
|
|
|
18
19
|
func: async (_services, { hostname, target = 'api', apiUrl: apiUrlOverride }) => {
|
|
19
20
|
const ctx = await resolveApiContext({ apiUrlOverride });
|
|
20
21
|
if (!ctx.token)
|
|
21
|
-
throw new
|
|
22
|
+
throw new FabricPreconditionError('Not logged in. Run `pikku fabric login` first.');
|
|
22
23
|
const local = await findProjectConfig();
|
|
23
24
|
if (!local)
|
|
24
|
-
throw new
|
|
25
|
+
throw new FabricPreconditionError('No fabric.config.json found. Run `pikku fabric link` first.');
|
|
25
26
|
const rpc = getFabricRPC({ apiUrl: ctx.apiUrl, token: ctx.token });
|
|
26
27
|
const stagesResult = await rpc.invoke('listStages', {
|
|
27
28
|
projectId: local.config.projectId,
|
|
28
29
|
});
|
|
29
30
|
const production = stagesResult.stages.find((s) => s.type === 'production');
|
|
30
31
|
if (!production)
|
|
31
|
-
throw new
|
|
32
|
+
throw new FabricPreconditionError('No production stage exists yet — deploy the project first.');
|
|
32
33
|
const result = await rpc.invoke('addStageCustomHostname', {
|
|
33
34
|
stageId: production.stageId,
|
|
34
35
|
hostname,
|