@pikku/cli 0.12.123 → 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 +79 -0
- package/console-app/assets/{abnfDiagram-N423BO3Z-BR5_-R36.js → abnfDiagram-N423BO3Z-BP7zxMq6.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-D4Hj6824.js +1 -0
- package/console-app/assets/{architectureDiagram-T3A2C74G-PWMb8XVe.js → architectureDiagram-T3A2C74G-mvqdkIfF.js} +1 -1
- package/console-app/assets/{blockDiagram-VBNYF7ZC-BRFlIAtN.js → blockDiagram-VBNYF7ZC-daD8h3VT.js} +1 -1
- package/console-app/assets/{c4Diagram-5PPSVZJV-DnxGac5c.js → c4Diagram-5PPSVZJV-Bd0_wKJj.js} +1 -1
- package/console-app/assets/channel-09aKDzM0.js +1 -0
- package/console-app/assets/{chunk-2GRJ4B5K-B09NFK9f.js → chunk-2GRJ4B5K-BFRr_H2V.js} +1 -1
- package/console-app/assets/{chunk-4I5QYGJK-Di1FL5uh.js → chunk-4I5QYGJK-BXWo5Xyx.js} +1 -1
- package/console-app/assets/{chunk-5RXB4S5H-BkFSNR63.js → chunk-5RXB4S5H-BFnXfzzz.js} +1 -1
- package/console-app/assets/{chunk-6Q2QTUOP-L6D94YxI.js → chunk-6Q2QTUOP-Bswg4T3s.js} +1 -1
- package/console-app/assets/{chunk-7Z6QIM7H-DfzYcuKW.js → chunk-7Z6QIM7H-StNGH40U.js} +1 -1
- package/console-app/assets/{chunk-GF5L2VYU-CA5m-Xs7.js → chunk-GF5L2VYU-QwXKtQxa.js} +1 -1
- package/console-app/assets/{chunk-I66GZJ75-Hl61byF7.js → chunk-I66GZJ75-DDQhhfA0.js} +1 -1
- package/console-app/assets/{chunk-JQJVKLGR-CgLeeXhv.js → chunk-JQJVKLGR-wFyF2bUv.js} +1 -1
- package/console-app/assets/{chunk-KBJHAD2P-9mRl0jD6.js → chunk-KBJHAD2P-CQPQVDkD.js} +1 -1
- package/console-app/assets/{chunk-NSK5VX7P-D7NmS_w1.js → chunk-NSK5VX7P-DZhjvnHm.js} +1 -1
- package/console-app/assets/{chunk-QR6OTTB3-KdKTpLyy.js → chunk-QR6OTTB3-D1-TbcCP.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-DeEpMb3d.js → chunk-RYQCIY6F-82OYF6U8.js} +1 -1
- package/console-app/assets/{chunk-UBXNYLIW-DKYUw71c.js → chunk-UBXNYLIW-D85x6Zh2.js} +1 -1
- package/console-app/assets/{chunk-W5SLKNZC-B2fxVl1I.js → chunk-W5SLKNZC-B1Ps46_n.js} +1 -1
- package/console-app/assets/{chunk-WRU74C26-CHP8CDJx.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-Bv8nl8zW.js → cose-bilkent-JH36ORCC-DdevwV5Y.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-CSj7rmbq.js → cynefin-VYW2F7L2-Dj55csoo.js} +1 -1
- package/console-app/assets/{cynefinDiagram-MW4NZA55-C3xwJ3tQ.js → cynefinDiagram-MW4NZA55-XWSzdajo.js} +1 -1
- package/console-app/assets/{dagre-DUPxteSi.js → dagre-CLoXIMX5.js} +1 -1
- package/console-app/assets/{dagre-VZM6K2ZE-B_2qJCCS.js → dagre-VZM6K2ZE-BV2l3zSF.js} +1 -1
- package/console-app/assets/{diagram-7IWD3JNH-IH1BOccH.js → diagram-7IWD3JNH-DC9NK-nv.js} +1 -1
- package/console-app/assets/{diagram-B4RE2ZJO-BVvJvAvO.js → diagram-B4RE2ZJO-Cirfb0aN.js} +1 -1
- package/console-app/assets/{diagram-LBJQPF4R-CyDL-OzR.js → diagram-LBJQPF4R-BuRRy5X5.js} +1 -1
- package/console-app/assets/{diagram-Q27KOJAE-BwUGm_12.js → diagram-Q27KOJAE-CAOKQ2xs.js} +1 -1
- package/console-app/assets/{diagram-UB23O5K3-TPo3mAAN.js → diagram-UB23O5K3-Bto5kBJo.js} +1 -1
- package/console-app/assets/{ebnfDiagram-BXEA7PRR-D3zthE3L.js → ebnfDiagram-BXEA7PRR-C5OndYGC.js} +1 -1
- package/console-app/assets/{erDiagram-JOGREHBK-DrJSdPyj.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-xWWCXZUc.js → ganttDiagram-PKOTCBZU-D5_DE9R0.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-DqccwZ0r.js → gitGraph-TEB2WS4Q-nuqfz7Fd.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-DS77QQ5N-BrQMGv-z.js → gitGraphDiagram-DS77QQ5N-BtJwp2Y3.js} +1 -1
- package/console-app/assets/{index-BP1o9ux1.js → index-DRfts2XF.js} +175 -175
- package/console-app/assets/{index-Mq-YbqNO.css → index-DXcH2K9z.css} +1 -1
- package/console-app/assets/{info-DKCQHKI2-DYYsb_ec.js → info-DKCQHKI2-CIfPVqHr.js} +1 -1
- package/console-app/assets/{infoDiagram-6WML65LV-B659BK5Z.js → infoDiagram-6WML65LV-B-gTHQad.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-WSZJBQD7-nAST6NVR.js → ishikawaDiagram-WSZJBQD7-CCwAWb1g.js} +1 -1
- package/console-app/assets/{journeyDiagram-NVQOT4AX-DvMfDp0L.js → journeyDiagram-NVQOT4AX-DhqNj_ci.js} +1 -1
- package/console-app/assets/{kanban-definition-27J2QSJJ-XSWRq0KN.js → kanban-definition-27J2QSJJ-DspZ1b3Y.js} +1 -1
- package/console-app/assets/{line-BhOX1huR.js → line-D7ZCpNkR.js} +1 -1
- package/console-app/assets/{linear-DmCFkJVF.js → linear-B5jMy_q9.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-3dL4TN1f.js → mermaid-parser.core-CMBFGJ0U.js} +3 -3
- package/console-app/assets/{mermaid.core-DaXl8RjK.js → mermaid.core-DYoDrSEJ.js} +4 -4
- package/console-app/assets/{mindmap-definition-FAOFIHXS-BVSaEdh8.js → mindmap-definition-FAOFIHXS-DsHwd2K9.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-DmXSSPjQ.js → packet-7NZHBO7P-BSRRjf4H.js} +1 -1
- package/console-app/assets/{pegDiagram-VL7TDLO6-Cd94zu6b.js → pegDiagram-VL7TDLO6-Bi0OlzgS.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-BfIstVk8.js → pie-RZYD4A2V-D-8tgqYW.js} +1 -1
- package/console-app/assets/{pieDiagram-7S7Q4E2Y-Jxlih0Om.js → pieDiagram-7S7Q4E2Y-CsYbVqaR.js} +1 -1
- package/console-app/assets/{quadrantDiagram-CIZ2JOQS-DMa-9Zmv.js → quadrantDiagram-CIZ2JOQS-LkLWrWKK.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-BhvNZ__k.js → radar-I7S5WNFK-Bst62XZP.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-C7yHVxVy.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-DsBXjXIE.js → railroadDiagram-AXF67PYL-C0QZkg7m.js} +1 -1
- package/console-app/assets/{requirementDiagram-LRYGKXZP-C5JX79TM.js → requirementDiagram-LRYGKXZP-BQg0AbLI.js} +1 -1
- package/console-app/assets/{sankeyDiagram-W5VNT64P-DFGcEBC2.js → sankeyDiagram-W5VNT64P-CQb0BMMi.js} +1 -1
- package/console-app/assets/{sequenceDiagram-SI44F4Z6-BUa6ak9R.js → sequenceDiagram-SI44F4Z6-BzgBi0a5.js} +1 -1
- package/console-app/assets/{src-BJFofs4v.js → src-Dg-KiSsV.js} +1 -1
- package/console-app/assets/{stateDiagram-OKZ733FA-DFbCY_t8.js → stateDiagram-OKZ733FA-BiqXn68g.js} +1 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-I34jrzP0.js +1 -0
- package/console-app/assets/{swimlanes-SLNWSIFB-Cl9G39FU.js → swimlanes-SLNWSIFB-Dy7wDP1q.js} +1 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-C1PrPB0G.js +8 -0
- package/console-app/assets/{timeline-definition-Z64GVDOM-ClWBr3pJ.js → timeline-definition-Z64GVDOM-DSWXli8X.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-DIQ61Y8k.js → treeView-QDETBFTQ-CeWwcs9r.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-KbZtNSyG.js → treemap-6X3UGDF4-BfrumiJh.js} +1 -1
- package/console-app/assets/{vennDiagram-T6HMQDX7-BY367OUV.js → vennDiagram-T6HMQDX7-BsuldZ1n.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-BZc1RNrx.js → wardley-OPB4EBWU-oZldxS8z.js} +1 -1
- package/console-app/assets/{wardleyDiagram-T6FBY63Y-D45un7IA.js → wardleyDiagram-T6FBY63Y-C5LXyHMj.js} +1 -1
- package/console-app/assets/{xychartDiagram-ELKLHX3M-Ci5YwcnQ.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.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 +1 -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 +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/validate.function.js +70 -7
- 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/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/surface.json +88 -7
- package/console-app/assets/architecture-TIHT7OUA-B-7dd9iF.js +0 -1
- package/console-app/assets/channel-eaKvL3e5.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-CJZ5XPXr.js +0 -1
- package/console-app/assets/classDiagram-JCYQIIEL-CSV3IvA1.js +0 -1
- package/console-app/assets/classDiagram-v2-OCEON4UE-CSV3IvA1.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-TV8Whj2Z.js +0 -1
- package/console-app/assets/flowDiagram-UKHOOZJN-C0682uBh.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-BbrGgpop.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-BMxBKnfa.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-i24YvrZ1.js +0 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-Ds7kyy87.js +0 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-BAuvqF_W.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,82 @@
|
|
|
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
|
+
|
|
1
80
|
## 0.12.123
|
|
2
81
|
|
|
3
82
|
### Patch Changes
|
package/console-app/assets/{abnfDiagram-N423BO3Z-BR5_-R36.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};
|