@pikku/cli 0.12.20 → 0.12.22

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 (455) hide show
  1. package/cli.schema.json +1 -1
  2. package/console-app/assets/index-C52h1B_L.css +1 -0
  3. package/console-app/assets/index-CAk106ji.js +232 -0
  4. package/console-app/index.html +3 -6
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +3 -3
  7. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  8. package/dist/.pikku/cli/pikku-cli-channel.d.ts +6 -6
  9. package/dist/.pikku/cli/pikku-cli-channel.js +280 -1
  10. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  11. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  12. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  13. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +792 -8
  14. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  15. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  16. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  17. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  18. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  19. package/dist/.pikku/function/pikku-function-types.gen.d.ts +44 -70
  20. package/dist/.pikku/function/pikku-function-types.gen.js +33 -40
  21. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  22. package/dist/.pikku/function/pikku-functions-meta.gen.json +1439 -316
  23. package/dist/.pikku/function/pikku-functions.gen.js +21 -9
  24. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  25. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  26. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
  27. package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
  28. package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
  29. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  30. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  31. package/dist/.pikku/pikku-bootstrap.gen.d.ts +3 -1
  32. package/dist/.pikku/pikku-bootstrap.gen.js +3 -1
  33. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  34. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  35. package/dist/.pikku/pikku-services.gen.d.ts +2 -1
  36. package/dist/.pikku/pikku-services.gen.js +1 -0
  37. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  38. package/dist/.pikku/pikku-types.gen.js +1 -1
  39. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  40. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  41. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.d.ts +1 -0
  42. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +6 -0
  43. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +250 -0
  44. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +4 -0
  45. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +5 -0
  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 +66 -10
  48. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  49. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  50. package/dist/.pikku/schemas/register.gen.js +157 -11
  51. package/dist/.pikku/schemas/schemas/BinaryInput.schema.json +1 -0
  52. package/dist/.pikku/schemas/schemas/DbMigrateInput.schema.json +1 -0
  53. package/dist/.pikku/schemas/schemas/DbResetInput.schema.json +1 -0
  54. package/dist/.pikku/schemas/schemas/DbSeedInput.schema.json +1 -0
  55. package/dist/.pikku/schemas/schemas/FabricDbSchemaInput.schema.json +1 -0
  56. package/dist/.pikku/schemas/schemas/FabricDbSchemaOutput.schema.json +1 -0
  57. package/dist/.pikku/schemas/schemas/FabricDeployApplyInput.schema.json +1 -0
  58. package/dist/.pikku/schemas/schemas/FabricDeployApplyOutput.schema.json +1 -0
  59. package/dist/.pikku/schemas/schemas/FabricDeployListInput.schema.json +1 -0
  60. package/dist/.pikku/schemas/schemas/FabricDeployListOutput.schema.json +1 -0
  61. package/dist/.pikku/schemas/schemas/FabricDeployPlanInput.schema.json +1 -0
  62. package/dist/.pikku/schemas/schemas/FabricDeployPlanOutput.schema.json +1 -0
  63. package/dist/.pikku/schemas/schemas/FabricDeployUnitsInput.schema.json +1 -0
  64. package/dist/.pikku/schemas/schemas/FabricDeployUnitsOutput.schema.json +1 -0
  65. package/dist/.pikku/schemas/schemas/FabricDomainsAddInput.schema.json +1 -0
  66. package/dist/.pikku/schemas/schemas/FabricDomainsAddOutput.schema.json +1 -0
  67. package/dist/.pikku/schemas/schemas/FabricDomainsListInput.schema.json +1 -0
  68. package/dist/.pikku/schemas/schemas/FabricDomainsListOutput.schema.json +1 -0
  69. package/dist/.pikku/schemas/schemas/FabricDomainsRemoveInput.schema.json +1 -0
  70. package/dist/.pikku/schemas/schemas/FabricDomainsRemoveOutput.schema.json +1 -0
  71. package/dist/.pikku/schemas/schemas/FabricErrorsInput.schema.json +1 -0
  72. package/dist/.pikku/schemas/schemas/FabricErrorsOutput.schema.json +1 -0
  73. package/dist/.pikku/schemas/schemas/FabricInitInput.schema.json +1 -0
  74. package/dist/.pikku/schemas/schemas/FabricInitOutput.schema.json +1 -0
  75. package/dist/.pikku/schemas/schemas/FabricLLMKeyInput.schema.json +1 -0
  76. package/dist/.pikku/schemas/schemas/FabricLLMKeyOutput.schema.json +1 -0
  77. package/dist/.pikku/schemas/schemas/FabricLinkInput.schema.json +1 -0
  78. package/dist/.pikku/schemas/schemas/FabricLinkOutput.schema.json +1 -0
  79. package/dist/.pikku/schemas/schemas/FabricLoginInput.schema.json +1 -0
  80. package/dist/.pikku/schemas/schemas/FabricLoginOutput.schema.json +1 -0
  81. package/dist/.pikku/schemas/schemas/FabricLogsInput.schema.json +1 -0
  82. package/dist/.pikku/schemas/schemas/FabricLogsOutput.schema.json +1 -0
  83. package/dist/.pikku/schemas/schemas/FabricMetricsInput.schema.json +1 -0
  84. package/dist/.pikku/schemas/schemas/FabricMetricsOutput.schema.json +1 -0
  85. package/dist/.pikku/schemas/schemas/FabricRollbackInput.schema.json +1 -0
  86. package/dist/.pikku/schemas/schemas/FabricRollbackOutput.schema.json +1 -0
  87. package/dist/.pikku/schemas/schemas/FabricSecretsListInput.schema.json +1 -0
  88. package/dist/.pikku/schemas/schemas/FabricSecretsListOutput.schema.json +1 -0
  89. package/dist/.pikku/schemas/schemas/FabricSecretsSetInput.schema.json +1 -0
  90. package/dist/.pikku/schemas/schemas/FabricSecretsSetOutput.schema.json +1 -0
  91. package/dist/.pikku/schemas/schemas/FabricStatusInput.schema.json +1 -0
  92. package/dist/.pikku/schemas/schemas/FabricStatusOutput.schema.json +1 -0
  93. package/dist/.pikku/schemas/schemas/FabricTraceInput.schema.json +1 -0
  94. package/dist/.pikku/schemas/schemas/FabricTraceOutput.schema.json +1 -0
  95. package/dist/.pikku/schemas/schemas/FabricValidateInput.schema.json +1 -0
  96. package/dist/.pikku/schemas/schemas/FabricValidateOutput.schema.json +1 -0
  97. package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
  98. package/dist/.pikku/schemas/schemas/PikkuCommandChannelsOutput.schema.json +1 -0
  99. package/dist/.pikku/schemas/schemas/PikkuCommandHTTPOutput.schema.json +1 -0
  100. package/dist/.pikku/schemas/schemas/PikkuCommandQueueOutput.schema.json +1 -0
  101. package/dist/.pikku/schemas/schemas/PikkuEventsScaffoldOutput.schema.json +1 -0
  102. package/dist/.pikku/schemas/schemas/PikkuMetaClientsInput.schema.json +1 -0
  103. package/dist/.pikku/schemas/schemas/PikkuMetaContextInput.schema.json +1 -0
  104. package/dist/.pikku/schemas/schemas/PikkuMetaFunctionsGetInput.schema.json +1 -0
  105. package/dist/.pikku/schemas/schemas/PikkuMetaFunctionsListInput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/PikkuMetaMiddlewareGetInput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/PikkuMetaMiddlewareListInput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/PikkuMetaPermissionsGetInput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/PikkuMetaPermissionsListInput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/PikkuMetaSchemasGetInput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/PikkuMetaSchemasListInput.schema.json +1 -0
  112. package/dist/.pikku/schemas/schemas/PikkuMetaWiresChannelInput.schema.json +1 -0
  113. package/dist/.pikku/schemas/schemas/PikkuMetaWiresHttpInput.schema.json +1 -0
  114. package/dist/.pikku/schemas/schemas/PikkuMetaWiresListInput.schema.json +1 -0
  115. package/dist/.pikku/schemas/schemas/PikkuMetaWiresQueueInput.schema.json +1 -0
  116. package/dist/.pikku/schemas/schemas/PikkuMetaWiresSchedulerInput.schema.json +1 -0
  117. package/dist/.pikku/schemas/schemas/PikkuMetaWiresTriggerInput.schema.json +1 -0
  118. package/dist/.pikku/schemas/schemas/PikkuMetaWiresTypeInput.schema.json +1 -0
  119. package/dist/.pikku/schemas/schemas/PikkuMetaWorkflowsGetInput.schema.json +1 -0
  120. package/dist/.pikku/schemas/schemas/PikkuMetaWorkflowsListInput.schema.json +1 -0
  121. package/dist/.pikku/schemas/schemas/PikkuSkillsInstallInput.schema.json +1 -0
  122. package/dist/.pikku/schemas/schemas/PikkuSkillsListInput.schema.json +1 -0
  123. package/dist/.pikku/schemas/schemas/PikkuTestsCoverageInput.schema.json +1 -0
  124. package/dist/.pikku/schemas/schemas/PikkuTestsInitInput.schema.json +1 -0
  125. package/dist/.pikku/schemas/schemas/WorkflowRunStatus.schema.json +1 -1
  126. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  127. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  128. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  129. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  130. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  131. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  132. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  133. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  134. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  135. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  136. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +237 -629
  137. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
  138. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  139. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  140. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  141. package/dist/bin/pikku-bin.mjs +23 -0
  142. package/dist/bin/pikku.js +28 -1
  143. package/dist/src/cli.wiring.js +286 -10
  144. package/dist/src/deploy/analyzer/analyzer.d.ts +16 -1
  145. package/dist/src/deploy/analyzer/analyzer.js +83 -43
  146. package/dist/src/deploy/analyzer/manifest.d.ts +10 -0
  147. package/dist/src/deploy/build-pipeline.d.ts +2 -0
  148. package/dist/src/deploy/build-pipeline.js +123 -19
  149. package/dist/src/deploy/bundler/bundler.d.ts +3 -1
  150. package/dist/src/deploy/bundler/bundler.js +40 -9
  151. package/dist/src/deploy/bundler/dep-extractor.d.ts +5 -2
  152. package/dist/src/deploy/bundler/dep-extractor.js +103 -23
  153. package/dist/src/deploy/bundler/types.d.ts +5 -1
  154. package/dist/src/deploy/codegen/per-unit-codegen.d.ts +11 -1
  155. package/dist/src/deploy/codegen/per-unit-codegen.js +49 -6
  156. package/dist/src/deploy/plan/planner.js +25 -3
  157. package/dist/src/deploy/plan/provider.d.ts +2 -0
  158. package/dist/src/deploy/provider-adapter.d.ts +34 -0
  159. package/dist/src/deploy/server-entry.d.ts +16 -0
  160. package/dist/src/deploy/server-entry.js +81 -0
  161. package/dist/src/fabric/fabric-commands.d.ts +522 -0
  162. package/dist/src/fabric/fabric-commands.js +299 -0
  163. package/dist/src/fabric/functions/db-schema.function.d.ts +35 -0
  164. package/dist/src/fabric/functions/db-schema.function.js +37 -0
  165. package/dist/src/fabric/functions/deploy-list.function.d.ts +41 -0
  166. package/dist/src/fabric/functions/deploy-list.function.js +43 -0
  167. package/dist/src/fabric/functions/deploy-units.function.d.ts +35 -0
  168. package/dist/src/fabric/functions/deploy-units.function.js +41 -0
  169. package/dist/src/fabric/functions/deploy.function.d.ts +105 -0
  170. package/dist/src/fabric/functions/deploy.function.js +122 -0
  171. package/dist/src/fabric/functions/domains-add.function.d.ts +35 -0
  172. package/dist/src/fabric/functions/domains-add.function.js +46 -0
  173. package/dist/src/fabric/functions/domains-list.function.d.ts +20 -0
  174. package/dist/src/fabric/functions/domains-list.function.js +50 -0
  175. package/dist/src/fabric/functions/domains-remove.function.d.ts +24 -0
  176. package/dist/src/fabric/functions/domains-remove.function.js +44 -0
  177. package/dist/src/fabric/functions/errors.function.d.ts +44 -0
  178. package/dist/src/fabric/functions/errors.function.js +50 -0
  179. package/dist/src/fabric/functions/init.function.d.ts +51 -0
  180. package/dist/src/fabric/functions/init.function.js +54 -0
  181. package/dist/src/fabric/functions/link.function.d.ts +28 -0
  182. package/dist/src/fabric/functions/link.function.js +77 -0
  183. package/dist/src/fabric/functions/llm-key.function.d.ts +46 -0
  184. package/dist/src/fabric/functions/llm-key.function.js +76 -0
  185. package/dist/src/fabric/functions/login.function.d.ts +42 -0
  186. package/dist/src/fabric/functions/login.function.js +68 -0
  187. package/dist/src/fabric/functions/logs.function.d.ts +40 -0
  188. package/dist/src/fabric/functions/logs.function.js +84 -0
  189. package/dist/src/fabric/functions/metrics.function.d.ts +32 -0
  190. package/dist/src/fabric/functions/metrics.function.js +49 -0
  191. package/dist/src/fabric/functions/rollback.function.d.ts +76 -0
  192. package/dist/src/fabric/functions/rollback.function.js +69 -0
  193. package/dist/src/fabric/functions/secrets-list.function.d.ts +24 -0
  194. package/dist/src/fabric/functions/secrets-list.function.js +37 -0
  195. package/dist/src/fabric/functions/secrets-set.function.d.ts +32 -0
  196. package/dist/src/fabric/functions/secrets-set.function.js +36 -0
  197. package/dist/src/fabric/functions/status.function.d.ts +34 -0
  198. package/dist/src/fabric/functions/status.function.js +43 -0
  199. package/dist/src/fabric/functions/trace.function.d.ts +28 -0
  200. package/dist/src/fabric/functions/trace.function.js +45 -0
  201. package/dist/src/fabric/functions/validate.function.d.ts +50 -0
  202. package/dist/src/fabric/functions/validate.function.js +363 -0
  203. package/dist/src/fabric/lib/config.d.ts +64 -0
  204. package/dist/src/fabric/lib/config.js +62 -0
  205. package/dist/src/fabric/lib/console-url.d.ts +5 -0
  206. package/dist/src/fabric/lib/console-url.js +13 -0
  207. package/dist/src/fabric/lib/git.d.ts +53 -0
  208. package/dist/src/fabric/lib/git.js +151 -0
  209. package/dist/src/fabric/lib/http.d.ts +4 -0
  210. package/dist/src/fabric/lib/http.js +12 -0
  211. package/dist/src/fabric/lib/not-implemented.d.ts +5 -0
  212. package/dist/src/fabric/lib/not-implemented.js +8 -0
  213. package/dist/src/fabric/lib/output.d.ts +23 -0
  214. package/dist/src/fabric/lib/output.js +39 -0
  215. package/dist/src/fabric/lib/prompt.d.ts +12 -0
  216. package/dist/src/fabric/lib/prompt.js +32 -0
  217. package/dist/src/fabric/lib/stage.d.ts +7 -0
  218. package/dist/src/fabric/lib/stage.js +14 -0
  219. package/dist/src/fabric/sdk/pikku-fetch.gen.d.ts +14 -0
  220. package/dist/src/fabric/sdk/pikku-fetch.gen.js +30 -0
  221. package/dist/src/fabric/sdk/pikku-rpc.gen.d.ts +105 -0
  222. package/dist/src/fabric/sdk/pikku-rpc.gen.js +126 -0
  223. package/dist/src/functions/commands/all.d.ts +1 -1
  224. package/dist/src/functions/commands/binary.d.ts +7 -0
  225. package/dist/src/functions/commands/binary.js +40 -0
  226. package/dist/src/functions/commands/bootstrap.d.ts +1 -1
  227. package/dist/src/functions/commands/bootstrap.js +7 -4
  228. package/dist/src/functions/commands/console.d.ts +3 -3
  229. package/dist/src/functions/commands/db-migrate.d.ts +1 -0
  230. package/dist/src/functions/commands/db-migrate.js +35 -0
  231. package/dist/src/functions/commands/db-reset.d.ts +1 -0
  232. package/dist/src/functions/commands/db-reset.js +36 -0
  233. package/dist/src/functions/commands/db-seed.d.ts +1 -0
  234. package/dist/src/functions/commands/db-seed.js +27 -0
  235. package/dist/src/functions/commands/db-shared.d.ts +32 -0
  236. package/dist/src/functions/commands/db-shared.js +26 -0
  237. package/dist/src/functions/commands/deploy-apply.d.ts +3 -3
  238. package/dist/src/functions/commands/deploy-apply.js +6 -4
  239. package/dist/src/functions/commands/deploy-info.d.ts +1 -1
  240. package/dist/src/functions/commands/deploy-plan.d.ts +3 -3
  241. package/dist/src/functions/commands/deploy-plan.js +7 -1
  242. package/dist/src/functions/commands/dev.d.ts +3 -3
  243. package/dist/src/functions/commands/dev.js +142 -86
  244. package/dist/src/functions/commands/enable.d.ts +5 -4
  245. package/dist/src/functions/commands/enable.js +4 -0
  246. package/dist/src/functions/commands/info.d.ts +4 -4
  247. package/dist/src/functions/commands/load-user-project.d.ts +11 -0
  248. package/dist/src/functions/commands/load-user-project.js +40 -0
  249. package/dist/src/functions/commands/meta.d.ts +82 -0
  250. package/dist/src/functions/commands/meta.js +454 -0
  251. package/dist/src/functions/commands/new-addon.d.ts +3 -3
  252. package/dist/src/functions/commands/new-function.d.ts +3 -3
  253. package/dist/src/functions/commands/new-middleware.d.ts +3 -3
  254. package/dist/src/functions/commands/new-permission.d.ts +3 -3
  255. package/dist/src/functions/commands/new-wiring.d.ts +3 -3
  256. package/dist/src/functions/commands/pikku-command-bootstrap.d.ts +1 -1
  257. package/dist/src/functions/commands/pikku-command-bootstrap.js +15 -1
  258. package/dist/src/functions/commands/pikku-command-summary.d.ts +1 -1
  259. package/dist/src/functions/commands/pikku-command-summary.js +7 -1
  260. package/dist/src/functions/commands/skills.d.ts +26 -0
  261. package/dist/src/functions/commands/skills.js +184 -0
  262. package/dist/src/functions/commands/tests-coverage.d.ts +7 -0
  263. package/dist/src/functions/commands/tests-coverage.js +231 -0
  264. package/dist/src/functions/commands/tests-init.d.ts +7 -0
  265. package/dist/src/functions/commands/tests-init.js +225 -0
  266. package/dist/src/functions/commands/versions-check.d.ts +1 -1
  267. package/dist/src/functions/commands/versions-init.d.ts +3 -3
  268. package/dist/src/functions/commands/versions-update.d.ts +1 -1
  269. package/dist/src/functions/commands/versions-update.js +4 -2
  270. package/dist/src/functions/commands/watch.d.ts +3 -3
  271. package/dist/src/functions/commands/watch.js +1 -1
  272. package/dist/src/functions/db/local-db.d.ts +48 -0
  273. package/dist/src/functions/db/local-db.js +106 -0
  274. package/dist/src/functions/db/seed.d.ts +11 -0
  275. package/dist/src/functions/db/seed.js +22 -0
  276. package/dist/src/functions/db/sql-migrator.d.ts +26 -0
  277. package/dist/src/functions/db/sql-migrator.js +104 -0
  278. package/dist/src/functions/db/sqlite-codegen.d.ts +45 -0
  279. package/dist/src/functions/db/sqlite-codegen.js +294 -0
  280. package/dist/src/functions/db/zod-codegen.d.ts +10 -0
  281. package/dist/src/functions/db/zod-codegen.js +109 -0
  282. package/dist/src/functions/runtimes/fetch/index.d.ts +1 -1
  283. package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.d.ts +1 -1
  284. package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.js +21 -2
  285. package/dist/src/functions/runtimes/nextjs/serialize-nextjs-backend-worker-rpc-wrapper.d.ts +1 -0
  286. package/dist/src/functions/runtimes/nextjs/serialize-nextjs-backend-worker-rpc-wrapper.js +163 -0
  287. package/dist/src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.d.ts +1 -1
  288. package/dist/src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.js +5 -2
  289. package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.d.ts +1 -0
  290. package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.js +32 -0
  291. package/dist/src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.d.ts +11 -0
  292. package/dist/src/functions/runtimes/tanstack-start/serialize-tanstack-start-shim.js +36 -0
  293. package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.d.ts +1 -1
  294. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +1 -1
  295. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +1 -1
  296. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.js +1 -10
  297. package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.d.ts +1 -1
  298. package/dist/src/functions/wirings/ai-agent/serialize-public-agent.js +76 -1
  299. package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
  300. package/dist/src/functions/wirings/channels/pikku-command-channel-types.d.ts +1 -1
  301. package/dist/src/functions/wirings/channels/pikku-command-channels-map.d.ts +1 -1
  302. package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
  303. package/dist/src/functions/wirings/channels/pikku-command-channels.js +1 -1
  304. package/dist/src/functions/wirings/cli/pikku-command-cli-entry.d.ts +1 -1
  305. package/dist/src/functions/wirings/cli/pikku-command-cli-entry.js +5 -2
  306. package/dist/src/functions/wirings/cli/pikku-command-cli-types.d.ts +5 -1
  307. package/dist/src/functions/wirings/cli/pikku-command-cli-types.js +8 -2
  308. package/dist/src/functions/wirings/cli/pikku-command-cli.d.ts +1 -1
  309. package/dist/src/functions/wirings/cli/serialize-channel-cli-client.js +27 -9
  310. package/dist/src/functions/wirings/cli/serialize-channel-cli.d.ts +5 -1
  311. package/dist/src/functions/wirings/cli/serialize-channel-cli.js +13 -3
  312. package/dist/src/functions/wirings/console/pikku-command-console-functions.d.ts +1 -1
  313. package/dist/src/functions/wirings/console/pikku-command-console-functions.js +5 -1
  314. package/dist/src/functions/wirings/console/pikku-command-node-types.d.ts +1 -1
  315. package/dist/src/functions/wirings/console/pikku-command-nodes-meta.d.ts +1 -1
  316. package/dist/src/functions/wirings/console/serialize-console-functions.js +5 -0
  317. package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -1
  318. package/dist/src/functions/wirings/functions/pikku-command-addon-types.d.ts +5 -1
  319. package/dist/src/functions/wirings/functions/pikku-command-addon-types.js +7 -2
  320. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.d.ts +1 -1
  321. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +1 -1
  322. package/dist/src/functions/wirings/functions/pikku-command-function-types.d.ts +1 -1
  323. package/dist/src/functions/wirings/functions/pikku-command-functions.d.ts +1 -1
  324. package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +1 -1
  325. package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
  326. package/dist/src/functions/wirings/functions/serialize-function-types.js +105 -80
  327. package/dist/src/functions/wirings/gateway/pikku-command-gateway.d.ts +1 -1
  328. package/dist/src/functions/wirings/http/pikku-command-http-map.d.ts +1 -1
  329. package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
  330. package/dist/src/functions/wirings/http/pikku-command-http-routes.js +1 -1
  331. package/dist/src/functions/wirings/http/pikku-command-http-types.d.ts +1 -1
  332. package/dist/src/functions/wirings/http/pikku-command-openapi.d.ts +1 -1
  333. package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +1 -1
  334. package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.d.ts +1 -1
  335. package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.d.ts +1 -1
  336. package/dist/src/functions/wirings/mcp/pikku-command-mcp.d.ts +1 -1
  337. package/dist/src/functions/wirings/middleware/pikku-command-middleware.d.ts +1 -1
  338. package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +2 -2
  339. package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -1
  340. package/dist/src/functions/wirings/permissions/pikku-command-permissions.d.ts +1 -1
  341. package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
  342. package/dist/src/functions/wirings/queue/pikku-command-queue-map.js +1 -1
  343. package/dist/src/functions/wirings/queue/pikku-command-queue-service.d.ts +1 -1
  344. package/dist/src/functions/wirings/queue/pikku-command-queue-types.d.ts +1 -1
  345. package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
  346. package/dist/src/functions/wirings/queue/pikku-command-queue.js +1 -1
  347. package/dist/src/functions/wirings/queue/pikku-queue-map.d.ts +1 -1
  348. package/dist/src/functions/wirings/queue/pikku-queue.d.ts +1 -1
  349. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.d.ts +1 -0
  350. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.js +26 -0
  351. package/dist/src/functions/wirings/realtime/pikku-command-realtime.d.ts +1 -0
  352. package/dist/src/functions/wirings/realtime/pikku-command-realtime.js +35 -0
  353. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.d.ts +23 -0
  354. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.js +98 -0
  355. package/dist/src/functions/wirings/realtime/serialize-realtime-client.d.ts +22 -0
  356. package/dist/src/functions/wirings/realtime/serialize-realtime-client.js +337 -0
  357. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.d.ts +1 -1
  358. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +5 -1
  359. package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -1
  360. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.d.ts +1 -1
  361. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.js +5 -1
  362. package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.d.ts +1 -1
  363. package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.js +3 -1
  364. package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.d.ts +2 -2
  365. package/dist/src/functions/wirings/rpc/pikku-command-rpc.d.ts +2 -1
  366. package/dist/src/functions/wirings/rpc/pikku-command-rpc.js +13 -7
  367. package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +1 -0
  368. package/dist/src/functions/wirings/rpc/serialize-react-query-hooks.js +1 -1
  369. package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +7 -1
  370. package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +16 -2
  371. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.d.ts +1 -1
  372. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.d.ts +1 -1
  373. package/dist/src/functions/wirings/secrets/pikku-command-secrets.d.ts +1 -1
  374. package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.d.ts +1 -1
  375. package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.js +1 -1
  376. package/dist/src/functions/wirings/triggers/pikku-command-trigger.d.ts +1 -1
  377. package/dist/src/functions/wirings/variables/pikku-command-variables.d.ts +1 -1
  378. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.d.ts +1 -1
  379. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.js +1 -1
  380. package/dist/src/functions/wirings/workflow/pikku-command-workflow.d.ts +5 -1
  381. package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +18 -4
  382. package/dist/src/functions/wirings/workflow/serialize-workflow-bootstrap-map.d.ts +3 -0
  383. package/dist/src/functions/wirings/workflow/serialize-workflow-bootstrap-map.js +40 -0
  384. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +56 -2
  385. package/dist/src/functions/workflows/all.workflow.js +45 -12
  386. package/dist/src/scaffold/rpc-remote.gen.d.ts +3 -3
  387. package/dist/src/scaffold/rpc-remote.gen.js +7 -2
  388. package/dist/src/scaffold/workflow-routes.gen.d.ts +18 -18
  389. package/dist/src/scaffold/workflow-routes.gen.js +33 -1
  390. package/dist/src/services/cli-logger.service.d.ts +22 -3
  391. package/dist/src/services/cli-logger.service.js +107 -41
  392. package/dist/src/services.js +32 -67
  393. package/dist/src/utils/generate-bootstrap-file.js +3 -0
  394. package/dist/src/utils/parse-cli-filters.d.ts +18 -0
  395. package/dist/src/utils/parse-cli-filters.js +99 -0
  396. package/dist/src/utils/pikku-cli-config.js +29 -9
  397. package/dist/tsconfig.tsbuildinfo +1 -1
  398. package/package.json +9 -4
  399. package/skills/pikku-addon/SKILL.md +330 -0
  400. package/skills/pikku-ai-agent/SKILL.md +227 -0
  401. package/skills/pikku-ai-vercel/SKILL.md +78 -0
  402. package/skills/pikku-ai-voice/SKILL.md +85 -0
  403. package/skills/pikku-auth-js/SKILL.md +106 -0
  404. package/skills/pikku-aws/SKILL.md +107 -0
  405. package/skills/pikku-backblaze/SKILL.md +70 -0
  406. package/skills/pikku-cli/SKILL.md +281 -0
  407. package/skills/pikku-concepts/SKILL.md +281 -0
  408. package/skills/pikku-concepts/references/concept-mapping.md +528 -0
  409. package/skills/pikku-config/SKILL.md +208 -0
  410. package/skills/pikku-cron/SKILL.md +211 -0
  411. package/skills/pikku-deploy-azure/SKILL.md +69 -0
  412. package/skills/pikku-deploy-cloudflare/SKILL.md +80 -0
  413. package/skills/pikku-deploy-express/SKILL.md +83 -0
  414. package/skills/pikku-deploy-fastify/SKILL.md +70 -0
  415. package/skills/pikku-deploy-lambda/SKILL.md +107 -0
  416. package/skills/pikku-deploy-nextjs/SKILL.md +76 -0
  417. package/skills/pikku-deploy-uws/SKILL.md +85 -0
  418. package/skills/pikku-fabric/SKILL.md +245 -0
  419. package/skills/pikku-feature/SKILL.md +258 -0
  420. package/skills/pikku-gateway-slack/SKILL.md +112 -0
  421. package/skills/pikku-http/SKILL.md +317 -0
  422. package/skills/pikku-i18n/SKILL.md +208 -0
  423. package/skills/pikku-info/SKILL.md +95 -0
  424. package/skills/pikku-jose/SKILL.md +102 -0
  425. package/skills/pikku-kysely/SKILL.md +145 -0
  426. package/skills/pikku-mcp/SKILL.md +237 -0
  427. package/skills/pikku-mongodb/SKILL.md +102 -0
  428. package/skills/pikku-n8n-addon-map/SKILL.md +178 -0
  429. package/skills/pikku-n8n-code-translate/SKILL.md +166 -0
  430. package/skills/pikku-pino/SKILL.md +77 -0
  431. package/skills/pikku-queue/SKILL.md +237 -0
  432. package/skills/pikku-react/SKILL.md +183 -0
  433. package/skills/pikku-react-query/SKILL.md +205 -0
  434. package/skills/pikku-realtime/SKILL.md +285 -0
  435. package/skills/pikku-redis/SKILL.md +87 -0
  436. package/skills/pikku-rpc/SKILL.md +168 -0
  437. package/skills/pikku-rtl/SKILL.md +205 -0
  438. package/skills/pikku-schedule/SKILL.md +54 -0
  439. package/skills/pikku-schema-ajv/SKILL.md +60 -0
  440. package/skills/pikku-schema-cfworker/SKILL.md +60 -0
  441. package/skills/pikku-security/SKILL.md +243 -0
  442. package/skills/pikku-services/SKILL.md +247 -0
  443. package/skills/pikku-template-clone/SKILL.md +39 -0
  444. package/skills/pikku-testing/SKILL.md +428 -0
  445. package/skills/pikku-trigger/SKILL.md +177 -0
  446. package/skills/pikku-versioning/SKILL.md +169 -0
  447. package/skills/pikku-websocket/SKILL.md +239 -0
  448. package/skills/pikku-workflow/SKILL.md +283 -0
  449. package/skills/pikku-workflows-client/SKILL.md +150 -0
  450. package/skills/pikku-ws/SKILL.md +45 -0
  451. package/console-app/assets/index-BpY2pSuA.css +0 -10
  452. package/console-app/assets/index-DXLy-_D4.js +0 -717
  453. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +0 -10
  454. package/dist/.pikku/cli/pikku-cli-client.gen.js +0 -44
  455. /package/dist/.pikku/schemas/schemas/{PikkuChannelsOutput.schema.json → PikkuCLIEntryOutput.schema.json} +0 -0
@@ -2,71 +2,29 @@
2
2
  "name": "allWorkflow",
3
3
  "pikkuFuncId": "allWorkflow",
4
4
  "source": "complex",
5
- "context": {
6
- "allImports": {
7
- "type": "array",
8
- "default": []
9
- },
10
- "typesDeclarationFileExists": {
11
- "type": "boolean",
12
- "default": true
13
- },
14
- "remoteRPC": {
15
- "type": "boolean",
16
- "default": false
17
- },
18
- "workflowRoutes": {
19
- "type": "boolean",
20
- "default": false
21
- }
22
- },
23
5
  "nodes": {
24
- "step_0": {
25
- "nodeId": "step_0",
26
- "flow": "branch",
27
- "branches": [
28
- {
29
- "condition": {
30
- "type": "simple",
31
- "expression": "!existsSync(config.outDir)"
32
- },
33
- "entry": "Bootstrap inspect"
34
- }
35
- ],
36
- "next": "step_1"
37
- },
38
6
  "Bootstrap inspect": {
39
7
  "nodeId": "Bootstrap inspect",
40
8
  "flow": "inline",
41
- "next": "Bootstrap function types"
9
+ "next": "Bootstrap function types split"
10
+ },
11
+ "Bootstrap function types split": {
12
+ "nodeId": "Bootstrap function types split",
13
+ "rpcName": "pikkuFunctionTypesSplit",
14
+ "next": "Bootstrap function types",
15
+ "stepHash": "a59a35fde030"
42
16
  },
43
17
  "Bootstrap function types": {
44
18
  "nodeId": "Bootstrap function types",
45
19
  "rpcName": "pikkuFunctionTypes",
46
- "next": "Bootstrap function types split",
20
+ "next": "Bootstrap addon types",
47
21
  "stepHash": "c293829b03c7"
48
22
  },
49
- "step_0_branch0_2": {
50
- "nodeId": "step_0_branch0_2",
51
- "flow": "parallel",
52
- "children": [
53
- "Bootstrap function types split",
54
- "Bootstrap HTTP types",
55
- "Bootstrap channel types",
56
- "Bootstrap scheduler types",
57
- "Bootstrap queue types",
58
- "Bootstrap workflow",
59
- "Bootstrap MCP types",
60
- "Bootstrap AI agent types",
61
- "Bootstrap CLI types"
62
- ],
63
- "next": "Bootstrap re-inspect"
64
- },
65
- "Bootstrap function types split": {
66
- "nodeId": "Bootstrap function types split",
67
- "rpcName": "pikkuFunctionTypesSplit",
23
+ "Bootstrap addon types": {
24
+ "nodeId": "Bootstrap addon types",
25
+ "rpcName": "pikkuAddonTypes",
68
26
  "next": "Bootstrap HTTP types",
69
- "stepHash": "a59a35fde030"
27
+ "stepHash": "9b47a4ee8e90"
70
28
  },
71
29
  "Bootstrap HTTP types": {
72
30
  "nodeId": "Bootstrap HTTP types",
@@ -95,9 +53,15 @@
95
53
  "Bootstrap workflow": {
96
54
  "nodeId": "Bootstrap workflow",
97
55
  "rpcName": "pikkuWorkflow",
98
- "next": "Bootstrap MCP types",
56
+ "next": "Bootstrap Trigger types",
99
57
  "stepHash": "09f085dde448"
100
58
  },
59
+ "Bootstrap Trigger types": {
60
+ "nodeId": "Bootstrap Trigger types",
61
+ "rpcName": "pikkuTriggerTypes",
62
+ "next": "Bootstrap MCP types",
63
+ "stepHash": "08b7d8925b2b"
64
+ },
101
65
  "Bootstrap MCP types": {
102
66
  "nodeId": "Bootstrap MCP types",
103
67
  "rpcName": "pikkuMCPTypes",
@@ -107,9 +71,21 @@
107
71
  "Bootstrap AI agent types": {
108
72
  "nodeId": "Bootstrap AI agent types",
109
73
  "rpcName": "pikkuAIAgentTypes",
110
- "next": "Bootstrap CLI types",
74
+ "next": "Bootstrap Node types",
111
75
  "stepHash": "ccd99a28ffd6"
112
76
  },
77
+ "Bootstrap Node types": {
78
+ "nodeId": "Bootstrap Node types",
79
+ "rpcName": "pikkuNodeTypes",
80
+ "next": "Bootstrap Secret definition types",
81
+ "stepHash": "0a4c29a70251"
82
+ },
83
+ "Bootstrap Secret definition types": {
84
+ "nodeId": "Bootstrap Secret definition types",
85
+ "rpcName": "pikkuSecretDefinitionTypes",
86
+ "next": "Bootstrap CLI types",
87
+ "stepHash": "faff6f53d82f"
88
+ },
113
89
  "Bootstrap CLI types": {
114
90
  "nodeId": "Bootstrap CLI types",
115
91
  "rpcName": "pikkuCLITypes",
@@ -121,84 +97,88 @@
121
97
  "flow": "inline",
122
98
  "next": "Generate function types"
123
99
  },
124
- "step_1": {
125
- "nodeId": "step_1",
126
- "flow": "branch",
127
- "branches": [
128
- {
129
- "condition": {
130
- "type": "simple",
131
- "expression": "!existsSync(config.typesDeclarationFile)"
132
- },
133
- "entry": "step_1_branch0_0"
134
- }
135
- ],
136
- "next": "step_2"
137
- },
138
- "step_1_branch0_0": {
139
- "nodeId": "step_1_branch0_0",
140
- "flow": "set",
141
- "variable": "typesDeclarationFileExists",
142
- "value": false,
143
- "next": "step_2"
144
- },
145
- "step_2": {
146
- "nodeId": "step_2",
147
- "flow": "branch",
148
- "branches": [],
149
- "next": "Generate function types"
150
- },
151
100
  "Generate function types": {
152
101
  "nodeId": "Generate function types",
153
102
  "rpcName": "pikkuFunctionTypes",
154
103
  "next": "Re-inspect after types",
155
104
  "stepHash": "3baeae2050fd"
156
105
  },
157
- "step_4": {
158
- "nodeId": "step_4",
159
- "flow": "branch",
160
- "branches": [
161
- {
162
- "condition": {
163
- "type": "or",
164
- "conditions": [
165
- {
166
- "type": "simple",
167
- "expression": "!typesDeclarationFileExists"
168
- },
169
- {
170
- "type": "simple",
171
- "expression": "missingScaffolds.length > 0"
172
- }
173
- ]
174
- },
175
- "entry": "Re-inspect after types"
176
- }
177
- ],
178
- "next": "step_5"
179
- },
180
106
  "Re-inspect after types": {
181
107
  "nodeId": "Re-inspect after types",
182
108
  "flow": "inline",
183
109
  "next": "Function types split"
184
110
  },
185
- "step_5": {
186
- "nodeId": "step_5",
187
- "flow": "branch",
188
- "branches": [],
189
- "next": "step_6"
111
+ "Function types split": {
112
+ "nodeId": "Function types split",
113
+ "rpcName": "pikkuFunctionTypesSplit",
114
+ "next": "Trigger types",
115
+ "stepHash": "3ce567580a38"
116
+ },
117
+ "Trigger types": {
118
+ "nodeId": "Trigger types",
119
+ "rpcName": "pikkuTriggerTypes",
120
+ "next": "AI agent types",
121
+ "stepHash": "01f3d641f2cf"
122
+ },
123
+ "AI agent types": {
124
+ "nodeId": "AI agent types",
125
+ "rpcName": "pikkuAIAgentTypes",
126
+ "next": "HTTP types",
127
+ "stepHash": "a0bf0ea14360"
128
+ },
129
+ "HTTP types": {
130
+ "nodeId": "HTTP types",
131
+ "rpcName": "pikkuHTTPTypes",
132
+ "next": "Channel types",
133
+ "stepHash": "f65b70567492"
134
+ },
135
+ "Channel types": {
136
+ "nodeId": "Channel types",
137
+ "rpcName": "pikkuChannelTypes",
138
+ "next": "Scheduler types",
139
+ "stepHash": "61560f2f0c8d"
140
+ },
141
+ "Scheduler types": {
142
+ "nodeId": "Scheduler types",
143
+ "rpcName": "pikkuSchedulerTypes",
144
+ "next": "Queue types",
145
+ "stepHash": "8f484a113d9c"
146
+ },
147
+ "Queue types": {
148
+ "nodeId": "Queue types",
149
+ "rpcName": "pikkuQueueTypes",
150
+ "next": "MCP types",
151
+ "stepHash": "32340a713206"
152
+ },
153
+ "MCP types": {
154
+ "nodeId": "MCP types",
155
+ "rpcName": "pikkuMCPTypes",
156
+ "next": "Node types",
157
+ "stepHash": "685cbd3c2f83"
190
158
  },
191
- "step_6": {
192
- "nodeId": "step_6",
193
- "flow": "branch",
194
- "branches": [],
195
- "next": "step_7"
159
+ "Node types": {
160
+ "nodeId": "Node types",
161
+ "rpcName": "pikkuNodeTypes",
162
+ "next": "CLI types",
163
+ "stepHash": "fa0e98ce519c"
196
164
  },
197
- "step_7": {
198
- "nodeId": "step_7",
199
- "flow": "branch",
200
- "branches": [],
201
- "next": "Services"
165
+ "CLI types": {
166
+ "nodeId": "CLI types",
167
+ "rpcName": "pikkuCLITypes",
168
+ "next": "Middleware",
169
+ "stepHash": "faf88549ab64"
170
+ },
171
+ "Middleware": {
172
+ "nodeId": "Middleware",
173
+ "rpcName": "pikkuMiddleware",
174
+ "next": "Permissions",
175
+ "stepHash": "69ff86ef7ac6"
176
+ },
177
+ "Permissions": {
178
+ "nodeId": "Permissions",
179
+ "rpcName": "pikkuPermissions",
180
+ "next": "Services",
181
+ "stepHash": "517642320b1f"
202
182
  },
203
183
  "Services": {
204
184
  "nodeId": "Services",
@@ -212,38 +192,17 @@
212
192
  "next": "RPC",
213
193
  "stepHash": "8d10339db08d"
214
194
  },
215
- "step_10": {
216
- "nodeId": "step_10",
217
- "flow": "branch",
218
- "branches": [],
219
- "next": "step_11"
220
- },
221
- "step_11": {
222
- "nodeId": "step_11",
223
- "flow": "branch",
224
- "branches": [
225
- {
226
- "condition": {
227
- "type": "simple",
228
- "expression": "agents"
229
- },
230
- "entry": "step_11_branch0_0"
231
- }
232
- ],
233
- "next": "step_12"
234
- },
235
- "step_11_branch0_0": {
236
- "nodeId": "step_11_branch0_0",
237
- "flow": "branch",
238
- "branches": [
239
- {
240
- "condition": {
241
- "type": "simple",
242
- "expression": "config.scaffold?.agent"
243
- },
244
- "entry": "Public agent scaffold"
245
- }
246
- ]
195
+ "RPC": {
196
+ "nodeId": "RPC",
197
+ "rpcName": "pikkuRPC",
198
+ "next": "AI agent",
199
+ "stepHash": "9c7ab6d16eb5"
200
+ },
201
+ "AI agent": {
202
+ "nodeId": "AI agent",
203
+ "rpcName": "pikkuAIAgent",
204
+ "next": "Public agent scaffold",
205
+ "stepHash": "b40cd11dc611"
247
206
  },
248
207
  "Public agent scaffold": {
249
208
  "nodeId": "Public agent scaffold",
@@ -251,22 +210,6 @@
251
210
  "next": "Public RPC",
252
211
  "stepHash": "64d807033007"
253
212
  },
254
- "step_12": {
255
- "nodeId": "step_12",
256
- "flow": "parallel",
257
- "children": [
258
- "Public RPC",
259
- "Console functions",
260
- "Node types",
261
- "Secret definition types",
262
- "Secrets",
263
- "Credentials",
264
- "Variable definition types",
265
- "Variables",
266
- "Addon types"
267
- ],
268
- "next": "step_13"
269
- },
270
213
  "Public RPC": {
271
214
  "nodeId": "Public RPC",
272
215
  "rpcName": "pikkuPublicRPC",
@@ -276,14 +219,14 @@
276
219
  "Console functions": {
277
220
  "nodeId": "Console functions",
278
221
  "rpcName": "pikkuConsoleFunctions",
279
- "next": "Node types",
222
+ "next": "Events scaffold",
280
223
  "stepHash": "45587b4864bf"
281
224
  },
282
- "Node types": {
283
- "nodeId": "Node types",
284
- "rpcName": "pikkuNodeTypes",
225
+ "Events scaffold": {
226
+ "nodeId": "Events scaffold",
227
+ "rpcName": "pikkuEventsScaffold",
285
228
  "next": "Secret definition types",
286
- "stepHash": "fa0e98ce519c"
229
+ "stepHash": "b5a547ac59ef"
287
230
  },
288
231
  "Secret definition types": {
289
232
  "nodeId": "Secret definition types",
@@ -321,35 +264,6 @@
321
264
  "next": "Re-inspect after agents",
322
265
  "stepHash": "14f255190658"
323
266
  },
324
- "step_13": {
325
- "nodeId": "step_13",
326
- "flow": "branch",
327
- "branches": [],
328
- "next": "step_14"
329
- },
330
- "step_14": {
331
- "nodeId": "step_14",
332
- "flow": "branch",
333
- "branches": [
334
- {
335
- "condition": {
336
- "type": "or",
337
- "conditions": [
338
- {
339
- "type": "simple",
340
- "expression": "agents"
341
- },
342
- {
343
- "type": "simple",
344
- "expression": "!config.addon"
345
- }
346
- ]
347
- },
348
- "entry": "Re-inspect after agents"
349
- }
350
- ],
351
- "next": "Schemas"
352
- },
353
267
  "Re-inspect after agents": {
354
268
  "nodeId": "Re-inspect after agents",
355
269
  "flow": "inline",
@@ -361,84 +275,35 @@
361
275
  "next": "RPC internal map",
362
276
  "stepHash": "1d81976436e8"
363
277
  },
364
- "step_16": {
365
- "nodeId": "step_16",
366
- "flow": "branch",
367
- "branches": [],
368
- "next": "step_17"
369
- },
370
- "step_17": {
371
- "nodeId": "step_17",
372
- "flow": "branch",
373
- "branches": [
374
- {
375
- "condition": {
376
- "type": "simple",
377
- "expression": "!config.addon"
378
- },
379
- "entry": "step_17_branch0_0"
380
- }
381
- ],
382
- "next": "step_18"
383
- },
384
- "step_17_branch0_0": {
385
- "nodeId": "step_17_branch0_0",
386
- "flow": "set",
387
- "variable": "remoteRPC",
388
- "value": "await workflow.do('Remote RPC', 'pikkuRemoteRPC', null)",
389
- "next": "step_17_branch0_1"
390
- },
391
- "step_17_branch0_1": {
392
- "nodeId": "step_17_branch0_1",
393
- "flow": "branch",
394
- "branches": [
395
- {
396
- "condition": {
397
- "type": "simple",
398
- "expression": "workflows"
399
- },
400
- "entry": "step_17_branch0_1_branch0_0"
401
- }
402
- ]
403
- },
404
- "step_17_branch0_1_branch0_0": {
405
- "nodeId": "step_17_branch0_1_branch0_0",
406
- "flow": "set",
407
- "variable": "workflowRoutes",
408
- "value": "await workflow.do(\n 'Workflow routes',\n 'pikkuWorkflowRoutes',\n null\n )",
409
- "next": "step_18"
410
- },
411
- "step_18": {
412
- "nodeId": "step_18",
413
- "flow": "branch",
414
- "branches": [
415
- {
416
- "condition": {
417
- "type": "or",
418
- "conditions": [
419
- {
420
- "type": "or",
421
- "conditions": [
422
- {
423
- "type": "simple",
424
- "expression": "workflows"
425
- },
426
- {
427
- "type": "simple",
428
- "expression": "remoteRPC"
429
- }
430
- ]
431
- },
432
- {
433
- "type": "simple",
434
- "expression": "workflowRoutes"
435
- }
436
- ]
437
- },
438
- "entry": "Re-inspect after workflows"
439
- }
440
- ],
441
- "next": "step_19"
278
+ "RPC internal map": {
279
+ "nodeId": "RPC internal map",
280
+ "rpcName": "pikkuRPCInternalMap",
281
+ "next": "RPC exposed map",
282
+ "stepHash": "71c071d4e0af"
283
+ },
284
+ "RPC exposed map": {
285
+ "nodeId": "RPC exposed map",
286
+ "rpcName": "pikkuRPCExposedMap",
287
+ "next": "Workflow",
288
+ "stepHash": "20b6c409e9fb"
289
+ },
290
+ "Workflow": {
291
+ "nodeId": "Workflow",
292
+ "rpcName": "pikkuWorkflow",
293
+ "next": "Remote RPC",
294
+ "stepHash": "21f5ac3be507"
295
+ },
296
+ "Remote RPC": {
297
+ "nodeId": "Remote RPC",
298
+ "rpcName": "pikkuRemoteRPC",
299
+ "next": "Workflow routes",
300
+ "stepHash": "82751ee2ed4b"
301
+ },
302
+ "Workflow routes": {
303
+ "nodeId": "Workflow routes",
304
+ "rpcName": "pikkuWorkflowRoutes",
305
+ "next": "Re-inspect after workflows",
306
+ "stepHash": "41b3fa734593"
442
307
  },
443
308
  "Re-inspect after workflows": {
444
309
  "nodeId": "Re-inspect after workflows",
@@ -451,43 +316,23 @@
451
316
  "next": "HTTP",
452
317
  "stepHash": "6c1b632628da"
453
318
  },
454
- "step_19": {
455
- "nodeId": "step_19",
456
- "flow": "branch",
457
- "branches": [
458
- {
459
- "condition": {
460
- "type": "simple",
461
- "expression": "!config.addon"
462
- },
463
- "entry": "step_19_branch0_0"
464
- }
465
- ],
466
- "next": "Functions"
467
- },
468
- "step_19_branch0_0": {
469
- "nodeId": "step_19_branch0_0",
470
- "flow": "branch",
471
- "branches": [
472
- {
473
- "condition": {
474
- "type": "simple",
475
- "expression": "http"
476
- },
477
- "entry": "step_19_branch0_0_branch0_0"
478
- }
479
- ],
480
- "next": "step_19_branch0_1"
481
- },
482
- "step_19_branch0_0_branch0_0": {
483
- "nodeId": "step_19_branch0_0_branch0_0",
484
- "flow": "parallel",
485
- "children": [
486
- "HTTP map",
487
- "Fetch",
488
- "RPC client",
489
- "React query"
490
- ]
319
+ "HTTP": {
320
+ "nodeId": "HTTP",
321
+ "rpcName": "pikkuCommandHTTP",
322
+ "next": "Scheduler",
323
+ "stepHash": "ba1b4f85fc79"
324
+ },
325
+ "Scheduler": {
326
+ "nodeId": "Scheduler",
327
+ "rpcName": "pikkuScheduler",
328
+ "next": "Trigger",
329
+ "stepHash": "292dba63a8fa"
330
+ },
331
+ "Trigger": {
332
+ "nodeId": "Trigger",
333
+ "rpcName": "pikkuTrigger",
334
+ "next": "HTTP map",
335
+ "stepHash": "296e642d68de"
491
336
  },
492
337
  "HTTP map": {
493
338
  "nodeId": "HTTP map",
@@ -510,20 +355,20 @@
510
355
  "React query": {
511
356
  "nodeId": "React query",
512
357
  "rpcName": "pikkuReactQuery",
513
- "next": "Functions",
358
+ "next": "TanStack Start",
514
359
  "stepHash": "2dc549484eca"
515
360
  },
516
- "step_19_branch0_1": {
517
- "nodeId": "step_19_branch0_1",
518
- "flow": "branch",
519
- "branches": [],
520
- "next": "step_19_branch0_2"
361
+ "TanStack Start": {
362
+ "nodeId": "TanStack Start",
363
+ "rpcName": "pikkuTanStackStart",
364
+ "next": "Realtime client",
365
+ "stepHash": "19bf0d9e12c8"
521
366
  },
522
- "step_19_branch0_2": {
523
- "nodeId": "step_19_branch0_2",
524
- "flow": "branch",
525
- "branches": [],
526
- "next": "Functions"
367
+ "Realtime client": {
368
+ "nodeId": "Realtime client",
369
+ "rpcName": "pikkuRealtime",
370
+ "next": "Functions",
371
+ "stepHash": "3aa3265e392d"
527
372
  },
528
373
  "Functions": {
529
374
  "nodeId": "Functions",
@@ -531,59 +376,41 @@
531
376
  "next": "Queue",
532
377
  "stepHash": "90cd834fe20e"
533
378
  },
534
- "step_21": {
535
- "nodeId": "step_21",
536
- "flow": "branch",
537
- "branches": [],
538
- "next": "step_22"
539
- },
540
- "step_22": {
541
- "nodeId": "step_22",
542
- "flow": "branch",
543
- "branches": [],
544
- "next": "step_23"
545
- },
546
- "step_23": {
547
- "nodeId": "step_23",
548
- "flow": "branch",
549
- "branches": [
550
- {
551
- "condition": {
552
- "type": "simple",
553
- "expression": "!config.addon"
554
- },
555
- "entry": "step_23_branch0_0"
556
- }
557
- ],
558
- "next": "Nodes meta"
559
- },
560
- "step_23_branch0_0": {
561
- "nodeId": "step_23_branch0_0",
562
- "flow": "branch",
563
- "branches": [
564
- {
565
- "condition": {
566
- "type": "simple",
567
- "expression": "queues"
568
- },
569
- "entry": "step_23_branch0_0_branch0_0"
570
- }
571
- ],
572
- "next": "step_23_branch0_1"
573
- },
574
- "step_23_branch0_0_branch0_0": {
575
- "nodeId": "step_23_branch0_0_branch0_0",
576
- "flow": "parallel",
577
- "children": [
578
- "Queue map",
579
- "Queue service"
580
- ]
379
+ "Queue": {
380
+ "nodeId": "Queue",
381
+ "rpcName": "pikkuCommandQueue",
382
+ "next": "Channels",
383
+ "stepHash": "fba2e19d515a"
384
+ },
385
+ "Channels": {
386
+ "nodeId": "Channels",
387
+ "rpcName": "pikkuCommandChannels",
388
+ "next": "Gateway",
389
+ "stepHash": "aae49a4acd3c"
390
+ },
391
+ "Gateway": {
392
+ "nodeId": "Gateway",
393
+ "rpcName": "pikkuGateway",
394
+ "next": "MCP",
395
+ "stepHash": "4aba6d4affbd"
396
+ },
397
+ "MCP": {
398
+ "nodeId": "MCP",
399
+ "rpcName": "pikkuMCP",
400
+ "next": "CLI",
401
+ "stepHash": "fd4e9c89c777"
402
+ },
403
+ "CLI": {
404
+ "nodeId": "CLI",
405
+ "rpcName": "pikkuCLI",
406
+ "next": "Queue map",
407
+ "stepHash": "8b5a8e81446a"
581
408
  },
582
409
  "Queue map": {
583
410
  "nodeId": "Queue map",
584
- "rpcName": "pikkuQueueMap",
411
+ "rpcName": "pikkuCommandQueueMap",
585
412
  "next": "Queue service",
586
- "stepHash": "ea903f8f068c"
413
+ "stepHash": "6cf29f3a84d2"
587
414
  },
588
415
  "Queue service": {
589
416
  "nodeId": "Queue service",
@@ -591,28 +418,6 @@
591
418
  "next": "Channels map",
592
419
  "stepHash": "b142dd291e94"
593
420
  },
594
- "step_23_branch0_1": {
595
- "nodeId": "step_23_branch0_1",
596
- "flow": "branch",
597
- "branches": [
598
- {
599
- "condition": {
600
- "type": "simple",
601
- "expression": "channels"
602
- },
603
- "entry": "step_23_branch0_1_branch0_0"
604
- }
605
- ],
606
- "next": "step_23_branch0_2"
607
- },
608
- "step_23_branch0_1_branch0_0": {
609
- "nodeId": "step_23_branch0_1_branch0_0",
610
- "flow": "parallel",
611
- "children": [
612
- "Channels map",
613
- "WebSocket typed"
614
- ]
615
- },
616
421
  "Channels map": {
617
422
  "nodeId": "Channels map",
618
423
  "rpcName": "pikkuChannelsMap",
@@ -625,50 +430,46 @@
625
430
  "next": "MCP JSON",
626
431
  "stepHash": "388552be75e1"
627
432
  },
628
- "step_23_branch0_2": {
629
- "nodeId": "step_23_branch0_2",
630
- "flow": "branch",
631
- "branches": [],
632
- "next": "step_23_branch0_3"
633
- },
634
- "step_23_branch0_3": {
635
- "nodeId": "step_23_branch0_3",
636
- "flow": "branch",
637
- "branches": [
638
- {
639
- "condition": {
640
- "type": "simple",
641
- "expression": "mcp"
642
- },
643
- "entry": "MCP JSON"
644
- }
645
- ],
646
- "next": "step_23_branch0_4"
647
- },
648
433
  "MCP JSON": {
649
434
  "nodeId": "MCP JSON",
650
435
  "rpcName": "pikkuMCPJSON",
651
436
  "next": "CLI entry",
652
437
  "stepHash": "cd3ac7d24ff5"
653
438
  },
654
- "step_23_branch0_4": {
655
- "nodeId": "step_23_branch0_4",
656
- "flow": "branch",
657
- "branches": [
658
- {
659
- "condition": {
660
- "type": "simple",
661
- "expression": "cli"
662
- },
663
- "entry": "CLI entry"
664
- }
665
- ]
666
- },
667
439
  "CLI entry": {
668
440
  "nodeId": "CLI entry",
669
441
  "rpcName": "pikkuCLIEntry",
442
+ "next": "Re-inspect after CLI channel",
443
+ "stepHash": "ff57b5fccaf0"
444
+ },
445
+ "Re-inspect after CLI channel": {
446
+ "nodeId": "Re-inspect after CLI channel",
447
+ "flow": "inline",
448
+ "next": "Channels after CLI"
449
+ },
450
+ "Channels after CLI": {
451
+ "nodeId": "Channels after CLI",
452
+ "rpcName": "pikkuCommandChannels",
453
+ "next": "Functions after CLI",
454
+ "stepHash": "8c848c8a8391"
455
+ },
456
+ "Functions after CLI": {
457
+ "nodeId": "Functions after CLI",
458
+ "rpcName": "pikkuFunctions",
459
+ "next": "Schemas after CLI",
460
+ "stepHash": "273f4ae9189b"
461
+ },
462
+ "Schemas after CLI": {
463
+ "nodeId": "Schemas after CLI",
464
+ "rpcName": "pikkuSchemas",
465
+ "next": "Channels map after CLI",
466
+ "stepHash": "a6c395ae3e76"
467
+ },
468
+ "Channels map after CLI": {
469
+ "nodeId": "Channels map after CLI",
470
+ "rpcName": "pikkuChannelsMap",
670
471
  "next": "Nodes meta",
671
- "stepHash": "ad1933f9dc1b"
472
+ "stepHash": "b7bdd3971f7c"
672
473
  },
673
474
  "Nodes meta": {
674
475
  "nodeId": "Nodes meta",
@@ -676,49 +477,12 @@
676
477
  "next": "Next.js",
677
478
  "stepHash": "5044787f9c0c"
678
479
  },
679
- "step_25": {
680
- "nodeId": "step_25",
681
- "flow": "branch",
682
- "branches": [
683
- {
684
- "condition": {
685
- "type": "or",
686
- "conditions": [
687
- {
688
- "type": "simple",
689
- "expression": "config.clientFiles?.nextBackendFile"
690
- },
691
- {
692
- "type": "simple",
693
- "expression": "config.clientFiles?.nextHTTPFile"
694
- }
695
- ]
696
- },
697
- "entry": "Next.js"
698
- }
699
- ],
700
- "next": "step_26"
701
- },
702
480
  "Next.js": {
703
481
  "nodeId": "Next.js",
704
482
  "rpcName": "pikkuNext",
705
483
  "next": "OpenAPI re-inspect",
706
484
  "stepHash": "23340e44049b"
707
485
  },
708
- "step_26": {
709
- "nodeId": "step_26",
710
- "flow": "branch",
711
- "branches": [
712
- {
713
- "condition": {
714
- "type": "simple",
715
- "expression": "config.openAPI"
716
- },
717
- "entry": "OpenAPI re-inspect"
718
- }
719
- ],
720
- "next": "Versions update"
721
- },
722
486
  "OpenAPI re-inspect": {
723
487
  "nodeId": "OpenAPI re-inspect",
724
488
  "flow": "inline",
@@ -746,166 +510,10 @@
746
510
  "nodeId": "Summary",
747
511
  "rpcName": "pikkuSummary",
748
512
  "stepHash": "a6c8f33339e2"
749
- },
750
- "Function types split": {
751
- "nodeId": "Function types split",
752
- "rpcName": "pikkuFunctionTypesSplit",
753
- "next": "Trigger types",
754
- "stepHash": "3ce567580a38"
755
- },
756
- "Trigger types": {
757
- "nodeId": "Trigger types",
758
- "rpcName": "pikkuTriggerTypes",
759
- "next": "AI agent types",
760
- "stepHash": "01f3d641f2cf"
761
- },
762
- "AI agent types": {
763
- "nodeId": "AI agent types",
764
- "rpcName": "pikkuAIAgentTypes",
765
- "next": "HTTP types",
766
- "stepHash": "a0bf0ea14360"
767
- },
768
- "HTTP types": {
769
- "nodeId": "HTTP types",
770
- "rpcName": "pikkuHTTPTypes",
771
- "next": "Channel types",
772
- "stepHash": "f65b70567492"
773
- },
774
- "Channel types": {
775
- "nodeId": "Channel types",
776
- "rpcName": "pikkuChannelTypes",
777
- "next": "Scheduler types",
778
- "stepHash": "61560f2f0c8d"
779
- },
780
- "Scheduler types": {
781
- "nodeId": "Scheduler types",
782
- "rpcName": "pikkuSchedulerTypes",
783
- "next": "Queue types",
784
- "stepHash": "8f484a113d9c"
785
- },
786
- "Queue types": {
787
- "nodeId": "Queue types",
788
- "rpcName": "pikkuQueueTypes",
789
- "next": "MCP types",
790
- "stepHash": "32340a713206"
791
- },
792
- "MCP types": {
793
- "nodeId": "MCP types",
794
- "rpcName": "pikkuMCPTypes",
795
- "next": "CLI types",
796
- "stepHash": "685cbd3c2f83"
797
- },
798
- "CLI types": {
799
- "nodeId": "CLI types",
800
- "rpcName": "pikkuCLITypes",
801
- "next": "Middleware",
802
- "stepHash": "faf88549ab64"
803
- },
804
- "Middleware": {
805
- "nodeId": "Middleware",
806
- "rpcName": "pikkuMiddleware",
807
- "next": "Permissions",
808
- "stepHash": "69ff86ef7ac6"
809
- },
810
- "Permissions": {
811
- "nodeId": "Permissions",
812
- "rpcName": "pikkuPermissions",
813
- "next": "Services",
814
- "stepHash": "517642320b1f"
815
- },
816
- "RPC": {
817
- "nodeId": "RPC",
818
- "rpcName": "pikkuRPC",
819
- "next": "AI agent",
820
- "stepHash": "9c7ab6d16eb5"
821
- },
822
- "AI agent": {
823
- "nodeId": "AI agent",
824
- "rpcName": "pikkuAIAgent",
825
- "next": "Public agent scaffold",
826
- "stepHash": "b40cd11dc611"
827
- },
828
- "RPC internal map": {
829
- "nodeId": "RPC internal map",
830
- "rpcName": "pikkuRPCInternalMap",
831
- "next": "RPC exposed map",
832
- "stepHash": "71c071d4e0af"
833
- },
834
- "RPC exposed map": {
835
- "nodeId": "RPC exposed map",
836
- "rpcName": "pikkuRPCExposedMap",
837
- "next": "Workflow",
838
- "stepHash": "20b6c409e9fb"
839
- },
840
- "Workflow": {
841
- "nodeId": "Workflow",
842
- "rpcName": "pikkuWorkflow",
843
- "next": "Remote RPC",
844
- "stepHash": "21f5ac3be507"
845
- },
846
- "Remote RPC": {
847
- "nodeId": "Remote RPC",
848
- "rpcName": "pikkuRemoteRPC",
849
- "next": "Workflow routes",
850
- "stepHash": "82751ee2ed4b"
851
- },
852
- "Workflow routes": {
853
- "nodeId": "Workflow routes",
854
- "rpcName": "pikkuWorkflowRoutes",
855
- "next": "Re-inspect after workflows",
856
- "stepHash": "41b3fa734593"
857
- },
858
- "HTTP": {
859
- "nodeId": "HTTP",
860
- "rpcName": "pikkuHTTP",
861
- "next": "Scheduler",
862
- "stepHash": "3a613fe4489a"
863
- },
864
- "Scheduler": {
865
- "nodeId": "Scheduler",
866
- "rpcName": "pikkuScheduler",
867
- "next": "Trigger",
868
- "stepHash": "292dba63a8fa"
869
- },
870
- "Trigger": {
871
- "nodeId": "Trigger",
872
- "rpcName": "pikkuTrigger",
873
- "next": "HTTP map",
874
- "stepHash": "296e642d68de"
875
- },
876
- "Queue": {
877
- "nodeId": "Queue",
878
- "rpcName": "pikkuQueue",
879
- "next": "Channels",
880
- "stepHash": "6d9159ddfa71"
881
- },
882
- "Channels": {
883
- "nodeId": "Channels",
884
- "rpcName": "pikkuChannels",
885
- "next": "Gateway",
886
- "stepHash": "65df9df381cf"
887
- },
888
- "Gateway": {
889
- "nodeId": "Gateway",
890
- "rpcName": "pikkuGateway",
891
- "next": "MCP",
892
- "stepHash": "4aba6d4affbd"
893
- },
894
- "MCP": {
895
- "nodeId": "MCP",
896
- "rpcName": "pikkuMCP",
897
- "next": "CLI",
898
- "stepHash": "fd4e9c89c777"
899
- },
900
- "CLI": {
901
- "nodeId": "CLI",
902
- "rpcName": "pikkuCLI",
903
- "next": "Queue map",
904
- "stepHash": "8b5a8e81446a"
905
513
  }
906
514
  },
907
515
  "entryNodeIds": [
908
- "step_0"
516
+ "Bootstrap inspect"
909
517
  ],
910
- "graphHash": "13fb492ccbee"
518
+ "graphHash": "1efffef1e21a"
911
519
  }