@pikku/addon-console 0.12.2 → 0.12.3

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 (293) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +65 -0
  2. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
  3. package/dist/.pikku/addon/pikku-addon-types.gen.js +74 -0
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
  5. package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
  6. package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
  7. package/dist/.pikku/addon/pikku-package.gen.js +9 -0
  8. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
  9. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
  10. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
  11. package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
  12. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
  13. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +2 -0
  14. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts.map +1 -0
  15. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +7 -0
  16. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js.map +1 -0
  17. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +3 -0
  18. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +5 -0
  19. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts.map +1 -0
  20. package/dist/.pikku/agent/pikku-agent-wirings.gen.js +5 -0
  21. package/dist/.pikku/agent/pikku-agent-wirings.gen.js.map +1 -0
  22. package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
  23. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
  24. package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
  25. package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
  26. package/dist/.pikku/function/pikku-function-types.gen.d.ts +506 -0
  27. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
  28. package/dist/.pikku/function/pikku-function-types.gen.js +314 -0
  29. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
  30. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
  31. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
  32. package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
  33. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
  34. package/dist/.pikku/function/pikku-functions-meta.gen.json +538 -0
  35. package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
  36. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
  37. package/dist/.pikku/function/pikku-functions.gen.js +64 -0
  38. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  39. package/dist/.pikku/pikku-bootstrap.gen.d.ts +8 -0
  40. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
  41. package/dist/.pikku/pikku-bootstrap.gen.js +18 -0
  42. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
  43. package/dist/.pikku/pikku-services.gen.d.ts +32 -0
  44. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
  45. package/dist/.pikku/pikku-services.gen.js +27 -0
  46. package/dist/.pikku/pikku-services.gen.js.map +1 -0
  47. package/dist/.pikku/pikku-types.gen.d.ts +12 -0
  48. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
  49. package/dist/.pikku/pikku-types.gen.js +17 -0
  50. package/dist/.pikku/pikku-types.gen.js.map +1 -0
  51. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  52. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  53. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  54. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  55. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +31 -0
  56. package/dist/.pikku/schemas/register.gen.d.ts +2 -0
  57. package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
  58. package/dist/.pikku/schemas/register.gen.js +103 -0
  59. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  60. package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -0
  61. package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -0
  62. package/dist/.pikku/schemas/schemas/ChannelSnippets.schema.json +1 -0
  63. package/dist/.pikku/schemas/schemas/DeleteAgentThreadInput.schema.json +1 -0
  64. package/dist/.pikku/schemas/schemas/DeleteAgentThreadOutput.schema.json +1 -0
  65. package/dist/.pikku/schemas/schemas/DeleteWorkflowRunInput.schema.json +1 -0
  66. package/dist/.pikku/schemas/schemas/DeleteWorkflowRunOutput.schema.json +1 -0
  67. package/dist/.pikku/schemas/schemas/GetAIWorkflowsInput.schema.json +1 -0
  68. package/dist/.pikku/schemas/schemas/GetAIWorkflowsOutput.schema.json +1 -0
  69. package/dist/.pikku/schemas/schemas/GetAddonCommunityPackageInput.schema.json +1 -0
  70. package/dist/.pikku/schemas/schemas/GetAddonIconInput.schema.json +1 -0
  71. package/dist/.pikku/schemas/schemas/GetAddonInstalledPackageInput.schema.json +1 -0
  72. package/dist/.pikku/schemas/schemas/GetAddonMetaOutput.schema.json +1 -0
  73. package/dist/.pikku/schemas/schemas/GetAgentThreadMessagesInput.schema.json +1 -0
  74. package/dist/.pikku/schemas/schemas/GetAgentThreadMessagesOutput.schema.json +1 -0
  75. package/dist/.pikku/schemas/schemas/GetAgentThreadRunsInput.schema.json +1 -0
  76. package/dist/.pikku/schemas/schemas/GetAgentThreadRunsOutput.schema.json +1 -0
  77. package/dist/.pikku/schemas/schemas/GetAgentThreadsInput.schema.json +1 -0
  78. package/dist/.pikku/schemas/schemas/GetAgentThreadsOutput.schema.json +1 -0
  79. package/dist/.pikku/schemas/schemas/GetChannelSnippetsInput.schema.json +1 -0
  80. package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -0
  81. package/dist/.pikku/schemas/schemas/GetInstalledAddonsOutput.schema.json +1 -0
  82. package/dist/.pikku/schemas/schemas/GetSchemaInput.schema.json +1 -0
  83. package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdInput.schema.json +1 -0
  84. package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -0
  85. package/dist/.pikku/schemas/schemas/GetWorkflowRunHistoryInput.schema.json +1 -0
  86. package/dist/.pikku/schemas/schemas/GetWorkflowRunHistoryOutput.schema.json +1 -0
  87. package/dist/.pikku/schemas/schemas/GetWorkflowRunInput.schema.json +1 -0
  88. package/dist/.pikku/schemas/schemas/GetWorkflowRunNamesOutput.schema.json +1 -0
  89. package/dist/.pikku/schemas/schemas/GetWorkflowRunOutput.schema.json +1 -0
  90. package/dist/.pikku/schemas/schemas/GetWorkflowRunStepsInput.schema.json +1 -0
  91. package/dist/.pikku/schemas/schemas/GetWorkflowRunStepsOutput.schema.json +1 -0
  92. package/dist/.pikku/schemas/schemas/GetWorkflowRunsInput.schema.json +1 -0
  93. package/dist/.pikku/schemas/schemas/GetWorkflowRunsOutput.schema.json +1 -0
  94. package/dist/.pikku/schemas/schemas/GetWorkflowVersionInput.schema.json +1 -0
  95. package/dist/.pikku/schemas/schemas/GetWorkflowVersionOutput.schema.json +1 -0
  96. package/dist/.pikku/schemas/schemas/JSONSchema7.schema.json +1 -0
  97. package/dist/.pikku/schemas/schemas/OauthConnectInput.schema.json +1 -0
  98. package/dist/.pikku/schemas/schemas/OauthConnectOutput.schema.json +1 -0
  99. package/dist/.pikku/schemas/schemas/OauthDisconnectInput.schema.json +1 -0
  100. package/dist/.pikku/schemas/schemas/OauthExchangeTokensInput.schema.json +1 -0
  101. package/dist/.pikku/schemas/schemas/OauthExchangeTokensOutput.schema.json +1 -0
  102. package/dist/.pikku/schemas/schemas/OauthRefreshTokenInput.schema.json +1 -0
  103. package/dist/.pikku/schemas/schemas/OauthRefreshTokenOutput.schema.json +1 -0
  104. package/dist/.pikku/schemas/schemas/OauthStatusInput.schema.json +1 -0
  105. package/dist/.pikku/schemas/schemas/OauthStatusOutput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/OauthTestTokenInput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/OauthTestTokenOutput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/StreamWorkflowRunInput.schema.json +1 -0
  109. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  110. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  111. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  112. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  113. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
  114. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  115. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
  116. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  117. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  118. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  119. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  120. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  121. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  122. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  123. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  124. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  125. package/dist/.pikku/variables/pikku-variables.gen.d.ts +12 -0
  126. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  127. package/dist/.pikku/variables/pikku-variables.gen.js +11 -0
  128. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  129. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +81 -0
  130. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  131. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +31 -0
  132. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  133. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  134. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  135. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  136. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  137. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  138. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  139. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  140. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  141. package/dist/src/functions/delete-agent-thread.function.d.ts +14 -0
  142. package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -0
  143. package/dist/src/functions/delete-agent-thread.function.js +14 -0
  144. package/dist/src/functions/delete-agent-thread.function.js.map +1 -0
  145. package/dist/src/functions/delete-workflow-run.function.d.ts +14 -0
  146. package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -0
  147. package/dist/src/functions/delete-workflow-run.function.js +14 -0
  148. package/dist/src/functions/delete-workflow-run.function.js.map +1 -0
  149. package/dist/src/functions/get-addon-icon.function.d.ts +8 -0
  150. package/dist/src/functions/get-addon-icon.function.d.ts.map +1 -0
  151. package/dist/src/functions/get-addon-icon.function.js +12 -0
  152. package/dist/src/functions/get-addon-icon.function.js.map +1 -0
  153. package/dist/src/functions/get-addon-meta.function.d.ts +2 -0
  154. package/dist/src/functions/get-addon-meta.function.d.ts.map +1 -0
  155. package/dist/src/functions/get-addon-meta.function.js +11 -0
  156. package/dist/src/functions/get-addon-meta.function.js.map +1 -0
  157. package/dist/src/functions/get-addon-package.function.d.ts +9 -0
  158. package/dist/src/functions/get-addon-package.function.d.ts.map +1 -0
  159. package/dist/src/functions/get-addon-package.function.js +11 -0
  160. package/dist/src/functions/get-addon-package.function.js.map +1 -0
  161. package/dist/src/functions/get-agent-thread-messages.function.d.ts +8 -0
  162. package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -0
  163. package/dist/src/functions/get-agent-thread-messages.function.js +13 -0
  164. package/dist/src/functions/get-agent-thread-messages.function.js.map +1 -0
  165. package/dist/src/functions/get-agent-thread-runs.function.d.ts +8 -0
  166. package/dist/src/functions/get-agent-thread-runs.function.d.ts.map +1 -0
  167. package/dist/src/functions/get-agent-thread-runs.function.js +13 -0
  168. package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -0
  169. package/dist/src/functions/get-agent-threads.function.d.ts +14 -0
  170. package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -0
  171. package/dist/src/functions/get-agent-threads.function.js +17 -0
  172. package/dist/src/functions/get-agent-threads.function.js.map +1 -0
  173. package/dist/src/functions/get-ai-workflows.function.d.ts +20 -0
  174. package/dist/src/functions/get-ai-workflows.function.d.ts.map +1 -0
  175. package/dist/src/functions/get-ai-workflows.function.js +13 -0
  176. package/dist/src/functions/get-ai-workflows.function.js.map +1 -0
  177. package/dist/src/functions/get-all-meta.function.d.ts +3 -0
  178. package/dist/src/functions/get-all-meta.function.d.ts.map +1 -0
  179. package/dist/src/functions/get-all-meta.function.js +11 -0
  180. package/dist/src/functions/get-all-meta.function.js.map +1 -0
  181. package/dist/src/functions/get-channel-snippets.function.d.ts +9 -0
  182. package/dist/src/functions/get-channel-snippets.function.d.ts.map +1 -0
  183. package/dist/src/functions/get-channel-snippets.function.js +15 -0
  184. package/dist/src/functions/get-channel-snippets.function.js.map +1 -0
  185. package/dist/src/functions/get-functions-meta.function.d.ts +3 -0
  186. package/dist/src/functions/get-functions-meta.function.d.ts.map +1 -0
  187. package/dist/src/functions/get-functions-meta.function.js +12 -0
  188. package/dist/src/functions/get-functions-meta.function.js.map +1 -0
  189. package/dist/src/functions/get-installed-addons.function.d.ts +10 -0
  190. package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -0
  191. package/dist/src/functions/get-installed-addons.function.js +41 -0
  192. package/dist/src/functions/get-installed-addons.function.js.map +1 -0
  193. package/dist/src/functions/get-installed-package.function.d.ts +9 -0
  194. package/dist/src/functions/get-installed-package.function.d.ts.map +1 -0
  195. package/dist/src/functions/get-installed-package.function.js +103 -0
  196. package/dist/src/functions/get-installed-package.function.js.map +1 -0
  197. package/dist/src/functions/get-schema.function.d.ts +9 -0
  198. package/dist/src/functions/get-schema.function.d.ts.map +1 -0
  199. package/dist/src/functions/get-schema.function.js +11 -0
  200. package/dist/src/functions/get-schema.function.js.map +1 -0
  201. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts +23 -0
  202. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts.map +1 -0
  203. package/dist/src/functions/get-workflow-meta-by-id.function.js +30 -0
  204. package/dist/src/functions/get-workflow-meta-by-id.function.js.map +1 -0
  205. package/dist/src/functions/get-workflow-run-history.function.d.ts +8 -0
  206. package/dist/src/functions/get-workflow-run-history.function.d.ts.map +1 -0
  207. package/dist/src/functions/get-workflow-run-history.function.js +13 -0
  208. package/dist/src/functions/get-workflow-run-history.function.js.map +1 -0
  209. package/dist/src/functions/get-workflow-run-names.function.d.ts +2 -0
  210. package/dist/src/functions/get-workflow-run-names.function.d.ts.map +1 -0
  211. package/dist/src/functions/get-workflow-run-names.function.js +13 -0
  212. package/dist/src/functions/get-workflow-run-names.function.js.map +1 -0
  213. package/dist/src/functions/get-workflow-run-steps.function.d.ts +8 -0
  214. package/dist/src/functions/get-workflow-run-steps.function.d.ts.map +1 -0
  215. package/dist/src/functions/get-workflow-run-steps.function.js +13 -0
  216. package/dist/src/functions/get-workflow-run-steps.function.js.map +1 -0
  217. package/dist/src/functions/get-workflow-run.function.d.ts +8 -0
  218. package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -0
  219. package/dist/src/functions/get-workflow-run.function.js +17 -0
  220. package/dist/src/functions/get-workflow-run.function.js.map +1 -0
  221. package/dist/src/functions/get-workflow-runs.function.d.ts +17 -0
  222. package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -0
  223. package/dist/src/functions/get-workflow-runs.function.js +18 -0
  224. package/dist/src/functions/get-workflow-runs.function.js.map +1 -0
  225. package/dist/src/functions/get-workflow-version.function.d.ts +20 -0
  226. package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -0
  227. package/dist/src/functions/get-workflow-version.function.js +13 -0
  228. package/dist/src/functions/get-workflow-version.function.js.map +1 -0
  229. package/dist/src/functions/oauth-connect.function.d.ts +17 -0
  230. package/dist/src/functions/oauth-connect.function.d.ts.map +1 -0
  231. package/dist/src/functions/oauth-connect.function.js +34 -0
  232. package/dist/src/functions/oauth-connect.function.js.map +1 -0
  233. package/dist/src/functions/oauth-disconnect.function.d.ts +8 -0
  234. package/dist/src/functions/oauth-disconnect.function.d.ts.map +1 -0
  235. package/dist/src/functions/oauth-disconnect.function.js +19 -0
  236. package/dist/src/functions/oauth-disconnect.function.js.map +1 -0
  237. package/dist/src/functions/oauth-exchange-tokens.function.d.ts +17 -0
  238. package/dist/src/functions/oauth-exchange-tokens.function.d.ts.map +1 -0
  239. package/dist/src/functions/oauth-exchange-tokens.function.js +20 -0
  240. package/dist/src/functions/oauth-exchange-tokens.function.js.map +1 -0
  241. package/dist/src/functions/oauth-refresh-token.function.d.ts +17 -0
  242. package/dist/src/functions/oauth-refresh-token.function.d.ts.map +1 -0
  243. package/dist/src/functions/oauth-refresh-token.function.js +27 -0
  244. package/dist/src/functions/oauth-refresh-token.function.js.map +1 -0
  245. package/dist/src/functions/oauth-status.function.d.ts +23 -0
  246. package/dist/src/functions/oauth-status.function.d.ts.map +1 -0
  247. package/dist/src/functions/oauth-status.function.js +34 -0
  248. package/dist/src/functions/oauth-status.function.js.map +1 -0
  249. package/dist/src/functions/oauth-test-token.function.d.ts +17 -0
  250. package/dist/src/functions/oauth-test-token.function.d.ts.map +1 -0
  251. package/dist/src/functions/oauth-test-token.function.js +26 -0
  252. package/dist/src/functions/oauth-test-token.function.js.map +1 -0
  253. package/dist/src/functions/stream-workflow-run.function.d.ts +8 -0
  254. package/dist/src/functions/stream-workflow-run.function.d.ts.map +1 -0
  255. package/dist/src/functions/stream-workflow-run.function.js +49 -0
  256. package/dist/src/functions/stream-workflow-run.function.js.map +1 -0
  257. package/dist/src/index.d.ts +16 -0
  258. package/dist/src/index.d.ts.map +1 -0
  259. package/dist/src/index.js +15 -0
  260. package/dist/src/index.js.map +1 -0
  261. package/dist/src/services/addon.service.d.ts +45 -0
  262. package/dist/src/services/addon.service.d.ts.map +1 -0
  263. package/dist/src/services/addon.service.js +24 -0
  264. package/dist/src/services/addon.service.js.map +1 -0
  265. package/dist/src/services/file-watcher.service.d.ts +13 -0
  266. package/dist/src/services/file-watcher.service.d.ts.map +1 -0
  267. package/dist/src/services/file-watcher.service.js +31 -0
  268. package/dist/src/services/file-watcher.service.js.map +1 -0
  269. package/dist/src/services/oauth.service.d.ts +16 -0
  270. package/dist/src/services/oauth.service.d.ts.map +1 -0
  271. package/dist/src/services/oauth.service.js +26 -0
  272. package/dist/src/services/oauth.service.js.map +1 -0
  273. package/dist/src/services/schema.service.d.ts +10 -0
  274. package/dist/src/services/schema.service.d.ts.map +1 -0
  275. package/dist/src/services/schema.service.js +35 -0
  276. package/dist/src/services/schema.service.js.map +1 -0
  277. package/dist/src/services/wiring.service.d.ts +427 -0
  278. package/dist/src/services/wiring.service.d.ts.map +1 -0
  279. package/dist/src/services/wiring.service.js +598 -0
  280. package/dist/src/services/wiring.service.js.map +1 -0
  281. package/dist/src/services.d.ts +2 -0
  282. package/dist/src/services.d.ts.map +1 -0
  283. package/dist/src/services.js +33 -0
  284. package/dist/src/services.js.map +1 -0
  285. package/dist/src/tests/test-oauth.d.ts +2 -0
  286. package/dist/src/tests/test-oauth.d.ts.map +1 -0
  287. package/dist/src/tests/test-oauth.js +32 -0
  288. package/dist/src/tests/test-oauth.js.map +1 -0
  289. package/dist/src/tests/test-oauth2-client.d.ts +6 -0
  290. package/dist/src/tests/test-oauth2-client.d.ts.map +1 -0
  291. package/dist/src/tests/test-oauth2-client.js +131 -0
  292. package/dist/src/tests/test-oauth2-client.js.map +1 -0
  293. package/package.json +6 -7
@@ -0,0 +1 @@
1
+ {"version":3,"file":"services.js","sourceRoot":"","sources":["../../src/services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAA;AAEvE,MAAM,CAAC,MAAM,uBAAuB,GAAG,kBAAkB,CACvD,KAAK,EACH,OAAO,EACP,EACE,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,iBAAiB,GAClB,EACD,EAAE;IACF,MAAM,aAAa,GAAG,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,IAAI,EAAE,CAAA;IAClE,MAAM,WAAW,GACf,CAAC,MAAM,SAAS,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,IAAI,gCAAgC,CAAA;IAE3E,MAAM,aAAa,GAAG,IAAI,aAAa,CAAC,aAAa,CAAC,CAAA;IACtD,MAAM,aAAa,GAAG,IAAI,aAAa,CAAC,aAAa,CAAC,CAAA;IACtD,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC,WAAW,CAAC,CAAA;IAClD,MAAM,YAAY,CAAC,IAAI,EAAE,CAAA;IACzB,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAA;IACvC,MAAM,kBAAkB,GAAG,IAAI,kBAAkB,CAC/C,aAAa,EACb,aAAa,EACb,aAAa,CACd,CAAA;IACD,kBAAkB,CAAC,KAAK,EAAE,CAAA;IAE1B,OAAO;QACL,aAAa;QACb,YAAY;QACZ,aAAa;QACb,YAAY;QACZ,kBAAkB;QAClB,kBAAkB;QAClB,eAAe;QACf,SAAS;QACT,UAAU;QACV,iBAAiB;QACjB,aAAa;QACb,gBAAgB;KACjB,CAAA;AACH,CAAC,CACF,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=test-oauth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-oauth.d.ts","sourceRoot":"","sources":["../../../src/tests/test-oauth.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { OAuth2Server } from 'oauth2-mock-server';
2
+ async function main() {
3
+ console.log('Starting OAuth2 mock server...');
4
+ const server = new OAuth2Server();
5
+ // Generate RSA key for signing tokens
6
+ await server.issuer.keys.generate('RS256');
7
+ // Start server
8
+ await server.start(8080, 'localhost');
9
+ console.log('OAuth2 mock server running at:', server.issuer.url);
10
+ console.log('');
11
+ console.log('Available endpoints:');
12
+ console.log(' Authorization: http://localhost:8080/authorize');
13
+ console.log(' Token: http://localhost:8080/token');
14
+ console.log(' JWKS: http://localhost:8080/.well-known/jwks.json');
15
+ console.log('');
16
+ console.log('Mock app credentials (set as env var):');
17
+ console.log(' export MOCK_OAUTH_APP=\'{"clientId":"test-client","clientSecret":"test-secret"}\'');
18
+ console.log('');
19
+ console.log('Test commands:');
20
+ console.log(' yarn pikku oauth:status mock');
21
+ console.log(' yarn pikku oauth:connect mock');
22
+ console.log('');
23
+ console.log('Press Ctrl+C to stop the server');
24
+ // Keep server running
25
+ process.on('SIGINT', async () => {
26
+ console.log('\nStopping server...');
27
+ await server.stop();
28
+ process.exit(0);
29
+ });
30
+ }
31
+ main().catch(console.error);
32
+ //# sourceMappingURL=test-oauth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-oauth.js","sourceRoot":"","sources":["../../../src/tests/test-oauth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,KAAK,UAAU,IAAI;IACjB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAA;IAE7C,MAAM,MAAM,GAAG,IAAI,YAAY,EAAE,CAAA;IAEjC,sCAAsC;IACtC,MAAM,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;IAE1C,eAAe;IACf,MAAM,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC,CAAA;IAErC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IAChE,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IACf,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;IACnC,OAAO,CAAC,GAAG,CAAC,kDAAkD,CAAC,CAAA;IAC/D,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAA;IAC3D,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC,CAAA;IAC3E,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IACf,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,CAAA;IACrD,OAAO,CAAC,GAAG,CACT,qFAAqF,CACtF,CAAA;IACD,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IACf,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;IAC7B,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAA;IAC7C,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAA;IAC9C,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IACf,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAA;IAE9C,sBAAsB;IACtB,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,IAAI,EAAE;QAC9B,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;QACnC,MAAM,MAAM,CAAC,IAAI,EAAE,CAAA;QACnB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Test file for OAuth2Client functionality against the mock OAuth server.
3
+ * Tests the full OAuth2 flow end-to-end.
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=test-oauth2-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-oauth2-client.d.ts","sourceRoot":"","sources":["../../../src/tests/test-oauth2-client.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,131 @@
1
+ /**
2
+ * Test file for OAuth2Client functionality against the mock OAuth server.
3
+ * Tests the full OAuth2 flow end-to-end.
4
+ */
5
+ import { OAuth2Server } from 'oauth2-mock-server';
6
+ import { OAuth2Client } from '@pikku/core/oauth2';
7
+ import { LocalSecretService } from '@pikku/core/services';
8
+ // Inline VariablesService for testing
9
+ class TestVariablesService {
10
+ constructor() {
11
+ this.store = {};
12
+ }
13
+ set(key, value) {
14
+ this.store[key] = value;
15
+ }
16
+ setJSON(name, value) {
17
+ this.store[name] = JSON.stringify(value);
18
+ }
19
+ get(key) {
20
+ return this.store[key];
21
+ }
22
+ getJSON(name) {
23
+ const value = this.store[name];
24
+ if (value === undefined)
25
+ return undefined;
26
+ return JSON.parse(value);
27
+ }
28
+ getAll() {
29
+ return this.store;
30
+ }
31
+ has(name) {
32
+ return name in this.store && this.store[name] !== undefined;
33
+ }
34
+ delete(name) {
35
+ delete this.store[name];
36
+ }
37
+ }
38
+ async function testOAuth2Client() {
39
+ console.log('Testing OAuth2Client against mock server...\n');
40
+ // Start mock OAuth server
41
+ console.log('Starting OAuth2 mock server...');
42
+ const server = new OAuth2Server();
43
+ await server.issuer.keys.generate('RS256');
44
+ await server.start(8081, 'localhost');
45
+ console.log(' Mock server running at http://localhost:8081\n');
46
+ try {
47
+ const variablesService = new TestVariablesService();
48
+ const secretService = new LocalSecretService(variablesService);
49
+ // Set up app credentials
50
+ variablesService.set('TEST_OAUTH_APP', JSON.stringify({
51
+ clientId: 'test-client-id',
52
+ clientSecret: 'test-client-secret',
53
+ }));
54
+ const oauth2Config = {
55
+ tokenSecretId: 'TEST_OAUTH_TOKENS',
56
+ authorizationUrl: 'http://localhost:8081/authorize',
57
+ tokenUrl: 'http://localhost:8081/token',
58
+ scopes: ['openid', 'profile'],
59
+ };
60
+ const client = new OAuth2Client(oauth2Config, 'TEST_OAUTH_APP', secretService);
61
+ // Test 1: getAuthorizationUrl
62
+ console.log('Test 1: getAuthorizationUrl()');
63
+ const authUrl = await client.getAuthorizationUrl('test-state-123', 'http://localhost:3000/callback');
64
+ if (!authUrl.includes('localhost:8081/authorize')) {
65
+ throw new Error(`Expected auth URL to contain localhost:8081/authorize, got: ${authUrl}`);
66
+ }
67
+ if (!authUrl.includes('client_id=test-client-id')) {
68
+ throw new Error(`Expected auth URL to contain client_id, got: ${authUrl}`);
69
+ }
70
+ if (!authUrl.includes('state=test-state-123')) {
71
+ throw new Error(`Expected auth URL to contain state, got: ${authUrl}`);
72
+ }
73
+ console.log(' ✓ Authorization URL generated correctly');
74
+ console.log(` URL: ${authUrl}\n`);
75
+ // Test 2: exchangeCode - exchange an auth code for tokens
76
+ console.log('Test 2: exchangeCode()');
77
+ // The mock server accepts any code and returns valid tokens
78
+ const token = await client.exchangeCode('mock-auth-code', 'http://localhost:3000/callback');
79
+ if (!token.accessToken) {
80
+ throw new Error('Expected accessToken in response');
81
+ }
82
+ console.log(' ✓ Code exchange successful');
83
+ console.log(` Access Token: ${token.accessToken.substring(0, 50)}...`);
84
+ console.log(` Token Type: ${token.tokenType}`);
85
+ console.log(` Expires At: ${token.expiresAt ? new Date(token.expiresAt).toISOString() : 'N/A'}\n`);
86
+ // Test 3: getAccessToken - should return cached token
87
+ console.log('Test 3: getAccessToken() - from cache');
88
+ const cachedToken = await client.getAccessToken();
89
+ if (cachedToken !== token.accessToken) {
90
+ throw new Error('Expected cached token to match exchanged token');
91
+ }
92
+ console.log(' ✓ Token retrieved from cache\n');
93
+ // Test 4: New client loads token from secrets
94
+ console.log('Test 4: New client loads token from secrets');
95
+ // Store the token in secrets
96
+ variablesService.set('TEST_OAUTH_TOKENS', JSON.stringify(token));
97
+ const newClient = new OAuth2Client(oauth2Config, 'TEST_OAUTH_APP', secretService);
98
+ const loadedToken = await newClient.getAccessToken();
99
+ if (loadedToken !== token.accessToken) {
100
+ throw new Error('Expected loaded token to match stored token');
101
+ }
102
+ console.log(' ✓ Token loaded from secrets correctly\n');
103
+ // Test 5: Token refresh (simulate expired token)
104
+ console.log('Test 5: Token refresh');
105
+ // Store an expired token with refresh token
106
+ variablesService.set('TEST_OAUTH_TOKENS', JSON.stringify({
107
+ accessToken: 'expired-token',
108
+ refreshToken: token.refreshToken || 'mock-refresh-token',
109
+ expiresAt: Date.now() - 1000, // Expired
110
+ tokenType: 'Bearer',
111
+ }));
112
+ const refreshClient = new OAuth2Client(oauth2Config, 'TEST_OAUTH_APP', secretService);
113
+ const refreshedToken = await refreshClient.getAccessToken();
114
+ if (refreshedToken === 'expired-token') {
115
+ throw new Error('Expected new token after refresh, got expired token');
116
+ }
117
+ console.log(' ✓ Token refreshed successfully');
118
+ console.log(` New Token: ${refreshedToken.substring(0, 50)}...\n`);
119
+ console.log('✓ All OAuth2Client tests passed!');
120
+ }
121
+ finally {
122
+ // Stop the mock server
123
+ console.log('\nStopping mock server...');
124
+ await server.stop();
125
+ }
126
+ }
127
+ testOAuth2Client().catch((err) => {
128
+ console.error('Test failed:', err);
129
+ process.exit(1);
130
+ });
131
+ //# sourceMappingURL=test-oauth2-client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-oauth2-client.js","sourceRoot":"","sources":["../../../src/tests/test-oauth2-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEzD,sCAAsC;AACtC,MAAM,oBAAoB;IAA1B;QACU,UAAK,GAA2B,EAAE,CAAA;IA+B5C,CAAC;IA7BC,GAAG,CAAC,GAAW,EAAE,KAAa;QAC5B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;IACzB,CAAC;IAED,OAAO,CAAC,IAAY,EAAE,KAAc;QAClC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;IAC1C,CAAC;IAED,GAAG,CAAC,GAAW;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACxB,CAAC;IAED,OAAO,CAAc,IAAY;QAC/B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAC9B,IAAI,KAAK,KAAK,SAAS;YAAE,OAAO,SAAS,CAAA;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IAC1B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;IAED,GAAG,CAAC,IAAY;QACd,OAAO,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,IA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,CACd,CAAA;QACD,MAAM,cAAc,GAAG,MAAM,aAAa,CAAC,cAAc,EAAE,CAAA;QAE3D,IAAI,cAAc,KAAK,eAAe,EAAE,CAAC;YACvC,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAA;QACxE,CAAC;QACD,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAA;QAC/C,OAAO,CAAC,GAAG,CAAC,kBAAkB,cAAc,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAA;QAErE,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAA;IACjD,CAAC;YAAS,CAAC;QACT,uBAAuB;QACvB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QACxC,MAAM,MAAM,CAAC,IAAI,EAAE,CAAA;IACrB,CAAC;AACH,CAAC;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IAC/B,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,GAAG,CAAC,CAAA;IAClC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACjB,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/addon-console",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "type": "module",
5
5
  "imports": {
6
6
  "#pikku": "./.pikku/pikku-types.gen.ts"
@@ -10,18 +10,17 @@
10
10
  "types": "./dist/src/index.d.ts",
11
11
  "import": "./dist/src/index.js"
12
12
  },
13
- "./.pikku/*": "./.pikku/*",
14
- "./.pikku/pikku-metadata.gen.json": "./.pikku/pikku-metadata.gen.json",
13
+ "./.pikku/*": "./dist/.pikku/*",
14
+ "./.pikku/pikku-metadata.gen.json": "./dist/.pikku/pikku-metadata.gen.json",
15
15
  "./.pikku/rpc/pikku-rpc-wirings-map.internal.gen.js": {
16
- "types": "./.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts"
16
+ "types": "./dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts"
17
17
  }
18
18
  },
19
19
  "files": [
20
- "dist",
21
- ".pikku"
20
+ "dist"
22
21
  ],
23
22
  "scripts": {
24
- "build": "pikku all && tsc && cp -r .pikku dist/",
23
+ "build": "pikku all && tsc",
25
24
  "pikku": "pikku all",
26
25
  "pretest": "pikku all",
27
26
  "test": "tsc --noEmit"