@pikku/cli 0.12.104 → 0.12.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/console-app/assets/{abnfDiagram-VRR7QNED-DTI8lQi3.js → abnfDiagram-VRR7QNED-QRjCVsso.js} +1 -1
- package/console-app/assets/{arc-B_XK0Xbk.js → arc-CloGjkHW.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-Cz78Qi5H.js +1 -0
- package/console-app/assets/{architectureDiagram-ZJ3FMSHR-CzE1T938.js → architectureDiagram-ZJ3FMSHR-Dl10fVqw.js} +1 -1
- package/console-app/assets/{blockDiagram-677ZJIJ3-CcSxyQZH.js → blockDiagram-677ZJIJ3-CMNoQhwm.js} +1 -1
- package/console-app/assets/{c4Diagram-LMCZKHZV-DSsAqAm5.js → c4Diagram-LMCZKHZV-C2pWYCa6.js} +1 -1
- package/console-app/assets/channel-Bm4o-pNB.js +1 -0
- package/console-app/assets/{chunk-32BRIVSS-Atv4wjmh.js → chunk-32BRIVSS-DC3ZGIPN.js} +1 -1
- package/console-app/assets/{chunk-52WLFC77-DkXgWHeH.js → chunk-52WLFC77-DuAheIlc.js} +1 -1
- package/console-app/assets/{chunk-C7G6YPKG-DhtQv4yx.js → chunk-C7G6YPKG-BVtRZIEZ.js} +1 -1
- package/console-app/assets/{chunk-EX3LRPZG-0GIQyrn1.js → chunk-EX3LRPZG-CWXF7N33.js} +1 -1
- package/console-app/assets/{chunk-FWX5IMBZ-DZvpxO7-.js → chunk-FWX5IMBZ-UN3i5qMG.js} +2 -2
- package/console-app/assets/{chunk-HOUHSVGY-CyU0q_QM.js → chunk-HOUHSVGY-DMorD8Ib.js} +1 -1
- package/console-app/assets/{chunk-ICXQ74PX-CzAIiCX5.js → chunk-ICXQ74PX-BiuzWyj2.js} +1 -1
- package/console-app/assets/{chunk-MOJQB5TN-DUKLkDFX.js → chunk-MOJQB5TN-6BhXmDyj.js} +1 -1
- package/console-app/assets/{chunk-OGEWGWER-DhmfsQT_.js → chunk-OGEWGWER-BNi3Gsmc.js} +1 -1
- package/console-app/assets/{chunk-PUDLZKDR-BMAILUQ6.js → chunk-PUDLZKDR-DNWGCeoL.js} +1 -1
- package/console-app/assets/{chunk-Q4XR5HBZ-Cpak96ZI.js → chunk-Q4XR5HBZ-i4zkt4cc.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-9OVlGtkS.js → chunk-RYQCIY6F-DvRUzuDz.js} +1 -1
- package/console-app/assets/{chunk-V7JOEXUC-BfBH_WMn.js → chunk-V7JOEXUC-JMjbqEgu.js} +1 -1
- package/console-app/assets/chunk-VAUOI2AC-D4_whP-t.js +1 -0
- package/console-app/assets/{chunk-VR4S4FIN-q02O9Hva.js → chunk-VR4S4FIN-BcHHugM0.js} +1 -1
- package/console-app/assets/{chunk-WYO6CB5R-cQuwndtk.js → chunk-WYO6CB5R-COKjEQwP.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-mkAF2YHU.js +1 -0
- package/console-app/assets/{chunk-ZGVPDNZ5-2b6-Ub1z.js → chunk-ZGVPDNZ5-CENGdlFJ.js} +1 -1
- package/console-app/assets/classDiagram-OUVF2IWQ-B2cEvfK0.js +1 -0
- package/console-app/assets/classDiagram-v2-EOCWNBFH-B2cEvfK0.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-D8cALtKZ.js → cose-bilkent-JH36ORCC-D6F1MghO.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-BphwdLzc.js → cynefin-VYW2F7L2-BIhff1Ln.js} +1 -1
- package/console-app/assets/{cynefinDiagram-TSTJHNR4-7Rk31pXX.js → cynefinDiagram-TSTJHNR4-DrlBq_QP.js} +1 -1
- package/console-app/assets/{dagre-VKFMJZFB-e8-5QJxJ.js → dagre-VKFMJZFB-Cm2eP0ez.js} +1 -1
- package/console-app/assets/{diagram-FQU43EPY-SGSSyx5P.js → diagram-FQU43EPY-C667dC19.js} +1 -1
- package/console-app/assets/{diagram-G47NLZAW-F_m68BCv.js → diagram-G47NLZAW-3K3OPEuG.js} +1 -1
- package/console-app/assets/{diagram-NH7WQ7WH-5p6A3YHp.js → diagram-NH7WQ7WH-CUK-d5iT.js} +1 -1
- package/console-app/assets/{diagram-OA4YK3LP-Dv-j07Wh.js → diagram-OA4YK3LP-BmjCoGBZ.js} +1 -1
- package/console-app/assets/{diagram-WEI45ONY-1gqT-Dqp.js → diagram-WEI45ONY-D33qA2d9.js} +1 -1
- package/console-app/assets/{dist-DQ3gF-0S.js → dist-jqlCD26w.js} +1 -1
- package/console-app/assets/{ebnfDiagram-CCIWWBDH-Dsfd8DxK.js → ebnfDiagram-CCIWWBDH-DUHkt7z6.js} +1 -1
- package/console-app/assets/{erDiagram-Q63AITRT-DQ5Gu1Tw.js → erDiagram-Q63AITRT-BAtdfbq3.js} +1 -1
- package/console-app/assets/eventmodeling-45OFAUF4-iK6rmyk3.js +1 -0
- package/console-app/assets/flowDiagram-23GEKE2U-CSYhKO9Y.js +1 -0
- package/console-app/assets/{ganttDiagram-NO4QXBWP-2of9JObw.js → ganttDiagram-NO4QXBWP-64_vh9rj.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-q2ow8moS.js → gitGraph-TEB2WS4Q-DlFJY0cQ.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-IHSO6WYX-7JFgdH2Q.js → gitGraphDiagram-IHSO6WYX-D9fpmYRm.js} +1 -1
- package/console-app/assets/{index-FDk51Irw.js → index-Byf4wkdP.js} +156 -150
- package/console-app/assets/{info-DKCQHKI2-DA35x9Eq.js → info-DKCQHKI2-DhyT_-b1.js} +1 -1
- package/console-app/assets/{infoDiagram-FWYZ7A6U-wBw6slQd.js → infoDiagram-FWYZ7A6U-ufTemVSR.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-FXEZZL3T-XjQC7Fmw.js → ishikawaDiagram-FXEZZL3T-CWHvEncb.js} +1 -1
- package/console-app/assets/{journeyDiagram-5HDEW3XC-DyIcpJQM.js → journeyDiagram-5HDEW3XC-DKH8UvEq.js} +1 -1
- package/console-app/assets/{kanban-definition-HUTT4EX6-B1zYF1dv.js → kanban-definition-HUTT4EX6-BODtp_fB.js} +1 -1
- package/console-app/assets/{line-C6UySSzG.js → line-Do9j3HRL.js} +1 -1
- package/console-app/assets/{linear-B-Zu24zW.js → linear-5Z8stnH-.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-Tfk1Eudy.js → mermaid-parser.core-CYJsdwMO.js} +3 -3
- package/console-app/assets/{mermaid.core-HtlOIxsD.js → mermaid.core-DwI4IdKs.js} +3 -3
- package/console-app/assets/{mindmap-definition-LN4V7U3C-5tBdCFVy.js → mindmap-definition-LN4V7U3C-D7IWNYnf.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-CvZpWSge.js → packet-7NZHBO7P-comMLvz_.js} +1 -1
- package/console-app/assets/{pegDiagram-2B236MQR-Bw6WA3kx.js → pegDiagram-2B236MQR-CbqiI_m5.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-cW9hD9gn.js → pie-RZYD4A2V-VZXoX73g.js} +1 -1
- package/console-app/assets/{pieDiagram-ENE6RG2P-DkD_01Ea.js → pieDiagram-ENE6RG2P-SA-sCnrt.js} +1 -1
- package/console-app/assets/{quadrantDiagram-ABIIQ3AL-Bwdtm5-W.js → quadrantDiagram-ABIIQ3AL-CI840rae.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-tOWig5fu.js → radar-I7S5WNFK-W0UH9BdP.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-tZ2PcrQC.js → railroad-3IZDKUUU-_HEtbruA.js} +1 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-ghLnUEfg.js +1 -0
- package/console-app/assets/railroad-ebnf-EBAXGLYW-D8JHCZD5.js +1 -0
- package/console-app/assets/railroad-peg-LSFZ7HO6-C9eC4l2D.js +1 -0
- package/console-app/assets/{railroadDiagram-RFXS5EU6-Dljzejc8.js → railroadDiagram-RFXS5EU6-Cm2SfP9Z.js} +1 -1
- package/console-app/assets/{requirementDiagram-TGXJPOKE-CRV748Vu.js → requirementDiagram-TGXJPOKE-CyHrMdrC.js} +1 -1
- package/console-app/assets/{sankeyDiagram-HTMAVEWB-CrFvfCvp.js → sankeyDiagram-HTMAVEWB-DL0eJ1aK.js} +1 -1
- package/console-app/assets/{sequenceDiagram-DBY2YBRQ-CXysYi1c.js → sequenceDiagram-DBY2YBRQ-B2AvEvXu.js} +1 -1
- package/console-app/assets/{src-Bilm7g2t.js → src-72nNqhBu.js} +1 -1
- package/console-app/assets/{stateDiagram-2N3HPSRC-C8aGjwyh.js → stateDiagram-2N3HPSRC-vgyc-CMC.js} +1 -1
- package/console-app/assets/stateDiagram-v2-6OUMAXLB-B2WCkCZh.js +1 -0
- package/console-app/assets/{swimlanes-5IMT3BWC-VaTW8Eyb.js → swimlanes-5IMT3BWC-GiOMMhZh.js} +1 -1
- package/console-app/assets/swimlanesDiagram-G3AALYLV-CkCbtoLb.js +8 -0
- package/console-app/assets/{timeline-definition-FHXFAJF6-D88F4W4L.js → timeline-definition-FHXFAJF6-DTJQsTn8.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-hN0LxmWJ.js → treeView-QDETBFTQ-aizmbgl7.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-Cz4whnzW.js → treemap-6X3UGDF4-DIBl6bfV.js} +1 -1
- package/console-app/assets/{vennDiagram-L72KCM5P-CoW2kun8.js → vennDiagram-L72KCM5P-C4Ngu7VX.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-l9vWUHbB.js → wardley-OPB4EBWU-BqdXyJTm.js} +1 -1
- package/console-app/assets/{wardleyDiagram-EHGQE667-uWxnqqVK.js → wardleyDiagram-EHGQE667-Cw2M8s0p.js} +1 -1
- package/console-app/assets/{xychartDiagram-FW5EYKEG-ClVawwGR.js → xychartDiagram-FW5EYKEG-BxMLZdbF.js} +1 -1
- package/console-app/index.html +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +12 -12
- package/dist/.pikku/agent/pikku-agent-types.gen.js +6 -6
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +4 -4
- package/dist/.pikku/channel/pikku-channel-types.gen.js +3 -2
- package/dist/.pikku/cli/pikku-cli-channel.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +13 -3
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +2 -2
- package/dist/.pikku/cli/pikku-cli-client.gen.js +2 -2
- 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 +2 -2
- 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 +48 -4
- 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 +2 -2
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +9 -7
- package/dist/.pikku/function/pikku-function-types.gen.js +5 -4
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +95 -52
- package/dist/.pikku/function/pikku-functions.gen.js +8 -8
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +3 -3
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +4 -3
- package/dist/.pikku/mcp/pikku-mcp-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-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +4 -4
- package/dist/.pikku/pikku-services.gen.js +3 -3
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +2 -2
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +5 -3
- 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-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/pikku-scheduler-types.gen.d.ts +2 -2
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +8 -6
- package/dist/.pikku/schemas/schemas/PikkuSemverOutput.schema.json +1 -0
- package/dist/.pikku/scopes/pikku-personas.gen.d.ts +2 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +2 -2
- package/dist/.pikku/scopes/pikku-roles.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +5 -5
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +3 -3
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +2 -2
- package/dist/.pikku/scopes/pikku-scopes.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +3 -2
- 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/trigger/pikku-trigger-types.gen.d.ts +3 -3
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +3 -3
- package/dist/.pikku/variables/pikku-variables.gen.js +2 -2
- package/dist/.pikku/workflow/meta/allWorkflow.gen.json +9 -9
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts +3 -2
- package/dist/.pikku/workflow/pikku-personas.gen.js +2 -2
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +6 -6
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +3 -3
- 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 +50 -4
- package/dist/src/deploy/analyzer/analyzer.js +5 -5
- package/dist/src/deploy/bundler/bundler.js +2 -2
- package/dist/src/functions/commands/audit.js +33 -9
- package/dist/src/functions/commands/bootstrap.js +1 -1
- package/dist/src/functions/commands/{dev-ai-runner.d.ts → dev-agent-runner.d.ts} +3 -3
- package/dist/src/functions/commands/{dev-ai-runner.js → dev-agent-runner.js} +4 -4
- package/dist/src/functions/commands/dev.js +29 -23
- package/dist/src/functions/commands/persona-sync.js +2 -2
- package/dist/src/functions/commands/persona.js +7 -6
- package/dist/src/functions/commands/roles-shared.d.ts +1 -1
- package/dist/src/functions/commands/roles-shared.js +1 -1
- package/dist/src/functions/commands/scenario-browser.d.ts +2 -2
- package/dist/src/functions/commands/scenario-formatter.d.ts +1 -1
- package/dist/src/functions/commands/scenario-ladder.d.ts +4 -3
- package/dist/src/functions/commands/scenario-ladder.js +1 -1
- package/dist/src/functions/commands/scenario-plan.d.ts +2 -2
- package/dist/src/functions/commands/scenario-plan.js +1 -1
- package/dist/src/functions/commands/scenario.d.ts +0 -3
- package/dist/src/functions/commands/scenario.js +40 -38
- package/dist/src/functions/commands/scopes-shared.d.ts +1 -1
- package/dist/src/functions/commands/scopes-shared.js +1 -1
- package/dist/src/functions/commands/semver-render.d.ts +2 -0
- package/dist/src/functions/commands/semver-render.js +60 -0
- package/dist/src/functions/commands/semver.d.ts +25 -0
- package/dist/src/functions/commands/semver.js +50 -0
- package/dist/src/functions/commands/serve.js +20 -19
- package/dist/src/functions/commands/start-coverage.d.ts +1 -1
- package/dist/src/functions/commands/start-coverage.js +2 -2
- package/dist/src/functions/commands/update-render.d.ts +2 -0
- package/dist/src/functions/commands/update-render.js +102 -0
- package/dist/src/functions/commands/update.d.ts +99 -0
- package/dist/src/functions/commands/update.js +392 -0
- package/dist/src/functions/commands/virtual-user-formatter.d.ts +1 -1
- package/dist/src/functions/validate/scenario-file-checks.js +1 -1
- package/dist/src/functions/validate/validate-registry.js +10 -0
- package/dist/src/functions/validate/workspace-exports-checks.d.ts +14 -0
- package/dist/src/functions/validate/workspace-exports-checks.js +211 -0
- package/dist/src/functions/wirings/agent/pikku-command-agent-types.d.ts +1 -0
- package/dist/src/functions/wirings/{ai-agent/pikku-command-ai-agent-types.js → agent/pikku-command-agent-types.js} +3 -3
- package/dist/src/functions/wirings/agent/pikku-command-agent.d.ts +1 -0
- package/dist/src/functions/wirings/{ai-agent/pikku-command-ai-agent.js → agent/pikku-command-agent.js} +5 -5
- package/dist/src/functions/wirings/{ai-agent → agent}/serialize-agent-map.d.ts +2 -2
- package/dist/src/functions/wirings/agent/serialize-agent-types.d.ts +1 -0
- package/dist/src/functions/wirings/{ai-agent/serialize-ai-agent-types.js → agent/serialize-agent-types.js} +21 -32
- package/dist/src/functions/wirings/{ai-agent → agent}/serialize-public-agent.js +1 -1
- package/dist/src/functions/wirings/agent-scorer/pikku-command-agent-scorer.d.ts +1 -0
- package/dist/src/functions/wirings/{ai-scorer/pikku-command-ai-scorer.js → agent-scorer/pikku-command-agent-scorer.js} +5 -5
- package/dist/src/functions/wirings/{ai-scorer → agent-scorer}/serialize-scorer-names.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-channels.js +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels.js +1 -1
- package/dist/src/functions/wirings/channels/serialize-channel-types.js +4 -3
- package/dist/src/functions/wirings/channels/serialize-typed-channel-map.d.ts +2 -2
- package/dist/src/functions/wirings/cli/pikku-command-cli.js +1 -1
- package/dist/src/functions/wirings/cli/serialize-channel-cli-client.d.ts +1 -1
- package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +3 -3
- package/dist/src/functions/wirings/cli/serialize-channel-cli.d.ts +1 -1
- package/dist/src/functions/wirings/cli/serialize-channel-cli.js +2 -2
- package/dist/src/functions/wirings/cli/serialize-cli-types.js +2 -1
- package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.js +1 -1
- package/dist/src/functions/wirings/console/pikku-command-nodes-meta.js +1 -1
- package/dist/src/functions/wirings/credentials/pikku-command-credentials.js +1 -1
- package/dist/src/functions/wirings/credentials/serialize-credentials-types.d.ts +1 -1
- package/dist/src/functions/wirings/credentials/serialize-credentials-types.js +4 -3
- package/dist/src/functions/wirings/functions/pikku-command-functions.js +1 -1
- package/dist/src/functions/wirings/functions/serialize-addon-types.js +2 -1
- package/dist/src/functions/wirings/functions/serialize-function-imports.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-function-types.js +11 -12
- package/dist/src/functions/wirings/gateway/serialize-gateway-meta.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-routes.js +1 -1
- package/dist/src/functions/wirings/http/pikku-http-routes.js +1 -1
- package/dist/src/functions/wirings/http/serialize-http-types.js +3 -2
- package/dist/src/functions/wirings/http/serialize-typed-http-map.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp.js +1 -1
- package/dist/src/functions/wirings/mcp/serialize-mcp-types.js +3 -11
- package/dist/src/functions/wirings/package/serialize-package-types.js +7 -6
- package/dist/src/functions/wirings/personas/pikku-command-personas.js +1 -1
- package/dist/src/functions/wirings/personas/serialize-personas-types.d.ts +1 -1
- package/dist/src/functions/wirings/personas/serialize-personas-types.js +6 -2
- package/dist/src/functions/wirings/queue/serialize-queue-map.d.ts +1 -1
- package/dist/src/functions/wirings/queue/serialize-queue-meta.d.ts +1 -1
- package/dist/src/functions/wirings/queue/serialize-queue-types.js +2 -1
- package/dist/src/functions/wirings/roles/pikku-command-roles.js +1 -1
- package/dist/src/functions/wirings/roles/serialize-roles-types.d.ts +1 -1
- package/dist/src/functions/wirings/roles/serialize-roles-types.js +2 -2
- package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +1 -1
- package/dist/src/functions/wirings/rpc/serialize-rpc-wrapper.js +1 -1
- package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +5 -5
- package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.js +3 -2
- package/dist/src/functions/wirings/scenarios/scenario-partition.d.ts +1 -1
- package/dist/src/functions/wirings/scenarios/scenario-schema-partition.d.ts +1 -1
- package/dist/src/functions/wirings/scenarios/serialize-feature-meta.d.ts +1 -1
- package/dist/src/functions/wirings/scenarios/serialize-scenario-meta.js +2 -2
- package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.js +1 -1
- package/dist/src/functions/wirings/scheduler/serialize-scheduler-meta.d.ts +1 -1
- package/dist/src/functions/wirings/scheduler/serialize-scheduler-types.js +2 -1
- package/dist/src/functions/wirings/scopes/pikku-command-scopes.js +1 -1
- package/dist/src/functions/wirings/scopes/serialize-scopes-types.d.ts +1 -1
- package/dist/src/functions/wirings/scopes/serialize-scopes-types.js +3 -3
- package/dist/src/functions/wirings/secrets/pikku-command-secrets.js +1 -1
- package/dist/src/functions/wirings/secrets/serialize-secrets-types.d.ts +1 -1
- package/dist/src/functions/wirings/secrets/serialize-secrets-types.js +4 -3
- package/dist/src/functions/wirings/triggers/serialize-trigger-meta.d.ts +1 -1
- package/dist/src/functions/wirings/triggers/serialize-trigger-meta.js +2 -2
- package/dist/src/functions/wirings/triggers/serialize-trigger-types.js +3 -2
- package/dist/src/functions/wirings/variables/pikku-command-variables.js +1 -1
- package/dist/src/functions/wirings/variables/serialize-variables-types.d.ts +1 -1
- package/dist/src/functions/wirings/variables/serialize-variables-types.js +3 -3
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +7 -13
- package/dist/src/functions/wirings/webhook/serialize-webhook.js +1 -1
- package/dist/src/functions/wirings/workflow/serialize-personas.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-personas.js +4 -3
- package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-bootstrap-map.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-map.d.ts +2 -2
- package/dist/src/functions/wirings/workflow/serialize-workflow-map.js +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-meta.js +2 -2
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +6 -9
- package/dist/src/functions/workflows/all.workflow.js +6 -5
- package/dist/src/middleware/log-command-info-and-time.d.ts +1 -1
- package/dist/src/server/node-server-runner.js +5 -2
- package/dist/src/services/cli-logger.service.js +1 -1
- package/dist/src/utils/precise-coverage-map.d.ts +1 -1
- package/dist/src/utils/remove-legacy-scaffold-file.d.ts +14 -0
- package/dist/src/utils/remove-legacy-scaffold-file.js +28 -1
- package/dist/src/utils/resolve-personas.d.ts +3 -3
- package/dist/src/utils/resolve-personas.js +2 -2
- package/dist/src/utils/schema-diff.d.ts +22 -0
- package/dist/src/utils/schema-diff.js +190 -0
- package/dist/src/utils/serialize-schemas.d.ts +1 -1
- package/dist/src/utils/serialize-schemas.js +1 -1
- package/dist/src/utils/surface-diff.d.ts +35 -0
- package/dist/src/utils/surface-diff.js +183 -0
- package/dist/src/utils/surface.d.ts +51 -0
- package/dist/src/utils/surface.js +156 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +25 -17
- package/console-app/assets/architecture-TIHT7OUA-BtQ4ypaP.js +0 -1
- package/console-app/assets/channel-yWsB39zH.js +0 -1
- package/console-app/assets/chunk-VAUOI2AC-DbUlDq35.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-D0yYTMY0.js +0 -1
- package/console-app/assets/classDiagram-OUVF2IWQ-jBNBOKfR.js +0 -1
- package/console-app/assets/classDiagram-v2-EOCWNBFH-jBNBOKfR.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-BSTAXikh.js +0 -1
- package/console-app/assets/flowDiagram-23GEKE2U-zX29jtvN.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-D3lzFQzK.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-DRp6_rsA.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-CuWNWp3P.js +0 -1
- package/console-app/assets/stateDiagram-v2-6OUMAXLB-C21qKRsf.js +0 -1
- package/console-app/assets/swimlanesDiagram-G3AALYLV-CCQS8jgU.js +0 -8
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +0 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +0 -1
- package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.d.ts +0 -1
- package/dist/src/functions/wirings/ai-scorer/pikku-command-ai-scorer.d.ts +0 -1
- /package/dist/.pikku/schemas/schemas/{PikkuAIAgentOutput.schema.json → PikkuAgentOutput.schema.json} +0 -0
- /package/dist/.pikku/schemas/schemas/{PikkuAIScorerOutput.schema.json → PikkuAgentScorerOutput.schema.json} +0 -0
- /package/dist/src/functions/wirings/{ai-agent → agent}/pikku-command-public-agent.d.ts +0 -0
- /package/dist/src/functions/wirings/{ai-agent → agent}/pikku-command-public-agent.js +0 -0
- /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-agent-map.js +0 -0
- /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-model-aliases.d.ts +0 -0
- /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-model-aliases.js +0 -0
- /package/dist/src/functions/wirings/{ai-agent → agent}/serialize-public-agent.d.ts +0 -0
- /package/dist/src/functions/wirings/{ai-scorer → agent-scorer}/serialize-scorer-names.js +0 -0
|
@@ -95,9 +95,11 @@
|
|
|
95
95
|
"scenarioRun": "scenarioRun",
|
|
96
96
|
"scopesAudit": "scopesAudit",
|
|
97
97
|
"scopesPrune": "scopesPrune",
|
|
98
|
+
"pikkuSemver": "pikkuSemver",
|
|
98
99
|
"serve": "serve",
|
|
99
100
|
"pikkuSkillsList": "pikkuSkillsList",
|
|
100
101
|
"pikkuSkillsInstall": "pikkuSkillsInstall",
|
|
102
|
+
"pikkuUpdate": "pikkuUpdate",
|
|
101
103
|
"validate": "validate",
|
|
102
104
|
"pikkuVersionsCheck": "pikkuVersionsCheck",
|
|
103
105
|
"pikkuVersionsInit": "pikkuVersionsInit",
|
|
@@ -107,10 +109,10 @@
|
|
|
107
109
|
"pikkuNext": "pikkuNext",
|
|
108
110
|
"pikkuTanStackStart": "pikkuTanStackStart",
|
|
109
111
|
"pikkuWebSocketTyped": "pikkuWebSocketTyped",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
+
"pikkuAgentScorer": "pikkuAgentScorer",
|
|
113
|
+
"pikkuAgentTypes": "pikkuAgentTypes",
|
|
114
|
+
"pikkuAgent": "pikkuAgent",
|
|
112
115
|
"pikkuPublicAgent": "pikkuPublicAgent",
|
|
113
|
-
"pikkuAIScorer": "pikkuAIScorer",
|
|
114
116
|
"pikkuAuth": "pikkuAuth",
|
|
115
117
|
"pikkuChannels": "pikkuChannels",
|
|
116
118
|
"pikkuChannelTypes": "pikkuChannelTypes",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
6
|
*/
|
|
7
|
-
import { CoreScheduledTask } from '@pikku/core/scheduler';
|
|
7
|
+
import { CoreScheduledTask } from '@pikku/core/ecosystem/scheduler';
|
|
8
8
|
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
|
|
9
9
|
/**
|
|
10
10
|
* Type definition for scheduled tasks that run at specified intervals.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
|
-
import { addSchema } from '@pikku/core/schema';
|
|
4
|
+
import { addSchema } from '@pikku/core/ecosystem/schema';
|
|
5
5
|
import * as BinaryInput from './schemas/BinaryInput.schema.json' with { type: 'json' };
|
|
6
6
|
addSchema('BinaryInput', BinaryInput);
|
|
7
7
|
import * as DbAuditInput from './schemas/DbAuditInput.schema.json' with { type: 'json' };
|
|
@@ -144,10 +144,10 @@ import * as PersonaRunInput from './schemas/PersonaRunInput.schema.json' with {
|
|
|
144
144
|
addSchema('PersonaRunInput', PersonaRunInput);
|
|
145
145
|
import * as PersonaSyncInput from './schemas/PersonaSyncInput.schema.json' with { type: 'json' };
|
|
146
146
|
addSchema('PersonaSyncInput', PersonaSyncInput);
|
|
147
|
-
import * as
|
|
148
|
-
addSchema('
|
|
149
|
-
import * as
|
|
150
|
-
addSchema('
|
|
147
|
+
import * as PikkuAgentOutput from './schemas/PikkuAgentOutput.schema.json' with { type: 'json' };
|
|
148
|
+
addSchema('PikkuAgentOutput', PikkuAgentOutput);
|
|
149
|
+
import * as PikkuAgentScorerOutput from './schemas/PikkuAgentScorerOutput.schema.json' with { type: 'json' };
|
|
150
|
+
addSchema('PikkuAgentScorerOutput', PikkuAgentScorerOutput);
|
|
151
151
|
import * as PikkuAuthInput from './schemas/PikkuAuthInput.schema.json' with { type: 'json' };
|
|
152
152
|
addSchema('PikkuAuthInput', PikkuAuthInput);
|
|
153
153
|
import * as PikkuCLIEntryOutput from './schemas/PikkuCLIEntryOutput.schema.json' with { type: 'json' };
|
|
@@ -258,6 +258,8 @@ import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' w
|
|
|
258
258
|
addSchema('PikkuSchemasOutput', PikkuSchemasOutput);
|
|
259
259
|
import * as PikkuScopesInput from './schemas/PikkuScopesInput.schema.json' with { type: 'json' };
|
|
260
260
|
addSchema('PikkuScopesInput', PikkuScopesInput);
|
|
261
|
+
import * as PikkuSemverOutput from './schemas/PikkuSemverOutput.schema.json' with { type: 'json' };
|
|
262
|
+
addSchema('PikkuSemverOutput', PikkuSemverOutput);
|
|
261
263
|
import * as PikkuSkillsInstallInput from './schemas/PikkuSkillsInstallInput.schema.json' with { type: 'json' };
|
|
262
264
|
addSchema('PikkuSkillsInstallInput', PikkuSkillsInstallInput);
|
|
263
265
|
import * as PikkuSkillsListInput from './schemas/PikkuSkillsListInput.schema.json' with { type: 'json' };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "anyOf": [{ "type": "object", "properties": { "mode": { "type": "string", "const": "emit" }, "surface": { "$ref": "#/definitions/Surface" }, "written": { "type": ["string", "null"] } }, "required": ["mode", "surface", "written"], "additionalProperties": false }, { "type": "object", "additionalProperties": false, "properties": { "schemaVersion": { "type": "number" }, "generatedAt": { "type": "string" }, "baseline": { "type": "string", "description": "The `--against` value, recorded so the artifact says what it is relative to." }, "verdict": { "$ref": "#/definitions/Verdict" }, "summary": { "type": "object", "properties": { "breaking": { "type": "number" }, "added": { "type": "number" }, "removed": { "type": "number" }, "modified": { "type": "number" } }, "required": ["breaking", "added", "removed", "modified"], "additionalProperties": false }, "changes": { "type": "array", "items": { "$ref": "#/definitions/SurfaceChange" } }, "mode": { "type": "string", "const": "compare" }, "written": { "type": "string" } }, "required": ["baseline", "changes", "generatedAt", "mode", "schemaVersion", "summary", "verdict", "written"] }], "definitions": { "Surface": { "type": "object", "properties": { "schemaVersion": { "type": "number" }, "generatedAt": { "type": "string" }, "functions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SurfaceFunction" }, "description": "Keyed by function id exactly as the meta records it, `@vN` included." }, "schemas": { "type": "object", "additionalProperties": {}, "description": "Only the schemas some function actually references." }, "wirings": { "type": "object", "properties": { "http": { "type": "object", "additionalProperties": {} }, "workflow": { "type": "object", "additionalProperties": {} }, "email": { "type": "object", "additionalProperties": {} }, "scheduler": { "type": "object", "additionalProperties": {} }, "queue": { "type": "object", "additionalProperties": {} }, "channel": { "type": "object", "additionalProperties": {} }, "trigger": { "type": "object", "additionalProperties": {} }, "mcp": { "type": "object", "additionalProperties": {} }, "agent": { "type": "object", "additionalProperties": {} }, "scorer": { "type": "object", "additionalProperties": {} } }, "additionalProperties": false }, "publishedVersions": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "number" } }, "description": "`functionKey → published version numbers`, lifted from `versions.pikku.json`. Published versions are immutable, so a version the manifest still records is still being served even when the source has moved on — that is what stops a `@v2` bump reading as a removal." } }, "required": ["schemaVersion", "generatedAt", "functions", "schemas", "wirings", "publishedVersions"], "additionalProperties": false }, "SurfaceFunction": { "type": "object", "properties": { "key": { "type": "string", "description": "Function id with any `@vN` suffix stripped." }, "version": { "type": "number" }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "contractHash": { "type": "string" } }, "required": ["key", "version", "inputSchemaName", "outputSchemaName"], "additionalProperties": false }, "Verdict": { "type": "string", "enum": ["major", "minor", "patch"], "description": "Turn two surfaces into the release verdict and the reasons behind it.\n\nThe three rules, in order: anything a client depended on that is gone or tightened is **major**; anything new or compatibly loosened is **minor**; a surface that did not move at all is **patch** — the release is internal work, which is the only thing left for it to be." }, "SurfaceChange": { "type": "object", "properties": { "kind": { "$ref": "#/definitions/ChangeKind" }, "id": { "type": "string" }, "status": { "$ref": "#/definitions/ChangeStatus" }, "breaking": { "type": "boolean" }, "reasons": { "type": "array", "items": { "type": "string" } } }, "required": ["kind", "id", "status", "breaking", "reasons"], "additionalProperties": false }, "ChangeKind": { "anyOf": [{ "type": "string", "const": "function" }, { "$ref": "#/definitions/WiringCategory" }] }, "WiringCategory": { "type": "string", "enum": ["http", "workflow", "email", "scheduler", "queue", "channel", "trigger", "mcp", "agent", "scorer"], "description": "Meta categories that expose a function to a client." }, "ChangeStatus": { "type": "string", "enum": ["added", "removed", "modified"] } } }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PersonaMeta, PersonasMeta } from '@pikku/core/persona';
|
|
2
|
+
import type { CorePersona } from '@pikku/core/ecosystem/persona';
|
|
2
3
|
import type { SystemRoleName } from './pikku-roles.gen.js';
|
|
3
4
|
/** Every declared persona. */
|
|
4
5
|
export type PersonaId = never;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This file was generated by the @pikku/cli
|
|
6
6
|
*/
|
|
7
|
-
import type { SystemRole } from '@pikku/core/role';
|
|
7
|
+
import type { SystemRole } from '@pikku/core/ecosystem/role';
|
|
8
8
|
/**
|
|
9
9
|
* Every role that ships with this application.
|
|
10
10
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { flattenSystemRoleDefinitions } from '@pikku/core/role';
|
|
1
|
+
import { flattenSystemRoleDefinitions } from '@pikku/core/ecosystem/role';
|
|
2
2
|
import definitions from './pikku-roles-meta.gen.json' with { type: 'json' };
|
|
3
3
|
/**
|
|
4
4
|
* The declared role set, for a ScopeService to sync into its store.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
|
-
export { defineScope } from '@pikku/core/scope';
|
|
5
|
-
export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/scope';
|
|
6
|
-
export { defineSystemRole } from '@pikku/core/role';
|
|
7
|
-
export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitionsMeta } from '@pikku/core/role';
|
|
4
|
+
export { defineScope } from '@pikku/core/ecosystem/scope';
|
|
5
|
+
export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/ecosystem/scope';
|
|
6
|
+
export { defineSystemRole } from '@pikku/core/ecosystem/role';
|
|
7
|
+
export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitionsMeta } from '@pikku/core/ecosystem/role';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
|
-
export { defineScope } from '@pikku/core/scope';
|
|
5
|
-
export { defineSystemRole } from '@pikku/core/role';
|
|
4
|
+
export { defineScope } from '@pikku/core/ecosystem/scope';
|
|
5
|
+
export { defineSystemRole } from '@pikku/core/ecosystem/role';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This file was generated by the @pikku/cli
|
|
6
6
|
*/
|
|
7
|
-
import type { FlatScope } from '@pikku/core/scope';
|
|
7
|
+
import type { FlatScope } from '@pikku/core/ecosystem/scope';
|
|
8
8
|
/**
|
|
9
9
|
* Every scope a function can require.
|
|
10
10
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { flattenScopeDefinitions } from '@pikku/core/scope';
|
|
1
|
+
import { flattenScopeDefinitions } from '@pikku/core/ecosystem/scope';
|
|
2
2
|
import definitions from './pikku-scopes-meta.gen.json' with { type: 'json' };
|
|
3
3
|
/**
|
|
4
4
|
* The declared scope set, for a ScopeService to sync into its store.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
export { defineSecret } from '@pikku/core/secret';
|
|
5
|
-
export type {
|
|
5
|
+
export type { SecretDefinitionsMeta } from '@pikku/core/secret';
|
|
6
|
+
export type { CoreSecret, SecretDefinitionMeta } from '@pikku/core/ecosystem/secret';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
5
|
import secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Trigger-specific type definitions for tree-shaking optimization
|
|
6
6
|
*/
|
|
7
|
-
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/trigger';
|
|
8
|
-
import type { CoreNodeConfig } from '@pikku/core/node';
|
|
7
|
+
import { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger } from '@pikku/core/ecosystem/trigger';
|
|
8
|
+
import type { CoreNodeConfig } from '@pikku/core/ecosystem/node';
|
|
9
9
|
import type { SingletonServices } from '../../types/application-types.d.js';
|
|
10
10
|
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
11
11
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
export { defineVariable } from '@pikku/core/variable';
|
|
5
|
-
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
|
|
5
|
+
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/ecosystem/variable';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
|
-
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
|
|
4
|
+
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/ecosystem/services';
|
|
5
5
|
import type { VariablesService } from '@pikku/core/services';
|
|
6
|
-
import type { VariableDefinitionsMeta } from '@pikku/core/variable';
|
|
6
|
+
import type { VariableDefinitionsMeta } from '@pikku/core/ecosystem/variable';
|
|
7
7
|
/**
|
|
8
8
|
* Every variable declared in this package.
|
|
9
9
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
|
-
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
|
|
4
|
+
import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/ecosystem/services';
|
|
5
5
|
import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' };
|
|
6
6
|
/**
|
|
7
7
|
* Every variable declared in this package.
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
},
|
|
101
101
|
"Bootstrap AI agent types": {
|
|
102
102
|
"nodeId": "Bootstrap AI agent types",
|
|
103
|
-
"rpcName": "
|
|
103
|
+
"rpcName": "pikkuAgentTypes",
|
|
104
104
|
"next": "Bootstrap Node types",
|
|
105
|
-
"stepHash": "
|
|
105
|
+
"stepHash": "e86763caa30e"
|
|
106
106
|
},
|
|
107
107
|
"Bootstrap Node types": {
|
|
108
108
|
"nodeId": "Bootstrap Node types",
|
|
@@ -152,9 +152,9 @@
|
|
|
152
152
|
},
|
|
153
153
|
"AI agent types": {
|
|
154
154
|
"nodeId": "AI agent types",
|
|
155
|
-
"rpcName": "
|
|
155
|
+
"rpcName": "pikkuAgentTypes",
|
|
156
156
|
"next": "HTTP types",
|
|
157
|
-
"stepHash": "
|
|
157
|
+
"stepHash": "33bbd2c269f7"
|
|
158
158
|
},
|
|
159
159
|
"HTTP types": {
|
|
160
160
|
"nodeId": "HTTP types",
|
|
@@ -230,15 +230,15 @@
|
|
|
230
230
|
},
|
|
231
231
|
"AI agent": {
|
|
232
232
|
"nodeId": "AI agent",
|
|
233
|
-
"rpcName": "
|
|
233
|
+
"rpcName": "pikkuAgent",
|
|
234
234
|
"next": "AI scorer",
|
|
235
|
-
"stepHash": "
|
|
235
|
+
"stepHash": "6e0bba2a9106"
|
|
236
236
|
},
|
|
237
237
|
"AI scorer": {
|
|
238
238
|
"nodeId": "AI scorer",
|
|
239
|
-
"rpcName": "
|
|
239
|
+
"rpcName": "pikkuAgentScorer",
|
|
240
240
|
"next": "Public agent scaffold",
|
|
241
|
-
"stepHash": "
|
|
241
|
+
"stepHash": "b7510ddf8368"
|
|
242
242
|
},
|
|
243
243
|
"Public agent scaffold": {
|
|
244
244
|
"nodeId": "Public agent scaffold",
|
|
@@ -640,5 +640,5 @@
|
|
|
640
640
|
"entryNodeIds": [
|
|
641
641
|
"Bootstrap inspect"
|
|
642
642
|
],
|
|
643
|
-
"graphHash": "
|
|
643
|
+
"graphHash": "95d5c83b8c0b"
|
|
644
644
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { HttpPersonasConfig } from '@pikku/core/persona';
|
|
2
|
-
import type { ScenarioPersona
|
|
1
|
+
import type { HttpPersonasConfig } from '@pikku/core/ecosystem/persona';
|
|
2
|
+
import type { ScenarioPersona } from '@pikku/core/services';
|
|
3
|
+
import type { ResolvedPersona } from '@pikku/core/ecosystem/services';
|
|
3
4
|
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js';
|
|
4
5
|
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js';
|
|
5
6
|
export declare const personaConfigs: {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/** Personas declared with definePersonas() */
|
|
5
|
-
import { createHttpPersonas } from '@pikku/core/persona';
|
|
5
|
+
import { createHttpPersonas } from '@pikku/core/ecosystem/persona';
|
|
6
6
|
export const personaConfigs = {};
|
|
7
7
|
/**
|
|
8
8
|
* The same personas as a list, widened to `ResolvedPersona`. Iterating
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
|
-
import { template } from '@pikku/core/workflow';
|
|
6
|
-
import {
|
|
7
|
-
import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow';
|
|
8
|
-
import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
|
|
5
|
+
import { template } from '@pikku/core/ecosystem/workflow';
|
|
6
|
+
import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/ecosystem/workflow';
|
|
7
|
+
import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/ecosystem/workflow';
|
|
8
|
+
import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/ecosystem/scenario';
|
|
9
9
|
export { WorkflowCancelledException };
|
|
10
10
|
import type { PikkuFunctionSessionless, PikkuFunctionConfig, WiredServices } from '../function/pikku-function-types.gen.js';
|
|
11
11
|
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
|
|
@@ -37,7 +37,7 @@ import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
|
37
37
|
import type { InferSchemaOutput, PikkuPermission, PikkuMiddleware, NodeConfig, PikkuApprovalDescription } from '../function/pikku-function-types.gen.js';
|
|
38
38
|
import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
|
|
39
39
|
import { PikkuError } from '@pikku/core/errors';
|
|
40
|
-
import type { CorePermissionGroup } from '@pikku/core';
|
|
40
|
+
import type { CorePermissionGroup } from '@pikku/core/ecosystem/types';
|
|
41
41
|
export type PikkuFunctionWorkflow<In = unknown, Out = never> = PikkuFunctionSessionless<In, Out, 'workflow'>;
|
|
42
42
|
/**
|
|
43
43
|
* `Ctx` types `scenario.context`, defaulting to the body's own output. A hook
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
|
-
import { template } from '@pikku/core/workflow';
|
|
6
|
-
import { pikkuWorkflowGraph as corePikkuWorkflowGraph
|
|
5
|
+
import { template } from '@pikku/core/ecosystem/workflow';
|
|
6
|
+
import { pikkuWorkflowGraph as corePikkuWorkflowGraph } from '@pikku/core/workflow';
|
|
7
7
|
export { WorkflowCancelledException };
|
|
8
8
|
export { template };
|
|
9
9
|
export function pikkuWorkflowFunc(func) {
|
package/dist/bin/pikku-bin.mjs
CHANGED
|
@@ -11,8 +11,8 @@ async function checkForUpdate() {
|
|
|
11
11
|
})
|
|
12
12
|
if (!res.ok) return
|
|
13
13
|
const { version: latest } = await res.json()
|
|
14
|
-
if (latest !== '0.12.
|
|
15
|
-
process.stderr.write(`\n Update available 0.12.
|
|
14
|
+
if (latest !== '0.12.105') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.105 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
|
|
16
16
|
}
|
|
17
17
|
} catch {}
|
|
18
18
|
}
|
package/dist/src/cli.wiring.js
CHANGED
|
@@ -29,6 +29,8 @@ import { scopesPrune } from './functions/commands/scopes-prune.js';
|
|
|
29
29
|
import { rolesAudit } from './functions/commands/roles-audit.js';
|
|
30
30
|
import { rolesPrune } from './functions/commands/roles-prune.js';
|
|
31
31
|
import { pikkuAudit } from './functions/commands/audit.js';
|
|
32
|
+
import { pikkuSemver } from './functions/commands/semver.js';
|
|
33
|
+
import { renderSemver } from './functions/commands/semver-render.js';
|
|
32
34
|
import { validate, renderValidate } from './functions/commands/validate.js';
|
|
33
35
|
import { knowledgeValidate, renderKnowledgeValidate, } from './functions/commands/knowledge-validate.js';
|
|
34
36
|
import { knowledgeIndex, renderKnowledgeIndex, } from './functions/commands/knowledge-index.js';
|
|
@@ -39,6 +41,8 @@ import { pikkuVersionsInit } from './functions/commands/versions-init.js';
|
|
|
39
41
|
import { pikkuEmailsInit } from './functions/commands/emails-init.js';
|
|
40
42
|
import { pikkuVersionsCheck } from './functions/commands/versions-check.js';
|
|
41
43
|
import { pikkuVersionsUpdate } from './functions/commands/versions-update.js';
|
|
44
|
+
import { pikkuUpdate } from './functions/commands/update.js';
|
|
45
|
+
import { renderUpdate } from './functions/commands/update-render.js';
|
|
42
46
|
import { pikkuNewFunction } from './functions/commands/new-function.js';
|
|
43
47
|
import { pikkuNewWiring } from './functions/commands/new-wiring.js';
|
|
44
48
|
import { pikkuNewMiddleware } from './functions/commands/new-middleware.js';
|
|
@@ -205,6 +209,52 @@ wireCLI({
|
|
|
205
209
|
},
|
|
206
210
|
},
|
|
207
211
|
}),
|
|
212
|
+
update: pikkuCLICommand({
|
|
213
|
+
func: pikkuUpdate,
|
|
214
|
+
render: renderUpdate,
|
|
215
|
+
description: 'Report which @pikku/* dependencies can be updated, and the peers those updates need. Reports only until --update is passed',
|
|
216
|
+
options: {
|
|
217
|
+
update: {
|
|
218
|
+
description: 'Write the new ranges into every package.json covered by the run. Without it, update only reports',
|
|
219
|
+
default: false,
|
|
220
|
+
},
|
|
221
|
+
updatePeers: {
|
|
222
|
+
description: "Also write the ranges unsatisfied peers require (e.g. bumping 'ai' for @pikku/ai-vercel). Implies --update, and can cross a major version of a third-party package",
|
|
223
|
+
default: false,
|
|
224
|
+
},
|
|
225
|
+
install: {
|
|
226
|
+
description: 'After writing, run an install with the package manager the lockfile names. --no-install leaves node_modules alone',
|
|
227
|
+
default: true,
|
|
228
|
+
},
|
|
229
|
+
tag: {
|
|
230
|
+
description: "Dist-tag to update to (default: 'latest')",
|
|
231
|
+
default: 'latest',
|
|
232
|
+
},
|
|
233
|
+
registry: {
|
|
234
|
+
description: 'Registry to read versions from (default: npm_config_registry, else https://registry.npmjs.org)',
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
}),
|
|
238
|
+
semver: pikkuCLICommand({
|
|
239
|
+
func: pikkuSemver,
|
|
240
|
+
render: renderSemver,
|
|
241
|
+
description: "Derive the release semver by comparing this build's surface against a deployed one; writes .pikku/changes.gen.json",
|
|
242
|
+
options: {
|
|
243
|
+
against: {
|
|
244
|
+
description: 'Baseline to compare against: a .pikku directory, a snapshot file, or a snapshot URL',
|
|
245
|
+
},
|
|
246
|
+
emit: {
|
|
247
|
+
description: "Produce this build's surface snapshot instead of comparing — publish it to serve as a baseline. Pair with --out; without it the snapshot goes to stdout after the CLI banner",
|
|
248
|
+
default: false,
|
|
249
|
+
},
|
|
250
|
+
out: {
|
|
251
|
+
description: 'Where to write the output (defaults to .pikku/changes.gen.json; with --emit, stdout)',
|
|
252
|
+
},
|
|
253
|
+
failOn: {
|
|
254
|
+
description: 'Exit non-zero when the verdict is at or above this level: major, minor or patch',
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
}),
|
|
208
258
|
watch: pikkuCLICommand({
|
|
209
259
|
func: watch,
|
|
210
260
|
description: 'Watch for file changes and regenerate automatically',
|
|
@@ -464,10 +514,6 @@ wireCLI({
|
|
|
464
514
|
description: 'Reset/snapshot server coverage per scenario (target must run with --coverage); writes coverage/scenario-coverage.json',
|
|
465
515
|
default: false,
|
|
466
516
|
},
|
|
467
|
-
browser: {
|
|
468
|
-
description: 'Shorthand for --run default when false: takes the server-side path instead of driving a browser',
|
|
469
|
-
default: true,
|
|
470
|
-
},
|
|
471
517
|
run: {
|
|
472
518
|
description: "Which surface every actor drives the system through: 'browser' (as a human), 'cli' (over the websocket), or 'default' (server-side, the fast path)",
|
|
473
519
|
default: 'default',
|
|
@@ -146,8 +146,8 @@ export function analyzeDeployment(state, options) {
|
|
|
146
146
|
const subAgentUnitNames = subAgentNames.map((sa) => `agent-${toSafeKebab(sa)}`);
|
|
147
147
|
// Agent needs AI services
|
|
148
148
|
const agentServices = [
|
|
149
|
-
{ capability: 'ai-model', sourceServiceName: '
|
|
150
|
-
{ capability: 'ai-storage', sourceServiceName: '
|
|
149
|
+
{ capability: 'ai-model', sourceServiceName: 'agentRunner' },
|
|
150
|
+
{ capability: 'ai-storage', sourceServiceName: 'agentStorage' },
|
|
151
151
|
];
|
|
152
152
|
// Concrete routes for this agent via catch-all
|
|
153
153
|
const agentRoutes = [
|
|
@@ -185,7 +185,7 @@ export function analyzeDeployment(state, options) {
|
|
|
185
185
|
agents.push({
|
|
186
186
|
// The registry KEY (export name, e.g. `kanbanAgent`), NOT the
|
|
187
187
|
// human-facing `agentMeta.name` (e.g. `kanban-agent`). Routes,
|
|
188
|
-
// `
|
|
188
|
+
// `addAgent(...)`, and the inspector-state name filter all key off
|
|
189
189
|
// this identifier — per-unit codegen passes it to `--names`, and the
|
|
190
190
|
// filter matches it against the `agentsMeta` key. Using the human name
|
|
191
191
|
// here makes the filter prune the agent, so its registration never gets
|
|
@@ -558,9 +558,9 @@ const SERVICE_CAPABILITY_MAP = {
|
|
|
558
558
|
content: 'object-storage',
|
|
559
559
|
storage: 'object-storage',
|
|
560
560
|
queueService: 'queue',
|
|
561
|
-
|
|
561
|
+
agentRunner: 'ai-model',
|
|
562
562
|
ai: 'ai-model',
|
|
563
|
-
|
|
563
|
+
agentStorage: 'ai-storage',
|
|
564
564
|
workflowService: 'workflow-state',
|
|
565
565
|
workflow: 'workflow-state',
|
|
566
566
|
credentialService: 'credential-store',
|
|
@@ -31,12 +31,12 @@ const SERVICE_GEN_FILE_MAP = {
|
|
|
31
31
|
* keeps their (often large) trees out of the bundle.
|
|
32
32
|
*
|
|
33
33
|
* The AI SDKs (@pikku/ai-vercel + @ai-sdk/* + `ai`, ~3MB) are only constructed
|
|
34
|
-
* when `
|
|
34
|
+
* when `agentRunner` is wired (agent units). Every non-agent unit stubs them.
|
|
35
35
|
* The shared services factory must guard the runner construction behind a
|
|
36
36
|
* defined-check on the dynamic import so a stubbed unit simply skips it.
|
|
37
37
|
*/
|
|
38
38
|
const SERVICE_MODULE_MAP = {
|
|
39
|
-
|
|
39
|
+
agentRunner: [/^@pikku\/ai-vercel/, /^@ai-sdk\//, /^ai$/],
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Read the per-unit pikku-services.gen.ts and return the set of gen file
|