alchemy 2.0.0-beta.5 → 2.0.0-beta.51

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 (3254) hide show
  1. package/bin/alchemy.d.ts +2 -0
  2. package/bin/alchemy.d.ts.map +1 -0
  3. package/bin/alchemy.js +3 -45007
  4. package/bin/alchemy.js.map +1 -1
  5. package/bin/alchemy.sh +11 -9
  6. package/bin/alchemy.ts +3 -754
  7. package/bin/cli.js +95 -0
  8. package/bin/exec.d.ts +2 -0
  9. package/bin/exec.d.ts.map +1 -0
  10. package/bin/exec.js +3529 -0
  11. package/bin/exec.js.map +1 -0
  12. package/bin/exec.ts +4 -0
  13. package/lib/AWS/ACM/Certificate.d.ts +115 -0
  14. package/lib/AWS/ACM/Certificate.d.ts.map +1 -0
  15. package/lib/AWS/ACM/Certificate.js +271 -0
  16. package/lib/AWS/ACM/Certificate.js.map +1 -0
  17. package/lib/AWS/ACM/index.d.ts +2 -0
  18. package/lib/AWS/ACM/index.d.ts.map +1 -0
  19. package/lib/AWS/ACM/index.js +2 -0
  20. package/lib/AWS/ACM/index.js.map +1 -0
  21. package/lib/AWS/ApiGateway/Account.d.ts +34 -0
  22. package/lib/AWS/ApiGateway/Account.d.ts.map +1 -0
  23. package/lib/AWS/ApiGateway/Account.js +101 -0
  24. package/lib/AWS/ApiGateway/Account.js.map +1 -0
  25. package/lib/AWS/ApiGateway/ApiKey.d.ts +68 -0
  26. package/lib/AWS/ApiGateway/ApiKey.d.ts.map +1 -0
  27. package/lib/AWS/ApiGateway/ApiKey.js +190 -0
  28. package/lib/AWS/ApiGateway/ApiKey.js.map +1 -0
  29. package/lib/AWS/ApiGateway/Authorizer.d.ts +76 -0
  30. package/lib/AWS/ApiGateway/Authorizer.d.ts.map +1 -0
  31. package/lib/AWS/ApiGateway/Authorizer.js +185 -0
  32. package/lib/AWS/ApiGateway/Authorizer.js.map +1 -0
  33. package/lib/AWS/ApiGateway/BasePathMapping.d.ts +39 -0
  34. package/lib/AWS/ApiGateway/BasePathMapping.d.ts.map +1 -0
  35. package/lib/AWS/ApiGateway/BasePathMapping.js +140 -0
  36. package/lib/AWS/ApiGateway/BasePathMapping.js.map +1 -0
  37. package/lib/AWS/ApiGateway/Deployment.d.ts +131 -0
  38. package/lib/AWS/ApiGateway/Deployment.d.ts.map +1 -0
  39. package/lib/AWS/ApiGateway/Deployment.js +237 -0
  40. package/lib/AWS/ApiGateway/Deployment.js.map +1 -0
  41. package/lib/AWS/ApiGateway/DomainName.d.ts +50 -0
  42. package/lib/AWS/ApiGateway/DomainName.d.ts.map +1 -0
  43. package/lib/AWS/ApiGateway/DomainName.js +194 -0
  44. package/lib/AWS/ApiGateway/DomainName.js.map +1 -0
  45. package/lib/AWS/ApiGateway/GatewayResource.d.ts +80 -0
  46. package/lib/AWS/ApiGateway/GatewayResource.d.ts.map +1 -0
  47. package/lib/AWS/ApiGateway/GatewayResource.js +162 -0
  48. package/lib/AWS/ApiGateway/GatewayResource.js.map +1 -0
  49. package/lib/AWS/ApiGateway/GatewayResponse.d.ts +39 -0
  50. package/lib/AWS/ApiGateway/GatewayResponse.d.ts.map +1 -0
  51. package/lib/AWS/ApiGateway/GatewayResponse.js +88 -0
  52. package/lib/AWS/ApiGateway/GatewayResponse.js.map +1 -0
  53. package/lib/AWS/ApiGateway/Method.d.ts +202 -0
  54. package/lib/AWS/ApiGateway/Method.d.ts.map +1 -0
  55. package/lib/AWS/ApiGateway/Method.js +369 -0
  56. package/lib/AWS/ApiGateway/Method.js.map +1 -0
  57. package/lib/AWS/ApiGateway/RestApi.d.ts +164 -0
  58. package/lib/AWS/ApiGateway/RestApi.d.ts.map +1 -0
  59. package/lib/AWS/ApiGateway/RestApi.js +310 -0
  60. package/lib/AWS/ApiGateway/RestApi.js.map +1 -0
  61. package/lib/AWS/ApiGateway/Stage.d.ts +144 -0
  62. package/lib/AWS/ApiGateway/Stage.d.ts.map +1 -0
  63. package/lib/AWS/ApiGateway/Stage.js +503 -0
  64. package/lib/AWS/ApiGateway/Stage.js.map +1 -0
  65. package/lib/AWS/ApiGateway/UsagePlan.d.ts +58 -0
  66. package/lib/AWS/ApiGateway/UsagePlan.d.ts.map +1 -0
  67. package/lib/AWS/ApiGateway/UsagePlan.js +253 -0
  68. package/lib/AWS/ApiGateway/UsagePlan.js.map +1 -0
  69. package/lib/AWS/ApiGateway/UsagePlanKey.d.ts +35 -0
  70. package/lib/AWS/ApiGateway/UsagePlanKey.d.ts.map +1 -0
  71. package/lib/AWS/ApiGateway/UsagePlanKey.js +96 -0
  72. package/lib/AWS/ApiGateway/UsagePlanKey.js.map +1 -0
  73. package/lib/AWS/ApiGateway/VpcLink.d.ts +58 -0
  74. package/lib/AWS/ApiGateway/VpcLink.d.ts.map +1 -0
  75. package/lib/AWS/ApiGateway/VpcLink.js +152 -0
  76. package/lib/AWS/ApiGateway/VpcLink.js.map +1 -0
  77. package/lib/AWS/ApiGateway/common.d.ts +31 -0
  78. package/lib/AWS/ApiGateway/common.d.ts.map +1 -0
  79. package/lib/AWS/ApiGateway/common.js +94 -0
  80. package/lib/AWS/ApiGateway/common.js.map +1 -0
  81. package/lib/AWS/ApiGateway/index.d.ts +16 -0
  82. package/lib/AWS/ApiGateway/index.d.ts.map +1 -0
  83. package/lib/AWS/ApiGateway/index.js +16 -0
  84. package/lib/AWS/ApiGateway/index.js.map +1 -0
  85. package/lib/AWS/Arn.d.ts +2 -0
  86. package/lib/AWS/Arn.d.ts.map +1 -0
  87. package/lib/AWS/Arn.js +1 -0
  88. package/lib/AWS/Arn.js.map +1 -0
  89. package/lib/AWS/Assets.d.ts +65 -0
  90. package/lib/AWS/Assets.d.ts.map +1 -0
  91. package/lib/AWS/Assets.js +87 -0
  92. package/lib/AWS/Assets.js.map +1 -0
  93. package/lib/AWS/AuthProvider.d.ts +34 -0
  94. package/lib/AWS/AuthProvider.d.ts.map +1 -0
  95. package/lib/AWS/AuthProvider.js +211 -0
  96. package/lib/AWS/AuthProvider.js.map +1 -0
  97. package/lib/AWS/AutoScaling/AutoScalingGroup.d.ts +90 -0
  98. package/lib/AWS/AutoScaling/AutoScalingGroup.d.ts.map +1 -0
  99. package/lib/AWS/AutoScaling/AutoScalingGroup.js +231 -0
  100. package/lib/AWS/AutoScaling/AutoScalingGroup.js.map +1 -0
  101. package/lib/AWS/AutoScaling/LaunchTemplate.d.ts +140 -0
  102. package/lib/AWS/AutoScaling/LaunchTemplate.d.ts.map +1 -0
  103. package/lib/AWS/AutoScaling/LaunchTemplate.js +272 -0
  104. package/lib/AWS/AutoScaling/LaunchTemplate.js.map +1 -0
  105. package/lib/AWS/AutoScaling/ScalingPolicy.d.ts +53 -0
  106. package/lib/AWS/AutoScaling/ScalingPolicy.d.ts.map +1 -0
  107. package/lib/AWS/AutoScaling/ScalingPolicy.js +114 -0
  108. package/lib/AWS/AutoScaling/ScalingPolicy.js.map +1 -0
  109. package/lib/AWS/AutoScaling/index.d.ts +4 -0
  110. package/lib/AWS/AutoScaling/index.d.ts.map +1 -0
  111. package/lib/AWS/AutoScaling/index.js +4 -0
  112. package/lib/AWS/AutoScaling/index.js.map +1 -0
  113. package/lib/AWS/Bootstrap.d.ts +30 -0
  114. package/lib/AWS/Bootstrap.d.ts.map +1 -0
  115. package/lib/AWS/Bootstrap.js +197 -0
  116. package/lib/AWS/Bootstrap.js.map +1 -0
  117. package/lib/AWS/CloudFront/CachePolicy.d.ts +106 -0
  118. package/lib/AWS/CloudFront/CachePolicy.d.ts.map +1 -0
  119. package/lib/AWS/CloudFront/CachePolicy.js +162 -0
  120. package/lib/AWS/CloudFront/CachePolicy.js.map +1 -0
  121. package/lib/AWS/CloudFront/Distribution.d.ts +218 -0
  122. package/lib/AWS/CloudFront/Distribution.d.ts.map +1 -0
  123. package/lib/AWS/CloudFront/Distribution.js +480 -0
  124. package/lib/AWS/CloudFront/Distribution.js.map +1 -0
  125. package/lib/AWS/CloudFront/Function.d.ts +90 -0
  126. package/lib/AWS/CloudFront/Function.d.ts.map +1 -0
  127. package/lib/AWS/CloudFront/Function.js +201 -0
  128. package/lib/AWS/CloudFront/Function.js.map +1 -0
  129. package/lib/AWS/CloudFront/Invalidation.d.ts +51 -0
  130. package/lib/AWS/CloudFront/Invalidation.d.ts.map +1 -0
  131. package/lib/AWS/CloudFront/Invalidation.js +112 -0
  132. package/lib/AWS/CloudFront/Invalidation.js.map +1 -0
  133. package/lib/AWS/CloudFront/KeyGroup.d.ts +72 -0
  134. package/lib/AWS/CloudFront/KeyGroup.d.ts.map +1 -0
  135. package/lib/AWS/CloudFront/KeyGroup.js +146 -0
  136. package/lib/AWS/CloudFront/KeyGroup.js.map +1 -0
  137. package/lib/AWS/CloudFront/KeyValueStore.d.ts +61 -0
  138. package/lib/AWS/CloudFront/KeyValueStore.d.ts.map +1 -0
  139. package/lib/AWS/CloudFront/KeyValueStore.js +133 -0
  140. package/lib/AWS/CloudFront/KeyValueStore.js.map +1 -0
  141. package/lib/AWS/CloudFront/KvEntries.d.ts +56 -0
  142. package/lib/AWS/CloudFront/KvEntries.d.ts.map +1 -0
  143. package/lib/AWS/CloudFront/KvEntries.js +149 -0
  144. package/lib/AWS/CloudFront/KvEntries.js.map +1 -0
  145. package/lib/AWS/CloudFront/KvRoutesUpdate.d.ts +42 -0
  146. package/lib/AWS/CloudFront/KvRoutesUpdate.d.ts.map +1 -0
  147. package/lib/AWS/CloudFront/KvRoutesUpdate.js +180 -0
  148. package/lib/AWS/CloudFront/KvRoutesUpdate.js.map +1 -0
  149. package/lib/AWS/CloudFront/ManagedPolicies.d.ts +16 -0
  150. package/lib/AWS/CloudFront/ManagedPolicies.d.ts.map +1 -0
  151. package/lib/AWS/CloudFront/ManagedPolicies.js +16 -0
  152. package/lib/AWS/CloudFront/ManagedPolicies.js.map +1 -0
  153. package/lib/AWS/CloudFront/OriginAccessControl.d.ts +77 -0
  154. package/lib/AWS/CloudFront/OriginAccessControl.d.ts.map +1 -0
  155. package/lib/AWS/CloudFront/OriginAccessControl.js +159 -0
  156. package/lib/AWS/CloudFront/OriginAccessControl.js.map +1 -0
  157. package/lib/AWS/CloudFront/OriginRequestPolicy.d.ts +84 -0
  158. package/lib/AWS/CloudFront/OriginRequestPolicy.d.ts.map +1 -0
  159. package/lib/AWS/CloudFront/OriginRequestPolicy.js +155 -0
  160. package/lib/AWS/CloudFront/OriginRequestPolicy.js.map +1 -0
  161. package/lib/AWS/CloudFront/PublicKey.d.ts +72 -0
  162. package/lib/AWS/CloudFront/PublicKey.d.ts.map +1 -0
  163. package/lib/AWS/CloudFront/PublicKey.js +151 -0
  164. package/lib/AWS/CloudFront/PublicKey.js.map +1 -0
  165. package/lib/AWS/CloudFront/ResponseHeadersPolicy.d.ts +114 -0
  166. package/lib/AWS/CloudFront/ResponseHeadersPolicy.d.ts.map +1 -0
  167. package/lib/AWS/CloudFront/ResponseHeadersPolicy.js +176 -0
  168. package/lib/AWS/CloudFront/ResponseHeadersPolicy.js.map +1 -0
  169. package/lib/AWS/CloudFront/common.d.ts +12 -0
  170. package/lib/AWS/CloudFront/common.d.ts.map +1 -0
  171. package/lib/AWS/CloudFront/common.js +31 -0
  172. package/lib/AWS/CloudFront/common.js.map +1 -0
  173. package/lib/AWS/CloudFront/index.d.ts +14 -0
  174. package/lib/AWS/CloudFront/index.d.ts.map +1 -0
  175. package/lib/AWS/CloudFront/index.js +14 -0
  176. package/lib/AWS/CloudFront/index.js.map +1 -0
  177. package/lib/AWS/CloudWatch/Alarm.d.ts +49 -0
  178. package/lib/AWS/CloudWatch/Alarm.d.ts.map +1 -0
  179. package/lib/AWS/CloudWatch/Alarm.js +112 -0
  180. package/lib/AWS/CloudWatch/Alarm.js.map +1 -0
  181. package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts +47 -0
  182. package/lib/AWS/CloudWatch/AlarmMuteRule.d.ts.map +1 -0
  183. package/lib/AWS/CloudWatch/AlarmMuteRule.js +98 -0
  184. package/lib/AWS/CloudWatch/AlarmMuteRule.js.map +1 -0
  185. package/lib/AWS/CloudWatch/AnomalyDetector.d.ts +27 -0
  186. package/lib/AWS/CloudWatch/AnomalyDetector.d.ts.map +1 -0
  187. package/lib/AWS/CloudWatch/AnomalyDetector.js +137 -0
  188. package/lib/AWS/CloudWatch/AnomalyDetector.js.map +1 -0
  189. package/lib/AWS/CloudWatch/CompositeAlarm.d.ts +41 -0
  190. package/lib/AWS/CloudWatch/CompositeAlarm.d.ts.map +1 -0
  191. package/lib/AWS/CloudWatch/CompositeAlarm.js +106 -0
  192. package/lib/AWS/CloudWatch/CompositeAlarm.js.map +1 -0
  193. package/lib/AWS/CloudWatch/Dashboard.d.ts +122 -0
  194. package/lib/AWS/CloudWatch/Dashboard.d.ts.map +1 -0
  195. package/lib/AWS/CloudWatch/Dashboard.js +96 -0
  196. package/lib/AWS/CloudWatch/Dashboard.js.map +1 -0
  197. package/lib/AWS/CloudWatch/DescribeAlarmContributors.d.ts +22 -0
  198. package/lib/AWS/CloudWatch/DescribeAlarmContributors.d.ts.map +1 -0
  199. package/lib/AWS/CloudWatch/DescribeAlarmContributors.js +43 -0
  200. package/lib/AWS/CloudWatch/DescribeAlarmContributors.js.map +1 -0
  201. package/lib/AWS/CloudWatch/DescribeAlarmHistory.d.ts +21 -0
  202. package/lib/AWS/CloudWatch/DescribeAlarmHistory.d.ts.map +1 -0
  203. package/lib/AWS/CloudWatch/DescribeAlarmHistory.js +39 -0
  204. package/lib/AWS/CloudWatch/DescribeAlarmHistory.js.map +1 -0
  205. package/lib/AWS/CloudWatch/DescribeAlarms.d.ts +22 -0
  206. package/lib/AWS/CloudWatch/DescribeAlarms.d.ts.map +1 -0
  207. package/lib/AWS/CloudWatch/DescribeAlarms.js +53 -0
  208. package/lib/AWS/CloudWatch/DescribeAlarms.js.map +1 -0
  209. package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.d.ts +21 -0
  210. package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.d.ts.map +1 -0
  211. package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.js +39 -0
  212. package/lib/AWS/CloudWatch/DescribeAlarmsForMetric.js.map +1 -0
  213. package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.d.ts +21 -0
  214. package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.d.ts.map +1 -0
  215. package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.js +39 -0
  216. package/lib/AWS/CloudWatch/DescribeAnomalyDetectors.js.map +1 -0
  217. package/lib/AWS/CloudWatch/DescribeInsightRules.d.ts +21 -0
  218. package/lib/AWS/CloudWatch/DescribeInsightRules.d.ts.map +1 -0
  219. package/lib/AWS/CloudWatch/DescribeInsightRules.js +39 -0
  220. package/lib/AWS/CloudWatch/DescribeInsightRules.js.map +1 -0
  221. package/lib/AWS/CloudWatch/DisableAlarmActions.d.ts +20 -0
  222. package/lib/AWS/CloudWatch/DisableAlarmActions.d.ts.map +1 -0
  223. package/lib/AWS/CloudWatch/DisableAlarmActions.js +45 -0
  224. package/lib/AWS/CloudWatch/DisableAlarmActions.js.map +1 -0
  225. package/lib/AWS/CloudWatch/DisableInsightRules.d.ts +19 -0
  226. package/lib/AWS/CloudWatch/DisableInsightRules.d.ts.map +1 -0
  227. package/lib/AWS/CloudWatch/DisableInsightRules.js +45 -0
  228. package/lib/AWS/CloudWatch/DisableInsightRules.js.map +1 -0
  229. package/lib/AWS/CloudWatch/EnableAlarmActions.d.ts +20 -0
  230. package/lib/AWS/CloudWatch/EnableAlarmActions.d.ts.map +1 -0
  231. package/lib/AWS/CloudWatch/EnableAlarmActions.js +45 -0
  232. package/lib/AWS/CloudWatch/EnableAlarmActions.js.map +1 -0
  233. package/lib/AWS/CloudWatch/GetAlarmMuteRule.d.ts +22 -0
  234. package/lib/AWS/CloudWatch/GetAlarmMuteRule.d.ts.map +1 -0
  235. package/lib/AWS/CloudWatch/GetAlarmMuteRule.js +43 -0
  236. package/lib/AWS/CloudWatch/GetAlarmMuteRule.js.map +1 -0
  237. package/lib/AWS/CloudWatch/GetDashboard.d.ts +22 -0
  238. package/lib/AWS/CloudWatch/GetDashboard.d.ts.map +1 -0
  239. package/lib/AWS/CloudWatch/GetDashboard.js +43 -0
  240. package/lib/AWS/CloudWatch/GetDashboard.js.map +1 -0
  241. package/lib/AWS/CloudWatch/GetInsightRuleReport.d.ts +22 -0
  242. package/lib/AWS/CloudWatch/GetInsightRuleReport.d.ts.map +1 -0
  243. package/lib/AWS/CloudWatch/GetInsightRuleReport.js +43 -0
  244. package/lib/AWS/CloudWatch/GetInsightRuleReport.js.map +1 -0
  245. package/lib/AWS/CloudWatch/GetMetricData.d.ts +21 -0
  246. package/lib/AWS/CloudWatch/GetMetricData.d.ts.map +1 -0
  247. package/lib/AWS/CloudWatch/GetMetricData.js +39 -0
  248. package/lib/AWS/CloudWatch/GetMetricData.js.map +1 -0
  249. package/lib/AWS/CloudWatch/GetMetricStatistics.d.ts +21 -0
  250. package/lib/AWS/CloudWatch/GetMetricStatistics.d.ts.map +1 -0
  251. package/lib/AWS/CloudWatch/GetMetricStatistics.js +39 -0
  252. package/lib/AWS/CloudWatch/GetMetricStatistics.js.map +1 -0
  253. package/lib/AWS/CloudWatch/GetMetricStream.d.ts +22 -0
  254. package/lib/AWS/CloudWatch/GetMetricStream.d.ts.map +1 -0
  255. package/lib/AWS/CloudWatch/GetMetricStream.js +43 -0
  256. package/lib/AWS/CloudWatch/GetMetricStream.js.map +1 -0
  257. package/lib/AWS/CloudWatch/GetMetricWidgetImage.d.ts +21 -0
  258. package/lib/AWS/CloudWatch/GetMetricWidgetImage.d.ts.map +1 -0
  259. package/lib/AWS/CloudWatch/GetMetricWidgetImage.js +39 -0
  260. package/lib/AWS/CloudWatch/GetMetricWidgetImage.js.map +1 -0
  261. package/lib/AWS/CloudWatch/InsightRule.d.ts +76 -0
  262. package/lib/AWS/CloudWatch/InsightRule.d.ts.map +1 -0
  263. package/lib/AWS/CloudWatch/InsightRule.js +132 -0
  264. package/lib/AWS/CloudWatch/InsightRule.js.map +1 -0
  265. package/lib/AWS/CloudWatch/ListAlarmMuteRules.d.ts +21 -0
  266. package/lib/AWS/CloudWatch/ListAlarmMuteRules.d.ts.map +1 -0
  267. package/lib/AWS/CloudWatch/ListAlarmMuteRules.js +39 -0
  268. package/lib/AWS/CloudWatch/ListAlarmMuteRules.js.map +1 -0
  269. package/lib/AWS/CloudWatch/ListDashboards.d.ts +21 -0
  270. package/lib/AWS/CloudWatch/ListDashboards.d.ts.map +1 -0
  271. package/lib/AWS/CloudWatch/ListDashboards.js +39 -0
  272. package/lib/AWS/CloudWatch/ListDashboards.js.map +1 -0
  273. package/lib/AWS/CloudWatch/ListManagedInsightRules.d.ts +21 -0
  274. package/lib/AWS/CloudWatch/ListManagedInsightRules.d.ts.map +1 -0
  275. package/lib/AWS/CloudWatch/ListManagedInsightRules.js +39 -0
  276. package/lib/AWS/CloudWatch/ListManagedInsightRules.js.map +1 -0
  277. package/lib/AWS/CloudWatch/ListMetricStreams.d.ts +21 -0
  278. package/lib/AWS/CloudWatch/ListMetricStreams.d.ts.map +1 -0
  279. package/lib/AWS/CloudWatch/ListMetricStreams.js +39 -0
  280. package/lib/AWS/CloudWatch/ListMetricStreams.js.map +1 -0
  281. package/lib/AWS/CloudWatch/ListMetrics.d.ts +21 -0
  282. package/lib/AWS/CloudWatch/ListMetrics.d.ts.map +1 -0
  283. package/lib/AWS/CloudWatch/ListMetrics.js +39 -0
  284. package/lib/AWS/CloudWatch/ListMetrics.js.map +1 -0
  285. package/lib/AWS/CloudWatch/ListTagsForResource.d.ts +22 -0
  286. package/lib/AWS/CloudWatch/ListTagsForResource.d.ts.map +1 -0
  287. package/lib/AWS/CloudWatch/ListTagsForResource.js +44 -0
  288. package/lib/AWS/CloudWatch/ListTagsForResource.js.map +1 -0
  289. package/lib/AWS/CloudWatch/MetricStream.d.ts +48 -0
  290. package/lib/AWS/CloudWatch/MetricStream.d.ts.map +1 -0
  291. package/lib/AWS/CloudWatch/MetricStream.js +128 -0
  292. package/lib/AWS/CloudWatch/MetricStream.js.map +1 -0
  293. package/lib/AWS/CloudWatch/PutMetricData.d.ts +21 -0
  294. package/lib/AWS/CloudWatch/PutMetricData.d.ts.map +1 -0
  295. package/lib/AWS/CloudWatch/PutMetricData.js +39 -0
  296. package/lib/AWS/CloudWatch/PutMetricData.js.map +1 -0
  297. package/lib/AWS/CloudWatch/SetAlarmState.d.ts +22 -0
  298. package/lib/AWS/CloudWatch/SetAlarmState.d.ts.map +1 -0
  299. package/lib/AWS/CloudWatch/SetAlarmState.js +43 -0
  300. package/lib/AWS/CloudWatch/SetAlarmState.js.map +1 -0
  301. package/lib/AWS/CloudWatch/alarmStateChanges.d.ts +23 -0
  302. package/lib/AWS/CloudWatch/alarmStateChanges.d.ts.map +1 -0
  303. package/lib/AWS/CloudWatch/alarmStateChanges.js +13 -0
  304. package/lib/AWS/CloudWatch/alarmStateChanges.js.map +1 -0
  305. package/lib/AWS/CloudWatch/binding-common.d.ts +13 -0
  306. package/lib/AWS/CloudWatch/binding-common.d.ts.map +1 -0
  307. package/lib/AWS/CloudWatch/binding-common.js +19 -0
  308. package/lib/AWS/CloudWatch/binding-common.js.map +1 -0
  309. package/lib/AWS/CloudWatch/common.d.ts +32 -0
  310. package/lib/AWS/CloudWatch/common.d.ts.map +1 -0
  311. package/lib/AWS/CloudWatch/common.js +67 -0
  312. package/lib/AWS/CloudWatch/common.js.map +1 -0
  313. package/lib/AWS/CloudWatch/index.d.ts +33 -0
  314. package/lib/AWS/CloudWatch/index.d.ts.map +1 -0
  315. package/lib/AWS/CloudWatch/index.js +33 -0
  316. package/lib/AWS/CloudWatch/index.js.map +1 -0
  317. package/lib/AWS/Context.d.ts +8 -0
  318. package/lib/AWS/Context.d.ts.map +1 -0
  319. package/lib/AWS/Context.js +16 -0
  320. package/lib/AWS/Context.js.map +1 -0
  321. package/lib/AWS/Credentials.d.ts +11 -0
  322. package/lib/AWS/Credentials.d.ts.map +1 -0
  323. package/lib/AWS/Credentials.js +11 -0
  324. package/lib/AWS/Credentials.js.map +1 -0
  325. package/lib/AWS/DynamoDB/AttributeValue.d.ts +20 -0
  326. package/lib/AWS/DynamoDB/AttributeValue.d.ts.map +1 -0
  327. package/lib/AWS/DynamoDB/AttributeValue.js +228 -0
  328. package/lib/AWS/DynamoDB/AttributeValue.js.map +1 -0
  329. package/lib/AWS/DynamoDB/BatchExecuteStatement.d.ts +43 -0
  330. package/lib/AWS/DynamoDB/BatchExecuteStatement.d.ts.map +1 -0
  331. package/lib/AWS/DynamoDB/BatchExecuteStatement.js +74 -0
  332. package/lib/AWS/DynamoDB/BatchExecuteStatement.js.map +1 -0
  333. package/lib/AWS/DynamoDB/BatchGetItem.d.ts +45 -0
  334. package/lib/AWS/DynamoDB/BatchGetItem.d.ts.map +1 -0
  335. package/lib/AWS/DynamoDB/BatchGetItem.js +81 -0
  336. package/lib/AWS/DynamoDB/BatchGetItem.js.map +1 -0
  337. package/lib/AWS/DynamoDB/BatchWriteItem.d.ts +48 -0
  338. package/lib/AWS/DynamoDB/BatchWriteItem.d.ts.map +1 -0
  339. package/lib/AWS/DynamoDB/BatchWriteItem.js +84 -0
  340. package/lib/AWS/DynamoDB/BatchWriteItem.js.map +1 -0
  341. package/lib/AWS/DynamoDB/DeleteItem.d.ts +19 -0
  342. package/lib/AWS/DynamoDB/DeleteItem.d.ts.map +1 -0
  343. package/lib/AWS/DynamoDB/DeleteItem.js +41 -0
  344. package/lib/AWS/DynamoDB/DeleteItem.js.map +1 -0
  345. package/lib/AWS/DynamoDB/DescribeTable.d.ts +19 -0
  346. package/lib/AWS/DynamoDB/DescribeTable.d.ts.map +1 -0
  347. package/lib/AWS/DynamoDB/DescribeTable.js +40 -0
  348. package/lib/AWS/DynamoDB/DescribeTable.js.map +1 -0
  349. package/lib/AWS/DynamoDB/DescribeTimeToLive.d.ts +19 -0
  350. package/lib/AWS/DynamoDB/DescribeTimeToLive.d.ts.map +1 -0
  351. package/lib/AWS/DynamoDB/DescribeTimeToLive.js +40 -0
  352. package/lib/AWS/DynamoDB/DescribeTimeToLive.js.map +1 -0
  353. package/lib/AWS/DynamoDB/ExecuteStatement.d.ts +36 -0
  354. package/lib/AWS/DynamoDB/ExecuteStatement.d.ts.map +1 -0
  355. package/lib/AWS/DynamoDB/ExecuteStatement.js +62 -0
  356. package/lib/AWS/DynamoDB/ExecuteStatement.js.map +1 -0
  357. package/lib/AWS/DynamoDB/ExecuteTransaction.d.ts +19 -0
  358. package/lib/AWS/DynamoDB/ExecuteTransaction.d.ts.map +1 -0
  359. package/lib/AWS/DynamoDB/ExecuteTransaction.js +42 -0
  360. package/lib/AWS/DynamoDB/ExecuteTransaction.js.map +1 -0
  361. package/lib/AWS/DynamoDB/Expr.d.ts +41 -0
  362. package/lib/AWS/DynamoDB/Expr.d.ts.map +1 -0
  363. package/lib/AWS/DynamoDB/Expr.js +1 -0
  364. package/lib/AWS/DynamoDB/Expr.js.map +1 -0
  365. package/lib/AWS/DynamoDB/GetItem.d.ts +37 -0
  366. package/lib/AWS/DynamoDB/GetItem.d.ts.map +1 -0
  367. package/lib/AWS/DynamoDB/GetItem.js +59 -0
  368. package/lib/AWS/DynamoDB/GetItem.js.map +1 -0
  369. package/lib/AWS/DynamoDB/ListTables.d.ts +18 -0
  370. package/lib/AWS/DynamoDB/ListTables.d.ts.map +1 -0
  371. package/lib/AWS/DynamoDB/ListTables.js +36 -0
  372. package/lib/AWS/DynamoDB/ListTables.js.map +1 -0
  373. package/lib/AWS/DynamoDB/ListTagsOfResource.d.ts +19 -0
  374. package/lib/AWS/DynamoDB/ListTagsOfResource.d.ts.map +1 -0
  375. package/lib/AWS/DynamoDB/ListTagsOfResource.js +40 -0
  376. package/lib/AWS/DynamoDB/ListTagsOfResource.js.map +1 -0
  377. package/lib/AWS/DynamoDB/ProjectionExpression.d.ts +25 -0
  378. package/lib/AWS/DynamoDB/ProjectionExpression.d.ts.map +1 -0
  379. package/lib/AWS/DynamoDB/ProjectionExpression.js +1 -0
  380. package/lib/AWS/DynamoDB/ProjectionExpression.js.map +1 -0
  381. package/lib/AWS/DynamoDB/PutItem.d.ts +19 -0
  382. package/lib/AWS/DynamoDB/PutItem.d.ts.map +1 -0
  383. package/lib/AWS/DynamoDB/PutItem.js +41 -0
  384. package/lib/AWS/DynamoDB/PutItem.js.map +1 -0
  385. package/lib/AWS/DynamoDB/Query.d.ts +19 -0
  386. package/lib/AWS/DynamoDB/Query.d.ts.map +1 -0
  387. package/lib/AWS/DynamoDB/Query.js +45 -0
  388. package/lib/AWS/DynamoDB/Query.js.map +1 -0
  389. package/lib/AWS/DynamoDB/RestoreTableToPointInTime.d.ts +19 -0
  390. package/lib/AWS/DynamoDB/RestoreTableToPointInTime.d.ts.map +1 -0
  391. package/lib/AWS/DynamoDB/RestoreTableToPointInTime.js +55 -0
  392. package/lib/AWS/DynamoDB/RestoreTableToPointInTime.js.map +1 -0
  393. package/lib/AWS/DynamoDB/Scan.d.ts +19 -0
  394. package/lib/AWS/DynamoDB/Scan.d.ts.map +1 -0
  395. package/lib/AWS/DynamoDB/Scan.js +45 -0
  396. package/lib/AWS/DynamoDB/Scan.js.map +1 -0
  397. package/lib/AWS/DynamoDB/Stream.d.ts +70 -0
  398. package/lib/AWS/DynamoDB/Stream.d.ts.map +1 -0
  399. package/lib/AWS/DynamoDB/Stream.js +9 -0
  400. package/lib/AWS/DynamoDB/Stream.js.map +1 -0
  401. package/lib/AWS/DynamoDB/Table.d.ts +172 -0
  402. package/lib/AWS/DynamoDB/Table.d.ts.map +1 -0
  403. package/lib/AWS/DynamoDB/Table.js +838 -0
  404. package/lib/AWS/DynamoDB/Table.js.map +1 -0
  405. package/lib/AWS/DynamoDB/TransactGetItems.d.ts +52 -0
  406. package/lib/AWS/DynamoDB/TransactGetItems.d.ts.map +1 -0
  407. package/lib/AWS/DynamoDB/TransactGetItems.js +88 -0
  408. package/lib/AWS/DynamoDB/TransactGetItems.js.map +1 -0
  409. package/lib/AWS/DynamoDB/TransactWriteItems.d.ts +69 -0
  410. package/lib/AWS/DynamoDB/TransactWriteItems.d.ts.map +1 -0
  411. package/lib/AWS/DynamoDB/TransactWriteItems.js +120 -0
  412. package/lib/AWS/DynamoDB/TransactWriteItems.js.map +1 -0
  413. package/lib/AWS/DynamoDB/UpdateItem.d.ts +19 -0
  414. package/lib/AWS/DynamoDB/UpdateItem.d.ts.map +1 -0
  415. package/lib/AWS/DynamoDB/UpdateItem.js +41 -0
  416. package/lib/AWS/DynamoDB/UpdateItem.js.map +1 -0
  417. package/lib/AWS/DynamoDB/UpdateTimeToLive.d.ts +19 -0
  418. package/lib/AWS/DynamoDB/UpdateTimeToLive.d.ts.map +1 -0
  419. package/lib/AWS/DynamoDB/UpdateTimeToLive.js +40 -0
  420. package/lib/AWS/DynamoDB/UpdateTimeToLive.js.map +1 -0
  421. package/lib/AWS/DynamoDB/index.d.ts +25 -0
  422. package/lib/AWS/DynamoDB/index.d.ts.map +1 -0
  423. package/lib/AWS/DynamoDB/index.js +25 -0
  424. package/lib/AWS/DynamoDB/index.js.map +1 -0
  425. package/lib/AWS/EC2/EIP.d.ts +79 -0
  426. package/lib/AWS/EC2/EIP.d.ts.map +1 -0
  427. package/lib/AWS/EC2/EIP.js +149 -0
  428. package/lib/AWS/EC2/EIP.js.map +1 -0
  429. package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts +48 -0
  430. package/lib/AWS/EC2/EgressOnlyInternetGateway.d.ts.map +1 -0
  431. package/lib/AWS/EC2/EgressOnlyInternetGateway.js +139 -0
  432. package/lib/AWS/EC2/EgressOnlyInternetGateway.js.map +1 -0
  433. package/lib/AWS/EC2/Image.d.ts +27 -0
  434. package/lib/AWS/EC2/Image.d.ts.map +1 -0
  435. package/lib/AWS/EC2/Image.js +67 -0
  436. package/lib/AWS/EC2/Image.js.map +1 -0
  437. package/lib/AWS/EC2/Instance.d.ts +265 -0
  438. package/lib/AWS/EC2/Instance.d.ts.map +1 -0
  439. package/lib/AWS/EC2/Instance.js +419 -0
  440. package/lib/AWS/EC2/Instance.js.map +1 -0
  441. package/lib/AWS/EC2/InternetGateway.d.ts +52 -0
  442. package/lib/AWS/EC2/InternetGateway.d.ts.map +1 -0
  443. package/lib/AWS/EC2/InternetGateway.js +179 -0
  444. package/lib/AWS/EC2/InternetGateway.js.map +1 -0
  445. package/lib/AWS/EC2/NatGateway.d.ts +121 -0
  446. package/lib/AWS/EC2/NatGateway.d.ts.map +1 -0
  447. package/lib/AWS/EC2/NatGateway.js +243 -0
  448. package/lib/AWS/EC2/NatGateway.js.map +1 -0
  449. package/lib/AWS/EC2/Network.d.ts +127 -0
  450. package/lib/AWS/EC2/Network.d.ts.map +1 -0
  451. package/lib/AWS/EC2/Network.js +279 -0
  452. package/lib/AWS/EC2/Network.js.map +1 -0
  453. package/lib/AWS/EC2/NetworkAcl.d.ts +54 -0
  454. package/lib/AWS/EC2/NetworkAcl.d.ts.map +1 -0
  455. package/lib/AWS/EC2/NetworkAcl.js +143 -0
  456. package/lib/AWS/EC2/NetworkAcl.js.map +1 -0
  457. package/lib/AWS/EC2/NetworkAclAssociation.d.ts +26 -0
  458. package/lib/AWS/EC2/NetworkAclAssociation.d.ts.map +1 -0
  459. package/lib/AWS/EC2/NetworkAclAssociation.js +121 -0
  460. package/lib/AWS/EC2/NetworkAclAssociation.js.map +1 -0
  461. package/lib/AWS/EC2/NetworkAclEntry.d.ts +89 -0
  462. package/lib/AWS/EC2/NetworkAclEntry.d.ts.map +1 -0
  463. package/lib/AWS/EC2/NetworkAclEntry.js +114 -0
  464. package/lib/AWS/EC2/NetworkAclEntry.js.map +1 -0
  465. package/lib/AWS/EC2/Route.d.ts +98 -0
  466. package/lib/AWS/EC2/Route.d.ts.map +1 -0
  467. package/lib/AWS/EC2/Route.js +141 -0
  468. package/lib/AWS/EC2/Route.js.map +1 -0
  469. package/lib/AWS/EC2/RouteTable.d.ts +152 -0
  470. package/lib/AWS/EC2/RouteTable.d.ts.map +1 -0
  471. package/lib/AWS/EC2/RouteTable.js +177 -0
  472. package/lib/AWS/EC2/RouteTable.js.map +1 -0
  473. package/lib/AWS/EC2/RouteTableAssociation.d.ts +54 -0
  474. package/lib/AWS/EC2/RouteTableAssociation.d.ts.map +1 -0
  475. package/lib/AWS/EC2/RouteTableAssociation.js +164 -0
  476. package/lib/AWS/EC2/RouteTableAssociation.js.map +1 -0
  477. package/lib/AWS/EC2/SecurityGroup.d.ts +140 -0
  478. package/lib/AWS/EC2/SecurityGroup.d.ts.map +1 -0
  479. package/lib/AWS/EC2/SecurityGroup.js +255 -0
  480. package/lib/AWS/EC2/SecurityGroup.js.map +1 -0
  481. package/lib/AWS/EC2/SecurityGroupRule.d.ts +109 -0
  482. package/lib/AWS/EC2/SecurityGroupRule.d.ts.map +1 -0
  483. package/lib/AWS/EC2/SecurityGroupRule.js +194 -0
  484. package/lib/AWS/EC2/SecurityGroupRule.js.map +1 -0
  485. package/lib/AWS/EC2/Subnet.d.ts +167 -0
  486. package/lib/AWS/EC2/Subnet.d.ts.map +1 -0
  487. package/lib/AWS/EC2/Subnet.js +250 -0
  488. package/lib/AWS/EC2/Subnet.js.map +1 -0
  489. package/lib/AWS/EC2/Vpc.d.ts +130 -0
  490. package/lib/AWS/EC2/Vpc.d.ts.map +1 -0
  491. package/lib/AWS/EC2/Vpc.js +236 -0
  492. package/lib/AWS/EC2/Vpc.js.map +1 -0
  493. package/lib/AWS/EC2/VpcEndpoint.d.ts +170 -0
  494. package/lib/AWS/EC2/VpcEndpoint.d.ts.map +1 -0
  495. package/lib/AWS/EC2/VpcEndpoint.js +316 -0
  496. package/lib/AWS/EC2/VpcEndpoint.js.map +1 -0
  497. package/lib/AWS/EC2/hosted.d.ts +142 -0
  498. package/lib/AWS/EC2/hosted.d.ts.map +1 -0
  499. package/lib/AWS/EC2/hosted.js +568 -0
  500. package/lib/AWS/EC2/hosted.js.map +1 -0
  501. package/lib/AWS/EC2/index.d.ts +19 -0
  502. package/lib/AWS/EC2/index.d.ts.map +1 -0
  503. package/lib/AWS/EC2/index.js +19 -0
  504. package/lib/AWS/EC2/index.js.map +1 -0
  505. package/lib/AWS/ECR/Repository.d.ts +56 -0
  506. package/lib/AWS/ECR/Repository.d.ts.map +1 -0
  507. package/lib/AWS/ECR/Repository.js +164 -0
  508. package/lib/AWS/ECR/Repository.js.map +1 -0
  509. package/lib/AWS/ECR/index.d.ts +2 -0
  510. package/lib/AWS/ECR/index.d.ts.map +1 -0
  511. package/lib/AWS/ECR/index.js +2 -0
  512. package/lib/AWS/ECR/index.js.map +1 -0
  513. package/lib/AWS/ECS/CapacityProvider.d.ts +106 -0
  514. package/lib/AWS/ECS/CapacityProvider.d.ts.map +1 -0
  515. package/lib/AWS/ECS/CapacityProvider.js +197 -0
  516. package/lib/AWS/ECS/CapacityProvider.js.map +1 -0
  517. package/lib/AWS/ECS/Cluster.d.ts +63 -0
  518. package/lib/AWS/ECS/Cluster.d.ts.map +1 -0
  519. package/lib/AWS/ECS/Cluster.js +152 -0
  520. package/lib/AWS/ECS/Cluster.js.map +1 -0
  521. package/lib/AWS/ECS/DescribeTasks.d.ts +19 -0
  522. package/lib/AWS/ECS/DescribeTasks.d.ts.map +1 -0
  523. package/lib/AWS/ECS/DescribeTasks.js +41 -0
  524. package/lib/AWS/ECS/DescribeTasks.js.map +1 -0
  525. package/lib/AWS/ECS/ListTasks.d.ts +19 -0
  526. package/lib/AWS/ECS/ListTasks.d.ts.map +1 -0
  527. package/lib/AWS/ECS/ListTasks.js +41 -0
  528. package/lib/AWS/ECS/ListTasks.js.map +1 -0
  529. package/lib/AWS/ECS/RunTask.d.ts +20 -0
  530. package/lib/AWS/ECS/RunTask.d.ts.map +1 -0
  531. package/lib/AWS/ECS/RunTask.js +53 -0
  532. package/lib/AWS/ECS/RunTask.js.map +1 -0
  533. package/lib/AWS/ECS/Schedule.d.ts +94 -0
  534. package/lib/AWS/ECS/Schedule.d.ts.map +1 -0
  535. package/lib/AWS/ECS/Schedule.js +57 -0
  536. package/lib/AWS/ECS/Schedule.js.map +1 -0
  537. package/lib/AWS/ECS/Service.d.ts +214 -0
  538. package/lib/AWS/ECS/Service.d.ts.map +1 -0
  539. package/lib/AWS/ECS/Service.js +377 -0
  540. package/lib/AWS/ECS/Service.js.map +1 -0
  541. package/lib/AWS/ECS/StopTask.d.ts +19 -0
  542. package/lib/AWS/ECS/StopTask.d.ts.map +1 -0
  543. package/lib/AWS/ECS/StopTask.js +41 -0
  544. package/lib/AWS/ECS/StopTask.js.map +1 -0
  545. package/lib/AWS/ECS/Task.d.ts +125 -0
  546. package/lib/AWS/ECS/Task.d.ts.map +1 -0
  547. package/lib/AWS/ECS/Task.js +567 -0
  548. package/lib/AWS/ECS/Task.js.map +1 -0
  549. package/lib/AWS/ECS/index.d.ts +10 -0
  550. package/lib/AWS/ECS/index.d.ts.map +1 -0
  551. package/lib/AWS/ECS/index.js +10 -0
  552. package/lib/AWS/ECS/index.js.map +1 -0
  553. package/lib/AWS/EKS/AccessEntry.d.ts +84 -0
  554. package/lib/AWS/EKS/AccessEntry.d.ts.map +1 -0
  555. package/lib/AWS/EKS/AccessEntry.js +217 -0
  556. package/lib/AWS/EKS/AccessEntry.js.map +1 -0
  557. package/lib/AWS/EKS/Addon.d.ts +82 -0
  558. package/lib/AWS/EKS/Addon.d.ts.map +1 -0
  559. package/lib/AWS/EKS/Addon.js +230 -0
  560. package/lib/AWS/EKS/Addon.js.map +1 -0
  561. package/lib/AWS/EKS/AutoCluster.d.ts +142 -0
  562. package/lib/AWS/EKS/AutoCluster.d.ts.map +1 -0
  563. package/lib/AWS/EKS/AutoCluster.js +156 -0
  564. package/lib/AWS/EKS/AutoCluster.js.map +1 -0
  565. package/lib/AWS/EKS/Cluster.d.ts +115 -0
  566. package/lib/AWS/EKS/Cluster.d.ts.map +1 -0
  567. package/lib/AWS/EKS/Cluster.js +385 -0
  568. package/lib/AWS/EKS/Cluster.js.map +1 -0
  569. package/lib/AWS/EKS/LoadBalancedWorkload.d.ts +89 -0
  570. package/lib/AWS/EKS/LoadBalancedWorkload.d.ts.map +1 -0
  571. package/lib/AWS/EKS/LoadBalancedWorkload.js +38 -0
  572. package/lib/AWS/EKS/LoadBalancedWorkload.js.map +1 -0
  573. package/lib/AWS/EKS/PodIdentityAssociation.d.ts +73 -0
  574. package/lib/AWS/EKS/PodIdentityAssociation.d.ts.map +1 -0
  575. package/lib/AWS/EKS/PodIdentityAssociation.js +224 -0
  576. package/lib/AWS/EKS/PodIdentityAssociation.js.map +1 -0
  577. package/lib/AWS/EKS/PodIdentityServiceAccount.d.ts +109 -0
  578. package/lib/AWS/EKS/PodIdentityServiceAccount.d.ts.map +1 -0
  579. package/lib/AWS/EKS/PodIdentityServiceAccount.js +66 -0
  580. package/lib/AWS/EKS/PodIdentityServiceAccount.js.map +1 -0
  581. package/lib/AWS/EKS/PodIdentityWorkload.d.ts +190 -0
  582. package/lib/AWS/EKS/PodIdentityWorkload.d.ts.map +1 -0
  583. package/lib/AWS/EKS/PodIdentityWorkload.js +71 -0
  584. package/lib/AWS/EKS/PodIdentityWorkload.js.map +1 -0
  585. package/lib/AWS/EKS/Workload.d.ts +143 -0
  586. package/lib/AWS/EKS/Workload.d.ts.map +1 -0
  587. package/lib/AWS/EKS/Workload.js +65 -0
  588. package/lib/AWS/EKS/Workload.js.map +1 -0
  589. package/lib/AWS/EKS/index.d.ts +10 -0
  590. package/lib/AWS/EKS/index.d.ts.map +1 -0
  591. package/lib/AWS/EKS/index.js +10 -0
  592. package/lib/AWS/EKS/index.js.map +1 -0
  593. package/lib/AWS/ELBv2/Listener.d.ts +28 -0
  594. package/lib/AWS/ELBv2/Listener.d.ts.map +1 -0
  595. package/lib/AWS/ELBv2/Listener.js +127 -0
  596. package/lib/AWS/ELBv2/Listener.js.map +1 -0
  597. package/lib/AWS/ELBv2/LoadBalancer.d.ts +36 -0
  598. package/lib/AWS/ELBv2/LoadBalancer.d.ts.map +1 -0
  599. package/lib/AWS/ELBv2/LoadBalancer.js +160 -0
  600. package/lib/AWS/ELBv2/LoadBalancer.js.map +1 -0
  601. package/lib/AWS/ELBv2/TargetGroup.d.ts +36 -0
  602. package/lib/AWS/ELBv2/TargetGroup.d.ts.map +1 -0
  603. package/lib/AWS/ELBv2/TargetGroup.js +153 -0
  604. package/lib/AWS/ELBv2/TargetGroup.js.map +1 -0
  605. package/lib/AWS/ELBv2/index.d.ts +4 -0
  606. package/lib/AWS/ELBv2/index.d.ts.map +1 -0
  607. package/lib/AWS/ELBv2/index.js +4 -0
  608. package/lib/AWS/ELBv2/index.js.map +1 -0
  609. package/lib/AWS/Endpoint.d.ts +11 -0
  610. package/lib/AWS/Endpoint.d.ts.map +1 -0
  611. package/lib/AWS/Endpoint.js +11 -0
  612. package/lib/AWS/Endpoint.js.map +1 -0
  613. package/lib/AWS/Environment.d.ts +90 -0
  614. package/lib/AWS/Environment.d.ts.map +1 -0
  615. package/lib/AWS/Environment.js +97 -0
  616. package/lib/AWS/Environment.js.map +1 -0
  617. package/lib/AWS/EventBridge/DescribeEventBus.d.ts +19 -0
  618. package/lib/AWS/EventBridge/DescribeEventBus.d.ts.map +1 -0
  619. package/lib/AWS/EventBridge/DescribeEventBus.js +40 -0
  620. package/lib/AWS/EventBridge/DescribeEventBus.js.map +1 -0
  621. package/lib/AWS/EventBridge/DescribeRule.d.ts +19 -0
  622. package/lib/AWS/EventBridge/DescribeRule.d.ts.map +1 -0
  623. package/lib/AWS/EventBridge/DescribeRule.js +44 -0
  624. package/lib/AWS/EventBridge/DescribeRule.js.map +1 -0
  625. package/lib/AWS/EventBridge/EventBus.d.ts +88 -0
  626. package/lib/AWS/EventBridge/EventBus.d.ts.map +1 -0
  627. package/lib/AWS/EventBridge/EventBus.js +154 -0
  628. package/lib/AWS/EventBridge/EventBus.js.map +1 -0
  629. package/lib/AWS/EventBridge/EventSource.d.ts +41 -0
  630. package/lib/AWS/EventBridge/EventSource.d.ts.map +1 -0
  631. package/lib/AWS/EventBridge/EventSource.js +63 -0
  632. package/lib/AWS/EventBridge/EventSource.js.map +1 -0
  633. package/lib/AWS/EventBridge/ListEventBuses.d.ts +18 -0
  634. package/lib/AWS/EventBridge/ListEventBuses.d.ts.map +1 -0
  635. package/lib/AWS/EventBridge/ListEventBuses.js +36 -0
  636. package/lib/AWS/EventBridge/ListEventBuses.js.map +1 -0
  637. package/lib/AWS/EventBridge/ListRules.d.ts +21 -0
  638. package/lib/AWS/EventBridge/ListRules.d.ts.map +1 -0
  639. package/lib/AWS/EventBridge/ListRules.js +53 -0
  640. package/lib/AWS/EventBridge/ListRules.js.map +1 -0
  641. package/lib/AWS/EventBridge/ListTargetsByRule.d.ts +19 -0
  642. package/lib/AWS/EventBridge/ListTargetsByRule.d.ts.map +1 -0
  643. package/lib/AWS/EventBridge/ListTargetsByRule.js +44 -0
  644. package/lib/AWS/EventBridge/ListTargetsByRule.js.map +1 -0
  645. package/lib/AWS/EventBridge/Permission.d.ts +51 -0
  646. package/lib/AWS/EventBridge/Permission.d.ts.map +1 -0
  647. package/lib/AWS/EventBridge/Permission.js +71 -0
  648. package/lib/AWS/EventBridge/Permission.js.map +1 -0
  649. package/lib/AWS/EventBridge/PutEvents.d.ts +22 -0
  650. package/lib/AWS/EventBridge/PutEvents.d.ts.map +1 -0
  651. package/lib/AWS/EventBridge/PutEvents.js +55 -0
  652. package/lib/AWS/EventBridge/PutEvents.js.map +1 -0
  653. package/lib/AWS/EventBridge/Rule.d.ts +210 -0
  654. package/lib/AWS/EventBridge/Rule.d.ts.map +1 -0
  655. package/lib/AWS/EventBridge/Rule.js +245 -0
  656. package/lib/AWS/EventBridge/Rule.js.map +1 -0
  657. package/lib/AWS/EventBridge/TestEventPattern.d.ts +18 -0
  658. package/lib/AWS/EventBridge/TestEventPattern.d.ts.map +1 -0
  659. package/lib/AWS/EventBridge/TestEventPattern.js +36 -0
  660. package/lib/AWS/EventBridge/TestEventPattern.js.map +1 -0
  661. package/lib/AWS/EventBridge/ToEcsTask.d.ts +24 -0
  662. package/lib/AWS/EventBridge/ToEcsTask.d.ts.map +1 -0
  663. package/lib/AWS/EventBridge/ToEcsTask.js +78 -0
  664. package/lib/AWS/EventBridge/ToEcsTask.js.map +1 -0
  665. package/lib/AWS/EventBridge/ToLambda.d.ts +22 -0
  666. package/lib/AWS/EventBridge/ToLambda.d.ts.map +1 -0
  667. package/lib/AWS/EventBridge/ToLambda.js +46 -0
  668. package/lib/AWS/EventBridge/ToLambda.js.map +1 -0
  669. package/lib/AWS/EventBridge/ToQueue.d.ts +23 -0
  670. package/lib/AWS/EventBridge/ToQueue.d.ts.map +1 -0
  671. package/lib/AWS/EventBridge/ToQueue.js +57 -0
  672. package/lib/AWS/EventBridge/ToQueue.js.map +1 -0
  673. package/lib/AWS/EventBridge/index.d.ts +15 -0
  674. package/lib/AWS/EventBridge/index.d.ts.map +1 -0
  675. package/lib/AWS/EventBridge/index.js +15 -0
  676. package/lib/AWS/EventBridge/index.js.map +1 -0
  677. package/lib/AWS/IAM/AccessKey.d.ts +50 -0
  678. package/lib/AWS/IAM/AccessKey.d.ts.map +1 -0
  679. package/lib/AWS/IAM/AccessKey.js +122 -0
  680. package/lib/AWS/IAM/AccessKey.js.map +1 -0
  681. package/lib/AWS/IAM/AccountAlias.d.ts +30 -0
  682. package/lib/AWS/IAM/AccountAlias.d.ts.map +1 -0
  683. package/lib/AWS/IAM/AccountAlias.js +73 -0
  684. package/lib/AWS/IAM/AccountAlias.js.map +1 -0
  685. package/lib/AWS/IAM/AccountPasswordPolicy.d.ts +30 -0
  686. package/lib/AWS/IAM/AccountPasswordPolicy.d.ts.map +1 -0
  687. package/lib/AWS/IAM/AccountPasswordPolicy.js +47 -0
  688. package/lib/AWS/IAM/AccountPasswordPolicy.js.map +1 -0
  689. package/lib/AWS/IAM/Group.d.ts +59 -0
  690. package/lib/AWS/IAM/Group.d.ts.map +1 -0
  691. package/lib/AWS/IAM/Group.js +245 -0
  692. package/lib/AWS/IAM/Group.js.map +1 -0
  693. package/lib/AWS/IAM/GroupMembership.d.ts +49 -0
  694. package/lib/AWS/IAM/GroupMembership.d.ts.map +1 -0
  695. package/lib/AWS/IAM/GroupMembership.js +112 -0
  696. package/lib/AWS/IAM/GroupMembership.js.map +1 -0
  697. package/lib/AWS/IAM/InstanceProfile.d.ts +60 -0
  698. package/lib/AWS/IAM/InstanceProfile.d.ts.map +1 -0
  699. package/lib/AWS/IAM/InstanceProfile.js +189 -0
  700. package/lib/AWS/IAM/InstanceProfile.js.map +1 -0
  701. package/lib/AWS/IAM/LoginProfile.d.ts +47 -0
  702. package/lib/AWS/IAM/LoginProfile.d.ts.map +1 -0
  703. package/lib/AWS/IAM/LoginProfile.js +108 -0
  704. package/lib/AWS/IAM/LoginProfile.js.map +1 -0
  705. package/lib/AWS/IAM/OpenIDConnectProvider.d.ts +57 -0
  706. package/lib/AWS/IAM/OpenIDConnectProvider.d.ts.map +1 -0
  707. package/lib/AWS/IAM/OpenIDConnectProvider.js +169 -0
  708. package/lib/AWS/IAM/OpenIDConnectProvider.js.map +1 -0
  709. package/lib/AWS/IAM/Policy.d.ts +84 -0
  710. package/lib/AWS/IAM/Policy.d.ts.map +1 -0
  711. package/lib/AWS/IAM/Policy.js +253 -0
  712. package/lib/AWS/IAM/Policy.js.map +1 -0
  713. package/lib/AWS/IAM/Role.d.ts +82 -0
  714. package/lib/AWS/IAM/Role.d.ts.map +1 -0
  715. package/lib/AWS/IAM/Role.js +308 -0
  716. package/lib/AWS/IAM/Role.js.map +1 -0
  717. package/lib/AWS/IAM/SAMLProvider.d.ts +55 -0
  718. package/lib/AWS/IAM/SAMLProvider.d.ts.map +1 -0
  719. package/lib/AWS/IAM/SAMLProvider.js +158 -0
  720. package/lib/AWS/IAM/SAMLProvider.js.map +1 -0
  721. package/lib/AWS/IAM/SSHPublicKey.d.ts +50 -0
  722. package/lib/AWS/IAM/SSHPublicKey.d.ts.map +1 -0
  723. package/lib/AWS/IAM/SSHPublicKey.js +113 -0
  724. package/lib/AWS/IAM/SSHPublicKey.js.map +1 -0
  725. package/lib/AWS/IAM/ServerCertificate.d.ts +65 -0
  726. package/lib/AWS/IAM/ServerCertificate.d.ts.map +1 -0
  727. package/lib/AWS/IAM/ServerCertificate.js +165 -0
  728. package/lib/AWS/IAM/ServerCertificate.js.map +1 -0
  729. package/lib/AWS/IAM/ServiceSpecificCredential.d.ts +61 -0
  730. package/lib/AWS/IAM/ServiceSpecificCredential.d.ts.map +1 -0
  731. package/lib/AWS/IAM/ServiceSpecificCredential.js +152 -0
  732. package/lib/AWS/IAM/ServiceSpecificCredential.js.map +1 -0
  733. package/lib/AWS/IAM/SigningCertificate.d.ts +49 -0
  734. package/lib/AWS/IAM/SigningCertificate.d.ts.map +1 -0
  735. package/lib/AWS/IAM/SigningCertificate.js +101 -0
  736. package/lib/AWS/IAM/SigningCertificate.js.map +1 -0
  737. package/lib/AWS/IAM/User.d.ts +62 -0
  738. package/lib/AWS/IAM/User.d.ts.map +1 -0
  739. package/lib/AWS/IAM/User.js +273 -0
  740. package/lib/AWS/IAM/User.js.map +1 -0
  741. package/lib/AWS/IAM/VirtualMFADevice.d.ts +64 -0
  742. package/lib/AWS/IAM/VirtualMFADevice.d.ts.map +1 -0
  743. package/lib/AWS/IAM/VirtualMFADevice.js +197 -0
  744. package/lib/AWS/IAM/VirtualMFADevice.js.map +1 -0
  745. package/lib/AWS/IAM/common.d.ts +20 -0
  746. package/lib/AWS/IAM/common.d.ts.map +1 -0
  747. package/lib/AWS/IAM/common.js +43 -0
  748. package/lib/AWS/IAM/common.js.map +1 -0
  749. package/lib/AWS/IAM/index.d.ts +18 -0
  750. package/lib/AWS/IAM/index.d.ts.map +1 -0
  751. package/lib/AWS/IAM/index.js +18 -0
  752. package/lib/AWS/IAM/index.js.map +1 -0
  753. package/lib/AWS/IdentityCenter/AccountAssignment.d.ts +53 -0
  754. package/lib/AWS/IdentityCenter/AccountAssignment.d.ts.map +1 -0
  755. package/lib/AWS/IdentityCenter/AccountAssignment.js +180 -0
  756. package/lib/AWS/IdentityCenter/AccountAssignment.js.map +1 -0
  757. package/lib/AWS/IdentityCenter/Group.d.ts +46 -0
  758. package/lib/AWS/IdentityCenter/Group.d.ts.map +1 -0
  759. package/lib/AWS/IdentityCenter/Group.js +145 -0
  760. package/lib/AWS/IdentityCenter/Group.js.map +1 -0
  761. package/lib/AWS/IdentityCenter/Instance.d.ts +65 -0
  762. package/lib/AWS/IdentityCenter/Instance.d.ts.map +1 -0
  763. package/lib/AWS/IdentityCenter/Instance.js +119 -0
  764. package/lib/AWS/IdentityCenter/Instance.js.map +1 -0
  765. package/lib/AWS/IdentityCenter/PermissionSet.d.ts +52 -0
  766. package/lib/AWS/IdentityCenter/PermissionSet.d.ts.map +1 -0
  767. package/lib/AWS/IdentityCenter/PermissionSet.js +163 -0
  768. package/lib/AWS/IdentityCenter/PermissionSet.js.map +1 -0
  769. package/lib/AWS/IdentityCenter/common.d.ts +21 -0
  770. package/lib/AWS/IdentityCenter/common.d.ts.map +1 -0
  771. package/lib/AWS/IdentityCenter/common.js +64 -0
  772. package/lib/AWS/IdentityCenter/common.js.map +1 -0
  773. package/lib/AWS/IdentityCenter/index.d.ts +5 -0
  774. package/lib/AWS/IdentityCenter/index.d.ts.map +1 -0
  775. package/lib/AWS/IdentityCenter/index.js +5 -0
  776. package/lib/AWS/IdentityCenter/index.js.map +1 -0
  777. package/lib/AWS/Kinesis/DescribeAccountSettings.d.ts +18 -0
  778. package/lib/AWS/Kinesis/DescribeAccountSettings.d.ts.map +1 -0
  779. package/lib/AWS/Kinesis/DescribeAccountSettings.js +36 -0
  780. package/lib/AWS/Kinesis/DescribeAccountSettings.js.map +1 -0
  781. package/lib/AWS/Kinesis/DescribeLimits.d.ts +18 -0
  782. package/lib/AWS/Kinesis/DescribeLimits.d.ts.map +1 -0
  783. package/lib/AWS/Kinesis/DescribeLimits.js +36 -0
  784. package/lib/AWS/Kinesis/DescribeLimits.js.map +1 -0
  785. package/lib/AWS/Kinesis/DescribeStream.d.ts +19 -0
  786. package/lib/AWS/Kinesis/DescribeStream.d.ts.map +1 -0
  787. package/lib/AWS/Kinesis/DescribeStream.js +40 -0
  788. package/lib/AWS/Kinesis/DescribeStream.js.map +1 -0
  789. package/lib/AWS/Kinesis/DescribeStreamConsumer.d.ts +19 -0
  790. package/lib/AWS/Kinesis/DescribeStreamConsumer.d.ts.map +1 -0
  791. package/lib/AWS/Kinesis/DescribeStreamConsumer.js +40 -0
  792. package/lib/AWS/Kinesis/DescribeStreamConsumer.js.map +1 -0
  793. package/lib/AWS/Kinesis/DescribeStreamSummary.d.ts +19 -0
  794. package/lib/AWS/Kinesis/DescribeStreamSummary.d.ts.map +1 -0
  795. package/lib/AWS/Kinesis/DescribeStreamSummary.js +40 -0
  796. package/lib/AWS/Kinesis/DescribeStreamSummary.js.map +1 -0
  797. package/lib/AWS/Kinesis/GetRecords.d.ts +19 -0
  798. package/lib/AWS/Kinesis/GetRecords.d.ts.map +1 -0
  799. package/lib/AWS/Kinesis/GetRecords.js +36 -0
  800. package/lib/AWS/Kinesis/GetRecords.js.map +1 -0
  801. package/lib/AWS/Kinesis/GetResourcePolicy.d.ts +19 -0
  802. package/lib/AWS/Kinesis/GetResourcePolicy.d.ts.map +1 -0
  803. package/lib/AWS/Kinesis/GetResourcePolicy.js +40 -0
  804. package/lib/AWS/Kinesis/GetResourcePolicy.js.map +1 -0
  805. package/lib/AWS/Kinesis/GetShardIterator.d.ts +19 -0
  806. package/lib/AWS/Kinesis/GetShardIterator.d.ts.map +1 -0
  807. package/lib/AWS/Kinesis/GetShardIterator.js +40 -0
  808. package/lib/AWS/Kinesis/GetShardIterator.js.map +1 -0
  809. package/lib/AWS/Kinesis/ListShards.d.ts +19 -0
  810. package/lib/AWS/Kinesis/ListShards.d.ts.map +1 -0
  811. package/lib/AWS/Kinesis/ListShards.js +40 -0
  812. package/lib/AWS/Kinesis/ListShards.js.map +1 -0
  813. package/lib/AWS/Kinesis/ListStreamConsumers.d.ts +19 -0
  814. package/lib/AWS/Kinesis/ListStreamConsumers.d.ts.map +1 -0
  815. package/lib/AWS/Kinesis/ListStreamConsumers.js +40 -0
  816. package/lib/AWS/Kinesis/ListStreamConsumers.js.map +1 -0
  817. package/lib/AWS/Kinesis/ListStreams.d.ts +18 -0
  818. package/lib/AWS/Kinesis/ListStreams.d.ts.map +1 -0
  819. package/lib/AWS/Kinesis/ListStreams.js +36 -0
  820. package/lib/AWS/Kinesis/ListStreams.js.map +1 -0
  821. package/lib/AWS/Kinesis/ListTagsForResource.d.ts +21 -0
  822. package/lib/AWS/Kinesis/ListTagsForResource.d.ts.map +1 -0
  823. package/lib/AWS/Kinesis/ListTagsForResource.js +41 -0
  824. package/lib/AWS/Kinesis/ListTagsForResource.js.map +1 -0
  825. package/lib/AWS/Kinesis/PutRecord.d.ts +19 -0
  826. package/lib/AWS/Kinesis/PutRecord.d.ts.map +1 -0
  827. package/lib/AWS/Kinesis/PutRecord.js +41 -0
  828. package/lib/AWS/Kinesis/PutRecord.js.map +1 -0
  829. package/lib/AWS/Kinesis/PutRecords.d.ts +19 -0
  830. package/lib/AWS/Kinesis/PutRecords.d.ts.map +1 -0
  831. package/lib/AWS/Kinesis/PutRecords.js +41 -0
  832. package/lib/AWS/Kinesis/PutRecords.js.map +1 -0
  833. package/lib/AWS/Kinesis/Stream.d.ts +211 -0
  834. package/lib/AWS/Kinesis/Stream.d.ts.map +1 -0
  835. package/lib/AWS/Kinesis/Stream.js +428 -0
  836. package/lib/AWS/Kinesis/Stream.js.map +1 -0
  837. package/lib/AWS/Kinesis/StreamConsumer.d.ts +49 -0
  838. package/lib/AWS/Kinesis/StreamConsumer.d.ts.map +1 -0
  839. package/lib/AWS/Kinesis/StreamConsumer.js +225 -0
  840. package/lib/AWS/Kinesis/StreamConsumer.js.map +1 -0
  841. package/lib/AWS/Kinesis/StreamEventSource.d.ts +88 -0
  842. package/lib/AWS/Kinesis/StreamEventSource.d.ts.map +1 -0
  843. package/lib/AWS/Kinesis/StreamEventSource.js +15 -0
  844. package/lib/AWS/Kinesis/StreamEventSource.js.map +1 -0
  845. package/lib/AWS/Kinesis/StreamSink.d.ts +26 -0
  846. package/lib/AWS/Kinesis/StreamSink.d.ts.map +1 -0
  847. package/lib/AWS/Kinesis/StreamSink.js +45 -0
  848. package/lib/AWS/Kinesis/StreamSink.js.map +1 -0
  849. package/lib/AWS/Kinesis/SubscribeToShard.d.ts +19 -0
  850. package/lib/AWS/Kinesis/SubscribeToShard.d.ts.map +1 -0
  851. package/lib/AWS/Kinesis/SubscribeToShard.js +40 -0
  852. package/lib/AWS/Kinesis/SubscribeToShard.js.map +1 -0
  853. package/lib/AWS/Kinesis/index.d.ts +20 -0
  854. package/lib/AWS/Kinesis/index.d.ts.map +1 -0
  855. package/lib/AWS/Kinesis/index.js +20 -0
  856. package/lib/AWS/Kinesis/index.js.map +1 -0
  857. package/lib/AWS/Lambda/BucketEventSource.d.ts +35 -0
  858. package/lib/AWS/Lambda/BucketEventSource.d.ts.map +1 -0
  859. package/lib/AWS/Lambda/BucketEventSource.js +97 -0
  860. package/lib/AWS/Lambda/BucketEventSource.js.map +1 -0
  861. package/lib/AWS/Lambda/EventBridgeEventSource.d.ts +116 -0
  862. package/lib/AWS/Lambda/EventBridgeEventSource.d.ts.map +1 -0
  863. package/lib/AWS/Lambda/EventBridgeEventSource.js +135 -0
  864. package/lib/AWS/Lambda/EventBridgeEventSource.js.map +1 -0
  865. package/lib/AWS/Lambda/EventSourceMapping.d.ts +160 -0
  866. package/lib/AWS/Lambda/EventSourceMapping.d.ts.map +1 -0
  867. package/lib/AWS/Lambda/EventSourceMapping.js +233 -0
  868. package/lib/AWS/Lambda/EventSourceMapping.js.map +1 -0
  869. package/lib/AWS/Lambda/Function.d.ts +322 -0
  870. package/lib/AWS/Lambda/Function.d.ts.map +1 -0
  871. package/lib/AWS/Lambda/Function.js +1031 -0
  872. package/lib/AWS/Lambda/Function.js.map +1 -0
  873. package/lib/AWS/Lambda/HttpServer.d.ts +14 -0
  874. package/lib/AWS/Lambda/HttpServer.d.ts.map +1 -0
  875. package/lib/AWS/Lambda/HttpServer.js +211 -0
  876. package/lib/AWS/Lambda/HttpServer.js.map +1 -0
  877. package/lib/AWS/Lambda/InvokeFunction.d.ts +19 -0
  878. package/lib/AWS/Lambda/InvokeFunction.d.ts.map +1 -0
  879. package/lib/AWS/Lambda/InvokeFunction.js +41 -0
  880. package/lib/AWS/Lambda/InvokeFunction.js.map +1 -0
  881. package/lib/AWS/Lambda/Permission.d.ts +97 -0
  882. package/lib/AWS/Lambda/Permission.d.ts.map +1 -0
  883. package/lib/AWS/Lambda/Permission.js +110 -0
  884. package/lib/AWS/Lambda/Permission.js.map +1 -0
  885. package/lib/AWS/Lambda/QueueEventSource.d.ts +15 -0
  886. package/lib/AWS/Lambda/QueueEventSource.d.ts.map +1 -0
  887. package/lib/AWS/Lambda/QueueEventSource.js +60 -0
  888. package/lib/AWS/Lambda/QueueEventSource.js.map +1 -0
  889. package/lib/AWS/Lambda/StreamEventSource.d.ts +15 -0
  890. package/lib/AWS/Lambda/StreamEventSource.d.ts.map +1 -0
  891. package/lib/AWS/Lambda/StreamEventSource.js +75 -0
  892. package/lib/AWS/Lambda/StreamEventSource.js.map +1 -0
  893. package/lib/AWS/Lambda/TableEventSource.d.ts +15 -0
  894. package/lib/AWS/Lambda/TableEventSource.d.ts.map +1 -0
  895. package/lib/AWS/Lambda/TableEventSource.js +92 -0
  896. package/lib/AWS/Lambda/TableEventSource.js.map +1 -0
  897. package/lib/AWS/Lambda/TopicEventSource.d.ts +15 -0
  898. package/lib/AWS/Lambda/TopicEventSource.d.ts.map +1 -0
  899. package/lib/AWS/Lambda/TopicEventSource.js +56 -0
  900. package/lib/AWS/Lambda/TopicEventSource.js.map +1 -0
  901. package/lib/AWS/Lambda/index.d.ts +13 -0
  902. package/lib/AWS/Lambda/index.d.ts.map +1 -0
  903. package/lib/AWS/Lambda/index.js +12 -0
  904. package/lib/AWS/Lambda/index.js.map +1 -0
  905. package/lib/AWS/Logs/LogGroup.d.ts +49 -0
  906. package/lib/AWS/Logs/LogGroup.d.ts.map +1 -0
  907. package/lib/AWS/Logs/LogGroup.js +140 -0
  908. package/lib/AWS/Logs/LogGroup.js.map +1 -0
  909. package/lib/AWS/Logs/index.d.ts +2 -0
  910. package/lib/AWS/Logs/index.d.ts.map +1 -0
  911. package/lib/AWS/Logs/index.js +2 -0
  912. package/lib/AWS/Logs/index.js.map +1 -0
  913. package/lib/AWS/Organizations/Account.d.ts +51 -0
  914. package/lib/AWS/Organizations/Account.d.ts.map +1 -0
  915. package/lib/AWS/Organizations/Account.js +182 -0
  916. package/lib/AWS/Organizations/Account.js.map +1 -0
  917. package/lib/AWS/Organizations/DelegatedAdministrator.d.ts +29 -0
  918. package/lib/AWS/Organizations/DelegatedAdministrator.d.ts.map +1 -0
  919. package/lib/AWS/Organizations/DelegatedAdministrator.js +89 -0
  920. package/lib/AWS/Organizations/DelegatedAdministrator.js.map +1 -0
  921. package/lib/AWS/Organizations/Organization.d.ts +41 -0
  922. package/lib/AWS/Organizations/Organization.d.ts.map +1 -0
  923. package/lib/AWS/Organizations/Organization.js +90 -0
  924. package/lib/AWS/Organizations/Organization.js.map +1 -0
  925. package/lib/AWS/Organizations/OrganizationResourcePolicy.d.ts +22 -0
  926. package/lib/AWS/Organizations/OrganizationResourcePolicy.d.ts.map +1 -0
  927. package/lib/AWS/Organizations/OrganizationResourcePolicy.js +58 -0
  928. package/lib/AWS/Organizations/OrganizationResourcePolicy.js.map +1 -0
  929. package/lib/AWS/Organizations/OrganizationalUnit.d.ts +42 -0
  930. package/lib/AWS/Organizations/OrganizationalUnit.d.ts.map +1 -0
  931. package/lib/AWS/Organizations/OrganizationalUnit.js +148 -0
  932. package/lib/AWS/Organizations/OrganizationalUnit.js.map +1 -0
  933. package/lib/AWS/Organizations/Policy.d.ts +47 -0
  934. package/lib/AWS/Organizations/Policy.d.ts.map +1 -0
  935. package/lib/AWS/Organizations/Policy.js +140 -0
  936. package/lib/AWS/Organizations/Policy.js.map +1 -0
  937. package/lib/AWS/Organizations/PolicyAttachment.d.ts +28 -0
  938. package/lib/AWS/Organizations/PolicyAttachment.d.ts.map +1 -0
  939. package/lib/AWS/Organizations/PolicyAttachment.js +78 -0
  940. package/lib/AWS/Organizations/PolicyAttachment.js.map +1 -0
  941. package/lib/AWS/Organizations/Root.d.ts +38 -0
  942. package/lib/AWS/Organizations/Root.d.ts.map +1 -0
  943. package/lib/AWS/Organizations/Root.js +81 -0
  944. package/lib/AWS/Organizations/Root.js.map +1 -0
  945. package/lib/AWS/Organizations/RootPolicyType.d.ts +27 -0
  946. package/lib/AWS/Organizations/RootPolicyType.d.ts.map +1 -0
  947. package/lib/AWS/Organizations/RootPolicyType.js +83 -0
  948. package/lib/AWS/Organizations/RootPolicyType.js.map +1 -0
  949. package/lib/AWS/Organizations/TenantRoot.d.ts +145 -0
  950. package/lib/AWS/Organizations/TenantRoot.d.ts.map +1 -0
  951. package/lib/AWS/Organizations/TenantRoot.js +277 -0
  952. package/lib/AWS/Organizations/TenantRoot.js.map +1 -0
  953. package/lib/AWS/Organizations/TrustedServiceAccess.d.ts +20 -0
  954. package/lib/AWS/Organizations/TrustedServiceAccess.d.ts.map +1 -0
  955. package/lib/AWS/Organizations/TrustedServiceAccess.js +63 -0
  956. package/lib/AWS/Organizations/TrustedServiceAccess.js.map +1 -0
  957. package/lib/AWS/Organizations/common.d.ts +26 -0
  958. package/lib/AWS/Organizations/common.d.ts.map +1 -0
  959. package/lib/AWS/Organizations/common.js +57 -0
  960. package/lib/AWS/Organizations/common.js.map +1 -0
  961. package/lib/AWS/Organizations/index.d.ts +12 -0
  962. package/lib/AWS/Organizations/index.d.ts.map +1 -0
  963. package/lib/AWS/Organizations/index.js +12 -0
  964. package/lib/AWS/Organizations/index.js.map +1 -0
  965. package/lib/AWS/Providers.d.ts +14 -0
  966. package/lib/AWS/Providers.d.ts.map +1 -0
  967. package/lib/AWS/Providers.js +342 -0
  968. package/lib/AWS/Providers.js.map +1 -0
  969. package/lib/AWS/RDS/Aurora.d.ts +174 -0
  970. package/lib/AWS/RDS/Aurora.d.ts.map +1 -0
  971. package/lib/AWS/RDS/Aurora.js +248 -0
  972. package/lib/AWS/RDS/Aurora.js.map +1 -0
  973. package/lib/AWS/RDS/Connect.d.ts +44 -0
  974. package/lib/AWS/RDS/Connect.d.ts.map +1 -0
  975. package/lib/AWS/RDS/Connect.js +71 -0
  976. package/lib/AWS/RDS/Connect.js.map +1 -0
  977. package/lib/AWS/RDS/DBCluster.d.ts +119 -0
  978. package/lib/AWS/RDS/DBCluster.d.ts.map +1 -0
  979. package/lib/AWS/RDS/DBCluster.js +197 -0
  980. package/lib/AWS/RDS/DBCluster.js.map +1 -0
  981. package/lib/AWS/RDS/DBClusterEndpoint.d.ts +48 -0
  982. package/lib/AWS/RDS/DBClusterEndpoint.d.ts.map +1 -0
  983. package/lib/AWS/RDS/DBClusterEndpoint.js +133 -0
  984. package/lib/AWS/RDS/DBClusterEndpoint.js.map +1 -0
  985. package/lib/AWS/RDS/DBClusterParameterGroup.d.ts +35 -0
  986. package/lib/AWS/RDS/DBClusterParameterGroup.d.ts.map +1 -0
  987. package/lib/AWS/RDS/DBClusterParameterGroup.js +114 -0
  988. package/lib/AWS/RDS/DBClusterParameterGroup.js.map +1 -0
  989. package/lib/AWS/RDS/DBInstance.d.ts +80 -0
  990. package/lib/AWS/RDS/DBInstance.d.ts.map +1 -0
  991. package/lib/AWS/RDS/DBInstance.js +147 -0
  992. package/lib/AWS/RDS/DBInstance.js.map +1 -0
  993. package/lib/AWS/RDS/DBParameterGroup.d.ts +35 -0
  994. package/lib/AWS/RDS/DBParameterGroup.d.ts.map +1 -0
  995. package/lib/AWS/RDS/DBParameterGroup.js +114 -0
  996. package/lib/AWS/RDS/DBParameterGroup.js.map +1 -0
  997. package/lib/AWS/RDS/DBProxy.d.ts +76 -0
  998. package/lib/AWS/RDS/DBProxy.d.ts.map +1 -0
  999. package/lib/AWS/RDS/DBProxy.js +152 -0
  1000. package/lib/AWS/RDS/DBProxy.js.map +1 -0
  1001. package/lib/AWS/RDS/DBProxyEndpoint.d.ts +53 -0
  1002. package/lib/AWS/RDS/DBProxyEndpoint.d.ts.map +1 -0
  1003. package/lib/AWS/RDS/DBProxyEndpoint.js +153 -0
  1004. package/lib/AWS/RDS/DBProxyEndpoint.js.map +1 -0
  1005. package/lib/AWS/RDS/DBProxyTargetGroup.d.ts +45 -0
  1006. package/lib/AWS/RDS/DBProxyTargetGroup.d.ts.map +1 -0
  1007. package/lib/AWS/RDS/DBProxyTargetGroup.js +168 -0
  1008. package/lib/AWS/RDS/DBProxyTargetGroup.js.map +1 -0
  1009. package/lib/AWS/RDS/DBSubnetGroup.d.ts +39 -0
  1010. package/lib/AWS/RDS/DBSubnetGroup.d.ts.map +1 -0
  1011. package/lib/AWS/RDS/DBSubnetGroup.js +127 -0
  1012. package/lib/AWS/RDS/DBSubnetGroup.js.map +1 -0
  1013. package/lib/AWS/RDS/index.d.ts +12 -0
  1014. package/lib/AWS/RDS/index.d.ts.map +1 -0
  1015. package/lib/AWS/RDS/index.js +12 -0
  1016. package/lib/AWS/RDS/index.js.map +1 -0
  1017. package/lib/AWS/RDSData/BatchExecuteStatement.d.ts +28 -0
  1018. package/lib/AWS/RDSData/BatchExecuteStatement.d.ts.map +1 -0
  1019. package/lib/AWS/RDSData/BatchExecuteStatement.js +57 -0
  1020. package/lib/AWS/RDSData/BatchExecuteStatement.js.map +1 -0
  1021. package/lib/AWS/RDSData/BeginTransaction.d.ts +26 -0
  1022. package/lib/AWS/RDSData/BeginTransaction.d.ts.map +1 -0
  1023. package/lib/AWS/RDSData/BeginTransaction.js +60 -0
  1024. package/lib/AWS/RDSData/BeginTransaction.js.map +1 -0
  1025. package/lib/AWS/RDSData/CommitTransaction.d.ts +26 -0
  1026. package/lib/AWS/RDSData/CommitTransaction.d.ts.map +1 -0
  1027. package/lib/AWS/RDSData/CommitTransaction.js +59 -0
  1028. package/lib/AWS/RDSData/CommitTransaction.js.map +1 -0
  1029. package/lib/AWS/RDSData/ExecuteSql.d.ts +28 -0
  1030. package/lib/AWS/RDSData/ExecuteSql.d.ts.map +1 -0
  1031. package/lib/AWS/RDSData/ExecuteSql.js +59 -0
  1032. package/lib/AWS/RDSData/ExecuteSql.js.map +1 -0
  1033. package/lib/AWS/RDSData/ExecuteStatement.d.ts +28 -0
  1034. package/lib/AWS/RDSData/ExecuteStatement.d.ts.map +1 -0
  1035. package/lib/AWS/RDSData/ExecuteStatement.js +57 -0
  1036. package/lib/AWS/RDSData/ExecuteStatement.js.map +1 -0
  1037. package/lib/AWS/RDSData/RollbackTransaction.d.ts +26 -0
  1038. package/lib/AWS/RDSData/RollbackTransaction.d.ts.map +1 -0
  1039. package/lib/AWS/RDSData/RollbackTransaction.js +59 -0
  1040. package/lib/AWS/RDSData/RollbackTransaction.js.map +1 -0
  1041. package/lib/AWS/RDSData/index.d.ts +7 -0
  1042. package/lib/AWS/RDSData/index.d.ts.map +1 -0
  1043. package/lib/AWS/RDSData/index.js +7 -0
  1044. package/lib/AWS/RDSData/index.js.map +1 -0
  1045. package/lib/AWS/Region.d.ts +12 -0
  1046. package/lib/AWS/Region.d.ts.map +1 -0
  1047. package/lib/AWS/Region.js +12 -0
  1048. package/lib/AWS/Region.js.map +1 -0
  1049. package/lib/AWS/Route53/Record.d.ts +122 -0
  1050. package/lib/AWS/Route53/Record.d.ts.map +1 -0
  1051. package/lib/AWS/Route53/Record.js +184 -0
  1052. package/lib/AWS/Route53/Record.js.map +1 -0
  1053. package/lib/AWS/Route53/index.d.ts +2 -0
  1054. package/lib/AWS/Route53/index.d.ts.map +1 -0
  1055. package/lib/AWS/Route53/index.js +2 -0
  1056. package/lib/AWS/Route53/index.js.map +1 -0
  1057. package/lib/AWS/S3/AbortMultipartUpload.d.ts +19 -0
  1058. package/lib/AWS/S3/AbortMultipartUpload.d.ts.map +1 -0
  1059. package/lib/AWS/S3/AbortMultipartUpload.js +41 -0
  1060. package/lib/AWS/S3/AbortMultipartUpload.js.map +1 -0
  1061. package/lib/AWS/S3/Bucket.d.ts +147 -0
  1062. package/lib/AWS/S3/Bucket.d.ts.map +1 -0
  1063. package/lib/AWS/S3/Bucket.js +410 -0
  1064. package/lib/AWS/S3/Bucket.js.map +1 -0
  1065. package/lib/AWS/S3/BucketEventSource.d.ts +14 -0
  1066. package/lib/AWS/S3/BucketEventSource.d.ts.map +1 -0
  1067. package/lib/AWS/S3/BucketEventSource.js +6 -0
  1068. package/lib/AWS/S3/BucketEventSource.js.map +1 -0
  1069. package/lib/AWS/S3/BucketNotifications.d.ts +71 -0
  1070. package/lib/AWS/S3/BucketNotifications.d.ts.map +1 -0
  1071. package/lib/AWS/S3/BucketNotifications.js +40 -0
  1072. package/lib/AWS/S3/BucketNotifications.js.map +1 -0
  1073. package/lib/AWS/S3/CompleteMultipartUpload.d.ts +19 -0
  1074. package/lib/AWS/S3/CompleteMultipartUpload.d.ts.map +1 -0
  1075. package/lib/AWS/S3/CompleteMultipartUpload.js +41 -0
  1076. package/lib/AWS/S3/CompleteMultipartUpload.js.map +1 -0
  1077. package/lib/AWS/S3/CopyObject.d.ts +19 -0
  1078. package/lib/AWS/S3/CopyObject.d.ts.map +1 -0
  1079. package/lib/AWS/S3/CopyObject.js +42 -0
  1080. package/lib/AWS/S3/CopyObject.js.map +1 -0
  1081. package/lib/AWS/S3/CreateMultipartUpload.d.ts +19 -0
  1082. package/lib/AWS/S3/CreateMultipartUpload.d.ts.map +1 -0
  1083. package/lib/AWS/S3/CreateMultipartUpload.js +41 -0
  1084. package/lib/AWS/S3/CreateMultipartUpload.js.map +1 -0
  1085. package/lib/AWS/S3/DeleteObject.d.ts +19 -0
  1086. package/lib/AWS/S3/DeleteObject.d.ts.map +1 -0
  1087. package/lib/AWS/S3/DeleteObject.js +41 -0
  1088. package/lib/AWS/S3/DeleteObject.js.map +1 -0
  1089. package/lib/AWS/S3/GetObject.d.ts +19 -0
  1090. package/lib/AWS/S3/GetObject.d.ts.map +1 -0
  1091. package/lib/AWS/S3/GetObject.js +51 -0
  1092. package/lib/AWS/S3/GetObject.js.map +1 -0
  1093. package/lib/AWS/S3/HeadObject.d.ts +19 -0
  1094. package/lib/AWS/S3/HeadObject.d.ts.map +1 -0
  1095. package/lib/AWS/S3/HeadObject.js +41 -0
  1096. package/lib/AWS/S3/HeadObject.js.map +1 -0
  1097. package/lib/AWS/S3/ListObjectsV2.d.ts +19 -0
  1098. package/lib/AWS/S3/ListObjectsV2.d.ts.map +1 -0
  1099. package/lib/AWS/S3/ListObjectsV2.js +41 -0
  1100. package/lib/AWS/S3/ListObjectsV2.js.map +1 -0
  1101. package/lib/AWS/S3/PutObject.d.ts +37 -0
  1102. package/lib/AWS/S3/PutObject.d.ts.map +1 -0
  1103. package/lib/AWS/S3/PutObject.js +59 -0
  1104. package/lib/AWS/S3/PutObject.js.map +1 -0
  1105. package/lib/AWS/S3/S3Event.d.ts +8 -0
  1106. package/lib/AWS/S3/S3Event.d.ts.map +1 -0
  1107. package/lib/AWS/S3/S3Event.js +1 -0
  1108. package/lib/AWS/S3/S3Event.js.map +1 -0
  1109. package/lib/AWS/S3/UploadPart.d.ts +19 -0
  1110. package/lib/AWS/S3/UploadPart.d.ts.map +1 -0
  1111. package/lib/AWS/S3/UploadPart.js +41 -0
  1112. package/lib/AWS/S3/UploadPart.js.map +1 -0
  1113. package/lib/AWS/S3/index.d.ts +15 -0
  1114. package/lib/AWS/S3/index.d.ts.map +1 -0
  1115. package/lib/AWS/S3/index.js +15 -0
  1116. package/lib/AWS/S3/index.js.map +1 -0
  1117. package/lib/AWS/SNS/AddPermission.d.ts +19 -0
  1118. package/lib/AWS/SNS/AddPermission.d.ts.map +1 -0
  1119. package/lib/AWS/SNS/AddPermission.js +40 -0
  1120. package/lib/AWS/SNS/AddPermission.js.map +1 -0
  1121. package/lib/AWS/SNS/ConfirmSubscription.d.ts +19 -0
  1122. package/lib/AWS/SNS/ConfirmSubscription.d.ts.map +1 -0
  1123. package/lib/AWS/SNS/ConfirmSubscription.js +40 -0
  1124. package/lib/AWS/SNS/ConfirmSubscription.js.map +1 -0
  1125. package/lib/AWS/SNS/GetDataProtectionPolicy.d.ts +19 -0
  1126. package/lib/AWS/SNS/GetDataProtectionPolicy.d.ts.map +1 -0
  1127. package/lib/AWS/SNS/GetDataProtectionPolicy.js +40 -0
  1128. package/lib/AWS/SNS/GetDataProtectionPolicy.js.map +1 -0
  1129. package/lib/AWS/SNS/GetSubscriptionAttributes.d.ts +19 -0
  1130. package/lib/AWS/SNS/GetSubscriptionAttributes.d.ts.map +1 -0
  1131. package/lib/AWS/SNS/GetSubscriptionAttributes.js +40 -0
  1132. package/lib/AWS/SNS/GetSubscriptionAttributes.js.map +1 -0
  1133. package/lib/AWS/SNS/GetTopicAttributes.d.ts +19 -0
  1134. package/lib/AWS/SNS/GetTopicAttributes.d.ts.map +1 -0
  1135. package/lib/AWS/SNS/GetTopicAttributes.js +40 -0
  1136. package/lib/AWS/SNS/GetTopicAttributes.js.map +1 -0
  1137. package/lib/AWS/SNS/ListSubscriptions.d.ts +18 -0
  1138. package/lib/AWS/SNS/ListSubscriptions.d.ts.map +1 -0
  1139. package/lib/AWS/SNS/ListSubscriptions.js +36 -0
  1140. package/lib/AWS/SNS/ListSubscriptions.js.map +1 -0
  1141. package/lib/AWS/SNS/ListSubscriptionsByTopic.d.ts +19 -0
  1142. package/lib/AWS/SNS/ListSubscriptionsByTopic.d.ts.map +1 -0
  1143. package/lib/AWS/SNS/ListSubscriptionsByTopic.js +40 -0
  1144. package/lib/AWS/SNS/ListSubscriptionsByTopic.js.map +1 -0
  1145. package/lib/AWS/SNS/ListTagsForResource.d.ts +19 -0
  1146. package/lib/AWS/SNS/ListTagsForResource.d.ts.map +1 -0
  1147. package/lib/AWS/SNS/ListTagsForResource.js +40 -0
  1148. package/lib/AWS/SNS/ListTagsForResource.js.map +1 -0
  1149. package/lib/AWS/SNS/ListTopics.d.ts +18 -0
  1150. package/lib/AWS/SNS/ListTopics.d.ts.map +1 -0
  1151. package/lib/AWS/SNS/ListTopics.js +36 -0
  1152. package/lib/AWS/SNS/ListTopics.js.map +1 -0
  1153. package/lib/AWS/SNS/Publish.d.ts +19 -0
  1154. package/lib/AWS/SNS/Publish.d.ts.map +1 -0
  1155. package/lib/AWS/SNS/Publish.js +40 -0
  1156. package/lib/AWS/SNS/Publish.js.map +1 -0
  1157. package/lib/AWS/SNS/PublishBatch.d.ts +19 -0
  1158. package/lib/AWS/SNS/PublishBatch.d.ts.map +1 -0
  1159. package/lib/AWS/SNS/PublishBatch.js +40 -0
  1160. package/lib/AWS/SNS/PublishBatch.js.map +1 -0
  1161. package/lib/AWS/SNS/PutDataProtectionPolicy.d.ts +19 -0
  1162. package/lib/AWS/SNS/PutDataProtectionPolicy.d.ts.map +1 -0
  1163. package/lib/AWS/SNS/PutDataProtectionPolicy.js +40 -0
  1164. package/lib/AWS/SNS/PutDataProtectionPolicy.js.map +1 -0
  1165. package/lib/AWS/SNS/RemovePermission.d.ts +19 -0
  1166. package/lib/AWS/SNS/RemovePermission.d.ts.map +1 -0
  1167. package/lib/AWS/SNS/RemovePermission.js +40 -0
  1168. package/lib/AWS/SNS/RemovePermission.js.map +1 -0
  1169. package/lib/AWS/SNS/SetSubscriptionAttributes.d.ts +19 -0
  1170. package/lib/AWS/SNS/SetSubscriptionAttributes.d.ts.map +1 -0
  1171. package/lib/AWS/SNS/SetSubscriptionAttributes.js +40 -0
  1172. package/lib/AWS/SNS/SetSubscriptionAttributes.js.map +1 -0
  1173. package/lib/AWS/SNS/SetTopicAttributes.d.ts +19 -0
  1174. package/lib/AWS/SNS/SetTopicAttributes.d.ts.map +1 -0
  1175. package/lib/AWS/SNS/SetTopicAttributes.js +40 -0
  1176. package/lib/AWS/SNS/SetTopicAttributes.js.map +1 -0
  1177. package/lib/AWS/SNS/Subscription.d.ts +58 -0
  1178. package/lib/AWS/SNS/Subscription.d.ts.map +1 -0
  1179. package/lib/AWS/SNS/Subscription.js +233 -0
  1180. package/lib/AWS/SNS/Subscription.js.map +1 -0
  1181. package/lib/AWS/SNS/TagResource.d.ts +19 -0
  1182. package/lib/AWS/SNS/TagResource.d.ts.map +1 -0
  1183. package/lib/AWS/SNS/TagResource.js +40 -0
  1184. package/lib/AWS/SNS/TagResource.js.map +1 -0
  1185. package/lib/AWS/SNS/Topic.d.ts +120 -0
  1186. package/lib/AWS/SNS/Topic.d.ts.map +1 -0
  1187. package/lib/AWS/SNS/Topic.js +283 -0
  1188. package/lib/AWS/SNS/Topic.js.map +1 -0
  1189. package/lib/AWS/SNS/TopicEventSource.d.ts +24 -0
  1190. package/lib/AWS/SNS/TopicEventSource.d.ts.map +1 -0
  1191. package/lib/AWS/SNS/TopicEventSource.js +9 -0
  1192. package/lib/AWS/SNS/TopicEventSource.js.map +1 -0
  1193. package/lib/AWS/SNS/TopicSink.d.ts +18 -0
  1194. package/lib/AWS/SNS/TopicSink.d.ts.map +1 -0
  1195. package/lib/AWS/SNS/TopicSink.js +41 -0
  1196. package/lib/AWS/SNS/TopicSink.js.map +1 -0
  1197. package/lib/AWS/SNS/UntagResource.d.ts +19 -0
  1198. package/lib/AWS/SNS/UntagResource.d.ts.map +1 -0
  1199. package/lib/AWS/SNS/UntagResource.js +40 -0
  1200. package/lib/AWS/SNS/UntagResource.js.map +1 -0
  1201. package/lib/AWS/SNS/index.d.ts +22 -0
  1202. package/lib/AWS/SNS/index.d.ts.map +1 -0
  1203. package/lib/AWS/SNS/index.js +22 -0
  1204. package/lib/AWS/SNS/index.js.map +1 -0
  1205. package/lib/AWS/SQS/DeleteMessage.d.ts +19 -0
  1206. package/lib/AWS/SQS/DeleteMessage.d.ts.map +1 -0
  1207. package/lib/AWS/SQS/DeleteMessage.js +41 -0
  1208. package/lib/AWS/SQS/DeleteMessage.js.map +1 -0
  1209. package/lib/AWS/SQS/DeleteMessageBatch.d.ts +19 -0
  1210. package/lib/AWS/SQS/DeleteMessageBatch.d.ts.map +1 -0
  1211. package/lib/AWS/SQS/DeleteMessageBatch.js +42 -0
  1212. package/lib/AWS/SQS/DeleteMessageBatch.js.map +1 -0
  1213. package/lib/AWS/SQS/Queue.d.ts +141 -0
  1214. package/lib/AWS/SQS/Queue.d.ts.map +1 -0
  1215. package/lib/AWS/SQS/Queue.js +252 -0
  1216. package/lib/AWS/SQS/Queue.js.map +1 -0
  1217. package/lib/AWS/SQS/QueueEventSource.d.ts +39 -0
  1218. package/lib/AWS/SQS/QueueEventSource.d.ts.map +1 -0
  1219. package/lib/AWS/SQS/QueueEventSource.js +9 -0
  1220. package/lib/AWS/SQS/QueueEventSource.js.map +1 -0
  1221. package/lib/AWS/SQS/QueueSink.d.ts +18 -0
  1222. package/lib/AWS/SQS/QueueSink.d.ts.map +1 -0
  1223. package/lib/AWS/SQS/QueueSink.js +42 -0
  1224. package/lib/AWS/SQS/QueueSink.js.map +1 -0
  1225. package/lib/AWS/SQS/ReceiveMessage.d.ts +19 -0
  1226. package/lib/AWS/SQS/ReceiveMessage.d.ts.map +1 -0
  1227. package/lib/AWS/SQS/ReceiveMessage.js +42 -0
  1228. package/lib/AWS/SQS/ReceiveMessage.js.map +1 -0
  1229. package/lib/AWS/SQS/SendMessage.d.ts +19 -0
  1230. package/lib/AWS/SQS/SendMessage.d.ts.map +1 -0
  1231. package/lib/AWS/SQS/SendMessage.js +43 -0
  1232. package/lib/AWS/SQS/SendMessage.js.map +1 -0
  1233. package/lib/AWS/SQS/SendMessageBatch.d.ts +19 -0
  1234. package/lib/AWS/SQS/SendMessageBatch.d.ts.map +1 -0
  1235. package/lib/AWS/SQS/SendMessageBatch.js +41 -0
  1236. package/lib/AWS/SQS/SendMessageBatch.js.map +1 -0
  1237. package/lib/AWS/SQS/index.d.ts +9 -0
  1238. package/lib/AWS/SQS/index.d.ts.map +1 -0
  1239. package/lib/AWS/SQS/index.js +9 -0
  1240. package/lib/AWS/SQS/index.js.map +1 -0
  1241. package/lib/AWS/Scheduler/Schedule.d.ts +91 -0
  1242. package/lib/AWS/Scheduler/Schedule.d.ts.map +1 -0
  1243. package/lib/AWS/Scheduler/Schedule.js +148 -0
  1244. package/lib/AWS/Scheduler/Schedule.js.map +1 -0
  1245. package/lib/AWS/Scheduler/ScheduleGroup.d.ts +38 -0
  1246. package/lib/AWS/Scheduler/ScheduleGroup.d.ts.map +1 -0
  1247. package/lib/AWS/Scheduler/ScheduleGroup.js +104 -0
  1248. package/lib/AWS/Scheduler/ScheduleGroup.js.map +1 -0
  1249. package/lib/AWS/Scheduler/builders.d.ts +63 -0
  1250. package/lib/AWS/Scheduler/builders.d.ts.map +1 -0
  1251. package/lib/AWS/Scheduler/builders.js +126 -0
  1252. package/lib/AWS/Scheduler/builders.js.map +1 -0
  1253. package/lib/AWS/Scheduler/index.d.ts +4 -0
  1254. package/lib/AWS/Scheduler/index.d.ts.map +1 -0
  1255. package/lib/AWS/Scheduler/index.js +4 -0
  1256. package/lib/AWS/Scheduler/index.js.map +1 -0
  1257. package/lib/AWS/SecretsManager/DescribeSecret.d.ts +20 -0
  1258. package/lib/AWS/SecretsManager/DescribeSecret.d.ts.map +1 -0
  1259. package/lib/AWS/SecretsManager/DescribeSecret.js +42 -0
  1260. package/lib/AWS/SecretsManager/DescribeSecret.js.map +1 -0
  1261. package/lib/AWS/SecretsManager/GetRandomPassword.d.ts +19 -0
  1262. package/lib/AWS/SecretsManager/GetRandomPassword.d.ts.map +1 -0
  1263. package/lib/AWS/SecretsManager/GetRandomPassword.js +39 -0
  1264. package/lib/AWS/SecretsManager/GetRandomPassword.js.map +1 -0
  1265. package/lib/AWS/SecretsManager/GetSecretValue.d.ts +22 -0
  1266. package/lib/AWS/SecretsManager/GetSecretValue.d.ts.map +1 -0
  1267. package/lib/AWS/SecretsManager/GetSecretValue.js +47 -0
  1268. package/lib/AWS/SecretsManager/GetSecretValue.js.map +1 -0
  1269. package/lib/AWS/SecretsManager/ListSecrets.d.ts +19 -0
  1270. package/lib/AWS/SecretsManager/ListSecrets.d.ts.map +1 -0
  1271. package/lib/AWS/SecretsManager/ListSecrets.js +39 -0
  1272. package/lib/AWS/SecretsManager/ListSecrets.js.map +1 -0
  1273. package/lib/AWS/SecretsManager/PutSecretValue.d.ts +22 -0
  1274. package/lib/AWS/SecretsManager/PutSecretValue.d.ts.map +1 -0
  1275. package/lib/AWS/SecretsManager/PutSecretValue.js +47 -0
  1276. package/lib/AWS/SecretsManager/PutSecretValue.js.map +1 -0
  1277. package/lib/AWS/SecretsManager/Secret.d.ts +88 -0
  1278. package/lib/AWS/SecretsManager/Secret.d.ts.map +1 -0
  1279. package/lib/AWS/SecretsManager/Secret.js +185 -0
  1280. package/lib/AWS/SecretsManager/Secret.js.map +1 -0
  1281. package/lib/AWS/SecretsManager/index.d.ts +7 -0
  1282. package/lib/AWS/SecretsManager/index.d.ts.map +1 -0
  1283. package/lib/AWS/SecretsManager/index.js +7 -0
  1284. package/lib/AWS/SecretsManager/index.js.map +1 -0
  1285. package/lib/AWS/Website/AssetDeployment.d.ts +79 -0
  1286. package/lib/AWS/Website/AssetDeployment.d.ts.map +1 -0
  1287. package/lib/AWS/Website/AssetDeployment.js +230 -0
  1288. package/lib/AWS/Website/AssetDeployment.js.map +1 -0
  1289. package/lib/AWS/Website/Router.d.ts +54 -0
  1290. package/lib/AWS/Website/Router.d.ts.map +1 -0
  1291. package/lib/AWS/Website/Router.js +324 -0
  1292. package/lib/AWS/Website/Router.js.map +1 -0
  1293. package/lib/AWS/Website/SsrSite.d.ts +143 -0
  1294. package/lib/AWS/Website/SsrSite.d.ts.map +1 -0
  1295. package/lib/AWS/Website/SsrSite.js +257 -0
  1296. package/lib/AWS/Website/SsrSite.js.map +1 -0
  1297. package/lib/AWS/Website/StaticSite.d.ts +139 -0
  1298. package/lib/AWS/Website/StaticSite.d.ts.map +1 -0
  1299. package/lib/AWS/Website/StaticSite.js +406 -0
  1300. package/lib/AWS/Website/StaticSite.js.map +1 -0
  1301. package/lib/AWS/Website/cfcode.d.ts +7 -0
  1302. package/lib/AWS/Website/cfcode.d.ts.map +1 -0
  1303. package/lib/AWS/Website/cfcode.js +178 -0
  1304. package/lib/AWS/Website/cfcode.js.map +1 -0
  1305. package/lib/AWS/Website/index.d.ts +6 -0
  1306. package/lib/AWS/Website/index.d.ts.map +1 -0
  1307. package/lib/AWS/Website/index.js +6 -0
  1308. package/lib/AWS/Website/index.js.map +1 -0
  1309. package/lib/AWS/Website/shared.d.ts +216 -0
  1310. package/lib/AWS/Website/shared.d.ts.map +1 -0
  1311. package/lib/AWS/Website/shared.js +1 -0
  1312. package/lib/AWS/Website/shared.js.map +1 -0
  1313. package/lib/AWS/index.d.ts +35 -0
  1314. package/lib/AWS/index.d.ts.map +1 -0
  1315. package/lib/AWS/index.js +35 -0
  1316. package/lib/AWS/index.js.map +1 -0
  1317. package/lib/Action.d.ts +77 -0
  1318. package/lib/Action.d.ts.map +1 -0
  1319. package/lib/Action.js +89 -0
  1320. package/lib/Action.js.map +1 -0
  1321. package/lib/AdoptPolicy.d.ts +101 -0
  1322. package/lib/AdoptPolicy.d.ts.map +1 -0
  1323. package/lib/AdoptPolicy.js +113 -0
  1324. package/lib/AdoptPolicy.js.map +1 -0
  1325. package/lib/AlchemyContext.d.ts +24 -0
  1326. package/lib/AlchemyContext.d.ts.map +1 -0
  1327. package/lib/AlchemyContext.js +20 -0
  1328. package/lib/AlchemyContext.js.map +1 -0
  1329. package/lib/Apply.d.ts +17 -0
  1330. package/lib/Apply.d.ts.map +1 -0
  1331. package/lib/Apply.js +1083 -0
  1332. package/lib/Apply.js.map +1 -0
  1333. package/lib/Artifacts.d.ts +69 -0
  1334. package/lib/Artifacts.d.ts.map +1 -0
  1335. package/lib/Artifacts.js +89 -0
  1336. package/lib/Artifacts.js.map +1 -0
  1337. package/lib/Auth/AuthProvider.d.ts +64 -0
  1338. package/lib/Auth/AuthProvider.d.ts.map +1 -0
  1339. package/lib/Auth/AuthProvider.js +79 -0
  1340. package/lib/Auth/AuthProvider.js.map +1 -0
  1341. package/lib/Auth/Credentials.d.ts +30 -0
  1342. package/lib/Auth/Credentials.d.ts.map +1 -0
  1343. package/lib/Auth/Credentials.js +50 -0
  1344. package/lib/Auth/Credentials.js.map +1 -0
  1345. package/lib/Auth/Env.d.ts +9 -0
  1346. package/lib/Auth/Env.d.ts.map +1 -0
  1347. package/lib/Auth/Env.js +13 -0
  1348. package/lib/Auth/Env.js.map +1 -0
  1349. package/lib/Auth/Lock.d.ts +13 -0
  1350. package/lib/Auth/Lock.d.ts.map +1 -0
  1351. package/lib/Auth/Lock.js +28 -0
  1352. package/lib/Auth/Lock.js.map +1 -0
  1353. package/lib/Auth/Profile.d.ts +81 -0
  1354. package/lib/Auth/Profile.d.ts.map +1 -0
  1355. package/lib/Auth/Profile.js +89 -0
  1356. package/lib/Auth/Profile.js.map +1 -0
  1357. package/lib/Auth/index.d.ts +5 -0
  1358. package/lib/Auth/index.d.ts.map +1 -0
  1359. package/lib/Auth/index.js +5 -0
  1360. package/lib/Auth/index.js.map +1 -0
  1361. package/lib/Axiom/Annotation.d.ts +49 -0
  1362. package/lib/Axiom/Annotation.d.ts.map +1 -0
  1363. package/lib/Axiom/Annotation.js +89 -0
  1364. package/lib/Axiom/Annotation.js.map +1 -0
  1365. package/lib/Axiom/ApiToken.d.ts +62 -0
  1366. package/lib/Axiom/ApiToken.d.ts.map +1 -0
  1367. package/lib/Axiom/ApiToken.js +106 -0
  1368. package/lib/Axiom/ApiToken.js.map +1 -0
  1369. package/lib/Axiom/AuthProvider.d.ts +49 -0
  1370. package/lib/Axiom/AuthProvider.d.ts.map +1 -0
  1371. package/lib/Axiom/AuthProvider.js +183 -0
  1372. package/lib/Axiom/AuthProvider.js.map +1 -0
  1373. package/lib/Axiom/Chart.d.ts +122 -0
  1374. package/lib/Axiom/Chart.d.ts.map +1 -0
  1375. package/lib/Axiom/Chart.js +14 -0
  1376. package/lib/Axiom/Chart.js.map +1 -0
  1377. package/lib/Axiom/Credentials.d.ts +13 -0
  1378. package/lib/Axiom/Credentials.d.ts.map +1 -0
  1379. package/lib/Axiom/Credentials.js +33 -0
  1380. package/lib/Axiom/Credentials.js.map +1 -0
  1381. package/lib/Axiom/Dashboard.d.ts +124 -0
  1382. package/lib/Axiom/Dashboard.d.ts.map +1 -0
  1383. package/lib/Axiom/Dashboard.js +148 -0
  1384. package/lib/Axiom/Dashboard.js.map +1 -0
  1385. package/lib/Axiom/Dataset.d.ts +101 -0
  1386. package/lib/Axiom/Dataset.d.ts.map +1 -0
  1387. package/lib/Axiom/Dataset.js +194 -0
  1388. package/lib/Axiom/Dataset.js.map +1 -0
  1389. package/lib/Axiom/Monitor.d.ts +74 -0
  1390. package/lib/Axiom/Monitor.d.ts.map +1 -0
  1391. package/lib/Axiom/Monitor.js +114 -0
  1392. package/lib/Axiom/Monitor.js.map +1 -0
  1393. package/lib/Axiom/Notifier.d.ts +63 -0
  1394. package/lib/Axiom/Notifier.d.ts.map +1 -0
  1395. package/lib/Axiom/Notifier.js +100 -0
  1396. package/lib/Axiom/Notifier.js.map +1 -0
  1397. package/lib/Axiom/Providers.d.ts +15 -0
  1398. package/lib/Axiom/Providers.d.ts.map +1 -0
  1399. package/lib/Axiom/Providers.js +34 -0
  1400. package/lib/Axiom/Providers.js.map +1 -0
  1401. package/lib/Axiom/View.d.ts +55 -0
  1402. package/lib/Axiom/View.d.ts.map +1 -0
  1403. package/lib/Axiom/View.js +88 -0
  1404. package/lib/Axiom/View.js.map +1 -0
  1405. package/lib/Axiom/VirtualField.d.ts +42 -0
  1406. package/lib/Axiom/VirtualField.d.ts.map +1 -0
  1407. package/lib/Axiom/VirtualField.js +82 -0
  1408. package/lib/Axiom/VirtualField.js.map +1 -0
  1409. package/lib/Axiom/index.d.ts +13 -0
  1410. package/lib/Axiom/index.d.ts.map +1 -0
  1411. package/lib/Axiom/index.js +13 -0
  1412. package/lib/Axiom/index.js.map +1 -0
  1413. package/lib/Binding.d.ts +56 -0
  1414. package/lib/Binding.d.ts.map +1 -0
  1415. package/lib/Binding.js +63 -0
  1416. package/lib/Binding.js.map +1 -0
  1417. package/lib/Build/Command.d.ts +108 -0
  1418. package/lib/Build/Command.d.ts.map +1 -0
  1419. package/lib/Build/Command.js +168 -0
  1420. package/lib/Build/Command.js.map +1 -0
  1421. package/lib/Build/Memo.d.ts +45 -0
  1422. package/lib/Build/Memo.d.ts.map +1 -0
  1423. package/lib/Build/Memo.js +89 -0
  1424. package/lib/Build/Memo.js.map +1 -0
  1425. package/lib/Build/index.d.ts +2 -0
  1426. package/lib/Build/index.d.ts.map +1 -0
  1427. package/lib/Build/index.js +2 -0
  1428. package/lib/Build/index.js.map +1 -0
  1429. package/lib/Bundle/Bundle.d.ts +111 -0
  1430. package/lib/Bundle/Bundle.d.ts.map +1 -0
  1431. package/lib/Bundle/Bundle.js +204 -0
  1432. package/lib/Bundle/Bundle.js.map +1 -0
  1433. package/lib/Bundle/BundleAnalyzerPlugin.d.ts +25 -0
  1434. package/lib/Bundle/BundleAnalyzerPlugin.d.ts.map +1 -0
  1435. package/lib/Bundle/BundleAnalyzerPlugin.js +16 -0
  1436. package/lib/Bundle/BundleAnalyzerPlugin.js.map +1 -0
  1437. package/lib/Bundle/Docker.d.ts +72 -0
  1438. package/lib/Bundle/Docker.d.ts.map +1 -0
  1439. package/lib/Bundle/Docker.js +131 -0
  1440. package/lib/Bundle/Docker.js.map +1 -0
  1441. package/lib/Bundle/PurePlugin.d.ts +109 -0
  1442. package/lib/Bundle/PurePlugin.d.ts.map +1 -0
  1443. package/lib/Bundle/PurePlugin.js +469 -0
  1444. package/lib/Bundle/PurePlugin.js.map +1 -0
  1445. package/lib/Bundle/RawPlugin.d.ts +36 -0
  1446. package/lib/Bundle/RawPlugin.d.ts.map +1 -0
  1447. package/lib/Bundle/RawPlugin.js +80 -0
  1448. package/lib/Bundle/RawPlugin.js.map +1 -0
  1449. package/lib/Bundle/TempRoot.d.ts +24 -0
  1450. package/lib/Bundle/TempRoot.d.ts.map +1 -0
  1451. package/lib/Bundle/TempRoot.js +81 -0
  1452. package/lib/Bundle/TempRoot.js.map +1 -0
  1453. package/lib/Bundle/index.d.ts +7 -0
  1454. package/lib/Bundle/index.d.ts.map +1 -0
  1455. package/lib/Bundle/index.js +7 -0
  1456. package/lib/Bundle/index.js.map +1 -0
  1457. package/lib/Cli/Cli.d.ts +21 -0
  1458. package/lib/Cli/Cli.d.ts.map +1 -0
  1459. package/lib/Cli/Cli.js +5 -0
  1460. package/lib/Cli/Cli.js.map +1 -0
  1461. package/lib/Cli/Event.d.ts +16 -0
  1462. package/lib/Cli/Event.d.ts.map +1 -0
  1463. package/lib/Cli/Event.js +1 -0
  1464. package/lib/Cli/Event.js.map +1 -0
  1465. package/lib/Cli/LoggingCli.d.ts +4 -0
  1466. package/lib/Cli/LoggingCli.d.ts.map +1 -0
  1467. package/lib/Cli/LoggingCli.js +112 -0
  1468. package/lib/Cli/LoggingCli.js.map +1 -0
  1469. package/lib/Cli/NamespaceTree.d.ts +37 -0
  1470. package/lib/Cli/NamespaceTree.d.ts.map +1 -0
  1471. package/lib/Cli/NamespaceTree.js +154 -0
  1472. package/lib/Cli/NamespaceTree.js.map +1 -0
  1473. package/lib/Cli/Reporter.d.ts +8 -0
  1474. package/lib/Cli/Reporter.d.ts.map +1 -0
  1475. package/lib/Cli/Reporter.js +4 -0
  1476. package/lib/Cli/Reporter.js.map +1 -0
  1477. package/lib/Cli/checkVersion.d.ts +13 -0
  1478. package/lib/Cli/checkVersion.d.ts.map +1 -0
  1479. package/lib/Cli/checkVersion.js +47 -0
  1480. package/lib/Cli/checkVersion.js.map +1 -0
  1481. package/lib/Cli/commands/_shared.d.ts +69 -0
  1482. package/lib/Cli/commands/_shared.d.ts.map +1 -0
  1483. package/lib/Cli/commands/_shared.js +208 -0
  1484. package/lib/Cli/commands/_shared.js.map +1 -0
  1485. package/lib/Cli/commands/aws.d.ts +6 -0
  1486. package/lib/Cli/commands/aws.d.ts.map +1 -0
  1487. package/lib/Cli/commands/aws.js +63 -0
  1488. package/lib/Cli/commands/aws.js.map +1 -0
  1489. package/lib/Cli/commands/cloudflare.d.ts +20 -0
  1490. package/lib/Cli/commands/cloudflare.d.ts.map +1 -0
  1491. package/lib/Cli/commands/cloudflare.js +388 -0
  1492. package/lib/Cli/commands/cloudflare.js.map +1 -0
  1493. package/lib/Cli/commands/deploy.d.ts +57 -0
  1494. package/lib/Cli/commands/deploy.d.ts.map +1 -0
  1495. package/lib/Cli/commands/deploy.js +130 -0
  1496. package/lib/Cli/commands/deploy.js.map +1 -0
  1497. package/lib/Cli/commands/dev.d.ts +11 -0
  1498. package/lib/Cli/commands/dev.d.ts.map +1 -0
  1499. package/lib/Cli/commands/dev.js +67 -0
  1500. package/lib/Cli/commands/dev.js.map +1 -0
  1501. package/lib/Cli/commands/login.d.ts +11 -0
  1502. package/lib/Cli/commands/login.d.ts.map +1 -0
  1503. package/lib/Cli/commands/login.js +77 -0
  1504. package/lib/Cli/commands/login.js.map +1 -0
  1505. package/lib/Cli/commands/logs.d.ts +12 -0
  1506. package/lib/Cli/commands/logs.d.ts.map +1 -0
  1507. package/lib/Cli/commands/logs.js +99 -0
  1508. package/lib/Cli/commands/logs.js.map +1 -0
  1509. package/lib/Cli/commands/profile.d.ts +3 -0
  1510. package/lib/Cli/commands/profile.d.ts.map +1 -0
  1511. package/lib/Cli/commands/profile.js +59 -0
  1512. package/lib/Cli/commands/profile.js.map +1 -0
  1513. package/lib/Cli/commands/state.d.ts +3 -0
  1514. package/lib/Cli/commands/state.d.ts.map +1 -0
  1515. package/lib/Cli/commands/state.js +221 -0
  1516. package/lib/Cli/commands/state.js.map +1 -0
  1517. package/lib/Cli/commands/tail.d.ts +9 -0
  1518. package/lib/Cli/commands/tail.d.ts.map +1 -0
  1519. package/lib/Cli/commands/tail.js +93 -0
  1520. package/lib/Cli/commands/tail.js.map +1 -0
  1521. package/lib/Cli/exec.d.ts +3 -0
  1522. package/lib/Cli/exec.d.ts.map +1 -0
  1523. package/lib/Cli/exec.js +15 -0
  1524. package/lib/Cli/exec.js.map +1 -0
  1525. package/lib/Cli/index.d.ts +3 -0
  1526. package/lib/Cli/index.d.ts.map +1 -0
  1527. package/lib/Cli/index.js +3 -0
  1528. package/lib/Cli/index.js.map +1 -0
  1529. package/lib/Cli/main.d.ts +3 -0
  1530. package/lib/Cli/main.d.ts.map +1 -0
  1531. package/lib/Cli/main.js +52 -0
  1532. package/lib/Cli/main.js.map +1 -0
  1533. package/lib/Cli/selectCli.d.ts +12 -0
  1534. package/lib/Cli/selectCli.d.ts.map +1 -0
  1535. package/lib/Cli/selectCli.js +32 -0
  1536. package/lib/Cli/selectCli.js.map +1 -0
  1537. package/lib/Cli/tui/InkCLI.d.ts +4 -0
  1538. package/lib/Cli/tui/InkCLI.d.ts.map +1 -0
  1539. package/lib/Cli/tui/InkCLI.js +44 -0
  1540. package/lib/Cli/tui/InkCLI.js.map +1 -0
  1541. package/lib/Cli/tui/components/ApprovePlan.d.ts +9 -0
  1542. package/lib/Cli/tui/components/ApprovePlan.d.ts.map +1 -0
  1543. package/lib/Cli/tui/components/ApprovePlan.js +21 -0
  1544. package/lib/Cli/tui/components/ApprovePlan.js.map +1 -0
  1545. package/lib/Cli/tui/components/Plan.d.ts +8 -0
  1546. package/lib/Cli/tui/components/Plan.d.ts.map +1 -0
  1547. package/lib/Cli/tui/components/Plan.js +81 -0
  1548. package/lib/Cli/tui/components/Plan.js.map +1 -0
  1549. package/lib/Cli/tui/components/PlanProgress.d.ts +50 -0
  1550. package/lib/Cli/tui/components/PlanProgress.d.ts.map +1 -0
  1551. package/lib/Cli/tui/components/PlanProgress.js +282 -0
  1552. package/lib/Cli/tui/components/PlanProgress.js.map +1 -0
  1553. package/lib/Cloudflare/Access.d.ts +19 -0
  1554. package/lib/Cloudflare/Access.d.ts.map +1 -0
  1555. package/lib/Cloudflare/Access.js +63 -0
  1556. package/lib/Cloudflare/Access.js.map +1 -0
  1557. package/lib/Cloudflare/AiGateway/AiGateway.d.ts +353 -0
  1558. package/lib/Cloudflare/AiGateway/AiGateway.d.ts.map +1 -0
  1559. package/lib/Cloudflare/AiGateway/AiGateway.js +354 -0
  1560. package/lib/Cloudflare/AiGateway/AiGateway.js.map +1 -0
  1561. package/lib/Cloudflare/AiGateway/AiGatewayBinding.d.ts +137 -0
  1562. package/lib/Cloudflare/AiGateway/AiGatewayBinding.d.ts.map +1 -0
  1563. package/lib/Cloudflare/AiGateway/AiGatewayBinding.js +127 -0
  1564. package/lib/Cloudflare/AiGateway/AiGatewayBinding.js.map +1 -0
  1565. package/lib/Cloudflare/AiGateway/LanguageModel.d.ts +35 -0
  1566. package/lib/Cloudflare/AiGateway/LanguageModel.d.ts.map +1 -0
  1567. package/lib/Cloudflare/AiGateway/LanguageModel.js +576 -0
  1568. package/lib/Cloudflare/AiGateway/LanguageModel.js.map +1 -0
  1569. package/lib/Cloudflare/AiGateway/index.d.ts +4 -0
  1570. package/lib/Cloudflare/AiGateway/index.d.ts.map +1 -0
  1571. package/lib/Cloudflare/AiGateway/index.js +4 -0
  1572. package/lib/Cloudflare/AiGateway/index.js.map +1 -0
  1573. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDataset.d.ts +54 -0
  1574. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDataset.d.ts.map +1 -0
  1575. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDataset.js +17 -0
  1576. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDataset.js.map +1 -0
  1577. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDatasetBinding.d.ts +38 -0
  1578. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDatasetBinding.d.ts.map +1 -0
  1579. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDatasetBinding.js +46 -0
  1580. package/lib/Cloudflare/AnalyticsEngine/AnalyticsEngineDatasetBinding.js.map +1 -0
  1581. package/lib/Cloudflare/AnalyticsEngine/index.d.ts +3 -0
  1582. package/lib/Cloudflare/AnalyticsEngine/index.d.ts.map +1 -0
  1583. package/lib/Cloudflare/AnalyticsEngine/index.js +3 -0
  1584. package/lib/Cloudflare/AnalyticsEngine/index.js.map +1 -0
  1585. package/lib/Cloudflare/ApiToken/AccountApiToken.d.ts +96 -0
  1586. package/lib/Cloudflare/ApiToken/AccountApiToken.d.ts.map +1 -0
  1587. package/lib/Cloudflare/ApiToken/AccountApiToken.js +198 -0
  1588. package/lib/Cloudflare/ApiToken/AccountApiToken.js.map +1 -0
  1589. package/lib/Cloudflare/ApiToken/Common.d.ts +122 -0
  1590. package/lib/Cloudflare/ApiToken/Common.d.ts.map +1 -0
  1591. package/lib/Cloudflare/ApiToken/Common.js +59 -0
  1592. package/lib/Cloudflare/ApiToken/Common.js.map +1 -0
  1593. package/lib/Cloudflare/ApiToken/PermissionGroups.d.ts +1549 -0
  1594. package/lib/Cloudflare/ApiToken/PermissionGroups.d.ts.map +1 -0
  1595. package/lib/Cloudflare/ApiToken/PermissionGroups.js +1856 -0
  1596. package/lib/Cloudflare/ApiToken/PermissionGroups.js.map +1 -0
  1597. package/lib/Cloudflare/ApiToken/UserApiToken.d.ts +84 -0
  1598. package/lib/Cloudflare/ApiToken/UserApiToken.d.ts.map +1 -0
  1599. package/lib/Cloudflare/ApiToken/UserApiToken.js +163 -0
  1600. package/lib/Cloudflare/ApiToken/UserApiToken.js.map +1 -0
  1601. package/lib/Cloudflare/ApiToken/index.d.ts +5 -0
  1602. package/lib/Cloudflare/ApiToken/index.d.ts.map +1 -0
  1603. package/lib/Cloudflare/ApiToken/index.js +5 -0
  1604. package/lib/Cloudflare/ApiToken/index.js.map +1 -0
  1605. package/lib/Cloudflare/Artifacts/Artifacts.d.ts +101 -0
  1606. package/lib/Cloudflare/Artifacts/Artifacts.d.ts.map +1 -0
  1607. package/lib/Cloudflare/Artifacts/Artifacts.js +92 -0
  1608. package/lib/Cloudflare/Artifacts/Artifacts.js.map +1 -0
  1609. package/lib/Cloudflare/Artifacts/ArtifactsBinding.d.ts +84 -0
  1610. package/lib/Cloudflare/Artifacts/ArtifactsBinding.d.ts.map +1 -0
  1611. package/lib/Cloudflare/Artifacts/ArtifactsBinding.js +65 -0
  1612. package/lib/Cloudflare/Artifacts/ArtifactsBinding.js.map +1 -0
  1613. package/lib/Cloudflare/Artifacts/index.d.ts +3 -0
  1614. package/lib/Cloudflare/Artifacts/index.d.ts.map +1 -0
  1615. package/lib/Cloudflare/Artifacts/index.js +3 -0
  1616. package/lib/Cloudflare/Artifacts/index.js.map +1 -0
  1617. package/lib/Cloudflare/Auth/AuthProvider.d.ts +144 -0
  1618. package/lib/Cloudflare/Auth/AuthProvider.d.ts.map +1 -0
  1619. package/lib/Cloudflare/Auth/AuthProvider.js +404 -0
  1620. package/lib/Cloudflare/Auth/AuthProvider.js.map +1 -0
  1621. package/lib/Cloudflare/Auth/OAuthClient.d.ts +46 -0
  1622. package/lib/Cloudflare/Auth/OAuthClient.d.ts.map +1 -0
  1623. package/lib/Cloudflare/Auth/OAuthClient.js +221 -0
  1624. package/lib/Cloudflare/Auth/OAuthClient.js.map +1 -0
  1625. package/lib/Cloudflare/Bridge.d.ts +4 -0
  1626. package/lib/Cloudflare/Bridge.d.ts.map +1 -0
  1627. package/lib/Cloudflare/Bridge.js +4 -0
  1628. package/lib/Cloudflare/Bridge.js.map +1 -0
  1629. package/lib/Cloudflare/Browser/Browser.d.ts +121 -0
  1630. package/lib/Cloudflare/Browser/Browser.d.ts.map +1 -0
  1631. package/lib/Cloudflare/Browser/Browser.js +85 -0
  1632. package/lib/Cloudflare/Browser/Browser.js.map +1 -0
  1633. package/lib/Cloudflare/Browser/BrowserBinding.d.ts +55 -0
  1634. package/lib/Cloudflare/Browser/BrowserBinding.d.ts.map +1 -0
  1635. package/lib/Cloudflare/Browser/BrowserBinding.js +55 -0
  1636. package/lib/Cloudflare/Browser/BrowserBinding.js.map +1 -0
  1637. package/lib/Cloudflare/Browser/index.d.ts +3 -0
  1638. package/lib/Cloudflare/Browser/index.d.ts.map +1 -0
  1639. package/lib/Cloudflare/Browser/index.js +3 -0
  1640. package/lib/Cloudflare/Browser/index.js.map +1 -0
  1641. package/lib/Cloudflare/CloudflareEnvironment.d.ts +12 -0
  1642. package/lib/Cloudflare/CloudflareEnvironment.d.ts.map +1 -0
  1643. package/lib/Cloudflare/CloudflareEnvironment.js +27 -0
  1644. package/lib/Cloudflare/CloudflareEnvironment.js.map +1 -0
  1645. package/lib/Cloudflare/Container/Container.d.ts +214 -0
  1646. package/lib/Cloudflare/Container/Container.d.ts.map +1 -0
  1647. package/lib/Cloudflare/Container/Container.js +241 -0
  1648. package/lib/Cloudflare/Container/Container.js.map +1 -0
  1649. package/lib/Cloudflare/Container/ContainerApplication.d.ts +232 -0
  1650. package/lib/Cloudflare/Container/ContainerApplication.d.ts.map +1 -0
  1651. package/lib/Cloudflare/Container/ContainerApplication.js +671 -0
  1652. package/lib/Cloudflare/Container/ContainerApplication.js.map +1 -0
  1653. package/lib/Cloudflare/Container/ContainerBinding.d.ts +8 -0
  1654. package/lib/Cloudflare/Container/ContainerBinding.d.ts.map +1 -0
  1655. package/lib/Cloudflare/Container/ContainerBinding.js +41 -0
  1656. package/lib/Cloudflare/Container/ContainerBinding.js.map +1 -0
  1657. package/lib/Cloudflare/Container/StartContainer.d.ts +25 -0
  1658. package/lib/Cloudflare/Container/StartContainer.d.ts.map +1 -0
  1659. package/lib/Cloudflare/Container/StartContainer.js +37 -0
  1660. package/lib/Cloudflare/Container/StartContainer.js.map +1 -0
  1661. package/lib/Cloudflare/Container/index.d.ts +5 -0
  1662. package/lib/Cloudflare/Container/index.d.ts.map +1 -0
  1663. package/lib/Cloudflare/Container/index.js +5 -0
  1664. package/lib/Cloudflare/Container/index.js.map +1 -0
  1665. package/lib/Cloudflare/Credentials.d.ts +12 -0
  1666. package/lib/Cloudflare/Credentials.d.ts.map +1 -0
  1667. package/lib/Cloudflare/Credentials.js +34 -0
  1668. package/lib/Cloudflare/Credentials.js.map +1 -0
  1669. package/lib/Cloudflare/D1/D1Clone.d.ts +14 -0
  1670. package/lib/Cloudflare/D1/D1Clone.d.ts.map +1 -0
  1671. package/lib/Cloudflare/D1/D1Clone.js +31 -0
  1672. package/lib/Cloudflare/D1/D1Clone.js.map +1 -0
  1673. package/lib/Cloudflare/D1/D1Connection.d.ts +83 -0
  1674. package/lib/Cloudflare/D1/D1Connection.d.ts.map +1 -0
  1675. package/lib/Cloudflare/D1/D1Connection.js +82 -0
  1676. package/lib/Cloudflare/D1/D1Connection.js.map +1 -0
  1677. package/lib/Cloudflare/D1/D1Database.d.ts +222 -0
  1678. package/lib/Cloudflare/D1/D1Database.d.ts.map +1 -0
  1679. package/lib/Cloudflare/D1/D1Database.js +441 -0
  1680. package/lib/Cloudflare/D1/D1Database.js.map +1 -0
  1681. package/lib/Cloudflare/D1/D1DatabaseBinding.d.ts +5 -0
  1682. package/lib/Cloudflare/D1/D1DatabaseBinding.d.ts.map +1 -0
  1683. package/lib/Cloudflare/D1/D1DatabaseBinding.js +19 -0
  1684. package/lib/Cloudflare/D1/D1DatabaseBinding.js.map +1 -0
  1685. package/lib/Cloudflare/D1/D1Export.d.ts +24 -0
  1686. package/lib/Cloudflare/D1/D1Export.d.ts.map +1 -0
  1687. package/lib/Cloudflare/D1/D1Export.js +34 -0
  1688. package/lib/Cloudflare/D1/D1Export.js.map +1 -0
  1689. package/lib/Cloudflare/D1/D1Import.d.ts +23 -0
  1690. package/lib/Cloudflare/D1/D1Import.d.ts.map +1 -0
  1691. package/lib/Cloudflare/D1/D1Import.js +87 -0
  1692. package/lib/Cloudflare/D1/D1Import.js.map +1 -0
  1693. package/lib/Cloudflare/D1/D1Migrations.d.ts +16 -0
  1694. package/lib/Cloudflare/D1/D1Migrations.d.ts.map +1 -0
  1695. package/lib/Cloudflare/D1/D1Migrations.js +110 -0
  1696. package/lib/Cloudflare/D1/D1Migrations.js.map +1 -0
  1697. package/lib/Cloudflare/D1/index.d.ts +4 -0
  1698. package/lib/Cloudflare/D1/index.d.ts.map +1 -0
  1699. package/lib/Cloudflare/D1/index.js +4 -0
  1700. package/lib/Cloudflare/D1/index.js.map +1 -0
  1701. package/lib/Cloudflare/Dns/DnsBinding.d.ts +52 -0
  1702. package/lib/Cloudflare/Dns/DnsBinding.d.ts.map +1 -0
  1703. package/lib/Cloudflare/Dns/DnsBinding.js +59 -0
  1704. package/lib/Cloudflare/Dns/DnsBinding.js.map +1 -0
  1705. package/lib/Cloudflare/Dns/DnsRead.d.ts +80 -0
  1706. package/lib/Cloudflare/Dns/DnsRead.d.ts.map +1 -0
  1707. package/lib/Cloudflare/Dns/DnsRead.js +70 -0
  1708. package/lib/Cloudflare/Dns/DnsRead.js.map +1 -0
  1709. package/lib/Cloudflare/Dns/DnsReadWrite.d.ts +79 -0
  1710. package/lib/Cloudflare/Dns/DnsReadWrite.d.ts.map +1 -0
  1711. package/lib/Cloudflare/Dns/DnsReadWrite.js +72 -0
  1712. package/lib/Cloudflare/Dns/DnsReadWrite.js.map +1 -0
  1713. package/lib/Cloudflare/Dns/DnsWrite.d.ts +113 -0
  1714. package/lib/Cloudflare/Dns/DnsWrite.d.ts.map +1 -0
  1715. package/lib/Cloudflare/Dns/DnsWrite.js +100 -0
  1716. package/lib/Cloudflare/Dns/DnsWrite.js.map +1 -0
  1717. package/lib/Cloudflare/Dns/index.d.ts +5 -0
  1718. package/lib/Cloudflare/Dns/index.d.ts.map +1 -0
  1719. package/lib/Cloudflare/Dns/index.js +5 -0
  1720. package/lib/Cloudflare/Dns/index.js.map +1 -0
  1721. package/lib/Cloudflare/EdgeSession.d.ts +54 -0
  1722. package/lib/Cloudflare/EdgeSession.d.ts.map +1 -0
  1723. package/lib/Cloudflare/EdgeSession.js +82 -0
  1724. package/lib/Cloudflare/EdgeSession.js.map +1 -0
  1725. package/lib/Cloudflare/Email/EmailAddress.d.ts +45 -0
  1726. package/lib/Cloudflare/Email/EmailAddress.d.ts.map +1 -0
  1727. package/lib/Cloudflare/Email/EmailAddress.js +99 -0
  1728. package/lib/Cloudflare/Email/EmailAddress.js.map +1 -0
  1729. package/lib/Cloudflare/Email/EmailRouting.d.ts +42 -0
  1730. package/lib/Cloudflare/Email/EmailRouting.d.ts.map +1 -0
  1731. package/lib/Cloudflare/Email/EmailRouting.js +89 -0
  1732. package/lib/Cloudflare/Email/EmailRouting.js.map +1 -0
  1733. package/lib/Cloudflare/Email/EmailRule.d.ts +80 -0
  1734. package/lib/Cloudflare/Email/EmailRule.d.ts.map +1 -0
  1735. package/lib/Cloudflare/Email/EmailRule.js +110 -0
  1736. package/lib/Cloudflare/Email/EmailRule.js.map +1 -0
  1737. package/lib/Cloudflare/Email/SendEmail.d.ts +74 -0
  1738. package/lib/Cloudflare/Email/SendEmail.d.ts.map +1 -0
  1739. package/lib/Cloudflare/Email/SendEmail.js +19 -0
  1740. package/lib/Cloudflare/Email/SendEmail.js.map +1 -0
  1741. package/lib/Cloudflare/Email/SendEmailBinding.d.ts +65 -0
  1742. package/lib/Cloudflare/Email/SendEmailBinding.d.ts.map +1 -0
  1743. package/lib/Cloudflare/Email/SendEmailBinding.js +55 -0
  1744. package/lib/Cloudflare/Email/SendEmailBinding.js.map +1 -0
  1745. package/lib/Cloudflare/Email/index.d.ts +6 -0
  1746. package/lib/Cloudflare/Email/index.d.ts.map +1 -0
  1747. package/lib/Cloudflare/Email/index.js +6 -0
  1748. package/lib/Cloudflare/Email/index.js.map +1 -0
  1749. package/lib/Cloudflare/Fetcher.d.ts +32 -0
  1750. package/lib/Cloudflare/Fetcher.d.ts.map +1 -0
  1751. package/lib/Cloudflare/Fetcher.js +178 -0
  1752. package/lib/Cloudflare/Fetcher.js.map +1 -0
  1753. package/lib/Cloudflare/Hyperdrive/Hyperdrive.d.ts +142 -0
  1754. package/lib/Cloudflare/Hyperdrive/Hyperdrive.d.ts.map +1 -0
  1755. package/lib/Cloudflare/Hyperdrive/Hyperdrive.js +223 -0
  1756. package/lib/Cloudflare/Hyperdrive/Hyperdrive.js.map +1 -0
  1757. package/lib/Cloudflare/Hyperdrive/HyperdriveBinding.d.ts +68 -0
  1758. package/lib/Cloudflare/Hyperdrive/HyperdriveBinding.d.ts.map +1 -0
  1759. package/lib/Cloudflare/Hyperdrive/HyperdriveBinding.js +91 -0
  1760. package/lib/Cloudflare/Hyperdrive/HyperdriveBinding.js.map +1 -0
  1761. package/lib/Cloudflare/Hyperdrive/index.d.ts +3 -0
  1762. package/lib/Cloudflare/Hyperdrive/index.d.ts.map +1 -0
  1763. package/lib/Cloudflare/Hyperdrive/index.js +3 -0
  1764. package/lib/Cloudflare/Hyperdrive/index.js.map +1 -0
  1765. package/lib/Cloudflare/Images/Images.d.ts +112 -0
  1766. package/lib/Cloudflare/Images/Images.d.ts.map +1 -0
  1767. package/lib/Cloudflare/Images/Images.js +79 -0
  1768. package/lib/Cloudflare/Images/Images.js.map +1 -0
  1769. package/lib/Cloudflare/Images/ImagesBinding.d.ts +74 -0
  1770. package/lib/Cloudflare/Images/ImagesBinding.d.ts.map +1 -0
  1771. package/lib/Cloudflare/Images/ImagesBinding.js +85 -0
  1772. package/lib/Cloudflare/Images/ImagesBinding.js.map +1 -0
  1773. package/lib/Cloudflare/Images/index.d.ts +3 -0
  1774. package/lib/Cloudflare/Images/index.d.ts.map +1 -0
  1775. package/lib/Cloudflare/Images/index.js +3 -0
  1776. package/lib/Cloudflare/Images/index.js.map +1 -0
  1777. package/lib/Cloudflare/KV/KVNamespace.d.ts +51 -0
  1778. package/lib/Cloudflare/KV/KVNamespace.d.ts.map +1 -0
  1779. package/lib/Cloudflare/KV/KVNamespace.js +152 -0
  1780. package/lib/Cloudflare/KV/KVNamespace.js.map +1 -0
  1781. package/lib/Cloudflare/KV/KVNamespaceBinding.d.ts +61 -0
  1782. package/lib/Cloudflare/KV/KVNamespaceBinding.d.ts.map +1 -0
  1783. package/lib/Cloudflare/KV/KVNamespaceBinding.js +58 -0
  1784. package/lib/Cloudflare/KV/KVNamespaceBinding.js.map +1 -0
  1785. package/lib/Cloudflare/KV/index.d.ts +3 -0
  1786. package/lib/Cloudflare/KV/index.d.ts.map +1 -0
  1787. package/lib/Cloudflare/KV/index.js +3 -0
  1788. package/lib/Cloudflare/KV/index.js.map +1 -0
  1789. package/lib/Cloudflare/Local.d.ts +2 -0
  1790. package/lib/Cloudflare/Local.d.ts.map +1 -0
  1791. package/lib/Cloudflare/Local.js +9 -0
  1792. package/lib/Cloudflare/Local.js.map +1 -0
  1793. package/lib/Cloudflare/Logs.d.ts +27 -0
  1794. package/lib/Cloudflare/Logs.d.ts.map +1 -0
  1795. package/lib/Cloudflare/Logs.js +145 -0
  1796. package/lib/Cloudflare/Logs.js.map +1 -0
  1797. package/lib/Cloudflare/Providers.d.ts +19 -0
  1798. package/lib/Cloudflare/Providers.d.ts.map +1 -0
  1799. package/lib/Cloudflare/Providers.js +150 -0
  1800. package/lib/Cloudflare/Providers.js.map +1 -0
  1801. package/lib/Cloudflare/Queue/Queue.d.ts +83 -0
  1802. package/lib/Cloudflare/Queue/Queue.d.ts.map +1 -0
  1803. package/lib/Cloudflare/Queue/Queue.js +178 -0
  1804. package/lib/Cloudflare/Queue/Queue.js.map +1 -0
  1805. package/lib/Cloudflare/Queue/QueueBinding.d.ts +69 -0
  1806. package/lib/Cloudflare/Queue/QueueBinding.d.ts.map +1 -0
  1807. package/lib/Cloudflare/Queue/QueueBinding.js +84 -0
  1808. package/lib/Cloudflare/Queue/QueueBinding.js.map +1 -0
  1809. package/lib/Cloudflare/Queue/QueueConsumer.d.ts +91 -0
  1810. package/lib/Cloudflare/Queue/QueueConsumer.d.ts.map +1 -0
  1811. package/lib/Cloudflare/Queue/QueueConsumer.js +311 -0
  1812. package/lib/Cloudflare/Queue/QueueConsumer.js.map +1 -0
  1813. package/lib/Cloudflare/Queue/QueueEventSource.d.ts +131 -0
  1814. package/lib/Cloudflare/Queue/QueueEventSource.d.ts.map +1 -0
  1815. package/lib/Cloudflare/Queue/QueueEventSource.js +166 -0
  1816. package/lib/Cloudflare/Queue/QueueEventSource.js.map +1 -0
  1817. package/lib/Cloudflare/Queue/index.d.ts +5 -0
  1818. package/lib/Cloudflare/Queue/index.d.ts.map +1 -0
  1819. package/lib/Cloudflare/Queue/index.js +5 -0
  1820. package/lib/Cloudflare/Queue/index.js.map +1 -0
  1821. package/lib/Cloudflare/R2/R2Bucket.d.ts +318 -0
  1822. package/lib/Cloudflare/R2/R2Bucket.d.ts.map +1 -0
  1823. package/lib/Cloudflare/R2/R2Bucket.js +519 -0
  1824. package/lib/Cloudflare/R2/R2Bucket.js.map +1 -0
  1825. package/lib/Cloudflare/R2/R2BucketBinding.d.ts +87 -0
  1826. package/lib/Cloudflare/R2/R2BucketBinding.d.ts.map +1 -0
  1827. package/lib/Cloudflare/R2/R2BucketBinding.js +116 -0
  1828. package/lib/Cloudflare/R2/R2BucketBinding.js.map +1 -0
  1829. package/lib/Cloudflare/R2/index.d.ts +3 -0
  1830. package/lib/Cloudflare/R2/index.d.ts.map +1 -0
  1831. package/lib/Cloudflare/R2/index.js +3 -0
  1832. package/lib/Cloudflare/R2/index.js.map +1 -0
  1833. package/lib/Cloudflare/RateLimit/RateLimit.d.ts +132 -0
  1834. package/lib/Cloudflare/RateLimit/RateLimit.d.ts.map +1 -0
  1835. package/lib/Cloudflare/RateLimit/RateLimit.js +80 -0
  1836. package/lib/Cloudflare/RateLimit/RateLimit.js.map +1 -0
  1837. package/lib/Cloudflare/RateLimit/RateLimitBinding.d.ts +30 -0
  1838. package/lib/Cloudflare/RateLimit/RateLimitBinding.d.ts.map +1 -0
  1839. package/lib/Cloudflare/RateLimit/RateLimitBinding.js +50 -0
  1840. package/lib/Cloudflare/RateLimit/RateLimitBinding.js.map +1 -0
  1841. package/lib/Cloudflare/RateLimit/index.d.ts +3 -0
  1842. package/lib/Cloudflare/RateLimit/index.d.ts.map +1 -0
  1843. package/lib/Cloudflare/RateLimit/index.js +3 -0
  1844. package/lib/Cloudflare/RateLimit/index.js.map +1 -0
  1845. package/lib/Cloudflare/Ruleset/Ruleset.d.ts +82 -0
  1846. package/lib/Cloudflare/Ruleset/Ruleset.d.ts.map +1 -0
  1847. package/lib/Cloudflare/Ruleset/Ruleset.js +126 -0
  1848. package/lib/Cloudflare/Ruleset/Ruleset.js.map +1 -0
  1849. package/lib/Cloudflare/Ruleset/index.d.ts +2 -0
  1850. package/lib/Cloudflare/Ruleset/index.d.ts.map +1 -0
  1851. package/lib/Cloudflare/Ruleset/index.js +2 -0
  1852. package/lib/Cloudflare/Ruleset/index.js.map +1 -0
  1853. package/lib/Cloudflare/SecretsStore/Secret.d.ts +76 -0
  1854. package/lib/Cloudflare/SecretsStore/Secret.d.ts.map +1 -0
  1855. package/lib/Cloudflare/SecretsStore/Secret.js +200 -0
  1856. package/lib/Cloudflare/SecretsStore/Secret.js.map +1 -0
  1857. package/lib/Cloudflare/SecretsStore/SecretBinding.d.ts +44 -0
  1858. package/lib/Cloudflare/SecretsStore/SecretBinding.d.ts.map +1 -0
  1859. package/lib/Cloudflare/SecretsStore/SecretBinding.js +50 -0
  1860. package/lib/Cloudflare/SecretsStore/SecretBinding.js.map +1 -0
  1861. package/lib/Cloudflare/SecretsStore/SecretsStore.d.ts +39 -0
  1862. package/lib/Cloudflare/SecretsStore/SecretsStore.d.ts.map +1 -0
  1863. package/lib/Cloudflare/SecretsStore/SecretsStore.js +112 -0
  1864. package/lib/Cloudflare/SecretsStore/SecretsStore.js.map +1 -0
  1865. package/lib/Cloudflare/SecretsStore/index.d.ts +4 -0
  1866. package/lib/Cloudflare/SecretsStore/index.d.ts.map +1 -0
  1867. package/lib/Cloudflare/SecretsStore/index.js +4 -0
  1868. package/lib/Cloudflare/SecretsStore/index.js.map +1 -0
  1869. package/lib/Cloudflare/StateStore/Api.d.ts +99 -0
  1870. package/lib/Cloudflare/StateStore/Api.d.ts.map +1 -0
  1871. package/lib/Cloudflare/StateStore/Api.js +265 -0
  1872. package/lib/Cloudflare/StateStore/Api.js.map +1 -0
  1873. package/lib/Cloudflare/StateStore/State.d.ts +49 -0
  1874. package/lib/Cloudflare/StateStore/State.d.ts.map +1 -0
  1875. package/lib/Cloudflare/StateStore/State.js +602 -0
  1876. package/lib/Cloudflare/StateStore/State.js.map +1 -0
  1877. package/lib/Cloudflare/StateStore/Store.d.ts +97 -0
  1878. package/lib/Cloudflare/StateStore/Store.d.ts.map +1 -0
  1879. package/lib/Cloudflare/StateStore/Store.js +198 -0
  1880. package/lib/Cloudflare/StateStore/Store.js.map +1 -0
  1881. package/lib/Cloudflare/StateStore/Token.d.ts +43 -0
  1882. package/lib/Cloudflare/StateStore/Token.d.ts.map +1 -0
  1883. package/lib/Cloudflare/StateStore/Token.js +61 -0
  1884. package/lib/Cloudflare/StateStore/Token.js.map +1 -0
  1885. package/lib/Cloudflare/StateStore/index.d.ts +2 -0
  1886. package/lib/Cloudflare/StateStore/index.d.ts.map +1 -0
  1887. package/lib/Cloudflare/StateStore/index.js +2 -0
  1888. package/lib/Cloudflare/StateStore/index.js.map +1 -0
  1889. package/lib/Cloudflare/Tunnel/Tunnel.d.ts +136 -0
  1890. package/lib/Cloudflare/Tunnel/Tunnel.d.ts.map +1 -0
  1891. package/lib/Cloudflare/Tunnel/Tunnel.js +228 -0
  1892. package/lib/Cloudflare/Tunnel/Tunnel.js.map +1 -0
  1893. package/lib/Cloudflare/Tunnel/TunnelBinding.d.ts +48 -0
  1894. package/lib/Cloudflare/Tunnel/TunnelBinding.d.ts.map +1 -0
  1895. package/lib/Cloudflare/Tunnel/TunnelBinding.js +56 -0
  1896. package/lib/Cloudflare/Tunnel/TunnelBinding.js.map +1 -0
  1897. package/lib/Cloudflare/Tunnel/TunnelRead.d.ts +83 -0
  1898. package/lib/Cloudflare/Tunnel/TunnelRead.d.ts.map +1 -0
  1899. package/lib/Cloudflare/Tunnel/TunnelRead.js +79 -0
  1900. package/lib/Cloudflare/Tunnel/TunnelRead.js.map +1 -0
  1901. package/lib/Cloudflare/Tunnel/TunnelReadWrite.d.ts +70 -0
  1902. package/lib/Cloudflare/Tunnel/TunnelReadWrite.d.ts.map +1 -0
  1903. package/lib/Cloudflare/Tunnel/TunnelReadWrite.js +63 -0
  1904. package/lib/Cloudflare/Tunnel/TunnelReadWrite.js.map +1 -0
  1905. package/lib/Cloudflare/Tunnel/TunnelWrite.d.ts +92 -0
  1906. package/lib/Cloudflare/Tunnel/TunnelWrite.d.ts.map +1 -0
  1907. package/lib/Cloudflare/Tunnel/TunnelWrite.js +88 -0
  1908. package/lib/Cloudflare/Tunnel/TunnelWrite.js.map +1 -0
  1909. package/lib/Cloudflare/Tunnel/index.d.ts +6 -0
  1910. package/lib/Cloudflare/Tunnel/index.d.ts.map +1 -0
  1911. package/lib/Cloudflare/Tunnel/index.js +6 -0
  1912. package/lib/Cloudflare/Tunnel/index.js.map +1 -0
  1913. package/lib/Cloudflare/Vectorize/VectorizeIndex.d.ts +114 -0
  1914. package/lib/Cloudflare/Vectorize/VectorizeIndex.d.ts.map +1 -0
  1915. package/lib/Cloudflare/Vectorize/VectorizeIndex.js +158 -0
  1916. package/lib/Cloudflare/Vectorize/VectorizeIndex.js.map +1 -0
  1917. package/lib/Cloudflare/Vectorize/VectorizeIndexBinding.d.ts +38 -0
  1918. package/lib/Cloudflare/Vectorize/VectorizeIndexBinding.d.ts.map +1 -0
  1919. package/lib/Cloudflare/Vectorize/VectorizeIndexBinding.js +44 -0
  1920. package/lib/Cloudflare/Vectorize/VectorizeIndexBinding.js.map +1 -0
  1921. package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.d.ts +72 -0
  1922. package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.d.ts.map +1 -0
  1923. package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.js +131 -0
  1924. package/lib/Cloudflare/Vectorize/VectorizeMetadataIndex.js.map +1 -0
  1925. package/lib/Cloudflare/Vectorize/index.d.ts +4 -0
  1926. package/lib/Cloudflare/Vectorize/index.d.ts.map +1 -0
  1927. package/lib/Cloudflare/Vectorize/index.js +4 -0
  1928. package/lib/Cloudflare/Vectorize/index.js.map +1 -0
  1929. package/lib/Cloudflare/VpcService/VpcService.d.ts +116 -0
  1930. package/lib/Cloudflare/VpcService/VpcService.d.ts.map +1 -0
  1931. package/lib/Cloudflare/VpcService/VpcService.js +197 -0
  1932. package/lib/Cloudflare/VpcService/VpcService.js.map +1 -0
  1933. package/lib/Cloudflare/VpcService/VpcServiceRef.d.ts +38 -0
  1934. package/lib/Cloudflare/VpcService/VpcServiceRef.d.ts.map +1 -0
  1935. package/lib/Cloudflare/VpcService/VpcServiceRef.js +41 -0
  1936. package/lib/Cloudflare/VpcService/VpcServiceRef.js.map +1 -0
  1937. package/lib/Cloudflare/VpcService/index.d.ts +3 -0
  1938. package/lib/Cloudflare/VpcService/index.d.ts.map +1 -0
  1939. package/lib/Cloudflare/VpcService/index.js +3 -0
  1940. package/lib/Cloudflare/VpcService/index.js.map +1 -0
  1941. package/lib/Cloudflare/Website/StaticSite.d.ts +110 -0
  1942. package/lib/Cloudflare/Website/StaticSite.d.ts.map +1 -0
  1943. package/lib/Cloudflare/Website/StaticSite.js +125 -0
  1944. package/lib/Cloudflare/Website/StaticSite.js.map +1 -0
  1945. package/lib/Cloudflare/Website/Vite.d.ts +106 -0
  1946. package/lib/Cloudflare/Website/Vite.d.ts.map +1 -0
  1947. package/lib/Cloudflare/Website/Vite.js +92 -0
  1948. package/lib/Cloudflare/Website/Vite.js.map +1 -0
  1949. package/lib/Cloudflare/Website/index.d.ts +3 -0
  1950. package/lib/Cloudflare/Website/index.d.ts.map +1 -0
  1951. package/lib/Cloudflare/Website/index.js +3 -0
  1952. package/lib/Cloudflare/Website/index.js.map +1 -0
  1953. package/lib/Cloudflare/Workers/Assets.d.ts +81 -0
  1954. package/lib/Cloudflare/Workers/Assets.d.ts.map +1 -0
  1955. package/lib/Cloudflare/Workers/Assets.js +190 -0
  1956. package/lib/Cloudflare/Workers/Assets.js.map +1 -0
  1957. package/lib/Cloudflare/Workers/Compatibility.d.ts +6 -0
  1958. package/lib/Cloudflare/Workers/Compatibility.d.ts.map +1 -0
  1959. package/lib/Cloudflare/Workers/Compatibility.js +10 -0
  1960. package/lib/Cloudflare/Workers/Compatibility.js.map +1 -0
  1961. package/lib/Cloudflare/Workers/ConfigProvider.d.ts +4 -0
  1962. package/lib/Cloudflare/Workers/ConfigProvider.d.ts.map +1 -0
  1963. package/lib/Cloudflare/Workers/ConfigProvider.js +5 -0
  1964. package/lib/Cloudflare/Workers/ConfigProvider.js.map +1 -0
  1965. package/lib/Cloudflare/Workers/CronEventSource.d.ts +34 -0
  1966. package/lib/Cloudflare/Workers/CronEventSource.d.ts.map +1 -0
  1967. package/lib/Cloudflare/Workers/CronEventSource.js +55 -0
  1968. package/lib/Cloudflare/Workers/CronEventSource.js.map +1 -0
  1969. package/lib/Cloudflare/Workers/DurableObjectBridge.d.ts +17 -0
  1970. package/lib/Cloudflare/Workers/DurableObjectBridge.d.ts.map +1 -0
  1971. package/lib/Cloudflare/Workers/DurableObjectBridge.js +96 -0
  1972. package/lib/Cloudflare/Workers/DurableObjectBridge.js.map +1 -0
  1973. package/lib/Cloudflare/Workers/DurableObjectChatPersistence.d.ts +69 -0
  1974. package/lib/Cloudflare/Workers/DurableObjectChatPersistence.d.ts.map +1 -0
  1975. package/lib/Cloudflare/Workers/DurableObjectChatPersistence.js +104 -0
  1976. package/lib/Cloudflare/Workers/DurableObjectChatPersistence.js.map +1 -0
  1977. package/lib/Cloudflare/Workers/DurableObjectNamespace.d.ts +640 -0
  1978. package/lib/Cloudflare/Workers/DurableObjectNamespace.d.ts.map +1 -0
  1979. package/lib/Cloudflare/Workers/DurableObjectNamespace.js +679 -0
  1980. package/lib/Cloudflare/Workers/DurableObjectNamespace.js.map +1 -0
  1981. package/lib/Cloudflare/Workers/DurableObjectState.d.ts +25 -0
  1982. package/lib/Cloudflare/Workers/DurableObjectState.d.ts.map +1 -0
  1983. package/lib/Cloudflare/Workers/DurableObjectState.js +22 -0
  1984. package/lib/Cloudflare/Workers/DurableObjectState.js.map +1 -0
  1985. package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts +67 -0
  1986. package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts.map +1 -0
  1987. package/lib/Cloudflare/Workers/DurableObjectStorage.js +59 -0
  1988. package/lib/Cloudflare/Workers/DurableObjectStorage.js.map +1 -0
  1989. package/lib/Cloudflare/Workers/DynamicWorkerLoader.d.ts +259 -0
  1990. package/lib/Cloudflare/Workers/DynamicWorkerLoader.d.ts.map +1 -0
  1991. package/lib/Cloudflare/Workers/DynamicWorkerLoader.js +202 -0
  1992. package/lib/Cloudflare/Workers/DynamicWorkerLoader.js.map +1 -0
  1993. package/lib/Cloudflare/Workers/Fetch.d.ts +19 -0
  1994. package/lib/Cloudflare/Workers/Fetch.d.ts.map +1 -0
  1995. package/lib/Cloudflare/Workers/Fetch.js +80 -0
  1996. package/lib/Cloudflare/Workers/Fetch.js.map +1 -0
  1997. package/lib/Cloudflare/Workers/HttpServer.d.ts +12 -0
  1998. package/lib/Cloudflare/Workers/HttpServer.d.ts.map +1 -0
  1999. package/lib/Cloudflare/Workers/HttpServer.js +47 -0
  2000. package/lib/Cloudflare/Workers/HttpServer.js.map +1 -0
  2001. package/lib/Cloudflare/Workers/InferEnv.d.ts +27 -0
  2002. package/lib/Cloudflare/Workers/InferEnv.d.ts.map +1 -0
  2003. package/lib/Cloudflare/Workers/InferEnv.js +2 -0
  2004. package/lib/Cloudflare/Workers/InferEnv.js.map +1 -0
  2005. package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts +22 -0
  2006. package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts.map +1 -0
  2007. package/lib/Cloudflare/Workers/LocalWorkerProvider.js +483 -0
  2008. package/lib/Cloudflare/Workers/LocalWorkerProvider.js.map +1 -0
  2009. package/lib/Cloudflare/Workers/Request.d.ts +6 -0
  2010. package/lib/Cloudflare/Workers/Request.d.ts.map +1 -0
  2011. package/lib/Cloudflare/Workers/Request.js +4 -0
  2012. package/lib/Cloudflare/Workers/Request.js.map +1 -0
  2013. package/lib/Cloudflare/Workers/Rpc.d.ts +106 -0
  2014. package/lib/Cloudflare/Workers/Rpc.d.ts.map +1 -0
  2015. package/lib/Cloudflare/Workers/Rpc.js +224 -0
  2016. package/lib/Cloudflare/Workers/Rpc.js.map +1 -0
  2017. package/lib/Cloudflare/Workers/RpcAsync.d.ts +63 -0
  2018. package/lib/Cloudflare/Workers/RpcAsync.d.ts.map +1 -0
  2019. package/lib/Cloudflare/Workers/RpcAsync.js +100 -0
  2020. package/lib/Cloudflare/Workers/RpcAsync.js.map +1 -0
  2021. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.d.ts +285 -0
  2022. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.d.ts.map +1 -0
  2023. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.js +288 -0
  2024. package/lib/Cloudflare/Workers/RpcDurableObjectNamespace.js.map +1 -0
  2025. package/lib/Cloudflare/Workers/RpcWorker.d.ts +305 -0
  2026. package/lib/Cloudflare/Workers/RpcWorker.d.ts.map +1 -0
  2027. package/lib/Cloudflare/Workers/RpcWorker.js +350 -0
  2028. package/lib/Cloudflare/Workers/RpcWorker.js.map +1 -0
  2029. package/lib/Cloudflare/Workers/ScheduledEvents.d.ts +49 -0
  2030. package/lib/Cloudflare/Workers/ScheduledEvents.d.ts.map +1 -0
  2031. package/lib/Cloudflare/Workers/ScheduledEvents.js +107 -0
  2032. package/lib/Cloudflare/Workers/ScheduledEvents.js.map +1 -0
  2033. package/lib/Cloudflare/Workers/Vite.d.ts +9 -0
  2034. package/lib/Cloudflare/Workers/Vite.d.ts.map +1 -0
  2035. package/lib/Cloudflare/Workers/Vite.js +96 -0
  2036. package/lib/Cloudflare/Workers/Vite.js.map +1 -0
  2037. package/lib/Cloudflare/Workers/WebSocket.d.ts +15 -0
  2038. package/lib/Cloudflare/Workers/WebSocket.d.ts.map +1 -0
  2039. package/lib/Cloudflare/Workers/WebSocket.js +29 -0
  2040. package/lib/Cloudflare/Workers/WebSocket.js.map +1 -0
  2041. package/lib/Cloudflare/Workers/Worker.d.ts +589 -0
  2042. package/lib/Cloudflare/Workers/Worker.d.ts.map +1 -0
  2043. package/lib/Cloudflare/Workers/Worker.js +1544 -0
  2044. package/lib/Cloudflare/Workers/Worker.js.map +1 -0
  2045. package/lib/Cloudflare/Workers/WorkerAsyncBindings.d.ts +8 -0
  2046. package/lib/Cloudflare/Workers/WorkerAsyncBindings.d.ts.map +1 -0
  2047. package/lib/Cloudflare/Workers/WorkerAsyncBindings.js +225 -0
  2048. package/lib/Cloudflare/Workers/WorkerAsyncBindings.js.map +1 -0
  2049. package/lib/Cloudflare/Workers/WorkerBinding.d.ts +146 -0
  2050. package/lib/Cloudflare/Workers/WorkerBinding.d.ts.map +1 -0
  2051. package/lib/Cloudflare/Workers/WorkerBinding.js +54 -0
  2052. package/lib/Cloudflare/Workers/WorkerBinding.js.map +1 -0
  2053. package/lib/Cloudflare/Workers/WorkerBridge.d.ts +35 -0
  2054. package/lib/Cloudflare/Workers/WorkerBridge.d.ts.map +1 -0
  2055. package/lib/Cloudflare/Workers/WorkerBridge.js +168 -0
  2056. package/lib/Cloudflare/Workers/WorkerBridge.js.map +1 -0
  2057. package/lib/Cloudflare/Workers/WorkerBundle.d.ts +35 -0
  2058. package/lib/Cloudflare/Workers/WorkerBundle.d.ts.map +1 -0
  2059. package/lib/Cloudflare/Workers/WorkerBundle.js +124 -0
  2060. package/lib/Cloudflare/Workers/WorkerBundle.js.map +1 -0
  2061. package/lib/Cloudflare/Workers/WorkerName.d.ts +3 -0
  2062. package/lib/Cloudflare/Workers/WorkerName.d.ts.map +1 -0
  2063. package/lib/Cloudflare/Workers/WorkerName.js +9 -0
  2064. package/lib/Cloudflare/Workers/WorkerName.js.map +1 -0
  2065. package/lib/Cloudflare/Workers/WorkerRuntimeContext.d.ts +8 -0
  2066. package/lib/Cloudflare/Workers/WorkerRuntimeContext.d.ts.map +1 -0
  2067. package/lib/Cloudflare/Workers/WorkerRuntimeContext.js +114 -0
  2068. package/lib/Cloudflare/Workers/WorkerRuntimeContext.js.map +1 -0
  2069. package/lib/Cloudflare/Workers/Workflow.d.ts +305 -0
  2070. package/lib/Cloudflare/Workers/Workflow.d.ts.map +1 -0
  2071. package/lib/Cloudflare/Workers/Workflow.js +340 -0
  2072. package/lib/Cloudflare/Workers/Workflow.js.map +1 -0
  2073. package/lib/Cloudflare/Workers/WorkflowBridge.d.ts +26 -0
  2074. package/lib/Cloudflare/Workers/WorkflowBridge.d.ts.map +1 -0
  2075. package/lib/Cloudflare/Workers/WorkflowBridge.js +41 -0
  2076. package/lib/Cloudflare/Workers/WorkflowBridge.js.map +1 -0
  2077. package/lib/Cloudflare/Workers/cloudflare_workers.d.ts +4 -0
  2078. package/lib/Cloudflare/Workers/cloudflare_workers.d.ts.map +1 -0
  2079. package/lib/Cloudflare/Workers/cloudflare_workers.js +12 -0
  2080. package/lib/Cloudflare/Workers/cloudflare_workers.js.map +1 -0
  2081. package/lib/Cloudflare/Workers/index.d.ts +25 -0
  2082. package/lib/Cloudflare/Workers/index.d.ts.map +1 -0
  2083. package/lib/Cloudflare/Workers/index.js +25 -0
  2084. package/lib/Cloudflare/Workers/index.js.map +1 -0
  2085. package/lib/Cloudflare/Zaraz/ZarazConfig.d.ts +184 -0
  2086. package/lib/Cloudflare/Zaraz/ZarazConfig.d.ts.map +1 -0
  2087. package/lib/Cloudflare/Zaraz/ZarazConfig.js +216 -0
  2088. package/lib/Cloudflare/Zaraz/ZarazConfig.js.map +1 -0
  2089. package/lib/Cloudflare/Zaraz/ZarazEventTypes.d.ts +188 -0
  2090. package/lib/Cloudflare/Zaraz/ZarazEventTypes.d.ts.map +1 -0
  2091. package/lib/Cloudflare/Zaraz/ZarazEventTypes.js +4 -0
  2092. package/lib/Cloudflare/Zaraz/ZarazEventTypes.js.map +1 -0
  2093. package/lib/Cloudflare/Zaraz/index.d.ts +3 -0
  2094. package/lib/Cloudflare/Zaraz/index.d.ts.map +1 -0
  2095. package/lib/Cloudflare/Zaraz/index.js +2 -0
  2096. package/lib/Cloudflare/Zaraz/index.js.map +1 -0
  2097. package/lib/Cloudflare/Zone/Zone.d.ts +170 -0
  2098. package/lib/Cloudflare/Zone/Zone.d.ts.map +1 -0
  2099. package/lib/Cloudflare/Zone/Zone.js +180 -0
  2100. package/lib/Cloudflare/Zone/Zone.js.map +1 -0
  2101. package/lib/Cloudflare/Zone/index.d.ts +3 -0
  2102. package/lib/Cloudflare/Zone/index.d.ts.map +1 -0
  2103. package/lib/Cloudflare/Zone/index.js +3 -0
  2104. package/lib/Cloudflare/Zone/index.js.map +1 -0
  2105. package/lib/Cloudflare/Zone/lookup.d.ts +33 -0
  2106. package/lib/Cloudflare/Zone/lookup.d.ts.map +1 -0
  2107. package/lib/Cloudflare/Zone/lookup.js +44 -0
  2108. package/lib/Cloudflare/Zone/lookup.js.map +1 -0
  2109. package/lib/Cloudflare/index.d.ts +31 -0
  2110. package/lib/Cloudflare/index.d.ts.map +1 -0
  2111. package/lib/Cloudflare/index.js +31 -0
  2112. package/lib/Cloudflare/index.js.map +1 -0
  2113. package/lib/Cloudflare/stream.d.ts +10 -0
  2114. package/lib/Cloudflare/stream.d.ts.map +1 -0
  2115. package/lib/Cloudflare/stream.js +14 -0
  2116. package/lib/Cloudflare/stream.js.map +1 -0
  2117. package/lib/Construct.d.ts +56 -0
  2118. package/lib/Construct.d.ts.map +1 -0
  2119. package/lib/Construct.js +51 -0
  2120. package/lib/Construct.js.map +1 -0
  2121. package/lib/Dependencies.d.ts +10 -0
  2122. package/lib/Dependencies.d.ts.map +1 -0
  2123. package/lib/Dependencies.js +1 -0
  2124. package/lib/Dependencies.js.map +1 -0
  2125. package/lib/Deploy.d.ts +16 -0
  2126. package/lib/Deploy.d.ts.map +1 -0
  2127. package/lib/Deploy.js +12 -0
  2128. package/lib/Deploy.js.map +1 -0
  2129. package/lib/Destroy.d.ts +14 -0
  2130. package/lib/Destroy.d.ts.map +1 -0
  2131. package/lib/Destroy.js +14 -0
  2132. package/lib/Destroy.js.map +1 -0
  2133. package/lib/Diff.d.ts +67 -0
  2134. package/lib/Diff.d.ts.map +1 -0
  2135. package/lib/Diff.js +113 -0
  2136. package/lib/Diff.js.map +1 -0
  2137. package/lib/Drizzle/Postgres.d.ts +43 -0
  2138. package/lib/Drizzle/Postgres.d.ts.map +1 -0
  2139. package/lib/Drizzle/Postgres.js +51 -0
  2140. package/lib/Drizzle/Postgres.js.map +1 -0
  2141. package/lib/Drizzle/Providers.d.ts +47 -0
  2142. package/lib/Drizzle/Providers.d.ts.map +1 -0
  2143. package/lib/Drizzle/Providers.js +45 -0
  2144. package/lib/Drizzle/Providers.js.map +1 -0
  2145. package/lib/Drizzle/Schema.d.ts +77 -0
  2146. package/lib/Drizzle/Schema.d.ts.map +1 -0
  2147. package/lib/Drizzle/Schema.js +187 -0
  2148. package/lib/Drizzle/Schema.js.map +1 -0
  2149. package/lib/Drizzle/index.d.ts +4 -0
  2150. package/lib/Drizzle/index.d.ts.map +1 -0
  2151. package/lib/Drizzle/index.js +4 -0
  2152. package/lib/Drizzle/index.js.map +1 -0
  2153. package/lib/ExecutionContext.d.ts +18 -0
  2154. package/lib/ExecutionContext.d.ts.map +1 -0
  2155. package/lib/ExecutionContext.js +10 -0
  2156. package/lib/ExecutionContext.js.map +1 -0
  2157. package/lib/FQN.d.ts +60 -0
  2158. package/lib/FQN.d.ts.map +1 -0
  2159. package/lib/FQN.js +82 -0
  2160. package/lib/FQN.js.map +1 -0
  2161. package/lib/GitHub/AuthProvider.d.ts +39 -0
  2162. package/lib/GitHub/AuthProvider.d.ts.map +1 -0
  2163. package/lib/GitHub/AuthProvider.js +160 -0
  2164. package/lib/GitHub/AuthProvider.js.map +1 -0
  2165. package/lib/GitHub/Comment.d.ts +134 -0
  2166. package/lib/GitHub/Comment.d.ts.map +1 -0
  2167. package/lib/GitHub/Comment.js +172 -0
  2168. package/lib/GitHub/Comment.js.map +1 -0
  2169. package/lib/GitHub/Credentials.d.ts +30 -0
  2170. package/lib/GitHub/Credentials.d.ts.map +1 -0
  2171. package/lib/GitHub/Credentials.js +54 -0
  2172. package/lib/GitHub/Credentials.js.map +1 -0
  2173. package/lib/GitHub/Providers.d.ts +14 -0
  2174. package/lib/GitHub/Providers.d.ts.map +1 -0
  2175. package/lib/GitHub/Providers.js +18 -0
  2176. package/lib/GitHub/Providers.js.map +1 -0
  2177. package/lib/GitHub/Secret.d.ts +118 -0
  2178. package/lib/GitHub/Secret.d.ts.map +1 -0
  2179. package/lib/GitHub/Secret.js +196 -0
  2180. package/lib/GitHub/Secret.js.map +1 -0
  2181. package/lib/GitHub/Secrets.d.ts +45 -0
  2182. package/lib/GitHub/Secrets.d.ts.map +1 -0
  2183. package/lib/GitHub/Secrets.js +43 -0
  2184. package/lib/GitHub/Secrets.js.map +1 -0
  2185. package/lib/GitHub/Variable.d.ts +93 -0
  2186. package/lib/GitHub/Variable.d.ts.map +1 -0
  2187. package/lib/GitHub/Variable.js +136 -0
  2188. package/lib/GitHub/Variable.js.map +1 -0
  2189. package/lib/GitHub/Variables.d.ts +40 -0
  2190. package/lib/GitHub/Variables.d.ts.map +1 -0
  2191. package/lib/GitHub/Variables.js +28 -0
  2192. package/lib/GitHub/Variables.js.map +1 -0
  2193. package/lib/GitHub/index.d.ts +9 -0
  2194. package/lib/GitHub/index.d.ts.map +1 -0
  2195. package/lib/GitHub/index.js +9 -0
  2196. package/lib/GitHub/index.js.map +1 -0
  2197. package/lib/Http.d.ts +26 -0
  2198. package/lib/Http.d.ts.map +1 -0
  2199. package/lib/Http.js +55 -0
  2200. package/lib/Http.js.map +1 -0
  2201. package/lib/Input.d.ts +40 -0
  2202. package/lib/Input.d.ts.map +1 -0
  2203. package/lib/Input.js +1 -0
  2204. package/lib/Input.js.map +1 -0
  2205. package/lib/InstanceId.d.ts +12 -0
  2206. package/lib/InstanceId.d.ts.map +1 -0
  2207. package/lib/InstanceId.js +16 -0
  2208. package/lib/InstanceId.js.map +1 -0
  2209. package/lib/KeyPair.d.ts +77 -0
  2210. package/lib/KeyPair.d.ts.map +1 -0
  2211. package/lib/KeyPair.js +102 -0
  2212. package/lib/KeyPair.js.map +1 -0
  2213. package/lib/Kubernetes/ConfigMap.d.ts +63 -0
  2214. package/lib/Kubernetes/ConfigMap.d.ts.map +1 -0
  2215. package/lib/Kubernetes/ConfigMap.js +30 -0
  2216. package/lib/Kubernetes/ConfigMap.js.map +1 -0
  2217. package/lib/Kubernetes/Deployment.d.ts +102 -0
  2218. package/lib/Kubernetes/Deployment.d.ts.map +1 -0
  2219. package/lib/Kubernetes/Deployment.js +55 -0
  2220. package/lib/Kubernetes/Deployment.js.map +1 -0
  2221. package/lib/Kubernetes/Job.d.ts +76 -0
  2222. package/lib/Kubernetes/Job.d.ts.map +1 -0
  2223. package/lib/Kubernetes/Job.js +47 -0
  2224. package/lib/Kubernetes/Job.js.map +1 -0
  2225. package/lib/Kubernetes/Namespace.d.ts +37 -0
  2226. package/lib/Kubernetes/Namespace.d.ts.map +1 -0
  2227. package/lib/Kubernetes/Namespace.js +22 -0
  2228. package/lib/Kubernetes/Namespace.js.map +1 -0
  2229. package/lib/Kubernetes/Object.d.ts +78 -0
  2230. package/lib/Kubernetes/Object.d.ts.map +1 -0
  2231. package/lib/Kubernetes/Object.js +53 -0
  2232. package/lib/Kubernetes/Object.js.map +1 -0
  2233. package/lib/Kubernetes/Service.d.ts +77 -0
  2234. package/lib/Kubernetes/Service.d.ts.map +1 -0
  2235. package/lib/Kubernetes/Service.js +33 -0
  2236. package/lib/Kubernetes/Service.js.map +1 -0
  2237. package/lib/Kubernetes/ServiceAccount.d.ts +56 -0
  2238. package/lib/Kubernetes/ServiceAccount.d.ts.map +1 -0
  2239. package/lib/Kubernetes/ServiceAccount.js +24 -0
  2240. package/lib/Kubernetes/ServiceAccount.js.map +1 -0
  2241. package/lib/Kubernetes/client.d.ts +52 -0
  2242. package/lib/Kubernetes/client.d.ts.map +1 -0
  2243. package/lib/Kubernetes/client.js +173 -0
  2244. package/lib/Kubernetes/client.js.map +1 -0
  2245. package/lib/Kubernetes/common.d.ts +20 -0
  2246. package/lib/Kubernetes/common.d.ts.map +1 -0
  2247. package/lib/Kubernetes/common.js +9 -0
  2248. package/lib/Kubernetes/common.js.map +1 -0
  2249. package/lib/Kubernetes/index.d.ts +11 -0
  2250. package/lib/Kubernetes/index.d.ts.map +1 -0
  2251. package/lib/Kubernetes/index.js +11 -0
  2252. package/lib/Kubernetes/index.js.map +1 -0
  2253. package/lib/Kubernetes/types.d.ts +37 -0
  2254. package/lib/Kubernetes/types.d.ts.map +1 -0
  2255. package/lib/Kubernetes/types.js +92 -0
  2256. package/lib/Kubernetes/types.js.map +1 -0
  2257. package/lib/Local/RpcProvider.d.ts +56 -0
  2258. package/lib/Local/RpcProvider.d.ts.map +1 -0
  2259. package/lib/Local/RpcProvider.js +83 -0
  2260. package/lib/Local/RpcProvider.js.map +1 -0
  2261. package/lib/Local/RpcProviderProxy.d.ts +19 -0
  2262. package/lib/Local/RpcProviderProxy.d.ts.map +1 -0
  2263. package/lib/Local/RpcProviderProxy.js +48 -0
  2264. package/lib/Local/RpcProviderProxy.js.map +1 -0
  2265. package/lib/Local/RpcSerialization.d.ts +34 -0
  2266. package/lib/Local/RpcSerialization.d.ts.map +1 -0
  2267. package/lib/Local/RpcSerialization.js +120 -0
  2268. package/lib/Local/RpcSerialization.js.map +1 -0
  2269. package/lib/Local/RpcServer.d.ts +63 -0
  2270. package/lib/Local/RpcServer.d.ts.map +1 -0
  2271. package/lib/Local/RpcServer.js +72 -0
  2272. package/lib/Local/RpcServer.js.map +1 -0
  2273. package/lib/Local/RpcServerBun.d.ts +3 -0
  2274. package/lib/Local/RpcServerBun.d.ts.map +1 -0
  2275. package/lib/Local/RpcServerBun.js +47 -0
  2276. package/lib/Local/RpcServerBun.js.map +1 -0
  2277. package/lib/Local/RpcServerEnvironment.d.ts +20 -0
  2278. package/lib/Local/RpcServerEnvironment.d.ts.map +1 -0
  2279. package/lib/Local/RpcServerEnvironment.js +22 -0
  2280. package/lib/Local/RpcServerEnvironment.js.map +1 -0
  2281. package/lib/Local/RpcServerNode.d.ts +3 -0
  2282. package/lib/Local/RpcServerNode.d.ts.map +1 -0
  2283. package/lib/Local/RpcServerNode.js +43 -0
  2284. package/lib/Local/RpcServerNode.js.map +1 -0
  2285. package/lib/Local/RpcServerSession.d.ts +27 -0
  2286. package/lib/Local/RpcServerSession.d.ts.map +1 -0
  2287. package/lib/Local/RpcServerSession.js +68 -0
  2288. package/lib/Local/RpcServerSession.js.map +1 -0
  2289. package/lib/Local/RpcSpawner.d.ts +21 -0
  2290. package/lib/Local/RpcSpawner.d.ts.map +1 -0
  2291. package/lib/Local/RpcSpawner.js +132 -0
  2292. package/lib/Local/RpcSpawner.js.map +1 -0
  2293. package/lib/Namespace.d.ts +18 -0
  2294. package/lib/Namespace.d.ts.map +1 -0
  2295. package/lib/Namespace.js +30 -0
  2296. package/lib/Namespace.js.map +1 -0
  2297. package/lib/Neon/AuthProvider.d.ts +27 -0
  2298. package/lib/Neon/AuthProvider.d.ts.map +1 -0
  2299. package/lib/Neon/AuthProvider.js +115 -0
  2300. package/lib/Neon/AuthProvider.js.map +1 -0
  2301. package/lib/Neon/Branch.d.ts +164 -0
  2302. package/lib/Neon/Branch.d.ts.map +1 -0
  2303. package/lib/Neon/Branch.js +381 -0
  2304. package/lib/Neon/Branch.js.map +1 -0
  2305. package/lib/Neon/Credentials.d.ts +8 -0
  2306. package/lib/Neon/Credentials.d.ts.map +1 -0
  2307. package/lib/Neon/Credentials.js +23 -0
  2308. package/lib/Neon/Credentials.js.map +1 -0
  2309. package/lib/Neon/Migrations.d.ts +28 -0
  2310. package/lib/Neon/Migrations.d.ts.map +1 -0
  2311. package/lib/Neon/Migrations.js +100 -0
  2312. package/lib/Neon/Migrations.js.map +1 -0
  2313. package/lib/Neon/NeonEnvironment.d.ts +11 -0
  2314. package/lib/Neon/NeonEnvironment.d.ts.map +1 -0
  2315. package/lib/Neon/NeonEnvironment.js +18 -0
  2316. package/lib/Neon/NeonEnvironment.js.map +1 -0
  2317. package/lib/Neon/PostgresOrigin.d.ts +28 -0
  2318. package/lib/Neon/PostgresOrigin.d.ts.map +1 -0
  2319. package/lib/Neon/PostgresOrigin.js +19 -0
  2320. package/lib/Neon/PostgresOrigin.js.map +1 -0
  2321. package/lib/Neon/Project.d.ts +178 -0
  2322. package/lib/Neon/Project.d.ts.map +1 -0
  2323. package/lib/Neon/Project.js +406 -0
  2324. package/lib/Neon/Project.js.map +1 -0
  2325. package/lib/Neon/Providers.d.ts +38 -0
  2326. package/lib/Neon/Providers.d.ts.map +1 -0
  2327. package/lib/Neon/Providers.js +42 -0
  2328. package/lib/Neon/Providers.js.map +1 -0
  2329. package/lib/Neon/index.d.ts +6 -0
  2330. package/lib/Neon/index.d.ts.map +1 -0
  2331. package/lib/Neon/index.js +6 -0
  2332. package/lib/Neon/index.js.map +1 -0
  2333. package/lib/Output.d.ts +209 -0
  2334. package/lib/Output.d.ts.map +1 -0
  2335. package/lib/Output.js +509 -0
  2336. package/lib/Output.js.map +1 -0
  2337. package/lib/Phase.d.ts +4 -0
  2338. package/lib/Phase.d.ts.map +1 -0
  2339. package/lib/Phase.js +9 -0
  2340. package/lib/Phase.js.map +1 -0
  2341. package/lib/PhysicalName.d.ts +31 -0
  2342. package/lib/PhysicalName.d.ts.map +1 -0
  2343. package/lib/PhysicalName.js +23 -0
  2344. package/lib/PhysicalName.js.map +1 -0
  2345. package/lib/Plan.d.ts +128 -0
  2346. package/lib/Plan.d.ts.map +1 -0
  2347. package/lib/Plan.js +1034 -0
  2348. package/lib/Plan.js.map +1 -0
  2349. package/lib/Planetscale/AuthProvider.d.ts +59 -0
  2350. package/lib/Planetscale/AuthProvider.d.ts.map +1 -0
  2351. package/lib/Planetscale/AuthProvider.js +131 -0
  2352. package/lib/Planetscale/AuthProvider.js.map +1 -0
  2353. package/lib/Planetscale/Branch.d.ts +113 -0
  2354. package/lib/Planetscale/Branch.d.ts.map +1 -0
  2355. package/lib/Planetscale/Branch.js +287 -0
  2356. package/lib/Planetscale/Branch.js.map +1 -0
  2357. package/lib/Planetscale/Credentials.d.ts +35 -0
  2358. package/lib/Planetscale/Credentials.d.ts.map +1 -0
  2359. package/lib/Planetscale/Credentials.js +56 -0
  2360. package/lib/Planetscale/Credentials.js.map +1 -0
  2361. package/lib/Planetscale/Database.d.ts +117 -0
  2362. package/lib/Planetscale/Database.d.ts.map +1 -0
  2363. package/lib/Planetscale/Database.js +1 -0
  2364. package/lib/Planetscale/Database.js.map +1 -0
  2365. package/lib/Planetscale/MySQL/MySQLBranch.d.ts +86 -0
  2366. package/lib/Planetscale/MySQL/MySQLBranch.d.ts.map +1 -0
  2367. package/lib/Planetscale/MySQL/MySQLBranch.js +14 -0
  2368. package/lib/Planetscale/MySQL/MySQLBranch.js.map +1 -0
  2369. package/lib/Planetscale/MySQL/MySQLClusterSize.d.ts +23 -0
  2370. package/lib/Planetscale/MySQL/MySQLClusterSize.d.ts.map +1 -0
  2371. package/lib/Planetscale/MySQL/MySQLClusterSize.js +44 -0
  2372. package/lib/Planetscale/MySQL/MySQLClusterSize.js.map +1 -0
  2373. package/lib/Planetscale/MySQL/MySQLDatabase.d.ts +117 -0
  2374. package/lib/Planetscale/MySQL/MySQLDatabase.d.ts.map +1 -0
  2375. package/lib/Planetscale/MySQL/MySQLDatabase.js +235 -0
  2376. package/lib/Planetscale/MySQL/MySQLDatabase.js.map +1 -0
  2377. package/lib/Planetscale/MySQL/MySQLMigrations.d.ts +18 -0
  2378. package/lib/Planetscale/MySQL/MySQLMigrations.d.ts.map +1 -0
  2379. package/lib/Planetscale/MySQL/MySQLMigrations.js +157 -0
  2380. package/lib/Planetscale/MySQL/MySQLMigrations.js.map +1 -0
  2381. package/lib/Planetscale/MySQL/MySQLOrigin.d.ts +15 -0
  2382. package/lib/Planetscale/MySQL/MySQLOrigin.d.ts.map +1 -0
  2383. package/lib/Planetscale/MySQL/MySQLOrigin.js +2 -0
  2384. package/lib/Planetscale/MySQL/MySQLOrigin.js.map +1 -0
  2385. package/lib/Planetscale/MySQL/MySQLPassword.d.ts +115 -0
  2386. package/lib/Planetscale/MySQL/MySQLPassword.d.ts.map +1 -0
  2387. package/lib/Planetscale/MySQL/MySQLPassword.js +197 -0
  2388. package/lib/Planetscale/MySQL/MySQLPassword.js.map +1 -0
  2389. package/lib/Planetscale/MySQL/index.d.ts +6 -0
  2390. package/lib/Planetscale/MySQL/index.d.ts.map +1 -0
  2391. package/lib/Planetscale/MySQL/index.js +6 -0
  2392. package/lib/Planetscale/MySQL/index.js.map +1 -0
  2393. package/lib/Planetscale/Postgres/PostgresBranch.d.ts +67 -0
  2394. package/lib/Planetscale/Postgres/PostgresBranch.d.ts.map +1 -0
  2395. package/lib/Planetscale/Postgres/PostgresBranch.js +14 -0
  2396. package/lib/Planetscale/Postgres/PostgresBranch.js.map +1 -0
  2397. package/lib/Planetscale/Postgres/PostgresClusterSize.d.ts +44 -0
  2398. package/lib/Planetscale/Postgres/PostgresClusterSize.d.ts.map +1 -0
  2399. package/lib/Planetscale/Postgres/PostgresClusterSize.js +72 -0
  2400. package/lib/Planetscale/Postgres/PostgresClusterSize.js.map +1 -0
  2401. package/lib/Planetscale/Postgres/PostgresDatabase.d.ts +71 -0
  2402. package/lib/Planetscale/Postgres/PostgresDatabase.d.ts.map +1 -0
  2403. package/lib/Planetscale/Postgres/PostgresDatabase.js +239 -0
  2404. package/lib/Planetscale/Postgres/PostgresDatabase.js.map +1 -0
  2405. package/lib/Planetscale/Postgres/PostgresDefaultRole.d.ts +85 -0
  2406. package/lib/Planetscale/Postgres/PostgresDefaultRole.d.ts.map +1 -0
  2407. package/lib/Planetscale/Postgres/PostgresDefaultRole.js +142 -0
  2408. package/lib/Planetscale/Postgres/PostgresDefaultRole.js.map +1 -0
  2409. package/lib/Planetscale/Postgres/PostgresMigrations.d.ts +18 -0
  2410. package/lib/Planetscale/Postgres/PostgresMigrations.d.ts.map +1 -0
  2411. package/lib/Planetscale/Postgres/PostgresMigrations.js +148 -0
  2412. package/lib/Planetscale/Postgres/PostgresMigrations.js.map +1 -0
  2413. package/lib/Planetscale/Postgres/PostgresOrigin.d.ts +15 -0
  2414. package/lib/Planetscale/Postgres/PostgresOrigin.d.ts.map +1 -0
  2415. package/lib/Planetscale/Postgres/PostgresOrigin.js +2 -0
  2416. package/lib/Planetscale/Postgres/PostgresOrigin.js.map +1 -0
  2417. package/lib/Planetscale/Postgres/PostgresRole.d.ts +121 -0
  2418. package/lib/Planetscale/Postgres/PostgresRole.d.ts.map +1 -0
  2419. package/lib/Planetscale/Postgres/PostgresRole.js +228 -0
  2420. package/lib/Planetscale/Postgres/PostgresRole.js.map +1 -0
  2421. package/lib/Planetscale/Postgres/index.d.ts +7 -0
  2422. package/lib/Planetscale/Postgres/index.d.ts.map +1 -0
  2423. package/lib/Planetscale/Postgres/index.js +7 -0
  2424. package/lib/Planetscale/Postgres/index.js.map +1 -0
  2425. package/lib/Planetscale/Providers.d.ts +25 -0
  2426. package/lib/Planetscale/Providers.d.ts.map +1 -0
  2427. package/lib/Planetscale/Providers.js +40 -0
  2428. package/lib/Planetscale/Providers.js.map +1 -0
  2429. package/lib/Planetscale/Util.d.ts +182 -0
  2430. package/lib/Planetscale/Util.d.ts.map +1 -0
  2431. package/lib/Planetscale/Util.js +98 -0
  2432. package/lib/Planetscale/Util.js.map +1 -0
  2433. package/lib/Planetscale/index.d.ts +9 -0
  2434. package/lib/Planetscale/index.d.ts.map +1 -0
  2435. package/lib/Planetscale/index.js +9 -0
  2436. package/lib/Planetscale/index.js.map +1 -0
  2437. package/lib/Platform.d.ts +60 -0
  2438. package/lib/Platform.d.ts.map +1 -0
  2439. package/lib/Platform.js +186 -0
  2440. package/lib/Platform.js.map +1 -0
  2441. package/lib/Provider.d.ts +155 -0
  2442. package/lib/Provider.d.ts.map +1 -0
  2443. package/lib/Provider.js +53 -0
  2444. package/lib/Provider.js.map +1 -0
  2445. package/lib/Random.d.ts +24 -0
  2446. package/lib/Random.d.ts.map +1 -0
  2447. package/lib/Random.js +36 -0
  2448. package/lib/Random.js.map +1 -0
  2449. package/lib/Ref.d.ts +17 -0
  2450. package/lib/Ref.d.ts.map +1 -0
  2451. package/lib/Ref.js +21 -0
  2452. package/lib/Ref.js.map +1 -0
  2453. package/lib/RemovalPolicy.d.ts +15 -0
  2454. package/lib/RemovalPolicy.d.ts.map +1 -0
  2455. package/lib/RemovalPolicy.js +11 -0
  2456. package/lib/RemovalPolicy.js.map +1 -0
  2457. package/lib/Resource.d.ts +117 -0
  2458. package/lib/Resource.d.ts.map +1 -0
  2459. package/lib/Resource.js +139 -0
  2460. package/lib/Resource.js.map +1 -0
  2461. package/lib/Rpc.d.ts +17 -0
  2462. package/lib/Rpc.d.ts.map +1 -0
  2463. package/lib/Rpc.js +1 -0
  2464. package/lib/Rpc.js.map +1 -0
  2465. package/lib/Runtime.d.ts +24 -0
  2466. package/lib/Runtime.d.ts.map +1 -0
  2467. package/lib/Runtime.js +31 -0
  2468. package/lib/Runtime.js.map +1 -0
  2469. package/lib/RuntimeContext.d.ts +50 -0
  2470. package/lib/RuntimeContext.d.ts.map +1 -0
  2471. package/lib/RuntimeContext.js +25 -0
  2472. package/lib/RuntimeContext.js.map +1 -0
  2473. package/lib/SQLite/BunSQLite.d.ts +13 -0
  2474. package/lib/SQLite/BunSQLite.d.ts.map +1 -0
  2475. package/lib/SQLite/BunSQLite.js +84 -0
  2476. package/lib/SQLite/BunSQLite.js.map +1 -0
  2477. package/lib/SQLite/SQLite.d.ts +18 -0
  2478. package/lib/SQLite/SQLite.d.ts.map +1 -0
  2479. package/lib/SQLite/SQLite.js +4 -0
  2480. package/lib/SQLite/SQLite.js.map +1 -0
  2481. package/lib/SQLite/SQLiteConnection.d.ts +49 -0
  2482. package/lib/SQLite/SQLiteConnection.d.ts.map +1 -0
  2483. package/lib/SQLite/SQLiteConnection.js +1 -0
  2484. package/lib/SQLite/SQLiteConnection.js.map +1 -0
  2485. package/lib/SQLite/SQLiteError.d.ts +624 -0
  2486. package/lib/SQLite/SQLiteError.d.ts.map +1 -0
  2487. package/lib/SQLite/SQLiteError.js +590 -0
  2488. package/lib/SQLite/SQLiteError.js.map +1 -0
  2489. package/lib/SQLite/SQLiteStatement.d.ts +20 -0
  2490. package/lib/SQLite/SQLiteStatement.d.ts.map +1 -0
  2491. package/lib/SQLite/SQLiteStatement.js +2 -0
  2492. package/lib/SQLite/SQLiteStatement.js.map +1 -0
  2493. package/lib/SQLite/index.d.ts +7 -0
  2494. package/lib/SQLite/index.d.ts.map +1 -0
  2495. package/lib/SQLite/index.js +7 -0
  2496. package/lib/SQLite/index.js.map +1 -0
  2497. package/lib/SQLite/libSQL.d.ts +21 -0
  2498. package/lib/SQLite/libSQL.d.ts.map +1 -0
  2499. package/lib/SQLite/libSQL.js +138 -0
  2500. package/lib/SQLite/libSQL.js.map +1 -0
  2501. package/lib/Schema.d.ts +90 -0
  2502. package/lib/Schema.d.ts.map +1 -0
  2503. package/lib/Schema.js +113 -0
  2504. package/lib/Schema.js.map +1 -0
  2505. package/lib/Self.d.ts +13 -0
  2506. package/lib/Self.d.ts.map +1 -0
  2507. package/lib/Self.js +4 -0
  2508. package/lib/Self.js.map +1 -0
  2509. package/lib/Server/Process.d.ts +21 -0
  2510. package/lib/Server/Process.d.ts.map +1 -0
  2511. package/lib/Server/Process.js +10 -0
  2512. package/lib/Server/Process.js.map +1 -0
  2513. package/lib/Server/S3BucketEventSource.d.ts +15 -0
  2514. package/lib/Server/S3BucketEventSource.d.ts.map +1 -0
  2515. package/lib/Server/S3BucketEventSource.js +57 -0
  2516. package/lib/Server/S3BucketEventSource.js.map +1 -0
  2517. package/lib/Server/SQSQueueEventSource.d.ts +6 -0
  2518. package/lib/Server/SQSQueueEventSource.d.ts.map +1 -0
  2519. package/lib/Server/SQSQueueEventSource.js +51 -0
  2520. package/lib/Server/SQSQueueEventSource.js.map +1 -0
  2521. package/lib/Server/index.d.ts +4 -0
  2522. package/lib/Server/index.d.ts.map +1 -0
  2523. package/lib/Server/index.js +4 -0
  2524. package/lib/Server/index.js.map +1 -0
  2525. package/lib/Serverless/Function.d.ts +19 -0
  2526. package/lib/Serverless/Function.d.ts.map +1 -0
  2527. package/lib/Serverless/Function.js +2 -0
  2528. package/lib/Serverless/Function.js.map +1 -0
  2529. package/lib/Serverless/index.d.ts +2 -0
  2530. package/lib/Serverless/index.d.ts.map +1 -0
  2531. package/lib/Serverless/index.js +2 -0
  2532. package/lib/Serverless/index.js.map +1 -0
  2533. package/lib/Sql/SqlFile.d.ts +22 -0
  2534. package/lib/Sql/SqlFile.d.ts.map +1 -0
  2535. package/lib/Sql/SqlFile.js +60 -0
  2536. package/lib/Sql/SqlFile.js.map +1 -0
  2537. package/lib/Sql/index.d.ts +2 -0
  2538. package/lib/Sql/index.d.ts.map +1 -0
  2539. package/lib/Sql/index.js +2 -0
  2540. package/lib/Sql/index.js.map +1 -0
  2541. package/lib/Stack.d.ts +94 -0
  2542. package/lib/Stack.d.ts.map +1 -0
  2543. package/lib/Stack.js +103 -0
  2544. package/lib/Stack.js.map +1 -0
  2545. package/lib/Stage.d.ts +6 -0
  2546. package/lib/Stage.d.ts.map +1 -0
  2547. package/lib/Stage.js +4 -0
  2548. package/lib/Stage.js.map +1 -0
  2549. package/lib/State/ActionState.d.ts +48 -0
  2550. package/lib/State/ActionState.d.ts.map +1 -0
  2551. package/lib/State/ActionState.js +1 -0
  2552. package/lib/State/ActionState.js.map +1 -0
  2553. package/lib/State/HttpStateApi.d.ts +152 -0
  2554. package/lib/State/HttpStateApi.d.ts.map +1 -0
  2555. package/lib/State/HttpStateApi.js +148 -0
  2556. package/lib/State/HttpStateApi.js.map +1 -0
  2557. package/lib/State/HttpStateStore.d.ts +31 -0
  2558. package/lib/State/HttpStateStore.d.ts.map +1 -0
  2559. package/lib/State/HttpStateStore.js +127 -0
  2560. package/lib/State/HttpStateStore.js.map +1 -0
  2561. package/lib/State/InMemoryState.d.ts +11 -0
  2562. package/lib/State/InMemoryState.d.ts.map +1 -0
  2563. package/lib/State/InMemoryState.js +37 -0
  2564. package/lib/State/InMemoryState.js.map +1 -0
  2565. package/lib/State/LocalState.d.ts +8 -0
  2566. package/lib/State/LocalState.d.ts.map +1 -0
  2567. package/lib/State/LocalState.js +67 -0
  2568. package/lib/State/LocalState.js.map +1 -0
  2569. package/lib/State/ResourceState.d.ts +99 -0
  2570. package/lib/State/ResourceState.d.ts.map +1 -0
  2571. package/lib/State/ResourceState.js +1 -0
  2572. package/lib/State/ResourceState.js.map +1 -0
  2573. package/lib/State/State.d.ts +123 -0
  2574. package/lib/State/State.d.ts.map +1 -0
  2575. package/lib/State/State.js +10 -0
  2576. package/lib/State/State.js.map +1 -0
  2577. package/lib/State/StateEncoding.d.ts +39 -0
  2578. package/lib/State/StateEncoding.d.ts.map +1 -0
  2579. package/lib/State/StateEncoding.js +136 -0
  2580. package/lib/State/StateEncoding.js.map +1 -0
  2581. package/lib/State/Sync.d.ts +23 -0
  2582. package/lib/State/Sync.d.ts.map +1 -0
  2583. package/lib/State/Sync.js +49 -0
  2584. package/lib/State/Sync.js.map +1 -0
  2585. package/lib/State/index.d.ts +10 -0
  2586. package/lib/State/index.d.ts.map +1 -0
  2587. package/lib/State/index.js +10 -0
  2588. package/lib/State/index.js.map +1 -0
  2589. package/lib/Tags.d.ts +47 -0
  2590. package/lib/Tags.d.ts.map +1 -0
  2591. package/lib/Tags.js +80 -0
  2592. package/lib/Tags.js.map +1 -0
  2593. package/lib/Telemetry/Attributes.d.ts +43 -0
  2594. package/lib/Telemetry/Attributes.d.ts.map +1 -0
  2595. package/lib/Telemetry/Attributes.js +144 -0
  2596. package/lib/Telemetry/Attributes.js.map +1 -0
  2597. package/lib/Telemetry/Layer.d.ts +14 -0
  2598. package/lib/Telemetry/Layer.d.ts.map +1 -0
  2599. package/lib/Telemetry/Layer.js +62 -0
  2600. package/lib/Telemetry/Layer.js.map +1 -0
  2601. package/lib/Telemetry/Metrics.d.ts +73 -0
  2602. package/lib/Telemetry/Metrics.d.ts.map +1 -0
  2603. package/lib/Telemetry/Metrics.js +105 -0
  2604. package/lib/Telemetry/Metrics.js.map +1 -0
  2605. package/lib/Test/Bun.d.ts +66 -0
  2606. package/lib/Test/Bun.d.ts.map +1 -0
  2607. package/lib/Test/Bun.js +103 -0
  2608. package/lib/Test/Bun.js.map +1 -0
  2609. package/lib/Test/Core.d.ts +105 -0
  2610. package/lib/Test/Core.d.ts.map +1 -0
  2611. package/lib/Test/Core.js +135 -0
  2612. package/lib/Test/Core.js.map +1 -0
  2613. package/lib/Test/TestState.d.ts +12 -0
  2614. package/lib/Test/TestState.d.ts.map +1 -0
  2615. package/lib/Test/TestState.js +15 -0
  2616. package/lib/Test/TestState.js.map +1 -0
  2617. package/lib/Test/Vitest.d.ts +58 -0
  2618. package/lib/Test/Vitest.d.ts.map +1 -0
  2619. package/lib/Test/Vitest.js +102 -0
  2620. package/lib/Test/Vitest.js.map +1 -0
  2621. package/lib/Test/index.d.ts +2 -0
  2622. package/lib/Test/index.d.ts.map +1 -0
  2623. package/lib/Test/index.js +2 -0
  2624. package/lib/Test/index.js.map +1 -0
  2625. package/lib/Util/Clank.d.ts +40 -0
  2626. package/lib/Util/Clank.d.ts.map +1 -0
  2627. package/lib/Util/Clank.js +66 -0
  2628. package/lib/Util/Clank.js.map +1 -0
  2629. package/lib/Util/ConfigProvider.d.ts +6 -0
  2630. package/lib/Util/ConfigProvider.d.ts.map +1 -0
  2631. package/lib/Util/ConfigProvider.js +18 -0
  2632. package/lib/Util/ConfigProvider.js.map +1 -0
  2633. package/lib/Util/Duration.d.ts +14 -0
  2634. package/lib/Util/Duration.d.ts.map +1 -0
  2635. package/lib/Util/Duration.js +18 -0
  2636. package/lib/Util/Duration.js.map +1 -0
  2637. package/lib/Util/FileLogger.d.ts +7 -0
  2638. package/lib/Util/FileLogger.d.ts.map +1 -0
  2639. package/lib/Util/FileLogger.js +16 -0
  2640. package/lib/Util/FileLogger.js.map +1 -0
  2641. package/lib/Util/PlatformServices.d.ts +26 -0
  2642. package/lib/Util/PlatformServices.d.ts.map +1 -0
  2643. package/lib/Util/PlatformServices.js +52 -0
  2644. package/lib/Util/PlatformServices.js.map +1 -0
  2645. package/lib/Util/Stream.d.ts +6 -0
  2646. package/lib/Util/Stream.d.ts.map +1 -0
  2647. package/lib/Util/Stream.js +3 -0
  2648. package/lib/Util/Stream.js.map +1 -0
  2649. package/lib/Util/base32.d.ts +9 -0
  2650. package/lib/Util/base32.d.ts.map +1 -0
  2651. package/lib/Util/base32.js +38 -0
  2652. package/lib/Util/base32.js.map +1 -0
  2653. package/lib/Util/cached-function.d.ts +38 -0
  2654. package/lib/Util/cached-function.d.ts.map +1 -0
  2655. package/lib/Util/cached-function.js +53 -0
  2656. package/lib/Util/cached-function.js.map +1 -0
  2657. package/lib/Util/camel.d.ts +3 -0
  2658. package/lib/Util/camel.d.ts.map +1 -0
  2659. package/lib/Util/camel.js +17 -0
  2660. package/lib/Util/camel.js.map +1 -0
  2661. package/lib/Util/data.d.ts +8 -0
  2662. package/lib/Util/data.d.ts.map +1 -0
  2663. package/lib/Util/data.js +37 -0
  2664. package/lib/Util/data.js.map +1 -0
  2665. package/lib/Util/dedent.d.ts +8 -0
  2666. package/lib/Util/dedent.d.ts.map +1 -0
  2667. package/lib/Util/dedent.js +38 -0
  2668. package/lib/Util/dedent.js.map +1 -0
  2669. package/lib/Util/effect.d.ts +25 -0
  2670. package/lib/Util/effect.d.ts.map +1 -0
  2671. package/lib/Util/effect.js +51 -0
  2672. package/lib/Util/effect.js.map +1 -0
  2673. package/lib/Util/exec.d.ts +8 -0
  2674. package/lib/Util/exec.d.ts.map +1 -0
  2675. package/lib/Util/exec.js +12 -0
  2676. package/lib/Util/exec.js.map +1 -0
  2677. package/lib/Util/gitignore-rules-to-globs.d.ts +17 -0
  2678. package/lib/Util/gitignore-rules-to-globs.d.ts.map +1 -0
  2679. package/lib/Util/gitignore-rules-to-globs.js +77 -0
  2680. package/lib/Util/gitignore-rules-to-globs.js.map +1 -0
  2681. package/lib/Util/hash.d.ts +8 -0
  2682. package/lib/Util/hash.d.ts.map +1 -0
  2683. package/lib/Util/hash.js +11 -0
  2684. package/lib/Util/hash.js.map +1 -0
  2685. package/lib/Util/index.d.ts +11 -0
  2686. package/lib/Util/index.d.ts.map +1 -0
  2687. package/lib/Util/index.js +11 -0
  2688. package/lib/Util/index.js.map +1 -0
  2689. package/lib/Util/layer-scoped.d.ts +16 -0
  2690. package/lib/Util/layer-scoped.d.ts.map +1 -0
  2691. package/lib/Util/layer-scoped.js +14 -0
  2692. package/lib/Util/layer-scoped.js.map +1 -0
  2693. package/lib/Util/poll.d.ts +30 -0
  2694. package/lib/Util/poll.d.ts.map +1 -0
  2695. package/lib/Util/poll.js +26 -0
  2696. package/lib/Util/poll.js.map +1 -0
  2697. package/lib/Util/proxy-chain.d.ts +30 -0
  2698. package/lib/Util/proxy-chain.d.ts.map +1 -0
  2699. package/lib/Util/proxy-chain.js +66 -0
  2700. package/lib/Util/proxy-chain.js.map +1 -0
  2701. package/lib/Util/scc.d.ts +12 -0
  2702. package/lib/Util/scc.d.ts.map +1 -0
  2703. package/lib/Util/scc.js +81 -0
  2704. package/lib/Util/scc.js.map +1 -0
  2705. package/lib/Util/service.d.ts +5 -0
  2706. package/lib/Util/service.d.ts.map +1 -0
  2707. package/lib/Util/service.js +7 -0
  2708. package/lib/Util/service.js.map +1 -0
  2709. package/lib/Util/sha256.d.ts +6 -0
  2710. package/lib/Util/sha256.d.ts.map +1 -0
  2711. package/lib/Util/sha256.js +18 -0
  2712. package/lib/Util/sha256.js.map +1 -0
  2713. package/lib/Util/stable.d.ts +4 -0
  2714. package/lib/Util/stable.d.ts.map +1 -0
  2715. package/lib/Util/stable.js +28 -0
  2716. package/lib/Util/stable.js.map +1 -0
  2717. package/lib/Util/type.d.ts +6 -0
  2718. package/lib/Util/type.d.ts.map +1 -0
  2719. package/lib/Util/type.js +3 -0
  2720. package/lib/Util/type.js.map +1 -0
  2721. package/lib/Util/types.d.ts +10 -0
  2722. package/lib/Util/types.d.ts.map +1 -0
  2723. package/lib/Util/types.js +13 -0
  2724. package/lib/Util/types.js.map +1 -0
  2725. package/lib/Util/unknown.d.ts +10 -0
  2726. package/lib/Util/unknown.d.ts.map +1 -0
  2727. package/lib/Util/unknown.js +4 -0
  2728. package/lib/Util/unknown.js.map +1 -0
  2729. package/lib/Util/zip.d.ts +7 -0
  2730. package/lib/Util/zip.d.ts.map +1 -0
  2731. package/lib/Util/zip.js +16 -0
  2732. package/lib/Util/zip.js.map +1 -0
  2733. package/lib/index.d.ts +37 -0
  2734. package/lib/index.d.ts.map +1 -0
  2735. package/lib/index.js +33 -0
  2736. package/lib/index.js.map +1 -0
  2737. package/lib/tsconfig.test.tsbuildinfo +1 -0
  2738. package/package.json +178 -72
  2739. package/src/AWS/ACM/Certificate.ts +51 -48
  2740. package/src/AWS/ApiGateway/Account.ts +146 -0
  2741. package/src/AWS/ApiGateway/ApiKey.ts +276 -0
  2742. package/src/AWS/ApiGateway/Authorizer.ts +274 -0
  2743. package/src/AWS/ApiGateway/BasePathMapping.ts +190 -0
  2744. package/src/AWS/ApiGateway/Deployment.ts +351 -0
  2745. package/src/AWS/ApiGateway/DomainName.ts +263 -0
  2746. package/src/AWS/ApiGateway/GatewayResource.ts +237 -0
  2747. package/src/AWS/ApiGateway/GatewayResponse.ts +130 -0
  2748. package/src/AWS/ApiGateway/Method.ts +547 -0
  2749. package/src/AWS/ApiGateway/RestApi.ts +465 -0
  2750. package/src/AWS/ApiGateway/Stage.ts +654 -0
  2751. package/src/AWS/ApiGateway/UsagePlan.ts +362 -0
  2752. package/src/AWS/ApiGateway/UsagePlanKey.ts +140 -0
  2753. package/src/AWS/ApiGateway/VpcLink.ts +212 -0
  2754. package/src/AWS/ApiGateway/common.ts +140 -0
  2755. package/src/AWS/ApiGateway/index.ts +76 -0
  2756. package/src/AWS/AuthProvider.ts +280 -270
  2757. package/src/AWS/AutoScaling/AutoScalingGroup.ts +75 -94
  2758. package/src/AWS/AutoScaling/LaunchTemplate.ts +74 -98
  2759. package/src/AWS/AutoScaling/ScalingPolicy.ts +16 -37
  2760. package/src/AWS/Bootstrap.ts +32 -37
  2761. package/src/AWS/CloudFront/CachePolicy.ts +296 -0
  2762. package/src/AWS/CloudFront/Distribution.ts +167 -161
  2763. package/src/AWS/CloudFront/Function.ts +86 -72
  2764. package/src/AWS/CloudFront/Invalidation.ts +15 -17
  2765. package/src/AWS/CloudFront/KeyGroup.ts +255 -0
  2766. package/src/AWS/CloudFront/KeyValueStore.ts +43 -30
  2767. package/src/AWS/CloudFront/KvEntries.ts +23 -21
  2768. package/src/AWS/CloudFront/KvRoutesUpdate.ts +54 -74
  2769. package/src/AWS/CloudFront/OriginAccessControl.ts +61 -39
  2770. package/src/AWS/CloudFront/OriginRequestPolicy.ts +283 -0
  2771. package/src/AWS/CloudFront/PublicKey.ts +267 -0
  2772. package/src/AWS/CloudFront/ResponseHeadersPolicy.ts +332 -0
  2773. package/src/AWS/CloudFront/index.ts +11 -0
  2774. package/src/AWS/CloudWatch/Alarm.ts +22 -41
  2775. package/src/AWS/CloudWatch/AlarmMuteRule.ts +12 -35
  2776. package/src/AWS/CloudWatch/AnomalyDetector.ts +8 -36
  2777. package/src/AWS/CloudWatch/CompositeAlarm.ts +22 -48
  2778. package/src/AWS/CloudWatch/Dashboard.ts +14 -21
  2779. package/src/AWS/CloudWatch/InsightRule.ts +21 -48
  2780. package/src/AWS/CloudWatch/MetricStream.ts +25 -52
  2781. package/src/AWS/CloudWatch/common.ts +1 -21
  2782. package/src/AWS/Credentials.ts +9 -45
  2783. package/src/AWS/DynamoDB/Stream.ts +1 -4
  2784. package/src/AWS/DynamoDB/Table.ts +381 -235
  2785. package/src/AWS/EC2/EIP.ts +63 -58
  2786. package/src/AWS/EC2/EgressOnlyInternetGateway.ts +50 -36
  2787. package/src/AWS/EC2/Instance.ts +118 -139
  2788. package/src/AWS/EC2/InternetGateway.ts +61 -106
  2789. package/src/AWS/EC2/NatGateway.ts +67 -45
  2790. package/src/AWS/EC2/NetworkAcl.ts +42 -46
  2791. package/src/AWS/EC2/NetworkAclAssociation.ts +18 -32
  2792. package/src/AWS/EC2/NetworkAclEntry.ts +27 -51
  2793. package/src/AWS/EC2/Route.ts +50 -82
  2794. package/src/AWS/EC2/RouteTable.ts +68 -113
  2795. package/src/AWS/EC2/RouteTableAssociation.ts +100 -54
  2796. package/src/AWS/EC2/SecurityGroup.ts +56 -121
  2797. package/src/AWS/EC2/SecurityGroupRule.ts +56 -64
  2798. package/src/AWS/EC2/Subnet.ts +149 -184
  2799. package/src/AWS/EC2/Vpc.ts +118 -99
  2800. package/src/AWS/EC2/VpcEndpoint.ts +127 -132
  2801. package/src/AWS/EC2/hosted.ts +20 -22
  2802. package/src/AWS/ECR/Repository.ts +86 -83
  2803. package/src/AWS/ECS/CapacityProvider.ts +305 -0
  2804. package/src/AWS/ECS/Cluster.ts +53 -53
  2805. package/src/AWS/ECS/Service.ts +103 -48
  2806. package/src/AWS/ECS/Task.ts +75 -111
  2807. package/src/AWS/ECS/index.ts +4 -0
  2808. package/src/AWS/EKS/AccessEntry.ts +74 -99
  2809. package/src/AWS/EKS/Addon.ts +69 -73
  2810. package/src/AWS/EKS/Cluster.ts +108 -115
  2811. package/src/AWS/EKS/PodIdentityAssociation.ts +93 -82
  2812. package/src/AWS/ELBv2/Listener.ts +80 -41
  2813. package/src/AWS/ELBv2/LoadBalancer.ts +76 -62
  2814. package/src/AWS/ELBv2/TargetGroup.ts +75 -62
  2815. package/src/AWS/Endpoint.ts +11 -10
  2816. package/src/AWS/Environment.ts +177 -0
  2817. package/src/AWS/EventBridge/EventBus.ts +79 -61
  2818. package/src/AWS/EventBridge/EventSource.ts +1 -4
  2819. package/src/AWS/EventBridge/ListRules.ts +2 -2
  2820. package/src/AWS/EventBridge/Permission.ts +22 -33
  2821. package/src/AWS/EventBridge/PutEvents.ts +2 -2
  2822. package/src/AWS/EventBridge/Rule.ts +81 -118
  2823. package/src/AWS/IAM/AccessKey.ts +59 -32
  2824. package/src/AWS/IAM/AccountAlias.ts +18 -23
  2825. package/src/AWS/IAM/AccountPasswordPolicy.ts +5 -6
  2826. package/src/AWS/IAM/Group.ts +48 -37
  2827. package/src/AWS/IAM/GroupMembership.ts +31 -25
  2828. package/src/AWS/IAM/InstanceProfile.ts +75 -79
  2829. package/src/AWS/IAM/LoginProfile.ts +46 -37
  2830. package/src/AWS/IAM/OpenIDConnectProvider.ts +97 -54
  2831. package/src/AWS/IAM/Policy.ts +94 -91
  2832. package/src/AWS/IAM/Role.ts +114 -104
  2833. package/src/AWS/IAM/SAMLProvider.ts +96 -43
  2834. package/src/AWS/IAM/SSHPublicKey.ts +46 -36
  2835. package/src/AWS/IAM/ServerCertificate.ts +83 -88
  2836. package/src/AWS/IAM/ServiceSpecificCredential.ts +94 -41
  2837. package/src/AWS/IAM/SigningCertificate.ts +40 -30
  2838. package/src/AWS/IAM/User.ts +63 -73
  2839. package/src/AWS/IAM/VirtualMFADevice.ts +79 -59
  2840. package/src/AWS/IdentityCenter/AccountAssignment.ts +10 -8
  2841. package/src/AWS/IdentityCenter/Group.ts +73 -52
  2842. package/src/AWS/IdentityCenter/Instance.ts +14 -7
  2843. package/src/AWS/IdentityCenter/PermissionSet.ts +75 -51
  2844. package/src/AWS/Kinesis/Stream.ts +135 -173
  2845. package/src/AWS/Kinesis/StreamConsumer.ts +107 -63
  2846. package/src/AWS/Kinesis/StreamEventSource.ts +1 -4
  2847. package/src/AWS/Lambda/BucketEventSource.ts +16 -1
  2848. package/src/AWS/Lambda/EventSourceMapping.ts +114 -59
  2849. package/src/AWS/Lambda/Function.ts +202 -148
  2850. package/src/AWS/Lambda/HttpServer.ts +168 -2
  2851. package/src/AWS/Lambda/Permission.ts +20 -36
  2852. package/src/AWS/Logs/LogGroup.ts +71 -55
  2853. package/src/AWS/Organizations/Account.ts +61 -72
  2854. package/src/AWS/Organizations/DelegatedAdministrator.ts +18 -15
  2855. package/src/AWS/Organizations/Organization.ts +31 -32
  2856. package/src/AWS/Organizations/OrganizationResourcePolicy.ts +24 -23
  2857. package/src/AWS/Organizations/OrganizationalUnit.ts +53 -60
  2858. package/src/AWS/Organizations/Policy.ts +67 -64
  2859. package/src/AWS/Organizations/PolicyAttachment.ts +28 -23
  2860. package/src/AWS/Organizations/Root.ts +18 -24
  2861. package/src/AWS/Organizations/RootPolicyType.ts +32 -25
  2862. package/src/AWS/Organizations/TrustedServiceAccess.ts +17 -15
  2863. package/src/AWS/Organizations/common.ts +1 -16
  2864. package/src/AWS/Providers.ts +119 -7
  2865. package/src/AWS/RDS/DBCluster.ts +71 -63
  2866. package/src/AWS/RDS/DBClusterEndpoint.ts +65 -64
  2867. package/src/AWS/RDS/DBClusterParameterGroup.ts +58 -64
  2868. package/src/AWS/RDS/DBInstance.ts +58 -55
  2869. package/src/AWS/RDS/DBParameterGroup.ts +54 -61
  2870. package/src/AWS/RDS/DBProxy.ts +59 -55
  2871. package/src/AWS/RDS/DBProxyEndpoint.ts +70 -61
  2872. package/src/AWS/RDS/DBProxyTargetGroup.ts +113 -75
  2873. package/src/AWS/RDS/DBSubnetGroup.ts +70 -74
  2874. package/src/AWS/Region.ts +9 -67
  2875. package/src/AWS/Route53/Record.ts +8 -14
  2876. package/src/AWS/S3/Bucket.ts +149 -34
  2877. package/src/AWS/S3/BucketNotifications.ts +11 -4
  2878. package/src/AWS/SNS/Subscription.ts +93 -38
  2879. package/src/AWS/SNS/Topic.ts +84 -66
  2880. package/src/AWS/SNS/TopicEventSource.ts +1 -4
  2881. package/src/AWS/SQS/Queue.ts +158 -29
  2882. package/src/AWS/SQS/QueueSink.ts +1 -2
  2883. package/src/AWS/Scheduler/Schedule.ts +113 -99
  2884. package/src/AWS/Scheduler/ScheduleGroup.ts +81 -56
  2885. package/src/AWS/SecretsManager/Secret.ts +61 -86
  2886. package/src/AWS/Website/AssetDeployment.ts +47 -14
  2887. package/src/AWS/index.ts +2 -3
  2888. package/src/Action.ts +280 -0
  2889. package/src/AdoptPolicy.ts +133 -10
  2890. package/src/AlchemyContext.ts +40 -0
  2891. package/src/Apply.ts +655 -102
  2892. package/src/Artifacts.ts +2 -4
  2893. package/src/Auth/AuthProvider.ts +226 -8
  2894. package/src/Auth/Credentials.ts +91 -38
  2895. package/src/Auth/Env.ts +12 -20
  2896. package/src/Auth/Lock.ts +36 -0
  2897. package/src/Auth/Profile.ts +185 -53
  2898. package/src/Auth/index.ts +3 -1
  2899. package/src/Axiom/Annotation.ts +114 -0
  2900. package/src/Axiom/ApiToken.ts +134 -0
  2901. package/src/Axiom/AuthProvider.ts +344 -0
  2902. package/src/Axiom/Chart.ts +148 -0
  2903. package/src/Axiom/Credentials.ts +65 -0
  2904. package/src/Axiom/Dashboard.ts +201 -0
  2905. package/src/Axiom/Dataset.ts +301 -0
  2906. package/src/Axiom/Monitor.ts +137 -0
  2907. package/src/Axiom/Notifier.ts +125 -0
  2908. package/src/Axiom/Providers.ts +62 -0
  2909. package/src/Axiom/View.ts +119 -0
  2910. package/src/Axiom/VirtualField.ts +105 -0
  2911. package/src/Axiom/index.ts +12 -0
  2912. package/src/Binding.ts +13 -13
  2913. package/src/Build/Command.ts +40 -33
  2914. package/src/Bundle/Bundle.ts +167 -43
  2915. package/src/Bundle/BundleAnalyzerPlugin.ts +33 -0
  2916. package/src/Bundle/Docker.ts +13 -16
  2917. package/src/Bundle/PurePlugin.ts +557 -0
  2918. package/src/Bundle/RawPlugin.ts +82 -0
  2919. package/src/Bundle/index.ts +3 -0
  2920. package/src/Cli/Event.ts +4 -0
  2921. package/src/Cli/LoggingCli.ts +137 -0
  2922. package/src/Cli/NamespaceTree.ts +52 -5
  2923. package/src/Cli/checkVersion.ts +57 -0
  2924. package/src/Cli/commands/_shared.ts +322 -0
  2925. package/src/Cli/commands/aws.ts +127 -0
  2926. package/src/Cli/commands/cloudflare.ts +617 -0
  2927. package/src/Cli/commands/deploy.ts +218 -0
  2928. package/src/Cli/commands/dev.ts +81 -0
  2929. package/src/Cli/commands/login.ts +140 -0
  2930. package/src/Cli/commands/logs.ts +168 -0
  2931. package/src/Cli/commands/profile.ts +104 -0
  2932. package/src/Cli/commands/state.ts +377 -0
  2933. package/src/Cli/commands/tail.ts +148 -0
  2934. package/src/Cli/exec.ts +33 -0
  2935. package/src/Cli/index.ts +2 -2
  2936. package/src/Cli/main.ts +75 -0
  2937. package/src/Cli/selectCli.ts +33 -0
  2938. package/src/Cli/tui/InkCLI.tsx +60 -0
  2939. package/src/Cli/tui/components/ApprovePlan.tsx +44 -0
  2940. package/src/Cli/tui/components/Plan.tsx +200 -0
  2941. package/src/Cli/tui/components/PlanProgress.tsx +439 -0
  2942. package/src/Cloudflare/Access.ts +110 -0
  2943. package/src/Cloudflare/AiGateway/AiGateway.ts +612 -0
  2944. package/src/Cloudflare/AiGateway/AiGatewayBinding.ts +232 -0
  2945. package/src/Cloudflare/AiGateway/LanguageModel.ts +907 -0
  2946. package/src/Cloudflare/AiGateway/index.ts +3 -0
  2947. package/src/Cloudflare/AnalyticsEngine/AnalyticsEngineDataset.ts +82 -0
  2948. package/src/Cloudflare/AnalyticsEngine/AnalyticsEngineDatasetBinding.ts +104 -0
  2949. package/src/Cloudflare/AnalyticsEngine/index.ts +2 -0
  2950. package/src/Cloudflare/ApiToken/AccountApiToken.ts +283 -0
  2951. package/src/Cloudflare/ApiToken/Common.ts +178 -0
  2952. package/src/Cloudflare/ApiToken/PermissionGroups.ts +1910 -0
  2953. package/src/Cloudflare/ApiToken/UserApiToken.ts +232 -0
  2954. package/src/Cloudflare/ApiToken/index.ts +4 -0
  2955. package/src/Cloudflare/Artifacts/Artifacts.ts +139 -0
  2956. package/src/Cloudflare/Artifacts/ArtifactsBinding.ts +177 -0
  2957. package/src/Cloudflare/Artifacts/index.ts +2 -0
  2958. package/src/Cloudflare/Auth/AuthProvider.ts +469 -428
  2959. package/src/Cloudflare/Bridge.ts +3 -0
  2960. package/src/Cloudflare/Browser/Browser.ts +140 -0
  2961. package/src/Cloudflare/Browser/BrowserBinding.ts +128 -0
  2962. package/src/Cloudflare/Browser/index.ts +11 -0
  2963. package/src/Cloudflare/CloudflareEnvironment.ts +50 -0
  2964. package/src/Cloudflare/Container/Container.ts +59 -6
  2965. package/src/Cloudflare/Container/ContainerApplication.ts +270 -153
  2966. package/src/Cloudflare/Container/ContainerBinding.ts +5 -4
  2967. package/src/Cloudflare/Container/StartContainer.ts +10 -4
  2968. package/src/Cloudflare/Credentials.ts +74 -0
  2969. package/src/Cloudflare/D1/D1Clone.ts +42 -0
  2970. package/src/Cloudflare/D1/D1Connection.ts +115 -19
  2971. package/src/Cloudflare/D1/D1Database.ts +466 -51
  2972. package/src/Cloudflare/D1/D1DatabaseBinding.ts +1 -1
  2973. package/src/Cloudflare/D1/D1Export.ts +66 -0
  2974. package/src/Cloudflare/D1/D1Import.ts +156 -0
  2975. package/src/Cloudflare/D1/D1Migrations.ts +229 -0
  2976. package/src/Cloudflare/Dns/DnsBinding.ts +123 -0
  2977. package/src/Cloudflare/Dns/DnsRead.ts +129 -0
  2978. package/src/Cloudflare/Dns/DnsReadWrite.ts +99 -0
  2979. package/src/Cloudflare/Dns/DnsWrite.ts +209 -0
  2980. package/src/Cloudflare/Dns/index.ts +4 -0
  2981. package/src/Cloudflare/EdgeSession.ts +154 -0
  2982. package/src/Cloudflare/Email/EmailAddress.ts +155 -0
  2983. package/src/Cloudflare/Email/EmailRouting.ts +138 -0
  2984. package/src/Cloudflare/Email/EmailRule.ts +210 -0
  2985. package/src/Cloudflare/Email/SendEmail.ts +95 -0
  2986. package/src/Cloudflare/Email/SendEmailBinding.ts +126 -0
  2987. package/src/Cloudflare/Email/index.ts +5 -0
  2988. package/src/Cloudflare/Fetcher.ts +50 -1
  2989. package/src/Cloudflare/Hyperdrive/Hyperdrive.ts +376 -0
  2990. package/src/Cloudflare/Hyperdrive/HyperdriveBinding.ts +165 -0
  2991. package/src/Cloudflare/Hyperdrive/index.ts +2 -0
  2992. package/src/Cloudflare/Images/Images.ts +134 -0
  2993. package/src/Cloudflare/Images/ImagesBinding.ts +192 -0
  2994. package/src/Cloudflare/Images/index.ts +2 -0
  2995. package/src/Cloudflare/KV/KVNamespace.ts +87 -43
  2996. package/src/Cloudflare/KV/KVNamespaceBinding.ts +38 -38
  2997. package/src/Cloudflare/Local.ts +23 -0
  2998. package/src/Cloudflare/Logs.ts +115 -1
  2999. package/src/Cloudflare/Providers.ts +173 -9
  3000. package/src/Cloudflare/Queue/Queue.ts +227 -0
  3001. package/src/Cloudflare/Queue/QueueBinding.ts +144 -0
  3002. package/src/Cloudflare/Queue/QueueConsumer.ts +463 -0
  3003. package/src/Cloudflare/Queue/QueueEventSource.ts +262 -0
  3004. package/src/Cloudflare/Queue/index.ts +4 -0
  3005. package/src/Cloudflare/R2/R2Bucket.ts +692 -38
  3006. package/src/Cloudflare/R2/R2BucketBinding.ts +16 -19
  3007. package/src/Cloudflare/RateLimit/RateLimit.ts +160 -0
  3008. package/src/Cloudflare/RateLimit/RateLimitBinding.ts +90 -0
  3009. package/src/Cloudflare/RateLimit/index.ts +2 -0
  3010. package/src/Cloudflare/Ruleset/Ruleset.ts +223 -0
  3011. package/src/Cloudflare/Ruleset/index.ts +1 -0
  3012. package/src/Cloudflare/SecretsStore/Secret.ts +306 -0
  3013. package/src/Cloudflare/SecretsStore/SecretBinding.ts +105 -0
  3014. package/src/Cloudflare/SecretsStore/SecretsStore.ts +144 -0
  3015. package/src/Cloudflare/SecretsStore/index.ts +3 -0
  3016. package/src/Cloudflare/StateStore/Api.ts +350 -0
  3017. package/src/Cloudflare/StateStore/State.ts +866 -0
  3018. package/src/Cloudflare/StateStore/Store.ts +314 -0
  3019. package/src/Cloudflare/StateStore/Token.ts +68 -0
  3020. package/src/Cloudflare/StateStore/index.ts +1 -0
  3021. package/src/Cloudflare/Tunnel/Tunnel.ts +369 -0
  3022. package/src/Cloudflare/Tunnel/TunnelBinding.ts +114 -0
  3023. package/src/Cloudflare/Tunnel/TunnelRead.ts +168 -0
  3024. package/src/Cloudflare/Tunnel/TunnelReadWrite.ts +88 -0
  3025. package/src/Cloudflare/Tunnel/TunnelWrite.ts +194 -0
  3026. package/src/Cloudflare/Tunnel/index.ts +5 -0
  3027. package/src/Cloudflare/Vectorize/VectorizeIndex.ts +262 -0
  3028. package/src/Cloudflare/Vectorize/VectorizeIndexBinding.ts +103 -0
  3029. package/src/Cloudflare/Vectorize/VectorizeMetadataIndex.ts +208 -0
  3030. package/src/Cloudflare/Vectorize/index.ts +3 -0
  3031. package/src/Cloudflare/VpcService/VpcService.ts +317 -0
  3032. package/src/Cloudflare/VpcService/VpcServiceRef.ts +66 -0
  3033. package/src/Cloudflare/VpcService/index.ts +2 -0
  3034. package/src/Cloudflare/Website/StaticSite.ts +47 -4
  3035. package/src/Cloudflare/Workers/Assets.ts +25 -14
  3036. package/src/Cloudflare/Workers/Compatibility.ts +12 -0
  3037. package/src/Cloudflare/Workers/CronEventSource.ts +89 -0
  3038. package/src/Cloudflare/Workers/DurableObjectBridge.ts +191 -0
  3039. package/src/Cloudflare/Workers/DurableObjectChatPersistence.ts +131 -0
  3040. package/src/Cloudflare/Workers/DurableObjectNamespace.ts +492 -189
  3041. package/src/Cloudflare/Workers/DurableObjectStorage.ts +8 -0
  3042. package/src/Cloudflare/Workers/DynamicWorkerLoader.ts +143 -18
  3043. package/src/Cloudflare/Workers/HttpServer.ts +52 -60
  3044. package/src/Cloudflare/Workers/InferEnv.ts +82 -20
  3045. package/src/Cloudflare/Workers/LocalWorkerProvider.ts +655 -0
  3046. package/src/Cloudflare/Workers/Rpc.ts +129 -240
  3047. package/src/Cloudflare/Workers/RpcAsync.ts +118 -0
  3048. package/src/Cloudflare/Workers/RpcDurableObjectNamespace.ts +502 -0
  3049. package/src/Cloudflare/Workers/RpcWorker.ts +562 -0
  3050. package/src/Cloudflare/Workers/Vite.ts +116 -0
  3051. package/src/Cloudflare/Workers/Worker.ts +930 -885
  3052. package/src/Cloudflare/Workers/WorkerAsyncBindings.ts +237 -0
  3053. package/src/Cloudflare/Workers/WorkerBinding.ts +121 -0
  3054. package/src/Cloudflare/Workers/WorkerBridge.ts +323 -0
  3055. package/src/Cloudflare/Workers/WorkerBundle.ts +193 -0
  3056. package/src/Cloudflare/Workers/WorkerName.ts +10 -0
  3057. package/src/Cloudflare/Workers/WorkerRuntimeContext.ts +159 -0
  3058. package/src/Cloudflare/Workers/Workflow.ts +194 -81
  3059. package/src/Cloudflare/Workers/WorkflowBridge.ts +92 -0
  3060. package/src/Cloudflare/Workers/index.ts +9 -0
  3061. package/src/Cloudflare/Zaraz/ZarazConfig.ts +403 -0
  3062. package/src/Cloudflare/Zaraz/ZarazEventTypes.ts +257 -0
  3063. package/src/Cloudflare/Zaraz/index.ts +25 -0
  3064. package/src/Cloudflare/Zone/Zone.ts +349 -0
  3065. package/src/Cloudflare/Zone/index.ts +2 -0
  3066. package/src/Cloudflare/Zone/lookup.ts +101 -0
  3067. package/src/Cloudflare/index.ts +23 -1
  3068. package/src/Construct.ts +3 -7
  3069. package/src/Dependencies.ts +10 -0
  3070. package/src/Deploy.ts +34 -0
  3071. package/src/Destroy.ts +33 -13
  3072. package/src/Diff.ts +42 -8
  3073. package/src/Drizzle/Postgres.ts +78 -0
  3074. package/src/Drizzle/Providers.ts +53 -0
  3075. package/src/Drizzle/Schema.ts +287 -0
  3076. package/src/Drizzle/index.ts +3 -0
  3077. package/src/ExecutionContext.ts +15 -27
  3078. package/src/GitHub/AuthProvider.ts +313 -0
  3079. package/src/GitHub/Comment.ts +48 -23
  3080. package/src/GitHub/Credentials.ts +98 -0
  3081. package/src/GitHub/Providers.ts +36 -0
  3082. package/src/GitHub/Secret.ts +38 -34
  3083. package/src/GitHub/Secrets.ts +90 -0
  3084. package/src/GitHub/Variable.ts +62 -47
  3085. package/src/GitHub/Variables.ts +54 -0
  3086. package/src/GitHub/index.ts +5 -0
  3087. package/src/Http.ts +37 -18
  3088. package/src/Input.ts +2 -0
  3089. package/src/KeyPair.ts +146 -0
  3090. package/src/Local/RpcProvider.ts +146 -0
  3091. package/src/Local/RpcProviderProxy.ts +86 -0
  3092. package/src/Local/RpcSerialization.ts +225 -0
  3093. package/src/Local/RpcServer.ts +138 -0
  3094. package/src/Local/RpcServerBun.ts +59 -0
  3095. package/src/Local/RpcServerEnvironment.ts +55 -0
  3096. package/src/Local/RpcServerNode.ts +58 -0
  3097. package/src/Local/RpcServerSession.ts +87 -0
  3098. package/src/Local/RpcSpawner.ts +196 -0
  3099. package/src/Namespace.ts +4 -4
  3100. package/src/Neon/AuthProvider.ts +223 -0
  3101. package/src/Neon/Branch.ts +608 -0
  3102. package/src/Neon/Credentials.ts +46 -0
  3103. package/src/Neon/Migrations.ts +128 -0
  3104. package/src/Neon/NeonEnvironment.ts +32 -0
  3105. package/src/Neon/PostgresOrigin.ts +41 -0
  3106. package/src/Neon/Project.ts +670 -0
  3107. package/src/Neon/Providers.ts +57 -0
  3108. package/src/Neon/index.ts +5 -0
  3109. package/src/Output.ts +227 -43
  3110. package/src/Phase.ts +10 -0
  3111. package/src/Plan.ts +560 -47
  3112. package/src/Planetscale/AuthProvider.ts +285 -0
  3113. package/src/Planetscale/Branch.ts +508 -0
  3114. package/src/Planetscale/Credentials.ts +96 -0
  3115. package/src/Planetscale/Database.ts +129 -0
  3116. package/src/Planetscale/MySQL/MySQLBranch.ts +112 -0
  3117. package/src/Planetscale/MySQL/MySQLClusterSize.ts +102 -0
  3118. package/src/Planetscale/MySQL/MySQLDatabase.ts +441 -0
  3119. package/src/Planetscale/MySQL/MySQLMigrations.ts +271 -0
  3120. package/src/Planetscale/MySQL/MySQLOrigin.ts +15 -0
  3121. package/src/Planetscale/MySQL/MySQLPassword.ts +387 -0
  3122. package/src/Planetscale/MySQL/index.ts +5 -0
  3123. package/src/Planetscale/Postgres/PostgresBranch.ts +97 -0
  3124. package/src/Planetscale/Postgres/PostgresClusterSize.ts +125 -0
  3125. package/src/Planetscale/Postgres/PostgresDatabase.ts +400 -0
  3126. package/src/Planetscale/Postgres/PostgresDefaultRole.ts +270 -0
  3127. package/src/Planetscale/Postgres/PostgresMigrations.ts +256 -0
  3128. package/src/Planetscale/Postgres/PostgresOrigin.ts +15 -0
  3129. package/src/Planetscale/Postgres/PostgresRole.ts +469 -0
  3130. package/src/Planetscale/Postgres/index.ts +6 -0
  3131. package/src/Planetscale/Providers.ts +80 -0
  3132. package/src/Planetscale/Util.ts +160 -0
  3133. package/src/Planetscale/index.ts +18 -0
  3134. package/src/Platform.ts +153 -65
  3135. package/src/Provider.ts +45 -36
  3136. package/src/Random.ts +23 -25
  3137. package/src/Ref.ts +10 -5
  3138. package/src/RemovalPolicy.ts +2 -2
  3139. package/src/Resource.ts +55 -29
  3140. package/src/Rpc.ts +25 -0
  3141. package/src/Runtime.ts +38 -0
  3142. package/src/RuntimeContext.ts +58 -0
  3143. package/src/Server/Process.ts +2 -2
  3144. package/src/Serverless/Function.ts +12 -3
  3145. package/src/Sql/SqlFile.ts +77 -0
  3146. package/src/Sql/index.ts +1 -0
  3147. package/src/Stack.ts +240 -74
  3148. package/src/State/ActionState.ts +51 -0
  3149. package/src/State/HttpStateApi.ts +222 -0
  3150. package/src/State/HttpStateStore.ts +242 -0
  3151. package/src/State/InMemoryState.ts +98 -69
  3152. package/src/State/LocalState.ts +63 -25
  3153. package/src/State/ResourceState.ts +5 -0
  3154. package/src/State/State.ts +71 -8
  3155. package/src/State/StateEncoding.ts +141 -0
  3156. package/src/State/Sync.ts +89 -0
  3157. package/src/State/index.ts +5 -0
  3158. package/src/Tags.ts +8 -1
  3159. package/src/Telemetry/Attributes.ts +216 -0
  3160. package/src/Telemetry/Layer.ts +76 -0
  3161. package/src/Telemetry/Metrics.ts +181 -0
  3162. package/src/Test/Bun.ts +196 -194
  3163. package/src/Test/Core.ts +284 -0
  3164. package/src/Test/TestState.ts +6 -8
  3165. package/src/Test/Vitest.ts +188 -490
  3166. package/src/Test/index.ts +0 -2
  3167. package/src/Util/Duration.ts +21 -0
  3168. package/src/Util/FileLogger.ts +2 -2
  3169. package/src/Util/PlatformServices.ts +87 -13
  3170. package/src/Util/cached-function.ts +75 -0
  3171. package/src/Util/camel.ts +3 -5
  3172. package/src/Util/data.ts +38 -0
  3173. package/src/Util/effect.ts +29 -4
  3174. package/src/Util/hash.ts +14 -0
  3175. package/src/Util/index.ts +0 -6
  3176. package/src/Util/layer-scoped.ts +25 -0
  3177. package/src/Util/poll.ts +47 -0
  3178. package/src/Util/proxy-chain.ts +80 -0
  3179. package/src/Util/scc.ts +89 -0
  3180. package/src/Util/stable.ts +4 -10
  3181. package/src/Util/types.ts +9 -2
  3182. package/src/index.ts +26 -2
  3183. package/bin/process-manager.ts +0 -10
  3184. package/lib/cli/index.d.ts +0 -408
  3185. package/lib/cli/index.d.ts.map +0 -1
  3186. package/lib/cli/index.js +0 -43053
  3187. package/lib/cli/index.js.map +0 -1
  3188. package/src/AWS/Account.ts +0 -56
  3189. package/src/AWS/Profile.ts +0 -5
  3190. package/src/AWS/StageConfig.ts +0 -44
  3191. package/src/Agent/Agent.ts +0 -26
  3192. package/src/Agent/Aspect.ts +0 -173
  3193. package/src/Agent/AspectGraph.ts +0 -98
  3194. package/src/Agent/ContextPlugin.ts +0 -18
  3195. package/src/Agent/Plugin.ts +0 -29
  3196. package/src/Agent/chat/channel.ts +0 -26
  3197. package/src/Agent/chat/event.ts +0 -43
  3198. package/src/Agent/chat/message.ts +0 -35
  3199. package/src/Agent/chat/service.ts +0 -133
  3200. package/src/Agent/chat/thread.ts +0 -17
  3201. package/src/Agent/coding/bash.ts +0 -198
  3202. package/src/Agent/coding/edit.ts +0 -152
  3203. package/src/Agent/coding/glob.ts +0 -97
  3204. package/src/Agent/coding/grep.ts +0 -144
  3205. package/src/Agent/coding/index.ts +0 -7
  3206. package/src/Agent/coding/read.ts +0 -119
  3207. package/src/Agent/coding/readlints.ts +0 -78
  3208. package/src/Agent/coding/write.ts +0 -79
  3209. package/src/Agent/fs/file.ts +0 -22
  3210. package/src/Agent/fs/folder.ts +0 -16
  3211. package/src/Agent/index.ts +0 -9
  3212. package/src/Agent/llm/error.ts +0 -330
  3213. package/src/Agent/llm/index.ts +0 -4
  3214. package/src/Agent/llm/llm.ts +0 -131
  3215. package/src/Agent/llm/stream-collectors.ts +0 -58
  3216. package/src/Agent/llm/stream-text-part.ts +0 -7
  3217. package/src/Agent/lsp/client.ts +0 -293
  3218. package/src/Agent/lsp/diagnostics.ts +0 -64
  3219. package/src/Agent/lsp/jsonrpc.ts +0 -317
  3220. package/src/Agent/lsp/manager.ts +0 -213
  3221. package/src/Agent/lsp/servers.ts +0 -37
  3222. package/src/Agent/process/driver.ts +0 -168
  3223. package/src/Agent/process/issue-service.ts +0 -48
  3224. package/src/Agent/process/issue-tools.ts +0 -33
  3225. package/src/Agent/process/issue.ts +0 -22
  3226. package/src/Agent/process/organization.ts +0 -16
  3227. package/src/Agent/process/process.ts +0 -16
  3228. package/src/Agent/process/reply.ts +0 -21
  3229. package/src/Agent/process/task.ts +0 -34
  3230. package/src/Agent/tool/index.ts +0 -3
  3231. package/src/Agent/tool/parameter.ts +0 -35
  3232. package/src/Agent/tool/result.ts +0 -51
  3233. package/src/Agent/tool/tool.ts +0 -74
  3234. package/src/Agent/util/command-validator.ts +0 -98
  3235. package/src/Agent/util/parser.ts +0 -39
  3236. package/src/Agent/util/replace.ts +0 -559
  3237. package/src/Agent/util/ripgrep.ts +0 -256
  3238. package/src/Cli/InkCLI.tsx +0 -60
  3239. package/src/Cli/components/ApprovePlan.tsx +0 -44
  3240. package/src/Cli/components/Plan.tsx +0 -148
  3241. package/src/Cli/components/PlanProgress.tsx +0 -325
  3242. package/src/Cloudflare/Account.ts +0 -38
  3243. package/src/Cloudflare/StageConfig.ts +0 -8
  3244. package/src/Config.ts +0 -31
  3245. package/src/Observability.ts +0 -0
  3246. package/src/Test/TestCli.ts +0 -21
  3247. package/src/Trait.ts +0 -105
  3248. package/src/Util/assert-never.ts +0 -18
  3249. package/src/Util/class.ts +0 -7
  3250. package/src/Util/instance.ts +0 -9
  3251. package/src/Util/pointer.ts +0 -5
  3252. package/src/Util/schema-to-type.ts +0 -456
  3253. package/src/Util/todo.ts +0 -4
  3254. /package/src/{Agent/util → Util}/exec.ts +0 -0
package/bin/exec.js ADDED
@@ -0,0 +1,3529 @@
1
+ import * as ConfigProvider from "effect/ConfigProvider";
2
+ import * as Effect from "effect/Effect";
3
+ import * as Layer from "effect/Layer";
4
+ import * as Schema from "effect/Schema";
5
+ import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
6
+ import * as EffectContext from "effect/Context";
7
+ import * as FileSystem from "effect/FileSystem";
8
+ import * as Path$1 from "effect/Path";
9
+ import { Path } from "effect/Path";
10
+ import * as Redacted from "effect/Redacted";
11
+ import path from "pathe";
12
+ import * as Config from "effect/Config";
13
+ import os from "node:os";
14
+ import { newWebSocketRpcSession } from "capnweb";
15
+ import * as Cache from "effect/Cache";
16
+ import * as HttpBody from "effect/unstable/http/HttpBody";
17
+ import * as HttpClient from "effect/unstable/http/HttpClient";
18
+ import * as Logger from "effect/Logger";
19
+ import * as Option from "effect/Option";
20
+ import "effect/Scope";
21
+ import * as Deferred from "effect/Deferred";
22
+ import * as Semaphore from "effect/Semaphore";
23
+ import * as Data from "effect/Data";
24
+ import * as Duration from "effect/Duration";
25
+ import { flow, pipe } from "effect/Function";
26
+ import { SingleShotGen } from "effect/Utils";
27
+ import { pipeArguments } from "effect/Pipeable";
28
+ import "effect/Predicate";
29
+ import "effect/Record";
30
+ import * as Cause from "effect/Cause";
31
+ import * as Exit from "effect/Exit";
32
+ import * as Stream from "effect/Stream";
33
+ import * as NodeUtil from "node:util";
34
+ import * as Console from "effect/Console";
35
+ import * as Command from "effect/unstable/cli/Command";
36
+ import * as Flag from "effect/unstable/cli/Flag";
37
+ import * as Metric from "effect/Metric";
38
+ import { createHash } from "node:crypto";
39
+ import * as Argument from "effect/unstable/cli/Argument";
40
+ import * as CliError from "effect/unstable/cli/CliError";
41
+ import { jsx, jsxs } from "react/jsx-runtime";
42
+ import { Box, Text, render, useApp, useInput } from "ink";
43
+ import { useEffect, useMemo, useRef, useState } from "react";
44
+
45
+ //#region lib/AlchemyContext.js
46
+ var AlchemyContext = class extends EffectContext.Service()("alchemy/Context") {};
47
+ const AlchemyContextLive = Layer.effect(AlchemyContext, Effect.gen(function* () {
48
+ const fs = yield* FileSystem.FileSystem;
49
+ const dir = (yield* Path$1.Path).join(process.cwd(), ".alchemy");
50
+ yield* fs.makeDirectory(dir, { recursive: true });
51
+ return {
52
+ dotAlchemy: dir,
53
+ updateStateStore: false,
54
+ dev: false,
55
+ adopt: false
56
+ };
57
+ }));
58
+
59
+ //#endregion
60
+ //#region lib/Auth/Profile.js
61
+ const rootDir = path.join(os.homedir(), ".alchemy");
62
+ const configFilePath = path.join(rootDir, "profiles.json");
63
+ /**
64
+ * Config key consulted by the various `fromAuthProvider` /
65
+ * `fromEnvironment` layers to pick which named profile in
66
+ * `~/.alchemy/profiles.json` to use. Defaults to `"default"`.
67
+ */
68
+ const ALCHEMY_PROFILE = Config.string("ALCHEMY_PROFILE").pipe(Config.withDefault("default"));
69
+ const CONFIG_VERSION = 0;
70
+ const emptyConfig = () => ({
71
+ version: CONFIG_VERSION,
72
+ profiles: {}
73
+ });
74
+ var Profile = class extends EffectContext.Service()("Alchemy::Profile") {};
75
+ /**
76
+ * Layer that builds the {@link Profile} service. Captures the
77
+ * {@link FileSystem.FileSystem} dependency at layer-build time, so any
78
+ * Effect that yields {@link Profile} ends up with `R = Profile` (no
79
+ * `FileSystem` leak). Provide this once at the top of your runtime
80
+ * (alongside `PlatformServices` / `NodeContext`).
81
+ */
82
+ const ProfileLive = Layer.effect(Profile, Effect.gen(function* () {
83
+ const fs = yield* FileSystem.FileSystem;
84
+ const readConfig = fs.readFileString(configFilePath).pipe(Effect.flatMap((data) => Effect.try({
85
+ try: () => {
86
+ const parsed = JSON.parse(data);
87
+ if (parsed?.version !== CONFIG_VERSION) return emptyConfig();
88
+ return parsed;
89
+ },
90
+ catch: emptyConfig
91
+ })), Effect.orElseSucceed(emptyConfig));
92
+ const writeConfig = (config) => fs.makeDirectory(path.dirname(configFilePath), { recursive: true }).pipe(Effect.flatMap(() => fs.writeFileString(configFilePath, JSON.stringify(config, null, 2))));
93
+ const getProfile = (name) => readConfig.pipe(Effect.map((config) => config.profiles[name]));
94
+ const setProfile = (name, profile$1) => readConfig.pipe(Effect.tap((config) => Effect.sync(() => config.profiles[name] = profile$1)), Effect.flatMap(writeConfig));
95
+ const deleteProfile = (name) => readConfig.pipe(Effect.flatMap((config) => {
96
+ if (!(name in config.profiles)) return Effect.succeed(false);
97
+ delete config.profiles[name];
98
+ return writeConfig(config).pipe(Effect.as(true));
99
+ }));
100
+ const loadOrConfigure = (auth, profileName, ctx) => Effect.flatMap(getProfile(profileName), (existing) => existing?.[auth.name] ? Effect.succeed(existing[auth.name]) : Effect.tap(auth.configure(profileName, ctx), (config) => setProfile(profileName, {
101
+ ...existing,
102
+ [auth.name]: config
103
+ })));
104
+ return {
105
+ readConfig,
106
+ writeConfig,
107
+ getProfile,
108
+ setProfile,
109
+ deleteProfile,
110
+ loadOrConfigure
111
+ };
112
+ }));
113
+ /**
114
+ * Returns a `ConfigProvider` that overrides `ALCHEMY_PROFILE` with the
115
+ * given `profile` (when explicitly passed via the CLI `--profile` flag),
116
+ * falling through to `base` for everything else.
117
+ *
118
+ * Use this to let the CLI's `--profile <name>` win over `$ALCHEMY_PROFILE`
119
+ * without disturbing other config lookups.
120
+ */
121
+ const withProfileOverride = (base, profile$1) => {
122
+ if (profile$1 === void 0) return base;
123
+ const overrides = { ALCHEMY_PROFILE: profile$1 };
124
+ const overrideProvider = ConfigProvider.make((path$1) => Effect.succeed(path$1.length === 1 && typeof path$1[0] === "string" && path$1[0] in overrides ? ConfigProvider.makeValue(overrides[path$1[0]]) : void 0));
125
+ return ConfigProvider.orElse(base)(overrideProvider);
126
+ };
127
+
128
+ //#endregion
129
+ //#region lib/Auth/Credentials.js
130
+ const credentialsDirPath = path.join(rootDir, "credentials");
131
+ const profileCredentialsDirPath = (profile$1) => path.join(credentialsDirPath, profile$1);
132
+ const credentialsFilePath = (profile$1, provider) => path.join(profileCredentialsDirPath(profile$1), `${provider}.json`);
133
+ var CredentialsStore = class extends EffectContext.Service()("Alchemy::CredentialsStore") {};
134
+ const CredentialsStoreLive = Layer.effect(CredentialsStore, Effect.gen(function* () {
135
+ const fs = yield* FileSystem.FileSystem;
136
+ const read = (profile$1, provider) => fs.readFileString(credentialsFilePath(profile$1, provider)).pipe(Effect.catch(() => Effect.succeed(void 0)), Effect.map((data) => {
137
+ if (data === void 0) return void 0;
138
+ try {
139
+ return JSON.parse(data);
140
+ } catch {
141
+ return;
142
+ }
143
+ }));
144
+ const write = (profile$1, provider, credentials) => {
145
+ const filePath = credentialsFilePath(profile$1, provider);
146
+ return fs.makeDirectory(path.dirname(filePath), { recursive: true }).pipe(Effect.flatMap(() => {
147
+ return fs.writeFileString(filePath, JSON.stringify(credentials, null, 2));
148
+ }));
149
+ };
150
+ const remove_ = (profile$1, provider) => fs.remove(credentialsFilePath(profile$1, provider)).pipe(Effect.catch(() => Effect.void));
151
+ const deleteProfile = (profile$1) => fs.remove(profileCredentialsDirPath(profile$1), { recursive: true }).pipe(Effect.catch(() => Effect.void));
152
+ return {
153
+ read,
154
+ write,
155
+ delete: remove_,
156
+ deleteProfile
157
+ };
158
+ }));
159
+
160
+ //#endregion
161
+ //#region lib/Artifacts.js
162
+ /**
163
+ * Per-resource in-memory artifacts shared across a single `Plan.make -> apply`
164
+ * execution.
165
+ *
166
+ * The engine scopes this service by resource `FQN` before invoking lifecycle
167
+ * handlers, so providers should treat it as a resource-local bag for expensive,
168
+ * deterministic intermediate results that can be reused across phases.
169
+ *
170
+ * Expected usage:
171
+ *
172
+ * - `diff` computes an expensive artifact once and stores it
173
+ * - `create` / `update` reads the same artifact and skips recomputing it
174
+ * - artifacts are ephemeral and must never be required for correctness on a
175
+ * later deploy because the bag is reset between runs
176
+ *
177
+ * Example:
178
+ *
179
+ * ```ts
180
+ * const artifacts = yield* Artifacts;
181
+ * const cached = yield* artifacts.get<PreparedBundle>("bundle");
182
+ * if (cached) return cached;
183
+ *
184
+ * const bundle = yield* prepareBundle();
185
+ * yield* artifacts.set("bundle", bundle);
186
+ * return bundle;
187
+ * ```
188
+ */
189
+ var Artifacts = class extends EffectContext.Service()("Artifacts") {};
190
+ var ArtifactStore = class extends EffectContext.Service()("Artifacts/Store") {};
191
+ /**
192
+ * Create a fresh root store for one deploy/test run.
193
+ */
194
+ const createArtifactStore = () => /* @__PURE__ */ new Map();
195
+ const getOrCreateBag = (store, fqn) => {
196
+ const existing = store.get(fqn);
197
+ if (existing) return existing;
198
+ const bag = /* @__PURE__ */ new Map();
199
+ store.set(fqn, bag);
200
+ return bag;
201
+ };
202
+ const makeScopedArtifacts = (store, fqn) => {
203
+ const bag = getOrCreateBag(store, fqn);
204
+ return {
205
+ get: (key) => Effect.sync(() => bag.get(key)),
206
+ set: (key, value) => Effect.sync(() => {
207
+ bag.set(key, value);
208
+ }),
209
+ delete: (key) => Effect.sync(() => {
210
+ bag.delete(key);
211
+ })
212
+ };
213
+ };
214
+ /**
215
+ * Ensure an artifact root exists, reusing the ambient store when one is already
216
+ * present. This lets nested helpers participate in the same run-scoped cache.
217
+ */
218
+ const ensureArtifactStore = (effect) => Effect.serviceOption(ArtifactStore).pipe(Effect.map(Option.getOrUndefined), Effect.flatMap((existing) => effect.pipe(Effect.provideService(ArtifactStore, existing ?? createArtifactStore()))));
219
+
220
+ //#endregion
221
+ //#region lib/Auth/AuthProvider.js
222
+ const interactiveMutex = Semaphore.makeUnsafe(1);
223
+ var AuthProviders = class extends EffectContext.Service()("AuthProviders") {};
224
+
225
+ //#endregion
226
+ //#region lib/Cli/Cli.js
227
+ var Cli = class extends EffectContext.Service()("CLI") {};
228
+
229
+ //#endregion
230
+ //#region lib/Ref.js
231
+ const RefMetadata = Symbol.for("alchemy/RefMetadata");
232
+ const isRef = (s) => s && s[RefMetadata] !== void 0;
233
+ const getRefMetadata = (ref) => ref[RefMetadata];
234
+
235
+ //#endregion
236
+ //#region lib/AdoptPolicy.js
237
+ /**
238
+ * AdoptPolicy controls whether the engine should "adopt" pre-existing cloud
239
+ * resources that conflict with this stack instead of failing.
240
+ *
241
+ * The engine always calls a provider's `read` lifecycle operation when there
242
+ * is no prior state and `read` is implemented. The provider's job is to
243
+ * report two things:
244
+ *
245
+ * 1. Whether the resource exists (returns attributes vs. `undefined`).
246
+ * 2. Whether *we* own it (plain attributes vs. {@link Unowned}-branded).
247
+ *
248
+ * The engine then routes:
249
+ *
250
+ * | `read` outcome | `adopt: false` | `adopt: true` |
251
+ * | ------------------- | -------------- | ----------------- |
252
+ * | undefined | create | create |
253
+ * | owned (plain attrs) | silent adopt | silent adopt |
254
+ * | {@link Unowned} | fail | takeover (adopt) |
255
+ *
256
+ * "Owned" means a provider has affirmatively determined the resource was
257
+ * created by this stack/stage/logical-id (typically by inspecting tags or
258
+ * naming conventions). Resources without ownership semantics simply always
259
+ * return plain attrs — they are treated as owned by default, so silent
260
+ * adoption is the norm and `--adopt` is unnecessary.
261
+ *
262
+ * The policy can be overridden per-effect via {@link adopt} — most commonly
263
+ * applied at the resource or stack scope.
264
+ */
265
+ var AdoptPolicy = class extends EffectContext.Service()("AdoptPolicy") {};
266
+ /**
267
+ * Engine-raised failure produced when `read` reports an existing resource
268
+ * marked as {@link Unowned} and `adopt` is `false`. Surface this to the user
269
+ * to indicate they should either re-tag the cloud resource, pick a different
270
+ * physical name, or re-run with `--adopt` (or `adopt(true)`) to force a
271
+ * takeover.
272
+ */
273
+ var OwnedBySomeoneElse = class extends Data.TaggedError("OwnedBySomeoneElse") {};
274
+ /**
275
+ * Private symbol used to brand attribute objects returned by `read` as
276
+ * "exists in cloud, but not owned by this stack/stage/logical-id".
277
+ *
278
+ * Deliberately *not* registered via `Symbol.for` — the brand is an
279
+ * engine-internal routing hint and must not be observable or
280
+ * forgeable from outside this module. The engine strips it before any
281
+ * state persistence (see {@link stripUnowned}) so it never leaks into
282
+ * the state store, JSON serialization, or downstream `Output`s.
283
+ */
284
+ const UnownedTag = Symbol("alchemy/Unowned");
285
+ /**
286
+ * Brand a `read` return value as belonging to a different owner.
287
+ *
288
+ * Use this in a provider's `read` implementation when the resource exists in
289
+ * the cloud but a positive ownership check (e.g. tag inspection) shows it
290
+ * was *not* created by this stack/stage/logical-id:
291
+ *
292
+ * ```ts
293
+ * read: Effect.fnUntraced(function* ({ id, output, olds }) {
294
+ * const settings = yield* getScriptSettings({ ... }).pipe(
295
+ * Effect.catchTag("WorkerNotFound", () => Effect.succeed(undefined)),
296
+ * );
297
+ * if (!settings) return undefined;
298
+ *
299
+ * const attrs = { workerName, ...buildAttrs(settings) };
300
+ * return hasAlchemyWorkerTags(id, settings.tags) ? attrs : Unowned(attrs);
301
+ * }),
302
+ * ```
303
+ *
304
+ * The returned value is structurally still `T` — there is no wrapper to
305
+ * unwrap. The brand is a non-enumerable symbol that the engine inspects
306
+ * during planning to decide whether to take over (`adopt: true`) or fail
307
+ * loudly (`adopt: false`).
308
+ *
309
+ * Resources without ownership semantics should simply return plain attrs —
310
+ * the engine treats them as owned and silent adoption is the default.
311
+ */
312
+ const Unowned = Object.assign((attrs) => {
313
+ const cloned = { ...attrs };
314
+ Object.defineProperty(cloned, UnownedTag, {
315
+ value: true,
316
+ enumerable: false,
317
+ writable: false,
318
+ configurable: false
319
+ });
320
+ return cloned;
321
+ }, { is: (value) => typeof value === "object" && value !== null && value[UnownedTag] === true });
322
+ /**
323
+ * Strip the {@link Unowned} brand from an attributes object before persisting
324
+ * it — state should not carry per-deploy ownership-routing metadata.
325
+ *
326
+ * The brand is intentionally non-enumerable, so a plain spread already
327
+ * drops it; the additional `delete` is defense-in-depth in case a future
328
+ * change makes the descriptor enumerable. Always returns a fresh object
329
+ * (never mutates the input).
330
+ */
331
+ const stripUnowned = (attrs) => {
332
+ const out = { ...attrs };
333
+ if (UnownedTag in out) delete out[UnownedTag];
334
+ return out;
335
+ };
336
+
337
+ //#endregion
338
+ //#region lib/FQN.js
339
+ /**
340
+ * Separator used in FQN strings.
341
+ */
342
+ const FQN_SEPARATOR = "/";
343
+ /**
344
+ * Convert a NamespaceNode chain to an array of namespace IDs, from root to leaf.
345
+ *
346
+ * @example
347
+ * ```ts
348
+ * const ns = { Id: "Child", Parent: { Id: "Parent", Parent: { Id: "Root" } } };
349
+ * toPath(ns); // ["Root", "Parent", "Child"]
350
+ * ```
351
+ */
352
+ const toPath = (ns) => {
353
+ if (!ns) return [];
354
+ const path$1 = [];
355
+ let current = ns;
356
+ while (current) {
357
+ path$1.unshift(current.Id);
358
+ current = current.Parent;
359
+ }
360
+ return path$1;
361
+ };
362
+ /**
363
+ * Create a fully-qualified name (FQN) from a namespace and logical ID.
364
+ * The FQN is a flat key suitable for state storage.
365
+ *
366
+ * @example
367
+ * ```ts
368
+ * const ns = { Id: "Child", Parent: { Id: "Parent" } };
369
+ * toFqn(ns, "MyResource"); // "Parent/Child/MyResource"
370
+ * toFqn(undefined, "MyResource"); // "MyResource"
371
+ * ```
372
+ */
373
+ const toFqn = (ns, logicalId) => {
374
+ const path$1 = toPath(ns);
375
+ path$1.push(logicalId);
376
+ return path$1.join(FQN_SEPARATOR);
377
+ };
378
+ /**
379
+ * Parse an FQN back into namespace path segments and the logical ID.
380
+ *
381
+ * @example
382
+ * ```ts
383
+ * parseFqn("Parent/Child/MyResource"); // { path: ["Parent", "Child"], logicalId: "MyResource" }
384
+ * parseFqn("MyResource"); // { path: [], logicalId: "MyResource" }
385
+ * ```
386
+ */
387
+ const parseFqn = (fqn) => {
388
+ const parts = fqn.split(FQN_SEPARATOR);
389
+ return {
390
+ path: parts,
391
+ logicalId: parts.pop()
392
+ };
393
+ };
394
+
395
+ //#endregion
396
+ //#region lib/Provider.js
397
+ const Provider = (type) => EffectContext.Service()(type);
398
+ const isProviderCollectionService = (value) => {
399
+ return typeof value === "object" && value !== null && "kind" in value && value.kind === "ProviderCollection";
400
+ };
401
+ const findProviderByType = (type) => tryFindProviderByType(type).pipe(Effect.flatMap(Option.match({
402
+ onNone: () => Effect.die(`Provider not found for ${type}`),
403
+ onSome: (provider) => Effect.succeed(provider)
404
+ })));
405
+ const tryFindProviderByType = Effect.fnUntraced(function* (resourceType) {
406
+ const Tag = Provider(resourceType);
407
+ const direct = yield* Effect.serviceOption(Tag);
408
+ if (Option.isSome(direct)) return direct;
409
+ const context = yield* Effect.context();
410
+ for (const value of context.mapUnsafe.values()) if (isProviderCollectionService(value)) {
411
+ const provider = value.get(resourceType);
412
+ if (provider) return Option.some(provider);
413
+ }
414
+ return Option.none();
415
+ });
416
+
417
+ //#endregion
418
+ //#region lib/Resource.js
419
+ const isResource = (value) => {
420
+ return typeof value === "object" && value !== null && "Type" in value;
421
+ };
422
+
423
+ //#endregion
424
+ //#region lib/RuntimeContext.js
425
+ /**
426
+ * Canonicalize a logical key into a key that is safe to use as the name of an
427
+ * environment variable / binding (`[a-zA-Z][a-zA-Z0-9_]*`).
428
+ *
429
+ * `RuntimeContext.set`/`get` are dumb key/value stores: they read and write the
430
+ * key **verbatim**. It is the *caller's* responsibility to hand them a
431
+ * canonical key, since the caller is the one that knows the logical key may
432
+ * contain `.`/`-` (e.g. a dotted config name from `Platform`, or an
433
+ * `Output.toString()` like `"QueueSinkQueue.queueUrl"`). Callers run the key
434
+ * through this before calling `set`/`get` so both sides agree.
435
+ */
436
+ const sanitizeKey = (key) => key.replaceAll(/[^a-zA-Z0-9]/g, "_");
437
+ /**
438
+ * Context of the runtime environment.
439
+ *
440
+ * E.g. the context of a running Worker, Task, Process, Function
441
+ */
442
+ var RuntimeContext = class extends EffectContext.Service()("RuntimeContext") {};
443
+ const CurrentRuntimeContext = Effect.serviceOption(RuntimeContext).pipe(Effect.map(Option.getOrUndefined));
444
+
445
+ //#endregion
446
+ //#region lib/Stage.js
447
+ var Stage = class extends EffectContext.Service()("Stage") {};
448
+
449
+ //#endregion
450
+ //#region lib/State/State.js
451
+ const isActionState = (s) => !!s && s.kind === "action";
452
+ var State = class extends EffectContext.Service()("alchemy/State") {};
453
+
454
+ //#endregion
455
+ //#region lib/Util/data.js
456
+ const isPrimitive = (value) => value === void 0 || value === null || typeof value === "boolean" || typeof value === "number" || typeof value === "string" || typeof value === "symbol" || typeof value === "bigint";
457
+
458
+ //#endregion
459
+ //#region lib/Output.js
460
+ const inspect = Symbol.for("nodejs.util.inspect.custom");
461
+ const of = (resource) => {
462
+ if (isRef(resource)) {
463
+ const metadata = getRefMetadata(resource);
464
+ return new RefExpr(metadata.stack, metadata.stage, metadata.id);
465
+ }
466
+ return new ResourceExpr(resource);
467
+ };
468
+ const asOutput = (t) => isOutput(t) ? t : Effect.isEffect(t) ? new EffectExpr(VoidExpr, () => t) : new LiteralExpr(t);
469
+ const isOutput = (value) => value && (typeof value === "object" || typeof value === "function") && ExprSymbol in value;
470
+ const ExprSymbol = Symbol.for("alchemy/Expr");
471
+ const exprKind = (node) => node?.[ExprSymbol]?.kind ?? node?.kind;
472
+ const isExpr = (value) => value && (typeof value === "object" || typeof value === "function") && ExprSymbol in value;
473
+ var BaseExpr = class {
474
+ constructor() {}
475
+ as() {
476
+ return this;
477
+ }
478
+ [Symbol.iterator]() {
479
+ return new SingleShotGen(this.asEffect());
480
+ }
481
+ asEffect() {
482
+ return this.bind(this.toString());
483
+ }
484
+ bind(id) {
485
+ const key = sanitizeKey(id);
486
+ return RuntimeContext.pipe(Effect.flatMap((ctx) => Effect.map(ctx.set(key, this), (k) => ctx.get(k))));
487
+ }
488
+ pipe(...fns) {
489
+ return pipe(this, ...fns);
490
+ }
491
+ toString() {
492
+ return this[inspect]();
493
+ }
494
+ };
495
+ const isResourceExpr = (node) => exprKind(node) === "ResourceExpr";
496
+ var ResourceExpr = class extends BaseExpr {
497
+ src;
498
+ stables;
499
+ kind = "ResourceExpr";
500
+ constructor(src, stables) {
501
+ super();
502
+ this.src = src;
503
+ this.stables = stables;
504
+ return proxy(this);
505
+ }
506
+ [inspect]() {
507
+ return this.src.LogicalId;
508
+ }
509
+ };
510
+ const isPropExpr = (node) => exprKind(node) === "PropExpr";
511
+ var PropExpr = class extends BaseExpr {
512
+ expr;
513
+ identifier;
514
+ kind = "PropExpr";
515
+ constructor(expr, identifier) {
516
+ super();
517
+ this.expr = expr;
518
+ this.identifier = identifier;
519
+ return proxy(this);
520
+ }
521
+ [inspect]() {
522
+ return `${this.expr[inspect]()}.${this.identifier.toString()}`;
523
+ }
524
+ };
525
+ const isLiteralExpr = (node) => exprKind(node) === "LiteralExpr";
526
+ var LiteralExpr = class extends BaseExpr {
527
+ value;
528
+ kind = "LiteralExpr";
529
+ constructor(value) {
530
+ super();
531
+ this.value = value;
532
+ return proxy(this);
533
+ }
534
+ [inspect]() {
535
+ return String(this.value);
536
+ }
537
+ };
538
+ const VoidExpr = new LiteralExpr(void 0);
539
+ const isApplyExpr = (node) => exprKind(node) === "ApplyExpr";
540
+ var ApplyExpr = class extends BaseExpr {
541
+ expr;
542
+ f;
543
+ kind = "ApplyExpr";
544
+ constructor(expr, f) {
545
+ super();
546
+ this.expr = expr;
547
+ this.f = f;
548
+ return proxy(this);
549
+ }
550
+ [inspect]() {
551
+ return `${this.expr[inspect]()}.map(${this.f.toString()})`;
552
+ }
553
+ };
554
+ const isFlatMapExpr = (node) => exprKind(node) === "FlatMapExpr";
555
+ var FlatMapExpr = class extends BaseExpr {
556
+ expr;
557
+ f;
558
+ kind = "FlatMapExpr";
559
+ constructor(expr, f) {
560
+ super();
561
+ this.expr = expr;
562
+ this.f = f;
563
+ return proxy(this);
564
+ }
565
+ [inspect]() {
566
+ return `${this.expr[inspect]()}.flatMap(${this.f.toString()})`;
567
+ }
568
+ };
569
+ const isEffectExpr = (node) => exprKind(node) === "EffectExpr";
570
+ var EffectExpr = class extends BaseExpr {
571
+ expr;
572
+ f;
573
+ kind = "EffectExpr";
574
+ constructor(expr, f) {
575
+ super();
576
+ this.expr = expr;
577
+ this.f = f;
578
+ return proxy(this);
579
+ }
580
+ [inspect]() {
581
+ return `${this.expr[inspect]()}.mapEffect(${this.f.toString()})`;
582
+ }
583
+ };
584
+ const isNamedExpr = (node) => exprKind(node) === "NamedExpr";
585
+ /**
586
+ * Wraps another `Expr` and overrides its `toString()` / inspect output.
587
+ *
588
+ * `BaseExpr` derives the binding id from `this.toString()`, so
589
+ * wrapping an expression in `NamedExpr` makes that derived id stable and
590
+ * caller-controlled (e.g. an env var name like `"API_KEY"`).
591
+ */
592
+ var NamedExpr = class extends BaseExpr {
593
+ expr;
594
+ bindingName;
595
+ kind = "NamedExpr";
596
+ constructor(expr, bindingName) {
597
+ super();
598
+ this.expr = expr;
599
+ this.bindingName = bindingName;
600
+ return proxy(this);
601
+ }
602
+ [inspect]() {
603
+ return this.bindingName;
604
+ }
605
+ };
606
+ const isAllExpr = (node) => exprKind(node) === "AllExpr";
607
+ var AllExpr = class extends BaseExpr {
608
+ outs;
609
+ kind = "AllExpr";
610
+ constructor(outs) {
611
+ super();
612
+ this.outs = outs;
613
+ return proxy(this);
614
+ }
615
+ [inspect]() {
616
+ return `all(${this.outs.map((out) => out[inspect]()).join(", ")})`;
617
+ }
618
+ };
619
+ const isRefExpr = (node) => exprKind(node) === "RefExpr";
620
+ var RefExpr = class extends BaseExpr {
621
+ stack;
622
+ stage;
623
+ resourceId;
624
+ kind = "RefExpr";
625
+ constructor(stack, stage$1, resourceId) {
626
+ super();
627
+ this.stack = stack;
628
+ this.stage = stage$1;
629
+ this.resourceId = resourceId;
630
+ return proxy(this);
631
+ }
632
+ [inspect]() {
633
+ return `ref(${this.resourceId}, { stack: ${this.stack}, stage: ${this.stage} })`;
634
+ }
635
+ };
636
+ const isStackRefExpr = (node) => exprKind(node) === "StackRefExpr";
637
+ /**
638
+ * A reference to the persisted output of a Stack at `(stack, stage)`.
639
+ *
640
+ * Resolved at evaluation time by reading `state.getOutput({ stack,
641
+ * stage })`. Distinct from {@link RefExpr}, which references a
642
+ * single resource's attributes within a stack/stage. `stage` may be
643
+ * `undefined`, in which case it falls back to the current stage.
644
+ */
645
+ var StackRefExpr = class extends BaseExpr {
646
+ stack;
647
+ stage;
648
+ kind = "StackRefExpr";
649
+ constructor(stack, stage$1) {
650
+ super();
651
+ this.stack = stack;
652
+ this.stage = stage$1;
653
+ return proxy(this);
654
+ }
655
+ [inspect]() {
656
+ return `stackRef(${this.stack}${this.stage ? `, { stage: ${this.stage} }` : ""})`;
657
+ }
658
+ };
659
+ /**
660
+ * Build an `Output<A>` referencing the persisted output of another
661
+ * Stack. The returned Effect resolves to a lazy `Output<A>` whose
662
+ * value is read from the state store at plan/apply time.
663
+ *
664
+ * Returns `Effect<Output<A>>` (not `Output<A>` directly) so that
665
+ * `yield* Output.stackRef(...)` reads ergonomically inside an Effect
666
+ * generator and lines up with `Resource.ref` and `Stack.stage.<name>`.
667
+ */
668
+ const stackRef = (stack, options = {}) => Effect.succeed(new StackRefExpr(stack, options.stage));
669
+ function proxy(self) {
670
+ const target = Object.assign(() => {}, self);
671
+ if (inspect in self) Object.defineProperty(target, inspect, {
672
+ value: self[inspect].bind(self),
673
+ configurable: true
674
+ });
675
+ const proxy$1 = new Proxy(target, {
676
+ has: (_, prop) => prop === ExprSymbol || prop === inspect ? true : prop in self,
677
+ get: (target$1, prop) => prop === Symbol.toPrimitive ? (hint) => {
678
+ throw new Error(`Cannot coerce Output<${self[inspect]()}> to a ${hint === "number" ? "number" : "string"} via JS coercion. Use Output.interpolate\`...\` or Output.map(output, fn) to compose Outputs — the value isn't known until deploy time.`);
679
+ } : prop === ExprSymbol ? self : prop === inspect ? target$1[inspect] : isResourceExpr(self) && self.stables && prop in self.stables ? self.stables[prop] : prop in self ? typeof self[prop] === "function" && !("kind" in self) ? new PropExpr(proxy$1, prop) : self[prop] : new PropExpr(proxy$1, prop),
680
+ apply: (_, thisArg, args) => {
681
+ if (isPropExpr(self)) {
682
+ if (self.identifier === "map" || self.identifier === "apply") return new ApplyExpr(self.expr, args[0]);
683
+ else if (self.identifier === "mapEffect" || self.identifier === "effect") return new EffectExpr(self.expr, args[0]);
684
+ else if (self.identifier === "flatMap") return new FlatMapExpr(self.expr, args[0]);
685
+ }
686
+ }
687
+ });
688
+ return proxy$1;
689
+ }
690
+ var MissingSourceError = class extends Data.TaggedError("MissingSourceError") {};
691
+ var InvalidReferenceError = class extends Data.TaggedError("InvalidReferenceError") {};
692
+ const evaluate = (expr, upstream$1) => Effect.gen(function* () {
693
+ if (isResource(expr)) {
694
+ const srcId = expr.FQN;
695
+ const src = upstream$1[srcId];
696
+ if (!src) return yield* new MissingSourceError({
697
+ message: `Source ${srcId} not found`,
698
+ srcId
699
+ });
700
+ return src;
701
+ } else if (isOutput(expr)) {
702
+ if (isResourceExpr(expr)) {
703
+ const srcId = expr.src.FQN;
704
+ const src = upstream$1[srcId];
705
+ if (!src) return yield* new MissingSourceError({
706
+ message: `Source ${srcId} not found`,
707
+ srcId
708
+ });
709
+ return src;
710
+ } else if (isLiteralExpr(expr)) return expr.value;
711
+ else if (isApplyExpr(expr)) return expr.f(yield* evaluate(expr.expr, upstream$1));
712
+ else if (isEffectExpr(expr)) return yield* expr.f(yield* evaluate(expr.expr, upstream$1));
713
+ else if (isFlatMapExpr(expr)) {
714
+ const value = yield* evaluate(expr.expr, upstream$1);
715
+ return yield* evaluate(expr.f(value), upstream$1);
716
+ } else if (isAllExpr(expr)) return yield* Effect.all(expr.outs.map((out) => evaluate(out, upstream$1)));
717
+ else if (isPropExpr(expr)) return (yield* evaluate(expr.expr, upstream$1))?.[expr.identifier];
718
+ else if (isNamedExpr(expr)) return yield* evaluate(expr.expr, upstream$1);
719
+ else if (isRefExpr(expr)) {
720
+ const state = yield* yield* State;
721
+ const stack = expr.stack ?? (yield* Stack).name;
722
+ const stage$1 = expr.stage ?? (yield* Stage);
723
+ const resource = yield* state.get({
724
+ stack,
725
+ stage: stage$1,
726
+ fqn: expr.resourceId
727
+ });
728
+ if (!resource) return yield* Effect.fail(new InvalidReferenceError({
729
+ message: `Reference to '${expr.resourceId}' in stack '${stack}' and stage '${stage$1}' not found. Have you deployed '${stage$1}' or '${stack}'?`,
730
+ stack,
731
+ stage: stage$1,
732
+ resourceId: expr.resourceId
733
+ }));
734
+ return resource.attr ?? resource.output;
735
+ } else if (isStackRefExpr(expr)) {
736
+ const state = yield* yield* State;
737
+ const stack = expr.stack;
738
+ const stage$1 = expr.stage ?? (yield* Stage);
739
+ const output = yield* state.getOutput({
740
+ stack,
741
+ stage: stage$1
742
+ });
743
+ if (output == null) return yield* Effect.fail(new InvalidReferenceError({
744
+ message: `Reference to stack '${stack}' at stage '${stage$1}' not found. Have you deployed stage '${stage$1}' of '${stack}'?`,
745
+ stack,
746
+ stage: stage$1,
747
+ resourceId: stack
748
+ }));
749
+ return output;
750
+ }
751
+ }
752
+ if (Array.isArray(expr)) return yield* Effect.all(expr.map((item) => evaluate(item, upstream$1)));
753
+ else if (Redacted.isRedacted(expr)) return expr;
754
+ else if (Duration.isDuration(expr)) return expr;
755
+ else if (typeof expr === "object" && expr !== null) return Object.fromEntries(yield* Effect.all(Object.entries(expr).map(([key, value]) => evaluate(value, upstream$1).pipe(Effect.map((value$1) => [key, value$1])))));
756
+ return expr;
757
+ });
758
+ const hasOutputs = (value) => Object.keys(upstreamAny(value)).length > 0;
759
+ const upstreamAny = (value) => {
760
+ if (isResource(value)) return { [value.FQN]: value };
761
+ else if (isExpr(value)) return upstream(value);
762
+ else if (Array.isArray(value)) return Object.assign({}, ...value.map(resolveUpstream));
763
+ else if (value && (typeof value === "object" || typeof value === "function")) return Object.assign({}, ...Object.values(value).map((value$1) => resolveUpstream(value$1)));
764
+ return {};
765
+ };
766
+ const upstream = (expr) => {
767
+ if (isResource(expr)) return { [expr.FQN]: expr };
768
+ else if (isResourceExpr(expr)) return { [expr.src.FQN]: expr.src };
769
+ else if (isPropExpr(expr)) return upstream(expr.expr);
770
+ else if (isAllExpr(expr)) return Object.assign({}, ...expr.outs.map((out) => upstream(out)));
771
+ else if (isEffectExpr(expr) || isApplyExpr(expr) || isFlatMapExpr(expr) || isNamedExpr(expr)) return upstream(expr.expr);
772
+ else if (Array.isArray(expr)) return expr.map(upstream).reduce(toObject, {});
773
+ else if (typeof expr === "object" && expr !== null) return Object.values(expr).map((v) => upstream(v)).reduce(toObject, {});
774
+ return {};
775
+ };
776
+ const resolveUpstream = (value) => {
777
+ if (isPrimitive(value)) return {};
778
+ else if (isResource(value)) return { [value.FQN]: value };
779
+ else if (isOutput(value)) return upstream(value);
780
+ else if (Array.isArray(value)) return Object.fromEntries(value.map((v) => resolveUpstream(v)).flatMap(Object.entries));
781
+ else if (typeof value === "object" || typeof value === "function") return Object.fromEntries(Object.values(value).map(resolveUpstream).flatMap(Object.entries));
782
+ return {};
783
+ };
784
+ const toObject = (acc, v) => ({
785
+ ...acc,
786
+ ...v
787
+ });
788
+
789
+ //#endregion
790
+ //#region lib/Util/ConfigProvider.js
791
+ const loadConfigProvider = (envFile$1) => {
792
+ if (Option.isSome(envFile$1)) return ConfigProvider.fromDotEnv({ path: envFile$1.value }).pipe(Effect.map((dotEnv) => ConfigProvider.orElse(dotEnv, ConfigProvider.fromEnv())));
793
+ return Effect.gen(function* () {
794
+ if (!(yield* (yield* FileSystem.FileSystem).exists(".env"))) return ConfigProvider.fromEnv();
795
+ return ConfigProvider.orElse(yield* ConfigProvider.fromDotEnv({ path: ".env" }), ConfigProvider.fromEnv());
796
+ });
797
+ };
798
+
799
+ //#endregion
800
+ //#region lib/Util/effect.js
801
+ const effectClass = ((impl) => impl === void 0 ? (innerImpl) => effectClass(innerImpl) : Object.assign(class {
802
+ static asEffect() {
803
+ return impl;
804
+ }
805
+ static [Symbol.iterator]() {
806
+ return new SingleShotGen(this.asEffect());
807
+ }
808
+ static pipe(...fns) {
809
+ return pipeArguments(this, fns);
810
+ }
811
+ }, impl));
812
+ const taggedFunction = (tag$1, fn) => {
813
+ const overrides = {
814
+ asEffect: () => tag$1,
815
+ [Symbol.iterator]: () => tag$1[Symbol.iterator](),
816
+ pipe: (...fns) => pipeArguments(tag$1, fns),
817
+ toString: () => `${tag$1.toString()}.${fn.name}`
818
+ };
819
+ return new Proxy(fn, {
820
+ get: (target, prop, receiver) => Reflect.has(overrides, prop) ? Reflect.get(overrides, prop, receiver) : Reflect.has(target, prop) ? Reflect.get(target, prop, receiver) : Reflect.get(tag$1, prop, tag$1),
821
+ has: (target, prop) => Reflect.has(overrides, prop) || Reflect.has(target, prop) || Reflect.has(tag$1, prop)
822
+ });
823
+ };
824
+
825
+ //#endregion
826
+ //#region lib/Util/FileLogger.js
827
+ const fileLogger = Effect.fnUntraced(function* (...segments) {
828
+ const { dotAlchemy } = yield* AlchemyContext;
829
+ const fs = yield* FileSystem.FileSystem;
830
+ const path$1 = yield* Path;
831
+ const logFile = path$1.join(dotAlchemy, "log", ...segments);
832
+ yield* fs.makeDirectory(path$1.dirname(logFile), { recursive: true });
833
+ return yield* Logger.formatLogFmt.pipe(Logger.toFile(logFile, { flag: "a" }));
834
+ });
835
+
836
+ //#endregion
837
+ //#region lib/Util/PlatformServices.js
838
+ const isBun = typeof Bun !== "undefined";
839
+ /**
840
+ * Constructs a layer with different implementations for Bun and Node.
841
+ */
842
+ const platformLayer = (constructors) => Layer.unwrap(Effect.promise(async () => {
843
+ if (isBun) return await constructors.bun();
844
+ else return await constructors.node();
845
+ }));
846
+ const PlatformServices = platformLayer({
847
+ bun: async () => {
848
+ const [BunServices, BunSocket] = await Promise.all([import("@effect/platform-bun/BunServices"), import("@effect/platform-bun/BunSocket")]);
849
+ return Layer.merge(BunServices.layer, BunSocket.layerWebSocketConstructor);
850
+ },
851
+ node: async () => {
852
+ const [NodeServices, NodeSocket] = await Promise.all([import("@effect/platform-node/NodeServices"), import("@effect/platform-node/NodeSocket")]);
853
+ return Layer.merge(NodeServices.layer, NodeSocket.layerWebSocketConstructor);
854
+ }
855
+ });
856
+ const runMain = (effect, options) => {
857
+ if (isBun) import("@effect/platform-bun/BunRuntime").then((BunRuntime) => BunRuntime.runMain(effect, options));
858
+ else import("@effect/platform-node/NodeRuntime").then((NodeRuntime) => NodeRuntime.runMain(effect, options));
859
+ };
860
+
861
+ //#endregion
862
+ //#region lib/Stack.js
863
+ const Stack = Object.assign(taggedFunction(EffectContext.Service()("Stack"), (stackName, options, eff) => {
864
+ if (!stackName) return (stackName$1) => Object.assign(stackRef(stackName$1).pipe(effectClass), {
865
+ stackName: stackName$1,
866
+ stage: createStageProxy(stackName$1),
867
+ state: options?.state,
868
+ providers: options?.providers,
869
+ make: (options$1, eff$1) => Stack(stackName$1, options$1, eff$1)
870
+ });
871
+ return eff.pipe(make$2({
872
+ name: stackName,
873
+ ...options
874
+ }), (eff$1) => Object.assign(eff$1, {
875
+ stackName,
876
+ stage: createStageProxy(stackName),
877
+ state: options?.state,
878
+ providers: options?.providers
879
+ }));
880
+ }));
881
+ const createStageProxy = (stackName) => new Proxy({}, { get: (_, stage$1) => stackRef(stackName, { stage: stage$1 }) });
882
+ const StackName = Stack.use((stack) => Effect.succeed(stack.name));
883
+ const make$2 = (options) => (effect) => Effect.scope.pipe(Effect.flatMap((scope) => {
884
+ if (options.state == null) return Effect.die(/* @__PURE__ */ new Error(`Stack "${options.name}" is missing a state store. Add a \`state\` layer to the stack options, e.g.:\n Alchemy.Stack("${options.name}", {\n providers: Cloudflare.providers(),\n state: Cloudflare.state(), // <-- required\n }, ...)\nSee https://v2.alchemy.run/concepts/state-store for available state stores.`));
885
+ if (options.providers == null) return Effect.die(/* @__PURE__ */ new Error(`Stack "${options.name}" is missing a providers layer. Add a \`providers\` layer to the stack options, e.g.:\n Alchemy.Stack("${options.name}", {\n providers: Cloudflare.providers(), // <-- required\n state: Cloudflare.state(),\n }, ...)`));
886
+ return options.providers.pipe(Layer.provideMerge(options.state), Layer.provideMerge(Layer.effect(Stack, Stage.pipe(Effect.map((stage$1) => options.stack ?? {
887
+ name: options.name,
888
+ stage: stage$1,
889
+ resources: {},
890
+ bindings: {},
891
+ actions: {}
892
+ })))), Layer.buildWithScope(scope));
893
+ }), Effect.flatMap((context) => Effect.all([
894
+ effect,
895
+ Stack,
896
+ Effect.context()
897
+ ]).pipe(Effect.map(([output, stack, services$1]) => ({
898
+ ...stack,
899
+ output,
900
+ services: EffectContext.merge(services$1, context)
901
+ })), Effect.provideContext(context))));
902
+ const CurrentStack = Effect.serviceOption(Stack).pipe(Effect.map(Option.getOrUndefined));
903
+ const platform = Layer.mergeAll(PlatformServices, FetchHttpClient.layer, Logger.layer([fileLogger("out")], { mergeWithExisting: true }), Layer.provide(ProfileLive, PlatformServices), Layer.provide(CredentialsStoreLive, PlatformServices));
904
+
905
+ //#endregion
906
+ //#region lib/Local/RpcSerialization.js
907
+ const unwrapRpcHandlers = (handlers, streamKeys) => {
908
+ return Object.fromEntries(Object.entries(handlers).map(([key, value]) => [key, typeof value === "function" ? streamKeys?.includes(key) ? unwrapRpcStreamHandler(value) : unwrapRpcEffectHandler(value) : typeof value === "object" && value !== null ? unwrapRpcHandlers(value) : value]));
909
+ };
910
+ const serializeError = Schema.encodeSync(Schema.Defect);
911
+ const unwrapRpcEffectHandler = (handler) => flow((...args) => serializeRpcArgs(args), (args) => Effect.promise(() => handler(args)), Effect.flatMap((exit) => {
912
+ if (exit._tag === "Success") return Exit.succeed(exit.value);
913
+ return Exit.failCause(Cause.fromReasons(exit.cause.map((reason) => {
914
+ switch (reason._tag) {
915
+ case "Fail": return Cause.makeFailReason(reason.error);
916
+ case "Die": return Cause.makeDieReason(reason.defect);
917
+ case "Interrupt": return Cause.makeInterruptReason(reason.fiberId);
918
+ }
919
+ })));
920
+ }));
921
+ const unwrapRpcStreamHandler = (handler) => flow((...args) => serializeRpcArgs(args), (args) => handler(args), (stream) => Stream.fromReadableStream({
922
+ evaluate: () => stream,
923
+ onError: (error) => error
924
+ }));
925
+ const serializeRpcArgs = (value) => {
926
+ if (Redacted.isRedacted(value)) return {
927
+ _tag: "Redacted",
928
+ value: Redacted.value(value)
929
+ };
930
+ if (isOutput(value)) return {
931
+ _tag: "Output",
932
+ description: NodeUtil.inspect(value)
933
+ };
934
+ if (typeof value === "function") return null;
935
+ if (Array.isArray(value)) return value.map(serializeRpcArgs);
936
+ if (value && typeof value === "object" && !("toJSON" in value)) return Object.fromEntries(Object.entries(value).map(([key, child]) => [key, serializeRpcArgs(child)]));
937
+ return value;
938
+ };
939
+
940
+ //#endregion
941
+ //#region lib/Local/RpcProviderProxy.js
942
+ var RpcProviderProxy = class extends EffectContext.Service()("alchemy/Local/RpcProviderProxy") {};
943
+ const SPAWNER_URL_ENV_KEY = "ALCHEMY_RPC_SPAWNER_URL";
944
+ const make$1 = Effect.fnUntraced(function* (spawnerUrl) {
945
+ const client = yield* HttpClient.HttpClient;
946
+ const getSession = Effect.fnUntraced(function* (serverEntryUrl) {
947
+ const alchemyContext = yield* AlchemyContext;
948
+ const stack = yield* Stack;
949
+ const payload = {
950
+ serverEntryUrl,
951
+ alchemyContext,
952
+ stack: {
953
+ name: stack.name,
954
+ stage: stack.stage
955
+ }
956
+ };
957
+ return newWebSocketRpcSession(yield* (yield* client.post(spawnerUrl, { body: yield* HttpBody.json(payload) })).text);
958
+ }, (effect, serverEntryUrl) => Effect.catch(effect, (error) => Effect.die(new Error(`Failed to create provider RPC session for "${serverEntryUrl}"`, { cause: error }))));
959
+ const cache = yield* Cache.make({
960
+ lookup: getSession,
961
+ capacity: Infinity,
962
+ requireServicesAt: "lookup"
963
+ });
964
+ return RpcProviderProxy.of({ get: Effect.fnUntraced(function* (mainUrl, providerName) {
965
+ const session = yield* cache.lookup(mainUrl);
966
+ return unwrapRpcHandlers(yield* Effect.promise(() => session.getProvider(providerName)), ["tail"]);
967
+ }) });
968
+ });
969
+ const fromEnv = () => Layer.effect(RpcProviderProxy, Config.string(SPAWNER_URL_ENV_KEY).pipe(Effect.flatMap(make$1)));
970
+
971
+ //#endregion
972
+ //#region lib/Diff.js
973
+ const isResolved = (value) => !_hasUnresolved(value);
974
+ const _hasUnresolved = (value) => {
975
+ if (value == null || isPrimitive(value)) return false;
976
+ if (isExpr(value) || Effect.isEffect(value)) return true;
977
+ if (Array.isArray(value)) return value.some(_hasUnresolved);
978
+ if (typeof value === "object") return Object.values(value).some(_hasUnresolved);
979
+ return false;
980
+ };
981
+ const havePropsChanged = (oldProps, newProps) => hasOutputs(newProps) || JSON.stringify(canonicalize(oldProps ?? {}, false)) !== JSON.stringify(canonicalize(newProps ?? {}, false));
982
+ const canonicalize = (value, stripNullish) => {
983
+ if (stripNullish && value == null) return void 0;
984
+ if (Array.isArray(value)) return value.map((v) => canonicalize(v, stripNullish));
985
+ if (value && typeof value === "object") return Object.fromEntries(Object.entries(value).filter(([, nested]) => !stripNullish || nested != null).sort(([a], [b]) => a.localeCompare(b)).map(([key, nested]) => [key, canonicalize(nested, stripNullish)]));
986
+ return value;
987
+ };
988
+ /**
989
+ * Collapse bindings that share the same `sid`, keeping the last occurrence.
990
+ *
991
+ * The same binding can be recorded more than once on a target resource — e.g.
992
+ * a KV namespace bound to both a Worker and a Workflow ends up pushed twice to
993
+ * `stack.bindings[fqn]`. `diffBindings` already collapses these implicitly via
994
+ * its `Map` keyed by `sid`, so the `reconcile` path never observes duplicates.
995
+ * Use this helper to give a provider's `diff` handler the same de-duplicated
996
+ * binding set, keeping plan-time hashing consistent with deploy-time.
997
+ */
998
+ const dedupeBindings = (bindings) => Array.from(new Map(bindings.map((b) => [b.sid, b])).values());
999
+ const diffBindings = (oldBindings, newBindings) => {
1000
+ const oldMap = new Map(oldBindings.map((b) => [b.sid, b]));
1001
+ const newMap = new Map(newBindings.map((b) => [b.sid, b]));
1002
+ return [...Array.from(oldMap).filter(([sid]) => !newMap.has(sid)).map(([sid, old]) => ({
1003
+ sid,
1004
+ action: "delete",
1005
+ data: old.data
1006
+ })), ...Array.from(newMap).map(([sid, binding]) => {
1007
+ const old = oldMap.get(sid);
1008
+ return {
1009
+ sid,
1010
+ action: !old ? "create" : havePropsChanged(old.data, binding.data) ? "update" : "noop",
1011
+ data: binding.data
1012
+ };
1013
+ })];
1014
+ };
1015
+
1016
+ //#endregion
1017
+ //#region lib/InstanceId.js
1018
+ /** A 16-byte (128-bit) random hex-encoded string representing an physical instance of a logical resource */
1019
+ var InstanceId = class extends EffectContext.Service()("instance-id") {};
1020
+ /**
1021
+ * @returns Hex-encoded instance ID (16 random bytes)
1022
+ */
1023
+ const generateInstanceId = () => Effect.sync(() => {
1024
+ const bytes = new Uint8Array(16);
1025
+ crypto.getRandomValues(bytes);
1026
+ return Array.from(bytes).map((b) => b.toString(16).padStart(2, "0")).join("");
1027
+ });
1028
+
1029
+ //#endregion
1030
+ //#region lib/Util/types.js
1031
+ const asEffect = (effect) => typeof effect?.asEffect === "function" ? effect.asEffect() : Effect.isEffect(effect) ? effect : Effect.succeed(effect);
1032
+
1033
+ //#endregion
1034
+ //#region lib/Action.js
1035
+ const isAction = (value) => typeof value === "object" && value !== null && value?.Kind === "action";
1036
+
1037
+ //#endregion
1038
+ //#region lib/Telemetry/Metrics.js
1039
+ /**
1040
+ * Counter for resource lifecycle operations. Tagged per call with
1041
+ * `resource_type`, `op` (`precreate`/`create`/`update`/`delete`/`read`),
1042
+ * and `status` (`success`/`error`).
1043
+ */
1044
+ const resourceCounter = Metric.counter("alchemy.resource.operations", {
1045
+ description: "Number of resource lifecycle operations dispatched by alchemy apply.",
1046
+ incremental: true
1047
+ });
1048
+ /**
1049
+ * Histogram of how long each lifecycle operation takes.
1050
+ */
1051
+ const resourceDuration = Metric.timer("alchemy.resource.duration", { description: "Wall-clock duration of resource lifecycle operations dispatched by alchemy apply." });
1052
+ /**
1053
+ * Counter for CLI command invocations.
1054
+ */
1055
+ const cliCounter = Metric.counter("alchemy.cli.invocations", {
1056
+ description: "Number of alchemy CLI command invocations.",
1057
+ incremental: true
1058
+ });
1059
+ /**
1060
+ * Counter for Cloudflare State Store bootstrap/deploy operations.
1061
+ * Tagged per call with `op` (e.g. `deploy`) and `status`
1062
+ * (`success`/`error`) so that the deploy success rate of the
1063
+ * state store itself can be tracked separately from regular
1064
+ * resource lifecycle ops.
1065
+ */
1066
+ const stateStoreCounter = Metric.counter("alchemy.state_store.operations", {
1067
+ description: "Number of Cloudflare State Store deploy/bootstrap operations dispatched by alchemy.",
1068
+ incremental: true
1069
+ });
1070
+ /**
1071
+ * Counter for State store layer construction. Tagged with `id` (the
1072
+ * `StateService.id` slug) so we can answer "how many distinct projects
1073
+ * are using each backend" from the corresponding `state_store.init`
1074
+ * spans. Open-ended on purpose: third-party state stores get counted
1075
+ * automatically by setting their `StateService.id`.
1076
+ */
1077
+ const stateStoreInitCounter = Metric.counter("alchemy.state_store.inits", {
1078
+ description: "Number of times a State store layer is constructed.",
1079
+ incremental: true
1080
+ });
1081
+ /**
1082
+ * Wraps a resource lifecycle Effect to record a counter + timer entry,
1083
+ * tagged with `resource_type`, `op`, and `status` (`success`/`error`).
1084
+ *
1085
+ * Usage:
1086
+ * ```ts
1087
+ * provider.reconcile(input).pipe(recordResourceOp(node.resource.Type, "create"))
1088
+ * ```
1089
+ */
1090
+ const recordResourceOp = (resourceType, op) => (self) => Effect.suspend(() => {
1091
+ const startNs = process.hrtime.bigint();
1092
+ const baseAttrs = {
1093
+ resource_type: resourceType,
1094
+ op
1095
+ };
1096
+ return self.pipe(Effect.onExit((exit) => recordOutcome(baseAttrs, Exit.isSuccess(exit) ? "success" : "error", elapsed(startNs))));
1097
+ });
1098
+ /**
1099
+ * Wraps a CLI command Effect to bump {@link cliCounter} with the
1100
+ * outcome (`success`/`error`).
1101
+ */
1102
+ const recordCli = (command) => (self) => self.pipe(Effect.onExit((exit) => Metric.update(Metric.withAttributes(cliCounter, {
1103
+ command,
1104
+ status: Exit.isSuccess(exit) ? "success" : "error"
1105
+ }), 1)));
1106
+ const elapsed = (startNs) => Duration.nanos(process.hrtime.bigint() - startNs);
1107
+ const recordOutcome = (baseAttrs, status, duration) => {
1108
+ const attrs = {
1109
+ ...baseAttrs,
1110
+ status
1111
+ };
1112
+ return Effect.all([Metric.update(Metric.withAttributes(resourceCounter, attrs), 1), Metric.update(Metric.withAttributes(resourceDuration, attrs), duration)], { discard: true });
1113
+ };
1114
+
1115
+ //#endregion
1116
+ //#region lib/Util/hash.js
1117
+ /**
1118
+ * Stable hash of a resolved Task input. Wrapped in `Effect.sync` so the
1119
+ * call participates in the Effect runtime (tracing/interruption) per the
1120
+ * Effect-platform conventions.
1121
+ */
1122
+ const hashInput = (input) => Effect.sync(() => createHash("sha256").update(JSON.stringify(input ?? null)).digest("hex"));
1123
+
1124
+ //#endregion
1125
+ //#region lib/Util/scc.js
1126
+ /**
1127
+ * Compute the set of graph nodes that participate in a dependency cycle.
1128
+ *
1129
+ * A node is considered "in a cycle" iff it sits in a strongly-connected
1130
+ * component (SCC) of size > 1, or has a self-edge (size-1 SCC that loops
1131
+ * back to itself).
1132
+ *
1133
+ * Implementation is iterative Tarjan's algorithm to avoid blowing the JS
1134
+ * call stack on very wide graphs.
1135
+ */
1136
+ const findCycleMembers = (edges) => {
1137
+ const cycleMembers = /* @__PURE__ */ new Set();
1138
+ let index = 0;
1139
+ const indexOf = /* @__PURE__ */ new Map();
1140
+ const lowlink = /* @__PURE__ */ new Map();
1141
+ const onStack = /* @__PURE__ */ new Set();
1142
+ const stack = [];
1143
+ const callStack = [];
1144
+ const startNode = (node) => {
1145
+ indexOf.set(node, index);
1146
+ lowlink.set(node, index);
1147
+ index += 1;
1148
+ stack.push(node);
1149
+ onStack.add(node);
1150
+ callStack.push({
1151
+ node,
1152
+ childIdx: 0
1153
+ });
1154
+ };
1155
+ for (const root of Object.keys(edges)) {
1156
+ if (indexOf.has(root)) continue;
1157
+ startNode(root);
1158
+ while (callStack.length > 0) {
1159
+ const frame = callStack[callStack.length - 1];
1160
+ const children = edges[frame.node] ?? [];
1161
+ if (frame.childIdx < children.length) {
1162
+ const child = children[frame.childIdx];
1163
+ frame.childIdx += 1;
1164
+ if (!indexOf.has(child)) {
1165
+ startNode(child);
1166
+ continue;
1167
+ }
1168
+ if (onStack.has(child)) lowlink.set(frame.node, Math.min(lowlink.get(frame.node), indexOf.get(child)));
1169
+ continue;
1170
+ }
1171
+ if (lowlink.get(frame.node) === indexOf.get(frame.node)) {
1172
+ const scc = [];
1173
+ for (;;) {
1174
+ const w = stack.pop();
1175
+ onStack.delete(w);
1176
+ scc.push(w);
1177
+ if (w === frame.node) break;
1178
+ }
1179
+ if (scc.length > 1) for (const fqn of scc) cycleMembers.add(fqn);
1180
+ else {
1181
+ const only = scc[0];
1182
+ if ((edges[only] ?? []).includes(only)) cycleMembers.add(only);
1183
+ }
1184
+ }
1185
+ callStack.pop();
1186
+ const parent = callStack[callStack.length - 1];
1187
+ if (parent) {
1188
+ const cur = lowlink.get(parent.node);
1189
+ const childLow = lowlink.get(frame.node);
1190
+ if (childLow < cur) lowlink.set(parent.node, childLow);
1191
+ }
1192
+ }
1193
+ }
1194
+ return cycleMembers;
1195
+ };
1196
+
1197
+ //#endregion
1198
+ //#region lib/Plan.js
1199
+ const make = (stack, options = {}) => Effect.gen(function* () {
1200
+ const state = yield* yield* State;
1201
+ const resources = Object.values(stack.resources);
1202
+ const actions = Object.values(stack.actions ?? {});
1203
+ const stackName = stack.name;
1204
+ const stage$1 = stack.stage;
1205
+ const shouldAdopt = Effect.gen(function* () {
1206
+ const fromService = yield* Effect.serviceOption(AdoptPolicy);
1207
+ if (Option.isSome(fromService)) return fromService.value;
1208
+ const ctx = yield* Effect.serviceOption(AlchemyContext);
1209
+ return Option.match(ctx, {
1210
+ onNone: () => false,
1211
+ onSome: (c$1) => c$1.adopt
1212
+ });
1213
+ });
1214
+ const resourceFqns = yield* state.list({
1215
+ stack: stackName,
1216
+ stage: stage$1
1217
+ });
1218
+ const oldResources = yield* Effect.all(resourceFqns.map((fqn) => state.get({
1219
+ stack: stackName,
1220
+ stage: stage$1,
1221
+ fqn
1222
+ })), { concurrency: "unbounded" });
1223
+ const resolvedResources = {};
1224
+ const resolveResource = (resourceExpr) => Effect.gen(function* () {
1225
+ if (isAction(resourceExpr.src)) return resourceExpr;
1226
+ return yield* resolvedResources[resourceExpr.src.FQN] ??= yield* Effect.cached(Effect.gen(function* () {
1227
+ const resource = resourceExpr.src;
1228
+ const provider = yield* findProviderByType(resource.Type);
1229
+ const props = yield* resolveInput(resource.Props);
1230
+ const persisted = yield* state.get({
1231
+ stack: stackName,
1232
+ stage: stage$1,
1233
+ fqn: resource.FQN
1234
+ });
1235
+ const oldState = isActionState(persisted) ? void 0 : persisted;
1236
+ if (!oldState || oldState.status === "creating") return resourceExpr;
1237
+ const oldProps = oldState.status === "updating" ? oldState.old.props : oldState.props;
1238
+ const oldBindings = oldState.bindings ?? [];
1239
+ const newBindings = dedupeBindings(stack.bindings[resource.FQN] ?? []);
1240
+ const diff = yield* provider.diff ? provider.diff({
1241
+ id: resource.LogicalId,
1242
+ olds: oldProps,
1243
+ instanceId: oldState.instanceId,
1244
+ news: props,
1245
+ output: oldState.attr,
1246
+ oldBindings,
1247
+ newBindings
1248
+ }).pipe(providePlanScope(resource.FQN, oldState.instanceId)) : Effect.succeed(void 0);
1249
+ const stables = [...provider.stables ?? [], ...diff?.stables ?? []];
1250
+ const withStables = (output) => stables.length > 0 ? new ResourceExpr(resourceExpr.src, Object.fromEntries(stables.map((stable) => [stable, output?.[stable]]))) : resourceExpr;
1251
+ if (diff == null) {
1252
+ if (havePropsChanged(oldProps, props)) return withStables(oldState?.attr);
1253
+ } else if (diff.action === "update") return withStables(oldState?.attr);
1254
+ else if (diff.action === "replace") return resourceExpr;
1255
+ if (oldState.status === "created" || oldState.status === "updated" || oldState.status === "replaced") return oldState?.attr;
1256
+ else return resourceExpr;
1257
+ }));
1258
+ });
1259
+ const resolveInput = (input) => Effect.gen(function* () {
1260
+ if (!input) return input;
1261
+ else if (isExpr(input)) return yield* resolveOutput(input);
1262
+ else if (Redacted.isRedacted(input)) return input;
1263
+ else if (Duration.isDuration(input)) return input;
1264
+ else if (Array.isArray(input)) return yield* Effect.all(input.map(resolveInput), { concurrency: "unbounded" });
1265
+ else if (isResource(input)) return yield* resolveInput(yield* resolveOutput(of(input)));
1266
+ else if (typeof input === "object") return Object.fromEntries(yield* Effect.all(Object.entries(input).map(([key, value]) => resolveInput(value).pipe(Effect.map((value$1) => [key, value$1]))), { concurrency: "unbounded" }));
1267
+ return input;
1268
+ });
1269
+ const resolveOutput = (expr) => Effect.gen(function* () {
1270
+ if (isResourceExpr(expr)) return yield* resolveResource(expr);
1271
+ else if (isPropExpr(expr)) return (yield* resolveOutput(expr.expr))?.[expr.identifier];
1272
+ else if (isApplyExpr(expr)) {
1273
+ const upstream$1 = yield* resolveOutput(expr.expr);
1274
+ return hasOutputs(upstream$1) ? expr : expr.f(upstream$1);
1275
+ } else if (isEffectExpr(expr)) {
1276
+ const upstream$1 = yield* resolveOutput(expr.expr);
1277
+ return hasOutputs(upstream$1) ? expr : yield* expr.f(upstream$1);
1278
+ } else if (isFlatMapExpr(expr)) {
1279
+ const upstream$1 = yield* resolveOutput(expr.expr);
1280
+ return hasOutputs(upstream$1) ? expr : yield* resolveOutput(asOutput(expr.f(upstream$1)));
1281
+ } else if (isAllExpr(expr)) return yield* Effect.all(expr.outs.map(resolveOutput), { concurrency: "unbounded" });
1282
+ else if (isLiteralExpr(expr)) return expr.value;
1283
+ else if (isRefExpr(expr)) {
1284
+ const refStack = expr.stack ?? stackName;
1285
+ const refStage = expr.stage ?? stage$1;
1286
+ const refState = yield* state.get({
1287
+ stack: refStack,
1288
+ stage: refStage,
1289
+ fqn: expr.resourceId
1290
+ }).pipe(Effect.orDie);
1291
+ if (!refState) return yield* Effect.die(new InvalidReferenceError({
1292
+ message: `Reference to '${expr.resourceId}' in stack '${refStack}' and stage '${refStage}' not found. Have you deployed '${refStage}' of '${refStack}'?`,
1293
+ stack: refStack,
1294
+ stage: refStage,
1295
+ resourceId: expr.resourceId
1296
+ }));
1297
+ return refState.attr ?? refState.output;
1298
+ } else if (isStackRefExpr(expr)) {
1299
+ const refStack = expr.stack;
1300
+ const refStage = expr.stage ?? stage$1;
1301
+ const output = yield* state.getOutput({
1302
+ stack: refStack,
1303
+ stage: refStage
1304
+ }).pipe(Effect.orDie);
1305
+ if (output == null) return yield* Effect.die(new InvalidReferenceError({
1306
+ message: `Reference to stack '${refStack}' at stage '${refStage}' not found. Have you deployed stage '${refStage}' of '${refStack}'?`,
1307
+ stack: refStack,
1308
+ stage: refStage,
1309
+ resourceId: refStack
1310
+ }));
1311
+ return output;
1312
+ } else if (isNamedExpr(expr)) return yield* resolveOutput(expr.expr);
1313
+ return yield* Effect.die(/* @__PURE__ */ new Error("Not implemented yet" + expr.kind));
1314
+ });
1315
+ const oldDownstreamDependencies = Object.fromEntries(oldResources.filter((resource) => !!resource).map((resource) => [resource.fqn, resource.downstream]));
1316
+ const newResourceFqns = new Set(resources.map((r) => r.FQN));
1317
+ const newActionFqns = new Set(actions.map((t) => t.FQN));
1318
+ const newNodeFqns = new Set([...newResourceFqns, ...newActionFqns]);
1319
+ const newUpstreamDependencies = Object.fromEntries([...resources.map((resource) => [resource.FQN, Object.values(upstreamAny(resource.Props)).map((r) => r.FQN)]), ...actions.map((action) => [action.FQN, Object.values(upstreamAny(action.Input)).map((r) => r.FQN)])]);
1320
+ const bindingUpstreamDependencies = Object.fromEntries(resources.map((resource) => [resource.FQN, Object.values(upstreamAny(stack.bindings[resource.FQN] ?? [])).map((r) => r.FQN)]));
1321
+ const rawUpstreamDependencies = Object.fromEntries([...resources.map((resource) => {
1322
+ const fqn = resource.FQN;
1323
+ const propDeps = newUpstreamDependencies[fqn] ?? [];
1324
+ const bindDeps = bindingUpstreamDependencies[fqn] ?? [];
1325
+ return [fqn, [...new Set([...propDeps, ...bindDeps])]];
1326
+ }), ...actions.map((action) => {
1327
+ const fqn = action.FQN;
1328
+ return [fqn, newUpstreamDependencies[fqn] ?? []];
1329
+ })]);
1330
+ const allUpstreamDependencies = Object.fromEntries([...resources.map((resource) => {
1331
+ const fqn = resource.FQN;
1332
+ return [fqn, (rawUpstreamDependencies[fqn] ?? []).filter((dep) => newNodeFqns.has(dep))];
1333
+ }), ...actions.map((action) => {
1334
+ const fqn = action.FQN;
1335
+ return [fqn, (newUpstreamDependencies[fqn] ?? []).filter((dep) => newNodeFqns.has(dep))];
1336
+ })]);
1337
+ const combinedCycleMembers = findCycleMembers(allUpstreamDependencies);
1338
+ const computeDownstream = (upFqn) => {
1339
+ const downstream = [];
1340
+ for (const [downFqn, upstreams] of Object.entries(rawUpstreamDependencies)) {
1341
+ if (downFqn === upFqn) continue;
1342
+ if (!upstreams.includes(upFqn)) continue;
1343
+ if ((newUpstreamDependencies[downFqn] ?? []).includes(upFqn)) {
1344
+ downstream.push(downFqn);
1345
+ continue;
1346
+ }
1347
+ if (combinedCycleMembers.has(upFqn) && combinedCycleMembers.has(downFqn)) continue;
1348
+ downstream.push(downFqn);
1349
+ }
1350
+ return downstream;
1351
+ };
1352
+ const newDownstreamDependencies = Object.fromEntries([...resources.map((resource) => [resource.FQN, computeDownstream(resource.FQN)]), ...actions.map((action) => [action.FQN, computeDownstream(action.FQN)])]);
1353
+ const resourceGraph = Object.fromEntries((yield* Effect.all(resources.map(Effect.fn("plan.diff.resource")(function* (resource) {
1354
+ const provider = yield* findProviderByType(resource.Type);
1355
+ const id = resource.LogicalId;
1356
+ const fqn = resource.FQN;
1357
+ const news = yield* resolveInput(resource.Props);
1358
+ const downstream = newDownstreamDependencies[fqn] ?? [];
1359
+ const newBindings = dedupeBindings(yield* resolveInput(stack.bindings[fqn] ?? []));
1360
+ const persisted = yield* state.get({
1361
+ stack: stackName,
1362
+ stage: stage$1,
1363
+ fqn
1364
+ });
1365
+ let oldState = isActionState(persisted) ? void 0 : persisted;
1366
+ let forceUpdateAfterAdoption = false;
1367
+ if (oldState === void 0 && provider.read && isResolved(news)) {
1368
+ const adoptInstanceId = yield* generateInstanceId();
1369
+ const readResult = yield* provider.read({
1370
+ id,
1371
+ instanceId: adoptInstanceId,
1372
+ olds: news,
1373
+ output: void 0
1374
+ }).pipe(providePlanScope(fqn, adoptInstanceId));
1375
+ if (readResult !== void 0) {
1376
+ const isUnowned = Unowned.is(readResult);
1377
+ const adoptThis = resource.Adopt ?? (yield* shouldAdopt);
1378
+ if (isUnowned && !adoptThis) return yield* new OwnedBySomeoneElse({
1379
+ message: `Cannot adopt resource '${fqn}' (${resource.Type}): it exists in the cloud but is not owned by this stack/stage/logical-id. Re-run with \`--adopt\` (or wrap the effect in \`adopt(true)\`) to take it over.`,
1380
+ resourceType: resource.Type,
1381
+ logicalId: id
1382
+ });
1383
+ const adoptedState = {
1384
+ status: "created",
1385
+ fqn,
1386
+ logicalId: id,
1387
+ instanceId: adoptInstanceId,
1388
+ namespace: resource.Namespace,
1389
+ resourceType: resource.Type,
1390
+ props: news,
1391
+ attr: stripUnowned(readResult),
1392
+ providerVersion: provider.version ?? 0,
1393
+ bindings: [],
1394
+ downstream,
1395
+ removalPolicy: resource.RemovalPolicy
1396
+ };
1397
+ yield* state.set({
1398
+ stack: stackName,
1399
+ stage: stage$1,
1400
+ fqn,
1401
+ value: adoptedState
1402
+ });
1403
+ oldState = adoptedState;
1404
+ forceUpdateAfterAdoption = true;
1405
+ }
1406
+ }
1407
+ const oldBindings = oldState?.bindings ?? [];
1408
+ const bindingDiffs = diffBindings(oldBindings, newBindings);
1409
+ const Node = (node) => ({
1410
+ ...node,
1411
+ provider,
1412
+ resource,
1413
+ bindings: bindingDiffs,
1414
+ downstream
1415
+ });
1416
+ if (oldState === void 0) return Node({
1417
+ action: "create",
1418
+ props: news,
1419
+ state: oldState
1420
+ });
1421
+ else if (oldState.status === "creating" && oldState.attr === void 0) {
1422
+ if (provider.read) {
1423
+ const attr = yield* provider.read({
1424
+ id,
1425
+ instanceId: oldState.instanceId,
1426
+ olds: oldState.props,
1427
+ output: oldState.attr
1428
+ }).pipe(providePlanScope(fqn, oldState.instanceId));
1429
+ if (attr) return Node({
1430
+ action: "create",
1431
+ props: news,
1432
+ state: {
1433
+ ...oldState,
1434
+ attr
1435
+ }
1436
+ });
1437
+ }
1438
+ }
1439
+ const oldProps = oldState.props;
1440
+ const diff = yield* asEffect(provider?.diff?.({
1441
+ id,
1442
+ olds: oldProps,
1443
+ instanceId: oldState.instanceId,
1444
+ output: oldState.attr,
1445
+ news,
1446
+ oldBindings,
1447
+ newBindings
1448
+ }).pipe(providePlanScope(fqn, oldState.instanceId))).pipe(Effect.map((diff$1) => diff$1 ?? { action: havePropsChanged(oldProps, news) || bindingDiffs.some((b) => b.action !== "noop") ? "update" : "noop" }), Effect.map((diff$1) => options.force && diff$1.action === "noop" ? { action: "update" } : diff$1), Effect.map((diff$1) => forceUpdateAfterAdoption && diff$1.action === "noop" ? { action: "update" } : diff$1));
1449
+ if (oldState.status === "creating") if (diff.action === "noop") return Node({
1450
+ action: "create",
1451
+ props: news,
1452
+ state: oldState
1453
+ });
1454
+ else if (diff.action === "update") return Node({
1455
+ action: "create",
1456
+ props: news,
1457
+ state: oldState
1458
+ });
1459
+ else return Node({
1460
+ action: "replace",
1461
+ props: news,
1462
+ deleteFirst: diff.deleteFirst ?? false,
1463
+ state: oldState
1464
+ });
1465
+ else if (oldState.status === "updating") if (diff.action === "update" || diff.action === "noop") return Node({
1466
+ action: "update",
1467
+ props: news,
1468
+ state: oldState
1469
+ });
1470
+ else return Node({
1471
+ action: "replace",
1472
+ deleteFirst: diff.deleteFirst ?? false,
1473
+ props: news,
1474
+ state: oldState
1475
+ });
1476
+ else if (oldState.status === "replacing") if (diff.action === "noop") return Node({
1477
+ action: "replace",
1478
+ deleteFirst: oldState.deleteFirst,
1479
+ props: news,
1480
+ state: oldState
1481
+ });
1482
+ else if (diff.action === "update") return Node({
1483
+ action: "replace",
1484
+ deleteFirst: oldState.deleteFirst,
1485
+ props: news,
1486
+ state: oldState
1487
+ });
1488
+ else return Node({
1489
+ restart: true,
1490
+ action: "replace",
1491
+ deleteFirst: diff.deleteFirst ?? oldState.deleteFirst,
1492
+ props: news,
1493
+ state: oldState
1494
+ });
1495
+ else if (oldState.status === "replaced") if (diff.action === "noop") return Node({
1496
+ action: "replace",
1497
+ deleteFirst: oldState.deleteFirst,
1498
+ props: news,
1499
+ state: oldState
1500
+ });
1501
+ else if (diff.action === "update") return Node({
1502
+ action: "update",
1503
+ props: news,
1504
+ state: oldState
1505
+ });
1506
+ else return Node({
1507
+ restart: true,
1508
+ action: "replace",
1509
+ deleteFirst: diff.deleteFirst ?? oldState.deleteFirst,
1510
+ props: news,
1511
+ state: oldState
1512
+ });
1513
+ else if (oldState.status === "deleting") return Node({
1514
+ action: "create",
1515
+ props: news,
1516
+ state: {
1517
+ ...oldState,
1518
+ status: "creating",
1519
+ props: news
1520
+ }
1521
+ });
1522
+ else if (diff.action === "update") return Node({
1523
+ action: "update",
1524
+ props: news,
1525
+ state: oldState
1526
+ });
1527
+ else if (diff.action === "replace") return Node({
1528
+ action: "replace",
1529
+ props: news,
1530
+ state: oldState,
1531
+ deleteFirst: diff?.deleteFirst ?? false
1532
+ });
1533
+ else return Node({
1534
+ action: "noop",
1535
+ state: oldState
1536
+ });
1537
+ })), { concurrency: "unbounded" })).map((update) => [update.resource.FQN, update]));
1538
+ const actionGraph = Object.fromEntries(yield* Effect.all(actions.map(Effect.fn("plan.diff.action")(function* (action) {
1539
+ const fqn = action.FQN;
1540
+ const downstream = newDownstreamDependencies[fqn] ?? [];
1541
+ const inputHash = yield* hashInput(yield* resolveInput(action.Input));
1542
+ const oldState = yield* state.get({
1543
+ stack: stackName,
1544
+ stage: stage$1,
1545
+ fqn
1546
+ });
1547
+ if (oldState && !isActionState(oldState)) return [fqn, {
1548
+ kind: "action",
1549
+ action: "run",
1550
+ def: action,
1551
+ input: action.Input,
1552
+ state: void 0,
1553
+ downstream,
1554
+ forced: false
1555
+ }];
1556
+ const prior = oldState;
1557
+ if (prior?.status === "ran" && prior.inputHash === inputHash && !options.force) return [fqn, {
1558
+ kind: "action",
1559
+ action: "noop",
1560
+ def: action,
1561
+ state: prior,
1562
+ downstream
1563
+ }];
1564
+ return [fqn, {
1565
+ kind: "action",
1566
+ action: "run",
1567
+ def: action,
1568
+ input: action.Input,
1569
+ state: prior,
1570
+ downstream,
1571
+ forced: !!options.force
1572
+ }];
1573
+ })), { concurrency: "unbounded" }));
1574
+ const cycleMembers = combinedCycleMembers;
1575
+ {
1576
+ const createReplaceNodes = new Set(Object.entries(resourceGraph).filter(([_, node]) => node.action === "create" || node.action === "replace").map(([fqn]) => fqn));
1577
+ if (createReplaceNodes.size > 0) {
1578
+ const hasPrecreate = new Set([...createReplaceNodes].filter((fqn) => !!resourceGraph[fqn]?.provider?.precreate));
1579
+ const resolved = new Set(hasPrecreate);
1580
+ let changed = true;
1581
+ while (changed) {
1582
+ changed = false;
1583
+ for (const fqn of createReplaceNodes) {
1584
+ if (resolved.has(fqn)) continue;
1585
+ if ((allUpstreamDependencies[fqn] ?? []).filter((dep) => createReplaceNodes.has(dep)).every((dep) => resolved.has(dep))) {
1586
+ resolved.add(fqn);
1587
+ changed = true;
1588
+ }
1589
+ }
1590
+ }
1591
+ const deadlocked = [...createReplaceNodes].filter((fqn) => !resolved.has(fqn));
1592
+ if (deadlocked.length > 0) {
1593
+ const missingPrecreate = deadlocked.filter((fqn) => !hasPrecreate.has(fqn));
1594
+ return yield* Effect.die(new UnsatisfiedResourceCycle({
1595
+ message: `Circular dependency detected that cannot be resolved: [${deadlocked.join(", ")}]. Resources lacking a precreate handler: [${missingPrecreate.join(", ")}]. All resources in a dependency cycle must implement precreate to allow early signaling.`,
1596
+ cycle: deadlocked,
1597
+ missingPrecreate
1598
+ }));
1599
+ }
1600
+ }
1601
+ }
1602
+ const actionDeletions = Object.fromEntries((yield* Effect.all((yield* state.list({
1603
+ stack: stackName,
1604
+ stage: stage$1
1605
+ })).map(Effect.fn("plan.diff.actionDeletion")(function* (fqn) {
1606
+ if (newActionFqns.has(fqn) || newResourceFqns.has(fqn)) return;
1607
+ const persisted = yield* state.get({
1608
+ stack: stackName,
1609
+ stage: stage$1,
1610
+ fqn
1611
+ });
1612
+ if (!isActionState(persisted)) return;
1613
+ const { logicalId } = parseFqn(fqn);
1614
+ return [fqn, {
1615
+ kind: "action",
1616
+ action: "delete",
1617
+ state: persisted,
1618
+ downstream: persisted.downstream ?? [],
1619
+ def: {
1620
+ Kind: "action",
1621
+ Namespace: persisted.namespace,
1622
+ FQN: fqn,
1623
+ LogicalId: logicalId,
1624
+ Type: persisted.actionType,
1625
+ Input: persisted.input,
1626
+ Run: () => void 0,
1627
+ Output: void 0
1628
+ }
1629
+ }];
1630
+ })), { concurrency: "unbounded" })).filter((v) => !!v));
1631
+ const deletions = Object.fromEntries((yield* Effect.all((yield* state.list({
1632
+ stack: stackName,
1633
+ stage: stage$1
1634
+ })).map(Effect.fn("plan.diff.deletion")(function* (fqn) {
1635
+ if (newResourceFqns.has(fqn) || newActionFqns.has(fqn)) return;
1636
+ const persisted = yield* state.get({
1637
+ stack: stackName,
1638
+ stage: stage$1,
1639
+ fqn
1640
+ });
1641
+ if (isActionState(persisted)) return;
1642
+ const oldState = persisted;
1643
+ let attr = oldState?.attr;
1644
+ if (oldState) {
1645
+ const { logicalId } = parseFqn(fqn);
1646
+ const resourceType = oldState.resourceType;
1647
+ const provider = yield* findProviderByType(resourceType);
1648
+ if (oldState.attr === void 0) {
1649
+ if (provider.read) attr = yield* provider.read({
1650
+ id: logicalId,
1651
+ instanceId: oldState.instanceId,
1652
+ olds: oldState.props,
1653
+ output: oldState.attr
1654
+ }).pipe(providePlanScope(fqn, oldState.instanceId));
1655
+ }
1656
+ return [fqn, {
1657
+ action: "delete",
1658
+ state: {
1659
+ ...oldState,
1660
+ attr
1661
+ },
1662
+ provider,
1663
+ resource: {
1664
+ Namespace: oldState.namespace,
1665
+ FQN: fqn,
1666
+ LogicalId: logicalId,
1667
+ Type: oldState.resourceType,
1668
+ Attributes: attr,
1669
+ Props: oldState.props,
1670
+ Binding: void 0,
1671
+ Provider: Provider(resourceType),
1672
+ RemovalPolicy: oldState.removalPolicy,
1673
+ Adopt: void 0,
1674
+ RuntimeContext: void 0,
1675
+ Providers: void 0
1676
+ },
1677
+ downstream: oldDownstreamDependencies[fqn] ?? [],
1678
+ bindings: oldState.bindings.map((binding) => ({
1679
+ sid: binding.sid,
1680
+ action: "delete",
1681
+ data: binding.data
1682
+ }))
1683
+ }];
1684
+ }
1685
+ })), { concurrency: "unbounded" })).filter((v) => !!v));
1686
+ for (const resourceFqn of Object.keys(deletions)) {
1687
+ const dependencies = Object.entries(rawUpstreamDependencies).filter(([survivorFqn, upstream$1]) => survivorFqn in resourceGraph && upstream$1.includes(resourceFqn)).map(([survivorFqn]) => survivorFqn);
1688
+ if (dependencies.length > 0) return yield* new DeleteResourceHasDownstreamDependencies({
1689
+ message: `Resource ${resourceFqn} has downstream dependencies`,
1690
+ resourceId: resourceFqn,
1691
+ dependencies
1692
+ });
1693
+ }
1694
+ return {
1695
+ resources: resourceGraph,
1696
+ actions: actionGraph,
1697
+ deletions,
1698
+ actionDeletions,
1699
+ output: stack.output,
1700
+ cycleMembers
1701
+ };
1702
+ }).pipe(ensureArtifactStore, Effect.withSpan("plan.make", { attributes: {
1703
+ "alchemy.stack": stack.name,
1704
+ "alchemy.stage": stack.stage,
1705
+ "alchemy.resources.count": Object.keys(stack.resources).length,
1706
+ "alchemy.force": !!options.force
1707
+ } }));
1708
+ const providePlanScope = (fqn, instanceId) => (effect) => Effect.serviceOption(ArtifactStore).pipe(Effect.map(Option.getOrElse(createArtifactStore)), Effect.flatMap((store) => effect.pipe(Effect.provideService(Artifacts, makeScopedArtifacts(store, fqn)), Effect.provideService(InstanceId, instanceId))));
1709
+ var DeleteResourceHasDownstreamDependencies = class extends Data.TaggedError("DeleteResourceHasDownstreamDependencies") {};
1710
+ var UnsatisfiedResourceCycle = class extends Data.TaggedError("UnsatisfiedResourceCycle") {};
1711
+
1712
+ //#endregion
1713
+ //#region lib/Apply.js
1714
+ const provideLifecycleScope = (fqn, instanceId) => (effect) => Effect.serviceOption(ArtifactStore).pipe(Effect.map(Option.getOrElse(createArtifactStore)), Effect.flatMap((store) => effect.pipe(Effect.provideService(Artifacts, makeScopedArtifacts(store, fqn)), Effect.provideService(InstanceId, instanceId))));
1715
+ /**
1716
+ * Instruments a single provider lifecycle call with an OTel span
1717
+ * (`provider.<op>`), the resource counter / duration histogram, and the
1718
+ * scoped artifacts/instance services normally supplied by
1719
+ * {@link provideLifecycleScope}.
1720
+ *
1721
+ * This is the only call site through which provider lifecycle methods
1722
+ * are dispatched, so wrapping it here gives us a fully-instrumented
1723
+ * toolchain without touching any individual provider implementation.
1724
+ */
1725
+ const instrumentLifecycle = (op, fqn, resourceType, logicalId, instanceId) => (effect) => effect.pipe(provideLifecycleScope(fqn, instanceId), recordResourceOp(resourceType, op), Effect.withSpan(`provider.${op}`, { attributes: {
1726
+ "alchemy.resource.fqn": fqn,
1727
+ "alchemy.resource.type": resourceType,
1728
+ "alchemy.resource.logical_id": logicalId,
1729
+ "alchemy.resource.instance_id": instanceId,
1730
+ "alchemy.resource.op": op
1731
+ } }));
1732
+ const apply = (plan) => Effect.gen(function* () {
1733
+ const session = yield* (yield* Cli).startApplySession(plan);
1734
+ const state = yield* yield* State;
1735
+ const stack = yield* Stack;
1736
+ const stage$1 = yield* Stage;
1737
+ const stackName = stack.name;
1738
+ const tracker = {};
1739
+ const terminalStatuses = /* @__PURE__ */ new Map();
1740
+ yield* executePlan(plan, tracker, terminalStatuses, session, state, stackName, stage$1);
1741
+ yield* collectGarbage(plan, session);
1742
+ yield* converge(plan, tracker, terminalStatuses, session, state, stackName, stage$1);
1743
+ yield* Effect.forEach(Array.from(terminalStatuses.values()), ({ id, type, status }) => session.emit({
1744
+ kind: "status-change",
1745
+ id,
1746
+ type,
1747
+ status
1748
+ }), { concurrency: "unbounded" });
1749
+ yield* session.done();
1750
+ if (!plan.output) return;
1751
+ const outputs = Object.fromEntries(Object.entries(tracker).map(([fqn, t]) => [fqn, t.output]));
1752
+ const resolved = yield* evaluate(plan.output, outputs);
1753
+ yield* state.setOutput({
1754
+ stack: stackName,
1755
+ stage: stage$1,
1756
+ value: resolved
1757
+ });
1758
+ return resolved;
1759
+ }).pipe(ensureArtifactStore, Effect.withSpan("apply", { attributes: {
1760
+ "alchemy.resources.count": Object.keys(plan.resources).length,
1761
+ "alchemy.deletions.count": Object.keys(plan.deletions).length
1762
+ } }));
1763
+ const executePlan = Effect.fnUntraced(function* (plan, tracker, terminalStatuses, session, state, stackName, stage$1) {
1764
+ const allNodes = {
1765
+ ...plan.resources,
1766
+ ...plan.actions
1767
+ };
1768
+ const ready = Object.fromEntries(yield* Effect.all(Object.keys(allNodes).map((fqn) => Effect.map(Deferred.make(), (d) => [fqn, d]))));
1769
+ const readyStable = Object.fromEntries(yield* Effect.all(Object.keys(allNodes).map((fqn) => Effect.map(Deferred.make(), (d) => [fqn, d]))));
1770
+ const getOutputs = () => Object.fromEntries(Object.entries(tracker).map(([fqn, t]) => [fqn, t.output]));
1771
+ const waitForDeps = (fqns) => Effect.all(fqns.filter((fqn) => fqn in ready).map((fqn) => plan.cycleMembers.has(fqn) ? Deferred.await(ready[fqn]) : Deferred.await(readyStable[fqn])), { concurrency: "unbounded" });
1772
+ const waitForStableDeps = (fqns) => Effect.all(fqns.filter((fqn) => fqn in readyStable).map((fqn) => Deferred.await(readyStable[fqn])), { concurrency: "unbounded" });
1773
+ const failures = [];
1774
+ yield* Effect.all(Object.entries(allNodes).map(([fqn, node]) => node.kind === "action" ? executeActionNode(fqn, node, tracker, ready, readyStable, terminalStatuses, session, state, stackName, stage$1, getOutputs, waitForStableDeps, failures) : executeNode(fqn, node, tracker, ready, readyStable, terminalStatuses, session, state, stackName, stage$1, getOutputs, waitForDeps, failures, plan.cycleMembers.has(fqn))), { concurrency: "unbounded" });
1775
+ if (failures.length > 0) yield* Effect.failCause(failures.map((f) => f.cause).reduce(Cause.combine));
1776
+ });
1777
+ const executeNode = (fqn, node, tracker, ready, readyStable, terminalStatuses, session, state, stackName, stage$1, getOutputs, waitForDeps, failures, inCycle) => Effect.gen(function* () {
1778
+ const logicalId = node.resource.LogicalId;
1779
+ const namespace = node.resource.Namespace;
1780
+ const commit = (value) => state.set({
1781
+ stack: stackName,
1782
+ stage: stage$1,
1783
+ fqn,
1784
+ value: {
1785
+ ...value,
1786
+ namespace
1787
+ }
1788
+ });
1789
+ const scopedSession = {
1790
+ ...session,
1791
+ note: (note) => session.emit({
1792
+ id: logicalId,
1793
+ kind: "annotate",
1794
+ message: note
1795
+ })
1796
+ };
1797
+ const report = (status) => session.emit({
1798
+ kind: "status-change",
1799
+ id: logicalId,
1800
+ type: node.resource.Type,
1801
+ status
1802
+ });
1803
+ const markTerminal = (status) => Effect.gen(function* () {
1804
+ terminalStatuses.set(fqn, {
1805
+ id: logicalId,
1806
+ type: node.resource.Type,
1807
+ status
1808
+ });
1809
+ if (inCycle) return;
1810
+ yield* session.emit({
1811
+ kind: "status-change",
1812
+ id: logicalId,
1813
+ type: node.resource.Type,
1814
+ status
1815
+ });
1816
+ });
1817
+ const signalReady = Deferred.succeed(ready[fqn], void 0);
1818
+ const signalReadyStable = Deferred.succeed(readyStable[fqn], void 0);
1819
+ const storeAndSignal = (t) => Effect.gen(function* () {
1820
+ tracker[fqn] = t;
1821
+ yield* signalReady;
1822
+ });
1823
+ if (node.action === "noop") {
1824
+ yield* signalReadyStable;
1825
+ yield* storeAndSignal({
1826
+ output: node.state.attr,
1827
+ props: node.state.props,
1828
+ bindings: node.state.bindings ?? [],
1829
+ instanceId: node.state.instanceId
1830
+ });
1831
+ return;
1832
+ }
1833
+ const allUpstreamFqns = () => {
1834
+ const propDeps = Object.keys(resolveUpstream(node.props));
1835
+ const bindingDeps = Object.keys(resolveUpstream(node.bindings));
1836
+ return [...new Set([...propDeps, ...bindingDeps])];
1837
+ };
1838
+ const instanceId = yield* Effect.gen(function* () {
1839
+ if (node.action === "create" && !node.state?.instanceId) {
1840
+ const id = yield* generateInstanceId();
1841
+ yield* commit({
1842
+ status: "creating",
1843
+ fqn,
1844
+ logicalId,
1845
+ instanceId: id,
1846
+ downstream: node.downstream,
1847
+ props: node.props,
1848
+ providerVersion: node.provider.version ?? 0,
1849
+ resourceType: node.resource.Type,
1850
+ bindings: excludeDeletedBindings(node.bindings),
1851
+ removalPolicy: node.resource.RemovalPolicy
1852
+ });
1853
+ return id;
1854
+ } else if (node.action === "replace") {
1855
+ if ((node.state.status === "replaced" || node.state.status === "replacing") && !node.restart) return node.state.instanceId;
1856
+ const id = yield* generateInstanceId();
1857
+ yield* commit({
1858
+ status: "replacing",
1859
+ fqn,
1860
+ logicalId,
1861
+ instanceId: id,
1862
+ downstream: node.downstream,
1863
+ props: node.props,
1864
+ providerVersion: node.provider.version ?? 0,
1865
+ resourceType: node.resource.Type,
1866
+ bindings: excludeDeletedBindings(node.bindings),
1867
+ old: node.state,
1868
+ deleteFirst: node.deleteFirst,
1869
+ removalPolicy: node.resource.RemovalPolicy
1870
+ });
1871
+ return id;
1872
+ } else if (node.state?.instanceId) return node.state.instanceId;
1873
+ return yield* Effect.die(`Instance ID not found for resource '${logicalId}' and action is '${node.action}'`);
1874
+ });
1875
+ yield* Effect.gen(function* () {
1876
+ if (node.action === "create") {
1877
+ if (!node.state) yield* commit({
1878
+ status: "creating",
1879
+ fqn,
1880
+ logicalId,
1881
+ instanceId,
1882
+ resourceType: node.resource.Type,
1883
+ props: node.props,
1884
+ attr: void 0,
1885
+ providerVersion: node.provider.version ?? 0,
1886
+ bindings: excludeDeletedBindings(node.bindings),
1887
+ downstream: node.downstream,
1888
+ removalPolicy: node.resource.RemovalPolicy
1889
+ });
1890
+ let attr = node.state?.attr;
1891
+ if (attr !== void 0) yield* storeAndSignal({
1892
+ output: attr,
1893
+ props: {},
1894
+ bindings: [],
1895
+ instanceId
1896
+ });
1897
+ if (node.provider.precreate && attr === void 0) {
1898
+ yield* report("pre-creating");
1899
+ attr = yield* node.provider.precreate({
1900
+ id: logicalId,
1901
+ news: node.props,
1902
+ session: scopedSession,
1903
+ instanceId,
1904
+ bindings: excludeDeletedBindings(node.bindings)
1905
+ }).pipe(instrumentLifecycle("precreate", fqn, node.resource.Type, logicalId, instanceId));
1906
+ yield* commit({
1907
+ status: "creating",
1908
+ fqn,
1909
+ logicalId,
1910
+ instanceId,
1911
+ resourceType: node.resource.Type,
1912
+ props: node.props,
1913
+ attr,
1914
+ providerVersion: node.provider.version ?? 0,
1915
+ bindings: excludeDeletedBindings(node.bindings),
1916
+ downstream: node.downstream,
1917
+ removalPolicy: node.resource.RemovalPolicy
1918
+ });
1919
+ yield* storeAndSignal({
1920
+ output: attr,
1921
+ props: {},
1922
+ bindings: [],
1923
+ instanceId
1924
+ });
1925
+ }
1926
+ yield* report("pending");
1927
+ yield* waitForDeps(allUpstreamFqns());
1928
+ yield* report("creating");
1929
+ const outputs = getOutputs();
1930
+ const news = yield* evaluate(node.props, outputs);
1931
+ const bindingOutputs = excludeDeletedBindings(yield* evaluate(node.bindings, outputs));
1932
+ attr = yield* node.provider.reconcile({
1933
+ id: logicalId,
1934
+ news,
1935
+ instanceId,
1936
+ bindings: bindingOutputs,
1937
+ session: scopedSession,
1938
+ olds: void 0,
1939
+ output: attr
1940
+ }).pipe(instrumentLifecycle("create", fqn, node.resource.Type, logicalId, instanceId));
1941
+ yield* commit({
1942
+ status: "created",
1943
+ fqn,
1944
+ logicalId,
1945
+ instanceId,
1946
+ resourceType: node.resource.Type,
1947
+ props: news,
1948
+ attr,
1949
+ bindings: excludeDeletedBindings(node.bindings),
1950
+ providerVersion: node.provider.version ?? 0,
1951
+ downstream: node.downstream,
1952
+ removalPolicy: node.resource.RemovalPolicy
1953
+ });
1954
+ tracker[fqn] = {
1955
+ output: attr,
1956
+ props: news,
1957
+ bindings: bindingOutputs,
1958
+ instanceId
1959
+ };
1960
+ yield* signalReady;
1961
+ yield* signalReadyStable;
1962
+ yield* markTerminal("created");
1963
+ return;
1964
+ }
1965
+ if (node.action === "update") {
1966
+ if (inCycle) yield* storeAndSignal({
1967
+ output: node.state.attr,
1968
+ props: node.state.props,
1969
+ bindings: node.state.bindings ?? [],
1970
+ instanceId
1971
+ });
1972
+ yield* report("pending");
1973
+ yield* waitForDeps(allUpstreamFqns());
1974
+ const outputs = getOutputs();
1975
+ const news = yield* evaluate(node.props, outputs);
1976
+ yield* node.state.status === "replaced" ? commit({
1977
+ ...node.state,
1978
+ attr: node.state.attr,
1979
+ props: news
1980
+ }) : commit({
1981
+ status: "updating",
1982
+ fqn,
1983
+ logicalId,
1984
+ instanceId,
1985
+ resourceType: node.resource.Type,
1986
+ props: news,
1987
+ attr: node.state.attr,
1988
+ providerVersion: node.provider.version ?? 0,
1989
+ bindings: excludeDeletedBindings(node.bindings),
1990
+ downstream: node.downstream,
1991
+ old: node.state.status === "updating" ? node.state.old : node.state,
1992
+ removalPolicy: node.resource.RemovalPolicy
1993
+ });
1994
+ yield* report("updating");
1995
+ const previousProps = node.state.status === "created" || node.state.status === "updated" || node.state.status === "replaced" ? node.state.props : node.state.old.props;
1996
+ const bindingOutputs = excludeDeletedBindings(yield* evaluate(node.bindings, outputs));
1997
+ const attr = yield* node.provider.reconcile({
1998
+ id: logicalId,
1999
+ news,
2000
+ instanceId,
2001
+ bindings: bindingOutputs,
2002
+ session: scopedSession,
2003
+ olds: previousProps,
2004
+ output: node.state.attr
2005
+ }).pipe(instrumentLifecycle("update", fqn, node.resource.Type, logicalId, instanceId));
2006
+ if (node.state.status === "replaced") yield* commit({
2007
+ ...node.state,
2008
+ attr,
2009
+ props: news
2010
+ });
2011
+ else yield* commit({
2012
+ status: "updated",
2013
+ fqn,
2014
+ logicalId,
2015
+ instanceId,
2016
+ resourceType: node.resource.Type,
2017
+ props: news,
2018
+ attr,
2019
+ bindings: excludeDeletedBindings(node.bindings),
2020
+ providerVersion: node.provider.version ?? 0,
2021
+ downstream: node.downstream,
2022
+ removalPolicy: node.resource.RemovalPolicy
2023
+ });
2024
+ tracker[fqn] = {
2025
+ output: attr,
2026
+ props: news,
2027
+ bindings: bindingOutputs,
2028
+ instanceId
2029
+ };
2030
+ yield* signalReady;
2031
+ yield* signalReadyStable;
2032
+ yield* markTerminal("updated");
2033
+ return;
2034
+ }
2035
+ if (node.action === "replace") {
2036
+ if (node.state.status === "replaced" && !node.restart) {
2037
+ tracker[fqn] = {
2038
+ output: node.state.attr,
2039
+ props: node.state.props,
2040
+ bindings: node.state.bindings ?? [],
2041
+ instanceId
2042
+ };
2043
+ yield* signalReady;
2044
+ yield* signalReadyStable;
2045
+ yield* markTerminal("created");
2046
+ return;
2047
+ }
2048
+ let replState;
2049
+ if (node.state.status !== "replacing" || node.restart) replState = yield* commit({
2050
+ status: "replacing",
2051
+ fqn,
2052
+ logicalId,
2053
+ instanceId,
2054
+ resourceType: node.resource.Type,
2055
+ props: node.props,
2056
+ bindings: excludeDeletedBindings(node.bindings),
2057
+ attr: void 0,
2058
+ providerVersion: node.provider.version ?? 0,
2059
+ deleteFirst: node.deleteFirst,
2060
+ old: node.state,
2061
+ downstream: node.downstream,
2062
+ removalPolicy: node.resource.RemovalPolicy
2063
+ });
2064
+ else replState = node.state;
2065
+ let attr = replState.attr;
2066
+ if (attr !== void 0) yield* storeAndSignal({
2067
+ output: attr,
2068
+ props: {},
2069
+ bindings: [],
2070
+ instanceId
2071
+ });
2072
+ if (node.provider.precreate && attr === void 0) {
2073
+ yield* report("pre-creating");
2074
+ attr = yield* node.provider.precreate({
2075
+ id: logicalId,
2076
+ news: node.props,
2077
+ session: scopedSession,
2078
+ instanceId,
2079
+ bindings: excludeDeletedBindings(node.bindings)
2080
+ }).pipe(instrumentLifecycle("precreate", fqn, node.resource.Type, logicalId, instanceId));
2081
+ yield* commit({
2082
+ status: "replacing",
2083
+ fqn,
2084
+ logicalId,
2085
+ instanceId,
2086
+ resourceType: node.resource.Type,
2087
+ props: node.props,
2088
+ attr,
2089
+ providerVersion: node.provider.version ?? 0,
2090
+ bindings: excludeDeletedBindings(node.bindings),
2091
+ downstream: node.downstream,
2092
+ old: replState.old,
2093
+ deleteFirst: node.deleteFirst,
2094
+ removalPolicy: node.resource.RemovalPolicy
2095
+ });
2096
+ yield* storeAndSignal({
2097
+ output: attr,
2098
+ props: {},
2099
+ bindings: [],
2100
+ instanceId
2101
+ });
2102
+ }
2103
+ yield* report("pending");
2104
+ yield* waitForDeps(allUpstreamFqns());
2105
+ yield* report("creating replacement");
2106
+ const outputs = getOutputs();
2107
+ const news = yield* evaluate(node.props, outputs);
2108
+ const bindingOutputs = excludeDeletedBindings(yield* evaluate(node.bindings, outputs));
2109
+ attr = yield* node.provider.reconcile({
2110
+ id: logicalId,
2111
+ news,
2112
+ instanceId,
2113
+ bindings: bindingOutputs,
2114
+ session: scopedSession,
2115
+ olds: void 0,
2116
+ output: attr
2117
+ }).pipe(instrumentLifecycle("create", fqn, node.resource.Type, logicalId, instanceId));
2118
+ yield* commit({
2119
+ status: "replaced",
2120
+ fqn,
2121
+ logicalId,
2122
+ instanceId,
2123
+ resourceType: node.resource.Type,
2124
+ props: news,
2125
+ attr,
2126
+ providerVersion: node.provider.version ?? 0,
2127
+ bindings: excludeDeletedBindings(node.bindings),
2128
+ downstream: node.downstream,
2129
+ old: replState.old,
2130
+ deleteFirst: node.deleteFirst,
2131
+ removalPolicy: node.resource.RemovalPolicy
2132
+ });
2133
+ tracker[fqn] = {
2134
+ output: attr,
2135
+ props: news,
2136
+ bindings: bindingOutputs,
2137
+ instanceId
2138
+ };
2139
+ yield* signalReady;
2140
+ yield* signalReadyStable;
2141
+ yield* markTerminal("created");
2142
+ return;
2143
+ }
2144
+ return yield* Effect.die(`Unknown action: ${node.action}`);
2145
+ });
2146
+ }).pipe(Effect.catchCause((cause) => Effect.gen(function* () {
2147
+ failures.push({
2148
+ fqn,
2149
+ logicalId: node.resource.LogicalId,
2150
+ type: node.resource.Type,
2151
+ cause
2152
+ });
2153
+ yield* Deferred.failCause(ready[fqn], cause);
2154
+ yield* Deferred.failCause(readyStable[fqn], cause);
2155
+ yield* session.emit({
2156
+ kind: "status-change",
2157
+ id: node.resource.LogicalId,
2158
+ type: node.resource.Type,
2159
+ status: "fail"
2160
+ });
2161
+ })), Effect.withSpan("apply.resource", { attributes: {
2162
+ "alchemy.resource.fqn": fqn,
2163
+ "alchemy.resource.type": node.resource.Type,
2164
+ "alchemy.resource.logical_id": node.resource.LogicalId,
2165
+ "alchemy.resource.action": node.action
2166
+ } }));
2167
+ const executeActionNode = (fqn, node, tracker, ready, readyStable, terminalStatuses, session, state, stackName, stage$1, getOutputs, waitForDeps, failures) => Effect.gen(function* () {
2168
+ const task = node.def;
2169
+ const logicalId = task.LogicalId;
2170
+ const namespace = task.Namespace;
2171
+ const commit = (value) => state.set({
2172
+ stack: stackName,
2173
+ stage: stage$1,
2174
+ fqn,
2175
+ value: {
2176
+ ...value,
2177
+ namespace
2178
+ }
2179
+ });
2180
+ const report = (status) => session.emit({
2181
+ kind: "status-change",
2182
+ id: logicalId,
2183
+ type: task.Type,
2184
+ status
2185
+ });
2186
+ const signalReady = Deferred.succeed(ready[fqn], void 0);
2187
+ const signalReadyStable = Deferred.succeed(readyStable[fqn], void 0);
2188
+ if (node.action === "noop") {
2189
+ tracker[fqn] = {
2190
+ output: node.state.output,
2191
+ props: { __input: node.state.input },
2192
+ bindings: [],
2193
+ instanceId: fqn
2194
+ };
2195
+ yield* signalReady;
2196
+ yield* signalReadyStable;
2197
+ terminalStatuses.set(fqn, {
2198
+ id: logicalId,
2199
+ type: task.Type,
2200
+ status: "skipped"
2201
+ });
2202
+ yield* report("skipped");
2203
+ return;
2204
+ }
2205
+ yield* report("pending");
2206
+ yield* waitForDeps(Object.keys(resolveUpstream(node.input)).filter((f) => f in readyStable));
2207
+ const outputs = getOutputs();
2208
+ const resolvedInput = yield* evaluate(node.input, outputs);
2209
+ const inputHashValue = yield* hashInput(resolvedInput);
2210
+ yield* commit({
2211
+ kind: "action",
2212
+ status: "running",
2213
+ fqn,
2214
+ logicalId,
2215
+ actionType: task.Type,
2216
+ inputHash: inputHashValue,
2217
+ input: resolvedInput,
2218
+ downstream: node.downstream
2219
+ });
2220
+ yield* report("running");
2221
+ const result = yield* task.Run(resolvedInput);
2222
+ yield* commit({
2223
+ kind: "action",
2224
+ status: "ran",
2225
+ fqn,
2226
+ logicalId,
2227
+ actionType: task.Type,
2228
+ inputHash: inputHashValue,
2229
+ input: resolvedInput,
2230
+ output: result,
2231
+ downstream: node.downstream
2232
+ });
2233
+ tracker[fqn] = {
2234
+ output: result,
2235
+ props: { __input: resolvedInput },
2236
+ bindings: [],
2237
+ instanceId: fqn
2238
+ };
2239
+ yield* signalReady;
2240
+ yield* signalReadyStable;
2241
+ terminalStatuses.set(fqn, {
2242
+ id: logicalId,
2243
+ type: task.Type,
2244
+ status: "ran"
2245
+ });
2246
+ yield* report("ran");
2247
+ }).pipe(Effect.catchCause((cause) => Effect.gen(function* () {
2248
+ failures.push({
2249
+ fqn,
2250
+ logicalId: node.def.LogicalId,
2251
+ type: node.def.Type,
2252
+ cause
2253
+ });
2254
+ yield* Deferred.failCause(ready[fqn], cause);
2255
+ yield* Deferred.failCause(readyStable[fqn], cause);
2256
+ yield* session.emit({
2257
+ kind: "status-change",
2258
+ id: node.def.LogicalId,
2259
+ type: node.def.Type,
2260
+ status: "fail"
2261
+ });
2262
+ })), Effect.withSpan("apply.action", { attributes: {
2263
+ "alchemy.action.fqn": fqn,
2264
+ "alchemy.action.type": node.def.Type,
2265
+ "alchemy.action.logical_id": node.def.LogicalId,
2266
+ "alchemy.action.verb": node.action
2267
+ } }));
2268
+ const converge = Effect.fnUntraced(function* (plan, tracker, terminalStatuses, session, state, stackName, stage$1) {
2269
+ for (;;) {
2270
+ let anyUpdated = false;
2271
+ for (const [fqn, node] of Object.entries(plan.resources)) {
2272
+ if (node.action === "noop") continue;
2273
+ if (!tracker[fqn]) continue;
2274
+ const outputs = Object.fromEntries(Object.entries(tracker).map(([k, t]) => [k, t.output]));
2275
+ const newProps = yield* evaluate(node.props, outputs);
2276
+ const newBindings = excludeDeletedBindings(yield* evaluate(node.bindings, outputs));
2277
+ const oldProps = tracker[fqn].props;
2278
+ const oldBindings = tracker[fqn].bindings;
2279
+ const propsChanged = havePropsChanged(oldProps, newProps);
2280
+ const bindingsChanged = JSON.stringify(oldBindings) !== JSON.stringify(newBindings);
2281
+ if (!propsChanged && !bindingsChanged) continue;
2282
+ anyUpdated = true;
2283
+ const logicalId = node.resource.LogicalId;
2284
+ const namespace = node.resource.Namespace;
2285
+ const instanceId = tracker[fqn].instanceId;
2286
+ const scopedSession = {
2287
+ ...session,
2288
+ note: (note) => session.emit({
2289
+ id: logicalId,
2290
+ kind: "annotate",
2291
+ message: note
2292
+ })
2293
+ };
2294
+ const attr = yield* node.provider.reconcile({
2295
+ id: logicalId,
2296
+ news: newProps,
2297
+ instanceId,
2298
+ bindings: newBindings,
2299
+ session: scopedSession,
2300
+ olds: oldProps,
2301
+ output: tracker[fqn].output
2302
+ }).pipe(instrumentLifecycle("update", fqn, node.resource.Type, logicalId, instanceId));
2303
+ tracker[fqn] = {
2304
+ output: attr,
2305
+ props: newProps,
2306
+ bindings: newBindings,
2307
+ instanceId
2308
+ };
2309
+ yield* state.set({
2310
+ stack: stackName,
2311
+ stage: stage$1,
2312
+ fqn,
2313
+ value: {
2314
+ status: "updated",
2315
+ fqn,
2316
+ logicalId,
2317
+ instanceId,
2318
+ resourceType: node.resource.Type,
2319
+ props: newProps,
2320
+ attr,
2321
+ providerVersion: node.provider.version ?? 0,
2322
+ bindings: excludeDeletedBindings(node.bindings),
2323
+ downstream: node.downstream,
2324
+ namespace,
2325
+ removalPolicy: node.resource.RemovalPolicy
2326
+ }
2327
+ });
2328
+ terminalStatuses.set(fqn, {
2329
+ id: logicalId,
2330
+ type: node.resource.Type,
2331
+ status: "updated"
2332
+ });
2333
+ }
2334
+ for (const [fqn, node] of Object.entries(plan.actions)) {
2335
+ if (node.action !== "run") continue;
2336
+ if (!tracker[fqn]) continue;
2337
+ const outputs = Object.fromEntries(Object.entries(tracker).map(([k, t]) => [k, t.output]));
2338
+ const newInput = yield* evaluate(node.input, outputs);
2339
+ const newHash = yield* hashInput(newInput);
2340
+ const oldInput = tracker[fqn].props?.__input;
2341
+ if (newHash === (yield* hashInput(oldInput))) continue;
2342
+ anyUpdated = true;
2343
+ yield* state.set({
2344
+ stack: stackName,
2345
+ stage: stage$1,
2346
+ fqn,
2347
+ value: {
2348
+ kind: "action",
2349
+ status: "running",
2350
+ fqn,
2351
+ logicalId: node.def.LogicalId,
2352
+ namespace: node.def.Namespace,
2353
+ actionType: node.def.Type,
2354
+ inputHash: newHash,
2355
+ input: newInput,
2356
+ downstream: node.downstream
2357
+ }
2358
+ });
2359
+ const result = yield* node.def.Run(newInput);
2360
+ yield* state.set({
2361
+ stack: stackName,
2362
+ stage: stage$1,
2363
+ fqn,
2364
+ value: {
2365
+ kind: "action",
2366
+ status: "ran",
2367
+ fqn,
2368
+ logicalId: node.def.LogicalId,
2369
+ namespace: node.def.Namespace,
2370
+ actionType: node.def.Type,
2371
+ inputHash: newHash,
2372
+ input: newInput,
2373
+ output: result,
2374
+ downstream: node.downstream
2375
+ }
2376
+ });
2377
+ tracker[fqn] = {
2378
+ output: result,
2379
+ props: { __input: newInput },
2380
+ bindings: [],
2381
+ instanceId: fqn
2382
+ };
2383
+ terminalStatuses.set(fqn, {
2384
+ id: node.def.LogicalId,
2385
+ type: node.def.Type,
2386
+ status: "ran"
2387
+ });
2388
+ }
2389
+ if (!anyUpdated) break;
2390
+ }
2391
+ });
2392
+ const collectGarbage = Effect.fnUntraced(function* (plan, session) {
2393
+ const state = yield* yield* State;
2394
+ const stackName = (yield* Stack).name;
2395
+ const stage$1 = yield* Stage;
2396
+ yield* Effect.all(Object.entries(plan.actionDeletions ?? {}).map(([fqn, node]) => node === void 0 ? Effect.void : Effect.gen(function* () {
2397
+ yield* session.emit({
2398
+ kind: "status-change",
2399
+ id: node.def.LogicalId,
2400
+ type: node.def.Type,
2401
+ status: "deleting"
2402
+ });
2403
+ yield* state.delete({
2404
+ stack: stackName,
2405
+ stage: stage$1,
2406
+ fqn
2407
+ });
2408
+ yield* session.emit({
2409
+ kind: "status-change",
2410
+ id: node.def.LogicalId,
2411
+ type: node.def.Type,
2412
+ status: "deleted"
2413
+ });
2414
+ })), { concurrency: "unbounded" });
2415
+ const deleteGraph = Effect.fnUntraced(function* (deletionGraph) {
2416
+ const deletions = {};
2417
+ const deleteResource = (node, ancestors = /* @__PURE__ */ new Set()) => Effect.gen(function* () {
2418
+ const isDeleteNode = (node$1) => "action" in node$1;
2419
+ const { logicalId, namespace, resourceType, instanceId, downstream, props, attr, provider } = isDeleteNode(node) ? {
2420
+ logicalId: node.resource.LogicalId,
2421
+ namespace: node.resource.Namespace,
2422
+ resourceType: node.resource.Type,
2423
+ instanceId: node.state.instanceId,
2424
+ downstream: node.downstream,
2425
+ props: node.state.props,
2426
+ attr: node.state.attr,
2427
+ provider: node.provider
2428
+ } : {
2429
+ logicalId: node.logicalId,
2430
+ namespace: node.namespace,
2431
+ resourceType: node.old.resourceType,
2432
+ instanceId: node.old.instanceId,
2433
+ downstream: node.old.downstream,
2434
+ props: node.old.props,
2435
+ attr: node.old.attr,
2436
+ provider: yield* findProviderByType(node.old.resourceType)
2437
+ };
2438
+ const fqn = toFqn(namespace, logicalId);
2439
+ const nextAncestors = new Set(ancestors).add(fqn);
2440
+ const commit = (value) => state.set({
2441
+ stack: stackName,
2442
+ stage: stage$1,
2443
+ fqn,
2444
+ value: {
2445
+ ...value,
2446
+ namespace
2447
+ }
2448
+ });
2449
+ const report = (status) => session.emit({
2450
+ kind: "status-change",
2451
+ id: logicalId,
2452
+ type: resourceType,
2453
+ status
2454
+ });
2455
+ const scopedSession = {
2456
+ ...session,
2457
+ note: (note) => session.emit({
2458
+ id: logicalId,
2459
+ kind: "annotate",
2460
+ message: note
2461
+ })
2462
+ };
2463
+ return yield* deletions[fqn] ??= yield* Effect.cached(Effect.gen(function* () {
2464
+ yield* Effect.all(downstream.map((dep) => dep !== fqn && dep in deletionGraph && !ancestors.has(dep) ? deleteResource(deletionGraph[dep], nextAncestors) : Effect.void), { concurrency: "unbounded" });
2465
+ if (isDeleteNode(node)) {
2466
+ yield* report("deleting");
2467
+ if (node.resource.RemovalPolicy === "retain") {
2468
+ yield* state.delete({
2469
+ stack: stackName,
2470
+ stage: stage$1,
2471
+ fqn
2472
+ });
2473
+ yield* report("deleted");
2474
+ return;
2475
+ }
2476
+ yield* commit({
2477
+ status: "deleting",
2478
+ fqn,
2479
+ logicalId,
2480
+ instanceId,
2481
+ resourceType,
2482
+ props,
2483
+ attr,
2484
+ downstream,
2485
+ providerVersion: provider.version ?? 0,
2486
+ bindings: excludeDeletedBindings(node.bindings),
2487
+ removalPolicy: node.resource.RemovalPolicy
2488
+ });
2489
+ }
2490
+ if (attr !== void 0) yield* provider.delete({
2491
+ id: logicalId,
2492
+ instanceId,
2493
+ olds: props,
2494
+ output: attr,
2495
+ session: scopedSession,
2496
+ bindings: []
2497
+ }).pipe(instrumentLifecycle("delete", fqn, resourceType, logicalId, instanceId));
2498
+ if (isDeleteNode(node)) {
2499
+ yield* state.delete({
2500
+ stack: stackName,
2501
+ stage: stage$1,
2502
+ fqn
2503
+ });
2504
+ yield* report("deleted");
2505
+ } else {
2506
+ yield* scopedSession.note("Cleaning up replaced resource...");
2507
+ if (node.old.status === "replacing" || node.old.status === "replaced") yield* commit({
2508
+ status: "replaced",
2509
+ fqn,
2510
+ logicalId: node.logicalId,
2511
+ instanceId: node.instanceId,
2512
+ resourceType: node.resourceType,
2513
+ props: node.props,
2514
+ attr: node.attr,
2515
+ providerVersion: node.providerVersion,
2516
+ downstream: node.downstream,
2517
+ bindings: excludeDeletedBindings(node.bindings),
2518
+ old: node.old.old,
2519
+ deleteFirst: node.deleteFirst,
2520
+ removalPolicy: node.removalPolicy
2521
+ });
2522
+ else yield* commit({
2523
+ status: "created",
2524
+ fqn,
2525
+ logicalId: node.logicalId,
2526
+ instanceId: node.instanceId,
2527
+ resourceType: node.resourceType,
2528
+ props: node.props,
2529
+ attr: node.attr,
2530
+ providerVersion: node.providerVersion,
2531
+ downstream: node.downstream,
2532
+ bindings: excludeDeletedBindings(node.bindings),
2533
+ removalPolicy: node.removalPolicy
2534
+ });
2535
+ yield* scopedSession.note("Replaced resource cleanup complete.");
2536
+ }
2537
+ }));
2538
+ });
2539
+ yield* Effect.all(Object.values(deletionGraph).filter((node) => node !== void 0).map((node) => deleteResource(node)), { concurrency: "unbounded" });
2540
+ });
2541
+ let first = true;
2542
+ while (true) {
2543
+ const remainingReplacedResources = yield* state.getReplacedResources({
2544
+ stack: stackName,
2545
+ stage: stage$1
2546
+ });
2547
+ if (!first && remainingReplacedResources.length === 0) break;
2548
+ yield* deleteGraph({
2549
+ ...first ? plan.deletions : {},
2550
+ ...Object.fromEntries(remainingReplacedResources.map((replaced) => [toFqn(replaced.namespace, replaced.logicalId), replaced]))
2551
+ });
2552
+ first = false;
2553
+ }
2554
+ });
2555
+ const excludeDeletedBindings = (bindings) => bindings.flatMap(({ action, sid, data }) => action === "delete" ? [] : [{
2556
+ sid,
2557
+ data
2558
+ }]);
2559
+
2560
+ //#endregion
2561
+ //#region lib/Cli/commands/_shared.js
2562
+ var __rewriteRelativeImportExtension = void 0 && (void 0).__rewriteRelativeImportExtension || function(path$1, preserveJsx) {
2563
+ if (typeof path$1 === "string" && /^\.\.?\//.test(path$1)) return path$1.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) {
2564
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : d + ext + "." + cm.toLowerCase() + "js";
2565
+ });
2566
+ return path$1;
2567
+ };
2568
+ const USER = Config.string("USER").pipe(Config.orElse(() => Config.string("USERNAME")), Config.withDefault("unknown"));
2569
+ const STAGE = Config.string("stage").pipe(Config.option, (a) => a, Effect.map(Option.getOrUndefined));
2570
+ const stage = Flag.string("stage").pipe(Flag.withSchema(Schema.String.check(Schema.isPattern(/^[a-z0-9]+([-_a-z0-9]+)*$/gi))), Flag.withDescription("Stage to deploy to, defaults to dev_${USER}"), Flag.optional, Flag.map(Option.getOrUndefined), Flag.mapEffect(Effect.fn(function* (stage$1) {
2571
+ if (stage$1) return stage$1;
2572
+ return yield* STAGE.pipe(Effect.catch(() => Effect.fail(new CliError.MissingOption({ option: "stage" }))), Effect.flatMap((s) => s === void 0 ? USER.pipe(Effect.map((user) => `dev_${user}`), Effect.catch(() => Effect.succeed("unknown"))) : Effect.succeed(s)));
2573
+ })));
2574
+ const envFile = Flag.file("env-file").pipe(Flag.optional, Flag.withDescription("File to load environment variables from, defaults to .env"));
2575
+ const dryRun = Flag.boolean("dry-run").pipe(Flag.withDescription("Dry run the deployment, do not actually deploy"), Flag.withDefault(false));
2576
+ const yes = Flag.boolean("yes").pipe(Flag.withDescription("Yes to all prompts"), Flag.withDefault(false));
2577
+ const force = Flag.boolean("force").pipe(Flag.withDescription("Force updates for resources that would otherwise no-op"), Flag.withDefault(false));
2578
+ const script = Argument.file("main", { mustExist: true }).pipe(Argument.withDescription("Main file to deploy, defaults to alchemy.run.ts"), Argument.withDefault("alchemy.run.ts"));
2579
+ const profile = Flag.string("profile").pipe(Flag.withDescription("Auth profile to use (~/.alchemy/profiles.json). Defaults to 'default' or $ALCHEMY_PROFILE."), Flag.optional, Flag.map(Option.getOrElse(() => "default")));
2580
+ const resourceFilter = Flag.string("filter").pipe(Flag.withDescription("Comma-separated logical resource IDs (e.g. Api,Sandbox). Only those resources are included."), Flag.optional, Flag.map(Option.getOrUndefined));
2581
+ /**
2582
+ * Wraps a CLI command handler with a top-level OpenTelemetry span
2583
+ * (`cli.<command>`) and bumps the `alchemy.cli.invocations` counter.
2584
+ *
2585
+ * `attrs` runs against the parsed command args and contributes
2586
+ * additional attributes to the span (e.g. stage, profile, dry-run flag).
2587
+ *
2588
+ * Usage:
2589
+ * ```ts
2590
+ * Command.make(
2591
+ * "deploy",
2592
+ * { ...flags },
2593
+ * instrumentCommand("deploy", (a) => ({
2594
+ * "alchemy.stage": a.stage,
2595
+ * "alchemy.profile": a.profile,
2596
+ * }))(execStack),
2597
+ * );
2598
+ * ```
2599
+ */
2600
+ const instrumentCommand = (command, attrs) => (handler) => (args) => handler(args).pipe(Effect.withSpan(`cli.${command}`, { attributes: attrs ? attrs(args) : {} }), recordCli(command));
2601
+ /**
2602
+ * Render a profile's stored credential entries the same way across
2603
+ * `alchemy login` and `alchemy profile show`: one `── Provider ──`
2604
+ * header per entry, then either the provider's own `prettyPrint` block
2605
+ * (preferred) or a JSON-style fallback when the provider isn't
2606
+ * registered in the supplied {@link AuthProviders} registry.
2607
+ */
2608
+ const printProfile = Effect.fn(function* (profile$1, stored, registry) {
2609
+ yield* Console.log(`Profile: ${profile$1}`);
2610
+ const names = Object.keys(stored).sort();
2611
+ if (names.length === 0) {
2612
+ yield* Console.log("(no providers configured)");
2613
+ return;
2614
+ }
2615
+ for (const name of names) {
2616
+ const cfg = stored[name];
2617
+ yield* Console.log("");
2618
+ yield* Console.log(`── ${name} ──`);
2619
+ const provider = registry[name];
2620
+ if (provider == null) {
2621
+ yield* Console.log(` method: ${cfg.method}`);
2622
+ const { method: _method,...rest } = cfg;
2623
+ for (const [k, v] of Object.entries(rest)) yield* Console.log(` ${k}: ${typeof v === "string" ? v : JSON.stringify(v)}`);
2624
+ continue;
2625
+ }
2626
+ yield* provider.prettyPrint(profile$1, cfg);
2627
+ }
2628
+ });
2629
+ const importStack = Effect.fn(function* (main) {
2630
+ const path$1 = yield* Path$1.Path;
2631
+ const url = import.meta.resolve(path$1.resolve(main));
2632
+ const stackEffect = (yield* Effect.promise(() => import(__rewriteRelativeImportExtension(url)))).default;
2633
+ if (!Effect.isEffect(stackEffect)) return yield* Effect.die(/* @__PURE__ */ new Error(`Main file '${main}' must export a default stack definition (export default Alchemy.Stack({...}))`));
2634
+ return stackEffect;
2635
+ });
2636
+
2637
+ //#endregion
2638
+ //#region lib/Cli/commands/deploy.js
2639
+ const ExecStackOptions = Schema.Struct({
2640
+ main: Schema.String,
2641
+ stage: Schema.String,
2642
+ envFile: Schema.OptionFromOptional(Schema.String),
2643
+ profile: Schema.optional(Schema.String),
2644
+ dryRun: Schema.optional(Schema.Boolean),
2645
+ force: Schema.optional(Schema.Boolean),
2646
+ yes: Schema.optional(Schema.Boolean),
2647
+ destroy: Schema.optional(Schema.Boolean),
2648
+ dev: Schema.optional(Schema.Boolean),
2649
+ adopt: Schema.optional(Schema.Boolean)
2650
+ });
2651
+ const stackSpanAttrs = (args) => ({
2652
+ "alchemy.stage": args.stage,
2653
+ "alchemy.profile": args.profile,
2654
+ "alchemy.main": args.main,
2655
+ "alchemy.dry_run": !!args.dryRun,
2656
+ "alchemy.force": !!args.force,
2657
+ "alchemy.destroy": !!args.destroy,
2658
+ "alchemy.dev": !!args.dev,
2659
+ "alchemy.adopt": !!args.adopt
2660
+ });
2661
+ const adopt = Flag.boolean("adopt").pipe(Flag.withDescription("Adopt pre-existing cloud resources that conflict with this stack instead of failing. Useful for re-importing infrastructure into a fresh state store."), Flag.withDefault(false));
2662
+ const execStack = Effect.fn(function* ({ main, stage: stage$1, envFile: envFile$1, profile: profile$1, dryRun: dryRun$1 = false, force: force$1 = false, yes: yes$1 = false, destroy = false, dev = false, adopt: adopt$1 = false }) {
2663
+ const stackEffect = yield* importStack(main);
2664
+ const services$1 = Layer.mergeAll(Layer.effect(AlchemyContext, AlchemyContext.pipe(Effect.map((ctx) => ({
2665
+ ...ctx,
2666
+ dev,
2667
+ adopt: adopt$1
2668
+ })))), Layer.succeed(AdoptPolicy, adopt$1), Layer.succeed(ArtifactStore, createArtifactStore()), Layer.succeed(AuthProviders, yield* Effect.serviceOption(AuthProviders).pipe(Effect.map(Option.getOrElse(() => ({}))))), ConfigProvider.layer(withProfileOverride(yield* loadConfigProvider(envFile$1), profile$1)), Logger.layer([fileLogger("out")], { mergeWithExisting: true }), Layer.succeed(Stage, stage$1));
2669
+ yield* Effect.gen(function* () {
2670
+ const cli = yield* Cli;
2671
+ const stack = yield* stackEffect;
2672
+ yield* Effect.gen(function* () {
2673
+ const updatePlan = yield* make(destroy ? {
2674
+ ...stack,
2675
+ resources: {},
2676
+ bindings: {},
2677
+ actions: {},
2678
+ output: {}
2679
+ } : stack, { force: force$1 });
2680
+ if (dryRun$1) yield* cli.displayPlan(updatePlan);
2681
+ else {
2682
+ const hasChanges = Object.keys(updatePlan.deletions).length > 0 || Object.values(updatePlan.resources).some((node) => node.action !== "noop" || node.bindings.some((b) => b.action !== "noop"));
2683
+ if (!yes$1 && hasChanges) {
2684
+ if (!(yield* cli.approvePlan(updatePlan))) return;
2685
+ }
2686
+ const outputs = yield* apply(updatePlan);
2687
+ if (outputs !== void 0) yield* Console.log(outputs);
2688
+ if (dev) yield* Effect.never;
2689
+ }
2690
+ }).pipe(Effect.provide(stack.services));
2691
+ }).pipe(Effect.provide(services$1));
2692
+ });
2693
+ const deployCommand = Command.make("deploy", {
2694
+ dryRun,
2695
+ force,
2696
+ main: script,
2697
+ envFile,
2698
+ stage,
2699
+ yes,
2700
+ profile,
2701
+ adopt
2702
+ }, instrumentCommand("deploy", stackSpanAttrs)(execStack));
2703
+ const destroyCommand = Command.make("destroy", {
2704
+ dryRun,
2705
+ main: script,
2706
+ envFile,
2707
+ stage,
2708
+ yes,
2709
+ profile
2710
+ }, instrumentCommand("destroy", stackSpanAttrs)((args) => execStack({
2711
+ ...args,
2712
+ destroy: true
2713
+ })));
2714
+ const planCommand = Command.make("plan", {
2715
+ main: script,
2716
+ envFile,
2717
+ stage,
2718
+ profile
2719
+ }, instrumentCommand("plan", stackSpanAttrs)((args) => execStack({
2720
+ ...args,
2721
+ dryRun: true
2722
+ })));
2723
+
2724
+ //#endregion
2725
+ //#region lib/Cli/LoggingCli.js
2726
+ const ESC = "\x1B[";
2727
+ const RESET = `${ESC}0m`;
2728
+ const useColor = process.stdout.hasColors?.() ?? !!process.stdout.isTTY;
2729
+ const c = (code, s) => useColor ? `${ESC}${code}m${s}${RESET}` : s;
2730
+ const dim = (s) => c("2", s);
2731
+ const bold = (s) => c("1", s);
2732
+ const red = (s) => c("31", s);
2733
+ const green = (s) => c("32", s);
2734
+ const yellow = (s) => c("33", s);
2735
+ const blue = (s) => c("34", s);
2736
+ const magenta = (s) => c("35", s);
2737
+ const cyan = (s) => c("36", s);
2738
+ const actionColor$1 = {
2739
+ create: green,
2740
+ update: yellow,
2741
+ replace: magenta,
2742
+ delete: red,
2743
+ noop: dim
2744
+ };
2745
+ const statusColor$1 = (status) => {
2746
+ switch (status) {
2747
+ case "created":
2748
+ case "updated":
2749
+ case "replaced": return green;
2750
+ case "deleted": return dim;
2751
+ case "fail": return red;
2752
+ case "attaching":
2753
+ case "post-attach": return cyan;
2754
+ default: return yellow;
2755
+ }
2756
+ };
2757
+ const tag = (id) => bold(`[${id}]`);
2758
+ const isTerminal = (status) => status === "created" || status === "updated" || status === "deleted" || status === "replaced" || status === "fail";
2759
+ const formatPlanLines = (plan) => {
2760
+ const items = [...Object.values(plan.resources), ...Object.values(plan.deletions)];
2761
+ if (items.length === 0) return [bold("Plan:") + " no changes"];
2762
+ const counts = items.reduce((acc, item) => (acc[item.action] = (acc[item.action] ?? 0) + 1, acc), {});
2763
+ const summary = [
2764
+ "create",
2765
+ "update",
2766
+ "replace",
2767
+ "delete",
2768
+ "noop"
2769
+ ].filter((a) => counts[a]).map((a) => actionColor$1[a](`${counts[a]} to ${a}`)).join(dim(", "));
2770
+ const sorted = [...items].sort((a, b) => a.resource.LogicalId.localeCompare(b.resource.LogicalId));
2771
+ const lines = [`${bold("Plan:")} ${summary}`];
2772
+ for (const item of sorted) {
2773
+ const action = actionColor$1[item.action](item.action);
2774
+ lines.push(`${tag(item.resource.LogicalId)} ${action}`);
2775
+ for (const binding of item.bindings) {
2776
+ if (binding.action === "noop") continue;
2777
+ const bindingAction = actionColor$1[binding.action](binding.action);
2778
+ lines.push(`${tag(`${item.resource.LogicalId}/${binding.sid}`)} ${bindingAction}`);
2779
+ }
2780
+ }
2781
+ return lines;
2782
+ };
2783
+ const LoggingCli = Layer.succeed(Cli, Cli.of({
2784
+ approvePlan: (plan) => Effect.gen(function* () {
2785
+ for (const line of formatPlanLines(plan)) yield* Console.log(line);
2786
+ yield* Console.log(`\n${yellow("Non-interactive terminal detected.")} Pass ${bold("--yes")} to approve, or set ${bold("ALCHEMY_TUI=1")} for the interactive UI.`);
2787
+ return false;
2788
+ }),
2789
+ displayPlan: (plan) => Effect.gen(function* () {
2790
+ for (const line of formatPlanLines(plan)) yield* Console.log(line);
2791
+ }),
2792
+ startApplySession: (plan) => Effect.gen(function* () {
2793
+ for (const line of formatPlanLines(plan)) yield* Console.log(line);
2794
+ yield* Console.log("");
2795
+ const counts = {
2796
+ ok: 0,
2797
+ fail: 0
2798
+ };
2799
+ return {
2800
+ emit: (event) => Effect.sync(() => {
2801
+ if (event.kind === "annotate") {
2802
+ console.log(`${tag(event.id)} ${blue(event.message)}`);
2803
+ return;
2804
+ }
2805
+ const id = event.bindingId ? `${event.id}/${event.bindingId}` : event.id;
2806
+ const status = statusColor$1(event.status)(event.status);
2807
+ const msg = event.message ? ` ${dim("—")} ${event.message}` : "";
2808
+ console.log(`${tag(id)} ${status}${msg}`);
2809
+ if (isTerminal(event.status)) if (event.status === "fail") counts.fail++;
2810
+ else counts.ok++;
2811
+ }),
2812
+ done: () => Console.log(`\n${bold("Done:")} ${green(`${counts.ok} succeeded`)}${counts.fail ? dim(", ") + red(`${counts.fail} failed`) : ""}`)
2813
+ };
2814
+ })
2815
+ }));
2816
+
2817
+ //#endregion
2818
+ //#region lib/Cli/NamespaceTree.js
2819
+ function buildNamespaceTree(items, actions = []) {
2820
+ const root = {
2821
+ id: "",
2822
+ path: [],
2823
+ children: /* @__PURE__ */ new Map(),
2824
+ resources: [],
2825
+ actions: []
2826
+ };
2827
+ const getNode = (path$1) => {
2828
+ let current = root;
2829
+ for (let i = 0; i < path$1.length; i++) {
2830
+ const segment = path$1[i];
2831
+ let child = current.children.get(segment);
2832
+ if (!child) {
2833
+ child = {
2834
+ id: segment,
2835
+ path: path$1.slice(0, i + 1),
2836
+ children: /* @__PURE__ */ new Map(),
2837
+ resources: [],
2838
+ actions: []
2839
+ };
2840
+ current.children.set(segment, child);
2841
+ }
2842
+ current = child;
2843
+ }
2844
+ return current;
2845
+ };
2846
+ for (const item of items) getNode(toPath(item.resource.Namespace)).resources.push(item);
2847
+ for (const action of actions) getNode(toPath(action.def.Namespace)).actions.push(action);
2848
+ return root;
2849
+ }
2850
+ function deriveNamespaceAction(node) {
2851
+ const actions = /* @__PURE__ */ new Set();
2852
+ for (const resource of node.resources) actions.add(deriveResourceChildrenAction(resource, node));
2853
+ for (const action of node.actions) actions.add(action.action === "run" ? "create" : action.action === "delete" ? "delete" : "noop");
2854
+ for (const child of node.children.values()) {
2855
+ const childAction = deriveNamespaceAction(child);
2856
+ if (childAction === "mixed") return "mixed";
2857
+ actions.add(childAction);
2858
+ }
2859
+ return deriveAction(actions);
2860
+ }
2861
+ function flattenTree(node, depth = 0, result = []) {
2862
+ flattenNamespace(node, depth, result);
2863
+ return result;
2864
+ }
2865
+ const flattenNamespace = (node, depth, result) => {
2866
+ const sortedResources = [...node.resources].sort((a, b) => a.resource.LogicalId.localeCompare(b.resource.LogicalId));
2867
+ const sortedChildren = Array.from(node.children.entries()).sort(([a], [b]) => a.localeCompare(b));
2868
+ const resourceIds = new Set(sortedResources.map((resource) => resource.resource.LogicalId));
2869
+ for (const [id, child] of sortedChildren) {
2870
+ if (resourceIds.has(id) || isEmpty(child)) continue;
2871
+ result.push({
2872
+ type: "namespace",
2873
+ depth,
2874
+ id,
2875
+ path: child.path,
2876
+ action: deriveNamespaceAction(child),
2877
+ hasChildren: true
2878
+ });
2879
+ flattenNamespace(child, depth + 1, result);
2880
+ }
2881
+ for (const resource of sortedResources) {
2882
+ const childNamespace = node.children.get(resource.resource.LogicalId);
2883
+ result.push({
2884
+ type: "resource",
2885
+ depth,
2886
+ id: resource.resource.LogicalId,
2887
+ path: [...node.path, resource.resource.LogicalId],
2888
+ action: resource.action,
2889
+ resourceType: resource.resource.Type,
2890
+ bindingCount: resource.bindings.length
2891
+ });
2892
+ for (const binding of [...resource.bindings].sort((a, b) => a.sid.localeCompare(b.sid))) result.push({
2893
+ type: "binding",
2894
+ depth: depth + 1,
2895
+ id: binding.sid,
2896
+ path: [
2897
+ ...node.path,
2898
+ resource.resource.LogicalId,
2899
+ binding.sid
2900
+ ],
2901
+ action: binding.action,
2902
+ bindingSid: binding.sid
2903
+ });
2904
+ if (childNamespace) flattenNamespace(childNamespace, depth + 1, result);
2905
+ }
2906
+ const sortedActions = [...node.actions].sort((a, b) => a.def.LogicalId.localeCompare(b.def.LogicalId));
2907
+ for (const action of sortedActions) result.push({
2908
+ type: "action",
2909
+ depth,
2910
+ id: action.def.LogicalId,
2911
+ path: [...node.path, action.def.LogicalId],
2912
+ action: action.action,
2913
+ actionType: action.def.Type
2914
+ });
2915
+ };
2916
+ const isEmpty = (node) => node.resources.length === 0 && node.actions.length === 0 && Array.from(node.children.values()).every(isEmpty);
2917
+ const deriveResourceChildrenAction = (resource, node) => {
2918
+ const actions = new Set([resource.action]);
2919
+ for (const binding of resource.bindings) actions.add(binding.action);
2920
+ const childNamespace = node.children.get(resource.resource.LogicalId);
2921
+ if (childNamespace) actions.add(deriveNamespaceAction(childNamespace));
2922
+ return deriveAction(actions);
2923
+ };
2924
+ const deriveAction = (actions) => {
2925
+ if (actions.size === 0) return "noop";
2926
+ if (actions.has("replace")) return actions.size === 1 ? "replace" : "mixed";
2927
+ if (actions.has("delete")) return actions.size === 1 ? "delete" : "mixed";
2928
+ if (actions.has("create")) return actions.size === 1 ? "create" : "mixed";
2929
+ if (actions.has("update")) return actions.size === 1 ? "update" : "mixed";
2930
+ return "noop";
2931
+ };
2932
+
2933
+ //#endregion
2934
+ //#region lib/Cli/tui/components/Plan.js
2935
+ function Plan({ plan }) {
2936
+ const items = useMemo(() => [...Object.values(plan.resources), ...Object.values(plan.deletions)], [plan]);
2937
+ const taskItems = useMemo(() => [...Object.values(plan.actions ?? {}), ...Object.values(plan.actionDeletions ?? {})].filter((t) => t !== void 0), [plan]);
2938
+ const flatItems = useMemo(() => {
2939
+ return flattenTree(buildNamespaceTree(items, taskItems));
2940
+ }, [items, taskItems]);
2941
+ if (items.length === 0 && taskItems.length === 0) return jsx(Text, {
2942
+ color: "gray",
2943
+ children: "No changes planned"
2944
+ });
2945
+ const counts = items.reduce((acc, item) => (acc[item.action]++, acc), {
2946
+ create: 0,
2947
+ update: 0,
2948
+ delete: 0,
2949
+ noop: 0,
2950
+ replace: 0
2951
+ });
2952
+ const taskCounts = taskItems.reduce((acc, item) => (acc[item.action]++, acc), {
2953
+ run: 0,
2954
+ noop: 0,
2955
+ delete: 0
2956
+ });
2957
+ const actions = [
2958
+ "create",
2959
+ "update",
2960
+ "delete",
2961
+ "replace"
2962
+ ].filter((action) => counts[action] > 0);
2963
+ const taskHeaderEntries = [taskCounts.run > 0 ? `${taskCounts.run} to run` : void 0, taskCounts.delete > 0 ? `${taskCounts.delete} to drop` : void 0].filter((s) => !!s);
2964
+ return jsxs(Box, {
2965
+ flexDirection: "column",
2966
+ children: [jsxs(Box, {
2967
+ marginTop: 1,
2968
+ children: [
2969
+ jsx(Text, {
2970
+ underline: true,
2971
+ children: "Plan"
2972
+ }),
2973
+ jsx(Text, { children: ": " }),
2974
+ [...actions.map((action) => {
2975
+ const count = counts[action];
2976
+ return jsx(Box, { children: jsxs(Text, {
2977
+ color: actionColor(action),
2978
+ children: [
2979
+ count,
2980
+ " to ",
2981
+ action
2982
+ ]
2983
+ }) }, action);
2984
+ }), ...taskHeaderEntries.map((label, i) => jsx(Box, { children: jsx(Text, {
2985
+ color: "cyan",
2986
+ children: label
2987
+ }) }, `task-${i}`))].flatMap((box, i, arr) => i === arr.length - 1 ? [box] : [box, jsx(Text, { children: " | " }, `sep-${i}`)])
2988
+ ]
2989
+ }), jsx(Box, {
2990
+ flexDirection: "column",
2991
+ marginTop: 1,
2992
+ children: flatItems.map((item) => {
2993
+ const indent = " ".repeat(item.depth);
2994
+ const color = getActionColor(item.action);
2995
+ const icon = getActionIcon(item.action);
2996
+ const key = item.path.join("/");
2997
+ if (item.type === "namespace") return jsxs(Box, {
2998
+ flexDirection: "row",
2999
+ children: [
3000
+ jsx(Text, { children: indent }),
3001
+ jsx(Box, {
3002
+ width: 2,
3003
+ children: jsxs(Text, {
3004
+ color,
3005
+ children: [icon, " "]
3006
+ })
3007
+ }),
3008
+ jsx(Text, {
3009
+ color: "blueBright",
3010
+ children: item.id
3011
+ })
3012
+ ]
3013
+ }, key);
3014
+ if (item.type === "binding") return jsxs(Box, {
3015
+ flexDirection: "row",
3016
+ children: [
3017
+ jsx(Text, { children: indent }),
3018
+ jsx(Box, {
3019
+ width: 2,
3020
+ children: jsxs(Text, {
3021
+ color,
3022
+ children: [icon, " "]
3023
+ })
3024
+ }),
3025
+ jsx(Text, {
3026
+ color: "cyan",
3027
+ children: item.bindingSid
3028
+ })
3029
+ ]
3030
+ }, key);
3031
+ if (item.type === "action") return jsxs(Box, {
3032
+ flexDirection: "row",
3033
+ children: [
3034
+ jsx(Text, { children: indent }),
3035
+ jsx(Box, {
3036
+ width: 2,
3037
+ children: jsxs(Text, {
3038
+ color,
3039
+ children: [icon, " "]
3040
+ })
3041
+ }),
3042
+ jsx(Box, { children: jsx(Text, {
3043
+ bold: true,
3044
+ children: item.id
3045
+ }) }),
3046
+ jsx(Box, {
3047
+ marginLeft: 1,
3048
+ children: jsxs(Text, {
3049
+ color: "blackBright",
3050
+ children: [
3051
+ "(",
3052
+ item.actionType,
3053
+ ")"
3054
+ ]
3055
+ })
3056
+ }),
3057
+ jsx(Box, {
3058
+ marginLeft: 1,
3059
+ children: jsx(Text, {
3060
+ color: "cyan",
3061
+ children: "[action]"
3062
+ })
3063
+ })
3064
+ ]
3065
+ }, key);
3066
+ return jsxs(Box, {
3067
+ flexDirection: "row",
3068
+ children: [
3069
+ jsx(Text, { children: indent }),
3070
+ jsx(Box, {
3071
+ width: 2,
3072
+ children: jsxs(Text, {
3073
+ color,
3074
+ children: [icon, " "]
3075
+ })
3076
+ }),
3077
+ jsx(Box, { children: jsx(Text, {
3078
+ bold: true,
3079
+ children: item.id
3080
+ }) }),
3081
+ jsx(Box, {
3082
+ marginLeft: 1,
3083
+ children: jsxs(Text, {
3084
+ color: "blackBright",
3085
+ children: [
3086
+ "(",
3087
+ item.resourceType,
3088
+ ")"
3089
+ ]
3090
+ })
3091
+ }),
3092
+ item.bindingCount !== void 0 && item.bindingCount > 0 && jsx(Box, {
3093
+ marginLeft: 1,
3094
+ children: jsxs(Text, {
3095
+ color: "cyan",
3096
+ children: [
3097
+ "(",
3098
+ item.bindingCount,
3099
+ " bindings)"
3100
+ ]
3101
+ })
3102
+ })
3103
+ ]
3104
+ }, key);
3105
+ })
3106
+ })]
3107
+ });
3108
+ }
3109
+ const getActionColor = (action) => ({
3110
+ noop: "gray",
3111
+ create: "green",
3112
+ update: "yellow",
3113
+ delete: "red",
3114
+ replace: "magenta",
3115
+ mixed: "cyan",
3116
+ run: "cyan"
3117
+ })[action] ?? "gray";
3118
+ const getActionIcon = (action) => ({
3119
+ create: "+",
3120
+ update: "~",
3121
+ delete: "-",
3122
+ noop: "•",
3123
+ replace: "!",
3124
+ mixed: "*",
3125
+ run: "λ"
3126
+ })[action] ?? "?";
3127
+ const actionColor = (action) => getActionColor(action);
3128
+
3129
+ //#endregion
3130
+ //#region lib/Cli/tui/components/ApprovePlan.js
3131
+ function ApprovePlan(props) {
3132
+ const { plan, approve } = props;
3133
+ const [selected, setSelected] = useState(0);
3134
+ const { exit } = useApp();
3135
+ useInput((_input, key) => {
3136
+ if (key.leftArrow || key.rightArrow) setSelected((prev) => prev === 0 ? 1 : 0);
3137
+ else if (key.return) {
3138
+ approve(selected === 0);
3139
+ exit();
3140
+ }
3141
+ });
3142
+ return jsxs(Box, {
3143
+ flexDirection: "column",
3144
+ children: [
3145
+ jsx(Plan, { plan }),
3146
+ jsx(Box, {
3147
+ marginTop: 1,
3148
+ children: jsx(Text, { children: "Proceed?" })
3149
+ }),
3150
+ jsxs(Box, {
3151
+ gap: 1,
3152
+ children: [jsxs(Text, {
3153
+ color: selected === 0 ? "green" : "gray",
3154
+ children: [selected === 0 ? "◉" : "○", " Yes"]
3155
+ }), jsxs(Text, {
3156
+ color: selected === 1 ? "red" : "gray",
3157
+ children: [selected === 1 ? "◉" : "○", " No"]
3158
+ })]
3159
+ })
3160
+ ]
3161
+ });
3162
+ }
3163
+
3164
+ //#endregion
3165
+ //#region lib/Cli/tui/components/PlanProgress.js
3166
+ const getTaskKey = (item) => item.path.join("/");
3167
+ const buildProgressRows = (plan) => {
3168
+ return flattenTree(buildNamespaceTree([...Object.values(plan.resources), ...Object.values(plan.deletions).filter((item) => item !== void 0)], [...Object.values(plan.actions ?? {}), ...Object.values(plan.actionDeletions ?? {})].filter((t) => t !== void 0))).filter((item) => item.type !== "binding").map((item) => {
3169
+ if (item.type === "namespace") return {
3170
+ key: getTaskKey(item),
3171
+ type: "namespace",
3172
+ id: item.id,
3173
+ depth: item.depth,
3174
+ action: item.action
3175
+ };
3176
+ if (item.type === "action") return {
3177
+ key: getTaskKey(item),
3178
+ type: "task",
3179
+ id: item.id,
3180
+ depth: item.depth,
3181
+ actionType: item.actionType ?? "unknown",
3182
+ action: item.action
3183
+ };
3184
+ return {
3185
+ key: getTaskKey(item),
3186
+ type: "resource",
3187
+ id: item.id,
3188
+ depth: item.depth,
3189
+ resourceType: item.resourceType ?? "unknown",
3190
+ action: item.action,
3191
+ persistedApplyStatus: item.action === "noop" ? (() => {
3192
+ const crud = findCrudByLogicalId(plan, item.id);
3193
+ return crud?.action === "noop" ? crud.state.status : void 0;
3194
+ })() : void 0
3195
+ };
3196
+ });
3197
+ };
3198
+ const buildLogicalIdIndex = (rows) => {
3199
+ const index = /* @__PURE__ */ new Map();
3200
+ for (const row of rows) {
3201
+ if (row.type !== "resource" && row.type !== "task") continue;
3202
+ const keys = index.get(row.id);
3203
+ if (keys) keys.push(row.key);
3204
+ else index.set(row.id, [row.key]);
3205
+ }
3206
+ return index;
3207
+ };
3208
+ function toPlanTask(rowOrId, planItem) {
3209
+ if (typeof rowOrId === "string") return {
3210
+ key: rowOrId,
3211
+ id: rowOrId,
3212
+ type: planItem.resource.Type,
3213
+ status: planItem.action === "noop" ? planItem.state.status : "pending",
3214
+ updatedAt: Date.now()
3215
+ };
3216
+ return {
3217
+ key: rowOrId.key,
3218
+ id: rowOrId.id,
3219
+ type: rowOrId.resourceType,
3220
+ status: rowOrId.action === "noop" ? rowOrId.persistedApplyStatus ?? "created" : "pending",
3221
+ updatedAt: Date.now()
3222
+ };
3223
+ }
3224
+ const buildInitialTasks = (rows) => new Map(rows.flatMap((row) => row.type === "resource" ? [[row.key, toPlanTask(row)]] : row.type === "task" ? [[row.key, {
3225
+ key: row.key,
3226
+ id: row.id,
3227
+ type: row.actionType,
3228
+ status: row.action === "noop" ? "skipped" : "pending",
3229
+ updatedAt: Date.now()
3230
+ }]] : []));
3231
+ function PlanProgress(props) {
3232
+ const { source, plan } = props;
3233
+ const spinner = useGlobalSpinner();
3234
+ const rows = useMemo(() => buildProgressRows(plan), [plan]);
3235
+ const logicalIdIndex = useMemo(() => buildLogicalIdIndex(rows), [rows]);
3236
+ const [tasks, setTasks] = useState(() => buildInitialTasks(rows));
3237
+ const unsubscribeRef = useRef(null);
3238
+ useEffect(() => {
3239
+ unsubscribeRef.current?.();
3240
+ unsubscribeRef.current = source.subscribe((event) => {
3241
+ setTasks((prev) => {
3242
+ const next = new Map(prev);
3243
+ const keys = logicalIdIndex.get(event.id) ?? [];
3244
+ if (event.kind === "status-change") {
3245
+ if (!event.bindingId) for (const key of keys) {
3246
+ const current = next.get(key);
3247
+ next.set(key, {
3248
+ key,
3249
+ id: event.id,
3250
+ type: event.type,
3251
+ status: event.status,
3252
+ message: event.message ?? current?.message,
3253
+ updatedAt: Date.now()
3254
+ });
3255
+ }
3256
+ } else for (const key of keys) {
3257
+ const current = next.get(key);
3258
+ if (!current) continue;
3259
+ next.set(key, {
3260
+ ...current,
3261
+ message: event.message,
3262
+ updatedAt: Date.now()
3263
+ });
3264
+ }
3265
+ return next;
3266
+ });
3267
+ });
3268
+ return () => {
3269
+ unsubscribeRef.current?.();
3270
+ unsubscribeRef.current = null;
3271
+ };
3272
+ }, [logicalIdIndex, source]);
3273
+ useEffect(() => {
3274
+ setTasks(buildInitialTasks(rows));
3275
+ }, [rows]);
3276
+ return jsx(Box, {
3277
+ flexDirection: "column",
3278
+ children: rows.map((row) => {
3279
+ const indent = " ".repeat(row.depth);
3280
+ if (row.type === "namespace") return jsxs(Box, {
3281
+ flexDirection: "row",
3282
+ children: [
3283
+ jsx(Text, { children: indent }),
3284
+ jsx(Box, {
3285
+ width: 2,
3286
+ children: jsx(Text, {
3287
+ color: "blueBright",
3288
+ children: "↳ "
3289
+ })
3290
+ }),
3291
+ jsx(Text, {
3292
+ color: "blueBright",
3293
+ children: row.id
3294
+ })
3295
+ ]
3296
+ }, row.key);
3297
+ if (row.type === "task") {
3298
+ const t = tasks.get(row.key);
3299
+ const status = t?.status ?? (row.action === "noop" ? "ran" : "pending");
3300
+ const color$1 = statusColor(status);
3301
+ const icon$1 = taskIcon(row.action, status, spinner);
3302
+ const label = row.action === "delete" ? status === "deleted" ? "deleted" : "drop" : status === "ran" ? row.action === "noop" ? "skip" : "ran" : status === "running" ? "running" : status === "fail" ? "fail" : row.action === "noop" ? "skip" : "run";
3303
+ return jsxs(Box, {
3304
+ flexDirection: "column",
3305
+ children: [jsxs(Box, {
3306
+ flexDirection: "row",
3307
+ children: [
3308
+ jsx(Text, { children: indent }),
3309
+ jsx(Box, {
3310
+ width: 2,
3311
+ children: jsxs(Text, {
3312
+ color: color$1,
3313
+ children: [icon$1, " "]
3314
+ })
3315
+ }),
3316
+ jsx(Text, {
3317
+ bold: true,
3318
+ children: row.id
3319
+ }),
3320
+ jsxs(Text, {
3321
+ dimColor: true,
3322
+ children: [
3323
+ " (",
3324
+ row.actionType,
3325
+ ")"
3326
+ ]
3327
+ }),
3328
+ jsxs(Text, {
3329
+ color: color$1,
3330
+ children: [" ", label]
3331
+ }),
3332
+ jsxs(Text, {
3333
+ color: "cyan",
3334
+ dimColor: true,
3335
+ children: [" ", "[action]"]
3336
+ })
3337
+ ]
3338
+ }), t?.message ? jsx(Box, {
3339
+ paddingLeft: row.depth * 2 + 2,
3340
+ children: jsxs(Text, {
3341
+ dimColor: true,
3342
+ children: ["• ", t.message]
3343
+ })
3344
+ }) : null]
3345
+ }, row.key);
3346
+ }
3347
+ const task = tasks.get(row.key) ?? toPlanTask(row);
3348
+ const displayStatus = getDisplayStatus(row, task.status);
3349
+ const color = statusColor(displayStatus);
3350
+ const icon = statusIcon(task.status, spinner);
3351
+ return jsxs(Box, {
3352
+ flexDirection: "column",
3353
+ children: [jsxs(Box, {
3354
+ flexDirection: "row",
3355
+ children: [
3356
+ jsx(Text, { children: indent }),
3357
+ jsx(Box, {
3358
+ width: 2,
3359
+ children: jsxs(Text, {
3360
+ color,
3361
+ children: [icon, " "]
3362
+ })
3363
+ }),
3364
+ jsx(Text, {
3365
+ bold: true,
3366
+ children: task.id
3367
+ }),
3368
+ jsxs(Text, {
3369
+ dimColor: true,
3370
+ children: [
3371
+ " (",
3372
+ task.type,
3373
+ ")"
3374
+ ]
3375
+ }),
3376
+ jsxs(Text, {
3377
+ color,
3378
+ children: [" ", displayStatus]
3379
+ })
3380
+ ]
3381
+ }), task.message ? jsx(Box, {
3382
+ paddingLeft: row.depth * 2 + 2,
3383
+ children: jsxs(Text, {
3384
+ dimColor: true,
3385
+ children: ["• ", task.message]
3386
+ })
3387
+ }) : null]
3388
+ }, row.key);
3389
+ })
3390
+ });
3391
+ }
3392
+ function getDisplayStatus(row, status) {
3393
+ if (row.action === "noop" && (status === "created" || status === "updated")) return "no change";
3394
+ return status;
3395
+ }
3396
+ function statusColor(status) {
3397
+ switch (status) {
3398
+ case "no change": return "gray";
3399
+ case "pending": return "gray";
3400
+ case "creating":
3401
+ case "created": return "green";
3402
+ case "updating":
3403
+ case "updated": return "yellow";
3404
+ case "deleting":
3405
+ case "deleted": return "red";
3406
+ case "running":
3407
+ case "ran": return "cyan";
3408
+ case "skipped": return "gray";
3409
+ case "fail": return "redBright";
3410
+ default: return;
3411
+ }
3412
+ }
3413
+ function taskIcon(action, status, spinnerChar) {
3414
+ if (status === "running") return spinnerChar;
3415
+ if (status === "fail") return "✗";
3416
+ if (status === "skipped") return "•";
3417
+ if (status === "ran") return action === "noop" ? "•" : "✓";
3418
+ if (status === "deleted") return "✓";
3419
+ if (action === "delete") return "-";
3420
+ if (action === "noop") return "•";
3421
+ return "λ";
3422
+ }
3423
+ function statusIcon(status, spinnerChar) {
3424
+ if (isInProgress(status)) return spinnerChar;
3425
+ if (status === "fail") return "✗";
3426
+ return "✓";
3427
+ }
3428
+ function isInProgress(status) {
3429
+ return status === "pending" || status === "creating" || status === "updating" || status === "deleting" || status === "running";
3430
+ }
3431
+ const spinnerFrames = [
3432
+ "⠋",
3433
+ "⠙",
3434
+ "⠹",
3435
+ "⠸",
3436
+ "⠼",
3437
+ "⠴",
3438
+ "⠦",
3439
+ "⠧",
3440
+ "⠇",
3441
+ "⠏"
3442
+ ];
3443
+ function useGlobalSpinner(intervalMs = 80) {
3444
+ const [index, setIndex] = useState(0);
3445
+ useEffect(() => {
3446
+ const timer = setInterval(() => {
3447
+ setIndex((i) => (i + 1) % spinnerFrames.length);
3448
+ }, intervalMs);
3449
+ return () => clearInterval(timer);
3450
+ }, [intervalMs]);
3451
+ return spinnerFrames[index];
3452
+ }
3453
+ const findCrudByLogicalId = (plan, logicalId) => {
3454
+ for (const node of Object.values(plan.resources)) if (node.resource.LogicalId === logicalId) return node;
3455
+ for (const node of Object.values(plan.deletions)) if (node?.resource.LogicalId === logicalId) return node;
3456
+ };
3457
+
3458
+ //#endregion
3459
+ //#region lib/Cli/tui/InkCLI.js
3460
+ const inkCLI = () => Layer.succeed(Cli, Cli.of({
3461
+ approvePlan,
3462
+ displayPlan,
3463
+ startApplySession
3464
+ }));
3465
+ const approvePlan = Effect.fn(function* (plan) {
3466
+ let approved = false;
3467
+ const { waitUntilExit } = render(jsx(ApprovePlan, {
3468
+ plan,
3469
+ approve: (a) => approved = a
3470
+ }));
3471
+ yield* Effect.promise(waitUntilExit);
3472
+ return approved;
3473
+ });
3474
+ const displayPlan = (plan) => Effect.sync(() => {
3475
+ const { unmount } = render(jsx(Plan, { plan }));
3476
+ unmount();
3477
+ });
3478
+ const startApplySession = Effect.fn(function* (plan) {
3479
+ const listeners = /* @__PURE__ */ new Set();
3480
+ const { unmount } = render(jsx(PlanProgress, {
3481
+ plan,
3482
+ source: { subscribe(listener) {
3483
+ listeners.add(listener);
3484
+ return () => listeners.delete(listener);
3485
+ } }
3486
+ }));
3487
+ return {
3488
+ done: Effect.fn(function* () {
3489
+ yield* Effect.sleep(10);
3490
+ yield* Effect.sync(() => unmount());
3491
+ }),
3492
+ emit: (event) => Effect.sync(() => {
3493
+ for (const listener of listeners) listener(event);
3494
+ })
3495
+ };
3496
+ });
3497
+
3498
+ //#endregion
3499
+ //#region lib/Cli/selectCli.js
3500
+ /**
3501
+ * Returns true when the current process looks like it's being driven by a
3502
+ * coding agent, CI runner, or anything else that won't render an interactive
3503
+ * TUI well. The Ink renderer repaints the screen on every event, which floods
3504
+ * agent transcripts with redundant frames; LoggingCli emits one line per
3505
+ * status change instead.
3506
+ */
3507
+ const isNonInteractive = () => {
3508
+ const env = process.env;
3509
+ if (env.ALCHEMY_PLAIN === "1" || env.ALCHEMY_NO_TUI === "1") return true;
3510
+ if (env.ALCHEMY_TUI === "1") return false;
3511
+ if (!process.stdout.isTTY) return true;
3512
+ if (env.CI) return true;
3513
+ if (env.CLAUDECODE || env.CLAUDE_CODE_ENTRYPOINT || env.CURSOR_AGENT || env.AIDER_MODEL || env.CODEX_CLI) return true;
3514
+ return false;
3515
+ };
3516
+ const selectCli = () => isNonInteractive() ? LoggingCli : inkCLI();
3517
+
3518
+ //#endregion
3519
+ //#region lib/Cli/exec.js
3520
+ const services = Layer.merge(selectCli(), fromEnv()).pipe(Layer.provideMerge(Layer.mergeAll(AlchemyContextLive, ProfileLive, CredentialsStoreLive)), Layer.provideMerge(Layer.mergeAll(PlatformServices, FetchHttpClient.layer, ConfigProvider.layer(ConfigProvider.fromEnv()))));
3521
+ const exec = () => execStack(Schema.decodeSync(ExecStackOptions)(JSON.parse(process.env.ALCHEMY_EXEC_OPTIONS))).pipe(Effect.provide(services), Effect.scoped);
3522
+
3523
+ //#endregion
3524
+ //#region bin/exec.ts
3525
+ exec().pipe(runMain);
3526
+
3527
+ //#endregion
3528
+ export { };
3529
+ //# sourceMappingURL=exec.js.map