@pikku/cli 0.12.124 → 0.12.126
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/CHANGELOG.md +245 -0
- package/console-app/assets/{abnfDiagram-N423BO3Z-BP7zxMq6.js → abnfDiagram-N423BO3Z-B2suyn6i.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-DmG0bXDT.js +1 -0
- package/console-app/assets/{architectureDiagram-T3A2C74G-mvqdkIfF.js → architectureDiagram-T3A2C74G-BQ5Dfvpo.js} +1 -1
- package/console-app/assets/{blockDiagram-VBNYF7ZC-daD8h3VT.js → blockDiagram-VBNYF7ZC-D4pVRDiF.js} +1 -1
- package/console-app/assets/{c4Diagram-5PPSVZJV-Bd0_wKJj.js → c4Diagram-5PPSVZJV-Da04jGpq.js} +1 -1
- package/console-app/assets/channel-BgCT5gon.js +1 -0
- package/console-app/assets/{chunk-2GRJ4B5K-BFRr_H2V.js → chunk-2GRJ4B5K-CwODIPP4.js} +1 -1
- package/console-app/assets/{chunk-4I5QYGJK-BXWo5Xyx.js → chunk-4I5QYGJK-Bep4akjR.js} +1 -1
- package/console-app/assets/{chunk-5RXB4S5H-BFnXfzzz.js → chunk-5RXB4S5H-CGyCRU9L.js} +1 -1
- package/console-app/assets/{chunk-6Q2QTUOP-Bswg4T3s.js → chunk-6Q2QTUOP-D0IK0SMT.js} +1 -1
- package/console-app/assets/{chunk-7Z6QIM7H-StNGH40U.js → chunk-7Z6QIM7H-D12vS1jX.js} +1 -1
- package/console-app/assets/{chunk-GF5L2VYU-QwXKtQxa.js → chunk-GF5L2VYU-kOLwTzIA.js} +1 -1
- package/console-app/assets/{chunk-I66GZJ75-DDQhhfA0.js → chunk-I66GZJ75-Cb2nDoa3.js} +1 -1
- package/console-app/assets/{chunk-JQJVKLGR-wFyF2bUv.js → chunk-JQJVKLGR-B3a_ctfQ.js} +1 -1
- package/console-app/assets/{chunk-KBJHAD2P-CQPQVDkD.js → chunk-KBJHAD2P-DeP2Lqwp.js} +1 -1
- package/console-app/assets/{chunk-NSK5VX7P-DZhjvnHm.js → chunk-NSK5VX7P-BO8vlGrO.js} +1 -1
- package/console-app/assets/{chunk-QR6OTTB3-D1-TbcCP.js → chunk-QR6OTTB3-sX5V0Lok.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-82OYF6U8.js → chunk-RYQCIY6F-DoCObEhk.js} +1 -1
- package/console-app/assets/{chunk-UBXNYLIW-D85x6Zh2.js → chunk-UBXNYLIW-BndMXU5r.js} +1 -1
- package/console-app/assets/{chunk-W5SLKNZC-B1Ps46_n.js → chunk-W5SLKNZC--VrZN8EC.js} +1 -1
- package/console-app/assets/{chunk-WRU74C26-Ct8XrToU.js → chunk-WRU74C26-DdS0mzXO.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-EP2C9tTO.js +1 -0
- package/console-app/assets/classDiagram-JCYQIIEL-D9wGqB4J.js +1 -0
- package/console-app/assets/classDiagram-v2-OCEON4UE-D9wGqB4J.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-DdevwV5Y.js → cose-bilkent-JH36ORCC-C5EnHkFn.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-Dj55csoo.js → cynefin-VYW2F7L2-9irdkTt4.js} +1 -1
- package/console-app/assets/{cynefinDiagram-MW4NZA55-XWSzdajo.js → cynefinDiagram-MW4NZA55-DY19660c.js} +1 -1
- package/console-app/assets/{dagre-VZM6K2ZE-BV2l3zSF.js → dagre-VZM6K2ZE-BYFZSaSb.js} +1 -1
- package/console-app/assets/{dagre-CLoXIMX5.js → dagre-nXgDYqvf.js} +1 -1
- package/console-app/assets/{diagram-7IWD3JNH-DC9NK-nv.js → diagram-7IWD3JNH-oDftiTp1.js} +1 -1
- package/console-app/assets/{diagram-B4RE2ZJO-Cirfb0aN.js → diagram-B4RE2ZJO-Cbj-pPbH.js} +1 -1
- package/console-app/assets/{diagram-LBJQPF4R-BuRRy5X5.js → diagram-LBJQPF4R-Ch53oSKw.js} +1 -1
- package/console-app/assets/{diagram-Q27KOJAE-CAOKQ2xs.js → diagram-Q27KOJAE-DA7K814v.js} +1 -1
- package/console-app/assets/{diagram-UB23O5K3-Bto5kBJo.js → diagram-UB23O5K3-B-_C-ctS.js} +1 -1
- package/console-app/assets/{ebnfDiagram-BXEA7PRR-C5OndYGC.js → ebnfDiagram-BXEA7PRR-DsOdsKXy.js} +1 -1
- package/console-app/assets/{erDiagram-JOGREHBK-DqU4xV4C.js → erDiagram-JOGREHBK-XB1mP5_A.js} +1 -1
- package/console-app/assets/eventmodeling-45OFAUF4-NKFCZ8Fj.js +1 -0
- package/console-app/assets/flowDiagram-UKHOOZJN-BpdPkmum.js +1 -0
- package/console-app/assets/{ganttDiagram-PKOTCBZU-D5_DE9R0.js → ganttDiagram-PKOTCBZU-knk0XSHi.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-nuqfz7Fd.js → gitGraph-TEB2WS4Q-COJnK2tM.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-DS77QQ5N-BtJwp2Y3.js → gitGraphDiagram-DS77QQ5N-sF0v605q.js} +1 -1
- package/console-app/assets/{index-DXcH2K9z.css → index-C8MC-uMB.css} +1 -1
- package/console-app/assets/{index-DRfts2XF.js → index-DMnbsgzs.js} +3 -3
- package/console-app/assets/{info-DKCQHKI2-CIfPVqHr.js → info-DKCQHKI2-Cbatr0w6.js} +1 -1
- package/console-app/assets/{infoDiagram-6WML65LV-B-gTHQad.js → infoDiagram-6WML65LV-93TFPCu2.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-WSZJBQD7-CCwAWb1g.js → ishikawaDiagram-WSZJBQD7-BBR8_Qms.js} +1 -1
- package/console-app/assets/{journeyDiagram-NVQOT4AX-DhqNj_ci.js → journeyDiagram-NVQOT4AX-zG55yDoc.js} +1 -1
- package/console-app/assets/{kanban-definition-27J2QSJJ-DspZ1b3Y.js → kanban-definition-27J2QSJJ-DonGcEAY.js} +1 -1
- package/console-app/assets/{line-D7ZCpNkR.js → line-D1WdVm1S.js} +1 -1
- package/console-app/assets/{linear-B5jMy_q9.js → linear-D2GQL4Cm.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-CMBFGJ0U.js → mermaid-parser.core-b4yKyO56.js} +3 -3
- package/console-app/assets/{mermaid.core-DYoDrSEJ.js → mermaid.core-Cwfec1gr.js} +4 -4
- package/console-app/assets/{mindmap-definition-FAOFIHXS-DsHwd2K9.js → mindmap-definition-FAOFIHXS-D0G4yKgw.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-BSRRjf4H.js → packet-7NZHBO7P-DDa4HL2T.js} +1 -1
- package/console-app/assets/{pegDiagram-VL7TDLO6-Bi0OlzgS.js → pegDiagram-VL7TDLO6-fPdN5VZs.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-D-8tgqYW.js → pie-RZYD4A2V-DRHURUqo.js} +1 -1
- package/console-app/assets/{pieDiagram-7S7Q4E2Y-CsYbVqaR.js → pieDiagram-7S7Q4E2Y-DMYn8ga_.js} +1 -1
- package/console-app/assets/{quadrantDiagram-CIZ2JOQS-LkLWrWKK.js → quadrantDiagram-CIZ2JOQS-C190OamC.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-Bst62XZP.js → radar-I7S5WNFK-Djvqzz9A.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-zJswMQYF.js → railroad-3IZDKUUU-C9YvFeFq.js} +1 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-B3CYVW4p.js +1 -0
- package/console-app/assets/railroad-ebnf-EBAXGLYW-DrZ2yF62.js +1 -0
- package/console-app/assets/railroad-peg-LSFZ7HO6-CWAmMyxd.js +1 -0
- package/console-app/assets/{railroadDiagram-AXF67PYL-C0QZkg7m.js → railroadDiagram-AXF67PYL-IRFg1VrU.js} +1 -1
- package/console-app/assets/{requirementDiagram-LRYGKXZP-BQg0AbLI.js → requirementDiagram-LRYGKXZP-L-7ubbcT.js} +1 -1
- package/console-app/assets/{sankeyDiagram-W5VNT64P-CQb0BMMi.js → sankeyDiagram-W5VNT64P-DBttV6Gt.js} +1 -1
- package/console-app/assets/{sequenceDiagram-SI44F4Z6-BzgBi0a5.js → sequenceDiagram-SI44F4Z6-Bg15oKAB.js} +1 -1
- package/console-app/assets/{src-Dg-KiSsV.js → src-DUC7tLWb.js} +1 -1
- package/console-app/assets/{stateDiagram-OKZ733FA-BiqXn68g.js → stateDiagram-OKZ733FA-PWl0XGs5.js} +1 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-Celbgz4u.js +1 -0
- package/console-app/assets/{swimlanes-SLNWSIFB-Dy7wDP1q.js → swimlanes-SLNWSIFB-CyXEtGBV.js} +1 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-zxpNaB4U.js +8 -0
- package/console-app/assets/{timeline-definition-Z64GVDOM-DSWXli8X.js → timeline-definition-Z64GVDOM-BLA-DhBt.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-CeWwcs9r.js → treeView-QDETBFTQ-Bfnmn2UY.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-BfrumiJh.js → treemap-6X3UGDF4-DTA0wveO.js} +1 -1
- package/console-app/assets/{vennDiagram-T6HMQDX7-BsuldZ1n.js → vennDiagram-T6HMQDX7-CLXYZln0.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-oZldxS8z.js → wardley-OPB4EBWU-zwxqisG0.js} +1 -1
- package/console-app/assets/{wardleyDiagram-T6FBY63Y-C5LXyHMj.js → wardleyDiagram-T6FBY63Y-hKtKvNlv.js} +1 -1
- package/console-app/assets/{xychartDiagram-ELKLHX3M-CwhqhNkO.js → xychartDiagram-ELKLHX3M-BGf8p4bo.js} +1 -1
- package/console-app/index.html +2 -2
- 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/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 +11 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
- 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 +7 -0
- 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 +27 -0
- 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 +1 -1
- 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 +59 -23
- 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/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -0
- 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 +7 -1
- package/dist/.pikku/schemas/schemas/DeployApplyInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricProjectsListInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricProjectsListOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricSecretsListInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsRotateInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsSetInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricVariablesGetInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricVariablesSetInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PersonaSecretInput.schema.json +1 -0
- package/dist/.pikku/scopes/index.d.ts +1 -1
- package/dist/.pikku/scopes/index.js +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/src/cli.wiring.js +13 -1
- package/dist/src/deploy/build-pipeline.d.ts +10 -0
- package/dist/src/deploy/build-pipeline.js +16 -1
- package/dist/src/deploy/bundler/bun-bundler.js +12 -5
- package/dist/src/deploy/frontend-assets.d.ts +50 -0
- package/dist/src/deploy/frontend-assets.js +82 -0
- package/dist/src/fabric/fabric-commands.d.ts +55 -15
- package/dist/src/fabric/fabric-commands.js +6 -0
- package/dist/src/fabric/functions/deploy.function.js +12 -2
- package/dist/src/fabric/functions/projects-list.function.d.ts +72 -0
- package/dist/src/fabric/functions/projects-list.function.js +63 -0
- package/dist/src/fabric/functions/secrets-list.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-list.function.js +4 -4
- package/dist/src/fabric/functions/secrets-rotate.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-rotate.function.js +8 -5
- package/dist/src/fabric/functions/secrets-set.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-set.function.js +4 -4
- package/dist/src/fabric/functions/validate.function.js +49 -24
- package/dist/src/fabric/functions/variables-get.function.d.ts +4 -4
- package/dist/src/fabric/functions/variables-get.function.js +4 -4
- package/dist/src/fabric/functions/variables-set.function.d.ts +4 -4
- package/dist/src/fabric/functions/variables-set.function.js +4 -4
- package/dist/src/fabric/lib/blank-comments.d.ts +21 -0
- package/dist/src/fabric/lib/blank-comments.js +71 -0
- package/dist/src/fabric/lib/blank-scenario-meta.d.ts +1 -0
- package/dist/src/fabric/lib/blank-scenario-meta.js +110 -0
- package/dist/src/fabric/lib/deployment.d.ts +26 -0
- package/dist/src/fabric/lib/deployment.js +35 -0
- package/dist/src/fabric/lib/stage.d.ts +19 -3
- package/dist/src/fabric/lib/stage.js +29 -6
- package/dist/src/functions/commands/db-reset.js +6 -2
- package/dist/src/functions/commands/deploy-apply.d.ts +10 -0
- package/dist/src/functions/commands/deploy-apply.js +8 -0
- package/dist/src/functions/commands/deploy-plan.js +1 -0
- package/dist/src/functions/commands/dev.js +18 -3
- package/dist/src/functions/commands/environment.d.ts +10 -0
- package/dist/src/functions/commands/environment.js +24 -0
- package/dist/src/functions/commands/persona.d.ts +18 -0
- package/dist/src/functions/commands/persona.js +41 -2
- package/dist/src/functions/commands/scenario-browser.d.ts +13 -5
- package/dist/src/functions/commands/serve-frontend.d.ts +11 -0
- package/dist/src/functions/commands/serve-frontend.js +17 -0
- package/dist/src/functions/commands/serve.js +16 -3
- package/dist/src/functions/db/annotation-parser.d.ts +8 -0
- package/dist/src/functions/db/annotation-parser.js +2 -0
- package/dist/src/functions/db/check-enums.d.ts +38 -0
- package/dist/src/functions/db/check-enums.js +103 -0
- package/dist/src/functions/db/db-codegen.js +35 -1
- package/dist/src/functions/db/postgres/postgres-introspector.d.ts +14 -0
- package/dist/src/functions/db/postgres/postgres-introspector.js +48 -0
- package/dist/src/functions/db/sqlite/sqlite-introspector.d.ts +3 -4
- package/dist/src/functions/db/sqlite/sqlite-introspector.js +5 -17
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.d.ts +9 -6
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +57 -30
- package/dist/src/server/actor-sign-in.d.ts +24 -1
- package/dist/src/server/actor-sign-in.js +45 -2
- package/dist/src/server/dev-server-runner.interface.d.ts +9 -0
- package/dist/src/server/node-server-runner.js +3 -0
- package/dist/src/server/server-ready.d.ts +6 -9
- package/dist/src/server/server-ready.js +6 -9
- package/dist/src/utils/frontend.d.ts +9 -0
- package/dist/src/utils/frontend.js +18 -0
- package/dist/src/utils/persona-credentials.d.ts +23 -2
- package/dist/src/utils/persona-credentials.js +55 -2
- package/dist/src/utils/pikku-cli-config.d.ts +14 -5
- package/dist/src/utils/pikku-cli-config.js +57 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/snippets.json +2 -2
- package/surface.json +101 -51
- package/console-app/assets/architecture-TIHT7OUA-D4Hj6824.js +0 -1
- package/console-app/assets/channel-09aKDzM0.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-C1KaR4pt.js +0 -1
- package/console-app/assets/classDiagram-JCYQIIEL-23nagJMi.js +0 -1
- package/console-app/assets/classDiagram-v2-OCEON4UE-23nagJMi.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-RyG54ZHy.js +0 -1
- package/console-app/assets/flowDiagram-UKHOOZJN-DNdfrnRg.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-DX4FqVY6.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-DdyOtX1l.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-CclC1sXF.js +0 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-I34jrzP0.js +0 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-C1PrPB0G.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.126
|
|
3
3
|
*/
|
|
4
4
|
import { addSchema } from '@pikku/core/schema';
|
|
5
5
|
import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
|
|
@@ -94,6 +94,10 @@ import * as FabricMetricsInput from './schemas/FabricMetricsInput.schema.json' w
|
|
|
94
94
|
addSchema('FabricMetricsInput', FabricMetricsInput);
|
|
95
95
|
import * as FabricMetricsOutput from './schemas/FabricMetricsOutput.schema.json' with { type: 'json' };
|
|
96
96
|
addSchema('FabricMetricsOutput', FabricMetricsOutput);
|
|
97
|
+
import * as FabricProjectsListInput from './schemas/FabricProjectsListInput.schema.json' with { type: 'json' };
|
|
98
|
+
addSchema('FabricProjectsListInput', FabricProjectsListInput);
|
|
99
|
+
import * as FabricProjectsListOutput from './schemas/FabricProjectsListOutput.schema.json' with { type: 'json' };
|
|
100
|
+
addSchema('FabricProjectsListOutput', FabricProjectsListOutput);
|
|
97
101
|
import * as FabricPublishInput from './schemas/FabricPublishInput.schema.json' with { type: 'json' };
|
|
98
102
|
addSchema('FabricPublishInput', FabricPublishInput);
|
|
99
103
|
import * as FabricPublishOutput from './schemas/FabricPublishOutput.schema.json' with { type: 'json' };
|
|
@@ -150,6 +154,8 @@ import * as LogoutInput from './schemas/LogoutInput.schema.json' with { type: 'j
|
|
|
150
154
|
addSchema('LogoutInput', LogoutInput);
|
|
151
155
|
import * as PersonaRunInput from './schemas/PersonaRunInput.schema.json' with { type: 'json' };
|
|
152
156
|
addSchema('PersonaRunInput', PersonaRunInput);
|
|
157
|
+
import * as PersonaSecretInput from './schemas/PersonaSecretInput.schema.json' with { type: 'json' };
|
|
158
|
+
addSchema('PersonaSecretInput', PersonaSecretInput);
|
|
153
159
|
import * as PersonaSyncInput from './schemas/PersonaSyncInput.schema.json' with { type: 'json' };
|
|
154
160
|
addSchema('PersonaSyncInput', PersonaSyncInput);
|
|
155
161
|
import * as PikkuAgentOutput from './schemas/PikkuAgentOutput.schema.json' with { type: 'json' };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "fromPlan": { "type": "boolean" }, "provider": { "type": "string" }, "runtime": { "type": "string" }, "resultFile": { "type": "string" }, "debugArtifacts": { "type": "boolean" } }, "additionalProperties": false, "definitions": {} }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "fromPlan": { "type": "boolean" }, "provider": { "type": "string" }, "runtime": { "type": "string" }, "desktop": { "type": "boolean" }, "desktopUrl": { "type": "string" }, "resultFile": { "type": "string" }, "debugArtifacts": { "type": "boolean" } }, "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "apiUrl": { "type": "string" } }, "additionalProperties": false }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "projects": { "type": "array", "items": { "type": "object", "properties": { "projectId": { "type": "string" }, "name": { "type": "string" }, "slug": { "type": "string" }, "status": { "type": "string" }, "productionBranch": { "type": "string" }, "gitRepoUrl": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "createdAt": { "type": "string" }, "linked": { "type": "boolean" } }, "required": ["projectId", "name", "slug", "status", "productionBranch", "gitRepoUrl", "createdAt", "linked"], "additionalProperties": false } } }, "required": ["projects"], "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "branch": { "type": "string" }, "json": { "type": "boolean" } }, "
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "branch": { "type": "string" }, "json": { "type": "boolean" } }, "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "branch": { "type": "string" }, "force": { "type": "boolean" } }, "
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "branch": { "type": "string" }, "force": { "type": "boolean" } }, "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "name": { "type": "string" }, "branch": { "type": "string" }, "value": { "type": "string" }, "force": { "type": "boolean" } }, "required": ["name"
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "name": { "type": "string" }, "branch": { "type": "string" }, "value": { "type": "string" }, "force": { "type": "boolean" } }, "required": ["name"], "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "name": { "type": "string" }, "branch": { "type": "string" }, "json": { "type": "boolean" } }, "required": ["name"
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "name": { "type": "string" }, "branch": { "type": "string" }, "json": { "type": "boolean" } }, "required": ["name"], "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "name": { "type": "string" }, "branch": { "type": "string" }, "value": { "type": "string" } }, "required": ["name", "
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "name": { "type": "string" }, "branch": { "type": "string" }, "value": { "type": "string" } }, "required": ["name", "value"], "additionalProperties": false }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "personas": { "type": "array", "items": { "type": "string" } } }, "additionalProperties": false, "definitions": {} }
|
|
@@ -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.126
|
|
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.126') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.126 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
|
|
16
16
|
}
|
|
17
17
|
} catch {}
|
|
18
18
|
}
|
package/dist/src/cli.wiring.js
CHANGED
|
@@ -35,7 +35,7 @@ import { validate, renderValidate } from './functions/commands/validate.js';
|
|
|
35
35
|
import { knowledgeValidate, renderKnowledgeValidate, } from './functions/commands/knowledge-validate.js';
|
|
36
36
|
import { knowledgeIndex, renderKnowledgeIndex, } from './functions/commands/knowledge-index.js';
|
|
37
37
|
import { scenarioRun, scenarioList } from './functions/commands/scenario.js';
|
|
38
|
-
import { personaList, personaRun } from './functions/commands/persona.js';
|
|
38
|
+
import { personaList, personaRun, personaSecret, } from './functions/commands/persona.js';
|
|
39
39
|
import { personaSync } from './functions/commands/persona-sync.js';
|
|
40
40
|
import { pikkuVersionsInit } from './functions/commands/versions-init.js';
|
|
41
41
|
import { pikkuEmailsInit } from './functions/commands/emails-init.js';
|
|
@@ -642,6 +642,11 @@ wireCLI({
|
|
|
642
642
|
func: personaList,
|
|
643
643
|
description: 'List the declared personas — who each one is, what they may do, and what they are trying to get done',
|
|
644
644
|
}),
|
|
645
|
+
secret: pikkuCLICommand({
|
|
646
|
+
func: personaSecret,
|
|
647
|
+
description: 'Mint the actor credential for a persona from SCENARIO_ACTOR_SECRET, bound to their address. Hand these to a run as PIKKU_PERSONA_SECRETS instead of the root, which is entitled to every persona. Names none, mints all.',
|
|
648
|
+
parameters: '[personas...]',
|
|
649
|
+
}),
|
|
645
650
|
},
|
|
646
651
|
},
|
|
647
652
|
fabric: {
|
|
@@ -909,6 +914,13 @@ wireCLI({
|
|
|
909
914
|
description: 'Server runtime for the standalone provider: node (bundle.js) or bun (compiled executable)',
|
|
910
915
|
default: 'node',
|
|
911
916
|
},
|
|
917
|
+
desktop: {
|
|
918
|
+
description: 'Also generate a desktop shell (src-tauri/) that runs the compiled binary as a sidecar. Requires --provider standalone --runtime bun, unless --desktop-url is given.',
|
|
919
|
+
default: false,
|
|
920
|
+
},
|
|
921
|
+
desktopUrl: {
|
|
922
|
+
description: 'Point the desktop shell at an already-deployed server instead of bundling one. Implies --desktop; nothing is shipped with the app.',
|
|
923
|
+
},
|
|
912
924
|
fromPlan: {
|
|
913
925
|
description: 'Skip build pipeline, deploy from existing plan output',
|
|
914
926
|
default: false,
|
|
@@ -52,6 +52,16 @@ export declare function runBuildPipeline(options: {
|
|
|
52
52
|
defaultTarget?: 'serverless' | 'server';
|
|
53
53
|
globalHTTPPrefix?: string;
|
|
54
54
|
getEntryContext: (unitDir: string, pikkuDir: string, unit: DeploymentManifest['units'][0], state: InspectorState) => unknown;
|
|
55
|
+
/**
|
|
56
|
+
* A built frontend to ship with the bundle, from the project's `frontend`
|
|
57
|
+
* config. Single-unit builds only — a decomposed deployment has no one unit
|
|
58
|
+
* that owns the origin the UI would be served from.
|
|
59
|
+
*/
|
|
60
|
+
frontend?: {
|
|
61
|
+
dir: string;
|
|
62
|
+
urlPrefix: string;
|
|
63
|
+
spaFallback: boolean;
|
|
64
|
+
};
|
|
55
65
|
deployDir?: string;
|
|
56
66
|
outDir?: string;
|
|
57
67
|
/** Emit sourcemaps + per-unit `metafile.json` (debug-only). Default false. */
|
|
@@ -11,6 +11,8 @@ import { PikkuError } from '@pikku/core/errors';
|
|
|
11
11
|
import { analyzeDeployment } from './analyzer/index.js';
|
|
12
12
|
import { withoutScenarios } from '../functions/wirings/scenarios/scenario-partition.js';
|
|
13
13
|
import { generatePerUnitCodegen } from './codegen/per-unit-codegen.js';
|
|
14
|
+
import { materializeFrontend } from './frontend-assets.js';
|
|
15
|
+
import { assertFrontendBuilt } from '../utils/frontend.js';
|
|
14
16
|
import { generateServerEntrySource, SERVER_DOCKERFILE, SERVER_DOCKERIGNORE, } from './server-entry.js';
|
|
15
17
|
/**
|
|
16
18
|
* A unit that failed codegen or bundling is an expected build outcome (the
|
|
@@ -100,7 +102,20 @@ export async function runBuildPipeline(options) {
|
|
|
100
102
|
const unitDir = join(providerDir, unitName);
|
|
101
103
|
const pikkuDir = options.outDir ?? join(projectDir, '.pikku');
|
|
102
104
|
await mkdir(unitDir, { recursive: true });
|
|
103
|
-
|
|
105
|
+
let frontendMount;
|
|
106
|
+
if (options.frontend) {
|
|
107
|
+
await assertFrontendBuilt(options.frontend.dir);
|
|
108
|
+
const keys = await materializeFrontend(options.frontend.dir, unitDir);
|
|
109
|
+
frontendMount = {
|
|
110
|
+
urlPrefix: options.frontend.urlPrefix,
|
|
111
|
+
spaFallback: options.frontend.spaFallback,
|
|
112
|
+
};
|
|
113
|
+
logger.info(`Frontend: ${keys.length} files from ${options.frontend.dir}`);
|
|
114
|
+
}
|
|
115
|
+
const ctx = {
|
|
116
|
+
...getEntryContext(unitDir, pikkuDir, singleUnit, inspectorState),
|
|
117
|
+
frontend: frontendMount,
|
|
118
|
+
};
|
|
104
119
|
const source = provider.generateEntrySource(ctx);
|
|
105
120
|
const entryPath = join(unitDir, 'entry.ts');
|
|
106
121
|
await writeFile(entryPath, source, 'utf-8');
|
|
@@ -96,11 +96,18 @@ export class BunBundler extends BaseBundler {
|
|
|
96
96
|
entrypoints: [input.entryPath],
|
|
97
97
|
target: input.platform === 'node' ? 'node' : 'browser',
|
|
98
98
|
format: input.format === 'cjs' ? 'cjs' : 'esm',
|
|
99
|
-
//
|
|
100
|
-
//
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
|
|
99
|
+
// keepNames matches the esbuild bundler, which has always set it. The
|
|
100
|
+
// error→status mapping survives renaming either way — it compares a
|
|
101
|
+
// class against an instance of the SAME consistently-renamed class —
|
|
102
|
+
// but `Function.name` reaches further than that: it is the name every
|
|
103
|
+
// error answers with on the wire, the one an unregistered error is
|
|
104
|
+
// matched by, and what appears in a stack trace someone has to read.
|
|
105
|
+
minify: {
|
|
106
|
+
whitespace: true,
|
|
107
|
+
syntax: true,
|
|
108
|
+
identifiers: true,
|
|
109
|
+
keepNames: true,
|
|
110
|
+
},
|
|
104
111
|
sourcemap: input.sourcemap ? 'external' : 'none',
|
|
105
112
|
define: input.define,
|
|
106
113
|
banner: input.bannerJs,
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Embed a built frontend into a `bun build --compile` binary.
|
|
3
|
+
*
|
|
4
|
+
* Bun embeds a file imported with `with { type: 'file' }` and hands back an
|
|
5
|
+
* opaque `/$bunfs/…` path at runtime. That attribute cannot be applied to a
|
|
6
|
+
* dynamic import, and there is no way to embed a directory, so each file needs
|
|
7
|
+
* its own literal `import` statement — hence a generated module rather than a
|
|
8
|
+
* walk at startup.
|
|
9
|
+
*
|
|
10
|
+
* esbuild rejects the attribute outright ("Importing with a type attribute of
|
|
11
|
+
* \"file\" is not supported"), so this module is kept out of the esbuild bundle
|
|
12
|
+
* as an external and is resolved by the later `bun build --compile` step, which
|
|
13
|
+
* follows the import from the emitted `bundle.js`.
|
|
14
|
+
*
|
|
15
|
+
* The manifest can only name files that already exist, which fixes the build
|
|
16
|
+
* order: frontend build → manifest generation → server bundle → compile.
|
|
17
|
+
*/
|
|
18
|
+
export declare const FRONTEND_ASSET_MANIFEST_FILE = "frontend-assets.gen.js";
|
|
19
|
+
/** Directory name the built frontend is copied to inside a deploy unit. */
|
|
20
|
+
export declare const FRONTEND_DIR_NAME = "frontend";
|
|
21
|
+
export interface FrontendAsset {
|
|
22
|
+
/** Mount-relative request path, POSIX-separated (`assets/app-a1b2c3.js`). */
|
|
23
|
+
key: string;
|
|
24
|
+
/** Absolute path of the built file. */
|
|
25
|
+
path: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Every file under `dir`, keyed by its path relative to it.
|
|
29
|
+
*
|
|
30
|
+
* Sorted by key: directory read order is not stable across filesystems, and the
|
|
31
|
+
* manifest feeds a build whose output should not change run to run.
|
|
32
|
+
*/
|
|
33
|
+
export declare function collectFrontendAssets(dir: string): Promise<FrontendAsset[]>;
|
|
34
|
+
/**
|
|
35
|
+
* The manifest module source, with specifiers relative to `manifestDir` — the
|
|
36
|
+
* directory the file itself is written to.
|
|
37
|
+
*/
|
|
38
|
+
export declare function generateFrontendAssetManifest(assets: FrontendAsset[], manifestDir: string): string;
|
|
39
|
+
/**
|
|
40
|
+
* Copy a built frontend into a deploy unit and write the manifest beside it.
|
|
41
|
+
*
|
|
42
|
+
* The copy comes first and the manifest is generated from the copy, not the
|
|
43
|
+
* source: the unit directory is what the bundle and the compile step see, and
|
|
44
|
+
* the machine that compiles has no reason to still hold the frontend's build
|
|
45
|
+
* tree. A stale copy is removed rather than merged into, so a file dropped
|
|
46
|
+
* from the frontend's output cannot survive into the next binary.
|
|
47
|
+
*
|
|
48
|
+
* Returns the keys that were embedded, in manifest order.
|
|
49
|
+
*/
|
|
50
|
+
export declare function materializeFrontend(frontendDir: string, unitDir: string): Promise<string[]>;
|