@pikku/cli 0.12.83 → 0.12.86

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 (274) hide show
  1. package/console-app/assets/index-CSzCJzBb.css +1 -0
  2. package/console-app/assets/{index-CN_U0k_D.js → index-Cr3_cO3Z.js} +161 -150
  3. package/console-app/index.html +2 -2
  4. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +3 -2
  5. package/dist/.pikku/{http/pikku-http-wirings.gen.d.ts → auth/auth.types.d.ts} +1 -1
  6. package/dist/.pikku/auth/auth.types.js +5 -0
  7. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  8. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  9. package/dist/.pikku/cli/pikku-cli-channel.d.ts +4 -4
  10. package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
  11. package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
  12. package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
  13. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
  14. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
  15. package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +4 -0
  16. package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
  17. package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
  18. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
  19. package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +4 -0
  20. package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
  21. package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
  22. package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
  23. package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
  24. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  25. package/dist/.pikku/function/pikku-function-types.gen.d.ts +24 -14
  26. package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
  27. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  28. package/dist/.pikku/function/pikku-functions-meta.gen.json +45 -36
  29. package/dist/.pikku/function/pikku-functions.gen.js +3 -3
  30. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  31. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  32. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  33. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  34. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -5
  35. package/dist/.pikku/pikku-bootstrap.gen.js +1 -5
  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 +2 -1
  39. package/dist/.pikku/pikku-services.gen.js +1 -0
  40. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  41. package/dist/.pikku/pikku-types.gen.js +1 -1
  42. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  43. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  44. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  45. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -2
  46. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  47. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  48. package/dist/.pikku/schemas/register.gen.js +3 -7
  49. package/dist/.pikku/schemas/schemas/FabricLoginInput.schema.json +1 -1
  50. package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
  51. package/dist/.pikku/schemas/schemas/PikkuUserAdminFunctionsOutput.schema.json +1 -0
  52. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
  53. package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
  54. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  55. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  56. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  57. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  58. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  59. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  60. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  61. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  62. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  63. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  64. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  65. package/dist/.pikku/workflow/meta/allWorkflow.gen.json +9 -3
  66. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +8 -2
  67. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
  68. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  69. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  70. package/dist/bin/pikku-bin.mjs +2 -2
  71. package/dist/src/fabric/fabric-commands.d.ts +56 -53
  72. package/dist/src/fabric/fabric-commands.js +4 -0
  73. package/dist/src/fabric/functions/add.function.d.ts +2 -2
  74. package/dist/src/fabric/functions/addon-verify.function.d.ts +2 -2
  75. package/dist/src/fabric/functions/db-schema.function.d.ts +2 -2
  76. package/dist/src/fabric/functions/deploy-list.function.d.ts +2 -2
  77. package/dist/src/fabric/functions/deploy-units.function.d.ts +2 -2
  78. package/dist/src/fabric/functions/deploy.function.d.ts +4 -4
  79. package/dist/src/fabric/functions/domains-add.function.d.ts +2 -2
  80. package/dist/src/fabric/functions/domains-list.function.d.ts +2 -2
  81. package/dist/src/fabric/functions/domains-remove.function.d.ts +2 -2
  82. package/dist/src/fabric/functions/errors.function.d.ts +2 -2
  83. package/dist/src/fabric/functions/init.function.d.ts +2 -2
  84. package/dist/src/fabric/functions/link.function.d.ts +2 -2
  85. package/dist/src/fabric/functions/llm-key.function.d.ts +6 -6
  86. package/dist/src/fabric/functions/login.function.d.ts +6 -2
  87. package/dist/src/fabric/functions/login.function.js +45 -4
  88. package/dist/src/fabric/functions/logs.function.d.ts +2 -2
  89. package/dist/src/fabric/functions/metrics.function.d.ts +2 -2
  90. package/dist/src/fabric/functions/publish.function.d.ts +2 -2
  91. package/dist/src/fabric/functions/rollback.function.d.ts +2 -2
  92. package/dist/src/fabric/functions/secrets-list.function.d.ts +2 -2
  93. package/dist/src/fabric/functions/secrets-set.function.d.ts +2 -2
  94. package/dist/src/fabric/functions/smoke.function.d.ts +2 -2
  95. package/dist/src/fabric/functions/status.function.d.ts +2 -2
  96. package/dist/src/fabric/functions/trace.function.d.ts +2 -2
  97. package/dist/src/fabric/functions/validate.function.d.ts +2 -2
  98. package/dist/src/functions/commands/all.d.ts +1 -1
  99. package/dist/src/functions/commands/audit.d.ts +1 -1
  100. package/dist/src/functions/commands/binary.d.ts +2 -2
  101. package/dist/src/functions/commands/bootstrap.d.ts +1 -1
  102. package/dist/src/functions/commands/db-audit.d.ts +1 -1
  103. package/dist/src/functions/commands/db-generate.d.ts +1 -1
  104. package/dist/src/functions/commands/db-migrate.d.ts +1 -1
  105. package/dist/src/functions/commands/db-reset.d.ts +1 -1
  106. package/dist/src/functions/commands/db-seed.d.ts +1 -1
  107. package/dist/src/functions/commands/deploy-apply.d.ts +2 -2
  108. package/dist/src/functions/commands/deploy-info.d.ts +1 -1
  109. package/dist/src/functions/commands/deploy-plan.d.ts +2 -2
  110. package/dist/src/functions/commands/dev.d.ts +2 -2
  111. package/dist/src/functions/commands/emails-init.d.ts +1 -1
  112. package/dist/src/functions/commands/enable.d.ts +8 -8
  113. package/dist/src/functions/commands/import-n8n.d.ts +2 -2
  114. package/dist/src/functions/commands/info.d.ts +4 -4
  115. package/dist/src/functions/commands/login.d.ts +5 -5
  116. package/dist/src/functions/commands/meta.d.ts +25 -25
  117. package/dist/src/functions/commands/new-addon.d.ts +13 -2
  118. package/dist/src/functions/commands/new-addon.js +38 -4
  119. package/dist/src/functions/commands/new-function.d.ts +2 -2
  120. package/dist/src/functions/commands/new-middleware.d.ts +2 -2
  121. package/dist/src/functions/commands/new-permission.d.ts +2 -2
  122. package/dist/src/functions/commands/new-wiring.d.ts +2 -2
  123. package/dist/src/functions/commands/pikku-command-bootstrap.d.ts +1 -1
  124. package/dist/src/functions/commands/pikku-command-summary.d.ts +1 -1
  125. package/dist/src/functions/commands/scenario.d.ts +3 -3
  126. package/dist/src/functions/commands/scopes-audit.d.ts +1 -1
  127. package/dist/src/functions/commands/scopes-prune.d.ts +2 -2
  128. package/dist/src/functions/commands/serve.d.ts +2 -2
  129. package/dist/src/functions/commands/skills.d.ts +4 -4
  130. package/dist/src/functions/commands/versions-check.d.ts +1 -1
  131. package/dist/src/functions/commands/versions-init.d.ts +2 -2
  132. package/dist/src/functions/commands/versions-update.d.ts +1 -1
  133. package/dist/src/functions/commands/watch.d.ts +2 -2
  134. package/dist/src/functions/commands/workspace-validate.d.ts +2 -2
  135. package/dist/src/functions/runtimes/fetch/index.d.ts +1 -1
  136. package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.d.ts +1 -1
  137. package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.d.ts +1 -1
  138. package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.d.ts +1 -1
  139. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +1 -1
  140. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.js +3 -2
  141. package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +1 -1
  142. package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.d.ts +1 -1
  143. package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.js +6 -2
  144. package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.d.ts +1 -1
  145. package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.js +3 -2
  146. package/dist/src/functions/wirings/ai-agent/serialize-public-agent.d.ts +5 -1
  147. package/dist/src/functions/wirings/ai-agent/serialize-public-agent.js +112 -40
  148. package/dist/src/functions/wirings/auth/pikku-command-auth.d.ts +2 -2
  149. package/dist/src/functions/wirings/auth/pikku-command-auth.js +4 -0
  150. package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
  151. package/dist/src/functions/wirings/channels/pikku-command-channel-types.d.ts +1 -1
  152. package/dist/src/functions/wirings/channels/pikku-command-channels-map.d.ts +1 -1
  153. package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
  154. package/dist/src/functions/wirings/cli/pikku-command-cli-entry.d.ts +1 -1
  155. package/dist/src/functions/wirings/cli/pikku-command-cli-types.d.ts +1 -1
  156. package/dist/src/functions/wirings/cli/pikku-command-cli.d.ts +1 -1
  157. package/dist/src/functions/wirings/console/pikku-command-console-functions.d.ts +1 -1
  158. package/dist/src/functions/wirings/console/pikku-command-console-functions.js +6 -2
  159. package/dist/src/functions/wirings/console/pikku-command-node-types.d.ts +1 -1
  160. package/dist/src/functions/wirings/console/pikku-command-nodes-meta.d.ts +1 -1
  161. package/dist/src/functions/wirings/console/serialize-console-functions.d.ts +5 -1
  162. package/dist/src/functions/wirings/console/serialize-console-functions.js +55 -23
  163. package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -1
  164. package/dist/src/functions/wirings/emails/pikku-command-emails.d.ts +1 -1
  165. package/dist/src/functions/wirings/functions/pikku-command-addon-types.d.ts +1 -1
  166. package/dist/src/functions/wirings/functions/pikku-command-function-types-split.d.ts +2 -2
  167. package/dist/src/functions/wirings/functions/pikku-command-function-types.d.ts +2 -2
  168. package/dist/src/functions/wirings/functions/pikku-command-functions.d.ts +1 -1
  169. package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +2 -2
  170. package/dist/src/functions/wirings/functions/pikku-command-services.js +9 -2
  171. package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
  172. package/dist/src/functions/wirings/functions/schemas.js +10 -1
  173. package/dist/src/functions/wirings/functions/serialize-function-types.js +23 -12
  174. package/dist/src/functions/wirings/gateway/pikku-command-gateway.d.ts +1 -1
  175. package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.d.ts +1 -1
  176. package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.js +2 -0
  177. package/dist/src/functions/wirings/http/pikku-command-http-map.d.ts +1 -1
  178. package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
  179. package/dist/src/functions/wirings/http/pikku-command-http-types.d.ts +1 -1
  180. package/dist/src/functions/wirings/http/pikku-command-openapi.d.ts +1 -1
  181. package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +1 -1
  182. package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.d.ts +1 -1
  183. package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.d.ts +1 -1
  184. package/dist/src/functions/wirings/mcp/pikku-command-mcp.d.ts +1 -1
  185. package/dist/src/functions/wirings/middleware/pikku-command-middleware.d.ts +1 -1
  186. package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +3 -3
  187. package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -1
  188. package/dist/src/functions/wirings/permissions/pikku-command-permissions.d.ts +1 -1
  189. package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
  190. package/dist/src/functions/wirings/queue/pikku-command-queue-service.d.ts +1 -1
  191. package/dist/src/functions/wirings/queue/pikku-command-queue-types.d.ts +1 -1
  192. package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
  193. package/dist/src/functions/wirings/queue/pikku-queue-map.d.ts +1 -1
  194. package/dist/src/functions/wirings/queue/pikku-queue.d.ts +1 -1
  195. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.d.ts +1 -1
  196. package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.js +8 -2
  197. package/dist/src/functions/wirings/realtime/pikku-command-realtime.d.ts +1 -1
  198. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.d.ts +5 -4
  199. package/dist/src/functions/wirings/realtime/serialize-events-scaffold.js +17 -7
  200. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.d.ts +1 -1
  201. package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +6 -2
  202. package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -1
  203. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.d.ts +1 -1
  204. package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.js +6 -2
  205. package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.d.ts +1 -1
  206. package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.d.ts +3 -3
  207. package/dist/src/functions/wirings/rpc/pikku-command-rpc.d.ts +1 -1
  208. package/dist/src/functions/wirings/rpc/serialize-public-rpc.d.ts +5 -1
  209. package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +16 -5
  210. package/dist/src/functions/wirings/rpc/serialize-remote-rpc.d.ts +5 -1
  211. package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +16 -5
  212. package/dist/src/functions/wirings/scenarios/pikku-command-scenario-functions.d.ts +1 -1
  213. package/dist/src/functions/wirings/scenarios/pikku-command-scenario-functions.js +8 -2
  214. package/dist/src/functions/wirings/scenarios/serialize-scenario-functions.d.ts +5 -1
  215. package/dist/src/functions/wirings/scenarios/serialize-scenario-functions.js +22 -16
  216. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.d.ts +1 -1
  217. package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.d.ts +1 -1
  218. package/dist/src/functions/wirings/scopes/pikku-command-scopes.d.ts +2 -2
  219. package/dist/src/functions/wirings/secrets/pikku-command-secrets.d.ts +1 -1
  220. package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.d.ts +2 -2
  221. package/dist/src/functions/wirings/triggers/pikku-command-trigger.d.ts +1 -1
  222. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.d.ts +1 -0
  223. package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +49 -0
  224. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +24 -0
  225. package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +283 -0
  226. package/dist/src/functions/wirings/variables/pikku-command-variables.d.ts +1 -1
  227. package/dist/src/functions/wirings/webhook/pikku-command-webhook.d.ts +1 -1
  228. package/dist/src/functions/wirings/webhook/pikku-command-webhook.js +6 -2
  229. package/dist/src/functions/wirings/webhook/serialize-webhook.d.ts +5 -8
  230. package/dist/src/functions/wirings/webhook/serialize-webhook.js +19 -12
  231. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.d.ts +1 -1
  232. package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.js +8 -2
  233. package/dist/src/functions/wirings/workflow/pikku-command-workflow.d.ts +1 -1
  234. package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +2 -1
  235. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.d.ts +5 -1
  236. package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +61 -31
  237. package/dist/src/functions/wirings/workflow/serialize-workflow-types.d.ts +1 -1
  238. package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +8 -2
  239. package/dist/src/functions/workflows/all.workflow.js +8 -0
  240. package/dist/src/utils/pikku-cli-config.js +40 -10
  241. package/dist/src/utils/remove-legacy-scaffold-file.d.ts +3 -0
  242. package/dist/src/utils/remove-legacy-scaffold-file.js +43 -0
  243. package/dist/src/utils/serialize-schemas.js +57 -2
  244. package/dist/tsconfig.tsbuildinfo +1 -1
  245. package/package.json +6 -6
  246. package/skills/pikku-addon/SKILL.md +1 -0
  247. package/skills/pikku-ai-agent/SKILL.md +5 -4
  248. package/skills/pikku-ai-vercel/SKILL.md +1 -0
  249. package/skills/pikku-better-auth/SKILL.md +57 -0
  250. package/skills/pikku-concepts/SKILL.md +1 -1
  251. package/skills/pikku-concepts/references/concept-mapping.md +11 -9
  252. package/skills/pikku-emails/SKILL.md +1 -0
  253. package/skills/pikku-fabric-debug/SKILL.md +112 -0
  254. package/skills/pikku-permissions/SKILL.md +8 -8
  255. package/skills/pikku-react/SKILL.md +32 -3
  256. package/skills/pikku-react-query/SKILL.md +38 -1
  257. package/skills/pikku-realtime/SKILL.md +1 -1
  258. package/skills/pikku-security/SKILL.md +3 -3
  259. package/skills/pikku-services/SKILL.md +34 -0
  260. package/skills/pikku-template-clone/SKILL.md +1 -0
  261. package/cli.schema.json +0 -1
  262. package/console-app/assets/index-CpHRlBt-.css +0 -1
  263. package/dist/.pikku/http/pikku-http-wirings-meta.gen.d.ts +0 -1
  264. package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +0 -6
  265. package/dist/.pikku/http/pikku-http-wirings-meta.gen.json +0 -26
  266. package/dist/.pikku/http/pikku-http-wirings.gen.js +0 -5
  267. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.d.ts +0 -1
  268. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +0 -6
  269. package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +0 -10
  270. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +0 -4
  271. package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +0 -5
  272. package/dist/.pikku/schemas/schemas/RemoteRPCHandlerInput.schema.json +0 -1
  273. package/dist/src/scaffold/rpc-remote.gen.d.ts +0 -10
  274. package/dist/src/scaffold/rpc-remote.gen.js +0 -27
@@ -21,8 +21,8 @@
21
21
  }
22
22
  } catch (e) {}
23
23
  </script>
24
- <script type="module" crossorigin src="/console/assets/index-CN_U0k_D.js"></script>
25
- <link rel="stylesheet" crossorigin href="/console/assets/index-CpHRlBt-.css">
24
+ <script type="module" crossorigin src="/console/assets/index-Cr3_cO3Z.js"></script>
25
+ <link rel="stylesheet" crossorigin href="/console/assets/index-CSzCJzBb.css">
26
26
  </head>
27
27
  <body>
28
28
  <div id="root"></div>
@@ -1,12 +1,13 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
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';
6
6
  import type { StandardSchemaV1 } from '@standard-schema/spec';
7
7
  import type { AIAgentMemoryConfig, AIAgentInput } from '@pikku/core/ai-agent';
8
8
  import type { AgentMap } from './pikku-agent-map.gen.d.js';
9
- type AIAgentConfig<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = Omit<CoreAIAgent<PikkuPermission, PikkuMiddleware>, 'tools' | 'agents' | 'workflows' | 'memory' | 'input' | 'output'> & {
9
+ import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
10
+ type AIAgentConfig<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = Omit<CoreAIAgent<PikkuPermission, PikkuMiddleware, ScopeId>, 'tools' | 'agents' | 'workflows' | 'memory' | 'input' | 'output'> & {
10
11
  input?: InputSchema;
11
12
  output?: OutputSchema;
12
13
  memory?: Omit<AIAgentMemoryConfig, 'workingMemory'> & {
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file was generated by @pikku/cli@0.12.83
3
3
  */
4
- import '../../src/scaffold/rpc-remote.gen.js';
4
+ export { pikkuBetterAuth } from '@pikku/better-auth';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.83
3
+ */
4
+ // AUTO-GENERATED by pikku CLI (bootstrap stub) — replaced by the typed wrapper after inspection
5
+ export { pikkuBetterAuth } from '@pikku/better-auth';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -6,11 +6,11 @@ export declare const cliHelp: import("../function/pikku-function-types.gen.js").
6
6
  args?: string[];
7
7
  }, {
8
8
  help: string;
9
- }, "rpc" | "session", import("../function/pikku-function-types.gen.js").Services> | import("../function/pikku-function-types.gen.js").PikkuFunction<{
9
+ }, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices> | import("../function/pikku-function-types.gen.js").PikkuFunction<{
10
10
  args?: string[];
11
11
  }, {
12
12
  help: string;
13
- }, "rpc" | "session", import("../function/pikku-function-types.gen.js").Services>, undefined, undefined>;
13
+ }, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>;
14
14
  export declare const cliRaw: import("../function/pikku-function-types.gen.js").PikkuFunctionConfig<{
15
15
  args: string[];
16
16
  }, {
@@ -23,10 +23,10 @@ export declare const cliRaw: import("../function/pikku-function-types.gen.js").P
23
23
  help?: string;
24
24
  result?: unknown;
25
25
  error?: string;
26
- }, "rpc" | "session", import("../function/pikku-function-types.gen.js").Services> | import("../function/pikku-function-types.gen.js").PikkuFunction<{
26
+ }, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices> | import("../function/pikku-function-types.gen.js").PikkuFunction<{
27
27
  args: string[];
28
28
  }, {
29
29
  help?: string;
30
30
  result?: unknown;
31
31
  error?: string;
32
- }, "rpc" | "session", import("../function/pikku-function-types.gen.js").Services>, undefined, undefined>;
32
+ }, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  /**
5
5
  * WebSocket channel backend for 'pikku' CLI commands
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  import contractsMeta from './pikku-cli-contracts-meta.gen.json' with { type: 'json' };
5
5
  export default contractsMeta;
@@ -43,6 +43,10 @@
43
43
  },
44
44
  "consoleUrl": {
45
45
  "description": "Override the console URL the browser opens"
46
+ },
47
+ "browser": {
48
+ "description": "Open the sign-in link automatically (--no-browser to just print it)",
49
+ "default": true
46
50
  }
47
51
  },
48
52
  "description": "Authenticate against fabric-api"
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  /**
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-cli-wirings-meta.gen.json' with { type: 'json' };
@@ -383,6 +383,10 @@
383
383
  },
384
384
  "consoleUrl": {
385
385
  "description": "Override the console URL the browser opens"
386
+ },
387
+ "browser": {
388
+ "description": "Open the sign-in link automatically (--no-browser to just print it)",
389
+ "default": true
386
390
  }
387
391
  },
388
392
  "description": "Authenticate against fabric-api"
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  /**
5
5
  * Core function, middleware, and permission types for all wirings
@@ -21,6 +21,16 @@ import type { TypedWorkflow, TypedScenario } from '../workflow/pikku-workflow-ty
21
21
  export type { SingletonServices as SingletonServices };
22
22
  export type { Services as Services };
23
23
  export type Session = UserSession;
24
+ /**
25
+ * The services a wired function actually receives. The inspector records which
26
+ * services each wired `func`, `permissions` and `middleware` destructures and
27
+ * emits them as `RequiredSingletonServices`; intersecting that here makes those
28
+ * services **non-optional** at every call site. A service is optional only when
29
+ * nothing destructures it — in which case it is never created either. This is
30
+ * why an `if (!service)` guard inside a function body is always dead code.
31
+ */
32
+ export type WiredSingletonServices = RequiredSingletonServices & SingletonServices;
33
+ export type WiredServices = RequiredSingletonServices & Services;
24
34
  /**
25
35
  * Inline node configuration for function definitions.
26
36
  */
@@ -37,18 +47,18 @@ export type NodeConfig = {
37
47
  * @template In - The input type that the permission check will receive
38
48
  * @template RequiredServices - The services required for this permission check
39
49
  */
40
- export type PikkuPermission<In = unknown, RequiredServices extends Services = Services> = CorePikkuPermission<In, RequiredServices, PikkuWire<In, never, false, Session>>;
50
+ export type PikkuPermission<In = unknown, RequiredServices extends Services = WiredServices> = CorePikkuPermission<In, RequiredServices, PikkuWire<In, never, false, Session>>;
41
51
  /**
42
52
  * Type-safe middleware definition that can access your application's services and session.
43
53
  * Use this to define reusable middleware that can be applied to multiple wirings.
44
54
  *
45
55
  * @template RequiredServices - The services required for this middleware
46
56
  */
47
- export type PikkuMiddleware<RequiredServices extends SingletonServices = SingletonServices> = CorePikkuMiddleware<RequiredServices>;
57
+ export type PikkuMiddleware<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuMiddleware<RequiredServices>;
48
58
  /**
49
59
  * Configuration object for creating a permission with metadata
50
60
  */
51
- export type PikkuPermissionConfig<In = unknown, RequiredServices extends Services = Services> = {
61
+ export type PikkuPermissionConfig<In = unknown, RequiredServices extends Services = WiredServices> = {
52
62
  /** The permission function */
53
63
  func: PikkuPermission<In, RequiredServices>;
54
64
  /** Optional human-readable name for the permission */
@@ -87,11 +97,11 @@ export declare const pikkuPermission: <In>(permission: PikkuPermission<In> | Pik
87
97
  *
88
98
  * @template RequiredServices - The services required for this auth check
89
99
  */
90
- export type PikkuAuth<RequiredServices extends SingletonServices = SingletonServices> = CorePikkuAuth<RequiredServices, Session>;
100
+ export type PikkuAuth<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuAuth<RequiredServices, Session>;
91
101
  /**
92
102
  * Configuration object for creating an auth permission with metadata
93
103
  */
94
- export type PikkuAuthConfig<RequiredServices extends SingletonServices = SingletonServices> = CorePikkuAuthConfig<RequiredServices, Session>;
104
+ export type PikkuAuthConfig<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuAuthConfig<RequiredServices, Session>;
95
105
  /**
96
106
  * Factory function for creating auth-only permissions with tree-shaking support.
97
107
  * Auth permissions only receive services and session (no request data),
@@ -112,11 +122,11 @@ export type PikkuAuthConfig<RequiredServices extends SingletonServices = Singlet
112
122
  * })
113
123
  * \`\`\`
114
124
  */
115
- export declare const pikkuAuth: <RequiredServices extends SingletonServices = SingletonServices>(auth: PikkuAuth<RequiredServices> | PikkuAuthConfig<RequiredServices>) => PikkuPermission<any, any>;
125
+ export declare const pikkuAuth: <RequiredServices extends SingletonServices = WiredSingletonServices>(auth: PikkuAuth<RequiredServices> | PikkuAuthConfig<RequiredServices>) => PikkuPermission<any, any>;
116
126
  /**
117
127
  * Configuration object for creating middleware with metadata
118
128
  */
119
- export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = SingletonServices> = {
129
+ export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = WiredSingletonServices> = {
120
130
  /** The middleware function */
121
131
  func: PikkuMiddleware<RequiredServices>;
122
132
  /** Optional human-readable name for the middleware */
@@ -147,7 +157,7 @@ export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = S
147
157
  * })
148
158
  * ```
149
159
  */
150
- export declare const pikkuMiddleware: <RequiredServices extends SingletonServices = SingletonServices>(middleware: PikkuMiddleware<RequiredServices> | PikkuMiddlewareConfig<RequiredServices>) => PikkuMiddleware<RequiredServices>;
160
+ export declare const pikkuMiddleware: <RequiredServices extends SingletonServices = WiredSingletonServices>(middleware: PikkuMiddleware<RequiredServices> | PikkuMiddlewareConfig<RequiredServices>) => PikkuMiddleware<RequiredServices>;
151
161
  /**
152
162
  * Factory function for creating middleware factories
153
163
  * Use this when your middleware needs configuration/input parameters
@@ -193,7 +203,7 @@ export declare const pikkuPermissionFactory: <In = any>(factory: (input: In) =>
193
203
  * @template In - The input type (same as the function it describes)
194
204
  * @template RequiredServices - The services required for this description function
195
205
  */
196
- export type PikkuApprovalDescription<In = unknown, RequiredServices extends Services = Services> = (services: RequiredServices, data: In) => Promise<string>;
206
+ export type PikkuApprovalDescription<In = unknown, RequiredServices extends Services = WiredServices> = (services: RequiredServices, data: In) => Promise<string>;
197
207
  /**
198
208
  * Factory function for creating approval description functions with tree-shaking support.
199
209
  *
@@ -207,7 +217,7 @@ export type PikkuApprovalDescription<In = unknown, RequiredServices extends Serv
207
217
  * )
208
218
  * ```
209
219
  */
210
- export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends Services = Services>(fn: PikkuApprovalDescription<In, RequiredServices>) => PikkuApprovalDescription<In, RequiredServices>;
220
+ export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends Services = WiredServices>(fn: PikkuApprovalDescription<In, RequiredServices>) => PikkuApprovalDescription<In, RequiredServices>;
211
221
  /**
212
222
  * A sessionless API function that doesn't require user authentication.
213
223
  * Use this for public endpoints, health checks, or operations that don't need user context.
@@ -216,7 +226,7 @@ export declare const pikkuApprovalDescription: <In = unknown, RequiredServices e
216
226
  * @template Out - The output type that the function returns
217
227
  * @template RequiredServices - Services required by this function
218
228
  */
219
- export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends Services = Services> = 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>, RequiredWires>>;
220
230
  /**
221
231
  * A session-aware API function that requires user authentication.
222
232
  * Use this for protected endpoints that need access to user session data.
@@ -225,7 +235,7 @@ export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires ex
225
235
  * @template Out - The output type that the function returns
226
236
  * @template RequiredServices - Services required by this function
227
237
  */
228
- export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends Services = Services> = 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>, RequiredWires>>;
229
239
  /**
230
240
  * Helper type to infer the output type from a Standard Schema
231
241
  */
@@ -342,7 +352,7 @@ export declare function pikkuSessionlessFunc<In, Out = unknown>(func: PikkuFunct
342
352
  * })
343
353
  * ```
344
354
  */
345
- export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionConfig<void, void, "session" | "rpc">) => PikkuFunctionConfig<void, void, "rpc" | "session", PikkuFunctionSessionless<void, void, "rpc" | "session", Services> | PikkuFunction<void, void, "rpc" | "session", Services>, undefined, undefined>;
355
+ export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionConfig<void, void, "session" | "rpc">) => PikkuFunctionConfig<void, void, "rpc" | "session", PikkuFunctionSessionless<void, void, "rpc" | "session", WiredServices> | PikkuFunction<void, void, "rpc" | "session", WiredServices>, undefined, undefined>;
346
356
  /**
347
357
  * References a registered function by name for use in any wiring.
348
358
  * Works for both local and addon functions — resolves via RPC at runtime.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };
@@ -279,9 +279,9 @@
279
279
  "outputs": [
280
280
  "FabricLoginOutput"
281
281
  ],
282
- "implementationHash": "76d25ea5ee24b870",
283
- "contractHash": "493eee769943f7e6",
284
- "inputHash": "11c9ebb3",
282
+ "implementationHash": "02646861b98d49ee",
283
+ "contractHash": "cc718b11c9788915",
284
+ "inputHash": "456fbe51",
285
285
  "outputHash": "a38a12eb"
286
286
  },
287
287
  "FabricLogs": {
@@ -1281,7 +1281,7 @@
1281
1281
  "PikkuNewAddonInput"
1282
1282
  ],
1283
1283
  "outputs": [],
1284
- "implementationHash": "b32147c0dbe00000",
1284
+ "implementationHash": "baa095ba82205ff5",
1285
1285
  "contractHash": "7ad6280aa8f3e18e",
1286
1286
  "inputHash": "87a4bbd4",
1287
1287
  "outputHash": "77e837d4"
@@ -1367,8 +1367,8 @@
1367
1367
  ],
1368
1368
  "outputs": [],
1369
1369
  "implementationHash": "bff81f186c6a4bf8",
1370
- "contractHash": "51a9a80b6231e50f",
1371
- "inputHash": "14102501",
1370
+ "contractHash": "d699dbed25674fbe",
1371
+ "inputHash": "83f342c1",
1372
1372
  "outputHash": "0d154de9"
1373
1373
  },
1374
1374
  "pikkuSummary": {
@@ -1678,7 +1678,7 @@
1678
1678
  "outputSchemaName": null,
1679
1679
  "inputs": [],
1680
1680
  "outputs": [],
1681
- "implementationHash": "6f1bde64f9087bc2",
1681
+ "implementationHash": "e5a567c121415ebf",
1682
1682
  "middleware": [
1683
1683
  {
1684
1684
  "type": "wire",
@@ -1726,7 +1726,7 @@
1726
1726
  "outputs": [
1727
1727
  "PikkuPublicAgentOutput"
1728
1728
  ],
1729
- "implementationHash": "ac31dd42a7c619e9",
1729
+ "implementationHash": "20cd376f3e7e90fa",
1730
1730
  "middleware": [
1731
1731
  {
1732
1732
  "type": "wire",
@@ -1750,7 +1750,7 @@
1750
1750
  "PikkuAuthInput"
1751
1751
  ],
1752
1752
  "outputs": [],
1753
- "implementationHash": "576e648aba1176ce",
1753
+ "implementationHash": "a868f2ecd6e58ba1",
1754
1754
  "middleware": [
1755
1755
  {
1756
1756
  "type": "wire",
@@ -1936,7 +1936,7 @@
1936
1936
  "outputs": [
1937
1937
  "PikkuConsoleFunctionsOutput"
1938
1938
  ],
1939
- "implementationHash": "26961b323b57e0a6",
1939
+ "implementationHash": "14e13fbe2faf12e6",
1940
1940
  "middleware": [
1941
1941
  {
1942
1942
  "type": "wire",
@@ -2146,7 +2146,7 @@
2146
2146
  "outputSchemaName": null,
2147
2147
  "inputs": [],
2148
2148
  "outputs": [],
2149
- "implementationHash": "05da44df47065c3c",
2149
+ "implementationHash": "99b309db8e8700b1",
2150
2150
  "middleware": [
2151
2151
  {
2152
2152
  "type": "wire",
@@ -2170,7 +2170,7 @@
2170
2170
  "outputs": [
2171
2171
  "PikkuSchemasOutput"
2172
2172
  ],
2173
- "implementationHash": "6766362af66fa2dd",
2173
+ "implementationHash": "5c0288e2d4885c54",
2174
2174
  "middleware": [
2175
2175
  {
2176
2176
  "type": "wire",
@@ -2218,7 +2218,7 @@
2218
2218
  "outputs": [
2219
2219
  "PikkuGraphWiringsOutput"
2220
2220
  ],
2221
- "implementationHash": "ed4a2f2ac9d5db53",
2221
+ "implementationHash": "1c1a90acc29c5733",
2222
2222
  "middleware": [
2223
2223
  {
2224
2224
  "type": "wire",
@@ -2698,7 +2698,7 @@
2698
2698
  "outputs": [
2699
2699
  "PikkuEventsScaffoldOutput"
2700
2700
  ],
2701
- "implementationHash": "4a998c5d2ef1753b",
2701
+ "implementationHash": "59a5caca66a24f35",
2702
2702
  "middleware": [
2703
2703
  {
2704
2704
  "type": "wire",
@@ -2744,7 +2744,7 @@
2744
2744
  "outputs": [
2745
2745
  "PikkuPublicRPCOutput"
2746
2746
  ],
2747
- "implementationHash": "451ba459892bac2f",
2747
+ "implementationHash": "c1362000becfea01",
2748
2748
  "middleware": [
2749
2749
  {
2750
2750
  "type": "wire",
@@ -2790,7 +2790,7 @@
2790
2790
  "outputs": [
2791
2791
  "PikkuRemoteRPCOutput"
2792
2792
  ],
2793
- "implementationHash": "e9cbb8179a697ffe",
2793
+ "implementationHash": "6df4508c3f2f2671",
2794
2794
  "middleware": [
2795
2795
  {
2796
2796
  "type": "wire",
@@ -2926,7 +2926,7 @@
2926
2926
  "outputs": [
2927
2927
  "PikkuScenarioFunctionsOutput"
2928
2928
  ],
2929
- "implementationHash": "a5775a0206ece13d",
2929
+ "implementationHash": "4027c6c9634a2aaa",
2930
2930
  "middleware": [
2931
2931
  {
2932
2932
  "type": "wire",
@@ -3078,6 +3078,30 @@
3078
3078
  "inputHash": "164d65e7",
3079
3079
  "outputHash": "3ac7247c"
3080
3080
  },
3081
+ "pikkuUserAdminFunctions": {
3082
+ "pikkuFuncId": "pikkuUserAdminFunctions",
3083
+ "functionType": "user",
3084
+ "funcWrapper": "pikkuSessionlessFunc",
3085
+ "sessionless": true,
3086
+ "name": "pikkuUserAdminFunctions",
3087
+ "inputSchemaName": null,
3088
+ "outputSchemaName": "PikkuUserAdminFunctionsOutput",
3089
+ "inputs": [],
3090
+ "outputs": [
3091
+ "PikkuUserAdminFunctionsOutput"
3092
+ ],
3093
+ "implementationHash": "02a648d9614ddac6",
3094
+ "middleware": [
3095
+ {
3096
+ "type": "wire",
3097
+ "name": "logCommandInfoAndTime",
3098
+ "inline": false
3099
+ }
3100
+ ],
3101
+ "contractHash": "5b572c3e9cd756aa",
3102
+ "inputHash": "ea89750b",
3103
+ "outputHash": "8d7a341a"
3104
+ },
3081
3105
  "pikkuVariables": {
3082
3106
  "pikkuFuncId": "pikkuVariables",
3083
3107
  "functionType": "user",
@@ -3112,7 +3136,7 @@
3112
3136
  "outputs": [
3113
3137
  "PikkuWebhookOutput"
3114
3138
  ],
3115
- "implementationHash": "f046848551fd0ec6",
3139
+ "implementationHash": "37f0a612eb45d2cd",
3116
3140
  "middleware": [
3117
3141
  {
3118
3142
  "type": "wire",
@@ -3136,7 +3160,7 @@
3136
3160
  "outputs": [
3137
3161
  "PikkuWorkflowRoutesOutput"
3138
3162
  ],
3139
- "implementationHash": "44984589bce5976c",
3163
+ "implementationHash": "e7bf1baed80d990f",
3140
3164
  "middleware": [
3141
3165
  {
3142
3166
  "type": "wire",
@@ -3162,7 +3186,7 @@
3162
3186
  "outputs": [
3163
3187
  "PikkuWorkflowOutput"
3164
3188
  ],
3165
- "implementationHash": "20655832837c2fec",
3189
+ "implementationHash": "336b447a76456e0a",
3166
3190
  "middleware": [
3167
3191
  {
3168
3192
  "type": "wire",
@@ -3184,24 +3208,9 @@
3184
3208
  "outputSchemaName": null,
3185
3209
  "inputs": [],
3186
3210
  "outputs": [],
3187
- "implementationHash": "7c58129c39d83566",
3211
+ "implementationHash": "00e5456e89baba5e",
3188
3212
  "contractHash": "5cf046fc5045a072",
3189
3213
  "inputHash": "d5ff2f31",
3190
3214
  "outputHash": "391c291d"
3191
- },
3192
- "remoteRPCHandler": {
3193
- "pikkuFuncId": "remoteRPCHandler",
3194
- "functionType": "user",
3195
- "funcWrapper": "pikkuSessionlessFunc",
3196
- "sessionless": true,
3197
- "name": "remoteRPCHandler",
3198
- "inputSchemaName": "RemoteRPCHandlerInput",
3199
- "outputSchemaName": null,
3200
- "inputs": [
3201
- "RemoteRPCHandlerInput"
3202
- ],
3203
- "outputs": [],
3204
- "remote": true,
3205
- "implementationHash": "105018a823bdb551"
3206
3215
  }
3207
3216
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  /* Import and register functions used by RPCs */
5
5
  import { addFunction } from '@pikku/core/function';
@@ -73,6 +73,7 @@ import { pikkuSummary } from '../../src/functions/commands/pikku-command-summary
73
73
  import { pikkuTanStackStart } from '../../src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.js';
74
74
  import { pikkuTrigger } from '../../src/functions/wirings/triggers/pikku-command-trigger.js';
75
75
  import { pikkuTriggerTypes } from '../../src/functions/wirings/triggers/pikku-command-trigger-types.js';
76
+ import { pikkuUserAdminFunctions } from '../../src/functions/wirings/user-admin/pikku-command-user-admin-functions.js';
76
77
  import { pikkuVariableDefinitionTypes } from '../../src/functions/wirings/package/pikku-command-package-types.js';
77
78
  import { pikkuVariables } from '../../src/functions/wirings/variables/pikku-command-variables.js';
78
79
  import { pikkuVersionsUpdate } from '../../src/functions/commands/versions-update.js';
@@ -80,7 +81,6 @@ import { pikkuWebhook } from '../../src/functions/wirings/webhook/pikku-command-
80
81
  import { pikkuWebSocketTyped } from '../../src/functions/runtimes/websocket/pikku-command-websocket-typed.js';
81
82
  import { pikkuWorkflow } from '../../src/functions/wirings/workflow/pikku-command-workflow.js';
82
83
  import { pikkuWorkflowRoutes } from '../../src/functions/wirings/workflow/pikku-command-workflow-routes.js';
83
- import { remoteRPCHandler } from '../../src/scaffold/rpc-remote.gen.js';
84
84
  import { scopesAudit } from '../../src/functions/commands/scopes-audit.js';
85
85
  import { scopesPrune } from '../../src/functions/commands/scopes-prune.js';
86
86
  import { serve } from '../../src/functions/commands/serve.js';
@@ -155,6 +155,7 @@ addFunction('pikkuSummary', pikkuSummary);
155
155
  addFunction('pikkuTanStackStart', pikkuTanStackStart);
156
156
  addFunction('pikkuTrigger', pikkuTrigger);
157
157
  addFunction('pikkuTriggerTypes', pikkuTriggerTypes);
158
+ addFunction('pikkuUserAdminFunctions', pikkuUserAdminFunctions);
158
159
  addFunction('pikkuVariableDefinitionTypes', pikkuVariableDefinitionTypes);
159
160
  addFunction('pikkuVariables', pikkuVariables);
160
161
  addFunction('pikkuVersionsUpdate', pikkuVersionsUpdate);
@@ -162,7 +163,6 @@ addFunction('pikkuWebhook', pikkuWebhook);
162
163
  addFunction('pikkuWebSocketTyped', pikkuWebSocketTyped);
163
164
  addFunction('pikkuWorkflow', pikkuWorkflow);
164
165
  addFunction('pikkuWorkflowRoutes', pikkuWorkflowRoutes);
165
- addFunction('remoteRPCHandler', remoteRPCHandler);
166
166
  addFunction('scopesAudit', scopesAudit);
167
167
  addFunction('scopesPrune', scopesPrune);
168
168
  addFunction('serve', serve);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
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.83
2
+ * This file was generated by @pikku/cli@0.12.86
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization