@bubblelab/bubble-core 0.1.10 → 0.1.12

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 (350) hide show
  1. package/dist/bubble-bundle.d.ts +803 -351
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +130 -35
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-flow/bubble-flow-class.d.ts +5 -0
  6. package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
  7. package/dist/bubble-flow/bubble-flow-class.js +20 -0
  8. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  9. package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts.map +1 -1
  10. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js +6 -3
  11. package/dist/bubble-flow/sample/simplified-data-analysis.flow.js.map +1 -1
  12. package/dist/bubbles/service-bubble/agi-inc.d.ts +1121 -0
  13. package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -0
  14. package/dist/bubbles/service-bubble/agi-inc.js +730 -0
  15. package/dist/bubbles/service-bubble/agi-inc.js.map +1 -0
  16. package/dist/bubbles/service-bubble/ai-agent.d.ts +273 -61
  17. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  18. package/dist/bubbles/service-bubble/ai-agent.js +536 -405
  19. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  20. package/dist/bubbles/service-bubble/airtable.d.ts +1753 -0
  21. package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -0
  22. package/dist/bubbles/service-bubble/airtable.js +1173 -0
  23. package/dist/bubbles/service-bubble/airtable.js.map +1 -0
  24. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +240 -0
  25. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts.map +1 -0
  26. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js +119 -0
  27. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js.map +1 -0
  28. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  29. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +14 -14
  30. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +137 -0
  31. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts.map +1 -0
  32. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js +81 -0
  33. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js.map +1 -0
  34. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +6 -6
  35. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +32 -32
  36. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +488 -0
  37. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts.map +1 -0
  38. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js +463 -0
  39. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js.map +1 -0
  40. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +262 -0
  41. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts.map +1 -0
  42. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js +291 -0
  43. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js.map +1 -0
  44. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  45. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1301 -170
  46. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +32 -0
  48. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
  49. package/dist/bubbles/service-bubble/apify/apify.d.ts +158 -13
  50. package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
  51. package/dist/bubbles/service-bubble/apify/apify.js +222 -37
  52. package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
  53. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +542 -0
  54. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -0
  55. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts +37 -0
  56. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts.map +1 -0
  57. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js +203 -0
  58. package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js.map +1 -0
  59. package/dist/bubbles/service-bubble/browserbase/browserbase.js +593 -0
  60. package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -0
  61. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +518 -0
  62. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -0
  63. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +311 -0
  64. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -0
  65. package/dist/bubbles/service-bubble/browserbase/index.d.ts +3 -0
  66. package/dist/bubbles/service-bubble/browserbase/index.d.ts.map +1 -0
  67. package/dist/bubbles/service-bubble/browserbase/index.js +3 -0
  68. package/dist/bubbles/service-bubble/browserbase/index.js.map +1 -0
  69. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +1358 -0
  70. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -0
  71. package/dist/bubbles/service-bubble/crustdata/crustdata.js +219 -0
  72. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -0
  73. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +1604 -0
  74. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts.map +1 -0
  75. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +194 -0
  76. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +1 -0
  77. package/dist/bubbles/service-bubble/crustdata/index.d.ts +3 -0
  78. package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +1 -0
  79. package/dist/bubbles/service-bubble/crustdata/index.js +3 -0
  80. package/dist/bubbles/service-bubble/crustdata/index.js.map +1 -0
  81. package/dist/bubbles/service-bubble/eleven-labs.d.ts +421 -0
  82. package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -0
  83. package/dist/bubbles/service-bubble/eleven-labs.js +479 -0
  84. package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -0
  85. package/dist/bubbles/service-bubble/firecrawl.d.ts +37748 -0
  86. package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -0
  87. package/dist/bubbles/service-bubble/firecrawl.js +1489 -0
  88. package/dist/bubbles/service-bubble/firecrawl.js.map +1 -0
  89. package/dist/bubbles/service-bubble/followupboss.d.ts +6822 -0
  90. package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -0
  91. package/dist/bubbles/service-bubble/followupboss.js +1394 -0
  92. package/dist/bubbles/service-bubble/followupboss.js.map +1 -0
  93. package/dist/bubbles/service-bubble/github.d.ts +2393 -0
  94. package/dist/bubbles/service-bubble/github.d.ts.map +1 -0
  95. package/dist/bubbles/service-bubble/github.js +1046 -0
  96. package/dist/bubbles/service-bubble/github.js.map +1 -0
  97. package/dist/bubbles/service-bubble/gmail.d.ts +180 -180
  98. package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
  99. package/dist/bubbles/service-bubble/google-drive.d.ts +69 -68
  100. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  101. package/dist/bubbles/service-bubble/google-drive.js +35 -3
  102. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  103. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +943 -0
  104. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -0
  105. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +31 -0
  106. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +1 -0
  107. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +184 -0
  108. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +1 -0
  109. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +401 -0
  110. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -0
  111. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +1024 -0
  112. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts.map +1 -0
  113. package/dist/bubbles/service-bubble/{google-sheets.js → google-sheets/google-sheets.schema.js} +45 -409
  114. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -0
  115. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts +38 -0
  116. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts.map +1 -0
  117. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js +183 -0
  118. package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js.map +1 -0
  119. package/dist/bubbles/service-bubble/google-sheets/index.d.ts +4 -0
  120. package/dist/bubbles/service-bubble/google-sheets/index.d.ts.map +1 -0
  121. package/dist/bubbles/service-bubble/google-sheets/index.js +4 -0
  122. package/dist/bubbles/service-bubble/google-sheets/index.js.map +1 -0
  123. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  124. package/dist/bubbles/service-bubble/http.d.ts +17 -5
  125. package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
  126. package/dist/bubbles/service-bubble/http.integration.flow.d.ts +49 -0
  127. package/dist/bubbles/service-bubble/http.integration.flow.d.ts.map +1 -0
  128. package/dist/bubbles/service-bubble/http.integration.flow.js +425 -0
  129. package/dist/bubbles/service-bubble/http.integration.flow.js.map +1 -0
  130. package/dist/bubbles/service-bubble/http.js +47 -5
  131. package/dist/bubbles/service-bubble/http.js.map +1 -1
  132. package/dist/bubbles/service-bubble/insforge-db.d.ts +140 -0
  133. package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -0
  134. package/dist/bubbles/service-bubble/insforge-db.js +260 -0
  135. package/dist/bubbles/service-bubble/insforge-db.js.map +1 -0
  136. package/dist/bubbles/service-bubble/notion/index.d.ts +3 -0
  137. package/dist/bubbles/service-bubble/notion/index.d.ts.map +1 -0
  138. package/dist/bubbles/service-bubble/notion/index.js +3 -0
  139. package/dist/bubbles/service-bubble/notion/index.js.map +1 -0
  140. package/dist/bubbles/service-bubble/notion/notion.d.ts +35405 -0
  141. package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -0
  142. package/dist/bubbles/service-bubble/notion/notion.js +1492 -0
  143. package/dist/bubbles/service-bubble/notion/notion.js.map +1 -0
  144. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +1148 -0
  145. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts.map +1 -0
  146. package/dist/bubbles/service-bubble/notion/property-schemas.js +341 -0
  147. package/dist/bubbles/service-bubble/notion/property-schemas.js.map +1 -0
  148. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  149. package/dist/bubbles/service-bubble/resend.d.ts +30 -9
  150. package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
  151. package/dist/bubbles/service-bubble/resend.js +133 -2
  152. package/dist/bubbles/service-bubble/resend.js.map +1 -1
  153. package/dist/bubbles/service-bubble/slack.d.ts +1741 -798
  154. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
  155. package/dist/bubbles/service-bubble/slack.js +322 -28
  156. package/dist/bubbles/service-bubble/slack.js.map +1 -1
  157. package/dist/bubbles/service-bubble/storage.d.ts +26 -22
  158. package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
  159. package/dist/bubbles/service-bubble/storage.js +45 -4
  160. package/dist/bubbles/service-bubble/storage.js.map +1 -1
  161. package/dist/bubbles/service-bubble/telegram.d.ts +7742 -0
  162. package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -0
  163. package/dist/bubbles/service-bubble/telegram.js +1132 -0
  164. package/dist/bubbles/service-bubble/telegram.js.map +1 -0
  165. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +494 -0
  166. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts.map +1 -0
  167. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts +31 -0
  168. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts.map +1 -0
  169. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js +100 -0
  170. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js.map +1 -0
  171. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js +1301 -0
  172. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js.map +1 -0
  173. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +473 -0
  174. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts.map +1 -0
  175. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js +230 -0
  176. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js.map +1 -0
  177. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts +3 -0
  178. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts.map +1 -0
  179. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js +3 -0
  180. package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js.map +1 -0
  181. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +76 -20
  182. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts.map +1 -1
  183. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js +12 -0
  184. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js.map +1 -1
  185. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +14 -14
  186. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +188 -0
  187. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -0
  188. package/dist/bubbles/tool-bubble/code-edit-tool.js +321 -0
  189. package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -0
  190. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +740 -0
  191. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts.map +1 -0
  192. package/dist/bubbles/tool-bubble/company-enrichment-tool.js +350 -0
  193. package/dist/bubbles/tool-bubble/company-enrichment-tool.js.map +1 -0
  194. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -4
  195. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
  196. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +115 -10
  197. package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
  198. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +455 -0
  199. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts.map +1 -0
  200. package/dist/bubbles/tool-bubble/google-maps-tool.js +206 -0
  201. package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -0
  202. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +36 -36
  203. package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
  204. package/dist/bubbles/tool-bubble/instagram-tool.js +4 -2
  205. package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
  206. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +830 -453
  207. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
  208. package/dist/bubbles/tool-bubble/linkedin-tool.js +236 -14
  209. package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
  210. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  211. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +66 -66
  212. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +17 -16
  213. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
  214. package/dist/bubbles/tool-bubble/research-agent-tool.js +32 -17
  215. package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
  216. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  217. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +485 -0
  218. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts.map +1 -0
  219. package/dist/bubbles/tool-bubble/tiktok-tool.js +226 -0
  220. package/dist/bubbles/tool-bubble/tiktok-tool.js.map +1 -0
  221. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  222. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +947 -0
  223. package/dist/bubbles/tool-bubble/twitter-tool.d.ts.map +1 -0
  224. package/dist/bubbles/tool-bubble/twitter-tool.js +497 -0
  225. package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -0
  226. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -16
  227. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts.map +1 -1
  228. package/dist/bubbles/tool-bubble/web-crawl-tool.js +58 -59
  229. package/dist/bubbles/tool-bubble/web-crawl-tool.js.map +1 -1
  230. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  231. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts.map +1 -1
  232. package/dist/bubbles/tool-bubble/web-extract-tool.js +17 -17
  233. package/dist/bubbles/tool-bubble/web-extract-tool.js.map +1 -1
  234. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +21 -113
  235. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
  236. package/dist/bubbles/tool-bubble/web-scrape-tool.js +55 -73
  237. package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
  238. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +20 -9
  239. package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
  240. package/dist/bubbles/tool-bubble/web-search-tool.js +45 -35
  241. package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
  242. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +25 -25
  243. package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -1
  244. package/dist/bubbles/tool-bubble/youtube-tool.js +8 -5
  245. package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -1
  246. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  247. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +30 -30
  248. package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
  249. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +22 -22
  250. package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
  251. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +70 -70
  252. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
  253. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js +4 -4
  254. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
  255. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
  256. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +1 -1
  257. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +14 -14
  258. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts.map +1 -1
  259. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +6 -6
  260. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
  261. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +18 -18
  262. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts.map +1 -1
  263. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +24 -4
  264. package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
  265. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +19 -19
  266. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts.map +1 -1
  267. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +8 -8
  268. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
  269. package/dist/bubbles.json +260 -77
  270. package/dist/index.d.ts +25 -4
  271. package/dist/index.d.ts.map +1 -1
  272. package/dist/index.js +18 -3
  273. package/dist/index.js.map +1 -1
  274. package/dist/logging/BubbleLogger.d.ts +55 -16
  275. package/dist/logging/BubbleLogger.d.ts.map +1 -1
  276. package/dist/logging/BubbleLogger.js +192 -77
  277. package/dist/logging/BubbleLogger.js.map +1 -1
  278. package/dist/logging/StreamingBubbleLogger.d.ts +21 -1
  279. package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
  280. package/dist/logging/StreamingBubbleLogger.js +80 -8
  281. package/dist/logging/StreamingBubbleLogger.js.map +1 -1
  282. package/dist/logging/WebhookStreamLogger.d.ts +66 -0
  283. package/dist/logging/WebhookStreamLogger.d.ts.map +1 -0
  284. package/dist/logging/WebhookStreamLogger.js +291 -0
  285. package/dist/logging/WebhookStreamLogger.js.map +1 -0
  286. package/dist/types/available-tools.d.ts +1 -1
  287. package/dist/types/available-tools.d.ts.map +1 -1
  288. package/dist/types/available-tools.js +7 -0
  289. package/dist/types/available-tools.js.map +1 -1
  290. package/dist/types/base-bubble-class.d.ts +6 -4
  291. package/dist/types/base-bubble-class.d.ts.map +1 -1
  292. package/dist/types/base-bubble-class.js +30 -23
  293. package/dist/types/base-bubble-class.js.map +1 -1
  294. package/dist/types/bubble.d.ts +2 -0
  295. package/dist/types/bubble.d.ts.map +1 -1
  296. package/dist/types/service-bubble-class.d.ts +1 -1
  297. package/dist/types/service-bubble-class.d.ts.map +1 -1
  298. package/dist/types/service-bubble-class.js +2 -2
  299. package/dist/types/service-bubble-class.js.map +1 -1
  300. package/dist/types/tool-bubble-class.d.ts +1 -1
  301. package/dist/types/tool-bubble-class.d.ts.map +1 -1
  302. package/dist/types/tool-bubble-class.js +60 -10
  303. package/dist/types/tool-bubble-class.js.map +1 -1
  304. package/dist/types/workflow-bubble-class.d.ts +1 -1
  305. package/dist/types/workflow-bubble-class.d.ts.map +1 -1
  306. package/dist/types/workflow-bubble-class.js +2 -2
  307. package/dist/types/workflow-bubble-class.js.map +1 -1
  308. package/dist/utils/agent-formatter.d.ts +14 -2
  309. package/dist/utils/agent-formatter.d.ts.map +1 -1
  310. package/dist/utils/agent-formatter.js +174 -26
  311. package/dist/utils/agent-formatter.js.map +1 -1
  312. package/dist/utils/bubbleflow-validation.d.ts +7 -0
  313. package/dist/utils/bubbleflow-validation.d.ts.map +1 -1
  314. package/dist/utils/bubbleflow-validation.js +171 -6
  315. package/dist/utils/bubbleflow-validation.js.map +1 -1
  316. package/dist/utils/json-parsing.d.ts.map +1 -1
  317. package/dist/utils/json-parsing.js +146 -0
  318. package/dist/utils/json-parsing.js.map +1 -1
  319. package/dist/utils/safe-gemini-chat.d.ts +31 -0
  320. package/dist/utils/safe-gemini-chat.d.ts.map +1 -0
  321. package/dist/utils/safe-gemini-chat.js +93 -0
  322. package/dist/utils/safe-gemini-chat.js.map +1 -0
  323. package/dist/utils/schema-comparison.d.ts +92 -0
  324. package/dist/utils/schema-comparison.d.ts.map +1 -0
  325. package/dist/utils/schema-comparison.js +716 -0
  326. package/dist/utils/schema-comparison.js.map +1 -0
  327. package/dist/utils/zod-schema.d.ts +24 -0
  328. package/dist/utils/zod-schema.d.ts.map +1 -0
  329. package/dist/utils/zod-schema.js +56 -0
  330. package/dist/utils/zod-schema.js.map +1 -0
  331. package/package.json +6 -4
  332. package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
  333. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
  334. package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
  335. package/dist/bubbles/service-bubble/x-twitter.d.ts +0 -814
  336. package/dist/bubbles/service-bubble/x-twitter.d.ts.map +0 -1
  337. package/dist/bubbles/service-bubble/x-twitter.js +0 -445
  338. package/dist/bubbles/service-bubble/x-twitter.js.map +0 -1
  339. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -125
  340. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
  341. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -808
  342. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
  343. package/dist/test-gm.d.ts +0 -10
  344. package/dist/test-gm.d.ts.map +0 -1
  345. package/dist/test-gm.js +0 -95
  346. package/dist/test-gm.js.map +0 -1
  347. package/dist/utils/param-helper.d.ts +0 -2
  348. package/dist/utils/param-helper.d.ts.map +0 -1
  349. package/dist/utils/param-helper.js +0 -5
  350. package/dist/utils/param-helper.js.map +0 -1
@@ -0,0 +1,2393 @@
1
+ import { z } from 'zod';
2
+ import { ServiceBubble } from '../../types/service-bubble-class.js';
3
+ import type { BubbleContext } from '../../types/bubble.js';
4
+ import { CredentialType } from '@bubblelab/shared-schemas';
5
+ declare const GithubParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
6
+ operation: z.ZodLiteral<"get_file">;
7
+ owner: z.ZodString;
8
+ repo: z.ZodString;
9
+ path: z.ZodString;
10
+ ref: z.ZodOptional<z.ZodString>;
11
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ path: string;
14
+ operation: "get_file";
15
+ owner: string;
16
+ repo: string;
17
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
18
+ ref?: string | undefined;
19
+ }, {
20
+ path: string;
21
+ operation: "get_file";
22
+ owner: string;
23
+ repo: string;
24
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
25
+ ref?: string | undefined;
26
+ }>, z.ZodObject<{
27
+ operation: z.ZodLiteral<"get_directory">;
28
+ owner: z.ZodString;
29
+ repo: z.ZodString;
30
+ path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
31
+ ref: z.ZodOptional<z.ZodString>;
32
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ path: string;
35
+ operation: "get_directory";
36
+ owner: string;
37
+ repo: string;
38
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
39
+ ref?: string | undefined;
40
+ }, {
41
+ operation: "get_directory";
42
+ owner: string;
43
+ repo: string;
44
+ path?: string | undefined;
45
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
46
+ ref?: string | undefined;
47
+ }>, z.ZodObject<{
48
+ operation: z.ZodLiteral<"list_pull_requests">;
49
+ owner: z.ZodString;
50
+ repo: z.ZodString;
51
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
52
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "popularity", "long-running"]>>>;
53
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
54
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
55
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
56
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ sort: "created" | "updated" | "popularity" | "long-running";
59
+ operation: "list_pull_requests";
60
+ owner: string;
61
+ page: number;
62
+ state: "all" | "open" | "closed";
63
+ repo: string;
64
+ direction: "asc" | "desc";
65
+ per_page: number;
66
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
67
+ }, {
68
+ operation: "list_pull_requests";
69
+ owner: string;
70
+ repo: string;
71
+ sort?: "created" | "updated" | "popularity" | "long-running" | undefined;
72
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
73
+ page?: number | undefined;
74
+ state?: "all" | "open" | "closed" | undefined;
75
+ direction?: "asc" | "desc" | undefined;
76
+ per_page?: number | undefined;
77
+ }>, z.ZodObject<{
78
+ operation: z.ZodLiteral<"get_pull_request">;
79
+ owner: z.ZodString;
80
+ repo: z.ZodString;
81
+ pull_number: z.ZodNumber;
82
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ operation: "get_pull_request";
85
+ owner: string;
86
+ repo: string;
87
+ pull_number: number;
88
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
89
+ }, {
90
+ operation: "get_pull_request";
91
+ owner: string;
92
+ repo: string;
93
+ pull_number: number;
94
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
95
+ }>, z.ZodObject<{
96
+ operation: z.ZodLiteral<"create_pr_comment">;
97
+ owner: z.ZodString;
98
+ repo: z.ZodString;
99
+ pull_number: z.ZodNumber;
100
+ body: z.ZodString;
101
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ operation: "create_pr_comment";
104
+ body: string;
105
+ owner: string;
106
+ repo: string;
107
+ pull_number: number;
108
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
109
+ }, {
110
+ operation: "create_pr_comment";
111
+ body: string;
112
+ owner: string;
113
+ repo: string;
114
+ pull_number: number;
115
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
116
+ }>, z.ZodObject<{
117
+ operation: z.ZodLiteral<"list_repositories">;
118
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["all", "public", "private"]>>>;
119
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "pushed", "full_name"]>>>;
120
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
121
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
122
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
123
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ sort: "created" | "updated" | "full_name" | "pushed";
126
+ operation: "list_repositories";
127
+ page: number;
128
+ visibility: "public" | "private" | "all";
129
+ direction: "asc" | "desc";
130
+ per_page: number;
131
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
132
+ }, {
133
+ operation: "list_repositories";
134
+ sort?: "created" | "updated" | "full_name" | "pushed" | undefined;
135
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
136
+ page?: number | undefined;
137
+ visibility?: "public" | "private" | "all" | undefined;
138
+ direction?: "asc" | "desc" | undefined;
139
+ per_page?: number | undefined;
140
+ }>, z.ZodObject<{
141
+ operation: z.ZodLiteral<"get_repository">;
142
+ owner: z.ZodString;
143
+ repo: z.ZodString;
144
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ operation: "get_repository";
147
+ owner: string;
148
+ repo: string;
149
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
150
+ }, {
151
+ operation: "get_repository";
152
+ owner: string;
153
+ repo: string;
154
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
155
+ }>, z.ZodObject<{
156
+ operation: z.ZodLiteral<"create_issue_comment">;
157
+ owner: z.ZodString;
158
+ repo: z.ZodString;
159
+ issue_number: z.ZodNumber;
160
+ body: z.ZodString;
161
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ operation: "create_issue_comment";
164
+ body: string;
165
+ owner: string;
166
+ repo: string;
167
+ issue_number: number;
168
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
169
+ }, {
170
+ operation: "create_issue_comment";
171
+ body: string;
172
+ owner: string;
173
+ repo: string;
174
+ issue_number: number;
175
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
176
+ }>, z.ZodObject<{
177
+ operation: z.ZodLiteral<"list_issues">;
178
+ owner: z.ZodString;
179
+ repo: z.ZodString;
180
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
181
+ labels: z.ZodOptional<z.ZodString>;
182
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "comments"]>>>;
183
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
184
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
185
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
186
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ sort: "created" | "updated" | "comments";
189
+ operation: "list_issues";
190
+ owner: string;
191
+ page: number;
192
+ state: "all" | "open" | "closed";
193
+ repo: string;
194
+ direction: "asc" | "desc";
195
+ per_page: number;
196
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
197
+ labels?: string | undefined;
198
+ }, {
199
+ operation: "list_issues";
200
+ owner: string;
201
+ repo: string;
202
+ sort?: "created" | "updated" | "comments" | undefined;
203
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
204
+ labels?: string | undefined;
205
+ page?: number | undefined;
206
+ state?: "all" | "open" | "closed" | undefined;
207
+ direction?: "asc" | "desc" | undefined;
208
+ per_page?: number | undefined;
209
+ }>]>;
210
+ declare const GithubResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
211
+ operation: z.ZodLiteral<"get_file">;
212
+ success: z.ZodBoolean;
213
+ error: z.ZodString;
214
+ } & {
215
+ name: z.ZodOptional<z.ZodString>;
216
+ path: z.ZodOptional<z.ZodString>;
217
+ sha: z.ZodOptional<z.ZodString>;
218
+ size: z.ZodOptional<z.ZodNumber>;
219
+ url: z.ZodOptional<z.ZodString>;
220
+ html_url: z.ZodOptional<z.ZodString>;
221
+ git_url: z.ZodOptional<z.ZodString>;
222
+ download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ type: z.ZodOptional<z.ZodEnum<["file", "dir", "symlink", "submodule"]>>;
224
+ content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
225
+ encoding: z.ZodOptional<z.ZodOptional<z.ZodString>>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ error: string;
228
+ success: boolean;
229
+ operation: "get_file";
230
+ path?: string | undefined;
231
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
232
+ name?: string | undefined;
233
+ content?: string | undefined;
234
+ url?: string | undefined;
235
+ size?: number | undefined;
236
+ sha?: string | undefined;
237
+ html_url?: string | undefined;
238
+ git_url?: string | undefined;
239
+ download_url?: string | null | undefined;
240
+ encoding?: string | undefined;
241
+ }, {
242
+ error: string;
243
+ success: boolean;
244
+ operation: "get_file";
245
+ path?: string | undefined;
246
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
247
+ name?: string | undefined;
248
+ content?: string | undefined;
249
+ url?: string | undefined;
250
+ size?: number | undefined;
251
+ sha?: string | undefined;
252
+ html_url?: string | undefined;
253
+ git_url?: string | undefined;
254
+ download_url?: string | null | undefined;
255
+ encoding?: string | undefined;
256
+ }>, z.ZodObject<{
257
+ operation: z.ZodLiteral<"get_directory">;
258
+ success: z.ZodBoolean;
259
+ error: z.ZodString;
260
+ contents: z.ZodOptional<z.ZodArray<z.ZodObject<{
261
+ name: z.ZodString;
262
+ path: z.ZodString;
263
+ sha: z.ZodString;
264
+ size: z.ZodNumber;
265
+ url: z.ZodString;
266
+ html_url: z.ZodString;
267
+ git_url: z.ZodString;
268
+ download_url: z.ZodNullable<z.ZodString>;
269
+ type: z.ZodEnum<["file", "dir", "symlink", "submodule"]>;
270
+ content: z.ZodOptional<z.ZodString>;
271
+ encoding: z.ZodOptional<z.ZodString>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ path: string;
274
+ type: "file" | "dir" | "symlink" | "submodule";
275
+ name: string;
276
+ url: string;
277
+ size: number;
278
+ sha: string;
279
+ html_url: string;
280
+ git_url: string;
281
+ download_url: string | null;
282
+ content?: string | undefined;
283
+ encoding?: string | undefined;
284
+ }, {
285
+ path: string;
286
+ type: "file" | "dir" | "symlink" | "submodule";
287
+ name: string;
288
+ url: string;
289
+ size: number;
290
+ sha: string;
291
+ html_url: string;
292
+ git_url: string;
293
+ download_url: string | null;
294
+ content?: string | undefined;
295
+ encoding?: string | undefined;
296
+ }>, "many">>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ error: string;
299
+ success: boolean;
300
+ operation: "get_directory";
301
+ contents?: {
302
+ path: string;
303
+ type: "file" | "dir" | "symlink" | "submodule";
304
+ name: string;
305
+ url: string;
306
+ size: number;
307
+ sha: string;
308
+ html_url: string;
309
+ git_url: string;
310
+ download_url: string | null;
311
+ content?: string | undefined;
312
+ encoding?: string | undefined;
313
+ }[] | undefined;
314
+ }, {
315
+ error: string;
316
+ success: boolean;
317
+ operation: "get_directory";
318
+ contents?: {
319
+ path: string;
320
+ type: "file" | "dir" | "symlink" | "submodule";
321
+ name: string;
322
+ url: string;
323
+ size: number;
324
+ sha: string;
325
+ html_url: string;
326
+ git_url: string;
327
+ download_url: string | null;
328
+ content?: string | undefined;
329
+ encoding?: string | undefined;
330
+ }[] | undefined;
331
+ }>, z.ZodObject<{
332
+ operation: z.ZodLiteral<"list_pull_requests">;
333
+ success: z.ZodBoolean;
334
+ error: z.ZodString;
335
+ pull_requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
336
+ id: z.ZodNumber;
337
+ node_id: z.ZodString;
338
+ number: z.ZodNumber;
339
+ state: z.ZodEnum<["open", "closed"]>;
340
+ title: z.ZodString;
341
+ body: z.ZodNullable<z.ZodString>;
342
+ created_at: z.ZodString;
343
+ updated_at: z.ZodString;
344
+ closed_at: z.ZodNullable<z.ZodString>;
345
+ merged_at: z.ZodNullable<z.ZodString>;
346
+ user: z.ZodObject<{
347
+ login: z.ZodString;
348
+ id: z.ZodNumber;
349
+ avatar_url: z.ZodString;
350
+ }, "strip", z.ZodTypeAny, {
351
+ id: number;
352
+ login: string;
353
+ avatar_url: string;
354
+ }, {
355
+ id: number;
356
+ login: string;
357
+ avatar_url: string;
358
+ }>;
359
+ html_url: z.ZodString;
360
+ draft: z.ZodBoolean;
361
+ head: z.ZodObject<{
362
+ ref: z.ZodString;
363
+ sha: z.ZodString;
364
+ }, "strip", z.ZodTypeAny, {
365
+ sha: string;
366
+ ref: string;
367
+ }, {
368
+ sha: string;
369
+ ref: string;
370
+ }>;
371
+ base: z.ZodObject<{
372
+ ref: z.ZodString;
373
+ sha: z.ZodString;
374
+ }, "strip", z.ZodTypeAny, {
375
+ sha: string;
376
+ ref: string;
377
+ }, {
378
+ sha: string;
379
+ ref: string;
380
+ }>;
381
+ merged: z.ZodOptional<z.ZodBoolean>;
382
+ mergeable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
383
+ mergeable_state: z.ZodOptional<z.ZodString>;
384
+ comments: z.ZodOptional<z.ZodNumber>;
385
+ review_comments: z.ZodOptional<z.ZodNumber>;
386
+ commits: z.ZodOptional<z.ZodNumber>;
387
+ additions: z.ZodOptional<z.ZodNumber>;
388
+ deletions: z.ZodOptional<z.ZodNumber>;
389
+ changed_files: z.ZodOptional<z.ZodNumber>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ number: number;
392
+ title: string;
393
+ id: number;
394
+ user: {
395
+ id: number;
396
+ login: string;
397
+ avatar_url: string;
398
+ };
399
+ body: string | null;
400
+ created_at: string;
401
+ draft: boolean;
402
+ state: "open" | "closed";
403
+ html_url: string;
404
+ node_id: string;
405
+ updated_at: string;
406
+ closed_at: string | null;
407
+ merged_at: string | null;
408
+ head: {
409
+ sha: string;
410
+ ref: string;
411
+ };
412
+ base: {
413
+ sha: string;
414
+ ref: string;
415
+ };
416
+ comments?: number | undefined;
417
+ merged?: boolean | undefined;
418
+ mergeable?: boolean | null | undefined;
419
+ mergeable_state?: string | undefined;
420
+ review_comments?: number | undefined;
421
+ commits?: number | undefined;
422
+ additions?: number | undefined;
423
+ deletions?: number | undefined;
424
+ changed_files?: number | undefined;
425
+ }, {
426
+ number: number;
427
+ title: string;
428
+ id: number;
429
+ user: {
430
+ id: number;
431
+ login: string;
432
+ avatar_url: string;
433
+ };
434
+ body: string | null;
435
+ created_at: string;
436
+ draft: boolean;
437
+ state: "open" | "closed";
438
+ html_url: string;
439
+ node_id: string;
440
+ updated_at: string;
441
+ closed_at: string | null;
442
+ merged_at: string | null;
443
+ head: {
444
+ sha: string;
445
+ ref: string;
446
+ };
447
+ base: {
448
+ sha: string;
449
+ ref: string;
450
+ };
451
+ comments?: number | undefined;
452
+ merged?: boolean | undefined;
453
+ mergeable?: boolean | null | undefined;
454
+ mergeable_state?: string | undefined;
455
+ review_comments?: number | undefined;
456
+ commits?: number | undefined;
457
+ additions?: number | undefined;
458
+ deletions?: number | undefined;
459
+ changed_files?: number | undefined;
460
+ }>, "many">>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ error: string;
463
+ success: boolean;
464
+ operation: "list_pull_requests";
465
+ pull_requests?: {
466
+ number: number;
467
+ title: string;
468
+ id: number;
469
+ user: {
470
+ id: number;
471
+ login: string;
472
+ avatar_url: string;
473
+ };
474
+ body: string | null;
475
+ created_at: string;
476
+ draft: boolean;
477
+ state: "open" | "closed";
478
+ html_url: string;
479
+ node_id: string;
480
+ updated_at: string;
481
+ closed_at: string | null;
482
+ merged_at: string | null;
483
+ head: {
484
+ sha: string;
485
+ ref: string;
486
+ };
487
+ base: {
488
+ sha: string;
489
+ ref: string;
490
+ };
491
+ comments?: number | undefined;
492
+ merged?: boolean | undefined;
493
+ mergeable?: boolean | null | undefined;
494
+ mergeable_state?: string | undefined;
495
+ review_comments?: number | undefined;
496
+ commits?: number | undefined;
497
+ additions?: number | undefined;
498
+ deletions?: number | undefined;
499
+ changed_files?: number | undefined;
500
+ }[] | undefined;
501
+ }, {
502
+ error: string;
503
+ success: boolean;
504
+ operation: "list_pull_requests";
505
+ pull_requests?: {
506
+ number: number;
507
+ title: string;
508
+ id: number;
509
+ user: {
510
+ id: number;
511
+ login: string;
512
+ avatar_url: string;
513
+ };
514
+ body: string | null;
515
+ created_at: string;
516
+ draft: boolean;
517
+ state: "open" | "closed";
518
+ html_url: string;
519
+ node_id: string;
520
+ updated_at: string;
521
+ closed_at: string | null;
522
+ merged_at: string | null;
523
+ head: {
524
+ sha: string;
525
+ ref: string;
526
+ };
527
+ base: {
528
+ sha: string;
529
+ ref: string;
530
+ };
531
+ comments?: number | undefined;
532
+ merged?: boolean | undefined;
533
+ mergeable?: boolean | null | undefined;
534
+ mergeable_state?: string | undefined;
535
+ review_comments?: number | undefined;
536
+ commits?: number | undefined;
537
+ additions?: number | undefined;
538
+ deletions?: number | undefined;
539
+ changed_files?: number | undefined;
540
+ }[] | undefined;
541
+ }>, z.ZodObject<{
542
+ operation: z.ZodLiteral<"get_pull_request">;
543
+ success: z.ZodBoolean;
544
+ error: z.ZodString;
545
+ } & {
546
+ id: z.ZodOptional<z.ZodNumber>;
547
+ node_id: z.ZodOptional<z.ZodString>;
548
+ number: z.ZodOptional<z.ZodNumber>;
549
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
550
+ title: z.ZodOptional<z.ZodString>;
551
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
552
+ created_at: z.ZodOptional<z.ZodString>;
553
+ updated_at: z.ZodOptional<z.ZodString>;
554
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
+ merged_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
556
+ user: z.ZodOptional<z.ZodObject<{
557
+ login: z.ZodString;
558
+ id: z.ZodNumber;
559
+ avatar_url: z.ZodString;
560
+ }, "strip", z.ZodTypeAny, {
561
+ id: number;
562
+ login: string;
563
+ avatar_url: string;
564
+ }, {
565
+ id: number;
566
+ login: string;
567
+ avatar_url: string;
568
+ }>>;
569
+ html_url: z.ZodOptional<z.ZodString>;
570
+ draft: z.ZodOptional<z.ZodBoolean>;
571
+ head: z.ZodOptional<z.ZodObject<{
572
+ ref: z.ZodString;
573
+ sha: z.ZodString;
574
+ }, "strip", z.ZodTypeAny, {
575
+ sha: string;
576
+ ref: string;
577
+ }, {
578
+ sha: string;
579
+ ref: string;
580
+ }>>;
581
+ base: z.ZodOptional<z.ZodObject<{
582
+ ref: z.ZodString;
583
+ sha: z.ZodString;
584
+ }, "strip", z.ZodTypeAny, {
585
+ sha: string;
586
+ ref: string;
587
+ }, {
588
+ sha: string;
589
+ ref: string;
590
+ }>>;
591
+ merged: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
592
+ mergeable: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
593
+ mergeable_state: z.ZodOptional<z.ZodOptional<z.ZodString>>;
594
+ comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
595
+ review_comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
596
+ commits: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
597
+ additions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
598
+ deletions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
599
+ changed_files: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
600
+ }, "strip", z.ZodTypeAny, {
601
+ error: string;
602
+ success: boolean;
603
+ operation: "get_pull_request";
604
+ number?: number | undefined;
605
+ title?: string | undefined;
606
+ id?: number | undefined;
607
+ user?: {
608
+ id: number;
609
+ login: string;
610
+ avatar_url: string;
611
+ } | undefined;
612
+ body?: string | null | undefined;
613
+ created_at?: string | undefined;
614
+ draft?: boolean | undefined;
615
+ comments?: number | undefined;
616
+ state?: "open" | "closed" | undefined;
617
+ html_url?: string | undefined;
618
+ node_id?: string | undefined;
619
+ updated_at?: string | undefined;
620
+ closed_at?: string | null | undefined;
621
+ merged_at?: string | null | undefined;
622
+ head?: {
623
+ sha: string;
624
+ ref: string;
625
+ } | undefined;
626
+ base?: {
627
+ sha: string;
628
+ ref: string;
629
+ } | undefined;
630
+ merged?: boolean | undefined;
631
+ mergeable?: boolean | null | undefined;
632
+ mergeable_state?: string | undefined;
633
+ review_comments?: number | undefined;
634
+ commits?: number | undefined;
635
+ additions?: number | undefined;
636
+ deletions?: number | undefined;
637
+ changed_files?: number | undefined;
638
+ }, {
639
+ error: string;
640
+ success: boolean;
641
+ operation: "get_pull_request";
642
+ number?: number | undefined;
643
+ title?: string | undefined;
644
+ id?: number | undefined;
645
+ user?: {
646
+ id: number;
647
+ login: string;
648
+ avatar_url: string;
649
+ } | undefined;
650
+ body?: string | null | undefined;
651
+ created_at?: string | undefined;
652
+ draft?: boolean | undefined;
653
+ comments?: number | undefined;
654
+ state?: "open" | "closed" | undefined;
655
+ html_url?: string | undefined;
656
+ node_id?: string | undefined;
657
+ updated_at?: string | undefined;
658
+ closed_at?: string | null | undefined;
659
+ merged_at?: string | null | undefined;
660
+ head?: {
661
+ sha: string;
662
+ ref: string;
663
+ } | undefined;
664
+ base?: {
665
+ sha: string;
666
+ ref: string;
667
+ } | undefined;
668
+ merged?: boolean | undefined;
669
+ mergeable?: boolean | null | undefined;
670
+ mergeable_state?: string | undefined;
671
+ review_comments?: number | undefined;
672
+ commits?: number | undefined;
673
+ additions?: number | undefined;
674
+ deletions?: number | undefined;
675
+ changed_files?: number | undefined;
676
+ }>, z.ZodObject<{
677
+ operation: z.ZodLiteral<"create_pr_comment">;
678
+ success: z.ZodBoolean;
679
+ error: z.ZodString;
680
+ } & {
681
+ id: z.ZodOptional<z.ZodNumber>;
682
+ node_id: z.ZodOptional<z.ZodString>;
683
+ body: z.ZodOptional<z.ZodString>;
684
+ user: z.ZodOptional<z.ZodObject<{
685
+ login: z.ZodString;
686
+ id: z.ZodNumber;
687
+ }, "strip", z.ZodTypeAny, {
688
+ id: number;
689
+ login: string;
690
+ }, {
691
+ id: number;
692
+ login: string;
693
+ }>>;
694
+ created_at: z.ZodOptional<z.ZodString>;
695
+ updated_at: z.ZodOptional<z.ZodString>;
696
+ html_url: z.ZodOptional<z.ZodString>;
697
+ }, "strip", z.ZodTypeAny, {
698
+ error: string;
699
+ success: boolean;
700
+ operation: "create_pr_comment";
701
+ id?: number | undefined;
702
+ user?: {
703
+ id: number;
704
+ login: string;
705
+ } | undefined;
706
+ body?: string | undefined;
707
+ created_at?: string | undefined;
708
+ html_url?: string | undefined;
709
+ node_id?: string | undefined;
710
+ updated_at?: string | undefined;
711
+ }, {
712
+ error: string;
713
+ success: boolean;
714
+ operation: "create_pr_comment";
715
+ id?: number | undefined;
716
+ user?: {
717
+ id: number;
718
+ login: string;
719
+ } | undefined;
720
+ body?: string | undefined;
721
+ created_at?: string | undefined;
722
+ html_url?: string | undefined;
723
+ node_id?: string | undefined;
724
+ updated_at?: string | undefined;
725
+ }>, z.ZodObject<{
726
+ operation: z.ZodLiteral<"list_repositories">;
727
+ success: z.ZodBoolean;
728
+ error: z.ZodString;
729
+ repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
730
+ id: z.ZodNumber;
731
+ node_id: z.ZodString;
732
+ name: z.ZodString;
733
+ full_name: z.ZodString;
734
+ private: z.ZodBoolean;
735
+ owner: z.ZodObject<{
736
+ login: z.ZodString;
737
+ id: z.ZodNumber;
738
+ avatar_url: z.ZodString;
739
+ html_url: z.ZodString;
740
+ }, "strip", z.ZodTypeAny, {
741
+ id: number;
742
+ html_url: string;
743
+ login: string;
744
+ avatar_url: string;
745
+ }, {
746
+ id: number;
747
+ html_url: string;
748
+ login: string;
749
+ avatar_url: string;
750
+ }>;
751
+ html_url: z.ZodString;
752
+ description: z.ZodNullable<z.ZodString>;
753
+ fork: z.ZodBoolean;
754
+ created_at: z.ZodString;
755
+ updated_at: z.ZodString;
756
+ pushed_at: z.ZodString;
757
+ size: z.ZodNumber;
758
+ stargazers_count: z.ZodNumber;
759
+ watchers_count: z.ZodNumber;
760
+ language: z.ZodNullable<z.ZodString>;
761
+ forks_count: z.ZodNumber;
762
+ open_issues_count: z.ZodNumber;
763
+ default_branch: z.ZodString;
764
+ visibility: z.ZodOptional<z.ZodString>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ description: string | null;
767
+ name: string;
768
+ id: number;
769
+ size: number;
770
+ private: boolean;
771
+ created_at: string;
772
+ owner: {
773
+ id: number;
774
+ html_url: string;
775
+ login: string;
776
+ avatar_url: string;
777
+ };
778
+ full_name: string;
779
+ language: string | null;
780
+ html_url: string;
781
+ node_id: string;
782
+ fork: boolean;
783
+ updated_at: string;
784
+ pushed_at: string;
785
+ stargazers_count: number;
786
+ watchers_count: number;
787
+ forks_count: number;
788
+ open_issues_count: number;
789
+ default_branch: string;
790
+ visibility?: string | undefined;
791
+ }, {
792
+ description: string | null;
793
+ name: string;
794
+ id: number;
795
+ size: number;
796
+ private: boolean;
797
+ created_at: string;
798
+ owner: {
799
+ id: number;
800
+ html_url: string;
801
+ login: string;
802
+ avatar_url: string;
803
+ };
804
+ full_name: string;
805
+ language: string | null;
806
+ html_url: string;
807
+ node_id: string;
808
+ fork: boolean;
809
+ updated_at: string;
810
+ pushed_at: string;
811
+ stargazers_count: number;
812
+ watchers_count: number;
813
+ forks_count: number;
814
+ open_issues_count: number;
815
+ default_branch: string;
816
+ visibility?: string | undefined;
817
+ }>, "many">>;
818
+ }, "strip", z.ZodTypeAny, {
819
+ error: string;
820
+ success: boolean;
821
+ operation: "list_repositories";
822
+ repositories?: {
823
+ description: string | null;
824
+ name: string;
825
+ id: number;
826
+ size: number;
827
+ private: boolean;
828
+ created_at: string;
829
+ owner: {
830
+ id: number;
831
+ html_url: string;
832
+ login: string;
833
+ avatar_url: string;
834
+ };
835
+ full_name: string;
836
+ language: string | null;
837
+ html_url: string;
838
+ node_id: string;
839
+ fork: boolean;
840
+ updated_at: string;
841
+ pushed_at: string;
842
+ stargazers_count: number;
843
+ watchers_count: number;
844
+ forks_count: number;
845
+ open_issues_count: number;
846
+ default_branch: string;
847
+ visibility?: string | undefined;
848
+ }[] | undefined;
849
+ }, {
850
+ error: string;
851
+ success: boolean;
852
+ operation: "list_repositories";
853
+ repositories?: {
854
+ description: string | null;
855
+ name: string;
856
+ id: number;
857
+ size: number;
858
+ private: boolean;
859
+ created_at: string;
860
+ owner: {
861
+ id: number;
862
+ html_url: string;
863
+ login: string;
864
+ avatar_url: string;
865
+ };
866
+ full_name: string;
867
+ language: string | null;
868
+ html_url: string;
869
+ node_id: string;
870
+ fork: boolean;
871
+ updated_at: string;
872
+ pushed_at: string;
873
+ stargazers_count: number;
874
+ watchers_count: number;
875
+ forks_count: number;
876
+ open_issues_count: number;
877
+ default_branch: string;
878
+ visibility?: string | undefined;
879
+ }[] | undefined;
880
+ }>, z.ZodObject<{
881
+ operation: z.ZodLiteral<"get_repository">;
882
+ success: z.ZodBoolean;
883
+ error: z.ZodString;
884
+ } & {
885
+ id: z.ZodOptional<z.ZodNumber>;
886
+ node_id: z.ZodOptional<z.ZodString>;
887
+ name: z.ZodOptional<z.ZodString>;
888
+ full_name: z.ZodOptional<z.ZodString>;
889
+ private: z.ZodOptional<z.ZodBoolean>;
890
+ owner: z.ZodOptional<z.ZodObject<{
891
+ login: z.ZodString;
892
+ id: z.ZodNumber;
893
+ avatar_url: z.ZodString;
894
+ html_url: z.ZodString;
895
+ }, "strip", z.ZodTypeAny, {
896
+ id: number;
897
+ html_url: string;
898
+ login: string;
899
+ avatar_url: string;
900
+ }, {
901
+ id: number;
902
+ html_url: string;
903
+ login: string;
904
+ avatar_url: string;
905
+ }>>;
906
+ html_url: z.ZodOptional<z.ZodString>;
907
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
908
+ fork: z.ZodOptional<z.ZodBoolean>;
909
+ created_at: z.ZodOptional<z.ZodString>;
910
+ updated_at: z.ZodOptional<z.ZodString>;
911
+ pushed_at: z.ZodOptional<z.ZodString>;
912
+ size: z.ZodOptional<z.ZodNumber>;
913
+ stargazers_count: z.ZodOptional<z.ZodNumber>;
914
+ watchers_count: z.ZodOptional<z.ZodNumber>;
915
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
916
+ forks_count: z.ZodOptional<z.ZodNumber>;
917
+ open_issues_count: z.ZodOptional<z.ZodNumber>;
918
+ default_branch: z.ZodOptional<z.ZodString>;
919
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodString>>;
920
+ }, "strip", z.ZodTypeAny, {
921
+ error: string;
922
+ success: boolean;
923
+ operation: "get_repository";
924
+ description?: string | null | undefined;
925
+ name?: string | undefined;
926
+ id?: number | undefined;
927
+ size?: number | undefined;
928
+ private?: boolean | undefined;
929
+ created_at?: string | undefined;
930
+ owner?: {
931
+ id: number;
932
+ html_url: string;
933
+ login: string;
934
+ avatar_url: string;
935
+ } | undefined;
936
+ full_name?: string | undefined;
937
+ language?: string | null | undefined;
938
+ html_url?: string | undefined;
939
+ node_id?: string | undefined;
940
+ fork?: boolean | undefined;
941
+ updated_at?: string | undefined;
942
+ pushed_at?: string | undefined;
943
+ stargazers_count?: number | undefined;
944
+ watchers_count?: number | undefined;
945
+ forks_count?: number | undefined;
946
+ open_issues_count?: number | undefined;
947
+ default_branch?: string | undefined;
948
+ visibility?: string | undefined;
949
+ }, {
950
+ error: string;
951
+ success: boolean;
952
+ operation: "get_repository";
953
+ description?: string | null | undefined;
954
+ name?: string | undefined;
955
+ id?: number | undefined;
956
+ size?: number | undefined;
957
+ private?: boolean | undefined;
958
+ created_at?: string | undefined;
959
+ owner?: {
960
+ id: number;
961
+ html_url: string;
962
+ login: string;
963
+ avatar_url: string;
964
+ } | undefined;
965
+ full_name?: string | undefined;
966
+ language?: string | null | undefined;
967
+ html_url?: string | undefined;
968
+ node_id?: string | undefined;
969
+ fork?: boolean | undefined;
970
+ updated_at?: string | undefined;
971
+ pushed_at?: string | undefined;
972
+ stargazers_count?: number | undefined;
973
+ watchers_count?: number | undefined;
974
+ forks_count?: number | undefined;
975
+ open_issues_count?: number | undefined;
976
+ default_branch?: string | undefined;
977
+ visibility?: string | undefined;
978
+ }>, z.ZodObject<{
979
+ operation: z.ZodLiteral<"create_issue_comment">;
980
+ success: z.ZodBoolean;
981
+ error: z.ZodString;
982
+ } & {
983
+ id: z.ZodOptional<z.ZodNumber>;
984
+ node_id: z.ZodOptional<z.ZodString>;
985
+ body: z.ZodOptional<z.ZodString>;
986
+ user: z.ZodOptional<z.ZodObject<{
987
+ login: z.ZodString;
988
+ id: z.ZodNumber;
989
+ }, "strip", z.ZodTypeAny, {
990
+ id: number;
991
+ login: string;
992
+ }, {
993
+ id: number;
994
+ login: string;
995
+ }>>;
996
+ created_at: z.ZodOptional<z.ZodString>;
997
+ updated_at: z.ZodOptional<z.ZodString>;
998
+ html_url: z.ZodOptional<z.ZodString>;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ error: string;
1001
+ success: boolean;
1002
+ operation: "create_issue_comment";
1003
+ id?: number | undefined;
1004
+ user?: {
1005
+ id: number;
1006
+ login: string;
1007
+ } | undefined;
1008
+ body?: string | undefined;
1009
+ created_at?: string | undefined;
1010
+ html_url?: string | undefined;
1011
+ node_id?: string | undefined;
1012
+ updated_at?: string | undefined;
1013
+ }, {
1014
+ error: string;
1015
+ success: boolean;
1016
+ operation: "create_issue_comment";
1017
+ id?: number | undefined;
1018
+ user?: {
1019
+ id: number;
1020
+ login: string;
1021
+ } | undefined;
1022
+ body?: string | undefined;
1023
+ created_at?: string | undefined;
1024
+ html_url?: string | undefined;
1025
+ node_id?: string | undefined;
1026
+ updated_at?: string | undefined;
1027
+ }>, z.ZodObject<{
1028
+ operation: z.ZodLiteral<"list_issues">;
1029
+ success: z.ZodBoolean;
1030
+ error: z.ZodString;
1031
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1032
+ id: z.ZodNumber;
1033
+ node_id: z.ZodString;
1034
+ number: z.ZodNumber;
1035
+ state: z.ZodEnum<["open", "closed"]>;
1036
+ title: z.ZodString;
1037
+ body: z.ZodNullable<z.ZodString>;
1038
+ user: z.ZodObject<{
1039
+ login: z.ZodString;
1040
+ id: z.ZodNumber;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ id: number;
1043
+ login: string;
1044
+ }, {
1045
+ id: number;
1046
+ login: string;
1047
+ }>;
1048
+ labels: z.ZodArray<z.ZodObject<{
1049
+ id: z.ZodNumber;
1050
+ name: z.ZodString;
1051
+ color: z.ZodString;
1052
+ description: z.ZodNullable<z.ZodString>;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ description: string | null;
1055
+ name: string;
1056
+ id: number;
1057
+ color: string;
1058
+ }, {
1059
+ description: string | null;
1060
+ name: string;
1061
+ id: number;
1062
+ color: string;
1063
+ }>, "many">;
1064
+ created_at: z.ZodString;
1065
+ updated_at: z.ZodString;
1066
+ closed_at: z.ZodNullable<z.ZodString>;
1067
+ html_url: z.ZodString;
1068
+ comments: z.ZodNumber;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ number: number;
1071
+ title: string;
1072
+ id: number;
1073
+ user: {
1074
+ id: number;
1075
+ login: string;
1076
+ };
1077
+ body: string | null;
1078
+ created_at: string;
1079
+ labels: {
1080
+ description: string | null;
1081
+ name: string;
1082
+ id: number;
1083
+ color: string;
1084
+ }[];
1085
+ comments: number;
1086
+ state: "open" | "closed";
1087
+ html_url: string;
1088
+ node_id: string;
1089
+ updated_at: string;
1090
+ closed_at: string | null;
1091
+ }, {
1092
+ number: number;
1093
+ title: string;
1094
+ id: number;
1095
+ user: {
1096
+ id: number;
1097
+ login: string;
1098
+ };
1099
+ body: string | null;
1100
+ created_at: string;
1101
+ labels: {
1102
+ description: string | null;
1103
+ name: string;
1104
+ id: number;
1105
+ color: string;
1106
+ }[];
1107
+ comments: number;
1108
+ state: "open" | "closed";
1109
+ html_url: string;
1110
+ node_id: string;
1111
+ updated_at: string;
1112
+ closed_at: string | null;
1113
+ }>, "many">>;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ error: string;
1116
+ success: boolean;
1117
+ operation: "list_issues";
1118
+ issues?: {
1119
+ number: number;
1120
+ title: string;
1121
+ id: number;
1122
+ user: {
1123
+ id: number;
1124
+ login: string;
1125
+ };
1126
+ body: string | null;
1127
+ created_at: string;
1128
+ labels: {
1129
+ description: string | null;
1130
+ name: string;
1131
+ id: number;
1132
+ color: string;
1133
+ }[];
1134
+ comments: number;
1135
+ state: "open" | "closed";
1136
+ html_url: string;
1137
+ node_id: string;
1138
+ updated_at: string;
1139
+ closed_at: string | null;
1140
+ }[] | undefined;
1141
+ }, {
1142
+ error: string;
1143
+ success: boolean;
1144
+ operation: "list_issues";
1145
+ issues?: {
1146
+ number: number;
1147
+ title: string;
1148
+ id: number;
1149
+ user: {
1150
+ id: number;
1151
+ login: string;
1152
+ };
1153
+ body: string | null;
1154
+ created_at: string;
1155
+ labels: {
1156
+ description: string | null;
1157
+ name: string;
1158
+ id: number;
1159
+ color: string;
1160
+ }[];
1161
+ comments: number;
1162
+ state: "open" | "closed";
1163
+ html_url: string;
1164
+ node_id: string;
1165
+ updated_at: string;
1166
+ closed_at: string | null;
1167
+ }[] | undefined;
1168
+ }>]>;
1169
+ export type GithubParamsInput = z.input<typeof GithubParamsSchema>;
1170
+ type GithubParams = z.input<typeof GithubParamsSchema>;
1171
+ type GithubResult = z.output<typeof GithubResultSchema>;
1172
+ export type GithubGetFileParams = Extract<GithubParams, {
1173
+ operation: 'get_file';
1174
+ }>;
1175
+ export type GithubGetDirectoryParams = Extract<GithubParams, {
1176
+ operation: 'get_directory';
1177
+ }>;
1178
+ export type GithubListPullRequestsParams = Extract<GithubParams, {
1179
+ operation: 'list_pull_requests';
1180
+ }>;
1181
+ export type GithubGetPullRequestParams = Extract<GithubParams, {
1182
+ operation: 'get_pull_request';
1183
+ }>;
1184
+ export type GithubCreatePrCommentParams = Extract<GithubParams, {
1185
+ operation: 'create_pr_comment';
1186
+ }>;
1187
+ export type GithubListRepositoriesParams = Extract<GithubParams, {
1188
+ operation: 'list_repositories';
1189
+ }>;
1190
+ export type GithubGetRepositoryParams = Extract<GithubParams, {
1191
+ operation: 'get_repository';
1192
+ }>;
1193
+ export type GithubCreateIssueCommentParams = Extract<GithubParams, {
1194
+ operation: 'create_issue_comment';
1195
+ }>;
1196
+ export type GithubListIssuesParams = Extract<GithubParams, {
1197
+ operation: 'list_issues';
1198
+ }>;
1199
+ export type GithubOperationResult<T extends GithubParams['operation']> = Extract<GithubResult, {
1200
+ operation: T;
1201
+ }>;
1202
+ export declare class GithubBubble<T extends GithubParams = GithubParams> extends ServiceBubble<T, Extract<GithubResult, {
1203
+ operation: T['operation'];
1204
+ }>> {
1205
+ static readonly type: "service";
1206
+ static readonly service = "github";
1207
+ static readonly authType: "apikey";
1208
+ static readonly bubbleName = "github";
1209
+ static readonly schema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1210
+ operation: z.ZodLiteral<"get_file">;
1211
+ owner: z.ZodString;
1212
+ repo: z.ZodString;
1213
+ path: z.ZodString;
1214
+ ref: z.ZodOptional<z.ZodString>;
1215
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ path: string;
1218
+ operation: "get_file";
1219
+ owner: string;
1220
+ repo: string;
1221
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1222
+ ref?: string | undefined;
1223
+ }, {
1224
+ path: string;
1225
+ operation: "get_file";
1226
+ owner: string;
1227
+ repo: string;
1228
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1229
+ ref?: string | undefined;
1230
+ }>, z.ZodObject<{
1231
+ operation: z.ZodLiteral<"get_directory">;
1232
+ owner: z.ZodString;
1233
+ repo: z.ZodString;
1234
+ path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1235
+ ref: z.ZodOptional<z.ZodString>;
1236
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ path: string;
1239
+ operation: "get_directory";
1240
+ owner: string;
1241
+ repo: string;
1242
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1243
+ ref?: string | undefined;
1244
+ }, {
1245
+ operation: "get_directory";
1246
+ owner: string;
1247
+ repo: string;
1248
+ path?: string | undefined;
1249
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1250
+ ref?: string | undefined;
1251
+ }>, z.ZodObject<{
1252
+ operation: z.ZodLiteral<"list_pull_requests">;
1253
+ owner: z.ZodString;
1254
+ repo: z.ZodString;
1255
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
1256
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "popularity", "long-running"]>>>;
1257
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
1258
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1259
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1260
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ sort: "created" | "updated" | "popularity" | "long-running";
1263
+ operation: "list_pull_requests";
1264
+ owner: string;
1265
+ page: number;
1266
+ state: "all" | "open" | "closed";
1267
+ repo: string;
1268
+ direction: "asc" | "desc";
1269
+ per_page: number;
1270
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1271
+ }, {
1272
+ operation: "list_pull_requests";
1273
+ owner: string;
1274
+ repo: string;
1275
+ sort?: "created" | "updated" | "popularity" | "long-running" | undefined;
1276
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1277
+ page?: number | undefined;
1278
+ state?: "all" | "open" | "closed" | undefined;
1279
+ direction?: "asc" | "desc" | undefined;
1280
+ per_page?: number | undefined;
1281
+ }>, z.ZodObject<{
1282
+ operation: z.ZodLiteral<"get_pull_request">;
1283
+ owner: z.ZodString;
1284
+ repo: z.ZodString;
1285
+ pull_number: z.ZodNumber;
1286
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ operation: "get_pull_request";
1289
+ owner: string;
1290
+ repo: string;
1291
+ pull_number: number;
1292
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1293
+ }, {
1294
+ operation: "get_pull_request";
1295
+ owner: string;
1296
+ repo: string;
1297
+ pull_number: number;
1298
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1299
+ }>, z.ZodObject<{
1300
+ operation: z.ZodLiteral<"create_pr_comment">;
1301
+ owner: z.ZodString;
1302
+ repo: z.ZodString;
1303
+ pull_number: z.ZodNumber;
1304
+ body: z.ZodString;
1305
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1306
+ }, "strip", z.ZodTypeAny, {
1307
+ operation: "create_pr_comment";
1308
+ body: string;
1309
+ owner: string;
1310
+ repo: string;
1311
+ pull_number: number;
1312
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1313
+ }, {
1314
+ operation: "create_pr_comment";
1315
+ body: string;
1316
+ owner: string;
1317
+ repo: string;
1318
+ pull_number: number;
1319
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1320
+ }>, z.ZodObject<{
1321
+ operation: z.ZodLiteral<"list_repositories">;
1322
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["all", "public", "private"]>>>;
1323
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "pushed", "full_name"]>>>;
1324
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
1325
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1326
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1327
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ sort: "created" | "updated" | "full_name" | "pushed";
1330
+ operation: "list_repositories";
1331
+ page: number;
1332
+ visibility: "public" | "private" | "all";
1333
+ direction: "asc" | "desc";
1334
+ per_page: number;
1335
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1336
+ }, {
1337
+ operation: "list_repositories";
1338
+ sort?: "created" | "updated" | "full_name" | "pushed" | undefined;
1339
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1340
+ page?: number | undefined;
1341
+ visibility?: "public" | "private" | "all" | undefined;
1342
+ direction?: "asc" | "desc" | undefined;
1343
+ per_page?: number | undefined;
1344
+ }>, z.ZodObject<{
1345
+ operation: z.ZodLiteral<"get_repository">;
1346
+ owner: z.ZodString;
1347
+ repo: z.ZodString;
1348
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ operation: "get_repository";
1351
+ owner: string;
1352
+ repo: string;
1353
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1354
+ }, {
1355
+ operation: "get_repository";
1356
+ owner: string;
1357
+ repo: string;
1358
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1359
+ }>, z.ZodObject<{
1360
+ operation: z.ZodLiteral<"create_issue_comment">;
1361
+ owner: z.ZodString;
1362
+ repo: z.ZodString;
1363
+ issue_number: z.ZodNumber;
1364
+ body: z.ZodString;
1365
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ operation: "create_issue_comment";
1368
+ body: string;
1369
+ owner: string;
1370
+ repo: string;
1371
+ issue_number: number;
1372
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1373
+ }, {
1374
+ operation: "create_issue_comment";
1375
+ body: string;
1376
+ owner: string;
1377
+ repo: string;
1378
+ issue_number: number;
1379
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1380
+ }>, z.ZodObject<{
1381
+ operation: z.ZodLiteral<"list_issues">;
1382
+ owner: z.ZodString;
1383
+ repo: z.ZodString;
1384
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>>;
1385
+ labels: z.ZodOptional<z.ZodString>;
1386
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created", "updated", "comments"]>>>;
1387
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
1388
+ per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1389
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1390
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ sort: "created" | "updated" | "comments";
1393
+ operation: "list_issues";
1394
+ owner: string;
1395
+ page: number;
1396
+ state: "all" | "open" | "closed";
1397
+ repo: string;
1398
+ direction: "asc" | "desc";
1399
+ per_page: number;
1400
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1401
+ labels?: string | undefined;
1402
+ }, {
1403
+ operation: "list_issues";
1404
+ owner: string;
1405
+ repo: string;
1406
+ sort?: "created" | "updated" | "comments" | undefined;
1407
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1408
+ labels?: string | undefined;
1409
+ page?: number | undefined;
1410
+ state?: "all" | "open" | "closed" | undefined;
1411
+ direction?: "asc" | "desc" | undefined;
1412
+ per_page?: number | undefined;
1413
+ }>]>;
1414
+ static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1415
+ operation: z.ZodLiteral<"get_file">;
1416
+ success: z.ZodBoolean;
1417
+ error: z.ZodString;
1418
+ } & {
1419
+ name: z.ZodOptional<z.ZodString>;
1420
+ path: z.ZodOptional<z.ZodString>;
1421
+ sha: z.ZodOptional<z.ZodString>;
1422
+ size: z.ZodOptional<z.ZodNumber>;
1423
+ url: z.ZodOptional<z.ZodString>;
1424
+ html_url: z.ZodOptional<z.ZodString>;
1425
+ git_url: z.ZodOptional<z.ZodString>;
1426
+ download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1427
+ type: z.ZodOptional<z.ZodEnum<["file", "dir", "symlink", "submodule"]>>;
1428
+ content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1429
+ encoding: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ error: string;
1432
+ success: boolean;
1433
+ operation: "get_file";
1434
+ path?: string | undefined;
1435
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
1436
+ name?: string | undefined;
1437
+ content?: string | undefined;
1438
+ url?: string | undefined;
1439
+ size?: number | undefined;
1440
+ sha?: string | undefined;
1441
+ html_url?: string | undefined;
1442
+ git_url?: string | undefined;
1443
+ download_url?: string | null | undefined;
1444
+ encoding?: string | undefined;
1445
+ }, {
1446
+ error: string;
1447
+ success: boolean;
1448
+ operation: "get_file";
1449
+ path?: string | undefined;
1450
+ type?: "file" | "dir" | "symlink" | "submodule" | undefined;
1451
+ name?: string | undefined;
1452
+ content?: string | undefined;
1453
+ url?: string | undefined;
1454
+ size?: number | undefined;
1455
+ sha?: string | undefined;
1456
+ html_url?: string | undefined;
1457
+ git_url?: string | undefined;
1458
+ download_url?: string | null | undefined;
1459
+ encoding?: string | undefined;
1460
+ }>, z.ZodObject<{
1461
+ operation: z.ZodLiteral<"get_directory">;
1462
+ success: z.ZodBoolean;
1463
+ error: z.ZodString;
1464
+ contents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1465
+ name: z.ZodString;
1466
+ path: z.ZodString;
1467
+ sha: z.ZodString;
1468
+ size: z.ZodNumber;
1469
+ url: z.ZodString;
1470
+ html_url: z.ZodString;
1471
+ git_url: z.ZodString;
1472
+ download_url: z.ZodNullable<z.ZodString>;
1473
+ type: z.ZodEnum<["file", "dir", "symlink", "submodule"]>;
1474
+ content: z.ZodOptional<z.ZodString>;
1475
+ encoding: z.ZodOptional<z.ZodString>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ path: string;
1478
+ type: "file" | "dir" | "symlink" | "submodule";
1479
+ name: string;
1480
+ url: string;
1481
+ size: number;
1482
+ sha: string;
1483
+ html_url: string;
1484
+ git_url: string;
1485
+ download_url: string | null;
1486
+ content?: string | undefined;
1487
+ encoding?: string | undefined;
1488
+ }, {
1489
+ path: string;
1490
+ type: "file" | "dir" | "symlink" | "submodule";
1491
+ name: string;
1492
+ url: string;
1493
+ size: number;
1494
+ sha: string;
1495
+ html_url: string;
1496
+ git_url: string;
1497
+ download_url: string | null;
1498
+ content?: string | undefined;
1499
+ encoding?: string | undefined;
1500
+ }>, "many">>;
1501
+ }, "strip", z.ZodTypeAny, {
1502
+ error: string;
1503
+ success: boolean;
1504
+ operation: "get_directory";
1505
+ contents?: {
1506
+ path: string;
1507
+ type: "file" | "dir" | "symlink" | "submodule";
1508
+ name: string;
1509
+ url: string;
1510
+ size: number;
1511
+ sha: string;
1512
+ html_url: string;
1513
+ git_url: string;
1514
+ download_url: string | null;
1515
+ content?: string | undefined;
1516
+ encoding?: string | undefined;
1517
+ }[] | undefined;
1518
+ }, {
1519
+ error: string;
1520
+ success: boolean;
1521
+ operation: "get_directory";
1522
+ contents?: {
1523
+ path: string;
1524
+ type: "file" | "dir" | "symlink" | "submodule";
1525
+ name: string;
1526
+ url: string;
1527
+ size: number;
1528
+ sha: string;
1529
+ html_url: string;
1530
+ git_url: string;
1531
+ download_url: string | null;
1532
+ content?: string | undefined;
1533
+ encoding?: string | undefined;
1534
+ }[] | undefined;
1535
+ }>, z.ZodObject<{
1536
+ operation: z.ZodLiteral<"list_pull_requests">;
1537
+ success: z.ZodBoolean;
1538
+ error: z.ZodString;
1539
+ pull_requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1540
+ id: z.ZodNumber;
1541
+ node_id: z.ZodString;
1542
+ number: z.ZodNumber;
1543
+ state: z.ZodEnum<["open", "closed"]>;
1544
+ title: z.ZodString;
1545
+ body: z.ZodNullable<z.ZodString>;
1546
+ created_at: z.ZodString;
1547
+ updated_at: z.ZodString;
1548
+ closed_at: z.ZodNullable<z.ZodString>;
1549
+ merged_at: z.ZodNullable<z.ZodString>;
1550
+ user: z.ZodObject<{
1551
+ login: z.ZodString;
1552
+ id: z.ZodNumber;
1553
+ avatar_url: z.ZodString;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ id: number;
1556
+ login: string;
1557
+ avatar_url: string;
1558
+ }, {
1559
+ id: number;
1560
+ login: string;
1561
+ avatar_url: string;
1562
+ }>;
1563
+ html_url: z.ZodString;
1564
+ draft: z.ZodBoolean;
1565
+ head: z.ZodObject<{
1566
+ ref: z.ZodString;
1567
+ sha: z.ZodString;
1568
+ }, "strip", z.ZodTypeAny, {
1569
+ sha: string;
1570
+ ref: string;
1571
+ }, {
1572
+ sha: string;
1573
+ ref: string;
1574
+ }>;
1575
+ base: z.ZodObject<{
1576
+ ref: z.ZodString;
1577
+ sha: z.ZodString;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ sha: string;
1580
+ ref: string;
1581
+ }, {
1582
+ sha: string;
1583
+ ref: string;
1584
+ }>;
1585
+ merged: z.ZodOptional<z.ZodBoolean>;
1586
+ mergeable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1587
+ mergeable_state: z.ZodOptional<z.ZodString>;
1588
+ comments: z.ZodOptional<z.ZodNumber>;
1589
+ review_comments: z.ZodOptional<z.ZodNumber>;
1590
+ commits: z.ZodOptional<z.ZodNumber>;
1591
+ additions: z.ZodOptional<z.ZodNumber>;
1592
+ deletions: z.ZodOptional<z.ZodNumber>;
1593
+ changed_files: z.ZodOptional<z.ZodNumber>;
1594
+ }, "strip", z.ZodTypeAny, {
1595
+ number: number;
1596
+ title: string;
1597
+ id: number;
1598
+ user: {
1599
+ id: number;
1600
+ login: string;
1601
+ avatar_url: string;
1602
+ };
1603
+ body: string | null;
1604
+ created_at: string;
1605
+ draft: boolean;
1606
+ state: "open" | "closed";
1607
+ html_url: string;
1608
+ node_id: string;
1609
+ updated_at: string;
1610
+ closed_at: string | null;
1611
+ merged_at: string | null;
1612
+ head: {
1613
+ sha: string;
1614
+ ref: string;
1615
+ };
1616
+ base: {
1617
+ sha: string;
1618
+ ref: string;
1619
+ };
1620
+ comments?: number | undefined;
1621
+ merged?: boolean | undefined;
1622
+ mergeable?: boolean | null | undefined;
1623
+ mergeable_state?: string | undefined;
1624
+ review_comments?: number | undefined;
1625
+ commits?: number | undefined;
1626
+ additions?: number | undefined;
1627
+ deletions?: number | undefined;
1628
+ changed_files?: number | undefined;
1629
+ }, {
1630
+ number: number;
1631
+ title: string;
1632
+ id: number;
1633
+ user: {
1634
+ id: number;
1635
+ login: string;
1636
+ avatar_url: string;
1637
+ };
1638
+ body: string | null;
1639
+ created_at: string;
1640
+ draft: boolean;
1641
+ state: "open" | "closed";
1642
+ html_url: string;
1643
+ node_id: string;
1644
+ updated_at: string;
1645
+ closed_at: string | null;
1646
+ merged_at: string | null;
1647
+ head: {
1648
+ sha: string;
1649
+ ref: string;
1650
+ };
1651
+ base: {
1652
+ sha: string;
1653
+ ref: string;
1654
+ };
1655
+ comments?: number | undefined;
1656
+ merged?: boolean | undefined;
1657
+ mergeable?: boolean | null | undefined;
1658
+ mergeable_state?: string | undefined;
1659
+ review_comments?: number | undefined;
1660
+ commits?: number | undefined;
1661
+ additions?: number | undefined;
1662
+ deletions?: number | undefined;
1663
+ changed_files?: number | undefined;
1664
+ }>, "many">>;
1665
+ }, "strip", z.ZodTypeAny, {
1666
+ error: string;
1667
+ success: boolean;
1668
+ operation: "list_pull_requests";
1669
+ pull_requests?: {
1670
+ number: number;
1671
+ title: string;
1672
+ id: number;
1673
+ user: {
1674
+ id: number;
1675
+ login: string;
1676
+ avatar_url: string;
1677
+ };
1678
+ body: string | null;
1679
+ created_at: string;
1680
+ draft: boolean;
1681
+ state: "open" | "closed";
1682
+ html_url: string;
1683
+ node_id: string;
1684
+ updated_at: string;
1685
+ closed_at: string | null;
1686
+ merged_at: string | null;
1687
+ head: {
1688
+ sha: string;
1689
+ ref: string;
1690
+ };
1691
+ base: {
1692
+ sha: string;
1693
+ ref: string;
1694
+ };
1695
+ comments?: number | undefined;
1696
+ merged?: boolean | undefined;
1697
+ mergeable?: boolean | null | undefined;
1698
+ mergeable_state?: string | undefined;
1699
+ review_comments?: number | undefined;
1700
+ commits?: number | undefined;
1701
+ additions?: number | undefined;
1702
+ deletions?: number | undefined;
1703
+ changed_files?: number | undefined;
1704
+ }[] | undefined;
1705
+ }, {
1706
+ error: string;
1707
+ success: boolean;
1708
+ operation: "list_pull_requests";
1709
+ pull_requests?: {
1710
+ number: number;
1711
+ title: string;
1712
+ id: number;
1713
+ user: {
1714
+ id: number;
1715
+ login: string;
1716
+ avatar_url: string;
1717
+ };
1718
+ body: string | null;
1719
+ created_at: string;
1720
+ draft: boolean;
1721
+ state: "open" | "closed";
1722
+ html_url: string;
1723
+ node_id: string;
1724
+ updated_at: string;
1725
+ closed_at: string | null;
1726
+ merged_at: string | null;
1727
+ head: {
1728
+ sha: string;
1729
+ ref: string;
1730
+ };
1731
+ base: {
1732
+ sha: string;
1733
+ ref: string;
1734
+ };
1735
+ comments?: number | undefined;
1736
+ merged?: boolean | undefined;
1737
+ mergeable?: boolean | null | undefined;
1738
+ mergeable_state?: string | undefined;
1739
+ review_comments?: number | undefined;
1740
+ commits?: number | undefined;
1741
+ additions?: number | undefined;
1742
+ deletions?: number | undefined;
1743
+ changed_files?: number | undefined;
1744
+ }[] | undefined;
1745
+ }>, z.ZodObject<{
1746
+ operation: z.ZodLiteral<"get_pull_request">;
1747
+ success: z.ZodBoolean;
1748
+ error: z.ZodString;
1749
+ } & {
1750
+ id: z.ZodOptional<z.ZodNumber>;
1751
+ node_id: z.ZodOptional<z.ZodString>;
1752
+ number: z.ZodOptional<z.ZodNumber>;
1753
+ state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
1754
+ title: z.ZodOptional<z.ZodString>;
1755
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1756
+ created_at: z.ZodOptional<z.ZodString>;
1757
+ updated_at: z.ZodOptional<z.ZodString>;
1758
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1759
+ merged_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1760
+ user: z.ZodOptional<z.ZodObject<{
1761
+ login: z.ZodString;
1762
+ id: z.ZodNumber;
1763
+ avatar_url: z.ZodString;
1764
+ }, "strip", z.ZodTypeAny, {
1765
+ id: number;
1766
+ login: string;
1767
+ avatar_url: string;
1768
+ }, {
1769
+ id: number;
1770
+ login: string;
1771
+ avatar_url: string;
1772
+ }>>;
1773
+ html_url: z.ZodOptional<z.ZodString>;
1774
+ draft: z.ZodOptional<z.ZodBoolean>;
1775
+ head: z.ZodOptional<z.ZodObject<{
1776
+ ref: z.ZodString;
1777
+ sha: z.ZodString;
1778
+ }, "strip", z.ZodTypeAny, {
1779
+ sha: string;
1780
+ ref: string;
1781
+ }, {
1782
+ sha: string;
1783
+ ref: string;
1784
+ }>>;
1785
+ base: z.ZodOptional<z.ZodObject<{
1786
+ ref: z.ZodString;
1787
+ sha: z.ZodString;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ sha: string;
1790
+ ref: string;
1791
+ }, {
1792
+ sha: string;
1793
+ ref: string;
1794
+ }>>;
1795
+ merged: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1796
+ mergeable: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
1797
+ mergeable_state: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1798
+ comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1799
+ review_comments: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1800
+ commits: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1801
+ additions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1802
+ deletions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1803
+ changed_files: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1804
+ }, "strip", z.ZodTypeAny, {
1805
+ error: string;
1806
+ success: boolean;
1807
+ operation: "get_pull_request";
1808
+ number?: number | undefined;
1809
+ title?: string | undefined;
1810
+ id?: number | undefined;
1811
+ user?: {
1812
+ id: number;
1813
+ login: string;
1814
+ avatar_url: string;
1815
+ } | undefined;
1816
+ body?: string | null | undefined;
1817
+ created_at?: string | undefined;
1818
+ draft?: boolean | undefined;
1819
+ comments?: number | undefined;
1820
+ state?: "open" | "closed" | undefined;
1821
+ html_url?: string | undefined;
1822
+ node_id?: string | undefined;
1823
+ updated_at?: string | undefined;
1824
+ closed_at?: string | null | undefined;
1825
+ merged_at?: string | null | undefined;
1826
+ head?: {
1827
+ sha: string;
1828
+ ref: string;
1829
+ } | undefined;
1830
+ base?: {
1831
+ sha: string;
1832
+ ref: string;
1833
+ } | undefined;
1834
+ merged?: boolean | undefined;
1835
+ mergeable?: boolean | null | undefined;
1836
+ mergeable_state?: string | undefined;
1837
+ review_comments?: number | undefined;
1838
+ commits?: number | undefined;
1839
+ additions?: number | undefined;
1840
+ deletions?: number | undefined;
1841
+ changed_files?: number | undefined;
1842
+ }, {
1843
+ error: string;
1844
+ success: boolean;
1845
+ operation: "get_pull_request";
1846
+ number?: number | undefined;
1847
+ title?: string | undefined;
1848
+ id?: number | undefined;
1849
+ user?: {
1850
+ id: number;
1851
+ login: string;
1852
+ avatar_url: string;
1853
+ } | undefined;
1854
+ body?: string | null | undefined;
1855
+ created_at?: string | undefined;
1856
+ draft?: boolean | undefined;
1857
+ comments?: number | undefined;
1858
+ state?: "open" | "closed" | undefined;
1859
+ html_url?: string | undefined;
1860
+ node_id?: string | undefined;
1861
+ updated_at?: string | undefined;
1862
+ closed_at?: string | null | undefined;
1863
+ merged_at?: string | null | undefined;
1864
+ head?: {
1865
+ sha: string;
1866
+ ref: string;
1867
+ } | undefined;
1868
+ base?: {
1869
+ sha: string;
1870
+ ref: string;
1871
+ } | undefined;
1872
+ merged?: boolean | undefined;
1873
+ mergeable?: boolean | null | undefined;
1874
+ mergeable_state?: string | undefined;
1875
+ review_comments?: number | undefined;
1876
+ commits?: number | undefined;
1877
+ additions?: number | undefined;
1878
+ deletions?: number | undefined;
1879
+ changed_files?: number | undefined;
1880
+ }>, z.ZodObject<{
1881
+ operation: z.ZodLiteral<"create_pr_comment">;
1882
+ success: z.ZodBoolean;
1883
+ error: z.ZodString;
1884
+ } & {
1885
+ id: z.ZodOptional<z.ZodNumber>;
1886
+ node_id: z.ZodOptional<z.ZodString>;
1887
+ body: z.ZodOptional<z.ZodString>;
1888
+ user: z.ZodOptional<z.ZodObject<{
1889
+ login: z.ZodString;
1890
+ id: z.ZodNumber;
1891
+ }, "strip", z.ZodTypeAny, {
1892
+ id: number;
1893
+ login: string;
1894
+ }, {
1895
+ id: number;
1896
+ login: string;
1897
+ }>>;
1898
+ created_at: z.ZodOptional<z.ZodString>;
1899
+ updated_at: z.ZodOptional<z.ZodString>;
1900
+ html_url: z.ZodOptional<z.ZodString>;
1901
+ }, "strip", z.ZodTypeAny, {
1902
+ error: string;
1903
+ success: boolean;
1904
+ operation: "create_pr_comment";
1905
+ id?: number | undefined;
1906
+ user?: {
1907
+ id: number;
1908
+ login: string;
1909
+ } | undefined;
1910
+ body?: string | undefined;
1911
+ created_at?: string | undefined;
1912
+ html_url?: string | undefined;
1913
+ node_id?: string | undefined;
1914
+ updated_at?: string | undefined;
1915
+ }, {
1916
+ error: string;
1917
+ success: boolean;
1918
+ operation: "create_pr_comment";
1919
+ id?: number | undefined;
1920
+ user?: {
1921
+ id: number;
1922
+ login: string;
1923
+ } | undefined;
1924
+ body?: string | undefined;
1925
+ created_at?: string | undefined;
1926
+ html_url?: string | undefined;
1927
+ node_id?: string | undefined;
1928
+ updated_at?: string | undefined;
1929
+ }>, z.ZodObject<{
1930
+ operation: z.ZodLiteral<"list_repositories">;
1931
+ success: z.ZodBoolean;
1932
+ error: z.ZodString;
1933
+ repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1934
+ id: z.ZodNumber;
1935
+ node_id: z.ZodString;
1936
+ name: z.ZodString;
1937
+ full_name: z.ZodString;
1938
+ private: z.ZodBoolean;
1939
+ owner: z.ZodObject<{
1940
+ login: z.ZodString;
1941
+ id: z.ZodNumber;
1942
+ avatar_url: z.ZodString;
1943
+ html_url: z.ZodString;
1944
+ }, "strip", z.ZodTypeAny, {
1945
+ id: number;
1946
+ html_url: string;
1947
+ login: string;
1948
+ avatar_url: string;
1949
+ }, {
1950
+ id: number;
1951
+ html_url: string;
1952
+ login: string;
1953
+ avatar_url: string;
1954
+ }>;
1955
+ html_url: z.ZodString;
1956
+ description: z.ZodNullable<z.ZodString>;
1957
+ fork: z.ZodBoolean;
1958
+ created_at: z.ZodString;
1959
+ updated_at: z.ZodString;
1960
+ pushed_at: z.ZodString;
1961
+ size: z.ZodNumber;
1962
+ stargazers_count: z.ZodNumber;
1963
+ watchers_count: z.ZodNumber;
1964
+ language: z.ZodNullable<z.ZodString>;
1965
+ forks_count: z.ZodNumber;
1966
+ open_issues_count: z.ZodNumber;
1967
+ default_branch: z.ZodString;
1968
+ visibility: z.ZodOptional<z.ZodString>;
1969
+ }, "strip", z.ZodTypeAny, {
1970
+ description: string | null;
1971
+ name: string;
1972
+ id: number;
1973
+ size: number;
1974
+ private: boolean;
1975
+ created_at: string;
1976
+ owner: {
1977
+ id: number;
1978
+ html_url: string;
1979
+ login: string;
1980
+ avatar_url: string;
1981
+ };
1982
+ full_name: string;
1983
+ language: string | null;
1984
+ html_url: string;
1985
+ node_id: string;
1986
+ fork: boolean;
1987
+ updated_at: string;
1988
+ pushed_at: string;
1989
+ stargazers_count: number;
1990
+ watchers_count: number;
1991
+ forks_count: number;
1992
+ open_issues_count: number;
1993
+ default_branch: string;
1994
+ visibility?: string | undefined;
1995
+ }, {
1996
+ description: string | null;
1997
+ name: string;
1998
+ id: number;
1999
+ size: number;
2000
+ private: boolean;
2001
+ created_at: string;
2002
+ owner: {
2003
+ id: number;
2004
+ html_url: string;
2005
+ login: string;
2006
+ avatar_url: string;
2007
+ };
2008
+ full_name: string;
2009
+ language: string | null;
2010
+ html_url: string;
2011
+ node_id: string;
2012
+ fork: boolean;
2013
+ updated_at: string;
2014
+ pushed_at: string;
2015
+ stargazers_count: number;
2016
+ watchers_count: number;
2017
+ forks_count: number;
2018
+ open_issues_count: number;
2019
+ default_branch: string;
2020
+ visibility?: string | undefined;
2021
+ }>, "many">>;
2022
+ }, "strip", z.ZodTypeAny, {
2023
+ error: string;
2024
+ success: boolean;
2025
+ operation: "list_repositories";
2026
+ repositories?: {
2027
+ description: string | null;
2028
+ name: string;
2029
+ id: number;
2030
+ size: number;
2031
+ private: boolean;
2032
+ created_at: string;
2033
+ owner: {
2034
+ id: number;
2035
+ html_url: string;
2036
+ login: string;
2037
+ avatar_url: string;
2038
+ };
2039
+ full_name: string;
2040
+ language: string | null;
2041
+ html_url: string;
2042
+ node_id: string;
2043
+ fork: boolean;
2044
+ updated_at: string;
2045
+ pushed_at: string;
2046
+ stargazers_count: number;
2047
+ watchers_count: number;
2048
+ forks_count: number;
2049
+ open_issues_count: number;
2050
+ default_branch: string;
2051
+ visibility?: string | undefined;
2052
+ }[] | undefined;
2053
+ }, {
2054
+ error: string;
2055
+ success: boolean;
2056
+ operation: "list_repositories";
2057
+ repositories?: {
2058
+ description: string | null;
2059
+ name: string;
2060
+ id: number;
2061
+ size: number;
2062
+ private: boolean;
2063
+ created_at: string;
2064
+ owner: {
2065
+ id: number;
2066
+ html_url: string;
2067
+ login: string;
2068
+ avatar_url: string;
2069
+ };
2070
+ full_name: string;
2071
+ language: string | null;
2072
+ html_url: string;
2073
+ node_id: string;
2074
+ fork: boolean;
2075
+ updated_at: string;
2076
+ pushed_at: string;
2077
+ stargazers_count: number;
2078
+ watchers_count: number;
2079
+ forks_count: number;
2080
+ open_issues_count: number;
2081
+ default_branch: string;
2082
+ visibility?: string | undefined;
2083
+ }[] | undefined;
2084
+ }>, z.ZodObject<{
2085
+ operation: z.ZodLiteral<"get_repository">;
2086
+ success: z.ZodBoolean;
2087
+ error: z.ZodString;
2088
+ } & {
2089
+ id: z.ZodOptional<z.ZodNumber>;
2090
+ node_id: z.ZodOptional<z.ZodString>;
2091
+ name: z.ZodOptional<z.ZodString>;
2092
+ full_name: z.ZodOptional<z.ZodString>;
2093
+ private: z.ZodOptional<z.ZodBoolean>;
2094
+ owner: z.ZodOptional<z.ZodObject<{
2095
+ login: z.ZodString;
2096
+ id: z.ZodNumber;
2097
+ avatar_url: z.ZodString;
2098
+ html_url: z.ZodString;
2099
+ }, "strip", z.ZodTypeAny, {
2100
+ id: number;
2101
+ html_url: string;
2102
+ login: string;
2103
+ avatar_url: string;
2104
+ }, {
2105
+ id: number;
2106
+ html_url: string;
2107
+ login: string;
2108
+ avatar_url: string;
2109
+ }>>;
2110
+ html_url: z.ZodOptional<z.ZodString>;
2111
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2112
+ fork: z.ZodOptional<z.ZodBoolean>;
2113
+ created_at: z.ZodOptional<z.ZodString>;
2114
+ updated_at: z.ZodOptional<z.ZodString>;
2115
+ pushed_at: z.ZodOptional<z.ZodString>;
2116
+ size: z.ZodOptional<z.ZodNumber>;
2117
+ stargazers_count: z.ZodOptional<z.ZodNumber>;
2118
+ watchers_count: z.ZodOptional<z.ZodNumber>;
2119
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2120
+ forks_count: z.ZodOptional<z.ZodNumber>;
2121
+ open_issues_count: z.ZodOptional<z.ZodNumber>;
2122
+ default_branch: z.ZodOptional<z.ZodString>;
2123
+ visibility: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2124
+ }, "strip", z.ZodTypeAny, {
2125
+ error: string;
2126
+ success: boolean;
2127
+ operation: "get_repository";
2128
+ description?: string | null | undefined;
2129
+ name?: string | undefined;
2130
+ id?: number | undefined;
2131
+ size?: number | undefined;
2132
+ private?: boolean | undefined;
2133
+ created_at?: string | undefined;
2134
+ owner?: {
2135
+ id: number;
2136
+ html_url: string;
2137
+ login: string;
2138
+ avatar_url: string;
2139
+ } | undefined;
2140
+ full_name?: string | undefined;
2141
+ language?: string | null | undefined;
2142
+ html_url?: string | undefined;
2143
+ node_id?: string | undefined;
2144
+ fork?: boolean | undefined;
2145
+ updated_at?: string | undefined;
2146
+ pushed_at?: string | undefined;
2147
+ stargazers_count?: number | undefined;
2148
+ watchers_count?: number | undefined;
2149
+ forks_count?: number | undefined;
2150
+ open_issues_count?: number | undefined;
2151
+ default_branch?: string | undefined;
2152
+ visibility?: string | undefined;
2153
+ }, {
2154
+ error: string;
2155
+ success: boolean;
2156
+ operation: "get_repository";
2157
+ description?: string | null | undefined;
2158
+ name?: string | undefined;
2159
+ id?: number | undefined;
2160
+ size?: number | undefined;
2161
+ private?: boolean | undefined;
2162
+ created_at?: string | undefined;
2163
+ owner?: {
2164
+ id: number;
2165
+ html_url: string;
2166
+ login: string;
2167
+ avatar_url: string;
2168
+ } | undefined;
2169
+ full_name?: string | undefined;
2170
+ language?: string | null | undefined;
2171
+ html_url?: string | undefined;
2172
+ node_id?: string | undefined;
2173
+ fork?: boolean | undefined;
2174
+ updated_at?: string | undefined;
2175
+ pushed_at?: string | undefined;
2176
+ stargazers_count?: number | undefined;
2177
+ watchers_count?: number | undefined;
2178
+ forks_count?: number | undefined;
2179
+ open_issues_count?: number | undefined;
2180
+ default_branch?: string | undefined;
2181
+ visibility?: string | undefined;
2182
+ }>, z.ZodObject<{
2183
+ operation: z.ZodLiteral<"create_issue_comment">;
2184
+ success: z.ZodBoolean;
2185
+ error: z.ZodString;
2186
+ } & {
2187
+ id: z.ZodOptional<z.ZodNumber>;
2188
+ node_id: z.ZodOptional<z.ZodString>;
2189
+ body: z.ZodOptional<z.ZodString>;
2190
+ user: z.ZodOptional<z.ZodObject<{
2191
+ login: z.ZodString;
2192
+ id: z.ZodNumber;
2193
+ }, "strip", z.ZodTypeAny, {
2194
+ id: number;
2195
+ login: string;
2196
+ }, {
2197
+ id: number;
2198
+ login: string;
2199
+ }>>;
2200
+ created_at: z.ZodOptional<z.ZodString>;
2201
+ updated_at: z.ZodOptional<z.ZodString>;
2202
+ html_url: z.ZodOptional<z.ZodString>;
2203
+ }, "strip", z.ZodTypeAny, {
2204
+ error: string;
2205
+ success: boolean;
2206
+ operation: "create_issue_comment";
2207
+ id?: number | undefined;
2208
+ user?: {
2209
+ id: number;
2210
+ login: string;
2211
+ } | undefined;
2212
+ body?: string | undefined;
2213
+ created_at?: string | undefined;
2214
+ html_url?: string | undefined;
2215
+ node_id?: string | undefined;
2216
+ updated_at?: string | undefined;
2217
+ }, {
2218
+ error: string;
2219
+ success: boolean;
2220
+ operation: "create_issue_comment";
2221
+ id?: number | undefined;
2222
+ user?: {
2223
+ id: number;
2224
+ login: string;
2225
+ } | undefined;
2226
+ body?: string | undefined;
2227
+ created_at?: string | undefined;
2228
+ html_url?: string | undefined;
2229
+ node_id?: string | undefined;
2230
+ updated_at?: string | undefined;
2231
+ }>, z.ZodObject<{
2232
+ operation: z.ZodLiteral<"list_issues">;
2233
+ success: z.ZodBoolean;
2234
+ error: z.ZodString;
2235
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
2236
+ id: z.ZodNumber;
2237
+ node_id: z.ZodString;
2238
+ number: z.ZodNumber;
2239
+ state: z.ZodEnum<["open", "closed"]>;
2240
+ title: z.ZodString;
2241
+ body: z.ZodNullable<z.ZodString>;
2242
+ user: z.ZodObject<{
2243
+ login: z.ZodString;
2244
+ id: z.ZodNumber;
2245
+ }, "strip", z.ZodTypeAny, {
2246
+ id: number;
2247
+ login: string;
2248
+ }, {
2249
+ id: number;
2250
+ login: string;
2251
+ }>;
2252
+ labels: z.ZodArray<z.ZodObject<{
2253
+ id: z.ZodNumber;
2254
+ name: z.ZodString;
2255
+ color: z.ZodString;
2256
+ description: z.ZodNullable<z.ZodString>;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ description: string | null;
2259
+ name: string;
2260
+ id: number;
2261
+ color: string;
2262
+ }, {
2263
+ description: string | null;
2264
+ name: string;
2265
+ id: number;
2266
+ color: string;
2267
+ }>, "many">;
2268
+ created_at: z.ZodString;
2269
+ updated_at: z.ZodString;
2270
+ closed_at: z.ZodNullable<z.ZodString>;
2271
+ html_url: z.ZodString;
2272
+ comments: z.ZodNumber;
2273
+ }, "strip", z.ZodTypeAny, {
2274
+ number: number;
2275
+ title: string;
2276
+ id: number;
2277
+ user: {
2278
+ id: number;
2279
+ login: string;
2280
+ };
2281
+ body: string | null;
2282
+ created_at: string;
2283
+ labels: {
2284
+ description: string | null;
2285
+ name: string;
2286
+ id: number;
2287
+ color: string;
2288
+ }[];
2289
+ comments: number;
2290
+ state: "open" | "closed";
2291
+ html_url: string;
2292
+ node_id: string;
2293
+ updated_at: string;
2294
+ closed_at: string | null;
2295
+ }, {
2296
+ number: number;
2297
+ title: string;
2298
+ id: number;
2299
+ user: {
2300
+ id: number;
2301
+ login: string;
2302
+ };
2303
+ body: string | null;
2304
+ created_at: string;
2305
+ labels: {
2306
+ description: string | null;
2307
+ name: string;
2308
+ id: number;
2309
+ color: string;
2310
+ }[];
2311
+ comments: number;
2312
+ state: "open" | "closed";
2313
+ html_url: string;
2314
+ node_id: string;
2315
+ updated_at: string;
2316
+ closed_at: string | null;
2317
+ }>, "many">>;
2318
+ }, "strip", z.ZodTypeAny, {
2319
+ error: string;
2320
+ success: boolean;
2321
+ operation: "list_issues";
2322
+ issues?: {
2323
+ number: number;
2324
+ title: string;
2325
+ id: number;
2326
+ user: {
2327
+ id: number;
2328
+ login: string;
2329
+ };
2330
+ body: string | null;
2331
+ created_at: string;
2332
+ labels: {
2333
+ description: string | null;
2334
+ name: string;
2335
+ id: number;
2336
+ color: string;
2337
+ }[];
2338
+ comments: number;
2339
+ state: "open" | "closed";
2340
+ html_url: string;
2341
+ node_id: string;
2342
+ updated_at: string;
2343
+ closed_at: string | null;
2344
+ }[] | undefined;
2345
+ }, {
2346
+ error: string;
2347
+ success: boolean;
2348
+ operation: "list_issues";
2349
+ issues?: {
2350
+ number: number;
2351
+ title: string;
2352
+ id: number;
2353
+ user: {
2354
+ id: number;
2355
+ login: string;
2356
+ };
2357
+ body: string | null;
2358
+ created_at: string;
2359
+ labels: {
2360
+ description: string | null;
2361
+ name: string;
2362
+ id: number;
2363
+ color: string;
2364
+ }[];
2365
+ comments: number;
2366
+ state: "open" | "closed";
2367
+ html_url: string;
2368
+ node_id: string;
2369
+ updated_at: string;
2370
+ closed_at: string | null;
2371
+ }[] | undefined;
2372
+ }>]>;
2373
+ static readonly shortDescription = "GitHub API integration for repository operations";
2374
+ static readonly longDescription = "\n GitHub API integration for accessing repositories, pull requests, issues, and files.\n \n Features:\n - Get file contents from repositories\n - List and browse directory contents\n - Manage pull requests (list, get details, comment)\n - Manage issues (list, comment)\n - List and get repository information\n - Non-sensitive read and comment operations only\n \n Use cases:\n - Code review automation and PR management\n - Repository file access and content retrieval\n - Issue and PR comment automation\n - Repository exploration and documentation\n - CI/CD integration and status checks\n \n Security Features:\n - Personal access token authentication (GitHub PAT)\n - Read-only operations with safe comment capabilities\n - No file deletion or destructive operations\n - Respects repository permissions\n ";
2375
+ static readonly alias = "gh";
2376
+ constructor(params?: T, context?: BubbleContext);
2377
+ testCredential(): Promise<boolean>;
2378
+ protected chooseCredential(): string | undefined;
2379
+ protected performAction(context?: BubbleContext): Promise<Extract<GithubResult, {
2380
+ operation: T['operation'];
2381
+ }>>;
2382
+ private handleGetFile;
2383
+ private handleGetDirectory;
2384
+ private handleListPullRequests;
2385
+ private handleGetPullRequest;
2386
+ private handleCreatePrComment;
2387
+ private handleListRepositories;
2388
+ private handleGetRepository;
2389
+ private handleCreateIssueComment;
2390
+ private handleListIssues;
2391
+ }
2392
+ export {};
2393
+ //# sourceMappingURL=github.d.ts.map