@pikku/cli 0.12.82 → 0.12.85
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/cli.schema.json +1 -1
- package/console-app/assets/{index-ChcXIEhS.js → index-CEv-kj3J.js} +154 -147
- package/console-app/assets/index-CSzCJzBb.css +1 -0
- package/console-app/index.html +2 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +4 -2
- package/dist/.pikku/auth/auth.types.d.ts +4 -0
- package/dist/.pikku/auth/auth.types.js +5 -0
- 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/pikku-cli-channel.d.ts +4 -4
- package/dist/.pikku/cli/pikku-cli-channel.js +21 -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 +60 -3
- 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/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +29 -25
- package/dist/.pikku/function/pikku-function-types.gen.js +3 -12
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +195 -32
- package/dist/.pikku/function/pikku-functions.gen.js +15 -3
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
- package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
- 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/pikku-bootstrap.gen.d.ts +1 -5
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -5
- 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 -1
- package/dist/.pikku/pikku-services.gen.js +3 -0
- package/dist/.pikku/pikku-types.gen.d.ts +2 -1
- package/dist/.pikku/pikku-types.gen.js +3 -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/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +10 -2
- 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 +13 -7
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuGraphWiringsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuImportN8nInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuScopesInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuWebhookOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopesAuditInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopesPruneInput.schema.json +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +5 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +4 -0
- package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +35 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.js +27 -0
- 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-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -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/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-meta.gen.json +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
- package/dist/.pikku/workflow/meta/allWorkflow.gen.json +49 -7
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +11 -2
- 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 +47 -4
- package/dist/src/deploy/analyzer/analyzer.js +6 -0
- package/dist/src/fabric/fabric-commands.d.ts +53 -53
- package/dist/src/fabric/functions/add.function.d.ts +2 -2
- package/dist/src/fabric/functions/addon-verify.function.d.ts +2 -2
- package/dist/src/fabric/functions/db-schema.function.d.ts +2 -2
- package/dist/src/fabric/functions/deploy-list.function.d.ts +2 -2
- package/dist/src/fabric/functions/deploy-units.function.d.ts +2 -2
- package/dist/src/fabric/functions/deploy.function.d.ts +4 -4
- package/dist/src/fabric/functions/domains-add.function.d.ts +2 -2
- package/dist/src/fabric/functions/domains-list.function.d.ts +2 -2
- package/dist/src/fabric/functions/domains-remove.function.d.ts +2 -2
- package/dist/src/fabric/functions/errors.function.d.ts +2 -2
- package/dist/src/fabric/functions/init.function.d.ts +2 -2
- package/dist/src/fabric/functions/link.function.d.ts +2 -2
- package/dist/src/fabric/functions/llm-key.function.d.ts +6 -6
- package/dist/src/fabric/functions/login.function.d.ts +2 -2
- package/dist/src/fabric/functions/logs.function.d.ts +2 -2
- package/dist/src/fabric/functions/metrics.function.d.ts +2 -2
- package/dist/src/fabric/functions/publish.function.d.ts +2 -2
- package/dist/src/fabric/functions/rollback.function.d.ts +2 -2
- package/dist/src/fabric/functions/secrets-list.function.d.ts +2 -2
- package/dist/src/fabric/functions/secrets-set.function.d.ts +2 -2
- package/dist/src/fabric/functions/smoke.function.d.ts +2 -2
- package/dist/src/fabric/functions/status.function.d.ts +2 -2
- package/dist/src/fabric/functions/trace.function.d.ts +2 -2
- package/dist/src/fabric/functions/validate.function.d.ts +2 -2
- package/dist/src/functions/commands/all.d.ts +1 -1
- package/dist/src/functions/commands/audit.d.ts +1 -1
- package/dist/src/functions/commands/binary.d.ts +2 -2
- package/dist/src/functions/commands/bootstrap.d.ts +1 -1
- package/dist/src/functions/commands/bootstrap.js +3 -0
- package/dist/src/functions/commands/db-audit.d.ts +1 -1
- package/dist/src/functions/commands/db-generate.d.ts +1 -1
- package/dist/src/functions/commands/db-migrate.d.ts +1 -1
- package/dist/src/functions/commands/db-reset.d.ts +1 -1
- package/dist/src/functions/commands/db-seed.d.ts +1 -1
- package/dist/src/functions/commands/deploy-apply.d.ts +2 -2
- package/dist/src/functions/commands/deploy-info.d.ts +1 -1
- package/dist/src/functions/commands/deploy-plan.d.ts +2 -2
- package/dist/src/functions/commands/dev.d.ts +2 -2
- package/dist/src/functions/commands/dev.js +14 -3
- package/dist/src/functions/commands/emails-init.d.ts +1 -1
- package/dist/src/functions/commands/enable.d.ts +8 -7
- package/dist/src/functions/commands/enable.js +10 -5
- package/dist/src/functions/commands/import-n8n.d.ts +10 -0
- package/dist/src/functions/commands/import-n8n.js +130 -0
- package/dist/src/functions/commands/info.d.ts +4 -4
- package/dist/src/functions/commands/info.js +0 -13
- package/dist/src/functions/commands/login.d.ts +5 -5
- package/dist/src/functions/commands/meta.d.ts +25 -25
- package/dist/src/functions/commands/new-addon.d.ts +13 -2
- package/dist/src/functions/commands/new-addon.js +71 -39
- package/dist/src/functions/commands/new-function.d.ts +2 -2
- package/dist/src/functions/commands/new-middleware.d.ts +2 -2
- package/dist/src/functions/commands/new-permission.d.ts +2 -2
- package/dist/src/functions/commands/new-wiring.d.ts +2 -2
- package/dist/src/functions/commands/pikku-command-bootstrap.d.ts +1 -1
- package/dist/src/functions/commands/pikku-command-bootstrap.js +6 -0
- package/dist/src/functions/commands/pikku-command-summary.d.ts +1 -1
- package/dist/src/functions/commands/scenario.d.ts +3 -3
- package/dist/src/functions/commands/scopes-audit.d.ts +1 -0
- package/dist/src/functions/commands/scopes-audit.js +37 -0
- package/dist/src/functions/commands/scopes-prune.d.ts +14 -0
- package/dist/src/functions/commands/scopes-prune.js +50 -0
- package/dist/src/functions/commands/scopes-shared.d.ts +39 -0
- package/dist/src/functions/commands/scopes-shared.js +83 -0
- package/dist/src/functions/commands/serve.d.ts +2 -2
- package/dist/src/functions/commands/serve.js +4 -2
- package/dist/src/functions/commands/skills.d.ts +4 -4
- package/dist/src/functions/commands/skills.js +18 -10
- package/dist/src/functions/commands/versions-check.d.ts +1 -1
- package/dist/src/functions/commands/versions-init.d.ts +2 -2
- package/dist/src/functions/commands/versions-update.d.ts +1 -1
- package/dist/src/functions/commands/watch.d.ts +2 -2
- package/dist/src/functions/commands/workspace-validate.d.ts +2 -2
- package/dist/src/functions/runtimes/fetch/index.d.ts +1 -1
- package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.d.ts +1 -1
- package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.d.ts +1 -1
- package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.js +3 -2
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.js +4 -2
- package/dist/src/functions/wirings/ai-agent/serialize-public-agent.js +55 -16
- package/dist/src/functions/wirings/auth/pikku-command-auth.d.ts +2 -2
- package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channel-types.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels-map.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli-entry.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli-types.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-console-functions.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-node-types.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-nodes-meta.d.ts +1 -1
- package/dist/src/functions/wirings/console/serialize-console-functions.js +6 -0
- package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -1
- package/dist/src/functions/wirings/credentials/serialize-credentials-types.js +22 -0
- package/dist/src/functions/wirings/emails/pikku-command-emails.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-addon-types.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-function-types-split.d.ts +2 -2
- package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-function-types.d.ts +2 -2
- package/dist/src/functions/wirings/functions/pikku-command-function-types.js +2 -2
- package/dist/src/functions/wirings/functions/pikku-command-functions.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +2 -2
- package/dist/src/functions/wirings/functions/pikku-command-services.js +9 -2
- package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-function-types.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-function-types.js +37 -28
- package/dist/src/functions/wirings/functions/serialize-pikku-types-hub.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-pikku-types-hub.js +6 -2
- package/dist/src/functions/wirings/gateway/pikku-command-gateway.d.ts +1 -1
- package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.d.ts +1 -0
- package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.js +21 -0
- package/dist/src/functions/wirings/graph/serialize-graph-wirings.d.ts +5 -0
- package/dist/src/functions/wirings/graph/serialize-graph-wirings.js +14 -0
- package/dist/src/functions/wirings/http/pikku-command-http-map.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-types.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-openapi.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +1 -1
- package/dist/src/functions/wirings/http/serialize-http-types.js +2 -30
- package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp.d.ts +1 -1
- package/dist/src/functions/wirings/middleware/pikku-command-middleware.d.ts +1 -1
- package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +3 -2
- package/dist/src/functions/wirings/package/pikku-command-package-types.js +14 -1
- package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -1
- package/dist/src/functions/wirings/package/serialize-package-types.d.ts +1 -0
- package/dist/src/functions/wirings/package/serialize-package-types.js +5 -0
- package/dist/src/functions/wirings/permissions/pikku-command-permissions.d.ts +1 -1
- package/dist/src/functions/wirings/permissions/pikku-command-permissions.js +1 -3
- package/dist/src/functions/wirings/permissions/serialize-permissions-imports.d.ts +6 -1
- package/dist/src/functions/wirings/permissions/serialize-permissions-imports.js +7 -64
- package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-service.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-types.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-queue-map.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-queue.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/pikku-command-realtime.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.d.ts +7 -2
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.js +20 -0
- package/dist/src/functions/wirings/rpc/pikku-command-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.d.ts +1 -0
- package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +8 -3
- package/dist/src/functions/wirings/scenarios/pikku-command-scenario-functions.d.ts +1 -1
- package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.d.ts +1 -1
- package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.d.ts +1 -1
- package/dist/src/functions/wirings/scopes/pikku-command-scopes.d.ts +7 -0
- package/dist/src/functions/wirings/scopes/pikku-command-scopes.js +34 -0
- package/dist/src/functions/wirings/scopes/serialize-scopes-types.d.ts +15 -0
- package/dist/src/functions/wirings/scopes/serialize-scopes-types.js +86 -0
- package/dist/src/functions/wirings/secrets/pikku-command-secrets.d.ts +1 -1
- package/dist/src/functions/wirings/secrets/serialize-secrets-types.js +13 -0
- package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.d.ts +2 -2
- package/dist/src/functions/wirings/triggers/pikku-command-trigger.d.ts +1 -1
- package/dist/src/functions/wirings/variables/pikku-command-variables.d.ts +1 -1
- package/dist/src/functions/wirings/variables/serialize-variables-types.js +15 -2
- package/dist/src/functions/wirings/webhook/pikku-command-webhook.d.ts +1 -0
- package/dist/src/functions/wirings/webhook/pikku-command-webhook.js +25 -0
- package/dist/src/functions/wirings/webhook/serialize-webhook.d.ts +14 -0
- package/dist/src/functions/wirings/webhook/serialize-webhook.js +34 -0
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +2 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +29 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +11 -2
- package/dist/src/functions/workflows/all.workflow.js +23 -3
- package/dist/src/services.d.ts +1 -0
- package/dist/src/services.js +1 -0
- package/dist/src/utils/pikku-cli-config.js +20 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -8
- package/skills/pikku-addon/SKILL.md +7 -3
- package/skills/pikku-ai-agent/SKILL.md +9 -6
- package/skills/pikku-ai-vercel/SKILL.md +6 -3
- package/skills/pikku-ai-voice/SKILL.md +6 -3
- package/skills/pikku-audit/SKILL.md +10 -3
- package/skills/pikku-aws/SKILL.md +9 -5
- package/skills/pikku-backblaze/SKILL.md +4 -3
- package/skills/pikku-better-auth/SKILL.md +10 -5
- package/skills/pikku-cli/SKILL.md +6 -3
- package/skills/pikku-concepts/SKILL.md +9 -4
- package/skills/pikku-concepts/references/concept-mapping.md +12 -10
- package/skills/pikku-config/SKILL.md +9 -5
- package/skills/pikku-cron/SKILL.md +6 -3
- package/skills/pikku-deploy-azure/SKILL.md +5 -3
- package/skills/pikku-deploy-cloudflare/SKILL.md +5 -3
- package/skills/pikku-deploy-express/SKILL.md +6 -3
- package/skills/pikku-deploy-fastify/SKILL.md +6 -3
- package/skills/pikku-deploy-lambda/SKILL.md +6 -3
- package/skills/pikku-deploy-nextjs/SKILL.md +5 -3
- package/skills/pikku-deploy-uws/SKILL.md +7 -4
- package/skills/pikku-deps/SKILL.md +13 -6
- package/skills/pikku-emails/SKILL.md +10 -5
- package/skills/pikku-feature/SKILL.md +1 -1
- package/skills/pikku-gateway-slack/SKILL.md +6 -3
- package/skills/pikku-http/SKILL.md +15 -21
- package/skills/pikku-http/references/http-options.md +0 -2
- package/skills/pikku-info/SKILL.md +9 -4
- package/skills/pikku-jose/SKILL.md +6 -3
- package/skills/pikku-kysely/SKILL.md +13 -5
- package/skills/pikku-machine-auth/SKILL.md +9 -3
- package/skills/pikku-mcp/SKILL.md +7 -3
- package/skills/pikku-middleware/SKILL.md +11 -6
- package/skills/pikku-mongodb/SKILL.md +8 -5
- package/skills/pikku-n8n-import/SKILL.md +109 -0
- package/skills/pikku-n8n-import/SPEC.md +84 -0
- package/skills/pikku-n8n-import/references/addon-mapping.md +121 -0
- package/skills/pikku-n8n-import/references/code-translation.md +121 -0
- package/skills/pikku-n8n-import/references/loops-and-control.md +87 -0
- package/skills/pikku-permissions/SKILL.md +26 -15
- package/skills/pikku-pino/SKILL.md +5 -3
- package/skills/pikku-product-second-opinion/README.md +43 -0
- package/skills/pikku-product-second-opinion/SKILL.md +158 -0
- package/skills/pikku-product-second-opinion/example/sample-report.md +90 -0
- package/skills/pikku-product-second-opinion/references/report-template.md +73 -0
- package/skills/pikku-queue/SKILL.md +7 -4
- package/skills/pikku-redis/SKILL.md +9 -6
- package/skills/pikku-rpc/SKILL.md +7 -4
- package/skills/pikku-rtl/SKILL.md +1 -1
- package/skills/pikku-scenario/SKILL.md +215 -0
- package/skills/pikku-schedule/SKILL.md +6 -3
- package/skills/pikku-schema-ajv/SKILL.md +5 -3
- package/skills/pikku-schema-cfworker/SKILL.md +6 -3
- package/skills/pikku-security/SKILL.md +8 -4
- package/skills/pikku-services/SKILL.md +42 -4
- package/skills/pikku-software-archaeology/README.md +70 -0
- package/skills/pikku-software-archaeology/SKILL.md +186 -0
- package/skills/pikku-software-archaeology/references/blueprint.schema.json +625 -0
- package/skills/pikku-software-archaeology/references/pikku-mapping.md +49 -0
- package/skills/pikku-software-archaeology/scripts/validate.mjs +173 -0
- package/skills/pikku-template-clone/SKILL.md +1 -1
- package/skills/pikku-trigger/SKILL.md +7 -3
- package/skills/pikku-versioning/SKILL.md +7 -3
- package/skills/pikku-websocket/SKILL.md +8 -4
- package/skills/pikku-workflow/SKILL.md +7 -3
- package/skills/pikku-ws/SKILL.md +5 -3
- package/console-app/assets/index-DwyRdRuZ.css +0 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +0 -6
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.json +0 -26
- package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +0 -4
- package/dist/.pikku/http/pikku-http-wirings.gen.js +0 -5
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +0 -6
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +0 -10
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +0 -4
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +0 -5
- package/dist/.pikku/schemas/schemas/RemoteRPCHandlerInput.schema.json +0 -1
- package/dist/src/scaffold/rpc-remote.gen.d.ts +0 -10
- package/dist/src/scaffold/rpc-remote.gen.js +0 -27
- package/skills/pikku-n8n-addon-map/SKILL.md +0 -178
- package/skills/pikku-n8n-code-translate/SKILL.md +0 -166
- package/skills/pikku-testing/SKILL.md +0 -328
- package/skills/pikku-testing/references/cucumber-bdd-testing.md +0 -176
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"inputs": [],
|
|
533
533
|
"outputs": [],
|
|
534
534
|
"remote": true,
|
|
535
|
-
"implementationHash": "
|
|
535
|
+
"implementationHash": "a68bb301aa2fd2b7"
|
|
536
536
|
},
|
|
537
537
|
"dbAudit": {
|
|
538
538
|
"pikkuFuncId": "dbAudit",
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
],
|
|
672
672
|
"outputs": [],
|
|
673
673
|
"remote": true,
|
|
674
|
-
"implementationHash": "
|
|
674
|
+
"implementationHash": "4bd66693129ae5d5"
|
|
675
675
|
},
|
|
676
676
|
"pikkuEmailsInit": {
|
|
677
677
|
"pikkuFuncId": "pikkuEmailsInit",
|
|
@@ -795,6 +795,38 @@
|
|
|
795
795
|
"inputHash": "12424d20",
|
|
796
796
|
"outputHash": "0b9eb98d"
|
|
797
797
|
},
|
|
798
|
+
"enableWebhook": {
|
|
799
|
+
"pikkuFuncId": "enableWebhook",
|
|
800
|
+
"functionType": "user",
|
|
801
|
+
"funcWrapper": "pikkuVoidFunc",
|
|
802
|
+
"sessionless": true,
|
|
803
|
+
"name": "enableWebhook",
|
|
804
|
+
"inputSchemaName": null,
|
|
805
|
+
"outputSchemaName": null,
|
|
806
|
+
"inputs": [],
|
|
807
|
+
"outputs": [],
|
|
808
|
+
"implementationHash": "382f3fc2a62eec44",
|
|
809
|
+
"contractHash": "649807298b536cb7",
|
|
810
|
+
"inputHash": "5fbbca40",
|
|
811
|
+
"outputHash": "7115e150"
|
|
812
|
+
},
|
|
813
|
+
"pikkuImportN8n": {
|
|
814
|
+
"pikkuFuncId": "pikkuImportN8n",
|
|
815
|
+
"functionType": "user",
|
|
816
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
817
|
+
"sessionless": true,
|
|
818
|
+
"name": "pikkuImportN8n",
|
|
819
|
+
"inputSchemaName": "PikkuImportN8nInput",
|
|
820
|
+
"outputSchemaName": null,
|
|
821
|
+
"inputs": [
|
|
822
|
+
"PikkuImportN8nInput"
|
|
823
|
+
],
|
|
824
|
+
"outputs": [],
|
|
825
|
+
"implementationHash": "de0be3d6d5d40ef0",
|
|
826
|
+
"contractHash": "c0b4eb824b03d9bc",
|
|
827
|
+
"inputHash": "904f8e50",
|
|
828
|
+
"outputHash": "b2f37690"
|
|
829
|
+
},
|
|
798
830
|
"pikkuInfoFunctions": {
|
|
799
831
|
"pikkuFuncId": "pikkuInfoFunctions",
|
|
800
832
|
"functionType": "user",
|
|
@@ -824,7 +856,7 @@
|
|
|
824
856
|
"InfoInput"
|
|
825
857
|
],
|
|
826
858
|
"outputs": [],
|
|
827
|
-
"implementationHash": "
|
|
859
|
+
"implementationHash": "2d8e5aff242c8c23",
|
|
828
860
|
"contractHash": "ad5a95279fe00a14",
|
|
829
861
|
"inputHash": "bdf1ff84",
|
|
830
862
|
"outputHash": "5cac83d4"
|
|
@@ -1249,7 +1281,7 @@
|
|
|
1249
1281
|
"PikkuNewAddonInput"
|
|
1250
1282
|
],
|
|
1251
1283
|
"outputs": [],
|
|
1252
|
-
"implementationHash": "
|
|
1284
|
+
"implementationHash": "baa095ba82205ff5",
|
|
1253
1285
|
"contractHash": "7ad6280aa8f3e18e",
|
|
1254
1286
|
"inputHash": "87a4bbd4",
|
|
1255
1287
|
"outputHash": "77e837d4"
|
|
@@ -1334,9 +1366,9 @@
|
|
|
1334
1366
|
"BootstrapInput"
|
|
1335
1367
|
],
|
|
1336
1368
|
"outputs": [],
|
|
1337
|
-
"implementationHash": "
|
|
1338
|
-
"contractHash": "
|
|
1339
|
-
"inputHash": "
|
|
1369
|
+
"implementationHash": "bff81f186c6a4bf8",
|
|
1370
|
+
"contractHash": "d699dbed25674fbe",
|
|
1371
|
+
"inputHash": "83f342c1",
|
|
1340
1372
|
"outputHash": "0d154de9"
|
|
1341
1373
|
},
|
|
1342
1374
|
"pikkuSummary": {
|
|
@@ -1388,6 +1420,36 @@
|
|
|
1388
1420
|
"inputHash": "39c5701c",
|
|
1389
1421
|
"outputHash": "73729ce5"
|
|
1390
1422
|
},
|
|
1423
|
+
"scopesAudit": {
|
|
1424
|
+
"pikkuFuncId": "scopesAudit",
|
|
1425
|
+
"functionType": "user",
|
|
1426
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1427
|
+
"sessionless": true,
|
|
1428
|
+
"name": "scopesAudit",
|
|
1429
|
+
"inputSchemaName": "ScopesAuditInput",
|
|
1430
|
+
"outputSchemaName": null,
|
|
1431
|
+
"inputs": [
|
|
1432
|
+
"ScopesAuditInput"
|
|
1433
|
+
],
|
|
1434
|
+
"outputs": [],
|
|
1435
|
+
"remote": true,
|
|
1436
|
+
"implementationHash": "a79a50329ef81f88"
|
|
1437
|
+
},
|
|
1438
|
+
"scopesPrune": {
|
|
1439
|
+
"pikkuFuncId": "scopesPrune",
|
|
1440
|
+
"functionType": "user",
|
|
1441
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1442
|
+
"sessionless": true,
|
|
1443
|
+
"name": "scopesPrune",
|
|
1444
|
+
"inputSchemaName": "ScopesPruneInput",
|
|
1445
|
+
"outputSchemaName": null,
|
|
1446
|
+
"inputs": [
|
|
1447
|
+
"ScopesPruneInput"
|
|
1448
|
+
],
|
|
1449
|
+
"outputs": [],
|
|
1450
|
+
"remote": true,
|
|
1451
|
+
"implementationHash": "accd23938459a02a"
|
|
1452
|
+
},
|
|
1391
1453
|
"serve": {
|
|
1392
1454
|
"pikkuFuncId": "serve",
|
|
1393
1455
|
"functionType": "user",
|
|
@@ -1401,7 +1463,7 @@
|
|
|
1401
1463
|
],
|
|
1402
1464
|
"outputs": [],
|
|
1403
1465
|
"remote": true,
|
|
1404
|
-
"implementationHash": "
|
|
1466
|
+
"implementationHash": "ce8658832c560eea"
|
|
1405
1467
|
},
|
|
1406
1468
|
"pikkuSkillsList": {
|
|
1407
1469
|
"pikkuFuncId": "pikkuSkillsList",
|
|
@@ -1415,7 +1477,7 @@
|
|
|
1415
1477
|
"PikkuSkillsListInput"
|
|
1416
1478
|
],
|
|
1417
1479
|
"outputs": [],
|
|
1418
|
-
"implementationHash": "
|
|
1480
|
+
"implementationHash": "8c215adc87907b97",
|
|
1419
1481
|
"contractHash": "d451a024253eb4a7",
|
|
1420
1482
|
"inputHash": "235b88c0",
|
|
1421
1483
|
"outputHash": "0e851e9b"
|
|
@@ -1432,7 +1494,7 @@
|
|
|
1432
1494
|
"PikkuSkillsInstallInput"
|
|
1433
1495
|
],
|
|
1434
1496
|
"outputs": [],
|
|
1435
|
-
"implementationHash": "
|
|
1497
|
+
"implementationHash": "e78b75fc9c0b9c73",
|
|
1436
1498
|
"contractHash": "3eb84a1491c58f86",
|
|
1437
1499
|
"inputHash": "8dfd97bd",
|
|
1438
1500
|
"outputHash": "2486db2e"
|
|
@@ -1616,7 +1678,7 @@
|
|
|
1616
1678
|
"outputSchemaName": null,
|
|
1617
1679
|
"inputs": [],
|
|
1618
1680
|
"outputs": [],
|
|
1619
|
-
"implementationHash": "
|
|
1681
|
+
"implementationHash": "e5a567c121415ebf",
|
|
1620
1682
|
"middleware": [
|
|
1621
1683
|
{
|
|
1622
1684
|
"type": "wire",
|
|
@@ -2014,7 +2076,7 @@
|
|
|
2014
2076
|
"PikkuFunctionTypesSplitInput"
|
|
2015
2077
|
],
|
|
2016
2078
|
"outputs": [],
|
|
2017
|
-
"implementationHash": "
|
|
2079
|
+
"implementationHash": "48e976a3e16e7ca8",
|
|
2018
2080
|
"middleware": [
|
|
2019
2081
|
{
|
|
2020
2082
|
"type": "wire",
|
|
@@ -2038,7 +2100,7 @@
|
|
|
2038
2100
|
"PikkuFunctionTypesInput"
|
|
2039
2101
|
],
|
|
2040
2102
|
"outputs": [],
|
|
2041
|
-
"implementationHash": "
|
|
2103
|
+
"implementationHash": "887d348ed5bf0bbe",
|
|
2042
2104
|
"middleware": [
|
|
2043
2105
|
{
|
|
2044
2106
|
"type": "wire",
|
|
@@ -2084,7 +2146,7 @@
|
|
|
2084
2146
|
"outputSchemaName": null,
|
|
2085
2147
|
"inputs": [],
|
|
2086
2148
|
"outputs": [],
|
|
2087
|
-
"implementationHash": "
|
|
2149
|
+
"implementationHash": "99b309db8e8700b1",
|
|
2088
2150
|
"middleware": [
|
|
2089
2151
|
{
|
|
2090
2152
|
"type": "wire",
|
|
@@ -2144,6 +2206,30 @@
|
|
|
2144
2206
|
"inputHash": "a5477eae",
|
|
2145
2207
|
"outputHash": "b5ea8b47"
|
|
2146
2208
|
},
|
|
2209
|
+
"pikkuGraphWirings": {
|
|
2210
|
+
"pikkuFuncId": "pikkuGraphWirings",
|
|
2211
|
+
"functionType": "user",
|
|
2212
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2213
|
+
"sessionless": true,
|
|
2214
|
+
"name": "pikkuGraphWirings",
|
|
2215
|
+
"inputSchemaName": null,
|
|
2216
|
+
"outputSchemaName": "PikkuGraphWiringsOutput",
|
|
2217
|
+
"inputs": [],
|
|
2218
|
+
"outputs": [
|
|
2219
|
+
"PikkuGraphWiringsOutput"
|
|
2220
|
+
],
|
|
2221
|
+
"implementationHash": "ed4a2f2ac9d5db53",
|
|
2222
|
+
"middleware": [
|
|
2223
|
+
{
|
|
2224
|
+
"type": "wire",
|
|
2225
|
+
"name": "logCommandInfoAndTime",
|
|
2226
|
+
"inline": false
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"contractHash": "f21f61b9a3c3a381",
|
|
2230
|
+
"inputHash": "cc8aa702",
|
|
2231
|
+
"outputHash": "7bca76fa"
|
|
2232
|
+
},
|
|
2147
2233
|
"pikkuHTTPMap": {
|
|
2148
2234
|
"pikkuFuncId": "pikkuHTTPMap",
|
|
2149
2235
|
"functionType": "user",
|
|
@@ -2372,6 +2458,28 @@
|
|
|
2372
2458
|
"inputHash": "8b325a38",
|
|
2373
2459
|
"outputHash": "56f1120c"
|
|
2374
2460
|
},
|
|
2461
|
+
"pikkuScopeDefinitionTypes": {
|
|
2462
|
+
"pikkuFuncId": "pikkuScopeDefinitionTypes",
|
|
2463
|
+
"functionType": "user",
|
|
2464
|
+
"funcWrapper": "pikkuVoidFunc",
|
|
2465
|
+
"sessionless": true,
|
|
2466
|
+
"name": "pikkuScopeDefinitionTypes",
|
|
2467
|
+
"inputSchemaName": null,
|
|
2468
|
+
"outputSchemaName": null,
|
|
2469
|
+
"inputs": [],
|
|
2470
|
+
"outputs": [],
|
|
2471
|
+
"implementationHash": "9e10a855553aad37",
|
|
2472
|
+
"middleware": [
|
|
2473
|
+
{
|
|
2474
|
+
"type": "wire",
|
|
2475
|
+
"name": "logCommandInfoAndTime",
|
|
2476
|
+
"inline": false
|
|
2477
|
+
}
|
|
2478
|
+
],
|
|
2479
|
+
"contractHash": "95ba681cb8c3d29f",
|
|
2480
|
+
"inputHash": "05887681",
|
|
2481
|
+
"outputHash": "0fbd7ce7"
|
|
2482
|
+
},
|
|
2375
2483
|
"pikkuVariableDefinitionTypes": {
|
|
2376
2484
|
"pikkuFuncId": "pikkuVariableDefinitionTypes",
|
|
2377
2485
|
"functionType": "user",
|
|
@@ -2430,7 +2538,7 @@
|
|
|
2430
2538
|
"outputs": [
|
|
2431
2539
|
"PikkuPermissionsOutput"
|
|
2432
2540
|
],
|
|
2433
|
-
"implementationHash": "
|
|
2541
|
+
"implementationHash": "4d45f7001fc17cfe",
|
|
2434
2542
|
"middleware": [
|
|
2435
2543
|
{
|
|
2436
2544
|
"type": "wire",
|
|
@@ -2760,6 +2868,28 @@
|
|
|
2760
2868
|
"inputHash": "57fd8479",
|
|
2761
2869
|
"outputHash": "43617b05"
|
|
2762
2870
|
},
|
|
2871
|
+
"pikkuRPCRemoteMap": {
|
|
2872
|
+
"pikkuFuncId": "pikkuRPCRemoteMap",
|
|
2873
|
+
"functionType": "user",
|
|
2874
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2875
|
+
"sessionless": true,
|
|
2876
|
+
"name": "pikkuRPCRemoteMap",
|
|
2877
|
+
"inputSchemaName": null,
|
|
2878
|
+
"outputSchemaName": null,
|
|
2879
|
+
"inputs": [],
|
|
2880
|
+
"outputs": [],
|
|
2881
|
+
"implementationHash": "3638be7dd85781c1",
|
|
2882
|
+
"middleware": [
|
|
2883
|
+
{
|
|
2884
|
+
"type": "wire",
|
|
2885
|
+
"name": "logCommandInfoAndTime",
|
|
2886
|
+
"inline": false
|
|
2887
|
+
}
|
|
2888
|
+
],
|
|
2889
|
+
"contractHash": "46de9a6a571d43c3",
|
|
2890
|
+
"inputHash": "6e822c3c",
|
|
2891
|
+
"outputHash": "d52623e7"
|
|
2892
|
+
},
|
|
2763
2893
|
"pikkuRPC": {
|
|
2764
2894
|
"pikkuFuncId": "pikkuRPC",
|
|
2765
2895
|
"functionType": "user",
|
|
@@ -2854,6 +2984,30 @@
|
|
|
2854
2984
|
"inputHash": "dda1c6aa",
|
|
2855
2985
|
"outputHash": "1f0f0345"
|
|
2856
2986
|
},
|
|
2987
|
+
"pikkuScopes": {
|
|
2988
|
+
"pikkuFuncId": "pikkuScopes",
|
|
2989
|
+
"functionType": "user",
|
|
2990
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2991
|
+
"sessionless": true,
|
|
2992
|
+
"name": "pikkuScopes",
|
|
2993
|
+
"inputSchemaName": "PikkuScopesInput",
|
|
2994
|
+
"outputSchemaName": null,
|
|
2995
|
+
"inputs": [
|
|
2996
|
+
"PikkuScopesInput"
|
|
2997
|
+
],
|
|
2998
|
+
"outputs": [],
|
|
2999
|
+
"implementationHash": "b65c66a35a0c1061",
|
|
3000
|
+
"middleware": [
|
|
3001
|
+
{
|
|
3002
|
+
"type": "wire",
|
|
3003
|
+
"name": "logCommandInfoAndTime",
|
|
3004
|
+
"inline": false
|
|
3005
|
+
}
|
|
3006
|
+
],
|
|
3007
|
+
"contractHash": "cf5be24e027fc67a",
|
|
3008
|
+
"inputHash": "bf701ec9",
|
|
3009
|
+
"outputHash": "889d1d4f"
|
|
3010
|
+
},
|
|
2857
3011
|
"pikkuSecrets": {
|
|
2858
3012
|
"pikkuFuncId": "pikkuSecrets",
|
|
2859
3013
|
"functionType": "user",
|
|
@@ -2946,6 +3100,30 @@
|
|
|
2946
3100
|
"inputHash": "114143f9",
|
|
2947
3101
|
"outputHash": "75594b2d"
|
|
2948
3102
|
},
|
|
3103
|
+
"pikkuWebhook": {
|
|
3104
|
+
"pikkuFuncId": "pikkuWebhook",
|
|
3105
|
+
"functionType": "user",
|
|
3106
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
3107
|
+
"sessionless": true,
|
|
3108
|
+
"name": "pikkuWebhook",
|
|
3109
|
+
"inputSchemaName": null,
|
|
3110
|
+
"outputSchemaName": "PikkuWebhookOutput",
|
|
3111
|
+
"inputs": [],
|
|
3112
|
+
"outputs": [
|
|
3113
|
+
"PikkuWebhookOutput"
|
|
3114
|
+
],
|
|
3115
|
+
"implementationHash": "f046848551fd0ec6",
|
|
3116
|
+
"middleware": [
|
|
3117
|
+
{
|
|
3118
|
+
"type": "wire",
|
|
3119
|
+
"name": "logCommandInfoAndTime",
|
|
3120
|
+
"inline": false
|
|
3121
|
+
}
|
|
3122
|
+
],
|
|
3123
|
+
"contractHash": "c64de9afaa2c2d2e",
|
|
3124
|
+
"inputHash": "09240c07",
|
|
3125
|
+
"outputHash": "8e7c0a72"
|
|
3126
|
+
},
|
|
2949
3127
|
"pikkuWorkflowRoutes": {
|
|
2950
3128
|
"pikkuFuncId": "pikkuWorkflowRoutes",
|
|
2951
3129
|
"functionType": "user",
|
|
@@ -2984,7 +3162,7 @@
|
|
|
2984
3162
|
"outputs": [
|
|
2985
3163
|
"PikkuWorkflowOutput"
|
|
2986
3164
|
],
|
|
2987
|
-
"implementationHash": "
|
|
3165
|
+
"implementationHash": "336b447a76456e0a",
|
|
2988
3166
|
"middleware": [
|
|
2989
3167
|
{
|
|
2990
3168
|
"type": "wire",
|
|
@@ -3006,24 +3184,9 @@
|
|
|
3006
3184
|
"outputSchemaName": null,
|
|
3007
3185
|
"inputs": [],
|
|
3008
3186
|
"outputs": [],
|
|
3009
|
-
"implementationHash": "
|
|
3187
|
+
"implementationHash": "7c58129c39d83566",
|
|
3010
3188
|
"contractHash": "5cf046fc5045a072",
|
|
3011
3189
|
"inputHash": "d5ff2f31",
|
|
3012
3190
|
"outputHash": "391c291d"
|
|
3013
|
-
},
|
|
3014
|
-
"remoteRPCHandler": {
|
|
3015
|
-
"pikkuFuncId": "remoteRPCHandler",
|
|
3016
|
-
"functionType": "user",
|
|
3017
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
3018
|
-
"sessionless": true,
|
|
3019
|
-
"name": "remoteRPCHandler",
|
|
3020
|
-
"inputSchemaName": "RemoteRPCHandlerInput",
|
|
3021
|
-
"outputSchemaName": null,
|
|
3022
|
-
"inputs": [
|
|
3023
|
-
"RemoteRPCHandlerInput"
|
|
3024
|
-
],
|
|
3025
|
-
"outputs": [],
|
|
3026
|
-
"remote": true,
|
|
3027
|
-
"implementationHash": "105018a823bdb551"
|
|
3028
3191
|
}
|
|
3029
3192
|
}
|
|
@@ -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.85
|
|
3
3
|
*/
|
|
4
4
|
/* Import and register functions used by RPCs */
|
|
5
5
|
import { addFunction } from '@pikku/core/function';
|
|
@@ -35,6 +35,7 @@ import { pikkuFunctions } from '../../src/functions/wirings/functions/pikku-comm
|
|
|
35
35
|
import { pikkuFunctionTypes } from '../../src/functions/wirings/functions/pikku-command-function-types.js';
|
|
36
36
|
import { pikkuFunctionTypesSplit } from '../../src/functions/wirings/functions/pikku-command-function-types-split.js';
|
|
37
37
|
import { pikkuGateway } from '../../src/functions/wirings/gateway/pikku-command-gateway.js';
|
|
38
|
+
import { pikkuGraphWirings } from '../../src/functions/wirings/graph/pikku-command-graph-wirings.js';
|
|
38
39
|
import { pikkuHTTPMap } from '../../src/functions/wirings/http/pikku-command-http-map.js';
|
|
39
40
|
import { pikkuHTTPTypes } from '../../src/functions/wirings/http/pikku-command-http-types.js';
|
|
40
41
|
import { pikkuMCP } from '../../src/functions/wirings/mcp/pikku-command-mcp.js';
|
|
@@ -58,10 +59,13 @@ import { pikkuRPC } from '../../src/functions/wirings/rpc/pikku-command-rpc.js';
|
|
|
58
59
|
import { pikkuRPCClient } from '../../src/functions/wirings/rpc/pikku-command-rpc-client.js';
|
|
59
60
|
import { pikkuRPCExposedMap } from '../../src/functions/wirings/rpc/pikku-command-rpc-map.js';
|
|
60
61
|
import { pikkuRPCInternalMap } from '../../src/functions/wirings/rpc/pikku-command-rpc-map.js';
|
|
62
|
+
import { pikkuRPCRemoteMap } from '../../src/functions/wirings/rpc/pikku-command-rpc-map.js';
|
|
61
63
|
import { pikkuScenarioFunctions } from '../../src/functions/wirings/scenarios/pikku-command-scenario-functions.js';
|
|
62
64
|
import { pikkuScheduler } from '../../src/functions/wirings/scheduler/pikku-command-scheduler.js';
|
|
63
65
|
import { pikkuSchedulerTypes } from '../../src/functions/wirings/scheduler/pikku-command-scheduler-types.js';
|
|
64
66
|
import { pikkuSchemas } from '../../src/functions/wirings/functions/schemas.js';
|
|
67
|
+
import { pikkuScopeDefinitionTypes } from '../../src/functions/wirings/package/pikku-command-package-types.js';
|
|
68
|
+
import { pikkuScopes } from '../../src/functions/wirings/scopes/pikku-command-scopes.js';
|
|
65
69
|
import { pikkuSecretDefinitionTypes } from '../../src/functions/wirings/package/pikku-command-package-types.js';
|
|
66
70
|
import { pikkuSecrets } from '../../src/functions/wirings/secrets/pikku-command-secrets.js';
|
|
67
71
|
import { pikkuServices } from '../../src/functions/wirings/functions/pikku-command-services.js';
|
|
@@ -72,10 +76,12 @@ import { pikkuTriggerTypes } from '../../src/functions/wirings/triggers/pikku-co
|
|
|
72
76
|
import { pikkuVariableDefinitionTypes } from '../../src/functions/wirings/package/pikku-command-package-types.js';
|
|
73
77
|
import { pikkuVariables } from '../../src/functions/wirings/variables/pikku-command-variables.js';
|
|
74
78
|
import { pikkuVersionsUpdate } from '../../src/functions/commands/versions-update.js';
|
|
79
|
+
import { pikkuWebhook } from '../../src/functions/wirings/webhook/pikku-command-webhook.js';
|
|
75
80
|
import { pikkuWebSocketTyped } from '../../src/functions/runtimes/websocket/pikku-command-websocket-typed.js';
|
|
76
81
|
import { pikkuWorkflow } from '../../src/functions/wirings/workflow/pikku-command-workflow.js';
|
|
77
82
|
import { pikkuWorkflowRoutes } from '../../src/functions/wirings/workflow/pikku-command-workflow-routes.js';
|
|
78
|
-
import {
|
|
83
|
+
import { scopesAudit } from '../../src/functions/commands/scopes-audit.js';
|
|
84
|
+
import { scopesPrune } from '../../src/functions/commands/scopes-prune.js';
|
|
79
85
|
import { serve } from '../../src/functions/commands/serve.js';
|
|
80
86
|
import { watch } from '../../src/functions/commands/watch.js';
|
|
81
87
|
addFunction('all', all);
|
|
@@ -110,6 +116,7 @@ addFunction('pikkuFunctions', pikkuFunctions);
|
|
|
110
116
|
addFunction('pikkuFunctionTypes', pikkuFunctionTypes);
|
|
111
117
|
addFunction('pikkuFunctionTypesSplit', pikkuFunctionTypesSplit);
|
|
112
118
|
addFunction('pikkuGateway', pikkuGateway);
|
|
119
|
+
addFunction('pikkuGraphWirings', pikkuGraphWirings);
|
|
113
120
|
addFunction('pikkuHTTPMap', pikkuHTTPMap);
|
|
114
121
|
addFunction('pikkuHTTPTypes', pikkuHTTPTypes);
|
|
115
122
|
addFunction('pikkuMCP', pikkuMCP);
|
|
@@ -133,10 +140,13 @@ addFunction('pikkuRPC', pikkuRPC);
|
|
|
133
140
|
addFunction('pikkuRPCClient', pikkuRPCClient);
|
|
134
141
|
addFunction('pikkuRPCExposedMap', pikkuRPCExposedMap);
|
|
135
142
|
addFunction('pikkuRPCInternalMap', pikkuRPCInternalMap);
|
|
143
|
+
addFunction('pikkuRPCRemoteMap', pikkuRPCRemoteMap);
|
|
136
144
|
addFunction('pikkuScenarioFunctions', pikkuScenarioFunctions);
|
|
137
145
|
addFunction('pikkuScheduler', pikkuScheduler);
|
|
138
146
|
addFunction('pikkuSchedulerTypes', pikkuSchedulerTypes);
|
|
139
147
|
addFunction('pikkuSchemas', pikkuSchemas);
|
|
148
|
+
addFunction('pikkuScopeDefinitionTypes', pikkuScopeDefinitionTypes);
|
|
149
|
+
addFunction('pikkuScopes', pikkuScopes);
|
|
140
150
|
addFunction('pikkuSecretDefinitionTypes', pikkuSecretDefinitionTypes);
|
|
141
151
|
addFunction('pikkuSecrets', pikkuSecrets);
|
|
142
152
|
addFunction('pikkuServices', pikkuServices);
|
|
@@ -147,9 +157,11 @@ addFunction('pikkuTriggerTypes', pikkuTriggerTypes);
|
|
|
147
157
|
addFunction('pikkuVariableDefinitionTypes', pikkuVariableDefinitionTypes);
|
|
148
158
|
addFunction('pikkuVariables', pikkuVariables);
|
|
149
159
|
addFunction('pikkuVersionsUpdate', pikkuVersionsUpdate);
|
|
160
|
+
addFunction('pikkuWebhook', pikkuWebhook);
|
|
150
161
|
addFunction('pikkuWebSocketTyped', pikkuWebSocketTyped);
|
|
151
162
|
addFunction('pikkuWorkflow', pikkuWorkflow);
|
|
152
163
|
addFunction('pikkuWorkflowRoutes', pikkuWorkflowRoutes);
|
|
153
|
-
addFunction('
|
|
164
|
+
addFunction('scopesAudit', scopesAudit);
|
|
165
|
+
addFunction('scopesPrune', scopesPrune);
|
|
154
166
|
addFunction('serve', serve);
|
|
155
167
|
addFunction('watch', watch);
|
|
@@ -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.85
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* HTTP-specific type definitions for tree-shaking optimization
|
|
@@ -45,26 +45,6 @@ export declare const wireHTTP: <In, Out, Route extends string>(httpWiring: HTTPW
|
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
47
|
export declare const addHTTPMiddleware: (routeOrMiddleware: PikkuMiddleware[] | string, middleware?: PikkuMiddleware[]) => void;
|
|
48
|
-
/**
|
|
49
|
-
* Registers HTTP permissions either globally or for a specific route pattern.
|
|
50
|
-
*
|
|
51
|
-
* When a string route pattern is provided along with permissions, the permissions
|
|
52
|
-
* are applied only to that route. Permissions can be passed as an array or as a
|
|
53
|
-
* permission group object.
|
|
54
|
-
*
|
|
55
|
-
* @param pattern - Route pattern string (e.g., '*' for all routes, '/api/*' for specific routes)
|
|
56
|
-
* @param permissions - The permissions to apply for the specified route pattern
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```typescript
|
|
60
|
-
* // Add global HTTP permissions
|
|
61
|
-
* addHTTPPermission('*', { global: globalPermission })
|
|
62
|
-
*
|
|
63
|
-
* // Add route-specific permissions
|
|
64
|
-
* addHTTPPermission('/api/admin/*', { admin: adminPermission })
|
|
65
|
-
* ```
|
|
66
|
-
*/
|
|
67
|
-
export declare const addHTTPPermission: <In = unknown>(pattern: string, permissions: Record<string, PikkuPermission<In>> | PikkuPermission<In>[]) => void;
|
|
68
48
|
/**
|
|
69
49
|
* Route configuration for wireHTTPRoutes with proper typing
|
|
70
50
|
*/
|
|
@@ -73,7 +53,6 @@ type HTTPRouteConfig = HTTPRouteBaseConfig & {
|
|
|
73
53
|
route: string;
|
|
74
54
|
func: PikkuFunctionConfig<any, any, any, any, any, any>;
|
|
75
55
|
auth?: boolean;
|
|
76
|
-
permissions?: Record<string, PikkuPermission | PikkuPermission[]>;
|
|
77
56
|
middleware?: PikkuMiddleware[];
|
|
78
57
|
sse?: boolean;
|
|
79
58
|
};
|
|
@@ -90,14 +69,13 @@ type TypedHTTPRouteContract<T extends TypedHTTPRouteMap = TypedHTTPRouteMap> = T
|
|
|
90
69
|
routes: T;
|
|
91
70
|
};
|
|
92
71
|
/**
|
|
93
|
-
* Group config with typed middleware
|
|
72
|
+
* Group config with typed middleware
|
|
94
73
|
*/
|
|
95
74
|
type TypedHTTPRoutesGroupConfig = {
|
|
96
75
|
basePath?: string;
|
|
97
76
|
tags?: string[];
|
|
98
77
|
auth?: boolean;
|
|
99
78
|
middleware?: PikkuMiddleware[];
|
|
100
|
-
permissions?: Record<string, PikkuPermission | PikkuPermission[]>;
|
|
101
79
|
};
|
|
102
80
|
/**
|
|
103
81
|
* Full config for wireHTTPRoutes
|
|
@@ -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.85
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* HTTP-specific type definitions for tree-shaking optimization
|
|
6
6
|
*/
|
|
7
|
-
import { wireHTTP as wireHTTPCore, addHTTPMiddleware as addHTTPMiddlewareCore,
|
|
7
|
+
import { wireHTTP as wireHTTPCore, addHTTPMiddleware as addHTTPMiddlewareCore, wireHTTPRoutes as wireHTTPRoutesCore, defineHTTPRoutes as defineHTTPRoutesCore } from '@pikku/core/http';
|
|
8
8
|
/**
|
|
9
9
|
* Registers an HTTP wiring with the Pikku framework.
|
|
10
10
|
*
|
|
@@ -38,28 +38,6 @@ export const wireHTTP = (httpWiring) => {
|
|
|
38
38
|
export const addHTTPMiddleware = (routeOrMiddleware, middleware) => {
|
|
39
39
|
addHTTPMiddlewareCore(routeOrMiddleware, middleware);
|
|
40
40
|
};
|
|
41
|
-
/**
|
|
42
|
-
* Registers HTTP permissions either globally or for a specific route pattern.
|
|
43
|
-
*
|
|
44
|
-
* When a string route pattern is provided along with permissions, the permissions
|
|
45
|
-
* are applied only to that route. Permissions can be passed as an array or as a
|
|
46
|
-
* permission group object.
|
|
47
|
-
*
|
|
48
|
-
* @param pattern - Route pattern string (e.g., '*' for all routes, '/api/*' for specific routes)
|
|
49
|
-
* @param permissions - The permissions to apply for the specified route pattern
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* ```typescript
|
|
53
|
-
* // Add global HTTP permissions
|
|
54
|
-
* addHTTPPermission('*', { global: globalPermission })
|
|
55
|
-
*
|
|
56
|
-
* // Add route-specific permissions
|
|
57
|
-
* addHTTPPermission('/api/admin/*', { admin: adminPermission })
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export const addHTTPPermission = (pattern, permissions) => {
|
|
61
|
-
addHTTPPermissionCore(pattern, permissions);
|
|
62
|
-
};
|
|
63
41
|
export function defineHTTPRoutes(configOrRoutes) {
|
|
64
42
|
return defineHTTPRoutesCore(configOrRoutes);
|
|
65
43
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.85
|
|
3
3
|
*/
|
|
4
4
|
import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
|
|
5
|
-
import './http/pikku-http-wirings-meta.gen.js';
|
|
6
5
|
import './function/pikku-functions-meta.gen.js';
|
|
7
|
-
import './queue/pikku-queue-workers-wirings-meta.gen.js';
|
|
8
6
|
import './cli/pikku-cli-wirings-meta.gen.js';
|
|
9
7
|
import './schemas/register.gen.js';
|
|
10
|
-
import './http/pikku-http-wirings.gen.js';
|
|
11
8
|
import './function/pikku-functions.gen.js';
|
|
12
9
|
import './workflow/pikku-workflow-wirings.gen.js';
|
|
13
|
-
import './queue/pikku-queue-workers-wirings.gen.js';
|
|
14
10
|
import './cli/pikku-cli-wirings.gen.js';
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.85
|
|
3
3
|
*/
|
|
4
4
|
import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
|
|
5
|
-
import './http/pikku-http-wirings-meta.gen.js';
|
|
6
5
|
import './function/pikku-functions-meta.gen.js';
|
|
7
|
-
import './queue/pikku-queue-workers-wirings-meta.gen.js';
|
|
8
6
|
import './cli/pikku-cli-wirings-meta.gen.js';
|
|
9
7
|
import './schemas/register.gen.js';
|
|
10
|
-
import './http/pikku-http-wirings.gen.js';
|
|
11
8
|
import './function/pikku-functions.gen.js';
|
|
12
9
|
import './workflow/pikku-workflow-wirings.gen.js';
|
|
13
|
-
import './queue/pikku-queue-workers-wirings.gen.js';
|
|
14
10
|
import './cli/pikku-cli-wirings.gen.js';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.85
|
|
3
3
|
*/
|
|
4
4
|
import type { SingletonServices } from '../types/application-types.d.js';
|
|
5
5
|
import type { Services } from '../types/application-types.d.js';
|
|
6
6
|
export declare const requiredSingletonServices: {
|
|
7
7
|
readonly agentRunService: false;
|
|
8
8
|
readonly aiAgentRunner: false;
|
|
9
|
+
readonly aiEmbedding: false;
|
|
9
10
|
readonly aiRunState: false;
|
|
10
11
|
readonly aiStorage: false;
|
|
11
12
|
readonly audit: false;
|
|
@@ -27,9 +28,11 @@ export declare const requiredSingletonServices: {
|
|
|
27
28
|
readonly queueService: true;
|
|
28
29
|
readonly schedulerService: true;
|
|
29
30
|
readonly schema: true;
|
|
31
|
+
readonly scopeService: false;
|
|
30
32
|
readonly secrets: true;
|
|
31
33
|
readonly sessionStore: false;
|
|
32
34
|
readonly variables: true;
|
|
35
|
+
readonly webhookService: false;
|
|
33
36
|
readonly workflowRunService: true;
|
|
34
37
|
readonly workflowService: true;
|
|
35
38
|
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export const requiredSingletonServices = {
|
|
3
3
|
'agentRunService': false,
|
|
4
4
|
'aiAgentRunner': false,
|
|
5
|
+
'aiEmbedding': false,
|
|
5
6
|
'aiRunState': false,
|
|
6
7
|
'aiStorage': false,
|
|
7
8
|
'audit': false,
|
|
@@ -23,9 +24,11 @@ export const requiredSingletonServices = {
|
|
|
23
24
|
'queueService': true,
|
|
24
25
|
'schedulerService': true,
|
|
25
26
|
'schema': true,
|
|
27
|
+
'scopeService': false,
|
|
26
28
|
'secrets': true,
|
|
27
29
|
'sessionStore': false,
|
|
28
30
|
'variables': true,
|
|
31
|
+
'webhookService': false,
|
|
29
32
|
'workflowRunService': true,
|
|
30
33
|
'workflowService': true,
|
|
31
34
|
};
|