@pikku/cli 0.12.156 → 0.12.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/console-app/assets/{HelpPanel-DaE02BQE.js → HelpPanel-C06T226y.js} +1 -1
- package/console-app/assets/{abnfDiagram-VCTEODGH-CExRuljg.js → abnfDiagram-VCTEODGH-BVwdT3Es.js} +1 -1
- package/console-app/assets/architecture-7GRP2DOG-3y7bWtag.js +1 -0
- package/console-app/assets/{architectureDiagram-5GKGNRK7-uKjmdPIQ.js → architectureDiagram-5GKGNRK7-XfzqZ3mW.js} +1 -1
- package/console-app/assets/{blockDiagram-I7D4REHJ-DNgIFbT4.js → blockDiagram-I7D4REHJ-B5omSqDK.js} +1 -1
- package/console-app/assets/{c4Diagram-7LVT6UL2-0vP9sLld.js → c4Diagram-7LVT6UL2-DkPe7xCg.js} +1 -1
- package/console-app/assets/channel-CTiluQVw.js +1 -0
- package/console-app/assets/{chunk-4HAMMTFA-BJ59eqJI.js → chunk-4HAMMTFA-QfSXT_X7.js} +1 -1
- package/console-app/assets/{chunk-75Z2AOVW-Bge6xoqX.js → chunk-75Z2AOVW-h7UnPWNo.js} +1 -1
- package/console-app/assets/{chunk-DU6HZSFF-CkmYNhC5.js → chunk-DU6HZSFF-VaMy-LOI.js} +1 -1
- package/console-app/assets/{chunk-F27PBJKO-C44ef28t.js → chunk-F27PBJKO-toywqOqS.js} +1 -1
- package/console-app/assets/{chunk-GMAD6QVW-Bmqdx1l0.js → chunk-GMAD6QVW-Cpa-YKLB.js} +1 -1
- package/console-app/assets/{chunk-GVQU2GXP-AQp_KNx4.js → chunk-GVQU2GXP-BWSHPLNL.js} +1 -1
- package/console-app/assets/{chunk-IMKFNOWR-Ca3GoHnO.js → chunk-IMKFNOWR-yhQzfQuj.js} +1 -1
- package/console-app/assets/{chunk-L3NEJ4N5-C_GhayZt.js → chunk-L3NEJ4N5-C8pAfDlo.js} +1 -1
- package/console-app/assets/{chunk-OSK3NFVY-DGzfF4JV.js → chunk-OSK3NFVY-749yk2fa.js} +1 -1
- package/console-app/assets/{chunk-P2QGCYS3-N8xMDiFw.js → chunk-P2QGCYS3-C1Y9GyYT.js} +1 -1
- package/console-app/assets/{chunk-POPQ4Y6H-CdhIikwj.js → chunk-POPQ4Y6H-DzI9aRsX.js} +1 -1
- package/console-app/assets/{chunk-PWAF6VOD-CdTJmOYg.js → chunk-PWAF6VOD-D3fAPSwz.js} +1 -1
- package/console-app/assets/{chunk-SHT3W25Y-Ctj8zSAF.js → chunk-SHT3W25Y-D9w7LzM9.js} +1 -1
- package/console-app/assets/{chunk-SVP7TREG-DTNKveWo.js → chunk-SVP7TREG-D55MjOJw.js} +1 -1
- package/console-app/assets/{chunk-TICWLB2K-Df6e0LIf.js → chunk-TICWLB2K-DV8q7H-z.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-DBtYQykd.js +1 -0
- package/console-app/assets/classDiagram-ZZMXUADV-BnWa-i9n.js +1 -0
- package/console-app/assets/classDiagram-v2-VYDZK3BY-BnWa-i9n.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-DBd_emhQ.js → cose-bilkent-JH36ORCC-CLedPW9a.js} +1 -1
- package/console-app/assets/{cynefin-OW5HDTMX-3aBVpBMI.js → cynefin-OW5HDTMX-CS5NKw2p.js} +1 -1
- package/console-app/assets/{cynefinDiagram-5FMLGOSQ-5BZzBehJ.js → cynefinDiagram-5FMLGOSQ-DGTHW90E.js} +1 -1
- package/console-app/assets/{dagre-DATELzSq.js → dagre-BNQdos_2.js} +1 -1
- package/console-app/assets/{dagre-GXQ25YYZ-orKIUXIt.js → dagre-GXQ25YYZ-DHZ8wtwQ.js} +1 -1
- package/console-app/assets/{diagram-S7CK7UJ4-CwwxVQ_N.js → diagram-S7CK7UJ4-C41Begsy.js} +1 -1
- package/console-app/assets/{diagram-UQ7AKVKN-CcEJxIEU.js → diagram-UQ7AKVKN-CU8D-sRT.js} +1 -1
- package/console-app/assets/{diagram-VSXAHHWV-DGfXNB6v.js → diagram-VSXAHHWV-DTTiXYnQ.js} +1 -1
- package/console-app/assets/{diagram-VX7I27RA-Kqkord1q.js → diagram-VX7I27RA-BBy91pxm.js} +1 -1
- package/console-app/assets/{diagram-Z3DM3KII-Dy5rfOxu.js → diagram-Z3DM3KII-D50xTYe5.js} +1 -1
- package/console-app/assets/{ebnfDiagram-PWID7BFC-y1bmj1ry.js → ebnfDiagram-PWID7BFC-BHjnFZgE.js} +1 -1
- package/console-app/assets/{erDiagram-RLTQ6QDP-CNk_w5Ib.js → erDiagram-RLTQ6QDP-B4-yVo9b.js} +1 -1
- package/console-app/assets/eventmodeling-NTZA5JFV-C_IpFSCw.js +1 -0
- package/console-app/assets/flowDiagram-HODETNUW-Q90rgVpx.js +1 -0
- package/console-app/assets/{ganttDiagram-EL5Y4UJY-DdVaRGRy.js → ganttDiagram-EL5Y4UJY-D1T-2BlO.js} +1 -1
- package/console-app/assets/{gitGraph-4MIJSDKK-DpSAepQv.js → gitGraph-4MIJSDKK-ClqKTUfQ.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-WWUBYQGX-CIhGnwZW.js → gitGraphDiagram-WWUBYQGX-ruq2MAhM.js} +1 -1
- package/console-app/assets/{graphlib-CRp93vEd.js → graphlib-D-vLYPdw.js} +1 -1
- package/console-app/assets/{index-B34OoL_f.js → index-BIEZPuyK.js} +5 -5
- package/console-app/assets/{info-A6RAGUB7-DckDPZ56.js → info-A6RAGUB7-BGI-8HNB.js} +1 -1
- package/console-app/assets/{infoDiagram-27XIBGKW-DMk6mpjP.js → infoDiagram-27XIBGKW-BGURgKHv.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-5VMMS53U-Dqr5CEc9.js → ishikawaDiagram-5VMMS53U-DzgAaPTR.js} +1 -1
- package/console-app/assets/{journeyDiagram-3NMN7TZE-Kv0orI9j.js → journeyDiagram-3NMN7TZE-BsyWad8z.js} +1 -1
- package/console-app/assets/{kanban-definition-UXKFOSKX-BrYb0IpS.js → kanban-definition-UXKFOSKX-g1nO2rWF.js} +1 -1
- package/console-app/assets/{line-D2jQ449E.js → line-CeFoQ5y-.js} +1 -1
- package/console-app/assets/{linear-BKu0S9-y.js → linear-C4Pk-YMX.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-DhWf8x6B.js → mermaid-parser.core-U7wquvx8.js} +3 -3
- package/console-app/assets/{mermaid.core-RkgzUTr1.js → mermaid.core-8TRpFRm9.js} +4 -4
- package/console-app/assets/{mindmap-definition-YA3MSWOX-BKATx3X1.js → mindmap-definition-YA3MSWOX-C7lzwqBX.js} +1 -1
- package/console-app/assets/{packet-AYTQ26CC-Dek-5xov.js → packet-AYTQ26CC-DiQV_rU3.js} +1 -1
- package/console-app/assets/{pegDiagram-XKGWAZYB-CkEJ5MeF.js → pegDiagram-XKGWAZYB-63ajP7-W.js} +1 -1
- package/console-app/assets/{pie-WAS4IAKB-BIoN9DHQ.js → pie-WAS4IAKB-B5q_o6dr.js} +1 -1
- package/console-app/assets/{pieDiagram-E7YTZNPT-CEPQgMPk.js → pieDiagram-E7YTZNPT-BTbvj-by.js} +1 -1
- package/console-app/assets/{quadrantDiagram-AXDQQJYC-eJxMa_50.js → quadrantDiagram-AXDQQJYC-CulqsAYd.js} +1 -1
- package/console-app/assets/{radar-RG4KPBEZ-BwJnovJ0.js → radar-RG4KPBEZ-CW_KoURS.js} +1 -1
- package/console-app/assets/{railroad-74A4TZTK-D1_fi4Md.js → railroad-74A4TZTK-CUmF6uBQ.js} +1 -1
- package/console-app/assets/railroad-abnf-HS5TGJTU-CcPw9q8a.js +1 -0
- package/console-app/assets/railroad-ebnf-LZEXJU2U-Ci_fZics.js +1 -0
- package/console-app/assets/railroad-peg-WCYAUIDC-DTsDykSf.js +1 -0
- package/console-app/assets/{railroadDiagram-O6MQD6OU-BpOx1Ffe.js → railroadDiagram-O6MQD6OU-WlkBu_N3.js} +1 -1
- package/console-app/assets/{requirementDiagram-BXWQKSXE-D-IEFxpk.js → requirementDiagram-BXWQKSXE-CJK_CbPR.js} +1 -1
- package/console-app/assets/{sankeyDiagram-P5KCCOFB-SdALSgLt.js → sankeyDiagram-P5KCCOFB-C466WOH8.js} +1 -1
- package/console-app/assets/{sequenceDiagram-WJ2MYXX4-Burhioru.js → sequenceDiagram-WJ2MYXX4-CV0dCcj0.js} +1 -1
- package/console-app/assets/{src-BI-J79xw.js → src-P4Nw8sY0.js} +1 -1
- package/console-app/assets/{stateDiagram-D77RDMKH-BhWb5zb7.js → stateDiagram-D77RDMKH-HaLGm8V9.js} +1 -1
- package/console-app/assets/stateDiagram-v2-MP3YSRHH--GM14Hz5.js +1 -0
- package/console-app/assets/{swimlanes-42K2YHIH-BoaeXC6b.js → swimlanes-42K2YHIH-Bi-O5vWa.js} +1 -1
- package/console-app/assets/swimlanesDiagram-VR7AAH4N-_6rRi6Wt.js +8 -0
- package/console-app/assets/{timeline-definition-24CTP7MA-uuBDVcEL.js → timeline-definition-24CTP7MA-B4h-gx-i.js} +1 -1
- package/console-app/assets/{treeView-Q6P3EWNA-BRZawPMp.js → treeView-Q6P3EWNA-CXJ_pHQw.js} +1 -1
- package/console-app/assets/{treemap-WGGIJYW6-WSINjp5g.js → treemap-WGGIJYW6-M84p2a_3.js} +1 -1
- package/console-app/assets/{vennDiagram-4TSXK5OY-K6UjE9uq.js → vennDiagram-4TSXK5OY-BesF4k_r.js} +1 -1
- package/console-app/assets/{wardley-WFR3VGLG-BMecQ-Z6.js → wardley-WFR3VGLG-n9ulickP.js} +1 -1
- package/console-app/assets/{wardleyDiagram-VM6X3IG4-9blTcGMt.js → wardleyDiagram-VM6X3IG4-BG0nnWDf.js} +1 -1
- package/console-app/assets/{xychartDiagram-S5SC5T6Z-DSnHhis6.js → xychartDiagram-S5SC5T6Z-BtOW7fpF.js} +1 -1
- package/console-app/index.html +1 -1
- package/dist/.pikku/addon/index.d.ts +1 -1
- package/dist/.pikku/addon/index.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/agent/index.d.ts +1 -1
- package/dist/.pikku/agent/index.js +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/analytics/index.d.ts +1 -1
- package/dist/.pikku/analytics/index.js +1 -1
- package/dist/.pikku/analytics/pikku-analytics-types.gen.d.ts +1 -1
- package/dist/.pikku/analytics/pikku-analytics-types.gen.js +1 -1
- package/dist/.pikku/auth/index.d.ts +1 -1
- package/dist/.pikku/auth/index.js +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/channel/index.d.ts +1 -1
- package/dist/.pikku/channel/index.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/index.d.ts +1 -1
- package/dist/.pikku/cli/index.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +6 -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 +11 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +55 -3
- 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 +38 -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 +1 -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 +7 -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 +3 -1
- package/dist/.pikku/schemas/schemas/FabricChangesAskInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricInitInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricLinkInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/KnowledgeReconcileInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/KnowledgeReconcileOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuSkillsInstallInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/ScenarioGuideInput.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-flags.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/secrets/index.d.ts +1 -1
- package/dist/.pikku/secrets/index.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/setup/index.d.ts +1 -1
- package/dist/.pikku/setup/index.js +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/trigger/index.d.ts +1 -1
- package/dist/.pikku/trigger/index.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/index.d.ts +1 -1
- package/dist/.pikku/variables/index.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/index.d.ts +1 -1
- package/dist/.pikku/workflow/index.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +3 -3
- package/dist/src/cli.wiring.js +44 -2
- package/dist/src/deploy/analyzer/analyzer.js +93 -4
- package/dist/src/deploy/build-pipeline.d.ts +2 -0
- package/dist/src/deploy/build-pipeline.js +4 -3
- package/dist/src/deploy/codegen/per-unit-codegen.js +24 -0
- package/dist/src/fabric/fabric-commands.d.ts +9 -0
- package/dist/src/fabric/fabric-commands.js +11 -1
- package/dist/src/fabric/functions/changes-ask.function.d.ts +4 -0
- package/dist/src/fabric/functions/changes-ask.function.js +7 -1
- package/dist/src/fabric/functions/init.function.d.ts +4 -0
- package/dist/src/fabric/functions/init.function.js +5 -1
- package/dist/src/fabric/functions/link.function.d.ts +4 -0
- package/dist/src/fabric/functions/link.function.js +9 -1
- package/dist/src/fabric/lib/organization.d.ts +8 -0
- package/dist/src/fabric/lib/organization.js +26 -0
- package/dist/src/functions/commands/deploy-apply.js +129 -13
- package/dist/src/functions/commands/deploy-plan.js +1 -0
- package/dist/src/functions/commands/dev-mcp-manifests.d.ts +27 -0
- package/dist/src/functions/commands/dev-mcp-manifests.js +52 -0
- package/dist/src/functions/commands/dev.js +10 -30
- package/dist/src/functions/commands/knowledge-reconcile.d.ts +15 -3
- package/dist/src/functions/commands/knowledge-reconcile.js +1 -1
- package/dist/src/functions/commands/scenario-guide.d.ts +184 -0
- package/dist/src/functions/commands/scenario-guide.js +313 -0
- package/dist/src/functions/commands/scenario-ladder.d.ts +3 -1
- package/dist/src/functions/commands/scenario-ladder.js +1 -0
- package/dist/src/functions/commands/scenario-plan.d.ts +17 -1
- package/dist/src/functions/commands/scenario-plan.js +15 -0
- package/dist/src/functions/commands/scenario.d.ts +30 -0
- package/dist/src/functions/commands/scenario.js +187 -23
- package/dist/src/functions/commands/skill-agents.d.ts +43 -0
- package/dist/src/functions/commands/skill-agents.js +135 -0
- package/dist/src/functions/commands/skills.d.ts +9 -0
- package/dist/src/functions/commands/skills.js +29 -2
- package/dist/src/functions/db/postgres/postgres-introspector.d.ts +6 -0
- package/dist/src/functions/db/postgres/postgres-introspector.js +7 -1
- package/dist/src/functions/knowledge/render.d.ts +1 -1
- package/dist/src/functions/knowledge/render.js +25 -2
- package/dist/src/functions/knowledge/schemas.d.ts +5 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.js +32 -5
- package/dist/src/functions/wirings/scenarios/serialize-feature-meta.js +1 -0
- package/dist/src/functions/wirings/workflow/serialize-scenario-types.js +6 -0
- package/dist/src/server/bun-server-runner.js +1 -0
- package/dist/src/server/dev-server-runner.interface.d.ts +13 -0
- package/dist/src/server/node-server-runner.js +1 -0
- package/dist/src/services.js +3 -1
- package/dist/src/utils/mcp-surface.d.ts +8 -0
- package/dist/src/utils/mcp-surface.js +9 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/surface.json +19 -13
- package/console-app/assets/architecture-7GRP2DOG-DMiKIh61.js +0 -1
- package/console-app/assets/channel-D3pFDQ-Y.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-CPBzG1Ie.js +0 -1
- package/console-app/assets/classDiagram-ZZMXUADV-Bh5HK4MN.js +0 -1
- package/console-app/assets/classDiagram-v2-VYDZK3BY-Bh5HK4MN.js +0 -1
- package/console-app/assets/eventmodeling-NTZA5JFV-DLjVcr4S.js +0 -1
- package/console-app/assets/flowDiagram-HODETNUW-CCiyVZIU.js +0 -1
- package/console-app/assets/railroad-abnf-HS5TGJTU-D-_q3UaA.js +0 -1
- package/console-app/assets/railroad-ebnf-LZEXJU2U-kh7JN-2k.js +0 -1
- package/console-app/assets/railroad-peg-WCYAUIDC-rrwoksLW.js +0 -1
- package/console-app/assets/stateDiagram-v2-MP3YSRHH-OjHOAFS5.js +0 -1
- package/console-app/assets/swimlanesDiagram-VR7AAH4N-CkKXVcij.js +0 -8
|
@@ -94,7 +94,9 @@ export declare const KnowledgePlanDeferOutputSchema: import("zod").ZodObject<{
|
|
|
94
94
|
path: import("zod").ZodString;
|
|
95
95
|
message: import("zod").ZodString;
|
|
96
96
|
}, import("zod/v4/core").$strip>;
|
|
97
|
-
export declare const KnowledgeReconcileInputSchema: import("zod").ZodObject<{
|
|
97
|
+
export declare const KnowledgeReconcileInputSchema: import("zod").ZodObject<{
|
|
98
|
+
require: import("zod").ZodOptional<import("zod").ZodString>;
|
|
99
|
+
}, import("zod/v4/core").$strip>;
|
|
98
100
|
export declare const KnowledgeReconcileOutputSchema: import("zod").ZodObject<{
|
|
99
101
|
kind: import("zod").ZodEnum<{
|
|
100
102
|
"ask-user": "ask-user";
|
|
@@ -116,4 +118,6 @@ export declare const KnowledgeReconcileOutputSchema: import("zod").ZodObject<{
|
|
|
116
118
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
117
119
|
}, import("zod/v4/core").$strip>>>;
|
|
118
120
|
}, import("zod/v4/core").$strip>>;
|
|
121
|
+
satisfied: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
122
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
119
123
|
}, import("zod/v4/core").$strip>;
|
|
@@ -1,16 +1,43 @@
|
|
|
1
1
|
import { pikkuSessionlessFunc } from '#pikku/function';
|
|
2
|
+
import { existsSync, readdirSync, rmSync } from 'node:fs';
|
|
3
|
+
import { dirname, join } from 'path';
|
|
2
4
|
import { writeFileInDir } from '../../../utils/file-writer.js';
|
|
3
5
|
import { logCommandInfoAndTime } from '../../../middleware/log-command-info-and-time.js';
|
|
6
|
+
import { mcpSurfaceSlug } from '../../../utils/mcp-surface.js';
|
|
4
7
|
import { serializeMCPJson } from '@pikku/inspector';
|
|
5
8
|
export const pikkuMCPJSON = pikkuSessionlessFunc({
|
|
6
9
|
func: async ({ logger, config, getInspectorState }) => {
|
|
7
10
|
const state = await getInspectorState();
|
|
8
11
|
const mcpJsonFile = config.mcpJsonFile ?? config.clientFiles?.mcpJsonFile;
|
|
9
|
-
if (mcpJsonFile) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
if (!mcpJsonFile) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
await writeFileInDir(logger, mcpJsonFile, serializeMCPJson(logger, state), {
|
|
16
|
+
ignoreModifyComment: true,
|
|
17
|
+
});
|
|
18
|
+
// A project serving several MCP endpoints gets one manifest per endpoint,
|
|
19
|
+
// named after its surface, beside the default one. `deploy-apply` finds
|
|
20
|
+
// each by the slug in its unit's name, so the slug has to be built the
|
|
21
|
+
// same way here as it is in the analyzer.
|
|
22
|
+
const mcpDir = dirname(mcpJsonFile);
|
|
23
|
+
const surfaces = state.mcpEndpoints.surfaces ?? {};
|
|
24
|
+
const written = new Set();
|
|
25
|
+
for (const surface of Object.keys(surfaces)) {
|
|
26
|
+
const name = `mcp.${mcpSurfaceSlug(surface)}.gen.json`;
|
|
27
|
+
written.add(name);
|
|
28
|
+
await writeFileInDir(logger, join(mcpDir, name), serializeMCPJson(logger, state, surface), { ignoreModifyComment: true });
|
|
29
|
+
}
|
|
30
|
+
// A surface that has gone away leaves its manifest behind, and `pikku dev`
|
|
31
|
+
// mounts every manifest it finds — so without this, dropping `mcpEndpoint`
|
|
32
|
+
// keeps serving the endpoint it was supposed to remove, with whatever tool
|
|
33
|
+
// list it had on the last run that still wrote it.
|
|
34
|
+
if (existsSync(mcpDir)) {
|
|
35
|
+
for (const name of readdirSync(mcpDir)) {
|
|
36
|
+
if (!/^mcp\..+\.gen\.json$/.test(name) || written.has(name))
|
|
37
|
+
continue;
|
|
38
|
+
logger.debug(`Removing manifest for a surface that no longer exists: ${name}`);
|
|
39
|
+
rmSync(join(mcpDir, name));
|
|
40
|
+
}
|
|
14
41
|
}
|
|
15
42
|
},
|
|
16
43
|
middleware: [
|
|
@@ -17,6 +17,7 @@ export const buildFeaturesMeta = (featureFiles) => {
|
|
|
17
17
|
name: feature.name ?? id,
|
|
18
18
|
...(feature.description ? { description: feature.description } : {}),
|
|
19
19
|
tags: feature.tags ?? [],
|
|
20
|
+
...(feature.document === undefined ? {} : { document: feature.document }),
|
|
20
21
|
entries: feature.entries.map((entry) => entry.data === undefined
|
|
21
22
|
? { scenario: entry.scenario }
|
|
22
23
|
: { scenario: entry.scenario, data: entry.data }),
|
|
@@ -223,6 +223,12 @@ type PikkuFeatureConfig<Scenarios extends readonly unknown[]> = {
|
|
|
223
223
|
name: string
|
|
224
224
|
description?: string
|
|
225
225
|
tags?: string[]
|
|
226
|
+
/**
|
|
227
|
+
* Whether this feature is guide material, defaulting to true. \`pikku scenario
|
|
228
|
+
* guide\` requires every documented feature to be cited by a page; a feature
|
|
229
|
+
* that is pure plumbing sets this false rather than being written about.
|
|
230
|
+
*/
|
|
231
|
+
document?: boolean
|
|
226
232
|
scenarios: { [K in keyof Scenarios]: PikkuFeatureEntry<Scenarios[K]> }
|
|
227
233
|
/**
|
|
228
234
|
* Runs ONCE before the whole group — not before each scenario. Per-scenario
|
|
@@ -27,6 +27,7 @@ export class BunServerRunner {
|
|
|
27
27
|
// Read off this options object by the transport, not off `config` — so it
|
|
28
28
|
// has to be forwarded here explicitly, exactly like the JWT above.
|
|
29
29
|
mcpJson: options.mcpJson,
|
|
30
|
+
mcpSurfaces: options.mcpSurfaces,
|
|
30
31
|
});
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -45,6 +45,19 @@ export type DevServerOptions = {
|
|
|
45
45
|
resources?: unknown[];
|
|
46
46
|
prompts?: unknown[];
|
|
47
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* The further MCP endpoints this project serves, one per surface, each with
|
|
50
|
+
* the path it answers on. Forwarded the same way and with the same
|
|
51
|
+
* consequence for forgetting: the surface 404s with no error anywhere.
|
|
52
|
+
*/
|
|
53
|
+
mcpSurfaces?: Array<{
|
|
54
|
+
mcpJson: {
|
|
55
|
+
tools?: unknown[];
|
|
56
|
+
resources?: unknown[];
|
|
57
|
+
prompts?: unknown[];
|
|
58
|
+
};
|
|
59
|
+
mcpPath: string;
|
|
60
|
+
}>;
|
|
48
61
|
};
|
|
49
62
|
export interface DevServerRunner {
|
|
50
63
|
/**
|
|
@@ -47,6 +47,7 @@ export class NodeServerRunner {
|
|
|
47
47
|
// Read off this options object by the transport, not off `config` — so it
|
|
48
48
|
// has to be forwarded here explicitly, exactly like the JWT above.
|
|
49
49
|
mcpJson: options.mcpJson,
|
|
50
|
+
mcpSurfaces: options.mcpSurfaces,
|
|
50
51
|
});
|
|
51
52
|
return {
|
|
52
53
|
init: () => server.init(),
|
package/dist/src/services.js
CHANGED
|
@@ -383,6 +383,8 @@ export const createSingletonServices = async (config) => {
|
|
|
383
383
|
// Keeping the check in this single place avoids `typeof Bun` branches leaking
|
|
384
384
|
// into the deploy pipeline / dev command.
|
|
385
385
|
const isBun = typeof globalThis.Bun !== 'undefined';
|
|
386
|
+
const deployBundler = config.deploy?.bundler ?? 'auto';
|
|
387
|
+
const bundleWithBun = deployBundler === 'bun' || (deployBundler === 'auto' && isBun);
|
|
386
388
|
return {
|
|
387
389
|
config,
|
|
388
390
|
logger,
|
|
@@ -392,7 +394,7 @@ export const createSingletonServices = async (config) => {
|
|
|
392
394
|
getInspectorState,
|
|
393
395
|
invalidateInspectorState,
|
|
394
396
|
workflowService,
|
|
395
|
-
bundler:
|
|
397
|
+
bundler: bundleWithBun ? new BunBundler() : new NodeBundler(),
|
|
396
398
|
devServerRunner: isBun
|
|
397
399
|
? new BunServerRunner()
|
|
398
400
|
: new NodeServerRunner(rootDir),
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The slug a surface's manifest filename and its deploy unit name are both
|
|
3
|
+
* built from. `deploy-apply` recovers the filename by stripping `mcp-` off the
|
|
4
|
+
* unit name, so codegen and the analyzer have to agree on it exactly or a
|
|
5
|
+
* deployed unit reads a manifest nobody wrote — hence one function, not the
|
|
6
|
+
* same expression written twice.
|
|
7
|
+
*/
|
|
8
|
+
export declare const mcpSurfaceSlug: (surface: string) => string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { toSafeKebab } from '../deploy/analyzer/naming.js';
|
|
2
|
+
/**
|
|
3
|
+
* The slug a surface's manifest filename and its deploy unit name are both
|
|
4
|
+
* built from. `deploy-apply` recovers the filename by stripping `mcp-` off the
|
|
5
|
+
* unit name, so codegen and the analyzer have to agree on it exactly or a
|
|
6
|
+
* deployed unit reads a manifest nobody wrote — hence one function, not the
|
|
7
|
+
* same expression written twice.
|
|
8
|
+
*/
|
|
9
|
+
export const mcpSurfaceSlug = (surface) => toSafeKebab(surface);
|