@pikku/cli 0.12.114 → 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 +273 -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/persona-credentials.js +5 -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
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,276 @@
|
|
|
1
|
+
## 0.12.116
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- d7eea08: Gate the generated `getAgentThreads` behind `auth: true`. It lists the caller's own threads, so an anonymous caller could only ever get an empty array back — but it was the one exposed agent function with neither a permission nor a session requirement, so every scaffolded project shipped a PKU574 warning.
|
|
6
|
+
- 4058c3a: authBearer, authCookie and authAPIKey now come from `#pikku/middleware`, so nothing needs `@pikku/core`
|
|
7
|
+
- 4058c3a: A default skills install is now the seventeen that teach a `#pikku/*` door, not everything
|
|
8
|
+
- 4058c3a: `pikku doc <export>` finds an export that lives on the addon surface instead of dead-ending
|
|
9
|
+
- 4058c3a: `pikku doc --ai` now names the skill that teaches each door, and pikku-concepts sends you there first
|
|
10
|
+
- 4058c3a: `pikku doc` takes several topics at once, so an agent that needs two exports
|
|
11
|
+
spends one round-trip rather than two.
|
|
12
|
+
|
|
13
|
+
A variadic positional validated at runtime but not in the types: `[files...]`
|
|
14
|
+
resolved to a key literally named `files...`, so declaring one was a type error.
|
|
15
|
+
|
|
16
|
+
- 4058c3a: `pikku doc` keeps a door screen to a door: exports, what each is for, and either
|
|
17
|
+
its signature or a pointer to its keys — never the keys themselves. `#pikku/function`
|
|
18
|
+
was 9.4k tokens and is now under 1k.
|
|
19
|
+
|
|
20
|
+
Error classes carry their registered HTTP status again. The scrape read only the
|
|
21
|
+
program, and a surveyed project consumes pikku as `.d.ts`, which has no statements —
|
|
22
|
+
so all 49 came back bare.
|
|
23
|
+
|
|
24
|
+
- 23ab90f: Stop the CLI entrypoint-guard tests failing whenever colour is forced.
|
|
25
|
+
|
|
26
|
+
The two assertions ran the emitted guard in a child process and compared its
|
|
27
|
+
stdout against `'true'` / `'false'`. The fixture logged the bare boolean, so
|
|
28
|
+
`console.log` sent it through `util.inspect`, which wraps a boolean in ANSI
|
|
29
|
+
yellow as soon as colour is forced. `yarn` forces it — so the tests passed when
|
|
30
|
+
run by hand and failed inside the pre-push hook, comparing
|
|
31
|
+
`'\x1B[33mfalse\x1B[39m'` against `'false'`, which left `main` unpushable
|
|
32
|
+
without `--no-verify`.
|
|
33
|
+
|
|
34
|
+
The fixture now logs `String(isDirectExecution)`. Strings are not colourised,
|
|
35
|
+
and the assertions are about what the guard resolved to, never about how Node
|
|
36
|
+
formats it.
|
|
37
|
+
|
|
38
|
+
- 4058c3a: Give every export `pikku doc` lists a line saying what it is for, and gate it at zero
|
|
39
|
+
- 4058c3a: Point the doc's examples at real template source instead of restating it. An `@example snippet: name` names a `// @snippet start name` region in `templates/functions` or `templates/function-addon`, and the surface build resolves it — so every example the doc shows is code that compiled, and renaming an option breaks the build rather than the docs. `wireHTTP`, `wireChannel`, `wireScheduler`, `wireQueueWorker`, `defineSecret`, `defineVariable` and `addError` now carry one.
|
|
40
|
+
- 1bba2a5: feat(fabric): `deploy apply --sync` waits for the deploy and fails the build when it doesn't land
|
|
41
|
+
|
|
42
|
+
`pikku fabric deploy apply` queued a deployment, printed its id and exited 0.
|
|
43
|
+
Whether the deploy went live, failed, or parked itself at fabric's approval gate
|
|
44
|
+
waiting for a human, the CLI said the same thing and returned the same code — so
|
|
45
|
+
no CI pipeline built on it could tell a green deploy from a red one.
|
|
46
|
+
|
|
47
|
+
`--sync` polls the deployment to a terminal state and exits on the outcome: 0
|
|
48
|
+
live, 2 failed, 3 blocked, 4 timed out (900s by default, `--timeout <seconds>`
|
|
49
|
+
to move it). On success it prints what changed — units, handlers, functions,
|
|
50
|
+
workflows, secrets, variables, pending migrations (destructive ones called out
|
|
51
|
+
individually with fabric's reasons) — and the workers now running.
|
|
52
|
+
Under `--json` the wait emits NDJSON progress events with the terminal result
|
|
53
|
+
last.
|
|
54
|
+
|
|
55
|
+
It polls `getDeploymentStatus`, not `listDeployments`, because only the former
|
|
56
|
+
carries `statusReason` — and `suspended` alone cannot tell "waiting for you to
|
|
57
|
+
approve" from "blocked on a secret that has no value". A caller polling for
|
|
58
|
+
`active` on the second one waits out its whole timeout on a deployment that was
|
|
59
|
+
never going to move. The CLI now names the missing secrets and variables
|
|
60
|
+
instead, and only offers to approve a plan that is genuinely at the gate.
|
|
61
|
+
|
|
62
|
+
- `--auto-approve` **replaces `--auto-apply`**, with no alias. It answers both
|
|
63
|
+
decisions the flow has: confirm the create, and publish a plan parked at
|
|
64
|
+
`awaiting_approval`. It deliberately will not force a `needs_config` or
|
|
65
|
+
`needs_attention` plan through — fabric refuses those, and so do we.
|
|
66
|
+
- `--allow-destructive` is required on top of `--auto-approve` when fabric's
|
|
67
|
+
plan marks a pending migration destructive (`drop_table`, `truncate`,
|
|
68
|
+
`delete_rows`, a column rewrite, …). `--auto-approve` is a standing yes
|
|
69
|
+
written before anyone knew what the plan contained, and the risk verdict is
|
|
70
|
+
exactly what could not have been known — so the CLI lists the migrations and
|
|
71
|
+
the reasons, exits 3, and waits to be told again with the plan in view. The
|
|
72
|
+
interactive prompt shows the same lines inside the question.
|
|
73
|
+
- `--deployment-id <id>` attaches to an existing deployment instead of creating
|
|
74
|
+
one, which is what lets one CI job kick a deploy off and a later one wait for
|
|
75
|
+
it. It combines with `--sync` and `--auto-approve`, is rejected alongside
|
|
76
|
+
`--branch`/`--production`, and skips the git safety check — the deployment
|
|
77
|
+
already pins a sha and the local checkout is allowed to have moved on.
|
|
78
|
+
- **`deploy plan` is removed.** It never called the server: it re-ran the same
|
|
79
|
+
auth, branch-safety and ref resolution `apply` does and printed the sha back.
|
|
80
|
+
The real plan is produced server-side and is now visible in `apply`'s output.
|
|
81
|
+
- The `message` field on the deploy input is gone. Nothing ever sent it.
|
|
82
|
+
|
|
83
|
+
Attaching reads `getDeploymentStatus` for the deployment's existence and state
|
|
84
|
+
and treats the project listing as a bonus lookup for the branch name and diff.
|
|
85
|
+
The listing hides dismissed deployments unless asked, and a cancelled deploy is
|
|
86
|
+
normally dismissed — going to it first reported "no such deployment" for one
|
|
87
|
+
that existed and had a terminal status worth failing the build on.
|
|
88
|
+
|
|
89
|
+
The bundled fabric rpc-map snapshot gains `applyDeployment` and
|
|
90
|
+
`getDeploymentStatus` and drops `reapplyDeployment`, which fabric no longer
|
|
91
|
+
serves.
|
|
92
|
+
|
|
93
|
+
- 57c1589: Apply `globalHTTPPrefix` to the RPC and agent routes the deploy analyzer synthesizes.
|
|
94
|
+
|
|
95
|
+
Every `wireHTTP` route already carries the prefix — the generator bakes it in, so `rpcCaller` is wired at `<prefix>/rpc/:rpcName` and the generated client posts to `` `${globalHTTPPrefix}/rpc/${rpcName}` ``. The per-function routes `analyzeDeployment` builds did not: an exposed function's unit was published at `/rpc/getMe` regardless of the prefix.
|
|
96
|
+
|
|
97
|
+
On a deployed stage that made the whole exposed RPC surface unreachable. `<prefix>/rpc/getMe` — what every client sends — matched no function unit, so it fell through to the `rpcCaller` catch-all, which carries only its own implementation; and `/rpc/getMe`, where the unit actually sat, is outside the prefix the gateway serves the API under, so it reached the frontend instead. Projects without `globalHTTPPrefix` were unaffected, which is why this survived: the two paths are the same string when the prefix is empty.
|
|
98
|
+
|
|
99
|
+
Also applies to `/remote/rpc/<name>` and the four `/rpc/agent/<name>` routes.
|
|
100
|
+
|
|
101
|
+
- 8ea7879: Release the inspector's ts.Program between refreshes so `pikku dev` stops ratcheting memory
|
|
102
|
+
- 4058c3a: Point another thirteen examples at template source: `pikkuFunc`, `pikkuSessionlessFunc`, `pikkuVoidFunc`, `pikkuChannelFunc`, `pikkuConfig`, `pikkuWireServices`, `pikkuPermission`, `pikkuMiddlewareFactory`, `pikkuChannelMiddleware`, `pikkuAgentMiddleware`, `addTagMiddleware`, `addHTTPMiddleware` and `pikkuCLIRender`. 23 of the 34 examples the doc ships are now code that compiled.
|
|
103
|
+
- 4058c3a: Gate the door-to-skill table so it cannot name a skill a default install does not get
|
|
104
|
+
- 9d48e8a: Fail `pikku fabric validate` when a scenario step hardcodes a string the message catalogue already owns.
|
|
105
|
+
|
|
106
|
+
A browser step that says `getByLabel('Full Name')` passes only while the app happens to render the base locale, and any copy edit turns it into a selector timeout that points at the wizard rather than at the rename that caused it. Validate now reads each `apps/<app>/messages/<baseLocale>.json` and errors on any string in a `*.steps.ts` / `*.scenario.ts` that is verbatim a catalogue value, naming the key to use.
|
|
107
|
+
|
|
108
|
+
It scans every literal rather than only the ones sitting in a `getBy*` call, because copy passed to a project helper — `pick('Where would you like to work?', …)` — reaches the DOM just the same. Comments are stripped first, since the prose around a step quotes the copy it is explaining. A project with no inlang app is not scanned, and a string the catalogue does not own (a test id, a fixture filename) is left alone.
|
|
109
|
+
|
|
110
|
+
The `pikku-scenario` skill gains the corresponding rule, including typing the lookup off the catalogue JSON rather than the generated Paraglide output, so a renamed key is a compile error instead of a run-time timeout.
|
|
111
|
+
|
|
112
|
+
- 06dae85: fix(cli): type the shadow-exempt set so a project that opts none in still compiles
|
|
113
|
+
|
|
114
|
+
The shadowed-services warning emitted `new Set([])` when a project declared no
|
|
115
|
+
`allowShadowedServices`, and TypeScript infers that as `Set<never>` — so the
|
|
116
|
+
`allowedToShadow.has(name)` on the next line failed to compile with a `string`.
|
|
117
|
+
It type-checked only for a project that had opted at least one service in, and
|
|
118
|
+
no project in the repo has, so every build broke on the generated setup types.
|
|
119
|
+
|
|
120
|
+
Emitted as `new Set<string>([])`.
|
|
121
|
+
|
|
122
|
+
- 4058c3a: Every `@example` in the public surface now names a snippet from `examples/online-shop`,
|
|
123
|
+
and `@pikku/cli` ships the regions themselves as `snippets.json` beside `surface.json`.
|
|
124
|
+
|
|
125
|
+
One running application is the only source: the code a reader is shown is code that
|
|
126
|
+
compiles, migrates and passes `pikku` in CI, and it cannot drift from the API it
|
|
127
|
+
illustrates. 80 of the 85 app-entrypoint callables now carry an example, up from 34.
|
|
128
|
+
|
|
129
|
+
- 4058c3a: Add a `client` install group, so frontend-facing skills can be pulled without the whole `core` set: `pikku skills install --client`. `installGroups` has always been a list and the resolver installs a skill if _any_ requested group matches, so `[core, client]` keeps every existing `--core` install identical.
|
|
130
|
+
|
|
131
|
+
Tagged `[core, client]`: `pikku-react`, `pikku-react-query`, `pikku-workflows-client`, `pikku-paraglide`, `pikku-i18n`, `pikku-rtl`.
|
|
132
|
+
|
|
133
|
+
- 4058c3a: `@pikku/cli` ships every snippet the docs need, so a site rendering them no longer
|
|
134
|
+
carries a submodule of the app they came from.
|
|
135
|
+
|
|
136
|
+
Three gaps closed against what the website was extracting itself: SQL migrations
|
|
137
|
+
are source too (`-- @snippet start` in a `.sql` file), `snippets-meta.json` records
|
|
138
|
+
which file each region came from so a page can link to it, and the scenario
|
|
139
|
+
environments block is read straight off the project's `pikku.config.json` — the one
|
|
140
|
+
region a marker cannot reach, since that file is parsed as strict JSON.
|
|
141
|
+
|
|
142
|
+
- 4058c3a: Describe how each export is called in the surface doc: computed signatures, the keys of the options object it takes with the JSDoc that declares them, `@example` blocks, and the HTTP status an error class maps to. Each leaf now also names the skill that teaches it, or declares that none does.
|
|
143
|
+
- 4058c3a: Say what each wiring key is for, and gate it so it stays said
|
|
144
|
+
|
|
145
|
+
The public surface doc listed keys as a name and a type. `schedule: string`
|
|
146
|
+
is a shape; what a caller needs is that it wants a cron expression. Written
|
|
147
|
+
as JSDoc where the type is declared, it reaches `pikku doc`, the IDE and the
|
|
148
|
+
console at once — 31% of keys carried one, now 64%.
|
|
149
|
+
|
|
150
|
+
`CoreHTTPFunctionWiring` was six near-identical union branches, so its keys
|
|
151
|
+
could not be documented once. It is now a shared object intersected with the
|
|
152
|
+
two unions that are genuinely correlated: `auth` with the kind of function it
|
|
153
|
+
admits, and the method with `sse` and `query`.
|
|
154
|
+
|
|
155
|
+
A test reads the shipped surface and holds three numbers: keys that say what
|
|
156
|
+
they are for can only go up, and references to a `Core*` internal or to a type
|
|
157
|
+
the doc never describes can only go down.
|
|
158
|
+
|
|
159
|
+
Drops `eventChannel` from HTTP wirings and `graph` from triggers; nothing read
|
|
160
|
+
either.
|
|
161
|
+
|
|
162
|
+
- 958b91a: Stop the TanStack Start shim throwing on every deployed page
|
|
163
|
+
|
|
164
|
+
`makeApi()` read `import.meta.env.VITE_API_URL` and threw `VITE_API_URL is not
|
|
165
|
+
set` when it was absent — which is what happens in a deployed bundle. Fabric
|
|
166
|
+
binds `VITE_API_URL` as a runtime binding on the worker, invisible to Vite at
|
|
167
|
+
build time, so the read is `undefined` and the shim threw on the first loader
|
|
168
|
+
that touched it. Codegen was shipping the failure `fabric validate` now fails
|
|
169
|
+
projects for.
|
|
170
|
+
|
|
171
|
+
The generated shim derives the base instead:
|
|
172
|
+
|
|
173
|
+
- **Browser** — `import.meta.env.VITE_API_URL` when the build inlined one,
|
|
174
|
+
otherwise `window.location.origin + '/api'`. A configured base pointing at
|
|
175
|
+
localhost while the page is served from a real origin is ignored: the browser
|
|
176
|
+
cannot reach it, so it is a stray dev value.
|
|
177
|
+
- **SSR** — `PIKKU_API_URL` then `VITE_API_URL` from the environment, since
|
|
178
|
+
there is no page to derive from. This is the one path that still throws when
|
|
179
|
+
nothing is set, and it now names both variables. The environment is reached
|
|
180
|
+
through `globalThis`, so the emitted file type-checks under a browser-only
|
|
181
|
+
tsconfig with no Node types.
|
|
182
|
+
|
|
183
|
+
`apiBaseUrl()` is exported alongside `makeApi()` for code that needs the base
|
|
184
|
+
without an RPC client. This is the same resolution the shipping app templates
|
|
185
|
+
use.
|
|
186
|
+
|
|
187
|
+
- 704d87d: Fail `pikku fabric validate` when a deployed frontend does not derive its API base from the page origin.
|
|
188
|
+
|
|
189
|
+
Nothing writes a `VITE_*` / `NEXT_PUBLIC_*` variable at build time, and nothing
|
|
190
|
+
can: the stage hostname is chosen when the worker is published, after the bundle
|
|
191
|
+
is built. Fabric binds `VITE_API_URL` as a runtime binding on the deployed
|
|
192
|
+
worker, which `import.meta.env` cannot see — so in the shipped bundle the read
|
|
193
|
+
is `undefined` and whatever follows it is the real answer.
|
|
194
|
+
|
|
195
|
+
That makes every build-time env read for an API base a failure, not just the
|
|
196
|
+
ones defaulting to localhost:
|
|
197
|
+
|
|
198
|
+
- `?? 'http://localhost:3002'` — errors as `frontend-env-fallback-localhost-<slug>`.
|
|
199
|
+
Every call from a real browser hangs until it times out, with nothing in any
|
|
200
|
+
log, because the request never left the visitor's machine.
|
|
201
|
+
- `?? '/api'`, or no fallback at all, or a `NEXT_PUBLIC_*` name nothing binds —
|
|
202
|
+
errors as `frontend-api-base-not-derived-<slug>`, naming the variable the app
|
|
203
|
+
actually read.
|
|
204
|
+
- A bare hardcoded localhost URL — now an error rather than a warning.
|
|
205
|
+
|
|
206
|
+
All three are suppressed when the frontend reads `location.origin` somewhere:
|
|
207
|
+
there the env read is the override branch of an answer that is already correct.
|
|
208
|
+
That is the fix in every case, and what fabric's own app template does — the app
|
|
209
|
+
and the API share a hostname and the dispatcher claims `/api/*` on it, so
|
|
210
|
+
`location.origin + '/api'` is right on a stage, a preview and a custom domain
|
|
211
|
+
alike.
|
|
212
|
+
|
|
213
|
+
Only deployable declared frontends are scanned. Tests, `.d.ts` files and comments
|
|
214
|
+
are skipped: none of them reach a browser.
|
|
215
|
+
|
|
216
|
+
- 90bef58: Warn when `createSingletonServices` returns a service the host already passed in
|
|
217
|
+
|
|
218
|
+
`pikkuServices` merges `{ ...existingServices, ...createdServices }`, so a
|
|
219
|
+
factory that builds its own `secrets` (or `kysely`, or `content`) wins over the
|
|
220
|
+
one the host configured — silently. The replacement starts empty and the first
|
|
221
|
+
failure lands much later, somewhere unrelated, with nothing in the boot log
|
|
222
|
+
pointing at the swap. The generated wrapper now names what it discarded and
|
|
223
|
+
points at the `existingServices.x ?? new Own()` idiom the templates use.
|
|
224
|
+
|
|
225
|
+
Shadowing stays available where it is deliberate, but has to be said out loud.
|
|
226
|
+
`allowShadowedServices` in `pikku.config.json` lists the names that may be
|
|
227
|
+
replaced without a warning:
|
|
228
|
+
|
|
229
|
+
```json
|
|
230
|
+
{
|
|
231
|
+
"allowShadowedServices": ["kysely"]
|
|
232
|
+
}
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
Names are opted in one at a time rather than by a blanket flag, so adding a
|
|
236
|
+
service later still warns until someone decides it should not.
|
|
237
|
+
|
|
238
|
+
- Updated dependencies [4058c3a]
|
|
239
|
+
- Updated dependencies [4058c3a]
|
|
240
|
+
- Updated dependencies [4058c3a]
|
|
241
|
+
- Updated dependencies [4058c3a]
|
|
242
|
+
- Updated dependencies [4058c3a]
|
|
243
|
+
- Updated dependencies [4058c3a]
|
|
244
|
+
- Updated dependencies [4058c3a]
|
|
245
|
+
- Updated dependencies [4058c3a]
|
|
246
|
+
- Updated dependencies [114c079]
|
|
247
|
+
- Updated dependencies [4058c3a]
|
|
248
|
+
- Updated dependencies [9d48e8a]
|
|
249
|
+
- Updated dependencies [4450b2a]
|
|
250
|
+
- Updated dependencies [4058c3a]
|
|
251
|
+
- Updated dependencies [4058c3a]
|
|
252
|
+
- Updated dependencies [4058c3a]
|
|
253
|
+
- Updated dependencies [4058c3a]
|
|
254
|
+
- Updated dependencies [4058c3a]
|
|
255
|
+
- Updated dependencies [c63adb8]
|
|
256
|
+
- @pikku/core@0.12.93
|
|
257
|
+
- @pikku/skills@0.12.14
|
|
258
|
+
- @pikku/better-auth@0.12.29
|
|
259
|
+
- @pikku/kysely@0.13.22
|
|
260
|
+
|
|
261
|
+
## 0.12.115
|
|
262
|
+
|
|
263
|
+
### Patch Changes
|
|
264
|
+
|
|
265
|
+
- cfe0623: Honour `PIKKU_PERSONA_CREATE_MISSING=true` again.
|
|
266
|
+
|
|
267
|
+
`variables.get` JSON-parses its value, so the flag arrived as the boolean
|
|
268
|
+
`true` and never equalled the string it was compared against — every
|
|
269
|
+
deployed scenario run asked the stage not to create the persona, and
|
|
270
|
+
failed on the first one with `No account on this stage for ...`. The
|
|
271
|
+
operator token beside it survived the same parse only because a JWT is
|
|
272
|
+
not valid JSON.
|
|
273
|
+
|
|
1
274
|
## 0.12.114
|
|
2
275
|
|
|
3
276
|
### Patch Changes
|
package/console-app/assets/{abnfDiagram-N423BO3Z-Bltf5dmS.js → abnfDiagram-N423BO3Z-WNIAg_Oa.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{m as e,t}from"./mermaid-parser.core-DTgmT0AA.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-x1E3pJJ-.js";import"./chunk-I66GZJ75-pVpq9ckD.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-mZObxdld.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-1jSEDr-j.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=n(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=n(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BICK3FdT.js";import{M as e}from"./mermaid-parser.core-DTgmT0AA.js";export{e as createArchitectureServices};
|