@pikku/cli 0.12.125 → 0.12.127
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 +231 -0
- package/console-app/assets/{abnfDiagram-N423BO3Z-B2suyn6i.js → abnfDiagram-N423BO3Z-BY2LM8wi.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-CWwmvxZF.js +1 -0
- package/console-app/assets/{architectureDiagram-T3A2C74G-BQ5Dfvpo.js → architectureDiagram-T3A2C74G-CeqjY3Kw.js} +1 -1
- package/console-app/assets/{blockDiagram-VBNYF7ZC-D4pVRDiF.js → blockDiagram-VBNYF7ZC-BW5174xj.js} +1 -1
- package/console-app/assets/{c4Diagram-5PPSVZJV-Da04jGpq.js → c4Diagram-5PPSVZJV-B7zXAFL0.js} +1 -1
- package/console-app/assets/channel-pOkwZ_Ot.js +1 -0
- package/console-app/assets/{chunk-2GRJ4B5K-CwODIPP4.js → chunk-2GRJ4B5K-BfRYzQ4t.js} +1 -1
- package/console-app/assets/{chunk-4I5QYGJK-Bep4akjR.js → chunk-4I5QYGJK-DBA7-Nu4.js} +1 -1
- package/console-app/assets/{chunk-5RXB4S5H-CGyCRU9L.js → chunk-5RXB4S5H-D03lNzwi.js} +1 -1
- package/console-app/assets/{chunk-6Q2QTUOP-D0IK0SMT.js → chunk-6Q2QTUOP-DloGRHJZ.js} +1 -1
- package/console-app/assets/{chunk-7Z6QIM7H-D12vS1jX.js → chunk-7Z6QIM7H-DH3uHtl2.js} +1 -1
- package/console-app/assets/{chunk-GF5L2VYU-kOLwTzIA.js → chunk-GF5L2VYU-Cu252lza.js} +1 -1
- package/console-app/assets/{chunk-I66GZJ75-Cb2nDoa3.js → chunk-I66GZJ75-DH54FcuO.js} +1 -1
- package/console-app/assets/{chunk-JQJVKLGR-B3a_ctfQ.js → chunk-JQJVKLGR-CeFuTL-V.js} +1 -1
- package/console-app/assets/{chunk-KBJHAD2P-DeP2Lqwp.js → chunk-KBJHAD2P-B-prFo0-.js} +1 -1
- package/console-app/assets/{chunk-NSK5VX7P-BO8vlGrO.js → chunk-NSK5VX7P-C10iA4GS.js} +1 -1
- package/console-app/assets/{chunk-QR6OTTB3-sX5V0Lok.js → chunk-QR6OTTB3-Cd8apAsA.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-DoCObEhk.js → chunk-RYQCIY6F-rfPUp2Fj.js} +1 -1
- package/console-app/assets/{chunk-UBXNYLIW-BndMXU5r.js → chunk-UBXNYLIW-D25wqJBc.js} +1 -1
- package/console-app/assets/{chunk-W5SLKNZC--VrZN8EC.js → chunk-W5SLKNZC-CJvxkxuK.js} +1 -1
- package/console-app/assets/{chunk-WRU74C26-DdS0mzXO.js → chunk-WRU74C26-B9Wju92P.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-BU_UP6f5.js +1 -0
- package/console-app/assets/classDiagram-JCYQIIEL-CLBKUuxj.js +1 -0
- package/console-app/assets/classDiagram-v2-OCEON4UE-CLBKUuxj.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-C5EnHkFn.js → cose-bilkent-JH36ORCC-CwA1VCP5.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-9irdkTt4.js → cynefin-VYW2F7L2-C_qsD7eR.js} +1 -1
- package/console-app/assets/{cynefinDiagram-MW4NZA55-DY19660c.js → cynefinDiagram-MW4NZA55-CkSLreFW.js} +1 -1
- package/console-app/assets/{dagre-VZM6K2ZE-BYFZSaSb.js → dagre-VZM6K2ZE-0ssqLoHs.js} +1 -1
- package/console-app/assets/{dagre-nXgDYqvf.js → dagre-WqgBlKb7.js} +1 -1
- package/console-app/assets/{diagram-7IWD3JNH-oDftiTp1.js → diagram-7IWD3JNH-DmRL3lmL.js} +1 -1
- package/console-app/assets/{diagram-B4RE2ZJO-Cbj-pPbH.js → diagram-B4RE2ZJO-Bsr9wG4I.js} +1 -1
- package/console-app/assets/{diagram-LBJQPF4R-Ch53oSKw.js → diagram-LBJQPF4R-DdMw1FSY.js} +1 -1
- package/console-app/assets/{diagram-Q27KOJAE-DA7K814v.js → diagram-Q27KOJAE-TPx5TB2B.js} +1 -1
- package/console-app/assets/{diagram-UB23O5K3-B-_C-ctS.js → diagram-UB23O5K3-e_1zSlZR.js} +1 -1
- package/console-app/assets/{ebnfDiagram-BXEA7PRR-DsOdsKXy.js → ebnfDiagram-BXEA7PRR-BACajh2b.js} +1 -1
- package/console-app/assets/{erDiagram-JOGREHBK-XB1mP5_A.js → erDiagram-JOGREHBK-CojomKqL.js} +1 -1
- package/console-app/assets/eventmodeling-45OFAUF4-DkN2KCrT.js +1 -0
- package/console-app/assets/flowDiagram-UKHOOZJN-DL0M9lBc.js +1 -0
- package/console-app/assets/{ganttDiagram-PKOTCBZU-knk0XSHi.js → ganttDiagram-PKOTCBZU-yoOX4Xj2.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-COJnK2tM.js → gitGraph-TEB2WS4Q-BcUY5hIc.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-DS77QQ5N-sF0v605q.js → gitGraphDiagram-DS77QQ5N-BtuIPjuB.js} +1 -1
- package/console-app/assets/{index-DMnbsgzs.js → index-CzWW052c.js} +151 -151
- package/console-app/assets/{info-DKCQHKI2-Cbatr0w6.js → info-DKCQHKI2-B-iR9PUz.js} +1 -1
- package/console-app/assets/{infoDiagram-6WML65LV-93TFPCu2.js → infoDiagram-6WML65LV-CuXKIFH2.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-WSZJBQD7-BBR8_Qms.js → ishikawaDiagram-WSZJBQD7-CSueMFD6.js} +1 -1
- package/console-app/assets/{journeyDiagram-NVQOT4AX-zG55yDoc.js → journeyDiagram-NVQOT4AX-kvnKStZp.js} +1 -1
- package/console-app/assets/{kanban-definition-27J2QSJJ-DonGcEAY.js → kanban-definition-27J2QSJJ-CGGDEz30.js} +1 -1
- package/console-app/assets/{line-D1WdVm1S.js → line-mtMM5-xO.js} +1 -1
- package/console-app/assets/{linear-D2GQL4Cm.js → linear-CLSje0O_.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-b4yKyO56.js → mermaid-parser.core-Cx6yvn3j.js} +3 -3
- package/console-app/assets/{mermaid.core-Cwfec1gr.js → mermaid.core-BebGyklS.js} +4 -4
- package/console-app/assets/{mindmap-definition-FAOFIHXS-D0G4yKgw.js → mindmap-definition-FAOFIHXS-C2_WUUJ9.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-DDa4HL2T.js → packet-7NZHBO7P-Dh5yNCA8.js} +1 -1
- package/console-app/assets/{pegDiagram-VL7TDLO6-fPdN5VZs.js → pegDiagram-VL7TDLO6-XgUxesi8.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-DRHURUqo.js → pie-RZYD4A2V-D2x2RAXI.js} +1 -1
- package/console-app/assets/{pieDiagram-7S7Q4E2Y-DMYn8ga_.js → pieDiagram-7S7Q4E2Y-Bbor0KbG.js} +1 -1
- package/console-app/assets/{quadrantDiagram-CIZ2JOQS-C190OamC.js → quadrantDiagram-CIZ2JOQS-DZmnMHpM.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-Djvqzz9A.js → radar-I7S5WNFK-CPeriDtN.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-C9YvFeFq.js → railroad-3IZDKUUU-2iKAyaie.js} +1 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-D26xz4MM.js +1 -0
- package/console-app/assets/railroad-ebnf-EBAXGLYW-CCAiMPWc.js +1 -0
- package/console-app/assets/railroad-peg-LSFZ7HO6-BA1zcisq.js +1 -0
- package/console-app/assets/{railroadDiagram-AXF67PYL-IRFg1VrU.js → railroadDiagram-AXF67PYL-DVEqCXoo.js} +1 -1
- package/console-app/assets/{requirementDiagram-LRYGKXZP-L-7ubbcT.js → requirementDiagram-LRYGKXZP-CSgSNL8p.js} +1 -1
- package/console-app/assets/{sankeyDiagram-W5VNT64P-DBttV6Gt.js → sankeyDiagram-W5VNT64P-CFk11odN.js} +1 -1
- package/console-app/assets/{sequenceDiagram-SI44F4Z6-Bg15oKAB.js → sequenceDiagram-SI44F4Z6-Cb5u6FsJ.js} +1 -1
- package/console-app/assets/{src-DUC7tLWb.js → src-LceHEY_Q.js} +1 -1
- package/console-app/assets/{stateDiagram-OKZ733FA-PWl0XGs5.js → stateDiagram-OKZ733FA-DM1jWlkU.js} +1 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-COVnPYic.js +1 -0
- package/console-app/assets/{swimlanes-SLNWSIFB-CyXEtGBV.js → swimlanes-SLNWSIFB-DD6MchlE.js} +1 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-B5q8iRCQ.js +8 -0
- package/console-app/assets/{timeline-definition-Z64GVDOM-BLA-DhBt.js → timeline-definition-Z64GVDOM-zu5cNnVv.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-Bfnmn2UY.js → treeView-QDETBFTQ-D_4IbvCG.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-DTA0wveO.js → treemap-6X3UGDF4-DNc6bjUc.js} +1 -1
- package/console-app/assets/{vennDiagram-T6HMQDX7-CLXYZln0.js → vennDiagram-T6HMQDX7-DfqoG28f.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-zwxqisG0.js → wardley-OPB4EBWU-BqpI2Lx-.js} +1 -1
- package/console-app/assets/{wardleyDiagram-T6FBY63Y-hKtKvNlv.js → wardleyDiagram-T6FBY63Y-CLIZSvNi.js} +1 -1
- package/console-app/assets/{xychartDiagram-ELKLHX3M-BGf8p4bo.js → xychartDiagram-ELKLHX3M-Cni-XXa6.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/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 +26 -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 +103 -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 +116 -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 +114 -21
- 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 +5 -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 +19 -1
- package/dist/.pikku/schemas/schemas/FabricFindingsClearInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricFindingsClearOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricFindingsFlushInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricFindingsFlushOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricFindingsListInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricFindingsListOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricReportInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricReportOutput.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 +6 -1
- package/dist/src/deploy/bundler/bun-bundler.js +12 -5
- package/dist/src/fabric/fabric-commands.d.ts +153 -15
- package/dist/src/fabric/fabric-commands.js +65 -0
- package/dist/src/fabric/functions/deploy.function.js +12 -2
- package/dist/src/fabric/functions/findings-clear.function.d.ts +12 -0
- package/dist/src/fabric/functions/findings-clear.function.js +17 -0
- package/dist/src/fabric/functions/findings-flush.function.d.ts +33 -0
- package/dist/src/fabric/functions/findings-flush.function.js +36 -0
- package/dist/src/fabric/functions/findings-list.function.d.ts +55 -0
- package/dist/src/fabric/functions/findings-list.function.js +52 -0
- package/dist/src/fabric/functions/report.function.d.ts +121 -0
- package/dist/src/fabric/functions/report.function.js +84 -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/finding-spool.d.ts +56 -0
- package/dist/src/fabric/lib/finding-spool.js +105 -0
- package/dist/src/fabric/lib/finding.d.ts +92 -0
- package/dist/src/fabric/lib/finding.js +156 -0
- package/dist/src/fabric/lib/report-environment.d.ts +53 -0
- package/dist/src/fabric/lib/report-environment.js +119 -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/dev.js +5 -1
- package/dist/src/functions/commands/environment.d.ts +5 -0
- package/dist/src/functions/commands/persona.d.ts +18 -0
- package/dist/src/functions/commands/persona.js +42 -2
- package/dist/src/functions/commands/scenario-browser.d.ts +13 -5
- package/dist/src/functions/commands/scenario.js +1 -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 +15 -0
- 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/validate/auth-plugin-checks.d.ts +1 -1
- package/dist/src/functions/validate/auth-plugin-checks.js +8 -5
- package/dist/src/functions/validate/persona-checks.js +8 -6
- package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +10 -5
- package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +1 -1
- package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +3 -3
- 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 +51 -27
- package/dist/src/server/actor-sign-in.d.ts +24 -1
- package/dist/src/server/actor-sign-in.js +45 -2
- package/dist/src/services.js +9 -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 +4 -4
- package/dist/src/utils/pikku-cli-config.js +30 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/snippets.json +1 -1
- package/surface.json +102 -52
- package/console-app/assets/architecture-TIHT7OUA-DmG0bXDT.js +0 -1
- package/console-app/assets/channel-BgCT5gon.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-EP2C9tTO.js +0 -1
- package/console-app/assets/classDiagram-JCYQIIEL-D9wGqB4J.js +0 -1
- package/console-app/assets/classDiagram-v2-OCEON4UE-D9wGqB4J.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-NKFCZ8Fj.js +0 -1
- package/console-app/assets/flowDiagram-UKHOOZJN-BpdPkmum.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-B3CYVW4p.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-DrZ2yF62.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-CWAmMyxd.js +0 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-Celbgz4u.js +0 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-zxpNaB4U.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.127
|
|
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.127') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.127 → ${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: {
|
|
@@ -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,
|
|
@@ -563,7 +563,7 @@ export declare const fabricCommands: {
|
|
|
563
563
|
subcommands: {
|
|
564
564
|
set: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
565
565
|
name: string;
|
|
566
|
-
branch
|
|
566
|
+
branch?: string | undefined;
|
|
567
567
|
value?: string | undefined;
|
|
568
568
|
force?: boolean | undefined;
|
|
569
569
|
}, {
|
|
@@ -571,7 +571,7 @@ export declare const fabricCommands: {
|
|
|
571
571
|
keyId: string;
|
|
572
572
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
573
573
|
name: string;
|
|
574
|
-
branch
|
|
574
|
+
branch?: string | undefined;
|
|
575
575
|
value?: string | undefined;
|
|
576
576
|
force?: boolean | undefined;
|
|
577
577
|
}, {
|
|
@@ -579,7 +579,7 @@ export declare const fabricCommands: {
|
|
|
579
579
|
keyId: string;
|
|
580
580
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
581
581
|
name: string;
|
|
582
|
-
branch
|
|
582
|
+
branch?: string | undefined;
|
|
583
583
|
value?: string | undefined;
|
|
584
584
|
force?: boolean | undefined;
|
|
585
585
|
}, {
|
|
@@ -587,7 +587,7 @@ export declare const fabricCommands: {
|
|
|
587
587
|
keyId: string;
|
|
588
588
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
589
589
|
list: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
590
|
-
branch
|
|
590
|
+
branch?: string | undefined;
|
|
591
591
|
json?: boolean | undefined;
|
|
592
592
|
}, {
|
|
593
593
|
secrets: {
|
|
@@ -595,7 +595,7 @@ export declare const fabricCommands: {
|
|
|
595
595
|
updatedAt: string;
|
|
596
596
|
}[];
|
|
597
597
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
598
|
-
branch
|
|
598
|
+
branch?: string | undefined;
|
|
599
599
|
json?: boolean | undefined;
|
|
600
600
|
}, {
|
|
601
601
|
secrets: {
|
|
@@ -603,7 +603,7 @@ export declare const fabricCommands: {
|
|
|
603
603
|
updatedAt: string;
|
|
604
604
|
}[];
|
|
605
605
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
606
|
-
branch
|
|
606
|
+
branch?: string | undefined;
|
|
607
607
|
json?: boolean | undefined;
|
|
608
608
|
}, {
|
|
609
609
|
secrets: {
|
|
@@ -612,17 +612,17 @@ export declare const fabricCommands: {
|
|
|
612
612
|
}[];
|
|
613
613
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
614
614
|
rotate: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
615
|
-
branch
|
|
615
|
+
branch?: string | undefined;
|
|
616
616
|
force?: boolean | undefined;
|
|
617
617
|
}, {
|
|
618
618
|
retiredKeyId: string | null;
|
|
619
619
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
620
|
-
branch
|
|
620
|
+
branch?: string | undefined;
|
|
621
621
|
force?: boolean | undefined;
|
|
622
622
|
}, {
|
|
623
623
|
retiredKeyId: string | null;
|
|
624
624
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
625
|
-
branch
|
|
625
|
+
branch?: string | undefined;
|
|
626
626
|
force?: boolean | undefined;
|
|
627
627
|
}, {
|
|
628
628
|
retiredKeyId: string | null;
|
|
@@ -634,29 +634,29 @@ export declare const fabricCommands: {
|
|
|
634
634
|
subcommands: {
|
|
635
635
|
set: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
636
636
|
name: string;
|
|
637
|
-
branch: string;
|
|
638
637
|
value: string;
|
|
638
|
+
branch?: string | undefined;
|
|
639
639
|
}, {
|
|
640
640
|
name: string;
|
|
641
641
|
success: boolean;
|
|
642
642
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
643
643
|
name: string;
|
|
644
|
-
branch: string;
|
|
645
644
|
value: string;
|
|
645
|
+
branch?: string | undefined;
|
|
646
646
|
}, {
|
|
647
647
|
name: string;
|
|
648
648
|
success: boolean;
|
|
649
649
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
650
650
|
name: string;
|
|
651
|
-
branch: string;
|
|
652
651
|
value: string;
|
|
652
|
+
branch?: string | undefined;
|
|
653
653
|
}, {
|
|
654
654
|
name: string;
|
|
655
655
|
success: boolean;
|
|
656
656
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
657
657
|
get: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
658
658
|
name: string;
|
|
659
|
-
branch
|
|
659
|
+
branch?: string | undefined;
|
|
660
660
|
json?: boolean | undefined;
|
|
661
661
|
}, {
|
|
662
662
|
name: string;
|
|
@@ -664,7 +664,7 @@ export declare const fabricCommands: {
|
|
|
664
664
|
value: unknown;
|
|
665
665
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
666
666
|
name: string;
|
|
667
|
-
branch
|
|
667
|
+
branch?: string | undefined;
|
|
668
668
|
json?: boolean | undefined;
|
|
669
669
|
}, {
|
|
670
670
|
name: string;
|
|
@@ -672,7 +672,7 @@ export declare const fabricCommands: {
|
|
|
672
672
|
value: unknown;
|
|
673
673
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
674
674
|
name: string;
|
|
675
|
-
branch
|
|
675
|
+
branch?: string | undefined;
|
|
676
676
|
json?: boolean | undefined;
|
|
677
677
|
}, {
|
|
678
678
|
name: string;
|
|
@@ -709,6 +709,144 @@ export declare const fabricCommands: {
|
|
|
709
709
|
}, {
|
|
710
710
|
count: number;
|
|
711
711
|
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
712
|
+
report: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
713
|
+
title?: string | undefined;
|
|
714
|
+
kind?: "product" | "harness" | undefined;
|
|
715
|
+
model?: string | undefined;
|
|
716
|
+
expected?: string | undefined;
|
|
717
|
+
actual?: string | undefined;
|
|
718
|
+
skill?: string | undefined;
|
|
719
|
+
passage?: string | undefined;
|
|
720
|
+
command?: string | undefined;
|
|
721
|
+
error?: string | undefined;
|
|
722
|
+
repro?: string | undefined;
|
|
723
|
+
workaround?: string | undefined;
|
|
724
|
+
proposal?: string | undefined;
|
|
725
|
+
tried?: string | undefined;
|
|
726
|
+
unresolved?: boolean | undefined;
|
|
727
|
+
area?: string | undefined;
|
|
728
|
+
surface?: "local" | "deployed" | "both" | undefined;
|
|
729
|
+
cost?: string | undefined;
|
|
730
|
+
run?: string | undefined;
|
|
731
|
+
deployTarget?: string | undefined;
|
|
732
|
+
stdin?: boolean | undefined;
|
|
733
|
+
}, {
|
|
734
|
+
sent: boolean;
|
|
735
|
+
spooled: boolean;
|
|
736
|
+
queued: number;
|
|
737
|
+
reason?: string | undefined;
|
|
738
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
739
|
+
title?: string | undefined;
|
|
740
|
+
kind?: "product" | "harness" | undefined;
|
|
741
|
+
model?: string | undefined;
|
|
742
|
+
expected?: string | undefined;
|
|
743
|
+
actual?: string | undefined;
|
|
744
|
+
skill?: string | undefined;
|
|
745
|
+
passage?: string | undefined;
|
|
746
|
+
command?: string | undefined;
|
|
747
|
+
error?: string | undefined;
|
|
748
|
+
repro?: string | undefined;
|
|
749
|
+
workaround?: string | undefined;
|
|
750
|
+
proposal?: string | undefined;
|
|
751
|
+
tried?: string | undefined;
|
|
752
|
+
unresolved?: boolean | undefined;
|
|
753
|
+
area?: string | undefined;
|
|
754
|
+
surface?: "local" | "deployed" | "both" | undefined;
|
|
755
|
+
cost?: string | undefined;
|
|
756
|
+
run?: string | undefined;
|
|
757
|
+
deployTarget?: string | undefined;
|
|
758
|
+
stdin?: boolean | undefined;
|
|
759
|
+
}, {
|
|
760
|
+
sent: boolean;
|
|
761
|
+
spooled: boolean;
|
|
762
|
+
queued: number;
|
|
763
|
+
reason?: string | undefined;
|
|
764
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
765
|
+
title?: string | undefined;
|
|
766
|
+
kind?: "product" | "harness" | undefined;
|
|
767
|
+
model?: string | undefined;
|
|
768
|
+
expected?: string | undefined;
|
|
769
|
+
actual?: string | undefined;
|
|
770
|
+
skill?: string | undefined;
|
|
771
|
+
passage?: string | undefined;
|
|
772
|
+
command?: string | undefined;
|
|
773
|
+
error?: string | undefined;
|
|
774
|
+
repro?: string | undefined;
|
|
775
|
+
workaround?: string | undefined;
|
|
776
|
+
proposal?: string | undefined;
|
|
777
|
+
tried?: string | undefined;
|
|
778
|
+
unresolved?: boolean | undefined;
|
|
779
|
+
area?: string | undefined;
|
|
780
|
+
surface?: "local" | "deployed" | "both" | undefined;
|
|
781
|
+
cost?: string | undefined;
|
|
782
|
+
run?: string | undefined;
|
|
783
|
+
deployTarget?: string | undefined;
|
|
784
|
+
stdin?: boolean | undefined;
|
|
785
|
+
}, {
|
|
786
|
+
sent: boolean;
|
|
787
|
+
spooled: boolean;
|
|
788
|
+
queued: number;
|
|
789
|
+
reason?: string | undefined;
|
|
790
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
791
|
+
findings: {
|
|
792
|
+
description: string;
|
|
793
|
+
subcommands: {
|
|
794
|
+
list: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<Record<string, never>, {
|
|
795
|
+
findings: {
|
|
796
|
+
title: string;
|
|
797
|
+
kind: string;
|
|
798
|
+
reason: string;
|
|
799
|
+
reportedAt: string;
|
|
800
|
+
projectId: string | null;
|
|
801
|
+
file: string;
|
|
802
|
+
}[];
|
|
803
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<Record<string, never>, {
|
|
804
|
+
findings: {
|
|
805
|
+
title: string;
|
|
806
|
+
kind: string;
|
|
807
|
+
reason: string;
|
|
808
|
+
reportedAt: string;
|
|
809
|
+
projectId: string | null;
|
|
810
|
+
file: string;
|
|
811
|
+
}[];
|
|
812
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<Record<string, never>, {
|
|
813
|
+
findings: {
|
|
814
|
+
title: string;
|
|
815
|
+
kind: string;
|
|
816
|
+
reason: string;
|
|
817
|
+
reportedAt: string;
|
|
818
|
+
projectId: string | null;
|
|
819
|
+
file: string;
|
|
820
|
+
}[];
|
|
821
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
822
|
+
flush: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
823
|
+
apiUrl?: string | undefined;
|
|
824
|
+
}, {
|
|
825
|
+
sent: number;
|
|
826
|
+
remaining: number;
|
|
827
|
+
reason?: string | undefined;
|
|
828
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
829
|
+
apiUrl?: string | undefined;
|
|
830
|
+
}, {
|
|
831
|
+
sent: number;
|
|
832
|
+
remaining: number;
|
|
833
|
+
reason?: string | undefined;
|
|
834
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
835
|
+
apiUrl?: string | undefined;
|
|
836
|
+
}, {
|
|
837
|
+
sent: number;
|
|
838
|
+
remaining: number;
|
|
839
|
+
reason?: string | undefined;
|
|
840
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
841
|
+
clear: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<Record<string, never>, {
|
|
842
|
+
dropped: number;
|
|
843
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<Record<string, never>, {
|
|
844
|
+
dropped: number;
|
|
845
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<Record<string, never>, {
|
|
846
|
+
dropped: number;
|
|
847
|
+
}, "rpc" | "session", import("../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>, import("../../.pikku/middleware/pikku-middleware-types.gen.js").PikkuMiddleware, (services: import("../../types/application-types.js").SingletonServices, data: any, session?: import("../../types/application-types.js").UserSession | undefined) => void | Promise<void>, string>;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
712
850
|
metrics: import("@pikku/core/cli").CoreCLICommandConfig<import("../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
713
851
|
branch: string;
|
|
714
852
|
hours?: number | undefined;
|
|
@@ -46,6 +46,10 @@ import { FabricValidate, renderValidate, } from './functions/validate.function.j
|
|
|
46
46
|
import { FabricSmoke, renderSmoke } from './functions/smoke.function.js';
|
|
47
47
|
import { FabricPublish } from './functions/publish.function.js';
|
|
48
48
|
import { FabricAdd } from './functions/add.function.js';
|
|
49
|
+
import { FabricReport } from './functions/report.function.js';
|
|
50
|
+
import { FabricFindingsList, renderFindingsList, } from './functions/findings-list.function.js';
|
|
51
|
+
import { FabricFindingsFlush } from './functions/findings-flush.function.js';
|
|
52
|
+
import { FabricFindingsClear } from './functions/findings-clear.function.js';
|
|
49
53
|
import { FabricAddonVerify, renderAddonVerify, } from './functions/addon-verify.function.js';
|
|
50
54
|
export const fabricCommands = defineCLICommands({
|
|
51
55
|
validate: pikkuCLICommand({
|
|
@@ -302,6 +306,67 @@ export const fabricCommands = defineCLICommands({
|
|
|
302
306
|
json: { description: 'Machine-readable output', default: false },
|
|
303
307
|
},
|
|
304
308
|
}),
|
|
309
|
+
report: pikkuCLICommand({
|
|
310
|
+
parameters: '[title]',
|
|
311
|
+
func: FabricReport,
|
|
312
|
+
description: 'Report a finding — something about pikku that cost time — to fabric',
|
|
313
|
+
options: {
|
|
314
|
+
stdin: {
|
|
315
|
+
description: 'Read the whole finding as JSON on stdin instead of from flags (prose survives the shell intact)',
|
|
316
|
+
default: false,
|
|
317
|
+
},
|
|
318
|
+
kind: {
|
|
319
|
+
description: 'product (fix pikku) or harness (fix the skill that misled you)',
|
|
320
|
+
},
|
|
321
|
+
model: { description: 'The model that hit this' },
|
|
322
|
+
expected: { description: 'What you expected pikku to do' },
|
|
323
|
+
actual: { description: 'What it did instead' },
|
|
324
|
+
skill: {
|
|
325
|
+
description: 'For a harness finding, the skill that misled you',
|
|
326
|
+
},
|
|
327
|
+
passage: { description: 'The passage in that skill it contradicts' },
|
|
328
|
+
command: { description: 'The command you ran' },
|
|
329
|
+
error: { description: "The error's message line, verbatim" },
|
|
330
|
+
repro: { description: 'The shortest way to reach it again' },
|
|
331
|
+
workaround: { description: 'What you did instead, inside the app' },
|
|
332
|
+
proposal: {
|
|
333
|
+
description: 'What pikku should do — named file and function, mechanism, suggested change',
|
|
334
|
+
},
|
|
335
|
+
tried: {
|
|
336
|
+
description: 'For an unresolved finding, what you tried and how each attempt failed',
|
|
337
|
+
},
|
|
338
|
+
unresolved: {
|
|
339
|
+
description: 'No workaround was found — a blocker, not a tax',
|
|
340
|
+
default: false,
|
|
341
|
+
},
|
|
342
|
+
area: { description: 'The part of pikku this is about' },
|
|
343
|
+
surface: { description: 'Where it showed up: local, deployed or both' },
|
|
344
|
+
cost: { description: 'What it cost, measured or estimated' },
|
|
345
|
+
run: { description: 'Run id, to group findings from one build' },
|
|
346
|
+
deployTarget: { description: 'The deploy target in use' },
|
|
347
|
+
},
|
|
348
|
+
}),
|
|
349
|
+
findings: {
|
|
350
|
+
description: 'Inspect the findings held locally because they could not be sent',
|
|
351
|
+
subcommands: {
|
|
352
|
+
list: pikkuCLICommand({
|
|
353
|
+
func: FabricFindingsList,
|
|
354
|
+
render: renderFindingsList,
|
|
355
|
+
description: 'List the findings queued locally, waiting to be sent',
|
|
356
|
+
}),
|
|
357
|
+
flush: pikkuCLICommand({
|
|
358
|
+
func: FabricFindingsFlush,
|
|
359
|
+
description: 'Send every finding queued locally',
|
|
360
|
+
options: {
|
|
361
|
+
apiUrl: { description: 'Override the fabric-api URL for this call' },
|
|
362
|
+
},
|
|
363
|
+
}),
|
|
364
|
+
clear: pikkuCLICommand({
|
|
365
|
+
func: FabricFindingsClear,
|
|
366
|
+
description: 'Discard every queued finding without sending it',
|
|
367
|
+
}),
|
|
368
|
+
},
|
|
369
|
+
},
|
|
305
370
|
metrics: pikkuCLICommand({
|
|
306
371
|
func: FabricMetrics,
|
|
307
372
|
description: 'Show request rate / error rate / latency for a stage',
|
|
@@ -5,7 +5,7 @@ import { getFabricRPC } from '../lib/http.js';
|
|
|
5
5
|
import { assertNamedBranchDeploySafety, resolveRef } from '../lib/git.js';
|
|
6
6
|
import { promptConfirm } from '../lib/prompt.js';
|
|
7
7
|
import { added, changed, removed, dim, table } from '../lib/output.js';
|
|
8
|
-
import { blockedReason, blockedSummary, missingConfigHints, changesAreEmpty, classifyStatus, describeDeployment, destructiveMigrations, isApprovable, readDeploymentStatus, readWorkers, stateLabel, waitForDeployment, } from '../lib/deployment.js';
|
|
8
|
+
import { blockedReason, blockedSummary, missingConfigHints, changesAreEmpty, classifyStatus, describeDeployment, destructiveMigrations, isApprovable, readDeploymentStatus, readWorkers, reconcileDeployedRef, stateLabel, waitForDeployment, } from '../lib/deployment.js';
|
|
9
9
|
const DEFAULT_TIMEOUT_SECONDS = 900;
|
|
10
10
|
export const FabricDeployInput = z.object({
|
|
11
11
|
branch: z.string().optional(),
|
|
@@ -181,7 +181,17 @@ export const FabricDeployApply = pikkuSessionlessFunc({
|
|
|
181
181
|
deploymentId = created.deploymentId;
|
|
182
182
|
stageId = created.stageId;
|
|
183
183
|
runId = created.runId;
|
|
184
|
-
|
|
184
|
+
// Read the commit back off the deployment rather than repeating the one
|
|
185
|
+
// that was asked for: `deployByStageKind` attaches to an already-parked
|
|
186
|
+
// plan for the branch instead of cutting a new one, and that plan is
|
|
187
|
+
// pinned to whatever commit it was created at.
|
|
188
|
+
ref = reconcileDeployedRef({
|
|
189
|
+
requested: resolved,
|
|
190
|
+
actual: (await describeDeployment(rpc, projectId, deploymentId))?.gitSha ??
|
|
191
|
+
null,
|
|
192
|
+
deploymentId,
|
|
193
|
+
});
|
|
194
|
+
emit({ event: 'created', deploymentId, branch, ref });
|
|
185
195
|
}
|
|
186
196
|
const base = {
|
|
187
197
|
event: 'result',
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FabricFindingsClearInput: z.ZodObject<{}, z.core.$strip>;
|
|
3
|
+
export declare const FabricFindingsClearOutput: z.ZodObject<{
|
|
4
|
+
dropped: z.ZodNumber;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const FabricFindingsClear: import("../../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<Record<string, never>, {
|
|
7
|
+
dropped: number;
|
|
8
|
+
}, "rpc" | "session", import("../../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<Record<string, never>, {
|
|
9
|
+
dropped: number;
|
|
10
|
+
}, "rpc" | "session", import("../../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<Record<string, never>, {
|
|
11
|
+
dropped: number;
|
|
12
|
+
}, "rpc" | "session", import("../../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { pikkuSessionlessFunc } from '../../../.pikku/function/index.js';
|
|
3
|
+
import { clearSpool } from '../lib/finding-spool.js';
|
|
4
|
+
export const FabricFindingsClearInput = z.object({});
|
|
5
|
+
export const FabricFindingsClearOutput = z.object({
|
|
6
|
+
dropped: z.number(),
|
|
7
|
+
});
|
|
8
|
+
export const FabricFindingsClear = pikkuSessionlessFunc({
|
|
9
|
+
description: 'Discard every finding queued locally without sending it.',
|
|
10
|
+
input: FabricFindingsClearInput,
|
|
11
|
+
output: FabricFindingsClearOutput,
|
|
12
|
+
func: async () => {
|
|
13
|
+
const dropped = await clearSpool();
|
|
14
|
+
console.log(`[fabric] dropped ${dropped} queued finding(s)`);
|
|
15
|
+
return { dropped };
|
|
16
|
+
},
|
|
17
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FabricFindingsFlushInput: z.ZodObject<{
|
|
3
|
+
apiUrl: z.ZodOptional<z.ZodString>;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export declare const FabricFindingsFlushOutput: z.ZodObject<{
|
|
6
|
+
sent: z.ZodNumber;
|
|
7
|
+
remaining: z.ZodNumber;
|
|
8
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
/**
|
|
11
|
+
* Explicitly asked for, so unlike `report` this one says plainly that it
|
|
12
|
+
* cannot run: someone who typed `flush` wants to know the login is missing,
|
|
13
|
+
* not to have the queue quietly stay put.
|
|
14
|
+
*/
|
|
15
|
+
export declare const FabricFindingsFlush: import("../../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
16
|
+
apiUrl?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
sent: number;
|
|
19
|
+
remaining: number;
|
|
20
|
+
reason?: string | undefined;
|
|
21
|
+
}, "rpc" | "session", import("../../../.pikku/function/pikku-function-types.gen.js").PikkuFunctionSessionless<{
|
|
22
|
+
apiUrl?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
sent: number;
|
|
25
|
+
remaining: number;
|
|
26
|
+
reason?: string | undefined;
|
|
27
|
+
}, "rpc" | "session", import("../../../.pikku/function/pikku-function-types.gen.js").WiredServices, unknown> | import("../../../.pikku/function/pikku-function-types.gen.js").PikkuFunction<{
|
|
28
|
+
apiUrl?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
sent: number;
|
|
31
|
+
remaining: number;
|
|
32
|
+
reason?: string | undefined;
|
|
33
|
+
}, "rpc" | "session", import("../../../.pikku/function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>;
|