@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,32 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.3
3
+ */
4
+ import type { SingletonServices } from '../types/application-types.d.js';
5
+ import type { Services } from '../types/application-types.d.js';
6
+ export declare const requiredSingletonServices: {
7
+ readonly addonService: true;
8
+ readonly agentRunService: true;
9
+ readonly aiAgentRunner: false;
10
+ readonly aiRunState: false;
11
+ readonly aiStorage: false;
12
+ readonly config: true;
13
+ readonly content: false;
14
+ readonly deploymentService: false;
15
+ readonly fileWatcherService: false;
16
+ readonly jwt: false;
17
+ readonly logger: true;
18
+ readonly oauthService: true;
19
+ readonly queueService: false;
20
+ readonly schedulerService: false;
21
+ readonly schema: true;
22
+ readonly schemaService: true;
23
+ readonly secrets: true;
24
+ readonly variables: true;
25
+ readonly wiringService: true;
26
+ readonly workflowRunService: true;
27
+ readonly workflowService: false;
28
+ };
29
+ export declare const requiredWireServices: {};
30
+ export type RequiredSingletonServices = Pick<SingletonServices, 'addonService' | 'agentRunService' | 'config' | 'logger' | 'oauthService' | 'schema' | 'schemaService' | 'secrets' | 'variables' | 'wiringService' | 'workflowRunService'> & Partial<Omit<SingletonServices, 'addonService' | 'agentRunService' | 'config' | 'logger' | 'oauthService' | 'schema' | 'schemaService' | 'secrets' | 'variables' | 'wiringService' | 'workflowRunService'>>;
31
+ export type RequiredWireServices = Partial<Services>;
32
+ //# sourceMappingURL=pikku-services.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;CAsB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,GAAG,cAAc,GAAG,QAAQ,GAAG,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,eAAe,GAAG,oBAAoB,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,GAAG,cAAc,GAAG,QAAQ,GAAG,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,CAAA;AAExb,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA"}
@@ -0,0 +1,27 @@
1
+ // Singleton services map: true if required, false if available but unused
2
+ export const requiredSingletonServices = {
3
+ 'addonService': true,
4
+ 'agentRunService': true,
5
+ 'aiAgentRunner': false,
6
+ 'aiRunState': false,
7
+ 'aiStorage': false,
8
+ 'config': true,
9
+ 'content': false,
10
+ 'deploymentService': false,
11
+ 'fileWatcherService': false,
12
+ 'jwt': false,
13
+ 'logger': true,
14
+ 'oauthService': true,
15
+ 'queueService': false,
16
+ 'schedulerService': false,
17
+ 'schema': true,
18
+ 'schemaService': true,
19
+ 'secrets': true,
20
+ 'variables': true,
21
+ 'wiringService': true,
22
+ 'workflowRunService': true,
23
+ 'workflowService': false,
24
+ };
25
+ // Wire services map: true if required, false if available but unused
26
+ export const requiredWireServices = {};
27
+ //# sourceMappingURL=pikku-services.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,oBAAoB,EAAE,KAAK;IAC3B,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,IAAI;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,eAAe,EAAE,IAAI;IACrB,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.3
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+ export * from './function/pikku-function-types.gen.js';
8
+ export * from './trigger/pikku-trigger-types.gen.js';
9
+ export * from './console/pikku-node-types.gen.js';
10
+ export * from './secrets/pikku-secret-types.gen.js';
11
+ export * from './addon/pikku-addon-types.gen.js';
12
+ //# sourceMappingURL=pikku-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.3
3
+ */
4
+ /**
5
+ * Main type export hub - re-exports all wiring-specific types
6
+ */
7
+ // Core function, middleware, and permission types
8
+ export * from './function/pikku-function-types.gen.js';
9
+ // Trigger wiring types
10
+ export * from './trigger/pikku-trigger-types.gen.js';
11
+ // Node wiring types
12
+ export * from './console/pikku-node-types.gen.js';
13
+ // Secret definition types
14
+ export * from './secrets/pikku-secret-types.gen.js';
15
+ // Addon types
16
+ export * from './addon/pikku-addon-types.gen.js';
17
+ //# sourceMappingURL=pikku-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.3
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal';
5
+ import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
6
+ pikkuState('@pikku/addon-console', 'rpc', 'meta', metaData);
7
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,sBAAsB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
@@ -0,0 +1,31 @@
1
+ {
2
+ "getInstalledAddons": "getInstalledAddons",
3
+ "getAllMeta": "getAllMeta",
4
+ "getChannelSnippets": "getChannelSnippets",
5
+ "getAddonIcon": "getAddonIcon",
6
+ "getAddonMeta": "getAddonMeta",
7
+ "getAddonCommunityPackage": "getAddonCommunityPackage",
8
+ "getAddonInstalledPackage": "getAddonInstalledPackage",
9
+ "getFunctionsMeta": "getFunctionsMeta",
10
+ "getSchema": "getSchema",
11
+ "getWorkflowMetaById": "getWorkflowMetaById",
12
+ "oauthConnect": "oauthConnect",
13
+ "oauthDisconnect": "oauthDisconnect",
14
+ "oauthExchangeTokens": "oauthExchangeTokens",
15
+ "oauthStatus": "oauthStatus",
16
+ "deleteAgentThread": "deleteAgentThread",
17
+ "deleteWorkflowRun": "deleteWorkflowRun",
18
+ "getAgentThreadMessages": "getAgentThreadMessages",
19
+ "getAgentThreadRuns": "getAgentThreadRuns",
20
+ "getAgentThreads": "getAgentThreads",
21
+ "getAIWorkflows": "getAIWorkflows",
22
+ "getWorkflowRunHistory": "getWorkflowRunHistory",
23
+ "getWorkflowRunNames": "getWorkflowRunNames",
24
+ "getWorkflowRunSteps": "getWorkflowRunSteps",
25
+ "getWorkflowRun": "getWorkflowRun",
26
+ "getWorkflowRuns": "getWorkflowRuns",
27
+ "getWorkflowVersion": "getWorkflowVersion",
28
+ "oauthRefreshToken": "oauthRefreshToken",
29
+ "oauthTestToken": "oauthTestToken",
30
+ "streamWorkflowRun": "streamWorkflowRun"
31
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=register.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.3
3
+ */
4
+ import { addSchema } from '@pikku/core/schema';
5
+ import * as GetInstalledAddonsOutput from './schemas/GetInstalledAddonsOutput.schema.json' with { type: 'json' };
6
+ addSchema('GetInstalledAddonsOutput', GetInstalledAddonsOutput, '@pikku/addon-console');
7
+ import * as AllMeta from './schemas/AllMeta.schema.json' with { type: 'json' };
8
+ addSchema('AllMeta', AllMeta, '@pikku/addon-console');
9
+ import * as GetChannelSnippetsInput from './schemas/GetChannelSnippetsInput.schema.json' with { type: 'json' };
10
+ addSchema('GetChannelSnippetsInput', GetChannelSnippetsInput, '@pikku/addon-console');
11
+ import * as ChannelSnippets from './schemas/ChannelSnippets.schema.json' with { type: 'json' };
12
+ addSchema('ChannelSnippets', ChannelSnippets, '@pikku/addon-console');
13
+ import * as GetAddonIconInput from './schemas/GetAddonIconInput.schema.json' with { type: 'json' };
14
+ addSchema('GetAddonIconInput', GetAddonIconInput, '@pikku/addon-console');
15
+ import * as GetAddonMetaOutput from './schemas/GetAddonMetaOutput.schema.json' with { type: 'json' };
16
+ addSchema('GetAddonMetaOutput', GetAddonMetaOutput, '@pikku/addon-console');
17
+ import * as GetAddonCommunityPackageInput from './schemas/GetAddonCommunityPackageInput.schema.json' with { type: 'json' };
18
+ addSchema('GetAddonCommunityPackageInput', GetAddonCommunityPackageInput, '@pikku/addon-console');
19
+ import * as AddonPackageInfo from './schemas/AddonPackageInfo.schema.json' with { type: 'json' };
20
+ addSchema('AddonPackageInfo', AddonPackageInfo, '@pikku/addon-console');
21
+ import * as GetAddonInstalledPackageInput from './schemas/GetAddonInstalledPackageInput.schema.json' with { type: 'json' };
22
+ addSchema('GetAddonInstalledPackageInput', GetAddonInstalledPackageInput, '@pikku/addon-console');
23
+ import * as GetFunctionsMetaOutput from './schemas/GetFunctionsMetaOutput.schema.json' with { type: 'json' };
24
+ addSchema('GetFunctionsMetaOutput', GetFunctionsMetaOutput, '@pikku/addon-console');
25
+ import * as GetSchemaInput from './schemas/GetSchemaInput.schema.json' with { type: 'json' };
26
+ addSchema('GetSchemaInput', GetSchemaInput, '@pikku/addon-console');
27
+ import * as JSONSchema7 from './schemas/JSONSchema7.schema.json' with { type: 'json' };
28
+ addSchema('JSONSchema7', JSONSchema7, '@pikku/addon-console');
29
+ import * as GetWorkflowMetaByIdInput from './schemas/GetWorkflowMetaByIdInput.schema.json' with { type: 'json' };
30
+ addSchema('GetWorkflowMetaByIdInput', GetWorkflowMetaByIdInput, '@pikku/addon-console');
31
+ import * as GetWorkflowMetaByIdOutput from './schemas/GetWorkflowMetaByIdOutput.schema.json' with { type: 'json' };
32
+ addSchema('GetWorkflowMetaByIdOutput', GetWorkflowMetaByIdOutput, '@pikku/addon-console');
33
+ import * as OauthConnectInput from './schemas/OauthConnectInput.schema.json' with { type: 'json' };
34
+ addSchema('OauthConnectInput', OauthConnectInput, '@pikku/addon-console');
35
+ import * as OauthConnectOutput from './schemas/OauthConnectOutput.schema.json' with { type: 'json' };
36
+ addSchema('OauthConnectOutput', OauthConnectOutput, '@pikku/addon-console');
37
+ import * as OauthDisconnectInput from './schemas/OauthDisconnectInput.schema.json' with { type: 'json' };
38
+ addSchema('OauthDisconnectInput', OauthDisconnectInput, '@pikku/addon-console');
39
+ import * as OauthExchangeTokensInput from './schemas/OauthExchangeTokensInput.schema.json' with { type: 'json' };
40
+ addSchema('OauthExchangeTokensInput', OauthExchangeTokensInput, '@pikku/addon-console');
41
+ import * as OauthExchangeTokensOutput from './schemas/OauthExchangeTokensOutput.schema.json' with { type: 'json' };
42
+ addSchema('OauthExchangeTokensOutput', OauthExchangeTokensOutput, '@pikku/addon-console');
43
+ import * as OauthStatusInput from './schemas/OauthStatusInput.schema.json' with { type: 'json' };
44
+ addSchema('OauthStatusInput', OauthStatusInput, '@pikku/addon-console');
45
+ import * as OauthStatusOutput from './schemas/OauthStatusOutput.schema.json' with { type: 'json' };
46
+ addSchema('OauthStatusOutput', OauthStatusOutput, '@pikku/addon-console');
47
+ import * as DeleteAgentThreadInput from './schemas/DeleteAgentThreadInput.schema.json' with { type: 'json' };
48
+ addSchema('DeleteAgentThreadInput', DeleteAgentThreadInput, '@pikku/addon-console');
49
+ import * as DeleteAgentThreadOutput from './schemas/DeleteAgentThreadOutput.schema.json' with { type: 'json' };
50
+ addSchema('DeleteAgentThreadOutput', DeleteAgentThreadOutput, '@pikku/addon-console');
51
+ import * as DeleteWorkflowRunInput from './schemas/DeleteWorkflowRunInput.schema.json' with { type: 'json' };
52
+ addSchema('DeleteWorkflowRunInput', DeleteWorkflowRunInput, '@pikku/addon-console');
53
+ import * as DeleteWorkflowRunOutput from './schemas/DeleteWorkflowRunOutput.schema.json' with { type: 'json' };
54
+ addSchema('DeleteWorkflowRunOutput', DeleteWorkflowRunOutput, '@pikku/addon-console');
55
+ import * as GetAgentThreadMessagesInput from './schemas/GetAgentThreadMessagesInput.schema.json' with { type: 'json' };
56
+ addSchema('GetAgentThreadMessagesInput', GetAgentThreadMessagesInput, '@pikku/addon-console');
57
+ import * as GetAgentThreadMessagesOutput from './schemas/GetAgentThreadMessagesOutput.schema.json' with { type: 'json' };
58
+ addSchema('GetAgentThreadMessagesOutput', GetAgentThreadMessagesOutput, '@pikku/addon-console');
59
+ import * as GetAgentThreadRunsInput from './schemas/GetAgentThreadRunsInput.schema.json' with { type: 'json' };
60
+ addSchema('GetAgentThreadRunsInput', GetAgentThreadRunsInput, '@pikku/addon-console');
61
+ import * as GetAgentThreadRunsOutput from './schemas/GetAgentThreadRunsOutput.schema.json' with { type: 'json' };
62
+ addSchema('GetAgentThreadRunsOutput', GetAgentThreadRunsOutput, '@pikku/addon-console');
63
+ import * as GetAgentThreadsInput from './schemas/GetAgentThreadsInput.schema.json' with { type: 'json' };
64
+ addSchema('GetAgentThreadsInput', GetAgentThreadsInput, '@pikku/addon-console');
65
+ import * as GetAgentThreadsOutput from './schemas/GetAgentThreadsOutput.schema.json' with { type: 'json' };
66
+ addSchema('GetAgentThreadsOutput', GetAgentThreadsOutput, '@pikku/addon-console');
67
+ import * as GetAIWorkflowsInput from './schemas/GetAIWorkflowsInput.schema.json' with { type: 'json' };
68
+ addSchema('GetAIWorkflowsInput', GetAIWorkflowsInput, '@pikku/addon-console');
69
+ import * as GetAIWorkflowsOutput from './schemas/GetAIWorkflowsOutput.schema.json' with { type: 'json' };
70
+ addSchema('GetAIWorkflowsOutput', GetAIWorkflowsOutput, '@pikku/addon-console');
71
+ import * as GetWorkflowRunHistoryInput from './schemas/GetWorkflowRunHistoryInput.schema.json' with { type: 'json' };
72
+ addSchema('GetWorkflowRunHistoryInput', GetWorkflowRunHistoryInput, '@pikku/addon-console');
73
+ import * as GetWorkflowRunHistoryOutput from './schemas/GetWorkflowRunHistoryOutput.schema.json' with { type: 'json' };
74
+ addSchema('GetWorkflowRunHistoryOutput', GetWorkflowRunHistoryOutput, '@pikku/addon-console');
75
+ import * as GetWorkflowRunNamesOutput from './schemas/GetWorkflowRunNamesOutput.schema.json' with { type: 'json' };
76
+ addSchema('GetWorkflowRunNamesOutput', GetWorkflowRunNamesOutput, '@pikku/addon-console');
77
+ import * as GetWorkflowRunStepsInput from './schemas/GetWorkflowRunStepsInput.schema.json' with { type: 'json' };
78
+ addSchema('GetWorkflowRunStepsInput', GetWorkflowRunStepsInput, '@pikku/addon-console');
79
+ import * as GetWorkflowRunStepsOutput from './schemas/GetWorkflowRunStepsOutput.schema.json' with { type: 'json' };
80
+ addSchema('GetWorkflowRunStepsOutput', GetWorkflowRunStepsOutput, '@pikku/addon-console');
81
+ import * as GetWorkflowRunInput from './schemas/GetWorkflowRunInput.schema.json' with { type: 'json' };
82
+ addSchema('GetWorkflowRunInput', GetWorkflowRunInput, '@pikku/addon-console');
83
+ import * as GetWorkflowRunOutput from './schemas/GetWorkflowRunOutput.schema.json' with { type: 'json' };
84
+ addSchema('GetWorkflowRunOutput', GetWorkflowRunOutput, '@pikku/addon-console');
85
+ import * as GetWorkflowRunsInput from './schemas/GetWorkflowRunsInput.schema.json' with { type: 'json' };
86
+ addSchema('GetWorkflowRunsInput', GetWorkflowRunsInput, '@pikku/addon-console');
87
+ import * as GetWorkflowRunsOutput from './schemas/GetWorkflowRunsOutput.schema.json' with { type: 'json' };
88
+ addSchema('GetWorkflowRunsOutput', GetWorkflowRunsOutput, '@pikku/addon-console');
89
+ import * as GetWorkflowVersionInput from './schemas/GetWorkflowVersionInput.schema.json' with { type: 'json' };
90
+ addSchema('GetWorkflowVersionInput', GetWorkflowVersionInput, '@pikku/addon-console');
91
+ import * as GetWorkflowVersionOutput from './schemas/GetWorkflowVersionOutput.schema.json' with { type: 'json' };
92
+ addSchema('GetWorkflowVersionOutput', GetWorkflowVersionOutput, '@pikku/addon-console');
93
+ import * as OauthRefreshTokenInput from './schemas/OauthRefreshTokenInput.schema.json' with { type: 'json' };
94
+ addSchema('OauthRefreshTokenInput', OauthRefreshTokenInput, '@pikku/addon-console');
95
+ import * as OauthRefreshTokenOutput from './schemas/OauthRefreshTokenOutput.schema.json' with { type: 'json' };
96
+ addSchema('OauthRefreshTokenOutput', OauthRefreshTokenOutput, '@pikku/addon-console');
97
+ import * as OauthTestTokenInput from './schemas/OauthTestTokenInput.schema.json' with { type: 'json' };
98
+ addSchema('OauthTestTokenInput', OauthTestTokenInput, '@pikku/addon-console');
99
+ import * as OauthTestTokenOutput from './schemas/OauthTestTokenOutput.schema.json' with { type: 'json' };
100
+ addSchema('OauthTestTokenOutput', OauthTestTokenOutput, '@pikku/addon-console');
101
+ import * as StreamWorkflowRunInput from './schemas/StreamWorkflowRunInput.schema.json' with { type: 'json' };
102
+ addSchema('StreamWorkflowRunInput', StreamWorkflowRunInput, '@pikku/addon-console');
103
+ //# sourceMappingURL=register.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,wBAAwB,MAAM,gDAAgD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChH,SAAS,CAAC,0BAA0B,EAAE,wBAAwB,EAAE,sBAAsB,CAAC,CAAA;AAGvF,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9E,SAAS,CAAC,SAAS,EAAE,OAAO,EAAE,sBAAsB,CAAC,CAAA;AAGrD,OAAO,KAAK,uBAAuB,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9G,SAAS,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,sBAAsB,CAAC,CAAA;AAGrF,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9F,SAAS,CAAC,iBAAiB,EAAE,eAAe,EAAE,sBAAsB,CAAC,CAAA;AAGrE,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,sBAAsB,CAAC,CAAA;AAGzE,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpG,SAAS,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC,CAAA;AAG3E,OAAO,KA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qB,EAAE,mBAAmB,EAAE,sBAAsB,CAAC,CAAA;AAG7E,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,sBAAsB,CAAC,CAAA;AAG/E,OAAO,KAAK,sBAAsB,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5G,SAAS,CAAC,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "displayName": { "type": "string" }, "version": { "type": "string" }, "description": { "type": "string" }, "author": { "type": "string" }, "repository": { "type": "string" }, "license": { "type": "string" }, "readme": { "type": "string" }, "icon": { "type": "string" }, "publishedAt": { "type": "string" }, "updatedAt": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "categories": { "type": "array", "items": { "type": "string" } }, "functions": { "$ref": "#/definitions/FunctionsMeta" }, "agents": { "type": "object", "additionalProperties": {} }, "secrets": { "type": "object", "additionalProperties": {} }, "variables": { "type": "object", "additionalProperties": {} }, "httpRoutes": { "$ref": "#/definitions/HTTPWiringsMeta" }, "channels": { "$ref": "#/definitions/ChannelsMeta" }, "cli": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIProgramMeta" } }, "mcp": { "anyOf": [{ "$ref": "#/definitions/McpMeta" }, { "type": "null" }] }, "schemas": { "type": "object", "additionalProperties": {} } }, "required": ["id", "name", "displayName", "version", "description", "author", "publishedAt", "updatedAt", "tags", "categories", "functions", "agents", "secrets", "variables", "httpRoutes", "channels", "cli", "mcp", "schemas"], "additionalProperties": false, "definitions": { "FunctionsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FunctionMeta" } }, "FunctionMeta": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" }, "functionType": { "type": "string", "enum": ["user", "inline", "helper"] }, "funcWrapper": { "type": "string" }, "services": { "$ref": "#/definitions/FunctionServicesMeta" }, "wires": { "$ref": "#/definitions/FunctionWiresMeta" }, "inputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "outputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDirectFunction": { "type": "boolean" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "expose": { "type": "boolean" }, "remote": { "type": "boolean" }, "mcp": { "type": "boolean" }, "readonly": { "type": "boolean" }, "sessionless": { "type": "boolean" }, "version": { "type": "number" }, "approvalRequired": { "type": "boolean" }, "approvalDescription": { "type": "string" }, "contractHash": { "type": "string" }, "inputHash": { "type": "string" }, "outputHash": { "type": "string" } }, "required": ["inputSchemaName", "outputSchemaName", "pikkuFuncId"] }, "FunctionServicesMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "FunctionWiresMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "wires": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "wires"], "additionalProperties": false }, "MiddlewareMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for middleware at any level\n- type: 'http' = HTTP route middleware group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based middleware group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual middleware" }, "PermissionMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for permissions at any level\n- type: 'http' = HTTP route permission group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based permission group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual permission" }, "HTTPWiringsMeta": { "type": "object", "properties": { "post": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "get": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "delete": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "patch": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "head": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "put": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } } }, "required": ["post", "get", "delete", "patch", "head", "put", "options"], "additionalProperties": false }, "HTTPWiringMeta": { "type": "object", "additionalProperties": false, "properties": { "route": { "type": "string" }, "method": { "$ref": "#/definitions/HTTPMethod" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "headersSchemaName": { "type": "string" }, "sse": { "type": "boolean", "const": true }, "groupBasePath": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["method", "pikkuFuncId", "route"], "description": "Represents metadata for a set of HTTP wirings, including HTTP wiring details, methods, input/output types, and documentation." }, "HTTPMethod": { "type": "string", "enum": ["post", "get", "delete", "patch", "head", "put", "options"], "description": "Represents the HTTP methods supported for API HTTP wirings." }, "HTTPFunctionMetaInputTypes": { "type": "object", "properties": { "params": { "type": "string" }, "query": { "type": "string" }, "body": { "type": "string" } }, "additionalProperties": false, "description": "Represents the input types for HTTP wiring metadata, including parameters, query, and body types." }, "ChannelsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMeta" } }, "ChannelMeta": { "type": "object", "properties": { "name": { "type": "string" }, "route": { "type": "string" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "input": { "type": ["string", "null"] }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "connect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "disconnect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "message": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "messageWirings": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMessageMeta" } } }, "binary": { "type": ["boolean", "null"] }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "channelMiddleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } } }, "required": ["name", "route", "input", "connect", "disconnect", "message", "messageWirings"], "additionalProperties": false }, "ChannelMessageMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["pikkuFuncId"], "additionalProperties": false }, "CLIProgramMeta": { "type": "object", "properties": { "program": { "type": "string" }, "commands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "defaultRenderName": { "type": "string" } }, "required": ["program", "commands", "options"], "additionalProperties": false, "description": "CLI metadata collection (per program)" }, "CLICommandMeta": { "type": "object", "properties": { "parameters": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "positionals": { "type": "array", "items": { "$ref": "#/definitions/CLIPositional" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "renderName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "subcommands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDefault": { "type": "boolean" } }, "required": ["pikkuFuncId", "positionals", "options"], "additionalProperties": false, "description": "CLI command metadata for runtime" }, "CLIPositional": { "type": "object", "properties": { "name": { "type": "string" }, "required": { "type": "boolean" }, "variadic": { "type": "boolean" } }, "required": ["name", "required"], "additionalProperties": false, "description": "Positional argument definition" }, "CLIOption": { "type": "object", "properties": { "description": { "type": "string" }, "short": { "type": "string" }, "default": {}, "choices": { "type": "array", "items": {} }, "array": { "type": "boolean" }, "required": { "type": "boolean" } }, "required": ["description"], "additionalProperties": false, "description": "CLI option definition" }, "McpMeta": { "type": "object", "properties": { "toolsMeta": { "$ref": "#/definitions/MCPToolMeta" }, "resourcesMeta": { "$ref": "#/definitions/MCPResourceMeta" }, "promptsMeta": { "$ref": "#/definitions/MCPPromptMeta" } }, "required": ["toolsMeta", "resourcesMeta", "promptsMeta"], "additionalProperties": false }, "MCPToolMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "streaming": { "type": "boolean" } }, "required": ["description", "inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP tools, including name, description, and documentation." }, "MCPResourceMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "uri": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "mimeType": { "type": "string" }, "size": { "type": "number" }, "streaming": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["description", "inputSchema", "outputSchema", "pikkuFuncId", "title", "uri"] }, "description": "Represents metadata for MCP resources, including name, description, and documentation." }, "MCPPromptMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "arguments": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "required": { "type": "boolean" } }, "required": ["name", "description", "required"], "additionalProperties": false } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["arguments", "description", "inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP prompts, including name, description, and arguments." } } }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "functions": { "type": "array", "items": { "$ref": "#/definitions/FunctionMeta" } }, "httpMeta": { "type": "array", "items": { "$ref": "#/definitions/HttpRouteMeta" } }, "cliMeta": { "type": "array", "items": { "$ref": "#/definitions/CliProgramMeta" } }, "cliRenderers": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CliRendererMeta" } }, "channelsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMeta" } }, "queueMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/QueueWorkerMeta" } }, "schedulerMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SchedulerTaskMeta" } }, "rpcMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/RpcMeta" } }, "mcpMeta": { "type": "array", "items": { "$ref": "#/definitions/McpItemMeta" } }, "workflows": { "type": "object" }, "triggerMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TriggerMeta" } }, "triggerSourceMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TriggerSourceMeta" } }, "middlewareGroupsMeta": { "$ref": "#/definitions/MiddlewareGroupsMeta" }, "permissionsGroupsMeta": { "$ref": "#/definitions/PermissionsGroupsMeta" }, "agentsMeta": { "$ref": "#/definitions/AgentsMeta" }, "secretsMeta": { "$ref": "#/definitions/SecretDefinitionsMeta" }, "variablesMeta": { "$ref": "#/definitions/VariableDefinitionsMeta" }, "modelAliases": { "type": "array", "items": { "type": "string" } }, "functionUsedBy": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FunctionUsedBy" } }, "counts": { "$ref": "#/definitions/MetaCounts" } }, "required": ["agentsMeta", "channelsMeta", "cliMeta", "cliRenderers", "counts", "functionUsedBy", "functions", "httpMeta", "mcpMeta", "middlewareGroupsMeta", "modelAliases", "permissionsGroupsMeta", "queueMeta", "rpcMeta", "schedulerMeta", "secretsMeta", "triggerMeta", "triggerSourceMeta", "variablesMeta", "workflows"], "additionalProperties": false, "definitions": { "FunctionMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "name": { "type": "string" }, "sessionless": { "type": "boolean" }, "services": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "inputs": { "type": "array", "items": { "type": "string" } }, "outputs": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "errors": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } }, "wires": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "wires": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "wires"], "additionalProperties": false }, "expose": { "type": "boolean" }, "isDirectFunction": { "type": "boolean" } }, "required": ["pikkuFuncId", "name", "services", "inputSchemaName", "outputSchemaName", "inputs", "outputs", "isDirectFunction"], "additionalProperties": false }, "MiddlewareMeta": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }] }, "PermissionMeta": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }] }, "HttpRouteMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "route": { "type": "string" }, "method": { "type": "string" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "errors": { "type": "array", "items": { "type": "string" } }, "auth": { "type": "boolean" }, "sse": { "type": "boolean" }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } }, "inputSchemaName": { "type": "string" }, "outputSchemaName": { "type": "string" } }, "required": ["pikkuFuncId", "route", "method"], "additionalProperties": false }, "CliProgramMeta": { "type": "object", "properties": { "wireId": { "type": "string" }, "program": { "type": "string" }, "description": { "type": "string" }, "commands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CliCommandMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CliOptionMeta" } }, "defaultRenderName": { "type": "string" } }, "required": ["wireId", "program", "commands", "options"], "additionalProperties": false }, "CliCommandMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "parameters": { "type": "string" }, "positionals": { "type": "array", "items": { "$ref": "#/definitions/CliPositionalMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CliOptionMeta" } }, "renderName": { "type": "string" }, "subcommands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CliCommandMeta" } }, "isDefault": { "type": "boolean" } }, "required": ["pikkuFuncId", "positionals", "options"], "additionalProperties": false }, "CliPositionalMeta": { "type": "object", "properties": { "name": { "type": "string" }, "required": { "type": "boolean" }, "variadic": { "type": "boolean" } }, "required": ["name", "required"], "additionalProperties": false }, "CliOptionMeta": { "type": "object", "properties": { "description": { "type": "string" }, "short": { "type": "string" }, "default": {}, "choices": { "type": "array", "items": {} }, "array": { "type": "boolean" }, "required": { "type": "boolean" } }, "required": ["description"], "additionalProperties": false }, "CliRendererMeta": { "type": "object", "properties": { "name": { "type": "string" }, "exportedName": { "type": "string" }, "filePath": { "type": "string" }, "services": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false } }, "required": ["name", "filePath", "services"], "additionalProperties": false }, "ChannelMeta": { "type": "object", "properties": { "name": { "type": "string" }, "route": { "type": "string" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "input": { "type": ["string", "null"] }, "connect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "disconnect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "message": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "messageWirings": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMessageMeta" } } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } } }, "required": ["name", "route", "input", "connect", "disconnect", "message", "messageWirings"], "additionalProperties": false }, "ChannelMessageMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } } }, "required": ["pikkuFuncId"], "additionalProperties": false }, "QueueWorkerMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "queueName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } }, "config": { "type": "object" } }, "required": ["pikkuFuncId", "queueName"], "additionalProperties": false }, "SchedulerTaskMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "name": { "type": "string" }, "schedule": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } } }, "required": ["pikkuFuncId", "name", "schedule"], "additionalProperties": false }, "RpcMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" } }, "required": ["pikkuFuncId"], "additionalProperties": false }, "McpItemMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "method": { "type": "string", "enum": ["resource", "tool", "prompt"] }, "name": { "type": "string" }, "wireId": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "errors": { "type": "array", "items": { "type": "string" } }, "uri": { "type": "string" }, "arguments": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "required": { "type": "boolean" } }, "required": ["name"], "additionalProperties": false } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } }, "inputSchemaName": { "type": "string" }, "outputSchemaName": { "type": "string" } }, "required": ["pikkuFuncId", "method"], "additionalProperties": false }, "TriggerMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "name": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } } }, "required": ["pikkuFuncId", "name"], "additionalProperties": false }, "TriggerSourceMeta": { "type": "object", "properties": { "name": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" } }, "required": ["name", "pikkuFuncId"], "additionalProperties": false }, "MiddlewareGroupsMeta": { "type": "object", "properties": { "definitions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MiddlewareDefinitionMeta" } }, "instances": { "type": "object", "additionalProperties": { "$ref": "#/definitions/MiddlewareInstanceMeta" } }, "httpGroups": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GroupMeta" } }, "tagGroups": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GroupMeta" } } }, "required": ["definitions", "instances", "httpGroups", "tagGroups"], "additionalProperties": false }, "MiddlewareDefinitionMeta": { "type": "object", "properties": { "services": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "sourceFile": { "type": "string" }, "position": { "type": "number" }, "exportedName": { "type": ["string", "null"] }, "factory": { "type": "boolean" }, "name": { "type": "string" }, "description": { "type": "string" }, "package": { "type": "string" } }, "required": ["services", "sourceFile", "position", "exportedName"], "additionalProperties": false }, "MiddlewareInstanceMeta": { "type": "object", "properties": { "definitionId": { "type": "string" }, "sourceFile": { "type": "string" }, "position": { "type": "number" }, "isFactoryCall": { "type": "boolean" } }, "required": ["definitionId", "sourceFile", "position", "isFactoryCall"], "additionalProperties": false }, "GroupMeta": { "type": "object", "properties": { "exportName": { "type": ["string", "null"] }, "sourceFile": { "type": "string" }, "position": { "type": "number" }, "services": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "count": { "type": "number" }, "instanceIds": { "type": "array", "items": { "type": "string" } }, "isFactory": { "type": "boolean" } }, "required": ["exportName", "sourceFile", "position", "services", "count", "instanceIds", "isFactory"], "additionalProperties": false }, "PermissionsGroupsMeta": { "type": "object", "properties": { "definitions": { "type": "object", "additionalProperties": { "$ref": "#/definitions/PermissionDefinitionMeta" } }, "httpGroups": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GroupMeta" } }, "tagGroups": { "type": "object", "additionalProperties": { "$ref": "#/definitions/GroupMeta" } } }, "required": ["definitions", "httpGroups", "tagGroups"], "additionalProperties": false }, "PermissionDefinitionMeta": { "type": "object", "properties": { "services": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "sourceFile": { "type": "string" }, "position": { "type": "number" }, "exportedName": { "type": ["string", "null"] }, "factory": { "type": "boolean" }, "name": { "type": "string" }, "description": { "type": "string" } }, "required": ["services", "sourceFile", "position", "exportedName"], "additionalProperties": false }, "AgentsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AgentMeta" } }, "AgentMeta": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "instructions": { "type": "string" }, "summary": { "type": "string" }, "model": { "type": "string" }, "maxSteps": { "type": "number" }, "toolChoice": { "type": "string" }, "tools": { "type": "array", "items": { "type": "string" } }, "agents": { "type": "array", "items": { "type": "string" } }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "workingMemorySchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "channelMiddleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "aiMiddleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } }, "tags": { "type": "array", "items": { "type": "string" } }, "memory": { "type": "object", "properties": { "storage": { "type": "string" }, "lastMessages": { "type": "number" } }, "additionalProperties": false } }, "required": ["name"], "additionalProperties": false }, "SecretDefinitionsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SecretDefinitionMeta" } }, "SecretDefinitionMeta": { "type": "object", "properties": { "name": { "type": "string" }, "displayName": { "type": "string" }, "description": { "type": "string" }, "secretId": { "type": "string" }, "schema": { "anyOf": [{ "type": "object", "additionalProperties": {} }, { "type": "string" }] }, "oauth2": { "$ref": "#/definitions/OAuth2CredentialConfig" }, "sourceFile": { "type": "string" } }, "required": ["name", "displayName", "secretId"], "additionalProperties": false }, "OAuth2CredentialConfig": { "type": "object", "properties": { "tokenSecretId": { "type": "string" }, "authorizationUrl": { "type": "string" }, "tokenUrl": { "type": "string" }, "scopes": { "type": "array", "items": { "type": "string" } }, "pkce": { "type": "boolean" }, "additionalParams": { "type": "object", "additionalProperties": { "type": "string" } } }, "required": ["tokenSecretId", "authorizationUrl", "tokenUrl", "scopes"], "additionalProperties": false }, "VariableDefinitionsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/VariableDefinitionMeta" } }, "VariableDefinitionMeta": { "type": "object", "properties": { "name": { "type": "string" }, "displayName": { "type": "string" }, "description": { "type": "string" }, "variableId": { "type": "string" }, "schema": { "anyOf": [{ "type": "object", "additionalProperties": {} }, { "type": "string" }] }, "sourceFile": { "type": "string" } }, "required": ["name", "displayName", "variableId"], "additionalProperties": false }, "FunctionUsedBy": { "type": "object", "properties": { "transports": { "type": "array", "items": { "$ref": "#/definitions/WiringRef" } }, "jobs": { "type": "array", "items": { "$ref": "#/definitions/WiringRef" } }, "workflows": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": ["id", "name"], "additionalProperties": false } } }, "required": ["transports", "jobs", "workflows"], "additionalProperties": false }, "WiringRef": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" } }, "required": ["type", "id", "name"], "additionalProperties": false }, "MetaCounts": { "type": "object", "properties": { "functions": { "type": "number" }, "workflows": { "type": "number" }, "httpRoutes": { "type": "number" }, "channels": { "type": "number" }, "mcpTools": { "type": "number" }, "schedulers": { "type": "number" }, "queues": { "type": "number" }, "cliCommands": { "type": "number" }, "rpcMethods": { "type": "number" }, "triggers": { "type": "number" }, "triggerSources": { "type": "number" }, "agents": { "type": "number" }, "secrets": { "type": "number" }, "variables": { "type": "number" } }, "required": ["functions", "workflows", "httpRoutes", "channels", "mcpTools", "schedulers", "queues", "cliCommands", "rpcMethods", "triggers", "triggerSources", "agents", "secrets", "variables"], "additionalProperties": false } } }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "overview": { "type": "string" }, "handlers": { "type": "object", "additionalProperties": { "type": "string" } }, "actions": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "type": "string" } } } }, "required": ["overview", "handlers", "actions"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "threadId": { "type": "string" } }, "required": ["threadId"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "deleted": { "type": "boolean" } }, "required": ["deleted"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "runId": { "type": "string" } }, "required": ["runId"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "deleted": { "type": "boolean" } }, "required": ["deleted"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "agentName": { "type": "string" } }, "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "type": "object", "properties": { "workflowName": { "type": "string" }, "graphHash": { "type": "string" }, "graph": {} }, "required": ["workflowName", "graphHash", "graph"], "additionalProperties": false }, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "id": { "type": "string" } }, "required": ["id"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "alias": { "type": "string" } }, "required": ["alias"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "packageName": { "type": "string" } }, "required": ["packageName"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "$ref": "#/definitions/AddonPackageInfo" }, "definitions": { "AddonPackageInfo": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "displayName": { "type": "string" }, "version": { "type": "string" }, "description": { "type": "string" }, "author": { "type": "string" }, "repository": { "type": "string" }, "license": { "type": "string" }, "readme": { "type": "string" }, "icon": { "type": "string" }, "publishedAt": { "type": "string" }, "updatedAt": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "categories": { "type": "array", "items": { "type": "string" } }, "functions": { "$ref": "#/definitions/FunctionsMeta" }, "agents": { "type": "object", "additionalProperties": {} }, "secrets": { "type": "object", "additionalProperties": {} }, "variables": { "type": "object", "additionalProperties": {} }, "httpRoutes": { "$ref": "#/definitions/HTTPWiringsMeta" }, "channels": { "$ref": "#/definitions/ChannelsMeta" }, "cli": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIProgramMeta" } }, "mcp": { "anyOf": [{ "$ref": "#/definitions/McpMeta" }, { "type": "null" }] }, "schemas": { "type": "object", "additionalProperties": {} } }, "required": ["id", "name", "displayName", "version", "description", "author", "publishedAt", "updatedAt", "tags", "categories", "functions", "agents", "secrets", "variables", "httpRoutes", "channels", "cli", "mcp", "schemas"], "additionalProperties": false }, "FunctionsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/FunctionMeta" } }, "FunctionMeta": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string" }, "functionType": { "type": "string", "enum": ["user", "inline", "helper"] }, "funcWrapper": { "type": "string" }, "services": { "$ref": "#/definitions/FunctionServicesMeta" }, "wires": { "$ref": "#/definitions/FunctionWiresMeta" }, "inputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "outputs": { "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDirectFunction": { "type": "boolean" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "expose": { "type": "boolean" }, "remote": { "type": "boolean" }, "mcp": { "type": "boolean" }, "readonly": { "type": "boolean" }, "sessionless": { "type": "boolean" }, "version": { "type": "number" }, "approvalRequired": { "type": "boolean" }, "approvalDescription": { "type": "string" }, "contractHash": { "type": "string" }, "inputHash": { "type": "string" }, "outputHash": { "type": "string" } }, "required": ["inputSchemaName", "outputSchemaName", "pikkuFuncId"] }, "FunctionServicesMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "FunctionWiresMeta": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "wires": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "wires"], "additionalProperties": false }, "MiddlewareMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for middleware at any level\n- type: 'http' = HTTP route middleware group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based middleware group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual middleware" }, "PermissionMetadata": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }], "description": "Metadata for permissions at any level\n- type: 'http' = HTTP route permission group (references httpGroup in pikkuState)\n- type: 'tag' = Tag-based permission group (references tagGroup in pikkuState)\n- type: 'wire' = Wire-level individual permission" }, "HTTPWiringsMeta": { "type": "object", "properties": { "post": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "get": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "delete": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "patch": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "head": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "put": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/HTTPWiringMeta" } } }, "required": ["post", "get", "delete", "patch", "head", "put", "options"], "additionalProperties": false }, "HTTPWiringMeta": { "type": "object", "additionalProperties": false, "properties": { "route": { "type": "string" }, "method": { "$ref": "#/definitions/HTTPMethod" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "headersSchemaName": { "type": "string" }, "sse": { "type": "boolean", "const": true }, "groupBasePath": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "title": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["method", "pikkuFuncId", "route"], "description": "Represents metadata for a set of HTTP wirings, including HTTP wiring details, methods, input/output types, and documentation." }, "HTTPMethod": { "type": "string", "enum": ["post", "get", "delete", "patch", "head", "put", "options"], "description": "Represents the HTTP methods supported for API HTTP wirings." }, "HTTPFunctionMetaInputTypes": { "type": "object", "properties": { "params": { "type": "string" }, "query": { "type": "string" }, "body": { "type": "string" } }, "additionalProperties": false, "description": "Represents the input types for HTTP wiring metadata, including parameters, query, and body types." }, "ChannelsMeta": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMeta" } }, "ChannelMeta": { "type": "object", "properties": { "name": { "type": "string" }, "route": { "type": "string" }, "params": { "type": "array", "items": { "type": "string" } }, "query": { "type": "array", "items": { "type": "string" } }, "input": { "type": ["string", "null"] }, "inputTypes": { "$ref": "#/definitions/HTTPFunctionMetaInputTypes" }, "connect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "disconnect": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "message": { "anyOf": [{ "$ref": "#/definitions/ChannelMessageMeta" }, { "type": "null" }] }, "messageWirings": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "$ref": "#/definitions/ChannelMessageMeta" } } }, "binary": { "type": ["boolean", "null"] }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "channelMiddleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } } }, "required": ["name", "route", "input", "connect", "disconnect", "message", "messageWirings"], "additionalProperties": false }, "ChannelMessageMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } } }, "required": ["pikkuFuncId"], "additionalProperties": false }, "CLIProgramMeta": { "type": "object", "properties": { "program": { "type": "string" }, "commands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "defaultRenderName": { "type": "string" } }, "required": ["program", "commands", "options"], "additionalProperties": false, "description": "CLI metadata collection (per program)" }, "CLICommandMeta": { "type": "object", "properties": { "parameters": { "type": "string" }, "pikkuFuncId": { "type": "string" }, "packageName": { "type": "string" }, "positionals": { "type": "array", "items": { "$ref": "#/definitions/CLIPositional" } }, "options": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLIOption" } }, "renderName": { "type": "string" }, "summary": { "type": "string" }, "description": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "subcommands": { "type": "object", "additionalProperties": { "$ref": "#/definitions/CLICommandMeta" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "isDefault": { "type": "boolean" } }, "required": ["pikkuFuncId", "positionals", "options"], "additionalProperties": false, "description": "CLI command metadata for runtime" }, "CLIPositional": { "type": "object", "properties": { "name": { "type": "string" }, "required": { "type": "boolean" }, "variadic": { "type": "boolean" } }, "required": ["name", "required"], "additionalProperties": false, "description": "Positional argument definition" }, "CLIOption": { "type": "object", "properties": { "description": { "type": "string" }, "short": { "type": "string" }, "default": {}, "choices": { "type": "array", "items": {} }, "array": { "type": "boolean" }, "required": { "type": "boolean" } }, "required": ["description"], "additionalProperties": false, "description": "CLI option definition" }, "McpMeta": { "type": "object", "properties": { "toolsMeta": { "$ref": "#/definitions/MCPToolMeta" }, "resourcesMeta": { "$ref": "#/definitions/MCPResourceMeta" }, "promptsMeta": { "$ref": "#/definitions/MCPPromptMeta" } }, "required": ["toolsMeta", "resourcesMeta", "promptsMeta"], "additionalProperties": false }, "MCPToolMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } }, "streaming": { "type": "boolean" } }, "required": ["description", "inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP tools, including name, description, and documentation." }, "MCPResourceMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "uri": { "type": "string" }, "title": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "mimeType": { "type": "string" }, "size": { "type": "number" }, "streaming": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["description", "inputSchema", "outputSchema", "pikkuFuncId", "title", "uri"] }, "description": "Represents metadata for MCP resources, including name, description, and documentation." }, "MCPPromptMeta": { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": false, "properties": { "pikkuFuncId": { "type": "string" }, "inputSchema": { "type": ["string", "null"] }, "outputSchema": { "type": ["string", "null"] }, "arguments": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "required": { "type": "boolean" } }, "required": ["name", "description", "required"], "additionalProperties": false } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMetadata" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMetadata" } }, "name": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "errors": { "type": "array", "items": { "type": "string" } }, "tags": { "type": "array", "items": { "type": "string" } } }, "required": ["arguments", "description", "inputSchema", "name", "outputSchema", "pikkuFuncId"] }, "description": "Represents metadata for MCP prompts, including name, description, and arguments." } } }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "threadId": { "type": "string" } }, "required": ["threadId"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "threadId": { "type": "string" } }, "required": ["threadId"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "agentName": { "type": "string" }, "limit": { "type": "number" }, "offset": { "type": "number" } }, "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {}, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "channelName": { "type": "string" } }, "required": ["channelName"], "additionalProperties": false, "definitions": {} }
@@ -0,0 +1 @@
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "$ref": "#/definitions/FunctionMeta" }, "definitions": { "FunctionMeta": { "type": "object", "properties": { "pikkuFuncId": { "type": "string" }, "name": { "type": "string" }, "sessionless": { "type": "boolean" }, "services": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "services": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "services"], "additionalProperties": false }, "inputSchemaName": { "type": ["string", "null"] }, "outputSchemaName": { "type": ["string", "null"] }, "inputs": { "type": "array", "items": { "type": "string" } }, "outputs": { "type": "array", "items": { "type": "string" } }, "summary": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "errors": { "type": "array", "items": { "type": "string" } }, "middleware": { "type": "array", "items": { "$ref": "#/definitions/MiddlewareMeta" } }, "permissions": { "type": "array", "items": { "$ref": "#/definitions/PermissionMeta" } }, "wires": { "type": "object", "properties": { "optimized": { "type": "boolean" }, "wires": { "type": "array", "items": { "type": "string" } } }, "required": ["optimized", "wires"], "additionalProperties": false }, "expose": { "type": "boolean" }, "isDirectFunction": { "type": "boolean" } }, "required": ["pikkuFuncId", "name", "services", "inputSchemaName", "outputSchemaName", "inputs", "outputs", "isDirectFunction"], "additionalProperties": false }, "MiddlewareMeta": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }] }, "PermissionMeta": { "anyOf": [{ "type": "object", "properties": { "type": { "type": "string", "const": "http" }, "route": { "type": "string" } }, "required": ["type", "route"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "tag" }, "tag": { "type": "string" } }, "required": ["type", "tag"], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "const": "wire" }, "name": { "type": "string" }, "inline": { "type": "boolean" } }, "required": ["type", "name"], "additionalProperties": false }] } } }