@pikku/cli 0.12.115 → 0.12.117
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 +270 -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/src/utils/assert-single-core-version.js +63 -11
- 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.117
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Channel-specific type definitions for tree-shaking optimization
|
|
@@ -31,6 +31,8 @@ type ChannelWiring<ChannelData, Channel extends string> = CoreChannel<ChannelDat
|
|
|
31
31
|
* @template Out - Output type for connection response
|
|
32
32
|
* @param func - Function definition, either direct function or configuration object
|
|
33
33
|
* @returns The normalized configuration object
|
|
34
|
+
*
|
|
35
|
+
* @example snippet: channelLifecycle
|
|
34
36
|
*/
|
|
35
37
|
export declare const pikkuChannelConnectionFunc: <Out = unknown>(func: PikkuFunctionSessionless<void, Out, "channel" | "session" | "rpc"> | PikkuFunctionConfig<void, Out, "channel" | "session" | "rpc">) => PikkuFunctionConfig<void, Out, "channel" | "rpc" | "session">;
|
|
36
38
|
/**
|
|
@@ -39,6 +41,8 @@ export declare const pikkuChannelConnectionFunc: <Out = unknown>(func: PikkuFunc
|
|
|
39
41
|
*
|
|
40
42
|
* @param func - Function definition, either direct function or configuration object
|
|
41
43
|
* @returns The normalized configuration object
|
|
44
|
+
*
|
|
45
|
+
* @example snippet: channelLifecycle
|
|
42
46
|
*/
|
|
43
47
|
export declare const pikkuChannelDisconnectionFunc: (func: PikkuFunctionSessionless<void, void, "channel"> | PikkuFunctionConfig<void, void, "channel" | "session" | "rpc">) => PikkuFunctionConfig<void, void, "channel" | "rpc" | "session">;
|
|
44
48
|
/**
|
|
@@ -69,23 +73,7 @@ type PikkuChannelFuncConfigWithSchema<InputSchema extends StandardSchemaV1, Outp
|
|
|
69
73
|
* @param func - Function definition, either direct function or configuration object
|
|
70
74
|
* @returns The normalized configuration object
|
|
71
75
|
*
|
|
72
|
-
* @example
|
|
73
|
-
* ```typescript
|
|
74
|
-
* // Pattern 1: Using generic types
|
|
75
|
-
* const handleMessage = pikkuChannelFunc<{text: string}, {received: boolean}>({
|
|
76
|
-
* func: async (_services, { text }) => ({ received: true })
|
|
77
|
-
* })
|
|
78
|
-
*
|
|
79
|
-
* // Pattern 2: Using Zod schemas
|
|
80
|
-
* const messageInput = z.object({ text: z.string() })
|
|
81
|
-
* const messageOutput = z.object({ received: z.boolean() })
|
|
82
|
-
*
|
|
83
|
-
* const handleMessage = pikkuChannelFunc({
|
|
84
|
-
* input: messageInput,
|
|
85
|
-
* output: messageOutput,
|
|
86
|
-
* func: async (_services, { text }) => ({ received: true })
|
|
87
|
-
* })
|
|
88
|
-
* ```
|
|
76
|
+
* @example snippet: orderStatusChannel
|
|
89
77
|
*/
|
|
90
78
|
export declare function pikkuChannelFunc<InputSchema extends StandardSchemaV1, OutputSchema extends StandardSchemaV1 | undefined = undefined>(config: PikkuChannelFuncConfigWithSchema<InputSchema, OutputSchema>): PikkuFunctionConfig<InferSchemaOutput<InputSchema>, OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown, 'channel' | 'session' | 'rpc'>;
|
|
91
79
|
export declare function pikkuChannelFunc<In, Out = unknown>(func: PikkuFunctionSessionless<In, Out, 'channel' | 'session' | 'rpc'> | PikkuFunctionConfig<In, Out, 'channel' | 'session' | 'rpc'>): PikkuFunctionConfig<In, Out, 'channel' | 'session' | 'rpc'>;
|
|
@@ -95,6 +83,8 @@ export declare function pikkuChannelFunc<In, Out = unknown>(func: PikkuFunctionS
|
|
|
95
83
|
* @template ChannelData - Type of data associated with the channel
|
|
96
84
|
* @template Channel - String literal type for the channel name
|
|
97
85
|
* @param channel - Channel definition with connection, disconnection, and message handlers
|
|
86
|
+
*
|
|
87
|
+
* @example snippet: channelWiring
|
|
98
88
|
*/
|
|
99
89
|
export declare const wireChannel: <ChannelData, Channel extends string>(channel: ChannelWiring<ChannelData, Channel> & AssertHTTPWiringParams<ChannelData, Channel>) => void;
|
|
100
90
|
/**
|
|
@@ -104,6 +94,8 @@ export declare const wireChannel: <ChannelData, Channel extends string>(channel:
|
|
|
104
94
|
* @template T - Record of channel route handlers
|
|
105
95
|
* @param routes - The channel routes record
|
|
106
96
|
* @returns The same routes record (identity function for type safety)
|
|
97
|
+
*
|
|
98
|
+
* @example snippet: channelRoutes
|
|
107
99
|
*/
|
|
108
100
|
export declare function defineChannelRoutes<T extends Record<string, any>>(routes: T): T;
|
|
109
101
|
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.117
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Channel-specific type definitions for tree-shaking optimization
|
|
@@ -12,6 +12,8 @@ import { wireChannel as wireChannelCore, defineChannelRoutes as defineChannelRou
|
|
|
12
12
|
* @template Out - Output type for connection response
|
|
13
13
|
* @param func - Function definition, either direct function or configuration object
|
|
14
14
|
* @returns The normalized configuration object
|
|
15
|
+
*
|
|
16
|
+
* @example snippet: channelLifecycle
|
|
15
17
|
*/
|
|
16
18
|
export const pikkuChannelConnectionFunc = (func) => {
|
|
17
19
|
return typeof func === 'function' ? { func } : func;
|
|
@@ -22,6 +24,8 @@ export const pikkuChannelConnectionFunc = (func) => {
|
|
|
22
24
|
*
|
|
23
25
|
* @param func - Function definition, either direct function or configuration object
|
|
24
26
|
* @returns The normalized configuration object
|
|
27
|
+
*
|
|
28
|
+
* @example snippet: channelLifecycle
|
|
25
29
|
*/
|
|
26
30
|
export const pikkuChannelDisconnectionFunc = (func) => {
|
|
27
31
|
return typeof func === 'function' ? { func } : func;
|
|
@@ -35,6 +39,8 @@ export function pikkuChannelFunc(func) {
|
|
|
35
39
|
* @template ChannelData - Type of data associated with the channel
|
|
36
40
|
* @template Channel - String literal type for the channel name
|
|
37
41
|
* @param channel - Channel definition with connection, disconnection, and message handlers
|
|
42
|
+
*
|
|
43
|
+
* @example snippet: channelWiring
|
|
38
44
|
*/
|
|
39
45
|
export const wireChannel = (channel) => {
|
|
40
46
|
wireChannelCore(channel);
|
|
@@ -46,6 +52,8 @@ export const wireChannel = (channel) => {
|
|
|
46
52
|
* @template T - Record of channel route handlers
|
|
47
53
|
* @param routes - The channel routes record
|
|
48
54
|
* @returns The same routes record (identity function for type safety)
|
|
55
|
+
*
|
|
56
|
+
* @example snippet: channelRoutes
|
|
49
57
|
*/
|
|
50
58
|
export function defineChannelRoutes(routes) {
|
|
51
59
|
return defineChannelRoutesCore(routes);
|
package/dist/.pikku/cli/index.js
CHANGED
|
@@ -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.117
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -10,6 +10,7 @@ import { pikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
|
|
|
10
10
|
import { generateCommandHelp } from '@pikku/core/cli';
|
|
11
11
|
import { handleRawCLI } from '@pikku/core/cli/channel';
|
|
12
12
|
import { pikkuState, getSingletonServices, getCreateWireServices, } from '@pikku/core/state';
|
|
13
|
+
import { doc } from '../../src/functions/commands/doc.js';
|
|
13
14
|
import { all } from '../../src/functions/commands/all.js';
|
|
14
15
|
import { bootstrap } from '../../src/functions/commands/bootstrap.js';
|
|
15
16
|
import { pikkuAudit } from '../../src/functions/commands/audit.js';
|
|
@@ -52,7 +53,6 @@ import { FabricLink } from '../../src/fabric/functions/link.function.js';
|
|
|
52
53
|
import { FabricAddonVerify } from '../../src/fabric/functions/addon-verify.function.js';
|
|
53
54
|
import { FabricPublish } from '../../src/fabric/functions/publish.function.js';
|
|
54
55
|
import { FabricAdd } from '../../src/fabric/functions/add.function.js';
|
|
55
|
-
import { FabricDeployPlan } from '../../src/fabric/functions/deploy.function.js';
|
|
56
56
|
import { FabricDeployApply } from '../../src/fabric/functions/deploy.function.js';
|
|
57
57
|
import { FabricDeployList } from '../../src/fabric/functions/deploy-list.function.js';
|
|
58
58
|
import { FabricDeployUnits } from '../../src/fabric/functions/deploy-units.function.js';
|
|
@@ -240,6 +240,10 @@ wireChannel({
|
|
|
240
240
|
func: cliRaw,
|
|
241
241
|
middleware: [cliCloseOnComplete],
|
|
242
242
|
},
|
|
243
|
+
'doc': {
|
|
244
|
+
func: doc,
|
|
245
|
+
middleware: [cliCloseOnComplete],
|
|
246
|
+
},
|
|
243
247
|
'all': {
|
|
244
248
|
func: all,
|
|
245
249
|
middleware: [cliCloseOnComplete],
|
|
@@ -408,10 +412,6 @@ wireChannel({
|
|
|
408
412
|
func: FabricAdd,
|
|
409
413
|
middleware: [cliCloseOnComplete],
|
|
410
414
|
},
|
|
411
|
-
'fabric.deploy.plan': {
|
|
412
|
-
func: FabricDeployPlan,
|
|
413
|
-
middleware: [cliCloseOnComplete],
|
|
414
|
-
},
|
|
415
415
|
'fabric.deploy.apply': {
|
|
416
416
|
func: FabricDeployApply,
|
|
417
417
|
middleware: [cliCloseOnComplete],
|
|
@@ -153,24 +153,8 @@
|
|
|
153
153
|
"pikkuFuncId": "",
|
|
154
154
|
"positionals": [],
|
|
155
155
|
"options": {},
|
|
156
|
-
"description": "
|
|
156
|
+
"description": "Apply and inspect deploys for a named branch or production",
|
|
157
157
|
"subcommands": {
|
|
158
|
-
"plan": {
|
|
159
|
-
"pikkuFuncId": "FabricDeployPlan",
|
|
160
|
-
"positionals": [],
|
|
161
|
-
"options": {
|
|
162
|
-
"branch": {
|
|
163
|
-
"description": "Target branch to deploy",
|
|
164
|
-
"short": "b"
|
|
165
|
-
},
|
|
166
|
-
"production": {
|
|
167
|
-
"description": "Plan production (always main)",
|
|
168
|
-
"default": false
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"renderName": "renderDeployPlan",
|
|
172
|
-
"description": "Resolve the target ref and report what a deploy would do"
|
|
173
|
-
},
|
|
174
158
|
"apply": {
|
|
175
159
|
"pikkuFuncId": "FabricDeployApply",
|
|
176
160
|
"positionals": [],
|
|
@@ -183,17 +167,34 @@
|
|
|
183
167
|
"description": "Deploy production (always main)",
|
|
184
168
|
"default": false
|
|
185
169
|
},
|
|
186
|
-
"
|
|
187
|
-
"description": "
|
|
188
|
-
|
|
170
|
+
"ref": {
|
|
171
|
+
"description": "Deploy a specific ref instead of the branch head"
|
|
172
|
+
},
|
|
173
|
+
"deploymentId": {
|
|
174
|
+
"description": "Attach to an existing deployment instead of creating one (not with --branch/--production)"
|
|
175
|
+
},
|
|
176
|
+
"sync": {
|
|
177
|
+
"description": "Wait for the deployment to finish and exit non-zero unless it went live",
|
|
178
|
+
"default": false
|
|
179
|
+
},
|
|
180
|
+
"autoApprove": {
|
|
181
|
+
"description": "Answer the confirmation prompt and publish a plan parked at the approval gate",
|
|
182
|
+
"default": false
|
|
183
|
+
},
|
|
184
|
+
"allowDestructive": {
|
|
185
|
+
"description": "Approve a plan whose migrations drop or rewrite data (--auto-approve alone will not)",
|
|
186
|
+
"default": false
|
|
189
187
|
},
|
|
190
|
-
"
|
|
191
|
-
"description": "
|
|
188
|
+
"timeout": {
|
|
189
|
+
"description": "Seconds to wait under --sync (default 900)"
|
|
190
|
+
},
|
|
191
|
+
"json": {
|
|
192
|
+
"description": "Machine-readable output (NDJSON)",
|
|
192
193
|
"default": false
|
|
193
194
|
}
|
|
194
195
|
},
|
|
195
196
|
"renderName": "renderDeployApply",
|
|
196
|
-
"description": "Build + deploy a named branch or production (main)"
|
|
197
|
+
"description": "Build + deploy a named branch or production (main), or attach to an existing deployment"
|
|
197
198
|
},
|
|
198
199
|
"list": {
|
|
199
200
|
"pikkuFuncId": "FabricDeployList",
|
|
@@ -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.117
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
|
|
@@ -28,12 +28,7 @@ type PikkuCLIRender<Data, RequiredServices extends SingletonServices = Singleton
|
|
|
28
28
|
* @param render - Function that receives singleton services and data to render output
|
|
29
29
|
* @returns A CLI renderer configuration
|
|
30
30
|
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```typescript
|
|
33
|
-
* const myRenderer = pikkuCLIRender<MyData>(({ logger }, data) => {
|
|
34
|
-
* logger.info(data.message)
|
|
35
|
-
* })
|
|
36
|
-
* ```
|
|
31
|
+
* @example snippet: cliRenderer
|
|
37
32
|
*/
|
|
38
33
|
export declare const pikkuCLIRender: <Data, RequiredServices extends SingletonServices = SingletonServices>(render: (services: SingletonServices, data: Data) => void | Promise<void>) => PikkuCLIRender<Data, RequiredServices>;
|
|
39
34
|
/**
|
|
@@ -55,6 +50,8 @@ type CLIWiring<Commands extends Record<string, CoreCLICommandConfig<any, PikkuMi
|
|
|
55
50
|
* @template Commands - Type describing the command structure
|
|
56
51
|
* @template GlobalOptions - Type for global CLI options
|
|
57
52
|
* @param cli - CLI definition with program name, commands, and global options
|
|
53
|
+
*
|
|
54
|
+
* @example snippet: cliWiring
|
|
58
55
|
*/
|
|
59
56
|
export declare const wireCLI: <Commands extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>, GlobalOptions>(cli: CLIWiring<Commands, GlobalOptions>) => void;
|
|
60
57
|
/**
|
|
@@ -65,6 +62,8 @@ export declare const wireCLI: <Commands extends Record<string, CoreCLICommandCon
|
|
|
65
62
|
* @template Params - The parameters string literal type
|
|
66
63
|
* @param config - CLI command configuration
|
|
67
64
|
* @returns CLI command configuration with inferred types
|
|
65
|
+
*
|
|
66
|
+
* @example snippet: cliWiring
|
|
68
67
|
*/
|
|
69
68
|
export declare const pikkuCLICommand: <FuncConfig extends PikkuFunctionConfig<any, any, "cli" | "rpc" | "session">, Params extends string>(config: CLICommandConfig<FuncConfig, any, any, Params>) => CoreCLICommandConfig<FuncConfig, PikkuMiddleware, PikkuCLIRender<any>, string>;
|
|
70
69
|
/**
|
|
@@ -73,6 +72,8 @@ export declare const pikkuCLICommand: <FuncConfig extends PikkuFunctionConfig<an
|
|
|
73
72
|
* @template T - Record of CLI command configurations
|
|
74
73
|
* @param commands - The CLI commands record
|
|
75
74
|
* @returns The same commands record (identity function for type safety)
|
|
75
|
+
*
|
|
76
|
+
* @example snippet: cliCommandContract
|
|
76
77
|
*/
|
|
77
78
|
export declare const defineCLICommands: <T extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>>(commands: T) => T;
|
|
78
79
|
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.117
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
|
|
@@ -15,12 +15,7 @@ import { wireCLI as wireCLICore, defineCLICommands as defineCLICommandsCore } fr
|
|
|
15
15
|
* @param render - Function that receives singleton services and data to render output
|
|
16
16
|
* @returns A CLI renderer configuration
|
|
17
17
|
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* const myRenderer = pikkuCLIRender<MyData>(({ logger }, data) => {
|
|
21
|
-
* logger.info(data.message)
|
|
22
|
-
* })
|
|
23
|
-
* ```
|
|
18
|
+
* @example snippet: cliRenderer
|
|
24
19
|
*/
|
|
25
20
|
export const pikkuCLIRender = (render) => {
|
|
26
21
|
return render;
|
|
@@ -32,6 +27,8 @@ export const pikkuCLIRender = (render) => {
|
|
|
32
27
|
* @template Commands - Type describing the command structure
|
|
33
28
|
* @template GlobalOptions - Type for global CLI options
|
|
34
29
|
* @param cli - CLI definition with program name, commands, and global options
|
|
30
|
+
*
|
|
31
|
+
* @example snippet: cliWiring
|
|
35
32
|
*/
|
|
36
33
|
export const wireCLI = (cli) => {
|
|
37
34
|
wireCLICore(cli);
|
|
@@ -44,6 +41,8 @@ export const wireCLI = (cli) => {
|
|
|
44
41
|
* @template Params - The parameters string literal type
|
|
45
42
|
* @param config - CLI command configuration
|
|
46
43
|
* @returns CLI command configuration with inferred types
|
|
44
|
+
*
|
|
45
|
+
* @example snippet: cliWiring
|
|
47
46
|
*/
|
|
48
47
|
export const pikkuCLICommand = (config) => {
|
|
49
48
|
return config;
|
|
@@ -54,6 +53,8 @@ export const pikkuCLICommand = (config) => {
|
|
|
54
53
|
* @template T - Record of CLI command configurations
|
|
55
54
|
* @param commands - The CLI commands record
|
|
56
55
|
* @returns The same commands record (identity function for type safety)
|
|
56
|
+
*
|
|
57
|
+
* @example snippet: cliCommandContract
|
|
57
58
|
*/
|
|
58
59
|
export const defineCLICommands = (commands) => {
|
|
59
60
|
return defineCLICommandsCore(commands);
|
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
"pikku": {
|
|
4
4
|
"program": "pikku",
|
|
5
5
|
"commands": {
|
|
6
|
+
"doc": {
|
|
7
|
+
"pikkuFuncId": "doc",
|
|
8
|
+
"positionals": [
|
|
9
|
+
{
|
|
10
|
+
"name": "topics",
|
|
11
|
+
"required": false,
|
|
12
|
+
"variadic": true
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"options": {
|
|
16
|
+
"ai": {
|
|
17
|
+
"description": "Name the skill that teaches each door, for an agent deciding whether it needs to load one",
|
|
18
|
+
"default": false
|
|
19
|
+
},
|
|
20
|
+
"addon": {
|
|
21
|
+
"description": "Describe the addon surface instead of the application one",
|
|
22
|
+
"default": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"renderName": "renderDoc",
|
|
26
|
+
"description": "Print the API surface of the pikku installed here — the doors, what they export, and how each export is called",
|
|
27
|
+
"parameters": "[topics...]"
|
|
28
|
+
},
|
|
6
29
|
"all": {
|
|
7
30
|
"pikkuFuncId": "all",
|
|
8
31
|
"positionals": [],
|
|
@@ -764,24 +787,8 @@
|
|
|
764
787
|
"pikkuFuncId": "",
|
|
765
788
|
"positionals": [],
|
|
766
789
|
"options": {},
|
|
767
|
-
"description": "
|
|
790
|
+
"description": "Apply and inspect deploys for a named branch or production",
|
|
768
791
|
"subcommands": {
|
|
769
|
-
"plan": {
|
|
770
|
-
"pikkuFuncId": "FabricDeployPlan",
|
|
771
|
-
"positionals": [],
|
|
772
|
-
"options": {
|
|
773
|
-
"branch": {
|
|
774
|
-
"description": "Target branch to deploy",
|
|
775
|
-
"short": "b"
|
|
776
|
-
},
|
|
777
|
-
"production": {
|
|
778
|
-
"description": "Plan production (always main)",
|
|
779
|
-
"default": false
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
"renderName": "renderDeployPlan",
|
|
783
|
-
"description": "Resolve the target ref and report what a deploy would do"
|
|
784
|
-
},
|
|
785
792
|
"apply": {
|
|
786
793
|
"pikkuFuncId": "FabricDeployApply",
|
|
787
794
|
"positionals": [],
|
|
@@ -794,17 +801,34 @@
|
|
|
794
801
|
"description": "Deploy production (always main)",
|
|
795
802
|
"default": false
|
|
796
803
|
},
|
|
797
|
-
"
|
|
798
|
-
"description": "
|
|
799
|
-
"short": "m"
|
|
804
|
+
"ref": {
|
|
805
|
+
"description": "Deploy a specific ref instead of the branch head"
|
|
800
806
|
},
|
|
801
|
-
"
|
|
802
|
-
"description": "
|
|
807
|
+
"deploymentId": {
|
|
808
|
+
"description": "Attach to an existing deployment instead of creating one (not with --branch/--production)"
|
|
809
|
+
},
|
|
810
|
+
"sync": {
|
|
811
|
+
"description": "Wait for the deployment to finish and exit non-zero unless it went live",
|
|
812
|
+
"default": false
|
|
813
|
+
},
|
|
814
|
+
"autoApprove": {
|
|
815
|
+
"description": "Answer the confirmation prompt and publish a plan parked at the approval gate",
|
|
816
|
+
"default": false
|
|
817
|
+
},
|
|
818
|
+
"allowDestructive": {
|
|
819
|
+
"description": "Approve a plan whose migrations drop or rewrite data (--auto-approve alone will not)",
|
|
820
|
+
"default": false
|
|
821
|
+
},
|
|
822
|
+
"timeout": {
|
|
823
|
+
"description": "Seconds to wait under --sync (default 900)"
|
|
824
|
+
},
|
|
825
|
+
"json": {
|
|
826
|
+
"description": "Machine-readable output (NDJSON)",
|
|
803
827
|
"default": false
|
|
804
828
|
}
|
|
805
829
|
},
|
|
806
830
|
"renderName": "renderDeployApply",
|
|
807
|
-
"description": "Build + deploy a named branch or production (main)"
|
|
831
|
+
"description": "Build + deploy a named branch or production (main), or attach to an existing deployment"
|
|
808
832
|
},
|
|
809
833
|
"list": {
|
|
810
834
|
"pikkuFuncId": "FabricDeployList",
|
|
@@ -1529,6 +1553,10 @@
|
|
|
1529
1553
|
"description": "Install skills whose frontmatter includes installGroups: [fabric]",
|
|
1530
1554
|
"default": false
|
|
1531
1555
|
},
|
|
1556
|
+
"client": {
|
|
1557
|
+
"description": "Install skills whose frontmatter includes installGroups: [client]",
|
|
1558
|
+
"default": false
|
|
1559
|
+
},
|
|
1532
1560
|
"update": {
|
|
1533
1561
|
"description": "Overwrite existing skills if already installed",
|
|
1534
1562
|
"default": false
|