@pikku/addon-admin 0.12.17 → 0.12.20

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 (410) hide show
  1. package/README.md +24 -6
  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/analytics/index.d.ts +1 -1
  9. package/dist/.pikku/addon/analytics/index.js +1 -1
  10. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +1 -1
  11. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +1 -1
  12. package/dist/.pikku/addon/attention/index.d.ts +8 -0
  13. package/dist/.pikku/addon/attention/index.d.ts.map +1 -0
  14. package/dist/.pikku/addon/attention/index.js +8 -0
  15. package/dist/.pikku/addon/attention/index.js.map +1 -0
  16. package/dist/.pikku/addon/attention/pikku-attention-types.gen.d.ts +16 -0
  17. package/dist/.pikku/addon/attention/pikku-attention-types.gen.d.ts.map +1 -0
  18. package/dist/.pikku/addon/attention/pikku-attention-types.gen.js +14 -0
  19. package/dist/.pikku/addon/attention/pikku-attention-types.gen.js.map +1 -0
  20. package/dist/.pikku/addon/auth/index.d.ts +1 -1
  21. package/dist/.pikku/addon/auth/index.js +1 -1
  22. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +3 -17
  23. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -1
  24. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +3 -17
  25. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -1
  26. package/dist/.pikku/addon/channel/index.d.ts +1 -1
  27. package/dist/.pikku/addon/channel/index.js +1 -1
  28. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
  29. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
  30. package/dist/.pikku/addon/cli/index.d.ts +1 -1
  31. package/dist/.pikku/addon/cli/index.js +1 -1
  32. package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +1 -1
  33. package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +1 -1
  34. package/dist/.pikku/addon/error/index.d.ts +1 -1
  35. package/dist/.pikku/addon/error/index.js +1 -1
  36. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
  37. package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
  38. package/dist/.pikku/addon/function/index.d.ts +1 -1
  39. package/dist/.pikku/addon/function/index.js +1 -1
  40. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +69 -14
  41. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -1
  42. package/dist/.pikku/addon/function/pikku-function-types.gen.js +2 -10
  43. package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -1
  44. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +565 -216
  45. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
  46. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +162 -72
  47. package/dist/.pikku/addon/function/pikku-functions.gen.js +7 -1
  48. package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -1
  49. package/dist/.pikku/addon/harness/pikku-harness-gate-names.gen.d.ts +8 -0
  50. package/dist/.pikku/addon/harness/pikku-harness-gate-names.gen.d.ts.map +1 -0
  51. package/dist/.pikku/addon/harness/pikku-harness-gate-names.gen.js +8 -0
  52. package/dist/.pikku/addon/harness/pikku-harness-gate-names.gen.js.map +1 -0
  53. package/dist/.pikku/addon/http/index.d.ts +1 -1
  54. package/dist/.pikku/addon/http/index.js +1 -1
  55. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
  56. package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
  57. package/dist/.pikku/addon/keypairs/index.d.ts +1 -1
  58. package/dist/.pikku/addon/keypairs/index.js +1 -1
  59. package/dist/.pikku/addon/keypairs/pikku-keypair-types.gen.d.ts +1 -1
  60. package/dist/.pikku/addon/keypairs/pikku-keypair-types.gen.js +1 -1
  61. package/dist/.pikku/addon/keypairs/pikku-keypairs.gen.d.ts +2 -1
  62. package/dist/.pikku/addon/keypairs/pikku-keypairs.gen.d.ts.map +1 -1
  63. package/dist/.pikku/addon/mcp/index.d.ts +1 -1
  64. package/dist/.pikku/addon/mcp/index.js +1 -1
  65. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
  66. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
  67. package/dist/.pikku/addon/middleware/index.d.ts +1 -1
  68. package/dist/.pikku/addon/middleware/index.js +1 -1
  69. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +1 -1
  70. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
  71. package/dist/.pikku/addon/permissions/pikku-permissions.gen.d.ts +1 -1
  72. package/dist/.pikku/addon/permissions/pikku-permissions.gen.js +1 -1
  73. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  74. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
  75. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
  76. package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
  77. package/dist/.pikku/addon/pikku-local-services.gen.js +1 -1
  78. package/dist/.pikku/addon/pikku-package.gen.js +2 -2
  79. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  80. package/dist/.pikku/addon/pikku-services.gen.d.ts +6 -4
  81. package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -1
  82. package/dist/.pikku/addon/pikku-services.gen.js +4 -2
  83. package/dist/.pikku/addon/pikku-services.gen.js.map +1 -1
  84. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +8 -1
  85. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +8 -1
  86. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +3 -1
  87. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  88. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.json +3 -0
  89. package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
  90. package/dist/.pikku/addon/scenarios/index.js +1 -1
  91. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  92. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  93. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  94. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  95. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  96. package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +1 -1
  97. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
  98. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
  99. package/dist/.pikku/addon/schemas/register.gen.js +9 -1
  100. package/dist/.pikku/addon/schemas/register.gen.js.map +1 -1
  101. package/dist/.pikku/addon/schemas/schemas/AttentionInput.schema.json +1 -0
  102. package/dist/.pikku/addon/schemas/schemas/AttentionResult.schema.json +1 -0
  103. package/dist/.pikku/addon/schemas/schemas/InviteUserInput.schema.json +1 -0
  104. package/dist/.pikku/addon/schemas/schemas/InviteUserOutput.schema.json +1 -0
  105. package/dist/.pikku/addon/scopes/index.d.ts +1 -1
  106. package/dist/.pikku/addon/scopes/index.js +1 -1
  107. package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +1 -1
  108. package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +1 -1
  109. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
  110. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +1 -1
  111. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
  112. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
  113. package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +1 -1
  114. package/dist/.pikku/addon/screens/index.d.ts +1 -1
  115. package/dist/.pikku/addon/screens/index.js +1 -1
  116. package/dist/.pikku/addon/screens/pikku-plugin-types.gen.d.ts +1 -0
  117. package/dist/.pikku/addon/screens/pikku-plugin-types.gen.d.ts.map +1 -1
  118. package/dist/.pikku/addon/screens/pikku-plugin-types.gen.js +2 -1
  119. package/dist/.pikku/addon/screens/pikku-plugin-types.gen.js.map +1 -1
  120. package/dist/.pikku/addon/secrets/index.d.ts +1 -1
  121. package/dist/.pikku/addon/secrets/index.js +1 -1
  122. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
  123. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
  124. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
  125. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
  126. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
  127. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
  128. package/dist/.pikku/addon/setup/index.d.ts +1 -1
  129. package/dist/.pikku/addon/setup/index.js +1 -1
  130. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
  131. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
  132. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
  133. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
  134. package/dist/.pikku/addon/trigger/index.d.ts +1 -1
  135. package/dist/.pikku/addon/trigger/index.js +1 -1
  136. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +1 -1
  137. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +1 -1
  138. package/dist/.pikku/addon/utils/index.d.ts +1 -1
  139. package/dist/.pikku/addon/utils/index.js +1 -1
  140. package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +1 -1
  141. package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +1 -1
  142. package/dist/.pikku/addon/variables/index.d.ts +1 -1
  143. package/dist/.pikku/addon/variables/index.js +1 -1
  144. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
  145. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
  146. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
  147. package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
  148. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +1 -1
  149. package/dist/.pikku/addon/workflow/index.d.ts +1 -1
  150. package/dist/.pikku/addon/workflow/index.js +1 -1
  151. package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  152. package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +4 -2
  153. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +1 -1
  154. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
  155. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  156. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  157. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
  158. package/dist/src/function-tags.test.d.ts +2 -0
  159. package/dist/src/function-tags.test.d.ts.map +1 -0
  160. package/dist/src/function-tags.test.js +22 -0
  161. package/dist/src/function-tags.test.js.map +1 -0
  162. package/dist/src/functions/agent-credential-check.function.d.ts.map +1 -1
  163. package/dist/src/functions/agent-credential-check.function.js +1 -0
  164. package/dist/src/functions/agent-credential-check.function.js.map +1 -1
  165. package/dist/src/functions/attention.function.test.d.ts +2 -0
  166. package/dist/src/functions/attention.function.test.d.ts.map +1 -0
  167. package/dist/src/functions/attention.function.test.js +46 -0
  168. package/dist/src/functions/attention.function.test.js.map +1 -0
  169. package/dist/src/functions/create-user.function.d.ts.map +1 -1
  170. package/dist/src/functions/create-user.function.js +1 -0
  171. package/dist/src/functions/create-user.function.js.map +1 -1
  172. package/dist/src/functions/credential-delete.function.d.ts.map +1 -1
  173. package/dist/src/functions/credential-delete.function.js +1 -0
  174. package/dist/src/functions/credential-delete.function.js.map +1 -1
  175. package/dist/src/functions/credential-get.function.d.ts.map +1 -1
  176. package/dist/src/functions/credential-get.function.js +1 -0
  177. package/dist/src/functions/credential-get.function.js.map +1 -1
  178. package/dist/src/functions/credential-list-users.function.d.ts.map +1 -1
  179. package/dist/src/functions/credential-list-users.function.js +1 -0
  180. package/dist/src/functions/credential-list-users.function.js.map +1 -1
  181. package/dist/src/functions/credential-set.function.d.ts.map +1 -1
  182. package/dist/src/functions/credential-set.function.js +1 -0
  183. package/dist/src/functions/credential-set.function.js.map +1 -1
  184. package/dist/src/functions/credential-status.function.d.ts.map +1 -1
  185. package/dist/src/functions/credential-status.function.js +1 -0
  186. package/dist/src/functions/credential-status.function.js.map +1 -1
  187. package/dist/src/functions/credential-users.function.d.ts.map +1 -1
  188. package/dist/src/functions/credential-users.function.js +1 -0
  189. package/dist/src/functions/credential-users.function.js.map +1 -1
  190. package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -1
  191. package/dist/src/functions/delete-agent-thread.function.js +1 -0
  192. package/dist/src/functions/delete-agent-thread.function.js.map +1 -1
  193. package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -1
  194. package/dist/src/functions/delete-workflow-run.function.js +1 -0
  195. package/dist/src/functions/delete-workflow-run.function.js.map +1 -1
  196. package/dist/src/functions/flag-clear-override.function.d.ts.map +1 -1
  197. package/dist/src/functions/flag-clear-override.function.js +1 -0
  198. package/dist/src/functions/flag-clear-override.function.js.map +1 -1
  199. package/dist/src/functions/flag-list.function.d.ts.map +1 -1
  200. package/dist/src/functions/flag-list.function.js +1 -0
  201. package/dist/src/functions/flag-list.function.js.map +1 -1
  202. package/dist/src/functions/flag-overrides.function.d.ts.map +1 -1
  203. package/dist/src/functions/flag-overrides.function.js +1 -0
  204. package/dist/src/functions/flag-overrides.function.js.map +1 -1
  205. package/dist/src/functions/flag-prune.function.d.ts.map +1 -1
  206. package/dist/src/functions/flag-prune.function.js +1 -0
  207. package/dist/src/functions/flag-prune.function.js.map +1 -1
  208. package/dist/src/functions/flag-set-enabled.function.d.ts.map +1 -1
  209. package/dist/src/functions/flag-set-enabled.function.js +1 -0
  210. package/dist/src/functions/flag-set-enabled.function.js.map +1 -1
  211. package/dist/src/functions/flag-set-override.function.d.ts.map +1 -1
  212. package/dist/src/functions/flag-set-override.function.js +1 -0
  213. package/dist/src/functions/flag-set-override.function.js.map +1 -1
  214. package/dist/src/functions/flag-set-rollout.function.d.ts.map +1 -1
  215. package/dist/src/functions/flag-set-rollout.function.js +1 -0
  216. package/dist/src/functions/flag-set-rollout.function.js.map +1 -1
  217. package/dist/src/functions/flag-sync.function.d.ts.map +1 -1
  218. package/dist/src/functions/flag-sync.function.js +1 -0
  219. package/dist/src/functions/flag-sync.function.js.map +1 -1
  220. package/dist/src/functions/get-addon-instances.function.d.ts.map +1 -1
  221. package/dist/src/functions/get-addon-instances.function.js +1 -0
  222. package/dist/src/functions/get-addon-instances.function.js.map +1 -1
  223. package/dist/src/functions/get-agent-run-scores.function.d.ts.map +1 -1
  224. package/dist/src/functions/get-agent-run-scores.function.js +1 -0
  225. package/dist/src/functions/get-agent-run-scores.function.js.map +1 -1
  226. package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -1
  227. package/dist/src/functions/get-agent-thread-messages.function.js +1 -0
  228. package/dist/src/functions/get-agent-thread-messages.function.js.map +1 -1
  229. package/dist/src/functions/get-agent-thread-runs.function.d.ts.map +1 -1
  230. package/dist/src/functions/get-agent-thread-runs.function.js +1 -0
  231. package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -1
  232. package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
  233. package/dist/src/functions/get-agent-threads.function.js +1 -0
  234. package/dist/src/functions/get-agent-threads.function.js.map +1 -1
  235. package/dist/src/functions/get-attention.function.d.ts +8 -0
  236. package/dist/src/functions/get-attention.function.d.ts.map +1 -0
  237. package/dist/src/functions/get-attention.function.js +10 -0
  238. package/dist/src/functions/get-attention.function.js.map +1 -0
  239. package/dist/src/functions/get-audit-filters.function.d.ts.map +1 -1
  240. package/dist/src/functions/get-audit-filters.function.js +1 -0
  241. package/dist/src/functions/get-audit-filters.function.js.map +1 -1
  242. package/dist/src/functions/get-audits.function.d.ts.map +1 -1
  243. package/dist/src/functions/get-audits.function.js +1 -0
  244. package/dist/src/functions/get-audits.function.js.map +1 -1
  245. package/dist/src/functions/get-incoming-webhook-receipt.function.d.ts.map +1 -1
  246. package/dist/src/functions/get-incoming-webhook-receipt.function.js +1 -0
  247. package/dist/src/functions/get-incoming-webhook-receipt.function.js.map +1 -1
  248. package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -1
  249. package/dist/src/functions/get-installed-addons.function.js +1 -0
  250. package/dist/src/functions/get-installed-addons.function.js.map +1 -1
  251. package/dist/src/functions/get-my-access.function.d.ts.map +1 -1
  252. package/dist/src/functions/get-my-access.function.js +1 -0
  253. package/dist/src/functions/get-my-access.function.js.map +1 -1
  254. package/dist/src/functions/get-queue-history.function.d.ts.map +1 -1
  255. package/dist/src/functions/get-queue-history.function.js +1 -0
  256. package/dist/src/functions/get-queue-history.function.js.map +1 -1
  257. package/dist/src/functions/get-scheduler-history.function.d.ts.map +1 -1
  258. package/dist/src/functions/get-scheduler-history.function.js +1 -0
  259. package/dist/src/functions/get-scheduler-history.function.js.map +1 -1
  260. package/dist/src/functions/get-scorers.function.d.ts.map +1 -1
  261. package/dist/src/functions/get-scorers.function.js +1 -0
  262. package/dist/src/functions/get-scorers.function.js.map +1 -1
  263. package/dist/src/functions/get-virtual-user-run-steps.function.d.ts.map +1 -1
  264. package/dist/src/functions/get-virtual-user-run-steps.function.js +1 -0
  265. package/dist/src/functions/get-virtual-user-run-steps.function.js.map +1 -1
  266. package/dist/src/functions/get-virtual-user-runs.function.d.ts.map +1 -1
  267. package/dist/src/functions/get-virtual-user-runs.function.js +1 -0
  268. package/dist/src/functions/get-virtual-user-runs.function.js.map +1 -1
  269. package/dist/src/functions/get-virtual-user-schedules.function.d.ts.map +1 -1
  270. package/dist/src/functions/get-virtual-user-schedules.function.js +1 -0
  271. package/dist/src/functions/get-virtual-user-schedules.function.js.map +1 -1
  272. package/dist/src/functions/get-webhook-delivery.function.d.ts.map +1 -1
  273. package/dist/src/functions/get-webhook-delivery.function.js +1 -0
  274. package/dist/src/functions/get-webhook-delivery.function.js.map +1 -1
  275. package/dist/src/functions/get-workflow-run-history.function.d.ts.map +1 -1
  276. package/dist/src/functions/get-workflow-run-history.function.js +1 -0
  277. package/dist/src/functions/get-workflow-run-history.function.js.map +1 -1
  278. package/dist/src/functions/get-workflow-run-names.function.d.ts.map +1 -1
  279. package/dist/src/functions/get-workflow-run-names.function.js +1 -0
  280. package/dist/src/functions/get-workflow-run-names.function.js.map +1 -1
  281. package/dist/src/functions/get-workflow-run-steps.function.d.ts.map +1 -1
  282. package/dist/src/functions/get-workflow-run-steps.function.js +1 -0
  283. package/dist/src/functions/get-workflow-run-steps.function.js.map +1 -1
  284. package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -1
  285. package/dist/src/functions/get-workflow-run.function.js +1 -0
  286. package/dist/src/functions/get-workflow-run.function.js.map +1 -1
  287. package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -1
  288. package/dist/src/functions/get-workflow-runs.function.js +1 -0
  289. package/dist/src/functions/get-workflow-runs.function.js.map +1 -1
  290. package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -1
  291. package/dist/src/functions/get-workflow-version.function.js +1 -0
  292. package/dist/src/functions/get-workflow-version.function.js.map +1 -1
  293. package/dist/src/functions/invite-user.function.d.ts +23 -0
  294. package/dist/src/functions/invite-user.function.d.ts.map +1 -0
  295. package/dist/src/functions/invite-user.function.js +65 -0
  296. package/dist/src/functions/invite-user.function.js.map +1 -0
  297. package/dist/src/functions/invite-user.function.test.d.ts +2 -0
  298. package/dist/src/functions/invite-user.function.test.d.ts.map +1 -0
  299. package/dist/src/functions/invite-user.function.test.js +197 -0
  300. package/dist/src/functions/invite-user.function.test.js.map +1 -0
  301. package/dist/src/functions/list-incoming-webhook-receipts.function.d.ts.map +1 -1
  302. package/dist/src/functions/list-incoming-webhook-receipts.function.js +1 -0
  303. package/dist/src/functions/list-incoming-webhook-receipts.function.js.map +1 -1
  304. package/dist/src/functions/list-users.function.d.ts.map +1 -1
  305. package/dist/src/functions/list-users.function.js +1 -0
  306. package/dist/src/functions/list-users.function.js.map +1 -1
  307. package/dist/src/functions/list-webhook-deliveries.function.d.ts.map +1 -1
  308. package/dist/src/functions/list-webhook-deliveries.function.js +1 -0
  309. package/dist/src/functions/list-webhook-deliveries.function.js.map +1 -1
  310. package/dist/src/functions/ping.function.d.ts.map +1 -1
  311. package/dist/src/functions/ping.function.js +1 -0
  312. package/dist/src/functions/ping.function.js.map +1 -1
  313. package/dist/src/functions/refresh-attention.function.d.ts +4 -0
  314. package/dist/src/functions/refresh-attention.function.d.ts.map +1 -0
  315. package/dist/src/functions/refresh-attention.function.js +10 -0
  316. package/dist/src/functions/refresh-attention.function.js.map +1 -0
  317. package/dist/src/functions/remove-user.function.d.ts.map +1 -1
  318. package/dist/src/functions/remove-user.function.js +1 -0
  319. package/dist/src/functions/remove-user.function.js.map +1 -1
  320. package/dist/src/functions/revoke-user-sessions.function.d.ts.map +1 -1
  321. package/dist/src/functions/revoke-user-sessions.function.js +1 -0
  322. package/dist/src/functions/revoke-user-sessions.function.js.map +1 -1
  323. package/dist/src/functions/scope-add-scope-to-user.function.d.ts.map +1 -1
  324. package/dist/src/functions/scope-add-scope-to-user.function.js +1 -0
  325. package/dist/src/functions/scope-add-scope-to-user.function.js.map +1 -1
  326. package/dist/src/functions/scope-add-user-to-role.function.d.ts.map +1 -1
  327. package/dist/src/functions/scope-add-user-to-role.function.js +1 -0
  328. package/dist/src/functions/scope-add-user-to-role.function.js.map +1 -1
  329. package/dist/src/functions/scope-create-role.function.d.ts.map +1 -1
  330. package/dist/src/functions/scope-create-role.function.js +1 -0
  331. package/dist/src/functions/scope-create-role.function.js.map +1 -1
  332. package/dist/src/functions/scope-delete-role.function.d.ts.map +1 -1
  333. package/dist/src/functions/scope-delete-role.function.js +1 -0
  334. package/dist/src/functions/scope-delete-role.function.js.map +1 -1
  335. package/dist/src/functions/scope-list-declared.function.d.ts.map +1 -1
  336. package/dist/src/functions/scope-list-declared.function.js +1 -0
  337. package/dist/src/functions/scope-list-declared.function.js.map +1 -1
  338. package/dist/src/functions/scope-list-roles.function.d.ts.map +1 -1
  339. package/dist/src/functions/scope-list-roles.function.js +1 -0
  340. package/dist/src/functions/scope-list-roles.function.js.map +1 -1
  341. package/dist/src/functions/scope-list-user-roles.function.d.ts.map +1 -1
  342. package/dist/src/functions/scope-list-user-roles.function.js +1 -0
  343. package/dist/src/functions/scope-list-user-roles.function.js.map +1 -1
  344. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts.map +1 -1
  345. package/dist/src/functions/scope-remove-scope-from-user.function.js +1 -0
  346. package/dist/src/functions/scope-remove-scope-from-user.function.js.map +1 -1
  347. package/dist/src/functions/scope-remove-user-from-role.function.d.ts.map +1 -1
  348. package/dist/src/functions/scope-remove-user-from-role.function.js +1 -0
  349. package/dist/src/functions/scope-remove-user-from-role.function.js.map +1 -1
  350. package/dist/src/functions/scope-set-role-scopes.function.d.ts.map +1 -1
  351. package/dist/src/functions/scope-set-role-scopes.function.js +1 -0
  352. package/dist/src/functions/scope-set-role-scopes.function.js.map +1 -1
  353. package/dist/src/functions/secret-get.function.d.ts.map +1 -1
  354. package/dist/src/functions/secret-get.function.js +1 -0
  355. package/dist/src/functions/secret-get.function.js.map +1 -1
  356. package/dist/src/functions/secret-has.function.d.ts.map +1 -1
  357. package/dist/src/functions/secret-has.function.js +1 -0
  358. package/dist/src/functions/secret-has.function.js.map +1 -1
  359. package/dist/src/functions/secret-set.function.d.ts.map +1 -1
  360. package/dist/src/functions/secret-set.function.js +1 -0
  361. package/dist/src/functions/secret-set.function.js.map +1 -1
  362. package/dist/src/functions/send-sign-in-link.function.d.ts.map +1 -1
  363. package/dist/src/functions/send-sign-in-link.function.js +1 -0
  364. package/dist/src/functions/send-sign-in-link.function.js.map +1 -1
  365. package/dist/src/functions/set-user-banned.function.d.ts.map +1 -1
  366. package/dist/src/functions/set-user-banned.function.js +1 -0
  367. package/dist/src/functions/set-user-banned.function.js.map +1 -1
  368. package/dist/src/functions/set-user-password.function.d.ts.map +1 -1
  369. package/dist/src/functions/set-user-password.function.js +1 -0
  370. package/dist/src/functions/set-user-password.function.js.map +1 -1
  371. package/dist/src/functions/stream-workflow-run.function.d.ts.map +1 -1
  372. package/dist/src/functions/stream-workflow-run.function.js +1 -0
  373. package/dist/src/functions/stream-workflow-run.function.js.map +1 -1
  374. package/dist/src/functions/trigger-source-disable.function.d.ts.map +1 -1
  375. package/dist/src/functions/trigger-source-disable.function.js +1 -0
  376. package/dist/src/functions/trigger-source-disable.function.js.map +1 -1
  377. package/dist/src/functions/trigger-source-enable.function.d.ts.map +1 -1
  378. package/dist/src/functions/trigger-source-enable.function.js +1 -0
  379. package/dist/src/functions/trigger-source-enable.function.js.map +1 -1
  380. package/dist/src/functions/trigger-source-forget.function.d.ts.map +1 -1
  381. package/dist/src/functions/trigger-source-forget.function.js +1 -0
  382. package/dist/src/functions/trigger-source-forget.function.js.map +1 -1
  383. package/dist/src/functions/trigger-source-list.function.d.ts.map +1 -1
  384. package/dist/src/functions/trigger-source-list.function.js +1 -0
  385. package/dist/src/functions/trigger-source-list.function.js.map +1 -1
  386. package/dist/src/functions/trigger-source-reconcile.function.d.ts.map +1 -1
  387. package/dist/src/functions/trigger-source-reconcile.function.js +1 -0
  388. package/dist/src/functions/trigger-source-reconcile.function.js.map +1 -1
  389. package/dist/src/functions/trigger-source-teardown.function.d.ts.map +1 -1
  390. package/dist/src/functions/trigger-source-teardown.function.js +1 -0
  391. package/dist/src/functions/trigger-source-teardown.function.js.map +1 -1
  392. package/dist/src/functions/variable-get.function.d.ts.map +1 -1
  393. package/dist/src/functions/variable-get.function.js +1 -0
  394. package/dist/src/functions/variable-get.function.js.map +1 -1
  395. package/dist/src/functions/variable-set.function.d.ts.map +1 -1
  396. package/dist/src/functions/variable-set.function.js +1 -0
  397. package/dist/src/functions/variable-set.function.js.map +1 -1
  398. package/dist/src/lib/invite-errors.d.ts +20 -0
  399. package/dist/src/lib/invite-errors.d.ts.map +1 -0
  400. package/dist/src/lib/invite-errors.js +50 -0
  401. package/dist/src/lib/invite-errors.js.map +1 -0
  402. package/dist/src/lib/user.schemas.d.ts +15 -0
  403. package/dist/src/lib/user.schemas.d.ts.map +1 -1
  404. package/dist/src/lib/user.schemas.js +15 -0
  405. package/dist/src/lib/user.schemas.js.map +1 -1
  406. package/dist/src/services.d.ts +1 -2
  407. package/dist/src/services.d.ts.map +1 -1
  408. package/dist/src/services.js +1 -2
  409. package/dist/src/services.js.map +1 -1
  410. package/package.json +3 -3
@@ -29,14 +29,17 @@
29
29
  "scopes": [
30
30
  "admin:credentials:read"
31
31
  ],
32
- "implementationHash": "e9ca3197336f890a",
32
+ "implementationHash": "a4cd6971578614af",
33
33
  "title": "Agent Credential Check",
34
+ "tags": [
35
+ "admin:agents"
36
+ ],
34
37
  "description": "Checks which OAuth credentials an agent needs and whether the authenticated user has connected them.",
35
38
  "isDirectFunction": false,
36
39
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/agent-credential-check.function.ts",
37
40
  "exportedName": "agentCredentialCheck",
38
- "bodyStart": 23,
39
- "bodyEnd": 71,
41
+ "bodyStart": 24,
42
+ "bodyEnd": 72,
40
43
  "contractHash": "07bf36af4e1b26cd",
41
44
  "inputHash": "5b191655",
42
45
  "outputHash": "eeff398a",
@@ -66,14 +69,17 @@
66
69
  "scopes": [
67
70
  "admin:users:create"
68
71
  ],
69
- "implementationHash": "4901c206c52f7cfe",
72
+ "implementationHash": "d2b56dcdb7d7d6e7",
70
73
  "title": "Create User",
74
+ "tags": [
75
+ "admin:users"
76
+ ],
71
77
  "description": "Creates a user directly, for provisioning an account out of band rather than through your sign-up flow. Enforces the configured password bounds and rejects a duplicate email.",
72
78
  "isDirectFunction": false,
73
79
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/create-user.function.ts",
74
80
  "exportedName": "createUser",
75
- "bodyStart": 13,
76
- "bodyEnd": 15,
81
+ "bodyStart": 14,
82
+ "bodyEnd": 16,
77
83
  "contractHash": "52fc3b887b3c0a56",
78
84
  "inputHash": "e3f5011c",
79
85
  "outputHash": "5b40726a",
@@ -103,14 +109,17 @@
103
109
  "scopes": [
104
110
  "admin:credentials:manage"
105
111
  ],
106
- "implementationHash": "658155fc68fc5213",
112
+ "implementationHash": "0a79dda6b37aeb19",
107
113
  "title": "Delete Credential",
114
+ "tags": [
115
+ "admin:credentials"
116
+ ],
108
117
  "description": "Deletes a credential, optionally scoped to a user.",
109
118
  "isDirectFunction": false,
110
119
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/credential-delete.function.ts",
111
120
  "exportedName": "credentialDelete",
112
- "bodyStart": 12,
113
- "bodyEnd": 13,
121
+ "bodyStart": 13,
122
+ "bodyEnd": 14,
114
123
  "contractHash": "c0c0129a197c5bed",
115
124
  "inputHash": "e5f90226",
116
125
  "outputHash": "d380569d",
@@ -140,14 +149,17 @@
140
149
  "scopes": [
141
150
  "admin:credentials:read"
142
151
  ],
143
- "implementationHash": "f269191a296af056",
152
+ "implementationHash": "d4d903a434f6af30",
144
153
  "title": "Get Credential",
154
+ "tags": [
155
+ "admin:credentials"
156
+ ],
145
157
  "description": "Retrieves a credential value, optionally scoped to a user.",
146
158
  "isDirectFunction": false,
147
159
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/credential-get.function.ts",
148
160
  "exportedName": "credentialGet",
149
- "bodyStart": 12,
150
- "bodyEnd": 13,
161
+ "bodyStart": 13,
162
+ "bodyEnd": 14,
151
163
  "contractHash": "20ae6fc72986b883",
152
164
  "inputHash": "1162de3d",
153
165
  "outputHash": "7f6b0ebf",
@@ -175,14 +187,17 @@
175
187
  "scopes": [
176
188
  "admin:credentials:read"
177
189
  ],
178
- "implementationHash": "e655f772146c8b73",
190
+ "implementationHash": "29cb3e1c6e5cb2bd",
179
191
  "title": "List Credential Users",
192
+ "tags": [
193
+ "admin:credentials"
194
+ ],
180
195
  "description": "Lists all users together with the credentials each of them has configured.",
181
196
  "isDirectFunction": false,
182
197
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/credential-list-users.function.ts",
183
198
  "exportedName": "credentialListUsers",
184
- "bodyStart": 25,
185
- "bodyEnd": 40,
199
+ "bodyStart": 26,
200
+ "bodyEnd": 41,
186
201
  "contractHash": "0b3e0e99cc0fe325",
187
202
  "inputHash": "13b79bd2",
188
203
  "outputHash": "5bf6ba22",
@@ -212,14 +227,17 @@
212
227
  "scopes": [
213
228
  "admin:credentials:manage"
214
229
  ],
215
- "implementationHash": "b2e39ca4b8193dde",
230
+ "implementationHash": "dee4c616109ae5c5",
216
231
  "title": "Set Credential",
232
+ "tags": [
233
+ "admin:credentials"
234
+ ],
217
235
  "description": "Stores a credential value, optionally scoped to a user.",
218
236
  "isDirectFunction": false,
219
237
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/credential-set.function.ts",
220
238
  "exportedName": "credentialSet",
221
- "bodyStart": 12,
222
- "bodyEnd": 13,
239
+ "bodyStart": 13,
240
+ "bodyEnd": 14,
223
241
  "contractHash": "1cf24418020be4f5",
224
242
  "inputHash": "411710ba",
225
243
  "outputHash": "d17478ee",
@@ -249,14 +267,17 @@
249
267
  "scopes": [
250
268
  "admin:credentials:read"
251
269
  ],
252
- "implementationHash": "bc31298d5893bf3d",
270
+ "implementationHash": "c5408d04dc63f62f",
253
271
  "title": "Credential Status",
272
+ "tags": [
273
+ "admin:credentials"
274
+ ],
254
275
  "description": "Checks which of the given credential names are configured. Optionally scoped to a user.",
255
276
  "isDirectFunction": false,
256
277
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/credential-status.function.ts",
257
278
  "exportedName": "credentialStatus",
258
- "bodyStart": 13,
259
- "bodyEnd": 17,
279
+ "bodyStart": 14,
280
+ "bodyEnd": 18,
260
281
  "contractHash": "54c549aa89a51ad1",
261
282
  "inputHash": "e5e1d5fa",
262
283
  "outputHash": "d90abe74",
@@ -286,14 +307,17 @@
286
307
  "scopes": [
287
308
  "admin:credentials:read"
288
309
  ],
289
- "implementationHash": "0b6b52233753d312",
310
+ "implementationHash": "552cf4d07bb3a9b4",
290
311
  "title": "Credential Users",
312
+ "tags": [
313
+ "admin:credentials"
314
+ ],
291
315
  "description": "Lists all user IDs that have a specific credential configured.",
292
316
  "isDirectFunction": false,
293
317
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/credential-users.function.ts",
294
318
  "exportedName": "credentialUsers",
295
- "bodyStart": 12,
296
- "bodyEnd": 13,
319
+ "bodyStart": 13,
320
+ "bodyEnd": 14,
297
321
  "contractHash": "3978cc43086f3ba9",
298
322
  "inputHash": "3ece4aca",
299
323
  "outputHash": "ad9afc4a",
@@ -323,8 +347,11 @@
323
347
  "scopes": [
324
348
  "admin:agents:manage"
325
349
  ],
326
- "implementationHash": "3cf1b1bea4fe8d55",
350
+ "implementationHash": "8fd990fd2301c231",
327
351
  "title": "Delete Agent Thread",
352
+ "tags": [
353
+ "admin:agents"
354
+ ],
328
355
  "description": "Deletes an AI agent thread and all its associated messages and runs via cascade. A caller without the admin scope may only delete a thread its own session owns.",
329
356
  "permissions": [
330
357
  {
@@ -336,8 +363,8 @@
336
363
  "isDirectFunction": false,
337
364
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/delete-agent-thread.function.ts",
338
365
  "exportedName": "deleteAgentThread",
339
- "bodyStart": 15,
340
- "bodyEnd": 16,
366
+ "bodyStart": 16,
367
+ "bodyEnd": 17,
341
368
  "contractHash": "4a965a6fb8ee9447",
342
369
  "inputHash": "a375c07d",
343
370
  "outputHash": "a2094cc1",
@@ -367,14 +394,17 @@
367
394
  "scopes": [
368
395
  "admin:workflows:manage"
369
396
  ],
370
- "implementationHash": "837b6be7c464d28b",
397
+ "implementationHash": "990c50a47d801859",
371
398
  "title": "Delete Workflow Run",
399
+ "tags": [
400
+ "admin:workflows"
401
+ ],
372
402
  "description": "Deletes a workflow run and all its associated steps and history.",
373
403
  "isDirectFunction": false,
374
404
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/delete-workflow-run.function.ts",
375
405
  "exportedName": "deleteWorkflowRun",
376
- "bodyStart": 13,
377
- "bodyEnd": 14,
406
+ "bodyStart": 14,
407
+ "bodyEnd": 15,
378
408
  "contractHash": "ad8307eecdc7ad6a",
379
409
  "inputHash": "9c70c523",
380
410
  "outputHash": "15f13ae6",
@@ -404,14 +434,17 @@
404
434
  "scopes": [
405
435
  "admin:flags:manage"
406
436
  ],
407
- "implementationHash": "4e13e0fe4543e338",
437
+ "implementationHash": "4a01f4268f4dc663",
408
438
  "title": "Clear a Feature Flag Override",
439
+ "tags": [
440
+ "admin:flags"
441
+ ],
409
442
  "description": "Returns one subject to the flag it would otherwise resolve to. Not the same as overriding it to false, which keeps the subject pinned off through a later rollout.",
410
443
  "isDirectFunction": false,
411
444
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-clear-override.function.ts",
412
445
  "exportedName": "flagClearOverride",
413
- "bodyStart": 15,
414
- "bodyEnd": 16,
446
+ "bodyStart": 16,
447
+ "bodyEnd": 17,
415
448
  "contractHash": "e3b4da2dabf37b9c",
416
449
  "inputHash": "93b69980",
417
450
  "outputHash": "e7d6cead",
@@ -439,14 +472,17 @@
439
472
  "scopes": [
440
473
  "admin:flags:read"
441
474
  ],
442
- "implementationHash": "587360d312f5d1da",
475
+ "implementationHash": "e09fd52581b99b48",
443
476
  "title": "List Feature Flags",
477
+ "tags": [
478
+ "admin:flags"
479
+ ],
444
480
  "description": "Lists every declared feature flag with its rollout, whether it is still declared in code, and whether the backing store holds a row for it.",
445
481
  "isDirectFunction": false,
446
482
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-list.function.ts",
447
483
  "exportedName": "flagList",
448
- "bodyStart": 19,
449
- "bodyEnd": 43,
484
+ "bodyStart": 20,
485
+ "bodyEnd": 44,
450
486
  "contractHash": "c1eb244ab913104f",
451
487
  "inputHash": "368e7696",
452
488
  "outputHash": "864a7336",
@@ -476,14 +512,17 @@
476
512
  "scopes": [
477
513
  "admin:flags:read"
478
514
  ],
479
- "implementationHash": "020e97600b71276e",
515
+ "implementationHash": "2e045d7819d8df29",
480
516
  "title": "List a Feature Flag’s Overrides",
517
+ "tags": [
518
+ "admin:flags"
519
+ ],
481
520
  "description": "Lists every organization and user pinned on or off for one flag, ahead of its rollout.",
482
521
  "isDirectFunction": false,
483
522
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-overrides.function.ts",
484
523
  "exportedName": "flagOverrides",
485
- "bodyStart": 15,
486
- "bodyEnd": 22,
524
+ "bodyStart": 16,
525
+ "bodyEnd": 23,
487
526
  "contractHash": "0690a70083ab8ee6",
488
527
  "inputHash": "03e45773",
489
528
  "outputHash": "97f4f15c",
@@ -511,14 +550,17 @@
511
550
  "scopes": [
512
551
  "admin:flags:manage"
513
552
  ],
514
- "implementationHash": "1421ab605e74aaf4",
553
+ "implementationHash": "5686dd7d7be84d59",
515
554
  "title": "Prune Undeclared Feature Flags",
555
+ "tags": [
556
+ "admin:flags"
557
+ ],
516
558
  "description": "Removes the flags whose declaration has gone from code, and every override on them. Reports what it deleted, which is never assumed from what was stale a moment earlier.",
517
559
  "isDirectFunction": false,
518
560
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-prune.function.ts",
519
561
  "exportedName": "flagPrune",
520
- "bodyStart": 11,
521
- "bodyEnd": 11,
562
+ "bodyStart": 12,
563
+ "bodyEnd": 12,
522
564
  "contractHash": "7aa6be77d7c3f054",
523
565
  "inputHash": "58554342",
524
566
  "outputHash": "4ca1f185",
@@ -554,14 +596,17 @@
554
596
  "scopes": [
555
597
  "admin:flags:manage"
556
598
  ],
557
- "implementationHash": "79c2aad9c890c6ef",
599
+ "implementationHash": "4bb8b0f2d771ff4b",
558
600
  "title": "Switch a Feature Flag",
601
+ "tags": [
602
+ "admin:flags"
603
+ ],
559
604
  "description": "Turns a feature off for everyone, or back on. Takes effect within the source cache TTL, without a deploy.",
560
605
  "isDirectFunction": false,
561
606
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-set-enabled.function.ts",
562
607
  "exportedName": "flagSetEnabled",
563
- "bodyStart": 14,
564
- "bodyEnd": 20,
608
+ "bodyStart": 15,
609
+ "bodyEnd": 21,
565
610
  "contractHash": "01388c3e7cc40e61",
566
611
  "inputHash": "f625bc15",
567
612
  "outputHash": "d21d1f2a",
@@ -597,14 +642,17 @@
597
642
  "scopes": [
598
643
  "admin:flags:manage"
599
644
  ],
600
- "implementationHash": "0390db5c3d3727c3",
645
+ "implementationHash": "2e48a79ebe619a8f",
601
646
  "title": "Override a Feature Flag",
647
+ "tags": [
648
+ "admin:flags"
649
+ ],
602
650
  "description": "Forces a flag on or off for one organization or user, ahead of the rollout. This is how \"off for everyone except these three\" stays one row rather than a fan-out.",
603
651
  "isDirectFunction": false,
604
652
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-set-override.function.ts",
605
653
  "exportedName": "flagSetOverride",
606
- "bodyStart": 15,
607
- "bodyEnd": 21,
654
+ "bodyStart": 16,
655
+ "bodyEnd": 22,
608
656
  "contractHash": "fe3c64d99fd8d25a",
609
657
  "inputHash": "6cd1c03a",
610
658
  "outputHash": "93bec405",
@@ -640,14 +688,17 @@
640
688
  "scopes": [
641
689
  "admin:flags:manage"
642
690
  ],
643
- "implementationHash": "09326b9130737791",
691
+ "implementationHash": "357d3db0ff6d2364",
644
692
  "title": "Set a Feature Flag Rollout",
693
+ "tags": [
694
+ "admin:flags"
695
+ ],
645
696
  "description": "Admits a percentage of subjects to a flag, or null to drop the constraint. A subject stays in or out across requests — the bucket is hashed from the flag and the subject, never sampled.",
646
697
  "isDirectFunction": false,
647
698
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-set-rollout.function.ts",
648
699
  "exportedName": "flagSetRollout",
649
- "bodyStart": 14,
650
- "bodyEnd": 22,
700
+ "bodyStart": 15,
701
+ "bodyEnd": 23,
651
702
  "contractHash": "3b7d359432a8eff3",
652
703
  "inputHash": "0337ee9d",
653
704
  "outputHash": "1100bbea",
@@ -675,14 +726,17 @@
675
726
  "scopes": [
676
727
  "admin:flags:manage"
677
728
  ],
678
- "implementationHash": "67132af60e45ceb8",
729
+ "implementationHash": "145cccd51adff8ff",
679
730
  "title": "Create Rows for Declared Feature Flags",
731
+ "tags": [
732
+ "admin:flags"
733
+ ],
680
734
  "description": "Registers every flag the running app declares that the store has never heard of. An unbacked flag resolves as available for everyone, so this is how a dark launch is actually held dark.",
681
735
  "isDirectFunction": false,
682
736
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/flag-sync.function.ts",
683
737
  "exportedName": "flagSync",
684
- "bodyStart": 11,
685
- "bodyEnd": 20,
738
+ "bodyStart": 12,
739
+ "bodyEnd": 21,
686
740
  "contractHash": "5c927560ace58fb2",
687
741
  "inputHash": "46ed4d91",
688
742
  "outputHash": "99b4969a",
@@ -710,14 +764,17 @@
710
764
  "scopes": [
711
765
  "admin:addons:read"
712
766
  ],
713
- "implementationHash": "90c9c652c44622f0",
767
+ "implementationHash": "0269b165b09b2ced",
714
768
  "title": "Get Addon Instances",
769
+ "tags": [
770
+ "admin:runtime"
771
+ ],
715
772
  "description": "Returns the wired instances of an addon package and their per-instance overrides.",
716
773
  "isDirectFunction": false,
717
774
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-addon-instances.function.ts",
718
775
  "exportedName": "getAddonInstances",
719
- "bodyStart": 33,
720
- "bodyEnd": 46,
776
+ "bodyStart": 34,
777
+ "bodyEnd": 47,
721
778
  "contractHash": "e0a84c2c563a226c",
722
779
  "inputHash": "71254e9e",
723
780
  "outputHash": "547eb993",
@@ -750,14 +807,17 @@
750
807
  "GetAgentRunScoresOutput"
751
808
  ],
752
809
  "expose": true,
753
- "implementationHash": "8885314c13ee66d5",
810
+ "implementationHash": "fc3ecda6360f669a",
754
811
  "title": "Get Agent Run Scores",
812
+ "tags": [
813
+ "admin:agents"
814
+ ],
755
815
  "description": "Returns every grade recorded against one AI agent run, newest first. A run accumulates one row per scorer, and a re-grade appends rather than replaces — so a run may carry the same scorer more than once. A caller without the admin scope may only read the grades of runs its own session owns.",
756
816
  "isDirectFunction": false,
757
817
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-agent-run-scores.function.ts",
758
818
  "exportedName": "getAgentRunScores",
759
- "bodyStart": 14,
760
- "bodyEnd": 29,
819
+ "bodyStart": 15,
820
+ "bodyEnd": 30,
761
821
  "contractHash": "e94bb92d695b9002",
762
822
  "inputHash": "fc8fc7eb",
763
823
  "outputHash": "e9ce1c33",
@@ -787,8 +847,11 @@
787
847
  "scopes": [
788
848
  "admin:agents:read"
789
849
  ],
790
- "implementationHash": "cc8f28b31466a9b8",
850
+ "implementationHash": "7b6284a2b504d7c1",
791
851
  "title": "Get Agent Thread Messages",
852
+ "tags": [
853
+ "admin:agents"
854
+ ],
792
855
  "description": "Returns all messages for a given AI agent thread, ordered by creation time. A caller without the admin scope may only read a thread its own session owns.",
793
856
  "permissions": [
794
857
  {
@@ -800,8 +863,8 @@
800
863
  "isDirectFunction": false,
801
864
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-agent-thread-messages.function.ts",
802
865
  "exportedName": "getAgentThreadMessages",
803
- "bodyStart": 12,
804
- "bodyEnd": 12,
866
+ "bodyStart": 13,
867
+ "bodyEnd": 13,
805
868
  "contractHash": "16058b8da61ea056",
806
869
  "inputHash": "1212abd3",
807
870
  "outputHash": "04960780",
@@ -837,14 +900,17 @@
837
900
  "scopes": [
838
901
  "admin:agents:read"
839
902
  ],
840
- "implementationHash": "83d8d54d80ddeac9",
903
+ "implementationHash": "5f2122a7a2ec9bf5",
841
904
  "title": "Get Agent Thread Runs",
905
+ "tags": [
906
+ "admin:agents"
907
+ ],
842
908
  "description": "Returns all runs for a given AI agent thread, ordered by creation time descending. A caller without the admin scope sees only the runs its own session owns.",
843
909
  "isDirectFunction": false,
844
910
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-agent-thread-runs.function.ts",
845
911
  "exportedName": "getAgentThreadRuns",
846
- "bodyStart": 14,
847
- "bodyEnd": 22,
912
+ "bodyStart": 15,
913
+ "bodyEnd": 23,
848
914
  "contractHash": "2e961f7a3c523dad",
849
915
  "inputHash": "81647ab7",
850
916
  "outputHash": "6352aca1",
@@ -880,19 +946,61 @@
880
946
  "scopes": [
881
947
  "admin:agents:read"
882
948
  ],
883
- "implementationHash": "9fa6295b133c3310",
949
+ "implementationHash": "108ace9c09df618b",
884
950
  "title": "Get Agent Threads",
951
+ "tags": [
952
+ "admin:agents"
953
+ ],
885
954
  "description": "Returns a list of AI agent threads from the database. Accepts optional filters: agentName, resourceId, limit, and offset for pagination. With `addon`, only threads of that add-on's agents. A caller without the admin scope sees only the threads its own session owns.",
886
955
  "isDirectFunction": false,
887
956
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-agent-threads.function.ts",
888
957
  "exportedName": "getAgentThreads",
889
- "bodyStart": 24,
890
- "bodyEnd": 52,
958
+ "bodyStart": 25,
959
+ "bodyEnd": 53,
891
960
  "contractHash": "56dec3221068f63f",
892
961
  "inputHash": "1a15d882",
893
962
  "outputHash": "6598bdff",
894
963
  "singletonServicesOnly": true
895
964
  },
965
+ "getAttention": {
966
+ "pikkuFuncId": "getAttention",
967
+ "functionType": "user",
968
+ "funcWrapper": "pikkuFunc",
969
+ "sessionless": false,
970
+ "name": "getAttention",
971
+ "services": {
972
+ "optimized": true,
973
+ "services": [
974
+ "attentionResults"
975
+ ]
976
+ },
977
+ "inputSchemaName": "AttentionInput",
978
+ "outputSchemaName": "AttentionResult",
979
+ "inputs": [
980
+ "AttentionInput"
981
+ ],
982
+ "outputs": [
983
+ "AttentionResult",
984
+ "AttentionStatus",
985
+ "AttentionScore"
986
+ ],
987
+ "expose": true,
988
+ "implementationHash": "09b2cbed352fb956",
989
+ "title": "Get Attention",
990
+ "tags": [
991
+ "admin:attention"
992
+ ],
993
+ "description": "Returns the latest stored run of a widget’s attention func for a project, with the time it finished. Nothing is checked at read time; null means it has not run yet.",
994
+ "isDirectFunction": false,
995
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-attention.function.ts",
996
+ "exportedName": "getAttention",
997
+ "bodyStart": 18,
998
+ "bodyEnd": 18,
999
+ "contractHash": "935bf3360741c0bf",
1000
+ "inputHash": "6d4ec350",
1001
+ "outputHash": "34b96f77",
1002
+ "singletonServicesOnly": true
1003
+ },
896
1004
  "getAuditFilters": {
897
1005
  "pikkuFuncId": "getAuditFilters",
898
1006
  "functionType": "user",
@@ -918,14 +1026,17 @@
918
1026
  "scopes": [
919
1027
  "admin:audit:read"
920
1028
  ],
921
- "implementationHash": "4f906eca9a30f0bb",
1029
+ "implementationHash": "7d86bde0c9a2da17",
922
1030
  "title": "Get Audit Filters",
1031
+ "tags": [
1032
+ "admin:audit"
1033
+ ],
923
1034
  "description": "Returns the distinct users and event types present in the audit trail, for populating the audit screen filters.",
924
1035
  "isDirectFunction": false,
925
1036
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-audit-filters.function.ts",
926
1037
  "exportedName": "getAuditFilters",
927
- "bodyStart": 33,
928
- "bodyEnd": 44,
1038
+ "bodyStart": 34,
1039
+ "bodyEnd": 45,
929
1040
  "contractHash": "648fb17f8a5b0915",
930
1041
  "inputHash": "3ef882a7",
931
1042
  "outputHash": "c0df78f2",
@@ -961,14 +1072,17 @@
961
1072
  "scopes": [
962
1073
  "admin:audit:read"
963
1074
  ],
964
- "implementationHash": "549fef479d11eda4",
1075
+ "implementationHash": "ccfcc1da976c06bd",
965
1076
  "title": "Get Audits",
1077
+ "tags": [
1078
+ "admin:audit"
1079
+ ],
966
1080
  "description": "Returns a page of the audit trail, newest first, optionally filtered by user, event type, and time range. Reports readable: false when the configured audit sink is write-only, and intact when the sink can verify its own trail.",
967
1081
  "isDirectFunction": false,
968
1082
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-audits.function.ts",
969
1083
  "exportedName": "getAudits",
970
- "bodyStart": 53,
971
- "bodyEnd": 82,
1084
+ "bodyStart": 54,
1085
+ "bodyEnd": 83,
972
1086
  "contractHash": "eb4f94587b670c3f",
973
1087
  "inputHash": "10deb076",
974
1088
  "outputHash": "551fcac9",
@@ -998,14 +1112,17 @@
998
1112
  "scopes": [
999
1113
  "admin:webhooks:read"
1000
1114
  ],
1001
- "implementationHash": "63ded37e87110cb1",
1115
+ "implementationHash": "be1de472bd87f0a6",
1002
1116
  "title": "Get Incoming Webhook Receipt",
1117
+ "tags": [
1118
+ "admin:webhooks"
1119
+ ],
1003
1120
  "description": "Returns a single received webhook event, or null when the app wires no incoming webhook service or keeps no receipt with this id.",
1004
1121
  "isDirectFunction": false,
1005
1122
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-incoming-webhook-receipt.function.ts",
1006
1123
  "exportedName": "getIncomingWebhookReceipt",
1007
- "bodyStart": 14,
1008
- "bodyEnd": 17,
1124
+ "bodyStart": 15,
1125
+ "bodyEnd": 18,
1009
1126
  "contractHash": "96a49de859507d67",
1010
1127
  "inputHash": "86c0e2c4",
1011
1128
  "outputHash": "4aba7ba2",
@@ -1033,14 +1150,17 @@
1033
1150
  "scopes": [
1034
1151
  "admin:addons:read"
1035
1152
  ],
1036
- "implementationHash": "71295591d52e664f",
1153
+ "implementationHash": "824d770e30c02c3b",
1037
1154
  "title": "Get Installed Addons",
1155
+ "tags": [
1156
+ "admin:runtime"
1157
+ ],
1038
1158
  "description": "Returns locally wired addons from pikkuState",
1039
1159
  "isDirectFunction": false,
1040
1160
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-installed-addons.function.ts",
1041
1161
  "exportedName": "getInstalledAddons",
1042
- "bodyStart": 38,
1043
- "bodyEnd": 53,
1162
+ "bodyStart": 39,
1163
+ "bodyEnd": 54,
1044
1164
  "contractHash": "cca7dbfcea9bf8b4",
1045
1165
  "inputHash": "3bc40965",
1046
1166
  "outputHash": "0cf9b243",
@@ -1069,14 +1189,17 @@
1069
1189
  "GetMyAccessOutput"
1070
1190
  ],
1071
1191
  "expose": true,
1072
- "implementationHash": "e7addfe4f2786923",
1192
+ "implementationHash": "69241a68c5308d2a",
1073
1193
  "title": "Get My Access",
1194
+ "tags": [
1195
+ "admin:scopes"
1196
+ ],
1074
1197
  "description": "Returns the caller's own user id and the scopes their session carries, so a UI can decide what to render.",
1075
1198
  "isDirectFunction": false,
1076
1199
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-my-access.function.ts",
1077
1200
  "exportedName": "getMyAccess",
1078
- "bodyStart": 12,
1079
- "bodyEnd": 15,
1201
+ "bodyStart": 13,
1202
+ "bodyEnd": 16,
1080
1203
  "contractHash": "39340676f1c426ab",
1081
1204
  "inputHash": "8826a3c8",
1082
1205
  "outputHash": "92b7e520",
@@ -1106,14 +1229,17 @@
1106
1229
  "scopes": [
1107
1230
  "admin:queues:read"
1108
1231
  ],
1109
- "implementationHash": "13407091b54c1ecc",
1232
+ "implementationHash": "1271ea70f5a10e8c",
1110
1233
  "title": "Get Queue History",
1234
+ "tags": [
1235
+ "admin:runtime"
1236
+ ],
1111
1237
  "description": "Returns each queue with its live job counts (waiting, active, delayed, completed, failed) and recent jobs, newest first. Empty when the queue service cannot be inspected.",
1112
1238
  "isDirectFunction": false,
1113
1239
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-queue-history.function.ts",
1114
1240
  "exportedName": "getQueueHistory",
1115
- "bodyStart": 24,
1116
- "bodyEnd": 35,
1241
+ "bodyStart": 25,
1242
+ "bodyEnd": 36,
1117
1243
  "contractHash": "086f27a3a754027d",
1118
1244
  "inputHash": "e094c186",
1119
1245
  "outputHash": "a4947792",
@@ -1141,14 +1267,17 @@
1141
1267
  "scopes": [
1142
1268
  "admin:schedules:read"
1143
1269
  ],
1144
- "implementationHash": "ca4e7e7183c47733",
1270
+ "implementationHash": "36006ef8a513e956",
1145
1271
  "title": "Get Scheduler History",
1272
+ "tags": [
1273
+ "admin:runtime"
1274
+ ],
1146
1275
  "description": "Returns each scheduled task with its last run, next run and recent runs (newest first). Empty when the app keeps no scheduler run history.",
1147
1276
  "isDirectFunction": false,
1148
1277
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-scheduler-history.function.ts",
1149
1278
  "exportedName": "getSchedulerHistory",
1150
- "bodyStart": 21,
1151
- "bodyEnd": 24,
1279
+ "bodyStart": 22,
1280
+ "bodyEnd": 25,
1152
1281
  "contractHash": "b5dfdec906f16c59",
1153
1282
  "inputHash": "42c83f04",
1154
1283
  "outputHash": "14e57a53",
@@ -1171,14 +1300,17 @@
1171
1300
  "GetScorersOutput"
1172
1301
  ],
1173
1302
  "expose": true,
1174
- "implementationHash": "9c667130c70f74f5",
1303
+ "implementationHash": "515ea55ef603f0a8",
1175
1304
  "title": "Get Scorers",
1305
+ "tags": [
1306
+ "admin:agents"
1307
+ ],
1176
1308
  "description": "Returns every declared AI scorer with the lane it grades on, the fraction of live runs it samples, and the agents that named it.",
1177
1309
  "isDirectFunction": false,
1178
1310
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-scorers.function.ts",
1179
1311
  "exportedName": "getScorers",
1180
- "bodyStart": 22,
1181
- "bodyEnd": 41,
1312
+ "bodyStart": 23,
1313
+ "bodyEnd": 42,
1182
1314
  "contractHash": "b758944394d9079a",
1183
1315
  "inputHash": "f9562ce1",
1184
1316
  "outputHash": "2c10e6ba",
@@ -1208,14 +1340,17 @@
1208
1340
  "scopes": [
1209
1341
  "admin:virtualUsers:read"
1210
1342
  ],
1211
- "implementationHash": "26c5ee07da163729",
1343
+ "implementationHash": "434ab3169afc138a",
1212
1344
  "title": "Get Virtual User Run Steps",
1345
+ "tags": [
1346
+ "admin:virtual-users"
1347
+ ],
1213
1348
  "description": "Returns every turn one virtual user run took: what it called, what came back, and what that cost.",
1214
1349
  "isDirectFunction": false,
1215
1350
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-virtual-user-run-steps.function.ts",
1216
1351
  "exportedName": "getVirtualUserRunSteps",
1217
- "bodyStart": 25,
1218
- "bodyEnd": 34,
1352
+ "bodyStart": 26,
1353
+ "bodyEnd": 35,
1219
1354
  "contractHash": "2a3734d7547536fb",
1220
1355
  "inputHash": "23a69147",
1221
1356
  "outputHash": "1c904222",
@@ -1245,14 +1380,17 @@
1245
1380
  "scopes": [
1246
1381
  "admin:virtualUsers:read"
1247
1382
  ],
1248
- "implementationHash": "bfa620bd4d502155",
1383
+ "implementationHash": "3bb9e4a071fa5b5a",
1249
1384
  "title": "Get Virtual User Runs",
1385
+ "tags": [
1386
+ "admin:virtual-users"
1387
+ ],
1250
1388
  "description": "Returns recorded virtual user runs, newest first. Accepts optional virtualUserId, limit and offset.",
1251
1389
  "isDirectFunction": false,
1252
1390
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-virtual-user-runs.function.ts",
1253
1391
  "exportedName": "getVirtualUserRuns",
1254
- "bodyStart": 27,
1255
- "bodyEnd": 42,
1392
+ "bodyStart": 28,
1393
+ "bodyEnd": 43,
1256
1394
  "contractHash": "ac575ea2d6a17697",
1257
1395
  "inputHash": "71287d35",
1258
1396
  "outputHash": "7303a090",
@@ -1280,14 +1418,17 @@
1280
1418
  "scopes": [
1281
1419
  "admin:virtualUsers:read"
1282
1420
  ],
1283
- "implementationHash": "7df01da924660d62",
1421
+ "implementationHash": "dd428bb075e8b0e5",
1284
1422
  "title": "Get Virtual User Schedules",
1423
+ "tags": [
1424
+ "admin:virtual-users"
1425
+ ],
1285
1426
  "description": "Returns the recorded virtual user cadences: which virtual users are enabled, how often they run, and when each is next due.",
1286
1427
  "isDirectFunction": false,
1287
1428
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-virtual-user-schedules.function.ts",
1288
1429
  "exportedName": "getVirtualUserSchedules",
1289
- "bodyStart": 24,
1290
- "bodyEnd": 32,
1430
+ "bodyStart": 25,
1431
+ "bodyEnd": 33,
1291
1432
  "contractHash": "e191a3a0b711864c",
1292
1433
  "inputHash": "484b28b2",
1293
1434
  "outputHash": "a40694ae",
@@ -1317,14 +1458,17 @@
1317
1458
  "scopes": [
1318
1459
  "admin:webhooks:deliveries"
1319
1460
  ],
1320
- "implementationHash": "301b9b7b1d93e743",
1461
+ "implementationHash": "aba09d42d4df1f50",
1321
1462
  "title": "Get Webhook Delivery",
1463
+ "tags": [
1464
+ "admin:webhooks"
1465
+ ],
1322
1466
  "description": "Returns a single webhook delivery with its full attempt history, or null when the app wires no webhook service.",
1323
1467
  "isDirectFunction": false,
1324
1468
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-webhook-delivery.function.ts",
1325
1469
  "exportedName": "getWebhookDelivery",
1326
- "bodyStart": 14,
1327
- "bodyEnd": 17,
1470
+ "bodyStart": 15,
1471
+ "bodyEnd": 18,
1328
1472
  "contractHash": "9992a2338a669781",
1329
1473
  "inputHash": "091ce638",
1330
1474
  "outputHash": "b58538ef",
@@ -1354,14 +1498,17 @@
1354
1498
  "scopes": [
1355
1499
  "admin:workflows:read"
1356
1500
  ],
1357
- "implementationHash": "74da396c0d0a5228",
1501
+ "implementationHash": "b0c8fdd5e44b9437",
1358
1502
  "title": "Get Workflow Run History",
1503
+ "tags": [
1504
+ "admin:workflows"
1505
+ ],
1359
1506
  "description": "Given a runId, returns the full execution history (state transitions, timestamps, errors) for a workflow run from the Postgres workflow database via workflowRunService.getRunHistory().",
1360
1507
  "isDirectFunction": false,
1361
1508
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-workflow-run-history.function.ts",
1362
1509
  "exportedName": "getWorkflowRunHistory",
1363
- "bodyStart": 10,
1364
- "bodyEnd": 10,
1510
+ "bodyStart": 11,
1511
+ "bodyEnd": 11,
1365
1512
  "contractHash": "6e2a5372a06e6c8f",
1366
1513
  "inputHash": "71adef8b",
1367
1514
  "outputHash": "d3a9b834",
@@ -1391,14 +1538,17 @@
1391
1538
  "scopes": [
1392
1539
  "admin:workflows:read"
1393
1540
  ],
1394
- "implementationHash": "ffbeac8e17e354a5",
1541
+ "implementationHash": "5fff3d269b9734dc",
1395
1542
  "title": "Get Workflow Run Names",
1543
+ "tags": [
1544
+ "admin:workflows"
1545
+ ],
1396
1546
  "description": "Returns an array of distinct workflow names that have at least one run in the Postgres workflow database via workflowRunService.getDistinctWorkflowNames(). With `addon`, only that add-on's workflows.",
1397
1547
  "isDirectFunction": false,
1398
1548
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-workflow-run-names.function.ts",
1399
1549
  "exportedName": "getWorkflowRunNames",
1400
- "bodyStart": 12,
1401
- "bodyEnd": 15,
1550
+ "bodyStart": 13,
1551
+ "bodyEnd": 16,
1402
1552
  "contractHash": "add2fa8ffa66bb13",
1403
1553
  "inputHash": "34b2b462",
1404
1554
  "outputHash": "f7f40084",
@@ -1428,14 +1578,17 @@
1428
1578
  "scopes": [
1429
1579
  "admin:workflows:read"
1430
1580
  ],
1431
- "implementationHash": "f6609dc8b3a12d73",
1581
+ "implementationHash": "144e5de27205ca32",
1432
1582
  "title": "Get Workflow Run Steps",
1583
+ "tags": [
1584
+ "admin:workflows"
1585
+ ],
1433
1586
  "description": "Given a runId, returns an array of all execution steps for that workflow run from the Postgres workflow database via workflowRunService.getRunSteps(). Returns an empty array if workflowRunService is not configured.",
1434
1587
  "isDirectFunction": false,
1435
1588
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-workflow-run-steps.function.ts",
1436
1589
  "exportedName": "getWorkflowRunSteps",
1437
- "bodyStart": 10,
1438
- "bodyEnd": 10,
1590
+ "bodyStart": 11,
1591
+ "bodyEnd": 11,
1439
1592
  "contractHash": "81130856082620bc",
1440
1593
  "inputHash": "6dfc6243",
1441
1594
  "outputHash": "fc160067",
@@ -1465,14 +1618,17 @@
1465
1618
  "scopes": [
1466
1619
  "admin:workflows:read"
1467
1620
  ],
1468
- "implementationHash": "45910e68d614da9e",
1621
+ "implementationHash": "27fc10e8b09906b0",
1469
1622
  "title": "Get Workflow Run",
1623
+ "tags": [
1624
+ "admin:workflows"
1625
+ ],
1470
1626
  "description": "Given a runId, fetches a single workflow run from workflowRunService and also fetches all its steps, returning the run object merged with a steps array. Returns null if workflowRunService is not configured or the run is not found.",
1471
1627
  "isDirectFunction": false,
1472
1628
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-workflow-run.function.ts",
1473
1629
  "exportedName": "getWorkflowRun",
1474
- "bodyStart": 13,
1475
- "bodyEnd": 16,
1630
+ "bodyStart": 14,
1631
+ "bodyEnd": 17,
1476
1632
  "contractHash": "af261ba6bbd86e3a",
1477
1633
  "inputHash": "4c364da8",
1478
1634
  "outputHash": "0e2eaa53",
@@ -1502,14 +1658,17 @@
1502
1658
  "scopes": [
1503
1659
  "admin:workflows:read"
1504
1660
  ],
1505
- "implementationHash": "fbba902d4a0e3458",
1661
+ "implementationHash": "05ca1f40fa787fc1",
1506
1662
  "title": "Get Workflow Runs",
1663
+ "tags": [
1664
+ "admin:workflows"
1665
+ ],
1507
1666
  "description": "Returns a list of workflow runs from the Postgres workflow database. Accepts optional filters: workflowName, status, limit, and offset for pagination. With `addon`, only runs of that add-on's workflows are returned. Returns an empty array if workflowRunService is not configured.",
1508
1667
  "isDirectFunction": false,
1509
1668
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-workflow-runs.function.ts",
1510
1669
  "exportedName": "getWorkflowRuns",
1511
- "bodyStart": 20,
1512
- "bodyEnd": 44,
1670
+ "bodyStart": 21,
1671
+ "bodyEnd": 45,
1513
1672
  "contractHash": "822a248c9578a692",
1514
1673
  "inputHash": "80bd81c1",
1515
1674
  "outputHash": "d91cdf81",
@@ -1539,19 +1698,69 @@
1539
1698
  "scopes": [
1540
1699
  "admin:workflows:read"
1541
1700
  ],
1542
- "implementationHash": "f3a0eaf1e66c22eb",
1701
+ "implementationHash": "743423fa4e53ed25",
1543
1702
  "title": "Get Workflow Version",
1703
+ "tags": [
1704
+ "admin:workflows"
1705
+ ],
1544
1706
  "description": "Given a workflow name and graphHash, looks up the specific workflow version from the Postgres workflow database via workflowRunService.getWorkflowVersion() and returns the workflow graph definition and source code. Returns null if workflowRunService is not configured or the version is not found.",
1545
1707
  "isDirectFunction": false,
1546
1708
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/get-workflow-version.function.ts",
1547
1709
  "exportedName": "getWorkflowVersion",
1548
- "bodyStart": 13,
1549
- "bodyEnd": 16,
1710
+ "bodyStart": 14,
1711
+ "bodyEnd": 17,
1550
1712
  "contractHash": "a1afa3245af186ce",
1551
1713
  "inputHash": "4733674a",
1552
1714
  "outputHash": "6b9145b1",
1553
1715
  "singletonServicesOnly": true
1554
1716
  },
1717
+ "inviteUser": {
1718
+ "pikkuFuncId": "inviteUser",
1719
+ "functionType": "user",
1720
+ "funcWrapper": "pikkuFunc",
1721
+ "sessionless": false,
1722
+ "name": "inviteUser",
1723
+ "services": {
1724
+ "optimized": true,
1725
+ "services": [
1726
+ "auth",
1727
+ "scopeService"
1728
+ ]
1729
+ },
1730
+ "wires": {
1731
+ "optimized": true,
1732
+ "wires": [
1733
+ "session"
1734
+ ]
1735
+ },
1736
+ "inputSchemaName": "InviteUserInput",
1737
+ "outputSchemaName": "InviteUserOutput",
1738
+ "inputs": [
1739
+ "InviteUserInput"
1740
+ ],
1741
+ "outputs": [
1742
+ "InviteUserOutput"
1743
+ ],
1744
+ "expose": true,
1745
+ "scopes": [
1746
+ "admin:users:create"
1747
+ ],
1748
+ "implementationHash": "8404e45451c6733f",
1749
+ "title": "Invite User",
1750
+ "tags": [
1751
+ "admin:users"
1752
+ ],
1753
+ "description": "Invites someone by email: creates the account without a password when there is none, mails a sign-in link, then grants `role` if one is given. Calling it again for the same email sends a new link. Requires the magicLink plugin with sign-up disabled; granting a role also requires admin:scopes:manage.",
1754
+ "isDirectFunction": false,
1755
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/invite-user.function.ts",
1756
+ "exportedName": "inviteUser",
1757
+ "bodyStart": 34,
1758
+ "bodyEnd": 90,
1759
+ "contractHash": "e0620ba2114d4be8",
1760
+ "inputHash": "35a7a5d2",
1761
+ "outputHash": "a7324c8b",
1762
+ "singletonServicesOnly": true
1763
+ },
1555
1764
  "listIncomingWebhookReceipts": {
1556
1765
  "pikkuFuncId": "listIncomingWebhookReceipts",
1557
1766
  "functionType": "user",
@@ -1576,14 +1785,17 @@
1576
1785
  "scopes": [
1577
1786
  "admin:webhooks:read"
1578
1787
  ],
1579
- "implementationHash": "2890133668c11f43",
1788
+ "implementationHash": "45675c5c899b8ab5",
1580
1789
  "title": "List Incoming Webhook Receipts",
1790
+ "tags": [
1791
+ "admin:webhooks"
1792
+ ],
1581
1793
  "description": "Lists received webhook events (most recent first), optionally for one source. Empty when the app wires no incoming webhook service or keeps no receipts.",
1582
1794
  "isDirectFunction": false,
1583
1795
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/list-incoming-webhook-receipts.function.ts",
1584
1796
  "exportedName": "listIncomingWebhookReceipts",
1585
- "bodyStart": 21,
1586
- "bodyEnd": 24,
1797
+ "bodyStart": 22,
1798
+ "bodyEnd": 25,
1587
1799
  "contractHash": "7eb5dfc2928ab63f",
1588
1800
  "inputHash": "1f71add1",
1589
1801
  "outputHash": "0accdc21",
@@ -1620,14 +1832,17 @@
1620
1832
  "scopes": [
1621
1833
  "admin:users:list"
1622
1834
  ],
1623
- "implementationHash": "8812f71fece12c9f",
1835
+ "implementationHash": "6cd5805ee87e34d1",
1624
1836
  "title": "List Users",
1837
+ "tags": [
1838
+ "admin:users"
1839
+ ],
1625
1840
  "description": "Lists and searches the user directory, read through the auth adapter so it works on any database better-auth supports. Newest first, paged with `limit` and `offset`.",
1626
1841
  "isDirectFunction": false,
1627
1842
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/list-users.function.ts",
1628
1843
  "exportedName": "listUsers",
1629
- "bodyStart": 74,
1630
- "bodyEnd": 153,
1844
+ "bodyStart": 75,
1845
+ "bodyEnd": 154,
1631
1846
  "contractHash": "106017d68404c4d7",
1632
1847
  "inputHash": "b54e9a5f",
1633
1848
  "outputHash": "b1055a6c",
@@ -1657,14 +1872,17 @@
1657
1872
  "scopes": [
1658
1873
  "admin:webhooks:deliveries"
1659
1874
  ],
1660
- "implementationHash": "be83d2c37d646760",
1875
+ "implementationHash": "ad18dac8907e4b06",
1661
1876
  "title": "List Webhook Deliveries",
1877
+ "tags": [
1878
+ "admin:webhooks"
1879
+ ],
1662
1880
  "description": "Lists outgoing webhook deliveries (most recent first), optionally scoped to an organization. Empty when the app wires no webhook service.",
1663
1881
  "isDirectFunction": false,
1664
1882
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/list-webhook-deliveries.function.ts",
1665
1883
  "exportedName": "listWebhookDeliveries",
1666
- "bodyStart": 24,
1667
- "bodyEnd": 27,
1884
+ "bodyStart": 25,
1885
+ "bodyEnd": 28,
1668
1886
  "contractHash": "852772194a5d18ad",
1669
1887
  "inputHash": "c0b15c7e",
1670
1888
  "outputHash": "38431121",
@@ -1687,19 +1905,69 @@
1687
1905
  "PingOutput"
1688
1906
  ],
1689
1907
  "expose": true,
1690
- "implementationHash": "005e6cf42a1ac493",
1908
+ "implementationHash": "2f61782069332ec6",
1691
1909
  "title": "Ping",
1910
+ "tags": [
1911
+ "admin:runtime"
1912
+ ],
1692
1913
  "description": "Health check for the Pikku Admin addon. The console UI probes it to tell \"addon not installed\" apart from a real failure.",
1693
1914
  "isDirectFunction": false,
1694
1915
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/ping.function.ts",
1695
1916
  "exportedName": "ping",
1696
- "bodyStart": 26,
1697
- "bodyEnd": 26,
1917
+ "bodyStart": 27,
1918
+ "bodyEnd": 27,
1698
1919
  "contractHash": "fcc0b0976330db7f",
1699
1920
  "inputHash": "257c0a0a",
1700
1921
  "outputHash": "9690bdf6",
1701
1922
  "singletonServicesOnly": true
1702
1923
  },
1924
+ "refreshAttention": {
1925
+ "pikkuFuncId": "refreshAttention",
1926
+ "functionType": "user",
1927
+ "funcWrapper": "pikkuFunc",
1928
+ "sessionless": false,
1929
+ "name": "refreshAttention",
1930
+ "services": {
1931
+ "optimized": true,
1932
+ "services": [
1933
+ "attentionResults",
1934
+ "workflowService"
1935
+ ]
1936
+ },
1937
+ "wires": {
1938
+ "optimized": true,
1939
+ "wires": [
1940
+ "rpc",
1941
+ "pikkuUserId"
1942
+ ]
1943
+ },
1944
+ "inputSchemaName": "AttentionInput",
1945
+ "outputSchemaName": "AttentionResult",
1946
+ "inputs": [
1947
+ "AttentionInput"
1948
+ ],
1949
+ "outputs": [
1950
+ "AttentionResult",
1951
+ "AttentionStatus",
1952
+ "AttentionScore"
1953
+ ],
1954
+ "expose": true,
1955
+ "implementationHash": "3978454949ee062a",
1956
+ "title": "Refresh Attention",
1957
+ "tags": [
1958
+ "admin:attention"
1959
+ ],
1960
+ "description": "Runs a widget’s attention func for a project now, as a workflow whose get step is retried, and returns what it stored. The project is then kept fresh on the func’s schedule.",
1961
+ "isDirectFunction": false,
1962
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/refresh-attention.function.ts",
1963
+ "exportedName": "refreshAttention",
1964
+ "bodyStart": 20,
1965
+ "bodyEnd": 24,
1966
+ "contractHash": "c5e66f225188fb05",
1967
+ "inputHash": "557a1987",
1968
+ "outputHash": "2d35229d",
1969
+ "singletonServicesOnly": true
1970
+ },
1703
1971
  "removeUser": {
1704
1972
  "pikkuFuncId": "removeUser",
1705
1973
  "functionType": "user",
@@ -1730,14 +1998,17 @@
1730
1998
  "scopes": [
1731
1999
  "admin:users:remove"
1732
2000
  ],
1733
- "implementationHash": "0c4b2e9a834be732",
2001
+ "implementationHash": "aad9aca1dbf79f9d",
1734
2002
  "title": "Remove User",
2003
+ "tags": [
2004
+ "admin:users"
2005
+ ],
1735
2006
  "description": "Permanently deletes a user along with their sessions and linked accounts. Cannot be undone.",
1736
2007
  "isDirectFunction": false,
1737
2008
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/remove-user.function.ts",
1738
2009
  "exportedName": "removeUser",
1739
- "bodyStart": 14,
1740
- "bodyEnd": 18,
2010
+ "bodyStart": 15,
2011
+ "bodyEnd": 19,
1741
2012
  "contractHash": "3ef6a5b3149aabff",
1742
2013
  "inputHash": "fc558e36",
1743
2014
  "outputHash": "208eaef1",
@@ -1767,14 +2038,17 @@
1767
2038
  "scopes": [
1768
2039
  "admin:users:sessions"
1769
2040
  ],
1770
- "implementationHash": "3da7ca299c53cdb7",
2041
+ "implementationHash": "99875f9bc486ba92",
1771
2042
  "title": "Revoke User Sessions",
2043
+ "tags": [
2044
+ "admin:users"
2045
+ ],
1772
2046
  "description": "Signs a user out of every device by deleting all of their sessions. They keep their account and can sign in again.",
1773
2047
  "isDirectFunction": false,
1774
2048
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/revoke-user-sessions.function.ts",
1775
2049
  "exportedName": "revokeUserSessions",
1776
- "bodyStart": 14,
1777
- "bodyEnd": 15,
2050
+ "bodyStart": 15,
2051
+ "bodyEnd": 16,
1778
2052
  "contractHash": "181bd54e88c91508",
1779
2053
  "inputHash": "7a70c53c",
1780
2054
  "outputHash": "d7dde105",
@@ -1810,14 +2084,17 @@
1810
2084
  "scopes": [
1811
2085
  "admin:scopes:manage"
1812
2086
  ],
1813
- "implementationHash": "47ad166c0b15f759",
2087
+ "implementationHash": "565ce8b824573cc4",
1814
2088
  "title": "Grant Scope",
2089
+ "tags": [
2090
+ "admin:scopes"
2091
+ ],
1815
2092
  "description": "Grants a scope directly to a user, outside of any role. Takes effect on their next request, with no re-login — unless mapSession sets scopes itself, which is authoritative, and then this grant never applies.",
1816
2093
  "isDirectFunction": false,
1817
2094
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-add-scope-to-user.function.ts",
1818
2095
  "exportedName": "scopeAddScopeToUser",
1819
- "bodyStart": 13,
1820
- "bodyEnd": 14,
2096
+ "bodyStart": 14,
2097
+ "bodyEnd": 15,
1821
2098
  "contractHash": "e2191335667bf9c3",
1822
2099
  "inputHash": "e0bdcc51",
1823
2100
  "outputHash": "dbe52008",
@@ -1853,14 +2130,17 @@
1853
2130
  "scopes": [
1854
2131
  "admin:scopes:manage"
1855
2132
  ],
1856
- "implementationHash": "065aa7ab3b92b660",
2133
+ "implementationHash": "27fb65830b9d794c",
1857
2134
  "title": "Grant Role",
2135
+ "tags": [
2136
+ "admin:scopes"
2137
+ ],
1858
2138
  "description": "Grants a role to a user. Takes effect on their next request, with no re-login — unless mapSession sets scopes itself, which is authoritative, and then this grant never applies.",
1859
2139
  "isDirectFunction": false,
1860
2140
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-add-user-to-role.function.ts",
1861
2141
  "exportedName": "scopeAddUserToRole",
1862
- "bodyStart": 13,
1863
- "bodyEnd": 14,
2142
+ "bodyStart": 14,
2143
+ "bodyEnd": 15,
1864
2144
  "contractHash": "e1a91b09f95f4543",
1865
2145
  "inputHash": "64fc33b0",
1866
2146
  "outputHash": "90198208",
@@ -1890,14 +2170,17 @@
1890
2170
  "scopes": [
1891
2171
  "admin:scopes:manage"
1892
2172
  ],
1893
- "implementationHash": "36e273df0ae4464b",
2173
+ "implementationHash": "73bada90a1509d50",
1894
2174
  "title": "Create Role",
2175
+ "tags": [
2176
+ "admin:scopes"
2177
+ ],
1895
2178
  "description": "Creates a role granting the given scopes.",
1896
2179
  "isDirectFunction": false,
1897
2180
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-create-role.function.ts",
1898
2181
  "exportedName": "scopeCreateRole",
1899
- "bodyStart": 14,
1900
- "bodyEnd": 15,
2182
+ "bodyStart": 15,
2183
+ "bodyEnd": 16,
1901
2184
  "contractHash": "223589f5814400ee",
1902
2185
  "inputHash": "5bac8a6a",
1903
2186
  "outputHash": "354cac09",
@@ -1927,14 +2210,17 @@
1927
2210
  "scopes": [
1928
2211
  "admin:scopes:manage"
1929
2212
  ],
1930
- "implementationHash": "f69bf2b736bff86d",
2213
+ "implementationHash": "661c03f63122ad98",
1931
2214
  "title": "Delete Role",
2215
+ "tags": [
2216
+ "admin:scopes"
2217
+ ],
1932
2218
  "description": "Deletes a role, revoking it from every user who holds it.",
1933
2219
  "isDirectFunction": false,
1934
2220
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-delete-role.function.ts",
1935
2221
  "exportedName": "scopeDeleteRole",
1936
- "bodyStart": 12,
1937
- "bodyEnd": 13,
2222
+ "bodyStart": 13,
2223
+ "bodyEnd": 14,
1938
2224
  "contractHash": "d318f71c80dc063b",
1939
2225
  "inputHash": "2b3000d3",
1940
2226
  "outputHash": "97f5cc49",
@@ -1962,14 +2248,17 @@
1962
2248
  "scopes": [
1963
2249
  "admin:scopes:read"
1964
2250
  ],
1965
- "implementationHash": "c1b37e8fbb6c25f7",
2251
+ "implementationHash": "f8feb4481883f4a6",
1966
2252
  "title": "List Declared Scopes",
2253
+ "tags": [
2254
+ "admin:scopes"
2255
+ ],
1967
2256
  "description": "Lists the scope vocabulary a role can be composed from, flagging any that are no longer declared in code.",
1968
2257
  "isDirectFunction": false,
1969
2258
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-list-declared.function.ts",
1970
2259
  "exportedName": "scopeListDeclared",
1971
- "bodyStart": 24,
1972
- "bodyEnd": 29,
2260
+ "bodyStart": 25,
2261
+ "bodyEnd": 30,
1973
2262
  "contractHash": "46fe9e75e9ee89e8",
1974
2263
  "inputHash": "cdcd8b82",
1975
2264
  "outputHash": "e340c17d",
@@ -1997,14 +2286,17 @@
1997
2286
  "scopes": [
1998
2287
  "admin:scopes:read"
1999
2288
  ],
2000
- "implementationHash": "6f18c4e3d2af84a8",
2289
+ "implementationHash": "d6172a3a0e0ff58d",
2001
2290
  "title": "List Roles",
2291
+ "tags": [
2292
+ "admin:scopes"
2293
+ ],
2002
2294
  "description": "Lists every role and the scopes it grants.",
2003
2295
  "isDirectFunction": false,
2004
2296
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-list-roles.function.ts",
2005
2297
  "exportedName": "scopeListRoles",
2006
- "bodyStart": 10,
2007
- "bodyEnd": 13,
2298
+ "bodyStart": 11,
2299
+ "bodyEnd": 14,
2008
2300
  "contractHash": "d4b7ae2736334693",
2009
2301
  "inputHash": "f9028549",
2010
2302
  "outputHash": "09339c51",
@@ -2034,14 +2326,17 @@
2034
2326
  "scopes": [
2035
2327
  "admin:scopes:read"
2036
2328
  ],
2037
- "implementationHash": "a6512eee2e879a0c",
2329
+ "implementationHash": "70e70178c0d10bc3",
2038
2330
  "title": "List User Roles",
2331
+ "tags": [
2332
+ "admin:scopes"
2333
+ ],
2039
2334
  "description": "Lists the roles a user holds, the scopes granted to them directly, and the full set those resolve to.",
2040
2335
  "isDirectFunction": false,
2041
2336
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-list-user-roles.function.ts",
2042
2337
  "exportedName": "scopeListUserRoles",
2043
- "bodyStart": 13,
2044
- "bodyEnd": 27,
2338
+ "bodyStart": 14,
2339
+ "bodyEnd": 28,
2045
2340
  "contractHash": "56767e69aab89b76",
2046
2341
  "inputHash": "de5d4fe8",
2047
2342
  "outputHash": "df994c3c",
@@ -2071,14 +2366,17 @@
2071
2366
  "scopes": [
2072
2367
  "admin:scopes:manage"
2073
2368
  ],
2074
- "implementationHash": "a0bc41b9e82ae81f",
2369
+ "implementationHash": "baf719b399eec057",
2075
2370
  "title": "Revoke Scope",
2371
+ "tags": [
2372
+ "admin:scopes"
2373
+ ],
2076
2374
  "description": "Revokes a directly-granted scope from a user. Takes effect on their next request, with no re-login — unless mapSession sets scopes itself, which is authoritative, and then this revoke never applies.",
2077
2375
  "isDirectFunction": false,
2078
2376
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-remove-scope-from-user.function.ts",
2079
2377
  "exportedName": "scopeRemoveScopeFromUser",
2080
- "bodyStart": 13,
2081
- "bodyEnd": 14,
2378
+ "bodyStart": 14,
2379
+ "bodyEnd": 15,
2082
2380
  "contractHash": "4a89ae3d7f60f261",
2083
2381
  "inputHash": "3dd862ea",
2084
2382
  "outputHash": "75db1af4",
@@ -2108,14 +2406,17 @@
2108
2406
  "scopes": [
2109
2407
  "admin:scopes:manage"
2110
2408
  ],
2111
- "implementationHash": "e5916464dd80bd69",
2409
+ "implementationHash": "e18662b6c6ec4e4d",
2112
2410
  "title": "Revoke Role",
2411
+ "tags": [
2412
+ "admin:scopes"
2413
+ ],
2113
2414
  "description": "Revokes a role from a user. Takes effect on their next request, with no re-login — unless mapSession sets scopes itself, which is authoritative, and then this revoke never applies.",
2114
2415
  "isDirectFunction": false,
2115
2416
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-remove-user-from-role.function.ts",
2116
2417
  "exportedName": "scopeRemoveUserFromRole",
2117
- "bodyStart": 13,
2118
- "bodyEnd": 14,
2418
+ "bodyStart": 14,
2419
+ "bodyEnd": 15,
2119
2420
  "contractHash": "64f00972592ec04a",
2120
2421
  "inputHash": "ce192b8a",
2121
2422
  "outputHash": "c17da240",
@@ -2145,14 +2446,17 @@
2145
2446
  "scopes": [
2146
2447
  "admin:scopes:manage"
2147
2448
  ],
2148
- "implementationHash": "d0b61d8812231b77",
2449
+ "implementationHash": "16727c1084c9e153",
2149
2450
  "title": "Set Role Scopes",
2451
+ "tags": [
2452
+ "admin:scopes"
2453
+ ],
2150
2454
  "description": "Replaces the scopes a role grants. Users holding it see the change on their next request — unless mapSession sets scopes itself, which is authoritative, and then the change never reaches them.",
2151
2455
  "isDirectFunction": false,
2152
2456
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/scope-set-role-scopes.function.ts",
2153
2457
  "exportedName": "scopeSetRoleScopes",
2154
- "bodyStart": 13,
2155
- "bodyEnd": 14,
2458
+ "bodyStart": 14,
2459
+ "bodyEnd": 15,
2156
2460
  "contractHash": "3c72002e096bedd7",
2157
2461
  "inputHash": "9db02d43",
2158
2462
  "outputHash": "c6ce28cf",
@@ -2182,14 +2486,17 @@
2182
2486
  "scopes": [
2183
2487
  "admin:secrets:read"
2184
2488
  ],
2185
- "implementationHash": "24e7e3b8a61be1ff",
2489
+ "implementationHash": "6a6ffcc2fcffd6ed",
2186
2490
  "title": "Get Secret",
2491
+ "tags": [
2492
+ "admin:secrets"
2493
+ ],
2187
2494
  "description": "Gets the current value of a secret.",
2188
2495
  "isDirectFunction": false,
2189
2496
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/secret-get.function.ts",
2190
2497
  "exportedName": "secretGet",
2191
- "bodyStart": 12,
2192
- "bodyEnd": 12,
2498
+ "bodyStart": 13,
2499
+ "bodyEnd": 13,
2193
2500
  "contractHash": "227a7414f4f25e3e",
2194
2501
  "inputHash": "9670ae4a",
2195
2502
  "outputHash": "4dba621f",
@@ -2219,14 +2526,17 @@
2219
2526
  "scopes": [
2220
2527
  "admin:secrets:read"
2221
2528
  ],
2222
- "implementationHash": "d9fc1c1a371c1d4e",
2529
+ "implementationHash": "cbad5caaa96d021c",
2223
2530
  "title": "Has Secret",
2531
+ "tags": [
2532
+ "admin:secrets"
2533
+ ],
2224
2534
  "description": "Checks whether a secret exists without reading its value.",
2225
2535
  "isDirectFunction": false,
2226
2536
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/secret-has.function.ts",
2227
2537
  "exportedName": "secretHas",
2228
- "bodyStart": 9,
2229
- "bodyEnd": 10,
2538
+ "bodyStart": 10,
2539
+ "bodyEnd": 11,
2230
2540
  "contractHash": "40e22efb310192c8",
2231
2541
  "inputHash": "a81fed12",
2232
2542
  "outputHash": "eaea1056",
@@ -2256,14 +2566,17 @@
2256
2566
  "scopes": [
2257
2567
  "admin:secrets:write"
2258
2568
  ],
2259
- "implementationHash": "651b32ec822264d5",
2569
+ "implementationHash": "d2a654fe1472944f",
2260
2570
  "title": "Set Secret",
2571
+ "tags": [
2572
+ "admin:secrets"
2573
+ ],
2261
2574
  "description": "Sets the value of a secret.",
2262
2575
  "isDirectFunction": false,
2263
2576
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/secret-set.function.ts",
2264
2577
  "exportedName": "secretSet",
2265
- "bodyStart": 12,
2266
- "bodyEnd": 13,
2578
+ "bodyStart": 13,
2579
+ "bodyEnd": 14,
2267
2580
  "contractHash": "94adfc07462ee833",
2268
2581
  "inputHash": "2c2e1412",
2269
2582
  "outputHash": "f8a23810",
@@ -2293,14 +2606,17 @@
2293
2606
  "scopes": [
2294
2607
  "admin:users:create"
2295
2608
  ],
2296
- "implementationHash": "987a1b5a1c10ca7b",
2609
+ "implementationHash": "3d70f03ecb99c145",
2297
2610
  "title": "Send Sign-In Link",
2611
+ "tags": [
2612
+ "admin:users"
2613
+ ],
2298
2614
  "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.",
2299
2615
  "isDirectFunction": false,
2300
2616
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/send-sign-in-link.function.ts",
2301
2617
  "exportedName": "sendSignInLink",
2302
- "bodyStart": 19,
2303
- "bodyEnd": 20,
2618
+ "bodyStart": 20,
2619
+ "bodyEnd": 21,
2304
2620
  "contractHash": "3be5c4a054c40069",
2305
2621
  "inputHash": "b3e2eaf8",
2306
2622
  "outputHash": "32a1600e",
@@ -2336,14 +2652,17 @@
2336
2652
  "scopes": [
2337
2653
  "admin:users:ban"
2338
2654
  ],
2339
- "implementationHash": "0fcbf5f7a1f72b0c",
2655
+ "implementationHash": "1ef288aba1408895",
2340
2656
  "title": "Ban or Unban User",
2657
+ "tags": [
2658
+ "admin:users"
2659
+ ],
2341
2660
  "description": "Bans a user — revoking their sessions and blocking sign-in — or lifts an existing ban. An expiry lets the ban lapse on its own; without one it holds until it is lifted. Requires better-auth wired with the `pikkuBan()` plugin.",
2342
2661
  "isDirectFunction": false,
2343
2662
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/set-user-banned.function.ts",
2344
2663
  "exportedName": "setUserBanned",
2345
- "bodyStart": 18,
2346
- "bodyEnd": 22,
2664
+ "bodyStart": 19,
2665
+ "bodyEnd": 23,
2347
2666
  "contractHash": "63e385dec64854fc",
2348
2667
  "inputHash": "5c785cf1",
2349
2668
  "outputHash": "662600ac",
@@ -2373,14 +2692,17 @@
2373
2692
  "scopes": [
2374
2693
  "admin:users:password"
2375
2694
  ],
2376
- "implementationHash": "ec122148aa5f3dcb",
2695
+ "implementationHash": "93ed8662ea8e4f62",
2377
2696
  "title": "Set User's Password",
2697
+ "tags": [
2698
+ "admin:users"
2699
+ ],
2378
2700
  "description": "Sets a user password out of band, for when they cannot complete a reset themselves. Enforces the configured length bounds, and gives a user who only ever signed in socially a credential account.",
2379
2701
  "isDirectFunction": false,
2380
2702
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/set-user-password.function.ts",
2381
2703
  "exportedName": "setUserPassword",
2382
- "bodyStart": 14,
2383
- "bodyEnd": 15,
2704
+ "bodyStart": 15,
2705
+ "bodyEnd": 16,
2384
2706
  "contractHash": "7adccc4ce04c4605",
2385
2707
  "inputHash": "a7f5633a",
2386
2708
  "outputHash": "b60f96b7",
@@ -2413,14 +2735,17 @@
2413
2735
  "scopes": [
2414
2736
  "admin:workflows:read"
2415
2737
  ],
2416
- "implementationHash": "5eda64441a2b0903",
2738
+ "implementationHash": "f166c4ee335be790",
2417
2739
  "title": "Stream Workflow Run",
2740
+ "tags": [
2741
+ "admin:workflows"
2742
+ ],
2418
2743
  "description": "SSE stream of workflow run status and step state changes.",
2419
2744
  "isDirectFunction": false,
2420
2745
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/stream-workflow-run.function.ts",
2421
2746
  "exportedName": "streamWorkflowRun",
2422
- "bodyStart": 9,
2423
- "bodyEnd": 64,
2747
+ "bodyStart": 10,
2748
+ "bodyEnd": 65,
2424
2749
  "contractHash": "1dc21fdc8c6d42b2",
2425
2750
  "inputHash": "e98b5c8e",
2426
2751
  "outputHash": "20fdee07",
@@ -2448,14 +2773,17 @@
2448
2773
  "scopes": [
2449
2774
  "admin:triggers:manage"
2450
2775
  ],
2451
- "implementationHash": "07c9b3535a629c5b",
2776
+ "implementationHash": "a9e87d4cea78aa77",
2452
2777
  "title": "Turn Off a Trigger Source",
2778
+ "tags": [
2779
+ "admin:triggers"
2780
+ ],
2453
2781
  "description": "Stops a trigger source receiving at once, then removes it from its provider.",
2454
2782
  "isDirectFunction": false,
2455
2783
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/trigger-source-disable.function.ts",
2456
2784
  "exportedName": "triggerSourceDisable",
2457
- "bodyStart": 16,
2458
- "bodyEnd": 18,
2785
+ "bodyStart": 17,
2786
+ "bodyEnd": 19,
2459
2787
  "contractHash": "26de6b65fc983d02",
2460
2788
  "inputHash": "c14b1d8e",
2461
2789
  "outputHash": "13c4c083",
@@ -2483,14 +2811,17 @@
2483
2811
  "scopes": [
2484
2812
  "admin:triggers:manage"
2485
2813
  ],
2486
- "implementationHash": "41234dc7d69420e1",
2814
+ "implementationHash": "8f15ebc633c66c1d",
2487
2815
  "title": "Turn On a Trigger Source",
2816
+ "tags": [
2817
+ "admin:triggers"
2818
+ ],
2488
2819
  "description": "Turns a declared trigger source on and registers it with its provider, at the address the last deployment recorded unless one is given. Sources are off until turned on here.",
2489
2820
  "isDirectFunction": false,
2490
2821
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/trigger-source-enable.function.ts",
2491
2822
  "exportedName": "triggerSourceEnable",
2492
- "bodyStart": 16,
2493
- "bodyEnd": 18,
2823
+ "bodyStart": 17,
2824
+ "bodyEnd": 19,
2494
2825
  "contractHash": "cc9a9c76692708b3",
2495
2826
  "inputHash": "b96c93b5",
2496
2827
  "outputHash": "2110e537",
@@ -2520,14 +2851,17 @@
2520
2851
  "scopes": [
2521
2852
  "admin:triggers:manage"
2522
2853
  ],
2523
- "implementationHash": "41871f98fbe888c3",
2854
+ "implementationHash": "09cffb0326f80b6f",
2524
2855
  "title": "Forget an Orphaned Trigger Source",
2856
+ "tags": [
2857
+ "admin:triggers"
2858
+ ],
2525
2859
  "description": "Drops the record of a source whose code is gone without a teardown. Its provider registration has to be removed by hand.",
2526
2860
  "isDirectFunction": false,
2527
2861
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/trigger-source-forget.function.ts",
2528
2862
  "exportedName": "triggerSourceForget",
2529
- "bodyStart": 14,
2530
- "bodyEnd": 17,
2863
+ "bodyStart": 15,
2864
+ "bodyEnd": 18,
2531
2865
  "contractHash": "2ae8813b01ad61ea",
2532
2866
  "inputHash": "2a7e6ed6",
2533
2867
  "outputHash": "26020798",
@@ -2555,14 +2889,17 @@
2555
2889
  "scopes": [
2556
2890
  "admin:triggers:read"
2557
2891
  ],
2558
- "implementationHash": "f9490f219453f3ac",
2892
+ "implementationHash": "412c33ffababbd71",
2559
2893
  "title": "List Trigger Sources",
2894
+ "tags": [
2895
+ "admin:triggers"
2896
+ ],
2560
2897
  "description": "Every trigger source the store knows, whether it is enabled, and what the last enable or disable reported.",
2561
2898
  "isDirectFunction": false,
2562
2899
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/trigger-source-list.function.ts",
2563
2900
  "exportedName": "triggerSourceList",
2564
- "bodyStart": 14,
2565
- "bodyEnd": 17,
2901
+ "bodyStart": 15,
2902
+ "bodyEnd": 18,
2566
2903
  "contractHash": "5988f7bce454bc07",
2567
2904
  "inputHash": "223c1bea",
2568
2905
  "outputHash": "27f3692a",
@@ -2590,14 +2927,17 @@
2590
2927
  "scopes": [
2591
2928
  "admin:triggers:manage"
2592
2929
  ],
2593
- "implementationHash": "a79fc5139a36d8d5",
2930
+ "implementationHash": "10192536c6352d76",
2594
2931
  "title": "Set Up Declared Trigger Sources",
2932
+ "tags": [
2933
+ "admin:triggers"
2934
+ ],
2595
2935
  "description": "Registers every trigger source the running app declares with its provider, repairing any that drifted. Run after a deployment goes live.",
2596
2936
  "isDirectFunction": false,
2597
2937
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/trigger-source-reconcile.function.ts",
2598
2938
  "exportedName": "triggerSourceReconcile",
2599
- "bodyStart": 16,
2600
- "bodyEnd": 18,
2939
+ "bodyStart": 17,
2940
+ "bodyEnd": 19,
2601
2941
  "contractHash": "e99137c9672c83b4",
2602
2942
  "inputHash": "49bf8b33",
2603
2943
  "outputHash": "3b164323",
@@ -2625,14 +2965,17 @@
2625
2965
  "scopes": [
2626
2966
  "admin:triggers:manage"
2627
2967
  ],
2628
- "implementationHash": "06f49dd5f75c97f8",
2968
+ "implementationHash": "c5f0c98be0b12e9a",
2629
2969
  "title": "Remove Trigger Sources",
2970
+ "tags": [
2971
+ "admin:triggers"
2972
+ ],
2630
2973
  "description": "Removes the named trigger sources from their providers. Run on the outgoing deployment for the sources the next release drops, since only the code that set a source up can remove it.",
2631
2974
  "isDirectFunction": false,
2632
2975
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/trigger-source-teardown.function.ts",
2633
2976
  "exportedName": "triggerSourceTeardown",
2634
- "bodyStart": 16,
2635
- "bodyEnd": 18,
2977
+ "bodyStart": 17,
2978
+ "bodyEnd": 19,
2636
2979
  "contractHash": "e18519cfa4cd3b3f",
2637
2980
  "inputHash": "2a46c00c",
2638
2981
  "outputHash": "a8519609",
@@ -2662,14 +3005,17 @@
2662
3005
  "scopes": [
2663
3006
  "admin:variables:read"
2664
3007
  ],
2665
- "implementationHash": "0f59110048745a71",
3008
+ "implementationHash": "433684c3cf5086c7",
2666
3009
  "title": "Get Variable",
3010
+ "tags": [
3011
+ "admin:variables"
3012
+ ],
2667
3013
  "description": "Gets the current value of a variable.",
2668
3014
  "isDirectFunction": false,
2669
3015
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/variable-get.function.ts",
2670
3016
  "exportedName": "variableGet",
2671
- "bodyStart": 12,
2672
- "bodyEnd": 15,
3017
+ "bodyStart": 13,
3018
+ "bodyEnd": 16,
2673
3019
  "contractHash": "2e9f7a2761178a1f",
2674
3020
  "inputHash": "9490d03a",
2675
3021
  "outputHash": "8c79a363",
@@ -2699,14 +3045,17 @@
2699
3045
  "scopes": [
2700
3046
  "admin:variables:write"
2701
3047
  ],
2702
- "implementationHash": "82ed740c8a6b38f3",
3048
+ "implementationHash": "5a2d4f125e22f290",
2703
3049
  "title": "Set Variable",
3050
+ "tags": [
3051
+ "admin:variables"
3052
+ ],
2704
3053
  "description": "Sets the value of a variable.",
2705
3054
  "isDirectFunction": false,
2706
3055
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-admin/src/functions/variable-set.function.ts",
2707
3056
  "exportedName": "variableSet",
2708
- "bodyStart": 12,
2709
- "bodyEnd": 13,
3057
+ "bodyStart": 13,
3058
+ "bodyEnd": 14,
2710
3059
  "contractHash": "6c91a62653b14fc4",
2711
3060
  "inputHash": "b3f056af",
2712
3061
  "outputHash": "1d122323",