@pikku/cli 0.12.107 → 0.12.110
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 +137 -0
- package/console-app/assets/{abnfDiagram-N423BO3Z-C5uToS9v.js → abnfDiagram-N423BO3Z-Bz2Ycfpe.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-5QhJKy4P.js +1 -0
- package/console-app/assets/{architectureDiagram-T3A2C74G-BzJDRfv4.js → architectureDiagram-T3A2C74G-CvAkxhy0.js} +1 -1
- package/console-app/assets/{blockDiagram-VBNYF7ZC-X5G9Ch-D.js → blockDiagram-VBNYF7ZC-CuVOo2PB.js} +1 -1
- package/console-app/assets/{c4Diagram-5PPSVZJV-B59aO2Sc.js → c4Diagram-5PPSVZJV-4Vg8SxCa.js} +1 -1
- package/console-app/assets/channel-DoE3nnYB.js +1 -0
- package/console-app/assets/{chunk-2GRJ4B5K-Bwe32j_R.js → chunk-2GRJ4B5K-CKKR4_dC.js} +1 -1
- package/console-app/assets/{chunk-4I5QYGJK-Beg_uQQN.js → chunk-4I5QYGJK-C-m_kVjm.js} +1 -1
- package/console-app/assets/{chunk-5RXB4S5H-0HaMiv3k.js → chunk-5RXB4S5H-CyUGtd0h.js} +1 -1
- package/console-app/assets/{chunk-6Q2QTUOP-CXxkExOq.js → chunk-6Q2QTUOP-BuzItInf.js} +1 -1
- package/console-app/assets/{chunk-7Z6QIM7H-zUqPbrvp.js → chunk-7Z6QIM7H-BGiBPuWt.js} +1 -1
- package/console-app/assets/{chunk-GF5L2VYU-CY0wGPcJ.js → chunk-GF5L2VYU-D8jaliB9.js} +1 -1
- package/console-app/assets/{chunk-I66GZJ75-BP5UNkJY.js → chunk-I66GZJ75-C-Lq_UXl.js} +1 -1
- package/console-app/assets/{chunk-JQJVKLGR-3dvnUUZN.js → chunk-JQJVKLGR-D7viK-tf.js} +1 -1
- package/console-app/assets/{chunk-KBJHAD2P-ChD7o2bf.js → chunk-KBJHAD2P-BS9N9gG4.js} +1 -1
- package/console-app/assets/{chunk-NSK5VX7P-oG1nh33f.js → chunk-NSK5VX7P-Fi_H0vaS.js} +1 -1
- package/console-app/assets/{chunk-QR6OTTB3-D_uKJrj6.js → chunk-QR6OTTB3-BJdg-tcL.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-CtYhP8W5.js → chunk-RYQCIY6F-CVbGA6YZ.js} +1 -1
- package/console-app/assets/{chunk-UBXNYLIW-CMgD3fvL.js → chunk-UBXNYLIW-BF-sAqEK.js} +1 -1
- package/console-app/assets/{chunk-W5SLKNZC-cjI56NCs.js → chunk-W5SLKNZC-CXrJJ0BX.js} +1 -1
- package/console-app/assets/{chunk-WRU74C26-BQqHgerX.js → chunk-WRU74C26-CGzysGBy.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-BDALKVU4.js +1 -0
- package/console-app/assets/classDiagram-JCYQIIEL-BgrrHQtN.js +1 -0
- package/console-app/assets/classDiagram-v2-OCEON4UE-BgrrHQtN.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-DcHzDpDb.js → cose-bilkent-JH36ORCC-BvFZIDHb.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-Cn2zn-8-.js → cynefin-VYW2F7L2-DRQ8xGmN.js} +1 -1
- package/console-app/assets/{cynefinDiagram-MW4NZA55-C00zINdu.js → cynefinDiagram-MW4NZA55-BwxQ4C1z.js} +1 -1
- package/console-app/assets/{dagre-DE2imcyX.js → dagre-J22zmNeE.js} +1 -1
- package/console-app/assets/{dagre-VZM6K2ZE-Bb2uZ7tL.js → dagre-VZM6K2ZE-DPtUyvjD.js} +1 -1
- package/console-app/assets/{diagram-7IWD3JNH-DUN-JIa1.js → diagram-7IWD3JNH-DGAzJ2Ln.js} +1 -1
- package/console-app/assets/{diagram-B4RE2ZJO-Ct5iRFhI.js → diagram-B4RE2ZJO-D14cIfto.js} +1 -1
- package/console-app/assets/{diagram-LBJQPF4R-BZ2Hrr-9.js → diagram-LBJQPF4R-CUscJ_pO.js} +1 -1
- package/console-app/assets/{diagram-Q27KOJAE-BHaThj6T.js → diagram-Q27KOJAE-CehBHMt3.js} +1 -1
- package/console-app/assets/{diagram-UB23O5K3-CH-SzBoh.js → diagram-UB23O5K3-BvazI_qH.js} +1 -1
- package/console-app/assets/{ebnfDiagram-BXEA7PRR-BkjeNaQH.js → ebnfDiagram-BXEA7PRR-CBZPYFwZ.js} +1 -1
- package/console-app/assets/{erDiagram-JOGREHBK-BdL77bY3.js → erDiagram-JOGREHBK-BN3FevvT.js} +1 -1
- package/console-app/assets/eventmodeling-45OFAUF4-D2SxzJUl.js +1 -0
- package/console-app/assets/flowDiagram-UKHOOZJN-CQXuJ0z2.js +1 -0
- package/console-app/assets/{ganttDiagram-PKOTCBZU-DfgO68Ez.js → ganttDiagram-PKOTCBZU-03mWH2kB.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-BNbepAzP.js → gitGraph-TEB2WS4Q-By2486wn.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-DS77QQ5N-Crb8obGB.js → gitGraphDiagram-DS77QQ5N-CCzKPRBJ.js} +1 -1
- package/console-app/assets/{index-g8jA8DJo.js → index-snBzz_U8.js} +3 -3
- package/console-app/assets/{index-Dsydm-nw.css → index-suVNAhyL.css} +1 -1
- package/console-app/assets/{info-DKCQHKI2-D9tXUXel.js → info-DKCQHKI2-C_vsavqC.js} +1 -1
- package/console-app/assets/{infoDiagram-6WML65LV-BvG8ufLa.js → infoDiagram-6WML65LV-BKvU8du7.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-WSZJBQD7-BWoGxEjO.js → ishikawaDiagram-WSZJBQD7-CnF0qm0n.js} +1 -1
- package/console-app/assets/{journeyDiagram-NVQOT4AX-CR4YcPHg.js → journeyDiagram-NVQOT4AX-DxKe9OZ7.js} +1 -1
- package/console-app/assets/{kanban-definition-27J2QSJJ-DYfc5EZe.js → kanban-definition-27J2QSJJ-CB8lgPxU.js} +1 -1
- package/console-app/assets/{line-NIaf8Mfw.js → line-DFNLso1I.js} +1 -1
- package/console-app/assets/{linear-DB_1BE-l.js → linear-D1cspVtk.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-BqCVMHRZ.js → mermaid-parser.core-BtmN233C.js} +3 -3
- package/console-app/assets/{mermaid.core-CYaeERjF.js → mermaid.core-37H5_HoB.js} +4 -4
- package/console-app/assets/{mindmap-definition-FAOFIHXS-BCjT2v4F.js → mindmap-definition-FAOFIHXS-Czf82JOB.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-CzFZvntp.js → packet-7NZHBO7P-CErYxAQM.js} +1 -1
- package/console-app/assets/{pegDiagram-VL7TDLO6-3iMotW64.js → pegDiagram-VL7TDLO6-CRKX6HOt.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-CXIoUTJn.js → pie-RZYD4A2V-YmMmh6Nq.js} +1 -1
- package/console-app/assets/{pieDiagram-7S7Q4E2Y-B-EOKkdd.js → pieDiagram-7S7Q4E2Y-Cot0Fu5q.js} +1 -1
- package/console-app/assets/{quadrantDiagram-CIZ2JOQS-DDdq8l2N.js → quadrantDiagram-CIZ2JOQS-DPEonVYT.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-9SLSkJ73.js → radar-I7S5WNFK-Pf_KiQJM.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-DdJ88Ord.js → railroad-3IZDKUUU-BYoOMoQY.js} +1 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-CCRXsRRD.js +1 -0
- package/console-app/assets/railroad-ebnf-EBAXGLYW-DVRSVgn8.js +1 -0
- package/console-app/assets/railroad-peg-LSFZ7HO6-COUBoNH3.js +1 -0
- package/console-app/assets/{railroadDiagram-AXF67PYL-BMW_s9QW.js → railroadDiagram-AXF67PYL-Di8N9tHD.js} +1 -1
- package/console-app/assets/{requirementDiagram-LRYGKXZP-BzcnEvjk.js → requirementDiagram-LRYGKXZP-2yZZ753q.js} +1 -1
- package/console-app/assets/{sankeyDiagram-W5VNT64P-Dh2TFvuG.js → sankeyDiagram-W5VNT64P-BwYA-xq1.js} +1 -1
- package/console-app/assets/{sequenceDiagram-SI44F4Z6-b-m-tQYz.js → sequenceDiagram-SI44F4Z6-odIxlx8J.js} +1 -1
- package/console-app/assets/{src-Dm8O0hiD.js → src-CxJwpjvz.js} +1 -1
- package/console-app/assets/{stateDiagram-OKZ733FA-W98kCkqj.js → stateDiagram-OKZ733FA-Du2S0qU9.js} +1 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-CTXOGDRR.js +1 -0
- package/console-app/assets/{swimlanes-SLNWSIFB-0q_y6cLu.js → swimlanes-SLNWSIFB-JZ3swzI2.js} +1 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-DRrggQgK.js +8 -0
- package/console-app/assets/{timeline-definition-Z64GVDOM-DmsNlhwe.js → timeline-definition-Z64GVDOM-CsppAEWi.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-DY7A9uJm.js → treeView-QDETBFTQ-DkkO8peQ.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-DI73Vm90.js → treemap-6X3UGDF4-hjLkPCJI.js} +1 -1
- package/console-app/assets/{vennDiagram-T6HMQDX7-Czpr9diJ.js → vennDiagram-T6HMQDX7-BOfgM1xp.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-C39AmDqd.js → wardley-OPB4EBWU-C5ZtGfBa.js} +1 -1
- package/console-app/assets/{wardleyDiagram-T6FBY63Y-DOtWBvnk.js → wardleyDiagram-T6FBY63Y-ymf3Vm6A.js} +1 -1
- package/console-app/assets/{xychartDiagram-ELKLHX3M-VHHuGrWV.js → xychartDiagram-ELKLHX3M-DdxXIoKz.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-meta.gen.json +7 -42
- 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 +18 -18
- 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 +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/queue/index.d.ts +1 -1
- package/dist/.pikku/queue/index.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/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/cli.wiring.js +0 -42
- package/dist/src/deploy/bundler/bun-bundler.js +18 -2
- package/dist/src/fabric/functions/validate.function.js +24 -4
- package/dist/src/functions/commands/dev-agent-runner.js +48 -13
- package/dist/src/functions/commands/dev.js +1 -2
- package/dist/src/functions/commands/enable.js +11 -27
- package/dist/src/functions/commands/serve.js +1 -2
- package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.js +6 -6
- package/dist/src/functions/validate/shared-checks.js +1 -1
- package/dist/src/functions/wirings/agent/pikku-command-public-agent.js +1 -2
- package/dist/src/functions/wirings/agent/serialize-public-agent.d.ts +1 -1
- package/dist/src/functions/wirings/agent/serialize-public-agent.js +10 -11
- package/dist/src/functions/wirings/emails/pikku-command-emails.js +2 -2
- package/dist/src/functions/wirings/emails/serialize-emails.js +112 -42
- package/dist/src/functions/wirings/middleware/serialize-middleware-types.js +1 -1
- package/dist/src/functions/wirings/personas/serialize-personas-secrets.d.ts +5 -0
- package/dist/src/functions/wirings/personas/serialize-personas-secrets.js +6 -0
- package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.js +1 -3
- package/dist/src/functions/wirings/realtime/serialize-events-scaffold.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/serialize-events-scaffold.js +3 -4
- package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +1 -2
- package/dist/src/functions/wirings/rpc/serialize-public-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +3 -4
- package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.d.ts +4 -5
- package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.js +5 -6
- package/dist/src/functions/wirings/scopes/pikku-command-scopes.js +5 -0
- package/dist/src/functions/wirings/scopes/serialize-scopes-client.d.ts +16 -0
- package/dist/src/functions/wirings/scopes/serialize-scopes-client.js +72 -0
- package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +1 -2
- package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +1 -1
- package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +1 -8
- package/dist/src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.js +1 -2
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.d.ts +1 -1
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +1 -4
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.js +1 -2
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +8 -9
- package/dist/src/utils/pikku-cli-config.js +8 -4
- package/dist/src/utils/resolve-scaffold-feature.d.ts +7 -6
- package/dist/src/utils/resolve-scaffold-feature.js +11 -35
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/surface.json +1 -1
- package/console-app/assets/architecture-TIHT7OUA-B1IpeRpl.js +0 -1
- package/console-app/assets/channel-sTJGzqn9.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-CLdTtHL4.js +0 -1
- package/console-app/assets/classDiagram-JCYQIIEL-Dh0wx8TK.js +0 -1
- package/console-app/assets/classDiagram-v2-OCEON4UE-Dh0wx8TK.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-C6PNVeIU.js +0 -1
- package/console-app/assets/flowDiagram-UKHOOZJN-CmURPvo2.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-D2QiLT8B.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-CSMqj9L2.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-Cg1-F8im.js +0 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-DpnoMNHC.js +0 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-BmGtOaWo.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,140 @@
|
|
|
1
|
+
## 0.12.110
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- 74b8b63: Narrow the Bun resolve plugin's `onResolve` filter to the specifiers it actually
|
|
6
|
+
rewrites. A catch-all filter that deferred to Bun for everything else made Bun
|
|
7
|
+
bundle any bare specifier resolved through a package.json `exports` subpath
|
|
8
|
+
(`@pikku/core/workflow`) as an empty module, so every deployed worker died at
|
|
9
|
+
startup with `ReferenceError: PikkuWorkflowService is not defined`.
|
|
10
|
+
|
|
11
|
+
## 0.12.109
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- a6bdc52: feat(cli): generate a browser-safe scope client
|
|
16
|
+
|
|
17
|
+
`clientFiles.scopesFile` emits the project's `ScopeId` union and a
|
|
18
|
+
`hasScopes(required, held)` with the cascade inlined, so a frontend deciding
|
|
19
|
+
what to render no longer imports `@pikku/core` — a server package that drags
|
|
20
|
+
AsyncLocalStorage and the wiring runtime into the bundle.
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [4712e73]
|
|
23
|
+
- Updated dependencies [082403f]
|
|
24
|
+
- @pikku/core@0.12.88
|
|
25
|
+
- @pikku/ai-vercel@0.12.13
|
|
26
|
+
|
|
27
|
+
## 0.12.108
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- 9687ad1: fix: hand agent middleware the singleton services its type promises
|
|
32
|
+
|
|
33
|
+
`PikkuAgentMiddlewareHooks` typed its `services` parameter as the project's full
|
|
34
|
+
wire `Services`, while every runtime call site has only ever passed the singleton
|
|
35
|
+
services. A middleware that destructured a wire service typechecked and silently
|
|
36
|
+
received `undefined`.
|
|
37
|
+
|
|
38
|
+
The hooks are now bounded by `CoreSingletonServices` in core, and the generated
|
|
39
|
+
`pikkuAgentMiddleware` defaults to `WiredSingletonServices` like the other
|
|
40
|
+
middleware definers. Nothing changes at runtime: agent middleware hooks a _run_,
|
|
41
|
+
and a run is not a request — it can start from a scheduler or a workflow with no
|
|
42
|
+
wire behind it. A tool the run calls is an ordinary function call and still gets
|
|
43
|
+
its own wire services through `runPikkuFunc`.
|
|
44
|
+
|
|
45
|
+
- 13ee73f: Generate `SCENARIO_ACTOR_SECRET` as an optional secret. A stage that runs no
|
|
46
|
+
scenarios is a supported state — the actor sign-in refuses every request — but
|
|
47
|
+
the required declaration failed the deploy config gate on every such stage.
|
|
48
|
+
- 8d6a6bc: fix(cli): a scaffold flag says a surface exists, not who may call it
|
|
49
|
+
|
|
50
|
+
`scaffold.<feature>` accepted an `auth` field, and the generated wrapper emitted
|
|
51
|
+
it onto the wired function. That put authentication in two places at once: the
|
|
52
|
+
target function already declares whether it needs a session, its wiring, its
|
|
53
|
+
scopes and its addon gate already refine it, and `runPikkuFunc` already enforces
|
|
54
|
+
all of that on every call. The scaffold flag only stacked a coarser gate in
|
|
55
|
+
front of the one that actually decides, and — being a config field — it could
|
|
56
|
+
disagree with the function it was gating.
|
|
57
|
+
|
|
58
|
+
`PikkuScaffoldFeature` is now `boolean | { path?: string }`. It answers two
|
|
59
|
+
things and no more: whether the surface is generated, and where the file is
|
|
60
|
+
written. A feature that was `{ "auth": false }` becomes plain `true`, and
|
|
61
|
+
`pikku enable` loses its `--noAuth` flag along with the dimension it set.
|
|
62
|
+
|
|
63
|
+
The six generators that took the flag no longer take one. The four that generate
|
|
64
|
+
a dispatcher — public RPC, public agent, workflow routes and the events channel
|
|
65
|
+
— now emit a fixed `auth: false`. That is the wrapper declining to gate, not the
|
|
66
|
+
scaffold declaring the surface public: `rpcCaller` forwards to whichever
|
|
67
|
+
function the caller named, and that function's own `auth`, permissions, scopes
|
|
68
|
+
and addon gate are what decide. Emitting nothing would not be neutral, since a
|
|
69
|
+
wiring without `auth` requires a session and would reject the call before the
|
|
70
|
+
gate that decides ever ran. The two that generate scoped admin functions — user
|
|
71
|
+
admin and virtual users — emit no `auth`, because they are `pikkuFunc` with
|
|
72
|
+
their own `scopes`: session-required by construction, and the deciding function
|
|
73
|
+
rather than a wrapper in front of one.
|
|
74
|
+
|
|
75
|
+
The legacy `'auth'` / `'no-auth'` string values are gone with it. A bare string
|
|
76
|
+
is still refused rather than read as a `path`: under `boolean | object` no
|
|
77
|
+
string is valid, so guessing one would turn a typo into a generated file nobody
|
|
78
|
+
asked for.
|
|
79
|
+
|
|
80
|
+
- 5fa28a5: `pikku dev`: say which AI SDK copies the agent runner is using, and refuse a mismatched pair up front
|
|
81
|
+
|
|
82
|
+
Resolving `@pikku/ai-vercel` and `@ai-sdk/openai-compatible` from the project's root `package.json` is all-or-nothing, and under an isolated `node_modules` layout (bun, pnpm) the root resolves only what the root itself declares. A monorepo that installed the pair in the workspace that uses them silently got the CLI's own copies instead — which then threw `Unsupported model version v4 …` at the first model call, naming the model and the gateway but neither of the packages that actually disagreed. That case now logs a warning naming the package that could not be resolved.
|
|
83
|
+
|
|
84
|
+
When the pair does come from the project, their `@ai-sdk/provider` majors are compared before the runner is built. A mismatch disables agents with a message naming both versions and pointing at `@ai-sdk/openai-compatible`'s per-`ai`-major dist-tags, instead of surfacing as a model-spec error later.
|
|
85
|
+
|
|
86
|
+
- 2783d93: refactor(cli)!: `clientFiles.startServerFnsFile` is now `clientFiles.tanstackStartFile`
|
|
87
|
+
|
|
88
|
+
The old name read as "start the server fns" when it meant "the TanStack **Start**
|
|
89
|
+
server-fns file". A config still using it now fails to load with the new name in
|
|
90
|
+
the message, rather than silently generating nothing.
|
|
91
|
+
|
|
92
|
+
- 3a83f85: Stop re-exporting package internals through entry points
|
|
93
|
+
|
|
94
|
+
66 names reached consumers only because an `export *` in an entry point swept
|
|
95
|
+
them up. Each one is referenced solely inside its own package, so the star is
|
|
96
|
+
now an explicit named re-export listing what is genuinely public. The
|
|
97
|
+
declarations themselves are untouched — this narrows the entry point, not the
|
|
98
|
+
module.
|
|
99
|
+
|
|
100
|
+
- d21ab7b: fix(cli): validate flags a dead Design tab instead of mentioning it
|
|
101
|
+
|
|
102
|
+
A project that renders Mantine but has no `packages/mantine-theme/` (or no
|
|
103
|
+
`themes/<id>.json`) gets a Design tab that renders "No themes yet". That was
|
|
104
|
+
reported at info, under a summary ending "no errors". It is now a warning when
|
|
105
|
+
an app depends on `@mantine/core` or `@pikku/mantine`, and stays info otherwise.
|
|
106
|
+
|
|
107
|
+
The `components-missing` check is replaced by `design-no-stories`, which looks
|
|
108
|
+
where the design server actually globs stories — `apps/*/src/components/**/*.stories.tsx`
|
|
109
|
+
— rather than at `packages/components/`.
|
|
110
|
+
|
|
111
|
+
- 31ad85f: fix(emails): escape substituted values in the generated email renderer
|
|
112
|
+
|
|
113
|
+
`renderEmailTemplate` spliced values into HTML unescaped and looped substitution
|
|
114
|
+
until it reached a fixed point, so a value containing `"` broke out of the
|
|
115
|
+
attribute it landed in, a value containing markup was injected verbatim, and a
|
|
116
|
+
value containing `{{...}}` was re-expanded as a template on the next pass. An
|
|
117
|
+
ordinary CSS font stack from `theme.json` was enough to corrupt the document.
|
|
118
|
+
|
|
119
|
+
Rendering is now layered by trust. Partials are inlined first; `theme.*` and
|
|
120
|
+
`t.*` are expanded next as template-author input; caller `data` is substituted in
|
|
121
|
+
a single pass that is never rescanned. Values are HTML-escaped in `.html` output
|
|
122
|
+
and left raw in `.subject.txt` / `.text.txt`. `{{content}}` and partials stay
|
|
123
|
+
raw, and `{{{value}}}` is a new opt-in raw form. The console's email preview uses
|
|
124
|
+
the same renderer, so previews match what is sent.
|
|
125
|
+
|
|
126
|
+
- Updated dependencies [9687ad1]
|
|
127
|
+
- Updated dependencies [2d21628]
|
|
128
|
+
- Updated dependencies [8d6a6bc]
|
|
129
|
+
- Updated dependencies [985b87b]
|
|
130
|
+
- Updated dependencies [3a83f85]
|
|
131
|
+
- Updated dependencies [31ad85f]
|
|
132
|
+
- @pikku/core@0.12.87
|
|
133
|
+
- @pikku/kysely@0.13.19
|
|
134
|
+
- @pikku/skills@0.12.12
|
|
135
|
+
- @pikku/inspector@0.12.62
|
|
136
|
+
- @pikku/ws@0.12.9
|
|
137
|
+
|
|
1
138
|
## 0.12.107
|
|
2
139
|
|
|
3
140
|
### Patch Changes
|
package/console-app/assets/{abnfDiagram-N423BO3Z-C5uToS9v.js → abnfDiagram-N423BO3Z-Bz2Ycfpe.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{m as e,t}from"./mermaid-parser.core-BtmN233C.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as r}from"./src-CxJwpjvz.js";import"./chunk-I66GZJ75-C-Lq_UXl.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-BuzItInf.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-37H5_HoB.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-BtmN233C.js";export{e as createArchitectureServices};
|