@rnsk/toolkits 0.0.9 → 0.0.11

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 (402) hide show
  1. package/README.md +18 -2
  2. package/dist/index.d.ts +17 -1
  3. package/dist/index.js +33 -1
  4. package/dist/toolkits/bitbucket/tools/index.d.ts +5 -5
  5. package/dist/toolkits/bitbucket/tools/reports.d.ts +5 -5
  6. package/dist/toolkits/cloudflare/tools/create-list.d.ts +1 -1
  7. package/dist/toolkits/cloudflare/tools/create-zone.d.ts +1 -1
  8. package/dist/toolkits/cloudflare/tools/index.d.ts +4 -4
  9. package/dist/toolkits/cloudflare/tools/list-pools.d.ts +1 -1
  10. package/dist/toolkits/cloudflare/tools/list-zones.d.ts +1 -1
  11. package/dist/toolkits/convex/icon.d.ts +5 -0
  12. package/dist/toolkits/convex/icon.js +10 -0
  13. package/dist/toolkits/convex/manifest.d.ts +3 -0
  14. package/dist/toolkits/convex/manifest.js +33 -0
  15. package/dist/toolkits/convex/tools/client.d.ts +28 -0
  16. package/dist/toolkits/convex/tools/client.js +85 -0
  17. package/dist/toolkits/convex/tools/deploy-keys.d.ts +10 -0
  18. package/dist/toolkits/convex/tools/deploy-keys.js +46 -0
  19. package/dist/toolkits/convex/tools/deployments.d.ts +35 -0
  20. package/dist/toolkits/convex/tools/deployments.js +126 -0
  21. package/dist/toolkits/convex/tools/domains.d.ts +7 -0
  22. package/dist/toolkits/convex/tools/domains.js +29 -0
  23. package/dist/toolkits/convex/tools/functions.d.ts +14 -0
  24. package/dist/toolkits/convex/tools/functions.js +49 -0
  25. package/dist/toolkits/convex/tools/index.d.ts +176 -0
  26. package/dist/toolkits/convex/tools/index.js +145 -0
  27. package/dist/toolkits/convex/tools/logging.d.ts +5 -0
  28. package/dist/toolkits/convex/tools/logging.js +25 -0
  29. package/dist/toolkits/convex/tools/projects.d.ts +31 -0
  30. package/dist/toolkits/convex/tools/projects.js +111 -0
  31. package/dist/toolkits/convex/tools/teams.d.ts +12 -0
  32. package/dist/toolkits/convex/tools/teams.js +62 -0
  33. package/dist/toolkits/datadog/icon.d.ts +5 -0
  34. package/dist/toolkits/datadog/icon.js +6 -0
  35. package/dist/toolkits/datadog/manifest.d.ts +3 -0
  36. package/dist/toolkits/datadog/manifest.js +44 -0
  37. package/dist/toolkits/datadog/tools/api-keys.d.ts +21 -0
  38. package/dist/toolkits/datadog/tools/api-keys.js +42 -0
  39. package/dist/toolkits/datadog/tools/apm.d.ts +51 -0
  40. package/dist/toolkits/datadog/tools/apm.js +106 -0
  41. package/dist/toolkits/datadog/tools/client.d.ts +19 -0
  42. package/dist/toolkits/datadog/tools/client.js +81 -0
  43. package/dist/toolkits/datadog/tools/dashboards.d.ts +93 -0
  44. package/dist/toolkits/datadog/tools/dashboards.js +127 -0
  45. package/dist/toolkits/datadog/tools/events.d.ts +35 -0
  46. package/dist/toolkits/datadog/tools/events.js +56 -0
  47. package/dist/toolkits/datadog/tools/hosts.d.ts +49 -0
  48. package/dist/toolkits/datadog/tools/hosts.js +87 -0
  49. package/dist/toolkits/datadog/tools/incidents.d.ts +18 -0
  50. package/dist/toolkits/datadog/tools/incidents.js +34 -0
  51. package/dist/toolkits/datadog/tools/index.d.ts +999 -0
  52. package/dist/toolkits/datadog/tools/index.js +450 -0
  53. package/dist/toolkits/datadog/tools/integrations.d.ts +32 -0
  54. package/dist/toolkits/datadog/tools/integrations.js +47 -0
  55. package/dist/toolkits/datadog/tools/logs.d.ts +39 -0
  56. package/dist/toolkits/datadog/tools/logs.js +121 -0
  57. package/dist/toolkits/datadog/tools/metrics.d.ts +27 -0
  58. package/dist/toolkits/datadog/tools/metrics.js +83 -0
  59. package/dist/toolkits/datadog/tools/monitors.d.ts +95 -0
  60. package/dist/toolkits/datadog/tools/monitors.js +190 -0
  61. package/dist/toolkits/datadog/tools/oncall-notifications.d.ts +61 -0
  62. package/dist/toolkits/datadog/tools/oncall-notifications.js +155 -0
  63. package/dist/toolkits/datadog/tools/oncall-policies.d.ts +28 -0
  64. package/dist/toolkits/datadog/tools/oncall-policies.js +72 -0
  65. package/dist/toolkits/datadog/tools/oncall-schedules.d.ts +31 -0
  66. package/dist/toolkits/datadog/tools/oncall-schedules.js +87 -0
  67. package/dist/toolkits/datadog/tools/oncall-teams.d.ts +14 -0
  68. package/dist/toolkits/datadog/tools/oncall-teams.js +54 -0
  69. package/dist/toolkits/datadog/tools/slos.d.ts +43 -0
  70. package/dist/toolkits/datadog/tools/slos.js +62 -0
  71. package/dist/toolkits/datadog/tools/synthetics.d.ts +58 -0
  72. package/dist/toolkits/datadog/tools/synthetics.js +90 -0
  73. package/dist/toolkits/datadog/tools/usage.d.ts +7 -0
  74. package/dist/toolkits/datadog/tools/usage.js +25 -0
  75. package/dist/toolkits/datadog/tools/users.d.ts +35 -0
  76. package/dist/toolkits/datadog/tools/users.js +66 -0
  77. package/dist/toolkits/dev-to/icon.d.ts +5 -0
  78. package/dist/toolkits/dev-to/icon.js +10 -0
  79. package/dist/toolkits/dev-to/manifest.d.ts +3 -0
  80. package/dist/toolkits/dev-to/manifest.js +34 -0
  81. package/dist/toolkits/dev-to/tools/articles.d.ts +78 -0
  82. package/dist/toolkits/dev-to/tools/articles.js +262 -0
  83. package/dist/toolkits/dev-to/tools/client.d.ts +25 -0
  84. package/dist/toolkits/dev-to/tools/client.js +65 -0
  85. package/dist/toolkits/dev-to/tools/community.d.ts +61 -0
  86. package/dist/toolkits/dev-to/tools/community.js +244 -0
  87. package/dist/toolkits/dev-to/tools/index.d.ts +202 -0
  88. package/dist/toolkits/dev-to/tools/index.js +37 -0
  89. package/dist/toolkits/dev-to/tools/listings.d.ts +26 -0
  90. package/dist/toolkits/dev-to/tools/listings.js +92 -0
  91. package/dist/toolkits/discord/tools/applications.d.ts +5 -5
  92. package/dist/toolkits/discord/tools/index.d.ts +5 -5
  93. package/dist/toolkits/figma/tools/create-modify-delete-variables.d.ts +1 -1
  94. package/dist/toolkits/figma/tools/get-file-nodes.d.ts +1 -1
  95. package/dist/toolkits/figma/tools/index.d.ts +3 -3
  96. package/dist/toolkits/figma/tools/render-images-of-file-nodes.d.ts +1 -1
  97. package/dist/toolkits/google-analytics/tools/reports.d.ts +9 -9
  98. package/dist/toolkits/google-classroom/tools/index.d.ts +7 -7
  99. package/dist/toolkits/google-classroom/tools/invitations.d.ts +2 -2
  100. package/dist/toolkits/google-classroom/tools/misc.d.ts +1 -1
  101. package/dist/toolkits/google-classroom/tools/roster.d.ts +5 -5
  102. package/dist/toolkits/google-search-console/tools/index.d.ts +2 -2
  103. package/dist/toolkits/google-search-console/tools/search-analytics-query.d.ts +2 -2
  104. package/dist/toolkits/hacker-news/icon.d.ts +5 -0
  105. package/dist/toolkits/hacker-news/icon.js +9 -0
  106. package/dist/toolkits/hacker-news/manifest.d.ts +3 -0
  107. package/dist/toolkits/hacker-news/manifest.js +25 -0
  108. package/dist/toolkits/hacker-news/tools/client.d.ts +8 -0
  109. package/dist/toolkits/hacker-news/tools/client.js +51 -0
  110. package/dist/toolkits/hacker-news/tools/index.d.ts +89 -0
  111. package/dist/toolkits/hacker-news/tools/index.js +22 -0
  112. package/dist/toolkits/hacker-news/tools/items.d.ts +42 -0
  113. package/dist/toolkits/hacker-news/tools/items.js +126 -0
  114. package/dist/toolkits/hacker-news/tools/search.d.ts +12 -0
  115. package/dist/toolkits/hacker-news/tools/search.js +40 -0
  116. package/dist/toolkits/hacker-news/tools/stories.d.ts +25 -0
  117. package/dist/toolkits/hacker-news/tools/stories.js +98 -0
  118. package/dist/toolkits/hostinger/icon.d.ts +5 -0
  119. package/dist/toolkits/hostinger/icon.js +6 -0
  120. package/dist/toolkits/hostinger/manifest.d.ts +3 -0
  121. package/dist/toolkits/hostinger/manifest.js +36 -0
  122. package/dist/toolkits/hostinger/tools/billing.d.ts +12 -0
  123. package/dist/toolkits/hostinger/tools/billing.js +35 -0
  124. package/dist/toolkits/hostinger/tools/client.d.ts +6 -0
  125. package/dist/toolkits/hostinger/tools/client.js +57 -0
  126. package/dist/toolkits/hostinger/tools/dns.d.ts +22 -0
  127. package/dist/toolkits/hostinger/tools/dns.js +47 -0
  128. package/dist/toolkits/hostinger/tools/domains.d.ts +21 -0
  129. package/dist/toolkits/hostinger/tools/domains.js +62 -0
  130. package/dist/toolkits/hostinger/tools/hosting.d.ts +17 -0
  131. package/dist/toolkits/hostinger/tools/hosting.js +38 -0
  132. package/dist/toolkits/hostinger/tools/index.d.ts +179 -0
  133. package/dist/toolkits/hostinger/tools/index.js +35 -0
  134. package/dist/toolkits/hostinger/tools/vps.d.ts +27 -0
  135. package/dist/toolkits/hostinger/tools/vps.js +77 -0
  136. package/dist/toolkits/hostinger/tools/whois.d.ts +33 -0
  137. package/dist/toolkits/hostinger/tools/whois.js +85 -0
  138. package/dist/toolkits/hugging-face/icon.d.ts +5 -0
  139. package/dist/toolkits/hugging-face/icon.js +6 -0
  140. package/dist/toolkits/hugging-face/manifest.d.ts +3 -0
  141. package/dist/toolkits/hugging-face/manifest.js +42 -0
  142. package/dist/toolkits/hugging-face/tools/client.d.ts +93 -0
  143. package/dist/toolkits/hugging-face/tools/client.js +192 -0
  144. package/dist/toolkits/hugging-face/tools/datasets-viewer.d.ts +65 -0
  145. package/dist/toolkits/hugging-face/tools/datasets-viewer.js +150 -0
  146. package/dist/toolkits/hugging-face/tools/datasets.d.ts +160 -0
  147. package/dist/toolkits/hugging-face/tools/datasets.js +383 -0
  148. package/dist/toolkits/hugging-face/tools/discussions.d.ts +68 -0
  149. package/dist/toolkits/hugging-face/tools/discussions.js +144 -0
  150. package/dist/toolkits/hugging-face/tools/index.d.ts +523 -0
  151. package/dist/toolkits/hugging-face/tools/index.js +163 -0
  152. package/dist/toolkits/hugging-face/tools/inference.d.ts +42 -0
  153. package/dist/toolkits/hugging-face/tools/inference.js +86 -0
  154. package/dist/toolkits/hugging-face/tools/models.d.ts +117 -0
  155. package/dist/toolkits/hugging-face/tools/models.js +273 -0
  156. package/dist/toolkits/hugging-face/tools/papers.d.ts +37 -0
  157. package/dist/toolkits/hugging-face/tools/papers.js +91 -0
  158. package/dist/toolkits/hugging-face/tools/repos.d.ts +96 -0
  159. package/dist/toolkits/hugging-face/tools/repos.js +201 -0
  160. package/dist/toolkits/hugging-face/tools/settings.d.ts +53 -0
  161. package/dist/toolkits/hugging-face/tools/settings.js +88 -0
  162. package/dist/toolkits/hugging-face/tools/spaces.d.ts +245 -0
  163. package/dist/toolkits/hugging-face/tools/spaces.js +468 -0
  164. package/dist/toolkits/hugging-face/tools/sql.d.ts +21 -0
  165. package/dist/toolkits/hugging-face/tools/sql.js +47 -0
  166. package/dist/toolkits/hugging-face/tools/users.d.ts +60 -0
  167. package/dist/toolkits/hugging-face/tools/users.js +132 -0
  168. package/dist/toolkits/hugging-face/tools/webhooks.d.ts +35 -0
  169. package/dist/toolkits/hugging-face/tools/webhooks.js +87 -0
  170. package/dist/toolkits/jira/icon.d.ts +5 -0
  171. package/dist/toolkits/jira/icon.js +6 -0
  172. package/dist/toolkits/jira/manifest.d.ts +3 -0
  173. package/dist/toolkits/jira/manifest.js +53 -0
  174. package/dist/toolkits/jira/tools/boards.d.ts +52 -0
  175. package/dist/toolkits/jira/tools/boards.js +104 -0
  176. package/dist/toolkits/jira/tools/client.d.ts +23 -0
  177. package/dist/toolkits/jira/tools/client.js +270 -0
  178. package/dist/toolkits/jira/tools/index.d.ts +1280 -0
  179. package/dist/toolkits/jira/tools/index.js +119 -0
  180. package/dist/toolkits/jira/tools/issue-fields.d.ts +10 -0
  181. package/dist/toolkits/jira/tools/issue-fields.js +111 -0
  182. package/dist/toolkits/jira/tools/issues.d.ts +304 -0
  183. package/dist/toolkits/jira/tools/issues.js +593 -0
  184. package/dist/toolkits/jira/tools/meta.d.ts +212 -0
  185. package/dist/toolkits/jira/tools/meta.js +369 -0
  186. package/dist/toolkits/jira/tools/projects.d.ts +130 -0
  187. package/dist/toolkits/jira/tools/projects.js +263 -0
  188. package/dist/toolkits/jira/tools/search.d.ts +90 -0
  189. package/dist/toolkits/jira/tools/search.js +181 -0
  190. package/dist/toolkits/jira/tools/users.d.ts +114 -0
  191. package/dist/toolkits/jira/tools/users.js +221 -0
  192. package/dist/toolkits/kaggle/icon.d.ts +5 -0
  193. package/dist/toolkits/kaggle/icon.js +6 -0
  194. package/dist/toolkits/kaggle/manifest.d.ts +3 -0
  195. package/dist/toolkits/kaggle/manifest.js +32 -0
  196. package/dist/toolkits/kaggle/tools/client.d.ts +10 -0
  197. package/dist/toolkits/kaggle/tools/client.js +94 -0
  198. package/dist/toolkits/kaggle/tools/competitions.d.ts +48 -0
  199. package/dist/toolkits/kaggle/tools/competitions.js +109 -0
  200. package/dist/toolkits/kaggle/tools/config.d.ts +110 -0
  201. package/dist/toolkits/kaggle/tools/config.js +256 -0
  202. package/dist/toolkits/kaggle/tools/datasets.d.ts +88 -0
  203. package/dist/toolkits/kaggle/tools/datasets.js +161 -0
  204. package/dist/toolkits/kaggle/tools/index.d.ts +482 -0
  205. package/dist/toolkits/kaggle/tools/index.js +53 -0
  206. package/dist/toolkits/kaggle/tools/kernels.d.ts +62 -0
  207. package/dist/toolkits/kaggle/tools/kernels.js +121 -0
  208. package/dist/toolkits/kaggle/tools/model_instance_files.d.ts +11 -0
  209. package/dist/toolkits/kaggle/tools/model_instance_files.js +23 -0
  210. package/dist/toolkits/kaggle/tools/model_instances.d.ts +8 -0
  211. package/dist/toolkits/kaggle/tools/model_instances.js +20 -0
  212. package/dist/toolkits/kaggle/tools/models.d.ts +14 -0
  213. package/dist/toolkits/kaggle/tools/models.js +33 -0
  214. package/dist/toolkits/nasa/icon.d.ts +5 -0
  215. package/dist/toolkits/nasa/icon.js +56 -0
  216. package/dist/toolkits/nasa/manifest.d.ts +3 -0
  217. package/dist/toolkits/nasa/manifest.js +49 -0
  218. package/dist/toolkits/nasa/tools/agage.d.ts +60 -0
  219. package/dist/toolkits/nasa/tools/agage.js +176 -0
  220. package/dist/toolkits/nasa/tools/client.d.ts +95 -0
  221. package/dist/toolkits/nasa/tools/client.js +337 -0
  222. package/dist/toolkits/nasa/tools/cmr.d.ts +268 -0
  223. package/dist/toolkits/nasa/tools/cmr.js +984 -0
  224. package/dist/toolkits/nasa/tools/donki.d.ts +63 -0
  225. package/dist/toolkits/nasa/tools/donki.js +301 -0
  226. package/dist/toolkits/nasa/tools/eonet.d.ts +74 -0
  227. package/dist/toolkits/nasa/tools/eonet.js +279 -0
  228. package/dist/toolkits/nasa/tools/icesat2.d.ts +25 -0
  229. package/dist/toolkits/nasa/tools/icesat2.js +97 -0
  230. package/dist/toolkits/nasa/tools/imagery.d.ts +36 -0
  231. package/dist/toolkits/nasa/tools/imagery.js +138 -0
  232. package/dist/toolkits/nasa/tools/index.d.ts +1063 -0
  233. package/dist/toolkits/nasa/tools/index.js +865 -0
  234. package/dist/toolkits/nasa/tools/neo.d.ts +15 -0
  235. package/dist/toolkits/nasa/tools/neo.js +75 -0
  236. package/dist/toolkits/nasa/tools/ntrs.d.ts +152 -0
  237. package/dist/toolkits/nasa/tools/ntrs.js +292 -0
  238. package/dist/toolkits/nasa/tools/osdr.d.ts +72 -0
  239. package/dist/toolkits/nasa/tools/osdr.js +290 -0
  240. package/dist/toolkits/nasa/tools/planetary.d.ts +58 -0
  241. package/dist/toolkits/nasa/tools/planetary.js +312 -0
  242. package/dist/toolkits/nasa/tools/power.d.ts +52 -0
  243. package/dist/toolkits/nasa/tools/power.js +213 -0
  244. package/dist/toolkits/nasa/tools/ssc.d.ts +44 -0
  245. package/dist/toolkits/nasa/tools/ssc.js +92 -0
  246. package/dist/toolkits/nasa/tools/tolnet.d.ts +84 -0
  247. package/dist/toolkits/nasa/tools/tolnet.js +254 -0
  248. package/dist/toolkits/neo4j/icon.d.ts +5 -0
  249. package/dist/toolkits/neo4j/icon.js +6 -0
  250. package/dist/toolkits/neo4j/manifest.d.ts +3 -0
  251. package/dist/toolkits/neo4j/manifest.js +33 -0
  252. package/dist/toolkits/neo4j/tools/analytics.d.ts +21 -0
  253. package/dist/toolkits/neo4j/tools/analytics.js +91 -0
  254. package/dist/toolkits/neo4j/tools/client.d.ts +6 -0
  255. package/dist/toolkits/neo4j/tools/client.js +105 -0
  256. package/dist/toolkits/neo4j/tools/index.d.ts +198 -0
  257. package/dist/toolkits/neo4j/tools/index.js +30 -0
  258. package/dist/toolkits/neo4j/tools/instances.d.ts +47 -0
  259. package/dist/toolkits/neo4j/tools/instances.js +127 -0
  260. package/dist/toolkits/neo4j/tools/projects.d.ts +44 -0
  261. package/dist/toolkits/neo4j/tools/projects.js +110 -0
  262. package/dist/toolkits/neo4j/tools/snapshots.d.ts +20 -0
  263. package/dist/toolkits/neo4j/tools/snapshots.js +57 -0
  264. package/dist/toolkits/neon/icon.d.ts +5 -0
  265. package/dist/toolkits/neon/icon.js +8 -0
  266. package/dist/toolkits/neon/manifest.d.ts +3 -0
  267. package/dist/toolkits/neon/manifest.js +36 -0
  268. package/dist/toolkits/neon/tools/auth.d.ts +115 -0
  269. package/dist/toolkits/neon/tools/auth.js +286 -0
  270. package/dist/toolkits/neon/tools/branches.d.ts +189 -0
  271. package/dist/toolkits/neon/tools/branches.js +465 -0
  272. package/dist/toolkits/neon/tools/client.d.ts +10 -0
  273. package/dist/toolkits/neon/tools/client.js +69 -0
  274. package/dist/toolkits/neon/tools/dataapi.d.ts +42 -0
  275. package/dist/toolkits/neon/tools/dataapi.js +111 -0
  276. package/dist/toolkits/neon/tools/endpoints.d.ts +59 -0
  277. package/dist/toolkits/neon/tools/endpoints.js +163 -0
  278. package/dist/toolkits/neon/tools/index.d.ts +976 -0
  279. package/dist/toolkits/neon/tools/index.js +130 -0
  280. package/dist/toolkits/neon/tools/meta.d.ts +4 -0
  281. package/dist/toolkits/neon/tools/meta.js +16 -0
  282. package/dist/toolkits/neon/tools/orgs.d.ts +112 -0
  283. package/dist/toolkits/neon/tools/orgs.js +303 -0
  284. package/dist/toolkits/neon/tools/projects.d.ts +177 -0
  285. package/dist/toolkits/neon/tools/projects.js +468 -0
  286. package/dist/toolkits/neon/tools/snapshots.d.ts +24 -0
  287. package/dist/toolkits/neon/tools/snapshots.js +67 -0
  288. package/dist/toolkits/new-relic/icon.d.ts +5 -0
  289. package/dist/toolkits/new-relic/icon.js +6 -0
  290. package/dist/toolkits/new-relic/manifest.d.ts +3 -0
  291. package/dist/toolkits/new-relic/manifest.js +41 -0
  292. package/dist/toolkits/new-relic/tools/admin.d.ts +310 -0
  293. package/dist/toolkits/new-relic/tools/admin.js +282 -0
  294. package/dist/toolkits/new-relic/tools/alert-policies.d.ts +74 -0
  295. package/dist/toolkits/new-relic/tools/alert-policies.js +136 -0
  296. package/dist/toolkits/new-relic/tools/apm.d.ts +129 -0
  297. package/dist/toolkits/new-relic/tools/apm.js +228 -0
  298. package/dist/toolkits/new-relic/tools/client.d.ts +62 -0
  299. package/dist/toolkits/new-relic/tools/client.js +167 -0
  300. package/dist/toolkits/new-relic/tools/conditions.d.ts +190 -0
  301. package/dist/toolkits/new-relic/tools/conditions.js +265 -0
  302. package/dist/toolkits/new-relic/tools/config.d.ts +73 -0
  303. package/dist/toolkits/new-relic/tools/config.js +131 -0
  304. package/dist/toolkits/new-relic/tools/dashboards.d.ts +204 -0
  305. package/dist/toolkits/new-relic/tools/dashboards.js +159 -0
  306. package/dist/toolkits/new-relic/tools/entities.d.ts +160 -0
  307. package/dist/toolkits/new-relic/tools/entities.js +218 -0
  308. package/dist/toolkits/new-relic/tools/index.d.ts +23 -0
  309. package/dist/toolkits/new-relic/tools/index.js +179 -0
  310. package/dist/toolkits/new-relic/tools/ingest.d.ts +31 -0
  311. package/dist/toolkits/new-relic/tools/ingest.js +80 -0
  312. package/dist/toolkits/new-relic/tools/notifications.d.ts +186 -0
  313. package/dist/toolkits/new-relic/tools/notifications.js +232 -0
  314. package/dist/toolkits/new-relic/tools/nrql-conditions.d.ts +105 -0
  315. package/dist/toolkits/new-relic/tools/nrql-conditions.js +136 -0
  316. package/dist/toolkits/new-relic/tools/nrql.d.ts +38 -0
  317. package/dist/toolkits/new-relic/tools/nrql.js +99 -0
  318. package/dist/toolkits/new-relic/tools/synthetics.d.ts +176 -0
  319. package/dist/toolkits/new-relic/tools/synthetics.js +246 -0
  320. package/dist/toolkits/notebook-lm/icon.d.ts +5 -0
  321. package/dist/toolkits/notebook-lm/icon.js +6 -0
  322. package/dist/toolkits/notebook-lm/manifest.d.ts +3 -0
  323. package/dist/toolkits/notebook-lm/manifest.js +44 -0
  324. package/dist/toolkits/notebook-lm/tools/add-text-sources.d.ts +36 -0
  325. package/dist/toolkits/notebook-lm/tools/add-text-sources.js +51 -0
  326. package/dist/toolkits/notebook-lm/tools/create-audio-overview.d.ts +47 -0
  327. package/dist/toolkits/notebook-lm/tools/create-audio-overview.js +55 -0
  328. package/dist/toolkits/notebook-lm/tools/create-notebook.d.ts +52 -0
  329. package/dist/toolkits/notebook-lm/tools/create-notebook.js +49 -0
  330. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.d.ts +33 -0
  331. package/dist/toolkits/notebook-lm/tools/delete-audio-overview.js +46 -0
  332. package/dist/toolkits/notebook-lm/tools/delete-notebooks.d.ts +32 -0
  333. package/dist/toolkits/notebook-lm/tools/delete-notebooks.js +46 -0
  334. package/dist/toolkits/notebook-lm/tools/delete-sources.d.ts +33 -0
  335. package/dist/toolkits/notebook-lm/tools/delete-sources.js +47 -0
  336. package/dist/toolkits/notebook-lm/tools/get-notebook.d.ts +52 -0
  337. package/dist/toolkits/notebook-lm/tools/get-notebook.js +45 -0
  338. package/dist/toolkits/notebook-lm/tools/get-source.d.ts +53 -0
  339. package/dist/toolkits/notebook-lm/tools/get-source.js +47 -0
  340. package/dist/toolkits/notebook-lm/tools/index.d.ts +516 -0
  341. package/dist/toolkits/notebook-lm/tools/index.js +93 -0
  342. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.d.ts +32 -0
  343. package/dist/toolkits/notebook-lm/tools/list-recent-notebooks.js +41 -0
  344. package/dist/toolkits/notebook-lm/tools/share-notebook.d.ts +48 -0
  345. package/dist/toolkits/notebook-lm/tools/share-notebook.js +57 -0
  346. package/dist/toolkits/notebook-lm/tools/upload-source-file.d.ts +40 -0
  347. package/dist/toolkits/notebook-lm/tools/upload-source-file.js +62 -0
  348. package/dist/toolkits/notebook-lm/tools/utils.d.ts +15 -0
  349. package/dist/toolkits/notebook-lm/tools/utils.js +46 -0
  350. package/dist/toolkits/npm/icon.d.ts +5 -0
  351. package/dist/toolkits/npm/icon.js +11 -0
  352. package/dist/toolkits/npm/manifest.d.ts +3 -0
  353. package/dist/toolkits/npm/manifest.js +35 -0
  354. package/dist/toolkits/npm/tools/client.d.ts +19 -0
  355. package/dist/toolkits/npm/tools/client.js +64 -0
  356. package/dist/toolkits/npm/tools/downloads.d.ts +19 -0
  357. package/dist/toolkits/npm/tools/downloads.js +39 -0
  358. package/dist/toolkits/npm/tools/index.d.ts +14 -0
  359. package/dist/toolkits/npm/tools/index.js +24 -0
  360. package/dist/toolkits/npm/tools/registry.d.ts +24 -0
  361. package/dist/toolkits/npm/tools/registry.js +58 -0
  362. package/dist/toolkits/npm/tools/security.d.ts +9 -0
  363. package/dist/toolkits/npm/tools/security.js +29 -0
  364. package/dist/toolkits/slack/tools/admin-users.d.ts +1 -1
  365. package/dist/toolkits/slack/tools/slack-lists.d.ts +3 -3
  366. package/dist/toolkits/snowflake/icon.d.ts +5 -0
  367. package/dist/toolkits/snowflake/icon.js +6 -0
  368. package/dist/toolkits/snowflake/manifest.d.ts +3 -0
  369. package/dist/toolkits/snowflake/manifest.js +32 -0
  370. package/dist/toolkits/snowflake/tools/catalog.d.ts +56 -0
  371. package/dist/toolkits/snowflake/tools/catalog.js +123 -0
  372. package/dist/toolkits/snowflake/tools/client.d.ts +53 -0
  373. package/dist/toolkits/snowflake/tools/client.js +145 -0
  374. package/dist/toolkits/snowflake/tools/index.d.ts +14 -0
  375. package/dist/toolkits/snowflake/tools/index.js +28 -0
  376. package/dist/toolkits/snowflake/tools/statements.d.ts +27 -0
  377. package/dist/toolkits/snowflake/tools/statements.js +84 -0
  378. package/dist/toolkits/snowflake/tools/status.d.ts +22 -0
  379. package/dist/toolkits/snowflake/tools/status.js +54 -0
  380. package/dist/toolkits/telegram/icon.d.ts +5 -0
  381. package/dist/toolkits/telegram/icon.js +6 -0
  382. package/dist/toolkits/telegram/manifest.d.ts +3 -0
  383. package/dist/toolkits/telegram/manifest.js +34 -0
  384. package/dist/toolkits/telegram/tools/bot.d.ts +13 -0
  385. package/dist/toolkits/telegram/tools/bot.js +23 -0
  386. package/dist/toolkits/telegram/tools/chats.d.ts +22 -0
  387. package/dist/toolkits/telegram/tools/chats.js +46 -0
  388. package/dist/toolkits/telegram/tools/client.d.ts +12 -0
  389. package/dist/toolkits/telegram/tools/client.js +46 -0
  390. package/dist/toolkits/telegram/tools/index.d.ts +15 -0
  391. package/dist/toolkits/telegram/tools/index.js +31 -0
  392. package/dist/toolkits/telegram/tools/messages.d.ts +86 -0
  393. package/dist/toolkits/telegram/tools/messages.js +134 -0
  394. package/dist/toolkits/telegram/tools/updates.d.ts +23 -0
  395. package/dist/toolkits/telegram/tools/updates.js +54 -0
  396. package/dist/toolkits/youtube/tools/get-channel-activities.d.ts +1 -1
  397. package/dist/toolkits/youtube/tools/index.d.ts +5 -5
  398. package/dist/toolkits/youtube/tools/list-channel-sections.d.ts +1 -1
  399. package/dist/toolkits/youtube/tools/post-comment.d.ts +1 -1
  400. package/dist/toolkits/youtube/tools/subscribe-channel.d.ts +1 -1
  401. package/dist/toolkits/youtube/tools/unsubscribe-channel.d.ts +1 -1
  402. package/package.json +2 -3
@@ -0,0 +1,126 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { hnFirebase } from './client.js';
5
+ export const hackerNewsGetItem = tool({
6
+ description: 'Get a Hacker News item (story, comment, job, poll, or pollopt) by its numeric ID. Returns author, score, title, text, timestamps, and comment IDs.',
7
+ inputSchema: z.object({
8
+ id: z.number().int().positive().describe('Unique numeric ID of the item to retrieve'),
9
+ }),
10
+ execute: async ({ id }) => {
11
+ const item = await hnFirebase(`/item/${id}.json`);
12
+ if (item && typeof item === 'object' && 'error' in item)
13
+ return item;
14
+ if (item === null)
15
+ return { error: `Hacker News item ${id} not found` };
16
+ return item;
17
+ },
18
+ });
19
+ function truncate(text, enabled) {
20
+ if (!enabled || typeof text !== 'string' || text.length <= 500)
21
+ return text;
22
+ return text.slice(0, 500);
23
+ }
24
+ async function resolveChildren(kids, depth, maxDepth, maxChildren, truncateText) {
25
+ if (depth > maxDepth || !kids || kids.length === 0 || maxChildren === 0) {
26
+ return { children: [], truncated: (kids?.length ?? 0) > 0 && depth <= maxDepth && maxChildren === 0, depthReached: depth > maxDepth };
27
+ }
28
+ const shown = kids.slice(0, maxChildren);
29
+ const children = [];
30
+ for (const kidId of shown) {
31
+ const raw = await hnFirebase(`/item/${kidId}.json`);
32
+ if (!raw || typeof raw !== 'object' || 'error' in raw || raw === null)
33
+ continue;
34
+ const item = raw;
35
+ const nested = await resolveChildren(item.kids, depth + 1, maxDepth, maxChildren, truncateText);
36
+ children.push({
37
+ id: item.id,
38
+ type: item.type,
39
+ author: item.by ?? null,
40
+ text: truncate(item.text ?? null, truncateText),
41
+ createdAt: typeof item.time === 'number' ? new Date(item.time * 1000).toISOString() : null,
42
+ createdAtI: item.time ?? null,
43
+ parentId: item.parent ?? null,
44
+ children: nested.children,
45
+ childrenTruncated: nested.truncated,
46
+ maxDepthReached: nested.depthReached,
47
+ });
48
+ }
49
+ return { children, truncated: kids.length > shown.length, depthReached: false };
50
+ }
51
+ export const hackerNewsGetItemWithId = tool({
52
+ description: 'Get a Hacker News item with nested comment replies. Limits depth, child count, and text length to prevent context overflow. Use for reading stories with their discussion.',
53
+ inputSchema: z.object({
54
+ itemId: z.string().describe('Numeric ID of the item (story, comment, job, poll, or pollopt)'),
55
+ maxDepth: z.number().int().min(0).max(10).optional().describe('Nested reply depth to include (0 = no children). Defaults to 2.'),
56
+ maxChildren: z.number().int().min(0).max(100).optional().describe('Direct child comments per item. Defaults to 10.'),
57
+ truncateText: z.boolean().optional().describe('Truncate long text to 500 characters. Defaults to true.'),
58
+ }),
59
+ execute: async ({ itemId, maxDepth = 2, maxChildren = 10, truncateText = true, }) => {
60
+ const id = Number(itemId);
61
+ if (!Number.isInteger(id) || id <= 0) {
62
+ return { found: false, item: null, errorMessage: `Invalid item ID: ${itemId}` };
63
+ }
64
+ const raw = await hnFirebase(`/item/${id}.json`);
65
+ if (raw && typeof raw === 'object' && 'error' in raw) {
66
+ return { found: false, item: null, errorMessage: raw.error };
67
+ }
68
+ if (raw === null) {
69
+ return { found: false, item: null, errorMessage: `Item ${id} not found` };
70
+ }
71
+ const item = raw;
72
+ const nested = await resolveChildren(item.kids, 1, maxDepth, maxChildren, truncateText);
73
+ return {
74
+ found: true,
75
+ item: {
76
+ id: item.id,
77
+ type: item.type,
78
+ author: item.by ?? null,
79
+ title: truncate(item.title ?? null, truncateText),
80
+ url: item.url ?? null,
81
+ text: truncate(item.text ?? null, truncateText),
82
+ points: item.score ?? null,
83
+ parentId: item.parent ?? null,
84
+ storyId: null,
85
+ createdAt: typeof item.time === 'number' ? new Date(item.time * 1000).toISOString() : null,
86
+ createdAtI: item.time ?? null,
87
+ options: item.parts ?? null,
88
+ children: nested.children,
89
+ childrenShown: nested.children.length,
90
+ totalChildrenCount: Array.isArray(item.kids) ? item.kids.length : 0,
91
+ childrenTruncated: nested.truncated,
92
+ maxDepthReached: nested.depthReached,
93
+ },
94
+ };
95
+ },
96
+ });
97
+ export const hackerNewsGetUser = tool({
98
+ description: 'Get a Hacker News user public profile by username. Returns username, karma, and bio. Use to look up HN community members.',
99
+ inputSchema: z.object({
100
+ username: z.string().describe('Case-sensitive HN username, e.g. "pg"'),
101
+ }),
102
+ execute: async ({ username }) => {
103
+ const user = await hnFirebase(`/user/${username}.json`);
104
+ if (user && typeof user === 'object' && 'error' in user)
105
+ return user;
106
+ if (user === null)
107
+ return { error: `Hacker News user "${username}" not found` };
108
+ const u = user;
109
+ return { username: u.id, karma: u.karma, about: u.about ?? null };
110
+ },
111
+ });
112
+ export const hackerNewsGetUserByUsername = tool({
113
+ description: 'Get detailed Hacker News user info by username, including creation date, karma, bio, and submission history.',
114
+ inputSchema: z.object({
115
+ username: z.string().describe('Case-sensitive HN username, e.g. "pg"'),
116
+ }),
117
+ execute: async ({ username }) => {
118
+ const user = await hnFirebase(`/user/${username}.json`);
119
+ if (user && typeof user === 'object' && 'error' in user)
120
+ return user;
121
+ if (user === null)
122
+ return { error: `Hacker News user "${username}" not found` };
123
+ return user;
124
+ },
125
+ });
126
+ //# sourceMappingURL=items.js.map
@@ -0,0 +1,12 @@
1
+ export declare const hackerNewsGetLatestPosts: import("ai").Tool<{
2
+ size?: number | undefined;
3
+ page?: number | undefined;
4
+ tags?: string[] | undefined;
5
+ }, any>;
6
+ export declare const hackerNewsSearchPosts: import("ai").Tool<{
7
+ query: string;
8
+ size?: number | undefined;
9
+ page?: number | undefined;
10
+ tags?: string[] | undefined;
11
+ }, any>;
12
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1,40 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { hnSearch } from './client.js';
5
+ const tagsField = z
6
+ .array(z.string())
7
+ .optional()
8
+ .describe('Filter tags (ANDed). Available: story, comment, poll, pollopt, show_hn, ask_hn, front_page, author_<USERNAME>, story_<ID>.');
9
+ export const hackerNewsGetLatestPosts = tool({
10
+ description: 'Get latest Hacker News posts with optional tag filters. Use to browse recent stories or comments, optionally filtered by type or author.',
11
+ inputSchema: z.object({
12
+ page: z.number().int().min(0).optional().describe('Page number, 0-indexed. Defaults to 0.'),
13
+ size: z.number().int().min(0).optional().describe('Max results to return. Defaults to 5. Set to 0 for the full page (up to 20).'),
14
+ tags: tagsField,
15
+ }),
16
+ execute: async ({ page = 0, size = 5, tags }) => {
17
+ const result = await hnSearch({ page, hitsPerPage: size && size > 0 ? size : 20, tags });
18
+ if (result && typeof result === 'object' && 'error' in result)
19
+ return result;
20
+ const hits = Array.isArray(result.hits) ? result.hits : [];
21
+ return { ...result, hits: size && size > 0 ? hits.slice(0, size) : hits };
22
+ },
23
+ });
24
+ export const hackerNewsSearchPosts = tool({
25
+ description: 'Full-text search of Hacker News stories and comments via Algolia. Supports AND/OR/NOT operators plus tag and author filters.',
26
+ inputSchema: z.object({
27
+ query: z.string().describe('Full-text search query'),
28
+ page: z.number().int().min(0).optional().describe('Page number, 0-indexed. Defaults to 0.'),
29
+ size: z.number().int().min(0).optional().describe('Max results to return. Defaults to 5. Set to 0 for the full page (up to 20).'),
30
+ tags: tagsField,
31
+ }),
32
+ execute: async ({ query, page = 0, size = 5, tags, }) => {
33
+ const result = await hnSearch({ query, page, hitsPerPage: size && size > 0 ? size : 20, tags });
34
+ if (result && typeof result === 'object' && 'error' in result)
35
+ return result;
36
+ const hits = Array.isArray(result.hits) ? result.hits : [];
37
+ return { ...result, hits: size && size > 0 ? hits.slice(0, size) : hits };
38
+ },
39
+ });
40
+ //# sourceMappingURL=search.js.map
@@ -0,0 +1,25 @@
1
+ export declare const hackerNewsGetAskStories: import("ai").Tool<{
2
+ print?: string | undefined;
3
+ }, any>;
4
+ export declare const hackerNewsGetBestStories: import("ai").Tool<{
5
+ print?: string | undefined;
6
+ }, any>;
7
+ export declare const hackerNewsGetJobStories: import("ai").Tool<{
8
+ printFormat?: string | undefined;
9
+ }, any>;
10
+ export declare const hackerNewsGetNewStories: import("ai").Tool<{
11
+ printFormat?: string | undefined;
12
+ }, any>;
13
+ export declare const hackerNewsGetShowStories: import("ai").Tool<{
14
+ printFormat?: string | undefined;
15
+ }, any>;
16
+ export declare const hackerNewsGetTopStories: import("ai").Tool<{
17
+ print?: string | undefined;
18
+ }, any>;
19
+ export declare const hackerNewsGetMaxItemId: import("ai").Tool<{
20
+ print?: string | undefined;
21
+ }, any>;
22
+ export declare const hackerNewsGetUpdates: import("ai").Tool<{
23
+ print?: string | undefined;
24
+ }, any>;
25
+ //# sourceMappingURL=stories.d.ts.map
@@ -0,0 +1,98 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { hnFirebase } from './client.js';
5
+ const prettyField = z
6
+ .string()
7
+ .optional()
8
+ .describe("Set to 'pretty' for formatted JSON output. Leave unset for compact JSON.");
9
+ function feedTool(name, description, endpoint, resultKey) {
10
+ return tool({
11
+ description,
12
+ inputSchema: z.object({
13
+ print: prettyField,
14
+ }),
15
+ execute: async ({ print }) => {
16
+ const ids = await hnFirebase(`/${endpoint}.json`, print ? { print } : {});
17
+ if (ids && typeof ids === 'object' && 'error' in ids)
18
+ return ids;
19
+ return { [resultKey]: ids, count: Array.isArray(ids) ? ids.length : 0 };
20
+ },
21
+ });
22
+ }
23
+ export const hackerNewsGetAskStories = feedTool('ask', 'Get up to 200 latest Ask HN story IDs in ranked order. Use the IDs with HackerNewsGetItem to fetch full story details.', 'askstories', 'storyIds');
24
+ export const hackerNewsGetBestStories = feedTool('best', 'Get up to 500 best Hacker News story IDs ranked by score. Use the IDs with HackerNewsGetItem to fetch full story details.', 'beststories', 'storyIds');
25
+ export const hackerNewsGetJobStories = tool({
26
+ description: 'Get up to 200 latest Hacker News job story IDs. Use the IDs with HackerNewsGetItem to fetch full job details.',
27
+ inputSchema: z.object({
28
+ printFormat: z
29
+ .string()
30
+ .optional()
31
+ .describe("Set to 'pretty' for formatted JSON output. Leave unset for compact JSON."),
32
+ }),
33
+ execute: async ({ printFormat }) => {
34
+ const ids = await hnFirebase('/jobstories.json', printFormat ? { print: printFormat } : {});
35
+ if (ids && typeof ids === 'object' && 'error' in ids)
36
+ return ids;
37
+ return { jobStoryIds: ids, count: Array.isArray(ids) ? ids.length : 0 };
38
+ },
39
+ });
40
+ export const hackerNewsGetNewStories = tool({
41
+ description: 'Get up to 500 newest Hacker News story IDs, most recent first. Use the IDs with HackerNewsGetItem to fetch full story details.',
42
+ inputSchema: z.object({
43
+ printFormat: z
44
+ .string()
45
+ .optional()
46
+ .describe("Set to 'pretty' for formatted JSON output. Leave unset for compact JSON."),
47
+ }),
48
+ execute: async ({ printFormat }) => {
49
+ const ids = await hnFirebase('/newstories.json', printFormat ? { print: printFormat } : {});
50
+ if (ids && typeof ids === 'object' && 'error' in ids)
51
+ return ids;
52
+ return { storyIds: ids, count: Array.isArray(ids) ? ids.length : 0 };
53
+ },
54
+ });
55
+ export const hackerNewsGetShowStories = tool({
56
+ description: 'Get up to 200 latest Show HN story IDs where people share projects and products. Use the IDs with HackerNewsGetItem to fetch full details.',
57
+ inputSchema: z.object({
58
+ printFormat: z
59
+ .string()
60
+ .optional()
61
+ .describe("Set to 'pretty' for formatted JSON output. Leave unset for compact JSON."),
62
+ }),
63
+ execute: async ({ printFormat }) => {
64
+ const ids = await hnFirebase('/showstories.json', printFormat ? { print: printFormat } : {});
65
+ if (ids && typeof ids === 'object' && 'error' in ids)
66
+ return ids;
67
+ return { storyIds: ids, count: Array.isArray(ids) ? ids.length : 0 };
68
+ },
69
+ });
70
+ export const hackerNewsGetTopStories = feedTool('top', 'Get up to 500 top Hacker News story IDs in front-page order. Use the IDs with HackerNewsGetItem to fetch full story details.', 'topstories', 'storyIds');
71
+ export const hackerNewsGetMaxItemId = tool({
72
+ description: 'Get the current largest Hacker News item ID. Use to discover the most recent items or walk backward through all items.',
73
+ inputSchema: z.object({
74
+ print: z
75
+ .string()
76
+ .optional()
77
+ .describe("Set to 'pretty' for formatted JSON output. Leave unset for compact JSON."),
78
+ }),
79
+ execute: async ({ print }) => {
80
+ const maxId = await hnFirebase('/maxitem.json', print ? { print } : {});
81
+ if (maxId && typeof maxId === 'object' && 'error' in maxId)
82
+ return maxId;
83
+ return { maxItemId: maxId };
84
+ },
85
+ });
86
+ export const hackerNewsGetUpdates = tool({
87
+ description: 'Get recently changed Hacker News item IDs and user profiles. Use to monitor recent activity on the platform.',
88
+ inputSchema: z.object({
89
+ print: z
90
+ .string()
91
+ .optional()
92
+ .describe("Set to 'pretty' for formatted JSON output. Leave unset for compact JSON."),
93
+ }),
94
+ execute: async ({ print }) => {
95
+ return hnFirebase('/updates.json', print ? { print } : {});
96
+ },
97
+ });
98
+ //# sourceMappingURL=stories.js.map
@@ -0,0 +1,5 @@
1
+ export declare const HOSTINGER_ICON: {
2
+ kind: "svg";
3
+ dataUri: string;
4
+ };
5
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1,6 @@
1
+ const SVG = `<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="M347.979 6v149.166l120.52 70.5V67.437L347.98 6zM43.499 6v234.104h391.98L316.207 174.54l-155.354-.062V68.999L43.5 6zm304.48 435.291V336.729l-156.542-.105c.146.688-121.25-66.604-121.25-66.604l398.312 1.896V506l-120.52-64.708zM43.499 288.312v152.979l117.355 61.437V357.145L43.5 288.312z" fill="#673de6" fill-rule="nonzero"/></svg>`;
2
+ export const HOSTINGER_ICON = {
3
+ kind: 'svg',
4
+ dataUri: `data:image/svg+xml;base64,${Buffer.from(SVG).toString('base64')}`,
5
+ };
6
+ //# sourceMappingURL=icon.js.map
@@ -0,0 +1,3 @@
1
+ declare const _default: import("../../index.js").ToolkitManifest;
2
+ export default _default;
3
+ //# sourceMappingURL=manifest.d.ts.map
@@ -0,0 +1,36 @@
1
+ import { defineToolkit, defineTool } from '../../core/define.js';
2
+ import { inferToolScope } from '../../core/scope.js';
3
+ import { HOSTINGER_ICON } from './icon.js';
4
+ import { hostingerTools } from './tools/index.js';
5
+ export default defineToolkit({
6
+ id: 'hostinger',
7
+ displayName: 'Hostinger',
8
+ shortDescription: 'Domains, DNS, WHOIS, VPS, hosting, websites, and billing.',
9
+ category: 'Developer Tools & DevOps',
10
+ icon: HOSTINGER_ICON,
11
+ auth: {
12
+ type: 'api_key',
13
+ tokenField: 'hostingerApiKey',
14
+ provider: {
15
+ in: 'header',
16
+ name: 'Authorization',
17
+ prefix: 'Bearer',
18
+ connectDescription: 'Connect Hostinger with an API token. Generate one from your Hostinger dashboard under the API section. All requests send it as Authorization: Bearer <token>.',
19
+ },
20
+ },
21
+ allowedHosts: ['developers.hostinger.com'],
22
+ tools: hostingerTools.map((entry) => defineTool({
23
+ name: entry.name,
24
+ description: entry.description,
25
+ tool: entry.tool,
26
+ requiredAuth: entry.requiredAuth,
27
+ scope: entry.scope ?? inferToolScope(entry.name),
28
+ })),
29
+ meta: {
30
+ since: '0.0.9',
31
+ homepage: 'https://www.hostinger.com',
32
+ docsUrl: 'https://developers.hostinger.com/',
33
+ apiDocsUrl: 'https://docs.hostinger.com/api-reference/overview',
34
+ },
35
+ });
36
+ //# sourceMappingURL=manifest.js.map
@@ -0,0 +1,12 @@
1
+ export declare const hostingerListCatalogItems: import("ai").Tool<{
2
+ name?: string | undefined;
3
+ hostingerApiKey?: string | undefined;
4
+ category?: "DOMAIN" | "VPS" | undefined;
5
+ }, any>;
6
+ export declare const hostingerListPaymentMethods: import("ai").Tool<{
7
+ hostingerApiKey?: string | undefined;
8
+ }, any>;
9
+ export declare const hostingerListSubscriptions: import("ai").Tool<{
10
+ hostingerApiKey?: string | undefined;
11
+ }, any>;
12
+ //# sourceMappingURL=billing.d.ts.map
@@ -0,0 +1,35 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { hostingerRequest } from './client.js';
5
+ const tokenField = z.string().optional().describe('Injected by system; do not provide');
6
+ export const hostingerListCatalogItems = tool({
7
+ description: 'List catalog items available for order (domains, VPS plans) with pricing in cents. Use to check services and prices before ordering.',
8
+ inputSchema: z.object({
9
+ hostingerApiKey: tokenField,
10
+ name: z.string().optional().describe('Filter by name, use * as wildcard, e.g. ".COM*"'),
11
+ category: z.enum(['DOMAIN', 'VPS']).optional().describe('Filter by category'),
12
+ }),
13
+ execute: async ({ hostingerApiKey, name, category }) => {
14
+ return hostingerRequest(hostingerApiKey, '/api/billing/v1/catalog', { query: { name, category } });
15
+ },
16
+ });
17
+ export const hostingerListPaymentMethods = tool({
18
+ description: 'List payment methods available for placing orders. Use to view payment options before creating an order.',
19
+ inputSchema: z.object({
20
+ hostingerApiKey: tokenField,
21
+ }),
22
+ execute: async ({ hostingerApiKey }) => {
23
+ return hostingerRequest(hostingerApiKey, '/api/billing/v1/payment-methods');
24
+ },
25
+ });
26
+ export const hostingerListSubscriptions = tool({
27
+ description: 'List all subscriptions on the account. Use to monitor active services and billing status.',
28
+ inputSchema: z.object({
29
+ hostingerApiKey: tokenField,
30
+ }),
31
+ execute: async ({ hostingerApiKey }) => {
32
+ return hostingerRequest(hostingerApiKey, '/api/billing/v1/subscriptions');
33
+ },
34
+ });
35
+ //# sourceMappingURL=billing.js.map
@@ -0,0 +1,6 @@
1
+ export declare function hostingerRequest(hostingerApiKey: string | undefined, path: string, options?: {
2
+ method?: string;
3
+ query?: Record<string, string | number | boolean | undefined>;
4
+ body?: unknown;
5
+ }): Promise<any>;
6
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1,57 @@
1
+ // @ts-nocheck
2
+ const HOSTINGER_API_BASE = 'https://developers.hostinger.com';
3
+ export async function hostingerRequest(hostingerApiKey, path, options = {}) {
4
+ if (!hostingerApiKey) {
5
+ return { error: 'Hostinger API key is required. Connect Hostinger first.' };
6
+ }
7
+ const params = new URLSearchParams();
8
+ if (options.query) {
9
+ for (const [key, value] of Object.entries(options.query)) {
10
+ if (value !== undefined && value !== null && value !== '') {
11
+ if (Array.isArray(value)) {
12
+ for (const item of value)
13
+ params.append(key, String(item));
14
+ }
15
+ else {
16
+ params.append(key, String(value));
17
+ }
18
+ }
19
+ }
20
+ }
21
+ const queryString = params.toString();
22
+ const url = `${HOSTINGER_API_BASE}${path}${queryString ? `?${queryString}` : ''}`;
23
+ try {
24
+ const response = await fetch(url, {
25
+ method: options.method ?? 'GET',
26
+ headers: {
27
+ Authorization: `Bearer ${hostingerApiKey}`,
28
+ 'Content-Type': 'application/json',
29
+ Accept: 'application/json',
30
+ },
31
+ body: options.body !== undefined ? JSON.stringify(options.body) : undefined,
32
+ });
33
+ if (!response.ok) {
34
+ const details = await response.json().catch(() => ({}));
35
+ return { error: `Hostinger API request failed with status ${response.status}`, details };
36
+ }
37
+ if (response.status === 204) {
38
+ return { success: true };
39
+ }
40
+ const text = await response.text();
41
+ if (!text)
42
+ return { success: true };
43
+ try {
44
+ return JSON.parse(text);
45
+ }
46
+ catch {
47
+ return { raw: text };
48
+ }
49
+ }
50
+ catch (error) {
51
+ return {
52
+ error: 'Error calling Hostinger API',
53
+ message: error instanceof Error ? error.message : 'Unknown error',
54
+ };
55
+ }
56
+ }
57
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1,22 @@
1
+ export declare const hostingerGetDnsRecords: import("ai").Tool<{
2
+ domain: string;
3
+ hostingerApiKey?: string | undefined;
4
+ }, any>;
5
+ export declare const hostingerValidateDnsRecords: import("ai").Tool<{
6
+ domain: string;
7
+ zone: {
8
+ type: string;
9
+ name: string;
10
+ records: {
11
+ content: string;
12
+ }[];
13
+ ttl?: number | undefined;
14
+ }[];
15
+ overwrite?: boolean | undefined;
16
+ hostingerApiKey?: string | undefined;
17
+ }, any>;
18
+ export declare const hostingerListDnsSnapshots: import("ai").Tool<{
19
+ domain: string;
20
+ hostingerApiKey?: string | undefined;
21
+ }, any>;
22
+ //# sourceMappingURL=dns.d.ts.map
@@ -0,0 +1,47 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { hostingerRequest } from './client.js';
5
+ const tokenField = z.string().optional().describe('Injected by system; do not provide');
6
+ export const hostingerGetDnsRecords = tool({
7
+ description: 'Get DNS zone records for a domain. Use to review current DNS configuration, check propagation after updates, or audit DNS settings.',
8
+ inputSchema: z.object({
9
+ hostingerApiKey: tokenField,
10
+ domain: z.string().describe('Domain name, e.g. "mydomain.tld"'),
11
+ }),
12
+ execute: async ({ hostingerApiKey, domain }) => {
13
+ return hostingerRequest(hostingerApiKey, `/api/dns/v1/zones/${encodeURIComponent(domain)}`);
14
+ },
15
+ });
16
+ const zoneEntry = z.object({
17
+ name: z.string().describe('Subdomain or hostname, e.g. "www"'),
18
+ type: z.string().describe('Record type, e.g. "A", "AAAA", "CNAME", "MX", "TXT", "NS"'),
19
+ ttl: z.number().int().min(0).optional().describe('Time to live in seconds'),
20
+ records: z.array(z.object({ content: z.string().describe('Record content, e.g. IP address or hostname') })).min(1).describe('DNS records for this entry'),
21
+ });
22
+ export const hostingerValidateDnsRecords = tool({
23
+ description: 'Validate DNS zone records for a domain before applying an update. Use to verify record validity; success returns 200, invalid records fail with 422.',
24
+ inputSchema: z.object({
25
+ hostingerApiKey: tokenField,
26
+ domain: z.string().describe('Domain name, e.g. "example.com"'),
27
+ zone: z.array(zoneEntry).min(1).describe('DNS zone entries to validate'),
28
+ overwrite: z.boolean().optional().describe('When true, matching records are replaced; otherwise TTLs are updated and records appended'),
29
+ }),
30
+ execute: async ({ hostingerApiKey, domain, zone, overwrite }) => {
31
+ return hostingerRequest(hostingerApiKey, `/api/dns/v1/zones/${encodeURIComponent(domain)}/validate`, {
32
+ method: 'POST',
33
+ body: { zone, overwrite },
34
+ });
35
+ },
36
+ });
37
+ export const hostingerListDnsSnapshots = tool({
38
+ description: 'List DNS snapshots (backup points) for a domain. Use to find restore points for DNS recovery or audit history.',
39
+ inputSchema: z.object({
40
+ hostingerApiKey: tokenField,
41
+ domain: z.string().describe('Domain name, e.g. "mydomain.tld"'),
42
+ }),
43
+ execute: async ({ hostingerApiKey, domain }) => {
44
+ return hostingerRequest(hostingerApiKey, `/api/dns/v1/snapshots/${encodeURIComponent(domain)}`);
45
+ },
46
+ });
47
+ //# sourceMappingURL=dns.js.map
@@ -0,0 +1,21 @@
1
+ export declare const hostingerCheckDomainAvailability: import("ai").Tool<{
2
+ domain: string;
3
+ tlds: string[];
4
+ hostingerApiKey?: string | undefined;
5
+ withAlternatives?: boolean | undefined;
6
+ }, any>;
7
+ export declare const hostingerListDomains: import("ai").Tool<{
8
+ hostingerApiKey?: string | undefined;
9
+ }, any>;
10
+ export declare const hostingerGetDomainForwarding: import("ai").Tool<{
11
+ domain: string;
12
+ hostingerApiKey?: string | undefined;
13
+ }, any>;
14
+ export declare const hostingerGenerateFreeSubdomain: import("ai").Tool<{
15
+ hostingerApiKey?: string | undefined;
16
+ }, any>;
17
+ export declare const hostingerVerifyDomainOwnership: import("ai").Tool<{
18
+ domain: string;
19
+ hostingerApiKey?: string | undefined;
20
+ }, any>;
21
+ //# sourceMappingURL=domains.d.ts.map
@@ -0,0 +1,62 @@
1
+ // @ts-nocheck
2
+ import { tool } from 'ai';
3
+ import { z } from 'zod';
4
+ import { hostingerRequest } from './client.js';
5
+ const tokenField = z.string().optional().describe('Injected by system; do not provide');
6
+ export const hostingerCheckDomainAvailability = tool({
7
+ description: 'Check if domain names are available for registration across multiple TLDs. Use before purchasing a domain. Provide TLDs without a leading dot. Rate limited to 10 requests per minute.',
8
+ inputSchema: z.object({
9
+ hostingerApiKey: tokenField,
10
+ domain: z.string().describe('Domain name without TLD, e.g. "mydomain"'),
11
+ tlds: z.array(z.string()).min(1).describe('TLDs to check without leading dot, e.g. ["com", "net"]'),
12
+ withAlternatives: z.boolean().optional().describe('Include alternative domain suggestions (provide only one TLD when true)'),
13
+ }),
14
+ execute: async ({ hostingerApiKey, domain, tlds, withAlternatives }) => {
15
+ return hostingerRequest(hostingerApiKey, '/api/domains/v1/availability', {
16
+ method: 'POST',
17
+ body: { domain, tlds, with_alternatives: withAlternatives },
18
+ });
19
+ },
20
+ });
21
+ export const hostingerListDomains = tool({
22
+ description: 'List all domains in the Hostinger account portfolio. Use when the user asks to see their domains or domain portfolio.',
23
+ inputSchema: z.object({
24
+ hostingerApiKey: tokenField,
25
+ }),
26
+ execute: async ({ hostingerApiKey }) => {
27
+ return hostingerRequest(hostingerApiKey, '/api/domains/v1/portfolio');
28
+ },
29
+ });
30
+ export const hostingerGetDomainForwarding = tool({
31
+ description: 'Get the forwarding (redirect) configuration for a domain, including target URL and redirect type (301/302).',
32
+ inputSchema: z.object({
33
+ hostingerApiKey: tokenField,
34
+ domain: z.string().describe('Domain name, e.g. "mydomain.tld"'),
35
+ }),
36
+ execute: async ({ hostingerApiKey, domain }) => {
37
+ return hostingerRequest(hostingerApiKey, `/api/domains/v1/forwarding/${encodeURIComponent(domain)}`);
38
+ },
39
+ });
40
+ export const hostingerGenerateFreeSubdomain = tool({
41
+ description: 'Generate a free *.hostingersite.com subdomain for hosting without buying a custom domain. Use when the user wants a quick free subdomain.',
42
+ inputSchema: z.object({
43
+ hostingerApiKey: tokenField,
44
+ }),
45
+ execute: async ({ hostingerApiKey }) => {
46
+ return hostingerRequest(hostingerApiKey, '/api/hosting/v1/domains/free-subdomains', { method: 'POST' });
47
+ },
48
+ });
49
+ export const hostingerVerifyDomainOwnership = tool({
50
+ description: 'Verify ownership of a domain and check if it is accessible for new websites. If not accessible, the response includes a TXT record to add to DNS. Skip for *.hostingersite.com subdomains.',
51
+ inputSchema: z.object({
52
+ hostingerApiKey: tokenField,
53
+ domain: z.string().describe('Domain name to verify, e.g. "example.com"'),
54
+ }),
55
+ execute: async ({ hostingerApiKey, domain }) => {
56
+ return hostingerRequest(hostingerApiKey, '/api/hosting/v1/domains/verify-ownership', {
57
+ method: 'POST',
58
+ body: { domain },
59
+ });
60
+ },
61
+ });
62
+ //# sourceMappingURL=domains.js.map
@@ -0,0 +1,17 @@
1
+ export declare const hostingerListOrders: import("ai").Tool<{
2
+ perPage?: number | undefined;
3
+ page?: number | undefined;
4
+ statuses?: string[] | undefined;
5
+ hostingerApiKey?: string | undefined;
6
+ orderIds?: number[] | undefined;
7
+ }, any>;
8
+ export declare const hostingerListWebsites: import("ai").Tool<{
9
+ perPage?: number | undefined;
10
+ page?: number | undefined;
11
+ username?: string | undefined;
12
+ domain?: string | undefined;
13
+ hostingerApiKey?: string | undefined;
14
+ orderId?: number | undefined;
15
+ isEnabled?: boolean | undefined;
16
+ }, any>;
17
+ //# sourceMappingURL=hosting.d.ts.map