@pikku/addon-admin 0.12.2 → 0.12.4

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 (431) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/.pikku/addon/agent/index.d.ts +1 -1
  3. package/dist/.pikku/addon/agent/index.js +1 -1
  4. package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
  5. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
  7. package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
  8. package/dist/.pikku/addon/auth/index.d.ts +1 -1
  9. package/dist/.pikku/addon/auth/index.js +1 -1
  10. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +1 -1
  11. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +1 -1
  12. package/dist/.pikku/addon/channel/index.d.ts +1 -1
  13. package/dist/.pikku/addon/channel/index.js +1 -1
  14. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
  15. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
  16. package/dist/.pikku/addon/error/index.d.ts +1 -1
  17. package/dist/.pikku/addon/error/index.js +1 -1
  18. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
  19. package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
  20. package/dist/.pikku/addon/function/index.d.ts +1 -1
  21. package/dist/.pikku/addon/function/index.js +1 -1
  22. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +1 -1
  23. package/dist/.pikku/addon/function/pikku-function-types.gen.js +1 -1
  24. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +67 -2
  25. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
  26. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +53 -2
  27. package/dist/.pikku/addon/function/pikku-functions.gen.js +5 -1
  28. package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -1
  29. package/dist/.pikku/addon/http/index.d.ts +1 -1
  30. package/dist/.pikku/addon/http/index.js +1 -1
  31. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
  32. package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
  33. package/dist/.pikku/addon/mcp/index.d.ts +1 -1
  34. package/dist/.pikku/addon/mcp/index.js +1 -1
  35. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
  36. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
  37. package/dist/.pikku/addon/middleware/index.d.ts +1 -1
  38. package/dist/.pikku/addon/middleware/index.js +1 -1
  39. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +1 -1
  40. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
  41. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  42. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
  43. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
  44. package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
  45. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  46. package/dist/.pikku/addon/pikku-services.gen.d.ts +1 -1
  47. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +12 -2
  48. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +12 -2
  49. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +10 -2
  50. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  51. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -0
  52. package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
  53. package/dist/.pikku/addon/scenarios/index.js +1 -1
  54. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +1 -1
  55. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  56. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  57. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  58. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  59. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  60. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
  61. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
  62. package/dist/.pikku/addon/schemas/register.gen.js +7 -1
  63. package/dist/.pikku/addon/schemas/register.gen.js.map +1 -1
  64. package/dist/.pikku/addon/schemas/schemas/CreateUserInput.schema.json +1 -1
  65. package/dist/.pikku/addon/schemas/schemas/PingOutput.schema.json +1 -0
  66. package/dist/.pikku/addon/schemas/schemas/SendSignInLinkInput.schema.json +1 -0
  67. package/dist/.pikku/addon/scopes/index.d.ts +1 -1
  68. package/dist/.pikku/addon/scopes/index.js +1 -1
  69. package/dist/.pikku/addon/scopes/pikku-personas.gen.js +1 -1
  70. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
  71. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +1 -1
  72. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
  73. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +2 -2
  74. package/dist/.pikku/addon/scopes/pikku-scopes.gen.js +1 -1
  75. package/dist/.pikku/addon/secrets/index.d.ts +1 -1
  76. package/dist/.pikku/addon/secrets/index.js +1 -1
  77. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
  78. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
  79. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
  80. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
  81. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
  82. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
  83. package/dist/.pikku/addon/setup/index.d.ts +1 -1
  84. package/dist/.pikku/addon/setup/index.js +1 -1
  85. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
  86. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
  87. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
  88. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
  89. package/dist/.pikku/addon/trigger/index.d.ts +1 -1
  90. package/dist/.pikku/addon/trigger/index.js +1 -1
  91. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +1 -1
  92. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +1 -1
  93. package/dist/.pikku/addon/variables/index.d.ts +1 -1
  94. package/dist/.pikku/addon/variables/index.js +1 -1
  95. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
  96. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
  97. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
  98. package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
  99. package/dist/.pikku/addon/workflow/index.d.ts +1 -1
  100. package/dist/.pikku/addon/workflow/index.js +1 -1
  101. package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  102. package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
  103. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +1 -1
  104. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
  105. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  106. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  107. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
  108. package/dist/src/functions/create-user.function.d.ts +3 -3
  109. package/dist/src/functions/ping.function.d.ts +25 -0
  110. package/dist/src/functions/ping.function.d.ts.map +1 -0
  111. package/dist/src/functions/ping.function.js +27 -0
  112. package/dist/src/functions/ping.function.js.map +1 -0
  113. package/dist/src/functions/send-sign-in-link.function.d.ts +17 -0
  114. package/dist/src/functions/send-sign-in-link.function.d.ts.map +1 -0
  115. package/dist/src/functions/send-sign-in-link.function.js +21 -0
  116. package/dist/src/functions/send-sign-in-link.function.js.map +1 -0
  117. package/dist/src/lib/user.schemas.d.ts +16 -1
  118. package/dist/src/lib/user.schemas.d.ts.map +1 -1
  119. package/dist/src/lib/user.schemas.js +16 -1
  120. package/dist/src/lib/user.schemas.js.map +1 -1
  121. package/dist/src/scopes.js +1 -2
  122. package/dist/src/scopes.js.map +1 -1
  123. package/package.json +6 -6
  124. package/dist/.pikku/addon/index.d.ts +0 -8
  125. package/dist/.pikku/addon/index.d.ts.map +0 -1
  126. package/dist/.pikku/addon/index.js +0 -8
  127. package/dist/.pikku/addon/index.js.map +0 -1
  128. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +0 -66
  129. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +0 -1
  130. package/dist/.pikku/addon/pikku-addon-types.gen.js +0 -78
  131. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +0 -1
  132. package/dist/.pikku/agent/index.d.ts +0 -8
  133. package/dist/.pikku/agent/index.d.ts.map +0 -1
  134. package/dist/.pikku/agent/index.js +0 -8
  135. package/dist/.pikku/agent/index.js.map +0 -1
  136. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  137. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +0 -54
  138. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +0 -1
  139. package/dist/.pikku/agent/pikku-agent-types.gen.js +0 -20
  140. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +0 -1
  141. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts +0 -2
  142. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +0 -1
  143. package/dist/.pikku/agent/pikku-model-aliases.gen.js +0 -6
  144. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +0 -1
  145. package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +0 -8
  146. package/dist/.pikku/auth/index.d.ts +0 -8
  147. package/dist/.pikku/auth/index.d.ts.map +0 -1
  148. package/dist/.pikku/auth/index.js +0 -8
  149. package/dist/.pikku/auth/index.js.map +0 -1
  150. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +0 -119
  151. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts.map +0 -1
  152. package/dist/.pikku/auth/pikku-auth-types.gen.js +0 -93
  153. package/dist/.pikku/auth/pikku-auth-types.gen.js.map +0 -1
  154. package/dist/.pikku/channel/index.d.ts +0 -8
  155. package/dist/.pikku/channel/index.d.ts.map +0 -1
  156. package/dist/.pikku/channel/index.js +0 -8
  157. package/dist/.pikku/channel/index.js.map +0 -1
  158. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +0 -91
  159. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +0 -1
  160. package/dist/.pikku/channel/pikku-channel-types.gen.js +0 -43
  161. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +0 -1
  162. package/dist/.pikku/credentials/index.d.ts +0 -8
  163. package/dist/.pikku/credentials/index.d.ts.map +0 -1
  164. package/dist/.pikku/credentials/index.js +0 -8
  165. package/dist/.pikku/credentials/index.js.map +0 -1
  166. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts +0 -5
  167. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts.map +0 -1
  168. package/dist/.pikku/credentials/pikku-credential-types.gen.js +0 -5
  169. package/dist/.pikku/credentials/pikku-credential-types.gen.js.map +0 -1
  170. package/dist/.pikku/error/index.d.ts +0 -8
  171. package/dist/.pikku/error/index.d.ts.map +0 -1
  172. package/dist/.pikku/error/index.js +0 -8
  173. package/dist/.pikku/error/index.js.map +0 -1
  174. package/dist/.pikku/error/pikku-error-types.gen.d.ts +0 -8
  175. package/dist/.pikku/error/pikku-error-types.gen.d.ts.map +0 -1
  176. package/dist/.pikku/error/pikku-error-types.gen.js +0 -8
  177. package/dist/.pikku/error/pikku-error-types.gen.js.map +0 -1
  178. package/dist/.pikku/function/index.d.ts +0 -8
  179. package/dist/.pikku/function/index.d.ts.map +0 -1
  180. package/dist/.pikku/function/index.js +0 -8
  181. package/dist/.pikku/function/index.js.map +0 -1
  182. package/dist/.pikku/function/pikku-function-types.gen.d.ts +0 -270
  183. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +0 -1
  184. package/dist/.pikku/function/pikku-function-types.gen.js +0 -117
  185. package/dist/.pikku/function/pikku-function-types.gen.js.map +0 -1
  186. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -891
  187. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +0 -2
  188. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +0 -1
  189. package/dist/.pikku/function/pikku-functions-meta.gen.js +0 -7
  190. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +0 -1
  191. package/dist/.pikku/function/pikku-functions-meta.gen.json +0 -699
  192. package/dist/.pikku/function/pikku-functions.gen.d.ts +0 -2
  193. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +0 -1
  194. package/dist/.pikku/function/pikku-functions.gen.js +0 -54
  195. package/dist/.pikku/function/pikku-functions.gen.js.map +0 -1
  196. package/dist/.pikku/gateway/index.d.ts +0 -8
  197. package/dist/.pikku/gateway/index.d.ts.map +0 -1
  198. package/dist/.pikku/gateway/index.js +0 -8
  199. package/dist/.pikku/gateway/index.js.map +0 -1
  200. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +0 -38
  201. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts.map +0 -1
  202. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +0 -26
  203. package/dist/.pikku/gateway/pikku-gateway-types.gen.js.map +0 -1
  204. package/dist/.pikku/http/index.d.ts +0 -8
  205. package/dist/.pikku/http/index.d.ts.map +0 -1
  206. package/dist/.pikku/http/index.js +0 -8
  207. package/dist/.pikku/http/index.js.map +0 -1
  208. package/dist/.pikku/http/pikku-http-types.gen.d.ts +0 -50
  209. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +0 -1
  210. package/dist/.pikku/http/pikku-http-types.gen.js +0 -11
  211. package/dist/.pikku/http/pikku-http-types.gen.js.map +0 -1
  212. package/dist/.pikku/mcp/index.d.ts +0 -8
  213. package/dist/.pikku/mcp/index.d.ts.map +0 -1
  214. package/dist/.pikku/mcp/index.js +0 -8
  215. package/dist/.pikku/mcp/index.js.map +0 -1
  216. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +0 -102
  217. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +0 -1
  218. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -16
  219. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +0 -1
  220. package/dist/.pikku/middleware/index.d.ts +0 -8
  221. package/dist/.pikku/middleware/index.d.ts.map +0 -1
  222. package/dist/.pikku/middleware/index.js +0 -8
  223. package/dist/.pikku/middleware/index.js.map +0 -1
  224. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +0 -118
  225. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts.map +0 -1
  226. package/dist/.pikku/middleware/pikku-middleware-types.gen.js +0 -109
  227. package/dist/.pikku/middleware/pikku-middleware-types.gen.js.map +0 -1
  228. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +0 -10
  229. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +0 -1
  230. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +0 -10
  231. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +0 -1
  232. package/dist/.pikku/pikku-bootstrap.gen.d.ts +0 -10
  233. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +0 -1
  234. package/dist/.pikku/pikku-bootstrap.gen.js +0 -10
  235. package/dist/.pikku/pikku-bootstrap.gen.js.map +0 -1
  236. package/dist/.pikku/pikku-services.gen.d.ts +0 -41
  237. package/dist/.pikku/pikku-services.gen.d.ts.map +0 -1
  238. package/dist/.pikku/pikku-services.gen.js +0 -37
  239. package/dist/.pikku/pikku-services.gen.js.map +0 -1
  240. package/dist/.pikku/queue/index.d.ts +0 -8
  241. package/dist/.pikku/queue/index.d.ts.map +0 -1
  242. package/dist/.pikku/queue/index.js +0 -8
  243. package/dist/.pikku/queue/index.js.map +0 -1
  244. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +0 -24
  245. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +0 -1
  246. package/dist/.pikku/queue/pikku-queue-types.gen.js +0 -17
  247. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +0 -1
  248. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -197
  249. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -197
  250. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +0 -171
  251. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +0 -2
  252. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +0 -1
  253. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +0 -7
  254. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +0 -1
  255. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -26
  256. package/dist/.pikku/scenarios/index.d.ts +0 -8
  257. package/dist/.pikku/scenarios/index.d.ts.map +0 -1
  258. package/dist/.pikku/scenarios/index.js +0 -8
  259. package/dist/.pikku/scenarios/index.js.map +0 -1
  260. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts +0 -18
  261. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts.map +0 -1
  262. package/dist/.pikku/scenarios/pikku-personas.gen.js +0 -18
  263. package/dist/.pikku/scenarios/pikku-personas.gen.js.map +0 -1
  264. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +0 -2
  265. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +0 -1
  266. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +0 -11
  267. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +0 -1
  268. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +0 -5
  269. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +0 -1
  270. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +0 -2
  271. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +0 -1
  272. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +0 -311
  273. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts.map +0 -1
  274. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js +0 -72
  275. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js.map +0 -1
  276. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +0 -2
  277. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +0 -1
  278. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +0 -11
  279. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +0 -1
  280. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +0 -5
  281. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +0 -1
  282. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +0 -2
  283. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +0 -1
  284. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +0 -5
  285. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +0 -1
  286. package/dist/.pikku/scenarios/schemas/register.gen.js +0 -5
  287. package/dist/.pikku/scenarios/schemas/register.gen.js.map +0 -1
  288. package/dist/.pikku/scheduler/index.d.ts +0 -8
  289. package/dist/.pikku/scheduler/index.d.ts.map +0 -1
  290. package/dist/.pikku/scheduler/index.js +0 -8
  291. package/dist/.pikku/scheduler/index.js.map +0 -1
  292. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +0 -22
  293. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +0 -1
  294. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +0 -17
  295. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +0 -1
  296. package/dist/.pikku/schemas/register.gen.d.ts +0 -2
  297. package/dist/.pikku/schemas/register.gen.d.ts.map +0 -1
  298. package/dist/.pikku/schemas/register.gen.js +0 -93
  299. package/dist/.pikku/schemas/register.gen.js.map +0 -1
  300. package/dist/.pikku/schemas/schemas/CreateUserInput.schema.json +0 -1
  301. package/dist/.pikku/schemas/schemas/CreateUserOutput.schema.json +0 -1
  302. package/dist/.pikku/schemas/schemas/CredentialDeleteInput.schema.json +0 -1
  303. package/dist/.pikku/schemas/schemas/CredentialDeleteOutput.schema.json +0 -1
  304. package/dist/.pikku/schemas/schemas/CredentialGetInput.schema.json +0 -1
  305. package/dist/.pikku/schemas/schemas/CredentialGetOutput.schema.json +0 -1
  306. package/dist/.pikku/schemas/schemas/CredentialListUsersOutput.schema.json +0 -1
  307. package/dist/.pikku/schemas/schemas/CredentialSetInput.schema.json +0 -1
  308. package/dist/.pikku/schemas/schemas/CredentialSetOutput.schema.json +0 -1
  309. package/dist/.pikku/schemas/schemas/CredentialStatusInput.schema.json +0 -1
  310. package/dist/.pikku/schemas/schemas/CredentialStatusOutput.schema.json +0 -1
  311. package/dist/.pikku/schemas/schemas/CredentialUsersInput.schema.json +0 -1
  312. package/dist/.pikku/schemas/schemas/CredentialUsersOutput.schema.json +0 -1
  313. package/dist/.pikku/schemas/schemas/GetAuditFiltersOutput.schema.json +0 -1
  314. package/dist/.pikku/schemas/schemas/GetAuditsInput.schema.json +0 -1
  315. package/dist/.pikku/schemas/schemas/GetAuditsOutput.schema.json +0 -1
  316. package/dist/.pikku/schemas/schemas/ListUsersInput.schema.json +0 -1
  317. package/dist/.pikku/schemas/schemas/ListUsersOutput.schema.json +0 -1
  318. package/dist/.pikku/schemas/schemas/RemoveUserInput.schema.json +0 -1
  319. package/dist/.pikku/schemas/schemas/RevokeUserSessionsInput.schema.json +0 -1
  320. package/dist/.pikku/schemas/schemas/RevokeUserSessionsOutput.schema.json +0 -1
  321. package/dist/.pikku/schemas/schemas/ScopeAddScopeToUserInput.schema.json +0 -1
  322. package/dist/.pikku/schemas/schemas/ScopeAddScopeToUserOutput.schema.json +0 -1
  323. package/dist/.pikku/schemas/schemas/ScopeAddUserToRoleInput.schema.json +0 -1
  324. package/dist/.pikku/schemas/schemas/ScopeAddUserToRoleOutput.schema.json +0 -1
  325. package/dist/.pikku/schemas/schemas/ScopeCreateRoleInput.schema.json +0 -1
  326. package/dist/.pikku/schemas/schemas/ScopeCreateRoleOutput.schema.json +0 -1
  327. package/dist/.pikku/schemas/schemas/ScopeDeleteRoleInput.schema.json +0 -1
  328. package/dist/.pikku/schemas/schemas/ScopeDeleteRoleOutput.schema.json +0 -1
  329. package/dist/.pikku/schemas/schemas/ScopeListDeclaredOutput.schema.json +0 -1
  330. package/dist/.pikku/schemas/schemas/ScopeListRolesOutput.schema.json +0 -1
  331. package/dist/.pikku/schemas/schemas/ScopeListUserRolesInput.schema.json +0 -1
  332. package/dist/.pikku/schemas/schemas/ScopeListUserRolesOutput.schema.json +0 -1
  333. package/dist/.pikku/schemas/schemas/ScopeRemoveScopeFromUserInput.schema.json +0 -1
  334. package/dist/.pikku/schemas/schemas/ScopeRemoveScopeFromUserOutput.schema.json +0 -1
  335. package/dist/.pikku/schemas/schemas/ScopeRemoveUserFromRoleInput.schema.json +0 -1
  336. package/dist/.pikku/schemas/schemas/ScopeRemoveUserFromRoleOutput.schema.json +0 -1
  337. package/dist/.pikku/schemas/schemas/ScopeSetRoleScopesInput.schema.json +0 -1
  338. package/dist/.pikku/schemas/schemas/ScopeSetRoleScopesOutput.schema.json +0 -1
  339. package/dist/.pikku/schemas/schemas/SetUserBannedInput.schema.json +0 -1
  340. package/dist/.pikku/schemas/schemas/SetUserBannedOutput.schema.json +0 -1
  341. package/dist/.pikku/schemas/schemas/SetUserPasswordInput.schema.json +0 -1
  342. package/dist/.pikku/schemas/schemas/SetUserPasswordOutput.schema.json +0 -1
  343. package/dist/.pikku/scopes/index.d.ts +0 -8
  344. package/dist/.pikku/scopes/index.d.ts.map +0 -1
  345. package/dist/.pikku/scopes/index.js +0 -8
  346. package/dist/.pikku/scopes/index.js.map +0 -1
  347. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +0 -1
  348. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +0 -29
  349. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +0 -1
  350. package/dist/.pikku/scopes/pikku-personas.gen.js +0 -18
  351. package/dist/.pikku/scopes/pikku-personas.gen.js.map +0 -1
  352. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +0 -1
  353. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +0 -31
  354. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +0 -1
  355. package/dist/.pikku/scopes/pikku-roles.gen.js +0 -19
  356. package/dist/.pikku/scopes/pikku-roles.gen.js.map +0 -1
  357. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +0 -6
  358. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +0 -1
  359. package/dist/.pikku/scopes/pikku-scope-types.gen.js +0 -6
  360. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +0 -1
  361. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +0 -69
  362. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +0 -36
  363. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +0 -1
  364. package/dist/.pikku/scopes/pikku-scopes.gen.js +0 -30
  365. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +0 -1
  366. package/dist/.pikku/secrets/index.d.ts +0 -9
  367. package/dist/.pikku/secrets/index.d.ts.map +0 -1
  368. package/dist/.pikku/secrets/index.js +0 -9
  369. package/dist/.pikku/secrets/index.js.map +0 -1
  370. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -5
  371. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +0 -1
  372. package/dist/.pikku/secrets/pikku-secret-types.gen.js +0 -5
  373. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +0 -1
  374. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
  375. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +0 -18
  376. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +0 -1
  377. package/dist/.pikku/secrets/pikku-secrets.gen.js +0 -19
  378. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +0 -1
  379. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +0 -8
  380. package/dist/.pikku/services/pikku-meta-service.gen.d.ts.map +0 -1
  381. package/dist/.pikku/services/pikku-meta-service.gen.js +0 -10
  382. package/dist/.pikku/services/pikku-meta-service.gen.js.map +0 -1
  383. package/dist/.pikku/setup/index.d.ts +0 -8
  384. package/dist/.pikku/setup/index.d.ts.map +0 -1
  385. package/dist/.pikku/setup/index.js +0 -8
  386. package/dist/.pikku/setup/index.js.map +0 -1
  387. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +0 -67
  388. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts.map +0 -1
  389. package/dist/.pikku/setup/pikku-setup-types.gen.js +0 -88
  390. package/dist/.pikku/setup/pikku-setup-types.gen.js.map +0 -1
  391. package/dist/.pikku/trigger/index.d.ts +0 -8
  392. package/dist/.pikku/trigger/index.d.ts.map +0 -1
  393. package/dist/.pikku/trigger/index.js +0 -8
  394. package/dist/.pikku/trigger/index.js.map +0 -1
  395. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +0 -83
  396. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +0 -1
  397. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -13
  398. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +0 -1
  399. package/dist/.pikku/variables/index.d.ts +0 -9
  400. package/dist/.pikku/variables/index.d.ts.map +0 -1
  401. package/dist/.pikku/variables/index.js +0 -9
  402. package/dist/.pikku/variables/index.js.map +0 -1
  403. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -5
  404. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +0 -1
  405. package/dist/.pikku/variables/pikku-variable-types.gen.js +0 -5
  406. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +0 -1
  407. package/dist/.pikku/variables/pikku-variables-meta.gen.json +0 -1
  408. package/dist/.pikku/variables/pikku-variables.gen.d.ts +0 -19
  409. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +0 -1
  410. package/dist/.pikku/variables/pikku-variables.gen.js +0 -19
  411. package/dist/.pikku/variables/pikku-variables.gen.js.map +0 -1
  412. package/dist/.pikku/workflow/index.d.ts +0 -8
  413. package/dist/.pikku/workflow/index.d.ts.map +0 -1
  414. package/dist/.pikku/workflow/index.js +0 -8
  415. package/dist/.pikku/workflow/index.js.map +0 -1
  416. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +0 -18
  417. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
  418. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +0 -100
  419. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +0 -1
  420. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +0 -16
  421. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +0 -1
  422. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +0 -2
  423. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +0 -1
  424. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +0 -7
  425. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +0 -1
  426. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +0 -5
  427. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +0 -1
  428. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +0 -5
  429. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +0 -1
  430. /package/dist/.pikku/{scenarios/pikku-scenario-functions-meta.gen.json → addon/db/pikku-db-meta.gen.json} +0 -0
  431. /package/dist/.pikku/{schemas/schemas/RemoveUserOutput.schema.json → addon/schemas/schemas/SendSignInLinkOutput.schema.json} +0 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.127
2
+ * This file was generated by @pikku/cli@0.12.143
3
3
  */
4
4
  /**
5
5
  * Workflow type map with input/output types for each workflow
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.127
2
+ * This file was generated by @pikku/cli@0.12.143
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.127
2
+ * This file was generated by @pikku/cli@0.12.143
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { pikkuWorkflowGraph as corePikkuWorkflowGraph } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.127
2
+ * This file was generated by @pikku/cli@0.12.143
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  const workflowsMeta = {};
@@ -1,5 +1,5 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.127
3
+ * This file was generated by @pikku/cli@0.12.143
4
4
  */
5
5
  //# sourceMappingURL=pikku-workflow-wirings.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.127
3
+ * This file was generated by @pikku/cli@0.12.143
4
4
  */
5
5
  //# sourceMappingURL=pikku-workflow-wirings.gen.js.map
@@ -1,18 +1,18 @@
1
1
  export declare const createUser: import("#pikku/addon/function").PikkuFunctionConfig<{
2
2
  email: string;
3
- password: string;
3
+ password?: string | undefined;
4
4
  name?: string | undefined;
5
5
  }, {
6
6
  userId: string;
7
7
  }, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
8
8
  email: string;
9
- password: string;
9
+ password?: string | undefined;
10
10
  name?: string | undefined;
11
11
  }, {
12
12
  userId: string;
13
13
  }, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
14
14
  email: string;
15
- password: string;
15
+ password?: string | undefined;
16
16
  name?: string | undefined;
17
17
  }, {
18
18
  userId: string;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Answers "am I wired?" and nothing else.
3
+ *
4
+ * The console UI ships with screens for users, roles and scopes, credentials
5
+ * and the audit trail, but the app serving it may never have wired this addon.
6
+ * Those screens probe for this function so they can say the addon is not
7
+ * enabled, instead of failing one request at a time.
8
+ *
9
+ * The probe discriminates on `RPCNotFoundError` (404), not on success: name
10
+ * resolution runs before the session check, so an unwired addon 404s even for
11
+ * an anonymous caller, while a wired one answers 200 — or 401/403 if the host
12
+ * gated it with `wireAddon({ auth: true })` or the caller lacks a role. Every
13
+ * one of those means *wired*, which is the only thing the screens need to know.
14
+ *
15
+ * It carries no scopes for the same reason: narrowing who may learn a fact the
16
+ * served UI already implies would only turn a clear answer into a 403.
17
+ */
18
+ export declare const ping: import("#pikku/addon/function").PikkuFunctionConfig<null, {
19
+ pong: true;
20
+ }, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<null, {
21
+ pong: true;
22
+ }, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<null, {
23
+ pong: true;
24
+ }, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
25
+ //# sourceMappingURL=ping.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ping.function.d.ts","sourceRoot":"","sources":["../../../src/functions/ping.function.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,IAAI;UAA2B,IAAI;;UAAJ,IAAI;;UAAJ,IAAI;oGAQ9C,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { pikkuFunc } from '#pikku/addon/function';
2
+ /**
3
+ * Answers "am I wired?" and nothing else.
4
+ *
5
+ * The console UI ships with screens for users, roles and scopes, credentials
6
+ * and the audit trail, but the app serving it may never have wired this addon.
7
+ * Those screens probe for this function so they can say the addon is not
8
+ * enabled, instead of failing one request at a time.
9
+ *
10
+ * The probe discriminates on `RPCNotFoundError` (404), not on success: name
11
+ * resolution runs before the session check, so an unwired addon 404s even for
12
+ * an anonymous caller, while a wired one answers 200 — or 401/403 if the host
13
+ * gated it with `wireAddon({ auth: true })` or the caller lacks a role. Every
14
+ * one of those means *wired*, which is the only thing the screens need to know.
15
+ *
16
+ * It carries no scopes for the same reason: narrowing who may learn a fact the
17
+ * served UI already implies would only turn a clear answer into a 403.
18
+ */
19
+ export const ping = pikkuFunc({
20
+ title: 'Ping',
21
+ description: 'Health check for the Pikku Admin addon. The console UI probes it to tell "addon not installed" apart from a real failure.',
22
+ expose: true,
23
+ func: async () => {
24
+ return { pong: true };
25
+ },
26
+ });
27
+ //# sourceMappingURL=ping.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ping.function.js","sourceRoot":"","sources":["../../../src/functions/ping.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,SAAS,CAAuB;IAClD,KAAK,EAAE,MAAM;IACb,WAAW,EACT,2HAA2H;IAC7H,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,KAAK,IAAI,EAAE;QACf,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;IACvB,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,17 @@
1
+ export declare const sendSignInLink: import("#pikku/addon/function").PikkuFunctionConfig<{
2
+ email: string;
3
+ callbackURL?: string | undefined;
4
+ }, {
5
+ success: boolean;
6
+ }, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
7
+ email: string;
8
+ callbackURL?: string | undefined;
9
+ }, {
10
+ success: boolean;
11
+ }, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
12
+ email: string;
13
+ callbackURL?: string | undefined;
14
+ }, {
15
+ success: boolean;
16
+ }, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
17
+ //# sourceMappingURL=send-sign-in-link.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-sign-in-link.function.d.ts","sourceRoot":"","sources":["../../../src/functions/send-sign-in-link.function.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;oGAiBzB,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { pikkuFunc } from '#pikku/addon/function';
2
+ import { sendAuthUserSignInLink } from '@pikku/better-auth';
3
+ import { SendSignInLinkInput, Success } from '../lib/user.schemas.js';
4
+ export const sendSignInLink = pikkuFunc({
5
+ title: 'Send Sign-In Link',
6
+ description: 'Mails a user a magic link they can sign in with. With magicLink({ disableSignUp: true }) a link only admits an email that already has a user row, which makes this the invitation for an account created without a password. Requires the magicLink plugin.',
7
+ expose: true,
8
+ // `admin:users:create` rather than a scope of its own: the link is the second
9
+ // half of provisioning an account out of band, and it is strictly weaker than
10
+ // `admin:users:password` — it goes to the user's own inbox, so it hands the
11
+ // caller nothing. A separate leaf would also have to be mirrored byte-for-byte
12
+ // in `@pikku/better-auth`'s tree, making an addon bump un-upgradable on its own.
13
+ scopes: ['admin:users:create'],
14
+ input: SendSignInLinkInput,
15
+ output: Success,
16
+ func: async ({ auth }, { email, callbackURL }) => {
17
+ await sendAuthUserSignInLink(auth, { email, callbackURL });
18
+ return { success: true };
19
+ },
20
+ });
21
+ //# sourceMappingURL=send-sign-in-link.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-sign-in-link.function.js","sourceRoot":"","sources":["../../../src/functions/send-sign-in-link.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAErE,MAAM,CAAC,MAAM,cAAc,GAAG,SAAS,CAAC;IACtC,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EACT,6PAA6P;IAC/P,MAAM,EAAE,IAAI;IACZ,8EAA8E;IAC9E,8EAA8E;IAC9E,4EAA4E;IAC5E,+EAA+E;IAC/E,iFAAiF;IACjF,MAAM,EAAE,CAAC,oBAAoB,CAAC;IAC9B,KAAK,EAAE,mBAAmB;IAC1B,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE;QAC/C,MAAM,sBAAsB,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAA;QAC1D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;IAC1B,CAAC;CACF,CAAC,CAAA"}
@@ -31,9 +31,15 @@ export declare const ListUsersOutput: z.ZodObject<{
31
31
  banExpires: z.ZodOptional<z.ZodString>;
32
32
  }, z.core.$strip>>;
33
33
  }, z.core.$strip>;
34
+ /**
35
+ * A password is optional: an account created without one has no credential
36
+ * row, so it cannot be signed into until `setUserPassword` gives it one — the
37
+ * provisioning half of an invite, for an app that mails its own link or signs
38
+ * users in through a social provider.
39
+ */
34
40
  export declare const CreateUserInput: z.ZodObject<{
35
41
  email: z.ZodString;
36
- password: z.ZodString;
42
+ password: z.ZodOptional<z.ZodString>;
37
43
  name: z.ZodOptional<z.ZodString>;
38
44
  }, z.core.$strip>;
39
45
  export declare const CreateUserOutput: z.ZodObject<{
@@ -53,6 +59,15 @@ export declare const SetUserPasswordInput: z.ZodObject<{
53
59
  userId: z.ZodString;
54
60
  newPassword: z.ZodString;
55
61
  }, z.core.$strip>;
62
+ /**
63
+ * An invite is addressed by email rather than by id: the link is mailed to an
64
+ * address, and the plugin resolves the user from it. `callbackURL` is where the
65
+ * app wants the accepted invite to land.
66
+ */
67
+ export declare const SendSignInLinkInput: z.ZodObject<{
68
+ email: z.ZodString;
69
+ callbackURL: z.ZodOptional<z.ZodString>;
70
+ }, z.core.$strip>;
56
71
  export declare const Success: z.ZodObject<{
57
72
  success: z.ZodBoolean;
58
73
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"user.schemas.d.ts","sourceRoot":"","sources":["../../../src/lib/user.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;iBASf,CAAA;AAEF,eAAO,MAAM,cAAc;;;iBAGzB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;iBAE1B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;iBAI1B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;iBAE3B,CAAA;AAEF,0CAA0C;AAC1C,eAAO,MAAM,OAAO;;iBAElB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;iBAK7B,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAA;AAEF,eAAO,MAAM,OAAO;;iBAElB,CAAA"}
1
+ {"version":3,"file":"user.schemas.d.ts","sourceRoot":"","sources":["../../../src/lib/user.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;iBASf,CAAA;AAEF,eAAO,MAAM,cAAc;;;iBAGzB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;iBAE1B,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;iBAI1B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;iBAE3B,CAAA;AAEF,0CAA0C;AAC1C,eAAO,MAAM,OAAO;;iBAElB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;iBAK7B,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAA;AAEF,eAAO,MAAM,OAAO;;iBAElB,CAAA"}
@@ -22,9 +22,15 @@ export const ListUsersInput = z.object({
22
22
  export const ListUsersOutput = z.object({
23
23
  users: z.array(User),
24
24
  });
25
+ /**
26
+ * A password is optional: an account created without one has no credential
27
+ * row, so it cannot be signed into until `setUserPassword` gives it one — the
28
+ * provisioning half of an invite, for an app that mails its own link or signs
29
+ * users in through a social provider.
30
+ */
25
31
  export const CreateUserInput = z.object({
26
32
  email: z.string(),
27
- password: z.string(),
33
+ password: z.string().optional(),
28
34
  name: z.string().optional(),
29
35
  });
30
36
  export const CreateUserOutput = z.object({
@@ -44,6 +50,15 @@ export const SetUserPasswordInput = z.object({
44
50
  userId: z.string(),
45
51
  newPassword: z.string(),
46
52
  });
53
+ /**
54
+ * An invite is addressed by email rather than by id: the link is mailed to an
55
+ * address, and the plugin resolves the user from it. `callbackURL` is where the
56
+ * app wants the accepted invite to land.
57
+ */
58
+ export const SendSignInLinkInput = z.object({
59
+ email: z.string(),
60
+ callbackURL: z.string().optional(),
61
+ });
47
62
  export const Success = z.object({
48
63
  success: z.boolean(),
49
64
  });
@@ -1 +1 @@
1
- {"version":3,"file":"user.schemas.js","sourceRoot":"","sources":["../../../src/lib/user.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE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,CAAA;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAA;AAEF,0CAA0C;AAC1C,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAA;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACrB,CAAC,CAAA"}
@@ -12,8 +12,7 @@ import { defineScope } from '#pikku/addon/scopes';
12
12
  * make every leaf below pointless. Each function carries its own.
13
13
  *
14
14
  * pikku requires every declaration of a shared scope root to be identical, so
15
- * this must stay byte-identical to `ADMIN_SCOPE_TREE` in `@pikku/better-auth`
16
- * and to the copy the `scaffold.userAdmin` generator emits.
15
+ * this must stay byte-identical to `ADMIN_SCOPE_TREE` in `@pikku/better-auth`.
17
16
  */
18
17
  defineScope({
19
18
  admin: {
@@ -1 +1 @@
1
- {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../src/scopes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD;;;;;;;;;;;;;;;GAeG;AACH,WAAW,CAAC;IACV,KAAK,EAAE;QACL,WAAW,EAAE,gBAAgB;QAC7B,WAAW,EAAE,qDAAqD;QAClE,MAAM,EAAE;YACN,WAAW,EAAE,EAAE,WAAW,EAAE,qBAAqB,EAAE;YACnD,WAAW,EAAE;gBACX,WAAW,EAAE,8BAA8B;gBAC3C,MAAM,EAAE;oBACN,IAAI,EAAE,EAAE,WAAW,EAAE,yCAAyC,EAAE;oBAChE,IAAI,EAAE,EAAE,WAAW,EAAE,2CAA2C,EAAE;oBAClE,MAAM,EAAE,EAAE,WAAW,EAAE,4BAA4B,EAAE;iBACtD;aACF;YACD,KAAK,EAAE;gBACL,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE;oBACN,IAAI,EAAE,EAAE,WAAW,EAAE,uBAAuB,EAAE;oBAC9C,MAAM,EAAE,EAAE,WAAW,EAAE,0BAA0B,EAAE;oBACnD,GAAG,EAAE,EAAE,WAAW,EAAE,qBAAqB,EAAE;oBAC3C,MAAM,EAAE,EAAE,WAAW,EAAE,iCAAiC,EAAE;oBAC1D,QAAQ,EAAE,EAAE,WAAW,EAAE,0BAA0B,EAAE;oBACrD,QAAQ,EAAE,EAAE,WAAW,EAAE,uBAAuB,EAAE;iBACnD;aACF;YACD,MAAM,EAAE;gBACN,WAAW,EAAE,0BAA0B;gBACvC,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,WAAW,EAAE,iDAAiD;qBAC/D;oBACD,MAAM,EAAE;wBACN,WAAW,E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AAM,EAAE;wBACN,WAAW,EACT,wEAAwE;qBAC3E;iBACF;aACF;YACD,KAAK,EAAE;gBACL,WAAW,EAAE,iBAAiB;gBAC9B,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,WAAW,EACT,sEAAsE;qBACzE;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/addon-admin",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "Admin addon for Pikku — the user directory, roles and scopes, credentials and the audit trail, as ordinary RPCs",
5
5
  "type": "module",
6
6
  "imports": {
@@ -19,7 +19,7 @@
19
19
  "dist"
20
20
  ],
21
21
  "scripts": {
22
- "build": "pikku all && tsc && (cp .pikku/addon/rpc/*.d.ts dist/.pikku/addon/rpc/ 2>/dev/null || true) && (cp .pikku/addon/agent/*.d.ts dist/.pikku/addon/agent/ 2>/dev/null || true) && (cp .pikku/addon/workflow/*.d.ts dist/.pikku/addon/workflow/ 2>/dev/null || true) && (mkdir -p dist/.pikku/addon/function && cp .pikku/addon/function/*-verbose.gen.json dist/.pikku/addon/function/ 2>/dev/null || true) && (mkdir -p dist/types && cp types/*.d.ts dist/types/)",
22
+ "build": "pikku all && tsc && (cp .pikku/addon/rpc/*.d.ts dist/.pikku/addon/rpc/ 2>/dev/null || true) && (cp .pikku/addon/agent/*.d.ts dist/.pikku/addon/agent/ 2>/dev/null || true) && (cp .pikku/addon/workflow/*.d.ts dist/.pikku/addon/workflow/ 2>/dev/null || true) && (mkdir -p dist/.pikku/addon/function && cp .pikku/addon/function/*-verbose.gen.json dist/.pikku/addon/function/ 2>/dev/null || true) && (mkdir -p dist/types && cp types/*.d.ts dist/types/) && (mkdir -p dist/.pikku/addon/db && cp .pikku/addon/db/pikku-db-meta.gen.json dist/.pikku/addon/db/)",
23
23
  "pikku": "pikku all",
24
24
  "ncu": "npx npm-check-updates",
25
25
  "pretest": "pikku all",
@@ -27,8 +27,8 @@
27
27
  "test:coverage": "bash run-tests.sh --coverage"
28
28
  },
29
29
  "peerDependencies": {
30
- "@pikku/better-auth": "^0.12.34",
31
- "@pikku/core": "^0.12.100",
30
+ "@pikku/better-auth": "^0.12.39",
31
+ "@pikku/core": "^0.12.106",
32
32
  "zod": "^4"
33
33
  },
34
34
  "peerDependenciesMeta": {
@@ -37,8 +37,8 @@
37
37
  }
38
38
  },
39
39
  "devDependencies": {
40
- "@pikku/better-auth": "^0.12.34",
41
- "@pikku/cli": "^0.12.127",
40
+ "@pikku/better-auth": "^0.12.39",
41
+ "@pikku/cli": "^0.12.141",
42
42
  "@pikku/core": "*",
43
43
  "typescript": "^6.0.3",
44
44
  "zod": "^4"
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- /**
5
- * Subpath entry — `#pikku/addon` resolves here.
6
- */
7
- export * from './pikku-addon-types.gen.js';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- /**
5
- * Subpath entry — `#pikku/addon` resolves here.
6
- */
7
- export * from './pikku-addon-types.gen.js';
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../.pikku/addon/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -1,66 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- /**
5
- * Addon package types for pikkuAddonConfig and pikkuAddonServices
6
- */
7
- import type { CreateConfig } from '@pikku/core/types';
8
- import type { PikkuWire } from '@pikku/core/types';
9
- import type { SingletonServices } from '../../types/application-types.d.js';
10
- import type { Config } from '../../types/application-types.d.js';
11
- import type { RequiredSingletonServices } from '../pikku-services.gen.js';
12
- import { TypedSecretService } from '../secrets/pikku-secrets.gen.js';
13
- import { TypedVariablesService } from '../variables/pikku-variables.gen.js';
14
- /**
15
- * Base services provided to addon package service factories.
16
- * These are always available from the parent application.
17
- */
18
- export type AddonBaseServices = {
19
- logger: SingletonServices['logger'];
20
- variables: TypedVariablesService;
21
- secrets: TypedSecretService;
22
- };
23
- /**
24
- * Creates a Pikku config factory for addon packages.
25
- * Unlike pikkuConfig, this receives AddonBaseServices (logger, variables, secrets)
26
- * from the parent application, so addon packages can read variables/secrets during config creation.
27
- */
28
- export declare const pikkuAddonConfig: <ExistingServices extends Omit<Partial<SingletonServices>, "variables" | "secrets"> & AddonBaseServices>(func: (services: ExistingServices) => Promise<Config>) => CreateConfig<Config>;
29
- /**
30
- * Creates a Pikku singleton services factory for addon packages.
31
- * Unlike pikkuServices, this expects the parent application to provide
32
- * logger, variables, and secrets - no fallbacks needed.
33
- *
34
- * @param func - Addon services factory function that receives config and base services
35
- * @returns The singleton services factory function
36
- *
37
- * @example
38
- * ```typescript
39
- * export const createSingletonServices = pikkuAddonServices(async (
40
- * config,
41
- * { secrets }
42
- * ) => {
43
- * const creds = await secrets.getSecret<GithubCredentials>('GITHUB_CREDENTIALS')
44
- * const github = new GithubService(creds.reveal())
45
- * return { github }
46
- * })
47
- * ```
48
- */
49
- export declare const pikkuAddonServices: <T extends Record<string, any>, ExistingServices extends Omit<Partial<SingletonServices>, "variables" | "secrets"> & AddonBaseServices>(func: (config: Config, services: ExistingServices) => Promise<T>) => (config: Config, existingServices?: Partial<SingletonServices>) => Promise<RequiredSingletonServices>;
50
- /**
51
- * Creates a Pikku wire services factory for addon packages.
52
- * Wire services are created per-request and have access to the HTTP request context.
53
- *
54
- * @param func - Wire services factory function that receives singleton services and the wire context
55
- * @returns The wire services factory function
56
- *
57
- * @example
58
- * ```typescript
59
- * export const createWireServices = pikkuAddonWireServices(async (services, wire) => {
60
- * const authHeader = wire.http?.request?.header('authorization')
61
- * return { myService: new MyService(authHeader) }
62
- * })
63
- * ```
64
- */
65
- export declare const pikkuAddonWireServices: <ExistingServices extends Omit<Partial<SingletonServices>, "variables" | "secrets"> & AddonBaseServices>(func: (services: ExistingServices, wire: PikkuWire) => Promise<Record<string, any>>) => any;
66
- //# sourceMappingURL=pikku-addon-types.gen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pikku-addon-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/pikku-addon-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAA;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAM3E;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAA;IACnC,SAAS,EAAE,qBAAqB,CAAA;IAChC,OAAO,EAAE,kBAAkB,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EACrI,MAAM,CAAC,QAAQ,EAAE,gBAAgB,KAAK,OAAO,CAAC,MAAM,CAAC,KACpD,YAAY,CAAC,MAAM,CAKrB,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EACtK,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,KAAK,OAAO,CAAC,CAAC,CAAC,MAElD,QAAQ,MAAM,EAAE,mBAAmB,OAAO,CAAC,iBAAiB,CAAC,KAAG,OAAO,CAAC,yBAAyB,CAchH,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EAC3I,MAAM,CAAC,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAM7E,GACP,CAAA"}
@@ -1,78 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- /**
5
- * Addon package types for pikkuAddonConfig and pikkuAddonServices
6
- */
7
- import { TypedSecretService } from '../secrets/pikku-secrets.gen.js';
8
- import { TypedVariablesService } from '../variables/pikku-variables.gen.js';
9
- /**
10
- * Creates a Pikku config factory for addon packages.
11
- * Unlike pikkuConfig, this receives AddonBaseServices (logger, variables, secrets)
12
- * from the parent application, so addon packages can read variables/secrets during config creation.
13
- */
14
- export const pikkuAddonConfig = (func) => {
15
- return (async (_variables, existingServices) => {
16
- const { secrets, variables, ...rest } = (existingServices ?? {});
17
- return func({ ...rest, secrets: new TypedSecretService(secrets), variables: new TypedVariablesService(variables) });
18
- });
19
- };
20
- /**
21
- * Creates a Pikku singleton services factory for addon packages.
22
- * Unlike pikkuServices, this expects the parent application to provide
23
- * logger, variables, and secrets - no fallbacks needed.
24
- *
25
- * @param func - Addon services factory function that receives config and base services
26
- * @returns The singleton services factory function
27
- *
28
- * @example
29
- * ```typescript
30
- * export const createSingletonServices = pikkuAddonServices(async (
31
- * config,
32
- * { secrets }
33
- * ) => {
34
- * const creds = await secrets.getSecret<GithubCredentials>('GITHUB_CREDENTIALS')
35
- * const github = new GithubService(creds.reveal())
36
- * return { github }
37
- * })
38
- * ```
39
- */
40
- export const pikkuAddonServices = (func) => {
41
- return async (config, existingServices) => {
42
- const { logger, variables, secrets, schema } = (existingServices ?? {});
43
- const typedVariables = new TypedVariablesService(variables);
44
- const typedSecrets = new TypedSecretService(secrets);
45
- const result = await func(config, { ...existingServices, logger, variables: typedVariables, secrets: typedSecrets });
46
- return {
47
- config,
48
- logger,
49
- schema,
50
- variables: typedVariables,
51
- secrets: typedSecrets,
52
- ...result,
53
- };
54
- };
55
- };
56
- /**
57
- * Creates a Pikku wire services factory for addon packages.
58
- * Wire services are created per-request and have access to the HTTP request context.
59
- *
60
- * @param func - Wire services factory function that receives singleton services and the wire context
61
- * @returns The wire services factory function
62
- *
63
- * @example
64
- * ```typescript
65
- * export const createWireServices = pikkuAddonWireServices(async (services, wire) => {
66
- * const authHeader = wire.http?.request?.header('authorization')
67
- * return { myService: new MyService(authHeader) }
68
- * })
69
- * ```
70
- */
71
- export const pikkuAddonWireServices = (func) => {
72
- return ((services, wire) => {
73
- const typedVariables = new TypedVariablesService(services.variables);
74
- const typedSecrets = new TypedSecretService(services.secrets);
75
- return func({ ...services, variables: typedVariables, secrets: typedSecrets }, wire);
76
- });
77
- };
78
- //# sourceMappingURL=pikku-addon-types.gen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pikku-addon-types.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-addon-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAOH,OAAO,EAAE,kBAAkB,EAAE,MAAM,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ED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,IAAmF,EACnF,EAAE;IACF,OAAO,CAAC,CAAC,QAAa,EAAE,IAAe,EAAE,EAAE;QACzC,MAAM,cAAc,GAAG,IAAI,qBAAqB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAA;QACpE,MAAM,YAAY,GAAG,IAAI,kBAAkB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;QAC7D,OAAO,IAAI,CAAC,EAAE,GAAG,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,YAAY,EAAsB,EAAE,IAAI,CAAC,CAAA;IAC1G,CAAC,CAAQ,CAAA;AACX,CAAC,CAAA"}
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- /**
5
- * Subpath entry — `#pikku/agent` resolves here.
6
- */
7
- export * from './pikku-agent-types.gen.js';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.pikku/agent/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- /**
5
- * Subpath entry — `#pikku/agent` resolves here.
6
- */
7
- export * from './pikku-agent-types.gen.js';
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../.pikku/agent/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- export type AgentMap = {}
@@ -1,54 +0,0 @@
1
- /**
2
- * This file was generated by @pikku/cli@0.12.105
3
- */
4
- import { CoreAgent } from '@pikku/core/agent';
5
- import { pikkuAgentScorer as corePikkuAgentScorer, pikkuAgentJudge as corePikkuAgentJudge } from '@pikku/core/agent-scorer';
6
- import type { Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
7
- import type { PikkuPermission } from '../auth/pikku-auth-types.gen.js';
8
- import type { PikkuMiddleware } from '../middleware/pikku-middleware-types.gen.js';
9
- import type { StandardSchemaV1 } from '@standard-schema/spec';
10
- import type { AgentMemoryConfig, AgentInput } from '@pikku/core/agent';
11
- import type { AgentMap } from './pikku-agent-map.gen.d.js';
12
- import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
13
- import type { ScorerName } from './pikku-scorer-names.gen.d.js';
14
- type AgentConfig<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = Omit<CoreAgent<PikkuPermission, PikkuMiddleware, ScopeId, ScorerName>, 'tools' | 'agents' | 'workflows' | 'memory' | 'input' | 'output'> & {
15
- input?: InputSchema;
16
- output?: OutputSchema;
17
- memory?: Omit<AgentMemoryConfig, 'workingMemory'> & {
18
- workingMemory?: StandardSchemaV1;
19
- };
20
- tools?: object[];
21
- agents?: AgentConfig<StandardSchemaV1 | undefined, StandardSchemaV1 | undefined>[];
22
- workflows?: object[];
23
- };
24
- export declare const pikkuAgent: <InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(agent: AgentConfig<InputSchema, OutputSchema>) => AgentConfig<InputSchema, OutputSchema>;
25
- export declare const pikkuAgentScorer: (config: Parameters<typeof corePikkuAgentScorer<Services>>[0]) => import("@pikku/core/agent-scorer").PikkuAgentScorer<Services>;
26
- export declare const pikkuAgentJudge: (config: Parameters<typeof corePikkuAgentJudge<Services>>[0]) => import("@pikku/core/agent-scorer").PikkuAgentScorer<Services>;
27
- export declare const agent: <Name extends keyof AgentMap>(agentName: Name) => PikkuFunctionConfig<AgentInput, {
28
- runId: string;
29
- result: AgentMap[Name]["output"];
30
- usage: {
31
- inputTokens: number;
32
- outputTokens: number;
33
- };
34
- }, "session" | "rpc">;
35
- export declare const agentStream: <Name extends keyof AgentMap>(agentName?: Name | undefined) => PikkuFunctionConfig<{
36
- agentName?: string;
37
- message: string;
38
- threadId: string;
39
- resourceId: string;
40
- }, void, "session" | "rpc">;
41
- export declare const agentResume: () => PikkuFunctionConfig<{
42
- runId: string;
43
- toolCallId: string;
44
- approved: boolean;
45
- }, void, "session" | "rpc">;
46
- export declare const agentApprove: <Name extends keyof AgentMap>(agentName: Name) => PikkuFunctionConfig<{
47
- runId: string;
48
- approvals: {
49
- toolCallId: string;
50
- approved: boolean;
51
- }[];
52
- }, unknown, "session" | "rpc">;
53
- export {};
54
- //# sourceMappingURL=pikku-agent-types.gen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pikku-agent-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/agent/pikku-agent-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAO7C,OAAO,EACL,gBAAgB,IAAI,oBAAoB,EACxC,eAAe,IAAI,mBAAmB,EACvC,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAC5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAA;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;A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AAE,MAAM,CAAC;IAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;IAAC,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,EACzG,SAAS,GAAG,KAAK,CAEpB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,IAAI,SAAS,MAAM,QAAQ,EACrD,4BAAgB,KAE0D,mBAAmB,CAC3F;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,EAC7E,IAAI,EACJ,SAAS,GAAG,KAAK,CAEpB,CAAA;AAED,eAAO,MAAM,WAAW,QACM,mBAAmB,CAC7C;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,EACxD,IAAI,EACJ,SAAS,GAAG,KAAK,CAEpB,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,IAAI,SAAS,MAAM,QAAQ,EACtD,WAAW,IAAI,KAE4D,mBAAmB,CAC5F;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAAE,EACzE,OAAO,EACP,SAAS,GAAG,KAAK,CAEpB,CAAA"}
@@ -1,20 +0,0 @@
1
- import { agent as coreAgent, agentStream as coreAgentStream, agentResume as coreAgentResume, agentApprove as coreAgentApprove, } from '@pikku/core/agent';
2
- import { pikkuAgentScorer as corePikkuAgentScorer, pikkuAgentJudge as corePikkuAgentJudge, } from '@pikku/core/agent-scorer';
3
- export const pikkuAgent = (agent) => {
4
- return agent;
5
- };
6
- export const pikkuAgentScorer = (config) => corePikkuAgentScorer(config);
7
- export const pikkuAgentJudge = (config) => corePikkuAgentJudge(config);
8
- export const agent = (agentName) => {
9
- return coreAgent(agentName);
10
- };
11
- export const agentStream = (agentName) => {
12
- return coreAgentStream(agentName);
13
- };
14
- export const agentResume = () => {
15
- return coreAgentResume();
16
- };
17
- export const agentApprove = (agentName) => {
18
- return coreAgentApprove(agentName);
19
- };
20
- //# sourceMappingURL=pikku-agent-types.gen.js.map