@pikku/cli 0.12.122 → 0.12.124
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 +143 -0
- package/console-app/assets/{abnfDiagram-N423BO3Z-Dfq94a7u.js → abnfDiagram-N423BO3Z-BP7zxMq6.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-D4Hj6824.js +1 -0
- package/console-app/assets/{architectureDiagram-T3A2C74G-C9MjP0IU.js → architectureDiagram-T3A2C74G-mvqdkIfF.js} +1 -1
- package/console-app/assets/{blockDiagram-VBNYF7ZC-CGgHSlOO.js → blockDiagram-VBNYF7ZC-daD8h3VT.js} +1 -1
- package/console-app/assets/{c4Diagram-5PPSVZJV-3kzckivq.js → c4Diagram-5PPSVZJV-Bd0_wKJj.js} +1 -1
- package/console-app/assets/channel-09aKDzM0.js +1 -0
- package/console-app/assets/{chunk-2GRJ4B5K-UZ1q29J_.js → chunk-2GRJ4B5K-BFRr_H2V.js} +1 -1
- package/console-app/assets/{chunk-4I5QYGJK-bq4iSS6S.js → chunk-4I5QYGJK-BXWo5Xyx.js} +1 -1
- package/console-app/assets/{chunk-5RXB4S5H-BCeU8nXq.js → chunk-5RXB4S5H-BFnXfzzz.js} +1 -1
- package/console-app/assets/{chunk-6Q2QTUOP-DpsTVhit.js → chunk-6Q2QTUOP-Bswg4T3s.js} +1 -1
- package/console-app/assets/{chunk-7Z6QIM7H-I6XKkv2A.js → chunk-7Z6QIM7H-StNGH40U.js} +1 -1
- package/console-app/assets/{chunk-GF5L2VYU-aYODFCZ6.js → chunk-GF5L2VYU-QwXKtQxa.js} +1 -1
- package/console-app/assets/{chunk-I66GZJ75-CWdPrY4a.js → chunk-I66GZJ75-DDQhhfA0.js} +1 -1
- package/console-app/assets/{chunk-JQJVKLGR-D5bHP4bt.js → chunk-JQJVKLGR-wFyF2bUv.js} +1 -1
- package/console-app/assets/{chunk-KBJHAD2P-B-Spac9o.js → chunk-KBJHAD2P-CQPQVDkD.js} +1 -1
- package/console-app/assets/{chunk-NSK5VX7P-0jZVLBhi.js → chunk-NSK5VX7P-DZhjvnHm.js} +1 -1
- package/console-app/assets/{chunk-QR6OTTB3-BurXFOtV.js → chunk-QR6OTTB3-D1-TbcCP.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-C4zacxhH.js → chunk-RYQCIY6F-82OYF6U8.js} +1 -1
- package/console-app/assets/{chunk-UBXNYLIW-7RthekQ-.js → chunk-UBXNYLIW-D85x6Zh2.js} +1 -1
- package/console-app/assets/{chunk-W5SLKNZC-rq3UcMTy.js → chunk-W5SLKNZC-B1Ps46_n.js} +1 -1
- package/console-app/assets/{chunk-WRU74C26-DUX-oZjQ.js → chunk-WRU74C26-Ct8XrToU.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-C1KaR4pt.js +1 -0
- package/console-app/assets/classDiagram-JCYQIIEL-23nagJMi.js +1 -0
- package/console-app/assets/classDiagram-v2-OCEON4UE-23nagJMi.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-DZn35HFs.js → cose-bilkent-JH36ORCC-DdevwV5Y.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-mZlOMKNi.js → cynefin-VYW2F7L2-Dj55csoo.js} +1 -1
- package/console-app/assets/{cynefinDiagram-MW4NZA55-uUAfUoag.js → cynefinDiagram-MW4NZA55-XWSzdajo.js} +1 -1
- package/console-app/assets/{dagre-DfTmIhGN.js → dagre-CLoXIMX5.js} +1 -1
- package/console-app/assets/{dagre-VZM6K2ZE-7oTddCss.js → dagre-VZM6K2ZE-BV2l3zSF.js} +1 -1
- package/console-app/assets/{diagram-7IWD3JNH-D6TR4TlN.js → diagram-7IWD3JNH-DC9NK-nv.js} +1 -1
- package/console-app/assets/{diagram-B4RE2ZJO-BZwUFLzC.js → diagram-B4RE2ZJO-Cirfb0aN.js} +1 -1
- package/console-app/assets/{diagram-LBJQPF4R-B4Ug2xRo.js → diagram-LBJQPF4R-BuRRy5X5.js} +1 -1
- package/console-app/assets/{diagram-Q27KOJAE-Fpr_Cahs.js → diagram-Q27KOJAE-CAOKQ2xs.js} +1 -1
- package/console-app/assets/{diagram-UB23O5K3-d0X7PA-5.js → diagram-UB23O5K3-Bto5kBJo.js} +1 -1
- package/console-app/assets/{ebnfDiagram-BXEA7PRR-DExP954c.js → ebnfDiagram-BXEA7PRR-C5OndYGC.js} +1 -1
- package/console-app/assets/{erDiagram-JOGREHBK-WdnXmG8f.js → erDiagram-JOGREHBK-DqU4xV4C.js} +1 -1
- package/console-app/assets/eventmodeling-45OFAUF4-RyG54ZHy.js +1 -0
- package/console-app/assets/flowDiagram-UKHOOZJN-DNdfrnRg.js +1 -0
- package/console-app/assets/{ganttDiagram-PKOTCBZU-ADJHCyvl.js → ganttDiagram-PKOTCBZU-D5_DE9R0.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-BPcXt1vK.js → gitGraph-TEB2WS4Q-nuqfz7Fd.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-DS77QQ5N-DFhenfUX.js → gitGraphDiagram-DS77QQ5N-BtJwp2Y3.js} +1 -1
- package/console-app/assets/{index-BwP6EcJr.js → index-DRfts2XF.js} +184 -184
- package/console-app/assets/{index-Mq-YbqNO.css → index-DXcH2K9z.css} +1 -1
- package/console-app/assets/{info-DKCQHKI2-BsE7egna.js → info-DKCQHKI2-CIfPVqHr.js} +1 -1
- package/console-app/assets/{infoDiagram-6WML65LV-BmVqXMw0.js → infoDiagram-6WML65LV-B-gTHQad.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-WSZJBQD7-CdFTPIY5.js → ishikawaDiagram-WSZJBQD7-CCwAWb1g.js} +1 -1
- package/console-app/assets/{journeyDiagram-NVQOT4AX-DC8CKdJk.js → journeyDiagram-NVQOT4AX-DhqNj_ci.js} +1 -1
- package/console-app/assets/{kanban-definition-27J2QSJJ-Bo7kRcLN.js → kanban-definition-27J2QSJJ-DspZ1b3Y.js} +1 -1
- package/console-app/assets/{line-5nUqh22u.js → line-D7ZCpNkR.js} +1 -1
- package/console-app/assets/{linear-82KoPtTH.js → linear-B5jMy_q9.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-R240ylPw.js → mermaid-parser.core-CMBFGJ0U.js} +3 -3
- package/console-app/assets/{mermaid.core-BZ3jSM6D.js → mermaid.core-DYoDrSEJ.js} +4 -4
- package/console-app/assets/{mindmap-definition-FAOFIHXS-x1K54VeO.js → mindmap-definition-FAOFIHXS-DsHwd2K9.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-CE2Lun0t.js → packet-7NZHBO7P-BSRRjf4H.js} +1 -1
- package/console-app/assets/{pegDiagram-VL7TDLO6-CpGZYdUz.js → pegDiagram-VL7TDLO6-Bi0OlzgS.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-Hf5MOyY8.js → pie-RZYD4A2V-D-8tgqYW.js} +1 -1
- package/console-app/assets/{pieDiagram-7S7Q4E2Y-0J5H7r7g.js → pieDiagram-7S7Q4E2Y-CsYbVqaR.js} +1 -1
- package/console-app/assets/{quadrantDiagram-CIZ2JOQS-DWtYi8O-.js → quadrantDiagram-CIZ2JOQS-LkLWrWKK.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-BgtvrX4w.js → radar-I7S5WNFK-Bst62XZP.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-CeR0NhLL.js → railroad-3IZDKUUU-zJswMQYF.js} +1 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-DX4FqVY6.js +1 -0
- package/console-app/assets/railroad-ebnf-EBAXGLYW-DdyOtX1l.js +1 -0
- package/console-app/assets/railroad-peg-LSFZ7HO6-CclC1sXF.js +1 -0
- package/console-app/assets/{railroadDiagram-AXF67PYL-CUIn_gPf.js → railroadDiagram-AXF67PYL-C0QZkg7m.js} +1 -1
- package/console-app/assets/{requirementDiagram-LRYGKXZP-Ds9Aqcts.js → requirementDiagram-LRYGKXZP-BQg0AbLI.js} +1 -1
- package/console-app/assets/{sankeyDiagram-W5VNT64P-CKhuya4d.js → sankeyDiagram-W5VNT64P-CQb0BMMi.js} +1 -1
- package/console-app/assets/{sequenceDiagram-SI44F4Z6-DKgOmdzz.js → sequenceDiagram-SI44F4Z6-BzgBi0a5.js} +1 -1
- package/console-app/assets/{src-DwHVY--Z.js → src-Dg-KiSsV.js} +1 -1
- package/console-app/assets/{stateDiagram-OKZ733FA-CPIfaZie.js → stateDiagram-OKZ733FA-BiqXn68g.js} +1 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-I34jrzP0.js +1 -0
- package/console-app/assets/{swimlanes-SLNWSIFB-8q3lK4RS.js → swimlanes-SLNWSIFB-Dy7wDP1q.js} +1 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-C1PrPB0G.js +8 -0
- package/console-app/assets/{timeline-definition-Z64GVDOM-CHHi2Rpq.js → timeline-definition-Z64GVDOM-DSWXli8X.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-DrLHlsII.js → treeView-QDETBFTQ-CeWwcs9r.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-C3saYKuK.js → treemap-6X3UGDF4-BfrumiJh.js} +1 -1
- package/console-app/assets/{vennDiagram-T6HMQDX7-CdyzNiAu.js → vennDiagram-T6HMQDX7-BsuldZ1n.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-BSrymyse.js → wardley-OPB4EBWU-oZldxS8z.js} +1 -1
- package/console-app/assets/{wardleyDiagram-T6FBY63Y-CCW6rhEo.js → wardleyDiagram-T6FBY63Y-C5LXyHMj.js} +1 -1
- package/console-app/assets/{xychartDiagram-ELKLHX3M-BQvPaxzg.js → xychartDiagram-ELKLHX3M-CwhqhNkO.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 +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/auth/index.d.ts +1 -1
- package/dist/.pikku/auth/index.js +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/channel/index.d.ts +1 -1
- package/dist/.pikku/channel/index.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/index.d.ts +1 -1
- package/dist/.pikku/cli/index.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +1 -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-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.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 +1 -1
- 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 +2 -2
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js +2 -2
- 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/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 +3 -3
- 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 +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 +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/setup/index.d.ts +1 -1
- package/dist/.pikku/setup/index.js +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/trigger/index.d.ts +1 -1
- package/dist/.pikku/trigger/index.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/index.d.ts +1 -1
- package/dist/.pikku/variables/index.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/index.d.ts +1 -1
- package/dist/.pikku/workflow/index.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +2 -2
- package/dist/src/deploy/bundler/bundler.js +1 -15
- package/dist/src/deploy/bundler/service-module-map.d.ts +17 -0
- package/dist/src/deploy/bundler/service-module-map.js +19 -0
- package/dist/src/fabric/functions/deploy.function.js +4 -2
- package/dist/src/fabric/functions/validate.function.js +70 -7
- package/dist/src/fabric/lib/deployment.d.ts +14 -0
- package/dist/src/fabric/lib/deployment.js +24 -0
- package/dist/src/functions/commands/scenario-formatter.js +6 -3
- package/dist/src/functions/commands/scenario-ladder.d.ts +8 -1
- package/dist/src/functions/commands/scenario-ladder.js +56 -12
- package/dist/src/functions/commands/scenario.js +1 -1
- package/dist/src/functions/validate/shared-checks.d.ts +25 -0
- package/dist/src/functions/validate/shared-checks.js +86 -2
- package/dist/src/functions/wirings/middleware/serialize-middleware-types.js +1 -1
- package/dist/src/functions/wirings/variables/serialize-variables-types.js +5 -1
- package/dist/src/functions/wirings/workflow/serialize-scenario-types.js +2 -2
- package/dist/src/services/cli-logger-forwarder.service.d.ts +2 -0
- package/dist/src/services/cli-logger-forwarder.service.js +10 -0
- package/dist/src/services/cli-logger.service.d.ts +21 -0
- package/dist/src/services/cli-logger.service.js +41 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/surface.json +88 -7
- package/console-app/assets/architecture-TIHT7OUA-CA-Di-O3.js +0 -1
- package/console-app/assets/channel-UOxM22B3.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-gIL1rRSY.js +0 -1
- package/console-app/assets/classDiagram-JCYQIIEL-BwV1w5At.js +0 -1
- package/console-app/assets/classDiagram-v2-OCEON4UE-BwV1w5At.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-DXnDrAdV.js +0 -1
- package/console-app/assets/flowDiagram-UKHOOZJN-UixAvy5Z.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-BEVU16-y.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-WT4rrGXf.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-BnObCMjn.js +0 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-DHcCmJ1C.js +0 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-B1uT0NiL.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,146 @@
|
|
|
1
|
+
## 0.12.124
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- e0106bb: fabric validate: honour better-auth `modelName` overrides in the auth schema check.
|
|
6
|
+
|
|
7
|
+
The check looked for migrations creating `user`, `session`, `account` and
|
|
8
|
+
`verification` — better-auth's default table names. An app that already owns a
|
|
9
|
+
`user` table renames the models (`user: { modelName: 'authUser' }`), and the
|
|
10
|
+
adapter's CamelCasePlugin then writes them as `auth_user`, `auth_session` and
|
|
11
|
+
so on. None of the default names appear in such an app's migrations, so a fully
|
|
12
|
+
migrated project was reported as having no better-auth schema at all — an error
|
|
13
|
+
it had no way to clear.
|
|
14
|
+
|
|
15
|
+
Each model now also matches its configured `modelName` and that name's
|
|
16
|
+
snake_case form, read from the source files that configure better-auth.
|
|
17
|
+
|
|
18
|
+
- e0106bb: fabric validate: stop two scanners reporting false positives.
|
|
19
|
+
|
|
20
|
+
The undeclared-import scan read raw file text, so prose in a comment or a
|
|
21
|
+
description string matched its `from "..."` pattern — `Converted from the
|
|
22
|
+
Gherkin scenario of the same name` reported a missing package named `signed`.
|
|
23
|
+
Comments are now blanked before the scan, and a specifier containing whitespace
|
|
24
|
+
is never a package name.
|
|
25
|
+
|
|
26
|
+
The scenario copy scan matched every string literal in the file against the
|
|
27
|
+
message catalogue, so an RPC payload field whose value happens to equal a label
|
|
28
|
+
was reported as hardcoded UI copy — `unit: 'kg'` flagged against a `unit_kg`
|
|
29
|
+
form suffix, where rewriting it to a message lookup would bind a stored value to
|
|
30
|
+
UI copy. A literal in `key: '...'` position now only counts when the key names
|
|
31
|
+
something the browser renders; bare locator arguments are unchanged.
|
|
32
|
+
|
|
33
|
+
- e0106bb: fabric validate: stop the scenario copy scan reporting asserted values as UI copy.
|
|
34
|
+
|
|
35
|
+
`expect(item.unit, 'kg', 'the item unit')` compares a value an RPC returned.
|
|
36
|
+
The scan matched the literal against the message catalogue and reported it as
|
|
37
|
+
hardcoded copy that should be read from `unit_kg` — a fix that would bind a
|
|
38
|
+
stored value to a form label, so the assertion would then pass against whatever
|
|
39
|
+
the label happened to say.
|
|
40
|
+
|
|
41
|
+
A literal passed directly to `expect(...)` is no longer scanned. A locator
|
|
42
|
+
nested inside one still is: in `expect(await page.getByText('Save').count(), 1)`
|
|
43
|
+
the literal belongs to `getByText`.
|
|
44
|
+
|
|
45
|
+
- 6d9c09c: Resolve a variable's declared default instead of dropping it.
|
|
46
|
+
|
|
47
|
+
`defineVariable` takes a schema, and a schema can carry a default — `z.enum(['https://api.github.com']).default('https://api.github.com')` is the shape most addons declare their base URL with. Nothing read it. `variables.get('GITHUB_BASE_URL')` returned `undefined` on a host that had not set it, and the `as string` at the call site hid that until a request went to `undefined/repos/...`.
|
|
48
|
+
|
|
49
|
+
The default now resolves in `TypedVariablesService`, which is the layer that knows what was declared — `VariablesService` only knows what a host put in it. A stored value always wins; a schema with no default still resolves to `undefined`.
|
|
50
|
+
|
|
51
|
+
`VariableStatus` gains `hasDefault`, and `getMissing()` no longer lists a variable that defaults: it has a value, just not one anybody has to supply. `isConfigured` still means what it said — that a host set it.
|
|
52
|
+
|
|
53
|
+
For this to work the generated `TYPED_VARIABLES_META` now carries the schema as a value rather than only `z.infer`-ing its type, so the schema module is retained in the emit instead of being elided.
|
|
54
|
+
|
|
55
|
+
- ef775dc: validate: flag static imports of packages the deploy bundler stubs
|
|
56
|
+
|
|
57
|
+
The deploy bundler replaces the AI SDK packages (`@pikku/ai-vercel`, `@ai-sdk/*`,
|
|
58
|
+
`ai`) with `export {}` in every unit that does not require `agentRunner`, so a
|
|
59
|
+
static named import of one in `services.ts` fails to bundle with an opaque
|
|
60
|
+
esbuild error repeated once per unit. `pikku fabric validate` now reports this as
|
|
61
|
+
`services-static-stubbed-import` and points at the lazy-import shape the starter
|
|
62
|
+
template uses. The service-to-module map moved to its own module so the check and
|
|
63
|
+
the bundler read the same list.
|
|
64
|
+
|
|
65
|
+
- 239332b: Move first-party product analytics out of application code and into the framework.
|
|
66
|
+
|
|
67
|
+
`createAnalytics<Event>({ endpoint })` in `@pikku/react` is the buffered beacon client: it is typed against the app's own event union, flushes on an interval, on size and on `pagehide`/`visibilitychange` (via `sendBeacon`, so the abandon-point events survive unload), never surfaces a failure to the user and never retries. It also carries the delegated `data-analytics-click` listener, registered in the capture phase so a component calling `stopPropagation()` cannot silence instrumentation, and merging `data-analytics-meta` from ancestors with nearest-wins. Put the client on the Pikku instance and `usePikkuAnalytics<Event>()` reaches it from the provider, alongside `usePikkuFetch` and `usePikkuRPC`.
|
|
68
|
+
|
|
69
|
+
`requireOrigin()` in `@pikku/core/middleware` is a server-side origin lock for any unauthed route, and is re-exported from the generated `#pikku/middleware` leaf alongside `cors`. Unlike `cors()` — which only sets response headers a non-browser client ignores — it rejects with a 403 before the function body. Comparison is exact on the parsed origin, so `https://evil-myapp.com` cannot suffix-match `myapp.com`, and a missing `Origin` is rejected because a real browser always sets one on a cross-origin-capable POST. Allowed origins default to the request's own host and can be extended with a list or a resolver over services. `isAllowedOrigin` and `toOrigin` are exported for direct unit testing.
|
|
70
|
+
|
|
71
|
+
Together these let an app keep only its event registry and its wiring, instead of a few hundred lines of copied transport.
|
|
72
|
+
|
|
73
|
+
- Updated dependencies [8154b1c]
|
|
74
|
+
- Updated dependencies [af2b764]
|
|
75
|
+
- Updated dependencies [6d9c09c]
|
|
76
|
+
- Updated dependencies [239332b]
|
|
77
|
+
- @pikku/core@0.12.97
|
|
78
|
+
- @pikku/inspector@0.12.67
|
|
79
|
+
|
|
80
|
+
## 0.12.123
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- 9d2fbeb: Point a config-blocked deploy at the command that sets what is actually missing
|
|
85
|
+
|
|
86
|
+
A deploy blocked on `needs_config` printed one hint — "Set the values with
|
|
87
|
+
`pikku fabric secrets set <name>`" — whether what was missing was a secret or a
|
|
88
|
+
variable. Secrets and variables are set by two different commands, so anyone
|
|
89
|
+
blocked on a variable was sent to a command that refuses their value. The hint
|
|
90
|
+
now follows what is missing and names it, so the values can be found without
|
|
91
|
+
reading the deployment status by hand.
|
|
92
|
+
|
|
93
|
+
- 2f94a0a: Stop `pikku all` failing on a diagnostic its own codegen went on to fix.
|
|
94
|
+
|
|
95
|
+
The run inspects several times, because generating the scaffold, the leaf indexes and the type files each changes the source graph the next inspection reads. Every full inspection re-runs every validator, so the newest pass is the complete one — but the logger accumulated diagnostics across all of them, and the build gate failed the run if any pass had ever recorded a critical.
|
|
96
|
+
|
|
97
|
+
A project whose system roles grant a scaffold-declared scope (`virtualUser:*`) therefore could not build from clean: the pass taken before the scaffold existed raised PKU124, the pass taken after was clean, and the run failed anyway. Same for PKU951 on a scaffold-declared secret.
|
|
98
|
+
|
|
99
|
+
Validation diagnostics are now scoped to the pass that recorded them, so a later pass supersedes an earlier one. Diagnostics reported outside a validation pass — by a generator or a command — are untouched, and a fault every pass reports still fails the run.
|
|
100
|
+
|
|
101
|
+
- f1ccfe3: A step ladder reads as one paragraph, not a list of restatements
|
|
102
|
+
|
|
103
|
+
Every step prefixed its actor with `the `, named that actor again, and repeated
|
|
104
|
+
the phase keyword. A three-step run by one person said their name three times
|
|
105
|
+
and `Given` three times, only read as English when the persona key happened to
|
|
106
|
+
be a role noun, and never said who that person was — the fabric template's own
|
|
107
|
+
placeholder came out as `the nadia opens /app`.
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
Given yasser (the founder) signs in
|
|
111
|
+
When yasser opens the dashboard
|
|
112
|
+
And sees the audit log
|
|
113
|
+
And nadia reviews the invite
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
The article is gone: the actor key is the subject verbatim, so a persona named
|
|
117
|
+
after a person reads as that person. A repeated phase reads as `And`, the way
|
|
118
|
+
Gherkin has always written it. A step that continues both the phase and the
|
|
119
|
+
actor drops the repeated subject, because English drops a repeated subject in a
|
|
120
|
+
compound predicate — it takes both, since eliding across a phase change gives
|
|
121
|
+
`When opens the dashboard`, and a pronoun rather than a name would give `they
|
|
122
|
+
sees`, step templates being authored in the third person singular.
|
|
123
|
+
|
|
124
|
+
An actor is introduced once, by the persona's `jobTitle` — prose someone wrote
|
|
125
|
+
for a reader. `roles` is authorisation, so a persona whose only description is a
|
|
126
|
+
`reviewer` grant gets no introduction rather than one assembled out of grants.
|
|
127
|
+
A row carries `sentenceWithRole` alongside `sentence`, set only where an actor
|
|
128
|
+
is first named, so a renderer can offer the introduction as a toggle without
|
|
129
|
+
parsing a composed sentence back apart.
|
|
130
|
+
|
|
131
|
+
`{placeholder}` filling, the `#ordinal` lookup for repeated step names and an
|
|
132
|
+
actorless step reading as its description alone are all unchanged.
|
|
133
|
+
|
|
134
|
+
- Updated dependencies [88629af]
|
|
135
|
+
- Updated dependencies [88629af]
|
|
136
|
+
- Updated dependencies [2f94a0a]
|
|
137
|
+
- Updated dependencies [7eeff81]
|
|
138
|
+
- Updated dependencies [f1ccfe3]
|
|
139
|
+
- @pikku/core@0.12.96
|
|
140
|
+
- @pikku/fetch@0.12.10
|
|
141
|
+
- @pikku/inspector@0.12.66
|
|
142
|
+
- @pikku/skills@0.12.19
|
|
143
|
+
|
|
1
144
|
## 0.12.122
|
|
2
145
|
|
|
3
146
|
### Patch Changes
|
package/console-app/assets/{abnfDiagram-N423BO3Z-Dfq94a7u.js → abnfDiagram-N423BO3Z-BP7zxMq6.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{m as e,t}from"./mermaid-parser.core-CMBFGJ0U.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-Dg-KiSsV.js";import"./chunk-I66GZJ75-DDQhhfA0.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-Bswg4T3s.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-DYoDrSEJ.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-CMBFGJ0U.js";export{e as createArchitectureServices};
|