@pikku/cli 0.12.110 → 0.12.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +120 -0
- package/dist/.pikku/addon/index.d.ts +1 -1
- package/dist/.pikku/addon/index.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/agent/index.d.ts +1 -1
- package/dist/.pikku/agent/index.js +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/auth/index.d.ts +1 -1
- package/dist/.pikku/auth/index.js +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +9 -2
- package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/channel/index.d.ts +1 -1
- package/dist/.pikku/channel/index.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/index.d.ts +1 -1
- package/dist/.pikku/cli/index.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
- package/dist/.pikku/error/index.d.ts +1 -1
- package/dist/.pikku/error/index.js +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/function/index.d.ts +1 -1
- package/dist/.pikku/function/index.js +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +12 -2
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +2 -2
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/gateway/index.d.ts +1 -1
- package/dist/.pikku/gateway/index.js +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.js +1 -1
- package/dist/.pikku/http/index.d.ts +1 -1
- package/dist/.pikku/http/index.js +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/mcp/index.d.ts +1 -1
- package/dist/.pikku/mcp/index.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/middleware/index.d.ts +1 -1
- package/dist/.pikku/middleware/index.js +1 -1
- package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +9 -2
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/queue/index.d.ts +1 -1
- package/dist/.pikku/queue/index.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/scenarios/index.d.ts +1 -1
- package/dist/.pikku/scenarios/index.js +1 -1
- package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/scheduler/index.d.ts +1 -1
- package/dist/.pikku/scheduler/index.js +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +1 -1
- package/dist/.pikku/scopes/index.d.ts +1 -1
- package/dist/.pikku/scopes/index.js +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/secrets/index.d.ts +1 -1
- package/dist/.pikku/secrets/index.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/setup/index.d.ts +1 -1
- package/dist/.pikku/setup/index.js +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/trigger/index.d.ts +1 -1
- package/dist/.pikku/trigger/index.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/index.d.ts +1 -1
- package/dist/.pikku/variables/index.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/index.d.ts +1 -1
- package/dist/.pikku/workflow/index.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +2 -2
- package/dist/src/deploy/analyzer/analyzer.d.ts +1 -1
- package/dist/src/deploy/analyzer/index.d.ts +0 -1
- package/dist/src/deploy/build-pipeline.d.ts +2 -2
- package/dist/src/deploy/bundler/types.d.ts +1 -1
- package/dist/src/deploy/codegen/per-unit-codegen.d.ts +1 -1
- package/dist/src/deploy/plan/executor.d.ts +1 -1
- package/dist/src/deploy/plan/planner.d.ts +1 -1
- package/dist/src/deploy/plan/provider.d.ts +1 -1
- package/dist/src/deploy/server-entry.d.ts +1 -1
- package/dist/src/fabric/fabric-commands.d.ts +3 -3
- package/dist/src/fabric/functions/llm-key.function.d.ts +4 -4
- package/dist/src/functions/commands/db-generate.js +1 -1
- package/dist/src/functions/commands/deploy-apply.d.ts +1 -1
- package/dist/src/functions/commands/new-addon.js +14 -12
- package/dist/src/functions/db/better-auth-schema.js +5 -0
- package/dist/src/functions/db/local-db.d.ts +11 -3
- package/dist/src/functions/db/local-db.js +17 -8
- package/dist/src/functions/wirings/auth/serialize-auth-guards.d.ts +1 -1
- package/dist/src/functions/wirings/auth/serialize-auth-guards.js +9 -2
- package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +2 -2
- package/dist/src/functions/wirings/functions/serialize-function-types.js +11 -1
- package/dist/src/functions/wirings/middleware/serialize-middleware-types.d.ts +1 -1
- package/dist/src/functions/wirings/middleware/serialize-middleware-types.js +10 -2
- package/dist/src/utils/pikku-cli-config-error.d.ts +9 -0
- package/dist/src/utils/pikku-cli-config-error.js +9 -0
- package/dist/src/utils/pikku-cli-config.d.ts +2 -3
- package/dist/src/utils/pikku-cli-config.js +2 -3
- package/dist/src/utils/resolve-scaffold-feature.d.ts +6 -0
- package/dist/src/utils/resolve-scaffold-feature.js +22 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -7
- package/surface.json +4 -26
- package/dist/src/deploy/analyzer/manifest.d.ts +0 -170
- package/dist/src/deploy/analyzer/manifest.js +0 -8
- package/dist/src/deploy/provider-adapter.d.ts +0 -176
- package/dist/src/deploy/provider-adapter.js +0 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../bin/pikku.ts","../src/cli.wiring.ts","../src/services.ts","../src/deploy/build-pipeline.ts","../src/deploy/provider-adapter.ts","../src/deploy/server-entry.ts","../src/deploy/analyzer/analyzer.ts","../src/deploy/analyzer/index.ts","../src/deploy/analyzer/manifest.ts","../src/deploy/bundler/bun-bundler.ts","../src/deploy/bundler/bundler.interface.ts","../src/deploy/bundler/bundler.ts","../src/deploy/bundler/dep-extractor.ts","../src/deploy/bundler/index.ts","../src/deploy/bundler/node-bundler.ts","../src/deploy/bundler/types.ts","../src/deploy/codegen/index.ts","../src/deploy/codegen/per-unit-codegen.ts","../src/deploy/plan/executor.ts","../src/deploy/plan/formatter.ts","../src/deploy/plan/index.ts","../src/deploy/plan/planner.ts","../src/deploy/plan/provider.ts","../src/deploy/plan/types.ts","../src/fabric/fabric-commands.ts","../src/fabric/functions/add.function.ts","../src/fabric/functions/addon-verify.function.ts","../src/fabric/functions/db-schema.function.ts","../src/fabric/functions/deploy-list.function.ts","../src/fabric/functions/deploy-units.function.ts","../src/fabric/functions/deploy.function.ts","../src/fabric/functions/domains-add.function.ts","../src/fabric/functions/domains-list.function.ts","../src/fabric/functions/domains-remove.function.ts","../src/fabric/functions/errors.function.ts","../src/fabric/functions/init.function.ts","../src/fabric/functions/link.function.ts","../src/fabric/functions/llm-key.function.ts","../src/fabric/functions/login.function.ts","../src/fabric/functions/logs.function.ts","../src/fabric/functions/metrics.function.ts","../src/fabric/functions/publish.function.ts","../src/fabric/functions/rollback.function.ts","../src/fabric/functions/secrets-list.function.ts","../src/fabric/functions/secrets-rotate.function.ts","../src/fabric/functions/secrets-set.function.ts","../src/fabric/functions/smoke.function.ts","../src/fabric/functions/status.function.ts","../src/fabric/functions/trace.function.ts","../src/fabric/functions/validate.function.ts","../src/fabric/lib/config.ts","../src/fabric/lib/console-url.ts","../src/fabric/lib/frontend-typecheck.ts","../src/fabric/lib/git.ts","../src/fabric/lib/http.ts","../src/fabric/lib/not-implemented.ts","../src/fabric/lib/output.ts","../src/fabric/lib/prompt.ts","../src/fabric/lib/sealed-box.ts","../src/fabric/lib/stage.ts","../src/fabric/sdk/http-map.gen.d.ts","../src/fabric/sdk/pikku-fetch.gen.ts","../src/fabric/sdk/pikku-rpc.gen.ts","../src/fabric/sdk/rpc-map.gen.d.ts","../src/functions/commands/all.ts","../src/functions/commands/audit.ts","../src/functions/commands/binary.ts","../src/functions/commands/bootstrap.ts","../src/functions/commands/bun-coverage-loader.ts","../src/functions/commands/db-audit.ts","../src/functions/commands/db-baseline.ts","../src/functions/commands/db-check.ts","../src/functions/commands/db-codegen.ts","../src/functions/commands/db-export.ts","../src/functions/commands/db-generate.ts","../src/functions/commands/db-migrate.ts","../src/functions/commands/db-reset.ts","../src/functions/commands/db-shared.ts","../src/functions/commands/deploy-apply.ts","../src/functions/commands/deploy-info.ts","../src/functions/commands/deploy-plan.ts","../src/functions/commands/dev-agent-runner.ts","../src/functions/commands/dev.ts","../src/functions/commands/emails-init.ts","../src/functions/commands/enable.ts","../src/functions/commands/environment.ts","../src/functions/commands/import-n8n.ts","../src/functions/commands/info.ts","../src/functions/commands/knowledge-index.ts","../src/functions/commands/knowledge-validate.ts","../src/functions/commands/load-user-project.ts","../src/functions/commands/login.ts","../src/functions/commands/meta.ts","../src/functions/commands/new-addon.ts","../src/functions/commands/new-function.ts","../src/functions/commands/new-middleware.ts","../src/functions/commands/new-permission.ts","../src/functions/commands/new-wiring.ts","../src/functions/commands/persona-sync.ts","../src/functions/commands/persona.ts","../src/functions/commands/pikku-command-bootstrap.ts","../src/functions/commands/pikku-command-summary.ts","../src/functions/commands/roles-audit.ts","../src/functions/commands/roles-prune.ts","../src/functions/commands/roles-shared.ts","../src/functions/commands/scenario-browser.ts","../src/functions/commands/scenario-formatter.ts","../src/functions/commands/scenario-ladder.ts","../src/functions/commands/scenario-plan.ts","../src/functions/commands/scenario.ts","../src/functions/commands/scopes-audit.ts","../src/functions/commands/scopes-prune.ts","../src/functions/commands/scopes-shared.ts","../src/functions/commands/semver-render.ts","../src/functions/commands/semver.ts","../src/functions/commands/serve-console.ts","../src/functions/commands/serve.ts","../src/functions/commands/skills.ts","../src/functions/commands/start-coverage.ts","../src/functions/commands/update-render.ts","../src/functions/commands/update.ts","../src/functions/commands/validate.ts","../src/functions/commands/versions-check.ts","../src/functions/commands/versions-init.ts","../src/functions/commands/versions-update.ts","../src/functions/commands/virtual-user-formatter.ts","../src/functions/commands/watch.ts","../src/functions/db/annotation-parser.ts","../src/functions/db/better-auth-schema.ts","../src/functions/db/db-codegen.ts","../src/functions/db/db-introspector.ts","../src/functions/db/db-migrator.ts","../src/functions/db/local-db.ts","../src/functions/db/migration-identifiers.ts","../src/functions/db/migration-provenance.ts","../src/functions/db/schema-sql.ts","../src/functions/db/zod-codegen.ts","../src/functions/db/postgres/pglite-kysely.ts","../src/functions/db/postgres/postgres-introspector.ts","../src/functions/db/postgres/postgres-migrator.ts","../src/functions/db/sqlite/dev-seed.ts","../src/functions/db/sqlite/sqlite-introspector.ts","../src/functions/db/sqlite/sqlite-kysely.ts","../src/functions/db/sqlite/sqlite-migrator.ts","../src/functions/db/sqlite/sqlite-runtime-bun.ts","../src/functions/db/sqlite/sqlite-runtime-node.ts","../src/functions/db/sqlite/sqlite-runtime.ts","../src/functions/knowledge/render.ts","../src/functions/knowledge/schemas.ts","../src/functions/runtimes/fetch/index.ts","../src/functions/runtimes/nextjs/pikku-command-nextjs.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-worker-rpc-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.ts","../src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.ts","../src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.ts","../src/functions/runtimes/websocket/pikku-command-websocket-typed.ts","../src/functions/runtimes/websocket/serialize-websocket-wrapper.ts","../src/functions/surface/build-surface-doc.ts","../src/functions/surface/collect-surface-usage.ts","../src/functions/surface/collect-surface.ts","../src/functions/surface/generate-surface-doc.ts","../src/functions/surface/shipped-surface-doc.ts","../src/functions/surface/surface-doc.types.ts","../src/functions/surface/surface-editorial.ts","../src/functions/surface/write-surface-usage.ts","../src/functions/validate/addon-package-checks.ts","../src/functions/validate/bootstrap-checks.ts","../src/functions/validate/persona-checks.ts","../src/functions/validate/pikku-barrel-checks.ts","../src/functions/validate/scenario-file-checks.ts","../src/functions/validate/shared-checks.ts","../src/functions/validate/type-identity-checks.ts","../src/functions/validate/validate-registry.ts","../src/functions/validate/validate.ts","../src/functions/validate/workspace-exports-checks.ts","../src/functions/wirings/agent/pikku-command-agent-types.ts","../src/functions/wirings/agent/pikku-command-agent.ts","../src/functions/wirings/agent/pikku-command-public-agent.ts","../src/functions/wirings/agent/serialize-agent-map.ts","../src/functions/wirings/agent/serialize-agent-types.ts","../src/functions/wirings/agent/serialize-model-aliases.ts","../src/functions/wirings/agent/serialize-public-agent.ts","../src/functions/wirings/agent-scorer/pikku-command-agent-scorer.ts","../src/functions/wirings/agent-scorer/serialize-scorer-names.ts","../src/functions/wirings/auth/pikku-command-auth.ts","../src/functions/wirings/auth/serialize-auth-gen.ts","../src/functions/wirings/auth/serialize-auth-guards.ts","../src/functions/wirings/auth/serialize-auth-meta.ts","../src/functions/wirings/auth/serialize-auth-types.ts","../src/functions/wirings/channels/pikku-channels.ts","../src/functions/wirings/channels/pikku-command-channel-types.ts","../src/functions/wirings/channels/pikku-command-channels-map.ts","../src/functions/wirings/channels/pikku-command-channels.ts","../src/functions/wirings/channels/serialize-channel-types.ts","../src/functions/wirings/channels/serialize-typed-channel-map.ts","../src/functions/wirings/cli/pikku-command-cli-entry.ts","../src/functions/wirings/cli/pikku-command-cli-types.ts","../src/functions/wirings/cli/pikku-command-cli.ts","../src/functions/wirings/cli/serialize-channel-cli-client.ts","../src/functions/wirings/cli/serialize-channel-cli.ts","../src/functions/wirings/cli/serialize-cli-entrypoint-guard.ts","../src/functions/wirings/cli/serialize-cli-types.ts","../src/functions/wirings/cli/serialize-local-cli-bootstrap.ts","../src/functions/wirings/console/pikku-command-console-functions.ts","../src/functions/wirings/console/pikku-command-nodes-meta.ts","../src/functions/wirings/console/serialize-console-functions.ts","../src/functions/wirings/credentials/pikku-command-credentials.ts","../src/functions/wirings/credentials/serialize-credentials-types.ts","../src/functions/wirings/emails/pikku-command-emails.ts","../src/functions/wirings/emails/serialize-emails.ts","../src/functions/wirings/errors/pikku-command-error-types.ts","../src/functions/wirings/errors/serialize-error-types.ts","../src/functions/wirings/functions/pikku-command-addon-types.ts","../src/functions/wirings/functions/pikku-command-function-types-split.ts","../src/functions/wirings/functions/pikku-command-functions.ts","../src/functions/wirings/functions/pikku-command-leaf-indexes.ts","../src/functions/wirings/functions/pikku-command-services.ts","../src/functions/wirings/functions/schemas.ts","../src/functions/wirings/functions/serialize-addon-refs.ts","../src/functions/wirings/functions/serialize-addon-types.ts","../src/functions/wirings/functions/serialize-function-imports.ts","../src/functions/wirings/functions/serialize-function-types.ts","../src/functions/wirings/functions/serialize-leaf-index.ts","../src/functions/wirings/gateway/pikku-command-gateway-types.ts","../src/functions/wirings/gateway/pikku-command-gateway.ts","../src/functions/wirings/gateway/serialize-gateway-meta.ts","../src/functions/wirings/gateway/serialize-gateway-types.ts","../src/functions/wirings/graph/pikku-command-graph-wirings.ts","../src/functions/wirings/graph/serialize-graph-wirings.ts","../src/functions/wirings/http/pikku-command-http-map.ts","../src/functions/wirings/http/pikku-command-http-routes.ts","../src/functions/wirings/http/pikku-command-http-types.ts","../src/functions/wirings/http/pikku-command-openapi.ts","../src/functions/wirings/http/pikku-http-routes.ts","../src/functions/wirings/http/serialize-fetch-wrapper.ts","../src/functions/wirings/http/serialize-http-types.ts","../src/functions/wirings/http/serialize-typed-http-map.ts","../src/functions/wirings/mcp/pikku-command-mcp-json.ts","../src/functions/wirings/mcp/pikku-command-mcp-types.ts","../src/functions/wirings/mcp/pikku-command-mcp.ts","../src/functions/wirings/mcp/serialize-mcp-types.ts","../src/functions/wirings/middleware/pikku-command-middleware.ts","../src/functions/wirings/middleware/serialize-middleware-imports.ts","../src/functions/wirings/middleware/serialize-middleware-types.ts","../src/functions/wirings/package/pikku-command-package-types.ts","../src/functions/wirings/package/pikku-command-package.ts","../src/functions/wirings/package/serialize-package-types.ts","../src/functions/wirings/package/serialize-package.ts","../src/functions/wirings/permissions/pikku-command-permissions.ts","../src/functions/wirings/permissions/serialize-permissions-imports.ts","../src/functions/wirings/personas/personas-secrets-file.ts","../src/functions/wirings/personas/pikku-command-personas.ts","../src/functions/wirings/personas/serialize-personas-secrets.ts","../src/functions/wirings/personas/serialize-personas-types.ts","../src/functions/wirings/queue/pikku-command-queue-map.ts","../src/functions/wirings/queue/pikku-command-queue-service.ts","../src/functions/wirings/queue/pikku-command-queue-types.ts","../src/functions/wirings/queue/pikku-command-queue.ts","../src/functions/wirings/queue/pikku-queue-map.ts","../src/functions/wirings/queue/pikku-queue.ts","../src/functions/wirings/queue/serialize-queue-map.ts","../src/functions/wirings/queue/serialize-queue-meta.ts","../src/functions/wirings/queue/serialize-queue-types.ts","../src/functions/wirings/queue/serialize-queue-wrapper.ts","../src/functions/wirings/realtime/pikku-command-events-scaffold.ts","../src/functions/wirings/realtime/pikku-command-realtime.ts","../src/functions/wirings/realtime/serialize-events-scaffold.ts","../src/functions/wirings/realtime/serialize-realtime-client.ts","../src/functions/wirings/roles/pikku-command-roles.ts","../src/functions/wirings/roles/serialize-roles-types.ts","../src/functions/wirings/rpc/pikku-command-public-rpc.ts","../src/functions/wirings/rpc/pikku-command-react-query.ts","../src/functions/wirings/rpc/pikku-command-remote-rpc.ts","../src/functions/wirings/rpc/pikku-command-rpc-client.ts","../src/functions/wirings/rpc/pikku-command-rpc-map.ts","../src/functions/wirings/rpc/pikku-command-rpc.ts","../src/functions/wirings/rpc/serialize-public-rpc.ts","../src/functions/wirings/rpc/serialize-react-query-hooks.ts","../src/functions/wirings/rpc/serialize-remote-rpc.ts","../src/functions/wirings/rpc/serialize-rpc-wrapper.ts","../src/functions/wirings/rpc/serialize-typed-rpc-map.ts","../src/functions/wirings/scenarios/register-scenario-instrumentation.ts","../src/functions/wirings/scenarios/scenario-partition.ts","../src/functions/wirings/scenarios/scenario-schema-partition.ts","../src/functions/wirings/scenarios/serialize-feature-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-registration.ts","../src/functions/wirings/scheduler/pikku-command-scheduler-types.ts","../src/functions/wirings/scheduler/pikku-command-scheduler.ts","../src/functions/wirings/scheduler/serialize-scheduler-meta.ts","../src/functions/wirings/scheduler/serialize-scheduler-types.ts","../src/functions/wirings/scopes/pikku-command-scopes.ts","../src/functions/wirings/scopes/serialize-scopes-client.ts","../src/functions/wirings/scopes/serialize-scopes-types.ts","../src/functions/wirings/secrets/pikku-command-secrets.ts","../src/functions/wirings/secrets/serialize-secrets-types.ts","../src/functions/wirings/setup/serialize-setup-types.ts","../src/functions/wirings/triggers/pikku-command-trigger-types.ts","../src/functions/wirings/triggers/pikku-command-trigger.ts","../src/functions/wirings/triggers/serialize-trigger-meta.ts","../src/functions/wirings/triggers/serialize-trigger-types.ts","../src/functions/wirings/user-admin/pikku-command-user-admin-functions.ts","../src/functions/wirings/user-admin/serialize-user-admin-functions.ts","../src/functions/wirings/variables/pikku-command-variables.ts","../src/functions/wirings/variables/serialize-variables-types.ts","../src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.ts","../src/functions/wirings/virtual-user/serialize-virtual-user-functions.ts","../src/functions/wirings/webhook/pikku-command-webhook.ts","../src/functions/wirings/webhook/serialize-webhook.ts","../src/functions/wirings/workflow/pikku-command-workflow-routes.ts","../src/functions/wirings/workflow/pikku-command-workflow.ts","../src/functions/wirings/workflow/serialize-personas.ts","../src/functions/wirings/workflow/serialize-scenario-step-map.ts","../src/functions/wirings/workflow/serialize-scenario-types.ts","../src/functions/wirings/workflow/serialize-workflow-bootstrap-map.ts","../src/functions/wirings/workflow/serialize-workflow-map.ts","../src/functions/wirings/workflow/serialize-workflow-meta.ts","../src/functions/wirings/workflow/serialize-workflow-registration.ts","../src/functions/wirings/workflow/serialize-workflow-routes.ts","../src/functions/wirings/workflow/serialize-workflow-types.ts","../src/functions/workflows/all.workflow.ts","../src/middleware/log-command-info-and-time.ts","../src/server/bun-server-runner.ts","../src/server/content-signing-jwt.ts","../src/server/dev-server-runner.interface.ts","../src/server/node-server-runner.ts","../src/server/server-ready.ts","../src/server/spawn-dev-server.ts","../src/services/cli-logger-forwarder.service.ts","../src/services/cli-logger.service.ts","../src/utils/assert-single-core-version.ts","../src/utils/check-required-types.ts","../src/utils/cli-session.ts","../src/utils/command-summary.ts","../src/utils/contract-versions.ts","../src/utils/detect-better-auth.ts","../src/utils/device-auth.ts","../src/utils/file-import-path.ts","../src/utils/file-imports-serializer.ts","../src/utils/file-writer.ts","../src/utils/generate-bootstrap-file.ts","../src/utils/get-cli-version.ts","../src/utils/is-deploy-codegen.ts","../src/utils/leaf-import-path.ts","../src/utils/meta-diff.ts","../src/utils/model-alias-override.ts","../src/utils/parse-cli-filters.ts","../src/utils/pikku-cli-config.ts","../src/utils/pikku-files-and-methods.ts","../src/utils/precise-coverage-map.ts","../src/utils/remove-legacy-scaffold-file.ts","../src/utils/resolve-personas.ts","../src/utils/resolve-scaffold-feature.ts","../src/utils/schema-diff.ts","../src/utils/serialize-import-map.ts","../src/utils/serialize-meta-ts.ts","../src/utils/serialize-schemas.ts","../src/utils/strip-verbose-meta.ts","../src/utils/surface-diff.ts","../src/utils/surface.ts","../src/utils/tsc-check.ts","../.pikku/pikku-bootstrap-scenarios.gen.ts","../.pikku/pikku-bootstrap.gen.ts","../.pikku/pikku-services.gen.ts","../.pikku/addon/index.ts","../.pikku/addon/pikku-addon-types.gen.ts","../.pikku/agent/index.ts","../.pikku/agent/pikku-agent-map.gen.d.ts","../.pikku/agent/pikku-agent-types.gen.ts","../.pikku/agent/pikku-model-aliases.gen.ts","../.pikku/agent/pikku-scorer-names.gen.d.ts","../.pikku/auth/auth.types.ts","../.pikku/auth/index.ts","../.pikku/auth/pikku-auth-types.gen.ts","../.pikku/channel/index.ts","../.pikku/channel/pikku-channel-types.gen.ts","../.pikku/cli/index.ts","../.pikku/cli/pikku-cli-channel.ts","../.pikku/cli/pikku-cli-client.gen.ts","../.pikku/cli/pikku-cli-contracts-meta.gen.ts","../.pikku/cli/pikku-cli-types.gen.ts","../.pikku/cli/pikku-cli-wirings-meta.gen.ts","../.pikku/cli/pikku-cli-wirings.gen.ts","../.pikku/cli/pikku-cli.gen.ts","../.pikku/error/index.ts","../.pikku/error/pikku-error-types.gen.ts","../.pikku/function/index.ts","../.pikku/function/pikku-function-types.gen.ts","../.pikku/function/pikku-functions-meta.gen.ts","../.pikku/function/pikku-functions.gen.ts","../.pikku/gateway/index.ts","../.pikku/gateway/pikku-gateway-types.gen.ts","../.pikku/http/index.ts","../.pikku/http/pikku-http-types.gen.ts","../.pikku/mcp/index.ts","../.pikku/mcp/pikku-mcp-types.gen.ts","../.pikku/middleware/index.ts","../.pikku/middleware/pikku-middleware-types.gen.ts","../.pikku/node/pikku-node-types.gen.ts","../.pikku/queue/index.ts","../.pikku/queue/pikku-queue-types.gen.ts","../.pikku/queue/pikku-queue-workers-wirings-map.gen.d.ts","../.pikku/queue/pikku-queue-workers-wirings-meta.gen.ts","../.pikku/queue/pikku-queue-workers-wirings.gen.ts","../.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts","../.pikku/scenarios/index.ts","../.pikku/scenarios/pikku-personas.gen.ts","../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts","../.pikku/scenarios/pikku-scenario-functions.gen.ts","../.pikku/scenarios/pikku-scenario-types.gen.ts","../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts","../.pikku/scenarios/pikku-scenario-wirings.gen.ts","../.pikku/scenarios/schemas/register.gen.ts","../.pikku/scheduler/index.ts","../.pikku/scheduler/pikku-scheduler-types.gen.ts","../.pikku/schemas/register.gen.ts","../.pikku/scopes/index.ts","../.pikku/scopes/pikku-personas.gen.ts","../.pikku/scopes/pikku-roles.gen.ts","../.pikku/scopes/pikku-scope-types.gen.ts","../.pikku/scopes/pikku-scopes.gen.ts","../.pikku/secrets/index.ts","../.pikku/secrets/pikku-secret-types.gen.ts","../.pikku/secrets/pikku-secrets.gen.ts","../.pikku/services/pikku-meta-service.gen.ts","../.pikku/setup/index.ts","../.pikku/setup/pikku-setup-types.gen.ts","../.pikku/trigger/index.ts","../.pikku/trigger/pikku-trigger-types.gen.ts","../.pikku/variables/index.ts","../.pikku/variables/pikku-variable-types.gen.ts","../.pikku/variables/pikku-variables.gen.ts","../.pikku/workflow/index.ts","../.pikku/workflow/pikku-scenario-step-map.gen.d.ts","../.pikku/workflow/pikku-workflow-map.gen.d.ts","../.pikku/workflow/pikku-workflow-types.gen.ts","../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts","../.pikku/workflow/pikku-workflow-wirings.gen.ts","../types/application-types.d.ts","../types/bun-sqlite.d.ts","../types/config.d.ts"],"version":"6.0.3"}
|
|
1
|
+
{"root":["../bin/pikku.ts","../src/cli.wiring.ts","../src/services.ts","../src/deploy/build-pipeline.ts","../src/deploy/server-entry.ts","../src/deploy/analyzer/analyzer.ts","../src/deploy/analyzer/index.ts","../src/deploy/bundler/bun-bundler.ts","../src/deploy/bundler/bundler.interface.ts","../src/deploy/bundler/bundler.ts","../src/deploy/bundler/dep-extractor.ts","../src/deploy/bundler/index.ts","../src/deploy/bundler/node-bundler.ts","../src/deploy/bundler/types.ts","../src/deploy/codegen/index.ts","../src/deploy/codegen/per-unit-codegen.ts","../src/deploy/plan/executor.ts","../src/deploy/plan/formatter.ts","../src/deploy/plan/index.ts","../src/deploy/plan/planner.ts","../src/deploy/plan/provider.ts","../src/deploy/plan/types.ts","../src/fabric/fabric-commands.ts","../src/fabric/functions/add.function.ts","../src/fabric/functions/addon-verify.function.ts","../src/fabric/functions/db-schema.function.ts","../src/fabric/functions/deploy-list.function.ts","../src/fabric/functions/deploy-units.function.ts","../src/fabric/functions/deploy.function.ts","../src/fabric/functions/domains-add.function.ts","../src/fabric/functions/domains-list.function.ts","../src/fabric/functions/domains-remove.function.ts","../src/fabric/functions/errors.function.ts","../src/fabric/functions/init.function.ts","../src/fabric/functions/link.function.ts","../src/fabric/functions/llm-key.function.ts","../src/fabric/functions/login.function.ts","../src/fabric/functions/logs.function.ts","../src/fabric/functions/metrics.function.ts","../src/fabric/functions/publish.function.ts","../src/fabric/functions/rollback.function.ts","../src/fabric/functions/secrets-list.function.ts","../src/fabric/functions/secrets-rotate.function.ts","../src/fabric/functions/secrets-set.function.ts","../src/fabric/functions/smoke.function.ts","../src/fabric/functions/status.function.ts","../src/fabric/functions/trace.function.ts","../src/fabric/functions/validate.function.ts","../src/fabric/lib/config.ts","../src/fabric/lib/console-url.ts","../src/fabric/lib/frontend-typecheck.ts","../src/fabric/lib/git.ts","../src/fabric/lib/http.ts","../src/fabric/lib/not-implemented.ts","../src/fabric/lib/output.ts","../src/fabric/lib/prompt.ts","../src/fabric/lib/sealed-box.ts","../src/fabric/lib/stage.ts","../src/fabric/sdk/http-map.gen.d.ts","../src/fabric/sdk/pikku-fetch.gen.ts","../src/fabric/sdk/pikku-rpc.gen.ts","../src/fabric/sdk/rpc-map.gen.d.ts","../src/functions/commands/all.ts","../src/functions/commands/audit.ts","../src/functions/commands/binary.ts","../src/functions/commands/bootstrap.ts","../src/functions/commands/bun-coverage-loader.ts","../src/functions/commands/db-audit.ts","../src/functions/commands/db-baseline.ts","../src/functions/commands/db-check.ts","../src/functions/commands/db-codegen.ts","../src/functions/commands/db-export.ts","../src/functions/commands/db-generate.ts","../src/functions/commands/db-migrate.ts","../src/functions/commands/db-reset.ts","../src/functions/commands/db-shared.ts","../src/functions/commands/deploy-apply.ts","../src/functions/commands/deploy-info.ts","../src/functions/commands/deploy-plan.ts","../src/functions/commands/dev-agent-runner.ts","../src/functions/commands/dev.ts","../src/functions/commands/emails-init.ts","../src/functions/commands/enable.ts","../src/functions/commands/environment.ts","../src/functions/commands/import-n8n.ts","../src/functions/commands/info.ts","../src/functions/commands/knowledge-index.ts","../src/functions/commands/knowledge-validate.ts","../src/functions/commands/load-user-project.ts","../src/functions/commands/login.ts","../src/functions/commands/meta.ts","../src/functions/commands/new-addon.ts","../src/functions/commands/new-function.ts","../src/functions/commands/new-middleware.ts","../src/functions/commands/new-permission.ts","../src/functions/commands/new-wiring.ts","../src/functions/commands/persona-sync.ts","../src/functions/commands/persona.ts","../src/functions/commands/pikku-command-bootstrap.ts","../src/functions/commands/pikku-command-summary.ts","../src/functions/commands/roles-audit.ts","../src/functions/commands/roles-prune.ts","../src/functions/commands/roles-shared.ts","../src/functions/commands/scenario-browser.ts","../src/functions/commands/scenario-formatter.ts","../src/functions/commands/scenario-ladder.ts","../src/functions/commands/scenario-plan.ts","../src/functions/commands/scenario.ts","../src/functions/commands/scopes-audit.ts","../src/functions/commands/scopes-prune.ts","../src/functions/commands/scopes-shared.ts","../src/functions/commands/semver-render.ts","../src/functions/commands/semver.ts","../src/functions/commands/serve-console.ts","../src/functions/commands/serve.ts","../src/functions/commands/skills.ts","../src/functions/commands/start-coverage.ts","../src/functions/commands/update-render.ts","../src/functions/commands/update.ts","../src/functions/commands/validate.ts","../src/functions/commands/versions-check.ts","../src/functions/commands/versions-init.ts","../src/functions/commands/versions-update.ts","../src/functions/commands/virtual-user-formatter.ts","../src/functions/commands/watch.ts","../src/functions/db/annotation-parser.ts","../src/functions/db/better-auth-schema.ts","../src/functions/db/db-codegen.ts","../src/functions/db/db-introspector.ts","../src/functions/db/db-migrator.ts","../src/functions/db/local-db.ts","../src/functions/db/migration-identifiers.ts","../src/functions/db/migration-provenance.ts","../src/functions/db/schema-sql.ts","../src/functions/db/zod-codegen.ts","../src/functions/db/postgres/pglite-kysely.ts","../src/functions/db/postgres/postgres-introspector.ts","../src/functions/db/postgres/postgres-migrator.ts","../src/functions/db/sqlite/dev-seed.ts","../src/functions/db/sqlite/sqlite-introspector.ts","../src/functions/db/sqlite/sqlite-kysely.ts","../src/functions/db/sqlite/sqlite-migrator.ts","../src/functions/db/sqlite/sqlite-runtime-bun.ts","../src/functions/db/sqlite/sqlite-runtime-node.ts","../src/functions/db/sqlite/sqlite-runtime.ts","../src/functions/knowledge/render.ts","../src/functions/knowledge/schemas.ts","../src/functions/runtimes/fetch/index.ts","../src/functions/runtimes/nextjs/pikku-command-nextjs.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-worker-rpc-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-backend-wrapper.ts","../src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.ts","../src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.ts","../src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.ts","../src/functions/runtimes/websocket/pikku-command-websocket-typed.ts","../src/functions/runtimes/websocket/serialize-websocket-wrapper.ts","../src/functions/surface/build-surface-doc.ts","../src/functions/surface/collect-surface-usage.ts","../src/functions/surface/collect-surface.ts","../src/functions/surface/generate-surface-doc.ts","../src/functions/surface/shipped-surface-doc.ts","../src/functions/surface/surface-doc.types.ts","../src/functions/surface/surface-editorial.ts","../src/functions/surface/write-surface-usage.ts","../src/functions/validate/addon-package-checks.ts","../src/functions/validate/bootstrap-checks.ts","../src/functions/validate/persona-checks.ts","../src/functions/validate/pikku-barrel-checks.ts","../src/functions/validate/scenario-file-checks.ts","../src/functions/validate/shared-checks.ts","../src/functions/validate/type-identity-checks.ts","../src/functions/validate/validate-registry.ts","../src/functions/validate/validate.ts","../src/functions/validate/workspace-exports-checks.ts","../src/functions/wirings/agent/pikku-command-agent-types.ts","../src/functions/wirings/agent/pikku-command-agent.ts","../src/functions/wirings/agent/pikku-command-public-agent.ts","../src/functions/wirings/agent/serialize-agent-map.ts","../src/functions/wirings/agent/serialize-agent-types.ts","../src/functions/wirings/agent/serialize-model-aliases.ts","../src/functions/wirings/agent/serialize-public-agent.ts","../src/functions/wirings/agent-scorer/pikku-command-agent-scorer.ts","../src/functions/wirings/agent-scorer/serialize-scorer-names.ts","../src/functions/wirings/auth/pikku-command-auth.ts","../src/functions/wirings/auth/serialize-auth-gen.ts","../src/functions/wirings/auth/serialize-auth-guards.ts","../src/functions/wirings/auth/serialize-auth-meta.ts","../src/functions/wirings/auth/serialize-auth-types.ts","../src/functions/wirings/channels/pikku-channels.ts","../src/functions/wirings/channels/pikku-command-channel-types.ts","../src/functions/wirings/channels/pikku-command-channels-map.ts","../src/functions/wirings/channels/pikku-command-channels.ts","../src/functions/wirings/channels/serialize-channel-types.ts","../src/functions/wirings/channels/serialize-typed-channel-map.ts","../src/functions/wirings/cli/pikku-command-cli-entry.ts","../src/functions/wirings/cli/pikku-command-cli-types.ts","../src/functions/wirings/cli/pikku-command-cli.ts","../src/functions/wirings/cli/serialize-channel-cli-client.ts","../src/functions/wirings/cli/serialize-channel-cli.ts","../src/functions/wirings/cli/serialize-cli-entrypoint-guard.ts","../src/functions/wirings/cli/serialize-cli-types.ts","../src/functions/wirings/cli/serialize-local-cli-bootstrap.ts","../src/functions/wirings/console/pikku-command-console-functions.ts","../src/functions/wirings/console/pikku-command-nodes-meta.ts","../src/functions/wirings/console/serialize-console-functions.ts","../src/functions/wirings/credentials/pikku-command-credentials.ts","../src/functions/wirings/credentials/serialize-credentials-types.ts","../src/functions/wirings/emails/pikku-command-emails.ts","../src/functions/wirings/emails/serialize-emails.ts","../src/functions/wirings/errors/pikku-command-error-types.ts","../src/functions/wirings/errors/serialize-error-types.ts","../src/functions/wirings/functions/pikku-command-addon-types.ts","../src/functions/wirings/functions/pikku-command-function-types-split.ts","../src/functions/wirings/functions/pikku-command-functions.ts","../src/functions/wirings/functions/pikku-command-leaf-indexes.ts","../src/functions/wirings/functions/pikku-command-services.ts","../src/functions/wirings/functions/schemas.ts","../src/functions/wirings/functions/serialize-addon-refs.ts","../src/functions/wirings/functions/serialize-addon-types.ts","../src/functions/wirings/functions/serialize-function-imports.ts","../src/functions/wirings/functions/serialize-function-types.ts","../src/functions/wirings/functions/serialize-leaf-index.ts","../src/functions/wirings/gateway/pikku-command-gateway-types.ts","../src/functions/wirings/gateway/pikku-command-gateway.ts","../src/functions/wirings/gateway/serialize-gateway-meta.ts","../src/functions/wirings/gateway/serialize-gateway-types.ts","../src/functions/wirings/graph/pikku-command-graph-wirings.ts","../src/functions/wirings/graph/serialize-graph-wirings.ts","../src/functions/wirings/http/pikku-command-http-map.ts","../src/functions/wirings/http/pikku-command-http-routes.ts","../src/functions/wirings/http/pikku-command-http-types.ts","../src/functions/wirings/http/pikku-command-openapi.ts","../src/functions/wirings/http/pikku-http-routes.ts","../src/functions/wirings/http/serialize-fetch-wrapper.ts","../src/functions/wirings/http/serialize-http-types.ts","../src/functions/wirings/http/serialize-typed-http-map.ts","../src/functions/wirings/mcp/pikku-command-mcp-json.ts","../src/functions/wirings/mcp/pikku-command-mcp-types.ts","../src/functions/wirings/mcp/pikku-command-mcp.ts","../src/functions/wirings/mcp/serialize-mcp-types.ts","../src/functions/wirings/middleware/pikku-command-middleware.ts","../src/functions/wirings/middleware/serialize-middleware-imports.ts","../src/functions/wirings/middleware/serialize-middleware-types.ts","../src/functions/wirings/package/pikku-command-package-types.ts","../src/functions/wirings/package/pikku-command-package.ts","../src/functions/wirings/package/serialize-package-types.ts","../src/functions/wirings/package/serialize-package.ts","../src/functions/wirings/permissions/pikku-command-permissions.ts","../src/functions/wirings/permissions/serialize-permissions-imports.ts","../src/functions/wirings/personas/personas-secrets-file.ts","../src/functions/wirings/personas/pikku-command-personas.ts","../src/functions/wirings/personas/serialize-personas-secrets.ts","../src/functions/wirings/personas/serialize-personas-types.ts","../src/functions/wirings/queue/pikku-command-queue-map.ts","../src/functions/wirings/queue/pikku-command-queue-service.ts","../src/functions/wirings/queue/pikku-command-queue-types.ts","../src/functions/wirings/queue/pikku-command-queue.ts","../src/functions/wirings/queue/pikku-queue-map.ts","../src/functions/wirings/queue/pikku-queue.ts","../src/functions/wirings/queue/serialize-queue-map.ts","../src/functions/wirings/queue/serialize-queue-meta.ts","../src/functions/wirings/queue/serialize-queue-types.ts","../src/functions/wirings/queue/serialize-queue-wrapper.ts","../src/functions/wirings/realtime/pikku-command-events-scaffold.ts","../src/functions/wirings/realtime/pikku-command-realtime.ts","../src/functions/wirings/realtime/serialize-events-scaffold.ts","../src/functions/wirings/realtime/serialize-realtime-client.ts","../src/functions/wirings/roles/pikku-command-roles.ts","../src/functions/wirings/roles/serialize-roles-types.ts","../src/functions/wirings/rpc/pikku-command-public-rpc.ts","../src/functions/wirings/rpc/pikku-command-react-query.ts","../src/functions/wirings/rpc/pikku-command-remote-rpc.ts","../src/functions/wirings/rpc/pikku-command-rpc-client.ts","../src/functions/wirings/rpc/pikku-command-rpc-map.ts","../src/functions/wirings/rpc/pikku-command-rpc.ts","../src/functions/wirings/rpc/serialize-public-rpc.ts","../src/functions/wirings/rpc/serialize-react-query-hooks.ts","../src/functions/wirings/rpc/serialize-remote-rpc.ts","../src/functions/wirings/rpc/serialize-rpc-wrapper.ts","../src/functions/wirings/rpc/serialize-typed-rpc-map.ts","../src/functions/wirings/scenarios/register-scenario-instrumentation.ts","../src/functions/wirings/scenarios/scenario-partition.ts","../src/functions/wirings/scenarios/scenario-schema-partition.ts","../src/functions/wirings/scenarios/serialize-feature-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-meta.ts","../src/functions/wirings/scenarios/serialize-scenario-registration.ts","../src/functions/wirings/scheduler/pikku-command-scheduler-types.ts","../src/functions/wirings/scheduler/pikku-command-scheduler.ts","../src/functions/wirings/scheduler/serialize-scheduler-meta.ts","../src/functions/wirings/scheduler/serialize-scheduler-types.ts","../src/functions/wirings/scopes/pikku-command-scopes.ts","../src/functions/wirings/scopes/serialize-scopes-client.ts","../src/functions/wirings/scopes/serialize-scopes-types.ts","../src/functions/wirings/secrets/pikku-command-secrets.ts","../src/functions/wirings/secrets/serialize-secrets-types.ts","../src/functions/wirings/setup/serialize-setup-types.ts","../src/functions/wirings/triggers/pikku-command-trigger-types.ts","../src/functions/wirings/triggers/pikku-command-trigger.ts","../src/functions/wirings/triggers/serialize-trigger-meta.ts","../src/functions/wirings/triggers/serialize-trigger-types.ts","../src/functions/wirings/user-admin/pikku-command-user-admin-functions.ts","../src/functions/wirings/user-admin/serialize-user-admin-functions.ts","../src/functions/wirings/variables/pikku-command-variables.ts","../src/functions/wirings/variables/serialize-variables-types.ts","../src/functions/wirings/virtual-user/pikku-command-virtual-user-functions.ts","../src/functions/wirings/virtual-user/serialize-virtual-user-functions.ts","../src/functions/wirings/webhook/pikku-command-webhook.ts","../src/functions/wirings/webhook/serialize-webhook.ts","../src/functions/wirings/workflow/pikku-command-workflow-routes.ts","../src/functions/wirings/workflow/pikku-command-workflow.ts","../src/functions/wirings/workflow/serialize-personas.ts","../src/functions/wirings/workflow/serialize-scenario-step-map.ts","../src/functions/wirings/workflow/serialize-scenario-types.ts","../src/functions/wirings/workflow/serialize-workflow-bootstrap-map.ts","../src/functions/wirings/workflow/serialize-workflow-map.ts","../src/functions/wirings/workflow/serialize-workflow-meta.ts","../src/functions/wirings/workflow/serialize-workflow-registration.ts","../src/functions/wirings/workflow/serialize-workflow-routes.ts","../src/functions/wirings/workflow/serialize-workflow-types.ts","../src/functions/workflows/all.workflow.ts","../src/middleware/log-command-info-and-time.ts","../src/server/bun-server-runner.ts","../src/server/content-signing-jwt.ts","../src/server/dev-server-runner.interface.ts","../src/server/node-server-runner.ts","../src/server/server-ready.ts","../src/server/spawn-dev-server.ts","../src/services/cli-logger-forwarder.service.ts","../src/services/cli-logger.service.ts","../src/utils/assert-single-core-version.ts","../src/utils/check-required-types.ts","../src/utils/cli-session.ts","../src/utils/command-summary.ts","../src/utils/contract-versions.ts","../src/utils/detect-better-auth.ts","../src/utils/device-auth.ts","../src/utils/file-import-path.ts","../src/utils/file-imports-serializer.ts","../src/utils/file-writer.ts","../src/utils/generate-bootstrap-file.ts","../src/utils/get-cli-version.ts","../src/utils/is-deploy-codegen.ts","../src/utils/leaf-import-path.ts","../src/utils/meta-diff.ts","../src/utils/model-alias-override.ts","../src/utils/parse-cli-filters.ts","../src/utils/pikku-cli-config-error.ts","../src/utils/pikku-cli-config.ts","../src/utils/pikku-files-and-methods.ts","../src/utils/precise-coverage-map.ts","../src/utils/remove-legacy-scaffold-file.ts","../src/utils/resolve-personas.ts","../src/utils/resolve-scaffold-feature.ts","../src/utils/schema-diff.ts","../src/utils/serialize-import-map.ts","../src/utils/serialize-meta-ts.ts","../src/utils/serialize-schemas.ts","../src/utils/strip-verbose-meta.ts","../src/utils/surface-diff.ts","../src/utils/surface.ts","../src/utils/tsc-check.ts","../.pikku/pikku-bootstrap-scenarios.gen.ts","../.pikku/pikku-bootstrap.gen.ts","../.pikku/pikku-services.gen.ts","../.pikku/addon/index.ts","../.pikku/addon/pikku-addon-types.gen.ts","../.pikku/agent/index.ts","../.pikku/agent/pikku-agent-map.gen.d.ts","../.pikku/agent/pikku-agent-types.gen.ts","../.pikku/agent/pikku-model-aliases.gen.ts","../.pikku/agent/pikku-scorer-names.gen.d.ts","../.pikku/auth/auth.types.ts","../.pikku/auth/index.ts","../.pikku/auth/pikku-auth-types.gen.ts","../.pikku/channel/index.ts","../.pikku/channel/pikku-channel-types.gen.ts","../.pikku/cli/index.ts","../.pikku/cli/pikku-cli-channel.ts","../.pikku/cli/pikku-cli-client.gen.ts","../.pikku/cli/pikku-cli-contracts-meta.gen.ts","../.pikku/cli/pikku-cli-types.gen.ts","../.pikku/cli/pikku-cli-wirings-meta.gen.ts","../.pikku/cli/pikku-cli-wirings.gen.ts","../.pikku/cli/pikku-cli.gen.ts","../.pikku/error/index.ts","../.pikku/error/pikku-error-types.gen.ts","../.pikku/function/index.ts","../.pikku/function/pikku-function-types.gen.ts","../.pikku/function/pikku-functions-meta.gen.ts","../.pikku/function/pikku-functions.gen.ts","../.pikku/gateway/index.ts","../.pikku/gateway/pikku-gateway-types.gen.ts","../.pikku/http/index.ts","../.pikku/http/pikku-http-types.gen.ts","../.pikku/mcp/index.ts","../.pikku/mcp/pikku-mcp-types.gen.ts","../.pikku/middleware/index.ts","../.pikku/middleware/pikku-middleware-types.gen.ts","../.pikku/node/pikku-node-types.gen.ts","../.pikku/queue/index.ts","../.pikku/queue/pikku-queue-types.gen.ts","../.pikku/queue/pikku-queue-workers-wirings-map.gen.d.ts","../.pikku/queue/pikku-queue-workers-wirings-meta.gen.ts","../.pikku/queue/pikku-queue-workers-wirings.gen.ts","../.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts","../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts","../.pikku/scenarios/index.ts","../.pikku/scenarios/pikku-personas.gen.ts","../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts","../.pikku/scenarios/pikku-scenario-functions.gen.ts","../.pikku/scenarios/pikku-scenario-types.gen.ts","../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts","../.pikku/scenarios/pikku-scenario-wirings.gen.ts","../.pikku/scenarios/schemas/register.gen.ts","../.pikku/scheduler/index.ts","../.pikku/scheduler/pikku-scheduler-types.gen.ts","../.pikku/schemas/register.gen.ts","../.pikku/scopes/index.ts","../.pikku/scopes/pikku-personas.gen.ts","../.pikku/scopes/pikku-roles.gen.ts","../.pikku/scopes/pikku-scope-types.gen.ts","../.pikku/scopes/pikku-scopes.gen.ts","../.pikku/secrets/index.ts","../.pikku/secrets/pikku-secret-types.gen.ts","../.pikku/secrets/pikku-secrets.gen.ts","../.pikku/services/pikku-meta-service.gen.ts","../.pikku/setup/index.ts","../.pikku/setup/pikku-setup-types.gen.ts","../.pikku/trigger/index.ts","../.pikku/trigger/pikku-trigger-types.gen.ts","../.pikku/variables/index.ts","../.pikku/variables/pikku-variable-types.gen.ts","../.pikku/variables/pikku-variables.gen.ts","../.pikku/workflow/index.ts","../.pikku/workflow/pikku-scenario-step-map.gen.d.ts","../.pikku/workflow/pikku-workflow-map.gen.d.ts","../.pikku/workflow/pikku-workflow-types.gen.ts","../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts","../.pikku/workflow/pikku-workflow-wirings.gen.ts","../types/application-types.d.ts","../types/bun-sqlite.d.ts","../types/config.d.ts"],"version":"6.0.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.111",
|
|
4
4
|
"description": "Pikku CLI — code generation, dev server, migrations and deployment",
|
|
5
5
|
"author": "yasser.fadl@gmail.com",
|
|
6
6
|
"license": "BUSL-1.1",
|
|
@@ -33,16 +33,17 @@
|
|
|
33
33
|
"@pikku/ai-vercel": "^0.12.13",
|
|
34
34
|
"@pikku/better-auth": "^0.12.26",
|
|
35
35
|
"@pikku/bun-server": "^0.12.8",
|
|
36
|
-
"@pikku/deploy
|
|
36
|
+
"@pikku/deploy": "^0.12.1",
|
|
37
|
+
"@pikku/deploy-cloudflare": "^0.12.13",
|
|
37
38
|
"@pikku/fetch": "^0.12.9",
|
|
38
|
-
"@pikku/inspector": "^0.12.
|
|
39
|
+
"@pikku/inspector": "^0.12.63",
|
|
39
40
|
"@pikku/knowledge": "^0.12.7",
|
|
40
|
-
"@pikku/kysely": "^0.13.
|
|
41
|
+
"@pikku/kysely": "^0.13.20",
|
|
41
42
|
"@pikku/n8n-import": "^0.0.7",
|
|
42
43
|
"@pikku/node-http-server": "^0.12.11",
|
|
43
44
|
"@pikku/openapi-parser": "^0.12.20",
|
|
44
45
|
"@pikku/schedule": "^0.12.7",
|
|
45
|
-
"@pikku/skills": "^0.12.
|
|
46
|
+
"@pikku/skills": "^0.12.13",
|
|
46
47
|
"@pikku/ws": "^0.12.9",
|
|
47
48
|
"@types/cookie": "^1.0.0",
|
|
48
49
|
"@types/json-schema": "^7.0.15",
|
|
@@ -67,12 +68,12 @@
|
|
|
67
68
|
"zod-to-ts": "^2.1.0"
|
|
68
69
|
},
|
|
69
70
|
"peerDependencies": {
|
|
70
|
-
"@pikku/core": "^0.12.
|
|
71
|
+
"@pikku/core": "^0.12.89",
|
|
71
72
|
"@pikku/playwright": "^0.12.78",
|
|
72
73
|
"better-auth": "^1.6.0"
|
|
73
74
|
},
|
|
74
75
|
"devDependencies": {
|
|
75
|
-
"@pikku/core": "^0.12.
|
|
76
|
+
"@pikku/core": "^0.12.89",
|
|
76
77
|
"@pikku/playwright": "^0.12.78",
|
|
77
78
|
"@playwright/test": "^1.50.0",
|
|
78
79
|
"@types/istanbul-lib-instrument": "^1.7.8",
|
package/surface.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.12.
|
|
2
|
+
"version": "0.12.111",
|
|
3
3
|
"entryPoints": [
|
|
4
4
|
{
|
|
5
5
|
"id": "app",
|
|
@@ -175,18 +175,11 @@
|
|
|
175
175
|
{
|
|
176
176
|
"name": "WiredServices",
|
|
177
177
|
"kind": "type",
|
|
178
|
-
"origin": {
|
|
179
|
-
"via": "generated"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "WiredSingletonServices",
|
|
184
|
-
"kind": "type",
|
|
185
178
|
"origin": {
|
|
186
179
|
"via": "generated"
|
|
187
180
|
},
|
|
188
181
|
"summary": "The services a wired function actually receives. The inspector records which services each wired `func`, `permissions` and `middleware` destructures and emits them as `RequiredSingletonServices`; intersecting that here makes those services **non-optional** at every call site. A service is optional only when nothing destructures it — in which case it is never created either. This is why an `if (!service)` guard inside a function body is always dead code.",
|
|
189
|
-
"docs": "The services a wired function actually receives. The inspector records which\nservices each wired `func`, `permissions` and `middleware` destructures and\nemits them as `RequiredSingletonServices`; intersecting that here makes those\nservices **non-optional** at every call site. A service is optional only when\nnothing destructures it — in which case it is never created either. This is\nwhy an `if (!service)` guard inside a function body is always dead code."
|
|
182
|
+
"docs": "The services a wired function actually receives. The inspector records which\nservices each wired `func`, `permissions` and `middleware` destructures and\nemits them as `RequiredSingletonServices`; intersecting that here makes those\nservices **non-optional** at every call site. A service is optional only when\nnothing destructures it — in which case it is never created either. This is\nwhy an `if (!service)` guard inside a function body is always dead code.\n\nOnly the wire-services half lives here. The singleton half is declared by the\nauth and middleware leaves that use it, because whether a name earns its\nexport is measured rather than chosen: emit declarations for a project and\n`WiredServices` is named by 147 of its `.d.ts` files, while the singleton\nintersection is named by none outside the leaves that declare it. Export the\nlatter and it is a compatibility promise nothing asked for; unexport\n`WiredServices` and every wired module inlines the intersection instead,\nwhich asks it to name each member service through a specifier it does not\nhave — 3308 TS2883s. `--noEmit` cannot surface any of that, so re-check with\n`tsc --declaration --emitDeclarationOnly` before moving either one."
|
|
190
183
|
}
|
|
191
184
|
]
|
|
192
185
|
},
|
|
@@ -1779,18 +1772,11 @@
|
|
|
1779
1772
|
{
|
|
1780
1773
|
"name": "WiredServices",
|
|
1781
1774
|
"kind": "type",
|
|
1782
|
-
"origin": {
|
|
1783
|
-
"via": "generated"
|
|
1784
|
-
}
|
|
1785
|
-
},
|
|
1786
|
-
{
|
|
1787
|
-
"name": "WiredSingletonServices",
|
|
1788
|
-
"kind": "type",
|
|
1789
1775
|
"origin": {
|
|
1790
1776
|
"via": "generated"
|
|
1791
1777
|
},
|
|
1792
1778
|
"summary": "The services a wired function actually receives. The inspector records which services each wired `func`, `permissions` and `middleware` destructures and emits them as `RequiredSingletonServices`; intersecting that here makes those services **non-optional** at every call site. A service is optional only when nothing destructures it — in which case it is never created either. This is why an `if (!service)` guard inside a function body is always dead code.",
|
|
1793
|
-
"docs": "The services a wired function actually receives. The inspector records which\nservices each wired `func`, `permissions` and `middleware` destructures and\nemits them as `RequiredSingletonServices`; intersecting that here makes those\nservices **non-optional** at every call site. A service is optional only when\nnothing destructures it — in which case it is never created either. This is\nwhy an `if (!service)` guard inside a function body is always dead code."
|
|
1779
|
+
"docs": "The services a wired function actually receives. The inspector records which\nservices each wired `func`, `permissions` and `middleware` destructures and\nemits them as `RequiredSingletonServices`; intersecting that here makes those\nservices **non-optional** at every call site. A service is optional only when\nnothing destructures it — in which case it is never created either. This is\nwhy an `if (!service)` guard inside a function body is always dead code.\n\nOnly the wire-services half lives here. The singleton half is declared by the\nauth and middleware leaves that use it, because whether a name earns its\nexport is measured rather than chosen: emit declarations for a project and\n`WiredServices` is named by 147 of its `.d.ts` files, while the singleton\nintersection is named by none outside the leaves that declare it. Export the\nlatter and it is a compatibility promise nothing asked for; unexport\n`WiredServices` and every wired module inlines the intersection instead,\nwhich asks it to name each member service through a specifier it does not\nhave — 3308 TS2883s. `--noEmit` cannot surface any of that, so re-check with\n`tsc --declaration --emitDeclarationOnly` before moving either one."
|
|
1794
1780
|
}
|
|
1795
1781
|
]
|
|
1796
1782
|
},
|
|
@@ -1979,20 +1965,12 @@
|
|
|
1979
1965
|
{
|
|
1980
1966
|
"name": "WiredServices",
|
|
1981
1967
|
"kind": "type",
|
|
1982
|
-
"origin": {
|
|
1983
|
-
"via": "package",
|
|
1984
|
-
"packageName": "@pikku/templates-function-addon"
|
|
1985
|
-
}
|
|
1986
|
-
},
|
|
1987
|
-
{
|
|
1988
|
-
"name": "WiredSingletonServices",
|
|
1989
|
-
"kind": "type",
|
|
1990
1968
|
"origin": {
|
|
1991
1969
|
"via": "package",
|
|
1992
1970
|
"packageName": "@pikku/templates-function-addon"
|
|
1993
1971
|
},
|
|
1994
1972
|
"summary": "The services a wired function actually receives. The inspector records which services each wired `func`, `permissions` and `middleware` destructures and emits them as `RequiredSingletonServices`; intersecting that here makes those services **non-optional** at every call site. A service is optional only when nothing destructures it — in which case it is never created either. This is why an `if (!service)` guard inside a function body is always dead code.",
|
|
1995
|
-
"docs": "The services a wired function actually receives. The inspector records which\nservices each wired `func`, `permissions` and `middleware` destructures and\nemits them as `RequiredSingletonServices`; intersecting that here makes those\nservices **non-optional** at every call site. A service is optional only when\nnothing destructures it — in which case it is never created either. This is\nwhy an `if (!service)` guard inside a function body is always dead code."
|
|
1973
|
+
"docs": "The services a wired function actually receives. The inspector records which\nservices each wired `func`, `permissions` and `middleware` destructures and\nemits them as `RequiredSingletonServices`; intersecting that here makes those\nservices **non-optional** at every call site. A service is optional only when\nnothing destructures it — in which case it is never created either. This is\nwhy an `if (!service)` guard inside a function body is always dead code.\n\nOnly the wire-services half lives here. The singleton half is declared by the\nauth and middleware leaves that use it, because whether a name earns its\nexport is measured rather than chosen: emit declarations for a project and\n`WiredServices` is named by 147 of its `.d.ts` files, while the singleton\nintersection is named by none outside the leaves that declare it. Export the\nlatter and it is a compatibility promise nothing asked for; unexport\n`WiredServices` and every wired module inlines the intersection instead,\nwhich asks it to name each member service through a specifier it does not\nhave — 3308 TS2883s. `--noEmit` cannot surface any of that, so re-check with\n`tsc --declaration --emitDeclarationOnly` before moving either one."
|
|
1996
1974
|
}
|
|
1997
1975
|
]
|
|
1998
1976
|
},
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provider-agnostic deployment manifest types.
|
|
3
|
-
*
|
|
4
|
-
* Core principle: one function = one deployment unit.
|
|
5
|
-
* Gateways (MCP, agents, channels, workflow orchestrators)
|
|
6
|
-
* don't bundle function code — they dispatch via RPC.
|
|
7
|
-
*/
|
|
8
|
-
/** What kind of deployment entry */
|
|
9
|
-
export type DeploymentUnitRole = 'function' | 'mcp' | 'agent' | 'channel' | 'workflow' | 'workflow-step';
|
|
10
|
-
/** What handlers a unit needs to export */
|
|
11
|
-
export type DeploymentHandler = {
|
|
12
|
-
type: 'fetch';
|
|
13
|
-
routes: HttpRouteInfo[];
|
|
14
|
-
} | {
|
|
15
|
-
type: 'queue';
|
|
16
|
-
queueName: string;
|
|
17
|
-
} | {
|
|
18
|
-
type: 'scheduled';
|
|
19
|
-
schedule: string;
|
|
20
|
-
taskName: string;
|
|
21
|
-
};
|
|
22
|
-
/** Abstract infrastructure capability */
|
|
23
|
-
export type ServiceCapability = 'database' | 'object-storage' | 'queue' | 'kv' | 'ai-model' | 'ai-storage' | 'scheduler' | 'workflow-state' | 'credential-store';
|
|
24
|
-
export interface ServiceRequirement {
|
|
25
|
-
capability: ServiceCapability;
|
|
26
|
-
/** Original service name from code (e.g. 'kysely', 'contentService') */
|
|
27
|
-
sourceServiceName: string;
|
|
28
|
-
}
|
|
29
|
-
export interface HttpRouteInfo {
|
|
30
|
-
method: string;
|
|
31
|
-
route: string;
|
|
32
|
-
pikkuFuncId: string;
|
|
33
|
-
}
|
|
34
|
-
export interface DeploymentUnit {
|
|
35
|
-
name: string;
|
|
36
|
-
role: DeploymentUnitRole;
|
|
37
|
-
/** Deploy target: serverless (CF Worker / Lambda) or server (container) */
|
|
38
|
-
target: 'serverless' | 'server';
|
|
39
|
-
/** Functions bundled in this unit (for function/workflow-step units) */
|
|
40
|
-
functionIds: string[];
|
|
41
|
-
services: ServiceRequirement[];
|
|
42
|
-
/** Other unit names this unit calls via RPC / service bindings */
|
|
43
|
-
dependsOn: string[];
|
|
44
|
-
/** What runtime handlers this unit needs to export */
|
|
45
|
-
handlers: DeploymentHandler[];
|
|
46
|
-
tags: string[];
|
|
47
|
-
/** SHA-256 of final bundled artifact (set by build pipeline) */
|
|
48
|
-
bundleHash?: string;
|
|
49
|
-
/** Final bundle size in bytes (set by build pipeline) */
|
|
50
|
-
bundleSizeBytes?: number;
|
|
51
|
-
/** SHA-256 of sorted exact dependency map (set by build pipeline) */
|
|
52
|
-
exactDependenciesHash?: string;
|
|
53
|
-
/** Top-level exact runtime dependency versions for this unit (set by build pipeline) */
|
|
54
|
-
exactDependencies?: Record<string, string>;
|
|
55
|
-
/** Top-level exact optional runtime dependency versions for this unit (set by build pipeline) */
|
|
56
|
-
exactOptionalDependencies?: Record<string, string>;
|
|
57
|
-
}
|
|
58
|
-
export interface QueueDefinition {
|
|
59
|
-
name: string;
|
|
60
|
-
consumerUnit: string;
|
|
61
|
-
consumerFunctionId: string;
|
|
62
|
-
}
|
|
63
|
-
export interface ScheduledTaskDefinition {
|
|
64
|
-
name: string;
|
|
65
|
-
schedule: string;
|
|
66
|
-
unitName: string;
|
|
67
|
-
functionId: string;
|
|
68
|
-
}
|
|
69
|
-
export interface ChannelDefinition {
|
|
70
|
-
name: string;
|
|
71
|
-
route: string;
|
|
72
|
-
unitName: string;
|
|
73
|
-
functionIds: string[];
|
|
74
|
-
}
|
|
75
|
-
export interface AgentDefinition {
|
|
76
|
-
name: string;
|
|
77
|
-
unitName: string;
|
|
78
|
-
toolFunctionIds: string[];
|
|
79
|
-
subAgentNames: string[];
|
|
80
|
-
model: string;
|
|
81
|
-
}
|
|
82
|
-
export interface MCPEndpointDefinition {
|
|
83
|
-
unitName: string;
|
|
84
|
-
toolFunctionIds: string[];
|
|
85
|
-
resourceFunctionIds: string[];
|
|
86
|
-
promptFunctionIds: string[];
|
|
87
|
-
}
|
|
88
|
-
export interface WorkflowStepDefinition {
|
|
89
|
-
name: string;
|
|
90
|
-
inline: boolean;
|
|
91
|
-
functionId?: string;
|
|
92
|
-
unitName?: string;
|
|
93
|
-
}
|
|
94
|
-
export interface WorkflowDefinition {
|
|
95
|
-
name: string;
|
|
96
|
-
pikkuFuncId: string;
|
|
97
|
-
orchestratorUnit: string;
|
|
98
|
-
steps: WorkflowStepDefinition[];
|
|
99
|
-
}
|
|
100
|
-
export interface SecretDeclaration {
|
|
101
|
-
secretId: string;
|
|
102
|
-
displayName: string;
|
|
103
|
-
description?: string;
|
|
104
|
-
/** Hosts this secret may be sent to. Absent means unrestricted. */
|
|
105
|
-
allowedHosts?: string[];
|
|
106
|
-
/** True when some code reads this secret with a statically resolvable key. */
|
|
107
|
-
read?: boolean;
|
|
108
|
-
}
|
|
109
|
-
/** Secret reads whose key the inspector could not resolve, as `file:line:source`. */
|
|
110
|
-
export type UnresolvedSecretRead = string;
|
|
111
|
-
/** A `wireAddon` instance the app exempted from secret or credential scoping. */
|
|
112
|
-
export interface UnscopedAddon {
|
|
113
|
-
namespace: string;
|
|
114
|
-
package: string;
|
|
115
|
-
/** The app's stated reason, from `wireAddon({ globalSecrets | globalCredentials })`. */
|
|
116
|
-
reason: string;
|
|
117
|
-
}
|
|
118
|
-
/** A `wireAddon` instance the app lent named secrets or credentials it never declared. */
|
|
119
|
-
export interface GrantedAddon {
|
|
120
|
-
namespace: string;
|
|
121
|
-
package: string;
|
|
122
|
-
/**
|
|
123
|
-
* The names the addon may now read, as the addon reads them — grants and
|
|
124
|
-
* override keys alike, since scoping is checked before an override renames.
|
|
125
|
-
*/
|
|
126
|
-
granted: string[];
|
|
127
|
-
}
|
|
128
|
-
export interface VariableDeclaration {
|
|
129
|
-
variableId: string;
|
|
130
|
-
displayName: string;
|
|
131
|
-
description?: string;
|
|
132
|
-
}
|
|
133
|
-
export interface DeploymentManifest {
|
|
134
|
-
projectId: string;
|
|
135
|
-
manifestVersion: 1;
|
|
136
|
-
units: DeploymentUnit[];
|
|
137
|
-
queues: QueueDefinition[];
|
|
138
|
-
scheduledTasks: ScheduledTaskDefinition[];
|
|
139
|
-
channels: ChannelDefinition[];
|
|
140
|
-
agents: AgentDefinition[];
|
|
141
|
-
mcpEndpoints: MCPEndpointDefinition[];
|
|
142
|
-
workflows: WorkflowDefinition[];
|
|
143
|
-
secrets: SecretDeclaration[];
|
|
144
|
-
/**
|
|
145
|
-
* Reads with a non-literal key. A deployment can only narrow a unit's secret
|
|
146
|
-
* scope to the declared set when this is empty.
|
|
147
|
-
*/
|
|
148
|
-
unresolvedSecretReads: UnresolvedSecretRead[];
|
|
149
|
-
/**
|
|
150
|
-
* Addon instances exempted from secret scoping. Every other addon reads only
|
|
151
|
-
* the secrets it declared, so this is the full list of packages that can
|
|
152
|
-
* reach a secret the app never named for them.
|
|
153
|
-
*/
|
|
154
|
-
unscopedSecretAddons: UnscopedAddon[];
|
|
155
|
-
/**
|
|
156
|
-
* Addon instances exempted from credential scoping. Every other addon reaches
|
|
157
|
-
* only the credentials it declared, and none can enumerate the app's users.
|
|
158
|
-
*/
|
|
159
|
-
unscopedCredentialAddons: UnscopedAddon[];
|
|
160
|
-
/**
|
|
161
|
-
* Addon instances lent named secrets on top of the ones they declared. The
|
|
162
|
-
* other half of the same waiver as `unscopedSecretAddons` — narrower, because
|
|
163
|
-
* the app named the set — so between them a deployment sees every secret an
|
|
164
|
-
* addon can reach that it did not declare for itself.
|
|
165
|
-
*/
|
|
166
|
-
grantedSecretAddons: GrantedAddon[];
|
|
167
|
-
/** Addon instances lent named credentials on top of the ones they declared. */
|
|
168
|
-
grantedCredentialAddons: GrantedAddon[];
|
|
169
|
-
variables: VariableDeclaration[];
|
|
170
|
-
}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provider adapter interface for the deploy pipeline.
|
|
3
|
-
*
|
|
4
|
-
* Each provider (Cloudflare, AWS, etc.) implements this to handle
|
|
5
|
-
* the provider-specific parts of deployment: entry generation,
|
|
6
|
-
* infrastructure manifests, and config files.
|
|
7
|
-
*
|
|
8
|
-
* The generic pipeline handles: analysis, codegen, bundling, plan/apply.
|
|
9
|
-
*/
|
|
10
|
-
import type { DeploymentManifest, DeploymentUnit } from './analyzer/manifest.js';
|
|
11
|
-
export interface EntryGenerationContext {
|
|
12
|
-
/** The unit being generated */
|
|
13
|
-
unit: DeploymentUnit;
|
|
14
|
-
/** Absolute path to the unit's output directory */
|
|
15
|
-
unitDir: string;
|
|
16
|
-
/** Relative path to the unit's pikku-bootstrap.gen.js */
|
|
17
|
-
bootstrapPath: string;
|
|
18
|
-
/** Import statement for createConfig */
|
|
19
|
-
configImport: string;
|
|
20
|
-
/** Variable name for createConfig */
|
|
21
|
-
configVar: string;
|
|
22
|
-
/** Import statement for createSingletonServices */
|
|
23
|
-
servicesImport: string;
|
|
24
|
-
/** Variable name for createSingletonServices */
|
|
25
|
-
servicesVar: string;
|
|
26
|
-
/** Import statement for SingletonServices type (or empty string) */
|
|
27
|
-
singletonServicesImport: string;
|
|
28
|
-
/** Type expression for Partial<SingletonServices> (or fallback) */
|
|
29
|
-
servicesType: string;
|
|
30
|
-
/**
|
|
31
|
-
* `import mcpJson from '…/mcp.gen.json' with { type: 'json' }` when the unit
|
|
32
|
-
* has a non-empty mcp.gen.json, else ''. Pair with `mcpServerOption`.
|
|
33
|
-
*/
|
|
34
|
-
mcpImport: string;
|
|
35
|
-
/**
|
|
36
|
-
* `'mcpJson, '` to splice into the PikkuNodeHTTPServer *third* (options) arg —
|
|
37
|
-
* the server reads `this.options.mcpJson`, NOT the first config arg — so it
|
|
38
|
-
* mounts /mcp. Else ''. Empty is safe — trailing commas are valid.
|
|
39
|
-
*/
|
|
40
|
-
mcpServerOption: string;
|
|
41
|
-
}
|
|
42
|
-
export interface ProviderAdapter {
|
|
43
|
-
/** Provider name (e.g. 'cloudflare', 'aws') */
|
|
44
|
-
readonly name: string;
|
|
45
|
-
/** Subdirectory name under .deploy/ (e.g. 'cloudflare') */
|
|
46
|
-
readonly deployDirName: string;
|
|
47
|
-
/**
|
|
48
|
-
* When true, skips per-unit decomposition and bundles everything
|
|
49
|
-
* into a single unit using the project's full .pikku/ directory.
|
|
50
|
-
* Used by standalone adapter.
|
|
51
|
-
*/
|
|
52
|
-
readonly singleUnit?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Whether the provider's workflow runtime needs synthesized per-step
|
|
55
|
-
* dispatch queues. Defaults to `true`.
|
|
56
|
-
*
|
|
57
|
-
* - `true` (default): The deploy pipeline synthesizes a `wf-orchestrator-*`
|
|
58
|
-
* queue and a `wf-step-*` queue for every workflow step, plus producer
|
|
59
|
-
* bindings, so the workflow runtime can fan out via queues.
|
|
60
|
-
* - `false`: No synthetic workflow queues are emitted into the manifest
|
|
61
|
-
* or per-unit codegen. Use this when the provider's workflow runtime
|
|
62
|
-
* dispatches steps natively (e.g. Cloudflare's Durable-Object-based
|
|
63
|
-
* `CloudflareWorkflowService`, where the orchestrator DO advances
|
|
64
|
-
* steps directly without a queue hop). Queues created via explicit
|
|
65
|
-
* `wireQueue(...)` user code are unaffected.
|
|
66
|
-
*/
|
|
67
|
-
readonly workflowQueues?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Generate the entry file source for a deployment unit.
|
|
70
|
-
* Called once per unit.
|
|
71
|
-
*/
|
|
72
|
-
generateEntrySource(ctx: EntryGenerationContext): string;
|
|
73
|
-
/**
|
|
74
|
-
* Generate the entry file source for a `target: 'server'` (container) unit.
|
|
75
|
-
*
|
|
76
|
-
* Optional. When a provider implements it, the deploy pipeline uses it
|
|
77
|
-
* instead of the provider-agnostic `generateServerEntrySource`, so the
|
|
78
|
-
* provider can inject the SAME platform services (kysely, secrets, …) into
|
|
79
|
-
* the container that it injects into its serverless workers — sourcing the
|
|
80
|
-
* bindings from `process.env` instead of a runtime `env` object. When
|
|
81
|
-
* omitted, the pipeline falls back to the generic generator (no platform
|
|
82
|
-
* injection), which is correct for providers whose containers carry no
|
|
83
|
-
* platform services.
|
|
84
|
-
*/
|
|
85
|
-
generateServerEntrySource?(ctx: EntryGenerationContext): string;
|
|
86
|
-
/**
|
|
87
|
-
* Generate provider-specific config files per unit (e.g. wrangler.toml).
|
|
88
|
-
* Returns a map of filename → content to write into the unit directory.
|
|
89
|
-
*/
|
|
90
|
-
generateUnitConfigs(unit: DeploymentUnit, manifest: DeploymentManifest, projectId: string): Map<string, string>;
|
|
91
|
-
/**
|
|
92
|
-
* Generate provider-level infrastructure manifest (e.g. infra.json).
|
|
93
|
-
* Returns file content, or null if not applicable.
|
|
94
|
-
*/
|
|
95
|
-
generateInfraManifest(manifest: DeploymentManifest): string | null;
|
|
96
|
-
/**
|
|
97
|
-
* External modules for esbuild bundling.
|
|
98
|
-
* Defaults to ['node:*'] if not provided.
|
|
99
|
-
*/
|
|
100
|
-
getExternals?(): string[];
|
|
101
|
-
/**
|
|
102
|
-
* Regex sources for modules to stub to `export {}` during bundling — modules
|
|
103
|
-
* this provider's runtime never executes (e.g. the `postgres` driver on CF
|
|
104
|
-
* Workers, which use a libsql/Turso dialect). Unlike `getExternals`, a stub
|
|
105
|
-
* removes the bytes entirely rather than leaving a runtime import to resolve.
|
|
106
|
-
*/
|
|
107
|
-
getStubModules?(): string[];
|
|
108
|
-
/**
|
|
109
|
-
* Module aliases for esbuild bundling (e.g. { crypto: 'node:crypto' }).
|
|
110
|
-
* Used to remap bare imports to platform-compatible paths.
|
|
111
|
-
*/
|
|
112
|
-
getAliases?(): Record<string, string>;
|
|
113
|
-
/**
|
|
114
|
-
* esbuild define map for compile-time constants (e.g. { 'process.env.NODE_ENV': '"production"' }).
|
|
115
|
-
*/
|
|
116
|
-
getDefine?(): Record<string, string>;
|
|
117
|
-
/**
|
|
118
|
-
* esbuild platform target. Defaults to 'node'.
|
|
119
|
-
* Cloudflare Workers should use 'neutral'.
|
|
120
|
-
*/
|
|
121
|
-
getPlatform?(): 'node' | 'neutral' | 'browser';
|
|
122
|
-
/**
|
|
123
|
-
* esbuild output format. Defaults to 'esm'.
|
|
124
|
-
* pkg requires 'cjs' for standalone binaries.
|
|
125
|
-
*/
|
|
126
|
-
getFormat?(): 'esm' | 'cjs';
|
|
127
|
-
/**
|
|
128
|
-
* Skip the createRequire banner. CF Workers should return true —
|
|
129
|
-
* `import.meta.url` is undefined there and the banner crashes at boot.
|
|
130
|
-
*/
|
|
131
|
-
getNoRequireShim?(): boolean;
|
|
132
|
-
/**
|
|
133
|
-
* Generate additional provider-level config files (e.g. serverless.yml).
|
|
134
|
-
* Returns a map of filename → content to write into the deploy directory.
|
|
135
|
-
*/
|
|
136
|
-
generateProviderConfigs?(manifest: DeploymentManifest): Map<string, string>;
|
|
137
|
-
/**
|
|
138
|
-
* Emit any provider-specific artifacts that aren't tied to a single user
|
|
139
|
-
* unit — e.g. a synthesized proxy Worker that fronts a CF Container.
|
|
140
|
-
* Called after the infra manifest is written so providers can read it
|
|
141
|
-
* and key off resources that were provisioned in earlier steps.
|
|
142
|
-
*/
|
|
143
|
-
emitSideArtifacts?(options: {
|
|
144
|
-
buildDir: string;
|
|
145
|
-
manifest: DeploymentManifest;
|
|
146
|
-
logger: {
|
|
147
|
-
info(msg: string): void;
|
|
148
|
-
error(msg: string): void;
|
|
149
|
-
};
|
|
150
|
-
}): Promise<void>;
|
|
151
|
-
/**
|
|
152
|
-
* Deploy the built artifacts to the provider.
|
|
153
|
-
* Optional — if not implemented, the CLI just outputs the build directory.
|
|
154
|
-
*/
|
|
155
|
-
deploy?(options: {
|
|
156
|
-
buildDir: string;
|
|
157
|
-
logger: {
|
|
158
|
-
info(msg: string): void;
|
|
159
|
-
error(msg: string): void;
|
|
160
|
-
};
|
|
161
|
-
onProgress?: (step: string, detail: string) => void;
|
|
162
|
-
}): Promise<{
|
|
163
|
-
success: boolean;
|
|
164
|
-
workersDeployed?: Array<{
|
|
165
|
-
name: string;
|
|
166
|
-
}>;
|
|
167
|
-
resourcesCreated?: Array<{
|
|
168
|
-
type: string;
|
|
169
|
-
name: string;
|
|
170
|
-
}>;
|
|
171
|
-
errors: Array<{
|
|
172
|
-
step: string;
|
|
173
|
-
error: string;
|
|
174
|
-
}>;
|
|
175
|
-
}>;
|
|
176
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provider adapter interface for the deploy pipeline.
|
|
3
|
-
*
|
|
4
|
-
* Each provider (Cloudflare, AWS, etc.) implements this to handle
|
|
5
|
-
* the provider-specific parts of deployment: entry generation,
|
|
6
|
-
* infrastructure manifests, and config files.
|
|
7
|
-
*
|
|
8
|
-
* The generic pipeline handles: analysis, codegen, bundling, plan/apply.
|
|
9
|
-
*/
|
|
10
|
-
export {};
|