@pikku/cli 0.12.89 → 0.12.91

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.
Files changed (162) hide show
  1. package/README.md +25 -2
  2. package/console-app/assets/{index-BaOGIr2O.js → index-CpkvmAGb.js} +148 -148
  3. package/console-app/assets/{index-CSzCJzBb.css → index-D0HG8q0B.css} +1 -1
  4. package/console-app/index.html +2 -2
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  7. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-channel.js +21 -1
  9. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  10. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  11. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  12. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  13. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +6 -1
  14. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  15. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  16. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  17. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +52 -1
  18. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  19. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  20. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  21. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  22. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  23. package/dist/.pikku/function/pikku-function-types.gen.d.ts +4 -4
  24. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  25. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  26. package/dist/.pikku/function/pikku-functions-meta.gen.json +73 -13
  27. package/dist/.pikku/function/pikku-functions.gen.js +9 -1
  28. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  29. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  30. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  31. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  32. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +8 -0
  33. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +8 -0
  34. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  35. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  36. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  37. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  38. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  39. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  40. package/dist/.pikku/pikku-types.gen.js +1 -1
  41. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  42. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  43. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
  44. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
  45. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
  46. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  47. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +4 -0
  48. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +1 -0
  49. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +10 -0
  50. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  51. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +4 -0
  52. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +1 -0
  53. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +1 -0
  54. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +10 -0
  55. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +4 -0
  56. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +1 -0
  57. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  58. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  59. package/dist/.pikku/schemas/register.gen.js +9 -1
  60. package/dist/.pikku/schemas/schemas/DbBaselineInput.schema.json +1 -0
  61. package/dist/.pikku/schemas/schemas/DbCheckInput.schema.json +1 -0
  62. package/dist/.pikku/schemas/schemas/DbCodegenInput.schema.json +1 -0
  63. package/dist/.pikku/schemas/schemas/DbExportInput.schema.json +1 -0
  64. package/dist/.pikku/schemas/schemas/FabricValidateInput.schema.json +1 -1
  65. package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
  66. package/dist/.pikku/schemas/schemas/ScenarioRunInput.schema.json +1 -1
  67. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  68. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  69. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  70. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  71. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  72. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  73. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  74. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  75. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  76. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  77. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  78. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  79. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  80. package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts +19 -0
  81. package/dist/.pikku/workflow/pikku-scenario-actors.gen.js +17 -0
  82. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +152 -3
  83. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +39 -1
  84. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  85. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  86. package/dist/bin/pikku-bin.mjs +2 -2
  87. package/dist/src/cli.wiring.js +42 -0
  88. package/dist/src/fabric/fabric-commands.d.ts +9 -3
  89. package/dist/src/fabric/fabric-commands.js +6 -0
  90. package/dist/src/fabric/functions/validate.function.d.ts +15 -5
  91. package/dist/src/fabric/functions/validate.function.js +69 -16
  92. package/dist/src/fabric/lib/config.d.ts +11 -1
  93. package/dist/src/fabric/lib/config.js +39 -1
  94. package/dist/src/fabric/lib/frontend-typecheck.d.ts +46 -0
  95. package/dist/src/fabric/lib/frontend-typecheck.js +139 -0
  96. package/dist/src/functions/commands/db-baseline.d.ts +13 -0
  97. package/dist/src/functions/commands/db-baseline.js +48 -0
  98. package/dist/src/functions/commands/db-check.d.ts +12 -0
  99. package/dist/src/functions/commands/db-check.js +64 -0
  100. package/dist/src/functions/commands/db-codegen.d.ts +11 -0
  101. package/dist/src/functions/commands/db-codegen.js +39 -0
  102. package/dist/src/functions/commands/db-export.d.ts +12 -0
  103. package/dist/src/functions/commands/db-export.js +31 -0
  104. package/dist/src/functions/commands/db-generate.js +19 -26
  105. package/dist/src/functions/commands/dev.js +2 -0
  106. package/dist/src/functions/commands/load-user-project.d.ts +7 -0
  107. package/dist/src/functions/commands/load-user-project.js +21 -0
  108. package/dist/src/functions/commands/pikku-command-bootstrap.js +12 -0
  109. package/dist/src/functions/commands/scenario-browser.d.ts +69 -0
  110. package/dist/src/functions/commands/scenario-browser.js +60 -0
  111. package/dist/src/functions/commands/scenario-formatter.d.ts +81 -0
  112. package/dist/src/functions/commands/scenario-formatter.js +120 -0
  113. package/dist/src/functions/commands/scenario-ladder.d.ts +66 -0
  114. package/dist/src/functions/commands/scenario-ladder.js +132 -0
  115. package/dist/src/functions/commands/scenario-plan.d.ts +61 -0
  116. package/dist/src/functions/commands/scenario-plan.js +106 -0
  117. package/dist/src/functions/commands/scenario.d.ts +18 -0
  118. package/dist/src/functions/commands/scenario.js +305 -38
  119. package/dist/src/functions/commands/serve.js +2 -0
  120. package/dist/src/functions/db/db-migrator.d.ts +35 -4
  121. package/dist/src/functions/db/db-migrator.js +67 -10
  122. package/dist/src/functions/db/local-db.d.ts +235 -13
  123. package/dist/src/functions/db/local-db.js +430 -45
  124. package/dist/src/functions/db/postgres/postgres-introspector.js +19 -1
  125. package/dist/src/functions/db/postgres/postgres-migrator.d.ts +1 -0
  126. package/dist/src/functions/db/postgres/postgres-migrator.js +4 -1
  127. package/dist/src/functions/db/sqlite/sqlite-introspector.js +2 -1
  128. package/dist/src/functions/db/sqlite/sqlite-migrator.d.ts +1 -0
  129. package/dist/src/functions/db/sqlite/sqlite-migrator.js +6 -1
  130. package/dist/src/functions/wirings/functions/pikku-command-functions.js +26 -8
  131. package/dist/src/functions/wirings/functions/serialize-function-types.js +3 -3
  132. package/dist/src/functions/wirings/scenarios/scenario-partition.d.ts +29 -0
  133. package/dist/src/functions/wirings/scenarios/scenario-partition.js +58 -0
  134. package/dist/src/functions/wirings/scenarios/serialize-feature-meta.d.ts +14 -0
  135. package/dist/src/functions/wirings/scenarios/serialize-feature-meta.js +29 -0
  136. package/dist/src/functions/wirings/scenarios/serialize-scenario-meta.d.ts +12 -0
  137. package/dist/src/functions/wirings/scenarios/serialize-scenario-meta.js +56 -0
  138. package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.d.ts +7 -0
  139. package/dist/src/functions/wirings/scenarios/serialize-scenario-registration.js +40 -0
  140. package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +43 -8
  141. package/dist/src/functions/wirings/workflow/serialize-scenario-actors.d.ts +1 -1
  142. package/dist/src/functions/wirings/workflow/serialize-scenario-actors.js +13 -2
  143. package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.d.ts +4 -0
  144. package/dist/src/functions/wirings/workflow/serialize-scenario-step-map.js +62 -0
  145. package/dist/src/functions/wirings/workflow/serialize-workflow-bootstrap-map.js +10 -3
  146. package/dist/src/functions/wirings/workflow/serialize-workflow-map.js +10 -3
  147. package/dist/src/functions/wirings/workflow/serialize-workflow-meta.js +4 -4
  148. package/dist/src/functions/wirings/workflow/serialize-workflow-types.d.ts +1 -1
  149. package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +232 -3
  150. package/dist/src/server/server-ready.d.ts +12 -0
  151. package/dist/src/server/server-ready.js +12 -0
  152. package/dist/src/server/spawn-dev-server.d.ts +50 -0
  153. package/dist/src/server/spawn-dev-server.js +112 -0
  154. package/dist/src/services.js +12 -1
  155. package/dist/src/utils/meta-diff.js +5 -2
  156. package/dist/src/utils/pikku-cli-config.js +26 -0
  157. package/dist/src/utils/resolve-scenario-actors.d.ts +23 -0
  158. package/dist/src/utils/resolve-scenario-actors.js +74 -0
  159. package/dist/tsconfig.tsbuildinfo +1 -1
  160. package/package.json +16 -6
  161. package/skills/pikku-i18n/SKILL.md +53 -6
  162. package/skills/pikku-scenario/SKILL.md +196 -29
@@ -21,8 +21,8 @@
21
21
  }
22
22
  } catch (e) {}
23
23
  </script>
24
- <script type="module" crossorigin src="/console/assets/index-BaOGIr2O.js"></script>
25
- <link rel="stylesheet" crossorigin href="/console/assets/index-CSzCJzBb.css">
24
+ <script type="module" crossorigin src="/console/assets/index-CpkvmAGb.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.89
2
+ * This file was generated by @pikku/cli@0.12.91
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.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * WebSocket channel backend for 'pikku' CLI commands
@@ -23,6 +23,10 @@ import { pikkuEmailsInit } from '../../src/functions/commands/emails-init.js';
23
23
  import { pikkuEmails } from '../../src/functions/wirings/emails/pikku-command-emails.js';
24
24
  import { dbMigrate } from '../../src/functions/commands/db-migrate.js';
25
25
  import { dbGenerate } from '../../src/functions/commands/db-generate.js';
26
+ import { dbCheck } from '../../src/functions/commands/db-check.js';
27
+ import { dbBaseline } from '../../src/functions/commands/db-baseline.js';
28
+ import { dbCodegen } from '../../src/functions/commands/db-codegen.js';
29
+ import { dbExport } from '../../src/functions/commands/db-export.js';
26
30
  import { dbSeed } from '../../src/functions/commands/db-seed.js';
27
31
  import { dbReset } from '../../src/functions/commands/db-reset.js';
28
32
  import { dbAudit } from '../../src/functions/commands/db-audit.js';
@@ -223,6 +227,22 @@ wireChannel({
223
227
  func: dbGenerate,
224
228
  middleware: [cliCloseOnComplete],
225
229
  },
230
+ 'db.check': {
231
+ func: dbCheck,
232
+ middleware: [cliCloseOnComplete],
233
+ },
234
+ 'db.baseline': {
235
+ func: dbBaseline,
236
+ middleware: [cliCloseOnComplete],
237
+ },
238
+ 'db.codegen': {
239
+ func: dbCodegen,
240
+ middleware: [cliCloseOnComplete],
241
+ },
242
+ 'db.export': {
243
+ func: dbExport,
244
+ middleware: [cliCloseOnComplete],
245
+ },
226
246
  'db.seed': {
227
247
  func: dbSeed,
228
248
  middleware: [cliCloseOnComplete],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import '../pikku-bootstrap.gen.js';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import { executeCLIViaChannel } from '@pikku/core/cli/channel';
5
5
  import { CorePikkuWebsocket } from '@pikku/websocket';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import contractsMeta from './pikku-cli-contracts-meta.gen.json';
5
5
  export default contractsMeta;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import contractsMeta from './pikku-cli-contracts-meta.gen.json' with { type: 'json' };
5
5
  export default contractsMeta;
@@ -3,7 +3,12 @@
3
3
  "validate": {
4
4
  "pikkuFuncId": "FabricValidate",
5
5
  "positionals": [],
6
- "options": {},
6
+ "options": {
7
+ "skipTypecheck": {
8
+ "description": "Skip the frontend type-check the build container runs (structural checks only)",
9
+ "default": false
10
+ }
11
+ },
7
12
  "renderName": "renderValidate",
8
13
  "description": "Check the project structure for fabric compatibility — prints all missing or misconfigured items with fix hints"
9
14
  },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-cli-wirings-meta.gen.json' with { type: 'json' };
@@ -234,6 +234,30 @@
234
234
  "options": {},
235
235
  "description": "Generate SQL migrations from detected schema changes"
236
236
  },
237
+ "check": {
238
+ "pikkuFuncId": "dbCheck",
239
+ "positionals": [],
240
+ "options": {},
241
+ "description": "Report how the configured database differs from the schema its migrations define"
242
+ },
243
+ "baseline": {
244
+ "pikkuFuncId": "dbBaseline",
245
+ "positionals": [],
246
+ "options": {},
247
+ "description": "Record pending migrations as applied, for a database that already has what they describe"
248
+ },
249
+ "codegen": {
250
+ "pikkuFuncId": "dbCodegen",
251
+ "positionals": [],
252
+ "options": {},
253
+ "description": "Regenerate db/schema.gen.ts and db/zod.gen.ts from the migration files, without connecting to a database"
254
+ },
255
+ "export": {
256
+ "pikkuFuncId": "dbExport",
257
+ "positionals": [],
258
+ "options": {},
259
+ "description": "Publish this package's schema so projects consuming it as an addon can create its tables"
260
+ },
237
261
  "seed": {
238
262
  "pikkuFuncId": "dbSeed",
239
263
  "positionals": [],
@@ -314,13 +338,35 @@
314
338
  "description": "Comma-separated flow names to run (default: all)",
315
339
  "short": "f"
316
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
+ },
317
344
  "tags": {
318
345
  "description": "Comma-separated tags — run flows matching any",
319
346
  "short": "t"
320
347
  },
348
+ "excludeTags": {
349
+ "description": "Comma-separated tags to hold back — flows matching any are not run, unless named directly with --flows"
350
+ },
321
351
  "coverage": {
322
352
  "description": "Reset/snapshot server coverage per scenario (target must run with --coverage); writes coverage/scenario-coverage.json",
323
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
324
370
  }
325
371
  },
326
372
  "description": "Run scenarios against a configured environment (scenarios.environments in pikku.config.json). Actor secret comes from SCENARIO_ACTOR_SECRET.",
@@ -343,7 +389,12 @@
343
389
  "validate": {
344
390
  "pikkuFuncId": "FabricValidate",
345
391
  "positionals": [],
346
- "options": {},
392
+ "options": {
393
+ "skipTypecheck": {
394
+ "description": "Skip the frontend type-check the build container runs (structural checks only)",
395
+ "default": false
396
+ }
397
+ },
347
398
  "renderName": "renderValidate",
348
399
  "description": "Check the project structure for fabric compatibility — prints all missing or misconfigured items with fix hints"
349
400
  },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import '../../src/cli.wiring.js';
5
5
  import '../../src/services.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /* The files with an wireCLI function call */
5
5
  import '../../src/cli.wiring.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import '../pikku-bootstrap.gen.js';
5
5
  export declare function PikkuCLI(args: string[]): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import { executeCLI, CLIError } from '@pikku/core/cli';
5
5
  import { createConfig as createConfig } from '../../src/services.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.js';
5
5
  export type NodeCategory = never;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
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
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };
@@ -469,9 +469,9 @@
469
469
  "outputs": [
470
470
  "FabricValidateOutput"
471
471
  ],
472
- "implementationHash": "5656eddab4790c36",
473
- "contractHash": "034e025bd6e0261f",
474
- "inputHash": "a14e4308",
472
+ "implementationHash": "e46945e5c6648b9c",
473
+ "contractHash": "f35b7f326082a49f",
474
+ "inputHash": "2f00fd21",
475
475
  "outputHash": "bb91f545"
476
476
  },
477
477
  "all": {
@@ -549,6 +549,66 @@
549
549
  "remote": true,
550
550
  "implementationHash": "6d6a6409812a7b2c"
551
551
  },
552
+ "dbBaseline": {
553
+ "pikkuFuncId": "dbBaseline",
554
+ "functionType": "user",
555
+ "funcWrapper": "pikkuSessionlessFunc",
556
+ "sessionless": true,
557
+ "name": "dbBaseline",
558
+ "inputSchemaName": "DbBaselineInput",
559
+ "outputSchemaName": null,
560
+ "inputs": [
561
+ "DbBaselineInput"
562
+ ],
563
+ "outputs": [],
564
+ "remote": true,
565
+ "implementationHash": "00c66e21e8d52fbd"
566
+ },
567
+ "dbCheck": {
568
+ "pikkuFuncId": "dbCheck",
569
+ "functionType": "user",
570
+ "funcWrapper": "pikkuSessionlessFunc",
571
+ "sessionless": true,
572
+ "name": "dbCheck",
573
+ "inputSchemaName": "DbCheckInput",
574
+ "outputSchemaName": null,
575
+ "inputs": [
576
+ "DbCheckInput"
577
+ ],
578
+ "outputs": [],
579
+ "remote": true,
580
+ "implementationHash": "7df84f52390bd5c0"
581
+ },
582
+ "dbCodegen": {
583
+ "pikkuFuncId": "dbCodegen",
584
+ "functionType": "user",
585
+ "funcWrapper": "pikkuSessionlessFunc",
586
+ "sessionless": true,
587
+ "name": "dbCodegen",
588
+ "inputSchemaName": "DbCodegenInput",
589
+ "outputSchemaName": null,
590
+ "inputs": [
591
+ "DbCodegenInput"
592
+ ],
593
+ "outputs": [],
594
+ "remote": true,
595
+ "implementationHash": "bc164c979ddc5a20"
596
+ },
597
+ "dbExport": {
598
+ "pikkuFuncId": "dbExport",
599
+ "functionType": "user",
600
+ "funcWrapper": "pikkuSessionlessFunc",
601
+ "sessionless": true,
602
+ "name": "dbExport",
603
+ "inputSchemaName": "DbExportInput",
604
+ "outputSchemaName": null,
605
+ "inputs": [
606
+ "DbExportInput"
607
+ ],
608
+ "outputs": [],
609
+ "remote": true,
610
+ "implementationHash": "f1b7247f064730e1"
611
+ },
552
612
  "dbGenerate": {
553
613
  "pikkuFuncId": "dbGenerate",
554
614
  "functionType": "user",
@@ -562,7 +622,7 @@
562
622
  ],
563
623
  "outputs": [],
564
624
  "remote": true,
565
- "implementationHash": "eccad4165faeb4f8"
625
+ "implementationHash": "403accba1680cd4a"
566
626
  },
567
627
  "dbMigrate": {
568
628
  "pikkuFuncId": "dbMigrate",
@@ -671,7 +731,7 @@
671
731
  ],
672
732
  "outputs": [],
673
733
  "remote": true,
674
- "implementationHash": "4bd66693129ae5d5"
734
+ "implementationHash": "2be74ae8c0ad9a60"
675
735
  },
676
736
  "pikkuEmailsInit": {
677
737
  "pikkuFuncId": "pikkuEmailsInit",
@@ -1366,7 +1426,7 @@
1366
1426
  "BootstrapInput"
1367
1427
  ],
1368
1428
  "outputs": [],
1369
- "implementationHash": "bff81f186c6a4bf8",
1429
+ "implementationHash": "09b4cfd94170ca40",
1370
1430
  "contractHash": "d699dbed25674fbe",
1371
1431
  "inputHash": "83f342c1",
1372
1432
  "outputHash": "0d154de9"
@@ -1398,7 +1458,7 @@
1398
1458
  "ScenarioListInput"
1399
1459
  ],
1400
1460
  "outputs": [],
1401
- "implementationHash": "10cdf01b8ce96dae",
1461
+ "implementationHash": "8b859b85b1994f5f",
1402
1462
  "contractHash": "e790690833f027f6",
1403
1463
  "inputHash": "dbf3a3d0",
1404
1464
  "outputHash": "4cdcffbb"
@@ -1415,9 +1475,9 @@
1415
1475
  "ScenarioRunInput"
1416
1476
  ],
1417
1477
  "outputs": [],
1418
- "implementationHash": "3b6de748ea927ded",
1419
- "contractHash": "7bfd5a3494c4511d",
1420
- "inputHash": "39c5701c",
1478
+ "implementationHash": "094c55cb64c30fea",
1479
+ "contractHash": "f0b9f6f9e118fb8d",
1480
+ "inputHash": "bb074ca5",
1421
1481
  "outputHash": "73729ce5"
1422
1482
  },
1423
1483
  "scopesAudit": {
@@ -1463,7 +1523,7 @@
1463
1523
  ],
1464
1524
  "outputs": [],
1465
1525
  "remote": true,
1466
- "implementationHash": "ce8658832c560eea"
1526
+ "implementationHash": "14a058c5e2987c14"
1467
1527
  },
1468
1528
  "pikkuSkillsList": {
1469
1529
  "pikkuFuncId": "pikkuSkillsList",
@@ -2124,7 +2184,7 @@
2124
2184
  "outputs": [
2125
2185
  "PikkuFunctionsOutput"
2126
2186
  ],
2127
- "implementationHash": "4c36b401529dd16f",
2187
+ "implementationHash": "042a4c0cca9a8a6c",
2128
2188
  "middleware": [
2129
2189
  {
2130
2190
  "type": "wire",
@@ -3186,7 +3246,7 @@
3186
3246
  "outputs": [
3187
3247
  "PikkuWorkflowOutput"
3188
3248
  ],
3189
- "implementationHash": "336b447a76456e0a",
3249
+ "implementationHash": "2b6fc206093884ae",
3190
3250
  "middleware": [
3191
3251
  {
3192
3252
  "type": "wire",
@@ -1,11 +1,15 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /* Import and register functions used by RPCs */
5
5
  import { addFunction } from '@pikku/core/function';
6
6
  import { all } from '../../src/functions/commands/all.js';
7
7
  import { bootstrap } from '../../src/functions/commands/bootstrap.js';
8
8
  import { dbAudit } from '../../src/functions/commands/db-audit.js';
9
+ import { dbBaseline } from '../../src/functions/commands/db-baseline.js';
10
+ import { dbCheck } from '../../src/functions/commands/db-check.js';
11
+ import { dbCodegen } from '../../src/functions/commands/db-codegen.js';
12
+ import { dbExport } from '../../src/functions/commands/db-export.js';
9
13
  import { dbGenerate } from '../../src/functions/commands/db-generate.js';
10
14
  import { dbMigrate } from '../../src/functions/commands/db-migrate.js';
11
15
  import { dbReset } from '../../src/functions/commands/db-reset.js';
@@ -88,6 +92,10 @@ import { watch } from '../../src/functions/commands/watch.js';
88
92
  addFunction('all', all);
89
93
  addFunction('bootstrap', bootstrap);
90
94
  addFunction('dbAudit', dbAudit);
95
+ addFunction('dbBaseline', dbBaseline);
96
+ addFunction('dbCheck', dbCheck);
97
+ addFunction('dbCodegen', dbCodegen);
98
+ addFunction('dbExport', dbExport);
91
99
  addFunction('dbGenerate', dbGenerate);
92
100
  addFunction('dbMigrate', dbMigrate);
93
101
  addFunction('dbReset', dbReset);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.91
3
+ */
4
+ import './pikku-bootstrap.gen.js';
5
+ import './scenarios/pikku-scenario-functions-meta.gen.js';
6
+ import './scenarios/pikku-scenario-functions.gen.js';
7
+ import './scenarios/pikku-scenario-wirings-meta.gen.js';
8
+ import './scenarios/pikku-scenario-wirings.gen.js';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.91
3
+ */
4
+ import './pikku-bootstrap.gen.js';
5
+ import './scenarios/pikku-scenario-functions-meta.gen.js';
6
+ import './scenarios/pikku-scenario-functions.gen.js';
7
+ import './scenarios/pikku-scenario-wirings-meta.gen.js';
8
+ import './scenarios/pikku-scenario-wirings.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.89
2
+ * This file was generated by @pikku/cli@0.12.91
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-queue-workers-wirings-meta.gen.json' with { type: 'json' };