@pikku/addon-console 0.12.49 → 0.12.50

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 (618) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/.pikku/addon/agent/index.d.ts +1 -1
  3. package/dist/.pikku/addon/agent/index.js +1 -1
  4. package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
  5. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
  7. package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
  8. package/dist/.pikku/addon/auth/auth.types.d.ts +1 -1
  9. package/dist/.pikku/addon/auth/auth.types.js +1 -1
  10. package/dist/.pikku/addon/auth/index.d.ts +1 -1
  11. package/dist/.pikku/addon/auth/index.js +1 -1
  12. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +1 -1
  13. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +1 -1
  14. package/dist/.pikku/addon/channel/index.d.ts +1 -1
  15. package/dist/.pikku/addon/channel/index.js +1 -1
  16. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
  17. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
  18. package/dist/.pikku/addon/error/index.d.ts +1 -1
  19. package/dist/.pikku/addon/error/index.js +1 -1
  20. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
  21. package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
  22. package/dist/.pikku/addon/function/index.d.ts +1 -1
  23. package/dist/.pikku/addon/function/index.js +1 -1
  24. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +1 -1
  25. package/dist/.pikku/addon/function/pikku-function-types.gen.js +1 -1
  26. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +20 -11
  27. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
  28. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +14 -5
  29. package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
  30. package/dist/.pikku/addon/http/index.d.ts +1 -1
  31. package/dist/.pikku/addon/http/index.js +1 -1
  32. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
  33. package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
  34. package/dist/.pikku/addon/mcp/index.d.ts +1 -1
  35. package/dist/.pikku/addon/mcp/index.js +1 -1
  36. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
  37. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
  38. package/dist/.pikku/addon/middleware/index.d.ts +1 -1
  39. package/dist/.pikku/addon/middleware/index.js +1 -1
  40. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +1 -1
  41. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
  42. package/dist/.pikku/addon/permissions/pikku-permissions.gen.d.ts +1 -1
  43. package/dist/.pikku/addon/permissions/pikku-permissions.gen.js +1 -1
  44. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  45. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
  46. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
  47. package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
  48. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  49. package/dist/.pikku/addon/pikku-services.gen.d.ts +1 -1
  50. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +1 -1
  51. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +1 -1
  52. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +1 -1
  53. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  54. package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
  55. package/dist/.pikku/addon/scenarios/index.js +1 -1
  56. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +1 -1
  57. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  58. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  59. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  60. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  61. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  62. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
  63. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
  64. package/dist/.pikku/addon/schemas/register.gen.js +1 -1
  65. package/dist/.pikku/addon/schemas/schemas/KnowledgeBundle.schema.json +1 -1
  66. package/dist/.pikku/addon/scopes/index.d.ts +1 -1
  67. package/dist/.pikku/addon/scopes/index.js +1 -1
  68. package/dist/.pikku/addon/scopes/pikku-personas.gen.js +1 -1
  69. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
  70. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +1 -1
  71. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
  72. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
  73. package/dist/.pikku/addon/secrets/index.d.ts +1 -1
  74. package/dist/.pikku/addon/secrets/index.js +1 -1
  75. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
  76. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
  77. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
  78. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
  79. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
  80. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
  81. package/dist/.pikku/addon/setup/index.d.ts +1 -1
  82. package/dist/.pikku/addon/setup/index.js +1 -1
  83. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
  84. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
  85. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
  86. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
  87. package/dist/.pikku/addon/trigger/index.d.ts +1 -1
  88. package/dist/.pikku/addon/trigger/index.js +1 -1
  89. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +1 -1
  90. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +1 -1
  91. package/dist/.pikku/addon/variables/index.d.ts +1 -1
  92. package/dist/.pikku/addon/variables/index.js +1 -1
  93. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
  94. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
  95. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
  96. package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
  97. package/dist/.pikku/addon/workflow/index.d.ts +1 -1
  98. package/dist/.pikku/addon/workflow/index.js +1 -1
  99. package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  100. package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
  101. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +1 -1
  102. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
  103. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  104. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  105. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
  106. package/dist/src/functions/secret-get.function.d.ts.map +1 -1
  107. package/dist/src/functions/secret-get.function.js +1 -0
  108. package/dist/src/functions/secret-get.function.js.map +1 -1
  109. package/dist/src/functions/secret-has.function.d.ts.map +1 -1
  110. package/dist/src/functions/secret-has.function.js +1 -0
  111. package/dist/src/functions/secret-has.function.js.map +1 -1
  112. package/dist/src/functions/secret-scopes.function.test.d.ts +2 -0
  113. package/dist/src/functions/secret-scopes.function.test.d.ts.map +1 -0
  114. package/dist/src/functions/secret-scopes.function.test.js +60 -0
  115. package/dist/src/functions/secret-scopes.function.test.js.map +1 -0
  116. package/dist/src/functions/secret-set.function.d.ts.map +1 -1
  117. package/dist/src/functions/secret-set.function.js +1 -0
  118. package/dist/src/functions/secret-set.function.js.map +1 -1
  119. package/package.json +5 -5
  120. package/dist/.pikku/addon/index.d.ts +0 -8
  121. package/dist/.pikku/addon/index.d.ts.map +0 -1
  122. package/dist/.pikku/addon/index.js +0 -8
  123. package/dist/.pikku/addon/index.js.map +0 -1
  124. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +0 -66
  125. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +0 -1
  126. package/dist/.pikku/addon/pikku-addon-types.gen.js +0 -78
  127. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +0 -1
  128. package/dist/.pikku/agent/index.d.ts +0 -8
  129. package/dist/.pikku/agent/index.d.ts.map +0 -1
  130. package/dist/.pikku/agent/index.js +0 -8
  131. package/dist/.pikku/agent/index.js.map +0 -1
  132. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
  133. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +0 -54
  134. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +0 -1
  135. package/dist/.pikku/agent/pikku-agent-types.gen.js +0 -20
  136. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +0 -1
  137. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts +0 -2
  138. package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +0 -1
  139. package/dist/.pikku/agent/pikku-model-aliases.gen.js +0 -6
  140. package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +0 -1
  141. package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +0 -8
  142. package/dist/.pikku/auth/auth.types.d.ts +0 -5
  143. package/dist/.pikku/auth/auth.types.d.ts.map +0 -1
  144. package/dist/.pikku/auth/auth.types.js +0 -6
  145. package/dist/.pikku/auth/auth.types.js.map +0 -1
  146. package/dist/.pikku/auth/index.d.ts +0 -9
  147. package/dist/.pikku/auth/index.d.ts.map +0 -1
  148. package/dist/.pikku/auth/index.js +0 -9
  149. package/dist/.pikku/auth/index.js.map +0 -1
  150. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +0 -119
  151. package/dist/.pikku/auth/pikku-auth-types.gen.d.ts.map +0 -1
  152. package/dist/.pikku/auth/pikku-auth-types.gen.js +0 -93
  153. package/dist/.pikku/auth/pikku-auth-types.gen.js.map +0 -1
  154. package/dist/.pikku/channel/index.d.ts +0 -8
  155. package/dist/.pikku/channel/index.d.ts.map +0 -1
  156. package/dist/.pikku/channel/index.js +0 -8
  157. package/dist/.pikku/channel/index.js.map +0 -1
  158. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +0 -91
  159. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +0 -1
  160. package/dist/.pikku/channel/pikku-channel-types.gen.js +0 -43
  161. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +0 -1
  162. package/dist/.pikku/console/pikku-node-types.gen.d.ts +0 -7
  163. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +0 -1
  164. package/dist/.pikku/console/pikku-node-types.gen.js +0 -2
  165. package/dist/.pikku/console/pikku-node-types.gen.js.map +0 -1
  166. package/dist/.pikku/credentials/index.d.ts +0 -8
  167. package/dist/.pikku/credentials/index.d.ts.map +0 -1
  168. package/dist/.pikku/credentials/index.js +0 -8
  169. package/dist/.pikku/credentials/index.js.map +0 -1
  170. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts +0 -5
  171. package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts.map +0 -1
  172. package/dist/.pikku/credentials/pikku-credential-types.gen.js +0 -5
  173. package/dist/.pikku/credentials/pikku-credential-types.gen.js.map +0 -1
  174. package/dist/.pikku/error/index.d.ts +0 -8
  175. package/dist/.pikku/error/index.d.ts.map +0 -1
  176. package/dist/.pikku/error/index.js +0 -8
  177. package/dist/.pikku/error/index.js.map +0 -1
  178. package/dist/.pikku/error/pikku-error-types.gen.d.ts +0 -8
  179. package/dist/.pikku/error/pikku-error-types.gen.d.ts.map +0 -1
  180. package/dist/.pikku/error/pikku-error-types.gen.js +0 -8
  181. package/dist/.pikku/error/pikku-error-types.gen.js.map +0 -1
  182. package/dist/.pikku/function/index.d.ts +0 -8
  183. package/dist/.pikku/function/index.d.ts.map +0 -1
  184. package/dist/.pikku/function/index.js +0 -8
  185. package/dist/.pikku/function/index.js.map +0 -1
  186. package/dist/.pikku/function/pikku-function-types.gen.d.ts +0 -270
  187. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +0 -1
  188. package/dist/.pikku/function/pikku-function-types.gen.js +0 -117
  189. package/dist/.pikku/function/pikku-function-types.gen.js.map +0 -1
  190. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -2146
  191. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +0 -2
  192. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +0 -1
  193. package/dist/.pikku/function/pikku-functions-meta.gen.js +0 -7
  194. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +0 -1
  195. package/dist/.pikku/function/pikku-functions-meta.gen.json +0 -1690
  196. package/dist/.pikku/function/pikku-functions.gen.d.ts +0 -2
  197. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +0 -1
  198. package/dist/.pikku/function/pikku-functions.gen.js +0 -126
  199. package/dist/.pikku/function/pikku-functions.gen.js.map +0 -1
  200. package/dist/.pikku/gateway/index.d.ts +0 -8
  201. package/dist/.pikku/gateway/index.d.ts.map +0 -1
  202. package/dist/.pikku/gateway/index.js +0 -8
  203. package/dist/.pikku/gateway/index.js.map +0 -1
  204. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +0 -38
  205. package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts.map +0 -1
  206. package/dist/.pikku/gateway/pikku-gateway-types.gen.js +0 -26
  207. package/dist/.pikku/gateway/pikku-gateway-types.gen.js.map +0 -1
  208. package/dist/.pikku/http/index.d.ts +0 -8
  209. package/dist/.pikku/http/index.d.ts.map +0 -1
  210. package/dist/.pikku/http/index.js +0 -8
  211. package/dist/.pikku/http/index.js.map +0 -1
  212. package/dist/.pikku/http/pikku-http-types.gen.d.ts +0 -50
  213. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +0 -1
  214. package/dist/.pikku/http/pikku-http-types.gen.js +0 -11
  215. package/dist/.pikku/http/pikku-http-types.gen.js.map +0 -1
  216. package/dist/.pikku/mcp/index.d.ts +0 -8
  217. package/dist/.pikku/mcp/index.d.ts.map +0 -1
  218. package/dist/.pikku/mcp/index.js +0 -8
  219. package/dist/.pikku/mcp/index.js.map +0 -1
  220. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +0 -102
  221. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +0 -1
  222. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -16
  223. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +0 -1
  224. package/dist/.pikku/middleware/index.d.ts +0 -8
  225. package/dist/.pikku/middleware/index.d.ts.map +0 -1
  226. package/dist/.pikku/middleware/index.js +0 -8
  227. package/dist/.pikku/middleware/index.js.map +0 -1
  228. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +0 -118
  229. package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts.map +0 -1
  230. package/dist/.pikku/middleware/pikku-middleware-types.gen.js +0 -109
  231. package/dist/.pikku/middleware/pikku-middleware-types.gen.js.map +0 -1
  232. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +0 -10
  233. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +0 -1
  234. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +0 -10
  235. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +0 -1
  236. package/dist/.pikku/pikku-bootstrap.gen.d.ts +0 -10
  237. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +0 -1
  238. package/dist/.pikku/pikku-bootstrap.gen.js +0 -10
  239. package/dist/.pikku/pikku-bootstrap.gen.js.map +0 -1
  240. package/dist/.pikku/pikku-meta-service.gen.d.ts +0 -8
  241. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +0 -1
  242. package/dist/.pikku/pikku-meta-service.gen.js +0 -10
  243. package/dist/.pikku/pikku-meta-service.gen.js.map +0 -1
  244. package/dist/.pikku/pikku-services.gen.d.ts +0 -50
  245. package/dist/.pikku/pikku-services.gen.d.ts.map +0 -1
  246. package/dist/.pikku/pikku-services.gen.js +0 -46
  247. package/dist/.pikku/pikku-services.gen.js.map +0 -1
  248. package/dist/.pikku/pikku-types.gen.d.ts +0 -12
  249. package/dist/.pikku/pikku-types.gen.d.ts.map +0 -1
  250. package/dist/.pikku/pikku-types.gen.js +0 -17
  251. package/dist/.pikku/pikku-types.gen.js.map +0 -1
  252. package/dist/.pikku/queue/index.d.ts +0 -8
  253. package/dist/.pikku/queue/index.d.ts.map +0 -1
  254. package/dist/.pikku/queue/index.js +0 -8
  255. package/dist/.pikku/queue/index.js.map +0 -1
  256. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +0 -24
  257. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +0 -1
  258. package/dist/.pikku/queue/pikku-queue-types.gen.js +0 -17
  259. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +0 -1
  260. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -251
  261. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -253
  262. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +0 -184
  263. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +0 -2
  264. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +0 -1
  265. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +0 -7
  266. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +0 -1
  267. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -62
  268. package/dist/.pikku/scenarios/index.d.ts +0 -8
  269. package/dist/.pikku/scenarios/index.d.ts.map +0 -1
  270. package/dist/.pikku/scenarios/index.js +0 -8
  271. package/dist/.pikku/scenarios/index.js.map +0 -1
  272. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts +0 -18
  273. package/dist/.pikku/scenarios/pikku-personas.gen.d.ts.map +0 -1
  274. package/dist/.pikku/scenarios/pikku-personas.gen.js +0 -18
  275. package/dist/.pikku/scenarios/pikku-personas.gen.js.map +0 -1
  276. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +0 -2
  277. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +0 -1
  278. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +0 -11
  279. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +0 -1
  280. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +0 -1
  281. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +0 -5
  282. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +0 -1
  283. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +0 -2
  284. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +0 -1
  285. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +0 -311
  286. package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts.map +0 -1
  287. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js +0 -72
  288. package/dist/.pikku/scenarios/pikku-scenario-types.gen.js.map +0 -1
  289. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +0 -2
  290. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +0 -1
  291. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +0 -11
  292. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +0 -1
  293. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +0 -5
  294. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +0 -1
  295. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +0 -2
  296. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +0 -1
  297. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +0 -5
  298. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +0 -1
  299. package/dist/.pikku/scenarios/schemas/register.gen.js +0 -5
  300. package/dist/.pikku/scenarios/schemas/register.gen.js.map +0 -1
  301. package/dist/.pikku/scheduler/index.d.ts +0 -8
  302. package/dist/.pikku/scheduler/index.d.ts.map +0 -1
  303. package/dist/.pikku/scheduler/index.js +0 -8
  304. package/dist/.pikku/scheduler/index.js.map +0 -1
  305. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +0 -22
  306. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +0 -1
  307. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +0 -17
  308. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +0 -1
  309. package/dist/.pikku/schemas/register.gen.d.ts +0 -2
  310. package/dist/.pikku/schemas/register.gen.d.ts.map +0 -1
  311. package/dist/.pikku/schemas/register.gen.js +0 -201
  312. package/dist/.pikku/schemas/register.gen.js.map +0 -1
  313. package/dist/.pikku/schemas/schemas/AddonMetaPage.schema.json +0 -1
  314. package/dist/.pikku/schemas/schemas/AddonMetaQuery.schema.json +0 -1
  315. package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +0 -1
  316. package/dist/.pikku/schemas/schemas/AddonReadinessInput.schema.json +0 -1
  317. package/dist/.pikku/schemas/schemas/AddonReadinessOutput.schema.json +0 -1
  318. package/dist/.pikku/schemas/schemas/AgentCredentialCheckInput.schema.json +0 -1
  319. package/dist/.pikku/schemas/schemas/AgentCredentialCheckOutput.schema.json +0 -1
  320. package/dist/.pikku/schemas/schemas/AllMeta.schema.json +0 -1
  321. package/dist/.pikku/schemas/schemas/AuthProvidersMeta.schema.json +0 -1
  322. package/dist/.pikku/schemas/schemas/ChannelSnippets.schema.json +0 -1
  323. package/dist/.pikku/schemas/schemas/CredentialDeleteInput.schema.json +0 -1
  324. package/dist/.pikku/schemas/schemas/CredentialDeleteOutput.schema.json +0 -1
  325. package/dist/.pikku/schemas/schemas/CredentialGetInput.schema.json +0 -1
  326. package/dist/.pikku/schemas/schemas/CredentialGetOutput.schema.json +0 -1
  327. package/dist/.pikku/schemas/schemas/CredentialListUsersOutput.schema.json +0 -1
  328. package/dist/.pikku/schemas/schemas/CredentialSetInput.schema.json +0 -1
  329. package/dist/.pikku/schemas/schemas/CredentialSetOutput.schema.json +0 -1
  330. package/dist/.pikku/schemas/schemas/CredentialStatusInput.schema.json +0 -1
  331. package/dist/.pikku/schemas/schemas/CredentialStatusOutput.schema.json +0 -1
  332. package/dist/.pikku/schemas/schemas/CredentialUsersInput.schema.json +0 -1
  333. package/dist/.pikku/schemas/schemas/CredentialUsersOutput.schema.json +0 -1
  334. package/dist/.pikku/schemas/schemas/DbSchema.schema.json +0 -1
  335. package/dist/.pikku/schemas/schemas/DeleteAgentThreadInput.schema.json +0 -1
  336. package/dist/.pikku/schemas/schemas/DeleteAgentThreadOutput.schema.json +0 -1
  337. package/dist/.pikku/schemas/schemas/DeleteScenarioRunInput.schema.json +0 -1
  338. package/dist/.pikku/schemas/schemas/DeleteWorkflowRunInput.schema.json +0 -1
  339. package/dist/.pikku/schemas/schemas/DeleteWorkflowRunOutput.schema.json +0 -1
  340. package/dist/.pikku/schemas/schemas/GetAddonCategoriesOutput.schema.json +0 -1
  341. package/dist/.pikku/schemas/schemas/GetAddonCommunityPackageInput.schema.json +0 -1
  342. package/dist/.pikku/schemas/schemas/GetAddonIconInput.schema.json +0 -1
  343. package/dist/.pikku/schemas/schemas/GetAddonInstalledPackageInput.schema.json +0 -1
  344. package/dist/.pikku/schemas/schemas/GetAddonInstancesInput.schema.json +0 -1
  345. package/dist/.pikku/schemas/schemas/GetAddonInstancesOutput.schema.json +0 -1
  346. package/dist/.pikku/schemas/schemas/GetAgentRunScoresInput.schema.json +0 -1
  347. package/dist/.pikku/schemas/schemas/GetAgentRunScoresOutput.schema.json +0 -1
  348. package/dist/.pikku/schemas/schemas/GetAgentThreadMessagesInput.schema.json +0 -1
  349. package/dist/.pikku/schemas/schemas/GetAgentThreadMessagesOutput.schema.json +0 -1
  350. package/dist/.pikku/schemas/schemas/GetAgentThreadRunsInput.schema.json +0 -1
  351. package/dist/.pikku/schemas/schemas/GetAgentThreadRunsOutput.schema.json +0 -1
  352. package/dist/.pikku/schemas/schemas/GetAgentThreadsInput.schema.json +0 -1
  353. package/dist/.pikku/schemas/schemas/GetAgentThreadsOutput.schema.json +0 -1
  354. package/dist/.pikku/schemas/schemas/GetChannelSnippetsInput.schema.json +0 -1
  355. package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +0 -1
  356. package/dist/.pikku/schemas/schemas/GetInstalledAddonsOutput.schema.json +0 -1
  357. package/dist/.pikku/schemas/schemas/GetMyAccessOutput.schema.json +0 -1
  358. package/dist/.pikku/schemas/schemas/GetOpenapiCategoriesOutput.schema.json +0 -1
  359. package/dist/.pikku/schemas/schemas/GetOpenapiDetailInput.schema.json +0 -1
  360. package/dist/.pikku/schemas/schemas/GetOpenapiDetailOutput.schema.json +0 -1
  361. package/dist/.pikku/schemas/schemas/GetOpenapisInput.schema.json +0 -1
  362. package/dist/.pikku/schemas/schemas/GetOpenapisOutput.schema.json +0 -1
  363. package/dist/.pikku/schemas/schemas/GetScenarioArtifactInput.schema.json +0 -1
  364. package/dist/.pikku/schemas/schemas/GetScenarioRunInput.schema.json +0 -1
  365. package/dist/.pikku/schemas/schemas/GetSchemaInput.schema.json +0 -1
  366. package/dist/.pikku/schemas/schemas/GetScorersOutput.schema.json +0 -1
  367. package/dist/.pikku/schemas/schemas/GetStateDiffInput.schema.json +0 -1
  368. package/dist/.pikku/schemas/schemas/GetWebhookDeliveryInput.schema.json +0 -1
  369. package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdInput.schema.json +0 -1
  370. package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +0 -1
  371. package/dist/.pikku/schemas/schemas/GetWorkflowRunHistoryInput.schema.json +0 -1
  372. package/dist/.pikku/schemas/schemas/GetWorkflowRunHistoryOutput.schema.json +0 -1
  373. package/dist/.pikku/schemas/schemas/GetWorkflowRunInput.schema.json +0 -1
  374. package/dist/.pikku/schemas/schemas/GetWorkflowRunNamesOutput.schema.json +0 -1
  375. package/dist/.pikku/schemas/schemas/GetWorkflowRunOutput.schema.json +0 -1
  376. package/dist/.pikku/schemas/schemas/GetWorkflowRunStepsInput.schema.json +0 -1
  377. package/dist/.pikku/schemas/schemas/GetWorkflowRunStepsOutput.schema.json +0 -1
  378. package/dist/.pikku/schemas/schemas/GetWorkflowRunsInput.schema.json +0 -1
  379. package/dist/.pikku/schemas/schemas/GetWorkflowRunsOutput.schema.json +0 -1
  380. package/dist/.pikku/schemas/schemas/GetWorkflowVersionInput.schema.json +0 -1
  381. package/dist/.pikku/schemas/schemas/GetWorkflowVersionOutput.schema.json +0 -1
  382. package/dist/.pikku/schemas/schemas/InstallAddonInput.schema.json +0 -1
  383. package/dist/.pikku/schemas/schemas/InstallAddonOutput.schema.json +0 -1
  384. package/dist/.pikku/schemas/schemas/InstallOpenapiAddonInput.schema.json +0 -1
  385. package/dist/.pikku/schemas/schemas/InstallOpenapiAddonOutput.schema.json +0 -1
  386. package/dist/.pikku/schemas/schemas/JSONSchema7.schema.json +0 -1
  387. package/dist/.pikku/schemas/schemas/KnowledgeBundle.schema.json +0 -1
  388. package/dist/.pikku/schemas/schemas/ListScenarioRunsInput.schema.json +0 -1
  389. package/dist/.pikku/schemas/schemas/ListScenarioRunsOutput.schema.json +0 -1
  390. package/dist/.pikku/schemas/schemas/ListWebhookDeliveriesInput.schema.json +0 -1
  391. package/dist/.pikku/schemas/schemas/ListWebhookDeliveriesOutput.schema.json +0 -1
  392. package/dist/.pikku/schemas/schemas/PingOutput.schema.json +0 -1
  393. package/dist/.pikku/schemas/schemas/ReadAgentSourceInput.schema.json +0 -1
  394. package/dist/.pikku/schemas/schemas/ReadAgentSourceOutput.schema.json +0 -1
  395. package/dist/.pikku/schemas/schemas/ReadFunctionBodyInput.schema.json +0 -1
  396. package/dist/.pikku/schemas/schemas/ReadFunctionBodyOutput.schema.json +0 -1
  397. package/dist/.pikku/schemas/schemas/ReadFunctionSourceInput.schema.json +0 -1
  398. package/dist/.pikku/schemas/schemas/ReadFunctionSourceOutput.schema.json +0 -1
  399. package/dist/.pikku/schemas/schemas/RenderEmailPreviewInput.schema.json +0 -1
  400. package/dist/.pikku/schemas/schemas/RenderEmailPreviewOutput.schema.json +0 -1
  401. package/dist/.pikku/schemas/schemas/ScenarioRunRecord.schema.json +0 -1
  402. package/dist/.pikku/schemas/schemas/ScopeAddScopeToUserInput.schema.json +0 -1
  403. package/dist/.pikku/schemas/schemas/ScopeAddScopeToUserOutput.schema.json +0 -1
  404. package/dist/.pikku/schemas/schemas/ScopeAddUserToRoleInput.schema.json +0 -1
  405. package/dist/.pikku/schemas/schemas/ScopeAddUserToRoleOutput.schema.json +0 -1
  406. package/dist/.pikku/schemas/schemas/ScopeCreateRoleInput.schema.json +0 -1
  407. package/dist/.pikku/schemas/schemas/ScopeCreateRoleOutput.schema.json +0 -1
  408. package/dist/.pikku/schemas/schemas/ScopeDeleteRoleInput.schema.json +0 -1
  409. package/dist/.pikku/schemas/schemas/ScopeDeleteRoleOutput.schema.json +0 -1
  410. package/dist/.pikku/schemas/schemas/ScopeListDeclaredOutput.schema.json +0 -1
  411. package/dist/.pikku/schemas/schemas/ScopeListRolesOutput.schema.json +0 -1
  412. package/dist/.pikku/schemas/schemas/ScopeListUserRolesInput.schema.json +0 -1
  413. package/dist/.pikku/schemas/schemas/ScopeListUserRolesOutput.schema.json +0 -1
  414. package/dist/.pikku/schemas/schemas/ScopeRemoveScopeFromUserInput.schema.json +0 -1
  415. package/dist/.pikku/schemas/schemas/ScopeRemoveScopeFromUserOutput.schema.json +0 -1
  416. package/dist/.pikku/schemas/schemas/ScopeRemoveUserFromRoleInput.schema.json +0 -1
  417. package/dist/.pikku/schemas/schemas/ScopeRemoveUserFromRoleOutput.schema.json +0 -1
  418. package/dist/.pikku/schemas/schemas/ScopeSetRoleScopesInput.schema.json +0 -1
  419. package/dist/.pikku/schemas/schemas/ScopeSetRoleScopesOutput.schema.json +0 -1
  420. package/dist/.pikku/schemas/schemas/SecretGetInput.schema.json +0 -1
  421. package/dist/.pikku/schemas/schemas/SecretGetOutput.schema.json +0 -1
  422. package/dist/.pikku/schemas/schemas/SecretHasInput.schema.json +0 -1
  423. package/dist/.pikku/schemas/schemas/SecretHasOutput.schema.json +0 -1
  424. package/dist/.pikku/schemas/schemas/SecretSetInput.schema.json +0 -1
  425. package/dist/.pikku/schemas/schemas/SecretSetOutput.schema.json +0 -1
  426. package/dist/.pikku/schemas/schemas/SecurityAuditReport.schema.json +0 -1
  427. package/dist/.pikku/schemas/schemas/StateDiff.schema.json +0 -1
  428. package/dist/.pikku/schemas/schemas/StreamWorkflowRunInput.schema.json +0 -1
  429. package/dist/.pikku/schemas/schemas/SurfaceResult.schema.json +0 -1
  430. package/dist/.pikku/schemas/schemas/UpdateAgentConfigInput.schema.json +0 -1
  431. package/dist/.pikku/schemas/schemas/UpdateAgentConfigOutput.schema.json +0 -1
  432. package/dist/.pikku/schemas/schemas/UpdateDependencyInput.schema.json +0 -1
  433. package/dist/.pikku/schemas/schemas/UpdateEmailTemplateInput.schema.json +0 -1
  434. package/dist/.pikku/schemas/schemas/UpdateEmailTemplateOutput.schema.json +0 -1
  435. package/dist/.pikku/schemas/schemas/UpdateFunctionBodyInput.schema.json +0 -1
  436. package/dist/.pikku/schemas/schemas/UpdateFunctionBodyOutput.schema.json +0 -1
  437. package/dist/.pikku/schemas/schemas/UpdateFunctionConfigInput.schema.json +0 -1
  438. package/dist/.pikku/schemas/schemas/UpdateFunctionConfigOutput.schema.json +0 -1
  439. package/dist/.pikku/schemas/schemas/WebhookDeliveryWithAttempts.schema.json +0 -1
  440. package/dist/.pikku/scopes/index.d.ts +0 -8
  441. package/dist/.pikku/scopes/index.d.ts.map +0 -1
  442. package/dist/.pikku/scopes/index.js +0 -8
  443. package/dist/.pikku/scopes/index.js.map +0 -1
  444. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +0 -1
  445. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +0 -29
  446. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +0 -1
  447. package/dist/.pikku/scopes/pikku-personas.gen.js +0 -18
  448. package/dist/.pikku/scopes/pikku-personas.gen.js.map +0 -1
  449. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +0 -1
  450. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +0 -31
  451. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +0 -1
  452. package/dist/.pikku/scopes/pikku-roles.gen.js +0 -19
  453. package/dist/.pikku/scopes/pikku-roles.gen.js.map +0 -1
  454. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +0 -6
  455. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +0 -1
  456. package/dist/.pikku/scopes/pikku-scope-types.gen.js +0 -6
  457. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +0 -1
  458. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +0 -144
  459. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +0 -36
  460. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +0 -1
  461. package/dist/.pikku/scopes/pikku-scopes.gen.js +0 -30
  462. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +0 -1
  463. package/dist/.pikku/secrets/index.d.ts +0 -9
  464. package/dist/.pikku/secrets/index.d.ts.map +0 -1
  465. package/dist/.pikku/secrets/index.js +0 -9
  466. package/dist/.pikku/secrets/index.js.map +0 -1
  467. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -5
  468. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +0 -1
  469. package/dist/.pikku/secrets/pikku-secret-types.gen.js +0 -5
  470. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +0 -1
  471. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
  472. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +0 -18
  473. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +0 -1
  474. package/dist/.pikku/secrets/pikku-secrets.gen.js +0 -19
  475. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +0 -1
  476. package/dist/.pikku/services/pikku-meta-service.gen.d.ts +0 -8
  477. package/dist/.pikku/services/pikku-meta-service.gen.d.ts.map +0 -1
  478. package/dist/.pikku/services/pikku-meta-service.gen.js +0 -10
  479. package/dist/.pikku/services/pikku-meta-service.gen.js.map +0 -1
  480. package/dist/.pikku/setup/index.d.ts +0 -8
  481. package/dist/.pikku/setup/index.d.ts.map +0 -1
  482. package/dist/.pikku/setup/index.js +0 -8
  483. package/dist/.pikku/setup/index.js.map +0 -1
  484. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +0 -67
  485. package/dist/.pikku/setup/pikku-setup-types.gen.d.ts.map +0 -1
  486. package/dist/.pikku/setup/pikku-setup-types.gen.js +0 -88
  487. package/dist/.pikku/setup/pikku-setup-types.gen.js.map +0 -1
  488. package/dist/.pikku/trigger/index.d.ts +0 -8
  489. package/dist/.pikku/trigger/index.d.ts.map +0 -1
  490. package/dist/.pikku/trigger/index.js +0 -8
  491. package/dist/.pikku/trigger/index.js.map +0 -1
  492. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +0 -83
  493. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +0 -1
  494. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -13
  495. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +0 -1
  496. package/dist/.pikku/variables/index.d.ts +0 -9
  497. package/dist/.pikku/variables/index.d.ts.map +0 -1
  498. package/dist/.pikku/variables/index.js +0 -9
  499. package/dist/.pikku/variables/index.js.map +0 -1
  500. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -5
  501. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +0 -1
  502. package/dist/.pikku/variables/pikku-variable-types.gen.js +0 -5
  503. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +0 -1
  504. package/dist/.pikku/variables/pikku-variables-meta.gen.json +0 -1
  505. package/dist/.pikku/variables/pikku-variables.gen.d.ts +0 -19
  506. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +0 -1
  507. package/dist/.pikku/variables/pikku-variables.gen.js +0 -19
  508. package/dist/.pikku/variables/pikku-variables.gen.js.map +0 -1
  509. package/dist/.pikku/workflow/index.d.ts +0 -8
  510. package/dist/.pikku/workflow/index.d.ts.map +0 -1
  511. package/dist/.pikku/workflow/index.js +0 -8
  512. package/dist/.pikku/workflow/index.js.map +0 -1
  513. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +0 -18
  514. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +0 -1
  515. package/dist/.pikku/workflow/pikku-personas.gen.js +0 -18
  516. package/dist/.pikku/workflow/pikku-personas.gen.js.map +0 -1
  517. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +0 -18
  518. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
  519. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +0 -100
  520. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +0 -1
  521. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +0 -16
  522. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +0 -1
  523. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +0 -2
  524. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +0 -1
  525. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +0 -7
  526. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +0 -1
  527. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +0 -5
  528. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +0 -1
  529. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +0 -5
  530. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +0 -1
  531. package/dist/src/functions/credential-delete.function.d.ts +0 -17
  532. package/dist/src/functions/credential-delete.function.d.ts.map +0 -1
  533. package/dist/src/functions/credential-delete.function.js +0 -12
  534. package/dist/src/functions/credential-delete.function.js.map +0 -1
  535. package/dist/src/functions/credential-get.function.d.ts +0 -17
  536. package/dist/src/functions/credential-get.function.d.ts.map +0 -1
  537. package/dist/src/functions/credential-get.function.js +0 -12
  538. package/dist/src/functions/credential-get.function.js.map +0 -1
  539. package/dist/src/functions/credential-list-users.function.d.ts +0 -12
  540. package/dist/src/functions/credential-list-users.function.d.ts.map +0 -1
  541. package/dist/src/functions/credential-list-users.function.js +0 -26
  542. package/dist/src/functions/credential-list-users.function.js.map +0 -1
  543. package/dist/src/functions/credential-set.function.d.ts +0 -20
  544. package/dist/src/functions/credential-set.function.d.ts.map +0 -1
  545. package/dist/src/functions/credential-set.function.js +0 -12
  546. package/dist/src/functions/credential-set.function.js.map +0 -1
  547. package/dist/src/functions/credential-status.function.d.ts +0 -17
  548. package/dist/src/functions/credential-status.function.d.ts.map +0 -1
  549. package/dist/src/functions/credential-status.function.js +0 -15
  550. package/dist/src/functions/credential-status.function.js.map +0 -1
  551. package/dist/src/functions/credential-users.function.d.ts +0 -14
  552. package/dist/src/functions/credential-users.function.d.ts.map +0 -1
  553. package/dist/src/functions/credential-users.function.js +0 -12
  554. package/dist/src/functions/credential-users.function.js.map +0 -1
  555. package/dist/src/functions/get-audit-filters.function.d.ts +0 -23
  556. package/dist/src/functions/get-audit-filters.function.d.ts.map +0 -1
  557. package/dist/src/functions/get-audit-filters.function.js +0 -31
  558. package/dist/src/functions/get-audit-filters.function.js.map +0 -1
  559. package/dist/src/functions/get-audits.function.d.ts +0 -34
  560. package/dist/src/functions/get-audits.function.d.ts.map +0 -1
  561. package/dist/src/functions/get-audits.function.js +0 -24
  562. package/dist/src/functions/get-audits.function.js.map +0 -1
  563. package/dist/src/functions/scope-add-scope-to-user.function.d.ts +0 -17
  564. package/dist/src/functions/scope-add-scope-to-user.function.d.ts.map +0 -1
  565. package/dist/src/functions/scope-add-scope-to-user.function.js +0 -12
  566. package/dist/src/functions/scope-add-scope-to-user.function.js.map +0 -1
  567. package/dist/src/functions/scope-add-user-to-role.function.d.ts +0 -17
  568. package/dist/src/functions/scope-add-user-to-role.function.d.ts.map +0 -1
  569. package/dist/src/functions/scope-add-user-to-role.function.js +0 -12
  570. package/dist/src/functions/scope-add-user-to-role.function.js.map +0 -1
  571. package/dist/src/functions/scope-create-role.function.d.ts +0 -20
  572. package/dist/src/functions/scope-create-role.function.d.ts.map +0 -1
  573. package/dist/src/functions/scope-create-role.function.js +0 -14
  574. package/dist/src/functions/scope-create-role.function.js.map +0 -1
  575. package/dist/src/functions/scope-delete-role.function.d.ts +0 -14
  576. package/dist/src/functions/scope-delete-role.function.d.ts.map +0 -1
  577. package/dist/src/functions/scope-delete-role.function.js +0 -12
  578. package/dist/src/functions/scope-delete-role.function.js.map +0 -1
  579. package/dist/src/functions/scope-list-declared.function.d.ts +0 -18
  580. package/dist/src/functions/scope-list-declared.function.d.ts.map +0 -1
  581. package/dist/src/functions/scope-list-declared.function.js +0 -15
  582. package/dist/src/functions/scope-list-declared.function.js.map +0 -1
  583. package/dist/src/functions/scope-list-roles.function.d.ts +0 -9
  584. package/dist/src/functions/scope-list-roles.function.d.ts.map +0 -1
  585. package/dist/src/functions/scope-list-roles.function.js +0 -14
  586. package/dist/src/functions/scope-list-roles.function.js.map +0 -1
  587. package/dist/src/functions/scope-list-user-roles.function.d.ts +0 -20
  588. package/dist/src/functions/scope-list-user-roles.function.d.ts.map +0 -1
  589. package/dist/src/functions/scope-list-user-roles.function.js +0 -23
  590. package/dist/src/functions/scope-list-user-roles.function.js.map +0 -1
  591. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts +0 -17
  592. package/dist/src/functions/scope-remove-scope-from-user.function.d.ts.map +0 -1
  593. package/dist/src/functions/scope-remove-scope-from-user.function.js +0 -12
  594. package/dist/src/functions/scope-remove-scope-from-user.function.js.map +0 -1
  595. package/dist/src/functions/scope-remove-user-from-role.function.d.ts +0 -17
  596. package/dist/src/functions/scope-remove-user-from-role.function.d.ts.map +0 -1
  597. package/dist/src/functions/scope-remove-user-from-role.function.js +0 -12
  598. package/dist/src/functions/scope-remove-user-from-role.function.js.map +0 -1
  599. package/dist/src/functions/scope-set-role-scopes.function.d.ts +0 -17
  600. package/dist/src/functions/scope-set-role-scopes.function.d.ts.map +0 -1
  601. package/dist/src/functions/scope-set-role-scopes.function.js +0 -12
  602. package/dist/src/functions/scope-set-role-scopes.function.js.map +0 -1
  603. package/dist/src/lib/resolve-audit-users.d.ts +0 -37
  604. package/dist/src/lib/resolve-audit-users.d.ts.map +0 -1
  605. package/dist/src/lib/resolve-audit-users.js +0 -56
  606. package/dist/src/lib/resolve-audit-users.js.map +0 -1
  607. package/dist/src/lib/resolve-audit-users.test.d.ts +0 -2
  608. package/dist/src/lib/resolve-audit-users.test.d.ts.map +0 -1
  609. package/dist/src/lib/resolve-audit-users.test.js +0 -91
  610. package/dist/src/lib/resolve-audit-users.test.js.map +0 -1
  611. package/dist/src/services/code-edit.service.d.ts +0 -57
  612. package/dist/src/services/code-edit.service.d.ts.map +0 -1
  613. package/dist/src/services/code-edit.service.js +0 -312
  614. package/dist/src/services/code-edit.service.js.map +0 -1
  615. package/dist/src/services/code-edit.service.test.d.ts +0 -2
  616. package/dist/src/services/code-edit.service.test.d.ts.map +0 -1
  617. package/dist/src/services/code-edit.service.test.js +0 -375
  618. package/dist/src/services/code-edit.service.test.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export declare const empty: null;
5
5
  //# sourceMappingURL=register.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export const empty = null;
5
5
  //# sourceMappingURL=register.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as AddonMetaPage from './schemas/AddonMetaPage.schema.json' with { type: 'json' };
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "notes": { "type": "array", "items": { "$ref": "#/definitions/KnowledgeGraphNote" } }, "sections": { "type": "array", "items": { "$ref": "#/definitions/KnowledgeSection" } }, "tagCounts": { "type": "object", "additionalProperties": { "type": "number" }, "description": "Tag → how many notes carry it, for a browsable facet." }, "stats": { "type": "object", "properties": { "notes": { "type": "number" }, "sections": { "type": "number" }, "links": { "type": "number" }, "dangling": { "type": "number" } }, "required": ["notes", "sections", "links", "dangling"], "additionalProperties": false }, "findings": { "type": "array", "items": { "$ref": "#/definitions/KnowledgeFinding" }, "description": "What `pikku knowledge validate` would report, so the console shows the same verdict." }, "ok": { "type": "boolean" }, "plans": { "type": "object", "additionalProperties": { "$ref": "#/definitions/KnowledgeMilestonePlan" }, "description": "Keyed by the milestone note's path, so a note document can find its own plan." } }, "required": ["findings", "notes", "ok", "plans", "sections", "stats", "tagCounts"], "additionalProperties": false, "definitions": { "KnowledgeGraphNote": { "type": "object", "properties": { "path": { "type": "string" }, "section": { "type": "string", "description": "`''` for a note at the root of knowledge/." }, "type": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "resource": { "type": "array", "items": { "type": "string" }, "description": "The `<kind>:<id>` URIs from `resource:`, already split." }, "status": { "type": "string" }, "statusAt": { "type": "string", "description": "When `status` last changed, for a reader asking how long it has been there." }, "entities": { "type": "array", "items": { "type": "string" } }, "reserved": { "type": "string", "enum": ["index", "log"] }, "body": { "type": "string" }, "outbound": { "type": "array", "items": { "type": "string" }, "description": "Notes this one links to, as bundle-relative paths." }, "inbound": { "type": "array", "items": { "type": "string" }, "description": "Notes that link to this one." }, "dangling": { "type": "array", "items": { "type": "string" }, "description": "Link targets that resolve to no note. Legal in OKF — a note not written yet." } }, "required": ["path", "section", "title", "tags", "resource", "entities", "body", "outbound", "inbound", "dangling"], "additionalProperties": false, "description": "Declared rather than inferred, for the reason given on `KnowledgeFinding`: this shape is the body of the `getKnowledge` RPC's output, and a `z.infer<>` is not something a JSON-schema generator can walk.\n\nNote this is necessary but not sufficient for that RPC to ship an output schema — `KnowledgeBundle` reaches this type across a package boundary, and the inspector registers no type whose base is declared in another package." }, "KnowledgeSection": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "count": { "type": "number" } }, "required": ["name", "count"], "additionalProperties": false }, "KnowledgeFinding": { "type": "object", "properties": { "id": { "type": "string" }, "severity": { "type": "string", "enum": ["error", "warn", "info"] }, "message": { "type": "string" }, "path": { "type": "string" }, "fixHint": { "type": "string" } }, "required": ["id", "severity", "message", "path", "fixHint"], "additionalProperties": false, "description": "Declared, not inferred from the schema below.\n\nA finding crosses an RPC boundary as part of the `getKnowledge` payload, and a `z.infer<>` is not a type a JSON-schema generator can walk: zod's inference bottoms out in `this` types, so ts-json-schema-generator fails outright on it. An interface generates. The `satisfies` is what keeps the two from drifting — a field added to one and not the other is a compile error." }, "KnowledgeMilestonePlan": { "type": "object", "properties": { "plan": { "anyOf": [{ "$ref": "#/definitions/WirePlan" }, { "type": "null" }] }, "unavailable": { "type": ["string", "null"], "description": "Why there is no plan, for the reader to be told instead of being shown an empty one. `readPlan` already separates \"nobody wrote one\" from \"one is there and will not parse\", and those want different words in front of a person." }, "checklist": { "type": "array", "items": { "$ref": "#/definitions/PlanChecklistItem" } }, "complete": { "type": "boolean" } }, "required": ["plan", "unavailable", "checklist", "complete"], "additionalProperties": false, "description": "One milestone's technical plan, reconciled against the generated meta.\n\nThe milestone note is the ask — a title and a Gherkin block. The plan beside it is the answer: the tables, functions, roles, screens and scenarios that were promised. The checklist rides along rather than being a second call, because every row is a set-membership test against the same meta read, and a checklist fetched separately could disagree with the plan it is drawn beside." }, "WirePlan": { "type": "object", "properties": { "version": { "type": "number" }, "milestone": { "type": "string" }, "description": { "type": "string" }, "covers": { "type": "array", "items": { "$ref": "#/definitions/PlanCovers" } }, "model": { "$ref": "#/definitions/PlanSlot<PlanModelItem>" }, "functions": { "$ref": "#/definitions/PlanSlot<PlanFunctionItem>" }, "roles": { "$ref": "#/definitions/PlanSlot<PlanRoleItem>" }, "scopes": { "$ref": "#/definitions/PlanSlot<PlanNamedItem>" }, "ui": { "$ref": "#/definitions/PlanSlot<PlanUiItem>" }, "scenarios": { "type": "object", "properties": { "backend": { "$ref": "#/definitions/PlanSlot<PlanScenarioItem>" }, "browser": { "$ref": "#/definitions/PlanSlot<PlanScenarioItem>" }, "permission": { "$ref": "#/definitions/PlanSlot<PlanScenarioItem>" } }, "required": ["backend", "browser", "permission"], "additionalProperties": false } }, "required": ["version", "milestone", "description", "covers", "model", "functions", "roles", "scopes", "ui", "scenarios"], "additionalProperties": false }, "PlanCovers": { "type": "object", "properties": { "note": { "type": "string" }, "hash": { "type": "string" }, "complete": { "type": "boolean" } }, "required": ["note", "hash", "complete"], "additionalProperties": false }, "PlanSlot<PlanModelItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanModelItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanModelItem": { "type": "object", "properties": { "table": { "type": "string" }, "description": { "type": "string" }, "fields": { "type": "array", "items": { "$ref": "#/definitions/PlanModelField" } }, "relationships": { "type": "array", "items": { "$ref": "#/definitions/PlanModelRelationship" } } }, "required": ["table", "description", "fields", "relationships"], "additionalProperties": false }, "PlanModelField": { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string" }, "classification": { "type": "string", "enum": ["public", "internal", "personal", "sensitive"] } }, "required": ["name", "type", "classification"], "additionalProperties": false }, "PlanModelRelationship": { "type": "object", "properties": { "column": { "type": "string" }, "references": { "type": "string" }, "onDelete": { "type": "string", "enum": ["cascade", "restrict", "orphan"] }, "provedBy": { "type": "string" } }, "required": ["column", "references", "onDelete"], "additionalProperties": false }, "PlanSlot<PlanFunctionItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanFunctionItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanFunctionItem": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "pass": { "type": "number" }, "wire": { "anyOf": [{ "type": "object", "properties": { "transport": { "type": "string" }, "route": { "type": "string" } }, "required": ["transport"], "additionalProperties": false }, { "type": "null" }] }, "scopes": { "type": "array", "items": { "type": "string" } }, "permission": { "type": ["string", "null"] } }, "required": ["name", "description", "pass", "scopes", "permission"], "additionalProperties": false }, "PlanSlot<PlanRoleItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanRoleItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanRoleItem": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "app": { "type": "string" } }, "additionalProperties": false, "required": ["description", "name"] }, "PlanSlot<PlanNamedItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanNamedItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanNamedItem": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" } }, "required": ["name", "description"], "additionalProperties": false }, "PlanSlot<PlanUiItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanUiItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanUiItem": { "type": "object", "properties": { "route": { "type": "string" }, "description": { "type": "string" }, "pass": { "type": "number" }, "app": { "type": "string" }, "scenarios": { "type": "array", "items": { "type": "string" } } }, "required": ["route", "description", "pass", "scenarios"], "additionalProperties": false }, "PlanSlot<PlanScenarioItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanScenarioItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanScenarioItem": { "type": "object", "properties": { "feature": { "type": "string" }, "scenario": { "type": "string" }, "fn": { "type": "string" }, "name": { "type": "string" } }, "required": ["feature", "scenario"], "additionalProperties": false }, "PlanChecklistItem": { "type": "object", "properties": { "id": { "type": "string", "description": "Stable across turns so the console can keep row identity as items land." }, "label": { "type": "string", "description": "What the plan called it — the description a reader recognises, not the symbol." }, "kind": { "type": "string", "enum": ["function", "wire", "scope", "scenario"] }, "done": { "type": "boolean" }, "deferred": { "type": "boolean", "description": "Promised by a later pass, so `fabric build-complete` never asks for it.\n\nSet by `planShortfall`, which is the only caller that can see every pass at once — `planProgress` works one pass at a time and leaves it false." } }, "required": ["id", "label", "kind", "done", "deferred"], "additionalProperties": false, "description": "One row of the build checklist the console renders.\n\n`done` is a set-membership test against codegen's meta, never a status anything types. That is the whole reason this replaced the agent's own todo list: a task the agent marks `completed` says only that it claimed to finish, and run 10 is the case against it — refused with four of six tasks unfinished, all four flipped to `completed` nine seconds later with nothing built." } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "notes": { "type": "array", "items": { "$ref": "#/definitions/KnowledgeGraphNote" } }, "sections": { "type": "array", "items": { "$ref": "#/definitions/KnowledgeSection" } }, "tagCounts": { "type": "object", "additionalProperties": { "type": "number" }, "description": "Tag → how many notes carry it, for a browsable facet." }, "stats": { "type": "object", "properties": { "notes": { "type": "number" }, "sections": { "type": "number" }, "links": { "type": "number" }, "dangling": { "type": "number" } }, "required": ["notes", "sections", "links", "dangling"], "additionalProperties": false }, "findings": { "type": "array", "items": { "$ref": "#/definitions/KnowledgeFinding" }, "description": "What `pikku knowledge validate` would report, so the console shows the same verdict." }, "ok": { "type": "boolean" }, "plans": { "type": "object", "additionalProperties": { "$ref": "#/definitions/KnowledgeMilestonePlan" }, "description": "Keyed by the milestone note's path, so a note document can find its own plan." } }, "required": ["findings", "notes", "ok", "plans", "sections", "stats", "tagCounts"], "additionalProperties": false, "definitions": { "KnowledgeGraphNote": { "type": "object", "properties": { "path": { "type": "string" }, "section": { "type": "string", "description": "`''` for a note at the root of knowledge/." }, "type": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "resource": { "type": "array", "items": { "type": "string" }, "description": "The `<kind>:<id>` URIs from `resource:`, already split." }, "status": { "type": "string" }, "statusAt": { "type": "string", "description": "When `status` last changed, for a reader asking how long it has been there." }, "entities": { "type": "array", "items": { "type": "string" } }, "reserved": { "type": "string", "enum": ["index", "log"] }, "body": { "type": "string" }, "outbound": { "type": "array", "items": { "type": "string" }, "description": "Notes this one links to, as bundle-relative paths." }, "inbound": { "type": "array", "items": { "type": "string" }, "description": "Notes that link to this one." }, "dangling": { "type": "array", "items": { "type": "string" }, "description": "Link targets that resolve to no note. Legal in OKF — a note not written yet." } }, "required": ["path", "section", "title", "tags", "resource", "entities", "body", "outbound", "inbound", "dangling"], "additionalProperties": false, "description": "Declared rather than inferred, for the reason given on `KnowledgeFinding`: this shape is the body of the `getKnowledge` RPC's output, and a `z.infer<>` is not something a JSON-schema generator can walk.\n\nNote this is necessary but not sufficient for that RPC to ship an output schema — `KnowledgeBundle` reaches this type across a package boundary, and the inspector registers no type whose base is declared in another package." }, "KnowledgeSection": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "count": { "type": "number" } }, "required": ["name", "count"], "additionalProperties": false }, "KnowledgeFinding": { "type": "object", "properties": { "id": { "type": "string" }, "severity": { "type": "string", "enum": ["error", "warn", "info"] }, "message": { "type": "string" }, "path": { "type": "string" }, "fixHint": { "type": "string" } }, "required": ["id", "severity", "message", "path", "fixHint"], "additionalProperties": false, "description": "Declared, not inferred from the schema below.\n\nA finding crosses an RPC boundary as part of the `getKnowledge` payload, and a `z.infer<>` is not a type a JSON-schema generator can walk: zod's inference bottoms out in `this` types, so ts-json-schema-generator fails outright on it. An interface generates. The `satisfies` is what keeps the two from drifting — a field added to one and not the other is a compile error." }, "KnowledgeMilestonePlan": { "type": "object", "properties": { "plan": { "anyOf": [{ "$ref": "#/definitions/WirePlan" }, { "type": "null" }] }, "unavailable": { "type": ["string", "null"], "description": "Why there is no plan, for the reader to be told instead of being shown an empty one. `readPlan` already separates \"nobody wrote one\" from \"one is there and will not parse\", and those want different words in front of a person." }, "checklist": { "type": "array", "items": { "$ref": "#/definitions/PlanChecklistItem" } }, "complete": { "type": "boolean" } }, "required": ["plan", "unavailable", "checklist", "complete"], "additionalProperties": false, "description": "One milestone's technical plan, reconciled against the generated meta.\n\nThe milestone note is the ask — a title and a Gherkin block. The plan beside it is the answer: the tables, functions, roles, screens and scenarios that were promised. The checklist rides along rather than being a second call, because every row is a set-membership test against the same meta read, and a checklist fetched separately could disagree with the plan it is drawn beside." }, "WirePlan": { "type": "object", "properties": { "version": { "type": "number" }, "milestone": { "type": "string" }, "description": { "type": "string" }, "covers": { "type": "array", "items": { "$ref": "#/definitions/PlanCovers" } }, "model": { "$ref": "#/definitions/PlanSlot<PlanModelItem>" }, "functions": { "$ref": "#/definitions/PlanSlot<PlanFunctionItem>" }, "roles": { "$ref": "#/definitions/PlanSlot<PlanRoleItem>" }, "scopes": { "$ref": "#/definitions/PlanSlot<PlanNamedItem>" }, "ui": { "$ref": "#/definitions/PlanSlot<PlanUiItem>" }, "scenarios": { "type": "object", "properties": { "backend": { "$ref": "#/definitions/PlanSlot<PlanScenarioItem>" }, "browser": { "$ref": "#/definitions/PlanSlot<PlanScenarioItem>" }, "permission": { "$ref": "#/definitions/PlanSlot<PlanScenarioItem>" } }, "required": ["backend", "browser", "permission"], "additionalProperties": false } }, "required": ["version", "milestone", "description", "covers", "model", "functions", "roles", "scopes", "ui", "scenarios"], "additionalProperties": false }, "PlanCovers": { "type": "object", "properties": { "note": { "type": "string" }, "hash": { "type": "string" }, "complete": { "type": "boolean" } }, "required": ["note", "hash", "complete"], "additionalProperties": false }, "PlanSlot<PlanModelItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanModelItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanModelItem": { "type": "object", "properties": { "table": { "type": "string" }, "description": { "type": "string" }, "fields": { "type": "array", "items": { "$ref": "#/definitions/PlanModelField" } }, "relationships": { "type": "array", "items": { "$ref": "#/definitions/PlanModelRelationship" } } }, "required": ["table", "description", "fields", "relationships"], "additionalProperties": false }, "PlanModelField": { "type": "object", "properties": { "name": { "type": "string" }, "type": { "type": "string" }, "classification": { "type": "string", "enum": ["public", "internal", "personal", "sensitive"] } }, "required": ["name", "type", "classification"], "additionalProperties": false }, "PlanModelRelationship": { "type": "object", "properties": { "column": { "type": "string" }, "references": { "type": "string" }, "onDelete": { "type": "string", "enum": ["cascade", "restrict", "orphan"] }, "provedBy": { "type": "string" } }, "required": ["column", "references", "onDelete"], "additionalProperties": false }, "PlanSlot<PlanFunctionItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanFunctionItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanFunctionItem": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "pass": { "type": "number" }, "wire": { "anyOf": [{ "type": "object", "properties": { "transport": { "type": "string" }, "route": { "type": "string" } }, "required": ["transport"], "additionalProperties": false }, { "type": "null" }] }, "scopes": { "type": "array", "items": { "type": "string" } }, "permission": { "type": ["string", "null"] } }, "required": ["name", "description", "pass", "scopes", "permission"], "additionalProperties": false }, "PlanSlot<PlanRoleItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanRoleItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanRoleItem": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "app": { "type": "string" } }, "additionalProperties": false, "required": ["description", "name"] }, "PlanSlot<PlanNamedItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanNamedItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanNamedItem": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" } }, "required": ["name", "description"], "additionalProperties": false }, "PlanSlot<PlanUiItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanUiItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanUiItem": { "type": "object", "properties": { "route": { "type": "string" }, "description": { "type": "string" }, "pass": { "type": "number" }, "app": { "type": "string" }, "scenarios": { "type": "array", "items": { "type": "string" } } }, "required": ["route", "description", "pass", "scenarios"], "additionalProperties": false }, "PlanSlot<PlanScenarioItem>": { "anyOf": [{ "type": "object", "properties": { "kind": { "type": "string", "const": "built" }, "description": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/PlanScenarioItem" } } }, "required": ["kind", "description", "items"], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "const": "n/a" }, "description": { "type": "string" } }, "required": ["kind", "description"], "additionalProperties": false }], "description": "The plan as it goes over the wire.\n\nStructurally the same as `Plan` in" }, "PlanScenarioItem": { "type": "object", "properties": { "feature": { "type": "string" }, "scenario": { "type": "string" }, "fn": { "type": "string" }, "name": { "type": "string" } }, "required": ["feature", "scenario"], "additionalProperties": false }, "PlanChecklistItem": { "type": "object", "properties": { "id": { "type": "string", "description": "Stable across turns so the console can keep row identity as items land." }, "label": { "type": "string", "description": "What the plan called it — the description a reader recognises, not the symbol." }, "kind": { "type": "string", "enum": ["function", "wire", "scope", "scenario"] }, "done": { "type": "boolean" }, "deferred": { "type": "boolean", "description": "Promised by a later pass, so the closing gate never asks for it.\n\nSet by `planShortfall`, which is the only caller that can see every pass at once — `planProgress` works one pass at a time and leaves it false." } }, "required": ["id", "label", "kind", "done", "deferred"], "additionalProperties": false, "description": "One row of the build checklist the console renders.\n\n`done` is a set-membership test against codegen's meta, never a status anything types. That is the whole reason this replaced the agent's own todo list: a task the agent marks `completed` says only that it claimed to finish, and run 10 is the case against it — refused with four of six tasks unfinished, all four flipped to `completed` nine seconds later with nothing built." } } }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/secrets` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/secrets` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
5
5
  //# sourceMappingURL=pikku-secret-types.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
5
5
  //# sourceMappingURL=pikku-secret-types.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/setup` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/setup` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Addon package types for pikkuAddonConfig and pikkuAddonServices
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Addon package types for pikkuAddonConfig and pikkuAddonServices
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Config and service factory definitions, declared once per application
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Config and service factory definitions, declared once per application
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/trigger` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/trigger` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/variables` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/variables` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
5
5
  //# sourceMappingURL=pikku-variable-types.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  export { defineVariable } from '@pikku/core/variable';
5
5
  //# sourceMappingURL=pikku-variable-types.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService, } from '@pikku/core/services';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/workflow` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/workflow` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Scenario step map: the names `scenario.given/when/then` accepts, with
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  /**
5
5
  * Workflow type map with input/output types for each workflow
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { WorkflowCancelledException } from '@pikku/core/workflow';
5
5
  import { pikkuWorkflowGraph as corePikkuWorkflowGraph } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.133
2
+ * This file was generated by @pikku/cli@0.12.136
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  const workflowsMeta = {};
@@ -1,5 +1,5 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.133
3
+ * This file was generated by @pikku/cli@0.12.136
4
4
  */
5
5
  //# sourceMappingURL=pikku-workflow-wirings.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export {};
2
2
  /**
3
- * This file was generated by @pikku/cli@0.12.133
3
+ * This file was generated by @pikku/cli@0.12.136
4
4
  */
5
5
  //# sourceMappingURL=pikku-workflow-wirings.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"secret-get.function.d.ts","sourceRoot":"","sources":["../../../src/functions/secret-get.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;cACR,MAAM;;YACR,OAAO;WAAS,OAAO;;cADrB,MAAM;;YACR,OAAO;WAAS,OAAO;;cADrB,MAAM;;YACR,OAAO;WAAS,OAAO;oGAQjC,CAAA"}
1
+ {"version":3,"file":"secret-get.function.d.ts","sourceRoot":"","sources":["../../../src/functions/secret-get.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;cACR,MAAM;;YACR,OAAO;WAAS,OAAO;;cADrB,MAAM;;YACR,OAAO;WAAS,OAAO;;cADrB,MAAM;;YACR,OAAO;WAAS,OAAO;oGASjC,CAAA"}
@@ -3,6 +3,7 @@ export const secretGet = pikkuFunc({
3
3
  title: 'Get Secret',
4
4
  description: 'Gets the current value of a secret.',
5
5
  expose: true,
6
+ scopes: ['pikku:console:secrets:read'],
6
7
  func: async ({ secretAdminService }, { secretId }) => {
7
8
  return secretAdminService.read(secretId);
8
9
  },
@@ -1 +1 @@
1
- {"version":3,"file":"secret-get.function.js","sourceRoot":"","sources":["../../../src/functions/secret-get.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAGhC;IACA,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,qCAAqC;IAClD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;QACnD,OAAO,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC1C,CAAC;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"secret-get.function.js","sourceRoot":"","sources":["../../../src/functions/secret-get.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAGhC;IACA,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,qCAAqC;IAClD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,4BAA4B,CAAC;IACtC,IAAI,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;QACnD,OAAO,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC1C,CAAC;CACF,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"secret-has.function.d.ts","sourceRoot":"","sources":["../../../src/functions/secret-has.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;cAAyB,MAAM;;YAAc,OAAO;;cAA3B,MAAM;;YAAc,OAAO;;cAA3B,MAAM;;YAAc,OAAO;oGAQxE,CAAA"}
1
+ {"version":3,"file":"secret-has.function.d.ts","sourceRoot":"","sources":["../../../src/functions/secret-has.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;cAAyB,MAAM;;YAAc,OAAO;;cAA3B,MAAM;;YAAc,OAAO;;cAA3B,MAAM;;YAAc,OAAO;oGASxE,CAAA"}
@@ -3,6 +3,7 @@ export const secretHas = pikkuFunc({
3
3
  title: 'Has Secret',
4
4
  description: 'Checks whether a secret exists without reading its value.',
5
5
  expose: true,
6
+ scopes: ['pikku:console:secrets:read'],
6
7
  func: async ({ secretAdminService }, { secretId }) => {
7
8
  const exists = await secretAdminService.has(secretId);
8
9
  return { exists };
@@ -1 +1 @@
1
- {"version":3,"file":"secret-has.function.js","sourceRoot":"","sources":["../../../src/functions/secret-has.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAA4C;IAC5E,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,2DAA2D;IACxE,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;QACnD,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;QACrD,OAAO,EAAE,MAAM,EAAE,CAAA;IACnB,CAAC;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"secret-has.function.js","sourceRoot":"","sources":["../../../src/functions/secret-has.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAA4C;IAC5E,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,2DAA2D;IACxE,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,4BAA4B,CAAC;IACtC,IAAI,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;QACnD,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;QACrD,OAAO,EAAE,MAAM,EAAE,CAAA;IACnB,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=secret-scopes.function.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret-scopes.function.test.d.ts","sourceRoot":"","sources":["../../../src/functions/secret-scopes.function.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,60 @@
1
+ import assert from 'node:assert/strict';
2
+ import { test } from 'node:test';
3
+ import { MissingScopeError } from '#pikku/addon/error';
4
+ import { verifyScopes } from '@pikku/core/scope';
5
+ import { secretGet } from './secret-get.function.js';
6
+ import { secretHas } from './secret-has.function.js';
7
+ import { secretSet } from './secret-set.function.js';
8
+ const readers = [
9
+ ['secretGet', secretGet],
10
+ ['secretHas', secretHas],
11
+ ];
12
+ for (const [name, reader] of readers) {
13
+ test(`${name} refuses a caller with no session`, () => {
14
+ assert.throws(() => verifyScopes(reader.scopes, undefined), MissingScopeError);
15
+ });
16
+ test(`${name} refuses a console user without the secrets scope`, () => {
17
+ assert.throws(() => verifyScopes(reader.scopes, {
18
+ userId: 'alice',
19
+ scopes: ['pikku:console:wirings:read'],
20
+ }), MissingScopeError);
21
+ });
22
+ test(`${name} admits a holder of the secrets read scope`, () => {
23
+ assert.doesNotThrow(() => verifyScopes(reader.scopes, {
24
+ userId: 'root',
25
+ scopes: ['pikku:console:secrets:read'],
26
+ }));
27
+ });
28
+ test(`${name} admits a holder of the console root`, () => {
29
+ assert.doesNotThrow(() => verifyScopes(reader.scopes, { userId: 'root', scopes: ['pikku:console'] }));
30
+ });
31
+ }
32
+ test('secretSet refuses a caller with no session', () => {
33
+ assert.throws(() => verifyScopes(secretSet.scopes, undefined), MissingScopeError);
34
+ });
35
+ test('secretSet refuses a console user without the secrets scope', () => {
36
+ assert.throws(() => verifyScopes(secretSet.scopes, {
37
+ userId: 'alice',
38
+ scopes: ['pikku:console:wirings:read'],
39
+ }), MissingScopeError);
40
+ });
41
+ // Reading a secret and overwriting one are separate grants.
42
+ test('secretSet refuses a holder of only the secrets read scope', () => {
43
+ assert.throws(() => verifyScopes(secretSet.scopes, {
44
+ userId: 'alice',
45
+ scopes: ['pikku:console:secrets:read'],
46
+ }), MissingScopeError);
47
+ });
48
+ test('secretSet admits a holder of the secrets write scope', () => {
49
+ assert.doesNotThrow(() => verifyScopes(secretSet.scopes, {
50
+ userId: 'root',
51
+ scopes: ['pikku:console:secrets:write'],
52
+ }));
53
+ });
54
+ test('secretSet admits a holder of the console root', () => {
55
+ assert.doesNotThrow(() => verifyScopes(secretSet.scopes, {
56
+ userId: 'root',
57
+ scopes: ['pikku:console'],
58
+ }));
59
+ });
60
+ //# sourceMappingURL=secret-scopes.function.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret-scopes.function.test.js","sourceRoot":"","sources":["../../../src/functions/secret-scopes.function.test.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEpD,MAAM,OAAO,GAAG;IACd,CAAC,WAAW,EAAE,SAAS,CAAC;IACxB,CAAC,WAAW,EAAE,SAAS,CAAC;CAChB,CAAA;AAEV,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC;IACrC,IAAI,CAAC,GAAG,IAAI,mCAAmC,EAAE,GAAG,EAAE;QACpD,MAAM,CAAC,MAAM,CACX,GAAG,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,EAC5C,iBAAiB,CAClB,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,GAAG,IAAI,mDAAmD,EAAE,GAAG,EAAE;QACpE,MAAM,CAAC,MAAM,CACX,GAAG,EAAE,CACH,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE;YAC1B,MAAM,EAAE,OAAO;YACf,MAAM,EAAE,CAAC,4BAA4B,CAAC;SACvC,CAAC,EACJ,iBAAiB,CAClB,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,GAAG,IAAI,4CAA4C,EAAE,GAAG,EAAE;QAC7D,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,CACvB,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE;YAC1B,MAAM,EAAE,MAAM;YACd,MAAM,EAAE,CAAC,4BAA4B,CAAC;SACvC,CAAC,CACH,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,GAAG,IAAI,sCAAsC,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,CACvB,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAC3E,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,IAAI,CAAC,4CAA4C,EAAE,GAAG,EAAE;IACtD,MAAM,CAAC,MAAM,CACX,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,EAC/C,iBAAiB,CAClB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,4DAA4D,EAAE,GAAG,EAAE;IACtE,MAAM,CAAC,MAAM,CACX,GAAG,EAAE,CACH,YAAY,CAAC,SAAS,CAAC,MAAM,EAAE;QAC7B,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,CAAC,4BAA4B,CAAC;KACvC,CAAC,EACJ,iBAAiB,CAClB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,4DAA4D;AAC5D,IAAI,CAAC,2DAA2D,EAAE,GAAG,EAAE;IACrE,MAAM,CAAC,MAAM,CACX,GAAG,EAAE,CACH,YAAY,CAAC,SAAS,CAAC,MAAM,EAAE;QAC7B,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,CAAC,4BAA4B,CAAC;KACvC,CAAC,EACJ,iBAAiB,CAClB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,sDAAsD,EAAE,GAAG,EAAE;IAChE,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,CACvB,YAAY,CAAC,SAAS,CAAC,MAAM,EAAE;QAC7B,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,6BAA6B,CAAC;KACxC,CAAC,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,+CAA+C,EAAE,GAAG,EAAE;IACzD,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,CACvB,YAAY,CAAC,SAAS,CAAC,MAAM,EAAE;QAC7B,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,eAAe,CAAC;KAC1B,CAAC,CACH,CAAA;AACH,CAAC,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"secret-set.function.d.ts","sourceRoot":"","sources":["../../../src/functions/secret-set.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;cACR,MAAM;WAAS,OAAO;;aACvB,OAAO;;cADN,MAAM;WAAS,OAAO;;aACvB,OAAO;;cADN,MAAM;WAAS,OAAO;;aACvB,OAAO;oGASlB,CAAA"}
1
+ {"version":3,"file":"secret-set.function.d.ts","sourceRoot":"","sources":["../../../src/functions/secret-set.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;cACR,MAAM;WAAS,OAAO;;aACvB,OAAO;;cADN,MAAM;WAAS,OAAO;;aACvB,OAAO;;cADN,MAAM;WAAS,OAAO;;aACvB,OAAO;oGAUlB,CAAA"}
@@ -3,6 +3,7 @@ export const secretSet = pikkuFunc({
3
3
  title: 'Set Secret',
4
4
  description: 'Sets the value of a secret.',
5
5
  expose: true,
6
+ scopes: ['pikku:console:secrets:write'],
6
7
  func: async ({ secretAdminService }, { secretId, value }) => {
7
8
  await secretAdminService.write(secretId, value);
8
9
  return { success: true };
@@ -1 +1 @@
1
- {"version":3,"file":"secret-set.function.js","sourceRoot":"","sources":["../../../src/functions/secret-set.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAGhC;IACA,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE;QAC1D,MAAM,kBAAkB,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;QAC/C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;IAC1B,CAAC;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"secret-set.function.js","sourceRoot":"","sources":["../../../src/functions/secret-set.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAGhC;IACA,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,6BAA6B,CAAC;IACvC,IAAI,EAAE,KAAK,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE;QAC1D,MAAM,kBAAkB,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;QAC/C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;IAC1B,CAAC;CACF,CAAC,CAAA"}