@keystrokehq/fly 0.1.0

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 (394) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-wire-guard-peer.cjs +28 -0
  7. package/dist/actions/add-wire-guard-peer.cjs.map +1 -0
  8. package/dist/actions/add-wire-guard-peer.d.cts +9 -0
  9. package/dist/actions/add-wire-guard-peer.d.cts.map +1 -0
  10. package/dist/actions/add-wire-guard-peer.d.mts +9 -0
  11. package/dist/actions/add-wire-guard-peer.d.mts.map +1 -0
  12. package/dist/actions/add-wire-guard-peer.mjs +25 -0
  13. package/dist/actions/add-wire-guard-peer.mjs.map +1 -0
  14. package/dist/actions/check-app-name-availability.cjs +20 -0
  15. package/dist/actions/check-app-name-availability.cjs.map +1 -0
  16. package/dist/actions/check-app-name-availability.d.cts +9 -0
  17. package/dist/actions/check-app-name-availability.d.cts.map +1 -0
  18. package/dist/actions/check-app-name-availability.d.mts +9 -0
  19. package/dist/actions/check-app-name-availability.d.mts.map +1 -0
  20. package/dist/actions/check-app-name-availability.mjs +19 -0
  21. package/dist/actions/check-app-name-availability.mjs.map +1 -0
  22. package/dist/actions/check-jobs.cjs +22 -0
  23. package/dist/actions/check-jobs.cjs.map +1 -0
  24. package/dist/actions/check-jobs.d.cts +9 -0
  25. package/dist/actions/check-jobs.d.cts.map +1 -0
  26. package/dist/actions/check-jobs.d.mts +9 -0
  27. package/dist/actions/check-jobs.d.mts.map +1 -0
  28. package/dist/actions/check-jobs.mjs +19 -0
  29. package/dist/actions/check-jobs.mjs.map +1 -0
  30. package/dist/actions/check-user-only-token.cjs +17 -0
  31. package/dist/actions/check-user-only-token.cjs.map +1 -0
  32. package/dist/actions/check-user-only-token.d.cts +9 -0
  33. package/dist/actions/check-user-only-token.d.cts.map +1 -0
  34. package/dist/actions/check-user-only-token.d.mts +9 -0
  35. package/dist/actions/check-user-only-token.d.mts.map +1 -0
  36. package/dist/actions/check-user-only-token.mjs +16 -0
  37. package/dist/actions/check-user-only-token.mjs.map +1 -0
  38. package/dist/actions/create-check-job-run.cjs +28 -0
  39. package/dist/actions/create-check-job-run.cjs.map +1 -0
  40. package/dist/actions/create-check-job-run.d.cts +9 -0
  41. package/dist/actions/create-check-job-run.d.cts.map +1 -0
  42. package/dist/actions/create-check-job-run.d.mts +9 -0
  43. package/dist/actions/create-check-job-run.d.mts.map +1 -0
  44. package/dist/actions/create-check-job-run.mjs +27 -0
  45. package/dist/actions/create-check-job-run.mjs.map +1 -0
  46. package/dist/actions/create-check-job.cjs +32 -0
  47. package/dist/actions/create-check-job.cjs.map +1 -0
  48. package/dist/actions/create-check-job.d.cts +9 -0
  49. package/dist/actions/create-check-job.d.cts.map +1 -0
  50. package/dist/actions/create-check-job.d.mts +9 -0
  51. package/dist/actions/create-check-job.d.mts.map +1 -0
  52. package/dist/actions/create-check-job.mjs +31 -0
  53. package/dist/actions/create-check-job.mjs.map +1 -0
  54. package/dist/actions/create-delegated-wire-guard-token.cjs +23 -0
  55. package/dist/actions/create-delegated-wire-guard-token.cjs.map +1 -0
  56. package/dist/actions/create-delegated-wire-guard-token.d.cts +9 -0
  57. package/dist/actions/create-delegated-wire-guard-token.d.cts.map +1 -0
  58. package/dist/actions/create-delegated-wire-guard-token.d.mts +9 -0
  59. package/dist/actions/create-delegated-wire-guard-token.d.mts.map +1 -0
  60. package/dist/actions/create-delegated-wire-guard-token.mjs +20 -0
  61. package/dist/actions/create-delegated-wire-guard-token.mjs.map +1 -0
  62. package/dist/actions/create-third-party-configuration.cjs +67 -0
  63. package/dist/actions/create-third-party-configuration.cjs.map +1 -0
  64. package/dist/actions/create-third-party-configuration.d.cts +9 -0
  65. package/dist/actions/create-third-party-configuration.d.cts.map +1 -0
  66. package/dist/actions/create-third-party-configuration.d.mts +9 -0
  67. package/dist/actions/create-third-party-configuration.d.mts.map +1 -0
  68. package/dist/actions/create-third-party-configuration.mjs +66 -0
  69. package/dist/actions/create-third-party-configuration.mjs.map +1 -0
  70. package/dist/actions/delete-delegated-wire-guard-token.cjs +24 -0
  71. package/dist/actions/delete-delegated-wire-guard-token.cjs.map +1 -0
  72. package/dist/actions/delete-delegated-wire-guard-token.d.cts +9 -0
  73. package/dist/actions/delete-delegated-wire-guard-token.d.cts.map +1 -0
  74. package/dist/actions/delete-delegated-wire-guard-token.d.mts +9 -0
  75. package/dist/actions/delete-delegated-wire-guard-token.d.mts.map +1 -0
  76. package/dist/actions/delete-delegated-wire-guard-token.mjs +21 -0
  77. package/dist/actions/delete-delegated-wire-guard-token.mjs.map +1 -0
  78. package/dist/actions/delete-organization.cjs +31 -0
  79. package/dist/actions/delete-organization.cjs.map +1 -0
  80. package/dist/actions/delete-organization.d.cts +9 -0
  81. package/dist/actions/delete-organization.d.cts.map +1 -0
  82. package/dist/actions/delete-organization.d.mts +9 -0
  83. package/dist/actions/delete-organization.d.mts.map +1 -0
  84. package/dist/actions/delete-organization.mjs +30 -0
  85. package/dist/actions/delete-organization.mjs.map +1 -0
  86. package/dist/actions/delete-remote-builder.cjs +24 -0
  87. package/dist/actions/delete-remote-builder.cjs.map +1 -0
  88. package/dist/actions/delete-remote-builder.d.cts +9 -0
  89. package/dist/actions/delete-remote-builder.d.cts.map +1 -0
  90. package/dist/actions/delete-remote-builder.d.mts +9 -0
  91. package/dist/actions/delete-remote-builder.d.mts.map +1 -0
  92. package/dist/actions/delete-remote-builder.mjs +23 -0
  93. package/dist/actions/delete-remote-builder.mjs.map +1 -0
  94. package/dist/actions/delete-third-party-configuration.cjs +22 -0
  95. package/dist/actions/delete-third-party-configuration.cjs.map +1 -0
  96. package/dist/actions/delete-third-party-configuration.d.cts +9 -0
  97. package/dist/actions/delete-third-party-configuration.d.cts.map +1 -0
  98. package/dist/actions/delete-third-party-configuration.d.mts +9 -0
  99. package/dist/actions/delete-third-party-configuration.d.mts.map +1 -0
  100. package/dist/actions/delete-third-party-configuration.mjs +19 -0
  101. package/dist/actions/delete-third-party-configuration.mjs.map +1 -0
  102. package/dist/actions/detach-postgres-cluster.cjs +33 -0
  103. package/dist/actions/detach-postgres-cluster.cjs.map +1 -0
  104. package/dist/actions/detach-postgres-cluster.d.cts +9 -0
  105. package/dist/actions/detach-postgres-cluster.d.cts.map +1 -0
  106. package/dist/actions/detach-postgres-cluster.d.mts +9 -0
  107. package/dist/actions/detach-postgres-cluster.d.mts.map +1 -0
  108. package/dist/actions/detach-postgres-cluster.mjs +32 -0
  109. package/dist/actions/detach-postgres-cluster.mjs.map +1 -0
  110. package/dist/actions/establish-ssh-key.cjs +23 -0
  111. package/dist/actions/establish-ssh-key.cjs.map +1 -0
  112. package/dist/actions/establish-ssh-key.d.cts +9 -0
  113. package/dist/actions/establish-ssh-key.d.cts.map +1 -0
  114. package/dist/actions/establish-ssh-key.d.mts +9 -0
  115. package/dist/actions/establish-ssh-key.d.mts.map +1 -0
  116. package/dist/actions/establish-ssh-key.mjs +20 -0
  117. package/dist/actions/establish-ssh-key.mjs.map +1 -0
  118. package/dist/actions/fetch-nodes-by-ids.cjs +22 -0
  119. package/dist/actions/fetch-nodes-by-ids.cjs.map +1 -0
  120. package/dist/actions/fetch-nodes-by-ids.d.cts +9 -0
  121. package/dist/actions/fetch-nodes-by-ids.d.cts.map +1 -0
  122. package/dist/actions/fetch-nodes-by-ids.d.mts +9 -0
  123. package/dist/actions/fetch-nodes-by-ids.d.mts.map +1 -0
  124. package/dist/actions/fetch-nodes-by-ids.mjs +19 -0
  125. package/dist/actions/fetch-nodes-by-ids.mjs.map +1 -0
  126. package/dist/actions/get-add-on-provider.cjs +33 -0
  127. package/dist/actions/get-add-on-provider.cjs.map +1 -0
  128. package/dist/actions/get-add-on-provider.d.cts +9 -0
  129. package/dist/actions/get-add-on-provider.d.cts.map +1 -0
  130. package/dist/actions/get-add-on-provider.d.mts +9 -0
  131. package/dist/actions/get-add-on-provider.d.mts.map +1 -0
  132. package/dist/actions/get-add-on-provider.mjs +30 -0
  133. package/dist/actions/get-add-on-provider.mjs.map +1 -0
  134. package/dist/actions/get-add-on.cjs +41 -0
  135. package/dist/actions/get-add-on.cjs.map +1 -0
  136. package/dist/actions/get-add-on.d.cts +9 -0
  137. package/dist/actions/get-add-on.d.cts.map +1 -0
  138. package/dist/actions/get-add-on.d.mts +9 -0
  139. package/dist/actions/get-add-on.d.mts.map +1 -0
  140. package/dist/actions/get-add-on.mjs +40 -0
  141. package/dist/actions/get-add-on.mjs.map +1 -0
  142. package/dist/actions/get-app-details.cjs +28 -0
  143. package/dist/actions/get-app-details.cjs.map +1 -0
  144. package/dist/actions/get-app-details.d.cts +9 -0
  145. package/dist/actions/get-app-details.d.cts.map +1 -0
  146. package/dist/actions/get-app-details.d.mts +9 -0
  147. package/dist/actions/get-app-details.d.mts.map +1 -0
  148. package/dist/actions/get-app-details.mjs +27 -0
  149. package/dist/actions/get-app-details.mjs.map +1 -0
  150. package/dist/actions/get-certificate.cjs +44 -0
  151. package/dist/actions/get-certificate.cjs.map +1 -0
  152. package/dist/actions/get-certificate.d.cts +9 -0
  153. package/dist/actions/get-certificate.d.cts.map +1 -0
  154. package/dist/actions/get-certificate.d.mts +9 -0
  155. package/dist/actions/get-certificate.d.mts.map +1 -0
  156. package/dist/actions/get-certificate.mjs +43 -0
  157. package/dist/actions/get-certificate.mjs.map +1 -0
  158. package/dist/actions/get-current-token-info.cjs +25 -0
  159. package/dist/actions/get-current-token-info.cjs.map +1 -0
  160. package/dist/actions/get-current-token-info.d.cts +9 -0
  161. package/dist/actions/get-current-token-info.d.cts.map +1 -0
  162. package/dist/actions/get-current-token-info.d.mts +9 -0
  163. package/dist/actions/get-current-token-info.d.mts.map +1 -0
  164. package/dist/actions/get-current-token-info.mjs +24 -0
  165. package/dist/actions/get-current-token-info.mjs.map +1 -0
  166. package/dist/actions/get-latest-image-details.cjs +25 -0
  167. package/dist/actions/get-latest-image-details.cjs.map +1 -0
  168. package/dist/actions/get-latest-image-details.d.cts +9 -0
  169. package/dist/actions/get-latest-image-details.d.cts.map +1 -0
  170. package/dist/actions/get-latest-image-details.d.mts +9 -0
  171. package/dist/actions/get-latest-image-details.d.mts.map +1 -0
  172. package/dist/actions/get-latest-image-details.mjs +22 -0
  173. package/dist/actions/get-latest-image-details.mjs.map +1 -0
  174. package/dist/actions/get-latest-image-tag.cjs +16 -0
  175. package/dist/actions/get-latest-image-tag.cjs.map +1 -0
  176. package/dist/actions/get-latest-image-tag.d.cts +9 -0
  177. package/dist/actions/get-latest-image-tag.d.cts.map +1 -0
  178. package/dist/actions/get-latest-image-tag.d.mts +9 -0
  179. package/dist/actions/get-latest-image-tag.d.mts.map +1 -0
  180. package/dist/actions/get-latest-image-tag.mjs +13 -0
  181. package/dist/actions/get-latest-image-tag.mjs.map +1 -0
  182. package/dist/actions/get-machine.cjs +40 -0
  183. package/dist/actions/get-machine.cjs.map +1 -0
  184. package/dist/actions/get-machine.d.cts +9 -0
  185. package/dist/actions/get-machine.d.cts.map +1 -0
  186. package/dist/actions/get-machine.d.mts +9 -0
  187. package/dist/actions/get-machine.d.mts.map +1 -0
  188. package/dist/actions/get-machine.mjs +39 -0
  189. package/dist/actions/get-machine.mjs.map +1 -0
  190. package/dist/actions/get-nearest-region.cjs +19 -0
  191. package/dist/actions/get-nearest-region.cjs.map +1 -0
  192. package/dist/actions/get-nearest-region.d.cts +9 -0
  193. package/dist/actions/get-nearest-region.d.cts.map +1 -0
  194. package/dist/actions/get-nearest-region.d.mts +9 -0
  195. package/dist/actions/get-nearest-region.d.mts.map +1 -0
  196. package/dist/actions/get-nearest-region.mjs +16 -0
  197. package/dist/actions/get-nearest-region.mjs.map +1 -0
  198. package/dist/actions/get-node.cjs +33 -0
  199. package/dist/actions/get-node.cjs.map +1 -0
  200. package/dist/actions/get-node.d.cts +9 -0
  201. package/dist/actions/get-node.d.cts.map +1 -0
  202. package/dist/actions/get-node.d.mts +9 -0
  203. package/dist/actions/get-node.d.mts.map +1 -0
  204. package/dist/actions/get-node.mjs +32 -0
  205. package/dist/actions/get-node.mjs.map +1 -0
  206. package/dist/actions/get-organization.cjs +28 -0
  207. package/dist/actions/get-organization.cjs.map +1 -0
  208. package/dist/actions/get-organization.d.cts +9 -0
  209. package/dist/actions/get-organization.d.cts.map +1 -0
  210. package/dist/actions/get-organization.d.mts +9 -0
  211. package/dist/actions/get-organization.d.mts.map +1 -0
  212. package/dist/actions/get-organization.mjs +27 -0
  213. package/dist/actions/get-organization.mjs.map +1 -0
  214. package/dist/actions/get-personal-organization.cjs +26 -0
  215. package/dist/actions/get-personal-organization.cjs.map +1 -0
  216. package/dist/actions/get-personal-organization.d.cts +9 -0
  217. package/dist/actions/get-personal-organization.d.cts.map +1 -0
  218. package/dist/actions/get-personal-organization.d.mts +9 -0
  219. package/dist/actions/get-personal-organization.d.mts.map +1 -0
  220. package/dist/actions/get-personal-organization.mjs +25 -0
  221. package/dist/actions/get-personal-organization.mjs.map +1 -0
  222. package/dist/actions/get-placements.cjs +38 -0
  223. package/dist/actions/get-placements.cjs.map +1 -0
  224. package/dist/actions/get-placements.d.cts +9 -0
  225. package/dist/actions/get-placements.d.cts.map +1 -0
  226. package/dist/actions/get-placements.d.mts +9 -0
  227. package/dist/actions/get-placements.d.mts.map +1 -0
  228. package/dist/actions/get-placements.mjs +37 -0
  229. package/dist/actions/get-placements.mjs.map +1 -0
  230. package/dist/actions/get-platform-info.cjs +34 -0
  231. package/dist/actions/get-platform-info.cjs.map +1 -0
  232. package/dist/actions/get-platform-info.d.cts +9 -0
  233. package/dist/actions/get-platform-info.d.cts.map +1 -0
  234. package/dist/actions/get-platform-info.d.mts +9 -0
  235. package/dist/actions/get-platform-info.d.mts.map +1 -0
  236. package/dist/actions/get-platform-info.mjs +33 -0
  237. package/dist/actions/get-platform-info.mjs.map +1 -0
  238. package/dist/actions/get-products.cjs +26 -0
  239. package/dist/actions/get-products.cjs.map +1 -0
  240. package/dist/actions/get-products.d.cts +9 -0
  241. package/dist/actions/get-products.d.cts.map +1 -0
  242. package/dist/actions/get-products.d.mts +9 -0
  243. package/dist/actions/get-products.d.mts.map +1 -0
  244. package/dist/actions/get-products.mjs +25 -0
  245. package/dist/actions/get-products.mjs.map +1 -0
  246. package/dist/actions/get-regions.cjs +37 -0
  247. package/dist/actions/get-regions.cjs.map +1 -0
  248. package/dist/actions/get-regions.d.cts +9 -0
  249. package/dist/actions/get-regions.d.cts.map +1 -0
  250. package/dist/actions/get-regions.d.mts +9 -0
  251. package/dist/actions/get-regions.d.mts.map +1 -0
  252. package/dist/actions/get-regions.mjs +36 -0
  253. package/dist/actions/get-regions.mjs.map +1 -0
  254. package/dist/actions/get-viewer-info.cjs +23 -0
  255. package/dist/actions/get-viewer-info.cjs.map +1 -0
  256. package/dist/actions/get-viewer-info.d.cts +9 -0
  257. package/dist/actions/get-viewer-info.d.cts.map +1 -0
  258. package/dist/actions/get-viewer-info.d.mts +9 -0
  259. package/dist/actions/get-viewer-info.d.mts.map +1 -0
  260. package/dist/actions/get-viewer-info.mjs +22 -0
  261. package/dist/actions/get-viewer-info.mjs.map +1 -0
  262. package/dist/actions/index.cjs +91 -0
  263. package/dist/actions/index.d.cts +46 -0
  264. package/dist/actions/index.d.mts +46 -0
  265. package/dist/actions/index.mjs +46 -0
  266. package/dist/actions/issue-certificate.cjs +26 -0
  267. package/dist/actions/issue-certificate.cjs.map +1 -0
  268. package/dist/actions/issue-certificate.d.cts +9 -0
  269. package/dist/actions/issue-certificate.d.cts.map +1 -0
  270. package/dist/actions/issue-certificate.d.mts +9 -0
  271. package/dist/actions/issue-certificate.d.mts.map +1 -0
  272. package/dist/actions/issue-certificate.mjs +23 -0
  273. package/dist/actions/issue-certificate.mjs.map +1 -0
  274. package/dist/actions/list-add-on-plans.cjs +50 -0
  275. package/dist/actions/list-add-on-plans.cjs.map +1 -0
  276. package/dist/actions/list-add-on-plans.d.cts +9 -0
  277. package/dist/actions/list-add-on-plans.d.cts.map +1 -0
  278. package/dist/actions/list-add-on-plans.d.mts +9 -0
  279. package/dist/actions/list-add-on-plans.d.mts.map +1 -0
  280. package/dist/actions/list-add-on-plans.mjs +49 -0
  281. package/dist/actions/list-add-on-plans.mjs.map +1 -0
  282. package/dist/actions/list-add-ons.cjs +51 -0
  283. package/dist/actions/list-add-ons.cjs.map +1 -0
  284. package/dist/actions/list-add-ons.d.cts +9 -0
  285. package/dist/actions/list-add-ons.d.cts.map +1 -0
  286. package/dist/actions/list-add-ons.d.mts +9 -0
  287. package/dist/actions/list-add-ons.d.mts.map +1 -0
  288. package/dist/actions/list-add-ons.mjs +50 -0
  289. package/dist/actions/list-add-ons.mjs.map +1 -0
  290. package/dist/actions/list-apps-graphql.cjs +55 -0
  291. package/dist/actions/list-apps-graphql.cjs.map +1 -0
  292. package/dist/actions/list-apps-graphql.d.cts +9 -0
  293. package/dist/actions/list-apps-graphql.d.cts.map +1 -0
  294. package/dist/actions/list-apps-graphql.d.mts +9 -0
  295. package/dist/actions/list-apps-graphql.d.mts.map +1 -0
  296. package/dist/actions/list-apps-graphql.mjs +54 -0
  297. package/dist/actions/list-apps-graphql.mjs.map +1 -0
  298. package/dist/actions/list-apps.cjs +37 -0
  299. package/dist/actions/list-apps.cjs.map +1 -0
  300. package/dist/actions/list-apps.d.cts +9 -0
  301. package/dist/actions/list-apps.d.cts.map +1 -0
  302. package/dist/actions/list-apps.d.mts +9 -0
  303. package/dist/actions/list-apps.d.mts.map +1 -0
  304. package/dist/actions/list-apps.mjs +36 -0
  305. package/dist/actions/list-apps.mjs.map +1 -0
  306. package/dist/actions/list-check-locations.cjs +24 -0
  307. package/dist/actions/list-check-locations.cjs.map +1 -0
  308. package/dist/actions/list-check-locations.d.cts +9 -0
  309. package/dist/actions/list-check-locations.d.cts.map +1 -0
  310. package/dist/actions/list-check-locations.d.mts +9 -0
  311. package/dist/actions/list-check-locations.d.mts.map +1 -0
  312. package/dist/actions/list-check-locations.mjs +23 -0
  313. package/dist/actions/list-check-locations.mjs.map +1 -0
  314. package/dist/actions/list-machines.cjs +24 -0
  315. package/dist/actions/list-machines.cjs.map +1 -0
  316. package/dist/actions/list-machines.d.cts +9 -0
  317. package/dist/actions/list-machines.d.cts.map +1 -0
  318. package/dist/actions/list-machines.d.mts +9 -0
  319. package/dist/actions/list-machines.d.mts.map +1 -0
  320. package/dist/actions/list-machines.mjs +21 -0
  321. package/dist/actions/list-machines.mjs.map +1 -0
  322. package/dist/actions/list-org-machines.cjs +41 -0
  323. package/dist/actions/list-org-machines.cjs.map +1 -0
  324. package/dist/actions/list-org-machines.d.cts +9 -0
  325. package/dist/actions/list-org-machines.d.cts.map +1 -0
  326. package/dist/actions/list-org-machines.d.mts +9 -0
  327. package/dist/actions/list-org-machines.d.mts.map +1 -0
  328. package/dist/actions/list-org-machines.mjs +40 -0
  329. package/dist/actions/list-org-machines.mjs.map +1 -0
  330. package/dist/actions/remove-wire-guard-peer.cjs +23 -0
  331. package/dist/actions/remove-wire-guard-peer.cjs.map +1 -0
  332. package/dist/actions/remove-wire-guard-peer.d.cts +9 -0
  333. package/dist/actions/remove-wire-guard-peer.d.cts.map +1 -0
  334. package/dist/actions/remove-wire-guard-peer.d.mts +9 -0
  335. package/dist/actions/remove-wire-guard-peer.d.mts.map +1 -0
  336. package/dist/actions/remove-wire-guard-peer.mjs +22 -0
  337. package/dist/actions/remove-wire-guard-peer.mjs.map +1 -0
  338. package/dist/actions/set-apps-v2-default-on.cjs +25 -0
  339. package/dist/actions/set-apps-v2-default-on.cjs.map +1 -0
  340. package/dist/actions/set-apps-v2-default-on.d.cts +9 -0
  341. package/dist/actions/set-apps-v2-default-on.d.cts.map +1 -0
  342. package/dist/actions/set-apps-v2-default-on.d.mts +9 -0
  343. package/dist/actions/set-apps-v2-default-on.d.mts.map +1 -0
  344. package/dist/actions/set-apps-v2-default-on.mjs +24 -0
  345. package/dist/actions/set-apps-v2-default-on.mjs.map +1 -0
  346. package/dist/actions/update-third-party-configuration.cjs +67 -0
  347. package/dist/actions/update-third-party-configuration.cjs.map +1 -0
  348. package/dist/actions/update-third-party-configuration.d.cts +9 -0
  349. package/dist/actions/update-third-party-configuration.d.cts.map +1 -0
  350. package/dist/actions/update-third-party-configuration.d.mts +9 -0
  351. package/dist/actions/update-third-party-configuration.d.mts.map +1 -0
  352. package/dist/actions/update-third-party-configuration.mjs +66 -0
  353. package/dist/actions/update-third-party-configuration.mjs.map +1 -0
  354. package/dist/actions/validate-config.cjs +22 -0
  355. package/dist/actions/validate-config.cjs.map +1 -0
  356. package/dist/actions/validate-config.d.cts +9 -0
  357. package/dist/actions/validate-config.d.cts.map +1 -0
  358. package/dist/actions/validate-config.d.mts +9 -0
  359. package/dist/actions/validate-config.d.mts.map +1 -0
  360. package/dist/actions/validate-config.mjs +21 -0
  361. package/dist/actions/validate-config.mjs.map +1 -0
  362. package/dist/actions/validate-wire-guard-peers.cjs +16 -0
  363. package/dist/actions/validate-wire-guard-peers.cjs.map +1 -0
  364. package/dist/actions/validate-wire-guard-peers.d.cts +9 -0
  365. package/dist/actions/validate-wire-guard-peers.d.cts.map +1 -0
  366. package/dist/actions/validate-wire-guard-peers.d.mts +9 -0
  367. package/dist/actions/validate-wire-guard-peers.d.mts.map +1 -0
  368. package/dist/actions/validate-wire-guard-peers.mjs +13 -0
  369. package/dist/actions/validate-wire-guard-peers.mjs.map +1 -0
  370. package/dist/app.cjs +9 -0
  371. package/dist/app.cjs.map +1 -0
  372. package/dist/app.d.cts +5 -0
  373. package/dist/app.d.cts.map +1 -0
  374. package/dist/app.d.mts +5 -0
  375. package/dist/app.d.mts.map +1 -0
  376. package/dist/app.mjs +10 -0
  377. package/dist/app.mjs.map +1 -0
  378. package/dist/catalog.cjs +15 -0
  379. package/dist/catalog.cjs.map +1 -0
  380. package/dist/catalog.d.cts +14 -0
  381. package/dist/catalog.d.cts.map +1 -0
  382. package/dist/catalog.d.mts +14 -0
  383. package/dist/catalog.d.mts.map +1 -0
  384. package/dist/catalog.mjs +15 -0
  385. package/dist/catalog.mjs.map +1 -0
  386. package/dist/execute.cjs +18 -0
  387. package/dist/execute.cjs.map +1 -0
  388. package/dist/execute.mjs +18 -0
  389. package/dist/execute.mjs.map +1 -0
  390. package/dist/index.cjs +96 -0
  391. package/dist/index.d.cts +48 -0
  392. package/dist/index.d.mts +48 -0
  393. package/dist/index.mjs +49 -0
  394. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-personal-organization.cjs","names":["z","action"],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput: z.ZodTypeAny = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\"),\n}).describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\"),\n}).describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the personal organization.\"),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\"),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\"),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\"),\n}).describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput: z.ZodTypeAny = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACvI,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC9F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO,EACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,EAClG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACnG,gBAAgB,gDAAgD,SAAS;CACzE,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CACxF,oBAAoB,oDAAoD,SAAS;CACjF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,sBAAsB,sDAAsD,SAAS,EACvF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-personal-organization.d.ts
4
+ declare const FlyGetPersonalOrganizationInput: z.ZodTypeAny;
5
+ declare const FlyGetPersonalOrganizationOutput: z.ZodTypeAny;
6
+ declare const flyGetPersonalOrganization: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetPersonalOrganization };
9
+ //# sourceMappingURL=get-personal-organization.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-personal-organization.d.cts","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAwF;AAAA,cAe3H,gCAAA,EAAkC,CAAA,CAAE,UAEgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-personal-organization.d.ts
4
+ declare const FlyGetPersonalOrganizationInput: z.ZodTypeAny;
5
+ declare const FlyGetPersonalOrganizationOutput: z.ZodTypeAny;
6
+ declare const flyGetPersonalOrganization: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetPersonalOrganization };
9
+ //# sourceMappingURL=get-personal-organization.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-personal-organization.d.mts","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAwF;AAAA,cAe3H,gCAAA,EAAkC,CAAA,CAAE,UAEgB;AAAA,cAEpD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-personal-organization.ts
4
+ const FlyGetPersonalOrganizationInput = z.object({}).describe("Request to retrieve personal organization details.");
5
+ const FlyGetPersonalOrganization_WireGuardPeersSchema = z.object({ totalCount: z.number().int().describe("Total number of WireGuard peers in the organization.") }).describe("Information about WireGuard peers.");
6
+ const FlyGetPersonalOrganization_LoggedCertificatesSchema = z.object({ totalCount: z.number().int().describe("Total number of logged certificates in the organization.") }).describe("Information about logged certificates.");
7
+ const FlyGetPersonalOrganization_PersonalOrganizationSchema = z.object({
8
+ name: z.string().describe("Name of the personal organization."),
9
+ creditBalance: z.number().describe("Credit balance in the organization account as a numeric value."),
10
+ wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),
11
+ isCreditCardSaved: z.boolean().describe("Whether a credit card is saved on the account."),
12
+ loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),
13
+ creditBalanceFormatted: z.string().describe("Formatted credit balance string (e.g., '$10.50').")
14
+ }).describe("User's personal organization details.");
15
+ const flyGetPersonalOrganization = action("FLY_GET_PERSONAL_ORGANIZATION", {
16
+ slug: "fly-get-personal-organization",
17
+ name: "Get Personal Organization",
18
+ description: "Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.",
19
+ input: FlyGetPersonalOrganizationInput,
20
+ output: z.object({ personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable() }).describe("Response containing personal organization details.")
21
+ });
22
+ //#endregion
23
+ export { flyGetPersonalOrganization };
24
+
25
+ //# sourceMappingURL=get-personal-organization.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-personal-organization.mjs","names":[],"sources":["../../src/actions/get-personal-organization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPersonalOrganizationInput: z.ZodTypeAny = z.object({}).describe(\"Request to retrieve personal organization details.\");\nconst FlyGetPersonalOrganization_WireGuardPeersSchema: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total number of WireGuard peers in the organization.\"),\n}).describe(\"Information about WireGuard peers.\");\nconst FlyGetPersonalOrganization_LoggedCertificatesSchema: z.ZodTypeAny = z.object({\n totalCount: z.number().int().describe(\"Total number of logged certificates in the organization.\"),\n}).describe(\"Information about logged certificates.\");\nconst FlyGetPersonalOrganization_PersonalOrganizationSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the personal organization.\"),\n creditBalance: z.number().describe(\"Credit balance in the organization account as a numeric value.\"),\n wireGuardPeers: FlyGetPersonalOrganization_WireGuardPeersSchema.nullable(),\n isCreditCardSaved: z.boolean().describe(\"Whether a credit card is saved on the account.\"),\n loggedCertificates: FlyGetPersonalOrganization_LoggedCertificatesSchema.nullable(),\n creditBalanceFormatted: z.string().describe(\"Formatted credit balance string (e.g., '$10.50').\"),\n}).describe(\"User's personal organization details.\");\nexport const FlyGetPersonalOrganizationOutput: z.ZodTypeAny = z.object({\n personalOrganization: FlyGetPersonalOrganization_PersonalOrganizationSchema.nullable(),\n}).describe(\"Response containing personal organization details.\");\n\nexport const flyGetPersonalOrganization = action(\"FLY_GET_PERSONAL_ORGANIZATION\", {\n slug: \"fly-get-personal-organization\",\n name: \"Get Personal Organization\",\n description: \"Tool to retrieve the user's personal organization details from Fly.io. Use when you need to check credit balance, saved payment methods, certificates, or WireGuard peer information.\",\n input: FlyGetPersonalOrganizationInput,\n output: FlyGetPersonalOrganizationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACvI,MAAM,kDAAgE,EAAE,OAAO,EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC9F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,sDAAoE,EAAE,OAAO,EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,EAClG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,wDAAsE,EAAE,OAAO;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACnG,gBAAgB,gDAAgD,SAAS;CACzE,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CACxF,oBAAoB,oDAAoD,SAAS;CACjF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,sBAAsB,sDAAsD,SAAS,EACvF,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -0,0 +1,38 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-placements.ts
4
+ const FlyGetPlacementsInput = zod.z.object({
5
+ count: zod.z.number().int().describe("Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region.").optional(),
6
+ region: zod.z.string().describe("Region expression for placement as a comma-delimited set of regions or aliases. Defaults to '[region],any', to prefer the API endpoint's local region with any other region as fallback.").optional(),
7
+ compute: zod.z.object({
8
+ cpus: zod.z.number().int().describe("Number of CPUs to allocate to the machine.").optional(),
9
+ gpus: zod.z.number().int().describe("Number of GPUs to allocate to the machine.").optional(),
10
+ cpu_kind: zod.z.string().describe("Type of CPU (e.g., 'shared', 'performance'). Determines the CPU architecture and performance characteristics.").optional(),
11
+ gpu_kind: zod.z.string().describe("Type of GPU to allocate (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb').").optional(),
12
+ memory_mb: zod.z.number().int().describe("Amount of memory in megabytes to allocate to the machine.").optional(),
13
+ kernel_args: zod.z.array(zod.z.string()).describe("Kernel arguments for the machine.").optional(),
14
+ persist_rootfs: zod.z.string().describe("Whether to persist the root filesystem across restarts.").optional(),
15
+ host_dedication_id: zod.z.string().describe("Host dedication ID for dedicated hardware placement.").optional()
16
+ }).describe("Resource requirements for the Machine to simulate.").optional(),
17
+ weights: zod.z.object({}).describe("Optional weights to override default placement preferences. Higher values indicate stronger preference.").optional(),
18
+ org_slug: zod.z.string().describe("Organization slug identifier (e.g., 'personal' for personal account or your org name)."),
19
+ volume_name: zod.z.string().describe("Name of an existing volume to consider in placement.").optional(),
20
+ volume_size_bytes: zod.z.number().int().describe("Size of volume in bytes to consider in placement.").optional()
21
+ }).describe("Request model for getting placement recommendations for Machines.");
22
+ const FlyGetPlacements_RegionPlacementSchema = zod.z.object({
23
+ count: zod.z.number().int().describe("Number of machines that can be placed in this region."),
24
+ region: zod.z.string().describe("Region code where machines can be placed."),
25
+ concurrency: zod.z.number().int().describe("Concurrency level supported in this region.")
26
+ }).describe("Placement recommendation for a specific region.");
27
+ const FlyGetPlacementsOutput = zod.z.object({ regions: zod.z.array(FlyGetPlacements_RegionPlacementSchema).describe("List of regions with their placement recommendations, ordered by preference.") }).describe("Response model containing placement recommendations.");
28
+ const flyGetPlacements = require_action.action("FLY_GET_PLACEMENTS", {
29
+ slug: "fly-get-placements",
30
+ name: "Get Placements",
31
+ description: "Tool to get placement recommendations for Machines in Fly.io regions. Use when you need to determine optimal regions for deploying machines based on resource requirements, volume constraints, and organizational limits.",
32
+ input: FlyGetPlacementsInput,
33
+ output: FlyGetPlacementsOutput
34
+ });
35
+ //#endregion
36
+ exports.flyGetPlacements = flyGetPlacements;
37
+
38
+ //# sourceMappingURL=get-placements.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-placements.cjs","names":["z","action"],"sources":["../../src/actions/get-placements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlacementsInput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region.\").optional(),\n region: z.string().describe(\"Region expression for placement as a comma-delimited set of regions or aliases. Defaults to '[region],any', to prefer the API endpoint's local region with any other region as fallback.\").optional(),\n compute: z.object({\n cpus: z.number().int().describe(\"Number of CPUs to allocate to the machine.\").optional(),\n gpus: z.number().int().describe(\"Number of GPUs to allocate to the machine.\").optional(),\n cpu_kind: z.string().describe(\"Type of CPU (e.g., 'shared', 'performance'). Determines the CPU architecture and performance characteristics.\").optional(),\n gpu_kind: z.string().describe(\"Type of GPU to allocate (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb').\").optional(),\n memory_mb: z.number().int().describe(\"Amount of memory in megabytes to allocate to the machine.\").optional(),\n kernel_args: z.array(z.string()).describe(\"Kernel arguments for the machine.\").optional(),\n persist_rootfs: z.string().describe(\"Whether to persist the root filesystem across restarts.\").optional(),\n host_dedication_id: z.string().describe(\"Host dedication ID for dedicated hardware placement.\").optional(),\n}).describe(\"Resource requirements for the Machine to simulate.\").optional(),\n weights: z.object({}).describe(\"Optional weights to override default placement preferences. Higher values indicate stronger preference.\").optional(),\n org_slug: z.string().describe(\"Organization slug identifier (e.g., 'personal' for personal account or your org name).\"),\n volume_name: z.string().describe(\"Name of an existing volume to consider in placement.\").optional(),\n volume_size_bytes: z.number().int().describe(\"Size of volume in bytes to consider in placement.\").optional(),\n}).describe(\"Request model for getting placement recommendations for Machines.\");\nconst FlyGetPlacements_RegionPlacementSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of machines that can be placed in this region.\"),\n region: z.string().describe(\"Region code where machines can be placed.\"),\n concurrency: z.number().int().describe(\"Concurrency level supported in this region.\"),\n}).describe(\"Placement recommendation for a specific region.\");\nexport const FlyGetPlacementsOutput: z.ZodTypeAny = z.object({\n regions: z.array(FlyGetPlacements_RegionPlacementSchema).describe(\"List of regions with their placement recommendations, ordered by preference.\"),\n}).describe(\"Response model containing placement recommendations.\");\n\nexport const flyGetPlacements = action(\"FLY_GET_PLACEMENTS\", {\n slug: \"fly-get-placements\",\n name: \"Get Placements\",\n description: \"Tool to get placement recommendations for Machines in Fly.io regions. Use when you need to determine optimal regions for deploying machines based on resource requirements, volume constraints, and organizational limits.\",\n input: FlyGetPlacementsInput,\n output: FlyGetPlacementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACjO,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACxJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC3G,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACtF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8EAA8E,EAClJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-placements.d.ts
4
+ declare const FlyGetPlacementsInput: z.ZodTypeAny;
5
+ declare const FlyGetPlacementsOutput: z.ZodTypeAny;
6
+ declare const flyGetPlacements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetPlacements };
9
+ //# sourceMappingURL=get-placements.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-placements.d.cts","names":[],"sources":["../../src/actions/get-placements.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAiB0C;AAAA,cAMnE,sBAAA,EAAwB,CAAA,CAAE,UAE4B;AAAA,cAEtD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-placements.d.ts
4
+ declare const FlyGetPlacementsInput: z.ZodTypeAny;
5
+ declare const FlyGetPlacementsOutput: z.ZodTypeAny;
6
+ declare const flyGetPlacements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetPlacements };
9
+ //# sourceMappingURL=get-placements.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-placements.d.mts","names":[],"sources":["../../src/actions/get-placements.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAiB0C;AAAA,cAMnE,sBAAA,EAAwB,CAAA,CAAE,UAE4B;AAAA,cAEtD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,37 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-placements.ts
4
+ const FlyGetPlacementsInput = z.object({
5
+ count: z.number().int().describe("Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region.").optional(),
6
+ region: z.string().describe("Region expression for placement as a comma-delimited set of regions or aliases. Defaults to '[region],any', to prefer the API endpoint's local region with any other region as fallback.").optional(),
7
+ compute: z.object({
8
+ cpus: z.number().int().describe("Number of CPUs to allocate to the machine.").optional(),
9
+ gpus: z.number().int().describe("Number of GPUs to allocate to the machine.").optional(),
10
+ cpu_kind: z.string().describe("Type of CPU (e.g., 'shared', 'performance'). Determines the CPU architecture and performance characteristics.").optional(),
11
+ gpu_kind: z.string().describe("Type of GPU to allocate (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb').").optional(),
12
+ memory_mb: z.number().int().describe("Amount of memory in megabytes to allocate to the machine.").optional(),
13
+ kernel_args: z.array(z.string()).describe("Kernel arguments for the machine.").optional(),
14
+ persist_rootfs: z.string().describe("Whether to persist the root filesystem across restarts.").optional(),
15
+ host_dedication_id: z.string().describe("Host dedication ID for dedicated hardware placement.").optional()
16
+ }).describe("Resource requirements for the Machine to simulate.").optional(),
17
+ weights: z.object({}).describe("Optional weights to override default placement preferences. Higher values indicate stronger preference.").optional(),
18
+ org_slug: z.string().describe("Organization slug identifier (e.g., 'personal' for personal account or your org name)."),
19
+ volume_name: z.string().describe("Name of an existing volume to consider in placement.").optional(),
20
+ volume_size_bytes: z.number().int().describe("Size of volume in bytes to consider in placement.").optional()
21
+ }).describe("Request model for getting placement recommendations for Machines.");
22
+ const FlyGetPlacements_RegionPlacementSchema = z.object({
23
+ count: z.number().int().describe("Number of machines that can be placed in this region."),
24
+ region: z.string().describe("Region code where machines can be placed."),
25
+ concurrency: z.number().int().describe("Concurrency level supported in this region.")
26
+ }).describe("Placement recommendation for a specific region.");
27
+ const flyGetPlacements = action("FLY_GET_PLACEMENTS", {
28
+ slug: "fly-get-placements",
29
+ name: "Get Placements",
30
+ description: "Tool to get placement recommendations for Machines in Fly.io regions. Use when you need to determine optimal regions for deploying machines based on resource requirements, volume constraints, and organizational limits.",
31
+ input: FlyGetPlacementsInput,
32
+ output: z.object({ regions: z.array(FlyGetPlacements_RegionPlacementSchema).describe("List of regions with their placement recommendations, ordered by preference.") }).describe("Response model containing placement recommendations.")
33
+ });
34
+ //#endregion
35
+ export { flyGetPlacements };
36
+
37
+ //# sourceMappingURL=get-placements.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-placements.mjs","names":[],"sources":["../../src/actions/get-placements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlacementsInput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region.\").optional(),\n region: z.string().describe(\"Region expression for placement as a comma-delimited set of regions or aliases. Defaults to '[region],any', to prefer the API endpoint's local region with any other region as fallback.\").optional(),\n compute: z.object({\n cpus: z.number().int().describe(\"Number of CPUs to allocate to the machine.\").optional(),\n gpus: z.number().int().describe(\"Number of GPUs to allocate to the machine.\").optional(),\n cpu_kind: z.string().describe(\"Type of CPU (e.g., 'shared', 'performance'). Determines the CPU architecture and performance characteristics.\").optional(),\n gpu_kind: z.string().describe(\"Type of GPU to allocate (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb').\").optional(),\n memory_mb: z.number().int().describe(\"Amount of memory in megabytes to allocate to the machine.\").optional(),\n kernel_args: z.array(z.string()).describe(\"Kernel arguments for the machine.\").optional(),\n persist_rootfs: z.string().describe(\"Whether to persist the root filesystem across restarts.\").optional(),\n host_dedication_id: z.string().describe(\"Host dedication ID for dedicated hardware placement.\").optional(),\n}).describe(\"Resource requirements for the Machine to simulate.\").optional(),\n weights: z.object({}).describe(\"Optional weights to override default placement preferences. Higher values indicate stronger preference.\").optional(),\n org_slug: z.string().describe(\"Organization slug identifier (e.g., 'personal' for personal account or your org name).\"),\n volume_name: z.string().describe(\"Name of an existing volume to consider in placement.\").optional(),\n volume_size_bytes: z.number().int().describe(\"Size of volume in bytes to consider in placement.\").optional(),\n}).describe(\"Request model for getting placement recommendations for Machines.\");\nconst FlyGetPlacements_RegionPlacementSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of machines that can be placed in this region.\"),\n region: z.string().describe(\"Region code where machines can be placed.\"),\n concurrency: z.number().int().describe(\"Concurrency level supported in this region.\"),\n}).describe(\"Placement recommendation for a specific region.\");\nexport const FlyGetPlacementsOutput: z.ZodTypeAny = z.object({\n regions: z.array(FlyGetPlacements_RegionPlacementSchema).describe(\"List of regions with their placement recommendations, ordered by preference.\"),\n}).describe(\"Response model containing placement recommendations.\");\n\nexport const flyGetPlacements = action(\"FLY_GET_PLACEMENTS\", {\n slug: \"fly-get-placements\",\n name: \"Get Placements\",\n description: \"Tool to get placement recommendations for Machines in Fly.io regions. Use when you need to determine optimal regions for deploying machines based on resource requirements, volume constraints, and organizational limits.\",\n input: FlyGetPlacementsInput,\n output: FlyGetPlacementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;CACjO,SAAS,EAAE,OAAO;EAClB,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACxJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACtF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8EAA8E,EAClJ,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-platform-info.ts
4
+ const FlyGetPlatformInfoInput = zod.z.object({}).describe("Request parameters for retrieving Fly.io platform information.");
5
+ const FlyGetPlatformInfo_FlyctlReleaseSchema = zod.z.object({
6
+ version: zod.z.string().describe("The version string of the latest flyctl release.").nullable().optional(),
7
+ timestamp: zod.z.string().describe("ISO8601 timestamp of the flyctl release.").nullable().optional()
8
+ }).describe("Latest flyctl release information.");
9
+ const FlyGetPlatformInfo_RegionSchema = zod.z.object({
10
+ code: zod.z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr').").nullable().optional(),
11
+ name: zod.z.string().describe("Human-readable name of the region.").nullable().optional()
12
+ }).describe("Fly.io geographic region information.");
13
+ const FlyGetPlatformInfo_VMSizeSchema = zod.z.object({
14
+ name: zod.z.string().describe("Name of the VM size configuration.").nullable().optional(),
15
+ cpuCores: zod.z.number().int().describe("Number of CPU cores allocated to this VM size.").nullable().optional(),
16
+ memoryGb: zod.z.number().describe("Amount of memory in gigabytes allocated to this VM size.").nullable().optional()
17
+ }).describe("Virtual machine size configuration.");
18
+ const FlyGetPlatformInfoOutput = zod.z.object({
19
+ flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),
20
+ regions: zod.z.array(FlyGetPlatformInfo_RegionSchema).describe("List of all available Fly.io global regions.").nullable().optional(),
21
+ vmSizes: zod.z.array(FlyGetPlatformInfo_VMSizeSchema).describe("List of available virtual machine sizes and their configurations.").nullable().optional(),
22
+ requestRegion: zod.z.string().describe("The region code from which the current request originated.").nullable().optional()
23
+ }).describe("Response containing Fly.io platform information.");
24
+ const flyGetPlatformInfo = require_action.action("FLY_GET_PLATFORM_INFO", {
25
+ slug: "fly-get-platform-info",
26
+ name: "Get Platform Information",
27
+ description: "Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.",
28
+ input: FlyGetPlatformInfoInput,
29
+ output: FlyGetPlatformInfoOutput
30
+ });
31
+ //#endregion
32
+ exports.flyGetPlatformInfo = flyGetPlatformInfo;
33
+
34
+ //# sourceMappingURL=get-platform-info.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-platform-info.cjs","names":["z","action"],"sources":["../../src/actions/get-platform-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlatformInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for retrieving Fly.io platform information.\");\nconst FlyGetPlatformInfo_FlyctlReleaseSchema: z.ZodTypeAny = z.object({\n version: z.string().describe(\"The version string of the latest flyctl release.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO8601 timestamp of the flyctl release.\").nullable().optional(),\n}).describe(\"Latest flyctl release information.\");\nconst FlyGetPlatformInfo_RegionSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the region.\").nullable().optional(),\n}).describe(\"Fly.io geographic region information.\");\nconst FlyGetPlatformInfo_VMSizeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the VM size configuration.\").nullable().optional(),\n cpuCores: z.number().int().describe(\"Number of CPU cores allocated to this VM size.\").nullable().optional(),\n memoryGb: z.number().describe(\"Amount of memory in gigabytes allocated to this VM size.\").nullable().optional(),\n}).describe(\"Virtual machine size configuration.\");\nexport const FlyGetPlatformInfoOutput: z.ZodTypeAny = z.object({\n flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),\n regions: z.array(FlyGetPlatformInfo_RegionSchema).describe(\"List of all available Fly.io global regions.\").nullable().optional(),\n vmSizes: z.array(FlyGetPlatformInfo_VMSizeSchema).describe(\"List of available virtual machine sizes and their configurations.\").nullable().optional(),\n requestRegion: z.string().describe(\"The region code from which the current request originated.\").nullable().optional(),\n}).describe(\"Response containing Fly.io platform information.\");\n\nexport const flyGetPlatformInfo = action(\"FLY_GET_PLATFORM_INFO\", {\n slug: \"fly-get-platform-info\",\n name: \"Get Platform Information\",\n description: \"Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.\",\n input: FlyGetPlatformInfoInput,\n output: FlyGetPlatformInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC3I,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-platform-info.d.ts
4
+ declare const FlyGetPlatformInfoInput: z.ZodTypeAny;
5
+ declare const FlyGetPlatformInfoOutput: z.ZodTypeAny;
6
+ declare const flyGetPlatformInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetPlatformInfo };
9
+ //# sourceMappingURL=get-platform-info.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-platform-info.d.cts","names":[],"sources":["../../src/actions/get-platform-info.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAoG;AAAA,cAc/H,wBAAA,EAA0B,CAAA,CAAE,UAKsB;AAAA,cAElD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-platform-info.d.ts
4
+ declare const FlyGetPlatformInfoInput: z.ZodTypeAny;
5
+ declare const FlyGetPlatformInfoOutput: z.ZodTypeAny;
6
+ declare const flyGetPlatformInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetPlatformInfo };
9
+ //# sourceMappingURL=get-platform-info.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-platform-info.d.mts","names":[],"sources":["../../src/actions/get-platform-info.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAoG;AAAA,cAc/H,wBAAA,EAA0B,CAAA,CAAE,UAKsB;AAAA,cAElD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-platform-info.ts
4
+ const FlyGetPlatformInfoInput = z.object({}).describe("Request parameters for retrieving Fly.io platform information.");
5
+ const FlyGetPlatformInfo_FlyctlReleaseSchema = z.object({
6
+ version: z.string().describe("The version string of the latest flyctl release.").nullable().optional(),
7
+ timestamp: z.string().describe("ISO8601 timestamp of the flyctl release.").nullable().optional()
8
+ }).describe("Latest flyctl release information.");
9
+ const FlyGetPlatformInfo_RegionSchema = z.object({
10
+ code: z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr').").nullable().optional(),
11
+ name: z.string().describe("Human-readable name of the region.").nullable().optional()
12
+ }).describe("Fly.io geographic region information.");
13
+ const FlyGetPlatformInfo_VMSizeSchema = z.object({
14
+ name: z.string().describe("Name of the VM size configuration.").nullable().optional(),
15
+ cpuCores: z.number().int().describe("Number of CPU cores allocated to this VM size.").nullable().optional(),
16
+ memoryGb: z.number().describe("Amount of memory in gigabytes allocated to this VM size.").nullable().optional()
17
+ }).describe("Virtual machine size configuration.");
18
+ const flyGetPlatformInfo = action("FLY_GET_PLATFORM_INFO", {
19
+ slug: "fly-get-platform-info",
20
+ name: "Get Platform Information",
21
+ description: "Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.",
22
+ input: FlyGetPlatformInfoInput,
23
+ output: z.object({
24
+ flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),
25
+ regions: z.array(FlyGetPlatformInfo_RegionSchema).describe("List of all available Fly.io global regions.").nullable().optional(),
26
+ vmSizes: z.array(FlyGetPlatformInfo_VMSizeSchema).describe("List of available virtual machine sizes and their configurations.").nullable().optional(),
27
+ requestRegion: z.string().describe("The region code from which the current request originated.").nullable().optional()
28
+ }).describe("Response containing Fly.io platform information.")
29
+ });
30
+ //#endregion
31
+ export { flyGetPlatformInfo };
32
+
33
+ //# sourceMappingURL=get-platform-info.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-platform-info.mjs","names":[],"sources":["../../src/actions/get-platform-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetPlatformInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for retrieving Fly.io platform information.\");\nconst FlyGetPlatformInfo_FlyctlReleaseSchema: z.ZodTypeAny = z.object({\n version: z.string().describe(\"The version string of the latest flyctl release.\").nullable().optional(),\n timestamp: z.string().describe(\"ISO8601 timestamp of the flyctl release.\").nullable().optional(),\n}).describe(\"Latest flyctl release information.\");\nconst FlyGetPlatformInfo_RegionSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the region.\").nullable().optional(),\n}).describe(\"Fly.io geographic region information.\");\nconst FlyGetPlatformInfo_VMSizeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the VM size configuration.\").nullable().optional(),\n cpuCores: z.number().int().describe(\"Number of CPU cores allocated to this VM size.\").nullable().optional(),\n memoryGb: z.number().describe(\"Amount of memory in gigabytes allocated to this VM size.\").nullable().optional(),\n}).describe(\"Virtual machine size configuration.\");\nexport const FlyGetPlatformInfoOutput: z.ZodTypeAny = z.object({\n flyctl: FlyGetPlatformInfo_FlyctlReleaseSchema.nullable().optional(),\n regions: z.array(FlyGetPlatformInfo_RegionSchema).describe(\"List of all available Fly.io global regions.\").nullable().optional(),\n vmSizes: z.array(FlyGetPlatformInfo_VMSizeSchema).describe(\"List of available virtual machine sizes and their configurations.\").nullable().optional(),\n requestRegion: z.string().describe(\"The region code from which the current request originated.\").nullable().optional(),\n}).describe(\"Response containing Fly.io platform information.\");\n\nexport const flyGetPlatformInfo = action(\"FLY_GET_PLATFORM_INFO\", {\n slug: \"fly-get-platform-info\",\n name: \"Get Platform Information\",\n description: \"Tool to retrieve Fly.io platform information including available regions, VM sizes, and flyctl version. Use when you need infrastructure-level details about the Fly.io platform.\",\n input: FlyGetPlatformInfoInput,\n output: FlyGetPlatformInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC3I,MAAM,yCAAuD,EAAE,OAAO;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAQjD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-products.ts
4
+ const FlyGetProductsInput = zod.z.object({}).describe("Request parameters for retrieving Fly.io product and pricing information.");
5
+ const FlyGetProducts_PriceTierSchema = zod.z.object({
6
+ upTo: zod.z.number().int().describe("The maximum quantity limit for this pricing tier. null means unlimited.").nullable().optional(),
7
+ unitAmount: zod.z.number().int().describe("The price per unit in cents for this tier.").nullable().optional()
8
+ }).describe("Represents a pricing tier with unit amount and quantity limit.");
9
+ const FlyGetProducts_ProductSchema = zod.z.object({
10
+ name: zod.z.string().describe("The name of the product.").nullable().optional(),
11
+ type: zod.z.string().describe("The type or category of the product.").nullable().optional(),
12
+ tiers: zod.z.array(FlyGetProducts_PriceTierSchema).describe("List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.").nullable().optional(),
13
+ unitLabel: zod.z.string().describe("The unit label for the product (e.g., 'GB', 'hour', 'request').").nullable().optional()
14
+ }).describe("Represents a Fly.io product with pricing information.");
15
+ const FlyGetProductsOutput = zod.z.object({ products: zod.z.array(FlyGetProducts_ProductSchema).describe("List of products with their pricing tiers.") }).describe("Response containing Fly.io product and pricing information.");
16
+ const flyGetProducts = require_action.action("FLY_GET_PRODUCTS", {
17
+ slug: "fly-get-products",
18
+ name: "Get Products and Pricing",
19
+ description: "Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.",
20
+ input: FlyGetProductsInput,
21
+ output: FlyGetProductsOutput
22
+ });
23
+ //#endregion
24
+ exports.flyGetProducts = flyGetProducts;
25
+
26
+ //# sourceMappingURL=get-products.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-products.cjs","names":["z","action"],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetProductsInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for retrieving Fly.io product and pricing information.\");\nconst FlyGetProducts_PriceTierSchema: z.ZodTypeAny = z.object({\n upTo: z.number().int().describe(\"The maximum quantity limit for this pricing tier. null means unlimited.\").nullable().optional(),\n unitAmount: z.number().int().describe(\"The price per unit in cents for this tier.\").nullable().optional(),\n}).describe(\"Represents a pricing tier with unit amount and quantity limit.\");\nconst FlyGetProducts_ProductSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the product.\").nullable().optional(),\n type: z.string().describe(\"The type or category of the product.\").nullable().optional(),\n tiers: z.array(FlyGetProducts_PriceTierSchema).describe(\"List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.\").nullable().optional(),\n unitLabel: z.string().describe(\"The unit label for the product (e.g., 'GB', 'hour', 'request').\").nullable().optional(),\n}).describe(\"Represents a Fly.io product with pricing information.\");\nexport const FlyGetProductsOutput: z.ZodTypeAny = z.object({\n products: z.array(FlyGetProducts_ProductSchema).describe(\"List of products with their pricing tiers.\"),\n}).describe(\"Response containing Fly.io product and pricing information.\");\n\nexport const flyGetProducts = action(\"FLY_GET_PRODUCTS\", {\n slug: \"fly-get-products\",\n name: \"Get Products and Pricing\",\n description: \"Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.\",\n input: FlyGetProductsInput,\n output: FlyGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAClJ,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,UAAUA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,EACvG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-products.d.ts
4
+ declare const FlyGetProductsInput: z.ZodTypeAny;
5
+ declare const FlyGetProductsOutput: z.ZodTypeAny;
6
+ declare const flyGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetProducts };
9
+ //# sourceMappingURL=get-products.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-products.d.cts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAA+G;AAAA,cAWtI,oBAAA,EAAsB,CAAA,CAAE,UAEqC;AAAA,cAE7D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-products.d.ts
4
+ declare const FlyGetProductsInput: z.ZodTypeAny;
5
+ declare const FlyGetProductsOutput: z.ZodTypeAny;
6
+ declare const flyGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetProducts };
9
+ //# sourceMappingURL=get-products.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-products.d.mts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAA+G;AAAA,cAWtI,oBAAA,EAAsB,CAAA,CAAE,UAEqC;AAAA,cAE7D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-products.ts
4
+ const FlyGetProductsInput = z.object({}).describe("Request parameters for retrieving Fly.io product and pricing information.");
5
+ const FlyGetProducts_PriceTierSchema = z.object({
6
+ upTo: z.number().int().describe("The maximum quantity limit for this pricing tier. null means unlimited.").nullable().optional(),
7
+ unitAmount: z.number().int().describe("The price per unit in cents for this tier.").nullable().optional()
8
+ }).describe("Represents a pricing tier with unit amount and quantity limit.");
9
+ const FlyGetProducts_ProductSchema = z.object({
10
+ name: z.string().describe("The name of the product.").nullable().optional(),
11
+ type: z.string().describe("The type or category of the product.").nullable().optional(),
12
+ tiers: z.array(FlyGetProducts_PriceTierSchema).describe("List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.").nullable().optional(),
13
+ unitLabel: z.string().describe("The unit label for the product (e.g., 'GB', 'hour', 'request').").nullable().optional()
14
+ }).describe("Represents a Fly.io product with pricing information.");
15
+ const flyGetProducts = action("FLY_GET_PRODUCTS", {
16
+ slug: "fly-get-products",
17
+ name: "Get Products and Pricing",
18
+ description: "Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.",
19
+ input: FlyGetProductsInput,
20
+ output: z.object({ products: z.array(FlyGetProducts_ProductSchema).describe("List of products with their pricing tiers.") }).describe("Response containing Fly.io product and pricing information.")
21
+ });
22
+ //#endregion
23
+ export { flyGetProducts };
24
+
25
+ //# sourceMappingURL=get-products.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-products.mjs","names":[],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetProductsInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for retrieving Fly.io product and pricing information.\");\nconst FlyGetProducts_PriceTierSchema: z.ZodTypeAny = z.object({\n upTo: z.number().int().describe(\"The maximum quantity limit for this pricing tier. null means unlimited.\").nullable().optional(),\n unitAmount: z.number().int().describe(\"The price per unit in cents for this tier.\").nullable().optional(),\n}).describe(\"Represents a pricing tier with unit amount and quantity limit.\");\nconst FlyGetProducts_ProductSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the product.\").nullable().optional(),\n type: z.string().describe(\"The type or category of the product.\").nullable().optional(),\n tiers: z.array(FlyGetProducts_PriceTierSchema).describe(\"List of pricing tiers for this product. Each tier defines a price per unit and optional quantity limit.\").nullable().optional(),\n unitLabel: z.string().describe(\"The unit label for the product (e.g., 'GB', 'hour', 'request').\").nullable().optional(),\n}).describe(\"Represents a Fly.io product with pricing information.\");\nexport const FlyGetProductsOutput: z.ZodTypeAny = z.object({\n products: z.array(FlyGetProducts_ProductSchema).describe(\"List of products with their pricing tiers.\"),\n}).describe(\"Response containing Fly.io product and pricing information.\");\n\nexport const flyGetProducts = action(\"FLY_GET_PRODUCTS\", {\n slug: \"fly-get-products\",\n name: \"Get Products and Pricing\",\n description: \"Tool to retrieve Fly.io product and price information via GraphQL. Use when you need to fetch product catalog, pricing tiers, or billing information.\",\n input: FlyGetProductsInput,\n output: FlyGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAClJ,MAAM,iCAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+BAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,UAAU,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,EACvG,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-regions.ts
4
+ const FlyGetRegionsInput = zod.z.object({
5
+ cpus: zod.z.number().int().describe("Guest CPU count. Filter regions by CPU count availability.").optional(),
6
+ gpus: zod.z.number().int().describe("Guest GPU count. Filter regions by GPU availability.").optional(),
7
+ size: zod.z.string().describe("Guest machine size preset. Default is performance-1x. Use this to filter regions by machine size availability.").optional(),
8
+ cpu_kind: zod.z.string().describe("Guest CPU kind (e.g., 'shared', 'performance'). Filter regions by CPU type availability.").optional(),
9
+ gpu_kind: zod.z.string().describe("Guest GPU kind (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb'). Filter regions by GPU type availability.").optional(),
10
+ memory_mb: zod.z.number().int().describe("Guest memory in megabytes. Filter regions by memory availability.").optional()
11
+ }).describe("Request model for getting available Fly.io regions.");
12
+ const FlyGetRegions_RegionInfoSchema = zod.z.object({
13
+ code: zod.z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').").nullable().optional(),
14
+ name: zod.z.string().describe("Human-readable name of the region (e.g., 'London, United Kingdom').").nullable().optional(),
15
+ capacity: zod.z.number().int().describe("Available capacity in the region. Higher values indicate more available resources.").nullable().optional(),
16
+ latitude: zod.z.number().describe("Geographic latitude coordinate of the region.").nullable().optional(),
17
+ longitude: zod.z.number().describe("Geographic longitude coordinate of the region.").nullable().optional(),
18
+ deprecated: zod.z.boolean().describe("Whether this region is deprecated and should not be used for new deployments.").nullable().optional(),
19
+ geo_region: zod.z.string().describe("Geographic region classification (e.g., 'Europe', 'North America').").nullable().optional(),
20
+ gateway_available: zod.z.boolean().describe("Whether the Fly.io gateway service is available in this region.").nullable().optional(),
21
+ requires_paid_plan: zod.z.boolean().describe("Whether this region requires a paid plan to deploy resources.").nullable().optional()
22
+ }).describe("Information about a Fly.io region.");
23
+ const FlyGetRegionsOutput = zod.z.object({
24
+ nearest: zod.z.string().describe("Code of the nearest region to the API request origin.").nullable().optional(),
25
+ regions: zod.z.array(FlyGetRegions_RegionInfoSchema).describe("List of available Fly.io regions with their details.").nullable().optional()
26
+ }).describe("Response model containing available Fly.io regions.");
27
+ const flyGetRegions = require_action.action("FLY_GET_REGIONS", {
28
+ slug: "fly-get-regions",
29
+ name: "Get Regions",
30
+ description: "Tool to get the list of available Fly.io regions with optional filtering. Use when you need to discover which regions are available for deploying machines, or to filter regions by specific resource requirements like CPU, memory, or GPU.",
31
+ input: FlyGetRegionsInput,
32
+ output: FlyGetRegionsOutput
33
+ });
34
+ //#endregion
35
+ exports.flyGetRegions = flyGetRegions;
36
+
37
+ //# sourceMappingURL=get-regions.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-regions.cjs","names":["z","action"],"sources":["../../src/actions/get-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetRegionsInput: z.ZodTypeAny = z.object({\n cpus: z.number().int().describe(\"Guest CPU count. Filter regions by CPU count availability.\").optional(),\n gpus: z.number().int().describe(\"Guest GPU count. Filter regions by GPU availability.\").optional(),\n size: z.string().describe(\"Guest machine size preset. Default is performance-1x. Use this to filter regions by machine size availability.\").optional(),\n cpu_kind: z.string().describe(\"Guest CPU kind (e.g., 'shared', 'performance'). Filter regions by CPU type availability.\").optional(),\n gpu_kind: z.string().describe(\"Guest GPU kind (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb'). Filter regions by GPU type availability.\").optional(),\n memory_mb: z.number().int().describe(\"Guest memory in megabytes. Filter regions by memory availability.\").optional(),\n}).describe(\"Request model for getting available Fly.io regions.\");\nconst FlyGetRegions_RegionInfoSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the region (e.g., 'London, United Kingdom').\").nullable().optional(),\n capacity: z.number().int().describe(\"Available capacity in the region. Higher values indicate more available resources.\").nullable().optional(),\n latitude: z.number().describe(\"Geographic latitude coordinate of the region.\").nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate of the region.\").nullable().optional(),\n deprecated: z.boolean().describe(\"Whether this region is deprecated and should not be used for new deployments.\").nullable().optional(),\n geo_region: z.string().describe(\"Geographic region classification (e.g., 'Europe', 'North America').\").nullable().optional(),\n gateway_available: z.boolean().describe(\"Whether the Fly.io gateway service is available in this region.\").nullable().optional(),\n requires_paid_plan: z.boolean().describe(\"Whether this region requires a paid plan to deploy resources.\").nullable().optional(),\n}).describe(\"Information about a Fly.io region.\");\nexport const FlyGetRegionsOutput: z.ZodTypeAny = z.object({\n nearest: z.string().describe(\"Code of the nearest region to the API request origin.\").nullable().optional(),\n regions: z.array(FlyGetRegions_RegionInfoSchema).describe(\"List of available Fly.io regions with their details.\").nullable().optional(),\n}).describe(\"Response model containing available Fly.io regions.\");\n\nexport const flyGetRegions = action(\"FLY_GET_REGIONS\", {\n slug: \"fly-get-regions\",\n name: \"Get Regions\",\n description: \"Tool to get the list of available Fly.io regions with optional filtering. Use when you need to discover which regions are available for deploying machines, or to filter regions by specific resource requirements like CPU, memory, or GPU.\",\n input: FlyGetRegionsInput,\n output: FlyGetRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-regions.d.ts
4
+ declare const FlyGetRegionsInput: z.ZodTypeAny;
5
+ declare const FlyGetRegionsOutput: z.ZodTypeAny;
6
+ declare const flyGetRegions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetRegions };
9
+ //# sourceMappingURL=get-regions.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-regions.d.cts","names":[],"sources":["../../src/actions/get-regions.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAO+B;AAAA,cAYrD,mBAAA,EAAqB,CAAA,CAAE,UAG8B;AAAA,cAErD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-regions.d.ts
4
+ declare const FlyGetRegionsInput: z.ZodTypeAny;
5
+ declare const FlyGetRegionsOutput: z.ZodTypeAny;
6
+ declare const flyGetRegions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { flyGetRegions };
9
+ //# sourceMappingURL=get-regions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-regions.d.mts","names":[],"sources":["../../src/actions/get-regions.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAO+B;AAAA,cAYrD,mBAAA,EAAqB,CAAA,CAAE,UAG8B;AAAA,cAErD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-regions.ts
4
+ const FlyGetRegionsInput = z.object({
5
+ cpus: z.number().int().describe("Guest CPU count. Filter regions by CPU count availability.").optional(),
6
+ gpus: z.number().int().describe("Guest GPU count. Filter regions by GPU availability.").optional(),
7
+ size: z.string().describe("Guest machine size preset. Default is performance-1x. Use this to filter regions by machine size availability.").optional(),
8
+ cpu_kind: z.string().describe("Guest CPU kind (e.g., 'shared', 'performance'). Filter regions by CPU type availability.").optional(),
9
+ gpu_kind: z.string().describe("Guest GPU kind (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb'). Filter regions by GPU type availability.").optional(),
10
+ memory_mb: z.number().int().describe("Guest memory in megabytes. Filter regions by memory availability.").optional()
11
+ }).describe("Request model for getting available Fly.io regions.");
12
+ const FlyGetRegions_RegionInfoSchema = z.object({
13
+ code: z.string().describe("Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').").nullable().optional(),
14
+ name: z.string().describe("Human-readable name of the region (e.g., 'London, United Kingdom').").nullable().optional(),
15
+ capacity: z.number().int().describe("Available capacity in the region. Higher values indicate more available resources.").nullable().optional(),
16
+ latitude: z.number().describe("Geographic latitude coordinate of the region.").nullable().optional(),
17
+ longitude: z.number().describe("Geographic longitude coordinate of the region.").nullable().optional(),
18
+ deprecated: z.boolean().describe("Whether this region is deprecated and should not be used for new deployments.").nullable().optional(),
19
+ geo_region: z.string().describe("Geographic region classification (e.g., 'Europe', 'North America').").nullable().optional(),
20
+ gateway_available: z.boolean().describe("Whether the Fly.io gateway service is available in this region.").nullable().optional(),
21
+ requires_paid_plan: z.boolean().describe("Whether this region requires a paid plan to deploy resources.").nullable().optional()
22
+ }).describe("Information about a Fly.io region.");
23
+ const flyGetRegions = action("FLY_GET_REGIONS", {
24
+ slug: "fly-get-regions",
25
+ name: "Get Regions",
26
+ description: "Tool to get the list of available Fly.io regions with optional filtering. Use when you need to discover which regions are available for deploying machines, or to filter regions by specific resource requirements like CPU, memory, or GPU.",
27
+ input: FlyGetRegionsInput,
28
+ output: z.object({
29
+ nearest: z.string().describe("Code of the nearest region to the API request origin.").nullable().optional(),
30
+ regions: z.array(FlyGetRegions_RegionInfoSchema).describe("List of available Fly.io regions with their details.").nullable().optional()
31
+ }).describe("Response model containing available Fly.io regions.")
32
+ });
33
+ //#endregion
34
+ export { flyGetRegions };
35
+
36
+ //# sourceMappingURL=get-regions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-regions.mjs","names":[],"sources":["../../src/actions/get-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FlyGetRegionsInput: z.ZodTypeAny = z.object({\n cpus: z.number().int().describe(\"Guest CPU count. Filter regions by CPU count availability.\").optional(),\n gpus: z.number().int().describe(\"Guest GPU count. Filter regions by GPU availability.\").optional(),\n size: z.string().describe(\"Guest machine size preset. Default is performance-1x. Use this to filter regions by machine size availability.\").optional(),\n cpu_kind: z.string().describe(\"Guest CPU kind (e.g., 'shared', 'performance'). Filter regions by CPU type availability.\").optional(),\n gpu_kind: z.string().describe(\"Guest GPU kind (e.g., 'a100-pcie-40gb', 'a100-sxm4-80gb'). Filter regions by GPU type availability.\").optional(),\n memory_mb: z.number().int().describe(\"Guest memory in megabytes. Filter regions by memory availability.\").optional(),\n}).describe(\"Request model for getting available Fly.io regions.\");\nconst FlyGetRegions_RegionInfoSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Short code identifier for the region (e.g., 'iad', 'lhr', 'fra').\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the region (e.g., 'London, United Kingdom').\").nullable().optional(),\n capacity: z.number().int().describe(\"Available capacity in the region. Higher values indicate more available resources.\").nullable().optional(),\n latitude: z.number().describe(\"Geographic latitude coordinate of the region.\").nullable().optional(),\n longitude: z.number().describe(\"Geographic longitude coordinate of the region.\").nullable().optional(),\n deprecated: z.boolean().describe(\"Whether this region is deprecated and should not be used for new deployments.\").nullable().optional(),\n geo_region: z.string().describe(\"Geographic region classification (e.g., 'Europe', 'North America').\").nullable().optional(),\n gateway_available: z.boolean().describe(\"Whether the Fly.io gateway service is available in this region.\").nullable().optional(),\n requires_paid_plan: z.boolean().describe(\"Whether this region requires a paid plan to deploy resources.\").nullable().optional(),\n}).describe(\"Information about a Fly.io region.\");\nexport const FlyGetRegionsOutput: z.ZodTypeAny = z.object({\n nearest: z.string().describe(\"Code of the nearest region to the API request origin.\").nullable().optional(),\n regions: z.array(FlyGetRegions_RegionInfoSchema).describe(\"List of available Fly.io regions with their details.\").nullable().optional(),\n}).describe(\"Response model containing available Fly.io regions.\");\n\nexport const flyGetRegions = action(\"FLY_GET_REGIONS\", {\n slug: \"fly-get-regions\",\n name: \"Get Regions\",\n description: \"Tool to get the list of available Fly.io regions with optional filtering. Use when you need to discover which regions are available for deploying machines, or to filter regions by specific resource requirements like CPU, memory, or GPU.\",\n input: FlyGetRegionsInput,\n output: FlyGetRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAMhD,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}