@pikku/cli 0.12.90 → 0.12.92
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/LICENSE +106 -0
- package/README.md +25 -2
- package/console-app/assets/{index-CSzCJzBb.css → index-D0HG8q0B.css} +1 -1
- package/console-app/assets/{index-C5Bd44e4.js → index-DDpIMCpy.js} +149 -149
- package/console-app/index.html +2 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +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/pikku-cli-channel.js +6 -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-contracts-meta.gen.json +15 -0
- 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 +43 -0
- 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 +4 -4
- 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 +39 -44
- package/dist/.pikku/function/pikku-functions.gen.js +1 -3
- 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/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +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/rpc/pikku-rpc-wirings-meta.internal.gen.json +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +10 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +4 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +10 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +4 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +1 -0
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +4 -0
- package/dist/.pikku/scenarios/schemas/register.gen.js +4 -0
- 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 +5 -3
- package/dist/.pikku/schemas/schemas/FabricSecretsListOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSecretsRotateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricSecretsRotateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricSecretsSetOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/ScenarioRunInput.schema.json +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/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/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.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/meta/allWorkflow.gen.json +2 -8
- package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts +19 -0
- package/dist/.pikku/workflow/pikku-scenario-actors.gen.js +17 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +152 -3
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +39 -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 +28 -0
- package/dist/src/deploy/analyzer/analyzer.js +22 -5
- package/dist/src/deploy/build-pipeline.js +5 -1
- package/dist/src/fabric/fabric-commands.d.ts +37 -9
- package/dist/src/fabric/fabric-commands.js +12 -0
- package/dist/src/fabric/functions/domains-add.function.d.ts +4 -4
- package/dist/src/fabric/functions/secrets-list.function.d.ts +16 -4
- package/dist/src/fabric/functions/secrets-list.function.js +12 -10
- package/dist/src/fabric/functions/secrets-rotate.function.d.ts +24 -0
- package/dist/src/fabric/functions/secrets-rotate.function.js +36 -0
- package/dist/src/fabric/functions/secrets-set.function.d.ts +8 -4
- package/dist/src/fabric/functions/secrets-set.function.js +18 -7
- package/dist/src/fabric/lib/http.d.ts +7 -1
- package/dist/src/fabric/lib/sealed-box.d.ts +16 -0
- package/dist/src/fabric/lib/sealed-box.js +72 -0
- package/dist/src/functions/commands/dev.js +11 -0
- package/dist/src/functions/commands/load-user-project.d.ts +7 -0
- package/dist/src/functions/commands/load-user-project.js +21 -0
- package/dist/src/functions/commands/pikku-command-bootstrap.js +13 -0
- package/dist/src/functions/commands/scenario-browser.d.ts +84 -0
- package/dist/src/functions/commands/scenario-browser.js +68 -0
- package/dist/src/functions/commands/scenario-environment.d.ts +32 -0
- package/dist/src/functions/commands/scenario-environment.js +61 -0
- package/dist/src/functions/commands/scenario-formatter.d.ts +81 -0
- package/dist/src/functions/commands/scenario-formatter.js +120 -0
- package/dist/src/functions/commands/scenario-ladder.d.ts +66 -0
- package/dist/src/functions/commands/scenario-ladder.js +132 -0
- package/dist/src/functions/commands/scenario-plan.d.ts +61 -0
- package/dist/src/functions/commands/scenario-plan.js +106 -0
- package/dist/src/functions/commands/scenario.d.ts +24 -0
- package/dist/src/functions/commands/scenario.js +322 -50
- package/dist/src/functions/commands/serve.js +2 -0
- package/dist/src/functions/commands/skills.js +27 -61
- package/dist/src/functions/db/db-codegen.d.ts +6 -0
- package/dist/src/functions/db/db-codegen.js +9 -0
- package/dist/src/functions/db/db-migrator.js +14 -0
- package/dist/src/functions/db/local-db.d.ts +8 -0
- package/dist/src/functions/db/local-db.js +24 -2
- package/dist/src/functions/db/migration-identifiers.d.ts +58 -0
- package/dist/src/functions/db/migration-identifiers.js +262 -0
- package/dist/src/functions/db/migration-provenance.d.ts +35 -0
- package/dist/src/functions/db/migration-provenance.js +80 -0
- package/dist/src/functions/db/schema-sql.d.ts +43 -0
- package/dist/src/functions/db/schema-sql.js +135 -0
- package/dist/src/functions/db/sqlite/sqlite-kysely.js +22 -2
- package/dist/src/functions/wirings/functions/pikku-command-functions.js +26 -8
- package/dist/src/functions/wirings/functions/schemas.js +13 -1
- package/dist/src/functions/wirings/functions/serialize-function-types.js +3 -3
- package/dist/src/functions/wirings/rpc/pikku-command-rpc.js +6 -1
- package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.d.ts +10 -0
- package/dist/src/functions/wirings/scenarios/register-scenario-instrumentation.js +102 -0
- package/dist/src/functions/wirings/scenarios/scenario-partition.d.ts +42 -0
- package/dist/src/functions/wirings/scenarios/scenario-partition.js +71 -0
- package/dist/src/functions/wirings/scenarios/scenario-schema-partition.d.ts +33 -0
- package/dist/src/functions/wirings/scenarios/scenario-schema-partition.js +49 -0
- package/dist/src/functions/wirings/scenarios/serialize-feature-meta.d.ts +14 -0
- package/dist/src/functions/wirings/scenarios/serialize-feature-meta.js +29 -0
- package/dist/src/functions/wirings/scenarios/serialize-scenario-meta.d.ts +12 -0
- package/dist/src/functions/wirings/scenarios/serialize-scenario-meta.js +56 -0
- package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.d.ts +7 -0
- package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.js +40 -0
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +43 -8
- package/dist/src/functions/wirings/workflow/serialize-scenario-actors.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-scenario-actors.js +13 -2
- package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.d.ts +4 -0
- package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.js +62 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-bootstrap-map.js +10 -3
- package/dist/src/functions/wirings/workflow/serialize-workflow-map.js +10 -3
- package/dist/src/functions/wirings/workflow/serialize-workflow-meta.js +4 -4
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +232 -3
- package/dist/src/functions/workflows/all.workflow.js +2 -7
- package/dist/src/server/server-ready.d.ts +12 -0
- package/dist/src/server/server-ready.js +12 -0
- package/dist/src/server/spawn-dev-server.d.ts +50 -0
- package/dist/src/server/spawn-dev-server.js +112 -0
- package/dist/src/services.js +12 -1
- package/dist/src/utils/file-writer.js +14 -2
- package/dist/src/utils/meta-diff.js +5 -2
- package/dist/src/utils/pikku-cli-config.d.ts +14 -0
- package/dist/src/utils/pikku-cli-config.js +60 -0
- package/dist/src/utils/remove-legacy-scaffold-file.d.ts +14 -0
- package/dist/src/utils/remove-legacy-scaffold-file.js +23 -0
- package/dist/src/utils/resolve-scenario-actors.d.ts +23 -0
- package/dist/src/utils/resolve-scenario-actors.js +74 -0
- package/dist/src/utils/serialize-schemas.d.ts +3 -1
- package/dist/src/utils/serialize-schemas.js +39 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +18 -8
- package/dist/.pikku/schemas/schemas/PikkuScenarioFunctionsOutput.schema.json +0 -1
- package/dist/src/functions/wirings/scenarios/pikku-command-scenario-functions.d.ts +0 -1
- package/dist/src/functions/wirings/scenarios/pikku-command-scenario-functions.js +0 -31
- package/dist/src/functions/wirings/scenarios/serialize-scenario-functions.d.ts +0 -10
- package/dist/src/functions/wirings/scenarios/serialize-scenario-functions.js +0 -104
- package/skills/pikku-addon/SKILL.md +0 -243
- package/skills/pikku-addon/references/addon-package-manifest.md +0 -63
- package/skills/pikku-ai-agent/SKILL.md +0 -231
- package/skills/pikku-ai-vercel/SKILL.md +0 -82
- package/skills/pikku-ai-voice/SKILL.md +0 -88
- package/skills/pikku-audit/SKILL.md +0 -175
- package/skills/pikku-aws/SKILL.md +0 -111
- package/skills/pikku-backblaze/SKILL.md +0 -71
- package/skills/pikku-better-auth/SKILL.md +0 -298
- package/skills/pikku-cli/SKILL.md +0 -198
- package/skills/pikku-cli/references/complete-example.md +0 -82
- package/skills/pikku-concepts/SKILL.md +0 -250
- package/skills/pikku-concepts/references/concept-mapping.md +0 -556
- package/skills/pikku-concepts/references/packages.md +0 -29
- package/skills/pikku-config/SKILL.md +0 -212
- package/skills/pikku-cron/SKILL.md +0 -214
- package/skills/pikku-deploy-azure/SKILL.md +0 -71
- package/skills/pikku-deploy-cloudflare/SKILL.md +0 -82
- package/skills/pikku-deploy-express/SKILL.md +0 -86
- package/skills/pikku-deploy-fastify/SKILL.md +0 -73
- package/skills/pikku-deploy-lambda/SKILL.md +0 -110
- package/skills/pikku-deploy-nextjs/SKILL.md +0 -78
- package/skills/pikku-deploy-uws/SKILL.md +0 -88
- package/skills/pikku-deps/SKILL.md +0 -98
- package/skills/pikku-emails/SKILL.md +0 -163
- package/skills/pikku-fabric/SKILL.md +0 -318
- package/skills/pikku-fabric-debug/SKILL.md +0 -112
- package/skills/pikku-feature/SKILL.md +0 -258
- package/skills/pikku-gateway-slack/SKILL.md +0 -115
- package/skills/pikku-http/SKILL.md +0 -220
- package/skills/pikku-http/references/http-options.md +0 -55
- package/skills/pikku-i18n/SKILL.md +0 -137
- package/skills/pikku-info/SKILL.md +0 -100
- package/skills/pikku-jose/SKILL.md +0 -105
- package/skills/pikku-kysely/SKILL.md +0 -219
- package/skills/pikku-machine-auth/SKILL.md +0 -183
- package/skills/pikku-mcp/SKILL.md +0 -241
- package/skills/pikku-middleware/SKILL.md +0 -231
- package/skills/pikku-middleware/references/middleware-patterns.md +0 -61
- package/skills/pikku-mongodb/SKILL.md +0 -105
- package/skills/pikku-n8n-import/SKILL.md +0 -109
- package/skills/pikku-n8n-import/SPEC.md +0 -84
- package/skills/pikku-n8n-import/references/addon-mapping.md +0 -121
- package/skills/pikku-n8n-import/references/code-translation.md +0 -121
- package/skills/pikku-n8n-import/references/loops-and-control.md +0 -87
- package/skills/pikku-paraglide/SKILL.md +0 -117
- package/skills/pikku-permissions/SKILL.md +0 -192
- package/skills/pikku-pino/SKILL.md +0 -79
- package/skills/pikku-product-second-opinion/README.md +0 -43
- package/skills/pikku-product-second-opinion/SKILL.md +0 -158
- package/skills/pikku-product-second-opinion/example/sample-report.md +0 -90
- package/skills/pikku-product-second-opinion/references/report-template.md +0 -73
- package/skills/pikku-queue/SKILL.md +0 -240
- package/skills/pikku-react/SKILL.md +0 -212
- package/skills/pikku-react-query/SKILL.md +0 -242
- package/skills/pikku-realtime/SKILL.md +0 -236
- package/skills/pikku-realtime/references/other-routes.md +0 -23
- package/skills/pikku-redis/SKILL.md +0 -90
- package/skills/pikku-rpc/SKILL.md +0 -171
- package/skills/pikku-rtl/SKILL.md +0 -219
- package/skills/pikku-scenario/SKILL.md +0 -215
- package/skills/pikku-schedule/SKILL.md +0 -57
- package/skills/pikku-schema-ajv/SKILL.md +0 -62
- package/skills/pikku-schema-cfworker/SKILL.md +0 -63
- package/skills/pikku-security/SKILL.md +0 -108
- package/skills/pikku-services/SKILL.md +0 -248
- package/skills/pikku-services/references/audit-wire-service.md +0 -34
- package/skills/pikku-software-archaeology/README.md +0 -70
- package/skills/pikku-software-archaeology/SKILL.md +0 -186
- package/skills/pikku-software-archaeology/references/blueprint.schema.json +0 -625
- package/skills/pikku-software-archaeology/references/pikku-mapping.md +0 -49
- package/skills/pikku-software-archaeology/scripts/validate.mjs +0 -173
- package/skills/pikku-tag-middleware/SKILL.md +0 -13
- package/skills/pikku-template-clone/SKILL.md +0 -40
- package/skills/pikku-trigger/SKILL.md +0 -181
- package/skills/pikku-versioning/SKILL.md +0 -173
- package/skills/pikku-websocket/SKILL.md +0 -243
- package/skills/pikku-workflow/SKILL.md +0 -172
- package/skills/pikku-workflow/references/workflow-reference.md +0 -63
- package/skills/pikku-workflows-client/SKILL.md +0 -150
- package/skills/pikku-ws/SKILL.md +0 -47
package/console-app/index.html
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
} catch (e) {}
|
|
23
23
|
</script>
|
|
24
|
-
<script type="module" crossorigin src="/console/assets/index-
|
|
25
|
-
<link rel="stylesheet" crossorigin href="/console/assets/index-
|
|
24
|
+
<script type="module" crossorigin src="/console/assets/index-DDpIMCpy.js"></script>
|
|
25
|
+
<link rel="stylesheet" crossorigin href="/console/assets/index-D0HG8q0B.css">
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
28
28
|
<div id="root"></div>
|
|
@@ -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.92
|
|
3
3
|
*/
|
|
4
4
|
import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
|
|
5
5
|
import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
@@ -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.92
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -50,6 +50,7 @@ import { FabricDeployUnits } from '../../src/fabric/functions/deploy-units.funct
|
|
|
50
50
|
import { FabricRollback } from '../../src/fabric/functions/rollback.function.js';
|
|
51
51
|
import { FabricSecretsSet } from '../../src/fabric/functions/secrets-set.function.js';
|
|
52
52
|
import { FabricSecretsList } from '../../src/fabric/functions/secrets-list.function.js';
|
|
53
|
+
import { FabricSecretsRotate } from '../../src/fabric/functions/secrets-rotate.function.js';
|
|
53
54
|
import { FabricLogs } from '../../src/fabric/functions/logs.function.js';
|
|
54
55
|
import { FabricMetrics } from '../../src/fabric/functions/metrics.function.js';
|
|
55
56
|
import { FabricTrace } from '../../src/fabric/functions/trace.function.js';
|
|
@@ -335,6 +336,10 @@ wireChannel({
|
|
|
335
336
|
func: FabricSecretsList,
|
|
336
337
|
middleware: [cliCloseOnComplete],
|
|
337
338
|
},
|
|
339
|
+
'fabric.secrets.rotate': {
|
|
340
|
+
func: FabricSecretsRotate,
|
|
341
|
+
middleware: [cliCloseOnComplete],
|
|
342
|
+
},
|
|
338
343
|
'fabric.logs': {
|
|
339
344
|
func: FabricLogs,
|
|
340
345
|
middleware: [cliCloseOnComplete],
|
|
@@ -295,6 +295,21 @@
|
|
|
295
295
|
}
|
|
296
296
|
},
|
|
297
297
|
"description": "List stage secrets"
|
|
298
|
+
},
|
|
299
|
+
"rotate": {
|
|
300
|
+
"pikkuFuncId": "FabricSecretsRotate",
|
|
301
|
+
"positionals": [],
|
|
302
|
+
"options": {
|
|
303
|
+
"branch": {
|
|
304
|
+
"description": "Target branch",
|
|
305
|
+
"short": "b"
|
|
306
|
+
},
|
|
307
|
+
"force": {
|
|
308
|
+
"description": "Confirm that existing secrets become unreadable",
|
|
309
|
+
"default": false
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"description": "Retire a stage's sealing key (secrets must be set again)"
|
|
298
313
|
}
|
|
299
314
|
}
|
|
300
315
|
},
|
|
@@ -338,13 +338,41 @@
|
|
|
338
338
|
"description": "Comma-separated flow names to run (default: all)",
|
|
339
339
|
"short": "f"
|
|
340
340
|
},
|
|
341
|
+
"features": {
|
|
342
|
+
"description": "Comma-separated feature names to run (pikkuFeature exports) — the feature is the run unit, so its hooks run once around the group"
|
|
343
|
+
},
|
|
341
344
|
"tags": {
|
|
342
345
|
"description": "Comma-separated tags — run flows matching any",
|
|
343
346
|
"short": "t"
|
|
344
347
|
},
|
|
348
|
+
"excludeTags": {
|
|
349
|
+
"description": "Comma-separated tags to hold back — flows matching any are not run, unless named directly with --flows"
|
|
350
|
+
},
|
|
345
351
|
"coverage": {
|
|
346
352
|
"description": "Reset/snapshot server coverage per scenario (target must run with --coverage); writes coverage/scenario-coverage.json",
|
|
347
353
|
"default": false
|
|
354
|
+
},
|
|
355
|
+
"browser": {
|
|
356
|
+
"description": "Run scenarios with browser steps. --no-browser skips them (they are reported as skipped, not failed)",
|
|
357
|
+
"default": true
|
|
358
|
+
},
|
|
359
|
+
"spawn": {
|
|
360
|
+
"description": "Start `pikku dev` on the environment's apiUrl for the run and stop it afterwards. Without it, the environment must already be serving",
|
|
361
|
+
"default": false
|
|
362
|
+
},
|
|
363
|
+
"keepAlive": {
|
|
364
|
+
"description": "With --spawn, leave the server running after the run (dev loop)",
|
|
365
|
+
"default": false
|
|
366
|
+
},
|
|
367
|
+
"trace": {
|
|
368
|
+
"description": "Keep every stack frame on a failure. Without it, only the project’s own frames are shown",
|
|
369
|
+
"default": false
|
|
370
|
+
},
|
|
371
|
+
"apiUrl": {
|
|
372
|
+
"description": "Override the environment's apiUrl for this run — for a target that only exists at run time, such as a freshly deployed sandbox"
|
|
373
|
+
},
|
|
374
|
+
"appUrl": {
|
|
375
|
+
"description": "Override the environment's appUrl for this run (the frontend browser steps navigate against)"
|
|
348
376
|
}
|
|
349
377
|
},
|
|
350
378
|
"description": "Run scenarios against a configured environment (scenarios.environments in pikku.config.json). Actor secret comes from SCENARIO_ACTOR_SECRET.",
|
|
@@ -659,6 +687,21 @@
|
|
|
659
687
|
}
|
|
660
688
|
},
|
|
661
689
|
"description": "List stage secrets"
|
|
690
|
+
},
|
|
691
|
+
"rotate": {
|
|
692
|
+
"pikkuFuncId": "FabricSecretsRotate",
|
|
693
|
+
"positionals": [],
|
|
694
|
+
"options": {
|
|
695
|
+
"branch": {
|
|
696
|
+
"description": "Target branch",
|
|
697
|
+
"short": "b"
|
|
698
|
+
},
|
|
699
|
+
"force": {
|
|
700
|
+
"description": "Confirm that existing secrets become unreadable",
|
|
701
|
+
"default": false
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"description": "Retire a stage's sealing key (secrets must be set again)"
|
|
662
705
|
}
|
|
663
706
|
}
|
|
664
707
|
},
|
|
@@ -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.92
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Core function, middleware, and permission types for all wirings
|
|
@@ -17,7 +17,7 @@ import type { Services } from '../../types/application-types.d.js';
|
|
|
17
17
|
import type { Config } from '../../types/application-types.d.js';
|
|
18
18
|
import type { TypedPikkuRPC, FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js';
|
|
19
19
|
import type { RequiredSingletonServices, RequiredWireServices } from '../pikku-services.gen.js';
|
|
20
|
-
import type { TypedWorkflow, TypedScenario } from '../workflow/pikku-workflow-types.gen.js';
|
|
20
|
+
import type { TypedWorkflow, TypedScenario, TypedScenarioActors } from '../workflow/pikku-workflow-types.gen.js';
|
|
21
21
|
export type { SingletonServices as SingletonServices };
|
|
22
22
|
export type { Services as Services };
|
|
23
23
|
export type Session = UserSession;
|
|
@@ -226,7 +226,7 @@ export declare const pikkuApprovalDescription: <In = unknown, RequiredServices e
|
|
|
226
226
|
* @template Out - The output type that the function returns
|
|
227
227
|
* @template RequiredServices - Services required by this function
|
|
228
228
|
*/
|
|
229
|
-
export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends Services = WiredServices> = CorePikkuFunctionSessionless<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario>, RequiredWires>>;
|
|
229
|
+
export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends Services = WiredServices> = CorePikkuFunctionSessionless<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario, TypedScenarioActors>, RequiredWires>>;
|
|
230
230
|
/**
|
|
231
231
|
* A session-aware API function that requires user authentication.
|
|
232
232
|
* Use this for protected endpoints that need access to user session data.
|
|
@@ -235,7 +235,7 @@ export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires ex
|
|
|
235
235
|
* @template Out - The output type that the function returns
|
|
236
236
|
* @template RequiredServices - Services required by this function
|
|
237
237
|
*/
|
|
238
|
-
export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends Services = WiredServices> = CorePikkuFunction<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, true, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario>, RequiredWires>>;
|
|
238
|
+
export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends Services = WiredServices> = CorePikkuFunction<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, true, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario, TypedScenarioActors>, RequiredWires>>;
|
|
239
239
|
/**
|
|
240
240
|
* Helper type to infer the output type from a Standard Schema
|
|
241
241
|
*/
|
|
@@ -374,10 +374,29 @@
|
|
|
374
374
|
"outputs": [
|
|
375
375
|
"FabricSecretsListOutput"
|
|
376
376
|
],
|
|
377
|
-
"implementationHash": "
|
|
378
|
-
"contractHash": "
|
|
377
|
+
"implementationHash": "3305eeb42ea9b8a0",
|
|
378
|
+
"contractHash": "90239f445922c2c1",
|
|
379
379
|
"inputHash": "95d5dad0",
|
|
380
|
-
"outputHash": "
|
|
380
|
+
"outputHash": "d0b3b79e"
|
|
381
|
+
},
|
|
382
|
+
"FabricSecretsRotate": {
|
|
383
|
+
"pikkuFuncId": "FabricSecretsRotate",
|
|
384
|
+
"functionType": "user",
|
|
385
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
386
|
+
"sessionless": true,
|
|
387
|
+
"name": "FabricSecretsRotate",
|
|
388
|
+
"inputSchemaName": "FabricSecretsRotateInput",
|
|
389
|
+
"outputSchemaName": "FabricSecretsRotateOutput",
|
|
390
|
+
"inputs": [
|
|
391
|
+
"FabricSecretsRotateInput"
|
|
392
|
+
],
|
|
393
|
+
"outputs": [
|
|
394
|
+
"FabricSecretsRotateOutput"
|
|
395
|
+
],
|
|
396
|
+
"implementationHash": "346816bed87deec6",
|
|
397
|
+
"contractHash": "ea64632c9e870545",
|
|
398
|
+
"inputHash": "c4a580d9",
|
|
399
|
+
"outputHash": "4cc0b805"
|
|
381
400
|
},
|
|
382
401
|
"FabricSecretsSet": {
|
|
383
402
|
"pikkuFuncId": "FabricSecretsSet",
|
|
@@ -393,10 +412,10 @@
|
|
|
393
412
|
"outputs": [
|
|
394
413
|
"FabricSecretsSetOutput"
|
|
395
414
|
],
|
|
396
|
-
"implementationHash": "
|
|
397
|
-
"contractHash": "
|
|
415
|
+
"implementationHash": "740faf2c7b30b467",
|
|
416
|
+
"contractHash": "8a35b7051f8ac3f1",
|
|
398
417
|
"inputHash": "20e15156",
|
|
399
|
-
"outputHash": "
|
|
418
|
+
"outputHash": "7aa60e18"
|
|
400
419
|
},
|
|
401
420
|
"FabricSmoke": {
|
|
402
421
|
"pikkuFuncId": "FabricSmoke",
|
|
@@ -731,7 +750,7 @@
|
|
|
731
750
|
],
|
|
732
751
|
"outputs": [],
|
|
733
752
|
"remote": true,
|
|
734
|
-
"implementationHash": "
|
|
753
|
+
"implementationHash": "94987498de1905ff"
|
|
735
754
|
},
|
|
736
755
|
"pikkuEmailsInit": {
|
|
737
756
|
"pikkuFuncId": "pikkuEmailsInit",
|
|
@@ -1426,7 +1445,7 @@
|
|
|
1426
1445
|
"BootstrapInput"
|
|
1427
1446
|
],
|
|
1428
1447
|
"outputs": [],
|
|
1429
|
-
"implementationHash": "
|
|
1448
|
+
"implementationHash": "cc8d295fd220d45a",
|
|
1430
1449
|
"contractHash": "d699dbed25674fbe",
|
|
1431
1450
|
"inputHash": "83f342c1",
|
|
1432
1451
|
"outputHash": "0d154de9"
|
|
@@ -1458,7 +1477,7 @@
|
|
|
1458
1477
|
"ScenarioListInput"
|
|
1459
1478
|
],
|
|
1460
1479
|
"outputs": [],
|
|
1461
|
-
"implementationHash": "
|
|
1480
|
+
"implementationHash": "8b859b85b1994f5f",
|
|
1462
1481
|
"contractHash": "e790690833f027f6",
|
|
1463
1482
|
"inputHash": "dbf3a3d0",
|
|
1464
1483
|
"outputHash": "4cdcffbb"
|
|
@@ -1475,9 +1494,9 @@
|
|
|
1475
1494
|
"ScenarioRunInput"
|
|
1476
1495
|
],
|
|
1477
1496
|
"outputs": [],
|
|
1478
|
-
"implementationHash": "
|
|
1479
|
-
"contractHash": "
|
|
1480
|
-
"inputHash": "
|
|
1497
|
+
"implementationHash": "affe4a39e48566db",
|
|
1498
|
+
"contractHash": "aba3a8b79c67445a",
|
|
1499
|
+
"inputHash": "257a9d3c",
|
|
1481
1500
|
"outputHash": "73729ce5"
|
|
1482
1501
|
},
|
|
1483
1502
|
"scopesAudit": {
|
|
@@ -1523,7 +1542,7 @@
|
|
|
1523
1542
|
],
|
|
1524
1543
|
"outputs": [],
|
|
1525
1544
|
"remote": true,
|
|
1526
|
-
"implementationHash": "
|
|
1545
|
+
"implementationHash": "14a058c5e2987c14"
|
|
1527
1546
|
},
|
|
1528
1547
|
"pikkuSkillsList": {
|
|
1529
1548
|
"pikkuFuncId": "pikkuSkillsList",
|
|
@@ -1537,7 +1556,7 @@
|
|
|
1537
1556
|
"PikkuSkillsListInput"
|
|
1538
1557
|
],
|
|
1539
1558
|
"outputs": [],
|
|
1540
|
-
"implementationHash": "
|
|
1559
|
+
"implementationHash": "b3f9fa37fa1c827c",
|
|
1541
1560
|
"contractHash": "d451a024253eb4a7",
|
|
1542
1561
|
"inputHash": "235b88c0",
|
|
1543
1562
|
"outputHash": "0e851e9b"
|
|
@@ -1554,7 +1573,7 @@
|
|
|
1554
1573
|
"PikkuSkillsInstallInput"
|
|
1555
1574
|
],
|
|
1556
1575
|
"outputs": [],
|
|
1557
|
-
"implementationHash": "
|
|
1576
|
+
"implementationHash": "fdc12152733c53ec",
|
|
1558
1577
|
"contractHash": "3eb84a1491c58f86",
|
|
1559
1578
|
"inputHash": "8dfd97bd",
|
|
1560
1579
|
"outputHash": "2486db2e"
|
|
@@ -2184,7 +2203,7 @@
|
|
|
2184
2203
|
"outputs": [
|
|
2185
2204
|
"PikkuFunctionsOutput"
|
|
2186
2205
|
],
|
|
2187
|
-
"implementationHash": "
|
|
2206
|
+
"implementationHash": "042a4c0cca9a8a6c",
|
|
2188
2207
|
"middleware": [
|
|
2189
2208
|
{
|
|
2190
2209
|
"type": "wire",
|
|
@@ -2230,7 +2249,7 @@
|
|
|
2230
2249
|
"outputs": [
|
|
2231
2250
|
"PikkuSchemasOutput"
|
|
2232
2251
|
],
|
|
2233
|
-
"implementationHash": "
|
|
2252
|
+
"implementationHash": "1b54f33988f4db51",
|
|
2234
2253
|
"middleware": [
|
|
2235
2254
|
{
|
|
2236
2255
|
"type": "wire",
|
|
@@ -2962,7 +2981,7 @@
|
|
|
2962
2981
|
"outputs": [
|
|
2963
2982
|
"PikkuRPCOutput"
|
|
2964
2983
|
],
|
|
2965
|
-
"implementationHash": "
|
|
2984
|
+
"implementationHash": "29fe57e2d303eb36",
|
|
2966
2985
|
"middleware": [
|
|
2967
2986
|
{
|
|
2968
2987
|
"type": "wire",
|
|
@@ -2974,30 +2993,6 @@
|
|
|
2974
2993
|
"inputHash": "835d9763",
|
|
2975
2994
|
"outputHash": "b9430fb9"
|
|
2976
2995
|
},
|
|
2977
|
-
"pikkuScenarioFunctions": {
|
|
2978
|
-
"pikkuFuncId": "pikkuScenarioFunctions",
|
|
2979
|
-
"functionType": "user",
|
|
2980
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2981
|
-
"sessionless": true,
|
|
2982
|
-
"name": "pikkuScenarioFunctions",
|
|
2983
|
-
"inputSchemaName": null,
|
|
2984
|
-
"outputSchemaName": "PikkuScenarioFunctionsOutput",
|
|
2985
|
-
"inputs": [],
|
|
2986
|
-
"outputs": [
|
|
2987
|
-
"PikkuScenarioFunctionsOutput"
|
|
2988
|
-
],
|
|
2989
|
-
"implementationHash": "4027c6c9634a2aaa",
|
|
2990
|
-
"middleware": [
|
|
2991
|
-
{
|
|
2992
|
-
"type": "wire",
|
|
2993
|
-
"name": "logCommandInfoAndTime",
|
|
2994
|
-
"inline": false
|
|
2995
|
-
}
|
|
2996
|
-
],
|
|
2997
|
-
"contractHash": "78899caa494f4b1b",
|
|
2998
|
-
"inputHash": "42ad9097",
|
|
2999
|
-
"outputHash": "e1ecb9ff"
|
|
3000
|
-
},
|
|
3001
2996
|
"pikkuSchedulerTypes": {
|
|
3002
2997
|
"pikkuFuncId": "pikkuSchedulerTypes",
|
|
3003
2998
|
"functionType": "user",
|
|
@@ -3246,7 +3241,7 @@
|
|
|
3246
3241
|
"outputs": [
|
|
3247
3242
|
"PikkuWorkflowOutput"
|
|
3248
3243
|
],
|
|
3249
|
-
"implementationHash": "
|
|
3244
|
+
"implementationHash": "2b6fc206093884ae",
|
|
3250
3245
|
"middleware": [
|
|
3251
3246
|
{
|
|
3252
3247
|
"type": "wire",
|
|
@@ -3268,7 +3263,7 @@
|
|
|
3268
3263
|
"outputSchemaName": null,
|
|
3269
3264
|
"inputs": [],
|
|
3270
3265
|
"outputs": [],
|
|
3271
|
-
"implementationHash": "
|
|
3266
|
+
"implementationHash": "19756e8c1224e730",
|
|
3272
3267
|
"contractHash": "5cf046fc5045a072",
|
|
3273
3268
|
"inputHash": "d5ff2f31",
|
|
3274
3269
|
"outputHash": "391c291d"
|
|
@@ -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.92
|
|
3
3
|
*/
|
|
4
4
|
/* Import and register functions used by RPCs */
|
|
5
5
|
import { addFunction } from '@pikku/core/function';
|
|
@@ -64,7 +64,6 @@ import { pikkuRPCClient } from '../../src/functions/wirings/rpc/pikku-command-rp
|
|
|
64
64
|
import { pikkuRPCExposedMap } from '../../src/functions/wirings/rpc/pikku-command-rpc-map.js';
|
|
65
65
|
import { pikkuRPCInternalMap } from '../../src/functions/wirings/rpc/pikku-command-rpc-map.js';
|
|
66
66
|
import { pikkuRPCRemoteMap } from '../../src/functions/wirings/rpc/pikku-command-rpc-map.js';
|
|
67
|
-
import { pikkuScenarioFunctions } from '../../src/functions/wirings/scenarios/pikku-command-scenario-functions.js';
|
|
68
67
|
import { pikkuScheduler } from '../../src/functions/wirings/scheduler/pikku-command-scheduler.js';
|
|
69
68
|
import { pikkuSchedulerTypes } from '../../src/functions/wirings/scheduler/pikku-command-scheduler-types.js';
|
|
70
69
|
import { pikkuSchemas } from '../../src/functions/wirings/functions/schemas.js';
|
|
@@ -150,7 +149,6 @@ addFunction('pikkuRPCClient', pikkuRPCClient);
|
|
|
150
149
|
addFunction('pikkuRPCExposedMap', pikkuRPCExposedMap);
|
|
151
150
|
addFunction('pikkuRPCInternalMap', pikkuRPCInternalMap);
|
|
152
151
|
addFunction('pikkuRPCRemoteMap', pikkuRPCRemoteMap);
|
|
153
|
-
addFunction('pikkuScenarioFunctions', pikkuScenarioFunctions);
|
|
154
152
|
addFunction('pikkuScheduler', pikkuScheduler);
|
|
155
153
|
addFunction('pikkuSchedulerTypes', pikkuSchedulerTypes);
|
|
156
154
|
addFunction('pikkuSchemas', pikkuSchemas);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.92
|
|
3
|
+
*/
|
|
4
|
+
import './pikku-bootstrap.gen.js';
|
|
5
|
+
import './scenarios/schemas/register.gen.js';
|
|
6
|
+
import './scenarios/pikku-scenario-functions-meta.gen.js';
|
|
7
|
+
import './scenarios/pikku-scenario-functions.gen.js';
|
|
8
|
+
import './scenarios/pikku-scenario-wirings-meta.gen.js';
|
|
9
|
+
import './scenarios/pikku-scenario-wirings.gen.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.92
|
|
3
|
+
*/
|
|
4
|
+
import './pikku-bootstrap.gen.js';
|
|
5
|
+
import './scenarios/schemas/register.gen.js';
|
|
6
|
+
import './scenarios/pikku-scenario-functions-meta.gen.js';
|
|
7
|
+
import './scenarios/pikku-scenario-functions.gen.js';
|
|
8
|
+
import './scenarios/pikku-scenario-wirings-meta.gen.js';
|
|
9
|
+
import './scenarios/pikku-scenario-wirings.gen.js';
|