@pikku/cli 0.12.115 → 0.12.116
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 +260 -0
- package/console-app/assets/{abnfDiagram-N423BO3Z-Bltf5dmS.js → abnfDiagram-N423BO3Z-WNIAg_Oa.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-CIT-Nug2.js +1 -0
- package/console-app/assets/{architectureDiagram-T3A2C74G-BTtx6R7-.js → architectureDiagram-T3A2C74G-DM698mgf.js} +1 -1
- package/console-app/assets/{blockDiagram-VBNYF7ZC-DgeTIOaM.js → blockDiagram-VBNYF7ZC-DPfy9K5S.js} +1 -1
- package/console-app/assets/{c4Diagram-5PPSVZJV-CaswnNob.js → c4Diagram-5PPSVZJV-DhLbbBbX.js} +1 -1
- package/console-app/assets/channel-DQC6cL1c.js +1 -0
- package/console-app/assets/{chunk-2GRJ4B5K-OnpnkpQT.js → chunk-2GRJ4B5K-C1RQ1gvs.js} +1 -1
- package/console-app/assets/{chunk-4I5QYGJK-CWmfNXFr.js → chunk-4I5QYGJK-BkzSdNc_.js} +1 -1
- package/console-app/assets/{chunk-5RXB4S5H-M8QmKeuk.js → chunk-5RXB4S5H-DZpBpdcU.js} +1 -1
- package/console-app/assets/{chunk-6Q2QTUOP-C_h5lS68.js → chunk-6Q2QTUOP-mZObxdld.js} +1 -1
- package/console-app/assets/{chunk-7Z6QIM7H-DSnVb09k.js → chunk-7Z6QIM7H-C0HbxZEa.js} +1 -1
- package/console-app/assets/{chunk-GF5L2VYU-BkX038sq.js → chunk-GF5L2VYU-DXPVwWqW.js} +1 -1
- package/console-app/assets/{chunk-I66GZJ75-b3yMIljX.js → chunk-I66GZJ75-pVpq9ckD.js} +1 -1
- package/console-app/assets/{chunk-JQJVKLGR-Bihcz4nv.js → chunk-JQJVKLGR-DJQ8K4wK.js} +1 -1
- package/console-app/assets/{chunk-KBJHAD2P-CS7eflbk.js → chunk-KBJHAD2P-B8XuxRCO.js} +1 -1
- package/console-app/assets/{chunk-NSK5VX7P-CfigFGDQ.js → chunk-NSK5VX7P-cYzQU4bD.js} +1 -1
- package/console-app/assets/{chunk-QR6OTTB3-BBy8NfTW.js → chunk-QR6OTTB3-CNoTFsqn.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-BCfZVQef.js → chunk-RYQCIY6F-DoKRUO_N.js} +1 -1
- package/console-app/assets/{chunk-UBXNYLIW-DkMKDHW4.js → chunk-UBXNYLIW-BqcIoUpU.js} +1 -1
- package/console-app/assets/{chunk-W5SLKNZC-BSLytTSJ.js → chunk-W5SLKNZC-p0Qalbjj.js} +1 -1
- package/console-app/assets/{chunk-WRU74C26-Dic7ZP8H.js → chunk-WRU74C26-DUMn96Dr.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-Dgz5VbWO.js +1 -0
- package/console-app/assets/classDiagram-JCYQIIEL-1ASFocNV.js +1 -0
- package/console-app/assets/classDiagram-v2-OCEON4UE-1ASFocNV.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-CEpWcE3M.js → cose-bilkent-JH36ORCC-BCh3BlPI.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-irPiPhgz.js → cynefin-VYW2F7L2-ZfghUZsD.js} +1 -1
- package/console-app/assets/{cynefinDiagram-MW4NZA55-CIkqQ912.js → cynefinDiagram-MW4NZA55-DcV3QXCe.js} +1 -1
- package/console-app/assets/{dagre-FZyyw3H3.js → dagre-BPFWXLBN.js} +1 -1
- package/console-app/assets/{dagre-VZM6K2ZE-Dxnnu7Rh.js → dagre-VZM6K2ZE-DETshBO-.js} +1 -1
- package/console-app/assets/{diagram-7IWD3JNH-DaT47sVs.js → diagram-7IWD3JNH-CsLX3P2o.js} +1 -1
- package/console-app/assets/{diagram-B4RE2ZJO-Dmht03tx.js → diagram-B4RE2ZJO-o2zcxm5S.js} +1 -1
- package/console-app/assets/{diagram-LBJQPF4R-B--jwILh.js → diagram-LBJQPF4R-BD2zKU21.js} +1 -1
- package/console-app/assets/{diagram-Q27KOJAE-D9H0euUr.js → diagram-Q27KOJAE-DHaacyna.js} +1 -1
- package/console-app/assets/{diagram-UB23O5K3-DloUQ8tO.js → diagram-UB23O5K3-pSLCMUyV.js} +1 -1
- package/console-app/assets/{ebnfDiagram-BXEA7PRR-gaOXzNBU.js → ebnfDiagram-BXEA7PRR-BDzawX3O.js} +1 -1
- package/console-app/assets/{erDiagram-JOGREHBK-3X9eTLsh.js → erDiagram-JOGREHBK-CyYnPmbN.js} +1 -1
- package/console-app/assets/eventmodeling-45OFAUF4-BYJ0A5k-.js +1 -0
- package/console-app/assets/flowDiagram-UKHOOZJN-CVn87uiP.js +1 -0
- package/console-app/assets/{ganttDiagram-PKOTCBZU-khAFwSBy.js → ganttDiagram-PKOTCBZU-3fhCBbPA.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-Bb7uENmk.js → gitGraph-TEB2WS4Q-CdLRkVux.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-DS77QQ5N-OkSBM0h0.js → gitGraphDiagram-DS77QQ5N-CC1epdKw.js} +1 -1
- package/console-app/assets/{index-Bn1BoT3w.js → index-BRmokG9t.js} +184 -184
- package/console-app/assets/{index-suVNAhyL.css → index-GruDnAhJ.css} +1 -1
- package/console-app/assets/{info-DKCQHKI2-BH5dbX2B.js → info-DKCQHKI2-BJs8WkzC.js} +1 -1
- package/console-app/assets/{infoDiagram-6WML65LV-IbUl8J2C.js → infoDiagram-6WML65LV-uoOwoIeI.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-WSZJBQD7-CX0gA3de.js → ishikawaDiagram-WSZJBQD7-vCUJhwTi.js} +1 -1
- package/console-app/assets/{journeyDiagram-NVQOT4AX--k2etXu8.js → journeyDiagram-NVQOT4AX-D2QcIlLG.js} +1 -1
- package/console-app/assets/{kanban-definition-27J2QSJJ-D1FvtPpN.js → kanban-definition-27J2QSJJ-JwwKowmR.js} +1 -1
- package/console-app/assets/{line-JLMY_DDK.js → line-h2oRreYF.js} +1 -1
- package/console-app/assets/{linear-CSvLB3cd.js → linear-Dz002X_a.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-CwwjcAjz.js → mermaid-parser.core-DTgmT0AA.js} +3 -3
- package/console-app/assets/{mermaid.core-hmS_M4K5.js → mermaid.core-1jSEDr-j.js} +4 -4
- package/console-app/assets/{mindmap-definition-FAOFIHXS-rTDa_CTp.js → mindmap-definition-FAOFIHXS-C3Txxhj4.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-DBUJcYfI.js → packet-7NZHBO7P-BGG7zIK2.js} +1 -1
- package/console-app/assets/{pegDiagram-VL7TDLO6-D42PxXnS.js → pegDiagram-VL7TDLO6--g1r_rov.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-dM0uFAE4.js → pie-RZYD4A2V-C5OepMH7.js} +1 -1
- package/console-app/assets/{pieDiagram-7S7Q4E2Y-wCln1ucl.js → pieDiagram-7S7Q4E2Y-DGD_LzGm.js} +1 -1
- package/console-app/assets/{quadrantDiagram-CIZ2JOQS-DrRwS1g5.js → quadrantDiagram-CIZ2JOQS-CyBQQlD2.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-BW0V-EGR.js → radar-I7S5WNFK-CaBOAO95.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-FiTHaDbb.js → railroad-3IZDKUUU-2aTWN4Pw.js} +1 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-TU7k5gB_.js +1 -0
- package/console-app/assets/railroad-ebnf-EBAXGLYW-DbArPBkM.js +1 -0
- package/console-app/assets/railroad-peg-LSFZ7HO6-TzB93z4K.js +1 -0
- package/console-app/assets/{railroadDiagram-AXF67PYL-9ef7j5U7.js → railroadDiagram-AXF67PYL-3Nr0rlTp.js} +1 -1
- package/console-app/assets/{requirementDiagram-LRYGKXZP-Cu90DbEZ.js → requirementDiagram-LRYGKXZP-BN7sEwSa.js} +1 -1
- package/console-app/assets/{sankeyDiagram-W5VNT64P-Bhxmyxaw.js → sankeyDiagram-W5VNT64P-CXZR46wO.js} +1 -1
- package/console-app/assets/{sequenceDiagram-SI44F4Z6-CBsbRTz8.js → sequenceDiagram-SI44F4Z6-DNtmdJ4U.js} +1 -1
- package/console-app/assets/{src-BR8qR3lM.js → src-x1E3pJJ-.js} +1 -1
- package/console-app/assets/{stateDiagram-OKZ733FA-Dr0frETZ.js → stateDiagram-OKZ733FA-B_GyYdl_.js} +1 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-D7V_HITc.js +1 -0
- package/console-app/assets/{swimlanes-SLNWSIFB-CXMjvd_a.js → swimlanes-SLNWSIFB-D4N7VdF7.js} +1 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-C4XcIHKT.js +8 -0
- package/console-app/assets/{timeline-definition-Z64GVDOM-DpmEZPV0.js → timeline-definition-Z64GVDOM-DU5rsOWQ.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-CjmuinMk.js → treeView-QDETBFTQ-DaKM_9sB.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-BP_fU6Cn.js → treemap-6X3UGDF4-BabsKtZY.js} +1 -1
- package/console-app/assets/{vennDiagram-T6HMQDX7-DgZS7iuW.js → vennDiagram-T6HMQDX7-Dniftpq0.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-CgMPoouN.js → wardley-OPB4EBWU-BWffQNys.js} +1 -1
- package/console-app/assets/{wardleyDiagram-T6FBY63Y-6y-xxP1R.js → wardleyDiagram-T6FBY63Y-CQ74fVdn.js} +1 -1
- package/console-app/assets/{xychartDiagram-ELKLHX3M-DOeIQjYI.js → xychartDiagram-ELKLHX3M-D-XxbGIL.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 +42 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js +41 -0
- 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 +2 -19
- package/dist/.pikku/auth/pikku-auth-types.gen.js +2 -19
- 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 +10 -18
- package/dist/.pikku/channel/pikku-channel-types.gen.js +9 -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 +6 -6
- 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 +24 -23
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +8 -7
- package/dist/.pikku/cli/pikku-cli-types.gen.js +8 -7
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +51 -23
- 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 +36 -37
- package/dist/.pikku/function/pikku-function-types.gen.js +21 -9
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +34 -34
- 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 +7 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +5 -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 +11 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +5 -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 +33 -24
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js +29 -24
- 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 +3 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +3 -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 +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.d.ts +4 -0
- 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 +13 -1
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.js +4 -0
- 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 +3 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +3 -1
- package/dist/.pikku/schemas/register.gen.js +5 -5
- package/dist/.pikku/schemas/schemas/DocInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DocOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricDeployApplyInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricDeployApplyOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsRotateOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuSkillsInstallInput.schema.json +1 -1
- 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 +9 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +5 -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 +7 -19
- package/dist/.pikku/setup/pikku-setup-types.gen.js +11 -19
- 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 +5 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +5 -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 +9 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +5 -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 +29 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +8 -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 +21 -0
- package/dist/src/deploy/analyzer/analyzer.d.ts +1 -0
- package/dist/src/deploy/analyzer/analyzer.js +8 -6
- package/dist/src/deploy/build-pipeline.d.ts +1 -0
- package/dist/src/deploy/build-pipeline.js +1 -0
- package/dist/src/fabric/fabric-commands.d.ts +170 -54
- package/dist/src/fabric/fabric-commands.js +25 -20
- package/dist/src/fabric/functions/deploy.function.d.ts +246 -67
- package/dist/src/fabric/functions/deploy.function.js +316 -69
- package/dist/src/fabric/functions/init.function.js +1 -0
- package/dist/src/fabric/functions/link.function.js +4 -1
- package/dist/src/fabric/functions/secrets-rotate.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-rotate.function.js +2 -2
- package/dist/src/fabric/functions/validate.function.js +123 -0
- package/dist/src/fabric/lib/deployment.d.ts +107 -0
- package/dist/src/fabric/lib/deployment.js +264 -0
- package/dist/src/fabric/sdk/pikku-fetch.gen.d.ts +1 -1
- package/dist/src/fabric/sdk/pikku-fetch.gen.js +1 -1
- package/dist/src/fabric/sdk/pikku-rpc.gen.d.ts +4 -1
- package/dist/src/fabric/sdk/pikku-rpc.gen.js +4 -1
- package/dist/src/functions/commands/deploy-apply.js +1 -0
- package/dist/src/functions/commands/deploy-plan.js +1 -0
- package/dist/src/functions/commands/doc.d.ts +22 -0
- package/dist/src/functions/commands/doc.js +25 -0
- package/dist/src/functions/commands/skills.d.ts +3 -0
- package/dist/src/functions/commands/skills.js +4 -2
- package/dist/src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.d.ts +3 -2
- package/dist/src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.js +33 -10
- package/dist/src/functions/surface/build-surface-doc.d.ts +8 -1
- package/dist/src/functions/surface/build-surface-doc.js +21 -8
- package/dist/src/functions/surface/collect-snippets.d.ts +13 -0
- package/dist/src/functions/surface/collect-snippets.js +83 -0
- package/dist/src/functions/surface/collect-surface.d.ts +27 -1
- package/dist/src/functions/surface/collect-surface.js +323 -13
- package/dist/src/functions/surface/generate-surface-doc.js +40 -5
- package/dist/src/functions/surface/render-surface-doc.d.ts +12 -0
- package/dist/src/functions/surface/render-surface-doc.js +209 -0
- package/dist/src/functions/surface/surface-doc.types.d.ts +15 -2
- package/dist/src/functions/surface/surface-editorial.d.ts +6 -0
- package/dist/src/functions/surface/surface-editorial.js +22 -1
- package/dist/src/functions/wirings/agent/serialize-agent-types.js +41 -0
- package/dist/src/functions/wirings/agent/serialize-public-agent.js +1 -1
- package/dist/src/functions/wirings/auth/serialize-auth-guards.js +1 -18
- package/dist/src/functions/wirings/auth/serialize-auth-types.js +7 -0
- package/dist/src/functions/wirings/channels/serialize-channel-types.js +9 -17
- package/dist/src/functions/wirings/cli/serialize-cli-types.js +7 -6
- package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +1 -1
- package/dist/src/functions/wirings/functions/serialize-addon-refs.js +12 -0
- package/dist/src/functions/wirings/functions/serialize-function-types.js +23 -36
- package/dist/src/functions/wirings/http/serialize-http-types.js +6 -0
- package/dist/src/functions/wirings/mcp/serialize-mcp-types.js +10 -0
- package/dist/src/functions/wirings/middleware/serialize-middleware-types.js +32 -23
- package/dist/src/functions/wirings/queue/serialize-queue-types.js +2 -0
- package/dist/src/functions/wirings/scheduler/serialize-scheduler-types.js +2 -0
- package/dist/src/functions/wirings/secrets/serialize-secrets-types.js +8 -0
- package/dist/src/functions/wirings/setup/serialize-setup-types.d.ts +1 -1
- package/dist/src/functions/wirings/setup/serialize-setup-types.js +19 -19
- package/dist/src/functions/wirings/triggers/serialize-trigger-types.js +4 -0
- package/dist/src/functions/wirings/variables/serialize-variables-types.js +8 -0
- package/dist/src/functions/wirings/workflow/serialize-personas.js +4 -0
- package/dist/src/functions/wirings/workflow/serialize-scenario-types.js +12 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +28 -0
- package/dist/src/services.js +8 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -7
- package/snippets-meta.json +131 -0
- package/snippets.json +131 -0
- package/surface.json +7393 -458
- package/console-app/assets/architecture-TIHT7OUA-DgRqRaqo.js +0 -1
- package/console-app/assets/channel-37lNznWk.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-B1prMCvW.js +0 -1
- package/console-app/assets/classDiagram-JCYQIIEL-BDCX9ZLm.js +0 -1
- package/console-app/assets/classDiagram-v2-OCEON4UE-BDCX9ZLm.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-BarrKD55.js +0 -1
- package/console-app/assets/flowDiagram-UKHOOZJN-B6RiRjcD.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-lmUjOixE.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-ZjdA7OHp.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-VHSlvwI8.js +0 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-BSXWhCvf.js +0 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-BUdsPDKC.js +0 -8
- package/dist/.pikku/schemas/schemas/FabricDeployPlanInput.schema.json +0 -1
- package/dist/.pikku/schemas/schemas/FabricDeployPlanOutput.schema.json +0 -1
|
@@ -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.116
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Middleware type definitions and registration for all wirings
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { addTagMiddleware as addTagMiddlewareCore, addGlobalMiddleware as addGlobalMiddlewareCore, pikkuMiddleware as pikkuMiddlewareCore } from '@pikku/core/middleware';
|
|
8
8
|
import { addHTTPMiddleware as addHTTPMiddlewareCore } from '@pikku/core/http';
|
|
9
9
|
import { addChannelMiddleware as addChannelMiddlewareCore, } from '@pikku/core/channel';
|
|
10
|
-
export { cors } from '@pikku/core/middleware';
|
|
10
|
+
export { cors, authAPIKey, authBearer, authCookie } from '@pikku/core/middleware';
|
|
11
11
|
/**
|
|
12
12
|
* Factory function for creating middleware with tree-shaking support.
|
|
13
13
|
* Supports both direct function and configuration object syntax.
|
|
@@ -39,18 +39,7 @@ export const pikkuMiddleware = (middleware) => {
|
|
|
39
39
|
* Factory function for creating middleware factories
|
|
40
40
|
* Use this when your middleware needs configuration/input parameters
|
|
41
41
|
*
|
|
42
|
-
* @example
|
|
43
|
-
* ```typescript
|
|
44
|
-
* export const logMiddleware = pikkuMiddlewareFactory<LogOptions>(({
|
|
45
|
-
* message,
|
|
46
|
-
* level = 'info'
|
|
47
|
-
* }) => {
|
|
48
|
-
* return pikkuMiddleware(async ({ logger }, next) => {
|
|
49
|
-
* logger[level](message)
|
|
50
|
-
* await next()
|
|
51
|
-
* })
|
|
52
|
-
* })
|
|
53
|
-
* ```
|
|
42
|
+
* @example snippet: middlewareFactory
|
|
54
43
|
*/
|
|
55
44
|
export const pikkuMiddlewareFactory = (factory) => {
|
|
56
45
|
return factory;
|
|
@@ -70,8 +59,7 @@ export const addGlobalMiddleware = (middleware) => {
|
|
|
70
59
|
/**
|
|
71
60
|
* Tag-scoped middleware. Applies to any wiring that carries the matching tag.
|
|
72
61
|
*
|
|
73
|
-
* @example
|
|
74
|
-
* addTagMiddleware('admin', [adminMiddleware])
|
|
62
|
+
* @example snippet: tagMiddleware
|
|
75
63
|
*/
|
|
76
64
|
export const addTagMiddleware = (tag, middleware) => {
|
|
77
65
|
addTagMiddlewareCore(tag, middleware, null);
|
|
@@ -86,23 +74,40 @@ export const addTagMiddleware = (tag, middleware) => {
|
|
|
86
74
|
* @param routeOrMiddleware - Either a global middleware array or a route pattern string
|
|
87
75
|
* @param middleware - The middleware array to apply when a route pattern is specified
|
|
88
76
|
*
|
|
89
|
-
* @example
|
|
90
|
-
* ```typescript
|
|
91
|
-
* // Add global HTTP middleware
|
|
92
|
-
* addHTTPMiddleware([authMiddleware, loggingMiddleware])
|
|
93
|
-
*
|
|
94
|
-
* // Add route-specific middleware
|
|
95
|
-
* addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
|
|
96
|
-
* ```
|
|
77
|
+
* @example snippet: httpMiddleware
|
|
97
78
|
*/
|
|
98
79
|
export const addHTTPMiddleware = (routeOrMiddleware, middleware) => {
|
|
99
80
|
addHTTPMiddlewareCore(routeOrMiddleware, middleware);
|
|
100
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* Declares middleware for a channel — it runs around the connection and its
|
|
84
|
+
* messages rather than around a single request.
|
|
85
|
+
*
|
|
86
|
+
* @example snippet: channelMiddleware
|
|
87
|
+
*/
|
|
101
88
|
export const pikkuChannelMiddleware = (middleware) => {
|
|
102
89
|
return middleware;
|
|
103
90
|
};
|
|
91
|
+
/**
|
|
92
|
+
* Declares channel middleware that takes options, so one definition can be
|
|
93
|
+
* wired several times with different configuration.
|
|
94
|
+
*
|
|
95
|
+
* @example snippet: channelMiddlewareFactory
|
|
96
|
+
*/
|
|
104
97
|
export const pikkuChannelMiddlewareFactory = (factory) => {
|
|
105
98
|
return factory;
|
|
106
99
|
};
|
|
100
|
+
/**
|
|
101
|
+
* Attaches channel middleware to every channel carrying the given tag, so the
|
|
102
|
+
* channels themselves stay free of the wiring.
|
|
103
|
+
*
|
|
104
|
+
* @example snippet: addChannelMiddleware
|
|
105
|
+
*/
|
|
107
106
|
export const addChannelMiddleware = (tag, middleware) => addChannelMiddlewareCore(tag, middleware, null);
|
|
107
|
+
/**
|
|
108
|
+
* Declares middleware for an agent run — hooks around the model call, its tool
|
|
109
|
+
* calls and the run's state.
|
|
110
|
+
*
|
|
111
|
+
* @example snippet: agentMiddleware
|
|
112
|
+
*/
|
|
108
113
|
export const pikkuAgentMiddleware = (hooks) => hooks;
|
|
@@ -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.116
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Queue-specific type definitions for tree-shaking optimization
|
|
@@ -18,6 +18,8 @@ type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'sessio
|
|
|
18
18
|
* Workers process background jobs from queues.
|
|
19
19
|
*
|
|
20
20
|
* @param queueWorker - Queue worker definition with job handler
|
|
21
|
+
*
|
|
22
|
+
* @example snippet: wireQueue
|
|
21
23
|
*/
|
|
22
24
|
export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
|
|
23
25
|
export {};
|
|
@@ -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.116
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Queue-specific type definitions for tree-shaking optimization
|
|
@@ -10,6 +10,8 @@ import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
|
10
10
|
* Workers process background jobs from queues.
|
|
11
11
|
*
|
|
12
12
|
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*
|
|
14
|
+
* @example snippet: wireQueue
|
|
13
15
|
*/
|
|
14
16
|
export const wireQueueWorker = (queueWorker) => {
|
|
15
17
|
wireQueueWorkerCore(queueWorker);
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"FabricDbSchema": "FabricDbSchema",
|
|
5
5
|
"FabricDeployList": "FabricDeployList",
|
|
6
6
|
"FabricDeployUnits": "FabricDeployUnits",
|
|
7
|
-
"FabricDeployPlan": "FabricDeployPlan",
|
|
8
7
|
"FabricDeployApply": "FabricDeployApply",
|
|
9
8
|
"FabricDomainsAdd": "FabricDomainsAdd",
|
|
10
9
|
"FabricDomainsList": "FabricDomainsList",
|
|
@@ -41,6 +40,7 @@
|
|
|
41
40
|
"deployInfo": "deployInfo",
|
|
42
41
|
"deployPlan": "deployPlan",
|
|
43
42
|
"dev": "dev",
|
|
43
|
+
"doc": "doc",
|
|
44
44
|
"pikkuEmailsInit": "pikkuEmailsInit",
|
|
45
45
|
"enableRpc": "enableRpc",
|
|
46
46
|
"enableConsole": "enableConsole",
|
|
@@ -13,5 +13,9 @@ export type PersonaName = keyof typeof personaConfigs;
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const personaList: ResolvedPersona[];
|
|
15
15
|
export type AgentName = keyof AgentMap & string;
|
|
16
|
+
/**
|
|
17
|
+
* The personas this project declares, keyed by name — the `actors` a scenario
|
|
18
|
+
* step runs as.
|
|
19
|
+
*/
|
|
16
20
|
export type TypedPersonas = Record<PersonaName, ScenarioPersona<AgentName, FlattenedRPCMap>>;
|
|
17
21
|
export declare const createPersonas: (options: Omit<HttpPersonasConfig, "personas">) => TypedPersonas;
|
|
@@ -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.116
|
|
3
3
|
*/
|
|
4
4
|
import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
|
|
5
5
|
import type { PikkuWorkflowWire } from '@pikku/core/workflow';
|
|
@@ -94,6 +94,8 @@ export type PikkuScenarioHook<InputSchema extends StandardSchemaV1 | undefined =
|
|
|
94
94
|
* Declares a scenario hook. Returns the function verbatim — a hook is never
|
|
95
95
|
* registered, so this exists purely to give an inline hook a call site to be
|
|
96
96
|
* contextually typed from, the way every other pikku primitive is.
|
|
97
|
+
*
|
|
98
|
+
* @example snippet: scenarioHook
|
|
97
99
|
*/
|
|
98
100
|
export declare function pikkuScenarioHook<In = unknown, Ctx = unknown>(hook: PikkuFunctionScenario<In, void, Ctx>): PikkuFunctionScenario<In, void, Ctx>;
|
|
99
101
|
/**
|
|
@@ -101,6 +103,8 @@ export declare function pikkuScenarioHook<In = unknown, Ctx = unknown>(hook: Pik
|
|
|
101
103
|
* Steps run as actors over the REAL transport — `scenario.do(step, rpc,
|
|
102
104
|
* data, { actor: actors.yasser })` — so flows double as e2e tests and
|
|
103
105
|
* staged/production health checks (no state reset; scope what you create).
|
|
106
|
+
*
|
|
107
|
+
* @example snippet: scenarioBasics
|
|
104
108
|
*/
|
|
105
109
|
export declare function pikkuScenario<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuScenarioConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenario' | 'actors', PikkuFunctionScenario<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown>, InputSchema, OutputSchema>;
|
|
106
110
|
export declare function pikkuScenario<In, Out = unknown>(func: PikkuFunctionScenario<In, Out> | PikkuFunctionConfig<In, Out, 'scenario' | 'actors', PikkuFunctionScenario<In, Out>>): PikkuFunctionConfig<In, Out, 'scenario' | 'actors'>;
|
|
@@ -160,6 +164,8 @@ type PikkuFeatureConfig<Scenarios extends readonly unknown[]> = {
|
|
|
160
164
|
* ],
|
|
161
165
|
* })
|
|
162
166
|
* ```
|
|
167
|
+
*
|
|
168
|
+
* @example snippet: scenarioFeature
|
|
163
169
|
*/
|
|
164
170
|
export declare function pikkuFeature<const Scenarios extends readonly unknown[]>(config: PikkuFeatureConfig<Scenarios>): PikkuFeatureConfig<Scenarios>;
|
|
165
171
|
/**
|
|
@@ -243,6 +249,8 @@ type PikkuScenarioStepConfig<In, Out, HasActor extends boolean = false> = Omit<P
|
|
|
243
249
|
*
|
|
244
250
|
* Steps are deliberately NOT registered as RPCs: a browser-driving step must
|
|
245
251
|
* never be network-callable.
|
|
252
|
+
*
|
|
253
|
+
* @example snippet: scenarioStepDefinition
|
|
246
254
|
*/
|
|
247
255
|
export declare function pikkuScenarioStep<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuScenarioStepConfigWithSchema<InputSchema, OutputSchema, true> & {
|
|
248
256
|
actor: true;
|
|
@@ -284,6 +292,8 @@ type PikkuSubjectScenarioStepConfig<In, Out> = Omit<PikkuScenarioStepConfig<In,
|
|
|
284
292
|
*
|
|
285
293
|
* Local-test-only, and never in a virtual user's catalogue: a virtual user that
|
|
286
294
|
* could expire its own trial is manufacturing the outcome it exists to discover.
|
|
295
|
+
*
|
|
296
|
+
* @example snippet: platformStep
|
|
287
297
|
*/
|
|
288
298
|
export declare function pikkuPlatformScenarioStep<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuSubjectScenarioStepConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'scenarioStep', PikkuFunctionScenarioStep<InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'default'>, InputSchema, OutputSchema>;
|
|
289
299
|
export declare function pikkuPlatformScenarioStep<In, Out = unknown>(config: PikkuSubjectScenarioStepConfig<In, Out>): PikkuFunctionConfig<In, Out, 'scenarioStep'>;
|
|
@@ -301,6 +311,8 @@ export declare function pikkuPlatformScenarioStep<In, Out = unknown>(config: Pik
|
|
|
301
311
|
*
|
|
302
312
|
* Local-test-only, and never in a virtual user's catalogue: one that could
|
|
303
313
|
* invoke this would forge its own payment success.
|
|
314
|
+
*
|
|
315
|
+
* @example snippet: addonStep
|
|
304
316
|
*/
|
|
305
317
|
export declare function pikkuAddonScenarioStep<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuSubjectScenarioStepConfigWithSchema<InputSchema, OutputSchema> & {
|
|
306
318
|
addon: string;
|
|
@@ -11,6 +11,8 @@ export { postScenarioJson, readScenarioHttpResponse } from '@pikku/core/persona'
|
|
|
11
11
|
* Declares a scenario hook. Returns the function verbatim — a hook is never
|
|
12
12
|
* registered, so this exists purely to give an inline hook a call site to be
|
|
13
13
|
* contextually typed from, the way every other pikku primitive is.
|
|
14
|
+
*
|
|
15
|
+
* @example snippet: scenarioHook
|
|
14
16
|
*/
|
|
15
17
|
export function pikkuScenarioHook(hook) {
|
|
16
18
|
return hook;
|
|
@@ -41,6 +43,8 @@ export function pikkuScenario(func) {
|
|
|
41
43
|
* ],
|
|
42
44
|
* })
|
|
43
45
|
* ```
|
|
46
|
+
*
|
|
47
|
+
* @example snippet: scenarioFeature
|
|
44
48
|
*/
|
|
45
49
|
export function pikkuFeature(config) {
|
|
46
50
|
return config;
|
|
@@ -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.116
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Scheduler-specific type definitions for tree-shaking optimization
|
|
@@ -17,6 +17,8 @@ type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'sessio
|
|
|
17
17
|
* Tasks run based on cron expressions and are sessionless.
|
|
18
18
|
*
|
|
19
19
|
* @param task - Scheduled task definition with cron expression and handler
|
|
20
|
+
*
|
|
21
|
+
* @example snippet: wireScheduler
|
|
20
22
|
*/
|
|
21
23
|
export declare const wireScheduler: (task: SchedulerWiring) => void;
|
|
22
24
|
export {};
|
|
@@ -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.116
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Scheduler-specific type definitions for tree-shaking optimization
|
|
@@ -10,6 +10,8 @@ import { wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler';
|
|
|
10
10
|
* Tasks run based on cron expressions and are sessionless.
|
|
11
11
|
*
|
|
12
12
|
* @param task - Scheduled task definition with cron expression and handler
|
|
13
|
+
*
|
|
14
|
+
* @example snippet: wireScheduler
|
|
13
15
|
*/
|
|
14
16
|
export const wireScheduler = (task) => {
|
|
15
17
|
wireSchedulerCore(task);
|
|
@@ -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.116
|
|
3
3
|
*/
|
|
4
4
|
import { addSchema } from '@pikku/core/schema';
|
|
5
5
|
import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
|
|
@@ -26,6 +26,10 @@ import * as DeployPlanInput from './schemas/DeployPlanInput.schema.json' with {
|
|
|
26
26
|
addSchema('DeployPlanInput', DeployPlanInput);
|
|
27
27
|
import * as DevInput from './schemas/DevInput.schema.json' with { type: 'json' };
|
|
28
28
|
addSchema('DevInput', DevInput);
|
|
29
|
+
import * as DocInput from './schemas/DocInput.schema.json' with { type: 'json' };
|
|
30
|
+
addSchema('DocInput', DocInput);
|
|
31
|
+
import * as DocOutput from './schemas/DocOutput.schema.json' with { type: 'json' };
|
|
32
|
+
addSchema('DocOutput', DocOutput);
|
|
29
33
|
import * as FabricAddInput from './schemas/FabricAddInput.schema.json' with { type: 'json' };
|
|
30
34
|
addSchema('FabricAddInput', FabricAddInput);
|
|
31
35
|
import * as FabricAddOutput from './schemas/FabricAddOutput.schema.json' with { type: 'json' };
|
|
@@ -46,10 +50,6 @@ import * as FabricDeployListInput from './schemas/FabricDeployListInput.schema.j
|
|
|
46
50
|
addSchema('FabricDeployListInput', FabricDeployListInput);
|
|
47
51
|
import * as FabricDeployListOutput from './schemas/FabricDeployListOutput.schema.json' with { type: 'json' };
|
|
48
52
|
addSchema('FabricDeployListOutput', FabricDeployListOutput);
|
|
49
|
-
import * as FabricDeployPlanInput from './schemas/FabricDeployPlanInput.schema.json' with { type: 'json' };
|
|
50
|
-
addSchema('FabricDeployPlanInput', FabricDeployPlanInput);
|
|
51
|
-
import * as FabricDeployPlanOutput from './schemas/FabricDeployPlanOutput.schema.json' with { type: 'json' };
|
|
52
|
-
addSchema('FabricDeployPlanOutput', FabricDeployPlanOutput);
|
|
53
53
|
import * as FabricDeployUnitsInput from './schemas/FabricDeployUnitsInput.schema.json' with { type: 'json' };
|
|
54
54
|
addSchema('FabricDeployUnitsInput', FabricDeployUnitsInput);
|
|
55
55
|
import * as FabricDeployUnitsOutput from './schemas/FabricDeployUnitsOutput.schema.json' with { type: 'json' };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "topics": { "type": "array", "items": { "type": "string" } }, "ai": { "type": "boolean" }, "addon": { "type": "boolean" } }, "additionalProperties": false, "definitions": {} }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "text": { "type": "string" } }, "required": ["text"], "additionalProperties": false, "definitions": {} }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "branch": { "type": "string" }, "production": { "type": "boolean" }, "ref": { "type": "string" }, "
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "branch": { "type": "string" }, "production": { "type": "boolean" }, "ref": { "type": "string" }, "deploymentId": { "type": "string" }, "sync": { "type": "boolean" }, "autoApprove": { "type": "boolean" }, "allowDestructive": { "type": "boolean" }, "timeout": { "type": "number" }, "json": { "type": "boolean" } }, "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "projectId": { "type": "string" }, "branch": { "type": "string" }, "ref": { "type": "string" }, "
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "event": { "type": "string", "const": "result" }, "outcome": { "type": "string", "enum": ["queued", "succeeded", "failed", "blocked", "timeout"] }, "projectId": { "type": "string" }, "deploymentId": { "type": "string" }, "branch": { "type": "string" }, "ref": { "type": "string" }, "status": { "type": "string" }, "statusReason": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "stageId": { "type": "string" }, "runId": { "type": "string" }, "blockedReason": { "type": "string", "enum": ["awaiting_approval", "needs_config", "needs_attention", "unknown"] }, "missingSecrets": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "displayName": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "docsUrl": { "anyOf": [{ "type": "string" }, { "type": "null" }] } }, "required": ["name", "displayName", "description", "docsUrl"], "additionalProperties": false } }, "missingVariables": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "displayName": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "description": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "docsUrl": { "anyOf": [{ "type": "string" }, { "type": "null" }] } }, "required": ["name", "displayName", "description", "docsUrl"], "additionalProperties": false } }, "approvalWithheld": { "type": "string", "const": "destructive_migrations" }, "changes": { "type": "object", "properties": { "unitsAdded": { "type": "array", "items": { "type": "string" } }, "unitsRemoved": { "type": "array", "items": { "type": "string" } }, "handlersAdded": { "type": "array", "items": { "type": "string" } }, "handlersRemoved": { "type": "array", "items": { "type": "string" } }, "workflowsAdded": { "type": "array", "items": { "type": "string" } }, "workflowsRemoved": { "type": "array", "items": { "type": "string" } }, "workflowsChanged": { "type": "array", "items": { "type": "string" } }, "functionsAdded": { "type": "array", "items": { "type": "string" } }, "functionsRemoved": { "type": "array", "items": { "type": "string" } }, "secretsChanged": { "type": "array", "items": { "type": "string" } }, "variablesChanged": { "type": "array", "items": { "type": "string" } }, "pendingMigrations": { "type": "array", "items": { "type": "string" } }, "migrationRisks": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "level": { "type": "string", "enum": ["destructive", "safe"] }, "reasons": { "type": "array", "items": { "type": "string" } } }, "required": ["name", "level", "reasons"], "additionalProperties": false } } }, "required": ["unitsAdded", "unitsRemoved", "handlersAdded", "handlersRemoved", "workflowsAdded", "workflowsRemoved", "workflowsChanged", "functionsAdded", "functionsRemoved", "secretsChanged", "variablesChanged", "pendingMigrations", "migrationRisks"], "additionalProperties": false }, "workers": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "role": { "type": "string" }, "status": { "type": "string" } }, "required": ["name", "role", "status"], "additionalProperties": false } }, "url": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "approved": { "type": "boolean" }, "elapsedMs": { "type": "number" }, "timeoutSeconds": { "type": "number" } }, "required": ["event", "outcome", "projectId", "deploymentId"], "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "retiredKeyId": { "type": "string" } }, "required": ["retiredKeyId"], "additionalProperties": false }
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "retiredKeyId": { "anyOf": [{ "type": "string" }, { "type": "null" }] } }, "required": ["retiredKeyId"], "additionalProperties": false }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "agent": { "type": "string" }, "only": { "type": "string" }, "core": { "type": "boolean" }, "fabric": { "type": "boolean" }, "update": { "type": "boolean" } }, "additionalProperties": false, "definitions": {} }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "agent": { "type": "string" }, "only": { "type": "string" }, "core": { "type": "boolean" }, "fabric": { "type": "boolean" }, "client": { "type": "boolean" }, "update": { "type": "boolean" } }, "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.116
|
|
3
3
|
*/
|
|
4
4
|
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
5
|
import type { SecretService } from '@pikku/core/services';
|
|
@@ -11,7 +11,15 @@ import type { SecretService } from '@pikku/core/services';
|
|
|
11
11
|
* sidecar is not part of `#pikku/secrets`.
|
|
12
12
|
*/
|
|
13
13
|
import './pikku-secrets-meta.gen.json';
|
|
14
|
+
/**
|
|
15
|
+
* Every secret this project declares with `defineSecret`, keyed by name. It is
|
|
16
|
+
* what gives `secrets.getSecret('NAME')` a real type.
|
|
17
|
+
*/
|
|
14
18
|
export type CredentialsMap = {};
|
|
19
|
+
/**
|
|
20
|
+
* The `secrets` service as this project sees it: `getSecret('NAME')` resolves
|
|
21
|
+
* the value's type from `CredentialsMap` instead of returning `unknown`.
|
|
22
|
+
*/
|
|
15
23
|
export declare class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
16
24
|
constructor(secrets: SecretService);
|
|
17
25
|
}
|